.admin-layout{min-height:100vh}.header{background:#fff;padding:0 24px!important;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #f0f0f0;height:64px;line-height:64px}.header-left{display:flex;align-items:center;gap:40px}.logo{display:flex;align-items:center;gap:10px}.logo-icon{width:36px;height:36px;background:linear-gradient(135deg,#6366f1,#8b5cf6);border-radius:8px;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:14px}.logo-text{color:#1a1a1a;font-size:18px;font-weight:600}.top-menu{border-bottom:none!important;line-height:62px!important}.top-menu .ant-menu-item{font-size:15px}.top-menu .ant-menu-item-selected{color:#6366f1!important;font-weight:500}.top-menu .ant-menu-item-selected:after{border-bottom:2px solid #6366f1!important}.header-right{display:flex;align-items:center;gap:20px}.header-icon{font-size:18px;color:#666;cursor:pointer;padding:8px;border-radius:6px;transition:all .2s}.header-icon:hover{background:#f5f5f5;color:#333}.user-info{display:flex;align-items:center;gap:10px;cursor:pointer;padding:6px 12px;border-radius:8px;transition:all .2s}.user-info:hover{background:#f5f5f5}.user-name{font-size:14px;color:#333;font-weight:500}.main-content{background:#f0f2f5;min-height:calc(100vh - 64px);padding:24px}.notification-dropdown{width:360px;background:#fff;border-radius:8px;box-shadow:0 6px 16px #0000001f;overflow:hidden}.notification-header{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;border-bottom:1px solid #f0f0f0;font-weight:500;color:#333}.notification-list{max-height:400px;overflow-y:auto}.notification-list .ant-list-item{padding:12px 16px;border-bottom:1px solid #f0f0f0;cursor:pointer;transition:background .2s}.notification-list .ant-list-item:hover{background:#fafafa}.notification-list .ant-list-item.unread{background:#f0f7ff}.notification-list .ant-list-item.unread:hover{background:#e6f0ff}.notification-item .ant-list-item-meta-title{color:#333;font-size:14px}.notification-item .ant-list-item-meta-description{color:#999;font-size:12px}.notification-time{margin-top:4px;font-size:11px;color:#bbb}.notification-dropdown .ant-empty{padding:40px 0}.dashboard{padding:0}.stat-card{border-radius:12px;transition:transform .2s,box-shadow .2s}.stat-card:hover{transform:translateY(-2px);box-shadow:0 8px 24px #00000014}.stat-content{display:flex;justify-content:space-between;align-items:center}.stat-info{display:flex;flex-direction:column}.stat-label{font-size:14px;color:#666}.stat-value{font-size:28px;font-weight:700;color:#1a1a1a;margin:8px 0}.stat-change{font-size:12px}.stat-change.rise{color:#52c41a}.stat-icon{width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:24px}.stat-blue .stat-icon{background:#e0e7ff;color:#6366f1}.stat-purple .stat-icon{background:#f3e8ff;color:#9333ea}.stat-green .stat-icon{background:#dcfce7;color:#16a34a}.stat-orange .stat-icon{background:#ffedd5;color:#ea580c}.chart-card{border-radius:12px}.chart-card .ant-card-head{border-bottom:1px solid #f0f0f0}.chart-card .ant-card-head-title{font-weight:600}.chart-card .ant-card-extra a{color:#6366f1;font-size:14px}.rank-list{padding:0 8px}.rank-item{display:grid;grid-template-columns:24px 1fr 120px 50px;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid #f5f5f5}.rank-item:last-child{border-bottom:none}.rank-num{width:20px;height:20px;border-radius:4px;background:#f0f0f0;color:#666;font-size:12px;display:flex;align-items:center;justify-content:center;font-weight:600}.rank-item:first-child .rank-num{background:#6366f1;color:#fff}.rank-name{font-size:14px;color:#333}.rank-sales{font-size:13px;color:#999;text-align:right}.progress-list{display:flex;justify-content:space-around;padding:16px 0}.progress-item{display:flex;flex-direction:column;align-items:center;gap:12px}.progress-item span{font-size:14px;color:#666}.table-card .ant-card-head{border-bottom:1px solid #f0f0f0}.table-card .ant-card-head-title{font-weight:600}.table-card .ant-table-thead>tr>th{background:#fafafa;font-weight:500}.course-list{padding:0}.course-info{display:flex;flex-direction:column}.course-info .course-title{font-weight:500;color:#333}.course-info .course-meta{font-size:12px;color:#999;margin-top:2px}.price{color:#ef4444;font-weight:600}.cover-upload{display:flex;align-items:flex-start;gap:16px}.cover-preview{width:200px;height:120px;border-radius:8px;overflow:hidden;cursor:pointer;border:1px solid #d9d9d9}.cover-preview img{width:100%;height:100%;object-fit:cover}.cover-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:#f5f5f5;color:#999;font-size:14px}.cover-actions{display:flex;flex-direction:column;gap:8px}.w-md-editor-bar{position:absolute;cursor:s-resize;right:0;bottom:0;margin-top:-11px;margin-right:0;width:14px;z-index:3;height:10px;border-radius:0 0 3px;-webkit-user-select:none;user-select:none}.w-md-editor-bar svg{display:block;margin:0 auto}.w-md-editor-area{overflow:auto;border-radius:5px}.w-md-editor-text{min-height:100%;position:relative;text-align:left;white-space:pre-wrap;word-break:keep-all;overflow-wrap:break-word;box-sizing:border-box;padding:10px;margin:0;font-size:14px!important;line-height:18px!important;font-variant-ligatures:common-ligatures}.w-md-editor-text-pre,.w-md-editor-text-input,.w-md-editor-text>.w-md-editor-text-pre{margin:0;border:0;background:none;box-sizing:inherit;display:inherit;font-family:inherit;font-family:var(--md-editor-font-family)!important;font-size:inherit;font-style:inherit;font-variant-ligatures:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;-moz-tab-size:inherit;tab-size:inherit;text-indent:inherit;text-rendering:inherit;text-transform:inherit;white-space:inherit;overflow-wrap:inherit;word-break:inherit;word-break:normal;padding:0}.w-md-editor-text-pre{position:relative;margin:0!important;pointer-events:none;background-color:transparent!important}.w-md-editor-text-pre>code{padding:0!important;font-family:var(--md-editor-font-family)!important;font-size:14px!important;line-height:18px!important}.w-md-editor-text-input{position:absolute;top:0;left:0;height:100%;width:100%;resize:none;color:inherit;overflow:hidden;outline:0;padding:inherit;-webkit-font-smoothing:antialiased;-webkit-text-fill-color:transparent}.w-md-editor-text-input:empty{-webkit-text-fill-color:inherit!important}.w-md-editor-text-pre,.w-md-editor-text-input{word-wrap:pre;word-break:break-word;white-space:pre-wrap}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.w-md-editor-text-input{color:transparent!important}.w-md-editor-text-input::selection{background-color:#accef7!important;color:transparent!important}}.w-md-editor-text-pre .punctuation{color:var(--color-prettylights-syntax-comment, #8b949e)!important}.w-md-editor-text-pre .token.url,.w-md-editor-text-pre .token.content{color:var(--color-prettylights-syntax-constant, #0550ae)!important}.w-md-editor-text-pre .token.title.important{color:var(--color-prettylights-syntax-markup-bold, #24292f)}.w-md-editor-text-pre .token.code-block .function{color:var(--color-prettylights-syntax-entity, #8250df)}.w-md-editor-text-pre .token.bold{font-weight:unset!important}.w-md-editor-text-pre .token.title{line-height:unset!important;font-size:unset!important;font-weight:unset!important}.w-md-editor-text-pre .token.code.keyword{color:var(--color-prettylights-syntax-constant, #0550ae)!important}.w-md-editor-text-pre .token.strike,.w-md-editor-text-pre .token.strike .content{color:var(--color-prettylights-syntax-markup-deleted-text, #82071e)!important}.w-md-editor-toolbar-child{position:absolute;border-radius:3px;box-shadow:0 0 0 1px var(--md-editor-box-shadow-color),0 0 0 var(--md-editor-box-shadow-color),0 1px 1px var(--md-editor-box-shadow-color);background-color:var(--md-editor-background-color);z-index:1;display:none}.w-md-editor-toolbar-child.active{display:block}.w-md-editor-toolbar-child .w-md-editor-toolbar{border-bottom:0;padding:3px;border-radius:3px}.w-md-editor-toolbar-child .w-md-editor-toolbar ul>li{display:block}.w-md-editor-toolbar-child .w-md-editor-toolbar ul>li button{width:-webkit-fill-available;height:initial;box-sizing:border-box;padding:3px 4px 2px;margin:0}.w-md-editor-toolbar{border-bottom:1px solid var(--md-editor-box-shadow-color);background-color:var(--md-editor-background-color);padding:3px;display:flex;justify-content:space-between;align-items:center;border-radius:3px 3px 0 0;-webkit-user-select:none;user-select:none;flex-wrap:wrap}.w-md-editor-toolbar.bottom{border-bottom:0px;border-top:1px solid var(--md-editor-box-shadow-color);border-radius:0 0 3px 3px}.w-md-editor-toolbar ul,.w-md-editor-toolbar li{margin:0;padding:0;list-style:none;line-height:initial}.w-md-editor-toolbar li{display:inline-block;font-size:14px}.w-md-editor-toolbar li+li{margin:0}.w-md-editor-toolbar li>button{border:none;height:20px;line-height:14px;background:none;padding:4px;margin:0 1px;border-radius:2px;text-transform:none;font-weight:400;overflow:visible;outline:none;cursor:pointer;transition:all .3s;white-space:nowrap;color:var(--color-fg-default)}.w-md-editor-toolbar li>button:hover,.w-md-editor-toolbar li>button:focus{background-color:var(--color-neutral-muted);color:var(--color-accent-fg)}.w-md-editor-toolbar li>button:active{background-color:var(--color-neutral-muted);color:var(--color-danger-fg)}.w-md-editor-toolbar li>button:disabled{color:var(--md-editor-box-shadow-color);cursor:not-allowed}.w-md-editor-toolbar li>button:disabled:hover{background-color:transparent;color:var(--md-editor-box-shadow-color)}.w-md-editor-toolbar li.active>button{color:var(--color-accent-fg);background-color:var(--color-neutral-muted)}.w-md-editor-toolbar-divider{height:14px;width:1px;margin:-3px 3px 0!important;vertical-align:middle;background-color:var(--md-editor-box-shadow-color)}.w-md-editor{text-align:left;border-radius:3px;padding-bottom:1px;position:relative;color:var(--color-fg-default);--md-editor-font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;--md-editor-background-color: var(--color-canvas-default, #ffffff);--md-editor-box-shadow-color: var(--color-border-default, #d0d7de);box-shadow:0 0 0 1px var(--md-editor-box-shadow-color),0 0 0 var(--md-editor-box-shadow-color),0 1px 1px var(--md-editor-box-shadow-color);background-color:var(--md-editor-background-color);font-family:Helvetica Neue,Helvetica,Arial,sans-serif;display:flex;flex-direction:column}.w-md-editor.w-md-editor-rtl{direction:rtl!important;text-align:right!important}.w-md-editor.w-md-editor-rtl .w-md-editor-preview{right:unset!important;left:0;text-align:right!important;box-shadow:inset -1px 0 0 0 var(--md-editor-box-shadow-color)}.w-md-editor.w-md-editor-rtl .w-md-editor-text{text-align:right!important}.w-md-editor-toolbar{height:fit-content}.w-md-editor-content{height:100%;overflow:auto;position:relative;border-radius:0 0 3px}.w-md-editor .copied{display:none!important}.w-md-editor-input{width:50%;height:100%}.w-md-editor-text-pre>code{word-break:break-word!important;white-space:pre-wrap!important}.w-md-editor-preview{width:50%;box-sizing:border-box;box-shadow:inset 1px 0 0 0 var(--md-editor-box-shadow-color);position:absolute;padding:10px 20px;overflow:auto;top:0;right:0;bottom:0;border-radius:0 0 5px;display:flex;flex-direction:column}.w-md-editor-preview .anchor{display:none}.w-md-editor-preview .contains-task-list li.task-list-item{list-style:none}.w-md-editor-show-preview .w-md-editor-input{width:0%;overflow:hidden;background-color:var(--md-editor-background-color)}.w-md-editor-show-preview .w-md-editor-preview{width:100%;box-shadow:inset 0 0}.w-md-editor-show-edit .w-md-editor-input{width:100%}.w-md-editor-show-edit .w-md-editor-preview{width:0%;padding:0}.w-md-editor-fullscreen{overflow:hidden;position:fixed;z-index:99999;top:0;left:0;right:0;bottom:0;height:100%!important}.w-md-editor-fullscreen .w-md-editor-content{height:100%}.course-write{padding:24px;overflow:visible;position:relative;z-index:1}.main-content{overflow:visible!important}.course-write .ant-card,.course-write .ant-card-body{overflow:visible}.course-write .ant-tabs-content,.course-write .ant-tabs-content-holder{overflow:visible!important}.chapter-edit .ant-tabs{position:relative!important;z-index:1!important}.chapter-edit .ant-tabs>.ant-tabs-nav{position:relative!important;z-index:2!important}.chapter-edit .ant-tabs>.ant-tabs-content-holder{position:relative!important;overflow:visible!important}.chapter-edit .ant-tabs .ant-tabs-tabpane{position:relative!important;overflow:visible!important}.chapter-edit .ant-tabs .ant-tabs-tabpane-active{position:relative!important;overflow:visible!important;z-index:1!important}.course-write .steps-card{margin-bottom:24px}.course-write .draft-banner{margin-bottom:24px;background:#fffbe6;border-color:#ffe58f}.course-write .draft-info{display:flex;align-items:center;justify-content:space-between;gap:16px}.course-write .draft-info span{color:#ad6800;font-weight:500}.course-write .form-card{max-width:900px;overflow:visible}.form-row{display:flex;gap:24px;margin-bottom:20px}.form-row .form-item{flex:1}.form-row .form-item label{display:block;margin-bottom:8px;font-weight:500;color:#333}.form-actions{margin-top:24px;padding-top:24px;border-top:1px solid #f0f0f0;display:flex;gap:12px}.chapter-list{margin:20px 0;overflow:visible}.chapter-list .ant-tabs-content{overflow-x:hidden}.chapter-item{padding:16px;background:#fafafa;border-radius:8px;margin-bottom:12px;border:1px solid #f0f0f0}.chapter-header{display:flex;align-items:center;gap:12px;margin-bottom:8px}.chapter-num{width:28px;height:28px;background:#6366f1;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:500}.chapter-title{flex:1;font-weight:500;color:#333}.chapter-title-input{flex:1;font-weight:500}.chapter-duration-input{width:120px}.chapter-content-input{margin-left:40px;margin-top:8px;resize:vertical;width:calc(100% - 40px)!important;pointer-events:auto!important}.chapter-content-input textarea{pointer-events:auto!important}.chapter-duration{color:#999;font-size:14px}.chapter-content-preview{color:#666;font-size:14px;line-height:1.6;padding-left:40px}.chapter-edit{padding:20px 0}.chapter-title-edit{margin-bottom:16px}.chapter-title-edit label,.chapter-content-edit label,.chapter-image-edit label{display:block;margin-bottom:8px;font-weight:500}.chapter-image-edit{margin-bottom:16px;padding:16px;background:#f9f9f9;border-radius:8px;border:1px solid #f0f0f0}.image-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.image-header label{margin-bottom:0}.image-preview{margin-top:12px;padding:8px;background:#fff;border-radius:8px;border:1px solid #e8e8e8}.image-preview img{max-width:100%;max-height:300px;border-radius:4px;display:block}.content-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.content-header label{font-weight:500}.chapter-actions{margin-top:16px;padding-top:16px;border-top:1px dashed #f0f0f0}.success-message{text-align:center;padding:60px 0}.success-icon{width:80px;height:80px;background:#52c41a;color:#fff;border-radius:50%;font-size:40px;display:flex;align-items:center;justify-content:center;margin:0 auto 24px}.success-message h2{margin-bottom:12px;color:#333}.success-message p{color:#666;margin-bottom:32px}.chapter-edit-modal .form-item{margin-bottom:16px}.chapter-edit-modal label{display:block;margin-bottom:8px;font-weight:500}.w-md-editor{border-radius:8px!important;box-shadow:none!important;position:relative!important;z-index:1!important}.w-md-editor-toolbar{border-radius:8px 8px 0 0!important;position:relative!important;z-index:20!important}.w-md-editor .w-md-editor-content{position:relative!important;z-index:1!important}.chapter-content-edit .w-md-editor{background:#fff;width:100%!important;max-width:100%}.chapter-content-edit{width:100%;overflow:visible;position:relative;z-index:1}.chapter-edit{padding:20px 0;width:100%;max-width:100%;overflow:visible;position:relative;z-index:1}.chapter-edit .ant-tabs-tabpane{overflow:visible!important}.chapter-edit .ant-input,.chapter-edit .ant-input-affix-wrapper{max-width:100%}.chapter-content-edit .w-md-editor textarea{font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,sans-serif;font-size:14px;line-height:1.8;pointer-events:auto!important;opacity:1!important;position:relative!important;z-index:10!important}.chapter-content-edit textarea{font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,sans-serif;font-size:14px;line-height:1.8;border-radius:8px;resize:vertical}.w-md-editor textarea{pointer-events:auto!important;opacity:1!important;position:relative!important;z-index:10!important;caret-color:#6366f1!important}.w-md-editor textarea:focus{outline:none!important;caret-color:#6366f1!important}.w-md-editor .w-md-text,.w-md-editor .w-md-editor-text{pointer-events:none!important}.w-md-editor .w-md-text-area{pointer-events:auto!important;position:absolute!important;top:0!important;left:0!important;width:100%!important;height:100%!important;z-index:10!important}.chapter-edit .ant-tabs-tabpane-active{position:relative!important;z-index:1!important}.chapter-edit .ant-tabs-nav{position:relative!important;z-index:2!important}.chapter-content-edit{position:relative!important;z-index:1!important}.chapter-content-edit>div{position:relative!important;z-index:1!important}.chapter-edit{position:relative!important;z-index:1!important}.generation-progress{margin-bottom:16px;padding:12px 16px;background:#f0f7ff;border-radius:8px;border:1px solid #d9e8ff}.progress-info{margin-top:8px;color:#666;font-size:14px}.chapter-status-icon{margin-right:8px}.cover-upload-row{display:flex;align-items:flex-start;gap:16px}.cover-preview-mini{width:120px;height:80px;border-radius:8px;overflow:hidden;cursor:pointer;border:1px solid #d9d9d9;flex-shrink:0}.cover-preview-mini img{width:100%;height:100%;object-fit:cover}.cover-placeholder-mini{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#f5f5f5;color:#999;font-size:12px;gap:4px}.cover-upload-actions{display:flex;flex-direction:column;gap:8px}.cover-tip{margin-top:8px;font-size:12px;color:#999}.step0-container{display:flex;gap:24px;align-items:stretch}.step0-container .form-card{flex:1;min-width:0}.step0-container .preview-card{width:560px;flex-shrink:0;display:flex;flex-direction:column}.step0-container .preview-card .ant-card-body{flex:1;display:flex;flex-direction:column}.step0-container .form-card .form-row:last-of-type{margin-bottom:0}.cover-upload-inline{display:flex;gap:8px;align-items:center}.cover-preview-area{width:100%;aspect-ratio:16/9;border-radius:8px;overflow:hidden;border:1px solid #d9d9d9;background:#f5f5f5;cursor:pointer}.cover-preview-area img{width:100%;height:100%;object-fit:cover}.no-cover{width:100%;height:100%;aspect-ratio:16/9;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#ccc;gap:8px}.cover-preview-area.dragging{border-color:#6366f1;background:#f0f7ff}.cover-preview-area.dragging .no-cover{display:none}.drag-overlay{position:absolute;top:0;left:0;right:0;bottom:0;background:#6366f11a;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#6366f1;font-weight:500}.cover-preview-area{position:relative}.preview-actions{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}.cover-tip-only{font-size:12px;color:#999}.order-list{padding:0}.page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.page-header .subtitle{font-size:14px;color:#999;margin-top:4px}.filter-card{margin-bottom:16px;border-radius:12px}.table-card{border-radius:12px}.amount{color:#ef4444;font-weight:600}.ant-table-thead>tr>th{background:#fafafa!important;font-weight:500}.ant-table-thead>tr>th:before{display:none}.settings-page{max-width:1400px;margin:0 auto}.settings-grid{display:flex;gap:24px;align-items:flex-start}.settings-left,.settings-right{flex:1;min-width:0}.settings-card{border-radius:12px}.page-header{margin-bottom:24px}.page-header h1{font-size:28px;font-weight:600;color:#1a1a1a;margin:0}.login-page{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#6366f1,#8b5cf6)}.login-card{width:420px;background:#fff;border-radius:16px;padding:48px 40px;box-shadow:0 20px 60px #6366f14d}.login-header{text-align:center;margin-bottom:40px}.login-header h1{font-size:32px;font-weight:700;color:#1a1a1a;margin:0}.login-header p{font-size:16px;color:#666;margin:12px 0 0}:root{--primary-color: #6366f1}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}
