:root{color-scheme:light;--color-canvas: #fff9f2;--color-surface: #ffffff;--color-ink: #21182b;--color-muted: #665d70;--color-border: #e9e2ed;--color-violet: #6c4dff;--color-pink: #ff4f8b;--color-orange: #ff8a00;--color-yellow: #ffd84d;--color-mint: #2ecf95;--color-cobalt: #2378ff;--color-violet-soft: #eee9ff;--color-pink-soft: #fff0f5;--color-mint-soft: #e8fff6;--color-blue-soft: #eaf2ff;--color-danger: #c72b4e;--color-focus: #21182b;--shadow-float: 0 14px 34px rgb(33 24 43 / .1);--radius-control: 12px;--radius-panel: 18px;--radius-focus: 24px;--space-1: 4px;--space-2: 8px;--space-3: 12px;--space-4: 16px;--space-5: 20px;--space-6: 24px;--space-8: 32px;--motion-fast: .14s;--motion-standard: .22s}.class-management-subnav{display:flex;width:100%;min-width:0;max-width:100%;overflow-x:auto;box-sizing:border-box;gap:7px;padding:5px;border:1px solid var(--border);border-radius:17px;background:var(--surface-muted);scrollbar-width:thin}.class-management-subnav a{display:inline-flex;align-items:center;gap:7px;padding:10px 13px;border-radius:12px;color:var(--text-muted);text-decoration:none;white-space:nowrap;font-size:.86rem;font-weight:650}.class-management-subnav a svg{width:17px;height:17px}.class-management-subnav a.is-active{color:var(--primary);background:var(--surface);box-shadow:var(--shadow-sm)}@media(max-width:640px){.class-management-subnav{margin-inline:-4px}.class-management-subnav a{min-height:44px}}.grade-import{display:grid;gap:1rem;overflow:hidden}.grade-import__header,.grade-import__footer{align-items:center;display:flex;gap:1rem;justify-content:space-between}.grade-import__header h2,.grade-import__header p,.grade-import__footer p{margin:0}.grade-import__header h2{color:var(--ink-strong, #21182b);margin-top:.25rem}.grade-import__header p,.grade-import__footer p{color:var(--ink-muted, #6e6278);line-height:1.6}.grade-import__shield{align-items:center;background:color-mix(in srgb,#2ecf95 14%,white);border:1px solid color-mix(in srgb,#2ecf95 38%,white);border-radius:999px;color:#117853;display:inline-flex;flex:0 0 auto;font-size:.82rem;font-weight:800;gap:.4rem;padding:.55rem .75rem}.grade-import__shield svg,.grade-import__upload>svg{height:1.15rem;width:1.15rem}.grade-import__actions{display:grid;gap:.75rem;grid-template-columns:repeat(2,minmax(0,1fr))}.grade-import__upload{align-items:center;background:linear-gradient(135deg,color-mix(in srgb,#ffd84d 22%,white),#fff);border:1px solid color-mix(in srgb,#ff8a00 28%,white);border-radius:1.1rem;color:#593208;cursor:pointer;display:flex;gap:.8rem;min-height:5.2rem;padding:.9rem 1rem;transition:border-color .16s ease,transform .16s ease}.grade-import__upload--photo{background:linear-gradient(135deg,color-mix(in srgb,#ff4f8b 13%,white),#fff);border-color:color-mix(in srgb,#ff4f8b 28%,white);color:#7d2144}.grade-import__upload:hover:not(.is-disabled){border-color:currentColor;transform:translateY(-1px)}.grade-import__upload:focus-within{outline:3px solid color-mix(in srgb,#6c4dff 28%,transparent);outline-offset:2px}.grade-import__upload.is-disabled{cursor:wait;opacity:.62}.grade-import__upload input{height:1px;opacity:0;position:absolute;width:1px}.grade-import__upload span{display:grid;gap:.2rem}.grade-import__upload strong,.grade-import__upload small{line-height:1.35}.grade-import__upload small{opacity:.8}.grade-import__workspace{border-top:1px solid color-mix(in srgb,#6c4dff 14%,white);display:grid;gap:.85rem;padding-top:1rem}.grade-import__batch-select{align-items:center;display:flex;gap:.7rem}.grade-import__batch-select span{color:var(--ink-muted, #6e6278);font-size:.84rem;font-weight:800}.grade-import__batch-select select{max-width:min(100%,34rem)}.grade-import__summary{display:flex;flex-wrap:wrap;gap:.55rem}.grade-import__summary span{background:color-mix(in srgb,#6c4dff 8%,white);border-radius:999px;color:#54455e;padding:.42rem .7rem}.grade-import__summary .is-valid{background:color-mix(in srgb,#2ecf95 13%,white);color:#117853}.grade-import__summary .is-invalid{background:color-mix(in srgb,#ff4f8b 11%,white);color:#9b2856}.grade-import__table-wrap{max-height:30rem;overflow:auto}.grade-import__table th:first-child{min-width:11rem}.grade-import__table th small{color:var(--ink-muted, #6e6278);display:block;font-weight:500;margin-top:.2rem}.grade-import__table select,.grade-import__table input{min-width:8.2rem}.grade-import__table tr.has-error{background:color-mix(in srgb,#ff4f8b 5%,white)}.grade-import__table ul{color:#a42657;font-size:.8rem;margin:0;padding-left:1rem}.grade-import__ok{align-items:center;color:#117853;display:inline-flex;font-size:.82rem;font-weight:800;gap:.3rem;white-space:nowrap}.grade-import__ok svg{height:1rem;width:1rem}.grade-import__footer{align-items:flex-start}.grade-import__footer>div{display:flex;flex:0 0 auto;gap:.55rem}@media(max-width:760px){.grade-import__header,.grade-import__footer{align-items:stretch;flex-direction:column}.grade-import__shield{align-self:flex-start}.grade-import__actions{grid-template-columns:1fr}.grade-import__batch-select{align-items:stretch;flex-direction:column}.grade-import__batch-select select{max-width:none;width:100%}.grade-import__footer>div{display:grid;grid-template-columns:1fr 1fr}}@media(prefers-reduced-motion:reduce){.grade-import__upload{transition:none}}.academics-page{--academic-violet: #6c4dff;--academic-pink: #ff4f8b;--academic-orange: #ff8a00;--academic-yellow: #ffd84d;--academic-mint: #2ecf95;--academic-blue: #2378ff;--academic-ink: #21182b}.academics-state-panel{min-height:13rem;display:grid;place-items:center}.academics-context{display:grid;grid-template-columns:minmax(15rem,1fr) minmax(13rem,.8fr) minmax(15rem,1fr);gap:1rem;align-items:end;border-top:4px solid var(--academic-yellow)}.academics-context__intro{display:flex;gap:.8rem;align-items:center}.academics-context__intro>span,.academic-chart-icon{width:2.65rem;height:2.65rem;border-radius:.9rem;display:grid;place-items:center;flex:0 0 auto}.academics-context__intro>span{color:#fff;background:var(--academic-violet)}.academics-context__intro svg,.academic-chart-icon svg{width:1.35rem;height:1.35rem}.academics-context__intro strong,.academics-select>span{color:var(--academic-ink);font-weight:800}.academics-context__intro p{margin:.25rem 0 0;color:#756b7c;font-size:.86rem;line-height:1.45}.academics-select{display:grid;gap:.45rem}.academics-select select,.score-table select,.score-table input{width:100%;min-height:2.75rem;border:1px solid #ded6e5;border-radius:.8rem;background:#fff;color:var(--academic-ink);padding:.62rem .75rem;font:inherit}.academics-select select:focus-visible,.score-table select:focus-visible,.score-table input:focus-visible{outline:3px solid rgba(108,77,255,.25);border-color:var(--academic-violet)}.academics-insights{display:grid;gap:1rem}.academics-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.academic-summary-card{min-width:0;border:1px solid #e9e2ec;border-left:5px solid var(--academic-violet);border-radius:1rem;background:#fff;padding:1rem 1.1rem;display:grid;grid-template-columns:auto 1fr;gap:.3rem .65rem;box-shadow:0 8px 22px #21182b0f}.academic-summary-card>svg{grid-row:1 / span 2;width:1.4rem;color:var(--academic-violet)}.academic-summary-card>span,.academic-summary-card>small{color:#756b7c}.academic-summary-card>strong{color:var(--academic-ink);font-size:clamp(1.35rem,2.2vw,2rem);line-height:1.1}.academic-summary-card>small{grid-column:1 / -1;margin-top:.3rem}.academic-summary-card--yellow{border-left-color:var(--academic-orange)}.academic-summary-card--yellow>svg{color:var(--academic-orange)}.academic-summary-card--mint{border-left-color:var(--academic-mint)}.academic-summary-card--mint>svg{color:#158c67}.academics-chart-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(18rem,.75fr);gap:1rem;align-items:start}.academic-chart-card{min-width:0}.academic-chart-card>figcaption{display:flex;gap:.8rem;align-items:center;margin-bottom:1rem}.academic-chart-card h2{margin:0;color:var(--academic-ink);font-size:1.08rem}.academic-chart-card figcaption p{margin:.25rem 0 0;color:#756b7c;font-size:.84rem}.academic-chart-icon--violet{color:var(--academic-violet);background:#eeeaff}.academic-chart-icon--pink{color:#c52d67;background:#ffe5ef}.academic-trend-svg{display:block;width:100%;min-height:12rem;overflow:visible}.academic-grid-line{stroke:#e7e0ea;stroke-width:1}.academic-axis-label{fill:#817788;font-size:11px}.academic-trend-line{stroke:var(--academic-violet);stroke-width:4;stroke-linecap:round;stroke-linejoin:round}.academic-trend-dot{fill:#fff;stroke:var(--academic-pink);stroke-width:4}.academic-point-label{fill:var(--academic-ink);font-size:12px;font-weight:800}.academic-chart-empty{min-height:9rem;display:grid;place-items:center;color:#756b7c;border:1px dashed #dcd2e1;border-radius:.9rem}.academic-band-chart{display:grid;gap:.85rem;margin:1.1rem 0 1.35rem}.academic-band>div{display:flex;justify-content:space-between;gap:1rem;margin-bottom:.35rem;color:var(--academic-ink)}.academic-band-track{height:.72rem;display:block;border-radius:.3rem;overflow:hidden;background:#f0ebf2}.academic-band-track>span{display:block;height:100%;background:var(--academic-violet)}.academic-band--good .academic-band-track>span{background:var(--academic-blue)}.academic-band--pass .academic-band-track>span{background:#cf9d00}.academic-band--support .academic-band-track>span{background:var(--academic-pink)}.academic-table-wrap{width:100%;overflow-x:auto;border:1px solid #ebe4ee;border-radius:.85rem}.academic-data-table{width:100%;min-width:34rem;border-collapse:collapse;background:#fff;color:var(--academic-ink)}.academic-data-table caption{padding:.7rem .85rem;text-align:left;font-weight:800;color:#5c5063;background:#faf7fb}.academic-data-table th,.academic-data-table td{padding:.72rem .85rem;text-align:left;border-top:1px solid #eee8f0;vertical-align:middle}.academic-data-table thead th{font-size:.82rem;color:#6f6377;background:#fffdfd}.academic-data-table--compact{min-width:15rem}.academic-data-table--compact td{text-align:right;font-weight:800}.score-editor{border-top:4px solid var(--academic-pink)}.score-editor__header,.score-editor__footer{display:flex;justify-content:space-between;gap:1rem;align-items:center}.score-editor__header{margin-bottom:1rem}.score-editor__header h2{margin:.15rem 0;color:var(--academic-ink)}.score-editor__header p,.score-editor__footer p{margin:0;color:#756b7c}.academic-eyebrow{color:#b3265a;font-size:.76rem;font-weight:900;letter-spacing:.08em}.score-editor__count{color:var(--academic-violet);font-weight:900;font-size:1.1rem}.score-table{min-width:38rem}.score-table th:first-child{min-width:10rem}.score-table select,.score-table input{min-width:8rem}.score-table input:disabled,.score-table select:disabled,.academics-select select:disabled{color:#8c838f;background:#f4f1f5;cursor:not-allowed}.score-editor__footer{margin-top:1rem}.academic-quality-draft{border-top:4px solid var(--academic-mint)}.academic-quality-draft>header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1rem}.academic-quality-draft__title{display:flex;align-items:center;gap:.8rem}.academic-quality-draft__title>span{display:grid;width:2.7rem;height:2.7rem;flex:0 0 auto;place-items:center;border-radius:.9rem;color:#0a7956;background:#daf8ec}.academic-quality-draft h2,.academic-quality-draft h3{margin:0;color:var(--academic-ink)}.academic-quality-draft h2{font-size:1.08rem}.academic-quality-draft h3{font-size:.86rem}.academic-quality-draft header p,.academic-quality-draft__source>p{margin:.25rem 0 0;color:#756b7c;font-size:.8rem;line-height:1.5}.academic-quality-draft__privacy{display:inline-flex;align-items:center;gap:.35rem;padding:.45rem .65rem;border-radius:999px;color:#0a7956;background:#daf8ec;font-size:.72rem;font-weight:800;white-space:nowrap}.academic-quality-draft__privacy svg,.academic-quality-draft__boundary svg{width:1rem;height:1rem}.academic-quality-draft__body{display:grid;grid-template-columns:minmax(15rem,.7fr) minmax(20rem,1.3fr);gap:1rem}.academic-quality-draft__source,.academic-quality-draft__result{min-width:0;padding:1rem;border:1px solid #e8e1eb;border-radius:1rem;background:#fffafd}.academic-quality-draft__source dl{display:grid;gap:.5rem;margin:.9rem 0}.academic-quality-draft__source dl>div{display:flex;justify-content:space-between;gap:.75rem;padding-bottom:.45rem;border-bottom:1px solid #eee7f0}.academic-quality-draft__source dt{color:#756b7c;font-size:.75rem}.academic-quality-draft__source dd{margin:0;font-size:.78rem;font-weight:800;text-align:right}.academic-quality-draft__result .field{margin:0}.academic-quality-draft__result textarea{width:100%;resize:vertical}.academic-quality-draft__result>.button{margin-top:.7rem}.academic-quality-draft__boundary{display:flex;align-items:center;gap:.4rem;margin:.9rem 0 0;color:#756b7c;font-size:.72rem}@media(max-width:980px){.academics-context,.academics-chart-grid,.academic-quality-draft__body{grid-template-columns:1fr}.academics-context__intro{grid-column:1 / -1}}@media(max-width:720px){.academics-summary-grid{grid-template-columns:1fr}.academic-summary-card{padding:.9rem}.academic-trend-svg{min-height:9.5rem}.score-editor__header,.score-editor__footer,.academic-quality-draft>header{align-items:stretch;flex-direction:column}.score-editor__footer .button{width:100%}}@media(prefers-reduced-motion:reduce){.academics-page *{scroll-behavior:auto}}.exam-paper-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(13rem,1fr));gap:.55rem;padding:0;border:0}.exam-paper-list legend{grid-column:1 / -1;margin-bottom:.2rem;color:var(--academic-ink);font-weight:850}.exam-paper-list label{display:grid;grid-template-columns:auto 1fr 5.6rem;align-items:center;gap:.5rem;padding:.65rem;border:1px solid #e7dfeb;border-radius:.8rem;background:#fff}.exam-paper-list label>input[type=number]{min-width:0;width:100%}.academic-donut-layout{display:grid;grid-template-columns:minmax(9rem,.7fr) minmax(11rem,1fr);gap:1rem;align-items:center}.academic-donut{width:100%;max-height:13rem}.academic-donut-bg{stroke:#f0ebf2}.academic-donut-total{fill:var(--academic-ink);font-size:1.6rem;font-weight:900}.academic-donut-caption{fill:#756b7c;font-size:.65rem}.academic-donut-legend{display:grid;gap:.55rem;padding:0;list-style:none}.academic-donut-legend li{display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;gap:.45rem}.academic-donut-legend i,.academic-metric-legend i{width:.72rem;height:.72rem;border-radius:.2rem}.academic-donut-legend small{color:#756b7c}.academic-subject-metrics,.academic-session-trend{margin-top:1rem}.academic-metric-legend{display:flex;flex-wrap:wrap;gap:.8rem;margin-bottom:.9rem}.academic-metric-legend span{display:inline-flex;align-items:center;gap:.35rem;color:#756b7c;font-size:.78rem;font-weight:800}.academic-metric-legend .is-average{background:var(--academic-violet)}.academic-metric-legend .is-pass{background:var(--academic-blue)}.academic-metric-legend .is-excellent{background:var(--academic-mint)}.academic-subject-bars .is-average{--bar-color: var(--academic-violet)}.academic-subject-bars .is-pass{--bar-color: var(--academic-blue)}.academic-subject-bars .is-excellent{--bar-color: var(--academic-mint)}.academic-subject-bars{display:grid;gap:.8rem}.academic-subject-row{display:grid;grid-template-columns:minmax(5rem,.2fr) minmax(0,1fr);gap:.75rem;align-items:center}.academic-subject-row>div{display:grid;gap:.25rem}.academic-subject-row>div>span{position:relative;display:block;width:100%;min-width:0;height:1.2rem;overflow:hidden;border-radius:999px;background:linear-gradient(90deg,var(--bar-color) 0 var(--bar-width),#f0ebf2 var(--bar-width) 100%)}.academic-subject-row em{position:absolute;inset:0 .4rem;display:grid;align-items:center;justify-content:end;color:#21182b;font-size:.68rem;font-style:normal;font-weight:900;white-space:nowrap}@media(max-width:720px){.academic-donut-layout{grid-template-columns:1fr}.academic-donut{max-height:11rem}.academic-subject-row{grid-template-columns:1fr}}.android-download-card{width:min(100%,440px);padding:18px;border:1px solid color-mix(in srgb,var(--color-violet) 22%,var(--color-border));border-radius:20px;background:radial-gradient(circle at 92% 8%,rgb(255 216 77 / .34),transparent 34%),linear-gradient(145deg,var(--color-surface),var(--color-violet-soft));box-shadow:0 12px 28px #21182b14}.android-download-card__heading{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px}.android-download-card__heading small{color:var(--color-muted);font-size:.72rem;font-weight:700;letter-spacing:.04em}.android-download-card__heading h3{margin:2px 0 0;color:var(--color-ink);font-size:1rem}.android-download-card__icon{display:grid;width:42px;height:42px;place-items:center;border-radius:14px;color:#fff;background:linear-gradient(135deg,var(--color-violet),var(--color-pink));box-shadow:0 8px 16px #6c4dff33}.android-download-card__icon svg{width:21px;height:21px}.android-download-card__badge{display:inline-flex;align-items:center;gap:4px;padding:5px 8px;border-radius:999px;color:#13684c;background:var(--color-mint-soft);font-size:.7rem;font-weight:750}.android-download-card__badge svg{width:14px;height:14px}.android-download-card>p{margin:13px 0 10px;color:var(--color-muted);font-size:.82rem;line-height:1.65}.android-download-card ul,.android-download-card ol{margin:0;padding-left:1.15rem;color:var(--color-muted);font-size:.76rem;line-height:1.75}.android-download-card__download{display:flex;min-height:46px;align-items:center;justify-content:center;gap:8px;margin-top:14px;border-radius:14px;color:#fff;background:linear-gradient(105deg,var(--color-violet),var(--color-pink));box-shadow:0 10px 20px #6c4dff38;font-size:.88rem;font-weight:780;text-decoration:none;transition:transform var(--motion-fast) ease,box-shadow var(--motion-fast) ease}.android-download-card__download:hover{transform:translateY(-1px);box-shadow:0 13px 24px #6c4dff45}.android-download-card__download svg{width:18px;height:18px}.android-download-card details{margin-top:11px;border-top:1px solid var(--color-border);padding-top:10px}.android-download-card summary{display:flex;align-items:center;gap:7px;min-height:34px;color:var(--color-ink);cursor:pointer;font-size:.78rem;font-weight:700}.android-download-card summary svg{width:16px;height:16px;color:var(--color-pink)}.android-download-card details ol{margin-top:8px}@media(max-width:520px){.android-download-card{padding:15px;border-radius:17px}.android-download-card__heading{grid-template-columns:auto minmax(0,1fr)}.android-download-card__badge{grid-column:2;justify-self:start}}.agent-chat-page{display:grid;height:100dvh;min-height:0;grid-template-rows:auto auto minmax(360px,1fr) auto;margin:0;border:1px solid var(--color-border);border-radius:0;background:#ffffffd1;box-shadow:0 22px 60px #52387e17;overflow:hidden}.agent-chat-page--safety-hidden{grid-template-rows:auto minmax(360px,1fr) auto}.agent-chat-header{display:flex;min-height:82px;align-items:center;justify-content:space-between;gap:24px;padding:18px 24px;border-bottom:1px solid var(--color-border);background:var(--color-surface)}.agent-chat-header__identity,.agent-chat-header__actions,.agent-chat-context,.agent-chat-safety,.agent-message,.agent-message__meta,.agent-message__actions{display:flex;align-items:center}.agent-chat-header__identity{gap:13px}.agent-chat-header__actions{gap:10px}.agent-conversation-picker{display:flex;min-width:170px;max-width:240px;align-items:center;gap:7px;padding:7px 10px;border:1px solid var(--color-border);border-radius:12px;color:var(--color-muted);background:#fff}.agent-conversation-picker svg{width:15px;height:15px;flex:0 0 auto}.agent-conversation-picker select{width:100%;min-width:0;border:0;outline:0;color:var(--color-ink);background:transparent;font-size:.73rem;font-weight:750;text-overflow:ellipsis}.agent-chat-header__mark{display:grid;width:46px;height:46px;flex:0 0 auto;place-items:center;border-radius:15px;color:#fff;background:linear-gradient(135deg,var(--color-violet),var(--color-pink));box-shadow:4px 4px 0 var(--color-yellow)}.agent-chat-header__mark svg{width:23px;height:23px}.agent-chat-header h1{font-size:1.22rem;letter-spacing:-.03em}.agent-chat-header p{margin-top:3px;color:var(--color-muted);font-size:.76rem}.agent-chat-context{max-width:290px;gap:7px;padding:7px 11px;border:1px solid var(--color-border);border-radius:999px;color:var(--color-muted);background:var(--color-canvas);font-size:.74rem;font-weight:750;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.agent-chat-context>span{width:7px;height:7px;flex:0 0 auto;border-radius:50%;background:var(--color-mint);box-shadow:0 0 0 3px #2ecf9529}.agent-context-meter{position:relative;min-width:92px;padding:7px 9px;border-radius:999px;color:var(--color-muted);background:var(--color-canvas);font-size:.68rem;text-align:center;overflow:hidden}.agent-context-meter>span{position:absolute;inset:auto auto 0 0;height:3px;background:linear-gradient(90deg,var(--color-violet),var(--color-pink))}.agent-context-meter b{position:relative;font-weight:750}.agent-chat-safety{gap:9px;padding:10px 24px;border-bottom:1px solid rgb(46 207 149 / .2);color:#26634f;background:#2ecf9514;font-size:.76rem}.agent-chat-safety svg{width:17px;flex:0 0 auto;color:#17845c}.agent-chat-safety>span{min-width:0;flex:1}.agent-chat-safety>button{display:grid;width:30px;height:30px;flex:0 0 auto;place-items:center;border:0;border-radius:10px;color:#26634f;background:transparent}.agent-chat-safety>button:hover,.agent-chat-safety>button:focus-visible{background:#2ecf9529}.agent-chat-safety>button svg{width:16px;height:16px}.agent-chat-thread{min-height:0;padding:28px clamp(18px,5vw,76px);overflow-y:auto}.agent-chat-thread--empty{display:grid;place-items:center}.agent-chat-welcome{width:min(720px,100%);text-align:center}.agent-chat-welcome__mark{display:grid;width:62px;height:62px;margin:0 auto 18px;place-items:center;border:2px solid var(--color-ink);border-radius:21px;color:var(--color-ink);background:var(--color-yellow);box-shadow:6px 6px 0 var(--color-violet)}.agent-chat-welcome__mark svg{width:29px;height:29px}.agent-chat-welcome h2{font-size:clamp(1.55rem,3vw,2.1rem);letter-spacing:-.045em}.agent-chat-welcome>p{max-width:590px;margin:10px auto 24px;color:var(--color-muted);line-height:1.7}.agent-quick-prompts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.agent-quick-prompts button{display:flex;min-height:86px;align-items:flex-start;flex-direction:column;justify-content:space-between;gap:12px;padding:15px;border:1px solid var(--color-border);border-radius:16px;color:var(--color-ink);background:#fff;font-size:.8rem;font-weight:800;text-align:left;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}.agent-quick-prompts button:hover,.agent-quick-prompts button:focus-visible{border-color:var(--color-violet);box-shadow:0 10px 24px #6c4dff1f;transform:translateY(-2px)}.agent-quick-prompts svg{width:20px;height:20px;color:var(--color-violet)}.agent-message-list{width:min(860px,100%);margin:0 auto}.agent-message{align-items:flex-start;gap:11px;margin-bottom:22px}.agent-message--user{flex-direction:row-reverse}.agent-message__avatar{display:grid;width:34px;height:34px;flex:0 0 auto;place-items:center;border-radius:12px;color:#fff;background:var(--color-violet);font-size:.72rem;font-weight:850}.agent-message--user .agent-message__avatar{color:var(--color-ink);background:var(--color-yellow)}.agent-message__avatar svg{width:18px;height:18px}.agent-message__content{max-width:min(680px,calc(100% - 50px));padding:15px 17px;border:1px solid var(--color-border);border-radius:7px 18px 18px;background:#fff;box-shadow:0 8px 22px #52387e0f}.agent-message--user .agent-message__content{border-color:#6c4dff4d;border-radius:18px 7px 18px 18px;background:var(--color-violet-soft)}.agent-message__content p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75}.agent-message__time{display:block;margin-top:8px;color:var(--color-muted);font-size:.64rem;text-align:right}.agent-message__content textarea{width:min(640px,72vw);max-width:100%;min-height:140px;padding:0;border:0;outline:0;background:transparent;line-height:1.75;resize:vertical}.agent-message__content--loading{min-width:260px;padding:8px 14px}.agent-message__content--streaming{min-width:min(520px,calc(100vw - 110px))}.agent-stream-cursor{display:inline-block;width:7px;height:1.05em;margin-left:3px;vertical-align:-.15em;border-radius:2px;background:var(--color-violet);animation:agent-stream-blink .9s steps(1,end) infinite}@keyframes agent-stream-blink{50%{opacity:.18}}.agent-message__meta{flex-wrap:wrap;gap:6px;margin-top:13px}.agent-message__meta span{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;border-radius:999px;color:var(--color-muted);background:var(--color-canvas);font-size:.68rem;font-weight:750}.agent-message__meta svg{width:12px;height:12px;color:var(--color-violet)}.agent-message__actions{flex-wrap:wrap;gap:7px;margin-top:12px}.agent-message__actions .button{min-height:34px;padding:7px 11px;font-size:.72rem}.agent-artifact-download{display:grid;width:100%;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;margin-top:12px;padding:10px 12px;border:1px solid rgb(108 77 255 / .22);border-radius:13px;color:var(--color-ink);background:var(--color-violet-soft);text-align:left}.agent-artifact-download>svg{width:18px;color:var(--color-violet)}.agent-artifact-download>span{display:grid;min-width:0}.agent-artifact-download strong{overflow:hidden;font-size:.75rem;text-overflow:ellipsis;white-space:nowrap}.agent-artifact-download small{color:var(--color-muted);font-size:.65rem}.agent-reminder-draft{display:flex;align-items:flex-start;gap:10px;margin-top:13px;padding:12px;border:1px solid rgb(255 138 0 / .32);border-radius:14px;background:#ffd84d29}.agent-reminder-draft>svg{width:19px;height:19px;flex:0 0 auto;margin-top:2px;color:var(--color-orange)}.agent-reminder-draft div{display:grid;gap:2px}.agent-reminder-draft strong{font-size:.82rem}.agent-reminder-draft span{color:var(--color-muted);font-size:.73rem}.agent-reminder-draft small{color:#8d5b00;font-size:.68rem;font-weight:750}.agent-reminder-draft--confirmed{border-color:#2ecf9552;background:#2ecf951a}.agent-reminder-draft--confirmed>svg,.agent-reminder-draft--confirmed small{color:#17845c}.agent-reminder-draft--rejected{border-color:#6c4dff38;background:#6c4dff12}.agent-reminder-draft--rejected>svg,.agent-reminder-draft--rejected small{color:var(--color-violet)}.agent-reminder-draft--failed{border-color:#ff4f8b4d;background:#ff4f8b14}.agent-reminder-draft--failed>svg,.agent-reminder-draft--failed small{color:#bb285d}.agent-composer-shell{padding:10px clamp(18px,5vw,76px) 18px;border-top:1px solid var(--color-border);background:#fffffff5}.agent-composer-shell>.notice{width:min(860px,100%);margin:0 auto 9px}.agent-run-progress{width:min(860px,100%);margin:0 auto 7px;color:var(--color-violet);font-size:.69rem;font-weight:750}.agent-composer{position:relative;width:min(860px,100%);margin:0 auto;padding:12px 58px 27px 52px;border:2px solid rgb(108 77 255 / .3);border-radius:19px;background:#fff;box-shadow:0 12px 30px #6c4dff1a}.agent-composer:focus-within{border-color:var(--color-violet)}.agent-composer textarea{width:100%;min-height:52px;max-height:150px;padding:0;border:0;outline:0;background:transparent;line-height:1.6;resize:none}.agent-composer__send{position:absolute;right:11px;bottom:13px;display:grid;width:38px;height:38px;place-items:center;border:0;border-radius:13px;color:#fff;background:var(--color-violet);box-shadow:0 7px 16px #6c4dff3d}.agent-composer__send:disabled{color:#aaa1ae;background:#eee9f1;box-shadow:none}.agent-composer__send svg{width:18px;height:18px}.agent-composer__attach{position:absolute;bottom:13px;left:10px;display:grid;width:36px;height:36px;place-items:center;border:0;border-radius:12px;color:var(--color-violet);background:var(--color-violet-soft)}.agent-composer__attach:disabled{color:#aaa1ae;background:#eee9f1}.agent-composer__attach svg{width:18px;height:18px}.agent-staged-files{display:flex;margin-bottom:8px;flex-wrap:wrap;gap:6px}.agent-staged-files>span{display:inline-flex;max-width:100%;align-items:center;gap:5px;padding:5px 6px 5px 8px;border-radius:10px;color:var(--color-ink);background:var(--color-canvas);font-size:.68rem}.agent-staged-files>span>span{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-staged-files svg{width:14px;height:14px;flex:0 0 auto}.agent-staged-files button{display:grid;width:22px;height:22px;place-items:center;border:0;border-radius:7px;background:#fff}.agent-staged-files small{width:100%;color:var(--color-muted);font-size:.64rem}.agent-composer__hint{position:absolute;right:60px;bottom:8px;left:52px;display:flex;justify-content:space-between;color:var(--color-muted);font-size:.65rem}@media(max-width:1024px){.agent-chat-page{height:100dvh;min-height:0;margin:0}}@media(max-width:720px){.agent-chat-page{grid-template-rows:auto auto minmax(0,1fr) auto;border:0}.agent-chat-page--safety-hidden{grid-template-rows:auto minmax(0,1fr) auto}.agent-chat-header{display:grid;min-height:54px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;padding:calc(6px + env(safe-area-inset-top)) 10px 6px}.agent-chat-header__identity{width:auto;min-width:0;gap:7px}.agent-chat-header__identity>div{min-width:0}.agent-chat-header__mark{width:32px;height:32px;border-radius:11px;box-shadow:3px 3px 0 var(--color-yellow)}.agent-chat-header__mark svg{width:17px;height:17px}.agent-chat-header h1{font-size:.9rem;white-space:nowrap}.agent-chat-header p{display:none}.agent-chat-header__actions{display:grid;width:100%;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:5px}.agent-conversation-picker{width:100%;min-width:0;max-width:none;padding:5px 7px;border-radius:10px}.agent-conversation-picker select{font-size:.68rem}.agent-chat-context{display:none}.agent-context-meter{min-width:28px;width:28px;height:28px;padding:0}.agent-context-meter b{display:none}.agent-chat-header__actions .button{min-width:34px;min-height:34px;padding:6px}.agent-chat-header__actions .button span{display:none}.agent-chat-safety{min-height:38px;gap:6px;padding:4px 8px 4px 10px;font-size:.66rem;line-height:1.35}.agent-chat-safety strong{display:none}.agent-chat-safety>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.agent-chat-safety>button{width:28px;height:28px}.agent-chat-thread{padding:14px 10px 16px;overscroll-behavior:contain}.agent-quick-prompts{grid-template-columns:repeat(2,minmax(0,1fr))}.agent-message__content{max-width:calc(100% - 42px)}.agent-message__actions .button{flex:1 1 auto}.agent-composer-shell{z-index:5;padding:6px 66px calc(6px + env(safe-area-inset-bottom)) 8px;box-shadow:0 -10px 30px #21182b14}.agent-composer{min-height:50px;padding:7px 44px;border-radius:17px}.agent-composer textarea{height:36px;min-height:36px;max-height:88px;font-size:.82rem;line-height:1.35}.agent-composer__send{right:7px;bottom:7px;width:34px;height:34px;border-radius:12px}.agent-composer__attach{bottom:7px;left:6px;width:34px;height:34px}.agent-composer__hint{display:none}}@media(max-width:420px){.agent-chat-header__identity .agent-chat-header__mark{display:none}.agent-chat-header h1{font-size:.82rem}.agent-quick-prompts{grid-template-columns:1fr}.agent-quick-prompts button{min-height:64px}}@media(prefers-reduced-motion:reduce){.agent-quick-prompts button{transition:none}.agent-stream-cursor{animation:none}}.student-lifecycle-dialog{display:grid;gap:18px}.student-lifecycle-dialog .form-stack{padding:16px;border:1px solid var(--color-border);border-radius:var(--radius-panel);background:linear-gradient(145deg,var(--color-surface),var(--color-violet-soft))}.student-lifecycle-dialog__identity{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:var(--radius-control);color:var(--color-violet);background:var(--color-violet-soft)}.student-lifecycle-dialog__identity>svg{width:20px;height:20px;flex:0 0 auto}.student-lifecycle-dialog__identity span{display:grid;min-width:0;gap:2px}.student-lifecycle-dialog__identity small{color:var(--color-muted);font-weight:700}.student-lifecycle-dialog__identity code{overflow:hidden;color:var(--color-ink);font-size:.76rem;text-overflow:ellipsis}.student-lifecycle-dialog__section{display:grid;gap:14px;padding:16px;border:1px solid var(--color-border);border-radius:var(--radius-panel);background:var(--color-surface)}.student-lifecycle-dialog__section h3{margin:0;font-size:1rem}.student-lifecycle-dialog__section p{margin:4px 0 0;color:var(--color-muted);font-size:.84rem;line-height:1.6}.student-lifecycle-dialog__section--archive{border-color:color-mix(in srgb,var(--color-pink) 30%,var(--color-border));background:color-mix(in srgb,var(--color-pink-soft) 42%,var(--color-surface))}.student-lifecycle-dialog__muted{padding:10px 12px;border-radius:var(--radius-control);background:var(--color-canvas)}@media(max-width:640px){.student-lifecycle-dialog .button{width:100%;justify-content:center}}.class-operations-page{--class-op-ink: #21182b;--class-op-muted: #6f6477;--class-op-border: #e9e2ed;--class-op-violet: #6c4dff;--class-op-pink: #ff4f8b;--class-op-orange: #ff8a00;--class-op-yellow: #ffd84d;--class-op-mint: #2ecf95;--class-op-blue: #2378ff;width:100%;min-width:0}.class-operations-page>*,.class-operations-page .page-header,.class-operations-page .class-management-subnav,.class-operations-page .reading-panel{min-width:0;max-width:100%}.class-operations-page .class-management-subnav{width:100%}.class-operations-page .page-header{align-items:flex-end}.class-op-state-panel{min-height:12rem;display:grid;place-items:center}.class-op-empty-inline{min-height:6.5rem;display:grid;place-content:center;gap:.35rem;border:1px dashed #d9cfdf;text-align:center}.class-op-empty-inline p,.class-op-empty-inline span{margin:0}.class-op-empty-inline p{color:var(--class-op-ink);font-weight:850}.class-op-empty-inline span{color:var(--class-op-muted);font-size:.86rem}.class-op-header-badge{min-height:2.8rem;display:inline-flex;align-items:center;gap:.65rem;border:1px solid #dcd2ff;border-radius:999px;padding:.6rem .9rem;color:#4c32d6;background:#f1edff;font-size:.84rem;font-weight:800}.class-op-header-badge svg{width:1.1rem;height:1.1rem}.class-op-context{display:grid;grid-template-columns:minmax(15rem,1fr) minmax(14rem,.8fr) auto;gap:1rem;align-items:end;border-top:4px solid var(--class-op-yellow)}.class-op-context__intro,.class-op-section-heading{display:flex;align-items:center;gap:.8rem}.class-op-context__intro>span,.class-op-section-heading>span{width:2.75rem;height:2.75rem;display:grid;place-items:center;flex:0 0 auto;border-radius:.9rem;color:#fff;background:var(--class-op-violet)}.class-op-context__intro svg,.class-op-section-heading svg{width:1.35rem;height:1.35rem}.class-op-context__intro strong,.class-op-field>span,.class-op-section-heading h2,.class-op-form h2,.class-op-history h2,.duty-preview h3{color:var(--class-op-ink)}.class-op-context__intro strong,.class-op-field>span{font-weight:850}.class-op-context__intro p,.class-op-section-heading p,.class-op-form header p,.class-op-history header p,.duty-preview header p{margin:.25rem 0 0;color:var(--class-op-muted);font-size:.84rem;line-height:1.5}.class-op-context__count{min-width:7rem;display:grid;justify-items:end;gap:.15rem;padding:.2rem 0}.class-op-context__count strong{color:var(--class-op-pink);font-size:1.7rem;line-height:1;font-variant-numeric:tabular-nums}.class-op-context__count span{color:var(--class-op-muted);font-size:.78rem;font-weight:750}.class-op-field{min-width:0;display:grid;gap:.42rem}.class-op-field>span{font-size:.83rem}.class-op-field input,.class-op-field select,.class-op-field textarea,.replacement-control select,.seat-cell select{width:100%;min-height:2.75rem;border:1px solid #ded5e3;border-radius:.78rem;padding:.62rem .72rem;color:var(--class-op-ink);background:#fff;font:inherit}.class-op-field textarea{min-height:5.5rem;resize:vertical}.class-op-field input:focus-visible,.class-op-field select:focus-visible,.class-op-field textarea:focus-visible,.replacement-control select:focus-visible,.seat-cell select:focus-visible,.seat-student-pool button:focus-visible,.seat-slot button:focus-visible,.class-op-inline-button:focus-visible,.class-op-checklist button:focus-visible{border-color:var(--class-op-violet);outline:3px solid rgb(108 77 255 / .25);outline-offset:2px}.class-op-ledger-grid,.class-op-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;align-items:start}.class-op-table-wrap{width:100%;max-width:100%;overflow-x:auto;border:1px solid var(--class-op-border);border-radius:.9rem;background:#fff;-webkit-overflow-scrolling:touch}.class-op-table{width:100%;min-width:36rem;border-collapse:collapse;color:var(--class-op-ink);background:#fff}.class-op-table caption{padding:.78rem .9rem;color:#574b61;background:#faf7fb;font-weight:850;text-align:left}.class-op-table th,.class-op-table td{padding:.72rem .9rem;border-top:1px solid #eee8f0;text-align:left;vertical-align:top}.class-op-table thead th{color:#6a5f72;background:#fffdfd;font-size:.78rem}.class-op-table tbody tr:hover{background:#fffbfd}.class-op-table td{font-size:.84rem;line-height:1.45}.arrangement-lifecycle{display:grid;gap:1.1rem}.arrangement-lifecycle__roles{min-width:0;border-top:4px solid var(--class-op-violet)}.arrangement-lifecycle-table td:first-child strong,.arrangement-lifecycle-table td:first-child span{display:block}.arrangement-lifecycle-table td:first-child span{margin-top:.2rem;color:#6a5f72;font-size:.76rem}.arrangement-inline-action{min-width:16rem;display:flex;align-items:center;gap:.55rem}.arrangement-inline-action input,.arrangement-group-card__rename input{min-height:2.45rem;width:100%;border:1px solid #ddd4e2;border-radius:.72rem;padding:.48rem .65rem;color:var(--class-op-ink);background:#fff;font:inherit}.arrangement-inline-action svg,.arrangement-group-card__rename svg{width:.95rem;height:.95rem}.arrangement-group-manager{display:grid;gap:.85rem}.arrangement-group-manager__heading{padding:0 .15rem}.arrangement-group-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;align-items:start}.arrangement-group-card{min-width:0;display:grid;gap:1rem;border-top:4px solid var(--class-op-pink)}.arrangement-group-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:.8rem}.arrangement-group-card>header small,.arrangement-group-card>header h3{display:block;margin:0}.arrangement-group-card>header small{margin-bottom:.18rem;color:#746879;font-size:.72rem;font-weight:750}.arrangement-group-card>header h3{font-size:1.08rem}.arrangement-group-card>header>span{border-radius:999px;padding:.28rem .62rem;color:#8f2250;background:#ffe6ef;font-size:.72rem;font-weight:850;white-space:nowrap}.arrangement-group-card__rename{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.55rem}.arrangement-member-add{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(6.5rem,.7fr) minmax(8.5rem,.8fr);gap:.65rem;align-items:end;border:1px solid #eee4ef;border-radius:.9rem;padding:.78rem;background:#fff9f2}.arrangement-member-add>.button{grid-column:1 / -1;justify-self:start}.arrangement-member-list{display:grid;gap:.6rem;margin:0;padding:0;list-style:none}.arrangement-member-list>li{display:grid;grid-template-columns:minmax(8rem,.7fr) minmax(17rem,1.3fr);align-items:center;gap:.75rem;border-bottom:1px solid #eee8f0;padding:0 0 .65rem}.arrangement-member-list>li>div:first-child strong,.arrangement-member-list>li>div:first-child span{display:block}.arrangement-member-list>li>div:first-child span{margin-top:.2rem;color:#736779;font-size:.75rem}.arrangement-history{border:1px solid #e8dfeb;border-radius:.85rem;padding:.72rem .82rem;background:#fff}.arrangement-history summary{cursor:pointer;color:#4c32d6;font-size:.82rem;font-weight:850}.arrangement-history p,.arrangement-history ol{margin:.7rem 0 0}.arrangement-history ol{display:grid;gap:.5rem;padding-left:1.25rem}.arrangement-history li{color:#4f4555;font-size:.8rem;line-height:1.45}.arrangement-history time{margin-right:.5rem;color:#75687d;font-variant-numeric:tabular-nums}.class-op-inline-button--danger{color:#9f214c;border-color:#ffc3d5;background:#fff0f5}.arrangement-inline-action input:focus-visible,.arrangement-group-card__rename input:focus-visible{border-color:var(--class-op-violet);outline:3px solid rgb(108 77 255 / .25);outline-offset:2px}.class-op-form{min-width:0;display:grid;gap:1rem;border-top:4px solid var(--class-op-violet)}.class-op-form:nth-child(2){border-top-color:var(--class-op-pink)}.class-op-form>header{min-width:0}.class-op-form h2,.class-op-history h2,.duty-preview h3,.class-op-section-heading h2{margin:0;font-size:1.08rem}.class-op-kicker{display:inline-block;margin-bottom:.35rem;border-radius:999px;padding:.23rem .55rem;color:#4c32d6;background:#eee9ff;font-size:.68rem;font-weight:900;letter-spacing:.04em}.class-op-kicker--pink{color:#b52c5f;background:#ffe6ef}.class-op-kicker--orange{color:#895000;background:#fff1c7}.class-op-kicker--mint{color:#087953;background:#dcf9ed}.class-op-pair,.duty-builder__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}.class-op-checklist{min-width:0;margin:0;border:1px solid #e4dce8;border-radius:.9rem;padding:.85rem}.class-op-checklist legend{padding:0 .35rem;color:var(--class-op-ink);font-size:.84rem;font-weight:850}.class-op-checklist>div:last-child{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;max-height:13rem;overflow-y:auto}.class-op-checklist label{min-height:2.65rem;display:flex;align-items:center;gap:.55rem;border:1px solid #eee7f1;border-radius:.72rem;padding:.48rem .62rem;color:var(--class-op-ink);background:#fffdfd;font-size:.82rem;cursor:pointer}.class-op-checklist input{width:1.1rem;height:1.1rem;flex:0 0 auto;accent-color:var(--class-op-violet)}.class-op-checklist__tools{display:flex!important;align-items:center;gap:.55rem;max-height:none!important;margin-bottom:.7rem}.class-op-checklist__tools button,.class-op-inline-button{min-height:2.4rem;border:1px solid #d9d0e0;border-radius:.7rem;padding:.45rem .65rem;color:#4e4057;background:#fff;font:inherit;font-size:.78rem;font-weight:800;cursor:pointer}.class-op-checklist__tools span{margin-left:auto;color:var(--class-op-muted);font-size:.78rem}.class-op-section-heading{margin-bottom:1rem}.class-op-section-heading>div{min-width:0}.seat-editor{min-width:0;border-top:4px solid var(--class-op-violet)}.seat-editor>.class-op-section-heading>div{flex:1 1 18rem}.seat-editor>.class-op-section-heading>.button{margin-left:auto}.seat-editor__controls{display:grid;grid-template-columns:minmax(12rem,1.4fr) repeat(3,minmax(7rem,.65fr)) auto;gap:.75rem;align-items:end}.seat-editor__random{display:grid;grid-template-columns:minmax(12rem,1fr) auto auto;gap:.75rem;align-items:end;margin-top:.8rem;border-radius:.9rem;padding:.8rem;background:#faf7ff}.seat-editor__metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.65rem;margin:1rem 0}.seat-editor__metrics span{display:flex;align-items:baseline;justify-content:space-between;gap:.5rem;border:1px solid var(--class-op-border);border-left:4px solid var(--class-op-blue);border-radius:.8rem;padding:.7rem;color:var(--class-op-muted);background:#fff;font-size:.76rem}.seat-editor__metrics strong{color:var(--class-op-ink);font-size:1.2rem;font-variant-numeric:tabular-nums}.seat-editor__metrics .is-ok{border-left-color:var(--class-op-mint)}.seat-editor__metrics .is-alert{border-left-color:var(--class-op-pink);background:#fff5f8}.class-op-issues{display:grid;gap:.35rem;margin:-.25rem 0 1rem;border-radius:.8rem;padding:.7rem .9rem .7rem 2rem;color:#9e234e;background:#fff0f5;font-size:.8rem}.seat-editor__workspace{min-width:0;display:grid;grid-template-columns:minmax(11rem,.25fr) minmax(0,1fr);gap:.8rem;align-items:start;margin-bottom:1rem}.seat-student-pool{min-width:0;border:1px solid #e2daff;border-radius:.9rem;padding:.8rem;background:#f8f5ff}.seat-student-pool h3,.seat-student-pool p{margin:0}.seat-student-pool h3{color:var(--class-op-ink);font-size:.92rem}.seat-student-pool p{margin-top:.2rem;color:var(--class-op-muted);font-size:.75rem}.seat-student-pool>div{display:grid;gap:.45rem;max-height:28rem;margin-top:.75rem;overflow-y:auto}.seat-student-pool button{min-height:2.8rem;display:grid;gap:.1rem;border:1px solid #e1d8e8;border-radius:.7rem;padding:.5rem .6rem;color:var(--class-op-ink);background:#fff;font:inherit;font-size:.8rem;text-align:left;cursor:pointer}.seat-student-pool button small{color:var(--class-op-muted);font-size:.66rem}.seat-role-context{position:relative;min-width:0;display:flex;flex-wrap:wrap;gap:.25rem;align-items:center;margin-top:.2rem}.seat-role-context__label{max-width:100%;overflow:hidden;border-radius:999px;padding:.18rem .42rem;color:#895000;background:#fff1c7;font-size:.62rem;font-weight:850;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.seat-role-context__empty{color:var(--class-op-muted);font-size:.64rem}.seat-student-pool button.is-selected{border-color:var(--class-op-violet);color:#fff;background:var(--class-op-violet)}.seat-student-pool button.is-selected small{color:#fff}.seat-student-pool button.is-selected .seat-role-context__label{color:#4f3200;background:var(--class-op-yellow)}.seat-student-pool button.is-selected .seat-role-context__empty{color:#fff}.seat-student-pool__empty{border:1px dashed #cfc4d7;border-radius:.7rem;padding:.8rem;color:var(--class-op-muted);font-size:.78rem;text-align:center}.seat-grid-wrap,.seat-stage{max-width:100%;overflow-x:auto;border:1px solid #e8e1ec;border-radius:.9rem;padding:.8rem;background:#fffdfd;-webkit-overflow-scrolling:touch}.seat-grid,.seat-stage{min-width:max-content;display:grid;gap:.65rem}.seat-grid__front,.seat-stage__front{border:2px solid #5136e3;border-radius:.7rem;padding:.55rem;color:#3924b3;background:#eee9ff;font-size:.75rem;font-weight:850;text-align:center}.seat-cell{min-height:8.3rem;display:grid;align-content:start;gap:.55rem;border:1px solid #e1d8e7;border-top:3px solid var(--class-op-orange);border-radius:.75rem;padding:.55rem;background:#fff}.seat-cell>label{display:grid;gap:.28rem}.seat-cell>label>span{color:var(--class-op-muted);font-size:.67rem;font-weight:800}.seat-cell select{min-height:2.2rem;padding:.35rem .45rem;font-size:.72rem}.seat-cell--aisle{border-style:dashed;border-top-color:var(--class-op-blue);background:#f4f8ff}.seat-cell__aisle{min-height:3.5rem;display:grid;place-items:center;border-radius:.6rem;color:#2460ad;background:#eaf2ff;font-size:.72rem;font-weight:850}.seat-cell__slots{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.4rem}.seat-cell--single .seat-cell__slots{grid-template-columns:1fr}.seat-slot{position:relative;min-width:0}.seat-slot>button:first-child{width:100%;min-height:3.8rem;display:grid;place-content:center;gap:.12rem;border:1px solid #ddd4e2;border-radius:.62rem;padding:.4rem 1.5rem .4rem .4rem;color:var(--class-op-ink);background:#fff9f2;font:inherit;cursor:pointer}.seat-slot>button:first-child strong{max-width:5.5rem;overflow:hidden;font-size:.74rem;text-overflow:ellipsis;white-space:nowrap}.seat-slot>button:first-child small{color:var(--class-op-muted);font-size:.6rem}.seat-slot>button:first-child .seat-role-context{justify-content:center}.seat-slot>button:first-child .seat-role-context__label{font-size:.56rem}.seat-slot.is-locked>button:first-child{border-color:#f2a900;background:#fff5c9}.seat-lock{position:absolute;top:.25rem;right:.25rem;width:1.7rem;height:1.7rem;display:grid;place-items:center;border:0;border-radius:.5rem;color:#765b00;background:transparent;cursor:pointer}.seat-lock:disabled{opacity:.28;cursor:not-allowed}.seat-lock svg{width:.9rem;height:.9rem}.class-op-seat-figure{min-width:0;margin:0;border-top:4px solid var(--class-op-blue)}.class-op-seat-figure>figcaption{display:flex;align-items:center;gap:.75rem;margin-bottom:.9rem}.class-op-seat-figure>figcaption>span{width:2.55rem;height:2.55rem;display:grid;place-items:center;border-radius:.8rem;color:#225dad;background:#eaf2ff}.class-op-seat-figure figcaption h2,.class-op-seat-figure figcaption p{margin:0}.class-op-seat-figure figcaption h2{color:var(--class-op-ink);font-size:1.05rem}.class-op-seat-figure figcaption p{margin-top:.2rem;color:var(--class-op-muted);font-size:.78rem}.seat-stage{margin-bottom:.9rem}.seat-desk{min-height:5rem;display:grid;align-content:center;gap:.35rem;border:1px solid #ddd4e2;border-top:3px solid var(--class-op-orange);border-radius:.7rem;padding:.55rem;background:#fffaf3}.seat-desk small{color:var(--class-op-muted);font-size:.63rem}.seat-desk>span{display:flex;align-items:center;justify-content:space-between;gap:.3rem;color:var(--class-op-ink);font-size:.72rem;font-weight:800}.seat-desk>span svg{width:.8rem;height:.8rem;color:#8b6900}.seat-desk--aisle{place-items:center;border-style:dashed;border-top-color:var(--class-op-blue);color:#3469ad;background:#eef5ff}.class-op-history{width:100%;min-width:0;max-width:100%;display:grid;gap:1rem}.class-op-history>header{width:100%;min-width:0;max-width:100%;display:flex;align-items:end;justify-content:space-between;gap:1rem}.class-op-history>header p{max-width:32rem;text-align:right}.seat-plan-record{width:100%;min-width:0;max-width:100%;border:1px solid var(--class-op-border);border-top:4px solid var(--class-op-violet);border-radius:1rem;padding:.7rem;background:#fff;box-shadow:0 .7rem 1.5rem #3d265512}.seat-plan-record--published{border-top-color:var(--class-op-mint)}.seat-plan-record--archived{border-top-color:#a89bae;background:#fcfafc}.seat-plan-record__header{display:flex;align-items:center;justify-content:space-between;gap:.8rem;padding:.2rem .2rem .75rem}.seat-plan-record__header>div:first-child{min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.25rem .55rem}.seat-plan-record__header strong{min-width:0;overflow:hidden;color:var(--class-op-ink);text-overflow:ellipsis;white-space:nowrap}.seat-plan-record__header small{grid-column:2;color:var(--class-op-muted);font-size:.72rem}.seat-plan-status{grid-row:1 / span 2;border-radius:999px;padding:.28rem .55rem;color:#4c32d6;background:#eee9ff;font-size:.7rem;font-weight:850;white-space:nowrap}.seat-plan-status--published{color:#087750;background:#dff9ef}.seat-plan-status--archived{color:#625768;background:#eee9f0}.seat-plan-record__actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.45rem}.seat-plan-record>.class-op-seat-figure{width:100%;min-width:0;max-width:100%;margin-top:0}.dorm-board{min-width:0;border-top:4px solid var(--class-op-orange)}.dorm-board .class-op-section-heading>span{color:#6f4300;background:#ffe49a}.dorm-room-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem;margin-bottom:.9rem}.dorm-room-card{min-width:0;border:1px solid #e5dce9;border-radius:.9rem;padding:.85rem;background:#fff;box-shadow:0 8px 20px #21182b0d}.dorm-room-card>header{display:flex;align-items:end;justify-content:space-between;gap:.7rem}.dorm-room-card h3,.dorm-room-card small{margin:0}.dorm-room-card small{color:var(--class-op-muted);font-size:.68rem}.dorm-room-card h3{margin-top:.15rem;color:var(--class-op-ink);font-size:1rem}.dorm-room-card header>strong{color:#a55f00;font-size:1.15rem;font-variant-numeric:tabular-nums}.capacity-track{height:.65rem;overflow:hidden;margin:.7rem 0;border-radius:999px;background:#f0eaf2}.capacity-track>span{display:block;height:100%;border-radius:inherit;background:var(--class-op-orange)}.dorm-room-card ul{display:grid;gap:.35rem;margin:0;padding:0;list-style:none}.dorm-room-card li{display:flex;justify-content:space-between;gap:.7rem;border-top:1px solid #eee8f0;padding-top:.4rem;color:var(--class-op-muted);font-size:.75rem}.dorm-room-card li strong{min-width:0;overflow:hidden;color:var(--class-op-ink);text-overflow:ellipsis;white-space:nowrap}.unassigned-strip{display:grid;grid-template-columns:auto auto minmax(0,1fr);gap:.55rem;align-items:center;margin-bottom:.9rem;border-radius:.8rem;padding:.7rem .85rem;color:#503d59;background:#fff0f5;font-size:.78rem}.unassigned-strip svg{width:1.05rem;height:1.05rem;color:#bd2d63}.unassigned-strip span{min-width:0;overflow-wrap:anywhere}.dorm-date-toolbar{display:grid;grid-template-columns:auto auto minmax(10rem,14rem) minmax(12rem,1fr);align-items:center;gap:.65rem;border:1px solid #ddd3ff;border-left:5px solid var(--class-op-violet);padding:.85rem 1rem;background:#fbf9ff}.dorm-date-toolbar>span{display:grid;width:2.2rem;height:2.2rem;place-items:center;border-radius:.7rem;color:#fff;background:var(--class-op-violet)}.dorm-date-toolbar svg{width:1.2rem;height:1.2rem}.dorm-date-toolbar label{color:var(--class-op-ink);font-size:.8rem;font-weight:850}.dorm-date-toolbar input{min-height:2.7rem;border:1px solid #cfc2f5;border-radius:.75rem;padding:.55rem .7rem;color:var(--class-op-ink);background:#fff}.dorm-date-toolbar small{color:var(--class-op-muted);line-height:1.5}.dorm-form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.dorm-history{min-width:0;border-top:4px solid var(--class-op-violet)}.dorm-history .class-op-section-heading>span{color:#fff;background:var(--class-op-violet)}.dorm-history__table{min-width:52rem}.dorm-history__empty{min-height:5rem;display:grid;place-items:center;border:1px dashed #cfc2f5;border-radius:.8rem;color:var(--class-op-muted);background:#fbf9ff;font-size:.82rem;text-align:center}.dorm-status{display:inline-flex;align-items:center;border-radius:999px;padding:.3rem .55rem;color:#5d4e64;background:#eee9f0;font-size:.7rem;font-weight:850;white-space:nowrap}.dorm-status--active{color:#087750;background:#dff9ef}.dorm-status--upcoming{color:#4c32d6;background:#eee9ff}.dorm-history .class-op-inline-button{display:inline-flex;align-items:center;gap:.35rem}.dorm-history .class-op-inline-button svg{width:.95rem;height:.95rem}.dorm-checkout-panel{display:grid;grid-template-columns:minmax(14rem,1fr) minmax(11rem,15rem) auto;align-items:end;gap:1rem;border:1px solid #ffd0df;border-left:5px solid var(--class-op-pink);background:#fff7fa}.dorm-checkout-panel h2,.dorm-checkout-panel p{margin:0}.dorm-checkout-panel h2{margin-top:.35rem;color:var(--class-op-ink);font-size:1rem}.dorm-checkout-panel p{margin-top:.25rem;color:var(--class-op-muted);font-size:.78rem}.dorm-checkout-panel__actions{display:flex;justify-content:flex-end;gap:.5rem}.duty-ledger{min-width:0;border-top:4px solid var(--class-op-pink)}.duty-ledger .class-op-section-heading>span{background:var(--class-op-pink)}.duty-ledger__heading{align-items:center}.duty-export-button{margin-left:auto;white-space:nowrap}.duty-swap-panel{display:grid;grid-template-columns:minmax(11rem,1.1fr) minmax(12rem,1fr) minmax(12rem,1fr) auto;align-items:end;gap:.7rem;margin-bottom:.55rem;padding:.8rem;border:1px solid #e2d9ff;border-radius:.9rem;background:linear-gradient(135deg,#fbf8ff,#fff7fb)}.duty-swap-panel__title{display:flex;align-items:center;gap:.55rem;min-width:0}.duty-swap-panel__title>svg{width:1.45rem;height:1.45rem;flex:0 0 auto;color:var(--class-op-violet)}.duty-swap-panel__title strong,.duty-swap-panel__title span,.duty-swap-panel label>span{display:block}.duty-swap-panel__title strong{color:var(--class-op-ink);font-size:.88rem}.duty-swap-panel__title span,.duty-swap-panel label>span,.duty-export-note,.duty-rule-label,.duty-source-label,.duty-immutable-label{color:var(--class-op-muted);font-size:.72rem}.duty-swap-panel label{display:grid;gap:.25rem;min-width:0}.duty-swap-panel select{width:100%;min-height:2.4rem;padding:.42rem .55rem;border:1px solid #d9d1ec;border-radius:.68rem;background:#fff}.duty-export-note{margin:0 0 .65rem}.duty-table{min-width:64rem}.duty-table td:first-child>strong,.duty-rule-label,.duty-source-label{display:block}.duty-row--history{background:#faf8fc;color:#766e7d}.duty-status{display:inline-flex;align-items:center;min-height:1.65rem;padding:.18rem .5rem;border-radius:999px;font-size:.72rem;font-weight:760}.duty-status--scheduled{background:#e8fff7;color:#087c58}.duty-status--completed{background:#eaf2ff;color:#195fc5}.duty-status--replaced{background:#f0ebf4;color:#6d6077}.replacement-control{display:grid;grid-template-columns:minmax(8rem,1fr) auto;gap:.45rem}.replacement-control select{min-height:2.4rem;padding:.4rem .55rem;font-size:.76rem}@media(max-width:980px){.duty-swap-panel{grid-template-columns:repeat(2,minmax(0,1fr))}.duty-swap-panel__title{grid-column:1 / -1}}.class-op-inline-button:disabled{opacity:.45;cursor:not-allowed}.duty-builder{border-top-color:var(--class-op-blue)}.duty-preview{min-width:0;border:1px solid #dce7fb;border-radius:.9rem;padding:.85rem;background:#f7faff}.duty-preview>header{display:flex;align-items:center;gap:.65rem;margin-bottom:.7rem}.duty-preview>header>svg{width:1.35rem;height:1.35rem;color:var(--class-op-blue)}.duty-preview__empty{min-height:4.5rem;display:grid;place-items:center;margin:0;border:1px dashed #cbd9ef;border-radius:.7rem;color:var(--class-op-muted);font-size:.8rem;text-align:center}.class-operations-page .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:1050px){.arrangement-group-grid{grid-template-columns:1fr}.seat-editor__controls{grid-template-columns:repeat(2,minmax(0,1fr))}.seat-editor__controls>:first-child{grid-column:1 / -1}.dorm-room-grid,.dorm-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dorm-form-grid>:last-child{grid-column:1 / -1}}@media(max-width:820px){.class-op-context,.class-op-ledger-grid,.class-op-form-grid,.seat-editor__workspace{grid-template-columns:1fr}.arrangement-member-list>li{grid-template-columns:1fr}.class-op-context__count{grid-template-columns:auto auto;justify-content:start;align-items:baseline}.seat-student-pool>div{grid-template-columns:repeat(3,minmax(0,1fr));max-height:12rem}.dorm-room-grid,.dorm-form-grid,.dorm-checkout-panel{grid-template-columns:1fr}.dorm-form-grid>:last-child{grid-column:auto}}@media(max-width:640px){.class-operations-page .page-header{display:grid;grid-template-columns:minmax(0,1fr)}.class-operations-page .page-header__action,.class-op-header-badge{width:100%}.class-op-header-badge{justify-content:center}.seat-editor>.class-op-section-heading{flex-wrap:wrap}.seat-editor>.class-op-section-heading>.button{width:100%;margin-left:0}.class-op-pair,.duty-builder__grid,.seat-editor__controls,.seat-editor__random{grid-template-columns:1fr}.duty-ledger__heading{flex-wrap:wrap}.duty-export-button{width:100%;margin-left:0}.duty-swap-panel{grid-template-columns:1fr}.duty-swap-panel__title{grid-column:auto}.arrangement-member-add,.arrangement-group-card__rename{grid-template-columns:1fr}.arrangement-inline-action{min-width:14rem;flex-wrap:wrap}.arrangement-inline-action label{flex:1 1 8rem}.seat-editor__controls>:first-child{grid-column:auto}.seat-editor__metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.seat-student-pool>div,.class-op-checklist>div:last-child{grid-template-columns:repeat(2,minmax(0,1fr))}.class-op-history>header{display:grid}.class-op-history>header p{text-align:left}.seat-plan-record__header{display:grid}.seat-plan-record__actions{justify-content:flex-start}.unassigned-strip{grid-template-columns:auto 1fr}.unassigned-strip span{grid-column:1 / -1}.dorm-date-toolbar{grid-template-columns:auto minmax(0,1fr)}.dorm-date-toolbar input,.dorm-date-toolbar small{grid-column:1 / -1}.dorm-checkout-panel__actions{justify-content:stretch}.dorm-checkout-panel__actions>*{flex:1}}@media(max-width:410px){.class-op-context,.seat-editor,.class-op-form,.dorm-board,.dorm-history,.dorm-date-toolbar,.dorm-checkout-panel,.class-op-seat-figure,.duty-ledger,.arrangement-lifecycle__roles,.arrangement-group-card{padding:.85rem}.seat-student-pool>div,.class-op-checklist>div:last-child{grid-template-columns:1fr}.seat-editor__metrics span{display:grid}.class-op-table th,.class-op-table td{padding:.65rem .7rem}}@media(prefers-reduced-motion:reduce){.class-operations-page *,.class-operations-page *:before,.class-operations-page *:after{scroll-behavior:auto!important;transition-duration:.01ms!important}}.data-exchange-page{--dx-ink: #21182b;--dx-purple: #6c4dff;--dx-pink: #ff4f8b;--dx-orange: #ff8a00;--dx-yellow: #ffd84d;--dx-green: #2ecf95;--dx-blue: #2378ff;color:var(--dx-ink)}.dx-safety-banner,.dx-scope-card,.dx-xlsx-gate,.dx-card,.dx-preview,.dx-export-actions{border:1px solid rgba(33,24,43,.12);border-radius:22px;background:#fff;box-shadow:0 12px 32px #21182b12}.dx-safety-banner{display:flex;align-items:flex-start;gap:14px;padding:18px 20px;border-color:#2ecf9559;background:linear-gradient(135deg,#2ecf9524,#fff 65%)}.dx-safety-banner>svg{width:26px;height:26px;flex:0 0 auto;color:#087b56}.dx-safety-banner strong,.dx-safety-banner p{display:block;margin:0}.dx-safety-banner p{margin-top:4px;color:#21182bb8;line-height:1.55}.dx-scope-card{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(240px,1.2fr) auto;align-items:end;gap:22px;padding:22px;background:linear-gradient(135deg,#fff9f2,#fff 55%)}.dx-scope-card h2,.dx-card h2,.dx-preview h3,.dx-xlsx-gate h3,.dx-document-section h4,.dx-exclusions h4{margin:0;color:var(--dx-ink)}.dx-scope-card .field,.dx-scope-card .field select{width:100%}.dx-scope-facts,.dx-file-facts,.dx-detail-grid{display:grid;margin:0}.dx-scope-facts{grid-template-columns:repeat(2,minmax(92px,1fr));gap:10px}.dx-scope-facts>div,.dx-file-facts>div,.dx-detail-grid>div{min-width:0;border-radius:14px;background:#fff9f2}.dx-scope-facts>div{padding:12px 14px;text-align:center}.dx-scope-facts dt,.dx-file-facts dt,.dx-detail-grid dt{color:#21182b99;font-size:.78rem}.dx-scope-facts dd,.dx-file-facts dd,.dx-detail-grid dd{margin:5px 0 0;color:var(--dx-ink);font-weight:750;overflow-wrap:anywhere}.dx-eyebrow{display:block;margin-bottom:5px;color:var(--dx-purple);font-size:.76rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.dx-xlsx-gate{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:16px;padding:18px 20px;border-color:#ff8a0059;background:linear-gradient(135deg,#ffd84d38,#fff 70%)}.dx-xlsx-gate__icon,.dx-card__icon{display:grid;place-items:center;flex:0 0 auto;border-radius:16px}.dx-xlsx-gate__icon{width:48px;height:48px;color:#a15200;background:#ff8a0026}.dx-xlsx-gate__icon svg,.dx-card__icon svg{width:24px;height:24px}.dx-xlsx-gate p{max-width:820px;margin:5px 0 0;color:#21182bb8;line-height:1.55}.dx-xlsx-gate button{min-height:42px;padding:0 14px;border:1px solid rgba(33,24,43,.16);border-radius:12px;color:#21182b94;background:#ffffffb8;font-weight:750}.dx-workspace-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,.55fr);gap:18px;align-items:start}.dx-card,.dx-preview{padding:clamp(18px,3vw,28px)}.dx-card--parent{border-top:5px solid var(--dx-pink)}.dx-card__header,.dx-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.dx-card__header{justify-content:flex-start;margin-bottom:22px}.dx-card__header p,.dx-section-heading p{margin:5px 0 0;color:#21182bad;line-height:1.5}.dx-card__icon{width:52px;height:52px}.dx-card__icon--purple{color:#fff;background:var(--dx-purple)}.dx-card__icon--orange{color:#fff;background:var(--dx-orange)}.dx-card__icon--pink{color:#fff;background:var(--dx-pink)}.dx-form{display:grid;gap:18px}.dx-form input[type=file],.dx-form input[type=text],.dx-form input:not([type]),.dx-form select,.dx-scope-card select{width:100%;min-height:46px}.dx-form input[type=file]{padding:8px;border:1px dashed rgba(108,77,255,.5);border-radius:14px;background:#6c4dff0d}.dx-form input[type=file]::file-selector-button{min-height:36px;margin-right:12px;padding:0 14px;border:0;border-radius:10px;color:#fff;background:var(--dx-purple);font-weight:750;cursor:pointer}.dx-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.dx-file-facts{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.dx-file-facts>div,.dx-detail-grid>div{padding:12px 14px}.dx-export-contract{margin-bottom:18px;padding:16px;border-radius:16px;background:#ff8a0017}.dx-export-contract strong,.dx-export-contract p{margin:0}.dx-export-contract ul{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0;padding:0;list-style:none}.dx-export-contract li,.dx-field-chips span{border-radius:999px;font-size:.82rem;font-weight:750}.dx-export-contract li{padding:6px 10px;color:#7a4100;background:#fff}.dx-export-contract p{color:#21182bad;font-size:.88rem}.dx-preview{display:grid;gap:22px}.dx-status{display:inline-flex;align-items:center;width:fit-content;min-height:30px;padding:4px 10px;border-radius:999px;font-size:.78rem;font-weight:800;white-space:nowrap}.dx-status--ready{color:#087b56;background:#2ecf9529}.dx-status--blocked{color:#b52855;background:#ff4f8b24}.dx-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0}.dx-metric{padding:15px;border:1px solid rgba(33,24,43,.09);border-radius:16px;background:#fff9f2}.dx-metric dt{color:#21182b9e;font-size:.8rem}.dx-metric dd{margin:5px 0 0;font-size:clamp(1.25rem,3vw,1.7rem);font-weight:850}.dx-metric--success dd{color:#087b56}.dx-metric--danger dd{color:#b52855}.dx-table-block,.dx-document-section{min-width:0;border:1px solid rgba(33,24,43,.09);border-radius:17px;overflow:hidden}.dx-table-title,.dx-document-section>h4{padding:14px 16px;background:#fff9f2}.dx-table-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.dx-table-title h4{margin:0}.dx-table-title span{color:#21182b9e;font-size:.82rem}.dx-table-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}.dx-table-scroll:focus-visible{outline:3px solid rgba(35,120,255,.4);outline-offset:2px}.dx-table{width:100%;min-width:680px;border-collapse:collapse;font-size:.9rem}.dx-table caption{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.dx-table th,.dx-table td{padding:12px 14px;border-bottom:1px solid rgba(33,24,43,.08);text-align:left;vertical-align:top}.dx-table th{color:#21182bad;background:#fff9f2b3;font-size:.78rem;white-space:nowrap}.dx-table tbody tr:last-child td{border-bottom:0}.dx-table--errors code{color:#9c1d48;font-size:.76rem;overflow-wrap:anywhere}.dx-clean-result{display:flex;align-items:center;gap:9px;margin:0;padding:18px;color:#087b56}.dx-clean-result svg{flex:0 0 auto}.dx-confirm-box{display:grid;grid-template-columns:minmax(220px,1fr) minmax(260px,1.2fr) auto;align-items:center;gap:18px;padding:18px;border:2px solid rgba(108,77,255,.23);border-radius:18px;background:#6c4dff0e}.dx-confirm-box p{margin:5px 0 0;color:#21182bad;line-height:1.5}.dx-confirm-check{display:flex;align-items:flex-start;gap:10px;min-height:44px;cursor:pointer}.dx-confirm-check input,.dx-field-picker input{width:20px;height:20px;flex:0 0 auto;accent-color:var(--dx-purple)}.dx-confirm-check span{line-height:1.45}.dx-field-picker{margin:0;padding:0;border:0}.dx-field-picker legend{color:var(--dx-ink);font-weight:800}.dx-field-picker>p{margin:5px 0 12px;color:#21182b9e;font-size:.84rem}.dx-field-picker__options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.dx-field-picker__options label{display:flex;align-items:flex-start;gap:10px;min-width:0;padding:14px;border:1px solid rgba(33,24,43,.12);border-radius:15px;background:#fff9f2;cursor:pointer}.dx-field-picker__options label:has(input:checked){border-color:#6c4dff8c;background:#6c4dff14}.dx-field-picker__options span,.dx-field-picker__options strong,.dx-field-picker__options small{display:block;min-width:0}.dx-field-picker__options small{margin-top:4px;color:#21182b9e;line-height:1.4}.dx-field-chips{display:flex;flex-wrap:wrap;gap:8px}.dx-field-chips span{padding:7px 11px;color:#5034cf;background:#6c4dff1c}.dx-document-section>:not(h4){margin:0}.dx-detail-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:14px}.dx-empty-inline{padding:18px;color:#21182b9e}.dx-comment{padding:18px;border:0;border-left:4px solid var(--dx-purple);background:#6c4dff0e}.dx-comment p,.dx-comment footer{margin:0}.dx-comment p{line-height:1.7}.dx-comment footer{margin-top:10px;color:#21182b99;font-size:.82rem}.dx-exclusions{display:flex;align-items:flex-start;gap:12px;padding:17px;border-radius:16px;color:#733300;background:#ffd84d38}.dx-exclusions>svg{flex:0 0 auto}.dx-exclusions p{margin:4px 0 9px}.dx-exclusions ul{display:flex;flex-wrap:wrap;gap:7px 18px;margin:0;padding-left:18px}.dx-revision{margin:0;color:#21182b99;font-size:.8rem}.dx-export-actions{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:12px;padding:18px 20px;border-color:#2ecf9559}.dx-export-actions p{margin:4px 0 0;color:#21182ba3}@media(max-width:960px){.dx-scope-card{grid-template-columns:1fr 1fr}.dx-scope-facts{grid-column:1 / -1}.dx-workspace-grid,.dx-confirm-box{grid-template-columns:1fr}.dx-field-picker__options{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:680px){.dx-safety-banner,.dx-card__header,.dx-section-heading{align-items:flex-start}.dx-scope-card,.dx-xlsx-gate,.dx-export-actions{grid-template-columns:1fr}.dx-xlsx-gate button{width:100%}.dx-form-grid,.dx-file-facts,.dx-detail-grid,.dx-metrics,.dx-field-picker__options{grid-template-columns:1fr 1fr}.dx-card,.dx-preview{border-radius:18px}.dx-export-actions .button{width:100%}}@media(max-width:460px){.dx-safety-banner,.dx-card__header,.dx-section-heading{flex-direction:column}.dx-scope-facts,.dx-form-grid,.dx-file-facts,.dx-detail-grid,.dx-metrics,.dx-field-picker__options{grid-template-columns:1fr}.dx-form>.button,.dx-confirm-box>.button,.dx-card>.button{width:100%}.dx-table{min-width:620px}}@media(prefers-reduced-motion:reduce){.data-exchange-page *,.data-exchange-page *:before,.data-exchange-page *:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.family-page{gap:20px}.family-subnav{display:flex;max-width:100%;gap:7px;overflow-x:auto;padding:5px;border:1px solid var(--color-border);border-radius:17px;background:#f8f4fb;scrollbar-width:thin}.family-subnav a{display:inline-flex;min-height:42px;align-items:center;gap:7px;padding:10px 13px;border-radius:12px;color:var(--color-muted);font-size:.86rem;font-weight:700;white-space:nowrap}.family-subnav a svg{width:17px;height:17px}.family-subnav a.is-active{color:var(--color-violet);background:var(--color-surface);box-shadow:0 5px 15px #21182b14}.family-scope-bar{display:grid;grid-template-columns:minmax(220px,1fr) repeat(2,minmax(110px,auto));align-items:end;gap:18px;padding:18px 20px;border-top:4px solid var(--color-yellow)}.family-scope-bar .field{margin:0}.family-scope-bar__metric{display:flex;min-height:64px;flex-direction:column;justify-content:center;padding:9px 16px;border-radius:15px;background:var(--color-pink-soft)}.family-scope-bar__metric:nth-of-type(3){background:var(--color-mint-soft)}.family-scope-bar__metric strong{color:var(--color-ink);font-size:1.32rem}.family-scope-bar__metric span{color:var(--color-muted);font-size:.76rem;font-weight:650}.family-contact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.family-contact-card{position:relative;min-width:0;overflow:hidden;padding:19px;border:1px solid var(--color-border);border-top:5px solid var(--color-pink);border-radius:20px;background:var(--color-surface);box-shadow:0 8px 22px #21182b12}.family-contact-card:nth-child(3n+2){border-top-color:var(--color-orange)}.family-contact-card:nth-child(3n){border-top-color:var(--color-mint)}.family-contact-card>header{display:flex;align-items:center;gap:12px}.family-contact-card__actions{display:flex;align-items:center;gap:6px;margin-left:auto}.family-contact-card__actions .icon-button{width:38px;height:38px;color:var(--color-violet);background:var(--color-violet-soft)}.family-contact-card__actions .family-contact-card__delete{color:#a5285b;background:var(--color-pink-soft)}.family-contact-card__avatar{display:grid;width:44px;height:44px;place-items:center;border-radius:15px;color:#fff;background:var(--color-violet);font-size:1.05rem;font-weight:850}.family-contact-card h3,.family-visit-card h3,.family-layer-panel h3,.family-assignment-panel h3{margin:0;font-size:1rem}.family-contact-card header p,.family-visit-card__heading p,.family-layer-panel header p,.family-assignment-panel header p{margin-top:4px;color:var(--color-muted);font-size:.8rem}.family-contact-card__details{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:16px 0}.family-contact-card__details>div{min-width:0;padding:10px;border-radius:12px;background:#faf7fc}.family-contact-card__details dt{color:var(--color-muted);font-size:.72rem;font-weight:650}.family-contact-card__details dd{overflow:hidden;margin-top:4px;font-size:.86rem;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.family-contact-card__links{display:flex;flex-wrap:wrap;gap:8px}.family-contact-card__links>span{display:inline-flex;align-items:center;gap:5px;padding:7px 9px;border-radius:999px;color:#4e3476;background:var(--color-violet-soft);font-size:.76rem}.family-contact-card__links small{color:var(--color-muted)}.family-contact-card__links em{padding:2px 6px;border-radius:999px;color:#8a3157;background:#ffd9e7;font-size:.66rem;font-style:normal;font-weight:750}.family-contact-card__links em.is-muted{color:var(--color-muted);background:#ece8ef}.family-contact-card__notes{margin-top:13px;color:var(--color-muted);font-size:.8rem;line-height:1.6}.family-visit-timeline{display:grid;gap:15px}.family-visit-card{position:relative;padding:20px;border:1px solid var(--color-border);border-left:6px solid var(--color-orange);border-radius:21px;background:var(--color-surface);box-shadow:0 8px 24px #21182b12}.family-visit-card>header{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px}.family-visit-card__date{display:flex;min-width:70px;flex-direction:column;padding:9px 11px;border-radius:14px;color:#8a4800;background:#fff2dc;text-align:center}.family-visit-card__date strong{font-size:.9rem}.family-visit-card__date span{margin-top:2px;font-size:.7rem}.family-visit-card__summary{display:flex;gap:11px;margin-top:16px;padding:14px;border-radius:15px;background:var(--color-mint-soft)}.family-visit-card__summary svg{color:#09875f}.family-visit-card__summary strong{font-size:.8rem}.family-visit-card__summary p{margin-top:5px;line-height:1.65}.family-visit-card__facts{display:grid;grid-template-columns:1fr auto auto;gap:10px;margin-top:13px}.family-visit-card__facts>div{padding:9px 11px;border:1px solid var(--color-border);border-radius:12px}.family-visit-card__facts dt{color:var(--color-muted);font-size:.7rem}.family-visit-card__facts dd{margin-top:3px;font-size:.82rem;font-weight:720}.family-candidate-list{display:grid;gap:9px;margin-top:13px}.family-candidate{padding:13px;border:1px dashed #bbaefa;border-radius:14px;background:#faf8ff}.family-candidate--confirmed{border-color:#82dabd;background:var(--color-mint-soft)}.family-candidate--discarded,.family-candidate--failed{border-color:#d8d0db;background:#f7f5f7}.family-candidate>header{display:flex;align-items:center;justify-content:space-between;gap:10px}.family-candidate header span{display:inline-flex;align-items:center;gap:7px;color:var(--color-violet);font-size:.76rem;font-weight:760}.family-candidate header strong{padding:4px 8px;border-radius:999px;color:#79436f;background:var(--color-pink-soft);font-size:.7rem}.family-candidate p{margin-top:9px;line-height:1.6}.family-candidate small,.family-provenance{display:block;margin-top:7px;color:var(--color-muted);font-size:.72rem}.family-candidate footer{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:7px;margin-top:10px}.family-run-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 18px;border:1px solid var(--color-border);border-radius:18px;background:var(--color-surface)}.family-run-toolbar>div:first-child{display:flex;min-width:0;flex-direction:column;gap:4px}.family-run-toolbar>div:first-child span{color:var(--color-muted);font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.72rem}.family-run-toolbar>div:last-child{display:flex;flex-wrap:wrap;gap:8px}.family-meeting-snapshot{min-width:0;display:grid;gap:15px}.family-meeting-snapshot>*{min-width:0;max-width:100%}.family-meeting-snapshot__facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.family-meeting-snapshot__facts>span{display:flex;min-height:72px;align-items:center;gap:9px;padding:14px;border-radius:17px;color:#553f78;background:var(--color-violet-soft);font-size:.82rem}.family-meeting-snapshot__facts>span:nth-child(2){color:#8a3a5a;background:var(--color-pink-soft)}.family-meeting-snapshot__facts>span:nth-child(3){color:#076e51;background:var(--color-mint-soft)}.family-layer-panel,.family-assignment-panel,.family-layer-drafts{min-width:0;max-width:100%;padding:20px;border:1px solid var(--color-border);border-radius:21px;background:var(--color-surface);box-shadow:0 8px 24px #21182b0f}.family-layer-panel>header,.family-assignment-panel>header,.family-layer-drafts>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:17px}.family-layer-panel__version{padding:6px 9px;border-radius:999px;color:var(--color-muted);background:#f6f2f8;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.68rem}.family-layer-chart{display:grid;height:210px;grid-template-columns:repeat(4,1fr);align-items:end;gap:14px;padding:15px 15px 8px;border-radius:17px;background:#fbf9fc}.family-layer-chart__item{display:grid;height:100%;grid-template-rows:1fr auto auto;gap:5px;text-align:center}.family-layer-chart__bar-wrap{display:flex;align-items:end;justify-content:center}.family-layer-chart__bar-wrap span{display:block;width:min(52px,70%);min-height:8px;border-radius:13px 13px 5px 5px;background:var(--color-violet)}.family-layer-chart__item--b .family-layer-chart__bar-wrap span{background:var(--color-pink)}.family-layer-chart__item--c .family-layer-chart__bar-wrap span{background:var(--color-orange)}.family-layer-chart__item--d .family-layer-chart__bar-wrap span{background:var(--color-mint)}.family-layer-chart__item strong{font-size:.84rem}.family-layer-chart__item>span{color:var(--color-muted);font-size:.72rem}.family-table-wrap{width:100%;min-width:0;max-width:100%;overflow-x:auto;margin-top:17px}.family-data-table{width:100%;min-width:620px;border-collapse:collapse;font-size:.8rem}.family-data-table caption{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.family-data-table th,.family-data-table td{padding:11px 10px;border-bottom:1px solid var(--color-border);text-align:left;vertical-align:top}.family-data-table thead th{color:var(--color-muted);background:#faf7fc;font-size:.72rem;font-weight:800}.family-layer-pill{display:inline-flex;padding:4px 8px;border-radius:999px;color:#4f3890;background:var(--color-violet-soft);font-weight:800}.family-layer-pill--b{color:#8b3458;background:var(--color-pink-soft)}.family-layer-pill--c{color:#855000;background:#fff2d9}.family-layer-pill--d{color:#087253;background:var(--color-mint-soft)}.family-layer-draft-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:15px}.family-layer-draft{display:flex;min-width:0;min-height:180px;flex-direction:column;gap:9px;padding:14px;border:1px solid #d7cffc;border-top:5px solid var(--color-violet);border-radius:16px;background:#fbf9ff}.family-layer-draft--b{border-color:#ffd0df;border-top-color:var(--color-pink);background:#fff9fb}.family-layer-draft--c{border-color:#ffdfb0;border-top-color:var(--color-orange);background:#fffaf2}.family-layer-draft--d{border-color:#bcecd9;border-top-color:var(--color-mint);background:#f7fffc}.family-layer-draft>header{display:flex;align-items:center;justify-content:space-between}.family-layer-draft>header strong{font-size:1rem}.family-layer-draft>header span{color:var(--color-muted);font-size:.7rem}.family-layer-draft p{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:5;color:var(--color-muted);font-size:.78rem;line-height:1.55}.family-layer-draft small{color:var(--color-muted);font-size:.68rem}.family-context-snapshot{display:grid;gap:7px;padding:10px;border:1px solid rgb(108 77 255 / .16);border-radius:12px;background:#ffffffb8}.family-context-chips{display:flex;flex-wrap:wrap;gap:5px}.family-context-chips span{padding:4px 7px;border-radius:999px;color:#5238c5;background:var(--color-violet-soft);font-size:.64rem;font-weight:780;line-height:1.25}.family-context-snapshot>small,.family-context-empty{overflow-wrap:anywhere;line-height:1.45}.family-context-empty{padding:8px 10px;border-radius:10px;background:#ffffffb3}.family-layer-draft .button{width:100%;margin-top:auto}.family-empty-callout{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:15px;padding:22px;border-left:6px solid var(--color-violet)}.family-empty-callout>svg{width:30px;height:30px;color:var(--color-violet)}.family-empty-callout p{margin-top:5px;color:var(--color-muted)}.family-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.family-contact-editor{display:grid;align-content:start;gap:8px}.family-link-editor{display:grid;gap:14px;padding:16px;border:1px solid #d7cffc;border-top:5px solid var(--color-violet);border-radius:18px;background:#fbf9ff}.family-link-editor>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.family-link-editor h3{margin:0;font-size:.96rem}.family-link-editor header p{margin-top:4px;color:var(--color-muted);font-size:.76rem}.family-link-editor__list{display:grid;gap:10px}.family-link-row{display:grid;gap:10px;padding:13px;border:1px solid var(--color-border);border-left:5px solid var(--color-pink);border-radius:15px;background:var(--color-surface)}.family-link-row:nth-child(2n){border-left-color:var(--color-orange)}.family-link-row__fields{display:grid;grid-template-columns:minmax(180px,1.35fr) minmax(130px,1fr) auto;align-items:end;gap:10px}.family-link-row__fields .field{margin:0}.family-link-row__remove{margin-bottom:2px;color:#a5285b;background:var(--color-pink-soft)}.family-link-row__checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.family-check{display:flex;min-height:44px;align-items:flex-start;gap:9px;padding:10px 12px;border:1px solid var(--color-border);border-radius:13px;background:#faf8fb;cursor:pointer;font-size:.84rem;line-height:1.5}.family-check input{width:18px;height:18px;margin-top:1px;accent-color:var(--color-violet)}.family-check--confirm{border-color:#e5c75e;background:#fff9de}@media(max-width:980px){.family-contact-grid,.family-layer-draft-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.family-subnav{margin-inline:-4px}.family-subnav a{min-height:44px}.family-scope-bar,.family-contact-grid,.family-meeting-snapshot__facts,.family-form-grid,.family-layer-draft-grid{grid-template-columns:1fr}.family-scope-bar{align-items:stretch}.family-scope-bar__metric{min-height:56px}.family-visit-card>header,.family-empty-callout{grid-template-columns:auto 1fr}.family-visit-card__actions,.family-empty-callout>.button{grid-column:1 / -1}.family-visit-card__actions .button,.family-empty-callout>.button{width:100%}.family-visit-card__facts{grid-template-columns:1fr 1fr}.family-visit-card__facts>div:first-child{grid-column:1 / -1}.family-run-toolbar{align-items:stretch;flex-direction:column}.family-run-toolbar>div:last-child .button{flex:1 1 180px}.family-layer-panel,.family-assignment-panel,.family-layer-drafts,.family-visit-card,.family-contact-card{padding:16px}.family-link-editor>header{align-items:stretch;flex-direction:column}.family-link-editor>header .button{width:100%}.family-link-row__fields,.family-link-row__checks{grid-template-columns:1fr}.family-link-row__remove{width:100%}.family-layer-chart{height:180px;gap:7px;padding-inline:8px}}@media(max-width:420px){.family-contact-card>header{align-items:flex-start;flex-wrap:wrap}.family-contact-card__actions{width:100%;justify-content:flex-end}.family-contact-card__details{grid-template-columns:1fr}.family-visit-card>header{grid-template-columns:1fr}.family-visit-card__date{align-items:baseline;flex-direction:row;justify-content:space-between}.family-visit-card__facts{grid-template-columns:1fr}.family-visit-card__facts>div:first-child{grid-column:auto}.family-candidate footer .button{width:100%}}.homework-page{--homework-violet: #6c4dff;--homework-pink: #ff4f8b;--homework-orange: #ff8a00;--homework-yellow: #ffd84d;--homework-mint: #2ecf95;--homework-blue: #2378ff;--homework-ink: #21182b;--homework-muted: #746979}.homework-state-panel{min-height:13rem;display:grid;place-items:center}.homework-context{display:grid;grid-template-columns:minmax(15rem,1fr) minmax(13rem,.8fr) minmax(15rem,1fr);gap:1rem;align-items:end;border-top:4px solid var(--homework-yellow)}.homework-context__intro,.homework-ledger-card>header,.homework-chart-card>figcaption{display:flex;align-items:center;gap:.8rem}.homework-context__intro>span,.homework-section-icon{width:2.7rem;height:2.7rem;display:grid;place-items:center;flex:0 0 auto;border-radius:.95rem}.homework-context__intro>span{color:#fff;background:linear-gradient(145deg,var(--homework-violet),var(--homework-pink))}.homework-context__intro svg,.homework-section-icon svg{width:1.35rem;height:1.35rem}.homework-context__intro strong,.homework-select>span{color:var(--homework-ink);font-weight:850}.homework-context__intro p,.homework-ledger-card header p,.homework-chart-card figcaption p{margin:.25rem 0 0;color:var(--homework-muted);font-size:.86rem;line-height:1.45}.homework-select,.homework-student-field{display:grid;gap:.45rem}.homework-select select,.homework-student-field select,.homework-student-field input,.homework-create-form input,.homework-create-form textarea{width:100%;min-height:2.75rem;border:1px solid #ded6e5;border-radius:.82rem;background:#fff;color:var(--homework-ink);padding:.62rem .75rem;font:inherit}.homework-create-form textarea{min-height:7rem;resize:vertical}.homework-select select:focus-visible,.homework-student-field select:focus-visible,.homework-student-field input:focus-visible,.homework-create-form input:focus-visible,.homework-create-form textarea:focus-visible{outline:3px solid rgba(108,77,255,.25);border-color:var(--homework-violet)}.homework-insights{display:grid;gap:1rem}.homework-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.homework-summary-card{min-width:0;display:grid;grid-template-columns:auto 1fr;gap:.3rem .7rem;padding:1rem 1.1rem;border:1px solid #e9e2ec;border-left:5px solid var(--homework-violet);border-radius:1rem;background:#fff;box-shadow:0 8px 22px #21182b0f}.homework-summary-card>svg{grid-row:1 / span 2;width:1.45rem;color:var(--homework-violet)}.homework-summary-card>span,.homework-summary-card>small{color:var(--homework-muted)}.homework-summary-card>strong{color:var(--homework-ink);font-size:clamp(1.35rem,2.2vw,2rem);line-height:1.1}.homework-summary-card>small{grid-column:1 / -1;margin-top:.35rem}.homework-summary-card--pink{border-left-color:var(--homework-pink)}.homework-summary-card--pink>svg{color:var(--homework-pink)}.homework-summary-card--mint{border-left-color:var(--homework-mint)}.homework-summary-card--mint>svg{color:#158c67}.homework-insight-grid{display:grid;grid-template-columns:minmax(20rem,.8fr) minmax(0,1.2fr);gap:1rem;align-items:start}.homework-chart-card,.homework-ledger-card{min-width:0}.homework-chart-card>figcaption,.homework-ledger-card>header{margin-bottom:1rem}.homework-chart-card h2,.homework-ledger-card h2{margin:0;color:var(--homework-ink);font-size:1.08rem}.homework-section-icon--orange{color:#b76100;background:#fff0d8}.homework-section-icon--violet{color:var(--homework-violet);background:#eeeaff}.homework-status-chart{display:grid;gap:.8rem;margin-bottom:1.2rem}.homework-status-bar>div{display:flex;justify-content:space-between;gap:1rem;margin-bottom:.35rem;color:var(--homework-ink)}.homework-status-track{display:block;height:.75rem;overflow:hidden;border-radius:.35rem;background:#f0ebf2}.homework-status-fill{display:block;height:100%;min-width:0;border-radius:inherit;background:var(--homework-violet)}.homework-status-fill--submitted{background:var(--homework-mint)}.homework-status-fill--late{background:var(--homework-orange)}.homework-status-fill--resubmitted{background:var(--homework-blue)}.homework-status-fill--exempt{background:#9d8aa7}.homework-status-fill--pending{background:var(--homework-pink)}.homework-table-wrap{width:100%;overflow-x:auto;border:1px solid #ebe4ee;border-radius:.86rem}.homework-data-table{width:100%;min-width:40rem;border-collapse:collapse;background:#fff;color:var(--homework-ink)}.homework-data-table caption{padding:.72rem .85rem;text-align:left;font-weight:850;color:#5c5063;background:#faf7fb}.homework-data-table th,.homework-data-table td{padding:.72rem .85rem;text-align:left;border-top:1px solid #eee8f0;vertical-align:middle}.homework-data-table thead th{color:#6f6377;font-size:.82rem;background:#fffdfd}.homework-data-table--compact{min-width:22rem}.homework-data-table--compact td:not(:first-child){text-align:right}.homework-assignment-table th small{display:block;margin-top:.25rem;color:var(--homework-muted);font-weight:500;white-space:nowrap}.homework-student-editor{border-top:4px solid var(--homework-pink)}.homework-student-editor__header,.homework-student-editor__footer{display:flex;align-items:center;justify-content:space-between;gap:1rem}.homework-student-editor__header{margin-bottom:1rem}.homework-student-editor__header h2{margin:.15rem 0;color:var(--homework-ink)}.homework-student-editor__header p,.homework-student-editor__footer p{margin:0;color:var(--homework-muted)}.homework-eyebrow{color:#b3265a;font-size:.76rem;font-weight:900;letter-spacing:.08em}.homework-student-editor__count{color:var(--homework-violet);font-size:1.1rem;font-weight:900}.homework-student-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(19rem,1fr));gap:.85rem;content-visibility:auto}.homework-student-row{display:grid;gap:.75rem;align-content:start;padding:1rem;border:1px solid #ebe4ee;border-top:4px solid #ded6e5;border-radius:.95rem;background:#fffdfd;box-shadow:0 7px 20px #21182b0e}.homework-student-row--submitted{border-top-color:var(--homework-mint)}.homework-student-row--late{border-top-color:var(--homework-orange)}.homework-student-row--resubmitted{border-top-color:var(--homework-violet)}.homework-student-row--exempt{border-top-color:#2378ff}.homework-student-row>header{align-self:center}.homework-student-row>header strong,.homework-student-row>header span{display:block}.homework-status-buttons{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.35rem}.homework-status-buttons button{min-height:2.65rem;border:1px solid #ded6e5;border-radius:.72rem;background:#fff;color:#5d5263;font:inherit;font-size:.82rem;font-weight:800;cursor:pointer}.homework-status-buttons button:hover:not(:disabled),.homework-status-buttons button:focus-visible{border-color:var(--homework-violet);outline:3px solid rgba(108,77,255,.16)}.homework-status-buttons button.is-active{border-color:var(--homework-violet);background:var(--homework-violet);color:#fff}.homework-status-buttons button:disabled{cursor:wait;opacity:.68}.homework-student-row>header strong{color:var(--homework-ink)}.homework-student-row>header span{margin-top:.25rem;color:var(--homework-muted);font-size:.78rem}.homework-student-field label{color:#5d5263;font-size:.8rem;font-weight:750}.homework-student-field select:disabled,.homework-student-field input:disabled,.homework-select select:disabled{color:#8c838f;background:#f4f1f5;cursor:not-allowed}.homework-student-editor__footer{margin-top:1rem}.homework-create-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem}.homework-filter-bar{display:grid;grid-template-columns:minmax(14rem,1fr) minmax(11rem,.5fr) auto;gap:1rem;align-items:end;border-top:4px solid var(--homework-mint)}.homework-filter-search{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.65rem;min-height:2.75rem;padding:0 .8rem;border:1px solid #ded6e5;border-radius:.82rem;background:#fff}.homework-filter-search svg{width:1.1rem;color:var(--homework-violet)}.homework-filter-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;font:inherit}.homework-assignment-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.6rem}@media(max-width:980px){.homework-context,.homework-insight-grid,.homework-filter-bar{grid-template-columns:1fr}.homework-context__intro{grid-column:1 / -1}.homework-student-list{grid-template-columns:repeat(auto-fill,minmax(17rem,1fr))}}@media(max-width:720px){.homework-summary-grid,.homework-create-grid,.homework-student-list{grid-template-columns:1fr}.homework-status-buttons{grid-template-columns:repeat(3,minmax(0,1fr))}.homework-summary-card{padding:.9rem}.homework-student-editor__header,.homework-student-editor__footer{align-items:stretch;flex-direction:column}.homework-student-editor__footer .button,.homework-assignment-actions,.homework-assignment-actions .button{width:100%}}@media(prefers-reduced-motion:reduce){.homework-page *{scroll-behavior:auto}}.memo-page{display:grid;gap:22px}.memo-subnav{display:flex;gap:8px;padding:5px;width:fit-content;max-width:100%;overflow-x:auto;background:var(--surface-muted);border:1px solid var(--border);border-radius:16px}.memo-subnav a{display:inline-flex;align-items:center;gap:7px;padding:10px 14px;border-radius:11px;color:var(--text-muted);white-space:nowrap;text-decoration:none;font-weight:650}.memo-subnav a svg{width:17px;height:17px}.memo-subnav a.is-active{color:var(--primary);background:var(--surface);box-shadow:var(--shadow-sm)}.memo-range-panel{display:flex;align-items:end;flex-wrap:wrap;gap:14px}.memo-range-panel .field{min-width:170px;flex:1 1 170px}.memo-main-panel{min-width:0}.lesson-stat-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:18px}.lesson-stat-strip>div{display:grid;grid-template-columns:auto 1fr;gap:4px 10px;align-items:center;padding:14px;border-radius:16px;background:linear-gradient(145deg,#f2eaff,#fff)}.lesson-stat-strip>div:nth-child(2){background:linear-gradient(145deg,#ffe8f2,#fff)}.lesson-stat-strip svg{grid-row:1 / 3;width:24px;color:var(--primary)}.lesson-stat-strip span{color:var(--text-muted);font-size:.82rem}.lesson-stat-strip strong{font-size:1.2rem}.school-timetable-panel{overflow:hidden;border:1px solid var(--border);border-radius:20px;background:var(--surface)}.school-timetable-panel__heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px 22px 17px;border-bottom:1px solid var(--border);background:color-mix(in srgb,var(--surface-muted) 74%,#fff)}.school-timetable-panel__heading>div{min-width:0}.school-timetable-panel__heading span:first-child{color:var(--primary);font-size:.72rem;font-weight:800;letter-spacing:.08em}.school-timetable-panel__heading h2{margin:3px 0 5px;font-size:1.2rem;letter-spacing:-.02em}.school-timetable-panel__heading p{margin:0;color:var(--text-muted);font-size:.8rem;line-height:1.55}.school-timetable-panel__timezone{flex:0 0 auto;padding:6px 9px;border-radius:999px;color:#157053;background:#e8fff6;font-size:.68rem;font-weight:750}.school-timetable-scroll{max-width:100%;overflow:auto;overscroll-behavior-inline:contain}.school-timetable{width:100%;min-width:940px;border-spacing:0;table-layout:fixed;color:var(--text);font-size:.78rem}.school-timetable caption{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.school-timetable th,.school-timetable td{border-right:1px solid var(--border);border-bottom:1px solid var(--border)}.school-timetable tr>:last-child{border-right:0}.school-timetable tbody tr:last-child>*{border-bottom:0}.school-timetable thead th{position:sticky;z-index:3;top:0;padding:12px 8px;color:var(--text);background:#fff9f2;font-size:.76rem;font-weight:800;text-align:center}.school-timetable thead th:first-child{width:58px}.school-timetable thead th:nth-child(2){width:108px}.school-timetable__daypart{padding:10px 6px;color:var(--text);text-align:center;vertical-align:middle}.school-timetable__daypart span{display:inline-block;letter-spacing:.16em;writing-mode:vertical-rl}.school-timetable__row--early .school-timetable__daypart{background:#fff8c7}.school-timetable__row--morning .school-timetable__daypart{background:#eee9ff}.school-timetable__row--afternoon .school-timetable__daypart{background:#eaf2ff}.school-timetable__row--evening .school-timetable__daypart{background:#fff0f5}.school-timetable__period{padding:10px 8px;background:color-mix(in srgb,var(--surface-muted) 68%,#fff);text-align:center;vertical-align:middle}.school-timetable__period strong,.school-timetable__period span{display:block}.school-timetable__period strong{color:var(--text);font-size:.78rem}.school-timetable__period span{margin-top:4px;color:var(--text-muted);font-size:.68rem;font-variant-numeric:tabular-nums}.school-timetable td{height:80px;padding:7px;background:#fff;vertical-align:top}.school-timetable__cell-stack{display:grid;min-height:100%;gap:6px}.school-timetable__empty{display:grid;min-height:60px;place-items:center;color:color-mix(in srgb,var(--text-muted) 42%,transparent)}.school-timetable__lesson{display:grid;gap:3px;min-height:60px;padding:8px;border-left:4px solid #7657ff;border-radius:11px;background:#f4f0ff}.school-timetable__lesson--tone-1{border-left-color:#ff4f8b;background:#fff0f5}.school-timetable__lesson--tone-2{border-left-color:#ff8a00;background:#fff5df}.school-timetable__lesson--tone-3{border-left-color:#22b985;background:#e8fff6}.school-timetable__lesson--tone-4{border-left-color:#2378ff;background:#eaf2ff}.school-timetable__lesson strong{overflow:hidden;color:var(--text);font-size:.84rem;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.school-timetable__lesson>span{overflow:hidden;color:var(--text-muted);font-size:.7rem;text-overflow:ellipsis;white-space:nowrap}.school-timetable__lesson small{display:flex;align-items:center;flex-wrap:wrap;gap:3px;color:var(--text-muted);font-size:.62rem;line-height:1.35}.school-timetable__lesson small svg{width:11px;height:11px}.school-timetable__conflict{width:fit-content;padding:3px 7px;border-radius:999px;color:#a32145;background:#ffe2eb;font-size:.64rem;font-weight:800}.lesson-mobile-day-picker,.lesson-mobile-day-view{display:none}.lesson-occurrence-details{margin-top:17px;border:1px solid var(--border);border-radius:16px;background:var(--surface)}.lesson-occurrence-details>summary{display:flex;min-height:48px;align-items:center;justify-content:space-between;gap:10px;padding:12px 16px;color:var(--text);cursor:pointer;font-size:.84rem;font-weight:760}.lesson-occurrence-details>summary span{padding:4px 8px;border-radius:999px;color:var(--primary);background:#eee9ff;font-size:.7rem}.lesson-occurrence-details[open]>summary{border-bottom:1px solid var(--border)}.lesson-occurrence-details .lesson-card-list{padding:15px 15px 0}.lesson-occurrence-details .memo-table-wrap{margin:16px}.lesson-card-list,.summary-ledger{display:grid;gap:12px}.lesson-card{display:grid;grid-template-columns:120px minmax(0,1fr) auto;gap:16px;align-items:center;padding:16px;border:1px solid var(--border);border-left:5px solid #7657ff;border-radius:16px;background:var(--surface)}.lesson-card--cancelled{border-left-color:#ff8a8f;opacity:.8}.lesson-card time{display:grid;gap:4px}.lesson-card time span,.lesson-card__main p{color:var(--text-muted);font-size:.84rem}.lesson-card h3,.lesson-card p{margin:0}.lesson-card__main{display:grid;gap:5px}.lesson-card__reminder{display:inline-flex;align-items:center;gap:5px;color:#9b3b73;font-size:.76rem}.lesson-card__reminder svg{width:14px;height:14px}.lesson-card__revision{width:fit-content;padding:3px 8px;border-radius:999px;color:#6846d9;background:#f1ecff;font-size:.72rem;font-weight:750}.lesson-card__actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}.memo-table-wrap{overflow-x:auto;margin-top:20px}.memo-data-table{width:100%;border-collapse:collapse;font-size:.86rem}.memo-data-table caption{text-align:left;color:var(--text-muted);padding-bottom:8px}.memo-data-table th,.memo-data-table td{padding:10px;text-align:left;white-space:nowrap;border-bottom:1px solid var(--border)}.memo-data-table th{color:var(--text-muted)}.template-chip-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px}.template-chip-list article{display:grid;gap:5px;padding:15px;border-radius:16px;background:var(--surface-muted)}.template-chip-list span,.template-chip-list small{color:var(--text-muted)}.memo-field-action{display:grid;grid-template-columns:1fr auto;gap:8px}.memo-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.memo-inline-empty{margin:0;padding:22px;text-align:center;color:var(--text-muted)}.summary-card{padding:18px;border:1px solid var(--border);border-left:5px solid #7657ff;border-radius:18px;background:var(--surface)}.summary-card--published{border-left-color:#28b487}.summary-card--archived{border-left-color:#a3a0ad}.summary-card>header{display:flex;justify-content:space-between;gap:12px}.summary-card h3{margin:5px 0;font-size:1rem}.summary-card header p{margin:0;color:var(--text-muted);font-size:.78rem}.summary-card__period{color:var(--primary);font-weight:800}.summary-card__content{margin:15px 0;padding:14px;max-height:190px;overflow:auto;white-space:pre-wrap;border-radius:14px;background:var(--surface-muted);line-height:1.72}.summary-card footer{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}@media(max-width:760px){.school-timetable-panel__heading{padding:17px}.school-timetable-panel__timezone,.school-timetable-scroll{display:none}.lesson-mobile-day-picker{display:flex;gap:7px;padding:11px 13px;overflow-x:auto;border-bottom:1px solid var(--border);background:var(--surface-muted)}.lesson-mobile-day-picker button{min-width:52px;min-height:38px;padding:8px 11px;border:1px solid transparent;border-radius:11px;color:var(--text-muted);background:transparent;font:inherit;font-size:.76rem;font-weight:750;white-space:nowrap}.lesson-mobile-day-picker button[aria-pressed=true]{border-color:color-mix(in srgb,var(--primary) 24%,var(--border));color:var(--primary);background:var(--surface);box-shadow:var(--shadow-sm)}.lesson-mobile-day-view{display:grid;gap:17px;padding:15px}.lesson-mobile-day-view>section{display:grid;gap:8px}.lesson-mobile-day-view h3{width:fit-content;margin:0;padding:4px 9px;border-radius:999px;color:var(--primary);background:#eee9ff;font-size:.72rem}.lesson-mobile-slot{display:grid;grid-template-columns:82px minmax(0,1fr);gap:9px;align-items:stretch}.lesson-mobile-slot>time{display:flex;flex-direction:column;justify-content:center;padding:9px;border-radius:12px;background:var(--surface-muted)}.lesson-mobile-slot>time strong{color:var(--text);font-size:.72rem}.lesson-mobile-slot>time span{margin-top:3px;color:var(--text-muted);font-size:.62rem;font-variant-numeric:tabular-nums}.lesson-mobile-slot .school-timetable__empty{min-height:52px;border:1px dashed var(--border);border-radius:12px}.lesson-mobile-slot .school-timetable__lesson{min-height:60px}}@media(max-width:680px){.lesson-stat-strip,.memo-form-grid,.lesson-card{grid-template-columns:1fr}.lesson-card__actions{justify-content:flex-start}.lesson-card__actions .button{flex:1 1 auto}.memo-subnav{width:100%}}.memo-header-actions,.memo-inline-actions,.todo-category-chips{display:flex;flex-wrap:wrap;gap:.55rem}.todo-category-panel h2{display:flex;align-items:center;gap:.5rem}.todo-category-panel h2 svg{width:1.15rem;color:#6c4dff}.todo-category-chips>span{display:inline-flex;align-items:center;gap:.35rem;padding:.5rem .7rem;border:1px solid #e3ddeb;border-radius:999px;background:#fff;color:#21182b;font-weight:750}.todo-category-chips button{display:inline-grid;width:1.65rem;height:1.65rem;place-items:center;border:0;border-radius:50%;background:#fff0f5;color:#b52a5a;cursor:pointer}.todo-category-chips button svg{width:.9rem}.attendance-import{display:grid;gap:18px;padding:clamp(18px,3vw,28px);border:1px solid rgba(108,77,255,.18);border-left:6px solid #6c4dff;border-radius:22px;background:#fff;box-shadow:var(--shadow-sm)}.attendance-import__header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:14px}.attendance-import__icon{display:grid;width:46px;height:46px;place-items:center;border-radius:15px;background:#ffd84d;color:#21182b}.attendance-import__icon svg,.attendance-import__shield{width:24px;height:24px}.attendance-import__shield{color:#2ecf95}.attendance-import__eyebrow{color:#6c4dff;font-size:.76rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.attendance-import__header h2{margin:4px 0 0;font-size:1.15rem}.attendance-import__header p{max-width:720px;margin:6px 0 0;color:var(--text-muted);font-size:.9rem}.attendance-import__steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:0;margin:0;list-style:none}.attendance-import__steps li{display:flex;align-items:center;gap:9px;padding:10px 12px;border:1px solid var(--border);border-radius:14px;background:var(--surface-muted);color:var(--text-muted);font-size:.84rem}.attendance-import__steps strong{display:grid;width:24px;height:24px;place-items:center;border-radius:50%;background:#6c4dff1a}.attendance-import__steps .is-active{border-color:#6c4dff59;background:#f2edff;color:#21182b}.attendance-import__steps .is-active strong{background:#6c4dff;color:#fff}.attendance-import__picker{display:grid;grid-template-columns:minmax(240px,1fr) minmax(140px,auto) auto;align-items:end;gap:14px}.attendance-import__file-state{display:flex;min-height:42px;align-items:center;gap:8px;padding:9px 12px;border:1px dashed rgba(46,207,149,.55);border-radius:12px;color:var(--text-muted);font-size:.84rem;overflow-wrap:anywhere}.attendance-import__file-state svg{width:18px;color:#15845e}.attendance-import__review{display:grid;gap:15px;padding-top:4px}.attendance-import__summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.attendance-import__summary>span{display:grid;gap:3px;padding:13px 15px;border:1px solid var(--border);border-radius:15px;background:#fff9f2}.attendance-import__summary small{color:var(--text-muted)}.attendance-import__summary strong{font-size:1.45rem}.attendance-import__summary .is-valid{border-color:#2ecf956b;background:#e9fff7}.attendance-import__summary .is-invalid{border-color:#ff4f8b61;background:#fff0f5}.attendance-import__table td:last-child{max-width:320px;white-space:normal}.attendance-import__row-status{font-weight:700}.attendance-import__row-status.is-valid{color:#15845e}.attendance-import__row-status.is-invalid{color:#c42660}.attendance-import__confirm{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px;border:1px solid rgba(255,138,0,.35);border-radius:16px;background:#fff8e9}.attendance-import__confirm label{display:flex;align-items:flex-start;gap:10px;line-height:1.45}.attendance-import__confirm input{width:18px;height:18px;margin-top:1px;accent-color:#6c4dff}@media(max-width:820px){.attendance-import__picker{grid-template-columns:1fr;align-items:stretch}.attendance-import__picker .button{width:100%}}@media(max-width:560px){.attendance-import{padding:17px;border-left-width:4px;border-radius:18px}.attendance-import__header{grid-template-columns:auto minmax(0,1fr)}.attendance-import__shield{display:none}.attendance-import__steps{grid-template-columns:1fr}.attendance-import__summary{grid-template-columns:repeat(3,1fr)}.attendance-import__summary>span{padding:10px}.attendance-import__confirm{align-items:stretch;flex-direction:column}.attendance-import__confirm .button{width:100%}}@media(prefers-reduced-motion:reduce){.attendance-import *{scroll-behavior:auto!important}}.profile-page{display:grid;gap:22px}.profile-header-actions,.profile-inline-actions{display:flex;flex-wrap:wrap;gap:10px}.profile-insights{display:grid;gap:18px}.profile-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.profile-summary-card{min-height:132px;padding:20px;border:1px solid var(--border);border-radius:22px;display:grid;align-content:start;gap:8px;box-shadow:var(--shadow-sm)}.profile-summary-card>svg{width:28px;height:28px}.profile-summary-card>span{color:var(--text-muted);font-size:.88rem}.profile-summary-card>strong{color:var(--text);font-size:clamp(1.35rem,2.4vw,2rem)}.profile-summary-card--violet{background:linear-gradient(145deg,#f2eaff,#fff)}.profile-summary-card--pink{background:linear-gradient(145deg,#ffe8f2,#fff)}.profile-summary-card--mint{background:linear-gradient(145deg,#ddfff2,#fff)}.profile-summary-card--yellow{background:linear-gradient(145deg,#fff3bd,#fff)}.profile-chart-grid,.profile-ledger-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.profile-chart-card,.profile-ledger-card,.profile-payroll-history{min-width:0}.profile-chart-card figcaption,.profile-ledger-card>header,.profile-payroll-history>header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:18px}.profile-chart-card h2,.profile-ledger-card h2,.profile-payroll-history h2{margin:0;font-size:1.08rem}.profile-chart-card p,.profile-ledger-card p,.profile-payroll-history p{margin:5px 0 0;color:var(--text-muted);font-size:.88rem}.profile-meter-chart,.payroll-breakdown{display:grid;gap:14px;margin:8px 0 20px}.profile-meter>div,.payroll-breakdown__row{display:grid;grid-template-columns:minmax(100px,1fr) minmax(120px,2fr) auto;align-items:center;gap:12px}.profile-meter>div{grid-template-columns:1fr auto;margin-bottom:7px}.profile-meter meter{width:100%;height:13px;accent-color:var(--primary)}.profile-meter--accent meter{accent-color:var(--accent)}.payroll-breakdown__track{height:10px;overflow:hidden;background:#674acb1a;border-radius:999px}.payroll-breakdown__track>span{display:block;height:100%;border-radius:inherit}.payroll-breakdown__track .is-positive{background:linear-gradient(90deg,#7657ff,#ff5aa7)}.payroll-breakdown__track .is-negative{background:linear-gradient(90deg,#ffbb38,#ff6b7a)}.profile-table-wrap{max-width:100%;overflow-x:auto}.payroll-source-evidence{margin-top:16px;padding:14px 16px;border:1px solid rgba(46,207,149,.38);border-radius:16px;background:#2ecf9514}.payroll-source-evidence>strong{color:var(--color-ink)}.payroll-source-evidence p{margin:5px 0 0}.payroll-source-evidence details{margin-top:10px}.payroll-source-evidence summary{cursor:pointer;color:var(--primary);font-weight:750}.payroll-source-evidence ul{display:grid;gap:8px;margin:10px 0 0;padding:0;list-style:none}.payroll-source-evidence li{display:grid;grid-template-columns:minmax(120px,1fr) auto minmax(90px,1fr) auto minmax(90px,1fr);gap:8px;align-items:center}.payroll-source-evidence code{min-width:0;overflow-wrap:anywhere;color:var(--color-ink);font-size:.76rem}.profile-data-table{width:100%;border-collapse:collapse;font-size:.9rem}.profile-data-table caption{text-align:left;color:var(--text-muted);font-size:.78rem;padding:0 0 8px}.profile-data-table th,.profile-data-table td{padding:11px 10px;text-align:left;border-bottom:1px solid var(--border);white-space:nowrap}.profile-data-table th{color:var(--text-muted);font-weight:650}.profile-data-table__total th,.profile-data-table__total td{color:var(--text);font-weight:800}.profile-empty-cell{padding:28px!important;text-align:center!important;color:var(--text-muted)}.profile-segmented{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;margin-bottom:18px;background:var(--surface-muted);border-radius:14px}.profile-segmented button{border:0;border-radius:10px;padding:10px 12px;background:transparent;color:var(--text-muted);font:inherit;cursor:pointer}.profile-segmented button[aria-selected=true]{background:var(--surface);color:var(--primary);box-shadow:var(--shadow-sm);font-weight:700}.profile-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.profile-state-panel{min-height:240px;display:grid;place-items:center}@media(max-width:980px){.profile-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-chart-grid,.profile-ledger-grid{grid-template-columns:1fr}}@media(max-width:560px){.profile-summary-grid,.profile-form-grid{grid-template-columns:1fr}.profile-header-actions .button{flex:1 1 auto}.payroll-breakdown__row{grid-template-columns:88px minmax(72px,1fr) auto;font-size:.8rem}.profile-summary-card{min-height:112px}.payroll-source-evidence li{grid-template-columns:1fr;gap:3px}}.profile-payroll-private{min-height:15rem;display:grid;place-content:center;justify-items:center;gap:.55rem;color:var(--ink-muted);text-align:center}.profile-payroll-private svg{width:2rem;height:2rem;color:var(--color-primary-600)}.profile-payroll-private strong{color:var(--ink-strong);font-size:1.1rem}.profile-payroll-private p,.profile-payroll-hidden-note{margin:0}.profile-payroll-hidden-note{display:flex;align-items:center;gap:.5rem;margin:.25rem 1.5rem 1rem;padding:.7rem .85rem;border-radius:.9rem;background:color-mix(in srgb,var(--color-primary-100) 70%,white);color:var(--ink-muted)}.profile-payroll-hidden-note svg{width:1rem;flex:0 0 auto}.work-record-photos{display:grid;gap:12px;padding:16px;border:1px solid color-mix(in srgb,var(--color-violet) 23%,white);border-radius:18px;background:radial-gradient(circle at 100% 0,rgb(255 79 139 / .12),transparent 34%),linear-gradient(145deg,#fff,#fff9fd 72%)}.work-record-photos__header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.work-record-photos__header h3{margin:0;color:var(--color-ink);font-size:.94rem}.work-record-photos__header p{max-width:580px;margin:5px 0 0;color:var(--color-muted);font-size:.72rem;line-height:1.55}.work-record-photos__header>strong{flex:0 0 auto;padding:6px 9px;border-radius:999px;color:var(--color-violet);background:var(--color-violet-soft);font-size:.7rem}.work-record-photo-picker{display:flex;min-height:78px;align-items:center;justify-content:center;gap:12px;padding:13px 16px;border:2px dashed color-mix(in srgb,var(--color-violet) 50%,white);border-radius:15px;color:var(--color-violet);background:#6c4dff0b;cursor:pointer;transition:border-color .18s ease,background-color .18s ease,transform .18s ease}.work-record-photo-picker:hover{border-color:var(--color-pink);background:#ff4f8b12;transform:translateY(-1px)}.work-record-photo-picker:focus-within{outline:3px solid rgb(35 120 255 / .24);outline-offset:2px}.work-record-photo-picker--disabled{cursor:wait;opacity:.62;transform:none}.work-record-photo-picker>svg{width:25px;height:25px}.work-record-photo-picker>span{display:grid;gap:3px}.work-record-photo-picker strong{font-size:.82rem}.work-record-photo-picker small{color:var(--color-muted);font-size:.68rem}.work-record-photo-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.work-record-photo-item{display:grid;min-width:0;grid-template-columns:54px minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px;border:1px solid var(--color-border);border-radius:14px;background:#fff}.work-record-photo-item--candidate{border-color:#2ecf9561;background:#2ecf950b}.work-record-photo-thumb{position:relative;display:grid;width:54px;height:54px;overflow:hidden;place-items:center;border-radius:11px;color:var(--color-violet);background:var(--color-violet-soft)}.work-record-photo-thumb img{width:100%;height:100%;object-fit:cover}.work-record-photo-thumb>svg{width:20px;height:20px}.work-record-photo-thumb>span{position:absolute;right:4px;bottom:4px;padding:2px 4px;border-radius:5px;color:#fff;background:#21182bc7;font-size:.52rem;font-weight:850}.work-record-photo-item__copy{display:grid;min-width:0;gap:3px}.work-record-photo-item__copy strong{overflow:hidden;font-size:.75rem;text-overflow:ellipsis;white-space:nowrap}.work-record-photo-item__copy small{color:var(--color-muted);font-size:.64rem}.work-record-photo-state{display:inline-flex;align-items:center;gap:4px;padding:5px 7px;border-radius:999px;color:#14714f;background:#2ecf9524;font-size:.62rem;font-weight:800}.work-record-photo-state svg{width:13px;height:13px}.work-record-photo-remove{display:grid;width:36px;height:36px;place-items:center;border:0;border-radius:11px;color:#b5265b;background:#ff4f8b1f;cursor:pointer}.work-record-photo-remove:hover{background:#ff4f8b33}.work-record-photo-remove:focus-visible{outline:3px solid rgb(35 120 255 / .28);outline-offset:2px}.work-record-photo-remove:disabled{cursor:wait;opacity:.55}.work-record-photo-remove svg{width:17px;height:17px}.work-record-photos__empty,.work-record-photos__privacy{display:flex;align-items:center;gap:7px;margin:0;color:var(--color-muted);font-size:.68rem;line-height:1.5}.work-record-photos__empty svg,.work-record-photos__privacy svg{flex:0 0 auto;width:14px;height:14px}.work-record-photos__privacy{color:#24569c}.work-record-evidence{display:grid;gap:10px;margin-top:14px;padding-top:12px;border-top:1px dashed var(--color-border)}.work-record-evidence>header{display:flex;align-items:center;justify-content:space-between;gap:10px}.work-record-evidence>header>div{display:inline-flex;align-items:center;gap:6px;color:var(--color-ink);font-size:.76rem}.work-record-evidence>header svg{width:15px;height:15px;color:var(--color-pink)}.work-record-evidence>header>span{color:var(--color-muted);font-size:.66rem}.work-record-evidence__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.work-record-evidence-card{display:grid;min-width:0;gap:8px;padding:9px;border:1px solid var(--color-border);border-radius:14px;background:#fffafd}.work-record-evidence-card__placeholder,.work-record-evidence-card__preview{position:relative;display:grid;width:100%;min-height:96px;overflow:hidden;place-items:center;border:0;border-radius:10px;color:var(--color-violet);background:linear-gradient(145deg,var(--color-violet-soft),var(--color-blue-soft))}.work-record-evidence-card__placeholder>svg{width:24px;height:24px}.work-record-evidence-card__placeholder>span{font-size:.62rem;font-weight:850}.work-record-evidence-card__preview{padding:0;cursor:zoom-out}.work-record-evidence-card__preview img{width:100%;height:150px;object-fit:contain;background:#21182b}.work-record-evidence-card__preview>span{position:absolute;right:7px;bottom:7px;padding:4px 6px;border-radius:7px;color:#fff;background:#21182bd1;font-size:.58rem}.work-record-evidence-card__copy{display:grid;min-width:0;gap:2px}.work-record-evidence-card__copy strong{overflow:hidden;font-size:.7rem;text-overflow:ellipsis;white-space:nowrap}.work-record-evidence-card__copy small{color:var(--color-muted);font-size:.62rem}.work-record-evidence-card__actions{display:flex;gap:5px}.work-record-evidence-card__actions .button{min-height:34px;flex:1;padding:6px 8px;font-size:.65rem}.work-record-evidence-card__actions .button svg{width:14px;height:14px}.work-record-evidence-card__error{margin:0;color:#b5265b;font-size:.62rem;line-height:1.45}.work-record-evidence__blocked{display:flex;align-items:center;gap:8px;margin:0;padding:10px 12px;border-radius:11px;color:#625968;background:#f1eef2;font-size:.7rem;line-height:1.5}.work-record-evidence__blocked svg{flex:0 0 auto;width:15px;height:15px}@media(prefers-reduced-motion:reduce){.work-record-photo-picker{transition:none}}@media(max-width:900px){.work-record-evidence__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.work-record-photos{padding:13px}.work-record-photos__header{align-items:stretch;flex-direction:column}.work-record-photos__header>strong{align-self:flex-start}.work-record-photo-picker{min-height:88px;justify-content:flex-start}.work-record-photo-list,.work-record-evidence__grid{grid-template-columns:1fr}.work-record-photo-item{grid-template-columns:50px minmax(0,1fr) auto}.work-record-photo-thumb{width:50px;height:50px}.work-record-evidence-card__placeholder{min-height:78px}.work-record-evidence-card__actions .button{min-height:42px}}.records-page{gap:20px}.records-header-actions{display:flex;flex-wrap:wrap;gap:9px}.records-filter-panel{padding:19px;border-top:4px solid var(--color-cobalt)}.records-filter-panel>header{display:flex;align-items:center;gap:10px;margin-bottom:16px}.records-filter-panel>header svg{color:var(--color-cobalt)}.records-filter-panel h2,.record-insight h2{margin:0;font-size:1rem}.records-filter-panel header p,.record-insight header p{margin-top:4px;color:var(--color-muted);font-size:.78rem}.records-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.records-filter-grid .field{margin:0}.records-filter-panel>footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px}.records-status-tabs{display:inline-flex;gap:5px;padding:4px;border-radius:14px;background:#f4f0f6}.records-status-tabs button{min-height:38px;padding:8px 12px;border:0;border-radius:10px;color:var(--color-muted);background:transparent;font-weight:720}.records-status-tabs button[aria-selected=true]{color:var(--color-violet);background:#fff;box-shadow:0 4px 12px #21182b14}.record-insight-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.record-insight{min-width:0;padding:19px}.record-insight>header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:15px}.record-insight>header svg{color:var(--color-pink)}.record-horizontal-bars{display:grid;gap:9px;min-height:150px;align-content:center}.record-horizontal-bars>div{display:grid;grid-template-columns:minmax(80px,130px) 1fr 32px;align-items:center;gap:9px}.record-horizontal-bars span,.record-month-bars span{overflow:hidden;color:var(--color-muted);font-size:.72rem;text-overflow:ellipsis;white-space:nowrap}.record-horizontal-bars>div>div{height:12px;overflow:hidden;border-radius:999px;background:#f1edf4}.record-horizontal-bars i{display:block;height:100%;border-radius:inherit;background:var(--color-pink)}.record-horizontal-bars>div:nth-child(4n+2) i{background:var(--color-orange)}.record-horizontal-bars>div:nth-child(4n+3) i{background:var(--color-mint)}.record-horizontal-bars>div:nth-child(4n) i{background:var(--color-violet)}.record-horizontal-bars strong{font-size:.78rem;text-align:right}.record-month-bars{display:flex;min-height:150px;align-items:end;gap:8px;overflow-x:auto;padding:8px 4px}.record-month-bars>div{display:grid;min-width:52px;height:142px;grid-template-rows:1fr auto auto;gap:4px;text-align:center}.record-month-bars>div>div{display:flex;align-items:end;justify-content:center}.record-month-bars i{display:block;width:28px;min-height:6px;border-radius:10px 10px 4px 4px;background:var(--color-cobalt)}.record-month-bars strong{font-size:.76rem}.record-number-table{width:100%;margin-top:14px;border-collapse:collapse;font-size:.75rem}.record-number-table caption{color:var(--color-muted);padding-bottom:7px;text-align:left;font-size:.72rem;font-weight:750}.record-number-table th,.record-number-table td{padding:8px;border-top:1px solid var(--color-border);text-align:left}.record-number-table td{text-align:right}.record-ledger-list{display:grid;gap:12px}.record-ledger-item{padding:18px;border:1px solid var(--color-border);border-left:6px solid var(--color-cobalt);border-radius:19px;background:#fff;box-shadow:0 7px 20px #21182b0f}.record-ledger-item--archived{border-left-color:var(--color-orange);background:#fffcf7}.record-ledger-item--deleted{border-left-color:#a79dab;background:#faf8fa}.record-ledger-item>header{display:flex;align-items:center;justify-content:space-between;gap:10px}.record-ledger-item>header>div{display:flex;align-items:center;flex-wrap:wrap;gap:9px}.record-ledger-item>header span{padding:5px 8px;border-radius:999px;color:#24569c;background:var(--color-blue-soft);font-size:.7rem;font-weight:800}.record-ledger-item>header time{color:var(--color-muted);font-size:.73rem}.record-ledger-item>header>strong{color:var(--color-muted);font-size:.72rem}.record-ledger-item h2{margin:12px 0 0;font-size:1rem}.record-ledger-item>p{margin-top:7px;color:var(--color-muted);line-height:1.65}.record-ledger-item__facts{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.record-ledger-item__facts span{display:inline-flex;align-items:center;gap:5px;padding:6px 9px;border-radius:999px;color:var(--color-muted);background:#f5f2f7;font-size:.72rem}.record-ledger-item__facts svg{width:14px;height:14px}.record-ledger-item>footer{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:7px;margin-top:13px;padding-top:12px;border-top:1px solid var(--color-border)}.records-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.records-people{padding:15px;border:1px solid var(--color-border);border-radius:16px;background:#fffafd}.records-people>header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:12px}.records-people h3{margin:0;font-size:.9rem}.records-people header p{margin:4px 0 0;color:var(--color-muted);font-size:.72rem;line-height:1.5}.records-people header>strong{flex:0 0 auto;padding:6px 9px;border-radius:999px;color:var(--color-violet);background:var(--color-violet-soft);font-size:.7rem}.records-people__columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.records-people fieldset{min-width:0;margin:0;padding:10px;border:1px solid var(--color-border);border-radius:13px;background:#fff}.records-people legend{padding:0 5px;color:var(--color-muted);font-size:.72rem;font-weight:800}.records-people__choices{display:grid;max-height:180px;gap:6px;overflow-y:auto}.records-people__choices label{display:flex;min-width:0;align-items:center;gap:9px;padding:8px;border-radius:10px;cursor:pointer}.records-people__choices label:hover{background:var(--color-blue-soft)}.records-people__choices input{width:17px;height:17px;accent-color:var(--color-violet)}.records-people__choices span{display:flex;min-width:0;flex-direction:column;gap:2px}.records-people__choices strong,.records-people__choices small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.records-people__choices strong{font-size:.78rem}.records-people__choices small,.records-people__empty{color:var(--color-muted);font-size:.68rem}.records-people__empty{margin:0;padding:10px;line-height:1.5}.records-type-create{display:grid;grid-template-columns:1fr 1.4fr auto;align-items:end;gap:10px}.records-type-create .field{margin:0}.records-type-list{display:grid;gap:7px;max-height:320px;overflow-y:auto;margin-top:17px}.records-type-list>div{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border:1px solid var(--color-border);border-radius:12px}.records-type-list>div>span{display:flex;min-width:0;flex-direction:column;gap:3px}.records-type-list small{color:var(--color-muted);font-size:.7rem}@media(max-width:900px){.records-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.record-insight-grid{grid-template-columns:1fr}.records-type-create{grid-template-columns:1fr 1fr}.records-type-create .button{grid-column:1 / -1}}@media(max-width:640px){.records-header-actions,.records-header-actions .button{width:100%}.records-filter-grid,.records-form-grid,.records-type-create,.records-people__columns{grid-template-columns:1fr}.records-people>header{flex-direction:column}.records-filter-panel>footer{align-items:stretch;flex-direction:column}.records-status-tabs{display:grid;grid-template-columns:repeat(3,1fr)}.records-filter-panel>footer>.button{width:100%}.record-ledger-item>footer .button{flex:1 1 120px}.record-horizontal-bars>div{grid-template-columns:85px 1fr 26px}}.settings-page{--settings-accent: var(--color-violet)}.settings-tabs{display:flex;gap:8px;padding:6px;border:1px solid var(--color-border);border-radius:16px;background:var(--color-surface);box-shadow:var(--shadow-card)}.settings-tabs button{flex:1;min-height:44px;border:0;border-radius:11px;background:transparent;color:var(--color-muted);font:inherit;font-weight:850;cursor:pointer}.settings-tabs button[aria-current=page]{background:var(--color-violet);color:#fff}.agent-api-center{display:grid;gap:20px}.agent-api-hero>p{margin-top:16px;color:var(--color-muted);line-height:1.7}.agent-api-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:16px}.agent-api-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0 0}.agent-api-metrics div{min-width:0;padding:12px;border-radius:12px;background:#ffffffc7}.agent-api-metrics dt{color:var(--color-muted);font-size:.75rem;font-weight:800}.agent-api-metrics dd{overflow-wrap:anywhere;margin:4px 0 0;color:var(--color-ink);font-size:.86rem;font-weight:850}.agent-token-grid{align-items:stretch}.agent-scope-list{display:grid;gap:7px;padding:0;border:0}.agent-scope-list legend{margin-bottom:8px;font-size:.85rem;font-weight:850}.agent-scope-list label{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid var(--color-border);border-radius:11px;background:var(--color-surface)}.agent-scope-list span{display:grid;gap:2px;font-weight:800}.agent-scope-list small{color:var(--color-muted);font-family:ui-monospace,monospace;font-weight:500}.agent-token-list{display:grid;gap:9px;padding:0;list-style:none}.agent-token-list li{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:12px;border:1px solid var(--color-border);border-radius:12px}.agent-token-list li>div{display:grid;min-width:0;gap:4px}.agent-token-list code,.agent-resource-list code{color:var(--color-violet);font-family:ui-monospace,monospace}.agent-token-list small{color:var(--color-muted)}.agent-token-once{border:2px solid var(--color-orange)}.agent-token-once>header span{color:#a95000;font-weight:900}.agent-token-once pre,.agent-api-docs pre,.agent-code-samples pre{overflow:auto;padding:14px;border-radius:12px;background:#21182b;color:#fff9f2;font:.78rem/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere}.agent-api-docs .panel-heading{align-items:end}.agent-doc-search{display:flex;min-width:min(100%,280px);align-items:center;gap:8px;padding:0 11px;border:1px solid var(--color-border);border-radius:10px;background:#fff}.agent-doc-search svg{width:1rem;color:var(--color-violet)}.agent-doc-search input{width:100%;min-height:40px;border:0;outline:0;font:inherit}.agent-resource-list{display:grid;gap:10px}.agent-resource-list details{border:1px solid var(--color-border);border-radius:13px;background:var(--color-surface)}.agent-resource-list summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px;cursor:pointer}.agent-resource-list summary>span{display:grid;gap:4px;color:var(--color-muted);font-size:.8rem}.agent-resource-list details>:not(summary){margin-inline:14px}.agent-resource-list details>pre{max-height:28rem}.agent-code-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.agent-code-grid article{min-width:0}.agent-code-grid h3{margin-bottom:7px;font-size:.9rem}.agent-error-codes{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.agent-error-codes span{padding:7px 10px;border-radius:999px;background:var(--color-violet-soft);color:var(--color-muted);font-size:.78rem}.agent-error-codes strong{color:var(--color-violet)}.settings-provider-panel{overflow:hidden;padding:clamp(20px,3vw,30px);border:1px solid color-mix(in srgb,var(--color-violet) 24%,var(--color-border));border-radius:var(--radius-panel);background:radial-gradient(circle at 92% 5%,color-mix(in srgb,var(--color-yellow) 34%,transparent),transparent 30%),linear-gradient(135deg,var(--color-surface),color-mix(in srgb,var(--color-violet-soft) 55%,white));box-shadow:var(--shadow-panel)}.settings-provider-panel>header,.settings-editor__actions,.prompt-version-list footer{display:flex;align-items:center;justify-content:space-between;gap:16px}.prompt-version-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}.settings-provider-panel>header>div>span,.settings-kicker{display:inline-flex;align-items:center;gap:7px;color:var(--color-violet);font-size:.76rem;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.settings-provider-panel h2{margin-top:6px;font-size:clamp(1.15rem,2vw,1.45rem)}.settings-safe-chip{display:inline-flex;min-height:36px;align-items:center;gap:7px;padding:7px 12px;border-radius:999px;color:var(--color-ink);background:var(--color-mint-soft);font-size:.8rem;font-weight:800}.provider-status-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:22px}.provider-status-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:16px;border:1px solid var(--color-border);border-radius:var(--radius-card);background:color-mix(in srgb,white 82%,var(--color-pink-soft))}.provider-status-card.is-ready{border-color:color-mix(in srgb,var(--color-mint) 45%,var(--color-border))}.provider-status-card__icon{display:grid;width:42px;height:42px;place-items:center;border-radius:14px;color:var(--color-violet);background:var(--color-yellow)}.provider-status-card h3{font-size:.95rem}.provider-status-card p,.settings-private-note,.prompt-version-list p,.prompt-version-list time{color:var(--color-muted);font-size:.82rem}.provider-status-card>span{padding:6px 9px;border-radius:999px;color:var(--color-muted);background:var(--color-canvas);font-size:.75rem;font-weight:800}.provider-status-card.is-ready>span{color:var(--color-ink);background:var(--color-mint-soft)}.provider-status-card.is-reachable{box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--color-mint) 58%,transparent)}.provider-status-card__health{display:flex;grid-column:1 / -1;align-items:center;justify-content:space-between;gap:10px;padding-top:10px;border-top:1px dashed var(--color-border)}.provider-status-card__health small{color:var(--color-muted);font-size:.74rem;font-weight:750}.provider-status-card__health [data-health-status=reachable]{color:#087657}.provider-status-card__health [data-health-status=unreachable]{color:#b02755}.provider-status-card__health .button{min-height:34px}.settings-private-note{margin-top:16px;line-height:1.7}.settings-prompt-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr);gap:20px;align-items:start}.settings-editor textarea{min-height:260px;resize:vertical;line-height:1.7}.prompt-version-list{display:grid;gap:12px;padding:0;list-style:none}.prompt-version-list li{padding:15px;border:1px solid var(--color-border);border-radius:var(--radius-card);background:var(--color-surface)}.prompt-version-list li.is-current{border-color:color-mix(in srgb,var(--color-violet) 45%,var(--color-border));background:color-mix(in srgb,var(--color-violet-soft) 55%,white)}.prompt-version-list li>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.prompt-version-list li>div span{display:inline-flex;align-items:center;gap:5px;color:var(--color-violet);font-size:.75rem;font-weight:800}.prompt-version-list p{display:-webkit-box;overflow:hidden;margin:10px 0 14px;line-height:1.65;-webkit-box-orient:vertical;-webkit-line-clamp:4}@media(max-width:900px){.settings-prompt-grid,.provider-status-grid,.agent-code-grid{grid-template-columns:1fr}.agent-api-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.settings-provider-panel>header,.settings-editor__actions,.prompt-version-list footer{align-items:stretch;flex-direction:column}.settings-tabs,.agent-api-docs .panel-heading,.agent-resource-list summary{align-items:stretch;flex-direction:column}.agent-api-metrics{grid-template-columns:1fr}.agent-token-list li{grid-template-columns:1fr auto}.agent-token-list li .button{grid-column:1 / -1;width:100%}.prompt-version-actions,.prompt-version-actions .button{width:100%}.settings-safe-chip{align-self:flex-start}.provider-status-card{grid-template-columns:auto 1fr}.provider-status-card>span{grid-column:2;justify-self:start}.provider-status-card__health{grid-column:1 / -1;align-items:stretch;flex-direction:column}}.student-events-page{--event-ink: #21182b;--event-violet: #6c4dff;--event-pink: #ff4f8b;--event-orange: #ff8a00;--event-yellow: #ffd84d;--event-mint: #2ecf95;--event-blue: #2378ff}.student-event-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.65rem}.student-events-state-panel{min-height:13rem;display:grid;place-items:center}.student-event-context{display:grid;grid-template-columns:minmax(16rem,1.1fr) repeat(2,minmax(13rem,.8fr));gap:1rem;align-items:end;border-top:4px solid var(--event-yellow)}.student-event-context__intro{display:flex;gap:.8rem;align-items:center}.student-event-context__intro>span,.student-event-chart-icon{width:2.7rem;height:2.7rem;display:grid;place-items:center;flex:0 0 auto;border-radius:.9rem}.student-event-context__intro>span{color:#fff;background:var(--event-violet)}.student-event-context__intro svg,.student-event-chart-icon svg{width:1.35rem;height:1.35rem}.student-event-context__intro strong,.student-event-select>span{color:var(--event-ink);font-weight:850}.student-event-context__intro p,.student-event-ledgers__header p{margin:.25rem 0 0;color:#6f6477;font-size:.86rem;line-height:1.5}.student-event-select{display:grid;gap:.45rem}.student-event-select select{width:100%;min-height:2.8rem;border:1px solid #ded6e5;border-radius:.8rem;padding:.62rem .75rem;color:var(--event-ink);background:#fff;font:inherit}.student-event-select select:focus-visible,.student-event-form input:focus-visible,.student-event-form select:focus-visible,.student-event-form textarea:focus-visible,.student-event-student-picker input:focus-visible{border-color:var(--event-violet);outline:3px solid rgb(108 77 255 / .24);outline-offset:1px}.student-event-select select:disabled{color:#8b818f;background:#f4f1f5;cursor:not-allowed}.student-event-insights{display:grid;gap:1rem}.student-event-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.student-event-summary-card{min-width:0;display:flex;align-items:center;gap:.85rem;border:1px solid #e9e2ec;border-left:5px solid var(--event-blue);border-radius:1rem;padding:1rem 1.1rem;color:var(--event-ink);background:#fff;box-shadow:0 8px 22px #21182b0f}.student-event-summary-card>span{width:2.65rem;height:2.65rem;display:grid;place-items:center;flex:0 0 auto;border-radius:.85rem;color:var(--event-blue);background:#eaf2ff}.student-event-summary-card>span svg{width:1.35rem;height:1.35rem}.student-event-summary-card>div{min-width:0;display:grid;gap:.2rem}.student-event-summary-card small{color:#6f6477;font-weight:750}.student-event-summary-card strong{font-size:clamp(1.35rem,2.2vw,2rem);line-height:1.05}.student-event-summary-card--discipline{border-left-color:var(--event-pink)}.student-event-summary-card--discipline>span{color:#c52d67;background:#ffe5ef}.student-event-summary-card--award{border-left-color:var(--event-orange)}.student-event-summary-card--award>span{color:#9b5a00;background:#fff4ba}.student-event-chart-card{min-width:0;margin:0;border-top:4px solid var(--event-violet)}.student-event-chart-card>figcaption{display:flex;align-items:center;gap:.85rem;margin-bottom:1.15rem}.student-event-chart-icon{color:var(--event-violet);background:#eeeaff}.student-event-chart-card h2,.student-event-ledgers h2,.student-event-ledger h3{margin:0;color:var(--event-ink)}.student-event-chart-card h2,.student-event-ledgers h2{font-size:1.1rem}.student-event-chart-card figcaption p{margin:.25rem 0 0;color:#6f6477;font-size:.84rem;line-height:1.45}.student-event-month-chart{display:grid;gap:.8rem}.student-event-month{display:grid;grid-template-columns:minmax(6.5rem,.32fr) minmax(0,1fr);gap:.55rem 1rem;align-items:center;padding:.85rem 0;border-bottom:1px solid #eee8f0}.student-event-month:last-child{border-bottom:0}.student-event-month__label{grid-row:1 / span 3;color:var(--event-ink);font-size:.92rem}.student-event-bar{display:grid;grid-template-columns:3rem minmax(4rem,1fr) 2rem;gap:.7rem;align-items:center;color:#655a6c;font-size:.82rem}.student-event-bar__track{height:.72rem;overflow:hidden;border-radius:.35rem;background:#f0ebf2}.student-event-bar__track>span{display:block;height:100%;border-radius:inherit;background:var(--event-blue)}.student-event-bar--discipline .student-event-bar__track>span{background:var(--event-pink)}.student-event-bar--award .student-event-bar__track>span{background:var(--event-orange)}.student-event-bar strong{color:var(--event-ink);text-align:right}.student-event-chart-caveat{margin:.85rem 0 1.1rem;color:#746a7b;font-size:.78rem;line-height:1.5}.student-event-tables{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(16rem,.75fr);gap:1rem;align-items:start}.student-event-table-wrap{width:100%;overflow-x:auto;border:1px solid #ebe4ee;border-radius:.85rem}.student-event-data-table{width:100%;min-width:30rem;border-collapse:collapse;color:var(--event-ink);background:#fff}.student-event-data-table--weekly{min-width:16rem}.student-event-data-table caption{padding:.7rem .85rem;color:#5c5063;background:#faf7fb;font-weight:850;text-align:left}.student-event-data-table th,.student-event-data-table td{padding:.7rem .85rem;border-top:1px solid #eee8f0;text-align:left}.student-event-data-table thead th{color:#6f6377;background:#fffdfd;font-size:.8rem}.student-event-data-table td:not(:first-child){font-variant-numeric:tabular-nums;font-weight:800}.student-event-ledgers{display:grid;gap:1rem}.student-event-ledgers__header{display:flex;align-items:end;justify-content:space-between;gap:1rem}.student-event-ledger-filters{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.5rem}.award-ledger-toggle{display:inline-flex;gap:.25rem;padding:.25rem;border:1px solid #eadff0;border-radius:999px;background:#fff;box-shadow:0 8px 24px #6c4dff14}.award-ledger-toggle button{min-height:2.35rem;padding:.45rem .8rem;border:0;border-radius:999px;color:#6f6477;background:transparent;font:inherit;font-size:.82rem;font-weight:800;cursor:pointer}.award-ledger-toggle button[aria-pressed=true]{color:#fff;background:linear-gradient(135deg,var(--event-violet),var(--event-pink))}.student-event-ledger-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.student-event-ledger{min-width:0;padding:1.1rem;border-top:4px solid var(--event-blue)}.student-event-ledger--discipline{border-top-color:var(--event-pink)}.student-event-ledger--award{border-top-color:var(--event-orange)}.student-event-ledger>header{display:grid;grid-template-columns:auto 1fr auto;gap:.65rem;align-items:center;margin-bottom:.75rem}.student-event-ledger>header>span{color:var(--event-violet)}.student-event-ledger>header svg{width:1.2rem;height:1.2rem}.student-event-ledger>header strong{min-width:1.8rem;border-radius:.6rem;padding:.28rem .45rem;color:#fff;background:var(--event-violet);font-size:.8rem;text-align:center}.student-event-ledger ul{display:grid;margin:0;padding:0;list-style:none}.student-event-ledger li{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.55rem;align-items:center;padding:.7rem 0;border-top:1px solid #eee8f0}.student-event-ledger__copy{min-width:0;display:grid;gap:.2rem}.award-ledger-evidence{width:fit-content;display:inline-flex;gap:.3rem;align-items:center;padding:.18rem .5rem;border-radius:999px;color:#6a3d00;background:#fff2c5;font-weight:750}.award-ledger-evidence svg{width:.8rem;height:.8rem}.student-event-ledger__actions{display:flex;gap:.25rem;opacity:.72;transition:opacity .16s ease}.student-event-ledger li:hover .student-event-ledger__actions,.student-event-ledger__actions:focus-within{opacity:1}.student-event-ledger__actions button{width:2rem;height:2rem;display:inline-grid;place-items:center;border:1px solid #e5ddea;border-radius:.65rem;color:var(--event-violet);background:#fff;cursor:pointer}.student-event-ledger__actions button:hover{border-color:#cfc1df;background:#f8f3ff}.student-event-ledger__actions button.student-event-ledger__delete{color:#c13f65}.student-event-ledger__actions svg{width:.95rem;height:.95rem}.student-event-ledger li strong,.student-event-ledger li span,.student-event-ledger li small{overflow-wrap:anywhere}.award-certificates{display:grid;gap:.75rem;padding:1rem;border:1px solid #e8dcff;border-radius:1rem;background:radial-gradient(circle at 92% 10%,rgb(255 216 77 / 28%),transparent 28%),linear-gradient(145deg,#fff,#fff8fc)}.award-certificates>header{display:flex;align-items:start;justify-content:space-between;gap:1rem}.award-certificates h3,.award-certificates p{margin:0}.award-certificates h3{color:var(--event-ink);font-size:.96rem}.award-certificates header p,.award-certificates__privacy,.award-certificates__empty{color:#706475;font-size:.78rem;line-height:1.55}.award-certificates>header>strong{flex:0 0 auto;padding:.25rem .55rem;border-radius:999px;color:#4c2dc2;background:#eee8ff;font-size:.78rem}.award-certificate-picker{min-height:4.4rem;display:flex;gap:.8rem;align-items:center;padding:.8rem 1rem;border:2px dashed #b8a5ff;border-radius:.9rem;color:var(--event-violet);background:#6c4dff0d;cursor:pointer}.award-certificate-picker:hover{border-color:var(--event-pink);background:#ff4f8b0f}.award-certificate-picker--disabled{opacity:.6;cursor:wait}.award-certificate-picker>svg{width:1.6rem;height:1.6rem}.award-certificate-picker>span,.award-certificate-item>span{min-width:0;display:grid;gap:.15rem}.award-certificate-picker small,.award-certificate-item small{color:#746978;font-size:.75rem}.award-certificate-list{display:grid;gap:.5rem}.award-certificate-item{min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;gap:.55rem;align-items:center;padding:.65rem .75rem;border:1px solid #e9e1ed;border-radius:.8rem;color:var(--event-mint);background:#fff}.award-certificate-item--candidate{color:var(--event-orange);border-color:#ffd9a8;background:#fffaf2}.award-certificate-item strong{overflow:hidden;color:var(--event-ink);text-overflow:ellipsis;white-space:nowrap}.award-certificate-item button{width:2.25rem;height:2.25rem;display:grid;place-items:center;border:1px solid #e5ddea;border-radius:.65rem;color:var(--event-violet);background:#fff;cursor:pointer}.award-certificate-item svg,.award-certificates__privacy svg,.award-certificates__empty svg{width:1rem;height:1rem}.award-certificates__privacy,.award-certificates__empty{display:flex;gap:.4rem;align-items:center}.student-event-ledger li strong{color:var(--event-ink)}.student-event-ledger li span,.student-event-ledger li small,.student-event-ledger__empty,.student-event-ledger__more{color:#726778;font-size:.8rem;line-height:1.45}.student-event-ledger__empty{min-height:5rem;display:grid;place-items:center;margin:0;border:1px dashed #ded5e3;border-radius:.8rem}.student-event-ledger__more{margin:.65rem 0 0}.discipline-import-panel{display:grid;gap:1rem;padding:1.2rem;border-top:4px solid var(--event-pink)}.discipline-import-panel__header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.85rem}.discipline-import-panel__mark{width:2.7rem;height:2.7rem;display:grid;place-items:center;border-radius:.9rem;color:#7b43d3;background:linear-gradient(145deg,#f0e7ff,#ffe8f1)}.discipline-import-panel__mark svg,.discipline-import-panel__safety svg{width:1.2rem;height:1.2rem}.discipline-import-panel__eyebrow{color:#a13d7c;font-size:.74rem;font-weight:850;letter-spacing:.06em}.discipline-import-panel h2{margin:.15rem 0 0;color:var(--event-ink);font-size:1.1rem}.discipline-import-panel__header p,.discipline-import-review__footer p{margin:.25rem 0 0;color:#716576;font-size:.84rem;line-height:1.5}.discipline-import-panel__safety{display:flex;align-items:center;gap:.45rem;max-width:17rem;padding:.65rem .8rem;border:1px solid #dfd0f1;border-radius:.8rem;color:#654b79;background:#fbf8ff;font-size:.78rem;line-height:1.4}.discipline-import-panel__controls{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:.8rem}.discipline-import-file{display:grid;gap:.4rem;min-width:0}.discipline-import-file>span{color:var(--event-ink);font-size:.84rem;font-weight:800}.discipline-import-file input{width:100%;min-width:0;padding:.6rem;border:1px dashed #d8c9e2;border-radius:.75rem;background:#fffafd}.discipline-import-file small{color:#7d7281;line-height:1.45}.discipline-import-review{display:grid;gap:.8rem}.discipline-import-review__summary{display:flex;flex-wrap:wrap;gap:.55rem}.discipline-import-review__summary span{padding:.45rem .65rem;border-radius:999px;color:#65596a;background:#f4eef7;font-size:.78rem}.discipline-import-review__summary span.is-error{color:#aa315d;background:#ffe9f0}.discipline-import-review__table-wrap{overflow-x:auto;border:1px solid #eadfee;border-radius:.85rem}.discipline-import-review table{width:100%;min-width:38rem;border-collapse:collapse;font-size:.8rem}.discipline-import-review th,.discipline-import-review td{padding:.65rem .7rem;border-bottom:1px solid #eee7f0;text-align:left}.discipline-import-review th{color:#66566d;background:#fbf8fc}.discipline-import-review tr.is-invalid td{background:#fff4f7}.discipline-import-review td span{display:inline-flex;align-items:center;gap:.3rem;color:#b23b62}.discipline-import-review td svg{width:.9rem;height:.9rem}.discipline-import-review__footer{display:flex;align-items:center;justify-content:space-between;gap:1rem}.student-event-form select,.student-event-form input,.student-event-form textarea{font:inherit}.student-event-student-picker{margin:0;border:1px solid #e6ddec;border-radius:.9rem;padding:.9rem}.student-event-student-picker legend{padding:0 .35rem;color:var(--event-ink);font-weight:850}.student-event-student-picker>p{margin:0 0 .75rem;color:#716677;font-size:.78rem}.student-event-student-picker__options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem;max-height:13rem;overflow-y:auto}.student-event-student-picker__options label{min-height:2.75rem;display:flex;align-items:center;gap:.6rem;border:1px solid #ebe4ee;border-radius:.75rem;padding:.55rem .7rem;color:var(--event-ink);background:#fffdfd;cursor:pointer}.student-event-student-picker__options input{width:1.15rem;height:1.15rem;accent-color:var(--event-violet)}.student-event-student-picker__empty{display:block;color:#716677;font-size:.82rem}@media(max-width:980px){.student-event-context,.student-event-tables{grid-template-columns:1fr}.student-event-context__intro{grid-column:1 / -1}.student-event-ledger-grid{grid-template-columns:1fr}}@media(max-width:720px){.student-event-ledgers__header,.award-certificates>header{align-items:stretch;flex-direction:column}.award-ledger-toggle{width:100%}.student-event-ledger-filters{display:grid;grid-template-columns:1fr;width:100%}.award-ledger-toggle button{flex:1}.student-events-page .page-header{display:grid;grid-template-columns:minmax(0,1fr)}.discipline-import-panel__header,.discipline-import-panel__controls{grid-template-columns:1fr}.discipline-import-panel__mark{display:none}.discipline-import-panel__safety{max-width:none}.discipline-import-review__footer{align-items:stretch;flex-direction:column}.student-events-page .page-header__action{width:100%}.student-event-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.student-event-actions .button{min-width:44px;padding-inline:.65rem}.student-events-page .student-event-actions .button span{display:inline;position:static;width:auto;height:auto;overflow:visible;clip:auto}.student-event-summary-grid{gap:.55rem}.student-event-summary-card{display:grid;gap:.5rem;padding:.8rem;border-left-width:1px;border-top:4px solid var(--event-blue)}.student-event-summary-card--discipline{border-top-color:var(--event-pink)}.student-event-summary-card--award{border-top-color:var(--event-orange)}.student-event-summary-card>span{width:2.2rem;height:2.2rem}.student-event-summary-card small{font-size:.72rem}.student-event-summary-card strong{font-size:1.2rem}.student-event-month{grid-template-columns:1fr;gap:.55rem}.student-event-month__label{grid-row:auto;margin-bottom:.1rem}.student-event-student-picker__options,.student-event-form .form-grid--2{grid-template-columns:1fr}.award-certificate-item{grid-template-columns:auto minmax(0,1fr) auto}}@media(max-width:420px){.student-event-bar{grid-template-columns:2.6rem minmax(3rem,1fr) 1.6rem;gap:.45rem}.student-event-actions .button{font-size:.78rem}}@media(prefers-reduced-motion:reduce){.student-events-page *{scroll-behavior:auto;transition-duration:.01ms!important}}.student-comments-page{gap:20px}.comment-builder>header{display:flex;justify-content:space-between;gap:12px;margin-bottom:18px}.comment-builder h2{margin:0;font-size:1.08rem}.comment-builder header p{margin:5px 0 0;color:var(--text-muted)}.comment-builder header>svg{color:var(--primary)}.comment-builder__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.comment-scope-fieldset{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0;padding:15px;border:1px solid var(--border);border-radius:16px}.comment-scope-fieldset legend{padding:0 7px;color:var(--text-muted);font-size:.84rem;font-weight:700}.comment-scope-fieldset label{display:inline-flex;align-items:center;gap:7px;min-height:42px;padding:8px 11px;border-radius:12px;background:var(--surface-muted);cursor:pointer}.comment-review-list{display:grid;gap:16px}.comment-review{padding:20px;border:1px solid var(--border);border-left:5px solid #7657ff;border-radius:20px;background:var(--surface);box-shadow:var(--shadow-sm)}.comment-review--accepted{border-left-color:#22af83}.comment-review--discarded{border-left-color:#a3a0ad}.comment-review>header{display:flex;justify-content:space-between;gap:12px;margin-bottom:14px}.comment-review h3{margin:4px 0;font-size:1rem}.comment-review header span:first-child{color:var(--primary);font-weight:800}.comment-review header p{margin:0;color:var(--text-muted);font-size:.8rem}.comment-review__scopes{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:12px}.comment-review__scopes span{padding:5px 9px;border-radius:999px;color:#6f3972;background:#ffe6f4;font-size:.76rem}.comment-review textarea{width:100%;resize:vertical;line-height:1.72}.comment-review footer{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:9px;margin-top:15px}.comment-review__locked{display:inline-flex;align-items:center;gap:7px;color:var(--text-muted);font-size:.84rem}.comment-review__locked svg{width:17px}@media(max-width:720px){.comment-builder__grid{grid-template-columns:1fr}.comment-review footer .button{flex:1 1 auto}}.student-profile-page{--student-profile-ink: #21182b;--student-profile-muted: #716678;--student-profile-violet: #6c4dff;--student-profile-pink: #ff4f8b;--student-profile-orange: #ff8a00;--student-profile-yellow: #ffd84d;--student-profile-mint: #2ecf95;--student-profile-blue: #2378ff;color:var(--student-profile-ink)}.student-profile-page .page-header__action .button{white-space:nowrap}.student-profile-selector{display:grid;grid-template-columns:minmax(18rem,1.2fr) repeat(2,minmax(13rem,.8fr));gap:1rem;align-items:end;border-top:4px solid var(--student-profile-yellow)}.student-profile-selector__intro{display:flex;align-items:center;gap:.8rem}.student-profile-selector__intro>span{width:2.75rem;height:2.75rem;display:grid;place-items:center;flex:0 0 auto;border-radius:.9rem;color:#fff;background:var(--student-profile-violet)}.student-profile-selector__intro svg{width:1.4rem;height:1.4rem}.student-profile-selector__intro h2,.student-profile-selector__intro p{margin:0}.student-profile-selector__intro h2{font-size:1.05rem}.student-profile-selector__intro p,.student-profile-selector__status{color:var(--student-profile-muted);font-size:.82rem;line-height:1.5}.student-profile-selector .field{min-width:0}.student-profile-selector select{width:100%;min-height:2.8rem;border:1px solid #ded6e5;border-radius:.8rem;padding:.62rem .75rem;color:var(--student-profile-ink);background:#fff;font:inherit}.student-profile-selector select:disabled{color:#8b818f;background:#f4f1f5;cursor:not-allowed}.student-profile-selector select:focus-visible{border-color:var(--student-profile-violet);outline:3px solid rgb(108 77 255 / .24);outline-offset:1px}.student-profile-selector__status{grid-column:1 / -1;min-height:1.25rem;margin-top:-.35rem}.student-profile-state-panel{min-height:15rem;display:grid;place-items:center}.student-profile-view{display:grid;gap:1.35rem}.student-profile-view>section{min-width:0}.student-profile-hero{display:grid;grid-template-columns:auto minmax(12rem,.75fr) minmax(18rem,1.25fr);gap:1rem;align-items:center;overflow:hidden;border-top:4px solid var(--student-profile-violet);background:radial-gradient(circle at 92% 15%,rgb(255 216 77 / .28),transparent 28%),linear-gradient(135deg,#f1edff,#fff 48%,#fff9f2)}.student-profile-avatar{width:4.4rem;height:4.4rem;display:grid;place-items:center;border:4px solid white;border-radius:1.35rem;color:#fff;background:linear-gradient(145deg,var(--student-profile-violet),#8a72ff);box-shadow:0 12px 28px #6c4dff3d}.student-profile-avatar svg{width:2.15rem;height:2.15rem}.student-profile-kicker{display:inline-block;margin-bottom:.25rem;color:#4c32d6;font-size:.7rem;font-weight:900;letter-spacing:.08em}.student-profile-name-row{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem}.student-profile-name-row h2,.student-profile-identity p{margin:0}.student-profile-name-row h2{font-size:clamp(1.45rem,3vw,2.25rem);line-height:1.15}.student-profile-identity p{margin-top:.35rem;color:var(--student-profile-muted);font-weight:700}.student-profile-status{border:1px solid #beeeda;border-radius:999px;padding:.25rem .62rem;color:#087953;background:#dcf9ed;font-size:.72rem;font-weight:850}.student-profile-status--archived{border-color:#e0d7e5;color:#655a6c;background:#f4f1f5}.student-profile-status--deleted{border-color:#ffc7d9;color:#9e234e;background:#fff0f5}.student-profile-basics{min-width:0;display:grid;grid-template-columns:minmax(8rem,.5fr) minmax(12rem,1fr);gap:.75rem;margin:0}.student-profile-basics>div{min-width:0;border:1px solid rgb(108 77 255 / .13);border-radius:.9rem;padding:.75rem .85rem;background:#fffc}.student-profile-basics dt,.student-profile-definition-list dt{color:var(--student-profile-muted);font-size:.72rem;font-weight:750}.student-profile-basics dd,.student-profile-definition-list dd{margin:.25rem 0 0;overflow-wrap:anywhere;font-weight:800}.student-profile-section-heading{display:flex;align-items:center;gap:.8rem;margin-bottom:.85rem}.student-profile-section-heading>div:first-child{width:2.75rem;height:2.75rem;display:grid;place-items:center;flex:0 0 auto;border-radius:.9rem;color:#fff;background:var(--student-profile-violet)}.student-profile-section-heading>div:first-child.is-pink{background:var(--student-profile-pink)}.student-profile-section-heading>div:first-child.is-mint{color:#075f43;background:#aaf0d7}.student-profile-section-heading>div:first-child.is-blue{background:var(--student-profile-blue)}.student-profile-section-heading>div:first-child.is-yellow{color:#6f5100;background:var(--student-profile-yellow)}.student-profile-section-heading svg{width:1.35rem;height:1.35rem}.student-profile-section-heading h2,.student-profile-section-heading p{margin:0}.student-profile-section-heading h2{font-size:1.08rem}.student-profile-section-heading p{margin-top:.2rem;color:var(--student-profile-muted);font-size:.82rem;line-height:1.45}.student-profile-metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.85rem}.student-profile-metric{min-width:0;display:grid;grid-template-columns:auto 1fr;gap:.2rem .65rem;align-items:center;border:1px solid #e8e0eb;border-left:5px solid var(--student-profile-violet);border-radius:1rem;padding:.9rem 1rem;background:#fff;box-shadow:0 8px 22px #21182b0f}.student-profile-metric>div{grid-row:1 / span 2;width:2.65rem;height:2.65rem;display:grid;place-items:center;border-radius:.85rem;color:var(--student-profile-violet);background:#eeeaff}.student-profile-metric svg{width:1.25rem;height:1.25rem}.student-profile-metric>span{color:var(--student-profile-muted);font-size:.78rem;font-weight:750}.student-profile-metric>strong{font-size:clamp(1.35rem,2.4vw,2rem);line-height:1;font-variant-numeric:tabular-nums}.student-profile-metric.is-blue{border-left-color:var(--student-profile-blue)}.student-profile-metric.is-blue>div{color:#225dad;background:#eaf2ff}.student-profile-metric.is-pink{border-left-color:var(--student-profile-pink)}.student-profile-metric.is-pink>div{color:#b52c5f;background:#ffe6ef}.student-profile-metric.is-orange{border-left-color:var(--student-profile-orange)}.student-profile-metric.is-orange>div{color:#895000;background:#fff1c7}.student-profile-projection-gap{display:flex;align-items:center;gap:.75rem;margin-top:.75rem;border:1px dashed #d6cce0;border-radius:.85rem;padding:.75rem .9rem;color:#5f5367;background:#faf7fb}.student-profile-projection-gap>svg{width:1.25rem;flex:0 0 auto;color:var(--student-profile-violet)}.student-profile-projection-gap>div{display:grid;gap:.1rem}.student-profile-projection-gap span{color:var(--student-profile-muted);font-size:.76rem;line-height:1.45}.student-profile-detail-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.85rem;align-items:stretch}.student-profile-linked-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:.85rem}.student-profile-detail-card{min-width:0;border-top:4px solid var(--student-profile-violet)}.student-profile-detail-card.is-pink{border-top-color:var(--student-profile-pink)}.student-profile-detail-card.is-blue{border-top-color:var(--student-profile-blue)}.student-profile-detail-card.is-orange{border-top-color:var(--student-profile-orange)}.student-profile-detail-card>header{display:flex;align-items:center;gap:.55rem;margin-bottom:.7rem}.student-profile-detail-card>header span{color:var(--student-profile-violet)}.student-profile-detail-card.is-pink>header span{color:#b52c5f}.student-profile-detail-card.is-blue>header span{color:#225dad}.student-profile-detail-card.is-orange>header span{color:#895000}.student-profile-detail-card>header svg{width:1.2rem;height:1.2rem}.student-profile-detail-card h3{margin:0;font-size:.95rem}.student-profile-ledger-list,.student-profile-guardian-list{display:grid;gap:0;margin:0;padding:0;list-style:none}.student-profile-ledger-list li{display:grid;gap:.18rem;border-top:1px solid #eee8f0;padding:.65rem 0}.student-profile-ledger-list li:first-child{border-top:0;padding-top:0}.student-profile-ledger-list span{color:var(--student-profile-muted);font-size:.75rem;overflow-wrap:anywhere}.student-profile-definition-list{display:grid;gap:.65rem;margin:0}.student-profile-definition-list>div{border-top:1px solid #eee8f0;padding-top:.55rem}.student-profile-definition-list>div:first-child{border-top:0;padding-top:0}.student-profile-definition-list dd{font-size:.82rem}.student-profile-inline-empty{min-height:4rem;display:grid;place-items:center;margin:0;border:1px dashed #d7cedd;border-radius:.75rem;padding:.65rem;color:var(--student-profile-muted);background:#faf8fb;font-size:.78rem;text-align:center}.student-profile-guardian-panel{border-top:4px solid var(--student-profile-mint)}.student-profile-guardian-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.student-profile-guardian-list li{min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:.7rem;align-items:center;border:1px solid #e4dce8;border-radius:.9rem;padding:.75rem;background:#fffdfd}.student-profile-guardian-icon{width:2.45rem;height:2.45rem;display:grid;place-items:center;border-radius:.8rem;color:#087953;background:#dcf9ed}.student-profile-guardian-icon svg{width:1.2rem;height:1.2rem}.student-profile-guardian-name{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem}.student-profile-guardian-name>span{border-radius:999px;padding:.18rem .42rem;color:#087953;background:#dcf9ed;font-size:.65rem;font-weight:850}.student-profile-guardian-list p{margin:.15rem 0 0;color:var(--student-profile-muted);font-size:.75rem}.student-profile-masked-contact{color:#514558;font-size:.8rem;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.student-profile-academic-grid{display:grid;grid-template-columns:minmax(20rem,.85fr) minmax(32rem,1.4fr);gap:.9rem;align-items:start}.student-academic-charts{display:grid;grid-column:1 / -1;grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem}.student-academic-chart{min-width:0;padding:1rem}.student-academic-chart--trend{grid-column:1 / -1}.student-academic-chart figcaption{display:grid;gap:.2rem;margin-bottom:.75rem}.student-academic-chart figcaption strong{color:var(--student-profile-ink)}.student-academic-chart figcaption span{color:var(--student-profile-muted);font-size:.78rem;line-height:1.45}.student-academic-donut-layout{display:grid;grid-template-columns:minmax(8rem,.65fr) minmax(8rem,1fr);align-items:center;gap:.7rem}.student-academic-donut-layout svg{width:100%;max-height:11rem}.student-academic-donut-number{fill:var(--student-profile-ink);font-size:1.5rem;font-weight:900}.student-academic-donut-label{fill:var(--student-profile-muted);font-size:.68rem}.student-academic-donut-layout ul{display:grid;gap:.55rem;padding:0;list-style:none}.student-academic-donut-layout li{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:.45rem}.student-academic-donut-layout i{width:.72rem;height:.72rem;border-radius:.22rem}.student-profile-subject-bars{display:grid;gap:.7rem}.student-profile-subject-bars>div{display:grid;grid-template-columns:minmax(4rem,.25fr) minmax(0,1fr);gap:.35rem .65rem;align-items:center}.student-profile-subject-bars>div>strong{grid-row:1 / span 2}.student-profile-subject-bars span{position:relative;display:block;height:1.05rem;border-radius:999px;background:#f1edf3}.student-profile-subject-bars i{display:block;height:100%;border-radius:inherit}.student-profile-subject-bars .is-personal{background:var(--student-profile-violet)}.student-profile-subject-bars .is-class{background:var(--student-profile-blue)}.student-profile-subject-bars em{position:absolute;inset:.08rem .35rem auto auto;color:#21182b;font-size:.66rem;font-style:normal;font-weight:850}.student-profile-trend-svg{width:100%;min-height:9rem}.student-profile-trend-svg line{stroke:#e8e0eb;stroke-width:1}.student-profile-trend-svg text{fill:var(--student-profile-muted);font-size:.58rem}.student-profile-trend-svg polyline{stroke:var(--student-profile-violet);stroke-width:4;stroke-linecap:round;stroke-linejoin:round}.student-profile-trend-svg circle{fill:var(--student-profile-pink);stroke:#fff;stroke-width:3}.student-chart-value-strip{display:flex;flex-wrap:wrap;gap:.45rem}.student-chart-value-strip span{display:inline-flex;gap:.3rem;padding:.35rem .5rem;border-radius:999px;background:#f7f4ff;color:var(--student-profile-muted);font-size:.72rem}.student-chart-value-strip strong{color:var(--student-profile-violet)}.student-profile-table-wrap{width:100%;max-width:100%;overflow-x:auto;border:1px solid #e8e0eb;border-radius:.9rem;background:#fff;-webkit-overflow-scrolling:touch}.student-profile-data-table{width:100%;min-width:35rem;border-collapse:collapse;color:var(--student-profile-ink);background:#fff}.student-profile-data-table--exams{min-width:47rem}.student-profile-data-table--homework{min-width:24rem}.student-profile-data-table caption{padding:.75rem .85rem;color:#574b61;background:#faf7fb;font-weight:850;text-align:left}.student-profile-data-table th,.student-profile-data-table td{padding:.72rem .85rem;border-top:1px solid #eee8f0;text-align:left;vertical-align:middle}.student-profile-data-table thead th{color:#6a5f72;background:#fffdfd;font-size:.78rem}.student-profile-data-table tbody th{font-size:.84rem}.student-profile-data-table td{font-size:.82rem;font-variant-numeric:tabular-nums}.student-profile-score-status{display:inline-flex;border-radius:999px;padding:.22rem .48rem;color:#087953;background:#dcf9ed;font-size:.7rem;font-weight:850;white-space:nowrap}.student-profile-score-status.is-absent{color:#9e234e;background:#fff0f5}.student-profile-score-status.is-exempt,.student-profile-score-status.is-unentered{color:#655a6c;background:#f1edf3}.student-profile-table-total th,.student-profile-table-total td{color:#4c32d6;background:#f7f4ff;font-weight:900}.student-profile-homework-table{max-width:44rem}.student-profile-large-empty{min-height:9rem;display:grid;place-items:center;align-content:center;gap:.35rem;border-top:4px solid var(--student-profile-blue);color:var(--student-profile-muted);text-align:center}.student-profile-large-empty>svg{width:2rem;height:2rem;color:var(--student-profile-violet)}.student-profile-large-empty strong{color:var(--student-profile-ink)}.student-profile-large-empty span{font-size:.8rem}@media(max-width:1100px){.student-profile-metric-grid,.student-profile-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.student-profile-academic-grid{grid-template-columns:1fr}}@media(max-width:900px){.student-academic-charts{grid-template-columns:1fr}.student-academic-chart--trend{grid-column:auto}.student-profile-selector{grid-template-columns:repeat(2,minmax(0,1fr))}.student-profile-selector__intro{grid-column:1 / -1}.student-profile-hero{grid-template-columns:auto minmax(0,1fr)}.student-profile-basics{grid-column:1 / -1}}@media(max-width:680px){.student-profile-page .page-header{display:grid;grid-template-columns:minmax(0,1fr)}.student-profile-page .page-header__action,.student-profile-page .page-header__action .button{width:100%}.student-profile-selector,.student-profile-metric-grid,.student-profile-detail-grid,.student-profile-guardian-list{grid-template-columns:1fr}.student-profile-selector__intro{grid-column:auto}.student-profile-hero{grid-template-columns:auto minmax(0,1fr);padding:1rem}.student-profile-avatar{width:3.5rem;height:3.5rem;border-radius:1.05rem}.student-profile-avatar svg{width:1.75rem;height:1.75rem}.student-profile-basics{grid-template-columns:1fr}.student-profile-guardian-list li{grid-template-columns:auto minmax(0,1fr)}.student-profile-masked-contact{grid-column:2}}@media(max-width:420px){.student-profile-selector,.student-profile-detail-card,.student-profile-guardian-panel{padding:.85rem}.student-profile-hero{grid-template-columns:1fr}.student-profile-avatar{width:3.2rem;height:3.2rem}.student-profile-basics{grid-column:auto}.student-profile-metric{padding:.8rem}.student-profile-section-heading,.student-profile-projection-gap{align-items:flex-start}}@media(prefers-reduced-motion:reduce){.student-profile-page *,.student-profile-page *:before,.student-profile-page *:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}*,*:before,*:after{box-sizing:border-box}:root{font-family:Inter,PingFang SC,Microsoft YaHei,Noto Sans CJK SC,system-ui,-apple-system,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}html{min-width:320px;min-height:100%;background:var(--color-canvas)}body{min-width:320px;min-height:100vh;margin:0;color:var(--color-ink);background:var(--color-canvas)}button,input,select,textarea{margin:0;color:inherit;font:inherit}button,summary,select{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}button,input,select,textarea,a,summary{-webkit-tap-highlight-color:transparent}:focus-visible{outline:3px solid var(--color-focus);outline-offset:3px}a{color:inherit;text-decoration:none}h1,h2,h3,p,ol,ul,dl,dd{margin:0}svg{width:1.25rem;height:1.25rem;flex:0 0 auto;stroke-width:2}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;z-index:100;top:10px;left:10px;padding:10px 16px;border-radius:var(--radius-control);color:#fff;background:var(--color-ink);transform:translateY(-160%);transition:transform var(--motion-fast) ease}.skip-link:focus{transform:translateY(0)}.spin{animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.button{display:inline-flex;min-height:44px;align-items:center;justify-content:center;gap:9px;padding:10px 17px;border:1px solid transparent;border-radius:var(--radius-control);font-size:.9rem;font-weight:750;line-height:1;transition:transform var(--motion-fast) ease,box-shadow var(--motion-fast) ease,background var(--motion-fast) ease,border-color var(--motion-fast) ease}.button:hover:not(:disabled){transform:translateY(-1px)}.button:active:not(:disabled){transform:translateY(0)}.button--primary{color:#fff;background:var(--color-violet);box-shadow:0 7px 18px #6c4dff38}.button--primary:hover:not(:disabled){background:#5d3fee;box-shadow:0 9px 22px #6c4dff4d}.button--secondary{color:var(--color-ink);background:#fff;border-color:#21182b1f;box-shadow:0 5px 14px #21182b17}.button--secondary:hover:not(:disabled),.button--ghost:hover:not(:disabled){border-color:#6c4dff52;background:var(--color-violet-soft)}.button--ghost{color:var(--color-ink);background:transparent;border-color:var(--color-border)}.button--danger{color:#fff;background:var(--color-danger)}.icon-button,.notification-button{display:inline-grid;width:44px;height:44px;padding:0;place-items:center;border:1px solid var(--color-border);border-radius:50%;color:var(--color-ink);background:#fff}.notification-button{position:relative}.notification-button>span{position:absolute;top:-4px;right:-4px;display:grid;min-width:20px;height:20px;padding:0 5px;place-items:center;border:2px solid white;border-radius:999px;color:#fff;background:var(--color-pink);font-size:.66rem;font-weight:850}.text-link{display:inline-flex;min-height:40px;align-items:center;gap:5px;padding:6px 0;border:0;color:var(--color-violet);background:transparent;font-size:.84rem;font-weight:750}.text-link svg{width:16px;height:16px}.field{display:grid;gap:8px}.field>label{font-size:.86rem;font-weight:750}.field>small{color:var(--color-muted);font-size:.76rem;line-height:1.55}.field input,.field select,.field textarea,.input-with-icon input,.search-control input,.select-control select{width:100%;min-height:46px;border:1px solid var(--color-border);border-radius:var(--radius-control);color:var(--color-ink);background:#fff;transition:border-color var(--motion-fast) ease,box-shadow var(--motion-fast) ease}.field input,.field select,.field textarea{padding:11px 13px}.field textarea{min-height:116px;resize:vertical;line-height:1.6}.field input:focus,.field select:focus,.field textarea:focus,.input-with-icon input:focus,.search-control input:focus,.select-control select:focus{border-color:var(--color-violet);outline:0;box-shadow:0 0 0 4px #6c4dff1f}.form-stack{display:grid;gap:18px}.form-grid{display:grid;gap:16px}.form-grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}.notice{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:start;padding:14px 16px;border:1px solid transparent;border-radius:var(--radius-control);font-size:.84rem;line-height:1.55}.notice>svg{margin-top:1px}.notice__copy{min-width:0}.notice__copy strong{display:block}.notice__copy p{margin-top:3px;color:inherit;opacity:.84}.notice--info{color:#214c93;background:var(--color-blue-soft);border-color:#cfe0ff}.notice--success{color:#116543;background:var(--color-mint-soft);border-color:#bdeedb}.notice--error{color:#94223d;background:var(--color-pink-soft);border-color:#ffc9da}.empty-state,.loading-panel{display:grid;min-height:250px;place-items:center;align-content:center;gap:10px;padding:36px 20px;color:var(--color-muted);text-align:center}.empty-state__icon{display:grid;width:62px;height:62px;margin-bottom:4px;place-items:center;border-radius:20px;color:var(--color-violet);background:var(--color-violet-soft)}.empty-state__icon svg{width:29px;height:29px}.empty-state h3{color:var(--color-ink);font-size:1.08rem}.empty-state p{max-width:430px;font-size:.88rem;line-height:1.65}.empty-state .button{margin-top:7px}.loading-panel{min-height:180px;grid-template-columns:auto auto}.startup-screen,.fatal-state{display:grid;min-height:100vh;place-items:center;align-content:center;gap:16px;padding:24px;text-align:center}.startup-screen .brand__mark,.fatal-state .brand__mark{width:62px;height:62px}.fatal-state h1{font-size:clamp(1.65rem,4vw,2.4rem)}.fatal-state p{max-width:520px;color:var(--color-muted);line-height:1.65}.login-page{display:grid;min-height:100vh;grid-template-columns:minmax(420px,.95fr) minmax(480px,1.05fr);background:var(--color-canvas)}.login-energy{position:relative;display:flex;min-height:100vh;flex-direction:column;justify-content:space-between;overflow:hidden;padding:clamp(32px,5vw,72px);color:#fff;background:linear-gradient(145deg,#765bff,#6545f0 55%,#5536d8)}.login-brand{display:flex;align-items:center;gap:12px;font-size:1.05rem;font-weight:850}.login-energy__content{display:grid;max-width:620px;gap:22px;margin:auto 0}.login-energy__content>span{width:fit-content;padding:8px 12px;border:1px solid rgb(255 255 255 / .22);border-radius:999px;background:#ffffff1f;font-size:.82rem;font-weight:750}.login-energy__content h1{max-width:10ch;font-size:clamp(3rem,6vw,5.6rem);line-height:.98;letter-spacing:-.06em}.login-energy__content p{max-width:31rem;color:#ffffffc9;font-size:1rem;line-height:1.75}.login-energy>ul{display:flex;flex-wrap:wrap;gap:10px 18px;padding:0;list-style:none}.login-energy>ul li{display:flex;align-items:center;gap:7px;color:#ffffffb8;font-size:.76rem;font-weight:650}.login-energy>ul svg{width:16px;height:16px;color:var(--color-yellow)}.login-form-panel{display:grid;align-content:center;gap:24px;place-items:center;padding:clamp(28px,6vw,88px)}.login-form-card{width:min(100%,430px)}.login-form-card__icon{display:grid;width:58px;height:58px;margin-bottom:24px;place-items:center;border-radius:18px;color:var(--color-violet);background:var(--color-violet-soft)}.login-form-card__icon svg{width:28px;height:28px}.login-form-card h2{margin-bottom:10px;font-size:clamp(1.9rem,3vw,2.55rem);letter-spacing:-.035em}.login-form-card>p{margin-bottom:31px;color:var(--color-muted);line-height:1.6}.input-with-icon{position:relative}.input-with-icon>svg{position:absolute;z-index:1;top:50%;left:14px;width:18px;height:18px;color:var(--color-muted);transform:translateY(-50%)}.input-with-icon input{padding:12px 14px 12px 44px}.login-form-card .button{width:100%;min-height:50px}.login-security-note{display:flex;align-items:flex-start;gap:8px;margin-top:22px;color:var(--color-muted);font-size:.78rem;line-height:1.6}.login-security-note svg{width:16px;height:16px;margin-top:2px;color:var(--color-mint)}.app-shell{min-height:100vh}.sidebar{position:fixed;z-index:30;inset:0 auto 0 0;display:flex;width:236px;flex-direction:column;padding:27px 18px 22px;color:var(--color-ink);background:#fff;border-right:1px solid var(--color-border)}.brand{display:flex;min-height:48px;align-items:center;gap:11px;min-height:94px;margin:-27px -18px 0;padding:23px 28px;border-radius:0 0 28px;color:#fff;background:linear-gradient(145deg,#765bff,#6545ed);font-size:1.08rem;font-weight:850;letter-spacing:-.02em}.brand__mark{display:grid;width:38px;height:38px;flex:0 0 auto;place-items:center;border-radius:13px;color:var(--color-violet);background:var(--color-yellow);box-shadow:0 8px 19px #20105933}.brand__mark svg{width:21px;height:21px}.sidebar__nav{display:grid;gap:7px;margin-top:29px}.nav-link{display:flex;min-height:50px;align-items:center;gap:14px;padding:0 16px;border-radius:14px;color:var(--color-ink);font-size:.93rem;font-weight:700;transition:color var(--motion-fast) ease,background var(--motion-fast) ease,transform var(--motion-fast) ease}.nav-link:hover{color:var(--color-violet);background:var(--color-violet-soft);transform:translate(2px)}.nav-link--active{color:#fff;background:linear-gradient(135deg,#7357ff,#6543ed);box-shadow:0 8px 18px #4c30b73d}.nav-link--active:hover{color:#fff;background:linear-gradient(135deg,#7357ff,#6543ed)}.sidebar__footer{display:flex;align-items:center;gap:10px;margin-top:auto;padding:14px;border:1px solid #d9d0ff;border-radius:14px;color:var(--color-violet);background:var(--color-violet-soft);font-size:.78rem}.app-column{min-width:0;min-height:100vh;margin-left:236px}.desktop-topbar{position:sticky;z-index:20;top:0;display:grid;min-height:78px;grid-template-columns:minmax(0,1fr) minmax(220px,390px) 44px 48px;align-items:center;justify-content:end;gap:14px;padding:14px clamp(22px,3vw,44px);border-bottom:1px solid rgb(233 226 237 / .88);background:#fff9f2eb;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.context-controls{display:flex;align-items:center;gap:8px}.context-control{display:flex;min-height:42px;align-items:center;gap:8px;padding:8px 11px;border:1px solid var(--color-border);border-radius:11px;background:#fff;font-size:.8rem;font-weight:700}.context-control svg{width:16px;height:16px;color:var(--color-violet)}.context-control svg:last-child{color:var(--color-muted)}.class-switcher{position:relative;min-width:0}.class-switcher>.context-control{max-width:min(330px,28vw)}.class-switcher>.context-control>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.class-switcher>.context-control[aria-expanded=true]{border-color:var(--color-violet);box-shadow:0 0 0 3px #6c4dff1f}.class-switcher>.context-control[aria-expanded=true] svg:last-child{transform:rotate(180deg)}.class-switcher__menu{position:absolute;z-index:60;top:calc(100% + 10px);left:0;width:min(340px,calc(100vw - 36px));padding:10px;border:1px solid #dcd2ff;border-radius:17px;background:#fff;box-shadow:0 20px 48px #3e28572e}.class-switcher__menu>header{display:flex;flex-direction:column;gap:3px;padding:5px 7px 10px}.class-switcher__menu>header strong{font-size:.8rem}.class-switcher__menu>header small{color:var(--color-muted);font-size:.67rem}.class-switcher__options{display:grid;gap:5px}.class-switcher__options>button{display:flex;width:100%;min-height:56px;align-items:center;justify-content:space-between;gap:12px;padding:9px 11px;border:1px solid transparent;border-radius:12px;background:transparent;text-align:left}.class-switcher__options>button:hover,.class-switcher__options>button:focus-visible{border-color:#dcd2ff;background:var(--color-violet-soft)}.class-switcher__options>button[aria-checked=true]{border-color:#6c4dff3d;background:var(--color-violet-soft)}.class-switcher__options>button>span:first-child{display:grid;min-width:0;gap:3px}.class-switcher__options strong,.class-switcher__options small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.class-switcher__options strong{font-size:.76rem}.class-switcher__options small{color:var(--color-muted);font-size:.66rem;font-weight:600}.class-switcher__options svg{width:17px;height:17px;color:var(--color-violet)}.class-switcher__state,.class-switcher__error{display:block;padding:13px 8px;color:var(--color-muted);font-size:.72rem}.class-switcher__error{color:var(--color-danger)}.class-switcher__manage{width:100%;margin-top:7px;padding:9px;border:0;border-top:1px solid var(--color-border);color:var(--color-violet);background:#fff;font-size:.72rem;font-weight:800}.global-search,.search-control,.select-control{position:relative;display:flex;align-items:center}.global-search>svg,.search-control>svg,.select-control>svg{position:absolute;z-index:1;left:14px;width:17px;height:17px;color:var(--color-muted);pointer-events:none}.global-search input{width:100%;min-height:42px;padding:9px 60px 9px 41px;border:1px solid var(--color-border);border-radius:13px;background:#fff}.global-search kbd{position:absolute;right:9px;padding:4px 6px;border:1px solid var(--color-border);border-bottom-width:2px;border-radius:6px;color:var(--color-muted);background:#faf7fb;font:.66rem/1 system-ui,sans-serif}.account-menu{position:relative}.account-menu summary{display:flex;width:48px;height:44px;align-items:center;justify-content:center;gap:2px;border-radius:13px;color:#fff;background:var(--color-violet);list-style:none}.account-menu summary::-webkit-details-marker{display:none}.account-menu summary svg:first-child{width:18px;height:18px}.account-menu summary svg:last-child{width:12px;height:12px}.account-menu>div{position:absolute;z-index:50;top:calc(100% + 10px);right:0;display:grid;min-width:210px;gap:5px;padding:16px;border:1px solid var(--color-border);border-radius:14px;background:#fff;box-shadow:var(--shadow-float)}.account-menu>div>span{color:var(--color-muted);font-size:.74rem}.account-menu>div button{display:flex;min-height:40px;align-items:center;gap:9px;margin-top:8px;padding:8px 10px;border:0;border-radius:9px;color:var(--color-danger);background:var(--color-pink-soft);font-weight:700}.app-column>main{min-width:0;padding:25px clamp(22px,3vw,44px) 54px;animation:reveal var(--motion-standard) ease}@keyframes reveal{0%{opacity:0}to{opacity:1}}.mobile-topbar,.mobile-bottom-nav,.mobile-drawer{display:none}.app-shell--agent{height:100dvh;min-height:0;overflow:hidden}.app-shell--agent .sidebar,.app-shell--agent .desktop-topbar,.app-shell--agent .mobile-topbar{display:none}.app-shell--agent .app-column{height:100dvh;min-height:0;margin-left:0}.app-shell--agent .app-column>main{height:100dvh;min-height:0;padding:0;overflow:hidden;animation:none}.app-shell--agent .mobile-bottom-nav{position:fixed;z-index:70;right:max(12px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom));left:auto;display:block;width:50px;min-height:50px;padding:0;border:0;border-radius:17px;background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}.agent-shell-nav-trigger{display:grid;width:50px;height:50px;place-items:center;border:1px solid rgb(255 255 255 / .7);border-radius:17px;color:#fff;background:linear-gradient(145deg,var(--color-violet),var(--color-pink));box-shadow:0 12px 28px #38237652}.agent-shell-nav-trigger svg{width:21px;height:21px}.agent-shell-nav-trigger span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.mobile-drawer--agent{position:fixed;z-index:65;inset:0;display:grid;place-items:end;padding:18px 18px 76px;background:#21182b52;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.mobile-drawer--agent nav{display:grid;width:min(340px,100%);max-height:min(620px,calc(100dvh - 96px));gap:6px;padding:10px;overflow-y:auto;border:1px solid var(--color-border);border-radius:22px;background:#fffffffa;box-shadow:0 24px 70px #21182b47}.mobile-drawer--agent .nav-link{color:var(--color-muted);background:#fff}.mobile-drawer--agent .nav-link--active{color:#fff;background:linear-gradient(135deg,#7357ff,#6543ed)}.page-stack{min-width:0;display:grid;grid-template-columns:minmax(0,1fr);gap:22px;width:min(100%,1480px);margin:0 auto}.page-header{display:flex;min-height:86px;align-items:flex-end;justify-content:space-between;gap:20px}.page-header h1{font-size:clamp(2rem,3vw,3.1rem);line-height:1.06;letter-spacing:-.05em}.page-header p{max-width:760px;margin-top:9px;color:var(--color-muted);font-size:.92rem;line-height:1.6}.page-header__action{flex:0 0 auto}.reading-panel,.rail-card{border:1px solid var(--color-border);border-radius:var(--radius-panel);background:var(--color-surface)}.reading-panel{padding:24px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.panel-heading h2{font-size:1.08rem;letter-spacing:-.02em}.panel-heading p{margin-top:4px;color:var(--color-muted);font-size:.8rem}.today-page{width:min(100%,1570px);margin:0 auto}.today-greeting{display:flex;min-height:99px;align-items:flex-end;gap:15px;padding-bottom:20px}.today-greeting h1{position:relative;z-index:1;font-size:clamp(2.35rem,4.2vw,4rem);line-height:1;letter-spacing:-.062em}.greeting-stroke{display:block;width:160px;height:9px;margin:-3px 0 0 56%;border-radius:50%;background:var(--color-yellow);transform:rotate(-2deg)}.greeting-zap{display:grid;width:45px;height:45px;margin-bottom:4px;place-items:center;border-radius:15px;color:var(--color-ink);background:var(--color-yellow);transform:rotate(7deg)}.today-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,350px);gap:19px;align-items:start}.today-primary,.today-rail{display:grid;min-width:0;gap:18px}.energy-grid{display:grid;min-width:0;grid-template-columns:minmax(420px,1.25fr) minmax(320px,.92fr);gap:17px}.next-lesson-card,.quick-card{overflow:hidden;border:2px solid var(--color-ink);border-radius:var(--radius-focus)}.next-lesson-card{position:relative;display:grid;min-height:357px;grid-template-columns:minmax(0,1fr) minmax(180px,.65fr);padding:clamp(27px,3.3vw,46px);color:#fff;background:linear-gradient(145deg,#765aff,#6545f2 65%,#5c3cde);box-shadow:0 18px 34px #4c30b72e}.next-lesson-card.is-empty{grid-template-columns:minmax(0,1fr) minmax(120px,.45fr);padding:clamp(27px,2.7vw,36px)}.next-lesson-card.is-empty .next-lesson-card__copy>strong{font-size:clamp(2.3rem,3.2vw,3.3rem);white-space:nowrap}.next-lesson-card.is-empty .next-lesson-card__art svg{width:clamp(112px,10vw,148px);height:clamp(112px,10vw,148px)}.next-lesson-card__copy{position:relative;z-index:2;display:flex;min-width:0;flex-direction:column;align-items:flex-start}.next-lesson-card__copy>span:first-child{padding:7px 11px;border:1px solid rgb(255 255 255 / .2);border-radius:999px;background:#ffffff1a;font-size:.76rem;font-weight:750}.next-lesson-card__copy>strong{margin-top:27px;color:var(--color-yellow);font-size:clamp(2.45rem,4vw,4.2rem);line-height:.95;letter-spacing:-.045em}.next-lesson-card h2{margin-top:13px;font-size:clamp(1.55rem,2.5vw,2.45rem);line-height:1.06;letter-spacing:-.04em}.next-lesson-card p{margin-top:8px;color:#ffffffb8;font-weight:650}.next-lesson-card__actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px;margin-top:auto;padding-top:22px}.next-lesson-card__actions>span{color:#ffffffb8;font-size:.78rem}.next-lesson-card__actions b{margin-left:3px;color:#fff}.next-lesson-card__art{display:grid;align-self:center;place-items:center}.next-lesson-card__art svg{width:clamp(120px,12vw,178px);height:clamp(120px,12vw,178px);color:var(--color-yellow);filter:drop-shadow(0 18px 22px rgb(40 20 117 / .27));stroke-width:1.5}.quick-stack{display:grid;min-width:0;gap:15px}.quick-card{min-height:171px;padding:19px 20px}.quick-card--record{background:var(--color-yellow)}.quick-card--todo{background:#ff82a9}.quick-card>header{display:flex;min-height:30px;align-items:center;justify-content:space-between;gap:10px}.quick-card h2{font-size:1.02rem;letter-spacing:-.02em}.quick-card__add{display:grid;width:30px;height:30px;padding:0;place-items:center;border:0;border-radius:50%;background:#ffffff8c}.quick-card__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:13px}.quick-card__grid button{display:flex;min-width:0;min-height:72px;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:8px 9px;border:1px solid rgb(255 255 255 / .27);border-radius:11px;background:#ffffff57;font-size:.75rem;font-weight:750;text-align:center}.quick-card__grid button:hover{background:#ffffff91}.quick-card__grid svg{width:17px;height:17px}@media(min-width:1081px){.quick-card__grid button{padding-inline:3px;font-size:.7rem}}.todo-panel{padding:5px 23px 7px}.todo-panel__heading{min-height:72px}.todo-panel__heading>h2{margin-right:auto}.todo-filters{display:flex;gap:4px;padding:4px;border-radius:10px;background:#f7f3f8}.todo-filters button{min-height:32px;padding:5px 10px;border:0;border-radius:8px;color:var(--color-muted);background:transparent;font-size:.72rem;font-weight:700}.todo-filters button.is-active{color:var(--color-ink);background:#fff;box-shadow:0 3px 10px #21182b14}.todo-list,.plan-todo-list{display:grid}.todo-row{display:grid;min-width:0;min-height:78px;grid-template-columns:auto minmax(0,1fr) auto;gap:13px;align-items:center;border-top:1px solid var(--color-border)}.todo-check{display:grid;width:26px;height:26px;padding:0;place-items:center;border:2px solid #d7cedc;border-radius:8px;color:#fff;background:#fff}.todo-check.is-checked{border-color:var(--color-mint);background:var(--color-mint)}.todo-check svg{width:16px;height:16px;stroke-width:3}.todo-row__body{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:13px}.todo-row__body>div{display:flex;min-width:0;flex-wrap:wrap;align-items:center;gap:9px}.todo-row h3,.plan-todo-row h3{min-width:0;overflow-wrap:anywhere;font-size:.9rem}.todo-row__body>p,.plan-todo-row p{display:flex;flex:0 0 auto;align-items:center;gap:5px;color:var(--color-muted);font-size:.75rem}.todo-row__body>p svg,.plan-todo-row p svg{width:15px;height:15px}.tag,.todo-status,.status-chip,.record-kind{display:inline-flex;width:fit-content;align-items:center;justify-content:center;border-radius:999px;white-space:nowrap;font-size:.68rem;font-weight:750}.tag{min-height:23px;padding:3px 8px}.tag--teaching{color:#4e36ca;background:var(--color-violet-soft)}.tag--class{color:#125e82;background:#e7f7ff}.tag--family{color:#9e3e61;background:var(--color-pink-soft)}.tag--personal{color:#5b594e;background:#f5f0d4}.todo-status{min-height:25px;padding:4px 9px;color:#716873;background:#f5f1f6}.todo-status--completed{color:#116543;background:var(--color-mint-soft)}.todo-status--cancelled{color:#8a4055;background:var(--color-pink-soft)}.today-rail{grid-auto-rows:min-content}.rail-card{padding:18px}.next-schedule .panel-heading,.activity-card .panel-heading{margin-bottom:12px}.schedule-row{display:grid;min-height:80px;grid-template-columns:auto auto minmax(0,1fr) auto;align-items:center;gap:7px 10px;padding:12px;border-radius:14px;background:#f8f5fa}.schedule-row--current{border-left:4px solid var(--color-violet);background:var(--color-violet-soft)}.schedule-row__number{display:grid;width:30px;height:30px;grid-row:1 / 3;place-items:center;border-radius:9px;color:#fff;background:var(--color-violet);font-size:.78rem;font-weight:800}.schedule-row time{color:var(--color-muted);font-size:.73rem}.schedule-row strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.88rem}.schedule-row>span:not(.schedule-row__number){grid-column:2 / 4;color:var(--color-muted);font-size:.72rem}.schedule-row>b{grid-column:4;grid-row:1 / 3;padding:5px 7px;border-radius:999px;color:#4e36ca;background:#fff;font-size:.65rem}.rail-empty{min-height:74px;display:grid;place-items:center;color:var(--color-muted);font-size:.82rem}.reminder-card{display:grid;gap:14px;border:0;background:var(--color-blue-soft)}.reminder-card>div:not(.rail-card__icon){min-width:0}.rail-card__icon{display:grid;width:43px;height:43px;place-items:center;border-radius:14px}.rail-card__icon--blue{color:var(--color-cobalt);background:#fff}.reminder-card span{color:var(--color-cobalt);font-size:.74rem;font-weight:800}.reminder-card .button span{color:inherit}.reminder-card h2{margin-top:4px;font-size:1.02rem;line-height:1.35}.reminder-card p,.import-card p{margin-top:5px;color:var(--color-muted);font-size:.76rem;line-height:1.55}.reminder-card .button{width:100%}.import-card{display:flex;align-items:flex-start;gap:12px;border:0;background:#fff5d7}.import-card>svg{color:var(--color-orange)}.import-card strong{font-size:.85rem}.activity-list{display:grid;gap:0;padding:0;list-style:none}.activity-list li{display:grid;min-height:56px;grid-template-columns:auto auto minmax(0,1fr);gap:9px;align-items:center;border-top:1px solid var(--color-border)}.activity-list li>span{width:8px;height:8px;border-radius:50%;background:var(--color-pink)}.activity-list time{color:var(--color-muted);font-size:.7rem}.activity-list p{min-width:0;overflow:hidden;font-size:.78rem;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.activity-card__summary{display:flex;align-items:center;gap:7px;margin-top:12px;padding:10px;border-radius:10px;color:#39715e;background:var(--color-mint-soft);font-size:.7rem}.activity-card{border-color:#bdeedb;background:#f7fffb}.activity-card__summary svg{width:16px;height:16px}.class-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:13px}.class-card{display:grid;min-width:0;min-height:92px;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:16px;border:1px solid var(--color-border);border-radius:16px;background:#fff;text-align:left;transition:border-color var(--motion-fast) ease,box-shadow var(--motion-fast) ease,transform var(--motion-fast) ease}.class-card:hover{transform:translateY(-2px);box-shadow:0 9px 22px #21182b12}.class-card--active{border-color:var(--color-violet);box-shadow:0 0 0 3px #6c4dff1a}.class-card--archived{border-style:dashed;background:color-mix(in srgb,var(--color-pink-soft) 42%,var(--color-surface));opacity:.82}.class-card--archived>b{padding:4px 8px;border-radius:999px;color:var(--color-pink);background:var(--color-pink-soft)}.class-card__icon{display:grid;width:43px;height:43px;place-items:center;border-radius:13px;color:var(--color-violet);background:var(--color-violet-soft)}.class-card>span:nth-child(2){display:grid;min-width:0;gap:4px}.class-card strong,.class-card small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.class-card small{color:var(--color-muted)}.class-card>b{color:var(--color-muted);font-size:.78rem;white-space:nowrap}.class-card>svg{width:17px;height:17px;color:var(--color-muted)}.roster-panel{padding:0;overflow:hidden}.roster-toolbar,.records-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px 24px;border-bottom:1px solid var(--color-border)}.roster-toolbar h2{font-size:1.12rem}.roster-toolbar p{margin-top:4px;color:var(--color-muted);font-size:.78rem}.roster-toolbar__actions{display:flex;align-items:center;gap:10px}.search-control{min-width:min(320px,33vw)}.search-control input{padding:10px 13px 10px 40px}.select-control select{min-width:150px;padding:10px 34px 10px 40px}.table-scroll{width:100%;overflow:auto}.data-table{width:100%;min-width:650px;border-collapse:collapse}.data-table th,.data-table td{height:68px;padding:12px 24px;border-bottom:1px solid var(--color-border);text-align:left}.data-table th{height:47px;color:var(--color-muted);background:#fcfafc;font-size:.72rem;font-weight:750}.data-table td{font-size:.84rem}.data-table td:first-child{display:flex;align-items:center;gap:11px}.data-table tbody tr:hover{background:#fdfbfe}.data-table tbody tr:last-child td{border-bottom:0}.student-avatar{display:grid;width:36px;height:36px;place-items:center;border-radius:11px;color:var(--color-violet);background:var(--color-violet-soft)}.student-avatar svg{width:18px;height:18px}.status-chip{min-height:25px;padding:4px 9px}.status-chip--active{color:#116543;background:var(--color-mint-soft)}.status-chip--archived{color:var(--color-muted);background:#f3eff4}.status-chip--deleted{color:#94223d;background:var(--color-pink-soft)}.ai-draft-assistant{overflow:hidden;border:1px solid #dcd2ff;border-radius:var(--radius-panel);background:var(--color-surface);box-shadow:0 16px 38px #6c4dff1a}.ai-draft-assistant__header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px;background:linear-gradient(118deg,var(--color-violet-soft) 0%,var(--color-pink-soft) 56%,#fff8d9 100%)}.ai-draft-assistant__title{display:flex;min-width:0;align-items:center;gap:16px}.ai-draft-assistant__mark{display:grid;width:52px;height:52px;flex:0 0 auto;place-items:center;border:2px solid var(--color-ink);border-radius:17px;color:#fff;background:var(--color-violet);box-shadow:5px 5px 0 var(--color-yellow)}.ai-draft-assistant__mark svg{width:25px;height:25px}.ai-draft-assistant__eyebrow{display:block;margin-bottom:4px;color:var(--color-violet);font-size:.72rem;font-weight:850;letter-spacing:.12em;text-transform:uppercase}.ai-draft-assistant__title h2{font-size:clamp(1.18rem,2vw,1.52rem);letter-spacing:-.035em}.ai-draft-assistant__title p{margin-top:5px;color:var(--color-muted);font-size:.82rem;line-height:1.55}.ai-draft-assistant__safety{display:flex;max-width:300px;flex:0 0 auto;align-items:center;gap:10px;padding:10px 13px;border:1px solid rgb(46 207 149 / .45);border-radius:var(--radius-control);color:#145e45;background:#fffc;font-size:.75rem;line-height:1.45}.ai-draft-assistant__safety svg{flex:0 0 auto;color:#16835c}.ai-draft-assistant__safety strong{display:block;color:var(--color-ink);font-size:.8rem}.ai-draft-assistant__grid{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);border-top:1px solid #e4dcff}.ai-draft-form{display:grid;align-content:start;gap:18px;padding:24px;border-right:1px solid var(--color-border)}.ai-provider-picker{min-width:0;margin:0;padding:0;border:0}.ai-provider-picker>legend{margin-bottom:9px;font-size:.86rem;font-weight:750}.ai-provider-picker .loading-panel{min-height:86px}.ai-provider-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ai-provider-option{display:grid;min-width:0;grid-template-columns:auto auto minmax(0,1fr);grid-template-rows:auto auto;align-items:center;gap:2px 9px;padding:12px;border:1px solid var(--color-border);border-radius:14px;background:#fff;cursor:pointer;transition:border-color var(--motion-fast) ease,box-shadow var(--motion-fast) ease,transform var(--motion-fast) ease}.ai-provider-option:hover:not(.ai-provider-option--disabled){border-color:#b9aaff;transform:translateY(-1px)}.ai-provider-option--selected{border-color:var(--color-violet);box-shadow:0 0 0 3px #6c4dff1c}.ai-provider-option--disabled{color:var(--color-muted);background:#faf8fb;cursor:not-allowed;opacity:.72}.ai-provider-option>input{width:16px;height:16px;grid-row:1 / span 2;margin:0;accent-color:var(--color-violet)}.ai-provider-option__icon{display:grid;width:34px;height:34px;grid-row:1 / span 2;place-items:center;border-radius:11px}.ai-provider-option__icon svg{width:18px;height:18px}.ai-provider-option__icon--deepseek{color:var(--color-violet);background:var(--color-violet-soft)}.ai-provider-option__icon--ark{color:#a43c62;background:var(--color-pink-soft)}.ai-provider-option__copy{min-width:0;align-self:end}.ai-provider-option__copy strong,.ai-provider-option__copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ai-provider-option__copy strong{font-size:.8rem}.ai-provider-option__copy small{margin-top:2px;color:var(--color-muted);font-size:.68rem}.ai-provider-option__status{align-self:start;justify-self:start;padding:2px 7px;border-radius:999px;color:#166346;background:var(--color-mint-soft);font-size:.65rem;font-weight:800}.ai-provider-option--disabled .ai-provider-option__status{color:var(--color-muted);background:#eeeaf0}.ai-draft-form__count{margin-top:-14px;color:var(--color-muted);font-size:.7rem;text-align:right}.ai-draft-form__submit{width:100%;min-height:50px;background:linear-gradient(110deg,var(--color-violet),#896cff);box-shadow:0 9px 20px #6c4dff33}.ai-draft-preview{display:grid;min-height:500px;align-content:start;gap:20px;padding:24px;background:linear-gradient(150deg,#fffdf5,#fff8d9)}.ai-draft-preview>header{display:flex;min-height:44px;align-items:center;justify-content:space-between;gap:12px}.ai-draft-preview>header>div{display:flex;align-items:center;gap:8px;font-size:.86rem;font-weight:800}.ai-draft-preview>header>div svg{color:var(--color-orange)}.ai-draft-preview>.loading-panel{min-height:330px;background:#ffffff9e}.ai-draft-preview__empty{display:grid;min-height:330px;place-items:center;align-content:center;gap:10px;padding:28px;border:1px dashed #d9c870;border-radius:16px;color:var(--color-muted);background:#ffffff8f;text-align:center}.ai-draft-preview__empty>span{display:grid;width:58px;height:58px;place-items:center;border-radius:18px;color:var(--color-violet);background:var(--color-violet-soft)}.ai-draft-preview__empty>span svg{width:27px;height:27px}.ai-draft-preview__empty strong{color:var(--color-ink);font-size:1rem}.ai-draft-preview__empty p{max-width:390px;font-size:.78rem;line-height:1.65}.ai-draft-result{display:grid;gap:14px}.ai-draft-result__meta{display:flex;flex-wrap:wrap;gap:7px}.ai-draft-result__meta span,.ai-draft-result__meta time{padding:4px 8px;border-radius:999px;color:var(--color-muted);background:#fffc;font-size:.68rem}.ai-draft-result__meta span:first-child{color:#4e36ca;background:var(--color-violet-soft);font-weight:800}.ai-draft-result__text{min-height:280px;padding:18px;border:1px solid #e5d990;border-radius:15px;background:#fff;font-size:.88rem;line-height:1.78;overflow-wrap:anywhere;white-space:pre-wrap}.ai-draft-result>p{display:flex;align-items:flex-start;gap:7px;color:var(--color-muted);font-size:.74rem;line-height:1.55}.ai-draft-result>p svg{width:17px;height:17px;flex:0 0 auto;color:#16835c}.ai-draft-review-actions{display:flex;align-items:center;flex-wrap:wrap;gap:9px}.ai-draft-review-actions>span{margin-left:auto;padding:5px 10px;border-radius:999px;color:#4e36ca;background:var(--color-violet-soft);font-size:.72rem;font-weight:800}.ai-draft-promotion{display:grid;gap:14px;padding:16px;border:1px solid #d9ccff;border-radius:17px;background:linear-gradient(145deg,#f7f3fff5,#fffadae6)}.ai-draft-promotion>header{display:flex;align-items:flex-start;gap:10px}.ai-draft-promotion>header svg{width:20px;height:20px;flex:0 0 auto;color:#6f48d8}.ai-draft-promotion>header div{display:grid;gap:3px}.ai-draft-promotion>header small{color:var(--color-muted);line-height:1.45}.ai-draft-promotion__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.ai-draft-promotion__people{min-width:0;padding:12px;border:1px solid rgb(111 72 216 / .2);border-radius:13px;background:#ffffffb3}.ai-draft-promotion__people legend{padding:0 6px;color:var(--color-muted);font-size:.75rem;font-weight:750}.ai-draft-promotion__people>div{display:flex;flex-wrap:wrap;gap:8px}.ai-draft-promotion__people label{display:inline-flex;min-height:38px;align-items:center;gap:6px;padding:7px 10px;border-radius:999px;background:var(--color-violet-soft);cursor:pointer}.ai-draft-promotion__people small{color:var(--color-muted)}.records-panel{padding:0;overflow:hidden}.records-toolbar{justify-content:flex-end}.records-toolbar .search-control{flex:1 1 430px;max-width:560px}.record-list{display:grid}.record-row{display:grid;grid-template-columns:auto minmax(0,1fr);gap:17px;padding:22px 24px;border-bottom:1px solid var(--color-border)}.record-row:last-child{border-bottom:0}.record-row__icon{display:grid;width:46px;height:46px;place-items:center;border-radius:14px;color:var(--color-violet);background:var(--color-violet-soft)}.record-row__icon--home_visit{color:#a53d63;background:var(--color-pink-soft)}.record-row__icon--student_guidance{color:#126448;background:var(--color-mint-soft)}.record-row__icon--event_preparation{color:#8d5c00;background:#fff7d6}.record-row__icon--other{color:#225da7;background:var(--color-blue-soft)}.record-row__body{min-width:0}.record-row__body>div{display:flex;flex-wrap:wrap;align-items:center;gap:9px}.record-kind{min-height:24px;padding:4px 8px;color:#4e36ca;background:var(--color-violet-soft)}.record-row time{color:var(--color-muted);font-size:.72rem}.record-row h2{margin-top:9px;font-size:1rem}.record-row__body>p{margin-top:6px;color:var(--color-muted);font-size:.84rem;line-height:1.65;overflow-wrap:anywhere}.record-row footer{display:flex;flex-wrap:wrap;gap:14px;margin-top:11px}.record-row footer span{display:flex;align-items:center;gap:5px;color:var(--color-muted);font-size:.73rem}.record-row footer svg{width:15px;height:15px}.insight-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.insight-heading h2,.insight-heading h3{font-size:1.08rem;letter-spacing:-.02em}.insight-heading p{margin-top:4px;color:var(--color-muted);font-size:.78rem;line-height:1.5}.insight-heading--wide{align-items:flex-start}.insight-feedback{display:flex;min-height:52px;align-items:center;justify-content:center;gap:12px;margin-top:14px;padding:10px 13px;border:1px dashed #d9cfff;border-radius:12px;color:var(--color-muted);background:#faf8ff;font-size:.8rem}.insight-feedback--error{justify-content:space-between;border-color:#ffb5ce;color:#8f3152;background:#fff2f7}.insight-feedback .button{min-height:36px;padding:6px 11px}.insight-refreshing{width:fit-content;margin:10px 0 0 auto;padding:4px 9px;border-radius:999px;color:#4e36ca;background:var(--color-violet-soft);font-size:.7rem;font-weight:800}.insight-empty{margin-top:15px;padding:15px;border-radius:13px;color:var(--color-muted);background:#f8f5f9;font-size:.84rem;line-height:1.55;text-align:center}.week-closure-insight{margin-bottom:5px;padding:18px;border:1px solid #ded5ff;border-radius:16px;background:#fbfaff}.insight-score{display:grid;justify-items:end;color:var(--color-violet);font-size:1.65rem;line-height:1;letter-spacing:-.04em}.insight-score span{margin-top:5px;color:var(--color-muted);font-size:.66rem;letter-spacing:0}.closure-track{display:flex;width:100%;height:15px;margin-top:17px;overflow:hidden;border:2px solid var(--color-ink);border-radius:999px;background:#eee8f5}.closure-track__done{flex:0 0 auto;background:var(--color-mint)}.closure-track__pending{min-width:0;flex:1 1 auto;background:var(--color-violet)}.closure-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:13px}.closure-metric{min-width:0;padding:10px;border-radius:11px;background:#fff}.closure-metric dt{color:var(--color-muted);font-size:.67rem;line-height:1.35}.closure-metric dd{margin-top:4px;font-size:.9rem;font-weight:850}.closure-metric--done{box-shadow:inset 0 3px 0 var(--color-mint)}.closure-metric--pending{box-shadow:inset 0 3px 0 var(--color-violet)}.closure-metric--overdue{box-shadow:inset 0 3px 0 var(--color-pink)}.closure-metric--important{box-shadow:inset 0 3px 0 var(--color-orange)}.workload-insight,.record-distribution-insight{overflow:hidden}.workload-overdue{width:fit-content;margin-top:15px;padding:8px 11px;border-radius:10px;color:#8f3152;background:var(--color-pink-soft);font-size:.76rem;line-height:1.45}.workload-overdue strong{color:#a72e5b;font-size:.94rem}.workload-bars{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px;margin-top:17px}.workload-day{display:grid;min-width:0;min-height:186px;grid-template-rows:auto 82px auto auto;justify-items:center;gap:7px;padding:12px 6px;border:1px solid var(--color-border);border-radius:13px;background:#fff}.workload-day:hover,.workload-day.is-selected{border-color:var(--color-violet)}.workload-day.is-selected{background:var(--color-violet-soft);box-shadow:inset 0 0 0 1px var(--color-violet)}.workload-day>strong{font-size:1.13rem;line-height:1}.workload-day__track{display:flex;width:22px;height:82px;align-items:flex-end;overflow:hidden;border-radius:8px 8px 5px 5px;background:#eee9f2}.workload-day__fill{display:block;width:100%;height:var(--bar-size);min-height:0;border-radius:inherit;background:var(--color-violet)}.workload-day.has-important .workload-day__fill{box-shadow:inset 0 5px 0 var(--color-orange)}.workload-day time{display:grid;gap:2px;color:var(--color-muted);font-size:.68rem;text-align:center}.workload-day time b{color:var(--color-ink);font-size:.76rem}.workload-day small{color:var(--color-muted);font-size:.65rem;white-space:nowrap}.workload-day.has-important small{color:#9a5700;font-weight:800}.distribution-bars{display:grid;gap:8px;margin-top:17px}.distribution-row{display:grid;min-width:0;min-height:42px;grid-template-columns:minmax(90px,132px) minmax(80px,1fr) 52px;align-items:center;gap:12px;padding:6px 8px;border:1px solid transparent;border-radius:11px;background:transparent;text-align:left}.distribution-row:hover,.distribution-row.is-selected{border-color:#d9cfff;background:#faf8ff}.distribution-row.is-selected{box-shadow:inset 4px 0 0 var(--color-violet)}.distribution-row>span:first-child{overflow:hidden;font-size:.78rem;font-weight:760;text-overflow:ellipsis;white-space:nowrap}.distribution-row__track{display:block;width:100%;height:13px;overflow:hidden;border-radius:999px;background:#eee9f2}.distribution-row__track>span{display:block;width:var(--bar-size);height:100%;min-width:0;border-radius:inherit;background:var(--color-violet)}.distribution-row--home_visit .distribution-row__track>span{background:var(--color-pink)}.distribution-row--student_guidance .distribution-row__track>span{background:var(--color-mint)}.distribution-row--event_preparation .distribution-row__track>span{background:var(--color-orange)}.distribution-row--other .distribution-row__track>span{background:var(--color-cobalt)}.distribution-row>strong{font-size:.78rem;text-align:right;white-space:nowrap}.plan-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(310px,.72fr);gap:18px;align-items:start}.plan-todos,.reminder-status-stack{scroll-margin-top:96px}.plan-todos{padding:6px 23px}.plan-todos>.panel-heading{min-height:67px;border-bottom:1px solid var(--color-border)}.plan-todo-row{display:grid;min-height:81px;grid-template-columns:auto minmax(0,1fr) auto auto;gap:13px;align-items:center;border-bottom:1px solid var(--color-border)}.plan-todo-row:last-child{border-bottom:0}.plan-todo-row>div{display:grid;min-width:0;gap:6px}.reminder-status-stack{display:grid;gap:17px}.reminder-device-card{display:grid;gap:17px;padding:21px;border-radius:var(--radius-panel);color:#fff;background:linear-gradient(145deg,#6f50f7,#5b3bdc);box-shadow:0 15px 30px #4c30b72e}.reminder-device-card>header{display:flex;align-items:center;gap:12px}.reminder-device-card__icon{display:grid;width:48px;height:48px;place-items:center;border-radius:15px;color:var(--color-yellow);background:#ffffff21}.reminder-device-card header span{color:#ffffffa6;font-size:.72rem}.reminder-device-card header h2{margin-top:4px;font-size:1rem}.reminder-device-card .notice{border-color:#ffffff24}.manifest-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.manifest-metrics>div{min-width:0;padding:11px;border-radius:11px;background:#ffffff1a}.manifest-metrics dt{min-height:28px;color:#fff9;font-size:.61rem;line-height:1.35;overflow-wrap:anywhere}.manifest-metrics dd{margin-top:5px;overflow:hidden;font-size:1.12rem;font-weight:850;text-overflow:ellipsis}.reminder-device-card .button{width:100%;color:var(--color-ink);background:var(--color-yellow);box-shadow:none}.privacy-note{display:flex;align-items:flex-start;gap:7px;color:#ffffff9e;font-size:.68rem;line-height:1.55}.privacy-note svg{width:15px;height:15px;margin-top:2px}.reminder-projection-panel{padding:19px}.reminder-projection-panel .panel-heading{margin-bottom:13px}.reminder-projection-panel .panel-heading p{margin-top:4px;color:var(--color-muted);font-size:.72rem}.reminder-occurrence-list{display:grid;gap:10px}.reminder-occurrence{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;padding:12px;border:1px solid var(--color-border);border-radius:15px;background:var(--color-surface-soft)}.reminder-occurrence__icon{display:grid;width:34px;height:34px;place-items:center;border-radius:11px;color:#6142dd;background:#ece7ff}.reminder-occurrence__icon svg{width:17px;height:17px}.reminder-occurrence__body{display:grid;min-width:0;gap:3px}.reminder-occurrence__body strong,.reminder-occurrence__body span,.reminder-occurrence__body small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reminder-occurrence__body span,.reminder-occurrence__body small{color:var(--color-muted);font-size:.68rem}.projection-pill{padding:6px 8px;border-radius:999px;font-size:.66rem;font-weight:800;white-space:nowrap}.projection-pill--waiting{color:#6f4f00;background:#fff1a8}.projection-pill--success{color:#05694d;background:#c9f7e8}.projection-pill--warning{color:#984d00;background:#ffe0ad}.projection-pill--error{color:#b02755;background:#ffd6e4}.projection-pill--muted{color:#625d70;background:#e9e7ef}.reminder-explainer h2{font-size:1rem}.reminder-explainer ul{display:grid;gap:16px;padding:0;margin-top:18px;list-style:none}.reminder-explainer li{display:flex;align-items:flex-start;gap:11px}.reminder-explainer li>svg{width:19px;height:19px;color:var(--color-violet)}.reminder-explainer li span{display:grid;gap:3px;color:var(--color-muted);font-size:.76rem;line-height:1.5}.reminder-explainer li strong{color:var(--color-ink);font-size:.8rem}.reminder-options{display:block;padding:0;border:0}.reminder-options legend{margin-bottom:7px;font-size:.86rem;font-weight:750}.reminder-options>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.reminder-options label{display:flex;min-height:44px;align-items:center;gap:9px;padding:9px 11px;border:1px solid var(--color-border);border-radius:10px;font-size:.8rem}.reminder-options input{width:18px;height:18px;accent-color:var(--color-violet)}.placeholder-panel,.academics-placeholder{display:grid;min-height:420px;place-items:center;align-content:center;gap:15px;text-align:center}.placeholder-panel__icon{display:grid;width:74px;height:74px;place-items:center;border-radius:23px;color:var(--color-violet);background:var(--color-violet-soft)}.placeholder-panel__icon svg{width:34px;height:34px}.academics-placeholder{justify-items:center}.academics-placeholder__hero{display:flex;width:min(100%,620px);align-items:center;gap:16px;text-align:left}.academics-placeholder__hero>span{display:grid;width:66px;height:66px;flex:0 0 auto;place-items:center;border-radius:20px;color:var(--color-violet);background:var(--color-violet-soft)}.academics-placeholder__hero>span svg{width:30px;height:30px}.academics-placeholder__hero p{margin-top:5px;color:var(--color-muted);font-size:.82rem;line-height:1.6}.placeholder-panel h2,.academics-placeholder h2{font-size:1.35rem}.placeholder-panel p,.academics-placeholder>p{max-width:560px;color:var(--color-muted);line-height:1.7}.academics-placeholder__steps{display:grid;width:min(100%,620px);grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:11px}.academics-placeholder__steps>article{display:grid;gap:4px;padding:14px;border:1px solid var(--color-border);border-radius:12px;text-align:left}.academics-placeholder__steps svg{width:20px;height:20px;margin-bottom:5px;color:var(--color-violet)}.academics-placeholder__steps p{color:var(--color-muted);font-size:.72rem;line-height:1.55}.academics-placeholder__steps span{color:var(--color-violet);font-size:.7rem;font-weight:800}.academics-placeholder__steps strong{font-size:.82rem}.modal-backdrop{position:fixed;z-index:90;inset:0;display:grid;overflow:auto;place-items:center;padding:22px;background:#170e1f7a;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.modal{width:min(100%,660px);max-height:calc(100vh - 44px);overflow:auto;border-radius:20px;background:#fff;box-shadow:0 28px 70px #180d2247}.modal__header{position:sticky;z-index:2;top:0;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:22px 24px;border-bottom:1px solid var(--color-border);background:#fff}.modal__header h2{font-size:1.28rem;letter-spacing:-.025em}.modal__header p{margin-top:6px;color:var(--color-muted);font-size:.8rem;line-height:1.5}.modal__body{padding:24px}.modal__footer{position:sticky;z-index:2;bottom:0;display:flex;justify-content:flex-end;gap:10px;padding:16px 24px;border-top:1px solid var(--color-border);background:#fff}.record-row,.todo-row,.plan-todo-row,.data-table tbody tr{content-visibility:auto;contain-intrinsic-size:auto 76px}@media(max-width:1320px){.today-layout{grid-template-columns:minmax(0,1fr) 305px}.energy-grid{grid-template-columns:minmax(390px,1.15fr) minmax(290px,.85fr)}.next-lesson-card{grid-template-columns:minmax(0,1fr) 135px}.next-lesson-card__art svg{width:125px;height:125px}.context-controls .context-control:first-child{display:none}}@media(max-width:1080px){.sidebar{width:204px}.app-column{margin-left:204px}.desktop-topbar{grid-template-columns:auto minmax(180px,1fr) 44px 48px}.energy-grid{grid-template-columns:1fr}.quick-stack,.quick-card__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.plan-grid{grid-template-columns:minmax(0,1fr) 290px}.ai-draft-assistant__grid{grid-template-columns:minmax(0,1fr)}.ai-draft-form{border-right:0;border-bottom:1px solid var(--color-border)}.ai-draft-preview{min-height:430px}}@media(max-width:1024px){.sidebar,.desktop-topbar{display:none}.app-column{min-height:calc(100vh - 64px);margin-left:0}.mobile-topbar{position:sticky;z-index:45;top:0;display:grid;min-height:calc(58px + env(safe-area-inset-top));grid-template-columns:minmax(0,1fr) minmax(0,1.08fr) 44px;align-items:end;gap:10px;padding:calc(8px + env(safe-area-inset-top)) 14px 8px;border-bottom:1px solid rgb(233 226 237 / .86);background:#fff9f2f0;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.mobile-context,.mobile-term{display:flex;min-width:0;min-height:44px;align-items:center;justify-content:center;gap:7px;padding:7px 9px;border:1px solid var(--color-border);border-radius:12px;background:#fff}.mobile-context strong,.mobile-term span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-context strong{min-width:0;font-size:.76rem}.mobile-context svg,.mobile-term svg{width:16px;height:16px;color:var(--color-violet)}.mobile-context svg:last-child{width:13px;height:13px;color:var(--color-muted)}.mobile-term span{font-size:.72rem;font-weight:750}.mobile-drawer{position:fixed;z-index:42;inset:calc(58px + env(safe-area-inset-top)) 0 calc(72px + env(safe-area-inset-bottom));display:block;overflow:auto;padding:14px;background:#fff9f2fa}.mobile-drawer nav{display:grid;gap:7px}.mobile-drawer .nav-link{color:var(--color-muted);background:#fff;border:1px solid var(--color-border)}.mobile-drawer .nav-link--active{color:var(--color-ink);background:var(--color-yellow);border-color:var(--color-yellow)}.mobile-bottom-nav{position:fixed;z-index:50;right:0;bottom:0;left:0;display:grid;min-height:calc(72px + env(safe-area-inset-bottom));grid-template-columns:repeat(5,minmax(0,1fr));padding:7px max(5px,env(safe-area-inset-right)) env(safe-area-inset-bottom) max(5px,env(safe-area-inset-left));border-top:1px solid var(--color-border);background:#fffffff5;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.mobile-bottom-nav .nav-link{min-width:0;min-height:57px;flex-direction:column;justify-content:center;gap:4px;padding:4px;border-radius:12px;color:var(--color-muted);font-size:.67rem}.mobile-bottom-nav .nav-link span{line-height:1.2;white-space:nowrap}.mobile-bottom-nav .nav-link:hover{transform:none}.mobile-bottom-nav .nav-link--active{color:var(--color-violet);background:var(--color-violet-soft);box-shadow:none}.mobile-bottom-nav .nav-link svg{width:21px;height:21px}.mobile-bottom-nav .nav-link--agent{color:var(--color-violet);font-weight:800}.mobile-bottom-nav .nav-link--agent svg{width:26px;height:26px;padding:5px;color:#fff;border-radius:11px;background:linear-gradient(145deg,var(--color-violet),var(--color-pink));box-shadow:0 7px 16px #6c4dff47}.mobile-bottom-nav .nav-link--agent.nav-link--active{color:var(--color-ink)}.app-column>main{padding:15px 14px calc(96px + env(safe-area-inset-bottom))}.app-shell--agent .app-column,.app-shell--agent .app-column>main{height:100dvh;min-height:0}.app-shell--agent .app-column>main{padding:0}.app-shell--agent .mobile-bottom-nav{right:max(12px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom));left:auto;display:block;width:50px;min-height:50px;padding:0;border:0;background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}.mobile-drawer--agent{inset:0;display:grid;padding:18px 18px 76px;background:#21182b52;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.mobile-drawer--agent nav{width:min(340px,100%);padding:10px;border:1px solid var(--color-border);border-radius:22px;background:#fffffffa}.page-stack{gap:16px}.page-header{min-height:auto;align-items:flex-start}.page-header h1{font-size:clamp(1.75rem,8vw,2.4rem)}.page-header p{font-size:.82rem}.page-header__action .button{min-width:48px}.reading-panel{padding:18px}.today-greeting{min-width:0;min-height:68px;align-items:center;gap:8px;overflow:hidden;padding-bottom:8px}.today-greeting>div:first-child{min-width:0}.today-greeting h1{font-size:clamp(1.65rem,7.5vw,2.2rem);line-height:1.03;white-space:nowrap}.greeting-zap{display:grid;width:34px;height:34px;flex:0 0 auto;margin-bottom:0;border-radius:11px}.greeting-stroke{width:125px;height:7px;margin-left:52%}.today-layout{grid-template-columns:minmax(0,1fr);gap:16px}.today-primary,.today-rail{gap:14px}.energy-grid{grid-template-columns:minmax(0,1fr);gap:13px}.next-lesson-card{min-height:300px;grid-template-columns:minmax(0,1fr) 110px;padding:26px}.next-lesson-card__copy>strong{margin-top:22px;font-size:clamp(2.65rem,13vw,3.8rem)}.next-lesson-card h2{font-size:1.65rem}.next-lesson-card__art svg{width:100px;height:100px}.quick-stack{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.quick-card{min-height:190px;padding:16px 14px;border-radius:19px}.quick-card__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.quick-card__grid button{min-height:58px;flex-direction:column;justify-content:center;gap:4px;padding:6px 7px;text-align:center}.todo-panel{padding:4px 16px 6px}.todo-panel__heading{min-height:65px;flex-wrap:wrap;padding:13px 0}.todo-panel__heading .text-link{margin-left:auto}.todo-filters{order:3;width:100%;overflow-x:auto}.todo-filters button{flex:1 0 auto;min-height:38px}.todo-row{min-height:93px;grid-template-columns:auto minmax(0,1fr);padding:12px 0}.todo-row__body{display:grid;gap:7px}.todo-row__body>p{grid-row:2}.todo-row>.todo-status{grid-column:2;width:fit-content}.today-rail{grid-template-columns:minmax(0,1fr)}.rail-card{padding:17px}.class-strip{display:flex;margin-inline:-14px;padding:2px 14px 10px;overflow-x:auto;scroll-snap-type:x proximity}.class-card{min-width:min(82vw,300px);scroll-snap-align:start}.roster-toolbar,.records-toolbar{align-items:stretch;flex-direction:column;padding:17px}.roster-toolbar__actions{align-items:stretch;flex-direction:column}.search-control{width:100%;min-width:0}.records-toolbar .search-control{flex-basis:auto;max-width:none}.select-control select{width:100%}.data-table th,.data-table td{padding-inline:17px}.record-row{gap:13px;padding:18px}.plan-grid{grid-template-columns:minmax(0,1fr)}.plan-todos{padding:5px 16px}.plan-todo-row{min-height:102px;grid-template-columns:auto minmax(0,1fr) auto;padding:12px 0}.plan-todo-row>.todo-status{grid-column:2;width:fit-content}.plan-todo-row>.tag{grid-column:3;grid-row:1}.reminder-status-stack{grid-template-columns:minmax(0,1fr)}.reminder-occurrence{grid-template-columns:auto minmax(0,1fr)}.reminder-occurrence>.projection-pill{grid-column:2;width:fit-content}.modal-backdrop{align-items:end;padding:0}.modal{width:100%;max-height:calc(93vh - env(safe-area-inset-top));border-radius:22px 22px 0 0}.modal__header,.modal__body,.modal__footer{padding-inline:18px}.modal__footer{padding-bottom:calc(16px + env(safe-area-inset-bottom))}.form-grid--2,.academics-placeholder__steps{grid-template-columns:minmax(0,1fr)}.placeholder-panel,.academics-placeholder{min-height:350px}.login-page{grid-template-columns:minmax(0,1fr)}.login-energy{min-height:265px;padding:25px 22px}.login-energy__content{margin-top:42px;gap:11px}.login-energy__content h1{max-width:12ch;font-size:clamp(2.5rem,13vw,4rem)}.login-energy__content p{font-size:.86rem}.login-form-panel{padding:34px 22px 48px}}@media(max-width:470px){.page-header{display:grid;grid-template-columns:minmax(0,1fr) auto}.page-header p{grid-column:1 / -1}.page-header__action .button span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.next-lesson-card{min-height:230px;grid-template-columns:minmax(0,1fr) 68px;padding:18px}.next-lesson-card.is-empty{grid-template-columns:minmax(0,1fr) 68px;padding:18px}.next-lesson-card__copy>span:first-child{padding:5px 9px;font-size:.69rem}.next-lesson-card__copy>strong,.next-lesson-card.is-empty .next-lesson-card__copy>strong{margin-top:14px;font-size:2.05rem}.next-lesson-card h2{margin-top:8px;font-size:1.35rem;line-height:1.04}.next-lesson-card p{margin-top:5px;font-size:.78rem}.next-lesson-card__art svg,.next-lesson-card.is-empty .next-lesson-card__art svg{width:68px;height:68px}.next-lesson-card__actions{gap:8px;margin-top:12px;padding-top:0}.next-lesson-card__actions .button{padding-inline:12px}.next-lesson-card__actions>span{font-size:.69rem}.quick-card{min-height:150px;padding:12px}.quick-card>header{min-height:24px}.quick-card h2{font-size:.92rem}.quick-card__grid{gap:6px;margin-top:8px}.quick-card__grid button{min-height:43px;padding:4px 5px;font-size:.69rem}.quick-card__grid button svg{width:15px;height:15px}.manifest-metrics{grid-template-columns:minmax(0,1fr)}.manifest-metrics dt{min-height:auto}.reminder-options{display:block}.reminder-options>div{grid-template-columns:minmax(0,1fr)}}@media(max-width:640px){.insight-heading--wide{align-items:stretch;flex-direction:column}.insight-heading--wide .button{align-self:flex-start}.week-closure-insight{padding:14px}.closure-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.workload-bars{grid-template-columns:minmax(0,1fr)}.workload-day{min-height:70px;grid-template-columns:48px minmax(0,1fr) auto;grid-template-rows:auto auto;justify-items:stretch;gap:7px 9px;padding:10px 12px}.workload-day>strong{grid-column:1;grid-row:1;align-self:center;text-align:center}.workload-day__track{width:100%;height:12px;grid-column:2 / 4;grid-row:1;align-self:center;align-items:stretch;border-radius:999px}.workload-day__fill{width:var(--bar-size);height:100%}.workload-day.has-important .workload-day__fill{box-shadow:inset -5px 0 0 var(--color-orange)}.workload-day time{display:flex;grid-column:1 / 3;grid-row:2;align-items:center;gap:6px;text-align:left}.workload-day small{grid-column:3;grid-row:2;align-self:center;text-align:right}.distribution-row{grid-template-columns:minmax(82px,.7fr) minmax(54px,1fr) 45px;gap:8px;padding-inline:5px}.ai-draft-assistant__header{align-items:stretch;flex-direction:column;gap:16px;padding:19px}.ai-draft-assistant__title{align-items:flex-start}.ai-draft-assistant__mark{width:45px;height:45px;border-radius:14px}.ai-draft-assistant__safety{width:100%;max-width:none}.ai-draft-form,.ai-draft-preview{padding:18px}.ai-provider-options{grid-template-columns:minmax(0,1fr)}.ai-draft-preview{min-height:380px}.ai-draft-preview>header{align-items:stretch;flex-direction:column}.ai-draft-preview>header .button{width:100%}.ai-draft-promotion__grid{grid-template-columns:minmax(0,1fr)}.ai-draft-review-actions .button,.ai-draft-promotion>.button{width:100%}.ai-draft-review-actions>span{margin-left:0}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
