:root{--forest:#163e34;--forest-deep:#12342d;--green:#34846a;--mint:#e9f3ec;--lime:#d9edb4;--ink:#233d35;--muted:#7a857f;--line:#e6eae4;--paper:#f7f8f3;--white:#fff;--gold:#ce9a3a;--serif:Georgia,'Times New Roman',serif;--sans:'Segoe UI',system-ui,sans-serif}*{box-sizing:border-box}body{margin:0;font:14px var(--sans);color:var(--ink);background:var(--paper)}[hidden]{display:none!important}button,input,select,textarea{font:inherit}button,a,select{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #9dcdb5;outline-offset:3px}button:disabled{opacity:.5;cursor:wait}.app-layout{display:flex;min-height:100vh}.sidebar{width:258px;flex-shrink:0;background:var(--forest);color:#f2f5ed;padding:32px 20px 0;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0;z-index:20;overflow:auto}.brand{display:flex;align-items:center;gap:12px;font-size:23px;font-weight:650;letter-spacing:-.8px}.brand-icon{display:inline-flex;align-items:center;justify-content:center;width:38px;height:40px;background:var(--lime);color:var(--forest);border-radius:11px;font:30px var(--serif);position:relative}.brand-icon span{position:absolute;font:13px var(--sans);right:3px;top:2px}.workspace-label{font-size:9px;letter-spacing:1.8px;color:#8ba89d;margin:40px 12px 12px}.school-select{display:flex;gap:10px;align-items:center;border:1px solid #436056;border-radius:8px;padding:11px 9px;margin-bottom:25px;background:#21483e}.school-select select{min-width:0;background:transparent;border:0;color:white;font-weight:500;width:100%;font-size:12px}.school-select option{color:var(--ink);background:white}.school-emblem{font-size:21px;color:var(--lime)}.nav-label{font-size:9px;letter-spacing:1.7px;color:#8ba89d;margin:25px 12px 10px}.nav-item{width:100%;border:0;display:flex;align-items:center;text-align:left;gap:12px;padding:11px 13px;margin:3px 0;border-radius:7px;color:#c4d3ca;background:none;font-size:12px}.nav-item svg{width:17px;height:17px;flex-shrink:0;opacity:.85}.nav-item.active{background:var(--lime);color:var(--forest);font-weight:650}.nav-item:hover:not(.active){background:#2b5145}.nav-count{margin-left:auto;border-radius:4px;background:#ffffff18;padding:1px 6px;font-size:10px}.sidebar-bottom{margin-top:auto;padding-top:35px}.local-card{border:1px solid #426153;background:#24483b;border-radius:8px;padding:14px 11px;font-size:10px;position:relative}.local-card b{font-weight:500}.local-card small{display:block;color:#a4bdae;padding-left:15px;margin-top:7px;font-size:10px}.status-dot{width:6px;height:6px;background:#89b891;display:inline-block;border-radius:50%;margin-right:6px}.user-card{display:flex;align-items:center;color:white;gap:10px;width:100%;border:0;border-top:1px solid #38594c;margin-top:22px;padding:20px 2px;background:none;text-align:left}.avatar{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;font-size:11px;font-weight:650;background:#e9d7bd;color:#6b573e;flex-shrink:0}.user-card b{font-weight:500;font-size:11px;display:block}.user-card small{display:block;font-size:10px;color:#9cb3a5;margin-top:4px}.logout-icon{margin-left:auto;color:#a4bdae;font-size:19px}.main-shell{margin-left:258px;width:calc(100% - 258px)}.topbar{height:77px;background:#fff;border-bottom:1px solid var(--line);padding:0 38px;display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#748179}.topbar i{font-style:normal;color:#c0c7bd;margin:0 12px}.topbar-right{display:flex;align-items:center;gap:24px}.year-pill{border:1px solid var(--line);padding:7px 10px;border-radius:5px;font-size:11px;color:#526258}.connection{font-size:10px;white-space:nowrap}.icon-button{background:none;border:1px solid var(--line);width:29px;height:29px;border-radius:50%;font-weight:500;color:#63766b;display:inline-flex;align-items:center;justify-content:center}.icon-button:hover{background:var(--mint)}#mobile-menu{display:none}main{padding:35px 38px 30px;max-width:1600px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:29px}.eyebrow{font-size:9px;font-weight:650;letter-spacing:1.8px;color:#79887d;display:block;margin-bottom:12px}h1{font:36px var(--serif);letter-spacing:-1.3px;margin:0 0 10px}h2{font:24px var(--serif);margin:0 0 10px}h3{font-size:14px;font-weight:600;margin:0}.page-heading p{color:var(--muted);font-size:12px;margin:0;line-height:1.7}.heading-actions{display:flex;align-items:center;gap:10px}.primary,.secondary{padding:11px 17px;border-radius:6px;border:1px solid var(--forest);font-size:11px;font-weight:550;white-space:nowrap;display:inline-flex;gap:18px;align-items:center;justify-content:center}.primary{color:white;background:var(--forest)}.primary:hover{background:#285848}.secondary{background:white;border-color:#dce2d8;color:#4c5d50}.secondary:hover{background:var(--mint)}.date-stamp{font-size:10px;color:#77857a;display:flex;align-items:center;gap:7px}.welcome-banner{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#eaf0df;border:1px solid #dfe7d5;padding:22px 26px;border-radius:9px;margin-bottom:25px;position:relative;overflow:hidden}.welcome-banner h2{font:24px var(--serif);margin:0 0 9px}.welcome-banner p{font-size:11px;color:#6b7a65;margin:0;line-height:1.7;max-width:540px}.welcome-banner .banner-art{width:150px;height:85px;flex-shrink:0;position:relative}.sun{width:44px;height:44px;border-radius:50%;background:#dfba61;position:absolute;right:12px;top:0}.book{position:absolute;bottom:0;width:105px;height:60px;border:2px solid #517653;border-radius:4px 4px 10px 10px;transform:rotate(-8deg);background:#eaf0df;left:0}.book:before{content:'';position:absolute;height:56px;border-left:2px solid #517653;left:50%}.book:after{content:'≡   ≡';color:#517653;font-size:34px;letter-spacing:5px;position:absolute;top:0;left:11px}.twig{position:absolute;width:2px;height:60px;background:#517653;right:10px;bottom:0;transform:rotate(26deg)}.twig:before,.twig:after{content:'';width:14px;height:25px;border-radius:100% 0 100% 0;background:#8fa56d;position:absolute;left:-14px;top:9px}.twig:after{left:0;top:26px;transform:rotate(90deg)}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:28px}.stat-card{background:white;border:1px solid var(--line);padding:19px 20px;border-radius:8px}.stat-top{display:flex;justify-content:space-between;align-items:center;color:#758176;font-size:11px}.stat-icon{background:#f1f4ed;color:#6c856e;padding:7px;border-radius:7px;display:flex}.stat-icon svg{width:16px;height:16px}.stat-value{font-size:29px;font-weight:550;letter-spacing:-1px;margin:15px 0 8px;line-height:1}.stat-value small{font-size:12px;letter-spacing:0;font-weight:400;color:#8b958a}.stat-foot{font-size:9px;color:#8a9389}.stat-foot span{color:#4c8c60;font-weight:550}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(280px,1fr);gap:22px;align-items:start}.panel{background:white;border:1px solid var(--line);border-radius:8px;overflow:hidden;margin-bottom:22px}.panel-head{display:flex;justify-content:space-between;align-items:center;padding:21px 23px;border-bottom:1px solid #eef0e9;gap:15px}.panel-head p{font-size:10px;color:#8b9589;margin:6px 0 0}.text-link{background:none;border:0;color:#487b5a;font-size:10px;white-space:nowrap;padding:5px}.text-link:hover{text-decoration:underline}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:11px;text-align:left}th{font-size:9px;letter-spacing:.5px;font-weight:500;color:#8b958a;background:#fafbf8;padding:13px 22px;border-bottom:1px solid var(--line)}td{padding:15px 22px;border-bottom:1px solid #f0f2ec;color:#647367;max-width:270px;overflow:hidden;text-overflow:ellipsis}tbody tr:last-child td{border:0}tbody tr:hover{background:#fbfcf9}.person{display:flex;align-items:center;gap:9px;color:#304a39;font-weight:550}.person .avatar{width:29px;height:29px;font-size:9px;background:#e9eddf;color:#7b855e}.person small{font-size:9px;font-weight:400;color:#98a08f;display:block;margin-top:4px}.badge{font-size:9px;border-radius:4px;padding:4px 7px;background:#eef1e8;color:#788363;display:inline-block}.badge.success{color:#498267;background:#eaf5ed}.badge.warning{color:#a48035;background:#fbf3df}.empty{padding:42px 25px;text-align:center;color:#8a9588;font-size:12px;line-height:1.9}.class-bars{padding:7px 23px 18px}.class-row{margin:18px 0}.class-title{display:flex;justify-content:space-between;font-size:10px;margin-bottom:9px}.class-title small{color:#919a8d}.bar-track{background:#f0f3eb;border-radius:3px;height:7px;overflow:hidden}.bar-fill{background:#7e9b69;border-radius:3px;height:100%}.bar-fill.full{background:#c4a15c}.panel-note{font-size:9px;color:#929a8c;border-top:1px solid var(--line);padding:14px 23px}.quick-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:20px}.quick-action{background:#f9faf5;border:1px solid #e7ecdf;border-radius:6px;padding:17px 8px;color:#5f785b;display:flex;flex-direction:column;align-items:center;gap:11px;font-size:10px}.quick-action:hover{background:#eaf0df}.quick-action svg{width:21px;height:21px}.news-item{margin:0 23px;padding:19px 0;border-bottom:1px solid var(--line)}.news-item:last-child{border:0}.news-item small{font-size:9px;color:#a1a68f}.news-item h4{font-size:11px;margin:8px 0;font-weight:550}.news-item p{font-size:10px;color:#88917e;line-height:1.8;margin:0}.sync-banner{padding:17px 21px;background:#f1f4e9;border:1px solid #dfe6d5;display:flex;gap:13px;border-radius:7px;font-size:11px;align-items:center}.sync-banner svg{width:20px;height:20px;color:#6d8560;flex-shrink:0}.sync-banner b{font-weight:550;display:block}.sync-banner small{display:block;color:#849074;font-size:10px;margin-top:5px}.sync-banner .text-link{margin-left:auto}footer{display:flex;gap:18px;margin:0 38px;padding:21px 0;border-top:1px solid var(--line);font-size:9px;color:#9aA28f}footer span:last-child{margin-left:auto}.toolbar{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:17px}.search-field{display:flex;align-items:center;gap:10px;border:1px solid #dfe5d9;background:white;border-radius:6px;padding:0 13px;min-width:240px}.search-field input{padding:11px 0;width:100%;border:0;outline:none;font-size:11px}.search-field svg{width:15px;height:15px;color:#8e9b88}.resource-tabs{display:flex;gap:6px;overflow:auto;padding:0 0 18px;margin-bottom:8px;scrollbar-width:thin}.resource-tab{border:1px solid var(--line);background:white;color:#7a8872;border-radius:5px;font-size:10px;padding:9px 13px;white-space:nowrap}.resource-tab.active{background:#eaf0df;color:#385b3f;border-color:#ccd8bd}.table-actions{display:flex;gap:7px}.table-actions button{border:0;background:#f1f5eb;color:#66805a;padding:5px 8px;border-radius:4px;font-size:10px}.pagination{padding:15px 22px;display:flex;gap:13px;align-items:center;justify-content:flex-end;font-size:10px;color:#94a087}.pagination span:first-child{margin-right:auto}.pagination button{border:1px solid #e1e8d8;background:white;border-radius:4px;padding:6px 10px;color:#6b7d60}.pagination button:disabled{opacity:.4;cursor:default}dialog{border:1px solid #e0e7d7;border-radius:11px;max-width:760px;width:calc(100% - 36px);padding:0;box-shadow:0 25px 100px #163e3433;color:var(--ink)}dialog::backdrop{background:#183b3166;backdrop-filter:blur(3px)}.dialog-head{padding:26px 30px 20px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.dialog-head .eyebrow{margin-bottom:7px}.dialog-head h2{margin:0}.dialog-head .icon-button{font-size:22px}.form-grid{padding:25px 30px;display:grid;grid-template-columns:1fr 1fr;gap:19px;max-height:60vh;overflow:auto}label{font-size:11px;font-weight:500;display:flex;flex-direction:column;gap:8px}label input,label select,label textarea{padding:10px 11px;border:1px solid #dce4d3;border-radius:5px;width:100%;color:#445b39;background:white;font-size:12px}label textarea{min-height:85px;resize:vertical}label small{font-size:9px;color:#9ba58e;font-weight:400}.dialog-footer{display:flex;justify-content:flex-end;gap:12px;padding:20px 30px;border-top:1px solid var(--line)}.error{color:#ab5549;padding:0 30px;font-size:11px;white-space:pre-line}#toast{position:fixed;bottom:28px;right:30px;z-index:100;background:#244b3b;color:white;padding:16px 23px;border-radius:8px;box-shadow:0 8px 28px #102d3026;font-size:12px;max-width:400px}.login-layout{min-height:100vh;display:grid;grid-template-columns:1.1fr 1fr}.login-story{background:var(--forest);color:#eef3e6;padding:50px 65px;display:flex;flex-direction:column;justify-content:space-between;min-height:100vh;position:relative;overflow:hidden}.login-story:after{content:'';width:450px;height:450px;border:1px solid #476651;border-radius:50%;position:absolute;right:-220px;bottom:-160px;box-shadow:0 0 0 65px #ffffff03,0 0 0 130px #ffffff03;pointer-events:none}.login-story .eyebrow{color:#afc396}.login-story h1{font-size:49px;line-height:1.2;margin:20px 0 27px}.login-story p{color:#acbfab;line-height:1.9;max-width:420px;font-size:13px}.story-grid{display:flex;gap:25px;margin-top:45px}.story-grid span{font-size:10px;color:#8ea882;line-height:2.4}.story-grid b{font-weight:450;color:#c3d0b7}.login-story small{color:#849e82;font-size:10px}.login-form{display:flex;align-items:center;justify-content:center;padding:50px}.login-form>div{width:100%;max-width:335px}.login-form h2{font-size:41px;margin:17px 0}.login-form p{font-size:12px;color:#8c9980;line-height:1.8}.login-form form{margin-top:35px}.login-form label{margin:20px 0}.login-form label input{padding:13px}.login-form .primary{width:100%;justify-content:space-between;padding:14px 18px}.login-form .login-foot{font-size:10px;border-top:1px solid var(--line);padding-top:22px;margin-top:35px}#login-error{color:#b56657}.info-card{background:white;border:1px solid var(--line);padding:25px;border-radius:8px;line-height:1.9;color:#718566;font-size:12px}.loading{padding:80px;text-align:center;color:#80936f}.module-state{font-size:10px;color:#8e9c81;margin:10px 0 24px}pre{white-space:pre-wrap;word-break:break-word;font-size:11px}.detail-layout{display:grid;grid-template-columns:1fr 1fr;gap:0 25px}.detail-layout>div{border-bottom:1px solid var(--line);padding:15px 0}.detail-layout b{font-size:10px;color:#819473;font-weight:500;display:block;margin-bottom:6px}.detail-layout span{font-size:12px}
@media(min-width:1500px){main{padding-top:45px}.stats-grid{gap:23px}.stat-card{padding:25px}.sidebar{width:274px}.main-shell{margin-left:274px;width:calc(100% - 274px)}}@media(max-width:1100px){.sidebar{width:220px;padding:25px 15px 0}.main-shell{margin-left:220px;width:calc(100% - 220px)}main{padding:27px 24px}.topbar{padding:0 24px}.stats-grid{gap:10px}.stat-card{padding:16px 13px}.dashboard-grid{grid-template-columns:1fr}.welcome-banner p{max-width:400px}.topbar-right{gap:12px}h1{font-size:30px}.heading-actions{flex-wrap:wrap;justify-content:flex-end}.login-story{padding:40px}.login-story h1{font-size:39px}.story-grid{flex-wrap:wrap}}@media(max-width:760px){.sidebar{transform:translateX(-100%);width:258px;transition:transform .2s}.sidebar.open{transform:translateX(0);box-shadow:0 0 0 100vmax #12342d66}.main-shell{margin:0;width:100%}.topbar{height:62px;padding:0 18px;gap:15px}.topbar-right{margin-left:auto}.topbar #breadcrumb{display:none}#mobile-menu{display:flex;border-radius:5px}.connection{display:none}main{padding:25px 17px}.page-heading{align-items:flex-start;margin-bottom:24px}.page-heading h1{font-size:29px}.page-heading .eyebrow{font-size:8px;letter-spacing:1px}.date-stamp{display:none}.page-heading p{max-width:240px;font-size:11px}.heading-actions .secondary{display:none}.primary{font-size:10px;padding:10px 12px;gap:8px}.welcome-banner{padding:19px}.welcome-banner h2{font-size:21px}.welcome-banner p{font-size:10px}.welcome-banner .banner-art{width:80px;transform:scale(.8);transform-origin:right}.stats-grid{grid-template-columns:1fr 1fr;gap:12px}.stat-value{font-size:26px}.stat-card{padding:17px}.panel-head{padding:18px}.dashboard-grid{gap:0}.class-bars{padding:5px 18px 15px}td,th{padding:13px 17px}.form-grid{grid-template-columns:1fr;padding:22px}.dialog-head,.dialog-footer{padding:20px 22px}.toolbar{flex-wrap:wrap}.search-field{min-width:0;flex:1}.login-layout{display:block}.login-story{min-height:0;padding:25px 30px}.login-story>div:not(.brand),.login-story>small{display:none}.login-form{padding:65px 25px}.login-form>div{max-width:400px}.detail-layout{grid-template-columns:1fr}footer{margin:0 17px;font-size:8px}.sync-banner{align-items:flex-start}.sync-banner .text-link{display:none}}

.account-roles{grid-column:1/-1;border:1px solid var(--line);border-radius:6px;padding:15px;display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.account-roles legend{font-size:11px;padding:0 6px}.account-roles label{display:flex;flex-direction:row;align-items:center;font-size:10px}.account-roles input{width:auto;margin:0}@media(max-width:760px){.account-roles{grid-template-columns:1fr 1fr}}

.sync-identity{margin-bottom:22px}.sync-identity code{overflow-wrap:anywhere;font-size:11px}.sync-identity p{margin-bottom:0}.sync-admin-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:22px}.sync-admin-grid .form-grid{max-height:none}.sync-health{padding:22px}.sync-health-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.sync-health dl{margin:20px 0 0}.sync-health dl>div{display:flex;justify-content:space-between;gap:16px;border-top:1px solid var(--line);padding:12px 0;font-size:11px}.sync-health dt{color:var(--muted)}.sync-health dd{margin:0;text-align:right}.sync-error{color:#a34d3f;line-height:1.7;font-size:12px}.sync-card-actions{padding:0 22px 22px}.sync-queue{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding:22px}.sync-queue span{font-size:11px;color:var(--muted)}.sync-queue b{display:block;font-size:24px;color:var(--ink);margin-bottom:8px}.sync-queue-panel .module-state,.sync-node-queue .module-state{padding:0 22px 12px}.sync-nodes{margin-top:22px}.sync-nodes .panel-head p{overflow-wrap:anywhere}.sync-node-queue{border-top:1px solid var(--line)}@media(max-width:1100px){.sync-admin-grid{grid-template-columns:1fr}}@media(max-width:760px){.sync-queue{grid-template-columns:1fr 1fr}.sync-health dl>div{display:block}.sync-health dd{text-align:left;margin-top:7px}.sync-health-title{align-items:flex-start}.sync-identity code{display:block}.sync-nodes .panel-head{align-items:flex-start}}
.class-reference-details{margin:12px 0 0;font-weight:400}.class-reference-details>div{display:flex;justify-content:space-between;gap:15px;padding:8px 0;border-top:1px solid var(--line);font-size:11px}.class-reference-details dt{color:var(--muted)}.class-reference-details dd{margin:0;text-align:right}
.sync-report-banner{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px;border:1px solid #dfc183;background:#fff8e9;border-radius:8px;margin-bottom:24px}.sync-report-banner b{font-size:13px}.sync-report-banner p{font-size:11px;line-height:1.7;margin:8px 0 0}.report-filters{justify-content:flex-start;align-items:flex-end}.report-filters label{min-width:190px}.sync-report-card .panel-head{align-items:flex-start}.sync-report-content{padding:22px;font-size:12px;line-height:1.8}.sync-report-action{background:#f4f6ee;padding:15px;border-radius:6px;margin:15px 0}.sync-report-action p{margin:5px 0 0}.sync-report-content details{font-size:10px;margin-top:16px;color:var(--muted)}.sync-report-content code{overflow-wrap:anywhere}@media(max-width:760px){.sync-report-banner{display:block}.sync-report-banner .secondary{margin-top:15px}.report-filters label{min-width:0;flex:1}.sync-report-card .panel-head{flex-wrap:wrap}}
.reference-label{display:block;white-space:normal;min-width:130px;max-width:320px;line-height:1.6;color:var(--ink)}.reference-missing{font-size:10px;color:var(--muted)}.class-reference-details dd{overflow-wrap:anywhere}.class-reference-details>div{align-items:flex-start}#editor-title{overflow-wrap:anywhere}
.grade-class-context{grid-column:1/-1;margin:0;padding:12px 15px;border:1px solid var(--line);background:#f4f7ed;border-radius:6px;font-size:12px;line-height:1.8;color:var(--ink)}
