/* Class Panel structure, adapted to the TermQuill teaching studio. */
body.application-shell{--app-bg:#f0f2eb;--app-surface:#fffefb;--app-line:#dfe4d7;--app-ink:#253020;--app-muted:#65715e;--app-green:#29482a;--app-sage:#e2ead8;background:var(--app-bg);color:var(--app-ink);padding-left:236px;min-height:100vh}
.application-shell>.topbar{display:none}.app-rail{position:fixed;left:0;top:0;bottom:0;z-index:40;width:236px;display:flex;flex-direction:column;padding:0 15px 18px;background:#fafbf6;border-right:1px solid var(--app-line);overflow-y:auto;overscroll-behavior:contain}.shell-brand{height:78px;min-height:78px;display:flex;align-items:center;gap:9px;padding:0 9px;color:#21391f;text-decoration:none;font-size:23px;letter-spacing:-1px;font-weight:700}.shell-brand img{flex-shrink:0}.shell-workspace{padding:17px 11px;margin:0 0 22px;border:1px solid #dce3d2;background:#edf1e5;border-radius:10px}.shell-workspace strong{display:block;font-size:16px;line-height:1.5;margin-top:8px}.shell-kicker{font-size:10px;letter-spacing:.08em;font-weight:650;color:#6b785f;line-height:1.7;margin:0}.shell-nav-label,.app-rail .school-nav-label{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#7b8670;font-weight:650;margin:0 10px 10px;display:block}.shell-studio-nav{display:grid;gap:5px}.shell-studio-nav a,.shell-rail-footer>a,.app-rail .school-nav a{display:flex;align-items:center;gap:11px;font-size:16px;font-weight:550;line-height:1.4;min-height:46px;padding:11px 12px;border-radius:7px;text-decoration:none;color:#54634a;border:1px solid transparent}.shell-studio-nav a:hover,.shell-rail-footer>a:hover,.app-rail .school-nav a:hover{background:#ebf0e3;color:#263c20}.shell-studio-nav a[aria-current=page],.app-rail .school-nav a[aria-current=page],.shell-rail-footer>a[aria-current=page]{background:#29482a;color:#fff;border-color:#29482a;box-shadow:0 3px 7px #24432313}.shell-icon{width:20px;height:20px;flex-shrink:0}.shell-rail-footer{margin-top:auto;padding-top:35px}.shell-rail-footer>.shell-kicker{font-size:9px;padding:15px 12px 0}.app-rail .school-nav{display:none;position:static;flex-direction:column;border:0;background:none;padding:0;margin:20px 0 0;border-radius:0;gap:0;width:100%}.shell-school-ready .app-rail .school-nav{display:flex}.app-rail .school-nav-group{padding:0;margin-bottom:22px;display:grid;gap:4px}.shell-school-ready .shell-school-entry{display:none}.app-shellbar{position:sticky;top:0;z-index:30;height:78px;display:flex;align-items:center;gap:20px;justify-content:space-between;padding:0 32px;background:#fafbf6ed;backdrop-filter:blur(12px);border-bottom:1px solid var(--app-line)}.shell-breadcrumb{display:flex;gap:12px;align-items:center;font-size:16px;min-width:0;color:#627056}.shell-breadcrumb strong{font-size:16px;font-weight:600;color:#293923}.shell-separator{color:#a4ad99}.shell-top-actions{display:flex;align-items:center;gap:20px;flex-shrink:0}.shell-top-actions>a{color:#59694f;text-decoration:none;font-size:16px;min-height:44px;display:inline-flex;align-items:center}.shell-context{padding:7px 10px;border:1px solid #d9e2cb;border-radius:5px;background:#edf3e3;font-size:12px;color:#536744}.shell-menu{display:none;min-height:44px;min-width:44px;font-size:24px;border:1px solid var(--app-line);border-radius:6px}.app-rail a:focus-visible,.shell-menu:focus-visible,.shell-top-actions>a:focus-visible{outline:3px solid #a17b39;outline-offset:3px}.application-shell>main,.application-shell #school-main,.application-shell #places-main{max-width:1600px;padding:30px 32px 55px;margin:0 auto;min-width:0}.application-shell>footer{margin:0;padding:20px 32px;font-size:13px;border-top:1px solid var(--app-line);background:#fafbf6}.application-shell .page-intro{background:none;border:0;border-radius:0;padding:0;margin:0 0 28px}.application-shell .page-intro:after{display:none}.application-shell .page-intro h1{font-size:34px;letter-spacing:-1.1px;line-height:1.15;max-width:none;margin:10px 0 14px}.application-shell .page-intro h1 em{color:#49643a;font-style:normal}.application-shell .page-intro>.eyebrow{font-size:11px;letter-spacing:.08em;color:#7c886e}.application-shell .page-intro .lede{font-size:18px;line-height:1.65;max-width:72ch;color:#65715d}.application-shell .page-intro .workflow-steps{margin:25px 0 0;padding-top:18px;border-top:1px solid #dfe5d5;gap:25px}.application-shell .page-intro .workflow-steps li{font-size:14px}.application-shell .primary{background:#29482a;border-color:#29482a;box-shadow:none;border-radius:6px;color:white}.application-shell .outline{border-color:#c9d5bd;background:#fffefb;color:#37532a;box-shadow:none;border-radius:6px}.application-shell .primary:hover:not(:disabled){background:#375c33;transform:none;box-shadow:0 3px 8px #29482a18}.application-shell .outline:hover:not(:disabled){background:#edf2e5;transform:none;box-shadow:none}.application-shell input,.application-shell textarea,.application-shell select{border-color:#d2dcc7;border-radius:6px;background:#fffefa;color:#293724}.application-shell .workspace{border-radius:12px;background:#fffefb;border:1px solid #dce4d2;box-shadow:0 3px 12px #263d2210;grid-template-columns:minmax(270px,.8fr) minmax(0,1.3fr);overflow:clip}.application-shell .workspace.editing-paper{grid-template-columns:minmax(0,1fr)}.application-shell .workspace .setup{background:#f7f9f2;border-right:1px solid #dde6d2}.application-shell .workspace .output{background:#f5f7ef;min-width:0}.application-shell .panel-heading h2{font-size:22px;letter-spacing:-.5px}.application-shell .setup-section{border-color:#d6e0ca}.application-shell .early-start{background:#e8eedc;border-color:#cad8b8}.application-shell .paper-branding{background:#ecf2e2;border-color:#d1dfbf}.application-shell .layout-panel{background:#eef3e6;border-color:#d0dfc0}.application-shell .question-editor{border-color:#d8e2ce;border-radius:9px;box-shadow:none}.application-shell .question-summary{background:#f3f6ed}.application-shell .review-bar{background:#e4edd8}.application-shell .draft-library,.application-shell .question-bank-page{padding:26px;border:1px solid var(--app-line);border-radius:12px;background:#fffefb;max-width:none;margin:0}.application-shell .bank-heading>h1{font-size:34px;letter-spacing:-1px}.application-shell .bank-layout{gap:25px}.application-shell .bank-assemble{background:#eef3e5;border-color:#d1dfbf}.application-shell .draft-card,.application-shell .bank-question{border-color:#dce4d3;box-shadow:none;border-radius:9px;background:#fffefa}.application-shell .guide-grid,.application-shell .guide-school{margin-left:0;margin-right:0}.application-shell .footnote{margin:25px 0 0;padding:20px;background:#edf3e5;border-radius:8px;font-size:16px}
/* School pages: one rail, clear context, and a document-safe content surface. */
.application-shell.signed-in .school-hero{display:none}.application-shell .school-layout{display:block}.application-shell .school-heading{margin-top:18px;margin-bottom:22px;padding-bottom:18px;border-bottom:1px solid var(--app-line)}.application-shell #school-heading{font-size:19px;letter-spacing:-.4px;font-weight:600;margin:0}.application-shell .school-tag{background:#e6eedc;color:#536a3e;font-size:11px;letter-spacing:.04em;font-weight:600;border-radius:5px}.application-shell .school-account{margin:0 0 14px;border:0;padding:0;font-size:14px;color:#6b775f}.application-shell .school-account .quiet{font-size:14px;color:#516b3c;min-height:44px}.application-shell .school-switch{padding:16px 20px;background:#fffefb;border:1px solid var(--app-line);border-radius:9px;gap:12px}.application-shell .school-switch label{font-size:14px;color:#657458}.application-shell .school-switch select{font-size:16px;min-height:44px;padding:9px 12px;max-width:520px}.application-shell .school-switch button{font-size:14px;min-height:44px}.application-shell #school-status:empty{display:none}.application-shell .school-form,.application-shell .school-card{border-color:var(--app-line);border-radius:9px;box-shadow:none}.application-shell .school-explainer{background:#e8eedd;border-color:#7b965e;border-radius:7px;padding:20px 24px}.application-shell .school-explainer h3{font-size:23px}.application-shell .school-nav a{font-size:16px}.application-shell .school-toolbar{gap:12px;margin-bottom:20px}.application-shell .school-toolbar input[type=checkbox]{width:18px;min-width:18px;flex:none;align-self:center;margin:0}.application-shell .school-toolbar label:has(input[type=checkbox]){display:flex;align-items:center;gap:10px;max-width:285px;font-size:16px;line-height:1.5}.application-shell .school-toolbar .primary,.application-shell .school-toolbar .outline{font-size:16px}.application-shell .school-print{border-radius:8px;box-shadow:0 4px 15px #253c2310}.application-shell .school-table th{font-size:13px;color:#78846c;letter-spacing:.02em;font-weight:550;background:#f7f9f1}.application-shell .school-table td{font-size:16px;color:#445437}.application-shell .school-table-wrap{border:1px solid var(--app-line);border-radius:7px}.application-shell .school-glossary{margin-top:25px;font-size:16px}.application-shell .school-glossary summary{background:#e5edd9;border-radius:7px;padding:16px 20px}.application-shell .school-panel{background:#fffefb;border-radius:12px}.application-shell .school-hero{padding:15px 0 35px;gap:40px}.application-shell .school-hero h1{font-size:42px}.application-shell .school-note{background:#e4edda;border-radius:9px;transform:none}.application-shell .school-hero .lede{font-size:18px}
/* Dashboard: snapshot counts, accessible rows and real review work. */
.dashboard-heading{margin-bottom:26px}.dashboard-heading .eyebrow{font-size:11px;letter-spacing:.08em;color:#7b886e;margin:0 0 10px}.dashboard-heading h1{font-size:32px;line-height:1.2;letter-spacing:-1.1px;margin:0 0 10px;font-weight:650}.dashboard-heading>p:last-child{font-size:18px;line-height:1.6;color:#6c785f;margin:0}.dashboard-welcome{position:relative;display:grid;grid-template-columns:1.65fr 1fr;gap:20px;overflow:hidden;background:linear-gradient(115deg,#dce8cb,#edf3e2 65%,#d8e5c5);border:1px solid #ccdcb9;border-radius:10px;padding:27px 30px;margin-bottom:24px}.dashboard-banner-label{display:inline-flex;background:#f6faefb3;padding:5px 8px;border:1px solid #bfd0ab80;border-radius:4px;font-size:10px;letter-spacing:.04em;color:#5a7743;font-weight:650}.dashboard-welcome h2{font-size:27px;line-height:1.2;letter-spacing:-.8px;margin:15px 0 10px;color:#2f4928}.dashboard-welcome p{font-size:16px;line-height:1.7;color:#687d56;max-width:55ch;margin:0 0 18px}.dashboard-actions{display:flex;gap:12px;flex-wrap:wrap}.dashboard-actions a{font-size:14px;min-height:44px;padding:11px 14px;display:inline-flex;align-items:center;text-decoration:none}.dashboard-banner-art{position:relative;min-height:180px;align-self:center;isolation:isolate}.banner-sheet{position:absolute;display:block;background:#fffef7;border:1px solid #bfcead;border-radius:4px;box-shadow:0 10px 15px #46643618}.banner-sheet-back{inset:7px 30px 30px 15px;transform:rotate(-14deg);padding:18px;color:#8b9c77;font-size:11px;letter-spacing:.08em}.banner-sheet-front{inset:26px 15px 10px 40px;transform:rotate(8deg);padding:28px 16px;color:#425b32;font-size:23px;font-weight:600;letter-spacing:-.8px;background:repeating-linear-gradient(#fffef7,#fffef7 30px,#dfe8d3 31px,#fffef7 32px)}.banner-stamp{position:absolute;bottom:2px;right:0;font-size:10px;letter-spacing:.03em;transform:rotate(-5deg);padding:12px;background:#31502d;color:white;box-shadow:0 5px 12px #375b281c;border-radius:5px}.application-shell .dashboard-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.application-shell .dashboard-stat{border:1px solid var(--app-line);background:#fffefb;border-radius:9px;padding:20px;position:relative}.dashboard-stat-label{font-size:16px;color:#637359;line-height:1.5;font-weight:550}.application-shell .dashboard-stat strong{font-family:inherit;font-size:34px;line-height:1;letter-spacing:-1px;color:#2d4324;margin:16px 0 14px;font-weight:650}.dashboard-stat p{font-size:14px;line-height:1.5;color:#79886e;margin:0}.dashboard-stat:after{content:'';position:absolute;top:22px;right:20px;width:8px;height:8px;border-radius:3px;background:#c8d3bd}.stat-draft:after{background:#d7c99e}.stat-review:after{background:#9caed0}.stat-approved:after{background:#8fb47c}.dashboard-metric-note{font-size:14px;line-height:1.6;color:#7e8c72;margin:12px 0 25px;max-width:95ch}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(260px,1fr);gap:22px}.dashboard-main-column,.dashboard-side-column{display:grid;gap:22px;align-content:start;min-width:0}.dashboard-panel{padding:23px;background:#fffefb;border:1px solid var(--app-line);border-radius:10px;min-width:0}.dashboard-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.dashboard-panel h2{font-size:19px;line-height:1.3;letter-spacing:-.4px;font-weight:600;margin:0}.dashboard-panel-heading>a{font-size:14px;white-space:nowrap;text-decoration:none;min-height:36px;display:inline-flex;align-items:center}.dashboard-overline{font-size:10px;letter-spacing:.04em;color:#8b977e}.dashboard-panel-intro{font-size:14px;line-height:1.7;color:#7b8870;margin:0 0 20px}.dashboard-recent .school-table-wrap{border:0;border-radius:0}.dashboard-paper-table caption{text-align:left;font-size:14px;color:#7c8970;padding-bottom:15px;line-height:1.5}.dashboard-paper-table td{vertical-align:middle;padding:17px 10px}.dashboard-paper-table td:first-child{padding-left:0}.dashboard-paper-table th:first-child{padding-left:0}.dashboard-paper-table td:first-child>a{font-size:16px;font-weight:600;text-decoration:none;line-height:1.6;color:#314b27;display:inline-block;min-height:32px}.dashboard-paper-meta{display:block;font-size:14px;line-height:1.7;color:#7e8b73;margin-top:4px}.application-shell .dashboard-paper-table th{background:none}.application-shell .dashboard-paper-table .dashboard-updated{font-size:14px;line-height:1.6;color:#86927b;min-width:110px}.dashboard-status{font-size:14px;padding:5px 8px;border-radius:5px;display:inline-block;line-height:1.5;white-space:nowrap;background:#edf0e7;color:#65745a}.status-submitted{background:#e8edf7;color:#5f759b}.status-changes_requested{background:#fbf0d8;color:#8d7138}.status-approved{background:#e4efdb;color:#60804c}.dashboard-empty{padding:25px 10px;text-align:center}.dashboard-empty-mark{display:inline-grid;place-items:center;width:50px;height:50px;border:1px solid #cbd9bb;border-radius:12px;font-size:20px;color:#7a9864;background:#edf3e4}.dashboard-empty h3{font-size:20px;letter-spacing:-.4px;line-height:1.4;margin:18px 0 12px}.dashboard-empty p{font-size:16px;color:#7b896e;line-height:1.75;max-width:48ch;margin:0 auto 18px}.dashboard-empty>a{display:inline-flex;min-height:44px;align-items:center;padding:10px 14px;font-size:14px}.dashboard-distribution{height:13px;border-radius:5px;display:flex;gap:3px;overflow:hidden;background:#edf1e5;margin-bottom:25px}.pipeline-segment{min-width:2px;flex-basis:0}.pipeline-draft{background:#bcc6ad}.pipeline-submitted{background:#a1b6d4}.pipeline-changes_requested{background:#dbc794}.pipeline-approved{background:#7c9f67}.dashboard-pipeline-list{list-style:none;padding:0;margin:0;display:grid;gap:16px}.dashboard-pipeline-list li{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:14px;color:#738165;line-height:1.5}.dashboard-pipeline-list li>span{display:flex;align-items:center;gap:11px}.dashboard-pipeline-list strong{font-size:16px;font-weight:600;color:#465b36}.pipeline-dot{height:9px;width:9px;display:inline-block;border-radius:2px;flex-shrink:0}.dashboard-count{font-size:14px;min-width:24px;padding:4px 7px;display:inline-grid;place-items:center;background:#e9efdf;border-radius:5px;color:#6a8454}.dashboard-queue-item{padding:15px 0;border-bottom:1px solid #e6ebde}.dashboard-queue-item:first-of-type{padding-top:0}.dashboard-queue-item>a{font-size:16px;line-height:1.6;text-decoration:none;font-weight:600}.dashboard-queue-item p{font-size:14px;color:#8a977f;margin:6px 0 12px}.dashboard-queue-state{font-size:14px;color:#6e86a1;background:#eaf0f7;padding:5px 7px;display:inline-block;border-radius:4px}.dashboard-queue>.school-link{display:inline-flex;min-height:44px;align-items:center;margin-top:15px;font-size:14px;text-decoration:none}.dashboard-queue-empty{padding:18px 0;font-size:16px;color:#829076;line-height:1.75}.dashboard-tools h2{margin:0 0 20px}.dashboard-tool{display:flex;gap:15px;justify-content:space-between;padding:18px 0;border-top:1px solid #e6ebde;text-decoration:none;color:#536b40}.dashboard-tool strong{font-size:15px;font-weight:600;display:block;margin-bottom:6px;line-height:1.5}.dashboard-tool div>span{font-size:14px;line-height:1.65;color:#859178;display:block}.dashboard-tool>span{font-size:22px;align-self:center}.dashboard-setup{margin:25px 0;background:#f8faf2;border:1px solid #dbe5cd;border-radius:9px;padding:15px 20px}.dashboard-setup>summary{cursor:pointer;font-size:16px;font-weight:600;min-height:44px;line-height:44px;color:#6d8256}.dashboard-setup .school-journey{margin:12px 0}.dashboard-setup .school-journey>h3{font-size:18px}.dashboard-activity{margin-top:24px}.dashboard-activity-list{list-style:none;padding:0;margin:0;display:grid;gap:0}.dashboard-activity-list li{display:flex;justify-content:space-between;gap:20px;padding:15px 0;border-top:1px solid #e6ebde;font-size:14px;color:#657a51;line-height:1.6}.dashboard-activity-list time{font-size:14px;color:#8c997f}.dashboard-activity>.micro{font-size:14px;margin-bottom:0;color:#87957a}
@media(min-width:1650px){body.application-shell{padding-left:250px}.app-rail{width:250px}}
@media(max-width:1240px){.application-shell .dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:minmax(0,1fr)}.dashboard-side-column{grid-template-columns:1fr 1fr}.dashboard-welcome{grid-template-columns:1.6fr 1fr}.application-shell .workspace{grid-template-columns:1fr}.application-shell .workspace .setup{border-right:0;border-bottom:1px solid var(--app-line)}.application-shell .workspace .output{padding:24px}}
@media(max-width:980px){body.application-shell{padding-left:0}.app-rail{transform:translateX(-100%);visibility:hidden;transition:transform 160ms ease,visibility 160ms;width:248px;box-shadow:12px 0 35px #243a2720}.shell-menu-open .app-rail{transform:translateX(0);visibility:visible}.shell-menu{display:inline-grid;place-items:center;flex-shrink:0}.app-shellbar{padding:0 20px;height:70px;gap:12px}.shell-breadcrumb{margin-right:auto;font-size:14px;gap:8px}.shell-breadcrumb strong{font-size:14px}.shell-top-actions{gap:12px}.shell-top-actions>a{font-size:14px}.application-shell>main,.application-shell #school-main,.application-shell #places-main{padding:24px 20px 40px}.application-shell .school-switch{padding:15px}.application-shell .page-intro h1{max-width:none}.application-shell .page-intro .lede{max-width:none}.application-shell .school-hero{padding-top:10px}}
@media(max-width:650px){.shell-breadcrumb>span:first-child,.shell-separator,.shell-context{display:none}.shell-top-actions>a{font-size:14px}.app-shellbar{padding:0 14px;gap:10px}.application-shell>main,.application-shell #school-main,.application-shell #places-main{padding:22px 14px 35px}.application-shell .page-intro h1,.dashboard-heading h1{font-size:29px}.application-shell .page-intro .lede,.dashboard-heading>p:last-child{font-size:18px}.dashboard-welcome{grid-template-columns:1fr;padding:23px}.dashboard-welcome h2{font-size:25px}.dashboard-banner-art{display:none}.dashboard-welcome p{font-size:16px}.application-shell .dashboard-stats{gap:10px}.application-shell .dashboard-stat{padding:16px}.dashboard-stat-label{font-size:16px}.application-shell .dashboard-stat strong{font-size:32px}.dashboard-stat p{font-size:14px}.dashboard-stat:after{display:none}.dashboard-grid,.dashboard-side-column{grid-template-columns:minmax(0,1fr);gap:18px}.dashboard-panel{padding:19px}.dashboard-paper-table{min-width:510px}.dashboard-activity-list li{flex-direction:column;gap:5px}.application-shell .school-heading{align-items:start}.application-shell #school-heading{font-size:17px;line-height:1.6}.application-shell .school-switch{flex-direction:column;align-items:stretch}.application-shell .school-switch select{max-width:none;width:100%}.application-shell .school-account{overflow-wrap:anywhere;gap:15px}.application-shell .school-toolbar label:has(input[type=checkbox]){max-width:none}.application-shell .workspace .output{padding:15px}.application-shell .workspace .setup{padding:20px}.application-shell .draft-library,.application-shell .question-bank-page{padding:19px}.application-shell .bank-layout{grid-template-columns:1fr}.application-shell .school-hero{grid-template-columns:1fr}.application-shell>footer{padding:20px 15px}.dashboard-actions a{font-size:14px}.dashboard-banner-label{font-size:9px}.dashboard-tools h2{font-size:19px}}
@media(prefers-reduced-motion:reduce){.app-rail{transition:none}}
@media print{body.application-shell{padding:0!important;background:white}.app-rail,.app-shellbar{display:none!important}.application-shell>main,.application-shell #school-main{padding:0!important;max-width:none!important}.application-shell .school-layout{display:block!important}.application-shell .school-print{box-shadow:none;border:0;border-radius:0}.application-shell .workspace{box-shadow:none;border:0;overflow:visible}.application-shell .workspace .output{padding:0;background:white}}
