[hidden]{display:none!important}
:root{--navy:#14243e;--navy2:#203650;--ink:#24334c;--muted:#718096;--line:#e4e8ef;--bg:#f7f9fc;--white:#fff;--teal:#16878e;--teal2:#0b6976;--soft:#e8f5f5;--serif:Georgia,'Times New Roman',serif;--sans:Inter,'Segoe UI',Arial,sans-serif}*{box-sizing:border-box}body{margin:0;color:var(--ink);font-family:var(--sans);background:var(--bg);font-size:14px}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.48;cursor:not-allowed}input,textarea,select{width:100%;border:1px solid #d5dce6;background:white;color:#26364c;border-radius:7px;padding:12px 13px;outline:none}input:focus,textarea:focus,select:focus{border-color:#14878e;box-shadow:0 0 0 3px #16878e20}textarea{resize:vertical;line-height:1.55}label{display:block;color:#37475e;font-size:12px;font-weight:750;margin:15px 0 8px}label span{color:#99a4b2;font-weight:400}h1,h2,h3,p{margin-top:0}h1,h2{font-family:var(--serif);font-weight:500;letter-spacing:-.035em}h1{font-size:38px;line-height:1.18}h2{font-size:24px}h3{font-size:17px}small{font-size:11px}.eyebrow{font-size:10px!important;letter-spacing:.19em;font-weight:800!important;font-family:var(--sans)!important;color:#98a4b2;line-height:1.4}.eyebrow.teal{color:var(--teal)}.eyebrow.light{color:#9fe2dc}.btn{border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;border-radius:7px;padding:11px 16px;min-height:42px;font-weight:700;font-size:12px;gap:7px;white-space:nowrap;transition:background .17s,border .17s,transform .17s;text-decoration:none}.btn:hover{transform:translateY(-1px)}.btn.primary{background:#127d86;color:white}.btn.primary:hover{background:#0d6976}.btn.dark{background:var(--navy);color:white}.btn.outline{border-color:#d9e1e8;background:white;color:#2d3c52}.btn.subtle{background:#edf3f7;color:#30435a}.btn.danger{background:#fef2f2;color:#ad3434}.btn.wide{width:100%}.shell{display:flex;min-height:100vh}.sidebar{width:254px;flex-shrink:0;background:#172841;color:white;padding:27px 16px 18px;display:flex;flex-direction:column;min-height:100vh;position:sticky;top:0;height:100vh}.brand-lock{display:flex;align-items:center;gap:11px;padding:3px 9px 18px;color:white}.brand-symbol{height:36px;width:36px;border-radius:8px;display:grid;place-items:center;border:1px solid #67c8c5;color:white;background:#2e5267;font:700 23px var(--serif);letter-spacing:-.12em;padding-right:4px}.brand-symbol span{color:#50c3bb}.brand-lock strong{font-size:12px;letter-spacing:.11em;display:block}.brand-lock small{font-size:9px;letter-spacing:.2em;color:#a6b8cd;display:block;margin-top:4px}.workspace-pill{padding:11px 13px;margin:11px 9px 26px;border:1px solid #39516a;border-radius:6px;font-size:10px;font-weight:750;color:#bed2dc;letter-spacing:.07em}.green-dot{display:inline-block;background:#64d7b1;border-radius:99px;height:7px;width:7px;margin-right:6px}.nav-section{margin:0 1px 30px}.nav-label{font-size:10px;color:#8096b0;padding:0 13px;margin-bottom:13px;letter-spacing:.16em;font-weight:800}.nav-item{display:flex;align-items:center;gap:11px;text-align:left;width:100%;padding:12px 13px;border:0;background:transparent;color:#becbdb;border-radius:6px;font-size:12px;font-weight:600}.nav-item:hover,.nav-item.active{background:#2b425e;color:white}.nav-item.muted{opacity:.85;cursor:default}.nav-glyph{font-size:20px;line-height:14px;width:18px;text-align:center;font-weight:400}.nav-count{margin-left:auto;border-radius:20px;background:#3b5670;padding:3px 7px;font-size:10px}.sidebar-spacer{flex:1}.sidebar-bottom{border-top:1px solid #30455e;padding-top:16px}.version-tag{color:#7695a5;font-size:10px;letter-spacing:.08em;margin:5px 13px 12px}.workspace{min-width:0;flex:1}.topbar{height:69px;border-bottom:1px solid var(--line);background:white;padding:0 38px;display:flex;align-items:center;justify-content:space-between}.crumb{color:#64758b;font-size:12px;font-weight:650}.crumb span{padding:0 9px;color:#bec5d0}.topbar-right{display:flex;align-items:center;gap:19px}.top-status{font-size:11px;color:#65758b}.top-status i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#23b7a4;margin-right:6px}.avatar{width:31px;height:31px;border-radius:50%;background:#e2e9f2;color:#3f5b6a;display:grid;place-items:center;font:700 11px var(--sans)}.main-content{padding:37px 40px 75px;max-width:1640px;margin:auto}.page-heading,.editor-title-row{display:flex;align-items:center;justify-content:space-between;gap:22px}.page-heading h1{margin:9px 0 10px}.dot{color:var(--teal)}.heading-desc{color:#8492a3;margin:0;line-height:1.55;font-size:13px}.library-intro{background:#e9f1f3;border:1px solid #dce9ec;min-height:264px;border-radius:12px;margin:35px 0 32px;padding:36px 44px;display:flex;align-items:center;justify-content:space-between;overflow:hidden}.library-intro>div:first-child{max-width:465px;position:relative;z-index:1}.library-intro h2{font-size:30px;line-height:1.2;margin:13px 0}.library-intro p{font-size:13px;line-height:1.7;color:#657d87;margin-bottom:22px}.intro-art{position:relative;height:205px;width:360px;flex-shrink:0}.art-paper{background:white;border-radius:10px;position:absolute;box-shadow:0 14px 30px #284e6720}.art-back{width:235px;height:164px;right:45px;top:21px;transform:rotate(17deg);background:#b2d6d6}.art-mid{width:230px;height:161px;right:74px;top:20px;transform:rotate(-9deg);padding:22px;color:#7aa9a9}.art-mid b{font:600 27px var(--serif)}.art-mid span{display:block;font-size:11px;margin-top:17px}.art-front{height:189px;width:260px;right:68px;top:10px;padding:27px 26px;transform:rotate(1deg)}.art-front small{font-size:8px;letter-spacing:.2em;color:#8a9ba9}.art-front>b{font:500 23px/1.18 var(--serif);display:block;margin:13px 0;color:#1e3a50}.art-bars i{display:block;height:5px;border-radius:4px;background:#dfe9ea;margin:6px 0;width:90%}.art-bars i:nth-child(2){width:78%}.art-bars i:nth-child(3){width:52%}.art-chip{position:absolute;bottom:-13px;right:-26px;border-radius:20px;background:#167c83;color:white;font-size:9px;font-weight:700;padding:11px 15px;box-shadow:0 8px 15px #286d7230}.library-section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.library-section-head h2{font-size:22px;margin:0}.library-section-head span{font-size:12px;color:#7b8b9b}.lecture-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(275px,1fr));gap:16px}.lecture-tile{background:white;border:1px solid var(--line);border-radius:10px;text-align:left;min-height:202px;padding:24px;transition:box-shadow .2s,transform .2s}.lecture-tile:hover{box-shadow:0 12px 28px #132b4920;transform:translateY(-2px)}.tile-label{font-size:10px;letter-spacing:.13em;color:var(--teal);font-weight:800}.lecture-tile h3{font:500 22px/1.25 var(--serif);color:#213953;margin:18px 0 11px}.lecture-tile p{font-size:12px;line-height:1.55;color:#80909f}.tile-footer{border-top:1px solid var(--line);padding-top:14px;margin-top:19px;display:flex;justify-content:space-between;color:#98a3ae;font-size:10px}.empty-library{grid-column:1/-1;border:1px dashed #cdd9e4;padding:35px;border-radius:10px;background:#fbfdff;color:#708497}.editor-heading{margin-bottom:24px}.text-back{background:none;border:0;color:#778b9b;font-weight:650;font-size:12px;padding:0;margin:0 0 24px}.editor-title-row h1{margin:7px 0}.editor-heading-actions{display:flex;align-items:center;gap:8px}.status-badge{color:#856c22;background:#fff1c9;border:1px solid #f1e2af;font-weight:750;letter-spacing:.07em;font-size:9px;border-radius:30px;padding:8px 12px}.status-badge.ready{color:#126d54;background:#e0f6ed;border-color:#b9ead5}.metrics{display:flex;align-items:center;flex-wrap:wrap;gap:23px;border-bottom:1px solid var(--line);margin-top:26px;padding-bottom:20px;color:#7c8b9e;font-size:12px}.metrics b{color:#1e3650;font-size:15px;margin-right:3px}.metrics>span:last-child{margin-left:auto}.authoring-grid{display:grid;grid-template-columns:minmax(0,1fr) 305px;align-items:start;gap:24px}.editor-canvas,.rail-card{background:#fff;border:1px solid var(--line);border-radius:10px}.editor-canvas{padding:28px;min-width:0}.panel-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:27px}.panel-head h2{margin:5px 0 9px}.panel-head p:last-child{font-size:12px;color:#94a0ad;line-height:1.6;margin-bottom:0}.block-list{display:flex;flex-direction:column;gap:13px}.block-unit{position:relative;border:1px solid #e4e9ef;background:#fff;border-radius:9px;overflow:hidden}.block-unit:hover{border-color:#c8dce2}.block-top{padding:14px 17px;border-bottom:1px solid #edf0f5;background:#fbfcfe;display:flex;align-items:center;justify-content:space-between;gap:10px}.block-top-left{display:flex;align-items:center;gap:10px}.block-num{font:700 10px var(--sans);color:#a5b3c1}.block-kind-icon{border-radius:6px;background:#e5f3f4;color:#107782;display:grid;place-items:center;height:29px;width:29px;font-size:16px}.block-type{font-size:10px;letter-spacing:.09em;font-weight:800;color:#4c647c;text-transform:uppercase}.block-buttons{display:flex;gap:3px}.mini-btn{height:29px;min-width:29px;padding:0 7px;border:1px solid transparent;border-radius:5px;background:transparent;color:#768899}.mini-btn:hover{background:#e9f1f5;color:#1c6275}.block-content{padding:20px 23px}.block-content h3{font:500 21px var(--serif);color:#233a50;margin:0 0 12px}.block-content p{font:14px/1.75 var(--serif);margin:0 0 10px;color:#566479;white-space:pre-wrap;word-break:break-word}.block-content .block-content-small{font:12px/1.5 var(--sans);color:#8394a0}.block-content .check-option{display:inline-flex;margin:4px 8px 5px 0;gap:8px;padding:9px 12px;background:#f7f9fb;color:#607286;font-size:12px;border:1px solid #e6eaf1;border-radius:5px}.block-content .correct-mark{background:#e8f6ed;border-color:#cbe9d2;color:#156855}.block-content details{background:#eff8f8;border-radius:8px;padding:13px 16px;color:#32626a;font-size:12px}.block-content summary{cursor:pointer;font-weight:750}.block-content .card-face{font:18px/1.5 var(--serif);color:#28475b}.block-content ul,.block-content ol{padding-left:20px;color:#4c6275;font:13px/1.7 var(--sans)}.slide-source{display:inline-block;font-size:10px;color:#9daab5;margin-top:13px}.add-ending{margin-top:15px;padding:28px 18px;border:1px dashed #bdcdd9;background:#f9fcfe;width:100%;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;color:#4d677d}.add-ending span{font-size:27px;color:#16838d}.add-ending b{font-size:12px}.add-ending small{font-size:11px;color:#9caaba}.rail-card{padding:23px;margin-bottom:18px}.rail-card h2{font-size:24px;margin:6px 0 10px}.rail-card p{color:#76879a;font-size:12px;line-height:1.65}.ai-card{background:#152b44;color:white;border-color:#152b44}.ai-card .eyebrow{color:#91dfd7}.rail-top-icon{font-size:27px;color:#77e1dd;margin-bottom:12px}.ai-card h2{color:white}.ai-card p{color:#b4c5d5}.ai-card label{font-size:11px;color:#e0e8ef}.ai-card label span{color:#98a9ba}.ai-card select,.ai-card textarea{background:#273f56;color:white;border-color:#3b536a;font-size:12px}.ai-card textarea::placeholder{color:#7e9aad}.ai-status{font-size:10px;color:#94e5bd;line-height:1.6;padding:8px 11px;border-radius:5px;background:#24495b;margin:20px 0}.ai-status.disabled{color:#e5c393}.btn.ai-btn{background:#79d3cf;color:#123447;margin-top:18px}.rail-footnote{font-size:10px!important;line-height:1.6!important;margin:14px 0 0;color:#9db0c2!important}.source-heading{display:flex;gap:11px;align-items:center;margin-bottom:18px}.source-heading h3{margin:0 0 3px}.source-heading p{margin:0}.source-icon{font-size:20px;background:#e7f2f3;color:#13828b;padding:10px;border-radius:9px}.upload-zone{border:1px dashed #b4cbd4;display:flex;align-items:center;justify-content:center;flex-direction:column;background:#f5f9fa;padding:21px 12px;border-radius:8px;gap:7px;cursor:pointer;text-align:center;margin:0 0 14px}.upload-zone span{font-size:21px;color:#16878e}.upload-zone strong{font-size:12px;color:#31566a}.upload-zone small{font-size:10px;color:#8396a4}.slide-list{max-height:210px;overflow:auto;margin-bottom:12px}.slide-item{border-bottom:1px solid #e9edf1;padding:9px 0;display:flex;gap:8px;align-items:flex-start;font-size:11px;color:#566f86}.slide-item b{color:#0f7e89;min-width:22px}.publish-card h3{font:500 24px var(--serif);margin:8px 0}.export-btn{background:white;width:100%;display:flex;gap:11px;align-items:center;padding:12px 0;border:0;border-bottom:1px solid #ebeff3;text-align:left;color:#29435b}.export-btn>span:first-child{font-size:21px;color:#11828b;width:25px;text-align:center}.export-btn>span:last-child{margin-left:auto;color:#8ba5b8}.export-btn b{font-size:11px;display:block}.export-btn small{display:block;color:#90a0ae;margin-top:4px}.publish-card .btn.wide{margin-top:13px}.publish-card input{font-size:12px}.dialog,.preview-dialog{border:0;border-radius:14px;padding:0;box-shadow:0 25px 90px #15284350;max-width:calc(100vw - 24px)}.dialog{width:520px}.dialog form{padding:32px}.dialog::backdrop,.preview-dialog::backdrop{background:#0b1939b8}.dialog-top{display:flex;justify-content:space-between;align-items:flex-start}.dialog-top h2{margin:6px 0 19px;font-size:29px}.dialog-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:25px}.dialog-actions .danger{margin-right:auto}.icon-button{border:0;background:#f2f5f8;border-radius:7px;padding:9px 12px;color:#75889c}.block-dialog{width:650px;max-height:91vh;overflow:auto}.block-field[hidden]{display:none!important}.block-field small{color:#8796a6}.preview-dialog{height:94vh;width:1050px;max-width:calc(100vw - 30px)}.preview-top{display:flex;justify-content:space-between;align-items:center;padding:18px 27px;border-bottom:1px solid var(--line);background:white}.preview-top b{display:block;font-size:11px;letter-spacing:.13em}.preview-top span{font-size:11px;color:#8292a3}#previewFrame{display:block;width:100%;height:calc(94vh - 81px);border:0;background:white}.toast{position:fixed;bottom:24px;right:24px;background:#173953;color:white;box-shadow:0 18px 45px #15385a38;border-radius:8px;padding:16px 20px;font-size:12px;max-width:440px;z-index:10000}.toast.error{background:#973a3a}.error{font-size:12px!important;color:#cb5858!important;margin:12px 0}.login-scene{min-height:100vh;display:grid;grid-template-columns:1.15fr .85fr;background:#f6f8fb}.login-copy{padding:56px max(50px,calc((100vw - 1200px)/2));background:#152b44;color:white;display:flex;flex-direction:column;justify-content:center}.login-copy .brand-lock{padding-left:0;margin-bottom:85px}.login-copy h1{font-size:clamp(39px,4vw,65px);line-height:1.15;margin:16px 0 25px}.login-copy h1 em{color:#86d6d2;font-style:normal}.login-copy>p:not(.eyebrow){line-height:1.85;max-width:510px;color:#c4d1dc;font-size:16px}.login-features{display:flex;gap:18px;flex-wrap:wrap;margin-top:75px}.login-features span{font-size:9px;letter-spacing:.13em;color:#91abae}.login-card{padding:42px;background:white;border-radius:14px;max-width:390px;width:86%;margin:auto;box-shadow:0 22px 75px #22364a12}.login-icon{width:44px;height:44px;border-radius:10px;background:#18344c;color:#91e1d7;display:grid;place-items:center;font:24px var(--serif);margin-bottom:34px}.login-card h2{font-size:30px;margin:9px 0}.login-card p{color:#8592a2;line-height:1.65;font-size:12px}.login-card .btn{margin-top:22px}.login-card>small{display:block;text-align:center;color:#a5afbb;margin-top:24px}.login-card label{margin-top:27px}
@media(max-width:1200px){.sidebar{width:220px}.main-content{padding:26px}.authoring-grid{grid-template-columns:minmax(0,1fr) 280px}.topbar{padding:0 26px}.intro-art{transform:scale(.83);transform-origin:right center;margin-left:-30px}}@media(max-width:940px){.authoring-grid{grid-template-columns:1fr}.right-rail{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.right-rail .rail-card{margin:0}.publish-card{grid-column:1/-1}.login-scene{grid-template-columns:1fr}.login-copy{padding:32px 40px}.login-copy .brand-lock{margin-bottom:20px}.login-features{margin-top:20px}.login-card{margin:30px auto}}@media(max-width:680px){.shell{display:block}.sidebar{height:auto;min-height:auto;width:auto;position:relative;padding:11px 15px;display:block}.sidebar .brand-lock{padding:6px 0}.workspace-pill,.nav-section,.sidebar-bottom{display:none}.topbar{height:51px;padding:0 18px}.main-content{padding:24px 15px}.page-heading,.editor-title-row{align-items:flex-start;flex-direction:column}.page-heading h1{font-size:33px}.library-intro{padding:25px}.intro-art{display:none}.right-rail{display:block}.right-rail .rail-card{margin-bottom:17px}.editor-canvas{padding:15px}.panel-head{flex-wrap:wrap}.metrics{gap:12px}.metrics>span:last-child{margin-left:0}.editor-heading-actions{flex-wrap:wrap}.dialog form{padding:22px}.dialog-actions{flex-wrap:wrap}}

/* Academic page builder & portable course theme controls */
.page-intro{background:linear-gradient(115deg,#ede5f5 0%,#ffffff 53%,#e0f4f4 100%);border-color:#e5dced}
.page-intro h2{color:#4c2484}.page-intro p{color:#566270}
.page-intro-art{height:195px;min-width:278px;width:330px;display:flex;flex-direction:column;align-items:center;justify-content:center;transform:rotate(3deg)}
.mini-preview-header{background:linear-gradient(135deg,#ede5f5,#fff,#e0f4f4);border-top:5px solid #4c2484;border-radius:8px;padding:18px 22px;color:#4c2484;font-size:10px;box-shadow:0 10px 32px #4c24842a;width:235px;line-height:1.5}
.mini-preview-header strong{font:normal 26px/1.1 Georgia,serif;display:block;margin:9px 0}.mini-preview-header span{display:block;font-size:9px;background:#e0f4f4;border-radius:15px;padding:5px 7px}
.mini-preview-cards{display:flex;gap:7px;width:245px;margin-top:9px}.mini-preview-cards i{height:25px;flex:1;background:#fff;border-top:4px solid #4c2484;border-radius:5px;box-shadow:0 4px 8px #4c248416}.mini-preview-cards i:nth-child(2){border-color:#028b8e}.mini-preview-cards i:nth-child(3){border-color:#fccc0c}
.page-dialog{width:760px;max-height:92vh;overflow-y:auto}
.page-dialog form{padding:26px 32px 30px}
.two-cols{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}
.theme-editor{background:#f9fafc;border:1px solid #e0e5ec;border-radius:11px;padding:18px 20px;margin-top:25px}
.theme-editor.compact{margin:20px 0}
.theme-editor .eyebrow{margin:0 0 12px}
.palette-swatches{display:flex;gap:8px;margin:13px 0 15px}
.palette-swatches span{display:inline-block;width:38px;height:28px;border-radius:5px;border:1px solid #d5dce6;box-shadow:0 1px 3px #00000008}
.palette-custom-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin:12px 0}
.palette-custom-fields label{margin:0;font-weight:650}
.palette-custom-fields input[type=color]{height:40px;width:100%;padding:3px 5px;cursor:pointer;margin-top:6px}
.checkbox-row{display:flex;align-items:center;gap:10px;font-weight:600;margin:12px 0 0;font-size:12px}
.checkbox-row input{width:auto;flex-shrink:0}
.section-chips{display:flex;gap:6px;flex-wrap:wrap;margin-top:14px}.section-chips span{font-size:11px;background:#eff3f7;padding:6px 8px;border-radius:6px;color:#5c6c7b}
.page-item-form{padding:17px 18px 22px;border:1px solid #e0e5ec;border-radius:8px;margin:15px 0;background:#f9fbfd}
.page-item-form label{margin-top:10px}.page-item-top{display:flex;justify-content:space-between;align-items:center}
.page-item-top .btn{min-height:30px;padding:6px 10px}.section-item-head{display:flex;justify-content:space-between;align-items:center;margin:18px 0 10px}.section-item-head h3{margin:0}
.dialog-help{font-size:12px;color:#617182;line-height:1.65;margin:10px 0}
.page-preview-mini{height:230px;border:1px solid #e0e5ec;border-radius:7px;overflow:hidden;margin:14px 0;background:#f7f9fc}
.page-preview-mini iframe{width:400%;height:920px;transform:scale(.25);transform-origin:top left;border:0;pointer-events:none}
#pageEditorView .block-unit{border-left:3px solid #4c2484}
#pageEditorView .block-unit:nth-child(even){border-left-color:#017275}
@media(max-width:950px){.page-intro-art{display:none}.palette-custom-fields{grid-template-columns:repeat(2,1fr)}}
@media(max-width:570px){.two-cols{grid-template-columns:1fr}.page-dialog form{padding:20px}.palette-custom-fields{grid-template-columns:repeat(2,1fr)}}
.page-library-tools{display:flex;align-items:center;gap:15px}.page-library-tools .btn{min-height:32px;padding:7px 11px}
