.legal-card{max-width:860px}.legal-document h1{margin:.25rem 0 .5rem}.legal-document h2{margin:1.4rem 0 .4rem;font-size:1.1rem}.legal-document p,.legal-document li{line-height:1.6}.legal-document[dir=rtl] p,.legal-document[dir=rtl] li{line-height:2}.legal-document ul{padding-inline-start:1.4rem}.legal-toolbar{justify-content:flex-end;display:flex}.legal-draft{font-weight:600}.legal-meta{color:var(--muted);flex-wrap:wrap;gap:.25rem 1.25rem;font-size:.92rem;display:flex}.legal-status{color:var(--muted)}.legal-summary{font-size:1.02rem}.legal-other{border-top:1px solid var(--border);margin-top:2rem}.legal-other ul{flex-wrap:wrap;gap:.5rem 1.25rem;padding:0;list-style:none;display:flex}.legal-links{flex-wrap:wrap;justify-content:center;gap:.25rem 1rem;margin:.75rem 0;font-size:.85rem;display:flex}.legal-links a{color:var(--muted)}.legal-overlay{z-index:80;background:#00000073;justify-content:center;align-items:flex-start;padding:16px;display:flex;position:fixed;inset:0;overflow-y:auto}.legal-dialog{background:var(--surface);width:min(860px,100%);color:var(--text,inherit);text-align:start;border-radius:14px;margin:auto 0;padding:12px 20px 24px;box-shadow:0 12px 40px #00000040}.legal-dialog-bar{justify-content:space-between;align-items:center;gap:1rem;display:flex}.legal-close{min-width:44px;min-height:44px;color:inherit;background:0 0;border:0}.legal-form-actions{flex-wrap:wrap;align-items:center;gap:.5rem 1rem;display:flex}@media print{.legal-toolbar,.legal-other,.legal-dialog-bar{display:none}}.idc-sheet{grid-template-columns:repeat(auto-fill,85.6mm);justify-content:center;gap:2mm 4mm;display:grid}.idc-card{--idc-primary:#1f3a68;--idc-accent:#e8eef8;box-sizing:border-box;color:#111;break-inside:avoid;-webkit-print-color-adjust:exact;print-color-adjust:exact;background:#fff;border:.3mm solid #c7cdd6;border-radius:3mm;flex-direction:column;width:85.6mm;height:53.98mm;font-size:2.6mm;line-height:1.25;display:flex;overflow:hidden}.idc-band{background:var(--idc-primary);color:#fff;align-items:center;gap:2mm;padding:1.6mm 2.4mm;display:flex}.idc-logo{min-width:7mm;height:7mm;color:var(--idc-primary);background:#fff;border-radius:3.5mm;place-items:center;padding:0 1mm;font-size:2.4mm;font-weight:700;display:inline-grid}.idc-title{flex-direction:column;flex:1;min-width:0;display:flex}.idc-title strong{white-space:nowrap;text-overflow:ellipsis;font-size:3.1mm;overflow:hidden}.idc-title small{opacity:.9;font-size:2.1mm}.idc-kind{letter-spacing:.3mm;font-size:2mm;font-weight:700}.idc-body{background:var(--idc-accent);flex:1;gap:2mm;min-height:0;padding:1.8mm 2.4mm .8mm;display:flex}.idc-photo{border:.3mm solid var(--idc-primary);height:23mm;color:var(--idc-primary);background:#fff;border-radius:1mm;flex:0 0 18mm;place-items:center;font-size:6mm;font-weight:700;display:grid;overflow:hidden}.idc-photo img{object-fit:cover;width:100%;height:100%}.idc-details{flex:1;min-width:0}.idc-name{color:var(--idc-primary);margin-bottom:.8mm;font-size:3.2mm;font-weight:700}.idc-details dl{margin:0}.idc-details dl div{gap:1mm;display:flex}.idc-details dt{color:#555;flex:0 0 15mm}.idc-details dd{text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}.idc-qr{width:19mm;height:19mm;image-rendering:pixelated;flex:0 0 19mm;align-self:center}.idc-foot{background:var(--idc-accent);justify-content:space-between;gap:2mm;padding:.8mm 2.4mm;font-size:2.1mm;display:flex}.idc-note{color:#444;text-align:center;background:#fff;padding:.6mm 2.4mm 1mm;font-size:1.9mm}.idc-picked,.idc-search{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.idc-options{flex-basis:100%;margin:0;padding-left:18px}.idc-field-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:8px 16px;display:grid}.idc-swatch{vertical-align:middle;border-radius:3px;width:14px;height:14px;margin-right:6px;display:inline-block}.idc-scan-result{flex-wrap:wrap;align-items:flex-start;gap:16px;display:flex}.idc-scan-photo{object-fit:cover;border:1px solid var(--border);border-radius:8px;width:120px;height:150px}.idc-valid{color:var(--teal);font-weight:700}.idc-invalid{color:#b42318;font-weight:700}@page idcard-sheet{size:A4 portrait;margin:8mm}@media print{.idc-print-page{page:idcard-sheet}.idc-sheet{justify-content:start}.idc-card{border-color:#999}}.result-card{border:1px solid var(--border);background:var(--surface);overflow-wrap:anywhere;margin-bottom:16px;padding:16px}.result-card table{border-collapse:collapse;width:100%}.result-card th,.result-card td{border:1px solid var(--border);text-align:left;padding:4px 6px}.result-card-header{align-items:center;gap:12px;display:flex}.result-card-logo{max-width:96px;max-height:64px}.result-card-logo-text{font-size:1.4rem;font-weight:700}.result-card-note{font-size:.85rem}.result-card-signatures{justify-content:space-between;gap:16px;margin-top:40px;display:flex}.result-card-signatures span{text-align:center;border-top:1px solid;flex:1;padding-top:4px}@page result-card{size:A4 portrait;margin:12mm}@media print{.result-cards-page{page:result-card;padding:0}.result-card{break-after:page;break-inside:avoid;background:0 0;border:none;margin:0;padding:0}.result-card:last-child{break-after:auto}}.public-results .public-results-card{max-width:960px}.public-results-brand{align-items:center;gap:14px;margin-bottom:8px;display:flex}.public-results-brand img{object-fit:contain;max-width:96px;max-height:64px}.public-results-brand h1{overflow-wrap:anywhere;margin:0}.public-results-brand p{color:var(--accent);margin:2px 0 0;font-weight:600}.public-results-list{gap:8px;margin:12px 0;padding:0;list-style:none;display:grid}.public-results-list button{text-align:left;border:1px solid var(--border);background:var(--surface);width:100%;min-height:44px;color:inherit;cursor:pointer;border-radius:10px;flex-wrap:wrap;justify-content:space-between;gap:4px 10px;padding:10px 12px;display:flex}.public-results-list button[aria-current=true]{border-color:var(--accent)}.public-results-list button span{opacity:.8}.public-results-powered{opacity:.7;text-align:center;margin-top:24px;font-size:.8rem}.public-results-cards .result-card{overflow-x:auto}.public-results-cards .result-card table{min-width:420px}.public-site-settings .public-site-qr{background:#fff;width:160px;max-width:100%}.public-site-settings .public-site-qr img{width:100%;height:auto;display:block}.public-site-settings code{overflow-wrap:anywhere}.public-site-settings .public-site-color{width:56px;height:36px;padding:2px}@media (width<=600px){.public-results .public-results-card{padding:20px 16px}}@media print{.public-results{background:0 0;min-height:0;padding:0;display:block}.public-results .public-results-card{max-width:none;box-shadow:none;border:none;padding:0}.public-results-cards .result-card{overflow:visible}}.help-button{border:1px solid var(--border);background:var(--surface);min-height:44px;color:inherit;border-radius:10px;flex-shrink:0;align-items:center;gap:6px;padding:0 10px;display:inline-flex}.help-panel{z-index:60;background:var(--surface);border-left:1px solid var(--border);width:min(440px,100vw);padding:16px 20px 24px;position:fixed;top:0;bottom:0;right:0;overflow-y:auto;box-shadow:-8px 0 24px #0000001f}.help-panel-bar{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.help-close{min-width:44px;min-height:44px;color:inherit;background:0 0;border:0}.help-article h2,.help-article h3{margin-bottom:6px}.help-summary{opacity:.85;margin-bottom:12px}.help-steps,.help-notes{margin:12px 0;padding-left:22px;line-height:1.5}.help-steps li+li,.help-notes li+li{margin-top:6px}.help-notes{opacity:.85;font-size:.93em;list-style:outside}.help-video{margin:12px 0}.help-video-frame{aspect-ratio:16/9;background:#000;border-radius:10px;width:100%;position:relative;overflow:hidden}.help-video-frame iframe{border:0;width:100%;height:100%;position:absolute;inset:0}.help-video figcaption,.help-video-note{opacity:.85;margin-top:6px;font-size:.9em}.help-video figcaption a,.help-panel-links a,.help-link{text-decoration:underline}.help-panel-links{margin-top:16px}.help-centre-layout{grid-template-columns:minmax(220px,320px) 1fr;align-items:start;gap:20px;display:grid}.help-topic-list h2{margin:14px 0 6px;font-size:.95em}.help-topic-list ul{margin:0;padding:0;list-style:none}.help-topic-list button{width:100%;min-height:40px;color:inherit;text-align:left;background:0 0;border:0;border-radius:8px;padding:6px 10px}.help-topic-list button[aria-current=true]{background:var(--border-soft);font-weight:600}.help-search{width:100%;min-height:44px}.setup-checklist ul{margin:12px 0 0;padding:0;list-style:none}.setup-checklist li{border-top:1px solid var(--border-soft);gap:10px;padding:10px 0;display:flex}.setup-checklist li>svg{flex-shrink:0;margin-top:2px}.setup-checklist .done{color:#1a7f37}.setup-checklist-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.setup-checklist-links{flex-wrap:wrap;gap:12px;margin-top:4px;display:flex}@media (width<=760px){.help-centre-layout{grid-template-columns:1fr}.help-button span{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}}.help-video-badge{vertical-align:-2px;margin-left:6px}.help-video-languages{gap:6px;margin-bottom:8px;display:flex}.help-video-languages button{border:1px solid var(--border);background:var(--surface);min-height:36px;color:inherit;border-radius:8px;padding:0 12px}.help-video-languages button[aria-pressed=true]{background:var(--border-soft);font-weight:600}:root{--chart-1:#2f5d8a;--chart-2:#147e74;--age-0:#9fb3c8;--age-1:#e2b04a;--age-2:#d98236;--age-3:#c4572f;--age-4:#9b2c2c}@media screen{:root[data-theme=dark]{--chart-1:#8fb8e6;--chart-2:#78d6c7;--age-0:#6d8299;--age-1:#e8c06a;--age-2:#e89a58;--age-3:#e2775a;--age-4:#ff9b9b}}.mgmt-actions{flex-wrap:wrap;align-items:end;gap:12px;display:flex}.mgmt-actions label{gap:6px;min-width:180px;font-size:13px;display:grid}.mgmt-note{color:var(--muted);margin:8px 0;font-size:13px}.mgmt-tile p{color:var(--text-secondary);font-size:13px}.mgmt-tile.warn strong{color:var(--warning-text)}.mgmt-tile.bad strong{color:var(--error-strong)}.mgmt-tile:hover{border-color:var(--accent)}.mgmt-panels{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.mgmt-panel{align-content:start;gap:10px;display:grid}.mgmt-panel header{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:12px;display:flex}.mgmt-panel .notice.warning{background:var(--warning-bg);color:var(--warning-text)}.mgmt-subhead{margin-top:6px;font-size:14px}.mgmt-figures{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:12px;display:grid}.mgmt-figures dt{color:var(--muted);font-size:12px}.mgmt-figures dd{color:var(--heading);margin:4px 0 0;font-size:22px;font-weight:700}.mgmt-meter{background:var(--surface-muted);border-radius:4px;height:8px;overflow:hidden}.mgmt-meter span{background:var(--accent);height:100%;display:block}.mgmt-meter span.over{background:var(--error-strong)}.mgmt-stack{background:var(--surface-muted);border-radius:4px;height:14px;display:flex;overflow:hidden}.mgmt-stack span{flex-basis:0}.mgmt-legend{flex-wrap:wrap;gap:6px 16px;margin:0;padding:0;font-size:13px;list-style:none;display:flex}.mgmt-legend li{align-items:center;gap:6px;display:inline-flex}.mgmt-legend i{border-radius:2px;width:10px;height:10px;display:inline-block}.mgmt-b0{background:var(--age-0)}.mgmt-b1{background:var(--age-1)}.mgmt-b2{background:var(--age-2)}.mgmt-b3{background:var(--age-3)}.mgmt-b4{background:var(--age-4)}.mgmt-s1{background:var(--chart-1)}.mgmt-s2{background:var(--chart-2)}.mgmt-funnel{gap:10px;margin:0;padding:0;list-style:none;display:grid}.mgmt-funnel a{justify-content:space-between;gap:12px;font-size:14px;display:flex}.mgmt-bar{background:var(--chart-1);border-radius:3px;min-width:2px;height:10px;margin-top:4px;display:block}.mgmt-list,.mgmt-rows,.mgmt-rows ul{margin:0;padding:0;list-style:none}.mgmt-list li{border-bottom:1px solid var(--border-soft);flex-wrap:wrap;justify-content:space-between;gap:12px;padding:8px 0;font-size:14px;display:flex}.mgmt-list li>span{color:var(--text-secondary)}.mgmt-rows>li{border-bottom:1px solid var(--border-soft);gap:6px;padding:8px 0;display:grid}.mgmt-rows summary,.mgmt-rows ul li{cursor:pointer;flex-wrap:wrap;justify-content:space-between;gap:12px;font-size:14px;display:flex}.mgmt-rows ul{gap:8px;padding:8px 0 0 16px;display:grid}.mgmt-rows ul .mgmt-meter{flex-basis:100%;height:5px}.mgmt-chart-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:18px;display:grid}.mgmt-chart{border:1px solid var(--border);background:var(--surface);border-radius:12px;gap:10px;margin:0;padding:18px;display:grid}.mgmt-chart figcaption{color:var(--heading);font-weight:600}.mgmt-columns{grid-template-columns:repeat(12,minmax(0,1fr));gap:4px;height:160px;display:grid}.mgmt-columns.labels-only{height:auto}.mgmt-column{grid-template-rows:1fr auto;min-width:0;display:grid}.mgmt-column>span{color:var(--muted);text-align:center;font-size:11px;overflow:hidden}.mgmt-column-bars{border-bottom:1px solid var(--border);justify-content:center;align-items:flex-end;gap:2px;display:flex}.mgmt-column-bars span{border-radius:2px 2px 0 0;flex:1;max-width:14px}.mgmt-line{border-bottom:1px solid var(--border);width:100%;height:140px}.mgmt-line .grid{stroke:var(--border);stroke-width:1px;vector-effect:non-scaling-stroke}.mgmt-line .series{fill:none;stroke:var(--chart-2);stroke-width:2.5px;vector-effect:non-scaling-stroke}@media (width<=900px){.mgmt-panels,.mgmt-chart-grid{grid-template-columns:1fr}}@media (width<=600px){.mgmt-actions,.mgmt-actions label{width:100%}.mgmt-chart{padding:12px}.mgmt-column>span{font-size:9px}.mgmt-figures dd{font-size:19px}}.mgmt-tile-order{gap:6px;margin:12px 0;padding:0;list-style:none;display:grid}.mgmt-tile-order li{border:1px solid var(--border);background:var(--surface);cursor:grab;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:8px 10px;display:flex}.mgmt-tile-order li.dragging{opacity:.5}.mgmt-tile-order li span,.mgmt-row-actions{flex-wrap:wrap;gap:6px;display:flex}.mgmt-sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}@media print{.mgmt-panels,.mgmt-chart-grid{display:block}.mgmt-panel,.mgmt-panels>*,.dashboard-section,.mgmt-tile{break-inside:avoid;box-shadow:none;margin-bottom:12px}.mgmt-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.block{display:block}.contents{display:contents}.grid{display:grid}.hidden{display:none}.table{display:table}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.resize{resize:both}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}}:root{color:var(--text);background:var(--page);font-synthesis:none;font-family:Inter,Segoe UI,Arial,sans-serif}*{box-sizing:border-box}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}a{color:inherit;text-decoration:none}button:disabled{opacity:.6;cursor:not-allowed}button:focus-visible,a:focus-visible{outline-offset:4px;outline:3px solid #d49c39}h1,h2,h3,p{margin:0}h1{letter-spacing:-1px;font-size:30px;font-weight:700;line-height:1.3}h2{font-size:18px;font-weight:650}h3{font-size:15px;font-weight:650}p{color:var(--muted);font-size:14px;line-height:1.7}.app-shell{min-height:100vh;display:flex}.sidebar{color:#e9f0f9;z-index:20;background:linear-gradient(160deg,#203654,#182a44);flex-direction:column;flex-shrink:0;width:252px;padding:30px 20px;display:flex;position:fixed;inset:0 auto 0 0}.brand{align-items:center;gap:12px;padding:0 8px 34px;font-size:21px;font-weight:700;display:flex}.brand-mark{background:var(--mb-tile,#fff);border-radius:12px;flex-shrink:0;place-items:center;width:43px;height:43px;display:grid;box-shadow:inset 0 0 0 1px #ffffff1f}.brand small{color:#9eafc5;letter-spacing:1.7px;margin-top:6px;font-size:9px;display:block}.workspace-label{letter-spacing:1.8px;color:#98abc4;margin:10px 14px 16px;font-size:10px}.sidebar nav{gap:7px;display:grid}.sidebar nav a{color:#beccdf;border-radius:9px;gap:12px;padding:13px 14px;font-size:14px;display:flex}.sidebar nav a svg:last-child:not(:first-child){margin-left:auto}.sidebar nav a.active{color:#fff;background:#ffffff13;box-shadow:inset 3px 0 #69c7bb}.sidebar nav a:hover{background:#ffffff0a}.sidebar-note{color:#a3dcd5;border:1px solid #ffffff18;border-radius:12px;gap:11px;margin-top:auto;padding:18px 15px;display:grid}.sidebar-note strong{color:#e9f0f9;font-size:14px}.sidebar-note p{color:#b4c4d8;font-size:12px}.sidebar-footer{color:#b4c4d8;margin:24px 9px 0;font-size:12px}.sidebar-footer small{margin:7px 0 0 15px;font-size:10px;display:block}.small-dot{background:#63bbad;border-radius:50%;width:6px;height:6px;margin-right:7px;display:inline-block}.main-column{width:calc(100% - 252px);margin-left:252px}.topbar{border-bottom:1px solid var(--border);background:var(--surface);z-index:10;justify-content:space-between;align-items:center;height:76px;padding:0 38px;display:flex;position:sticky;top:0}.breadcrumb{color:var(--muted);align-items:center;gap:12px;font-size:13px;display:flex}.breadcrumb span{color:var(--text);font-weight:600}.topbar-right{align-items:center;gap:25px;font-size:12px;display:flex}.local-label{color:var(--muted)}.locale{color:var(--text-secondary);background:var(--surface-soft);border-radius:7px;padding:9px 12px;font-size:11px}main{max-width:1600px;margin:auto;padding:35px 38px 20px}.page-title{justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px;display:flex}.eyebrow{letter-spacing:2px;color:var(--accent);margin-bottom:10px;font-size:10px;font-weight:750}.page-title p{margin-top:9px}.phase-chip,.muted-tag{background:var(--surface-muted);color:var(--text-secondary);white-space:nowrap;border-radius:20px;padding:7px 12px;font-size:11px}.welcome-card{background:linear-gradient(112deg, var(--welcome-start), var(--welcome-end));border:1px solid var(--welcome-border);border-radius:16px;justify-content:space-between;min-height:268px;margin-bottom:29px;padding:33px 38px;display:flex;overflow:hidden}.welcome-card h2{letter-spacing:-.6px;margin:14px 0 12px;font-size:28px;line-height:1.3}.welcome-card p{max-width:460px;margin-bottom:20px;font-size:13px}.pill{letter-spacing:1.5px;color:var(--success-text);font-size:9px;font-weight:750}.button{background:var(--teal);color:#fff;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:10px;padding:11px 17px;font-size:12px;font-weight:600;display:inline-flex}.button:hover{filter:brightness(.96)}.secondary{background:var(--surface);color:var(--text-secondary);border-color:var(--border);padding:9px 12px}.school-illustration{flex-shrink:0;place-items:center;width:270px;display:grid;position:relative}.illustration-icon{background:var(--surface);width:130px;height:130px;color:var(--accent);z-index:2;border-radius:35px;place-items:center;display:grid;transform:rotate(-6deg);box-shadow:0 15px 35px #1d5f6520}.orbit{opacity:.7;border:1px dashed #99c8c6;border-radius:50%;width:235px;height:235px;position:absolute}.orbit-two{opacity:.35;border-style:solid;width:180px;height:180px}.floating-icon{background:var(--surface);z-index:3;border-radius:13px;place-items:center;width:47px;height:47px;display:grid;position:absolute;box-shadow:0 6px 14px #395d6810}.float-a{color:var(--text-secondary);top:25px;left:13px;transform:rotate(-12deg)}.float-b{color:var(--accent);top:54px;right:15px;transform:rotate(10deg)}.float-c{color:var(--warning-text);bottom:4px;left:60px;transform:rotate(-8deg)}.section-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:17px;display:flex}.section-heading p{margin-top:5px;font-size:12px}.readiness-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;display:grid}.status-card{background:var(--surface);border:1px solid var(--border);border-radius:13px;padding:22px;position:relative}.icon-tile{background:var(--success-bg);color:var(--accent);border-radius:10px;justify-content:center;align-items:center;width:43px;height:43px;margin-bottom:17px;display:inline-flex}.status-card p{margin-top:7px;font-size:12px}.status-badge{color:var(--muted);background:var(--surface-soft);border-radius:20px;align-items:center;gap:5px;padding:5px 8px;font-size:10px;display:flex;position:absolute;top:25px;right:17px}.status-badge.connected{background:var(--success-bg);color:var(--success-text)}.as-of{margin:12px 0 0;font-size:10px}.bottom-grid{grid-template-columns:1.6fr 1fr;gap:22px;margin-top:27px;display:grid}.card{border:1px solid var(--border);background:var(--surface);border-radius:14px;padding:24px}.roadmap-row{border-bottom:1px solid var(--border-soft);align-items:center;gap:15px;padding:19px 0;display:flex}.roadmap-row:last-child{border:0;padding-bottom:5px}.step-number{background:var(--surface-soft);width:33px;height:33px;color:var(--text-secondary);border-radius:8px;flex-shrink:0;place-items:center;font-size:11px;font-weight:700;display:grid}.roadmap-row h3{font-size:13px}.roadmap-row p{margin-top:5px;font-size:11px}.row-status{color:var(--muted);white-space:nowrap;margin-left:auto;font-size:10px}.principles h2{line-height:1.5}.principles p{margin-top:10px;font-size:12px}.principles ul{color:var(--text-secondary);gap:12px;margin:20px 0;padding:0;font-size:12px;list-style:none;display:grid}.principles li{align-items:center;gap:9px;display:flex}.principles li svg{color:var(--accent)}.policy-note{background:var(--surface-soft);color:var(--muted);border-radius:8px;padding:12px;font-size:11px;line-height:1.6}.notice{background:var(--info-bg);border:1px solid var(--info-border);color:var(--text-secondary);border-radius:9px;margin:15px 0;padding:14px 17px;font-size:13px}.notice.pwa-update{z-index:90;left:50%;bottom:calc(16px + env(safe-area-inset-bottom,0px));flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 16px;width:min(760px,100% - 32px);margin:0;display:flex;position:fixed;transform:translate(-50%);box-shadow:0 8px 28px #0000002e}.pwa-update-text{flex:260px;min-width:0}.pwa-update-actions{flex-wrap:wrap;gap:8px;display:flex}@media (width<=480px){.notice.pwa-update{width:calc(100% - 16px);bottom:calc(8px + env(safe-area-inset-bottom,0px))}}.notice.error{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.page-footer{color:var(--muted);border-top:1px solid var(--border);justify-content:space-between;gap:14px;margin-top:29px;padding-top:18px;font-size:10px;display:flex}.lead{max-width:700px;margin:12px 0 25px}.menu-button,.mobile-close,.scrim{display:none}.skip-link{z-index:100;background:var(--surface);border-radius:8px;padding:14px;position:fixed;top:-70px;left:15px}.skip-link:focus{top:15px}.spinning{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (width>=1500px){main{padding:40px 60px}.welcome-card{padding:38px 46px}.school-illustration{margin-right:50px}}@media (width<=1150px){.sidebar{width:222px;padding:25px 15px}.main-column{width:calc(100% - 222px);margin-left:222px}main{padding:28px 24px}.topbar{padding:0 24px}.page-title{align-items:flex-start}.phase-chip{display:none}.status-badge{width:fit-content;margin:0 0 12px;position:static}.status-card .icon-tile{margin-bottom:10px}.bottom-grid{grid-template-columns:1fr}.school-illustration{width:210px}.orbit{width:190px;height:190px}.orbit-two{width:150px;height:150px}.illustration-icon{width:105px;height:105px}.row-status{font-size:9px}.welcome-card{padding:28px}}@media (width<=800px){.sidebar{width:252px;transition:transform .2s;transform:translate(-100%)}.sidebar.open{transform:translate(0)}.main-column{width:100%;margin-left:0}.menu-button,.mobile-close{color:var(--heading);background:0 0;border:0;padding:6px;display:flex}.mobile-close{color:#fff;margin-left:auto}.brand{gap:8px;padding-left:0;font-size:18px}.brand-mark{width:35px}.scrim{z-index:15;background:#12233875;border:0;display:block;position:fixed;inset:0}.topbar{gap:12px;height:64px;padding:0 17px}.breadcrumb{margin-right:auto}.topbar-right{gap:8px}.local-label{display:none}main{padding:25px 20px}.school-illustration{width:190px}.welcome-card h2{font-size:25px}.welcome-card p{max-width:360px}}@media (width<=560px){h1{font-size:25px}.page-title p{font-size:12px}.welcome-card{min-height:0;padding:25px}.school-illustration{display:none}.readiness-grid{grid-template-columns:1fr}.status-badge{position:absolute;top:25px;right:18px}.status-card{padding:20px}.status-card .icon-tile{margin-bottom:15px}.section-heading p{max-width:240px}.card{padding:20px}.row-status{display:none}.roadmap-row p{font-size:11px}.page-footer{flex-direction:column}.breadcrumb{gap:6px;font-size:12px}.locale{font-size:10px}.welcome-card h2{font-size:26px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}@media (width<=1150px){.page-title{flex-wrap:wrap}.phase-chip{display:inline-flex}}.account-security-link{flex-shrink:0;justify-content:center;align-items:center;min-width:44px;min-height:44px;display:inline-flex}.notification-bell{position:relative}.notification-badge{color:#fff;text-align:center;background:#b42318;border-radius:9px;min-width:18px;height:18px;padding:0 4px;font-size:11px;font-weight:700;line-height:18px;position:absolute;top:4px;right:2px}.notification-list{margin:0;padding:0;list-style:none}.notification-list li+li{border-top:1px solid var(--border,#e2e8f0)}.notification-list button{width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;gap:.25rem;padding:.75rem .5rem;display:grid}.notification-list li.unread button{border-left:3px solid #b42318;padding-left:.75rem}.notification-list li.read strong{font-weight:500}.notification-list small{opacity:.75}.security-setup code,.security-codes code{overflow-wrap:anywhere;-webkit-user-select:all;user-select:all}.security-setup dd{margin-bottom:.75rem;margin-left:0}.security-codes{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.6rem;padding-left:1.25rem;display:grid}@media print{.security-recovery,.security-setup,.account-security-link{display:none!important}}[lang=ur]{font-family:Noto Nastaliq Urdu,Jameel Noori Nastaleeq,Urdu Typesupport,Noto Naskh Arabic,Segoe UI,Tahoma,sans-serif;line-height:1.9}[lang=ur] input,[lang=ur] textarea,[lang=ur] select,[lang=ur] button{font-family:inherit}[dir=rtl] .ltr,[dir=rtl] input[type=number],[dir=rtl] input[type=tel],[dir=rtl] input[type=email]{direction:ltr;unicode-bidi:isolate}.language-switch{gap:.25rem;display:inline-flex}.language-switch button{border:1px solid var(--input-border);color:inherit;cursor:pointer;background:0 0;border-radius:999px;padding:.15rem .7rem}.language-switch button[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:var(--surface)}.password-input{display:block;position:relative}.password-input input{width:100%;padding-inline-end:2.5rem}.password-input button{color:var(--muted);cursor:pointer;background:0 0;border:0;align-items:center;padding:0 .35rem;display:flex;position:absolute;inset-block:0;inset-inline-end:.35rem}.password-input button:hover{color:var(--text)}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}.academic-tabs{flex-wrap:wrap;gap:8px;margin:0 0 25px;display:flex}.voucher-copy{overflow-wrap:anywhere}@media screen{.voucher-copy th,.voucher-copy td{overflow-wrap:normal}}@media print{.voucher-copy{break-after:page;break-inside:avoid}.voucher-copy:last-child{break-after:auto}.voucher-copy table{width:100%;min-width:0}.voucher-copy th,.voucher-copy td{padding:4px 8px}}.print-logo{object-fit:contain;max-width:160px;max-height:64px;margin-bottom:8px;display:block}.certificate .print-logo{margin-inline:auto}@media print{body[data-print-section] :not(:has(.print-section)):not(.print-section):not(.print-section *){display:none!important}}.academic-tabs a{color:var(--text-secondary);background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:11px 17px;font-size:13px}main:focus{outline:none}@media (width<=800px){.sidebar{visibility:hidden}.sidebar.open{visibility:visible}}.academic-tabs button{color:var(--text-secondary);background:var(--surface);border:1px solid var(--border);cursor:pointer;border-radius:8px;padding:11px 17px;font-size:13px}.academic-tabs button.active,.academic-tabs a.active{background:var(--teal);border-color:var(--accent);color:#fff}.list-filters{flex-wrap:wrap;align-items:end;gap:15px;margin-bottom:24px;display:flex}.list-filters label{flex:1;min-width:140px}.row-actions{gap:8px;display:flex}form .checkbox-label{flex-direction:row;align-items:center}.sidebar{overscroll-behavior:contain;overflow-y:auto}.main-column,main,.card{min-width:0}.workspace-heading{font-size:14px;font-weight:600}.metric-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:24px;display:grid}.metric-card{gap:12px;display:grid}.metric-card strong{color:var(--heading);font-size:30px;line-height:1}.metric-card h2{color:var(--muted);font-size:13px;font-weight:500}.shortcut-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:20px 0 28px;display:grid}.shortcut-card{transition:border-color .15s,box-shadow .15s;display:block}.shortcut-card:hover{border-color:var(--accent);box-shadow:0 5px 18px #2036540a}.shortcut-card h3{justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.dashboard-section{margin-top:28px}.text-link{color:var(--accent);font-weight:600;display:inline-block}.text-link:hover{text-decoration:underline}.notice>label{gap:8px;margin:14px 0;display:grid}.notice>.button{margin-top:12px}.notice h2{margin-bottom:10px}.audit-row{border-bottom:1px solid var(--border-soft);padding:16px 0}.empty-state{justify-items:start;gap:18px;display:grid}main>.card+.card{margin-top:24px}.card h2+p{margin-top:10px}.sidebar nav a{min-height:44px}@media (width<=1100px){.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=600px){.metric-grid,.shortcut-grid{grid-template-columns:1fr}.metric-card{grid-template-columns:auto 1fr;align-items:center}.metric-card .icon-tile{grid-row:span 2}.metric-card h2{grid-column:2}.workspace-heading{font-size:12px}.auth-card{padding:25px}}.checkbox-label input{width:18px;height:18px}.academic-context{color:var(--muted);flex-direction:column;gap:6px;font-size:12px;display:flex}.academic-context select{width:260px;max-width:100%;font-size:12px}.auth-screen{background:radial-gradient(ellipse at top right, var(--auth-glow), transparent 55%), var(--page);flex-direction:column;justify-content:center;align-items:center;max-width:none;min-height:100vh;padding:42px 20px;display:flex}.auth-brand{color:var(--heading);align-items:center;gap:12px;margin-bottom:28px;font-size:22px;display:flex}.auth-brand svg{color:var(--accent)}.auth-card{background:var(--surface);border:1px solid var(--border);border-radius:18px;width:100%;max-width:460px;padding:38px;box-shadow:0 12px 40px #20365408}.auth-card.wide{max-width:750px}.auth-card h1{margin-bottom:10px;font-size:26px}.auth-card form{margin-top:25px}.auth-card form>label{margin:17px 0}.auth-card form>.button{width:100%;margin-top:12px}.auth-card form>fieldset{border:0;margin:0;padding:0}.auth-card form>fieldset>label{margin:17px 0;display:block}.auth-card form>fieldset>button[type=submit]{margin-top:8px}.auth-bottom{border-top:1px solid var(--border-soft);color:var(--muted);margin-top:26px;padding-top:20px;font-size:13px}.auth-bottom a,.auth-bottom .link-button{color:var(--accent);font-weight:650}.link-button{min-height:44px;font:inherit;cursor:pointer;text-align:start;background:0 0;border:0;padding:0}.auth-card form>fieldset>.button+.button{margin-top:10px}.auth-footnote{align-items:center;gap:7px;margin-top:23px;font-size:11px;display:flex}form label{color:var(--text-secondary);flex-direction:column;gap:8px;font-size:13px;font-weight:600;display:flex}input,textarea,select{font:inherit;color:var(--text);border:1px solid var(--input-border);background:var(--surface);border-radius:8px;width:100%;min-width:0;padding:11px 12px}input:focus-visible,textarea:focus-visible,select:focus-visible{outline-offset:2px;outline:3px solid #9ad3cb}textarea{resize:vertical}form small{color:var(--muted);font-weight:400;line-height:1.5}fieldset:disabled input,fieldset:disabled textarea,fieldset:disabled select{background:var(--surface-soft);color:var(--muted)}.form-grid{grid-template-columns:1fr 1fr;gap:22px;margin:22px 0;display:grid}.form-grid .full-width{grid-column:1/-1}.form-actions{flex-wrap:wrap;align-items:center;gap:15px;margin-top:23px;font-size:13px;display:flex}.unsaved{color:var(--warning-text);font-size:12px}.notice.success{background:var(--success-bg);color:var(--success-text);border-color:var(--success-border)}.profile-identity{border-bottom:1px solid var(--border-soft);align-items:center;gap:20px;padding-bottom:24px;display:flex}.school-avatar{background:var(--success-bg);width:78px;height:78px;color:var(--accent);border-radius:15px;flex-shrink:0;place-items:center;font-size:32px;font-weight:700;display:grid;overflow:hidden}.school-avatar img{object-fit:contain;background:var(--surface);width:100%;height:100%}.file-label{color:var(--accent);margin-top:10px;font-size:12px}.file-label input{max-width:280px;padding:6px;font-size:11px}.context-selectors{gap:12px;max-width:80%;display:flex}.context-selectors label{min-width:0}.context-selectors select{max-width:250px;padding:9px;font-size:12px}.table-scroll,.table-wrap{overflow-x:auto}table{border-collapse:collapse;text-align:left;width:100%;font-size:13px}th{color:var(--muted);background:var(--surface-soft);font-size:11px;font-weight:650}th,td{border-bottom:1px solid var(--border-soft);padding:15px}.campus-form{margin-top:22px}.leave-dialog{width:calc(100% - 40px);max-width:430px;margin:auto}.leave-dialog::backdrop{background:#12233880}.leave-dialog p{margin-top:12px}@media (width<=600px){.auth-screen{padding:25px 15px}.auth-card{padding:27px 22px}.form-grid{grid-template-columns:1fr;gap:18px}.profile-identity{align-items:flex-start;gap:14px}.school-avatar{width:55px;height:55px}.profile-identity p{font-size:11px}.file-label input{max-width:190px}.context-selectors{gap:6px;max-width:75%}.context-selectors select{padding:8px 5px;font-size:10px}}fieldset{border:0;min-width:0;margin:0 0 1rem;padding:0}legend{margin-bottom:.6rem;font-weight:600}.platform-shell{gap:1.4rem;max-width:1200px;margin:0 auto;padding:2rem;display:grid}.platform-shell>*{min-width:0}.platform-shell header{flex-wrap:wrap;gap:1rem}.platform-shell .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.platform-shell input{width:100%}@media (width<=650px){.platform-shell{padding:1rem}.platform-shell .form-grid{grid-template-columns:1fr}}.list-filters .checkbox-label{flex:none;min-width:0;padding-bottom:12px}.muted-tag.archived{background:var(--warning-bg);color:var(--warning-text)}.cell-note{color:var(--muted);margin-top:4px;font-size:12px;display:block}.checkbox-stack{flex-direction:column;justify-content:center;gap:10px;display:flex}.choice-group{flex-wrap:wrap;gap:10px 22px;display:flex}.choice-group legend{width:100%}.choice-group .as-of{width:100%;margin:0}fieldset>.checkbox-label+.checkbox-label{margin-top:6px}.schedule-list{gap:16px;display:grid}.schedule-card{border:1px solid var(--border);border-radius:12px;padding:16px 18px}.schedule-card header{align-items:center;gap:12px;display:flex}.schedule-card header>div{flex:1}.schedule-card h3{margin:0}.schedule-card header p{color:var(--muted);margin:4px 0 0;font-size:13px}.period-strip{flex-wrap:wrap;gap:8px;margin:14px 0 0;padding:0;list-style:none;display:flex}.period-strip li{background:var(--success-bg);border-radius:10px;flex-direction:column;gap:2px;min-width:96px;padding:8px 10px;font-size:12px;display:flex}.period-strip li.is-break{background:var(--warning-bg)}.period-strip span{color:var(--text-secondary)}.period-editor{gap:12px;margin-bottom:12px;display:grid}.period-row{grid-template-columns:2fr 1fr 1fr auto auto;align-items:end;gap:12px;display:grid}.period-row .checkbox-label{padding-bottom:12px}@media (width<=760px){.period-row{border-bottom:1px solid var(--border);grid-template-columns:1fr 1fr;padding-bottom:12px}.period-row label:first-child{grid-column:1/-1}.schedule-card header{flex-wrap:wrap}.page-title{flex-direction:column;align-items:stretch}.academic-context select{width:100%}}.picker-row{flex-wrap:wrap;align-items:end;gap:0 16px;display:flex}.picker-row>.notice{flex-basis:100%}.section-picker{flex-direction:column;flex:240px;gap:6px;max-width:420px;margin-bottom:18px;display:flex}.assignment-actions{align-items:center;gap:8px;display:flex}.assignment-actions select{min-width:200px}@media (width<=760px){.assignment-actions{flex-wrap:wrap}}.timetable-meta{justify-content:space-between;align-items:center;gap:12px;display:flex}.timetable-grid th,.timetable-grid td{vertical-align:top;min-width:120px}.timetable-grid tbody th{text-align:left;min-width:90px}.timetable-grid tr.is-break td,.timetable-grid tr.is-break th{background:var(--warning-bg);color:var(--warning-text);text-align:center}.timetable-grid td.has-conflict{outline-offset:-2px;background:var(--error-bg);outline:2px solid #cf4c59}.lesson{flex-direction:column;gap:2px;font-size:13px;display:flex}.lesson-editor{flex-direction:column;gap:6px;display:flex}.lesson-editor select{min-width:130px;padding:6px 8px;font-size:12px}.draft-start{flex-wrap:wrap;align-items:end;gap:14px;margin:8px 0 18px;display:flex}.timetable-history{color:var(--text-secondary);margin-top:18px;font-size:13px}@media print{.sidebar,.topbar,.page-footer,.academic-tabs,.section-picker,.no-print,.skip-link,.page-title p{display:none!important}.main-column,main{margin:0!important;padding:0!important}.card{box-shadow:none;border:0}.table-scroll,.table-wrap{overflow:visible}}.new-version{border:1px dashed var(--input-border);background:var(--surface-soft);border-radius:12px;padding:14px 16px}.new-version-title{flex-basis:100%}.cover-summary{flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:16px;display:flex}.absence-card header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.absence-card h3{margin:0}.absence-card header p{color:var(--muted);margin:4px 0 0;font-size:13px}.cover-cell,.cover-picker,.cancel-reason{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.cover-picker select,.cover-picker input,.cancel-reason input{min-width:180px;font-size:13px}.cover-picker .notice,.cancel-reason .notice{flex-basis:100%}.time-pair{gap:12px;display:flex}.detail-header{flex-wrap:wrap;align-items:flex-start;gap:12px;display:flex}.detail-header>div{flex:1}.detail-header h2{margin:0}.detail-header p{color:var(--muted);margin:4px 0 0;font-size:13px}.inquiry-actions{gap:12px;margin:12px 0;display:grid}.action-box{border:1px solid var(--border);border-radius:10px;flex-wrap:wrap;align-items:center;gap:8px;margin:8px 0;padding:12px;display:flex}.action-box legend{padding:0 4px}.action-box input,.action-box select{flex:180px;min-width:180px}.approve-box{border-color:var(--accent)}.duplicate-warning{color:var(--warning-text);flex-basis:100%}.checklist{flex-wrap:wrap;align-items:end;gap:12px 20px;margin-bottom:12px;display:flex}.checklist label{flex-direction:column;gap:4px;min-width:180px;display:flex}.activity-list{color:var(--text-secondary);padding:0;font-size:13px;list-style:none}.activity-list li{border-bottom:1px solid var(--border-soft);padding:6px 0}.tag-list{flex-wrap:wrap;gap:10px;padding:0;list-style:none;display:flex}.tag-list li{align-items:center;gap:6px;display:flex}.sidebar nav{scrollbar-width:thin;flex:auto;align-content:start;gap:4px;min-height:0;margin-bottom:14px;overflow-y:auto}.sidebar nav a{padding:10px 14px}@media (height<=820px){.sidebar{padding:22px 16px}.sidebar-note{gap:8px;padding:12px}.sidebar-note>svg,.sidebar-note p,.sidebar-footer{display:none}}.certificate{text-align:center;max-width:760px;margin:0 auto;padding:40px 48px}.certificate h1{margin-bottom:4px}.certificate-no{color:var(--text-secondary)}.certificate dl{text-align:left;grid-template-columns:200px 1fr;gap:10px 16px;margin:28px 0;display:grid}.certificate dt{font-weight:600}.signatures{justify-content:space-between;margin-top:64px;display:flex}.signatures span{border-top:1px solid var(--text);min-width:180px;padding-top:6px}.promotion-plan{gap:12px;display:grid}@media (width<=600px){.certificate{padding:24px 16px}.certificate dl{grid-template-columns:1fr;gap:2px}.certificate dd{margin:0 0 10px}.signatures{flex-wrap:wrap;gap:32px}.signatures span{flex:120px;min-width:0}}.guardian-form{gap:10px;display:grid}.guardian-form .duplicate-warning,.guardian-form p{margin:0}.attendance-register table{min-width:680px}.attendance-register td select{min-width:120px}.attendance-register td input{min-width:180px}.report-heading{gap:2px;margin:8px 0 12px;display:grid}.report-heading strong{font-size:1.1rem}.report-summary{flex-wrap:wrap;gap:8px 20px;margin-bottom:12px;display:flex}.report-table caption{text-align:left;padding:4px 0;font-weight:600}.report-table td.over{color:var(--error-strong);font-weight:600}.report-generated{margin-top:12px}.diary-sheet-entry{border-top:1px solid var(--border);overflow-wrap:anywhere;padding:14px 0}.diary-print-body{white-space:pre-wrap}@page diary-sheet{size:A4 portrait;margin:12mm}@media print{.diary-print-page{page:diary-sheet;padding:0}.admission-slip-page{page:diary-sheet;overflow-wrap:anywhere;padding:0}.diary-sheet-entry h2,.diary-sheet-entry h3{break-after:avoid}.report-page .teacher-home-table{width:100%;min-width:0}}@page report{size:A4 landscape;margin:10mm}@media print{.report-page{page:report;padding:0}.report-table{font-size:9pt}.report-table thead{display:table-header-group}.report-table tr{break-inside:avoid}.report-table a{color:inherit;text-decoration:none}}.report-table tr.import-error td{background:var(--error-bg)}.import-messages{color:var(--error-strong);margin:0;padding-left:16px}.attendance-grid th,.attendance-grid td{text-align:center;white-space:nowrap;padding:6px 4px}.attendance-grid th:first-child,.attendance-grid td:first-child{text-align:left;white-space:normal;min-width:140px}.attendance-grid th small{font-weight:400;display:block}.attendance-grid th.day-holiday,.attendance-grid th.day-noschool{background:var(--surface-muted)}.attendance-grid td.mark-absent{color:var(--error-strong);font-weight:600}@media print{.attendance-grid{font-size:7pt}.attendance-grid .cell-note{font-size:inherit}}.error-text{color:var(--error-strong)}.diary-list{grid-template-columns:minmax(0,1fr);gap:12px;display:grid}.diary-card{overflow-wrap:anywhere;border:1px solid var(--border);border-radius:10px;gap:6px;min-width:0;padding:12px 14px;display:grid}.diary-card header{justify-content:space-between;gap:8px;display:flex}.diary-card p{margin:0}.diary-body{white-space:pre-wrap}.month-calendar{table-layout:fixed;min-width:640px}.month-calendar td{vertical-align:top;height:84px;padding:6px}.month-calendar td.holiday{background:var(--error-bg)}.month-calendar .event{overflow-wrap:anywhere;margin-top:3px;font-size:.75rem;display:block}.month-calendar .event-holiday{color:var(--error-strong);font-weight:600}.month-calendar .event-due{color:var(--warning-text)}.plain-list{flex-wrap:wrap;gap:8px;margin:8px 0;padding:0;list-style:none;display:flex}.report-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;margin-bottom:16px;display:grid}.report-grid caption,.card>.table-scroll>table>caption{text-align:left;padding:4px 0 8px;font-weight:600}.muted-row td{color:var(--muted);font-style:italic}button.link-button{box-shadow:none;color:var(--success-text);text-align:left;background:0 0;border:0;min-height:0;padding:0;text-decoration:underline}.teacher-home-table{min-width:680px}.renewal-coverage-table{min-width:900px}.renewal-coverage-table td:nth-child(3){white-space:nowrap}.lesson-plan-actions{flex-wrap:wrap}.lesson-plan-actions button{flex:none;max-width:100%}.student-update-section{margin-top:24px}.student-update-changes{white-space:normal;overflow-wrap:anywhere;min-width:220px;max-width:650px;margin:0;padding-left:18px}.student-update-changes li+li{margin-top:8px}.fee-packages{margin-top:24px}.fee-package-panel,.fee-package-panel>h3,.fee-package-panel>section{margin-top:20px}.fee-package-panel>.button,.fee-package-panel>form>fieldset>.button{margin:12px 8px 0 0}.fee-package-panel input[type=number]{min-width:110px}.fee-package-panel select{min-width:150px}.fee-package-history{gap:12px;padding-left:20px;display:grid}.fee-package-history p{overflow-wrap:anywhere}.audit-row.internal-note{border-left:3px solid var(--warning-text);background:var(--warning-bg);padding-left:10px}.sla-badge{white-space:nowrap;background:var(--surface-muted);color:var(--text-secondary);border-radius:20px;padding:3px 9px;font-size:11px;font-weight:600;display:inline-block}.sla-badge.sla-ontrack,.sla-badge.sla-met{background:var(--success-bg);color:var(--success-text)}.sla-badge.sla-duesoon{background:var(--warning-bg);color:var(--warning-text)}.sla-badge.sla-breached{background:var(--error-bg);color:var(--error-text)}.card p,.notice p{overflow-wrap:break-word}@media (width<=600px){.row-actions,.page-title,.diary-card header{flex-wrap:wrap}}.plain-list{flex-wrap:wrap;gap:8px;padding:0;list-style:none;display:flex}.inline-fields{align-items:center;gap:8px;display:flex}.inline-fields input[type=color]{width:48px;min-width:48px;padding:2px}.app-logo-preview{object-fit:contain;background:#fff;border-radius:12px;width:64px;height:64px;margin-top:6px;display:block}.build-log{white-space:pre-wrap;word-break:break-word;background:var(--surface-2,#7f7f7f14);border-radius:8px;max-height:320px;padding:10px;font-size:12px;overflow:auto}.payment-codes{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;margin:8px 0;display:flex}.payment-barcode{width:60mm;max-width:100%;height:12mm;margin:4px 0;display:block}.payment-codes figure{text-align:center;margin:0}.payment-qr{width:26mm;height:26mm;display:block}.payment-codes figcaption{font-size:.75rem}@media print{.payment-codes{break-inside:avoid}}.student-photo img{object-fit:cover;border:1px solid var(--border);border-radius:8px;width:140px;height:170px;display:block}.admission-slip-photo{float:right;border:1px solid var(--border);width:35mm;height:45mm;color:var(--muted);place-items:center;margin:0 0 8px 12px;font-size:.85rem;display:grid}.admission-slip-photo img{object-fit:cover;width:100%;height:100%}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--page:#f1f5fb;--surface:#fff;--surface-soft:#f3f6fa;--surface-muted:#e6edf6;--text:#172436;--heading:#203654;--text-secondary:#415a76;--muted:#617187;--border:#e1e7f0;--border-soft:#edf0f5;--input-border:#d5dfeb;--teal:#147e74;--accent:#147e74;--success-bg:#e8f7f3;--success-text:#146e66;--success-border:#c6e6dc;--warning-bg:#fdf1e1;--warning-text:#8a5a12;--error-bg:#fff2f3;--error-text:#a03747;--error-strong:#b42318;--error-border:#ebcfd4;--info-bg:#e8f0f8;--info-border:#d7e1ee;--welcome-start:#e3f1f0;--welcome-end:#edf5fa;--welcome-border:#d4e6e6;--auth-glow:#dcefeb;--brand-start:#203654;--brand-end:#147e74;--on-brand:#fff;--appbar-bg:#ffffffe6;--nav-bg:#fffffff2;--nav-active-bg:#e3f3f0;--nav-active-text:#0f6b62;--card-shadow:0 1px 2px #1724360d, 0 6px 18px #1724360f;--card-shadow-raised:0 14px 36px #17243624;--card-press:#edf2f8;--skeleton-base:#e6edf6;--skeleton-shine:#f5f8fc;--scrim:#12233880;--chip-neutral-bg:#e9eef5;--chip-neutral-text:#3c5068;--focus-ring:#d49c39;--auth-glow-2:#e2eaf7;--mb-ink:#1b1f27;--mb-red:#e1251b;--mb-tile:#fff}@media screen{:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--mb-ink:#eceef2;--mb-red:#ff4136;--mb-tile:#12151b;--page:#101923;--surface:#192635;--surface-soft:#213142;--surface-muted:#2b3c50;--text:#e8eff7;--heading:#edf4fc;--text-secondary:#c0cee0;--muted:#adbed2;--border:#3c5067;--border-soft:#304257;--input-border:#526981;--accent:#78d6c7;--success-bg:#173d37;--success-text:#99e7cf;--success-border:#32665a;--warning-bg:#44351e;--warning-text:#f2ca83;--error-bg:#482a34;--error-text:#ffbcc8;--error-strong:#ffb1a9;--error-border:#885061;--info-bg:#21374e;--info-border:#45617d;--welcome-start:#173a3b;--welcome-end:#24354a;--welcome-border:#3a5d60;--auth-glow:#214b45;--brand-start:#2a4a70;--brand-end:#187a70;--on-brand:#fff;--appbar-bg:#192635eb;--nav-bg:#192635f5;--nav-active-bg:#1d4a44;--nav-active-text:#a5ecdf;--card-shadow:0 1px 2px #0000004d, 0 6px 18px #00000038;--card-shadow-raised:0 14px 36px #00000073;--card-press:#223446;--skeleton-base:#24364a;--skeleton-shine:#30465d;--scrim:#040a12a8;--chip-neutral-bg:#2b3c50;--chip-neutral-text:#c8d5e5;--focus-ring:#f0b85a;--auth-glow-2:#1d3047}}.theme-toggle{border:1px solid var(--border);min-width:44px;min-height:44px;color:var(--text);background:var(--surface-soft);border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;gap:8px;padding:9px 12px;font-size:12px;font-weight:600;display:inline-flex}.theme-toggle:hover{background:var(--surface-muted)}.auth-theme-control{position:absolute;top:20px;right:20px}.auth-screen{padding-top:88px;position:relative}.topbar{gap:12px}.topbar .context-selectors{flex:1;min-width:0;max-width:none}.topbar .context-selectors label{flex:1;max-width:250px}.topbar .workspace-heading{overflow-wrap:anywhere;min-width:0}.topbar>.theme-toggle{margin-left:auto}@media (width<=800px){.theme-toggle span{display:none}.theme-toggle{padding:9px}.topbar .locale{display:none}.topbar .context-selectors{flex:1;min-width:0}}@media print{:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:#fff}.theme-toggle,.auth-theme-control{display:none!important}}.powered-by{color:var(--muted);letter-spacing:.2px;text-align:center;margin:18px 0 0;font-size:11px;font-weight:500;line-height:1.4}.family-powered-by{margin:28px 0 8px}.portal-sheet-powered-by{margin-top:20px}.family-shell .sidebar,.family-shell .scrim,.family-shell .topbar,.family-shell .page-footer{display:none!important}.family-shell{background:var(--page);min-height:100dvh;display:block}.family-shell .main-column{margin-left:0;width:100%;margin-inline:0}.family-shell main{max-width:1080px;padding:24px max(24px, env(safe-area-inset-left,0px), env(safe-area-inset-right,0px)) 40px;margin-inline:auto}.family-shell :is(button,a,select,[tabindex]):focus-visible{outline:3px solid var(--focus-ring);outline-offset:2px}.portal-appbar{z-index:30;background:var(--appbar-bg);-webkit-backdrop-filter:saturate(1.6)blur(14px);backdrop-filter:saturate(1.6)blur(14px);border-block-end:1px solid var(--border);padding-block-start:env(safe-area-inset-top,0px);position:sticky;top:0}.portal-appbar-row{max-width:1080px;min-height:64px;padding:8px max(16px, env(safe-area-inset-left,0px), env(safe-area-inset-right,0px));align-items:center;gap:12px;margin-inline:auto;display:flex}.portal-appbar-brand{flex:1;align-items:center;gap:12px;min-width:0;display:flex}.portal-brand-mark{background:var(--mb-tile,#fff);border:1px solid var(--border);border-radius:12px;flex-shrink:0;place-items:center;width:40px;height:40px;display:grid;box-shadow:0 6px 16px #1724361f}.portal-brand-mark-lg{border-radius:22px;width:72px;height:72px}.portal-brand-text{min-width:0;line-height:1.3;display:grid}.portal-brand-text strong{color:var(--heading);text-overflow:ellipsis;white-space:nowrap;font-size:16px;font-weight:700;overflow:hidden}.portal-brand-text small{color:var(--muted);font-size:12px}.portal-appbar-actions{flex-shrink:0;align-items:center;gap:6px;display:flex}.family-shell .theme-toggle{border-radius:12px}.portal-appbar .theme-toggle{width:44px;padding:0}.portal-appbar .theme-toggle span{display:none}.portal-icon-button{border:1px solid var(--border);width:44px;height:44px;color:var(--text);background:var(--surface-soft);border-radius:12px;flex-shrink:0;place-items:center;padding:0;display:inline-grid}.portal-icon-button:hover{background:var(--surface-muted)}.portal-school-switch{max-width:1080px;padding:0 max(16px, env(safe-area-inset-left,0px), env(safe-area-inset-right,0px)) 10px;margin-inline:auto;display:block}.portal-school-switch select{padding:9px 12px;font-size:13px}[dir=rtl] .portal-flip-rtl{transform:scaleX(-1)}.portal-page,.portal-intro,.portal-section{gap:16px;min-width:0;display:grid}.portal-hero{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.portal-hero-text{min-width:0}.portal-title{color:var(--heading);letter-spacing:-.3px;overflow-wrap:anywhere;font-size:22px;line-height:1.3}.portal-lead{margin-top:4px;font-size:13px}.portal-refresh{border:1px solid var(--border);min-width:44px;min-height:44px;color:var(--text-secondary);background:var(--surface);box-shadow:var(--card-shadow);border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;gap:8px;padding:0 16px;font-size:13px;font-weight:600;display:inline-flex}.portal-refresh[aria-busy=true]{color:var(--accent)}.portal-child-bar{border:1px solid var(--welcome-border);background:linear-gradient(120deg, var(--welcome-start), var(--welcome-end));border-radius:18px;align-items:center;gap:14px;padding:14px 16px;display:flex}.portal-avatar{width:40px;height:40px;color:var(--on-brand);background:linear-gradient(135deg, var(--brand-start), var(--brand-end));letter-spacing:.5px;border-radius:50%;flex-shrink:0;place-items:center;font-size:14px;font-weight:700;display:grid}.portal-avatar-lg{width:52px;height:52px;font-size:17px}.portal-child-meta{flex:1;min-width:0}.portal-child-meta h2{color:var(--heading);overflow-wrap:anywhere;font-size:18px}.portal-child-meta p{margin-top:2px;font-size:12px}.portal-switch{border:1px solid var(--border);min-height:44px;color:var(--text);background:var(--surface);box-shadow:var(--card-shadow);border-radius:999px;flex-shrink:0;align-items:center;gap:6px;padding:0 14px;font-size:13px;font-weight:600;display:inline-flex}.portal-child-list{gap:10px;margin:0;padding:0;list-style:none;display:grid}.portal-child-link{border:1px solid var(--border);background:var(--surface);border-radius:14px;align-items:center;gap:12px;min-height:60px;padding:10px 14px;display:flex}.portal-child-link:hover{background:var(--surface-soft)}.portal-child-link[aria-current=true]{border-color:var(--accent);background:var(--nav-active-bg)}.portal-child-text{flex:1;min-width:0;display:grid}.portal-child-text strong{color:var(--heading);overflow-wrap:anywhere;font-size:15px}.portal-child-text small{color:var(--muted);font-size:12px}.portal-child-chevron{color:var(--muted);flex-shrink:0}.portal-tabs{gap:8px;margin:0}.portal-tabs .button{border-radius:999px;gap:8px;min-height:44px;padding:10px 16px;font-size:13px}.portal-tabs .button[aria-current=page]{color:#fff;background:var(--teal);box-shadow:var(--card-shadow);border-color:#0000}.portal-bottom-nav{display:none}.portal-bottom-item{min-width:0;min-height:56px;color:var(--muted);background:0 0;border:0;border-radius:14px;flex-direction:column;flex:1 1 0;justify-content:center;align-items:center;gap:3px;padding:6px 2px;font-size:11px;font-weight:650;display:flex}.portal-bottom-item span{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.portal-bottom-item svg{box-sizing:content-box;border-radius:999px;padding:3px 14px}.portal-bottom-item[aria-current=page],.portal-bottom-item.is-active{color:var(--nav-active-text)}.portal-bottom-item[aria-current=page] svg,.portal-bottom-item.is-active svg{background:var(--nav-active-bg)}.portal-sheet{color:var(--text);background:0 0;border:0;padding:0}.portal-sheet[open]{justify-content:center;align-items:flex-end;width:100%;max-width:100%;height:100%;max-height:100%;margin:0;display:flex;position:fixed;inset:0}.portal-sheet::backdrop{background:#12233880;background:var(--scrim)}.portal-sheet-body{width:100%;max-width:560px;max-height:min(80vh,640px);padding:8px 16px calc(20px + env(safe-area-inset-bottom,0px));background:var(--surface);box-shadow:var(--card-shadow-raised);border-radius:22px 22px 0 0;overflow-y:auto}.portal-sheet-handle{background:var(--border);border-radius:999px;width:40px;height:4px;margin:4px auto 8px;display:block}.portal-sheet-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.portal-sheet-header h2{color:var(--heading);font-size:17px}.portal-more-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;display:grid}.portal-more-item{border:1px solid var(--border);min-height:56px;color:var(--text);background:var(--surface-soft);text-align:start;border-radius:14px;align-items:center;gap:10px;padding:10px 12px;font-size:14px;font-weight:600;display:flex}.portal-more-item[aria-current=page]{border-color:var(--accent);color:var(--nav-active-text);background:var(--nav-active-bg)}.portal-home{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px;display:grid}.portal-home-card{border:1px solid var(--border);min-width:0;min-height:120px;color:var(--text);background:var(--surface);box-shadow:var(--card-shadow);text-align:start;border-radius:18px;flex-direction:column;gap:10px;padding:14px;display:flex}.portal-home-card:hover{box-shadow:var(--card-shadow-raised)}.portal-home-card-head{align-items:center;gap:10px;width:100%;display:flex}.portal-home-icon{width:36px;height:36px;color:var(--accent);background:var(--success-bg);border-radius:11px;flex-shrink:0;place-items:center;display:grid}.portal-home-title{min-width:0;color:var(--text-secondary);flex:1;font-size:13px;font-weight:650}.portal-home-chevron{color:var(--muted);flex-shrink:0}[dir=rtl] .portal-home-chevron{transform:scaleX(-1)}.portal-home-body{flex-direction:column;align-items:flex-start;gap:6px;width:100%;min-width:0;display:flex}.portal-home-figure{color:var(--heading);letter-spacing:-.3px;overflow-wrap:anywhere;font-size:20px;font-weight:750}.portal-home-strong{color:var(--heading);overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:14px;font-weight:650;display:-webkit-box;overflow:hidden}.portal-home-note{color:var(--muted);font-size:12px;line-height:1.5}.portal-home-body .portal-skeleton-line{width:70%;height:14px}.portal-chip-row{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.portal-chip{vertical-align:middle;border:1px solid #0000;border-radius:999px;align-items:center;gap:6px;max-width:100%;padding:2px 10px;font-size:12px;font-weight:650;line-height:1.6;display:inline-flex}td .portal-chip{white-space:nowrap}.portal-chip-dot{background:currentColor;border-radius:50%;flex-shrink:0;width:6px;height:6px}.portal-chip.tone-success{border-color:var(--success-border);color:var(--success-text);background:var(--success-bg)}.portal-chip.tone-warning{color:var(--warning-text);background:var(--warning-bg)}.portal-chip.tone-danger{border-color:var(--error-border);color:var(--error-text);background:var(--error-bg)}.portal-chip.tone-info{border-color:var(--info-border);color:var(--text-secondary);background:var(--info-bg)}.portal-chip.tone-neutral{color:var(--chip-neutral-text);background:var(--chip-neutral-bg)}.portal-empty{text-align:center;flex-direction:column;align-items:center;gap:10px;padding:24px 12px;display:flex}.portal-empty-icon{border:1px solid var(--border-soft);width:52px;height:52px;color:var(--muted);background:var(--surface-soft);border-radius:16px;place-items:center;display:grid}.portal-empty p{max-width:360px;font-size:13px}.portal-skeleton{border:1px solid var(--border-soft);background:var(--surface);border-radius:16px;gap:10px;padding:16px;display:grid}.portal-skeleton-line{background:var(--skeleton-base);border-radius:6px;width:100%;height:12px;display:block}.portal-skeleton-line:nth-child(3n){width:72%}.portal-skeleton-line:nth-child(3n+1){width:48%}.portal-page .card{border-color:var(--border);box-shadow:var(--card-shadow);border-radius:18px;padding:20px}.portal-page .card>*+*{margin-top:12px}.portal-page .card .card{border-color:var(--border-soft);background:var(--surface-soft);box-shadow:none;border-radius:14px;padding:14px 16px}.portal-page .card h2{color:var(--heading);font-size:17px;line-height:1.4}.portal-page .card h3{color:var(--heading);line-height:1.5}.portal-page .table-wrap{border:1px solid var(--border-soft);border-radius:12px}.portal-page th,.portal-page td{text-align:start;padding:12px 14px}.portal-page tr:last-child td{border-bottom:0}.portal-page .button,.portal-page :is(input:not([type=checkbox]):not([type=radio]),select,textarea){border-radius:10px;min-height:44px}.portal-page .form-actions{gap:10px}.auth-screen{background:radial-gradient(ellipse 70% 55% at 100% 0%, var(--auth-glow), transparent 70%), radial-gradient(ellipse 60% 50% at 0% 100%, var(--auth-glow-2), transparent 70%), var(--page)}.auth-brand{text-align:center;flex-direction:column;gap:14px}.auth-school-logo{object-fit:contain;background:#fff;border-radius:14px;width:64px;height:64px;padding:6px}.auth-brand small{color:var(--muted);letter-spacing:.3px;margin-top:4px;font-size:12px;font-weight:500;display:block}.auth-card{border-color:var(--border-soft);box-shadow:var(--card-shadow-raised);position:relative;overflow:hidden}.auth-card:before{content:"";background:linear-gradient(90deg, var(--brand-start), var(--brand-end));height:4px;position:absolute;inset-block-start:0;inset-inline:0}.auth-card form :is(input:not([type=checkbox]),select){border-radius:10px;min-height:46px}.auth-card form>fieldset>.button,.auth-card form>fieldset>button[type=submit]{border-radius:10px;width:100%;min-height:46px;font-size:14px}.auth-card form>fieldset>a{min-height:44px;color:var(--accent);align-items:center;font-size:13px;font-weight:650;display:inline-flex}.portal-splash{gap:18px}.portal-splash-text{color:var(--muted);font-size:14px}.portal-splash-bar{background:var(--skeleton-base);border-radius:999px;width:120px;height:4px;position:relative;overflow:hidden}.portal-splash-bar:after{content:"";inset-block:0;border-radius:inherit;background:var(--accent);width:40%;position:absolute;left:0}@media (width<=800px){.family-shell main{padding:16px max(16px, env(safe-area-inset-left,0px), env(safe-area-inset-right,0px)) calc(96px + env(safe-area-inset-bottom,0px))}.family-shell .portal-title{font-size:18px}.family-shell .portal-lead{font-size:12px}.family-shell .portal-tabs{display:none}.family-shell .portal-bottom-nav{z-index:40;padding:6px max(8px, env(safe-area-inset-left,0px), env(safe-area-inset-right,0px)) calc(6px + env(safe-area-inset-bottom,0px));border-block-start:1px solid var(--border);background:var(--nav-bg);-webkit-backdrop-filter:saturate(1.6)blur(14px);backdrop-filter:saturate(1.6)blur(14px);justify-content:space-around;gap:2px;display:flex;position:fixed;inset-block-end:0;inset-inline:0;box-shadow:0 -6px 20px #1724360f}.family-shell~.notice.pwa-update{bottom:calc(84px + env(safe-area-inset-bottom,0px))}}@media (width<=560px){.portal-home{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}.portal-home-card{min-height:112px;padding:12px}.portal-home-figure{font-size:18px}.portal-refresh{padding:0}.portal-refresh-text{display:none}.portal-page .card{border-radius:16px;padding:16px}.portal-brand-text small{display:none}}@media (width>=801px){.portal-sheet[open]{align-items:center}.portal-sheet-body{border-radius:22px;padding-bottom:20px}.portal-sheet-handle{display:none}}@media (prefers-reduced-motion:no-preference){.portal-section{animation:.22s cubic-bezier(.2,.8,.2,1) both portal-enter}.portal-sheet[open] .portal-sheet-body{animation:.24s cubic-bezier(.2,.8,.2,1) portal-sheet-in}.portal-sheet[open]::backdrop{animation:.2s ease-out portal-fade}.portal-home-card,.portal-child-link,.portal-more-item,.portal-bottom-item,.portal-icon-button,.portal-refresh,.portal-switch,.portal-tabs .button{transition:transform .15s,background-color .15s,box-shadow .15s,color .15s}.portal-home-card:active,.portal-child-link:active,.portal-more-item:active,.portal-switch:active,.portal-refresh:active{transform:scale(.98)}.portal-bottom-item:active,.portal-icon-button:active{transform:scale(.94)}.portal-skeleton-line{background:linear-gradient(90deg, var(--skeleton-base) 25%, var(--skeleton-shine) 50%, var(--skeleton-base) 75%);background-size:200% 100%;animation:1.2s ease-in-out infinite portal-shimmer}.portal-splash-bar:after{animation:1.1s ease-in-out infinite portal-indeterminate}}.portal-home-card:active,.portal-child-link:active,.portal-more-item:active{background:var(--card-press)}@keyframes portal-enter{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@keyframes portal-sheet-in{0%{opacity:.4;transform:translateY(24px)}to{opacity:1;transform:none}}@keyframes portal-fade{0%{opacity:0}}@keyframes portal-shimmer{0%{background-position:100% 0}to{background-position:-100% 0}}@keyframes portal-indeterminate{0%{transform:translate(-100%)}to{transform:translate(250%)}}@media print{.family-shell main{max-width:none;padding:0}.portal-appbar,.portal-bottom-nav,.portal-sheet{display:none!important}.portal-page .card{box-shadow:none}.portal-section{animation:none}.portal-chip{border-color:currentColor;background:0 0!important}}@media (width<=600px){:is(html:has(.auth-screen),body:has(.auth-screen)){overflow-x:hidden}.auth-screen{min-height:100dvh;padding:calc(20px + env(safe-area-inset-top)) 16px calc(20px + env(safe-area-inset-bottom));justify-content:flex-start}.auth-theme-control{top:calc(10px + env(safe-area-inset-top));right:12px}.auth-brand{text-align:start;flex-direction:row;align-self:flex-start;gap:12px;margin:6px 0 18px;font-size:19px}.auth-brand .portal-brand-mark-lg{border-radius:14px;width:52px;height:52px}.auth-brand .portal-brand-mark-lg svg{width:34px;height:34px}.auth-card{border-radius:16px;max-width:none;padding:22px 18px}.auth-card h1{margin-bottom:6px;font-size:22px}.auth-card form{margin-top:14px}.auth-card form>fieldset>label{margin:12px 0}}.portal-avatar-photo{border-radius:inherit;object-fit:cover;width:100%;height:100%}
