:root{--ice:#f2f9fd;--ice-2:#e5f2f9;--ice-3:#cde3ef;--prussia:#003153;--deep:#001f38;--blue:#2f6690;--cyan:#1e9bd0;--green:#2e9e6b;--amber:#f2a900;--red:#c0392b;--ink:#16354b;--muted:#71899a;--line:#dfebf2;--surface:#fff;--surface-soft:#f8fbfd;--shadow:0 16px 38px rgba(0,49,83,.08);--sans:'DM Sans',Arial,sans-serif;--display:'Manrope','DM Sans',Arial,sans-serif;color-scheme:light}
:root[data-theme="dark"]{--ice:#001f38;--ice-2:#082e49;--ice-3:#19435f;--prussia:#ddecf5;--deep:#00172a;--blue:#72b8e4;--cyan:#4abbe8;--green:#72d6a8;--amber:#ffca50;--red:#ff8578;--ink:#ddecf5;--muted:#97b1c2;--line:#244760;--surface:#082e49;--surface-soft:#06253d;--shadow:0 16px 38px rgba(0,0,0,.16);color-scheme:dark}
*{box-sizing:border-box}body{margin:0;background:var(--ice);color:var(--ink);font-family:var(--sans);font-size:15px;-webkit-font-smoothing:antialiased}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:254px;background:var(--surface);border-right:1px solid var(--line);padding:27px 18px 17px;display:flex;flex-direction:column;z-index:20;transition:transform .25s ease}.brand{display:flex;align-items:center;gap:12px;padding:0 10px 36px}.brand-mark{width:38px;height:38px;border-radius:50%;background:var(--prussia);display:flex;justify-content:center;align-items:center;gap:3px}.brand-mark span{width:3px;background:#d9f0fc;border-radius:3px;transform:skew(-23deg)}.brand-mark span:nth-child(1){height:11px}.brand-mark span:nth-child(2){height:19px}.brand-mark span:nth-child(3){height:14px}.brand-copy{display:flex;flex-direction:column;gap:1px;color:var(--prussia)}.brand-copy strong{font:800 16px var(--display);letter-spacing:2px}.brand-copy small{font-size:8px;font-weight:700;letter-spacing:1.65px;color:var(--muted)}.nav-caption{padding:0 12px;margin:0 0 10px;font-size:9px;letter-spacing:1.5px;font-weight:700;color:#95a8b4}.main-nav{display:grid;gap:4px}.nav-link{height:43px;border-radius:8px;padding:0 12px;display:flex;align-items:center;gap:12px;color:#6d8291;font-size:13px;font-weight:500;transition:all .18s}.nav-link svg{width:18px;height:18px;flex:none}.nav-link:hover{background:var(--ice);color:var(--prussia)}.nav-link.active{background:#e8f4fa;color:var(--prussia);font-weight:700}.nav-link.active:before{content:"";position:absolute;left:0;width:3px;height:26px;border-radius:0 3px 3px 0;background:var(--cyan)}:root[data-theme="dark"] .nav-link.active{background:#123b56;color:#e5f4fc}.nav-link span:nth-child(2){flex:1}.second-caption{margin-top:31px}.soon-dot{width:6px;height:6px;background:var(--amber);border-radius:50%;box-shadow:0 0 0 3px #fff6df}.sidebar-bottom{margin-top:auto}.help-card{padding:15px 14px;background:var(--surface-soft);border:1px solid var(--line);border-radius:10px}.help-icon{width:27px;height:27px;border-radius:7px;display:grid;place-items:center;background:var(--ice-2);color:var(--blue);margin-bottom:11px}.help-icon svg{width:16px;height:16px}.help-card strong{font:700 11px var(--display);color:var(--prussia)}.help-card p{font-size:10px;line-height:1.55;color:var(--muted);margin:5px 0 0}.sidebar-footer{display:flex;align-items:center;gap:8px;margin:16px 8px 0;font-size:10px;color:var(--muted)}.server-pip{width:7px;height:7px;border-radius:50%;background:var(--green);box-shadow:0 0 0 3px color-mix(in srgb,var(--green) 13%,transparent)}.main-area{min-height:100vh;margin-left:254px}.topbar{height:70px;padding:0 46px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;background:color-mix(in srgb,var(--surface) 85%,transparent)}.breadcrumb{display:flex;align-items:center;gap:9px;color:#8a9ca8;font-size:11px}.breadcrumb svg{width:13px;height:13px}.breadcrumb strong{font-weight:600;color:var(--prussia)}.topbar-actions{display:flex;align-items:center;gap:15px}.build-label{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:10px}.build-label .server-pip{width:6px;height:6px}.icon-button{width:34px;height:34px;border:1px solid var(--line);border-radius:9px;display:grid;place-items:center;background:var(--surface);color:var(--blue);cursor:pointer;transition:all .18s}.icon-button:hover{border-color:var(--ice-3);background:var(--ice)}.icon-button svg{width:17px;height:17px}.sun-icon{display:none}:root[data-theme="dark"] .moon-icon{display:none}:root[data-theme="dark"] .sun-icon{display:block}.avatar{width:31px;height:31px;border-radius:50%;display:grid;place-items:center;background:#e2f1f8;color:var(--prussia);font:700 12px var(--display)}.mobile-menu{display:none}.content-wrap{max-width:1440px;margin:0 auto;padding:37px 46px 20px}.welcome-row{display:flex;align-items:end;justify-content:space-between;margin-bottom:25px}.eyebrow{display:flex;align-items:center;gap:8px;color:var(--blue);font-size:9px;letter-spacing:1.45px;font-weight:700}.eyebrow-mark{width:6px;height:6px;border-radius:50%;background:var(--cyan)}h1{font:700 32px/1.22 var(--display);letter-spacing:-1.25px;color:var(--prussia);margin:10px 0 7px}.welcome-row h1 span{color:var(--blue)}.lead{font-size:13px;line-height:1.65;color:var(--muted);margin:0}.date-chip{display:flex;align-items:center;gap:8px;color:var(--blue);font-size:10px;padding:9px 12px;border:1px solid var(--line);border-radius:7px;background:var(--surface);margin-bottom:3px}.date-chip svg{width:15px;height:15px}.hero-banner{height:272px;position:relative;overflow:hidden;border-radius:13px;background:linear-gradient(115deg,#001f38 0%,#003153 72%,#124e73 100%);padding:30px 36px;color:#fff;box-shadow:0 14px 30px rgba(0,31,56,.13)}.hero-grid{position:absolute;inset:0;background-image:linear-gradient(rgba(126,199,231,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(126,199,231,.07) 1px,transparent 1px);background-size:32px 32px;mask-image:linear-gradient(90deg,transparent 15%,black 100%);opacity:.55}.hero-banner:after{content:"";position:absolute;right:12%;top:-170px;width:470px;height:470px;border:1px solid rgba(136,208,239,.12);border-radius:50%;box-shadow:0 0 0 44px rgba(136,208,239,.025),0 0 0 88px rgba(136,208,239,.02)}.hero-copy{position:relative;z-index:2;max-width:410px}.hero-kicker{display:flex;align-items:center;gap:8px;color:#a8d8ed;font-size:8px;font-weight:700;letter-spacing:1.6px}.hero-kicker span{width:5px;height:5px;border-radius:50%;background:#64c8ed;box-shadow:0 0 10px #64c8ed}.hero-banner h2{font:600 28px/1.23 var(--display);letter-spacing:-.8px;margin:14px 0 8px;color:#f0f8fc}.hero-banner h2 em{font-style:normal;color:#8ad2ef}.hero-banner p{max-width:320px;color:#b0c8d6;font-size:11px;line-height:1.6;margin:0}.hero-link{display:inline-flex;align-items:center;gap:16px;margin-top:18px;color:#c7ecfa;font-weight:600;font-size:10px}.hero-link span{font-size:15px;transition:transform .2s}.hero-link:hover span{transform:translate(3px,-2px)}.hero-art{position:absolute;right:9%;top:0;width:360px;height:100%;z-index:1}.orbit{position:absolute;border:1px solid rgba(131,205,238,.28);border-radius:50%;transform:rotate(-28deg)}.orbit-one{width:300px;height:130px;right:3px;top:70px}.orbit-two{width:260px;height:190px;right:21px;top:36px;transform:rotate(43deg);border-color:rgba(131,205,238,.18)}.core-card{position:absolute;width:115px;height:137px;top:66px;right:114px;border:1px solid rgba(169,221,241,.45);background:linear-gradient(145deg,rgba(30,113,157,.45),rgba(0,37,65,.87));border-radius:10px;box-shadow:0 15px 36px rgba(0,0,0,.23),inset 0 1px rgba(255,255,255,.12);padding:18px 17px;transform:rotate(7deg)}.core-logo{width:45px;height:45px;border:1px solid rgba(153,218,242,.55);border-radius:50%;display:flex;align-items:center;justify-content:center;gap:4px;margin:0 auto 16px}.core-logo span{width:3px;background:#a5dff5;border-radius:2px;transform:skew(-23deg)}.core-logo span:nth-child(1){height:13px}.core-logo span:nth-child(2){height:22px}.core-logo span:nth-child(3){height:16px}.core-line{height:3px;background:rgba(170,218,238,.65);border-radius:4px;margin:5px auto;width:57px}.core-line.short{width:36px;background:rgba(170,218,238,.32)}.core-caption{font-size:6px;color:#a9d8ea;letter-spacing:1.5px;text-align:center;margin-top:12px}.art-node{position:absolute;width:7px;height:7px;border-radius:50%;background:#8bd8f4;box-shadow:0 0 14px #58c2ea}.node-a{top:69px;right:101px}.node-b{top:179px;right:274px}.node-c{top:208px;right:63px;width:5px;height:5px;background:#fff}.art-chip{position:absolute;padding:5px 8px;border:1px solid rgba(152,216,239,.28);border-radius:4px;background:rgba(0,36,63,.7);font-size:6px;letter-spacing:1.1px;color:#b6d9e8}.chip-a{right:17px;top:82px}.chip-b{right:265px;top:171px}.hero-index{position:absolute;right:26px;bottom:20px;color:#9ac8dc;font:600 9px var(--display);letter-spacing:1px}.hero-index span{color:#587e94;margin:0 4px}.section-heading{display:flex;align-items:end;justify-content:space-between;margin:29px 0 13px}.eyebrow.small{font-size:8px;letter-spacing:1.4px}.section-heading h2{font:700 17px var(--display);letter-spacing:-.3px;color:var(--prussia);margin:5px 0 0}.section-note{font-size:10px;color:var(--muted);padding-bottom:2px}.workspace-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.workspace-card{min-height:163px;position:relative;display:flex;flex-direction:column;align-items:flex-start;background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:16px 17px;transition:transform .2s,border-color .2s,box-shadow .2s}.workspace-card:hover{transform:translateY(-2px);border-color:var(--ice-3);box-shadow:var(--shadow)}.card-icon{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;margin-bottom:13px}.card-icon svg{width:17px;height:17px}.card-icon.blue{background:#e8f3fa;color:#28638b}.card-icon.teal{background:#e7f6f4;color:#318579}.card-icon.amber{background:#fff5e0;color:#be850f}.card-arrow{position:absolute;right:17px;top:16px;color:#8ca0ac;font-size:15px}.card-title{font:700 12px var(--display);color:var(--prussia)}.card-desc{font-size:10px;line-height:1.5;color:var(--muted);margin-top:4px;max-width:270px}.card-status{display:flex;align-items:center;gap:6px;color:#8497a4;font-size:9px;margin-top:auto;padding-top:12px}.card-status i{width:5px;height:5px;border-radius:50%;background:#9eb5c3}.bottom-row{display:grid;grid-template-columns:1.18fr 1fr;gap:13px;margin-top:13px}.setup-panel,.note-panel{min-height:116px;background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:17px 18px;display:flex;position:relative}.setup-panel{align-items:flex-start;gap:13px}.setup-symbol{width:36px;height:36px;flex:none;display:grid;place-items:center;border-radius:10px;background:var(--ice-2);color:var(--blue)}.setup-symbol svg{width:20px;height:20px}.setup-panel h3{font:700 13px var(--display);margin:5px 0 4px;color:var(--prussia)}.setup-panel p{font-size:10px;line-height:1.5;color:var(--muted);margin:0;max-width:270px}.preparing-pill{position:absolute;right:15px;top:17px;border-radius:20px;padding:5px 8px;background:#e7f4fa;color:var(--blue);font-size:8px;font-weight:600}:root[data-theme="dark"] .preparing-pill{background:#143c56}.note-panel{display:block;background:var(--surface-soft)}.note-top{display:flex;align-items:center;justify-content:space-between;color:var(--blue);font-size:8px;letter-spacing:1.2px;font-weight:700}.note-pin{width:6px;height:6px;background:var(--cyan);border-radius:50%}.note-panel p{font-size:10px;line-height:1.65;color:var(--muted);margin:10px 0}.note-foot{font-size:7px;letter-spacing:1.2px;font-weight:700;color:#8297a5}.note-foot span{color:var(--cyan);padding:0 3px}.page-footer{display:flex;justify-content:space-between;color:#94a5af;font-size:8px;padding:23px 0 0}.empty-view{min-height:calc(100vh - 120px)}.empty-view h1{margin-top:12px}.empty-card{max-width:660px;min-height:330px;margin:36px auto 0;padding:40px 30px;background:var(--surface);border:1px solid var(--line);border-radius:13px;display:flex;align-items:center;flex-direction:column;text-align:center;justify-content:center}.empty-illustration{width:68px;height:68px;border-radius:20px;background:#e8f4fa;color:var(--blue);display:grid;place-items:center;margin-bottom:19px}.empty-illustration svg{width:38px;height:38px;stroke-width:1.45}.book-illustration{background:#e7f6f4;color:#318579}.amber-illustration{background:#fff5e0;color:#be850f}.ai-illustration{background:#eaf0fa;color:#506ba5}:root[data-theme="dark"] .empty-illustration{background:#143c56;color:#8ac7e9}.empty-card h2{font:700 18px var(--display);letter-spacing:-.3px;color:var(--prussia);margin:0 0 8px}.empty-card p{max-width:420px;color:var(--muted);font-size:12px;line-height:1.65;margin:0 0 17px}.empty-tag{padding:6px 10px;border-radius:20px;background:var(--surface-soft);border:1px solid var(--line);color:var(--muted);font-size:9px;font-weight:600}
@media(min-width:1500px){.content-wrap{padding-top:45px}.hero-banner{height:290px;padding-top:37px}.workspace-card{min-height:173px}.hero-art{right:14%}}
@media(max-width:1100px){.sidebar{width:224px;padding-left:14px;padding-right:14px}.main-area{margin-left:224px}.topbar{padding:0 30px}.content-wrap{padding:32px 30px 20px}.hero-art{right:0;transform:scale(.85);transform-origin:center right}.hero-copy{max-width:380px}.section-note{max-width:250px;text-align:right;line-height:1.5}.workspace-grid{gap:10px}.workspace-card{padding:14px}.bottom-row{grid-template-columns:1fr 1fr}}
@media(max-width:800px){.sidebar{transform:translateX(-100%);box-shadow:none}.sidebar.open{transform:translateX(0);box-shadow:12px 0 35px rgba(0,31,56,.15)}.main-area{margin-left:0}.topbar{height:62px;padding:0 22px}.mobile-menu{display:grid;margin-right:12px}.breadcrumb{margin-right:auto}.content-wrap{padding:30px 23px 20px}.hero-banner{height:260px}.hero-art{right:-53px;opacity:.72;transform:scale(.78);transform-origin:center right}.hero-copy{max-width:350px}.hero-banner h2{font-size:26px}.workspace-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-card:last-child{grid-column:span 2;min-height:145px}.bottom-row{grid-template-columns:1fr 1fr}.section-heading{align-items:flex-start;gap:12px}.section-note{max-width:230px}}
@media(max-width:560px){.topbar{padding:0 15px}.content-wrap{padding:25px 16px 18px}.build-label{display:none}.topbar-actions{gap:10px}.breadcrumb{font-size:10px}.welcome-row{align-items:flex-start}.welcome-row h1{font-size:27px}.lead{font-size:12px}.date-chip{font-size:0;padding:8px;margin-top:15px}.date-chip svg{width:17px;height:17px}.hero-banner{height:275px;padding:26px 22px}.hero-copy{max-width:290px}.hero-banner h2{font-size:25px}.hero-banner p{max-width:250px;font-size:10px}.hero-art{right:-140px;opacity:.45;transform:scale(.68)}.hero-index{right:17px;bottom:15px}.section-heading{display:block;margin-top:25px}.section-note{display:block;text-align:left;max-width:100%;margin-top:7px}.workspace-grid{grid-template-columns:1fr;gap:9px}.workspace-card,.workspace-card:last-child{grid-column:auto;min-height:145px;padding:14px 15px}.card-icon{margin-bottom:10px}.bottom-row{grid-template-columns:1fr;gap:9px}.setup-panel,.note-panel{min-height:110px}.page-footer{gap:8px;flex-wrap:wrap;font-size:7px;padding-top:18px}.empty-view{min-height:calc(100vh - 90px)}.empty-card{margin-top:26px;min-height:300px;padding:28px 20px}.empty-card h2{font-size:16px}.empty-card p{font-size:11px}.avatar{width:29px;height:29px}}

/* Application workspace */
.nav-link{position:relative}.notification-count{position:absolute;right:-4px;top:-4px;min-width:15px;height:15px;padding:0 4px;border-radius:10px;background:var(--red);color:#fff;font:700 9px var(--sans);display:grid;place-items:center}.content-wrap{min-height:calc(100vh - 70px)}.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:4px 0 25px}.page-head h1{margin:8px 0 5px}.page-head .lead{max-width:680px}.page-actions{display:flex;gap:8px;flex-wrap:wrap}.eyebrow .eyebrow-mark{flex:none}.btn{min-height:38px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:9px;padding:0 14px;background:var(--prussia);color:#f4fbff;font:600 12px var(--sans);cursor:pointer;transition:transform .16s,background .16s,border-color .16s}.btn:hover{transform:translateY(-1px);background:var(--deep)}.btn svg{width:15px;height:15px}.btn.secondary{background:var(--surface);border-color:var(--line);color:var(--prussia)}.btn.secondary:hover{background:var(--ice-2)}.btn.tertiary{background:transparent;color:var(--blue);border-color:var(--line)}.btn.danger{background:#fff1ef;color:var(--red);border-color:#f2d2ce}.btn.success{background:var(--green);color:white}.btn.small{min-height:31px;padding:0 10px;font-size:10px}.btn:disabled{opacity:.55;cursor:not-allowed;transform:none}.icon-button{position:relative}.avatar{border:0;cursor:pointer;font-family:var(--display)}.card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.panel{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:19px;box-shadow:0 5px 17px rgba(0,49,83,.025)}.panel-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 15px}.panel-title h2,.panel-title h3{margin:0;color:var(--prussia);font:700 15px var(--display)}.panel-title p{margin:4px 0 0;color:var(--muted);font-size:11px}.stat-card{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:17px 18px;min-height:112px}.stat-label{font-size:10px;color:var(--muted)}.stat-value{font:700 24px var(--display);letter-spacing:-.8px;color:var(--prussia);margin-top:10px}.stat-foot{font-size:9px;color:var(--muted);margin-top:3px}.stat-accent{width:28px;height:3px;border-radius:4px;background:var(--cyan);margin-bottom:12px}.hero-dashboard{display:grid;grid-template-columns:1.4fr .8fr;gap:14px;margin-bottom:14px}.hero-dash-main{position:relative;min-height:216px;overflow:hidden;border-radius:13px;background:linear-gradient(115deg,#001f38 0%,#003153 75%,#155b7d 100%);padding:26px 29px;color:#eff9fe}.hero-dash-main:after{content:"";position:absolute;width:300px;height:300px;border-radius:50%;border:1px solid rgba(173,224,244,.18);right:-38px;top:-102px;box-shadow:0 0 0 36px rgba(173,224,244,.025),0 0 0 73px rgba(173,224,244,.02)}.hero-dash-main .eyebrow{color:#9ed7ec}.hero-dash-main h2{position:relative;z-index:1;margin:14px 0 8px;max-width:470px;font:700 25px/1.28 var(--display);letter-spacing:-.7px;color:#f1f8fc}.hero-dash-main p{position:relative;z-index:1;max-width:450px;color:#bdcfdb;font-size:12px;line-height:1.65;margin:0}.hero-dash-main .btn{position:relative;z-index:1;margin-top:17px;background:#dceff8;color:#003153}.hero-dash-side{display:flex;flex-direction:column;justify-content:center;gap:14px}.welcome-mini{padding:16px;background:var(--surface);border:1px solid var(--line);border-radius:12px;flex:1}.welcome-mini .mini-label{font-size:9px;letter-spacing:1px;font-weight:700;color:var(--blue)}.welcome-mini strong{display:block;margin-top:8px;color:var(--prussia);font:700 15px var(--display)}.welcome-mini p{font-size:10px;line-height:1.5;color:var(--muted);margin:5px 0 0}.progress-track{height:7px;border-radius:8px;background:var(--ice-2);overflow:hidden}.progress-track span{display:block;height:100%;border-radius:inherit;background:var(--cyan)}.section-block{margin-top:22px}.section-block>.panel-title{margin-bottom:12px}.section-heading{margin-top:23px}.workspace-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.workspace-card{min-height:160px}.workspace-card .card-status{white-space:normal}.empty-inline{padding:27px 18px;text-align:center;background:var(--surface);border:1px dashed var(--ice-3);border-radius:11px}.empty-inline strong{display:block;color:var(--prussia);font:700 13px var(--display)}.empty-inline p{max-width:500px;margin:7px auto 0;color:var(--muted);font-size:11px;line-height:1.6}.empty-inline .btn{margin-top:13px}.list-stack{display:grid;gap:9px}.list-row{display:flex;align-items:center;gap:12px;background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:12px 14px}.list-row-main{min-width:0;flex:1}.list-row h3{margin:0;color:var(--prussia);font:700 12px var(--display)}.list-row p{margin:4px 0 0;color:var(--muted);font-size:10px;line-height:1.45}.list-row-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.small-icon{width:31px;height:31px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--blue);display:grid;place-items:center;cursor:pointer}.small-icon svg{width:15px;height:15px}.status-pill{display:inline-flex;align-items:center;gap:6px;border-radius:20px;padding:5px 8px;background:var(--ice-2);font-size:9px;font-weight:600;color:var(--blue);white-space:nowrap}.status-pill.pending{background:#fff6e1;color:#a26d00}.status-pill.ready{background:#e8f7ee;color:#24764f}.status-pill.error{background:#fff0ee;color:var(--red)}.filter-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:13px}.filter-bar input{flex:1;min-width:180px}.field,select,textarea{width:100%;border:1px solid var(--line);border-radius:8px;padding:10px 11px;background:var(--surface);color:var(--ink);font:400 12px var(--sans);outline:none;transition:border-color .16s,box-shadow .16s}.field:focus,select:focus,textarea:focus{border-color:var(--cyan);box-shadow:0 0 0 3px color-mix(in srgb,var(--cyan) 14%,transparent)}textarea{resize:vertical;min-height:88px;line-height:1.6}label.field-label{display:block;margin-bottom:6px;color:var(--prussia);font-size:10px;font-weight:600}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.form-field.full{grid-column:1/-1}.form-hint{font-size:9px;line-height:1.5;color:var(--muted);margin:5px 0 0}.form-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:17px}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:10px;background:var(--surface)}table{width:100%;border-collapse:collapse;min-width:650px}th,td{padding:11px 12px;text-align:left;border-bottom:1px solid var(--line);font-size:10px;vertical-align:middle}th{color:var(--muted);font-size:8px;letter-spacing:.7px;text-transform:uppercase;background:var(--surface-soft)}td{color:var(--ink)}tr:last-child td{border-bottom:0}td strong{color:var(--prussia);font-weight:600}.tag-row{display:flex;gap:6px;flex-wrap:wrap}.tag{padding:5px 8px;background:var(--surface-soft);border:1px solid var(--line);border-radius:20px;color:var(--blue);font-size:9px}.status-pills{display:flex;gap:7px;flex-wrap:wrap}.modal-backdrop{position:fixed;z-index:60;inset:0;background:rgba(0,22,38,.5);display:grid;place-items:center;padding:20px;backdrop-filter:blur(3px)}.modal-card{width:min(740px,100%);max-height:min(88vh,900px);overflow:auto;background:var(--surface);border:1px solid var(--line);border-radius:14px;box-shadow:0 24px 80px rgba(0,20,36,.26);padding:23px}.modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:18px}.modal-head h2{margin:0;color:var(--prussia);font:700 18px var(--display)}.modal-head p{margin:5px 0 0;color:var(--muted);font-size:11px;line-height:1.55}.close-button{width:31px;height:31px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--muted);font-size:17px;cursor:pointer}.auth-layer[hidden]{display:none}.auth-layer{position:fixed;z-index:80;inset:0;background:#001c32;display:grid;place-items:center;padding:20px;overflow:auto}.auth-card{width:min(900px,100%);min-height:500px;background:var(--surface);border-radius:17px;overflow:hidden;display:grid;grid-template-columns:1fr 1fr;box-shadow:0 30px 100px rgba(0,0,0,.35)}.auth-brand{padding:45px 40px;background:linear-gradient(145deg,#001f38,#003153);color:#fff;position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between}.auth-brand:after{content:"";position:absolute;width:400px;height:400px;border:1px solid rgba(171,224,246,.15);border-radius:50%;right:-205px;bottom:-190px;box-shadow:0 0 0 40px rgba(171,224,246,.025),0 0 0 80px rgba(171,224,246,.02)}.auth-brand .brand{padding:0;color:white;position:relative;z-index:1}.auth-brand .brand-copy{color:#fff}.auth-brand .brand-copy small{color:#a9ccdc}.auth-brand-copy{position:relative;z-index:1;margin:auto 0}.auth-brand-copy .hero-kicker{color:#a2d5e8}.auth-brand-copy h2{font:700 30px/1.25 var(--display);letter-spacing:-.8px;color:#f0f8fd;margin:15px 0 10px}.auth-brand-copy p{max-width:350px;color:#aec5d3;font-size:12px;line-height:1.75}.auth-brand-foot{position:relative;z-index:1;color:#91b5c8;font-size:9px;letter-spacing:1px}.auth-form-side{padding:48px 42px;display:flex;flex-direction:column;justify-content:center}.auth-form-side h1{font-size:23px;margin:0 0 5px}.auth-form-side>.lead{font-size:11px;margin-bottom:22px}.auth-tabs{display:flex;gap:4px;margin-bottom:19px;padding:4px;border-radius:8px;background:var(--surface-soft)}.auth-tabs button{flex:1;border:0;border-radius:6px;background:transparent;padding:8px 9px;color:var(--muted);font:600 10px var(--sans);cursor:pointer}.auth-tabs button.active{background:var(--surface);color:var(--prussia);box-shadow:0 1px 4px rgba(0,49,83,.1)}.auth-error{padding:9px 11px;border-radius:8px;background:#fff0ed;color:var(--red);font-size:10px;line-height:1.5;margin:0 0 13px}.auth-form{display:grid;gap:12px}.auth-form .btn{width:100%;margin-top:3px}.auth-note{font-size:9px;line-height:1.55;color:var(--muted);margin-top:15px}.toast-region{position:fixed;right:20px;bottom:20px;z-index:100;display:grid;gap:8px;pointer-events:none}.toast{max-width:min(400px,calc(100vw - 40px));padding:12px 15px;border-radius:9px;background:#003153;color:#fff;box-shadow:0 8px 25px rgba(0,20,36,.2);font-size:11px;line-height:1.5;animation:toast-in .2s ease}.toast.error{background:#922d24}.toast.success{background:#1d704b}@keyframes toast-in{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}.loading-state{display:grid;place-items:center;min-height:220px;color:var(--muted);font-size:12px}.loading-state:before{content:"";width:24px;height:24px;border:2px solid var(--ice-3);border-top-color:var(--cyan);border-radius:50%;animation:spin .8s linear infinite;margin-bottom:11px}@keyframes spin{to{transform:rotate(360deg)}}.callout{padding:12px 14px;border:1px solid var(--line);border-left:3px solid var(--cyan);background:var(--surface);border-radius:8px;color:var(--muted);font-size:10px;line-height:1.6}.callout.warning{border-left-color:var(--amber)}.callout.success{border-left-color:var(--green)}.callout.error{border-left-color:var(--red)}.material-body{white-space:pre-wrap;font-size:13px;line-height:1.8;color:var(--ink)}.question-row{border:1px solid var(--line);border-radius:9px;padding:14px;margin:10px 0}.question-row h3{margin:0 0 9px;font:600 12px/1.5 var(--display);color:var(--prussia)}.option-row{display:flex;gap:9px;align-items:flex-start;padding:7px 3px;font-size:11px;color:var(--ink)}.option-row input{margin:0;accent-color:var(--cyan)}.quiz-timer{font:700 14px var(--display);color:var(--blue);padding:8px 11px;background:var(--ice-2);border-radius:8px;white-space:nowrap}.quiz-timer.warning{background:#fff1e8;color:#bd5e21}.bar-list{display:grid;gap:11px}.bar-row{display:grid;grid-template-columns:minmax(100px,1fr) 2.2fr 44px;align-items:center;gap:11px}.bar-row-label{font-size:10px;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bar-row-track{height:8px;border-radius:8px;background:var(--ice-2);overflow:hidden}.bar-row-track span{display:block;height:100%;border-radius:inherit;background:var(--blue)}.bar-row-value{font:600 10px var(--display);text-align:right;color:var(--prussia)}.notification-list{display:grid;gap:8px}.notification-card{border:1px solid var(--line);border-radius:9px;padding:12px 13px;background:var(--surface);cursor:pointer}.notification-card.unread{border-left:3px solid var(--cyan);background:var(--surface-soft)}.notification-card strong{display:block;color:var(--prussia);font:700 11px var(--display)}.notification-card p{margin:4px 0;color:var(--muted);font-size:10px;line-height:1.5}.notification-card time{font-size:8px;color:#93a5b0}.ai-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:12px;min-height:560px}.ai-sidebar{background:var(--surface);border:1px solid var(--line);border-radius:11px;padding:12px}.ai-sidebar .btn{width:100%;margin-bottom:12px}.ai-conversation{width:100%;border:0;border-radius:7px;padding:9px;text-align:left;background:transparent;color:var(--muted);font:500 10px var(--sans);cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ai-conversation:hover,.ai-conversation.active{background:var(--ice-2);color:var(--prussia)}.ai-chat{display:flex;flex-direction:column;min-height:560px;background:var(--surface);border:1px solid var(--line);border-radius:11px;overflow:hidden}.ai-chat-head{padding:14px 17px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:12px}.ai-chat-head strong{font:700 13px var(--display);color:var(--prussia)}.ai-chat-head span{display:block;margin-top:3px;color:var(--muted);font-size:9px}.ai-messages{flex:1;padding:18px;display:grid;align-content:start;gap:14px;overflow:auto;max-height:440px}.ai-message{max-width:85%;padding:12px 14px;border-radius:11px;background:var(--surface-soft);color:var(--ink);font-size:11px;line-height:1.75;white-space:pre-wrap}.ai-message.user{justify-self:end;background:#e8f3fa;color:#123e5a}.ai-message.assistant{justify-self:start}.citation-list{border-top:1px solid var(--line);margin-top:10px;padding-top:8px;display:grid;gap:5px}.citation{font-size:9px;color:var(--blue)}.ai-composer{padding:12px;border-top:1px solid var(--line);display:flex;gap:8px;align-items:flex-end}.ai-composer textarea{min-height:45px;max-height:120px}.ai-composer .btn{height:40px}.study-layout{display:grid;grid-template-columns:1.15fr .85fr;gap:12px}.focus-panel{min-height:260px;background:linear-gradient(140deg,#001f38,#003153);border-radius:12px;padding:25px;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.focus-panel h2{margin:0 0 8px;color:#f0f8fc;font:700 19px var(--display)}.focus-panel p{max-width:340px;color:#a9c3d2;font-size:11px;line-height:1.55}.focus-clock{font:700 42px var(--display);letter-spacing:1px;color:#e0f4fd;margin:12px 0 15px}.flashcard{min-height:190px;border:1px solid var(--line);border-radius:12px;padding:22px;background:var(--surface);display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center}.flashcard-label{color:var(--blue);font-size:9px;font-weight:700;letter-spacing:1px}.flashcard-text{color:var(--prussia);font:600 16px/1.55 var(--display);margin:14px 0}.price-card{position:relative;background:var(--surface);border:1px solid var(--line);border-radius:13px;padding:20px;display:flex;flex-direction:column;min-height:300px}.price-card.featured{border-color:var(--cyan);box-shadow:0 9px 24px rgba(30,155,208,.1)}.price-card h3{margin:0;color:var(--prussia);font:700 15px var(--display)}.price-value{margin:14px 0 4px;font:700 24px var(--display);color:var(--prussia)}.price-period{font-size:9px;color:var(--muted)}.price-features{display:grid;gap:9px;margin:18px 0;flex:1;padding:0;list-style:none}.price-features li{font-size:10px;color:var(--ink);display:flex;gap:7px}.price-features li:before{content:"✓";color:var(--green);font-weight:700}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.dropzone{border:1px dashed var(--ice-3);border-radius:9px;padding:15px;background:var(--surface-soft);text-align:center}.dropzone input{font-size:10px}.dropzone p{margin:5px 0;color:var(--muted);font-size:9px}.file-chip{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:7px;background:var(--ice-2);font-size:9px;color:var(--blue);margin:4px}.teacher-feedback{font-size:10px;color:var(--blue);padding:7px 9px;border-left:2px solid var(--cyan);background:var(--surface-soft);margin-top:7px}.divider{height:1px;background:var(--line);margin:14px 0}.inline-links{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.inline-links a{font-size:10px;color:var(--blue)}.page-footer{font-size:8px}
@media(max-width:900px){.card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-dashboard{grid-template-columns:1fr}.hero-dash-side{display:grid;grid-template-columns:repeat(2,1fr)}.ai-layout{grid-template-columns:190px minmax(0,1fr)}.settings-grid{grid-template-columns:1fr}}
@media(max-width:700px){.page-head{align-items:flex-start;flex-direction:column}.page-actions{width:100%}.card-grid{grid-template-columns:1fr 1fr}.workspace-grid{grid-template-columns:1fr 1fr}.workspace-card:last-child{grid-column:auto}.hero-dash-main{min-height:195px}.ai-layout{grid-template-columns:1fr}.ai-sidebar{display:flex;gap:5px;overflow:auto;max-height:60px}.ai-sidebar .btn{width:auto;min-width:110px;margin:0}.ai-conversation{width:140px;flex:none}.ai-chat,.ai-layout{min-height:520px}.study-layout{grid-template-columns:1fr}.list-row{align-items:flex-start}.list-row-actions{justify-content:flex-end}.settings-grid{grid-template-columns:1fr}}
@media(max-width:560px){.content-wrap{padding-top:23px}.topbar{height:62px}.content-wrap{min-height:calc(100vh - 62px)}.page-head h1{font-size:26px}.page-head .lead{font-size:11px}.card-grid{grid-template-columns:1fr 1fr;gap:8px}.stat-card{min-height:94px;padding:12px}.stat-value{font-size:20px}.stat-label{font-size:9px}.hero-dashboard{gap:8px}.hero-dash-side{grid-template-columns:1fr 1fr;gap:8px}.welcome-mini{padding:12px}.hero-dash-main{padding:22px 20px}.hero-dash-main h2{font-size:21px}.workspace-grid{grid-template-columns:1fr}.workspace-card{min-height:142px}.bar-row{grid-template-columns:90px 1fr 36px;gap:7px}.modal-backdrop{padding:10px}.modal-card{padding:18px 14px;max-height:94vh}.form-grid{grid-template-columns:1fr}.form-field.full{grid-column:auto}.auth-layer{padding:10px;align-items:start}.auth-card{grid-template-columns:1fr;min-height:0;max-width:450px}.auth-brand{min-height:190px;padding:25px 24px}.auth-brand-copy{margin:23px 0 10px}.auth-brand-copy h2{font-size:23px;margin:9px 0 5px}.auth-brand-copy p{font-size:10px;margin:0}.auth-brand-foot{font-size:8px}.auth-form-side{padding:25px 23px}.auth-form-side h1{font-size:21px}.ai-message{max-width:96%}.ai-composer{padding:9px}.ai-composer .btn{padding:0 10px}.focus-panel{min-height:235px}.price-card{min-height:270px;padding:15px}.price-value{font-size:20px}.list-row{padding:11px}.table-wrap{margin:0 -3px}.page-footer{font-size:7px}}
.dropzone.dragging{border-color:var(--cyan);background:var(--ice-2)}.upload-status{overflow-wrap:anywhere}.upload-progress{width:100%;height:8px;margin-top:8px;accent-color:var(--cyan);border-radius:99px}
.question-image{display:block;max-width:min(100%,720px);max-height:420px;object-fit:contain;margin:12px 0 18px;border:1px solid var(--line);border-radius:12px;background:var(--surface);}
.quiz-progress{margin:18px 0 22px;padding:14px;border:1px solid var(--line);border-radius:12px;background:var(--ice-2)}.quiz-question-nav{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.quiz-question-jump{width:34px;height:34px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--prussia);font:600 12px var(--sans);cursor:pointer}.quiz-question-jump.answered{border-color:var(--green);background:var(--green);color:#fff}.quiz-question-jump:hover{border-color:var(--cyan)}
.speech-controls{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:10px}.speech-controls label{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:11px}.speech-controls .field{width:auto;min-height:34px;padding:4px 8px}

.score-chart-wrap{width:100%;overflow:hidden}.score-chart{display:block;width:100%;height:auto;min-height:160px;overflow:visible}.score-grid-line{stroke:var(--ice-3);stroke-width:1;stroke-dasharray:3 5}.score-axis-label{fill:var(--muted);font:12px var(--sans)}.score-chart-line{fill:none;stroke:var(--cyan);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.score-chart-dot{fill:var(--prussia);stroke:var(--surface);stroke-width:2;transition:r .18s}.score-chart-dot:hover{r:7}.score-trend-section{animation:rise-in .45s cubic-bezier(.18,.75,.24,1) both}

/* SINDIKA / editorial interface system */
:root{--ice:#DDEFF8;--ice-2:#F2F9FD;--ice-3:#B9DCEE;--prussia:#003153;--deep:#001F38;--blue:#2F6690;--cyan:#1E9BD0;--green:#2E9E6B;--amber:#F2A900;--red:#C0392B;--ink:#16354b;--muted:#71899a;--line:#B9DCEE;--surface:#F2F9FD;--surface-soft:#eaf5fb;--shadow:0 18px 55px rgba(0,49,83,.09);--sans:'DM Sans',Arial,sans-serif;--display:'Manrope','DM Sans',Arial,sans-serif}
:root[data-theme="dark"]{--ice:#001F38;--ice-2:#082e49;--ice-3:#19435f;--prussia:#ddecf5;--deep:#00172a;--blue:#72b8e4;--cyan:#4abbe8;--green:#72d6a8;--amber:#ffca50;--red:#ff8578;--ink:#ddecf5;--muted:#97b1c2;--line:#244760;--surface:#082e49;--surface-soft:#06253d;--shadow:0 18px 55px rgba(0,0,0,.24)}
body{background:var(--ice);background-image:radial-gradient(var(--ice-3) .65px,transparent .65px);background-size:15px 15px;letter-spacing:-.01em}
.sidebar{background:var(--deep);color:#f4f4e9;border-right:0;box-shadow:12px 0 34px #10232c13}.brand{padding-bottom:23px;border-bottom:1px solid #ffffff22}.brand-mark{border-radius:8px;background:var(--green);transform:rotate(-5deg);box-shadow:4px 4px 0 #2058e8}.brand-mark span{background:var(--deep)}.brand-copy strong{font-weight:900;letter-spacing:.13em}.brand-copy small,.nav-caption,.sidebar-footer{color:#8da3a3}.nav-caption{letter-spacing:.2em;font-size:9px}.nav-link{min-height:43px;border:1px solid transparent;border-radius:7px;color:#b7c4bd;font-weight:600;transition:transform .25s cubic-bezier(.2,.8,.2,1),background .2s,color .2s}.nav-link:hover{transform:translateX(4px);background:#ffffff0d;color:#fff}.nav-link.active{background:var(--green);color:#172c37;box-shadow:4px 4px 0 var(--blue);font-weight:800}.nav-link.active .nav-glyph{color:var(--blue)}.nav-glyph{font-size:17px}.help-card{background:#20373d;border:1px solid #395054;border-radius:8px;color:#edf2e5}.help-card p{color:#9eaeaa}.help-icon{background:var(--blue);color:white;border-radius:4px}
.topbar{background:var(--ice);border-bottom:1px solid var(--line);height:70px}.breadcrumb{font-size:11px;letter-spacing:.04em}.breadcrumb strong{font-weight:800}.icon-button,.avatar{border-radius:7px}.avatar{background:var(--blue);color:white;border:0}.content-wrap{max-width:1540px;padding-top:34px;padding-bottom:70px}.eyebrow{letter-spacing:.16em;font-size:9px;font-weight:800}.eyebrow-mark{background:var(--blue);border-radius:1px;transform:rotate(45deg)}.page-head h1{font-size:clamp(28px,3vw,43px);font-weight:850;letter-spacing:-.065em}.page-head .lead{max-width:600px}.btn{background:var(--blue);border-radius:6px;min-height:42px;box-shadow:3px 3px 0 var(--deep);font-weight:800;transition:transform .18s,box-shadow .18s,filter .18s}.btn:hover{transform:translate(2px,2px);box-shadow:1px 1px 0 var(--deep);filter:saturate(1.25)}.btn.secondary{background:var(--surface);color:var(--ink);border:1px solid var(--line);box-shadow:3px 3px 0 var(--ice-3)}.btn.tertiary{box-shadow:none}.field{border-radius:6px;background:var(--surface);border-color:var(--line);transition:border .18s,box-shadow .18s}.field:focus{border-color:var(--blue);box-shadow:0 0 0 3px #2058e822}.panel,.stat-card,.workspace-card,.section-block,.table-wrap{border-radius:8px;border-color:var(--line);box-shadow:0 5px 0 #172c3708,0 18px 38px #172c3707}.stat-card{position:relative;overflow:hidden;transition:transform .25s,box-shadow .25s}.stat-card:hover,.workspace-card:hover{transform:translateY(-5px) rotate(-.25deg);box-shadow:0 10px 0 #172c3708,0 24px 42px #172c3710}.stat-accent{height:4px;background:var(--green);width:34px}.stat-value{font-weight:850;letter-spacing:-.06em}.card-icon{border-radius:6px}.section-block{padding:24px}.panel-title h2,.section-heading h2{letter-spacing:-.045em}.list-row{transition:background .2s,transform .2s;border-radius:6px}.list-row:hover{background:var(--surface-soft);transform:translateX(3px)}.hero-dashboard{gap:0;border-radius:8px;overflow:hidden;background:var(--deep);box-shadow:7px 7px 0 var(--blue);margin-bottom:28px}.hero-dash-main{position:relative;isolation:isolate;background:var(--deep);padding:42px}.hero-dash-main:after{content:'S';position:absolute;z-index:-1;right:2%;bottom:-26%;font:900 clamp(180px,23vw,340px)/1 var(--display);color:#ffffff08;transform:rotate(-8deg)}.hero-dash-main h2{font-size:clamp(30px,4vw,55px);letter-spacing:-.07em;line-height:1.02}.hero-dash-main .eyebrow{color:var(--green)}.hero-dash-main .eyebrow-mark{background:var(--green)}.hero-dash-main p{max-width:450px;color:#b6c5bf}.hero-dash-main .btn{background:var(--green);color:#172c37;box-shadow:3px 3px 0 var(--blue)}.hero-dash-side{padding:20px;background:var(--green);grid-template-columns:1fr;align-content:center}.welcome-mini{border:1px solid #172c3722;background:#ffffff7a;color:var(--deep);border-radius:6px}.welcome-mini p{color:#52615f}.welcome-mini .mini-label{color:#53645d}.hero-dashboard+.card-grid{margin-top:20px}
.auth-layer{background:rgba(10,27,33,.88);backdrop-filter:blur(15px)}.auth-card{max-width:980px;border-radius:10px;box-shadow:10px 10px 0 var(--green)}.auth-brand{background:var(--deep);position:relative;overflow:hidden}.auth-brand:after{content:'S';position:absolute;right:-23px;bottom:-80px;font:900 340px/1 var(--display);color:#ffffff09;pointer-events:none}.auth-brand-copy h2{font-size:clamp(30px,4vw,48px);letter-spacing:-.07em}.auth-brand-copy p{color:#b7c6bd}.auth-form-side h1{font-weight:850;letter-spacing:-.055em}.auth-tabs{background:var(--ice-2);border-radius:5px}.auth-tabs button{border-radius:4px}.modal-card{border-radius:9px;box-shadow:8px 8px 0 var(--blue)}.toast{border-radius:6px}.status-pill,.callout{border-radius:6px}
.content-wrap>*{animation:rise-in .55s cubic-bezier(.18,.75,.24,1) both}.content-wrap>*:nth-child(2){animation-delay:.07s}.content-wrap>*:nth-child(3){animation-delay:.13s}.content-wrap>*:nth-child(4){animation-delay:.19s}.workspace-card:nth-child(2){animation-delay:.08s}.workspace-card:nth-child(3){animation-delay:.16s}@keyframes rise-in{from{opacity:0;transform:translateY(17px)}to{opacity:1;transform:translateY(0)}}
.public-hero{min-height:430px;position:relative;overflow:hidden;display:grid;grid-template-columns:1.1fr .9fr;align-items:center;padding:48px 7%;margin:0 0 48px;background:#11272d;color:#eff2e8;border-radius:10px;box-shadow:8px 8px 0 var(--blue);isolation:isolate}.public-hero-noise{position:absolute;inset:0;z-index:-1;opacity:.18;background-image:linear-gradient(90deg,#ffffff08 1px,transparent 1px),linear-gradient(#ffffff08 1px,transparent 1px);background-size:38px 38px;mask-image:linear-gradient(90deg,black,transparent 80%)}.public-hero-copy{position:relative;z-index:1}.public-hero .hero-kicker{font-size:9px;letter-spacing:.16em;font-weight:800;color:var(--green)}.public-hero .hero-kicker span{display:inline-block;width:7px;height:7px;margin-right:7px;background:var(--green);border-radius:50%;box-shadow:0 0 15px var(--green)}.public-hero h1{margin:22px 0 15px;font:850 clamp(48px,7vw,88px)/.92 var(--display);letter-spacing:-.085em}.public-hero h1 em{font-style:normal;color:var(--green)}.public-hero-copy>p{max-width:440px;color:#b5c3bb;font-size:14px;line-height:1.8}.public-hero-actions{display:flex;align-items:center;gap:21px;margin-top:28px;flex-wrap:wrap}.public-hero-actions .btn{background:var(--green);color:#172c37}.public-privacy{font-size:10px;color:#d2dbcf}.public-privacy b{color:var(--green);font-size:17px;vertical-align:middle;margin-right:5px}.public-hero-orbit{height:300px;position:relative;display:grid;place-items:center;animation:orbit-float 8s ease-in-out infinite}.orbit-ring{position:absolute;border:1px solid #c5efad33;border-radius:50%;transform:rotate(-24deg)}.ring-one{width:250px;height:250px}.ring-two{width:330px;height:155px;transform:rotate(45deg);border-color:#6c91ff55}.orbit-core{width:108px;height:108px;display:grid;place-items:center;border-radius:50%;background:var(--green);color:#172c37;font:900 63px/1 var(--display);box-shadow:0 0 0 14px #b8ed4512,0 0 65px #b8ed4540;transform:rotate(-8deg)}.orbit-core span{color:var(--blue)}.orbit-note{position:absolute;padding:8px 12px;background:#1d363a;border:1px solid #ffffff27;border-radius:3px;font-size:8px;letter-spacing:.16em;font-weight:800}.note-one{top:16%;right:10%;transform:rotate(7deg)}.note-two{bottom:17%;left:11%;transform:rotate(-7deg)}.orbit-dot{position:absolute;width:10px;height:10px;background:var(--blue);border-radius:50%;box-shadow:0 0 19px var(--blue)}.dot-one{top:27%;left:22%}.dot-two{bottom:27%;right:22%;background:var(--green);box-shadow:0 0 19px var(--green)}.public-index{position:absolute;bottom:17px;left:3%;right:3%;display:flex;justify-content:space-between;padding-top:10px;border-top:1px solid #ffffff22;color:#a5b6ae;font-size:8px;letter-spacing:.15em}.public-index span{color:var(--green)}@keyframes orbit-float{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-10px) rotate(2deg)}}
.public-section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:0 0 19px}.public-section-head h2{margin:10px 0 6px;font:850 clamp(25px,3vw,37px)/1 var(--display);letter-spacing:-.06em}.public-section-head p{margin:0;color:var(--muted);font-size:12px}.public-safe-badge{padding:10px 13px;border:1px solid var(--line);background:var(--surface);border-radius:4px;font-size:8px;letter-spacing:.12em;font-weight:800}.public-safe-badge span{color:var(--blue);font-size:15px;vertical-align:middle;margin-right:5px}.public-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.public-subject-card{background:var(--surface);border:1px solid var(--line);border-radius:7px;padding:18px;box-shadow:0 4px 0 #172c3708;animation:rise-in .55s cubic-bezier(.18,.75,.24,1) both;transition:transform .2s,box-shadow .2s}.public-subject-card:hover{transform:translateY(-4px);box-shadow:0 8px 0 #172c3710}.public-subject-meta,.public-subject-foot{display:flex;align-items:center;justify-content:space-between;gap:10px}.public-subject-meta{color:var(--muted);font-size:9px;font-weight:700}.public-attention{padding:5px 7px;background:#b8ed4530;color:#476a16;border-radius:3px;font-size:8px}.public-attention.high{background:#d8554517;color:#b33a30}.public-attention.medium{background:#f4ae4520;color:#976112}.public-subject-name{margin:23px 0 17px;font:800 20px/1.1 var(--display);letter-spacing:-.045em}.public-meter{height:9px;background:var(--ice-2);border-radius:1px;overflow:hidden}.public-meter span{display:block;width:var(--meter);height:100%;background:var(--blue);transform-origin:left;animation:meter-in 1s cubic-bezier(.15,.8,.2,1) both;box-shadow:4px 0 0 var(--green)}@keyframes meter-in{from{transform:scaleX(0)}to{transform:scaleX(1)}}.public-subject-foot{margin-top:10px}.public-subject-foot strong{font:850 30px/1 var(--display);letter-spacing:-.07em}.public-subject-foot span{color:var(--muted);font-size:9px}.public-empty{grid-column:1/-1;padding:55px 22px;text-align:center;background:var(--surface);border:1px dashed var(--ice-3);border-radius:8px}.public-empty>span{font-size:38px;color:var(--blue)}.public-empty h2{font:800 22px var(--display);letter-spacing:-.04em}.public-empty p{max-width:510px;margin:0 auto;color:var(--muted);font-size:12px;line-height:1.7}.public-foot{display:flex;align-items:start;gap:10px;max-width:800px;margin:22px 0;color:var(--muted)}.public-foot>span{color:var(--blue);font-size:17px}.public-foot p{margin:0;font-size:10px;line-height:1.8}
@media(max-width:780px){.public-hero{grid-template-columns:1fr;padding:38px 7% 48px;min-height:0}.public-hero-orbit{height:230px;transform:scale(.8);margin:-12px 0}.public-hero h1{font-size:clamp(46px,13vw,74px)}.public-section-head{align-items:start;flex-direction:column}.public-safe-badge{align-self:start}.hero-dash-main{padding:30px 25px}.hero-dash-side{grid-template-columns:1fr 1fr}.public-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}}
@media(max-width:560px){.content-wrap{padding-top:20px}.public-hero{margin-bottom:37px;padding:28px 22px 45px}.public-hero-orbit{height:180px;transform:scale(.68);margin:-15px 0}.public-hero-actions{gap:13px}.public-privacy{max-width:160px;line-height:1.5}.public-grid{grid-template-columns:1fr 1fr;gap:8px}.public-subject-card{padding:13px}.public-subject-name{font-size:16px;margin:19px 0 14px}.public-subject-meta{font-size:8px;align-items:start;flex-direction:column}.public-subject-foot strong{font-size:25px}.public-index{font-size:7px}.hero-dash-side{grid-template-columns:1fr}.hero-dash-main h2{font-size:32px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
.library-intro{display:flex;align-items:center;gap:15px;margin:4px 0 20px;padding:17px 20px;background:var(--deep);color:#f2f4e9;border-radius:8px;box-shadow:5px 5px 0 var(--green)}.library-intro-mark{display:grid;place-items:center;width:47px;height:47px;flex:none;background:var(--green);color:var(--deep);border-radius:5px;font:900 30px/1 var(--display);transform:rotate(-4deg)}.library-intro-mark span{color:var(--blue)}.library-intro strong{font:800 16px var(--display);letter-spacing:-.04em}.library-intro p{margin:3px 0 0;color:#b6c3ba;font-size:11px}.library-count{margin-left:auto;color:var(--green);font-size:9px;font-weight:800;letter-spacing:.15em}.library-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(235px,1fr));gap:15px}.library-pagination{display:flex;align-items:center;justify-content:center;gap:14px;margin:18px 0 4px}.library-pagination>span{color:var(--muted);font-size:12px;font-weight:650}.library-book{display:grid;grid-template-columns:92px 1fr;gap:14px;min-height:207px;padding:14px;background:var(--surface);border:1px solid var(--line);border-radius:8px;box-shadow:0 4px 0 #172c3708;transition:transform .22s,box-shadow .22s;animation:rise-in .45s cubic-bezier(.18,.75,.24,1) both;animation-delay:calc(var(--book-index)*30ms)}.library-book:hover{transform:translateY(-4px);box-shadow:0 9px 0 #172c3710}.library-cover{position:relative;min-height:176px;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;padding:10px 8px;background:linear-gradient(153deg,#2058e8,#183647 70%);color:#f3f4e8;border-radius:3px 7px 7px 3px;box-shadow:inset 5px 0 0 #ffffff18,3px 4px 8px #10232c22}.library-book:nth-child(4n+2) .library-cover{background:linear-gradient(153deg,#bcdb57,#35502e 75%);color:#132b2d}.library-book:nth-child(4n+3) .library-cover{background:linear-gradient(153deg,#d97b4b,#5a2930 75%)}.library-book:nth-child(4n) .library-cover{background:linear-gradient(153deg,#54bba6,#174457 75%)}.library-cover-index,.library-cover-subject{position:relative;z-index:1;font-size:7px;font-weight:800;letter-spacing:.12em;line-height:1.4}.library-cover-symbol{position:relative;z-index:1;font:900 58px/.9 var(--display);letter-spacing:-.08em;opacity:.92}.library-cover-lines{position:absolute;width:110px;height:110px;right:-43px;bottom:13px;border:1px solid #ffffff45;border-radius:50%;box-shadow:0 0 0 10px #ffffff0c,0 0 0 20px #ffffff08}.library-book-info{display:flex;min-width:0;flex-direction:column;align-items:start}.library-book-info .tag-row{gap:5px}.library-book-info .tag{padding:4px 6px;font-size:7px}.library-book-info h2{margin:9px 0 3px;font:850 15px/1.13 var(--display);letter-spacing:-.045em;overflow-wrap:anywhere}.library-author{margin:0;color:var(--muted);font-size:10px}.library-book-meta{margin:9px 0 0;color:var(--blue);font-size:8px;line-height:1.5}.library-book-description{margin:9px 0;color:var(--muted);font-size:9px;line-height:1.55}.library-contributor{margin:auto 0 8px;color:var(--muted);font-size:8px}.library-book-actions{display:flex;align-items:center;gap:5px;width:100%}.library-book-actions .btn{min-height:31px;padding:0 9px;font-size:9px;box-shadow:2px 2px 0 var(--deep)}.library-book-actions .small-icon{width:29px;height:29px}.library-card[hidden]{display:none!important}@media(max-width:560px){.library-intro{padding:13px;gap:11px}.library-intro-mark{width:39px;height:39px;font-size:25px}.library-intro strong{font-size:13px}.library-count{font-size:7px}.library-grid{grid-template-columns:1fr;gap:9px}.library-book{grid-template-columns:82px 1fr;min-height:176px;padding:11px}.library-cover{min-height:155px}.library-book-info h2{font-size:16px}}
body{font-size:16px}
.help-card p,.hero-banner p,.setup-panel p,.note-panel p,.empty-card p,.panel-title p,.hero-dash-main p,.welcome-mini p,.empty-inline p,.list-row p,.modal-head p,.auth-brand-copy p,.notification-card p,.focus-panel p,.price-features li,.dropzone p,.page-head .lead,.public-hero-copy>p,.public-section-head p,.public-empty p,.public-foot p,.library-intro p{font-size:16px;line-height:1.55}
.sidebar .brand-copy{color:#edf2e5}
.public-hero h1{color:#eff2e8}

.study-preferences-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:14px}.study-preferences-grid .field{margin-top:6px}.study-preferences-grid .btn{justify-self:start}.study-shell .focus-panel p{font-size:var(--study-text-size,18px);line-height:1.55}.study-shell[data-study-spacing="relaxed"] .focus-panel p{line-height:1.9}.study-shell[data-study-background="ice"] .focus-panel{background:#f2f9fd;color:#003153;border:1px solid #b9dcee}.study-shell[data-study-background="ice"] .focus-panel h2,.study-shell[data-study-background="ice"] .focus-panel .field-label{color:#003153!important}.study-shell[data-study-background="ice"] .focus-panel p{color:#34576c}.study-shell[data-study-theme="light"] .study-secondary,.study-shell[data-study-theme="light"] .study-preferences{background:#fff;color:#16354b}.study-shell[data-study-theme="dark"] .study-secondary,.study-shell[data-study-theme="dark"] .study-preferences{background:#003153;color:#ddecf5}.study-shell[data-study-theme="dark"] .study-secondary .panel-title h2,.study-shell[data-study-theme="dark"] .study-preferences .panel-title h2{color:#ddecf5}.study-shell[data-study-focus="true"] .study-secondary{display:none}.study-shell[data-study-focus="true"] .study-layout{grid-template-columns:1fr}@media(max-width:760px){.study-preferences-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.study-preferences-grid .btn{grid-column:1/-1;width:100%}}

.katex-display{overflow-x:auto;overflow-y:hidden;padding:.35rem 0}.ai-message .katex-display{margin:.75rem 0}.ai-message{overflow-wrap:anywhere}
.community-chat-panel{overflow:hidden}.community-chat-history{max-height:440px;min-height:170px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:10px;background:linear-gradient(145deg,#eff5f2,#f7faf8);border:1px solid var(--line);border-radius:8px}.community-chat-history .message-bubble{max-width:min(82%,620px);animation:rise-in .25s ease both}.community-chat-history .message-bubble>div{display:flex;align-items:center;justify-content:space-between;gap:16px}.community-chat-history .message-bubble small{color:var(--muted);font-size:10px}.community-chat-history .message-bubble p{white-space:normal;overflow-wrap:anywhere}.community-chat-history .message-bubble.own{margin-left:auto}.community-chat-history .empty-state{margin:0}.community-chat-panel .message-compose{margin-top:12px}.community-chat-panel .message-compose textarea{flex:1;resize:vertical;min-height:48px}.community-chat-panel .message-compose .btn{align-self:flex-end}@media(max-width:560px){.community-chat-history{max-height:55vh}.community-chat-history .message-bubble{max-width:94%}.community-chat-panel .message-compose{align-items:stretch;flex-direction:column}.community-chat-panel .message-compose .btn{align-self:stretch}}
.community-channel-list{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap}.community-channel-chip{display:inline-flex;align-items:center;gap:3px}.community-channel-chip .btn.danger{min-width:27px;padding-inline:7px}.community-channel-create{display:grid;grid-template-columns:minmax(120px,1fr) minmax(140px,1.3fr) auto;gap:7px;grid-column:1/-1;margin-top:10px}.community-channel-create .field{min-width:0}.community-chat-panel>.panel-title{flex-wrap:wrap}.community-chat-panel>.panel-title>div:first-child{flex:1 0 180px}@media(max-width:560px){.community-channel-create{grid-template-columns:1fr}.community-channel-create .btn{width:100%}.community-channel-list{justify-content:flex-start}}
.community-polls-panel>.panel-title{margin-bottom:14px}.community-poll-create{display:grid;grid-template-columns:1fr;gap:8px;padding:14px;margin-bottom:14px;background:var(--ice-1);border-radius:8px}.community-poll-create textarea{resize:vertical}.community-poll-card{padding:16px;background:var(--surface);border:1px solid var(--line);border-radius:8px}.community-poll-card h3{margin:0;font-size:16px}.community-poll-option{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:41px;margin:7px 0;padding:9px 11px;overflow:hidden;text-align:left;color:var(--ink);background:var(--ice-1);border:1px solid var(--line);border-radius:5px;cursor:pointer}.community-poll-option i{position:absolute;z-index:0;left:0;bottom:0;height:3px;background:var(--green);transition:width .3s}.community-poll-option span,.community-poll-option b{z-index:1}.community-poll-option.selected{border-color:var(--blue)}.community-poll-option:disabled{cursor:default}@media(max-width:560px){.community-poll-card{padding:12px}}
.community-event-create{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:14px;margin-bottom:14px;background:var(--ice-1);border-radius:8px}.community-event-create textarea,.community-event-create button{grid-column:1/-1}.community-events-panel .list-row{align-items:center}.community-events-panel .list-row-main h3{margin:0 0 5px}.community-events-panel .list-row-main p{margin:3px 0}@media(max-width:560px){.community-event-create{grid-template-columns:1fr}.community-event-create>*{grid-column:1/-1}}
.community-attachments{display:flex;gap:7px;flex-wrap:wrap;margin:8px 0}.community-attachment{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:8px 10px;color:var(--blue);background:#fff;border:1px solid var(--line);border-radius:5px;font-size:12px;text-decoration:none;overflow-wrap:anywhere}.community-attachment small{color:var(--muted);white-space:nowrap}.community-chat-panel .message-compose input[type=file]{max-width:220px}.community-compose input[type=file]{margin:8px 0}
.library-audio,.library-audio-player{display:block;width:100%;min-width:220px;max-width:480px;margin:8px 0}.library-audio-player{max-width:none;margin:20px auto}
.epub-reader{max-width:900px;margin:20px auto}.epub-reader-toolbar{display:flex;align-items:end;gap:12px;flex-wrap:wrap;padding:14px;border:1px solid var(--line);border-radius:18px;background:var(--surface-soft,rgba(120,140,160,.08))}.epub-reader-toolbar .field{flex:1;min-width:200px}.epub-reader-page{min-height:320px;max-height:60vh;overflow:auto;margin:18px 0;padding:clamp(24px,5vw,56px);border:1px solid var(--line);border-radius:20px;background:var(--surface,#fff);box-shadow:0 18px 50px rgba(20,35,55,.08);font-family:Georgia,serif;font-size:1.08rem;line-height:1.9;color:var(--text,#172334)}.epub-reader-page h2{font-family:inherit;line-height:1.3;margin:0 0 24px}.epub-reader-page #epubChapterText{white-space:normal}.epub-reader .form-actions{align-items:end}
.epub-reader-toolbar>.field-label{display:flex;flex:1;flex-direction:column;gap:6px;min-width:140px}.epub-reader-toolbar>a{align-self:center}.epub-reader-pagination{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:12px 2px}.epub-reader-pagination>span{color:var(--muted);font-size:12px;font-weight:650;text-align:center}.epub-reader-page{font-size:var(--epub-font-size,18px);line-height:1.8;transition:background-color .2s,color .2s}.epub-reader-page[data-reader-spacing="compact"]{line-height:1.45}.epub-reader-page[data-reader-spacing="spacious"]{line-height:2.05}.epub-reader-page[data-reader-theme="sepia"]{background:#f4ecd9;color:#43382b;border-color:#e4d7bc}.epub-reader-page[data-reader-theme="night"]{background:#17212c;color:#e5edf3;border-color:#354554}.epub-reader-page[data-reader-theme="night"] a{color:#8ed8ee}@media(max-width:560px){.epub-reader-toolbar>.field-label{min-width:calc(50% - 8px)}.epub-reader-pagination>span{font-size:10px}.epub-reader-page{min-height:260px;max-height:65vh}}
.notification-card[role="button"]{cursor:pointer}.notification-card[role="button"]:focus-visible{outline:3px solid var(--cyan);outline-offset:3px}

.feynman-map{width:100%;overflow:hidden;border:1px solid var(--line);border-radius:22px;background:#f4f8f7}.feynman-map svg{display:block;width:100%;height:auto;max-height:65vh}
@media(max-width:620px){.feynman-map{border-radius:14px}.feynman-map svg{min-width:620px;max-height:none}.feynman-map{overflow:auto}}

.formation-video{display:block;width:min(100%,900px);max-height:70vh;margin:1rem auto;border-radius:18px;background:#071b21}
.formation-card-cover{display:block;width:calc(100% + 40px);max-width:none;aspect-ratio:16/8;object-fit:cover;margin:-20px -20px 18px;border-radius:22px 22px 8px 8px;background:linear-gradient(135deg,#174748,#79c2ae)}.formation-cover-preview{display:block;width:min(100%,420px);max-height:220px;object-fit:cover;margin-top:12px;border-radius:16px;border:1px solid var(--line)}.formation-benefit-preview{padding-left:1.2rem;margin:10px 0;color:var(--muted);font-size:.9rem}.formation-detail-overview{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,1.2fr);gap:20px;margin:20px 0}.formation-detail-cover{width:100%;max-height:360px;object-fit:cover;border-radius:22px}.formation-detail-overview ul{padding-left:1.2rem}.formation-detail-overview li{margin:.45rem 0}@media(max-width:720px){.formation-detail-overview{grid-template-columns:1fr}.formation-card-cover{width:calc(100% + 32px);margin:-16px -16px 16px;border-radius:18px 18px 8px 8px}}

.certificate-card{max-width:960px;margin:2rem auto;padding:clamp(2rem,7vw,5rem);text-align:center;border:2px solid var(--teal);background:linear-gradient(145deg,#fff,#f1f8f6)}.certificate-brand{font:700 1rem var(--display);letter-spacing:.16em;color:var(--prussia);margin-bottom:3rem}.certificate-brand span{color:var(--amber)}.certificate-card h2{font-size:clamp(2rem,5vw,3.5rem);margin:1.4rem 0}.certificate-validation{margin-top:3rem;color:var(--muted)}
@media print{body *{visibility:hidden!important}#content,#content *{visibility:visible!important}#content{position:absolute;inset:0;width:100%;padding:0;margin:0}.page-head{display:none!important}.certificate-card{max-width:none;min-height:80vh;margin:0;border:8px double #17616a;border-radius:0;padding:3cm 2cm;background:#fff!important;color:#111;box-shadow:none;break-inside:avoid}.certificate-brand{font-size:18pt;color:#173f4a}.certificate-card h2{font-size:34pt;color:#173f4a}.certificate-card p{font-size:14pt;color:#333}.certificate-card .status-pill{border:1px solid #17616a;color:#17616a}}
.tuleni-specs{display:grid;gap:7px;margin:16px 0}.tuleni-specs>div{display:flex;justify-content:space-between;gap:12px;padding:8px 10px;border-radius:8px;background:var(--ice-2)}.tuleni-specs dt{color:var(--muted);font-size:11px}.tuleni-specs dd{margin:0;text-align:right;font-size:11px;font-weight:650}@media(max-width:820px){.card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.card-grid{grid-template-columns:1fr}.tuleni-specs>div{align-items:flex-start;flex-direction:column}.tuleni-specs dd{text-align:left}}
.store-cover-button{width:100%;border:0;padding:0;cursor:pointer}.store-detail-layout{display:grid;grid-template-columns:minmax(180px,.85fr) 1.15fr;gap:24px;align-items:start}.store-detail-image{width:100%;aspect-ratio:1.15;object-fit:cover;border-radius:14px;background:var(--ice-2)}.store-detail-placeholder{display:grid;place-items:center;font:700 90px var(--display);color:var(--blue)}.store-spec-list{display:grid;gap:6px}.store-spec-list>div{display:flex;justify-content:space-between;gap:14px;border-bottom:1px solid var(--line);padding:7px 0}.store-spec-list dt{color:var(--muted)}.store-spec-list dd{margin:0;text-align:right}.store-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.store-related{display:grid;gap:8px;text-align:left;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink);cursor:pointer}.store-related:hover{border-color:var(--blue)}.store-related span{color:var(--blue);font-weight:700}@media(max-width:650px){.store-detail-layout{grid-template-columns:1fr}.store-related-grid{grid-template-columns:1fr}}
.store-gallery-strip{display:flex;gap:10px;overflow:auto;padding:10px 0}.store-gallery-strip>img,.store-gallery-admin img{width:92px;height:72px;object-fit:cover;border-radius:8px;border:1px solid var(--line)}.store-gallery-admin{display:grid;gap:5px;justify-items:center}.store-gallery-admin img{width:110px;height:85px}
.public-access-options{margin-top:18px}.public-access-option{display:grid;gap:8px;text-align:left;color:var(--ink);cursor:pointer;transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease}.public-access-option strong{font:700 17px var(--display)}.public-access-option small{color:var(--muted);line-height:1.5}.public-access-option:hover{transform:translateY(-4px);border-color:var(--cyan);box-shadow:0 12px 28px rgba(2,40,66,.12)}@media(max-width:650px){.public-access-options{grid-template-columns:1fr}}
.sidebar{overflow-y:auto;overscroll-behavior:contain}.nav-group{display:grid;gap:3px;margin:0 0 9px}.nav-group h2{margin:12px 12px 3px;color:var(--muted);font-size:9px;line-height:1.2;font-weight:750;letter-spacing:.13em;text-transform:uppercase}.nav-group .nav-link{height:39px;min-height:39px}.sidebar-bottom{padding-top:9px;background:var(--surface)}
.global-search-trigger{min-width:148px;height:36px;padding:0 10px;display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:9px;background:color-mix(in srgb,var(--surface) 82%,transparent);color:var(--muted);font:500 11px var(--sans);cursor:pointer;transition:border-color .18s,background .18s,transform .18s}.global-search-trigger:hover{border-color:var(--cyan);background:var(--surface);transform:translateY(-1px)}.global-search-trigger svg,.global-search-input-wrap svg{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}.global-search-trigger span{flex:1;text-align:left}.global-search-trigger kbd{padding:2px 4px;border:1px solid var(--line);border-radius:4px;background:var(--surface-soft);font:9px var(--sans);color:var(--muted)}.global-search-form{display:grid;gap:8px}.global-search-input-wrap{display:flex;align-items:center;gap:10px;padding:0 12px;border:1px solid var(--line);border-radius:11px;background:var(--surface);color:var(--blue);transition:border-color .2s,box-shadow .2s}.global-search-input-wrap:focus-within{border-color:var(--cyan);box-shadow:0 0 0 3px color-mix(in srgb,var(--cyan) 15%,transparent)}.global-search-input-wrap .field{min-width:0;border:0;outline:0;box-shadow:none;padding-left:0}.global-search-form .form-hint{margin:0}.global-search-results{max-height:min(55vh,520px);overflow:auto;margin-top:12px}.global-search-category{padding:8px 0 12px;border-top:1px solid var(--line)}.global-search-category h3{margin:0 0 6px;color:var(--muted);font-size:9px;letter-spacing:.12em;text-transform:uppercase}.global-search-result{width:100%;position:relative;display:grid;gap:3px;padding:10px 34px 10px 10px;border:0;border-radius:8px;background:transparent;color:var(--ink);text-align:left;cursor:pointer;transition:background .15s,transform .15s}.global-search-result:hover,.global-search-result:focus-visible{background:var(--surface-soft);transform:translateX(2px);outline:0}.global-search-result strong{font:650 13px var(--display);color:var(--prussia)}.global-search-result small{color:var(--muted);font-size:10px}.global-search-kind{font-size:8px;letter-spacing:.08em;text-transform:uppercase;color:var(--blue)}.global-search-arrow{position:absolute;right:12px;top:50%;transform:translateY(-50%);color:var(--muted)}.global-search-empty{display:grid;justify-items:center;gap:5px;padding:30px 16px;text-align:center;color:var(--muted)}.global-search-empty>span{font-size:27px;color:var(--cyan)}.global-search-empty strong{color:var(--prussia);font:650 14px var(--display)}.global-search-empty p{font-size:11px;margin:0}.global-search-loading{display:flex;align-items:center;gap:9px;padding:24px;color:var(--muted);font-size:11px}@media(max-width:760px){.global-search-trigger{min-width:36px;width:36px;justify-content:center;padding:0}.global-search-trigger span,.global-search-trigger kbd{display:none}.topbar-actions{gap:8px}}@media(prefers-reduced-motion:reduce){.global-search-trigger,.global-search-result{transition:none}}
.epub-reader-figure{margin:22px auto;max-width:100%;text-align:center}.epub-reader-figure img{display:block;max-width:100%;max-height:62vh;width:auto;height:auto;margin:0 auto;border-radius:9px;object-fit:contain;box-shadow:0 8px 28px rgba(20,35,55,.12)}.epub-reader-figure figcaption{margin:8px auto 0;max-width:85%;font:500 12px/1.5 var(--sans);color:var(--muted)}
.community-audio-attachment{display:grid;gap:6px;min-width:min(100%,320px);margin:0;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface-soft,rgba(120,140,160,.08))}.community-audio-attachment figcaption{font:500 11px var(--sans);color:var(--muted);overflow-wrap:anywhere}.community-audio-attachment audio{display:block;width:100%;max-width:420px;height:36px}
.formation-lesson-drag-handle{cursor:grab;touch-action:none}.formation-lesson-drag-handle:active{cursor:grabbing}.formation-lesson-editor{transition:transform .16s,box-shadow .16s}.formation-lesson-editor:has(.formation-lesson-drag-handle:active){box-shadow:0 10px 30px rgba(20,35,55,.13)}

.formation-signup-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.formation-signup-actions .btn{flex:1 1 180px}
.feynman-defense{display:grid;gap:14px}.feynman-defense .panel-title{align-items:start}.feynman-defense .question-row{border-left:3px solid var(--accent);animation:feynman-turn-in .3s ease both}.feynman-defense [data-feynman-defense-answer]{min-height:110px}.feynman-defense .callout{margin:0}@keyframes feynman-turn-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.feynman-defense .question-row{animation:none}}
.community-comment-reply{margin-left:18px;padding-left:14px;border-left:2px solid var(--line)}.community-comment-reply .question-row{background:var(--surface-soft)}
.nav-more-button{display:flex;align-items:center;gap:10px;width:100%;height:39px;min-height:39px;margin-top:5px;padding:0 12px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--muted);font:650 13px var(--sans);text-align:left;cursor:pointer}.nav-more-button:hover{background:var(--ice);color:var(--prussia);border-color:var(--ice-3)}.nav-more-button:first-letter{font-size:20px;letter-spacing:2px}.nav-overflow-menu{display:grid;gap:7px;max-height:65vh;overflow:auto;padding:5px}.nav-overflow-menu .nav-group{margin:0 0 6px}.nav-overflow-menu .nav-group h2{margin-top:8px}.auth-access-links{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0 6px}.profile-learning-summary{margin-bottom:14px}.profile-learning-summary .stat-card{min-width:0}.profile-learning-summary .stat-card strong{overflow-wrap:anywhere}

.nav-glyph{display:inline-grid;place-items:center;min-width:20px;min-height:20px}.nav-glyph svg{width:19px;height:19px;display:block}

.modal-backdrop-fullscreen-file-reader{padding:0;background:rgba(0,15,28,.88);backdrop-filter:blur(2px)}
.fullscreen-file-reader{display:flex;flex-direction:column;width:100vw;max-width:none;height:100vh;height:100dvh;max-height:100vh;max-height:100dvh;margin:0;padding:18px 22px;border:0;border-radius:0;overflow:hidden}
.fullscreen-file-reader .modal-head{flex:none;margin-bottom:10px}
.fullscreen-file-reader .modal-content{display:flex;flex:1;flex-direction:column;min-height:0;overflow:hidden;gap:10px}
.fullscreen-file-reader .fullscreen-reader-toolbar{display:flex;flex:none;align-items:center;justify-content:space-between;gap:12px;min-height:34px}
.fullscreen-file-reader .fullscreen-reader-frame{display:block;flex:1;width:100%;height:100%;min-height:0;border:1px solid var(--line);border-radius:8px;background:#fff}
.fullscreen-file-reader .epub-reader{display:flex;flex:1;flex-direction:column;width:100%;max-width:none;min-height:0;margin:0;overflow:hidden}
.fullscreen-file-reader .epub-reader-toolbar{flex:none}
.fullscreen-file-reader .epub-reader-page{flex:1;min-height:0;max-height:none;margin:10px 0;overflow:auto}
.fullscreen-file-reader .epub-reader-pagination{flex:none}
.study-task-choice{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid var(--line);border-radius:9px;background:var(--surface)}
.study-task-choice label{display:flex;flex:1;align-items:center;gap:10px;min-width:0;cursor:pointer}
.study-task-choice label span{display:grid;gap:4px;min-width:0}
.study-task-choice label strong,.study-task-choice label small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:700px){.fullscreen-file-reader{padding:12px}.fullscreen-file-reader .modal-head h2{font-size:16px}.fullscreen-file-reader .epub-reader-toolbar{gap:7px;padding:9px}.fullscreen-file-reader .epub-reader-toolbar .field{min-width:130px}.study-task-choice{align-items:flex-start;flex-direction:column}.fullscreen-file-reader .fullscreen-reader-toolbar{align-items:flex-start;flex-direction:column}}
.modal-backdrop-fullscreen-pdf-reader{padding:0;background:rgba(0,15,28,.9)}
.fullscreen-pdf-reader{display:flex;flex-direction:column;width:100vw;max-width:none;height:100vh;height:100dvh;max-height:100vh;max-height:100dvh;margin:0;padding:12px 16px;border:0;border-radius:0;overflow:hidden}
.fullscreen-pdf-reader .modal-head{flex:none;margin-bottom:8px}
.fullscreen-pdf-reader .modal-content{display:flex;flex:1;flex-direction:column;min-height:0;overflow:hidden;gap:8px}
.pdf-reader-toolbar{display:flex;flex:none;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}
.pdf-reader-controls{display:flex;align-items:center;gap:7px}.pdf-reader-controls .field-label{display:flex;align-items:center;gap:6px}.pdf-page-input{width:76px;min-height:34px;padding:5px 7px}.pdf-reader-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:10px;flex:1;min-height:0;overflow:hidden}
.pdf-reader-stage{display:grid;place-items:start center;min-height:0;overflow:auto;padding:18px;background:#e7ebef;border-radius:10px}.pdf-reader-stage canvas{max-width:100%;height:auto;box-shadow:0 6px 22px rgba(0,0,0,.18);background:white}
.pdf-reader-notes{display:flex;flex-direction:column;min-height:0;overflow:hidden;padding:14px;background:var(--surface);border:1px solid var(--line);border-radius:10px}.pdf-reader-notes h3{margin:0;color:var(--prussia);font:700 14px var(--display)}.pdf-reader-notes>p{margin:5px 0 10px}.pdf-note-form{display:grid;gap:7px}.pdf-note-form textarea{min-height:92px;resize:vertical}.pdf-note-form .btn{justify-self:start}.pdf-note-list{display:grid;align-content:start;gap:8px;margin-top:12px;overflow:auto}.pdf-note{padding:10px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}.pdf-note>div{display:flex;justify-content:space-between;align-items:center;color:var(--prussia);font-size:10px}.pdf-note p{margin:6px 0 0;white-space:pre-wrap;font-size:11px;line-height:1.5;color:var(--ink)}
@media(max-width:760px){.fullscreen-pdf-reader{padding:8px}.fullscreen-pdf-reader .modal-head{margin-bottom:4px}.fullscreen-pdf-reader .modal-head h2{font-size:14px}.pdf-reader-toolbar{align-items:flex-start;flex-direction:column}.pdf-reader-controls{width:100%;flex-wrap:wrap}.pdf-reader-layout{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto}.pdf-reader-stage{padding:8px}.pdf-reader-notes{max-height:32vh;padding:10px}.pdf-note-form textarea{min-height:58px}}
@media(max-width:700px){.material-list-row{flex-wrap:wrap}.material-list-row .list-row-main{flex:1 1 calc(100% - 46px)}.material-list-row .list-row-actions{width:100%;justify-content:flex-start;margin-left:42px}.material-list-row .list-row-actions .btn{flex:1 1 auto}}


/* Subject organisation and support ticket chat */
.subject-overview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0}.subject-overview-card{display:flex;align-items:center;gap:14px;padding:18px 20px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(145deg,var(--surface),var(--surface-soft));box-shadow:0 8px 24px rgba(16,40,68,.045)}.subject-overview-card>span{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:rgba(27,103,179,.1);color:var(--prussia);font-size:20px}.subject-overview-card div{display:grid;gap:3px}.subject-overview-card strong{font:700 23px var(--display);color:var(--ink)}.subject-overview-card small{color:var(--muted)}.subjects-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.subjects-panel{min-width:0;padding:20px}.subjects-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.subjects-panel-heading h2{margin:4px 0;color:var(--ink);font:700 20px var(--display)}.subjects-panel-heading p{margin:4px 0 0;color:var(--muted);font-size:13px}.subject-card-list,.subject-chip-grid{display:grid;gap:10px}.subject-chip-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.subject-entity-card,.subject-chip-card{display:flex;align-items:center;gap:12px;min-width:0;padding:13px;border:1px solid var(--line);border-radius:13px;background:var(--surface)}.subject-entity-icon,.subject-chip-card>span{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:12px;background:rgba(27,103,179,.09);color:var(--prussia);font-size:18px}.subject-entity-card>div,.subject-chip-card>div{flex:1;min-width:0}.subject-entity-card h3,.subject-chip-card h3{margin:0;overflow:hidden;color:var(--ink);font-size:14px;text-overflow:ellipsis;white-space:nowrap}.subject-entity-card p,.subject-chip-card p{margin:4px 0 0;color:var(--muted);font-size:12px}.subject-chip-card small{display:block;margin-top:5px;color:var(--muted)}.subjects-assignments{margin-top:18px}.student-subject-card{padding:16px}.support-helpdesk-layout{display:grid;grid-template-columns:minmax(270px,.78fr) minmax(0,1.5fr);gap:16px;align-items:stretch}.support-helpdesk-layout>.panel{min-width:0;padding:18px}.support-ticket-list{display:grid;gap:8px}.support-ticket-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;padding:12px;text-align:left;color:var(--ink);border:1px solid var(--line);border-radius:12px;background:var(--surface);cursor:pointer}.support-ticket-row:hover,.support-ticket-row.selected{border-color:rgba(27,103,179,.45);background:var(--surface-soft)}.support-ticket-id{display:inline-flex;align-items:center;padding:5px 8px;border-radius:8px;background:rgba(27,103,179,.1);color:var(--prussia);font:700 11px var(--display);white-space:nowrap}.support-ticket-content{display:grid;min-width:0;gap:4px}.support-ticket-content strong,.support-ticket-content small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.support-ticket-content strong{font-size:13px}.support-ticket-content small{color:var(--muted);font-size:11px}.support-ticket-row time{grid-column:2/4;color:var(--muted);font-size:10px}.support-ticket-state{padding:4px 7px;border-radius:999px;background:rgba(27,103,179,.1);color:var(--prussia);font-size:10px;white-space:nowrap}.support-ticket-state.in_progress{background:rgba(214,142,35,.12);color:#94600b}.support-ticket-state.closed{background:rgba(99,113,128,.12);color:var(--muted)}.support-thread-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-bottom:14px;border-bottom:1px solid var(--line)}.support-thread-head h2{margin:8px 0 3px;color:var(--ink);font:700 19px var(--display)}.support-thread-head p{margin:0;color:var(--muted);font-size:12px}.support-thread-head .field{width:auto;min-width:150px}.support-thread-messages{display:flex;flex-direction:column;gap:10px;height:min(54vh,510px);min-height:220px;overflow:auto;padding:16px 3px}.support-chat-message{align-self:flex-start;max-width:min(86%,560px);padding:11px 13px;border:1px solid var(--line);border-radius:4px 14px 14px;background:var(--surface-soft)}.support-chat-message.mine{align-self:flex-end;border-color:rgba(27,103,179,.2);border-radius:14px 4px 14px 14px;background:rgba(27,103,179,.08)}.support-chat-message strong{font-size:11px;color:var(--prussia)}.support-chat-message p{margin:5px 0;color:var(--ink);font-size:13px;line-height:1.5;overflow-wrap:anywhere}.support-chat-message time{color:var(--muted);font-size:10px}.support-reply-form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:9px}.support-reply-form textarea{min-height:48px;max-height:160px;resize:vertical}.support-thread-empty{display:grid;justify-items:center;align-content:center;min-height:330px;text-align:center}.support-thread-empty>span{display:grid;place-items:center;width:54px;height:54px;border-radius:18px;background:rgba(27,103,179,.1);color:var(--prussia);font-size:26px}.support-thread-empty h2{margin:14px 0 3px}.support-thread-empty p{max-width:320px;color:var(--muted)}
@media(max-width:850px){.subjects-admin-grid,.support-helpdesk-layout{grid-template-columns:1fr}.support-helpdesk-layout>.panel:first-child{max-height:360px;overflow:auto}.support-thread-messages{height:46vh}}
@media(max-width:560px){.subject-overview-grid{grid-template-columns:1fr;gap:8px}.subject-overview-card{padding:12px 14px}.subject-chip-grid{grid-template-columns:1fr}.subjects-panel{padding:14px}.subjects-panel-heading{align-items:flex-start}.support-helpdesk-layout>.panel{padding:13px}.support-ticket-row{grid-template-columns:auto minmax(0,1fr);gap:7px}.support-ticket-state{grid-column:2;justify-self:start}.support-ticket-row time{grid-column:2}.support-thread-head{align-items:flex-start;flex-direction:column}.support-thread-head .field{width:100%}.support-thread-messages{height:42vh;min-height:180px;padding:10px 0}.support-reply-form{grid-template-columns:minmax(0,1fr)}.support-reply-form .btn{justify-self:end}.support-chat-message{max-width:94%}}
/* Discipline library cards */
.subjects-library{display:grid;gap:1.5rem}.subjects-library-heading{display:flex;align-items:end;justify-content:space-between;gap:1.5rem}.subjects-library-heading h2{margin:.35rem 0}.subject-search{position:relative;width:min(100%,320px)}.subject-search>span{position:absolute;left:14px;top:8px;font-size:1.25rem;color:var(--muted,#62738a)}.subject-search .field{padding-left:42px}.subject-cover-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(205px,1fr));gap:1.1rem}.subject-cover-card{padding:0;overflow:hidden;text-align:left;border:1px solid var(--line,#dce4ed);border-radius:18px;background:var(--surface,#fff);color:inherit;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.subject-cover-card:hover,.subject-cover-card:focus-visible{transform:translateY(-3px);border-color:#9ab5d2;box-shadow:0 14px 32px #122d4a18;outline:none}.subject-cover-art{height:154px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;background:#e8eef7;color:#12375d}.subject-cover-art::before,.subject-cover-art::after{content:"";position:absolute;pointer-events:none;border:1px solid currentColor;opacity:.18}.subject-cover-art::before{width:190px;height:190px;border-radius:50%;right:-52px;top:-82px}.subject-cover-art::after{width:135px;height:135px;transform:rotate(45deg);left:-48px;bottom:-83px}.subject-cover-art>span{font-family:Georgia,serif;font-size:4.2rem;font-weight:700;position:relative;z-index:1}.subject-cover-art>small{position:absolute;right:14px;top:12px;letter-spacing:.12em;font-size:.68rem;font-weight:700;opacity:.65}.subject-art-math{background:#e8edf8;color:#183f72}.subject-art-physics{background:#e6f1f7;color:#13536c}.subject-art-chemistry{background:#e7f2ef;color:#256356}.subject-art-biology{background:#e9f2e7;color:#37623b}.subject-art-history{background:#f2ece4;color:#75532e}.subject-art-geography{background:#e5f0f1;color:#28646d}.subject-art-language{background:#f1eaf2;color:#69466d}.subject-art-general{background:#eaf0f7;color:#244b75}.subject-card-copy{display:grid;gap:.35rem;padding:1rem 1.1rem 1.1rem}.subject-card-copy strong{font-size:1rem}.subject-card-copy small{color:var(--muted,#62738a)}.subject-card-copy em{margin-top:.25rem;font-style:normal;font-size:.78rem;font-weight:700;color:#315d89}.subject-detail-hero{display:flex;align-items:center;gap:1.4rem;padding:1.35rem;margin:1.2rem 0 1.8rem;border:1px solid var(--line,#dce4ed);border-radius:20px;background:var(--surface,#fff)}.subject-detail-hero .subject-cover-art{width:150px;height:130px;flex:none;border-radius:14px}.subject-detail-hero h2{margin:.3rem 0}.subject-detail-hero p{margin:.3rem 0 .7rem;color:var(--muted,#62738a)}.subject-detail-hero small{font-weight:700;color:#315d89}.subject-unit{margin:1.5rem 0}.subject-unit h3{margin-bottom:.75rem}.subject-material-list{display:grid;gap:.65rem}.subject-material-row{display:flex;align-items:center;gap:.9rem;padding:1rem;border:1px solid var(--line,#dce4ed);border-radius:14px;background:var(--surface,#fff);color:inherit;text-decoration:none}.subject-material-row:hover{border-color:#9ab5d2}.subject-material-row>span:nth-child(2){display:grid;gap:.25rem;flex:1}.subject-material-row small{color:var(--muted,#62738a)}.subject-material-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:#edf3fa;color:#254e79;font-size:.8rem;font-weight:700}.subject-back{margin-top:.2rem}@media(max-width:620px){.subjects-library-heading{align-items:stretch;flex-direction:column}.subject-search{width:100%}.subject-cover-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}.subject-cover-art{height:126px}.subject-cover-card{border-radius:14px}.subject-card-copy{padding:.8rem}.subject-detail-hero{align-items:flex-start;flex-direction:column}.subject-detail-hero .subject-cover-art{width:100%;height:115px}}

/* Ranking podium and profile initial */
.leaderboard-avatar{display:inline-grid;place-items:center;width:30px;height:30px;margin-right:.65rem;border-radius:50%;background:#e8f0f7;color:#204e78;font-weight:700}.leaderboard-place-1{background:#fff9e8}.leaderboard-place-2{background:#f5f7fa}.leaderboard-place-3{background:#fbf2eb}.leaderboard-place-1 td:first-child strong{color:#a87612}.leaderboard-place-2 td:first-child strong{color:#66788a}.leaderboard-place-3 td:first-child strong{color:#9a6849}
