/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before{box-sizing:border-box;border:0 solid;margin:0;padding:0}::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.fixed{position:fixed}.relative{position:relative}.static{position:static}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.block{display:block}.contents{display:contents}.hidden{display:none}.table{display:table}.flex-shrink{flex-shrink:1}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.flex-wrap{flex-wrap:wrap}.border{border-style:var(--tw-border-style);border-width:1px}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}:root{--ink:#182b43;--muted:#69788b;--line:#e1e7ef;--surface:#fff;--soft:#f4f6fa;--canvas:#f7f8fb;--brand:#183451;--brand-dark:#112943;--brand-pale:#edf1f7;--shadow:0 5px 18px #122a470a}*{box-sizing:border-box}body{background:var(--canvas);color:var(--ink);margin:0;font-family:Yu Gothic UI,Hiragino Sans,Meiryo,sans-serif}button{font:inherit}.app-frame{min-height:100vh}.topbar{background:var(--surface);border-bottom:1px solid var(--line);grid-template-columns:1fr auto 1fr;align-items:center;min-height:72px;padding:0 30px;display:grid}.brand{align-items:center;gap:11px;display:flex}.brand-mark{border:1px solid var(--line);color:#fff;background:#fff;border-radius:11px;flex:none;justify-content:center;align-items:center;width:42px;height:42px;font-weight:700;display:flex;overflow:hidden;box-shadow:0 3px 10px #153d341a}.brand-mark img{object-fit:cover;width:100%;height:100%;display:block;transform:scale(1.08)}.brand strong,.brand small{display:block}.brand small{color:var(--muted);margin-top:2px;font-size:12px}.role-nav{align-items:center;gap:6px;display:flex}.role-nav button{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:9px;padding:9px 14px}.role-nav button.active{background:var(--brand-pale);color:var(--brand-dark);font-weight:700}.account{color:var(--muted);justify-self:end;font-size:14px}.account-actions{grid-column:3;justify-self:end;align-items:center;gap:12px;display:flex}.account-actions a{color:var(--brand-dark);font-size:13px;font-weight:700;text-decoration:none}.account-actions a:hover{text-decoration:underline}.login-shell{background:linear-gradient(145deg,#f5f9f7 0%,#edf4f0 55%,#f7f3e9 100%);justify-content:center;align-items:center;min-height:100vh;padding:28px;display:flex}.login-card{background:var(--surface);border:1px solid var(--line);border-radius:22px;width:100%;max-width:480px;padding:40px;box-shadow:0 24px 70px #1b403321}.login-brand{align-items:center;gap:12px;margin-bottom:34px;display:flex}.login-brand>span:last-child{flex-direction:column;display:flex}.login-brand strong{font-size:18px}.login-brand small{color:var(--muted);font-size:11px}.login-copy h1{letter-spacing:-.04em;margin:8px 0 14px;font-size:clamp(28px,5vw,38px);line-height:1.2}.login-copy>p:last-child{color:var(--muted);margin:0 0 28px;line-height:1.8}.migration-card{text-align:left}.migration-action{text-align:center;width:100%;text-decoration:none;display:block}.migration-url{color:var(--brand);text-align:center;margin:12px 0 22px;font-size:13px;font-weight:700}.google-signin-slot{justify-content:center;align-items:center;width:100%;min-height:44px;display:flex}.login-method-switch{background:var(--soft);border-radius:11px;grid-template-columns:1fr 1fr;gap:4px;margin:-12px 0 28px;padding:4px;display:grid}.login-method-switch button{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:8px;padding:10px;font-size:13px;font-weight:700}.login-method-switch button.active{background:var(--surface);color:var(--brand-dark);box-shadow:0 2px 8px #153d3417}.login-method-switch button:disabled{cursor:not-allowed;opacity:.45}.email-login-form{gap:14px;display:grid}.email-login-form label{gap:6px;display:grid}.email-login-form label span{color:var(--muted);font-size:12px;font-weight:700}.email-login-form input{background:var(--surface);border:1px solid var(--line);color:var(--ink);font:inherit;border-radius:9px;width:100%;min-height:44px;padding:10px 12px}.email-login-form input:focus{border-color:var(--brand);outline:none;box-shadow:0 0 0 3px #0d735f1a}.email-login-form .email-code-input{letter-spacing:.3em;text-align:center;font-size:23px;font-weight:700}.login-text-button{color:var(--brand-dark);cursor:pointer;background:0 0;border:0;padding:3px;font-size:12px;font-weight:700}.email-login-pending{color:#7b5b17;text-align:center;background:#fff7e8;border:1px solid #efd9a9;border-radius:9px;margin:16px 0 0;padding:9px 11px;font-size:12px}.login-status{color:var(--muted);text-align:center;margin:12px 0 0;font-size:12px;line-height:1.6}.login-error{color:#9d3030;text-align:center;background:#fff0ef;border-radius:9px;margin:12px 0 0;padding:10px 12px;font-size:13px;line-height:1.6}.login-note{color:var(--muted);text-align:center;margin:18px 0 0;font-size:12px;line-height:1.6}.wrong-account-panel{text-align:center}.wrong-account-icon{color:#9d3030;background:#fff0ef;border:1px solid #efc6c2;border-radius:50%;justify-content:center;align-items:center;width:52px;height:52px;margin:0 auto 20px;font-size:24px;font-weight:800;display:flex}.wrong-account-panel .login-copy h1{font-size:clamp(24px,4.5vw,34px)}.wrong-account-panel .login-copy>p:last-child{margin-bottom:22px}.login-logout-button{width:100%}.privacy-link{color:var(--brand-dark);text-align:center;margin-top:10px;font-size:12px;display:block}.login-policy-links{flex-wrap:wrap;justify-content:center;gap:8px 14px;margin-top:12px;display:flex}.login-policy-links a{color:var(--brand-dark);font-size:11px;font-weight:700}.policy-shell{background:var(--canvas);min-height:100vh;padding:48px 20px}.policy-card{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:18px;max-width:760px;margin:0 auto;padding:36px}.policy-card h1{margin:6px 0 26px;font-size:30px}.policy-card h2{margin:28px 0 8px;font-size:18px}.policy-card p{color:var(--muted);line-height:1.9}.policy-links{flex-wrap:wrap;gap:10px 18px;margin-top:26px;display:flex}.policy-links a{color:var(--brand-dark);font-weight:700}.policy-back{margin-top:24px;text-decoration:none;display:inline-block}.app-body{grid-template-columns:190px minmax(0,1fr);display:grid}.sidebar{background:var(--surface);border-right:1px solid var(--line);min-height:calc(100vh - 72px);padding:28px 16px}.side-label{color:var(--muted);letter-spacing:.08em;margin:0 12px 12px;font-size:12px;font-weight:700}.sidebar button{color:var(--muted);cursor:pointer;text-align:left;background:0 0;border:0;border-radius:9px;width:100%;margin:3px 0;padding:11px 13px;display:block}.sidebar button.active{background:var(--brand-pale);color:var(--brand-dark);font-weight:700}.workspace{min-width:0;padding:28px 30px 48px}.page-heading{justify-content:space-between;align-items:flex-end;max-width:1280px;margin:0 auto 20px;display:flex}.eyebrow{color:var(--brand);letter-spacing:.08em;margin:0 0 5px;font-size:12px;font-weight:700}.page-heading h1{letter-spacing:-.02em;margin:0;font-size:28px}.page-heading p:not(.eyebrow){color:var(--muted);margin:7px 0 0}.primary-action{background:var(--brand);color:#fff;cursor:pointer;border:0;border-radius:10px;padding:12px 18px;font-weight:700}.primary-action:hover{background:var(--brand-dark)}.status-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-width:1280px;margin:0 auto 14px;display:grid}.status-row div{background:var(--surface);border:1px solid var(--line);border-radius:11px;justify-content:space-between;align-items:center;padding:12px 15px;display:flex}.status-row span{color:var(--muted);font-size:13px}.status-row strong{color:var(--brand-dark);font-size:20px}.calendar-panel{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:15px;max-width:1280px;margin:0 auto;overflow:hidden}.calendar-toolbar{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:14px 16px;display:flex}.calendar-toolbar p{color:var(--muted);margin:0;font-size:13px}.week-nav{align-items:center;gap:7px;display:flex}.week-nav button{background:var(--surface);border:1px solid var(--line);color:var(--ink);cursor:pointer;border-radius:8px;min-height:36px;padding:0 12px}.week-nav strong{margin-left:7px;font-size:14px}.calendar-scroll{overflow-x:auto}.calendar{--calendar-event-gap:8px;--calendar-event-inset:4px;grid-template-columns:50px repeat(var(--calendar-days,7), minmax(112px, 1fr));grid-template-rows:48px calc(var(--calendar-rows,13) * 56px);min-width:calc(50px + var(--calendar-days,7) * 112px);display:grid}.calendar-corner,.day-head{background:var(--soft);border-bottom:1px solid var(--line);border-right:1px solid var(--line)}.calendar-corner{grid-area:1/1}.day-head{flex-direction:column;justify-content:center;align-items:center;display:flex}.day-head.today{background:var(--brand-pale);color:var(--brand-dark)}.day-head span{font-size:12px}.day-head strong{margin-top:2px;font-size:14px}.time-column{grid-area:2/1}.time-column span{border-bottom:1px solid var(--line);color:var(--muted);text-align:right;height:56px;padding:7px 6px 0 0;font-size:11px;display:block}.day-column{border-left:1px solid var(--line);grid-row:2;position:relative}.time-slot{border:0;border-bottom:1px solid var(--line);cursor:pointer;background:0 0;width:100%;height:56px;padding:0;display:block}.time-slot:hover{background:var(--soft)}.lesson-event{background:var(--brand-pale);border:1px solid var(--brand);border-left:4px solid var(--brand);color:var(--ink);cursor:pointer;text-align:left;z-index:2;border-radius:8px;padding:6px;position:absolute;overflow:hidden}.lesson-event:hover{box-shadow:0 5px 16px #0d735f29}.lesson-event strong,.lesson-event span{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.lesson-event strong{font-size:12px}.lesson-event span{color:var(--muted);margin-top:3px;font-size:11px}.lesson-event.status-live{background:#fff1dc;border-color:#c9711f}.lesson-event.status-pending_approval{background:#edf0ff;border-color:#5d68ad}.lesson-event.status-approved{background:#eef4f1;border-color:#789087}.lesson-event.student-colored,.month-event.student-colored{background:var(--student-bg,var(--brand-pale));border-color:var(--student-border,var(--brand));border-left-color:var(--student-border,var(--brand))}.lesson-event.student-colored.status-live,.month-event.student-colored.status-live{box-shadow:inset 0 4px #c9711f}.lesson-event.student-colored.status-pending_approval,.month-event.student-colored.status-pending_approval{box-shadow:inset 0 4px #5d68ad}.lesson-event.student-colored.status-approved,.month-event.student-colored.status-approved{box-shadow:inset 0 4px #789087}.month-calendar{min-width:910px}.month-week-heads,.month-grid{grid-template-columns:repeat(7,minmax(130px,1fr));display:grid}.month-week-heads div{background:var(--soft);border-bottom:1px solid var(--line);border-right:1px solid var(--line);color:var(--muted);text-align:center;padding:10px;font-size:12px;font-weight:700}.month-cell{background:var(--surface);border-bottom:1px solid var(--line);border-right:1px solid var(--line);min-height:132px;padding:8px}.month-date-row{justify-content:space-between;align-items:center;margin-bottom:6px;display:flex}.month-date-row>span,.month-date-button{color:inherit;background:0 0;border:0;border-radius:999px;justify-content:center;align-items:center;width:26px;height:26px;padding:0;font-size:12px;font-weight:700;display:inline-flex}.month-date-button{cursor:pointer}.month-date-button:hover{background:var(--brand-pale);color:var(--brand-dark)}.month-date-row small{color:var(--muted);font-size:10px}.month-events{gap:5px;display:grid}.month-event{background:var(--brand-pale);border:1px solid #a9d1c7;border-left:3px solid var(--brand);color:var(--ink);text-align:left;border-radius:7px;width:100%;padding:5px;display:block;overflow:hidden}button.month-event{cursor:pointer}button.month-event:hover{box-shadow:0 4px 12px #0d735f24}.month-event strong,.month-event span,.month-event small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.month-event strong{font-size:10px}.month-event span,.month-event small{color:var(--muted);margin-top:2px;font-size:9px}.month-event.status-live{background:#fff1dc;border-color:#c9711f}.month-event.status-pending_approval{background:#edf0ff;border-color:#5d68ad}.month-event.status-approved{background:#eef4f1;border-color:#789087}.month-event.student-colored{background:var(--student-bg,var(--brand-pale));border-color:var(--student-border,var(--brand));border-left-color:var(--student-border,var(--brand))}.month-more{color:var(--muted);padding-left:4px;font-size:10px}.schedule-filter-row{background:var(--surface);border:1px solid var(--line);border-radius:12px;grid-template-columns:minmax(180px,260px) minmax(180px,260px) 1fr;align-items:end;gap:12px;max-width:1280px;margin:0 auto 14px;padding:12px 14px;display:grid}.admin-schedule-list{max-width:1280px;margin:0 auto}.schedule-list-toolbar{background:var(--soft);border-radius:11px;flex-wrap:wrap;align-items:end;gap:10px;margin-bottom:14px;padding:12px;display:flex}.schedule-list-toolbar>span{color:var(--muted);margin-left:auto;padding-bottom:8px;font-size:12px;font-weight:700}.bulk-schedule-bar{background:#f1fbf7;border:1px solid #b7d7cd;border-radius:11px;grid-template-columns:minmax(220px,1fr) minmax(280px,.8fr) auto;align-items:end;gap:10px 14px;margin-bottom:14px;padding:13px;display:grid}.bulk-schedule-bar>div:first-child strong,.bulk-schedule-bar>div:first-child small{display:block}.bulk-schedule-bar>div:first-child small{color:var(--muted);margin-top:4px;font-size:11px}.bulk-schedule-bar .selected-months{grid-column:1/-1}.bulk-schedule-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.schedule-list-table{min-width:1040px}.schedule-list-table .check-column{text-align:center;width:46px}.schedule-list-table input[type=checkbox]{accent-color:var(--brand);width:17px;height:17px}.schedule-list-table tr.selected-row td{background:#f1fbf7}.lesson-color-dot{background:var(--student-bg,var(--brand-pale));border:2px solid var(--student-border,var(--brand));vertical-align:-2px;border-radius:999px;width:13px;height:13px;margin:0 7px 0 0;display:inline-block}.student-color-legend{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:7px 10px;min-height:42px;display:flex}.student-color-legend>span{color:var(--muted);margin-right:3px;font-size:12px;font-weight:700}.student-color-legend b{align-items:center;gap:4px;display:inline-flex}.student-color-legend i{border:2px solid;border-radius:999px;width:15px;height:15px;display:block}.student-color-legend small{color:var(--muted);font-size:10px;font-weight:500}.standalone-view{max-width:1360px;margin:0 auto;padding:30px}.teacher-grid{grid-template-columns:minmax(0,1.5fr) minmax(280px,.7fr);gap:18px;display:grid}.content-panel{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:15px;padding:20px;overflow:hidden}.content-panel.narrow-panel,.narrow-panel{max-width:560px}.town-records-view{max-width:1280px;margin:0 auto}.today-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;max-width:1280px;margin:0 auto 14px;display:grid}.today-overview-grid .content-panel{min-width:0;padding:16px}.today-overview-grid table{min-width:720px}.history-panel{margin-top:20px}.panel-head{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.panel-head h2,.modal-head h2{margin:0;font-size:20px}.panel-head p{color:var(--muted);margin:4px 0 0;font-size:13px}.lesson-card{border:1px solid var(--line);border-radius:12px;justify-content:space-between;align-items:center;gap:20px;margin-top:12px;padding:18px;display:flex}.lesson-card h3{margin:9px 0 5px;font-size:19px}.lesson-card p{color:var(--muted);margin:0 0 6px}.lesson-card small{color:var(--muted)}.previous-homework{border:1px solid var(--line);background:#f8faf9;border-radius:10px;margin:14px 0;padding:12px}.previous-homework h4{color:var(--brand-dark);margin:0 0 8px;font-size:13px}.previous-homework>div{gap:7px;display:grid}.previous-homework article{background:var(--surface);border-radius:8px;padding:9px 10px}.previous-homework article strong{font-size:11px;display:block}.previous-homework article p{color:var(--ink);margin:3px 0 0;font-size:12px;line-height:1.5}.previous-homework article small{color:var(--muted);margin-top:3px;font-size:10px;display:block}.compact-homework{margin:9px 0 0;padding:9px}.compact-homework h4{margin-bottom:5px;font-size:11px}.compact-homework article{padding:7px 8px}.homework-panel{max-width:1280px;margin:0 auto 16px}.homework-subject-grid{grid-template-columns:repeat(var(--homework-columns,5), minmax(0, 1fr));gap:9px;display:grid}.homework-subject-grid article{background:var(--soft);border:1px solid var(--line);border-radius:10px;min-width:0;padding:12px}.homework-subject-grid strong{color:var(--brand-dark);font-size:13px}.homework-subject-grid p{overflow-wrap:anywhere;margin:7px 0;font-size:12px;line-height:1.6}.homework-subject-grid small{color:var(--muted);font-size:10px}.lesson-actions{flex-direction:column;align-items:flex-end;gap:8px;min-width:150px;display:flex}.secondary-action,.danger-action{background:var(--surface);border:1px solid var(--line);color:var(--ink);cursor:pointer;border-radius:10px;padding:11px 16px;font-weight:700}.danger-action{color:#a42626;border-color:#c84b4b}.primary-action:disabled,.secondary-action:disabled,.danger-action:disabled{cursor:not-allowed;opacity:.5}.compact{border-radius:7px;padding:7px 10px}.muted-note{color:var(--muted);font-size:13px}.list-row{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:14px 2px;display:flex}.list-row:first-of-type{border-top:0}.list-row strong,.list-row span{display:block}.list-row div>span{color:var(--muted);margin-top:4px;font-size:13px}.list-row div>small{color:var(--muted);margin-top:5px;font-size:11px;display:block}.list-row-actions{flex-direction:column;align-items:flex-end;gap:7px;display:flex}.status-pill{background:var(--soft);color:var(--muted);white-space:nowrap;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:700;display:inline-block}.status-pill.schedule_pending{color:#8b5a0b;background:#fff3dd}.status-pill.live{color:#98500d;background:#fff1dc}.status-pill.awaiting_report{color:#9d3030;background:#fff0ef}.status-pill.pending_approval{color:#4755a0;background:#edf0ff}.status-pill.approved{background:var(--brand-pale);color:var(--brand-dark)}.status-pill.rejected{color:#9d3030;background:#fff0ef}.special-request-table{table-layout:fixed;width:100%;min-width:980px}.special-request-table .special-kind-col{width:8%}.special-request-table .special-date-col{width:16%}.special-request-table .special-teacher-col{width:12%}.special-request-table .special-subject-col{width:10%}.special-request-table .special-students-col{width:16%}.special-request-table .special-content-col{width:15%}.special-request-table .special-actions-col{width:23%}.special-request-table td{overflow-wrap:anywhere}.special-request-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.special-request-actions button{justify-content:center;width:100%}.table-scroll{overflow-x:auto}.export-panel{max-width:1280px;margin:0 auto}.export-toolbar{background:var(--soft);border-radius:11px;flex-wrap:wrap;align-items:end;gap:12px;margin-bottom:18px;padding:13px;display:flex}.export-toolbar>span{color:var(--muted);margin-left:auto;padding-bottom:10px;font-size:13px}.export-student-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.export-student{background:var(--surface);border:1px solid var(--line);border-left:5px solid var(--student-border,var(--line));border-radius:11px;justify-content:space-between;align-items:center;gap:12px;padding:13px;display:flex}.export-student.selected{background:var(--student-bg,var(--brand-pale));box-shadow:inset 0 0 0 1px var(--student-border,var(--brand))}.export-student label{cursor:pointer;align-items:center;gap:10px;min-width:0;display:flex}.export-student input{accent-color:var(--brand);width:18px;height:18px}.export-student strong,.export-student small{display:block}.export-student small{color:var(--muted);margin-top:3px;font-size:11px}.export-note{color:var(--muted);margin:16px 0 0;font-size:12px;line-height:1.7}table{border-collapse:collapse;width:100%;min-width:820px}th,td{border-bottom:1px solid var(--line);text-align:left;vertical-align:middle;padding:13px 11px}th{color:var(--muted);font-size:12px;font-weight:700}td{font-size:13px}td span,td small{color:var(--muted);margin-top:3px;display:block}.photo-thumb{object-fit:cover;border-radius:7px;width:62px;height:44px}.photo-thumb.large{width:78px;height:54px}.photo-button{cursor:zoom-in;background:0 0;border:0;border-radius:8px;padding:0;display:inline-flex}.photo-button:focus-visible{outline-offset:3px;outline:3px solid #0d735f38}.photo-lightbox{z-index:90;background:#061915c2;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0;overflow-y:auto}.photo-dialog{background:var(--surface);border-radius:16px;width:100%;max-width:1040px;padding:20px;box-shadow:0 30px 90px #00000059}.photo-full{object-fit:contain;background:#15211e;border-radius:10px;width:100%;max-height:calc(100vh - 210px);display:block}.filter-bar{background:var(--soft);border-radius:11px;grid-template-columns:repeat(3,minmax(160px,1fr));align-items:end;gap:12px;margin-bottom:18px;padding:13px;display:grid}.records-filter-bar{grid-template-columns:repeat(4,minmax(145px,1fr))}.records-panel,.records-table-wrap,.records-filter-bar>*,.teacher-report-card-content{min-width:0}.records-table{table-layout:fixed;width:100%;min-width:0}.records-table th,.records-table td{overflow-wrap:anywhere;padding:12px 8px}.records-table .record-actions{min-width:0}.records-table button{white-space:normal;max-width:100%}.records-table .inline-actions{justify-content:flex-start}.teacher-report-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:end;gap:12px;margin-bottom:20px;display:flex}.teacher-report-toolbar .filter-field{min-width:160px}.teacher-report-cards{gap:12px;display:grid}.teacher-report-panel .count-badge{white-space:nowrap;flex-shrink:0}.teacher-report-card{align-items:flex-start;margin-top:0}.teacher-report-card-content{overflow-wrap:anywhere;flex:1}.teacher-report-card .report-meta{flex-wrap:wrap}.teacher-report-card .lesson-actions{max-width:230px}.teacher-report-card .lesson-actions button{white-space:normal}.teacher-report-card .muted-note{line-height:1.7}.report-details-dialog{color:var(--ink);width:min(760px,100% - 28px);max-width:calc(100% - 28px);max-height:calc(100dvh - 32px);box-shadow:var(--shadow);background:#fff;border:0;border-radius:16px;margin:auto;padding:0;overflow:auto}.report-details-dialog::backdrop{background:#0a221d99}.report-details-head{z-index:1;border-bottom:1px solid var(--line);background:#fff;margin:0;padding:18px 20px;position:sticky;top:0}.report-details-head .icon-close{min-width:44px;min-height:44px}.report-details-body{overflow-wrap:anywhere;padding:18px 20px}.report-details-summary{background:var(--soft);border-radius:10px;margin-bottom:16px;padding:14px}.report-details-summary h3{margin:0 0 8px}.report-details-summary p{margin:6px 0;line-height:1.7}.report-detail-photo{object-fit:contain;background:var(--soft);border-radius:10px;width:100%;max-height:40vh;margin-bottom:16px}.report-details-body .report-fields{border:1px solid var(--line);border-radius:10px;overflow:hidden}.report-details-footer{border-top:1px solid var(--line);background:#fff;justify-content:flex-end;padding:12px 20px;display:flex}.record-actions{flex-direction:column;align-items:flex-start;gap:7px;min-width:150px;display:flex}.record-actions>small{color:#a42626;margin:0;font-size:10px;font-weight:700}.filter-field{flex-direction:column;gap:5px;display:flex}.filter-field>span{color:var(--muted);font-size:11px;font-weight:700}.filter-field select,.filter-field input{background:var(--surface);border:1px solid var(--line);color:var(--ink);font:inherit;border-radius:9px;min-height:42px;padding:8px 10px}.heading-filter{min-width:230px}.town-heading-tools{align-items:flex-end}.month-stepper{align-items:flex-end;gap:6px;display:flex}.month-stepper>button{background:var(--surface);border:1px solid var(--line);color:var(--ink);cursor:pointer;border-radius:9px;min-height:42px;padding:8px 11px;font-weight:700}.month-stepper>button:hover{border-color:var(--brand);color:var(--brand-dark)}.month-filter{min-width:150px}.summary-toolbar{border-bottom:1px solid var(--line);justify-content:space-between;align-items:end;gap:14px;margin:-4px 0 10px;padding:0 0 15px;display:flex}.report-list{gap:14px;display:grid}.report-entry{border:1px solid var(--line);border-radius:13px;overflow:hidden}.report-entry-head{background:var(--soft);justify-content:space-between;align-items:center;gap:16px;padding:15px 17px;display:flex}.report-entry-head h2{margin:7px 0 4px;font-size:17px}.report-entry-head p{color:var(--muted);margin:0;font-size:13px}.report-meta{color:var(--muted);align-items:center;gap:9px;font-size:12px;display:flex}.report-fields{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.report-photo-picker,.report-photo-gallery{border:1px solid var(--line);background:var(--soft);border-radius:12px;min-width:0;padding:16px}.report-photo-gallery{margin:16px 0}.board-post>.report-photo-gallery{margin:18px}.report-photo-heading{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px;display:flex}.report-photo-heading h3,.report-photo-heading strong{color:var(--brand-dark);margin:0;font-size:14px}.report-photo-heading span{color:var(--muted);font-size:12px}.report-photo-picker .field-note{margin:8px 0 12px}.report-photo-add{gap:8px;min-width:0;font-size:13px;display:grid}.report-photo-add input{background:#fff;width:100%;min-width:0;max-width:100%}.report-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px;display:grid}.report-photo-preview,.report-photo-open{border:1px solid var(--line);background:#fff;border-radius:9px;min-width:0;overflow:hidden}.report-photo-preview img,.report-photo-open img{aspect-ratio:4/3;object-fit:cover;width:100%;display:block}.report-photo-preview>div{justify-content:space-between;align-items:center;gap:4px;padding:2px 9px;display:flex}.report-photo-preview button{min-height:40px}.report-photo-open{color:var(--brand-dark);text-align:left;cursor:pointer;padding:0}.report-photo-open span{padding:8px 10px;font-size:12px;display:block}.report-photo-open:hover{border-color:var(--brand)}.report-photo-dialog{width:min(1000px,100% - 24px);max-width:calc(100% - 24px);max-height:calc(100dvh - 24px);color:var(--ink);box-shadow:var(--shadow);background:#fff;border:0;border-radius:14px;margin:auto;padding:16px}.report-photo-dialog::backdrop{background:#0a221dbf}.report-photo-dialog header{justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px;display:flex}.report-photo-dialog header strong{font-size:14px}.report-photo-dialog header small{color:var(--muted);font-weight:400}.report-photo-dialog .icon-close{min-width:44px;min-height:44px}.report-photo-dialog>img{object-fit:contain;width:100%;max-height:calc(100dvh - 130px);display:block}.report-value{border-right:1px solid var(--line);border-top:1px solid var(--line);min-height:112px;padding:15px 17px}.report-value:nth-child(2n){border-right:0}.report-value h3{color:var(--brand-dark);margin:0 0 8px;font-size:12px}.report-value p{white-space:pre-wrap;margin:0;line-height:1.75}.town-stack{gap:18px;display:grid}.live-lessons-panel{border-color:#e3a65e;box-shadow:0 8px 24px #b469171a}.live-lessons-panel .panel-head h2{align-items:center;gap:9px;display:flex}.live-dot{background:#e17528;border-radius:999px;width:10px;height:10px;display:inline-block;box-shadow:0 0 0 5px #e1752821}.live-count{color:#9a4f16;background:#fff1dc;border-radius:999px;padding:7px 11px;font-size:13px;font-weight:800}.live-empty{background:#fffaf4;border-radius:10px;margin:0;padding:18px}.empty-cell{color:var(--muted);text-align:center;padding:28px}.inline-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;display:flex}.sort-actions{gap:5px;display:flex}.rate-note{background:var(--soft);color:var(--muted);border-radius:9px;margin-bottom:14px;padding:10px 12px;font-size:13px}.toast{box-shadow:var(--shadow);z-index:100;border-radius:10px;max-width:calc(100% - 30px);padding:11px 16px;font-size:14px;position:fixed;top:82px;left:50%;transform:translate(-50%)}.toast.success{background:var(--brand-dark);color:#fff}.toast.error{color:#fff;background:#9e2f2f}.modal-backdrop{z-index:50;background:#0a221d6b;justify-content:center;align-items:flex-start;padding:34px 16px;display:flex;position:fixed;inset:0;overflow-y:auto}.modal{background:var(--surface);border-radius:16px;width:100%;max-width:760px;padding:22px;box-shadow:0 24px 70px #08231d3d}.schedule-modal{max-width:820px}.small-modal{max-width:520px}.modal-head{justify-content:space-between;align-items:flex-start;margin-bottom:16px;display:flex}.modal-head .eyebrow{margin-bottom:4px}.icon-close{color:var(--muted);cursor:pointer;background:0 0;border:0;padding:0 4px;font-size:28px;line-height:1}.modal-summary{background:var(--soft);color:var(--muted);border-radius:9px;margin:0 0 16px;padding:10px 12px}.segmented{background:var(--soft);border-radius:10px;grid-template-columns:1fr 1fr;margin-bottom:16px;padding:4px;display:grid}.segmented button{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:8px;padding:9px}.segmented button.active{background:var(--surface);color:var(--brand-dark);font-weight:700;box-shadow:0 2px 7px #153d3417}.view-switch{background:var(--soft);border-radius:10px;padding:4px;display:flex}.view-switch button{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:8px;padding:9px 14px}.view-switch button.active{background:var(--surface);color:var(--brand-dark);font-weight:700;box-shadow:0 2px 7px #153d3417}.page-tools{flex-wrap:wrap;justify-content:flex-end;align-items:flex-end;gap:9px;display:flex}.profile-picker{flex-direction:column;gap:4px;display:flex}.profile-picker span{color:var(--muted);font-size:11px;font-weight:700}.profile-picker select{background:var(--surface);border:1px solid var(--line);color:var(--ink);border-radius:9px;min-height:42px;padding:8px 10px}.readonly-slot{cursor:default}.readonly-slot:hover{background:0 0}.readonly-event{cursor:default}.readonly-event:hover{box-shadow:none}.personal-list .list-row small{color:var(--muted);margin-top:4px;font-size:12px;display:block}.empty-state{color:var(--muted);text-align:center;margin:20px 0}.settings-stack{gap:18px;display:grid}.calendar-integration-panel{border-color:#d7c4cc}.calendar-status{background:var(--soft);color:var(--muted);border-radius:999px;align-items:center;gap:7px;padding:7px 10px;font-size:12px;font-weight:700;display:inline-flex}.calendar-status i{background:#9aa6a2;border-radius:999px;width:8px;height:8px}.calendar-status.connected{color:#7f2149;background:#f7edf1}.calendar-status.connected i{background:#ad1457;box-shadow:0 0 0 4px #ad14571a}.calendar-integration-body{background:#fcf8fa;border-radius:11px;justify-content:space-between;align-items:center;gap:18px;padding:14px;display:flex}.calendar-integration-body strong,.calendar-integration-body small{display:block}.calendar-integration-body p{color:var(--muted);margin:5px 0;font-size:12px;line-height:1.6}.calendar-integration-body small{color:var(--muted);margin-top:4px;font-size:11px}.calendar-integration-body .calendar-sync-error{color:#a42626}.calendar-integration-actions{flex:none;gap:8px;display:flex}.school-mail-panel .calendar-integration-body>div:first-child{overflow-wrap:anywhere;min-width:0}.school-mail-panel .calendar-integration-body p{font-size:14px}.school-mail-panel .calendar-integration-body small{font-size:12px}.school-mail-panel .calendar-integration-actions{flex-direction:column;flex-shrink:1}.school-mail-panel .calendar-integration-actions button{white-space:normal}.count-badge{background:var(--brand-pale);color:var(--brand-dark);border-radius:999px;padding:5px 9px;font-size:12px;font-weight:700}.master-add{background:var(--soft);border-radius:11px;grid-template-columns:minmax(170px,.7fr) minmax(230px,1fr) minmax(180px,.7fr) auto;align-items:end;gap:10px;margin-bottom:14px;padding:13px;display:grid}.master-add.student-add{grid-template-columns:minmax(150px,.65fr) minmax(120px,.4fr) minmax(220px,1fr) auto}.master-add.student-add>button{grid-area:1/4/span 2}.master-add.town-add{grid-template-columns:minmax(260px,1fr) minmax(180px,.6fr) auto}.master-list{gap:8px;display:grid}.master-row{border-top:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;padding:12px 2px 4px;display:grid}.master-row:first-child{border-top:0}.master-fields{grid-template-columns:minmax(170px,.7fr) minmax(230px,1fr) minmax(180px,.7fr);gap:10px;display:grid}.master-fields.student-fields{grid-template-columns:minmax(150px,.65fr) minmax(120px,.4fr) minmax(220px,1fr)}.master-fields.town-fields{grid-template-columns:minmax(260px,1fr) minmax(180px,.6fr)}.auth-setup-note{color:#7b5b17;background:#fff7e8;border:1px solid #efd9a9;border-radius:12px;flex-wrap:wrap;align-items:center;gap:5px 14px;padding:13px 16px;display:flex}.auth-setup-note.ready{color:var(--brand-dark);background:#edf8f4;border-color:#b7d7cd}.auth-setup-note span{font-size:12px}.settings-actions{justify-content:flex-end;margin-top:14px;display:flex}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.report-editor-fields{border:0;min-width:0;margin:0;padding:0}.record-subject-editor{border:1px solid var(--line);background:var(--soft);border-radius:12px;padding:14px}.record-subject-row{align-items:flex-end;gap:8px;min-width:0;display:flex}.record-subject-row>.field{flex:1;min-width:0}.record-subject-row+.record-subject-row{margin-top:10px}.record-subject-row>button{min-height:42px}.record-subject-footer{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-top:12px;font-size:13px;display:flex}.record-retained-photo{object-fit:cover;border-radius:8px;width:128px;max-width:100%;height:88px;display:block}.form-error{color:#a42626}.report-entry-actions{border-top:1px solid var(--line);justify-content:flex-end;padding:12px 16px;display:flex}.field{flex-direction:column;gap:6px;display:flex}.field.wide{grid-column:1/-1}.field>span{color:var(--muted);font-size:12px;font-weight:700}.field>small{color:var(--muted);font-size:11px;line-height:1.5}.field input,.field select,.field textarea{background:var(--surface);border:1px solid var(--line);color:var(--ink);font:inherit;border-radius:9px;width:100%;min-height:42px;padding:9px 10px}.field textarea{resize:vertical}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--brand);outline:3px solid #0d735f1f}.field-note{color:var(--muted);margin-top:8px;font-size:12px;line-height:1.6}.repeat-month-picker{align-items:center;gap:8px;display:flex}.repeat-month-picker input{flex:220px}.repeat-month-picker button{flex:none;min-height:42px}.selected-months{flex-wrap:wrap;gap:7px;display:flex}.selected-month{background:var(--brand-pale);color:var(--brand-dark);cursor:pointer;border:1px solid #a9d1c7;border-radius:999px;align-items:center;gap:7px;padding:7px 10px;font-size:12px;font-weight:700;display:inline-flex}.selected-month:hover{border-color:var(--brand)}.selected-month span{font-size:16px;line-height:1}.choice-row{flex-wrap:wrap;gap:8px;display:flex}.check{background:var(--soft);cursor:pointer;border-radius:8px;align-items:center;gap:6px;padding:8px 10px;font-size:13px;display:flex}.check input{accent-color:var(--brand)}.validation{background:var(--soft);color:var(--muted);border-radius:9px;margin-top:14px;padding:10px 12px;font-size:13px}.form-grid>.validation.wide{grid-column:1/-1;margin-top:0}.validation.good{background:var(--brand-pale);color:var(--brand-dark)}.validation.bad{color:#9d3030;background:#fff0ef}.field-note.danger-note{color:#9d3030;background:#fff0ef;border-radius:9px;padding:10px 12px}.modal-actions{justify-content:flex-end;align-items:center;gap:8px;margin-top:18px;display:flex}@media (max-width:820px){.records-panel .records-filter-bar{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.records-filter-bar select{width:100%;min-width:0;font-size:13px}.records-table colgroup{display:none}.records-table thead{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.records-table,.records-table tbody{width:100%;display:block}.records-table tbody{gap:14px;display:grid}.records-table tr{border:1px solid var(--line);border-radius:12px;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"date teacher""subjects subjects""photo status""report controls";gap:12px;padding:14px;display:grid}.records-table td{border:0;min-width:0;padding:0;display:block}.records-table td[data-label]:before{content:attr(data-label);color:var(--muted);margin-bottom:5px;font-size:11px;font-weight:700;display:block}.records-table .record-date{grid-area:date}.records-table .record-teacher{grid-area:teacher}.records-table .record-subjects{grid-area:subjects}.records-table .record-photo{grid-area:photo}.records-table .record-status{grid-area:status}.records-table .record-report{border-top:1px solid var(--line);grid-area:report;padding-top:10px}.records-table .record-controls{border-top:1px solid var(--line);grid-area:controls;padding-top:10px}.records-table .record-actions,.records-table .inline-actions{flex-direction:column;align-items:stretch;width:100%}.records-table button{min-height:44px}.records-table .record-controls button,.records-table .record-report button{width:100%}.records-table tr.records-empty-row{display:block}.topbar{grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding:10px 14px 0}.account-actions{grid-column:2}.role-nav{border-top:1px solid var(--line);scrollbar-width:thin;grid-column:1/-1;gap:6px;margin:0 -14px;padding:8px 14px 10px;display:flex;overflow-x:auto}.role-nav button{white-space:nowrap;flex:none;min-height:42px}.app-body{grid-template-columns:1fr}.sidebar{border-bottom:1px solid var(--line);scrollbar-width:thin;z-index:30;border-right:0;align-items:center;gap:6px;min-height:0;padding:10px 14px;display:flex;position:sticky;top:0;overflow-x:auto}.side-label{display:none}.sidebar button{white-space:nowrap;flex:none;width:auto;min-height:42px;margin:0;padding:10px 14px}.workspace{padding:20px 14px 36px}.page-heading{flex-direction:column;align-items:stretch;gap:16px}.primary-action{align-self:flex-start}.calendar-toolbar{flex-direction:column;align-items:flex-start;gap:10px}.standalone-view{padding:20px 14px 36px}.teacher-grid,.today-overview-grid{grid-template-columns:1fr}.page-heading{align-items:stretch}.page-tools{justify-content:flex-start;align-items:stretch}.filter-bar{grid-template-columns:1fr}.heading-filter{width:100%;min-width:0}.town-heading-tools,.month-stepper{align-items:stretch;width:100%}.month-stepper{flex-wrap:wrap}.month-filter{flex:170px;min-width:0}.summary-toolbar{flex-direction:column;align-items:stretch}.schedule-filter-row{grid-template-columns:repeat(2,minmax(0,1fr))}.bulk-schedule-bar{grid-template-columns:1fr}.bulk-schedule-bar .selected-months{grid-column:auto}.bulk-schedule-actions{justify-content:flex-start}.student-color-legend{grid-column:1/-1;justify-content:flex-start}.export-student-grid{grid-template-columns:1fr}.homework-subject-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.table-scroll,.calendar-scroll{overscroll-behavior-x:contain}}@media (max-width:640px){.calendar-scroll{width:100%;overflow-x:hidden}.calendar{--calendar-event-gap:2px;--calendar-event-inset:1px;grid-template-columns:34px repeat(var(--calendar-days,7), minmax(0, 1fr));width:100%;min-width:0}.day-head{min-width:0}.day-head span{font-size:10px}.day-head strong{letter-spacing:-.04em;font-size:9px}.time-column span{padding-right:2px;font-size:9px}.lesson-event{border-left-width:2px;border-radius:5px;padding:3px 2px}.lesson-event strong{font-size:9px}.lesson-event span{margin-top:2px;font-size:8px}.month-calendar{width:100%;min-width:0}.month-week-heads,.month-grid{grid-template-columns:repeat(7,minmax(0,1fr))}.month-week-heads div{min-width:0;padding:7px 0;font-size:10px}.month-cell{min-width:0;min-height:96px;padding:3px 2px}.month-date-row{margin-bottom:3px}.month-date-row>span,.month-date-button{width:20px;height:20px;font-size:10px}.month-date-row small{display:none}.month-events{gap:3px}.month-event{border-left-width:2px;border-radius:5px;padding:3px 2px}.month-event strong{font-size:8px}.month-event span,.month-event small{margin-top:1px;font-size:7px}.month-more{padding-left:1px;font-size:8px}}@media (max-width:520px){.teacher-report-toolbar{flex-direction:column;align-items:stretch}.teacher-report-toolbar>*{width:100%;min-width:0}.teacher-report-card .lesson-actions{width:100%;max-width:none}.teacher-report-card .lesson-actions button{width:100%;min-height:44px}.report-details-body,.report-details-head{padding:12px}.account{display:none}.topbar{grid-template-columns:1fr auto}.account-actions{grid-column:2}.page-heading h1{font-size:24px}.status-row{grid-template-columns:1fr}.calendar-toolbar p{display:none}.week-nav{flex-wrap:wrap}.form-grid{grid-template-columns:1fr}.field.wide{grid-column:auto}.lesson-card{flex-direction:column;align-items:stretch}.lesson-actions{align-items:stretch;min-width:0}.list-row-actions{flex:none;align-items:flex-end}.modal{padding:18px}.login-card,.policy-card{padding:28px 22px}.master-add,.master-add.student-add,.master-add.town-add,.master-row,.master-fields,.master-fields.student-fields,.master-fields.town-fields{grid-template-columns:1fr}.master-add.student-add>button{grid-area:auto}.master-row .inline-actions{flex-wrap:wrap}.photo-lightbox{padding:10px}.photo-dialog{padding:15px}.photo-full{max-height:calc(100vh - 190px)}.report-entry-head{flex-wrap:wrap;align-items:flex-start}.report-fields{grid-template-columns:1fr}.report-value,.report-value:nth-child(2n){border-right:0}.content-panel{padding:15px}.page-tools>*,.profile-picker,.profile-picker select{width:100%}.view-switch button{flex:1}.week-nav strong{flex-basis:100%;margin:2px 0 0}.schedule-filter-row{grid-template-columns:1fr}.schedule-list-toolbar{flex-direction:column;align-items:stretch}.schedule-list-toolbar>span{margin-left:0;padding:0}.bulk-schedule-actions{flex-direction:column}.bulk-schedule-actions button{width:100%}.student-color-legend{grid-column:auto}.export-toolbar{flex-direction:column;align-items:stretch}.export-toolbar>span{margin-left:0;padding:0}.export-student{flex-direction:column;align-items:stretch}.homework-subject-grid{grid-template-columns:1fr}.repeat-month-picker{flex-direction:column;align-items:stretch}.repeat-month-picker button{width:100%}.calendar-integration-body,.calendar-integration-actions{flex-direction:column;align-items:stretch}.calendar-integration-actions button{width:100%}}.teacher-workspace .standalone-view{max-width:none;padding:0}.teacher-board{max-width:1040px;margin:0 auto}.board-heading-actions{flex-wrap:wrap;flex:none;justify-content:flex-end;align-items:center;gap:8px;display:flex}.board-filter-toggle{border:1px solid var(--line);min-height:44px;color:var(--ink);font:inherit;cursor:pointer;white-space:nowrap;background:#fff;border-radius:9px;justify-content:center;align-items:center;gap:6px;padding:8px 12px;font-size:.875rem;display:inline-flex}.board-filter-toggle.active{border-color:var(--brand);color:var(--brand-dark);background:var(--brand-pale)}.board-filter-toggle>span{background:var(--brand);color:#fff;border-radius:10px;place-items:center;min-width:20px;height:20px;font-size:.8125rem;display:grid}.board-filters{border:1px solid var(--line);background:var(--surface);border-radius:12px;min-width:0;margin-bottom:18px;padding:14px}.board-filter-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.board-filter-field{gap:6px;min-width:0;display:grid}.board-filter-field>span{color:var(--muted);font-size:.875rem;font-weight:550}.board-filter-field select,.board-filter-field input{border:1px solid var(--line);width:100%;min-width:0;max-width:100%;min-height:44px;color:var(--ink);font:inherit;background-color:#fff;border-radius:8px;padding:8px 10px;font-size:1rem;display:block}.board-filter-field select{-webkit-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%2369788b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:right 9px center;background-repeat:no-repeat;background-size:16px;padding-right:30px}.board-filter-footer,.board-filter-summary{min-width:0;color:var(--muted);justify-content:space-between;align-items:center;gap:10px;font-size:.875rem;line-height:1.5;display:flex}.board-filter-footer{margin-top:10px}.board-filter-summary{margin:-4px 0 14px;padding:0 2px}.board-filter-summary>span{overflow-wrap:anywhere;min-width:0}.board-filter-footer .text-button,.board-filter-summary .text-button{flex:none;min-height:44px;font-size:.875rem}@media (max-width:640px){.board-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px}.board-filters{padding:12px}.board-heading-actions{gap:6px}.board-filter-footer{align-items:flex-start}}@media (max-width:340px){.board-filter-grid{grid-template-columns:minmax(0,1fr)}}.board-feed{gap:28px;display:grid}.board-post{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:16px;min-width:0;overflow:hidden}.board-post-header{justify-content:space-between;align-items:center;gap:16px;padding:24px 26px 18px;display:flex}.board-author{align-items:center;gap:12px;min-width:0;display:flex}.teacher-avatar{object-fit:cover;border:1px solid var(--line);background:#fff;border-radius:50%;flex:0 0 46px;width:46px;height:46px}.teacher-identity{vertical-align:middle;align-items:center;gap:8px;max-width:100%;display:inline-flex}.teacher-identity .teacher-avatar{flex-basis:28px;width:28px;height:28px}.teacher-identity>span{overflow-wrap:anywhere}.page-heading h1 .teacher-identity .teacher-avatar{flex-basis:38px;width:38px;height:38px}.personal-list .list-row .teacher-identity{display:inline-flex}.board-author h2{overflow-wrap:anywhere;margin:0 0 4px;font-size:18px}.board-author small{color:var(--muted);font-size:12px}.board-lesson-date{text-align:right;flex-shrink:0;gap:4px;font-size:14px;display:grid}.board-lesson-date span{color:var(--brand-dark);font-size:16px}.board-lesson-summary{grid-template-columns:minmax(0,1fr) 168px;align-items:center;gap:22px;padding:0 26px 24px;display:grid}.board-subjects{flex-wrap:wrap;gap:6px;display:flex}.board-subjects span{background:var(--brand-pale);color:var(--brand-dark);border-radius:6px;padding:5px 11px;font-size:14px;font-weight:700}.board-students{overflow-wrap:anywhere;margin:12px 0 4px;font-size:16px;font-weight:700;line-height:1.7}.board-lesson-summary small{color:var(--muted);font-size:13px}.board-photo-button{background:var(--soft);border:1px solid var(--line);cursor:zoom-in;color:var(--brand-dark);border-radius:10px;padding:0;overflow:hidden}.board-photo-button img{object-fit:cover;width:100%;height:106px;display:block}.board-photo-button span{padding:5px;font-size:12px;display:block}.board-report-values{border-top:1px solid var(--line);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.board-report-values section{border-bottom:1px solid var(--line);min-width:0;padding:22px 26px}.board-report-values section:nth-child(odd){border-right:1px solid var(--line)}.board-report-values h3{color:var(--brand-dark);margin:0 0 12px;font-size:14px}.board-report-values p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:16px;line-height:1.85}.board-reaction-bar{flex-wrap:wrap;align-items:center;gap:7px;padding:16px 26px;display:flex}.board-reaction{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:22px;justify-content:center;align-items:center;gap:6px;min-width:44px;min-height:42px;padding:5px 10px;display:inline-flex}.board-reaction>span{font-size:22px}.board-reaction small{color:var(--ink);font-size:14px}.board-reaction.selected{background:var(--brand-pale);border-color:var(--brand)}.board-comment-link{color:var(--brand-dark);cursor:pointer;background:0 0;border:0;min-height:44px;margin-left:auto;font-size:14px}.board-comments{border-top:1px solid var(--line);background:#f9fbfa;padding:20px 26px 24px}.board-comment-form{gap:8px;display:grid}.board-comment-form>label{font-size:14px;font-weight:700}.board-comment-form textarea{resize:vertical;border:1px solid var(--line);width:100%;min-height:76px;font:inherit;color:var(--ink);background:#fff;border-radius:9px;padding:12px;font-size:16px;line-height:1.6}.board-comment-form>div{justify-content:space-between;align-items:center;gap:10px;display:flex}.board-comment-form small{color:var(--muted);font-size:12px}.board-comment-form button{min-height:42px}.board-comment-list{gap:20px;margin:24px 0 12px;padding:0;list-style:none;display:grid}.board-comment-list li{align-items:flex-start;gap:10px;min-width:0;display:flex}.board-comment-list .teacher-avatar{flex-basis:36px;width:36px;height:36px}.board-comment-content{flex:1;min-width:0}.board-comment-head{flex-wrap:wrap;align-items:baseline;gap:8px;font-size:14px;display:flex}.board-comment-head time{color:var(--muted);font-size:12px}.board-comment-content p{white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0 0;font-size:16px;line-height:1.75}.text-action{font:inherit;color:var(--brand-dark);cursor:pointer;text-underline-offset:3px;background:0 0;border:0;padding:5px 0;font-size:14px;text-decoration:underline}.board-comment-head .text-action{margin-left:auto;font-size:12px}.board-error{color:#9d3030;font-size:14px;line-height:1.6}.board-message{background:#fff0ef;border-radius:10px;padding:14px}.board-empty p{color:var(--muted);line-height:1.8}.board-load-more{text-align:center;margin-top:26px}.board-photo-dialog{width:calc(100% - 32px);max-width:1000px;max-height:92dvh;color:var(--ink);border:0;border-radius:15px;margin:auto;padding:0;position:fixed;inset:0}.board-photo-dialog::backdrop{background:#0a1815cc}.board-photo-inner{padding:22px}.board-photo-inner header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.board-photo-inner h2{margin:0;font-size:20px}.board-photo-inner p{color:var(--muted);font-size:14px}.board-photo-inner>img{object-fit:contain;max-width:100%;max-height:70dvh;margin:0 auto;display:block}.teacher-avatar-editor{border-bottom:1px solid var(--line);grid-column:1/-1;align-items:center;gap:14px;padding-bottom:12px;display:flex}.teacher-avatar-editor .teacher-avatar{flex-basis:60px;width:60px;height:60px}.teacher-avatar-editor small{color:var(--muted);margin-top:6px;font-size:12px;display:block}.avatar-file-label{color:var(--brand-dark);border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:8px;padding:9px 12px;font-size:14px;display:inline-block;position:relative;overflow:hidden}.avatar-file-label input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.avatar-file-label:focus-within{outline:2px solid var(--brand);outline-offset:2px}.avatar-feedback{color:var(--brand-dark);margin:6px 0 0;font-size:13px}.teacher-board button:disabled,.teacher-avatar-editor button:disabled{opacity:.55;cursor:not-allowed}@media (max-width:640px){.teacher-workspace>.sidebar{overflow-x:hidden}.teacher-workspace>.sidebar button{text-align:center;flex:1}.board-feed{gap:20px}.board-post-header{align-items:flex-start;gap:8px;padding:18px 16px 14px}.board-author{gap:8px}.board-author .teacher-avatar{flex-basis:38px;width:38px;height:38px}.board-author h2{font-size:16px}.board-lesson-date{font-size:12px}.board-lesson-date span{font-size:14px}.board-lesson-summary{grid-template-columns:minmax(0,1fr) 112px;gap:12px;padding:0 16px 18px}.board-photo-button img{height:82px}.board-report-values{grid-template-columns:1fr}.board-report-values section{padding:18px 16px}.board-report-values section:nth-child(odd){border-right:0}.board-reaction-bar{gap:5px;padding:12px 16px}.board-reaction{min-width:40px;padding:5px 8px}.board-comment-link{margin-left:0}.board-comments{padding:18px 16px}.board-photo-inner{padding:16px}}body{-webkit-font-smoothing:antialiased;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Hiragino Sans,Yu Gothic UI,Meiryo,sans-serif}.sr-only{clip:rect(0, 0, 0, 0)!important;white-space:nowrap!important;border:0!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;position:absolute!important;overflow:hidden!important}button,input,select,textarea{font:inherit}:is(button:focus-visible,a:focus-visible,summary:focus-visible){outline-offset:3px;outline:3px solid #9bbce0}.navy-app .topbar{z-index:35;border-bottom:1px solid var(--line);background:#fffffff7;flex-wrap:nowrap;justify-content:space-between;align-items:center;gap:12px;min-height:58px;padding:0 24px;display:flex;position:sticky;top:0}.header-left,.header-right{flex-wrap:nowrap;align-items:center;gap:10px;min-width:0;display:flex}.header-left{flex-shrink:0}.header-right{margin-left:auto}.brand-home{cursor:pointer;background:#fff;border:1px solid #e6eaf0;border-radius:9px;flex:none;justify-content:center;align-items:center;width:36px;height:36px;padding:3px;display:inline-flex}.brand-home img{object-fit:contain;width:100%;height:100%;display:block}.compact-role-picker,.compact-mode-picker{white-space:nowrap;flex:none;align-items:center;min-width:0;display:inline-flex}.compact-role-picker select,.compact-mode-picker select{color:var(--ink);font:inherit;white-space:nowrap;word-break:keep-all;overflow-wrap:normal;cursor:pointer;background:0 0;border:0;border-radius:7px;max-width:96px;min-height:36px;padding:5px 3px;font-size:12px;font-weight:600;line-height:1.3}.compact-mode-picker{border:1px solid var(--line);background:var(--soft);border-radius:8px;padding:0 4px}.compact-mode-picker select{max-width:94px;min-height:30px;font-size:11px;font-weight:500}.account-identity{white-space:nowrap;align-items:center;min-width:0;font-size:12px;display:inline-flex}.account-identity .teacher-identity{white-space:nowrap;gap:7px}.account-identity .teacher-identity>span{white-space:nowrap;word-break:keep-all;overflow-wrap:normal;font-weight:550;line-height:1.3}.account-identity .teacher-avatar{flex-basis:27px;width:27px;height:27px}.header-help{color:#5b6c82;cursor:pointer;background:0 0;border:0;border-radius:8px;flex:none;justify-content:center;align-items:center;min-width:30px;height:34px;padding:0 5px;font-size:18px;display:inline-flex}.header-help:hover{background:var(--soft)}.account-menu{flex:none;position:relative}.account-menu>summary{cursor:pointer;white-space:nowrap;align-items:center;gap:5px;min-height:36px;padding:0 2px;list-style:none;display:inline-flex}.account-menu>summary::-webkit-details-marker{display:none}.account-menu>div,.account-menu>nav{border:1px solid var(--line);z-index:60;background:#fff;border-radius:10px;min-width:144px;padding:7px;position:absolute;top:calc(100% + 7px);right:0;box-shadow:0 10px 30px #122a471f}.account-menu a{color:var(--ink);white-space:nowrap;border-radius:6px;padding:10px;font-size:12px;text-decoration:none;display:block}.account-menu a:hover{background:var(--soft)}.navy-app .app-body{grid-template-columns:190px minmax(0,1fr);max-width:1500px;margin:0 auto}.navy-app .sidebar{background:0 0;min-height:calc(100dvh - 58px);padding:24px 14px}.navy-app .side-label{color:#8b96a5;margin:0 12px 12px;font-size:10px}.navy-app .sidebar button{border-radius:8px;min-height:40px;padding:9px 12px;font-size:13px}.navy-app .sidebar button.active{color:var(--brand-dark);background:#e9eef5;font-weight:600}.compact-page-picker{display:none}.navy-app .workspace,.navy-app .standalone-view{padding:24px 30px 44px}.navy-app .page-heading{align-items:center;gap:12px;margin-bottom:15px}.navy-app .page-heading h1{letter-spacing:-.025em;font-size:21px;font-weight:600}.navy-app .page-heading .eyebrow{letter-spacing:.06em;margin-bottom:4px;font-size:10px}.navy-app .page-heading p:not(.eyebrow){font-size:12px;line-height:1.6}.primary-action,.secondary-action,.danger-action{border-radius:8px;justify-content:center;align-items:center;gap:6px;min-height:39px;padding:8px 13px;font-size:13px;font-weight:550;line-height:1.4;display:inline-flex}.primary-action{background:var(--brand)}.secondary-action{background:var(--surface)}.primary-action.compact,.secondary-action.compact,.danger-action.compact{min-height:34px;padding:6px 10px;font-size:12px}button:disabled{cursor:not-allowed}.panel-head h2,.modal-head h2{font-size:17px;font-weight:600}.panel-head{gap:10px;margin-bottom:12px}.panel-head p{font-size:12px;line-height:1.6}.content-panel{box-shadow:none;border-radius:12px;padding:18px}.content-panel,.calendar-panel,.teacher-board{min-width:0}.calendar-panel{box-shadow:none;border-color:#dce3ed;border-radius:11px}.calendar-heading{justify-content:flex-end;align-items:center;gap:12px;max-width:1280px;margin:0 auto 12px;display:flex}.calendar-heading h1,.calendar-heading h2{letter-spacing:-.03em;margin:0;font-size:21px;font-weight:600}.calendar-heading .teacher-identity{font-size:13px}.calendar-controls{justify-content:flex-end;align-items:center;gap:6px;min-width:0;display:flex}.view-picker{align-items:center;width:auto;min-width:0;margin:0;display:inline-flex}.view-picker select{border:1px solid var(--line);width:auto;min-width:56px;max-width:92px;min-height:34px;color:var(--ink);font:inherit;cursor:pointer;background:#fff;border-radius:8px;padding:5px 7px;font-size:12px;line-height:1.3}.calendar-toolbar{gap:10px;min-height:48px;padding:8px 12px}.calendar-toolbar p{font-size:11px}.week-nav{gap:5px;min-width:0}.week-nav button{white-space:nowrap;background:0 0;border-color:#0000;border-radius:7px;min-height:32px;padding:0 8px;font-size:12px}.week-nav button:hover{background:var(--soft)}.week-nav strong{white-space:nowrap;margin-left:7px;font-size:15px;font-weight:600}.calendar-after{gap:18px;max-width:1280px;margin:20px auto 0;display:grid}.calendar-after .today-overview-grid,.calendar-after .special-request-panel{margin:0}.calendar-after .content-panel{border-radius:11px}.schedule-actions,.teacher-operation-list{border:1px solid var(--line);background:#fff;border-radius:11px;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;max-width:1280px;margin:0 auto;display:grid;overflow:hidden}.schedule-actions button,.teacher-operation-list button{border:0;border-right:1px solid var(--line);min-width:0;min-height:54px;color:var(--ink);text-align:left;white-space:nowrap;background:#fff;border-radius:0;justify-content:flex-start;align-items:center;gap:9px;margin:0;padding:12px 15px;font-size:13px;font-weight:550;display:flex}.schedule-actions button:last-child,.teacher-operation-list button:last-child{border-right:0}.schedule-actions button:hover,.teacher-operation-list button:hover{background:#f6f8fb}.schedule-actions button svg,.teacher-operation-list button svg{color:#61758f;flex-shrink:0;width:18px;height:18px}.teacher-profile-controls{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-top:17px;margin-bottom:13px;display:flex}.teacher-profile-controls .profile-picker{flex-direction:row;align-items:center;gap:9px}.teacher-profile-controls .profile-picker select{background:0 0;border:0;width:auto;max-width:210px;min-height:35px;padding:6px 8px;font-size:12px}.teacher-profile-controls .profile-picker span{font-size:11px;font-weight:500}.readonly-banner{color:#617895;align-items:center;gap:7px;margin:0 0 12px;padding:7px 0;font-size:12px;display:flex}.schedule-filter-toggle{border:1px solid var(--line);min-height:34px;color:var(--ink);white-space:nowrap;cursor:pointer;background:#fff;border-radius:8px;justify-content:center;align-items:center;gap:5px;padding:6px 10px;font-size:12px;display:inline-flex}.schedule-filter-row{box-shadow:none;border-radius:10px;gap:10px;padding:11px 12px}.student-color-legend{gap:6px 10px;min-height:30px}.student-color-legend>span{font-size:10px}.student-color-legend i{border-width:1px;width:7px;height:7px}.student-color-legend small{font-size:10px}.month-calendar{width:100%;min-width:0}.month-week-heads,.month-grid{grid-template-columns:repeat(7,minmax(0,1fr))}.month-week-heads div{background:#fafbfd;min-width:0;padding:8px 2px;font-size:11px;font-weight:500}.month-week-heads div:first-child{color:#a07982}.month-week-heads div:last-child{color:#7087a2}.month-cell{border-color:#e8ecf2;min-width:0;min-height:102px;padding:6px 5px 8px}.month-cell.outside{color:#aeb8c5;background:#fbfcfe}.month-cell.today{box-shadow:none;background:#fff}.month-date-row{justify-content:flex-end;gap:4px;margin-bottom:4px}.month-date-row>span,.month-date-button{width:24px;height:24px;font-size:12px;font-weight:500}.month-cell.today .month-date-row>span,.month-cell.today .month-date-button{color:#fff;background:var(--brand);border-radius:50%}.month-date-row small{color:#8d99a8;order:-1;margin-right:auto;font-size:10px}.month-events{flex-direction:column;align-items:stretch;gap:4px;display:flex}.month-event{width:100%;min-width:0;min-height:62px;box-shadow:none;border-width:0 0 0 3px;border-radius:4px;flex:none;padding:5px 5px 4px}.month-event:hover,button.month-event:hover{box-shadow:none;filter:brightness(.97)}.month-event.student-colored{box-shadow:none}.month-event time,.month-event .month-event-subject,.month-event .month-event-teacher{white-space:nowrap;text-overflow:ellipsis;font-size:12px;line-height:1.25;display:block;overflow:hidden}.month-event time{color:var(--ink);font-variant-numeric:tabular-nums;letter-spacing:-.02em;font-weight:600}.month-event .month-event-subject{color:var(--ink);margin-top:2px;font-weight:400}.month-event .month-event-teacher{color:#5f7188;margin-top:2px}.month-event strong{font-size:12px;font-weight:600}.month-event span{color:inherit;font-size:inherit;margin-top:0}.month-event .teacher-full,.month-event .teacher-short{font-size:inherit;line-height:inherit;color:inherit;white-space:nowrap}.month-event .teacher-full{display:inline}.month-event .teacher-short{display:none}.month-cell.dense{padding-left:4px;padding-right:4px}.month-cell.dense .month-events{gap:3px}.month-cell.dense .month-event{min-height:52px;padding-top:3px;padding-bottom:3px}.month-cell.dense .month-event-subject{margin-top:0}.month-cell.dense .month-event-teacher{margin-top:1px}.month-cell.dense .teacher-full{display:none}.month-cell.dense .teacher-short{display:inline}.lesson-event{box-shadow:none;border-width:0 0 0 3px;border-radius:5px;padding:4px}.lesson-event:hover{box-shadow:none;filter:brightness(.97)}.lesson-event strong,.lesson-event time,.lesson-event span{margin-top:1px;font-size:12px;line-height:1.2}.lesson-event time{font-variant-numeric:tabular-nums;font-weight:600}.lesson-event .event-time,.lesson-event .event-subject,.lesson-event .event-teacher{text-overflow:ellipsis;white-space:nowrap;font-size:12px;display:block;overflow:hidden}.lesson-event .teacher-full,.lesson-event .teacher-short{color:inherit;font-size:inherit;line-height:inherit;white-space:nowrap;margin:0}.lesson-event .teacher-full{display:inline}.lesson-event .teacher-short{display:none}.count-badge{border-radius:6px;padding:4px 7px;font-size:11px;font-weight:550}.status-row{gap:8px}.status-row div{border-radius:9px;padding:9px 12px}.status-row span{font-size:12px}.status-row strong{font-size:17px;font-weight:550}.view-switch{background:0 0;border-radius:0;gap:16px;padding:0}.view-switch button{border-bottom:2px solid #0000;border-radius:0;padding:8px 0 10px;font-size:12px}.view-switch button.active{box-shadow:none;border-bottom-color:var(--brand);background:0 0;font-weight:600}.lesson-card{border-radius:10px;gap:14px;padding:14px}.lesson-card h3{font-size:16px;font-weight:600}.lesson-card p{font-size:12px;line-height:1.6}.lesson-actions{gap:6px;min-width:0}.lesson-actions>button{width:auto}.previous-homework,.homework-subject-grid article,.report-details-summary,.record-subject-editor{background:#f5f7fb}.previous-homework{border-color:#e2e8f0}.personal-list .list-row{padding:12px 14px}.board-post{box-shadow:none;border-radius:12px}.board-feed{gap:20px}.board-comments{background:#fafbfd}.board-post-header{padding:19px 21px 14px}.board-author h2{font-size:16px}.board-lesson-date{font-size:12px}.board-lesson-date span{font-size:14px}.board-lesson-summary{gap:18px;padding:0 21px 18px}.board-students{font-size:14px}.board-subjects span{padding:4px 8px;font-size:12px;font-weight:550}.board-report-values section{padding:18px 21px}.board-report-values h3{margin-bottom:8px;font-size:12px;font-weight:550}.board-report-values p{font-size:14px;line-height:1.85}.board-reaction-bar{padding:12px 21px}.board-report-values.course-report{grid-template-columns:1fr}.board-report-values.course-report section:nth-child(odd){border-right:0}.lesson-mode-badge{color:#79628f;white-space:nowrap;background:#f0edf7;border-radius:5px;align-items:center;padding:3px 6px;font-size:10px;font-weight:550;line-height:1.4;display:inline-flex}.photo-lightbox{background:#0a182bbf}.photo-full{background:#13233a}.modal-backdrop{background:#0c1e346b}.modal{box-shadow:0 20px 70px #0d223b38}.report-details-dialog::backdrop{background:#0a182ba8}.board-photo-dialog::backdrop{background:#0a182ba8}.field input:focus,.field select:focus,.field textarea:focus{outline-color:#2e5c912e}.email-login-form input:focus{box-shadow:0 0 0 3px #2e5c911f}.auth-setup-note.ready{background:#edf2f8;border-color:#cddaea}.today-planned-panel{border-color:#d5dfed}.schedule-list-table tr.selected-row td,.bulk-schedule-bar{background:#f0f4fa}.bulk-schedule-bar{border-color:#cbd9eb}.selected-month{border-color:#ccd8e8}.login-shell{background:linear-gradient(145deg,#f8f9fc 0%,#eef2f8 65%,#f9fafc 100%)}.login-card{box-shadow:0 20px 60px #122a4717}.login-method-switch button.active,.segmented button.active{box-shadow:0 2px 7px #122a4712}.request-calendar-picker{border:1px solid var(--line);background:#fff;border-radius:10px;grid-column:1/-1;min-width:0;padding:12px}.request-calendar-picker .calendar-toolbar,.request-calendar-picker .week-nav{border:0;margin-bottom:8px;padding:0}.request-calendar-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;display:grid}.request-calendar-grid>span{color:#8593a5;text-align:center;padding:4px 0;font-size:10px}.request-calendar-day{color:var(--ink);background:var(--soft);cursor:pointer;border:0;border-radius:7px;min-width:0;min-height:37px;padding:4px 2px;font-size:12px;position:relative}.request-calendar-day.selected,.request-calendar-day[aria-pressed=true]{background:var(--brand);color:#fff}.request-calendar-day small{opacity:.7;font-size:9px;line-height:1.1;display:block}.request-calendar-day.outside{color:#aeb8c7;background:0 0}.request-calendar-lessons{border-top:1px solid var(--line);color:var(--muted);gap:5px;margin-top:9px;padding-top:9px;font-size:11px;line-height:1.5;display:grid}.request-calendar-lessons strong{color:var(--ink);font-weight:550}.lesson-detail-dialog,.help-dialog{color:var(--ink);background:#fff;border:0;border-radius:15px;width:min(700px,100% - 28px);max-width:calc(100% - 28px);max-height:calc(100dvh - 32px);margin:auto;padding:0;overflow:auto;box-shadow:0 20px 70px #0d223b33}.lesson-detail-dialog::backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0c1e346b}.help-dialog::backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0c1e346b}.lesson-detail-dialog .modal-head,.help-dialog-head{border-bottom:1px solid var(--line);z-index:2;background:#fff;justify-content:space-between;align-items:center;gap:12px;margin:0;padding:15px 19px;display:flex;position:sticky;top:0}.lesson-detail-dialog .modal-head h2,.help-dialog-head h2{margin:0;font-size:16px;font-weight:600}.help-dialog-head .icon-close,.lesson-detail-dialog .icon-close{border-radius:8px;width:34px;min-width:34px;min-height:34px}.lesson-detail-fields{gap:14px;padding:18px 20px;font-size:13px;line-height:1.7;display:grid}.lesson-detail-fields>div{min-width:0}.lesson-detail-fields dt{color:var(--muted);font-size:11px}.lesson-detail-fields dd{margin:5px 0 0}.lesson-detail-fields dl{margin:0}.lesson-detail-actions{border-top:1px solid var(--line);flex-wrap:wrap;gap:7px;padding:12px 20px;display:flex}.help-dialog-body{padding:18px 20px 22px}.help-categories{flex-wrap:wrap;gap:6px;margin-bottom:15px;display:flex}.help-categories button{background:var(--soft);color:var(--muted);cursor:pointer;border:0;border-radius:7px;min-height:35px;padding:7px 10px;font-size:12px}.help-categories button.active,.help-categories button[aria-pressed=true]{background:var(--brand);color:#fff}.help-items details{border-bottom:1px solid var(--line);padding:13px 0}.help-items details:last-child{border-bottom:0}.help-items summary{cursor:pointer;font-size:13px;font-weight:550;line-height:1.7}.help-items p{color:var(--muted);margin:10px 0 0;font-size:12px;line-height:1.85}@media (max-width:950px){.month-event .teacher-full,.lesson-event .teacher-full{display:none}.month-event .teacher-short,.lesson-event .teacher-short{display:inline}}@media (max-width:820px){.navy-app .topbar{gap:8px;min-height:54px;padding:0 13px}.header-left,.header-right{gap:8px}.brand-home{border-radius:9px;width:33px;height:33px}.compact-role-picker select{max-width:84px;min-height:36px;font-size:12px}.compact-mode-picker{padding:0 3px}.compact-mode-picker select{max-width:80px;min-height:28px;font-size:10px}.account-identity{font-size:11px}.account-identity .teacher-identity{gap:6px}.account-identity .teacher-avatar{flex-basis:25px;width:25px;height:25px}.header-help{min-width:28px;height:32px;padding:0 3px;font-size:17px}.account-menu>summary{min-height:34px}.navy-app .app-body{display:block}.navy-app .sidebar{z-index:30;background:#fff;border-right:0;align-items:center;gap:22px;min-height:42px;padding:0 16px;display:flex;position:sticky;top:54px}.navy-app .sidebar button{text-align:left;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;flex:none;width:auto;min-height:42px;margin:0;padding:0 1px;font-size:12px}.navy-app .sidebar button.active{border-bottom-color:var(--brand);color:var(--brand-dark);background:0 0}.navy-app .teacher-workspace>.sidebar button{text-align:left;flex:none}.navy-app .sidebar .side-label{display:none}.navy-app .workspace,.navy-app .standalone-view{padding:14px 10px 34px}.navy-app .teacher-workspace .standalone-view{padding:0}.navy-app .page-heading{flex-direction:row;align-items:center;gap:10px;margin-bottom:13px}.navy-app .page-heading h1{font-size:19px}.navy-app .page-heading p:not(.eyebrow){font-size:11px}.navy-app .page-tools{flex:none;align-items:center;width:auto}.navy-app .page-tools>*{width:auto}.calendar-heading{gap:8px;margin-bottom:10px}.calendar-heading h1,.calendar-heading h2{font-size:20px}.calendar-controls{flex-wrap:nowrap;gap:5px}.calendar-toolbar{flex-direction:row;align-items:center;gap:5px;padding:7px 8px}.calendar-toolbar p{display:none}.week-nav{flex-wrap:nowrap;gap:3px}.week-nav button{min-height:32px;padding:0 6px;font-size:11px}.week-nav strong{flex-basis:auto;margin:0 0 0 4px;font-size:13px}.view-picker select{min-width:49px;max-width:76px;min-height:32px;padding:4px 5px;font-size:11px}.schedule-filter-toggle{min-height:32px;padding:5px 7px;font-size:11px}.calendar-after{gap:16px;margin-top:17px}.teacher-profile-controls{gap:7px;margin-top:14px}.teacher-profile-controls .profile-picker,.teacher-profile-controls .profile-picker select{width:auto}.teacher-profile-controls .profile-picker span{font-size:10px}.teacher-profile-controls .profile-picker select{max-width:170px;font-size:11px}.readonly-banner{margin-bottom:8px;padding:4px 2px;font-size:11px}.schedule-actions,.teacher-operation-list{border-radius:10px;display:block}.schedule-actions button,.teacher-operation-list button{border-right:0;border-bottom:1px solid var(--line);border-radius:0;width:100%;min-height:49px;padding:10px 13px;font-size:12px}.schedule-actions button:last-child,.teacher-operation-list button:last-child{border-bottom:0}.month-calendar{width:100%;min-width:0}.month-week-heads,.month-grid{grid-template-columns:repeat(7,minmax(0,1fr))}.month-week-heads div{padding:7px 0;font-size:10px}.month-cell{min-width:0;min-height:89px;padding:4px 2px 6px}.month-cell.dense{padding-left:2px;padding-right:2px}.month-date-row{margin-bottom:3px}.month-date-row>span,.month-date-button{width:22px;height:22px;font-size:11px}.month-date-row small{display:none}.month-events{gap:3px}.month-event{border-left-width:2px;border-radius:3px;min-height:61px;padding:5px 2px 4px}.month-cell.dense .month-event{min-height:52px;padding:3px 2px}.month-event time,.month-event .month-event-subject,.month-event .month-event-teacher{font-size:12px;line-height:1.25}.month-event .month-event-subject{margin-top:2px}.month-cell.dense .month-event-subject{margin-top:0}.month-event .month-event-teacher,.month-cell.dense .month-event-teacher{margin-top:1px}.calendar{grid-template-columns:32px repeat(var(--calendar-days,7), minmax(0, 1fr));width:100%;min-width:0}.calendar-scroll{width:100%;overflow-x:hidden}.lesson-event{border-left-width:2px;border-radius:4px;padding:3px 2px}.lesson-event strong,.lesson-event time,.lesson-event span{margin-top:1px;font-size:12px;line-height:1.15}.lesson-event strong{font-weight:600}.day-head span,.day-head strong{font-size:10px}.time-column span{padding-right:2px;font-size:10px}.view-switch{gap:18px;width:auto}.view-switch button{flex:none;padding:8px 0 10px}.teacher-report-toolbar{flex-direction:row;align-items:center;gap:10px;margin-bottom:14px}.teacher-report-toolbar>*{width:auto}.teacher-report-toolbar .filter-field{flex:1;min-width:0}.teacher-report-card .lesson-actions{align-items:flex-start;width:auto;max-width:100%}.teacher-report-card .lesson-actions button{width:auto;min-height:39px}.lesson-card{padding:13px}.content-panel{padding:14px}.panel-head h2,.modal-head h2{font-size:16px}.today-overview-grid .content-panel{padding:13px}.board-post-header{padding:15px 14px 12px}.board-lesson-summary{gap:12px;padding:0 14px 15px}.board-report-values section{padding:15px 14px}.board-report-values p{font-size:13px}.board-reaction-bar{padding:10px 14px}.board-comments{padding:15px 14px}.modal-backdrop{padding:15px 9px}.modal{border-radius:14px;padding:18px 15px}.modal-head{gap:10px}.field input,.field select,.field textarea{min-width:0;font-size:16px}.field input[type=file]{font-size:11px}.field>span{font-size:11px;font-weight:550}.check{min-height:36px;font-size:12px}.choice-row{gap:6px}.modal-actions{flex-wrap:wrap;gap:7px}.modal-actions>button{width:auto}.request-calendar-picker{border-radius:9px;padding:9px}.request-calendar-day{min-height:34px;font-size:12px}.request-calendar-lessons{font-size:11px}.lesson-detail-dialog,.help-dialog{border-radius:14px;width:calc(100% - 18px);max-width:calc(100% - 18px);max-height:calc(100dvh - 24px)}.lesson-detail-dialog .modal-head,.help-dialog-head{padding:13px 15px}.lesson-detail-fields,.help-dialog-body{padding:16px 15px}.lesson-detail-actions{padding:11px 15px}.help-categories{gap:5px}.help-categories button{min-height:34px;padding:6px 8px;font-size:11px}}@media (max-width:360px){.navy-app .topbar{gap:5px;padding:0 9px}.header-left,.header-right{gap:5px}.brand-home{width:30px;height:30px}.compact-role-picker select{max-width:72px;padding:4px 1px;font-size:11px}.compact-mode-picker{padding:0 2px}.compact-mode-picker select{max-width:71px;padding:4px 1px;font-size:10px}.account-identity{font-size:10px}.account-identity .teacher-identity{gap:4px}.account-identity .teacher-avatar{flex-basis:21px;width:21px;height:21px}.header-help{width:25px;min-width:25px;height:30px;padding:0}.calendar-controls{gap:4px}.calendar-heading h1,.calendar-heading h2{font-size:18px}.week-nav{gap:2px}.week-nav button{padding:0 4px}.week-nav strong{margin-left:3px;font-size:12px}}@media (max-width:300px){.navy-app .topbar{gap:4px;padding:0 7px}.header-left,.header-right{gap:4px}.brand-home{width:27px;height:27px}.compact-role-picker select{max-width:62px;font-size:10px}.compact-mode-picker select{max-width:64px}.account-identity .teacher-avatar{display:none}.account-identity .teacher-identity{gap:0}.header-help{width:23px;min-width:23px}.navy-app .sidebar{gap:17px;padding:0 12px}.navy-app .sidebar button{font-size:11px}.calendar-heading h1,.calendar-heading h2{font-size:17px}.schedule-filter-toggle{padding:5px;font-size:10px}}.calendar{grid-template-columns:46px repeat(var(--calendar-days,7), minmax(0, 1fr));width:100%;min-width:0}@media (max-width:820px){.calendar{grid-template-columns:32px repeat(var(--calendar-days,7), minmax(0, 1fr))}.today-overview-grid table{table-layout:fixed;min-width:0}.today-overview-grid th,.today-overview-grid td{overflow-wrap:anywhere;padding:10px 6px;font-size:11px}}.calendar-toolbar .week-nav button[aria-label=前月],.calendar-toolbar .week-nav button[aria-label=翌月],.calendar-toolbar .week-nav button[aria-label=前の月],.calendar-toolbar .week-nav button[aria-label=次の月],.calendar-toolbar .week-nav button[aria-label=前の週],.calendar-toolbar .week-nav button[aria-label=次の週],.month-stepper>button[aria-label=前の月],.month-stepper>button[aria-label=次の月]{border:1px solid var(--line);background:#fff;border-radius:9px;flex:0 0 44px;justify-content:center;align-items:center;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;font-size:23px;font-weight:400;line-height:1;display:inline-flex}.navy-app .compact-heading{flex-wrap:wrap;align-items:flex-start;gap:14px 24px}.compact-heading>div{min-width:0}.compact-heading h1{word-break:normal;line-height:1.35}.compact-heading .page-tools{min-width:0}.month-stepper{flex-wrap:nowrap;min-width:0}.month-stepper .month-filter{min-width:0}.month-stepper .month-filter input{width:100%;min-width:0;max-width:100%}.records-overview{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;max-width:1280px;margin:0 auto 18px;display:grid}.records-overview>*{min-width:0}.overview-list{gap:0;margin:0;padding:0;list-style:none;display:grid}.overview-lesson{border-top:1px solid var(--line);min-width:0;padding:9px 0;display:block}.overview-lesson:first-child{border-top:0;padding-top:2px}.overview-lesson:last-child{padding-bottom:0}.overview-main{grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:7px;min-width:0;display:grid}.overview-main strong{font-size:13px;font-weight:600;line-height:1.5}.overview-main time{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:12px}.overview-status{color:var(--muted);white-space:nowrap;font-size:10px;line-height:1.5}.overview-detail{color:var(--muted);overflow-wrap:anywhere;flex-wrap:wrap;align-items:center;gap:4px 10px;min-width:0;margin-top:5px;font-size:12px;line-height:1.6;display:flex}.overview-detail p{margin:0}.overview-detail .teacher-identity{gap:5px;font-size:12px}.overview-detail .teacher-avatar{flex-basis:20px;width:20px;height:20px}.overview-detail>small{white-space:nowrap;font-size:10px}.overview-day{color:var(--muted);margin-bottom:6px;font-size:11px;display:block}.overview-empty{color:var(--muted);margin:0;font-size:12px;line-height:1.6}.data-export-view{min-width:0;max-width:1280px;margin:0 auto}.data-export-controls{border:1px solid var(--line);background:#fff;border-radius:11px;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:14px;min-width:0;padding:18px;display:grid}.export-kind-picker{gap:6px;min-width:0;display:grid}.export-kind-picker>span{color:var(--muted);font-size:11px;font-weight:550}.export-kind-picker select,.export-grouping-row select{border:1px solid var(--line);width:100%;min-width:0;max-width:100%;min-height:40px;color:var(--ink);background:#fff;border-radius:8px;padding:7px 10px;font-size:13px}.export-filter-picker{border:1px solid var(--line);background:#fff;border-radius:8px;min-width:0;position:relative}.export-filter-picker>summary{min-height:40px;color:var(--ink);cursor:pointer;justify-content:space-between;align-items:center;gap:8px;padding:9px 11px;font-size:13px;list-style:none;display:flex}.export-filter-picker>summary::-webkit-details-marker{display:none}.export-filter-picker>summary:after{content:"⌄";color:var(--muted);flex:none;font-size:15px}.export-filter-picker[open]>summary{border-bottom:1px solid var(--line)}.export-filter-body{min-width:0;padding:10px}.export-filter-body>input{border:1px solid var(--line);width:100%;min-width:0;min-height:36px;color:var(--ink);background:var(--soft);border-radius:7px;padding:7px 9px;font-size:13px}.export-filter-options{overscroll-behavior:contain;scrollbar-width:thin;gap:1px;max-height:220px;margin-top:8px;display:grid;overflow-y:auto}.export-filter-options label{align-items:center;gap:8px;min-height:35px;padding:5px 3px;font-size:12px;line-height:1.5;display:flex}.export-filter-options input{accent-color:var(--brand);flex:none;width:16px;height:16px}.export-selection-summary{color:var(--muted);margin:0;font-size:12px;line-height:1.7}.export-grouping-row{grid-column:1/-1;align-items:center;gap:10px;min-width:0;display:flex}.export-grouping-row label{min-width:0;color:var(--muted);align-items:center;gap:9px;font-size:12px;display:flex}.export-grouping-row select{width:auto}.export-download-row{border-top:1px solid var(--line);flex-wrap:wrap;grid-column:1/-1;align-items:center;gap:10px;padding-top:12px;display:flex}.export-download-row>span,.export-result{color:var(--muted);font-size:12px;line-height:1.7}.export-result{grid-column:1/-1;margin:0}.student-hours-panel{min-width:0}.student-hours-toolbar{border-bottom:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;min-width:0;margin-bottom:8px;padding-bottom:14px;display:flex}.student-hours-period{align-items:center;gap:8px;min-width:0;display:flex}.student-hours-period .view-picker select{max-width:120px}.student-hours-table{table-layout:fixed;width:100%;min-width:0}.student-hours-table th:first-child{width:38%}.student-hours-table th:nth-child(2){width:24%}.student-hours-table th:nth-child(3){width:38%}.student-hours-table th,.student-hours-table td{overflow-wrap:anywhere;min-width:0}@media (max-width:820px){.navy-app .page-heading{flex-direction:column;align-items:stretch;gap:12px}.navy-app .page-heading>*{width:100%;min-width:0;max-width:100%}.navy-app .page-heading>.count-badge{align-self:flex-start;width:auto}.history-table .history-extra{display:none}.navy-app .admin-sidebar{overscroll-behavior-x:contain;scrollbar-width:none;gap:20px;min-width:0;max-width:100%;padding:0 12px;overflow:auto hidden}.navy-app .admin-sidebar::-webkit-scrollbar{display:none}.navy-app .admin-sidebar button{min-height:42px;padding:0 1px;font-size:12px;display:block}.calendar-toolbar .week-nav{gap:6px;width:100%}.calendar-toolbar .week-nav>strong{text-align:right;white-space:nowrap;flex:auto;margin-left:5px;font-size:14px}.month-calendar-panel .calendar-toolbar{min-height:58px;padding:6px 8px}.month-calendar-panel .month-grid{height:clamp(300px,100dvh - 250px,620px);min-height:calc(var(--month-weeks,5) * 136px);grid-template-rows:repeat(var(--month-weeks,5), minmax(0, 1fr))}.month-calendar-panel .month-cell{grid-template-rows:22px minmax(0,1fr);gap:2px;min-width:0;min-height:0;padding:3px 2px;display:grid;overflow:hidden}.month-calendar-panel .month-date-row{gap:0;min-width:0;margin:0}.month-calendar-panel .month-date-row>small{white-space:nowrap;color:#6d7b8f;padding-right:1px;font-size:9px;line-height:1.2;display:block}.month-calendar-panel .month-events{overscroll-behavior:contain;touch-action:pan-y;scrollbar-width:thin;scrollbar-color:#aab7c9 transparent;scrollbar-gutter:auto;gap:2px;min-width:0;min-height:0;padding-bottom:3px;overflow:hidden auto}.month-calendar-panel .month-events::-webkit-scrollbar{width:3px;height:0}.month-calendar-panel .month-events::-webkit-scrollbar-track{background:0 0}.month-calendar-panel .month-events::-webkit-scrollbar-thumb{background:#aab7c9;border-radius:3px}.month-calendar-panel .month-events::-webkit-scrollbar-button{width:0;height:0;display:none}.month-calendar-panel .month-event,.month-calendar-panel .month-cell.dense .month-event{border-radius:3px;flex:none;height:auto;min-height:48px;padding:2px 1px}.month-calendar-panel .month-event time,.month-calendar-panel .month-event .month-event-subject,.month-calendar-panel .month-event .month-event-teacher{margin-top:0;font-size:12px;line-height:1.16}.navy-app .compact-heading{flex-direction:column;align-items:stretch;gap:12px;display:flex}.compact-heading>div{width:100%;min-width:0}.compact-heading h1{font-size:20px}.compact-heading .page-tools{grid-template-columns:minmax(0,1fr);justify-content:stretch;align-items:start;gap:10px;width:100%;display:grid}.compact-heading .page-tools>*{width:100%;min-width:0}.month-stepper{grid-template-columns:44px minmax(0,1fr) auto 44px;align-items:center;gap:6px;width:100%;display:grid}.month-stepper.month-navigation{grid-template-columns:44px minmax(0,1fr) 44px;gap:10px}.month-stepper>button{white-space:nowrap;min-width:42px;min-height:44px;padding:6px 8px;font-size:12px}.month-stepper .month-filter{width:100%;margin:0}.month-stepper .month-filter>span{clip:rect(0, 0, 0, 0);white-space:nowrap;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.month-stepper .month-filter input{min-height:44px;padding:7px 4px;font-size:14px}.summary-toolbar{gap:12px;min-width:0}.summary-toolbar .view-switch{align-self:flex-start;width:auto}.town-heading-tools .heading-filter{width:100%}.records-overview{grid-template-columns:minmax(0,1fr);gap:12px;margin-bottom:14px}.overview-lesson{padding:9px 0}.overview-main strong,.overview-detail{font-size:12px}.history-panel .table-scroll,.payroll-table-wrap,.town-lessons-wrap{overflow:visible}.history-table,.payroll-table,.town-lessons-table{border-collapse:separate;width:100%;min-width:0;display:block}.history-table thead,.payroll-table thead,.town-lessons-table thead{clip:rect(0, 0, 0, 0);white-space:nowrap;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.history-table tbody,.payroll-table tbody,.town-lessons-table tbody{gap:11px;min-width:0;display:grid}.history-table tr,.payroll-table tr,.town-lessons-table tr{border:1px solid var(--line);background:#fff;border-radius:9px;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;width:100%;min-width:0;display:grid;overflow:hidden}.history-table td,.payroll-table td,.town-lessons-table td{overflow-wrap:anywhere;border:0;min-width:0;padding:8px 10px;font-size:12px;line-height:1.5;display:block}.history-table td:before,.payroll-table td:before,.town-lessons-table td:before{content:attr(data-label);color:var(--muted);margin:0 0 3px;font-size:10px;font-weight:500;line-height:1.3;display:block}.history-table td:first-child,.payroll-table td:first-child{background:var(--soft);grid-column:1/-1;font-weight:600}.history-table td:first-child{flex-wrap:wrap;align-items:baseline;gap:4px 7px;display:flex}.history-table td:first-child:before{flex-basis:100%}.payroll-table td:last-child{border-top:1px solid var(--line);background:#f8fafd;grid-column:1/-1;justify-content:space-between;align-items:center;gap:8px;font-size:15px;display:flex}.payroll-table td:last-child:before{margin:0;font-size:11px}.history-table td[colspan],.payroll-table td[colspan],.town-lessons-table td[colspan]{background:#fff;grid-column:1/-1}.town-lessons-table tr{grid-template-columns:minmax(0,1fr) 92px;padding:8px}.town-lessons-table td{padding:5px 4px}.town-lessons-table td:first-child,.town-lessons-table td:nth-child(2),.town-lessons-table td:nth-child(3){grid-column:1}.town-lessons-table td:nth-child(4){border-top:1px solid var(--line);grid-column:1/-1;margin-top:4px;padding-top:8px}.town-lessons-table td:nth-child(5){grid-area:1/2/span 3;align-self:start}.town-lessons-table td:nth-child(5) .photo-thumb{object-fit:cover;border-radius:6px;width:80px;height:76px}.town-lessons-table td:nth-child(6),.town-lessons-table td:nth-child(7){border-top:1px solid var(--line);margin-top:4px;padding-top:8px}.student-summary-table{table-layout:fixed;width:100%;min-width:0}.student-summary-table th,.student-summary-table td{overflow-wrap:normal;padding:10px 5px;font-size:11px}.student-summary-table th:first-child{width:31%}.student-summary-table th:nth-child(2){width:17%}.student-summary-table th:nth-child(3){width:24%}.student-summary-table th:nth-child(4){width:28%}.student-hours-toolbar{flex-direction:column;align-items:stretch;gap:10px}.student-hours-period{align-self:flex-start}.student-hours-table th,.student-hours-table td{padding:10px 6px;font-size:12px}.student-hours-table th:first-child{width:38%}.student-hours-table th:nth-child(2){width:24%}.student-hours-table th:nth-child(3){width:38%}.responsive-request-table{width:100%;min-width:0;display:block}.responsive-request-table thead{clip:rect(0, 0, 0, 0);white-space:nowrap;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.responsive-request-table tbody{gap:10px;min-width:0;display:grid}.responsive-request-table tr{border:1px solid var(--line);border-radius:9px;grid-template-columns:repeat(2,minmax(0,1fr));min-width:0;padding:6px;display:grid}.responsive-request-table td{overflow-wrap:anywhere;border:0;min-width:0;padding:7px 5px;font-size:12px;line-height:1.6;display:block}.responsive-request-table td:before{content:attr(data-label);color:var(--muted);margin-bottom:3px;font-size:10px;line-height:1.3;display:block}.responsive-request-table td:first-child,.responsive-request-table td:last-child{grid-column:1/-1}.responsive-request-table td:last-child{border-top:1px solid var(--line);padding-top:9px}.responsive-request-table td .inline-actions{flex-wrap:wrap;gap:6px}.responsive-request-table td button{width:auto}.town-lessons-table td[colspan]{grid-area:auto/1/auto/-1}.data-export-controls{grid-template-columns:minmax(0,1fr);gap:12px;padding:14px}.export-kind-picker select,.export-grouping-row select,.export-filter-body>input{font-size:16px}.export-filter-picker>summary{min-height:42px;font-size:13px}.export-filter-options label{min-height:39px}.export-grouping-row{display:block}.export-grouping-row.field{grid-template-columns:minmax(0,1fr);align-items:stretch;gap:6px;display:grid}.export-grouping-row.check{flex-direction:row;align-items:center;gap:8px;display:flex}.export-grouping-row label{justify-content:space-between}.export-grouping-row select{width:100%;max-width:100%}.export-download-row{gap:9px}.export-download-row>button{width:auto}}@media (min-width:360px) and (max-width:820px){.data-export-controls{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.data-export-controls .export-grouping-row{grid-column:1/-1}}@supports selector(::-webkit-scrollbar){@media (max-width:820px){.month-calendar-panel .month-events{scrollbar-width:auto;scrollbar-color:auto}}}.lesson-detail-dialog{max-height:calc(100dvh - 48px)}.lesson-detail-dialog>.modal-head{padding:18px 22px}.lesson-detail-dialog>.lesson-detail-fields{gap:16px;margin:0;padding:20px 22px}.lesson-detail-dialog>.previous-homework{margin:0 22px 20px;padding:14px}.lesson-detail-dialog>.lesson-detail-actions{padding:14px 22px}.lesson-detail-dialog>.modal-actions{padding:16px 22px max(16px, env(safe-area-inset-bottom));border-top:1px solid var(--line);z-index:2;background:#fff;margin:0;position:sticky;bottom:0}.lesson-detail-dialog>.modal-actions>button{min-height:44px;padding:9px 18px}.lesson-detail-dialog .icon-close{flex:0 0 36px;width:36px;height:36px;min-height:36px;padding:0}.lesson-detail-dialog .icon-close:focus-visible{outline-offset:2px;outline:2px solid #8aa7ca}@media (max-width:820px){.lesson-detail-dialog{border-radius:16px;width:calc(100% - 32px);max-width:calc(100% - 32px);max-height:calc(100dvh - 48px)}.lesson-detail-dialog>.modal-head{padding:17px 18px}.lesson-detail-dialog>.lesson-detail-fields{padding:20px 18px}.lesson-detail-dialog>.previous-homework{margin:0 18px 18px;padding:13px}.lesson-detail-dialog>.lesson-detail-actions{padding:13px 18px}.lesson-detail-dialog>.modal-actions{padding:15px 18px max(15px, env(safe-area-inset-bottom))}}.student-workspace{width:100%;min-width:0}.student-menu{border-bottom:1px solid var(--line);z-index:30;background:#fff;flex-wrap:nowrap;align-items:center;gap:28px;min-width:0;max-width:100%;min-height:44px;padding:0 30px;display:flex;position:sticky;top:58px}.student-menu>button{min-height:44px;color:var(--muted);white-space:nowrap;cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;flex:none;justify-content:center;align-items:center;margin:0;padding:0 1px;font-size:13px;font-weight:500;line-height:1.3;display:inline-flex}.student-menu>button.active,.student-menu>button[aria-pressed=true]{color:var(--brand-dark);border-bottom-color:var(--brand);font-weight:600}.student-menu>button:hover{color:var(--brand-dark)}.student-menu>button:focus-visible{outline-offset:-4px}.student-workspace>.workspace,.student-workspace>.student-content{min-width:0;padding:0}.student-workspace .standalone-view{width:100%}.student-toolbar{align-items:center;gap:10px;min-width:0;max-width:1280px;margin:0 auto 12px;display:flex}.student-toolbar .profile-picker{flex-direction:row;align-items:center;gap:9px;width:auto;min-width:0;max-width:100%;display:flex}.student-toolbar .profile-picker>span{color:var(--muted);white-space:nowrap;flex:none;font-size:11px;font-weight:500}.student-toolbar .profile-picker select{border:1px solid var(--line);width:auto;min-width:0;max-width:240px;min-height:44px;color:var(--ink);background:#fff;border-radius:8px;flex:auto;padding:7px 10px;font-size:13px}@media (max-width:820px){.student-menu{gap:20px;min-height:44px;padding:0 12px;top:54px}.student-menu>button{min-height:44px;font-size:12px}.student-toolbar{margin-bottom:10px}.student-toolbar .profile-picker{gap:8px;width:100%}.student-toolbar .profile-picker select{max-width:230px;font-size:12px}}@media (max-width:360px){.student-menu{gap:16px}.student-toolbar .profile-picker>span{font-size:10px}.student-toolbar .profile-picker select{padding-inline:7px;font-size:11px}}.week-timetable{--week-time-width:46px;--week-hour-height:72px;--week-head-height:46px;width:100%;min-width:0}.week-date-strip{display:none}.week-grid-scroll{isolation:isolate;overscroll-behavior-x:contain;scrollbar-width:thin;background:#fff;max-width:100%;max-height:min(68dvh,620px);position:relative;overflow:auto}.week-grid-scroll:focus-visible{outline-offset:-2px;outline:2px solid #8aa7ca}.week-grid{grid-template-columns:var(--week-time-width) repeat(var(--week-days,7), minmax(0, 1fr));grid-template-rows:var(--week-head-height) calc(var(--week-rows,6) * var(--week-hour-height));width:100%;min-width:0;display:grid}.week-grid-corner{z-index:6;border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:#f6f8fb;grid-area:1/1;position:sticky;top:0;left:0}.week-grid-head{z-index:4;border-right:1px solid var(--line);border-bottom:1px solid var(--line);color:var(--muted);background:#f6f8fb;grid-row:1;justify-content:center;align-items:center;gap:7px;font-size:12px;display:flex;position:sticky;top:0}.week-grid-head strong{color:var(--ink);font-size:13px;font-weight:600}.week-grid-head.today{color:var(--brand);background:#edf2fa}.week-grid-times{z-index:3;border-right:1px solid var(--line);background:#fff;grid-area:2/1;align-self:start;position:sticky;left:0}.week-grid-times>span{height:var(--week-hour-height);text-align:right;font-variant-numeric:tabular-nums;color:var(--muted);border-bottom:1px solid var(--line);padding:6px 5px 0 0;font-size:11px;display:block}.week-grid-day{border-right:1px solid var(--line);grid-row:2;min-width:0;position:relative}.week-time-slot{width:100%;height:var(--week-hour-height);border:0;border-bottom:1px solid var(--line);background:linear-gradient(#0000 calc(50% - .5px),#f2f4f7 calc(50% - .5px) calc(50% + .5px),#0000 calc(50% + .5px));margin:0;padding:0;display:block}button.week-time-slot{cursor:pointer}button.week-time-slot:hover{background-color:var(--soft)}.week-lesson-event{--calendar-event-inset:3px;--calendar-event-gap:6px;border-left-width:3px;border-radius:6px;padding:5px 4px;font-size:12px}.week-lesson-event time,.week-lesson-event strong,.week-lesson-event span{margin-top:1px;font-size:12px;line-height:1.3;display:block}.week-lesson-event time{font-variant-numeric:tabular-nums;font-weight:650}.week-lesson-event .teacher-short,.week-overlap-summary{display:none}.week-overlap-dialog{border:1px solid var(--line);width:min(440px,100% - 32px);max-height:calc(100dvh - 48px);color:var(--ink);box-shadow:var(--shadow);background:#fff;border-radius:16px;margin:auto;padding:0;overflow:auto}.week-overlap-dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#13233966}.week-overlap-dialog>header{z-index:2;border-bottom:1px solid var(--line);background:#fff;justify-content:space-between;align-items:center;gap:12px;padding:16px 18px;display:flex;position:sticky;top:0}.week-overlap-dialog>header p{color:var(--muted);margin:0 0 4px;font-size:12px}.week-overlap-dialog>header button{border:1px solid var(--line);width:44px;height:44px;color:var(--muted);cursor:pointer;background:#fff;border-radius:9px;flex:0 0 44px;padding:0;font-size:23px}.week-overlap-dialog h2 small{color:var(--muted);margin-left:5px;font-size:12px}.week-overlap-dialog h2{margin:0;font-size:16px}.week-overlap-list{gap:10px;padding:16px 18px;display:grid}.week-overlap-list>button,.week-overlap-list>article{border:1px solid var(--student-border,var(--line));border-left:3px solid var(--student-border,var(--brand));background:var(--student-bg,var(--soft));width:100%;min-height:72px;color:var(--ink);text-align:left;border-radius:9px;margin:0;padding:12px;font-size:13px;display:block}.week-overlap-list>button{cursor:pointer}.week-overlap-list time,.week-overlap-list strong,.week-overlap-list span{margin-top:3px;line-height:1.4;display:block}.week-overlap-list .teacher-short{display:none}.week-overlap-item.student-colored.status-live{box-shadow:inset 0 4px #c9711f}.week-overlap-item.student-colored.status-pending_approval{box-shadow:inset 0 4px #5d68ad}.week-overlap-item.student-colored.status-approved{box-shadow:inset 0 4px #789087}.week-group-statuses{flex-wrap:wrap;gap:4px 7px;display:flex}.week-group-statuses>span{align-items:center;gap:4px;font-size:11px;line-height:1.4;display:inline-flex}.week-group-statuses>span:before{content:"";border-radius:50%;flex:0 0 7px;width:7px;height:7px}.week-group-statuses .status-live:before{background:#c9711f}.week-group-statuses .status-pending_approval:before{background:#5d68ad}.week-group-statuses .status-approved:before{background:#789087}.week-calendar-panel .week-nav{align-items:center}.week-calendar-panel .week-nav>button:not([aria-label]){min-height:44px;padding-inline:10px}.schedule-manager{min-width:0}.schedule-manager-head{align-items:center;margin-bottom:16px}.schedule-manager-head h2{font-size:18px}.schedule-list-filters{border:1px solid var(--line);background:#f6f8fb;border-radius:12px;gap:12px;padding:14px;display:grid}.schedule-list-top-controls{flex-wrap:wrap;align-items:end;gap:10px;display:flex}.schedule-list-top-controls>.month-navigation{flex:260px;max-width:360px}.schedule-list-filters .filter-field{min-width:0;margin:0}.schedule-list-filters .filter-field>span{color:var(--muted);margin-bottom:5px;font-size:11px;display:block}.schedule-list-filters input,.schedule-list-filters select{border:1px solid var(--line);width:100%;min-width:0;min-height:44px;color:var(--ink);background:#fff;border-radius:8px;padding:9px 11px;font-size:13px}.schedule-list-filters input[type=month]{min-inline-size:0}.schedule-list-filters .month-filter{flex:1}.schedule-filter-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.schedule-filter-reset{min-height:36px;color:var(--muted);justify-content:space-between;align-items:center;gap:12px;font-size:12px;display:flex}.schedule-manager .text-button{min-height:40px;color:var(--brand);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:7px;padding:7px 8px;font-size:12px}.schedule-manager .text-button:hover{background:#e9eef6}.schedule-select-bar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin:10px 0;display:flex}.schedule-select-bar>label{cursor:pointer;align-items:center;gap:10px;min-height:44px;padding:5px 7px;font-size:12px;display:inline-flex}.schedule-manager input[type=checkbox]{width:22px;height:22px;accent-color:var(--brand);cursor:pointer;flex:0 0 22px}.schedule-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:12px;display:grid}.schedule-card-grid>.empty-state{grid-column:1/-1}.schedule-select-card{border:1px solid var(--line);border-left:3px solid var(--student-border,var(--brand));background:#fff;border-radius:11px;min-width:0;overflow:hidden}.schedule-select-card.is-selected{border-color:var(--brand);box-shadow:inset 0 0 0 1px var(--brand);background:#eef3fa}.schedule-card-toggle{cursor:pointer;align-items:flex-start;gap:12px;min-height:115px;margin:0;padding:14px 13px;display:flex}.schedule-card-toggle>input{margin-top:1px}.schedule-card-summary{flex:1;gap:5px;min-width:0;font-size:13px;line-height:1.4;display:grid}.schedule-card-date{flex-wrap:wrap;align-items:center;gap:5px 9px;display:flex}.schedule-card-date>strong{font-variant-numeric:tabular-nums;font-size:13px}.schedule-card-date .status-pill{margin:0;padding:3px 7px;font-size:10px}.schedule-card-subject{font-size:14px;font-weight:650}.schedule-card-students{overflow-wrap:anywhere}.schedule-card-teacher{color:var(--muted);font-size:12px}.schedule-card-footer{justify-content:flex-end;align-items:center;padding:0 12px 10px;display:flex}.schedule-card-footer>button{width:auto;min-height:38px;padding-inline:15px}.schedule-manager.has-selection{padding-bottom:150px}.schedule-selection-dock{bottom:max(10px, env(safe-area-inset-bottom));z-index:40;background:#f1f5fb;border:1px solid #c4d1e4;border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 15px;width:min(650px,100% - 32px);padding:10px 12px;display:flex;position:fixed;left:50%;transform:translate(-50%);box-shadow:0 4px 20px #122a471f}.schedule-selection-count{align-items:center;gap:9px;font-size:13px;display:flex}.schedule-selection-actions{flex-wrap:wrap;gap:8px;display:flex}.schedule-selection-actions>button{width:auto;min-height:44px;padding:8px 14px;font-size:12px}.schedule-selection-dock>small{color:var(--muted);flex-basis:100%;font-size:11px;line-height:1.5}.schedule-repeat-dialog{border:1px solid var(--line);width:min(480px,100% - 32px);max-height:calc(100dvh - 48px);color:var(--ink);box-shadow:var(--shadow);background:#fff;border-radius:16px;margin:auto;padding:0;overflow:auto}.schedule-repeat-dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#13233966}.schedule-repeat-dialog .modal-head{padding:16px 18px}.schedule-repeat-dialog h2{font-size:17px}.schedule-repeat-dialog .icon-close{flex:0 0 44px;width:44px;height:44px;min-height:44px}.schedule-repeat-body{padding:16px 18px}.schedule-repeat-body>p{margin:0 0 14px;font-size:13px;line-height:1.6}.schedule-repeat-month-picker{align-items:end;gap:10px;display:flex}.schedule-repeat-month-picker>label{flex:1;min-width:0}.schedule-repeat-month-picker input{width:100%;min-width:0;min-inline-size:0;border:1px solid var(--line);border-radius:8px;min-height:44px;padding:9px;font-size:14px}.schedule-repeat-month-picker>button{width:auto;min-height:44px}.schedule-repeat-months{flex-wrap:wrap;gap:8px;padding-block:14px;display:flex}.schedule-repeat-months>button{min-height:40px;padding:6px 12px}.schedule-repeat-body>small{color:var(--muted);font-size:11px;line-height:1.6}.schedule-repeat-dialog .modal-actions{padding:14px 18px max(14px, env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fff;flex-wrap:wrap;justify-content:flex-end;gap:9px;margin:0;display:flex;position:sticky;bottom:0}.schedule-repeat-dialog .modal-actions button{width:auto;min-height:44px}@media (max-width:820px){.schedule-list-filters{gap:10px;padding:12px}.schedule-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.schedule-card-grid{grid-template-columns:minmax(0,1fr);gap:10px}.schedule-selection-dock{gap:4px 10px;padding:8px 10px}.schedule-selection-actions{gap:6px}.schedule-selection-actions>button{padding:8px 11px}.schedule-list-filters .month-stepper.month-navigation{max-width:none}.schedule-list-filters .month-filter>span{display:none}}@media (max-width:360px){.week-calendar-panel .week-nav{grid-template-columns:44px auto 44px;justify-content:space-between;gap:5px;display:grid}.week-calendar-panel .week-nav>strong{text-align:center;grid-column:1/-1;margin:0;padding-top:2px;font-size:12px}.schedule-selection-dock{grid-template-columns:minmax(0,1fr);display:grid}.schedule-selection-actions{justify-content:flex-end}.schedule-selection-dock>small{grid-column:1/-1}}@media (max-width:820px){.week-timetable{--week-time-width:42px;--week-hour-height:80px}.week-date-strip{border-bottom:1px solid var(--line);background:#fff;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px;padding:7px 8px;display:grid}.week-date-strip>button{min-width:0;min-height:44px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:9px;flex-direction:column;justify-content:center;align-items:center;gap:2px;padding:3px 0;font-size:11px;display:flex}.week-date-strip>button strong{color:var(--ink);font-size:14px;font-weight:600}.week-date-strip>button[aria-pressed=true]{background:var(--brand);color:#fff}.week-date-strip>button[aria-pressed=true] strong{color:#fff}.week-date-strip>button.today:not([aria-pressed=true]){background:var(--brand-pale)}.week-grid{grid-template-columns:var(--week-time-width) repeat(var(--week-days,7), var(--week-day-width,160px));width:max-content;min-width:100%}.week-grid-head{font-size:12px}.week-grid-head strong{font-size:13px}.week-lesson-event{border-left-width:3px;padding:5px 4px}.week-lesson-event time,.week-lesson-event strong,.week-lesson-event span{font-size:12px;line-height:1.3}.week-lesson-event .teacher-full{display:none}.week-lesson-event .teacher-short{display:inline}.week-dense-desktop{display:none}.week-overlap-summary{border:1px solid #b7c5d8;border-left:3px solid var(--brand);color:var(--ink);text-align:left;cursor:pointer;z-index:2;background:#edf2fa;border-radius:7px;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:5px;padding:9px 7px;font-size:12px;display:flex;position:absolute;left:3px;right:3px;overflow:hidden}.week-overlap-summary strong{font-size:14px;font-weight:650}.week-overlap-summary small{color:var(--muted);font-size:11px}}.lesson-timing-controls{min-width:0}.lesson-timing-method{background:var(--soft);border-radius:9px;flex-wrap:wrap;gap:3px;max-width:100%;margin-bottom:14px;padding:3px;display:inline-flex}.lesson-timing-method>button{min-height:44px;color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:7px;padding:7px 12px;font-size:12px}.lesson-timing-method>button[aria-pressed=true]{color:var(--ink);background:#fff;box-shadow:0 1px 4px #152a4614}.lesson-period-buttons{grid-template-columns:repeat(auto-fit,minmax(56px,1fr));gap:6px;min-width:0;display:grid}.lesson-period-buttons>button{border:1px solid var(--line);min-width:0;min-height:52px;color:var(--ink);cursor:pointer;background:#fff;border-radius:9px;flex-direction:column;justify-content:center;align-items:center;gap:3px;padding:7px 4px;display:flex}.lesson-period-buttons>button strong{font-size:13px;font-weight:600}.lesson-period-buttons>button small{font-variant-numeric:tabular-nums;font-size:11px}.lesson-period-buttons>button[aria-pressed=true]{border-color:var(--brand);background:var(--brand);color:#fff}.lesson-blocks-field{max-width:240px;margin-top:12px}.lesson-timing-preview{min-height:20px;color:var(--muted);font-variant-numeric:tabular-nums;margin-top:8px;font-size:12px}.lesson-student-picker,.lesson-teacher-picker{border:0;min-width:0;margin:0;padding:0}.lesson-student-picker>legend,.lesson-teacher-picker>legend{color:var(--muted);margin-bottom:10px;padding:0;font-size:12px}.lesson-student-picker>legend>span{color:var(--ink);margin-left:12px}.lesson-grade-group+.lesson-grade-group{margin-top:13px}.lesson-grade-head{color:var(--muted);flex-wrap:wrap;align-items:center;gap:9px;margin-bottom:7px;font-size:12px;display:flex}.lesson-grade-head>small{font-variant-numeric:tabular-nums;font-size:11px}.lesson-grade-head>button{border:1px solid var(--line);background:var(--soft);min-height:44px;color:var(--ink);font:inherit;cursor:pointer;border-radius:8px;padding:6px 10px;font-size:12px}.lesson-student-buttons{flex-wrap:wrap;gap:7px;display:flex}.lesson-student-buttons>button{border:1px solid var(--line);min-height:44px;color:var(--ink);font:inherit;cursor:pointer;background:#fff;border-radius:9px;padding:8px 12px;font-size:13px}.lesson-student-buttons>button[aria-pressed=true]{background:var(--brand);border-color:var(--brand);color:#fff}.lesson-teacher-options{flex-wrap:wrap;align-items:center;gap:6px 14px;display:flex}.lesson-teacher-options>label{min-height:44px}.lesson-teacher-order{flex-wrap:wrap;gap:7px;margin-top:8px;display:flex}.lesson-teacher-order>div{background:var(--soft);border-radius:8px;flex-wrap:wrap;align-items:center;gap:6px;min-height:38px;padding:5px 9px;font-size:12px;display:inline-flex}.lesson-teacher-order strong{font-weight:500}.lesson-teacher-order span{color:var(--muted);font-size:11px}.lesson-teacher-order button{border:1px solid var(--line);min-height:44px;color:var(--brand);font:inherit;cursor:pointer;background:#fff;border-radius:7px;padding:5px 8px;font-size:11px}.lesson-teacher-identities{flex-wrap:wrap;align-items:center;gap:6px 12px;display:inline-flex}.lesson-input-owner{color:var(--muted);flex-wrap:wrap;gap:6px 12px;margin-block:7px;font-size:12px;display:flex}.course-student-contacts{margin-top:22px}.course-student-contacts>h3{margin:0 0 12px;font-size:15px}.course-student-contacts p{white-space:pre-wrap;overflow-wrap:anywhere}.compact-settings{gap:11px}.settings-operation{border:1px solid var(--line);background:#fff;border-radius:12px;justify-content:space-between;align-items:center;gap:18px;padding:17px 19px;display:flex}.settings-operation h2{margin:0;font-size:15px}.settings-operation>div>span{color:var(--muted);margin-top:4px;font-size:12px;display:block}.settings-mode-switch{justify-content:center;align-items:center;min-width:55px;min-height:44px;display:flex}.settings-mode-switch>input{-webkit-appearance:none;appearance:none;cursor:pointer;background:#c7cbd1;border:0;border-radius:20px;width:51px;min-width:51px;height:31px;margin:0;transition:background .15s;position:relative}.settings-mode-switch>input:after{content:"";background:#fff;border-radius:50%;width:25px;height:25px;transition:transform .15s;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #00000026}.settings-mode-switch>input:checked{background:var(--brand)}.settings-mode-switch>input:checked:after{transform:translate(20px)}.settings-mode-switch>input:disabled{opacity:.5;cursor:wait}.settings-section{border:1px solid var(--line);background:#fff;border-radius:12px;min-width:0}.settings-section>summary{min-height:52px;color:var(--ink);cursor:pointer;align-items:center;gap:12px;padding:13px 18px;font-size:14px;font-weight:500;list-style:none;display:flex}.settings-section>summary::-webkit-details-marker{display:none}.settings-section>summary:after{content:"›";color:var(--muted);transform-origin:50%;margin-left:auto;font-size:23px;font-weight:400}.settings-section[open]>summary:after{transform:rotate(90deg)}.settings-section>summary>small{color:var(--muted);font-size:12px;font-weight:400}.settings-section-body{min-width:0;padding:0 18px 18px}.settings-section-body>.content-panel{width:100%;max-width:none;box-shadow:none;border:0;margin:0;padding:0}.settings-section-body>.content-panel:not(.calendar-integration-panel)>.panel-head{display:none}.settings-section-body>.calendar-integration-panel+.calendar-integration-panel{border-top:1px solid var(--line);margin-top:22px;padding-top:20px}.compact-settings .calendar-integration-panel .panel-head p,.compact-settings .calendar-integration-body>div>p{display:none}.compact-settings .calendar-integration-panel .panel-head h2{font-size:15px}.course-period-setting-list{gap:10px;display:grid}.course-period-setting-list>div{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr) minmax(0,1fr) auto;align-items:end;gap:8px;display:grid}.course-period-setting-list input,.course-period-setting-list select{min-width:0}.course-period-setting-list .field>span{font-size:11px}@media (max-width:600px){.settings-section>summary,.settings-section-body,.settings-operation{padding-inline:14px}.course-period-setting-list>div{border-bottom:1px solid var(--line);grid-template-columns:repeat(2,minmax(0,1fr));padding-bottom:12px}.course-period-setting-list>div>button{justify-self:end;width:auto;min-height:44px}.lesson-student-buttons>button{padding-inline:10px}.lesson-timing-controls .form-grid{grid-template-columns:minmax(0,1fr)}}.schedule-input-mode{min-width:0;color:var(--muted);flex-wrap:wrap;align-items:center;gap:7px;margin-right:auto;font-size:.875rem;display:inline-flex}.schedule-input-mode>span{white-space:nowrap}.schedule-input-mode select{width:auto;min-width:80px;min-height:44px;color:var(--ink);padding:8px 25px 8px 10px;font-weight:600}.schedule-draft-mode{min-height:44px;color:var(--muted);align-items:center;margin:0 0 14px;font-size:.875rem;display:flex}.lesson-operation-icon{vertical-align:-3px;flex:none;margin-right:5px;display:inline-block}.schedule-actions .lesson-operation-icon,.teacher-operation-list .lesson-operation-icon{margin-right:0}.calendar-lesson-location{text-overflow:ellipsis;white-space:nowrap;color:#425874;font-size:12px;line-height:1.2;display:block;overflow:hidden}.month-event .calendar-lesson-location{margin-top:0;font-size:12px;line-height:1.16;display:block}@media (max-width:700px){.month-calendar-panel:has(.calendar-lesson-location) .month-grid{min-height:calc(var(--month-weeks,5) * 156px)}}@media (max-width:390px){.calendar-heading:has(.schedule-input-mode){flex-wrap:wrap}.schedule-input-mode{gap:5px}}.calendar-requests{gap:14px;max-width:1280px;margin:0 auto 18px;display:grid}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
