:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;color:#263c35;background:#f5f6f2;font-synthesis:none;--green:#315c4c;--muted:#728079;--border:#dde4dc;--paper:#fff;--soft:#edf1e9}*{box-sizing:border-box}body{margin:0;font-size:15px;line-height:1.6}button,input,select,textarea{font:inherit}button,a,input,select,textarea{ -webkit-tap-highlight-color:transparent}button,.button{cursor:pointer;display:inline-flex;justify-content:center;align-items:center;gap:6px;min-height:43px;border:1px solid transparent;border-radius:10px;padding:9px 17px;font-weight:600;text-decoration:none}button:disabled{opacity:.5;cursor:wait}button:hover:not(:disabled),.button:hover{filter:brightness(.96)}button:focus-visible,a:focus-visible{outline:3px solid #a4ba91;outline-offset:3px}.primary{background:var(--green);color:white}.secondary{background:white;border-color:#cbd6cb;color:var(--green)}.danger{color:#a54237;background:#fff6f3;border-color:#edd4cb}.text-button{color:var(--green);background:transparent;padding:8px}.icon-button{font-size:28px;line-height:1;background:#f1f4ed;color:var(--green);width:42px;padding:4px}.topbar{height:78px;padding:0 max(24px,calc((100% - 1180px)/2));background:#fffefb;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{font-family:"STSong","SimSun",serif;font-size:24px;letter-spacing:3px;color:var(--green);text-decoration:none;white-space:nowrap}.brand span{font-family:inherit;font-size:13px;letter-spacing:1px;margin-left:14px;color:var(--muted)}.back-link{color:var(--green);font-size:14px;text-decoration:none}main{max-width:1180px;margin:0 auto;padding:36px 24px 64px}.page-heading,.section-heading,.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.page-heading{margin-bottom:24px}h1,h2,h3,p{margin-top:0}h1{font-size:32px;letter-spacing:1px;line-height:1.3;margin-bottom:10px}h2{font-size:22px;margin-bottom:5px}h3{font-size:17px;margin-bottom:8px}.eyebrow{color:#7e8b74;font-size:12px;letter-spacing:2px;margin-bottom:9px}.muted,.hint{color:var(--muted);font-size:13px}.muted{margin-bottom:0}.hint{font-size:12px;font-weight:400}.account{font-size:13px;color:var(--muted)}.service-status{display:flex;align-items:flex-start;gap:12px;padding:16px 20px;border:1px solid #e5ddc6;background:#faf7ed;border-radius:13px;color:#766749;margin:0 0 25px}.service-status p{font-size:13px;margin:0}.service-status strong{font-size:14px;font-weight:600}.status-dot{width:7px;height:7px;flex:none;background:#b1975d;border-radius:50%;margin-top:9px}.tabs{display:flex;gap:8px;border-bottom:1px solid var(--border);margin-bottom:25px;overflow-x:auto}.tabs button{border-radius:10px 10px 0 0;background:transparent;color:var(--muted);border-bottom:3px solid transparent;padding:12px 22px;white-space:nowrap}.tabs button.active{color:var(--green);background:#eaf0e7;border-bottom-color:var(--green)}.section-heading{margin-bottom:20px}.section-heading.compact{margin-top:30px}.count{font-size:13px;font-weight:400;color:var(--muted);margin-left:7px}.filters{display:flex;align-items:flex-end;gap:14px;padding:18px;background:#edf1e9;border-radius:12px;margin-bottom:22px}.filters label{min-width:140px}.search-field{flex:1}.filters button{flex:none}label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:600;color:#475b50}input,select,textarea{width:100%;min-width:0;background:white;border:1px solid #d2dbd0;border-radius:8px;padding:10px 12px;color:#263c35;min-height:44px;outline:none}textarea{resize:vertical}input:focus,select:focus,textarea:focus{border-color:#779877;box-shadow:0 0 0 3px #dfe8d8}input[readonly]{background:#f7f8f4}.content-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.content-card{border:1px solid var(--border);border-radius:14px;background:white;overflow:hidden;display:flex;flex-direction:column;min-width:0}.card-cover{padding:24px 20px;background:#e8eee3;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px;letter-spacing:1px}.tone-sand{background:#f2ebdf}.tone-lavender{background:#ede9f3}.tone-rose{background:#f3e7e3}.card-body{padding:20px;flex:1}.card-body h3{font-size:18px;overflow-wrap:anywhere}.card-description{font-size:13px;color:var(--muted);margin:8px 0 15px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:42px}.card-meta{display:flex;justify-content:space-between;gap:10px;font-size:12px;color:var(--muted)}.card-footer{display:flex;gap:10px;justify-content:space-between;border-top:1px solid #edf0e9;padding:12px 16px}.badge{font-size:11px;line-height:1.4;padding:4px 8px;border-radius:20px;background:#fff9;letter-spacing:0;color:#6d786c;white-space:nowrap}.badge.published{background:#fff;color:#315c4c}.empty{grid-column:1/-1;padding:48px 20px;text-align:center;border:1px dashed #cad7c6;border-radius:14px;color:var(--muted);background:#ffffff80}.empty h3{color:#4a6152}.empty p{margin-bottom:0;font-size:13px}.panel,.upload-panel{background:white;border:1px solid var(--border);border-radius:14px;padding:24px}.upload-panel{margin-bottom:24px}.upload-line{display:flex;align-items:flex-end;gap:16px;margin:18px 0 12px}.upload-line label{min-width:150px}.file-label input{border-style:dashed;background:#f6f8f2;padding:18px}progress{width:100%;height:10px;accent-color:var(--green);margin-top:20px}.asset-list{display:flex;flex-direction:column;gap:12px}.asset-row{display:flex;align-items:center;gap:16px;padding:18px 20px;border:1px solid var(--border);border-radius:12px;background:#fff}.asset-symbol{width:43px;height:43px;border-radius:10px;background:var(--soft);display:flex;align-items:center;justify-content:center;color:var(--green);flex:none;font-size:12px}.asset-info{min-width:0;flex:1}.asset-info h3{overflow-wrap:anywhere;font-size:15px;margin-bottom:3px}.asset-info p{font-size:12px;color:var(--muted);margin:0}.asset-row button{flex:none}.error,.notice{border-radius:10px;padding:12px 16px;font-size:14px;overflow-wrap:anywhere}.error{color:#a03e32;background:#fff0ea;border:1px solid #ebcbbd}.notice{color:#315c4c;background:#e9f1e3;border:1px solid #d0dec9}.loading{padding:40px;text-align:center;color:var(--muted)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:18px 0 22px}.span-2{grid-column:1/-1}dialog{border:1px solid var(--border);border-radius:18px;padding:28px;color:inherit;box-shadow:0 24px 100px #243a3033;max-height:92dvh;overflow:auto}dialog::backdrop{background:#20382d70;backdrop-filter:blur(3px)}.editor{width:min(760px,calc(100% - 32px))}.dialog-heading{align-items:flex-start;margin-bottom:20px}.dialog-heading h2{font-size:23px}.dialog-heading .icon-button{flex:none}fieldset{border:0;border-top:1px solid var(--border);padding:20px 0 10px;margin:18px 0 0;min-width:0}legend{font-size:16px;font-weight:600;padding:0 12px 0 0}.editor-footer{border-top:1px solid var(--border);padding-top:20px;margin-top:18px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}.button-row{display:flex;gap:10px;flex-wrap:wrap}.lesson-row{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;background:#f4f6ef;padding:14px;border-radius:10px;margin:12px 0;align-items:end}.lesson-row label{min-width:0}.lesson-row .lesson-tools{display:flex;gap:4px}.lesson-row .text-button{padding:8px;min-width:36px}.include-list{display:grid;gap:10px;margin-top:14px}.include-option{display:flex;flex-direction:row;align-items:center;gap:10px;background:#f4f6ef;padding:12px;border-radius:8px}.include-option input{width:18px;min-height:18px;height:18px;accent-color:var(--green)}.include-option span{flex:1}#code-result{margin-top:20px;padding-top:18px;border-top:1px solid var(--border)}#generated-codes{font-family:Consolas,monospace;font-weight:400;margin-bottom:12px}.preview{width:min(650px,calc(100% - 32px))}.preview audio,.preview video{width:100%;max-height:65dvh}.preview .muted{margin-top:14px}[hidden]{display:none!important}@media(max-width:1000px){.content-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.topbar{height:65px;padding:0 18px}.brand{font-size:21px}.brand span{display:none}.back-link{font-size:12px}main{padding:25px 16px 45px}.page-heading{align-items:flex-start}h1{font-size:27px}.account{max-width:90px;overflow-wrap:anywhere}.service-status{padding:14px}.tabs{gap:0}.tabs button{font-size:14px;padding:11px 15px}.section-heading{align-items:flex-start;gap:12px}.section-heading>button{font-size:13px;padding:9px 13px;white-space:nowrap}h2{font-size:20px}.filters{flex-wrap:wrap;padding:14px;gap:12px}.filters label{min-width:0;flex:1 1 40%}.filters .search-field{flex-basis:65%}.content-grid{grid-template-columns:1fr}.card-cover{padding:17px 18px}.card-body{padding:17px 18px}.card-description{min-height:0}.asset-row{padding:15px 13px;gap:10px}.asset-symbol{display:none}.asset-row button{padding:8px 11px}.panel,.upload-panel{padding:18px}.form-grid{gap:15px;grid-template-columns:1fr}.span-2{grid-column:auto}dialog{padding:20px 17px;max-height:94dvh}.editor{width:calc(100% - 18px)}.lesson-row{grid-template-columns:1fr;padding:12px}.lesson-tools{justify-content:flex-end}.editor-footer{align-items:stretch}.editor-footer .button-row{width:100%}.editor-footer button{flex:1}.upload-line label{min-width:0;flex:1}.upload-line button{white-space:nowrap}}
:root{--green:#244b3e;--muted:#7d8179;--border:#e7e5dc;--paper:#fffefa;--soft:#f1f3eb;color:#293d34;background:#f7f7f2;font-family:"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-size:14px}
body{font-size:14px}.topbar{position:fixed;inset:0 auto 0 0;width:222px;height:100vh;padding:33px 23px;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0;background:#fffefa;border-right:1px solid var(--border);border-bottom:0;z-index:5}.brand{display:flex;align-items:center;gap:11px;font-size:20px;letter-spacing:2px}.brand .brand-mark{margin:0;display:grid;place-items:center;width:39px;height:43px;border:1px solid #a39671;color:#687958;border-radius:18px 18px 3px 3px;font-family:"STSong","SimSun",serif;font-size:23px;letter-spacing:0}.brand .brand-name{margin:0;color:#244b3e;font-size:20px;letter-spacing:2px}.brand small{display:block;margin-top:3px;font-family:"Microsoft YaHei",sans-serif;font-size:10px;letter-spacing:2px;color:#8f9387}.nav-caption{font-size:10px;color:#9b9e92;letter-spacing:2px;margin:52px 12px 15px}.back-link{padding:12px;border-radius:7px;font-size:13px;color:#7a8277}.back-link span{font-size:18px;display:inline-block;margin-right:8px}.back-link:hover{background:#f3f3eb}.sidebar-picture{position:absolute;bottom:30px;left:23px;right:23px;height:158px;overflow:hidden;border-radius:9px;background:#294639}.sidebar-picture img{width:100%;height:100%;object-fit:cover;opacity:.6}.sidebar-picture:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent,#15382caa)}.sidebar-picture>span{position:absolute;bottom:18px;left:18px;color:#fff5dc;font-family:"STSong","SimSun",serif;font-size:19px;letter-spacing:3px;z-index:1}.sidebar-picture small{display:block;font-family:Arial,sans-serif;font-size:8px;letter-spacing:3px;margin-top:5px;color:#e8ddc0}main{max-width:1600px;margin:0 0 0 222px;padding:38px 42px 60px}.page-heading{margin:0 0 29px;min-height:88px}.eyebrow{font-size:10px;letter-spacing:2.5px;color:#9b947d;margin-bottom:9px}h1{font-family:"STSong","SimSun",serif;font-size:31px;font-weight:500;letter-spacing:3px;margin-bottom:10px}h2{font-size:19px;font-weight:600;letter-spacing:.5px}.account{padding:9px 13px;border:1px solid var(--border);border-radius:22px;background:#fffefa;font-size:12px;color:#697564}.account:before{content:"";display:inline-block;width:6px;height:6px;background:#859579;border-radius:50%;margin-right:8px}.overview{display:grid;grid-template-columns:1fr 1fr 1fr 172px;background:#fffefa;border:1px solid var(--border);border-radius:11px;overflow:hidden;margin-bottom:20px;min-height:120px}.overview>div{position:relative;padding:20px 25px}.overview>div+div:before{content:"";position:absolute;left:0;top:24px;bottom:24px;border-left:1px solid var(--border)}.overview span{display:block;font-size:12px;color:#737d6e}.overview strong{display:inline-block;margin-top:4px;font:32px/1.3 Georgia,serif;color:#244b3e}.overview small{font-size:10px;color:#a2a498;display:block;margin-top:2px}.overview-photo{width:100%;height:100%;max-height:132px;object-fit:cover;object-position:center 62%}.service-status{margin:0 0 29px;padding:10px 15px;border:1px solid #eae4d5;border-radius:7px;background:#f5f1e5;gap:9px;color:#8d7d56}.service-status p{font-size:11px;line-height:1.8}.service-status strong{font-size:11px;font-weight:600;margin-right:13px}.service-status span:not(.status-dot){color:#8e8874}.status-dot{width:5px;height:5px;margin-top:8px;background:#b5a573}.tabs{position:fixed;left:23px;top:221px;width:176px;display:flex;flex-direction:column;gap:6px;margin:0;border:0;z-index:6;overflow:visible}.tabs:before{content:"内容管理";font-size:10px;color:#9b9e92;letter-spacing:2px;padding:10px 12px 8px}.tabs button{justify-content:flex-start;padding:12px 16px;min-height:43px;border:0;border-radius:7px;color:#7d8478;font-size:13px;font-weight:400;background:transparent}.tabs button:before{content:"▤";font-size:17px;margin-right:8px;color:#8a947d}.tabs button:nth-child(2):before{content:"♫"}.tabs button:nth-child(3):before{content:"◇"}.tabs button.active{color:#f8f6e9;background:#244b3e;border:0;box-shadow:0 4px 10px #244b3e0f}.tabs button.active:before{color:#d5cfb7}.section-heading{margin-bottom:20px;align-items:center}.section-heading .muted{font-size:12px;margin-top:6px}.count{font-size:11px;letter-spacing:0;background:#eeeee5;padding:3px 7px;border-radius:4px;color:#7c8576}button,.button{min-height:39px;border-radius:6px;font-size:12px;padding:9px 16px;font-weight:500}.primary{background:#244b3e;box-shadow:0 2px 3px #244b3e0c}.secondary{background:#fffefa;border-color:#dcded3;color:#506347}.filters{background:#fffefa;border:1px solid var(--border);border-radius:8px;padding:17px 18px;gap:16px;margin-bottom:17px}.filters label{min-width:139px;font-size:11px;gap:6px;color:#86907d;font-weight:400}.filters .search-field{min-width:120px}.filters input,.filters select{min-height:37px;padding:7px 10px;font-size:12px;background:#fcfcf8;border-color:#e8e8dd;border-radius:5px}.filters button{min-height:37px}.list-columns{display:grid;grid-template-columns:minmax(0,1fr) 85px 110px 140px;gap:15px;padding:0 20px 11px;font-size:10px;color:#9b9d90;letter-spacing:1px}.content-grid{display:flex;flex-direction:column;gap:10px}.content-card{display:grid;grid-template-columns:94px minmax(0,1fr) 85px 110px 140px;align-items:center;gap:15px;padding:17px 20px;background:#fffefa;border:1px solid var(--border);border-radius:9px;transition:border-color .2s,box-shadow .2s}.content-card:hover{border-color:#c9d1c0;box-shadow:0 3px 12px #34473505}.card-cover{padding:0;border-radius:6px;width:94px;height:79px;display:block;overflow:hidden;background:#e9e9df}.card-cover img{width:100%;height:100%;object-fit:cover;display:block}.card-body{padding:0;min-width:0}.card-body h3{font-size:15px;font-weight:600;letter-spacing:.2px;line-height:1.5;margin:7px 0 5px;color:#2b4235}.card-description{font-size:11px;line-height:1.6;margin:0;min-height:0;-webkit-line-clamp:1;color:#92968b}.card-meta{justify-content:flex-start;align-items:center;gap:7px;font-size:10px;line-height:1.4;color:#929b88;flex-wrap:wrap}.card-meta>span+span:not(.sample-badge):before{content:"·";margin-right:7px;color:#c0c3b6}.sample-badge{font-size:9px;padding:2px 5px;background:#f5f0e5;border:1px solid #e8dfca;color:#a29066;border-radius:3px}.badge{font-size:10px;font-weight:400;line-height:1.4;padding:5px 8px;border-radius:4px;display:inline-flex;align-items:center;gap:5px;background:#f2f0e8;color:#a29171}.badge:before{content:"";width:4px;height:4px;background:currentColor;border-radius:50%}.badge.published{background:#edf3e9;color:#69815b}.card-price strong{display:block;color:#4f6245;font-size:13px;font-weight:600}.card-price small{font-size:10px;color:#a0a594;display:block;margin-top:5px}.card-footer{display:flex;flex-direction:column;gap:1px;align-items:flex-start;padding:0;border:0}.card-footer .text-button{font-size:11px;min-height:29px;padding:4px 10px;border:1px solid #e0e4d8;border-radius:4px;color:#59704d;background:#fcfdf8}.card-footer .danger{border-color:transparent;background:transparent;color:#a6a295;font-size:10px;min-height:25px;padding:3px 10px}.empty{border-color:#dfe3d5;background:#fffefa;padding:60px 20px}.panel,.upload-panel{border-color:var(--border);background:#fffefa;border-radius:10px;padding:26px}.upload-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);column-gap:36px;align-items:center}.upload-intro{grid-row:1/4;align-self:stretch;padding:22px 28px 22px 4px;border-right:1px solid var(--border)}.upload-icon{display:grid;place-items:center;width:47px;height:47px;border:1px solid #d4dcc8;background:#f1f4eb;border-radius:50%;color:#839573;font-size:24px;margin-bottom:17px}.upload-intro h3{font-size:19px;font-weight:500}.file-label{font-size:12px}.file-label input{font-size:11px;padding:19px 12px;background:#f8faf4;border-color:#cbd5bf}.upload-line{margin:13px 0;gap:12px}.upload-line label{font-size:11px;flex:1}.upload-line select{padding:8px 10px;min-height:39px;font-size:12px}.upload-panel>.muted{font-size:10px;line-height:1.8}.upload-panel progress,.upload-panel #upload-status{grid-column:2}.asset-row{border-radius:8px;border-color:var(--border);background:#fffefa;padding:17px 20px}.asset-info h3{font-size:13px}.asset-info p{font-size:11px}.asset-symbol{background:#eff2e8;color:#78906b;border-radius:6px}.asset-list{gap:9px}#code-form{max-width:830px}#code-form>h3{font-size:19px;font-weight:500}#code-form>.muted{font-size:12px}.form-grid{gap:19px 22px}label{font-weight:400;color:#67755d;font-size:12px}input,select,textarea{background:#fffefa;border-color:#dfe3d6;border-radius:6px;font-size:13px;padding:10px 12px;color:#344633}input:focus,select:focus,textarea:focus{border-color:#a0af8f;box-shadow:0 0 0 3px #a0af8f14}.hint{font-size:10px;color:#9b9e8f}.muted{color:#8c9384;font-size:12px}.error,.notice{border-radius:6px;font-size:12px}dialog{padding:28px 32px;background:#fffefa;border-color:#e3e5d8;border-radius:13px;box-shadow:0 24px 100px #192f282e}dialog::backdrop{background:#17342d6b;backdrop-filter:blur(4px)}dialog:not([open]){display:none}.editor{width:min(800px,calc(100% - 38px))}.dialog-heading{border-bottom:1px solid var(--border);padding-bottom:20px;margin-bottom:21px}.dialog-heading h2{font-family:"STSong","SimSun",serif;font-size:25px;font-weight:500;letter-spacing:2px}.dialog-heading .eyebrow{font-size:9px}.icon-button{background:#f2f3eb;color:#7c8970;width:32px;min-height:32px;font-size:23px;border-radius:50%}fieldset{margin-top:23px;padding-top:18px}legend{font-size:14px;color:#495f3f;font-weight:500}.editor-footer{position:sticky;bottom:-28px;background:#fffefa;padding:18px 0 4px;z-index:2;box-shadow:0 -12px 20px #fffefaee}.editor-footer .muted{font-size:10px}.lesson-row,.include-option{background:#f4f5ed;border-radius:6px}.lesson-row{grid-template-columns:1fr 1fr auto}.preview .muted{font-size:11px}.loading{margin-top:100px}#login-required{max-width:560px;margin:100px auto}#login-required h1{font-size:24px}#login-required .button{margin-top:24px}
@media(min-width:1600px){main{margin-left:222px;padding-left:65px;padding-right:65px}.content-card{grid-template-columns:106px minmax(0,1fr) 100px 130px 140px}.card-cover{width:106px;height:83px}.list-columns{grid-template-columns:minmax(0,1fr) 100px 130px 140px}}
@media(max-width:1200px){main{padding:32px 27px 50px}.topbar{width:200px;padding-left:18px;padding-right:18px}main{margin-left:200px}.tabs{left:18px;width:164px}.sidebar-picture{left:18px;right:18px}.overview{grid-template-columns:1fr 1fr 1fr 130px}.overview>div{padding:18px}.content-card{grid-template-columns:78px minmax(0,1fr) 70px 82px 104px;gap:11px;padding:16px}.card-cover{width:78px;height:74px}.list-columns{grid-template-columns:minmax(0,1fr) 70px 82px 104px;gap:11px;padding-left:16px;padding-right:16px}.card-body h3{font-size:14px}.filters{gap:10px}.filters label{min-width:112px}}
@media(max-width:960px){.topbar{width:180px;padding-left:15px;padding-right:15px}.brand{gap:8px}.brand .brand-name{font-size:17px}.brand .brand-mark{width:33px;height:38px;font-size:21px}main{margin-left:180px;padding:26px 20px 45px}.tabs{left:15px;width:150px}.sidebar-picture{left:15px;right:15px}.overview{grid-template-columns:1fr 1fr 1fr}.overview-photo{display:none}.card-price{grid-column:3}.card-status{grid-column:3;grid-row:1;align-self:start;margin-top:3px}.card-price{grid-row:1;align-self:end;margin-bottom:3px}.card-price strong{font-size:11px}.card-price small{display:none}.content-card{grid-template-columns:74px minmax(0,1fr) 71px;gap:12px}.card-cover{width:74px;height:77px}.card-body{grid-column:2;grid-row:1}.card-footer{grid-column:2/4;flex-direction:row;gap:9px;justify-content:flex-end;margin-top:-5px}.list-columns{display:none}.card-description{-webkit-line-clamp:1}.upload-panel{display:block}.upload-intro{border:0;padding:0 0 24px;display:block}.upload-icon{float:left;margin:0 17px 0 0;width:43px;height:43px}.upload-intro h3{margin:0 0 5px;font-size:17px}.filters{flex-wrap:wrap}.filters label{flex:1 1 35%;min-width:0}.filters .search-field{flex-basis:65%}.filters button{flex:1}}
@media(max-width:640px){.topbar{position:relative;inset:auto;width:100%;height:74px;flex-direction:row;align-items:center;justify-content:space-between;padding:0 20px;border-right:0;border-bottom:1px solid var(--border)}.brand{gap:9px}.brand .brand-name{display:block;font-size:18px;letter-spacing:2px}.brand .brand-mark{display:grid;width:31px;height:36px;font-size:20px}.brand small{font-size:8px;margin-top:2px;letter-spacing:1px}.topbar .nav-caption,.sidebar-picture{display:none}.back-link{font-size:11px;padding:8px 0}.back-link span{font-size:14px;margin-right:3px}main{margin:0;padding:24px 17px 40px}.page-heading{margin:0 0 20px;min-height:72px;gap:8px;align-items:center}h1{font-size:27px;letter-spacing:2px}.eyebrow{font-size:8px;letter-spacing:1.8px;margin-bottom:6px}.page-heading .muted{font-size:10px}.account{max-width:98px;font-size:9px;padding:6px 9px;white-space:normal;overflow-wrap:anywhere}.overview{min-height:105px;margin-bottom:14px;border-radius:8px}.overview>div{padding:15px 16px}.overview span{font-size:10px}.overview strong{font-size:29px;margin-top:4px}.overview small{font-size:8px}.overview>div+div:before{top:20px;bottom:20px}.service-status{padding:10px 11px;margin-bottom:19px;align-items:flex-start;gap:6px}.service-status p{font-size:9px;line-height:1.8}.service-status strong{font-size:10px;display:block;margin:0}.service-status span:not(.status-dot){font-size:9px}.status-dot{margin-top:7px}.tabs{position:static;width:auto;flex-direction:row;gap:4px;overflow-x:auto;border-bottom:1px solid var(--border);padding-bottom:9px;margin-bottom:23px}.tabs:before{display:none}.tabs button{padding:9px 12px;font-size:11px;min-height:36px;flex:1;justify-content:center;border-radius:5px;white-space:nowrap}.tabs button:before{display:none}.section-heading{margin-bottom:14px;gap:8px;align-items:center}.section-heading h2{font-size:18px}.section-heading .muted{font-size:10px;line-height:1.6;margin-top:5px}.section-heading>button{font-size:11px;padding:9px 11px;min-height:36px}.count{font-size:10px;margin-left:3px}.filters{padding:13px;gap:12px;border-radius:7px;margin-bottom:14px}.filters label{font-size:10px;gap:5px}.filters input,.filters select{font-size:11px;min-height:36px}.filters .search-field{flex-basis:65%}.filters button{font-size:11px;min-height:36px;padding:8px 10px}.content-grid{gap:11px}.content-card{grid-template-columns:66px minmax(0,1fr) 60px;padding:14px 12px;gap:11px;border-radius:8px}.card-cover{width:66px;height:72px}.card-body h3{font-size:13px;line-height:1.5;margin:5px 0 4px}.card-meta{font-size:8px;gap:4px}.card-meta>span+span:not(.sample-badge):before{margin-right:4px}.sample-badge{font-size:8px;padding:1px 3px}.card-description{font-size:9px;-webkit-line-clamp:1}.badge{font-size:9px;padding:4px 6px;gap:4px}.card-price strong{font-size:10px}.card-footer{margin-top:0;gap:8px}.card-footer .text-button{font-size:10px;min-height:26px;padding:4px 9px}.card-footer .danger{font-size:9px}.empty{padding:40px 17px}.empty h3{font-size:16px}.empty p{font-size:11px}.panel,.upload-panel{padding:20px 16px}.upload-intro h3{font-size:16px}.upload-intro .muted{font-size:10px}.upload-intro{padding-bottom:23px}.upload-line{gap:10px}.file-label input{padding:18px 9px;font-size:10px}.upload-line select{font-size:11px}.upload-line button{font-size:11px}.asset-row{padding:14px 12px;gap:10px}.asset-info h3{font-size:12px}.asset-info p{font-size:10px}.asset-row button{font-size:10px;min-height:34px}.form-grid{grid-template-columns:1fr;gap:16px;margin-top:18px}.span-2{grid-column:auto}#code-form>h3{font-size:17px}#code-form>.muted{font-size:10px}.section-heading.compact{margin-top:25px}.section-heading.compact h3{font-size:16px}dialog{padding:22px 18px;max-height:94dvh;border-radius:10px}.editor{width:calc(100% - 18px)}.dialog-heading{padding-bottom:16px;margin-bottom:15px}.dialog-heading h2{font-size:23px}.dialog-heading .eyebrow{font-size:8px}.form-grid label{font-size:11px}input,select,textarea{font-size:13px;min-height:43px}.lesson-row{grid-template-columns:1fr;gap:12px}.editor-footer{bottom:-22px;padding-bottom:3px;gap:12px}.editor-footer .button-row{width:100%}.editor-footer button{min-height:42px}.editor-footer .muted{font-size:10px}.include-option{font-size:11px}.include-option small{font-size:9px}#login-required{margin:45px 0}#login-required h1{font-size:21px}.loading{margin-top:45px}}
@media(max-width:640px){.page-heading .muted{font-size:11px}.overview span{font-size:11px}.overview small{font-size:9px}.service-status p,.service-status span:not(.status-dot){font-size:10px}.service-status strong{font-size:11px}.tabs button{font-size:12px}.section-heading .muted{font-size:11px}.filters label{font-size:11px}.filters input,.filters select{font-size:12px}.card-body h3{font-size:14px}.card-meta{font-size:9px}.sample-badge{font-size:9px}.card-description{font-size:11px}.badge{font-size:10px}.card-price strong{font-size:11px}.card-footer .text-button{font-size:11px;min-height:30px}.card-footer .danger{font-size:10px}.form-grid label{font-size:12px}.hint{font-size:11px}.asset-info h3{font-size:13px}.asset-info p{font-size:11px}.upload-intro .muted{font-size:11px}.upload-panel>.muted{font-size:11px}.file-label input{font-size:11px}#code-form>.muted{font-size:11px}.editor-footer .muted{font-size:11px}.include-option{font-size:12px}.include-option small{font-size:10px}}
@media(max-width:640px){body{font-size:14px}.brand small{font-size:12px;letter-spacing:0}.back-link{font-size:12px}.eyebrow{font-size:12px;letter-spacing:1px}.page-heading .muted,.account{font-size:12px}.overview span,.overview small{font-size:12px}.overview>div{padding:15px 12px}.service-status p,.service-status strong,.service-status span:not(.status-dot){font-size:12px}.tabs button{font-size:13px;min-height:44px;padding:10px}.section-heading .muted,.count{font-size:12px}.section-heading>button{font-size:12px;min-height:44px}.filters label{font-size:12px}.filters input,.filters select{font-size:14px;min-height:44px}.filters button{font-size:12px;min-height:44px}.content-card{grid-template-columns:66px minmax(0,1fr) 63px;gap:10px}.card-body h3{font-size:14px}.card-meta,.sample-badge{font-size:12px}.card-description{font-size:12px}.badge,.card-price strong{font-size:12px}.card-footer{gap:8px;margin-top:4px}.card-footer .text-button,.card-footer .danger{font-size:12px;min-height:44px;min-width:56px;padding:9px 12px}.form-grid label,label,.hint{font-size:12px}input,select,textarea{font-size:14px;min-height:44px}.asset-info h3{font-size:14px}.asset-info p{font-size:12px}.asset-row button{font-size:12px;min-height:44px}.upload-intro .muted,.upload-panel>.muted,.file-label input,.upload-line label,.upload-line button{font-size:12px}.upload-line select{font-size:14px;min-height:44px}.upload-line button{min-height:44px}#code-form>.muted{font-size:12px}.editor-footer .muted{font-size:12px}.editor-footer button{min-height:44px;font-size:14px}.include-option,.include-option small,.dialog-heading .eyebrow{font-size:12px}.icon-button{width:44px;min-height:44px}.lesson-row .text-button{min-height:44px;min-width:44px}.button-row button,#generate-codes,#refresh-grants{min-height:44px;font-size:12px}.empty p,.preview .muted{font-size:12px}.muted{font-size:12px}}
/* Content editing: direct uploads and a short, ordered workflow. */
.kind-navigation{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 18px}.kind-navigation button{background:#eeefe7;color:#5a6c60;border-radius:24px;min-height:44px;padding:9px 22px}.kind-navigation button.active{background:#315c4c;color:#fff}.editor{width:min(980px,calc(100% - 32px))}.editor-step{margin:20px 0;padding:22px;background:#fff;border:1px solid #e3e5db;border-radius:14px}.editor-step>h3{display:flex;gap:10px;align-items:center;font-size:18px;margin-bottom:18px}.editor-step>h3>span{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:#eaf0e5;color:#315c4c;font-size:14px}.editor-step .form-grid{margin-top:0}.editor-step fieldset{margin:18px 0 0;padding-top:14px}.editor-step fieldset:first-of-type{margin-top:0}.editor-step fieldset[hidden]{display:none}.editor details>summary{cursor:pointer;font-weight:600;color:#315c4c;padding:14px 0;min-height:44px}.editor details+details{margin-top:10px}.extra-fields{padding:4px 22px 20px}.inline-upload{min-width:0;padding:16px;border:1px dashed #c8d2c0;background:#fcfcf8;border-radius:10px}.upload-file-info{display:flex;flex-direction:column;gap:5px;min-width:0}.upload-file-info strong{font-size:14px;overflow-wrap:anywhere;font-weight:500;color:#2d4d3f}.upload-file-info span{font-size:12px;color:#7a8373}.upload-picker{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none;padding:0;border:0;min-height:0}.upload-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}.upload-actions button{min-height:44px;font-size:13px}.inline-upload progress{width:100%;height:7px;margin:12px 0 4px;accent-color:#315c4c}.upload-status,.upload-error{font-size:13px;margin:8px 0 0;overflow-wrap:anywhere}.upload-status:empty,.upload-error:empty{display:none}.upload-status{color:#5e735e}.upload-error{color:#a33e31}.lesson-row{grid-template-columns:minmax(0,1fr);gap:12px;padding:18px;margin:14px 0;border:1px solid #e1e5d9;border-radius:12px;background:#f6f7f0}.lesson-row label{font-size:13px}.lesson-row .lesson-tools{justify-content:flex-end}.lesson-tools button{min-height:44px;min-width:44px}.editor-footer{z-index:2;background:#fffefb;border-top:1px solid #e3e5db;padding-top:16px}.parent-heading{margin:14px 0 8px;color:#315c4c;font-size:14px}.parent-course{display:flex;align-items:center;gap:10px;padding:14px;background:#eef2e7;border-radius:8px;margin:8px 0}.parent-course strong{flex:1;overflow-wrap:anywhere;font-size:14px}.parent-course button{min-height:44px;flex:none}.membership-hint{padding:14px;background:#f2f4eb;border-radius:10px;color:#67775e}.editor [hidden]{display:none!important}.editor button{min-height:44px}
@media(max-width:640px){.editor{width:calc(100% - 14px);padding:18px 12px}.editor-step{padding:16px 12px;margin:14px 0}.editor-step>h3{font-size:16px}.extra-fields{padding:0 12px 15px}.kind-navigation{gap:6px}.kind-navigation button{padding:9px 14px;font-size:13px}.inline-upload{padding:12px}.upload-actions{gap:4px}.upload-actions button{padding:8px 10px}.lesson-row{padding:12px}.parent-course{flex-wrap:wrap}.parent-course strong{flex-basis:70%}.editor-footer{bottom:-18px}.editor-footer .button-row{display:flex;gap:8px}.editor-footer .button-row button{flex:1;min-height:44px}.editor .form-grid{grid-template-columns:1fr}.editor .span-2{grid-column:auto}}

/* Match the customer-facing content order. */
.editor-step>h3 strong{font:inherit}.editor-step#lesson-fields,.editor-step#media-fields,.editor-step#live-fields,.editor-step#includes-fields{padding:22px;margin:20px 0;min-width:0}.editor-step>textarea{width:100%;resize:vertical;line-height:1.8}.editor-step .form-grid{gap:18px}.editor-step#includes-fields>h3{margin-bottom:0}
@media(max-width:640px){.editor-step#lesson-fields,.editor-step#media-fields,.editor-step#live-fields,.editor-step#includes-fields{padding:16px 12px;margin:14px 0}}
