@layer legacy{:root{--canvas:var(--hg-bg);--ink:var(--hg-ink);--accent:var(--hg-accent);--accent-soft:var(--hg-surface-soft);--line:var(--hg-line);--muted:var(--hg-sub);--surface:var(--hg-surface);--surface-soft:var(--hg-surface-soft);--heading-surface:var(--hg-surface-soft);--accent-hover:var(--hg-accent-strong);--sunshine:var(--hg-mark)}body,html{background:var(--canvas);color:var(--ink);color-scheme:light}::selection{background:var(--hg-surface-soft);color:var(--hg-ink)}:focus-visible{outline-color:var(--hg-accent)}button:hover:not(:disabled,[aria-pressed=true],[aria-selected=true],[aria-current=page],[aria-current=true],.current,.active,.is-selected,.selected){background:var(--hg-surface-soft);border-color:var(--hg-line-strong)}.button-row button:first-child:not([type=button]),.button-row button[type=submit],button.primary{background:var(--accent);border-color:var(--accent);color:white}.button-row button:first-child:not([type=button]):hover:not(:disabled),.button-row button[type=submit]:hover:not(:disabled),button.primary:hover:not(:disabled){background:var(--accent-hover);border-color:var(--accent-hover)}input:not([type=checkbox]):not([type=radio]),select,textarea{border-color:var(--hg-line-strong);background:var(--hg-surface);color:var(--ink)}input:disabled,select:disabled{background:var(--hg-surface-soft);color:var(--hg-sub)}input::placeholder,textarea::placeholder{color:var(--hg-sub);opacity:1}.text-link,a{color:var(--accent)}.trial-strip{background:var(--hg-surface-soft);border-bottom-color:var(--line);box-shadow:inset 0 3px 0 var(--sunshine)}.v2-trial-label{background:var(--hg-mark);border-color:var(--hg-mark);color:var(--hg-mark-ink)}.login-box{background:var(--hg-surface-soft);border-color:var(--line);box-shadow:var(--hg-shadow-login)}.data-table,.form-panel,.v2-quick-search{border-color:var(--line);background:var(--hg-surface)}.data-table th{background:var(--heading-surface)}.data-table .label,.data-table th.label{background:var(--hg-surface-soft)}.data-table tbody tr.selected>td{background:var(--accent-soft)}.application .detail-identity,.detail-identity{background:var(--hg-surface-soft);border-color:var(--line)}.detail-facts,.detail-facts>div{border-color:var(--line)}.detail-facts dt{background:var(--hg-surface-soft)}.contract-group legend,.detail-identity small{color:var(--hg-sub)}.original-links button,.person-menu button{color:var(--accent);border-color:var(--line)}.saved{background:var(--hg-ok-soft);border-color:var(--hg-ok-line);color:var(--hg-ok-ink)}.notice{background:var(--hg-warn-soft);border-color:var(--hg-warn-line);color:var(--hg-warn-ink)}.warning{background:var(--hg-danger-soft);border-color:var(--hg-danger-line);color:var(--hg-danger-ink)}.direct-move-board,.schedule-calendar-picker,.schedule-move-tray,.schedule-target-pane,.schedule-tools-panel{border-color:var(--line)}.schedule-calendar-header,.schedule-calendar-status{background:var(--hg-surface-soft)}.schedule-calendar-picker .calendar-date[aria-pressed=true]{background:var(--accent);color:white;border-color:var(--accent)}.schedule-date-tab{background:var(--accent);color:white}.direct-move-toolbar{background:var(--hg-surface)}.direct-move-hint,.direct-move-hint span{color:var(--muted)}.direct-grid th{background:var(--heading-surface)!important;color:var(--hg-ink)}.direct-grid td,.direct-grid th{border-color:var(--hg-line-strong)}.direct-grid td,.direct-grid tr:nth-child(2n) td{background:var(--hg-surface-soft)}.direct-place{border-color:var(--hg-line-strong);color:var(--hg-sub)}.direct-grid td.work-unavailable{background:repeating-linear-gradient(135deg,var(--hg-surface-soft),var(--hg-surface-soft) 7px,var(--hg-line) 7px,var(--hg-line) 8px)}.direct-work-reason{color:var(--hg-danger-ink)}.direct-lesson{border-color:var(--hg-line-strong)}.schedule-move-tray.direct-selection{background:var(--hg-surface-soft);box-shadow:var(--hg-shadow-tray);color:var(--ink)}.direct-selection .move-tray-card.is-selected{color:var(--hg-ink)}.direct-selection .move-tray-card.is-selected,.schedule-draft-bar{background:var(--hg-surface-soft);border-color:var(--hg-line-strong)}.schedule-draft-bar{border-top-color:var(--accent);box-shadow:var(--hg-shadow-draft)}.move-tray-float-heading{border-color:var(--line)}.student-popup{border-color:var(--hg-line-strong)}.student-popup header{background:var(--hg-surface-soft);border-color:var(--line)}.student-popup .person-menu button.current,.student-popup .person-menu button[aria-pressed=true]{background:var(--accent);color:var(--hg-surface)}.student-current button,.student-picker button{border-color:var(--line)}.fiscal-bulk-actions{background:var(--canvas)}@media print{.main-content,body,html{background:white!important;color:#111!important}.trial-strip{box-shadow:none}}.data-table.record-table>tbody>tr:not(.selected):nth-child(2n)>td{background:var(--hg-surface-soft)}.record-table>thead>tr>th{background:var(--heading-surface)}.student-popup{background:var(--hg-surface-soft);color:var(--ink)}.student-popup-bar{background:var(--hg-surface-soft);border-bottom-color:var(--line)}.student-popup-tabs [aria-current=page]{background:var(--accent);color:white}.student-week-grid th{background:var(--heading-surface)}.student-week-grid td,.student-week-grid th{border-color:var(--line)}.student-week-lesson{background:#e2f5eb;color:#235c48;border-color:#aad2bd}.student-contract-details summary,.student-week-lesson small{color:#466c59}.billing-ledger .ledger-name{color:var(--accent)}.ledger-tabs{border-color:var(--line)}.ledger-tabs button[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:white}.finance-charge-dialog{border-color:var(--line);color:var(--ink)}.current-subjects strong{background:var(--hg-surface-soft);color:var(--hg-ink)}.hagum-brand{display:flex;flex-direction:column;align-items:flex-start;gap:0;margin:0 0 20px;max-width:100%}.hagum-brand img{display:block;width:180px;height:60px;max-width:100%;object-fit:contain}.hagum-brand>span{color:#52657f;font-size:10px;line-height:1.4;letter-spacing:.16em;margin-left:64px}.login-box>.hagum-brand{margin-bottom:24px}.login-box>.hagum-brand img{width:240px;height:80px}.login-box>.hagum-brand>span{margin-left:86px;font-size:12px}.teacher-source-login-wrap>.hagum-brand{align-items:center;margin-bottom:16px}.teacher-source-login-wrap>.hagum-brand img{width:210px;height:70px}.teacher-source-login-wrap>.hagum-brand>span{margin-left:0}.teacher-source-login-wrap:before{display:none!important}.v2-trial-label{color:#1b5bc0}}@layer legacy{}@layer legacy{@media screen{:root .data-table .label,:root .data-table th.label{background:var(--hg-surface-soft)}:root input:disabled{color:var(--hg-sub);background:var(--hg-surface-soft)}:root select:disabled{color:var(--hg-sub);background:var(--hg-surface-soft)}:root .report-course{border:1px solid var(--hg-line);background:var(--hg-surface-soft)}:root .report-course>details{border-top:1px solid var(--hg-line)}:root .report-course-dialog{border:1px solid var(--hg-line)}:root .survey-tabs [aria-pressed=true]{background:var(--hg-surface-soft);border:2px solid var(--hg-accent);color:var(--hg-ink)}:root .survey-options [aria-pressed=true]{background:var(--hg-surface-soft);border:2px solid var(--hg-accent);color:var(--hg-ink)}:root .survey-rubric [aria-pressed=true]{background:var(--hg-surface-soft);border:2px solid var(--hg-accent);color:var(--hg-ink)}:root .survey-teacher [aria-pressed=true]{background:var(--hg-surface-soft);border:2px solid var(--hg-accent);color:var(--hg-ink)}:root .survey-review{background:var(--hg-surface-soft)}:root .information-options{border:1px solid var(--hg-line)}:root .v2-editor-compact :is(input,select,textarea,button):focus-visible{outline:2px solid var(--hg-accent)}:root .v2-editor-compact .household-check input,:root .v2-editor-compact .household-mode input{accent-color:var(--hg-accent)}:root .household-results button:hover{border-color:var(--hg-accent);background:var(--hg-surface-soft)}:root .household-results button.is-selected{background:var(--hg-surface-soft);border:2px solid var(--hg-accent)}:root .household-selected{background:var(--hg-surface-soft);border:2px solid var(--hg-accent)}:root .v2-editor-original input[type=checkbox],:root .v2-editor-original input[type=radio]{accent-color:var(--hg-accent)}:root .schedule-calendar-picker .calendar-date[aria-current=date] span{box-shadow:inset 0 0 0 1px var(--hg-accent)}:root .schedule-calendar-picker .calendar-date[aria-pressed=true] span{background:var(--hg-accent)}:root .schedule-calendar-actions button:hover,:root .schedule-calendar-picker .calendar-date:hover,:root .schedule-calendar-title:hover{background:var(--hg-surface-soft)}:root .schedule-calendar-status strong{color:var(--hg-accent-strong)}:root .lecture-date-list button[aria-pressed=true],:root .lecture-multi-dates td button[aria-pressed=true]{background:var(--hg-accent)}:root .candidate-option.is-selected{background:var(--hg-surface-soft);border-color:var(--hg-line)}:root .schedule-draft-bar{box-shadow:var(--hg-shadow-draft)}:root button.move-tray-card.is-selected{color:var(--hg-ink);background:var(--hg-surface-soft);border:1px solid var(--hg-accent);box-shadow:inset 0 0 0 1px var(--hg-accent)}:root .move-target-full .schedule-ghost{border:2px dashed var(--hg-accent);background:var(--hg-surface-soft);color:var(--hg-ink)}:root .contract-group legend{color:var(--hg-sub)}:root .current-subjects strong,:root .student-popup-bar{background:var(--hg-surface-soft)}:root .student-contract-details summary{color:var(--hg-sub)}:root .application .detail-identity{background:var(--hg-surface-soft)}:root .detail-identity small{color:var(--hg-sub)}:root .detail-facts dt{background:var(--hg-surface-soft)}:root .direct-move-board.is-choosing td:not(.work-unavailable){box-shadow:inset 0 0 0 1px var(--hg-line)}:root .direct-grid td.direct-drop-hover:not(.work-unavailable){box-shadow:inset 0 0 0 3px var(--hg-accent);background:var(--hg-surface-soft)!important}:root .direct-lesson.direct-picked{border:1px dashed var(--hg-accent)}:root .direct-place{color:var(--hg-sub)}:root .is-choosing .direct-place:not(:disabled){background:var(--hg-surface-soft);color:var(--hg-accent-strong);border-color:var(--hg-line)}:root .report-counters [aria-pressed=true]{background:var(--hg-surface-soft);border-color:var(--hg-accent)}:root .report-admin-table td,:root .report-admin-table th{border:1px solid var(--hg-line)}:root .report-admin-table tbody tr:nth-child(2n),:root .report-admin-table thead th{background:var(--hg-surface-soft)}:root .report-bulk-panel{border:1px solid var(--hg-line);background:var(--hg-surface-soft)}:root .report-save-actions{border-top:2px solid var(--hg-accent)}:root .report-dashboard .report-workspace-tabs button[aria-pressed=true]{background:var(--hg-accent);border-color:var(--hg-accent)}@media (max-width:600px){:root .report-admin-scroll tr{border:1px solid var(--hg-line)}}:root .inbox-avatar{background:var(--hg-accent)}:root .inbox-main-head{border-bottom:1px solid var(--hg-line)}:root .inbox-placeholder{color:var(--hg-sub)}:root .memo-note{border:1px solid var(--hg-line)}:root .memo-calendar .today{outline:2px solid var(--hg-accent)}:root .memo-calendar span{background:var(--hg-surface-soft)}:root .memo-calendar-link{border:1px solid var(--hg-line)}:root .memo-survey-day button[aria-pressed=true]{background:var(--hg-accent)}:root .pin-issued{border:2px solid var(--hg-accent)}:root .teacher-pin-manager td,:root .teacher-pin-manager th{border-bottom:1px solid var(--hg-line)}:root .teacher-pin-manager tbody tr:nth-child(2n),:root .teacher-pin-manager thead{background:var(--hg-surface-soft)}:root .tp-sheet td,:root .tp-sheet th{border:1px solid var(--hg-line)!important}:root .tp-sheet tfoot>*>*,:root .tp-sheet thead th{background:var(--hg-surface-soft)!important}:root .tp-sheet input[type=number]{border:1px solid var(--hg-line)}:root .tp-sheet input:focus{outline:2px solid var(--hg-accent)}:root .tp-sheet tbody tr:focus-within>.tp-student{background:var(--hg-surface-soft)!important}:root .tp-paper-viewport,:root .tp-print-preview iframe,:root .tp-template-settings{border:1px solid var(--hg-line)}:root ::selection{background:var(--hg-surface-soft)}:root ::selection{color:var(--hg-ink)}:root input:not([type=checkbox]):not([type=radio]),:root select,:root textarea{border-color:var(--hg-line)}:root input::placeholder{color:var(--hg-sub)}:root textarea::placeholder{color:var(--hg-sub)}:root .detail-identity,:root .schedule-calendar-header,:root .schedule-calendar-status{background:var(--hg-surface-soft)}:root .direct-grid td,:root .direct-grid th,:root .direct-place{border-color:var(--hg-line)}:root .schedule-move-tray.direct-selection{box-shadow:var(--hg-shadow-tray)}:root .direct-selection .move-tray-card.is-selected{background:var(--hg-surface-soft);border-color:var(--hg-line);color:var(--hg-accent-strong)}:root .schedule-draft-bar,:root .student-popup{border-color:var(--hg-line)}:root .data-table.record-table>tbody>tr:not(.selected):nth-child(2n)>td,:root .student-popup header{background:var(--hg-surface-soft)}:root .current-subjects strong{color:var(--hg-accent-strong)}:root .application .workspace-finder-results h2{background:var(--hg-surface-soft);color:var(--hg-sub)}:root .workspace-student-row{border-bottom:1px solid var(--hg-line)}:root .workspace-student-row:hover{background:var(--hg-surface-soft)}:root .workspace-student-links button{border-color:var(--hg-line)}:root .report-workspace-tabs [aria-pressed=true]{background:var(--hg-accent);border-color:var(--hg-accent)}:root .report-editor>h3{color:var(--hg-accent-strong)}:root .report-editor>details>summary,:root .report-editor>h3{border-bottom:1px solid var(--hg-line)}:root .report-editor>details>summary{color:var(--hg-accent-strong)}:root .report-original-section{border:1px solid var(--hg-line)}:root .report-original-section>h3{color:var(--hg-accent-strong)}:root .report-timeline-card{border:1px solid var(--hg-line)}:root .report-card-meta{color:var(--hg-sub)}:root .report-card-open{color:var(--hg-accent-strong)}:root .daily-cur-settings{border:1px solid var(--hg-line)}:root .daily-curriculum .primary{background:var(--hg-accent)}:root .teacher-workspace-header{border-bottom:1px solid var(--hg-line)}:root .teacher-lesson{border:1px solid var(--hg-line)}:root .teacher-lesson header{color:var(--hg-accent-strong)}:root .teacher-lesson dl>div{border-bottom:1px solid var(--hg-line)}:root .teacher-login-settings{border:1px solid var(--hg-line)}:root .teacher-login-issued{background:var(--hg-surface-soft)}:root .compact-output fieldset{border:1px solid var(--hg-line)}:root .compact-periods td,:root .compact-periods th{border-bottom:1px solid var(--hg-line)}:root .compact-periods th{background:var(--hg-surface-soft)}:root{--canvas:var(--hg-bg);--ink:var(--hg-ink);--accent:var(--hg-accent);--accent-hover:var(--hg-accent-strong);--accent-soft:var(--hg-surface-soft);--line:var(--hg-line);--muted:var(--hg-sub);--surface:var(--hg-surface);--surface-soft:var(--hg-surface-soft);--heading-surface:var(--hg-surface-soft);--sunshine:var(--hg-mark)}body,html{background:var(--canvas);color:var(--ink)}:root .main-content,:root .trial-strip{background:var(--hg-surface)}:root .trial-strip{border-color:var(--hg-line);box-shadow:inset 0 3px 0 var(--hg-accent)}:root .v2-trial-label{background:var(--hg-surface-soft);color:var(--hg-accent-strong)}:root .v2-trial-label,:root button{border-color:var(--hg-line)}:root button:hover:not(:disabled,[aria-pressed=true],[aria-selected=true],[aria-current=page],[aria-current=true],.current,.active,.is-selected,.selected){background:var(--hg-surface-soft);border-color:var(--hg-accent)}:root .ledger-tabs button[aria-pressed=true]:hover:not(:disabled){background:var(--accent);border-color:var(--accent);color:var(--hg-surface)}:root .button-row button[type=submit],:root .daily-curriculum .primary,:root button.primary,:root button[type=submit]{background:var(--hg-accent);border-color:var(--hg-accent);color:var(--hg-surface)}:root .button-row button[type=submit]:hover:not(:disabled),:root button.primary:hover:not(:disabled),:root button[type=submit]:hover:not(:disabled){background:var(--hg-accent-strong);border-color:var(--hg-accent-strong);color:var(--hg-surface)}:root input:not([type=checkbox]):not([type=radio]),:root select,:root textarea{border-color:var(--hg-line);color:var(--hg-ink)}}@media screen{:root input::placeholder,:root textarea::placeholder{color:var(--hg-sub)}:root input[type=checkbox],:root input[type=radio]{accent-color:var(--hg-accent)}:root input:disabled,:root select:disabled{background:var(--hg-surface-soft);color:var(--hg-sub)}:root :focus-visible{outline-color:var(--hg-accent)}:root .text-link,:root a{color:var(--hg-accent-strong)}:root .login-box{background:var(--hg-surface);border-color:var(--hg-line);box-shadow:var(--hg-shadow-login)}:root .compact-periods th,:root .data-table th,:root .record-table>thead>tr>th,:root .report-admin-table thead th,:root .teacher-pin-manager thead,:root .tp-sheet thead th{background:var(--hg-surface-soft);color:var(--hg-ink)}:root .data-table.record-table>tbody>tr:not(.selected):nth-child(2n)>td,:root .report-admin-table tbody tr:nth-child(2n),:root .teacher-pin-manager tbody tr:nth-child(2n){background:var(--hg-surface-soft)}:root .student-popup{background:var(--hg-surface)}:root .student-popup header,:root .student-popup-bar{background:var(--hg-surface-soft)}:root .direct-grid th{background:var(--hg-surface-soft)!important;color:var(--hg-ink)}:root .direct-grid td{background:var(--hg-surface)}:root .direct-grid tr:nth-child(2n) td{background:var(--hg-surface-soft)}:root .direct-grid tr td.work-unavailable{background:repeating-linear-gradient(135deg,var(--hg-bg),var(--hg-bg) 7px,var(--hg-line) 7px,var(--hg-line) 8px)}:root .schedule-draft-bar,:root .schedule-move-tray.direct-selection{background:var(--hg-surface)}:root .schedule-calendar-header,:root .schedule-calendar-status{background:var(--hg-surface-soft)}:root .teacher-workspace{background:var(--hg-bg);color:var(--hg-ink)}:root .teacher-workspace nav [aria-current=page]{background:var(--hg-surface-soft);color:var(--hg-accent-strong);border-color:var(--hg-accent)}:root{--theme-sidebar:#f4f6fa;--theme-accent:#0b74e5;--theme-hover:color-mix(in srgb,#0b74e5 90%,#000000);--theme-heading:#f4f6fa;--theme-soft:#f4f6fa;--theme-canvas:#fcfcfc;--theme-line:#e5e5e5;--theme-ink:#333333;--theme-muted:#666666}:root[data-hagum-theme]{--theme-top-bg:var(--hg-surface);--theme-top-ink:var(--theme-ink);--theme-top-line:var(--theme-line);--theme-top-hover:var(--theme-soft);--theme-top-hover-line:var(--theme-accent);--theme-nav-ink:var(--theme-ink);--theme-nav-selected:var(--theme-heading);--theme-heading-ink:var(--theme-ink);--theme-control-line:var(--theme-line);--theme-accent-line:var(--theme-line)}:root[data-hagum-theme=sakura]{--theme-sidebar:#f8e0dc;--theme-accent:#99516f;--theme-hover:#783c56;--theme-heading:#f8ddd8;--theme-soft:#fff7f4;--theme-canvas:#faf5f2;--theme-line:#dccbc8;--theme-ink:#27332f;--theme-muted:#55625e;--theme-lesson-regular:#fff0b7;--theme-lesson-makeup:#e6ddf0;--theme-lesson-testprep:#d7e8d6;--theme-lesson-lecture:#ecd5e1;--theme-lesson-courseRegular:#c6e5ed;--theme-lesson-trial:#f2dce6;--theme-lesson-special:#f2e4bb;--theme-lesson-online:#d4e8e5;--theme-lesson-other:#e5e5e2}:root[data-hagum-theme=mint]{--theme-sidebar:#c7e8df;--theme-accent:#23776e;--theme-hover:#195d56;--theme-heading:#bbddd1;--theme-soft:#f2f9f4;--theme-canvas:#f4f7f1;--theme-line:#c2d6ce;--theme-ink:#27332f;--theme-muted:#55625e;--theme-lesson-regular:#d8e9a6;--theme-lesson-makeup:#f1d4df;--theme-lesson-testprep:#d1e5db;--theme-lesson-lecture:#dae3f1;--theme-lesson-courseRegular:#c6e5ed;--theme-lesson-trial:#f2dce6;--theme-lesson-special:#f2e4bb;--theme-lesson-online:#d4e8e5;--theme-lesson-other:#e5e5e2}:root[data-hagum-theme=steel]{--theme-sidebar:#9bbad0;--theme-accent:#204e73;--theme-hover:#153b5a;--theme-heading:#91b0ca;--theme-soft:#f0f6f7;--theme-canvas:#f4f6f3;--theme-line:#becfd5;--theme-ink:#27332f;--theme-muted:#55625e;--theme-lesson-regular:#c1dfcd;--theme-lesson-makeup:#e6dbb9;--theme-lesson-testprep:#d8e6f0;--theme-lesson-lecture:#dfd6ea;--theme-lesson-courseRegular:#c6e5ed;--theme-lesson-trial:#f2dce6;--theme-lesson-special:#f2e4bb;--theme-lesson-online:#d4e8e5;--theme-lesson-other:#e5e5e2}:root[data-hagum-theme=aqua]{--theme-sidebar:#ddf0e9;--theme-accent:#27776e;--theme-hover:#1a5b55;--theme-heading:#dcefe9;--theme-soft:#f4faf8;--theme-canvas:#f5f8f4;--theme-line:#c9dcd5;--theme-ink:#27332f;--theme-muted:#55625e;--theme-lesson-regular:#d1e8f6;--theme-lesson-makeup:#fbe2c9;--theme-lesson-testprep:#d1e8db;--theme-lesson-lecture:#e9def1;--theme-lesson-courseRegular:#c6e5ed;--theme-lesson-trial:#f2dce6;--theme-lesson-special:#f2e4bb;--theme-lesson-online:#d4e8e5;--theme-lesson-other:#e5e5e2}:root[data-hagum-theme=cream]{--theme-sidebar:#fff7e5;--theme-accent:#846219;--theme-hover:#664b12;--theme-heading:#fff2d4;--theme-soft:#fffaf0;--theme-canvas:#faf8ef;--theme-line:#ddd6c2;--theme-ink:#27332f;--theme-muted:#55625e;--theme-lesson-regular:#c8e3cd;--theme-lesson-makeup:#cde7ef;--theme-lesson-testprep:#f4dfb9;--theme-lesson-lecture:#e4d9ec;--theme-lesson-courseRegular:#c6e5ed;--theme-lesson-trial:#f2dce6;--theme-lesson-special:#f2e4bb;--theme-lesson-online:#d4e8e5;--theme-lesson-other:#e5e5e2}:root[data-hagum-theme=lavender]{--theme-sidebar:#adb9d6;--theme-accent:#475b8c;--theme-hover:#34466e;--theme-heading:#a7b5d6;--theme-soft:#f4f5fa;--theme-canvas:#f6f6f2;--theme-line:#cbd0df;--theme-ink:#27332f;--theme-muted:#55625e;--theme-lesson-regular:#d5d0b4;--theme-lesson-makeup:#d1e2d5;--theme-lesson-testprep:#eadadf;--theme-lesson-lecture:#dbe5f0;--theme-lesson-courseRegular:#c6e5ed;--theme-lesson-trial:#f2dce6;--theme-lesson-special:#f2e4bb;--theme-lesson-online:#d4e8e5;--theme-lesson-other:#e5e5e2}:root[data-hagum-theme=greige]{--theme-sidebar:#d5cebe;--theme-accent:#586b67;--theme-hover:#40534f;--theme-heading:#d2cbbb;--theme-soft:#f8f7f2;--theme-canvas:#f7f6f0;--theme-line:#d2cfc4;--theme-ink:#27332f;--theme-muted:#55625e;--theme-lesson-regular:#d2d5d1;--theme-lesson-makeup:#e3d6ce;--theme-lesson-testprep:#d8e0d2;--theme-lesson-lecture:#e2dce6;--theme-lesson-courseRegular:#c6e5ed;--theme-lesson-trial:#f2dce6;--theme-lesson-special:#f2e4bb;--theme-lesson-online:#d4e8e5;--theme-lesson-other:#e5e5e2}:root[data-hagum-theme=accessible]{--theme-sidebar:#f4f6fa;--theme-accent:#0072b2;--theme-hover:#005a8d;--theme-heading:#e8f4fb;--theme-soft:#f4f6fa;--theme-canvas:#fcfcfc;--theme-line:#dedede;--theme-ink:#222222;--theme-muted:#555555;--theme-lesson-courseRegular:#0072b2;--theme-lesson-courseRegular-ink:#ffffff;--theme-lesson-regular:#56b4e9;--theme-lesson-regular-ink:#111111;--theme-lesson-makeup:#e69f00;--theme-lesson-makeup-ink:#111111;--theme-lesson-testprep:#009e73;--theme-lesson-testprep-ink:#111111;--theme-lesson-lecture:#cc79a7;--theme-lesson-lecture-ink:#111111;--theme-lesson-trial:#d55e00;--theme-lesson-trial-ink:#111111;--theme-lesson-special:#f0e442;--theme-lesson-special-ink:#111111;--theme-lesson-online:#56b4e9;--theme-lesson-online-ink:#111111;--theme-lesson-other:#e5e5e5;--theme-lesson-other-ink:#111111}}}@layer legacy{@media screen{:root[data-hagum-theme] .data-table,:root[data-hagum-theme] .direct-grid :is(th,td){border-color:var(--theme-line)}:root[data-hagum-theme] .main-content{background:var(--hg-surface)}:root[data-hagum-theme] .schedule-waiting{background:var(--theme-soft)}:root[data-hagum-theme] .glow-inbox .msg.juku .bubble,:root[data-hagum-theme] .glow-inbox :is(.compose-send-btn,.inbox-compose-btn){background:var(--theme-accent);color:var(--hg-surface)}:root[data-hagum-theme] .glow-inbox :is(.inbox-refresh-btn,.talk-back,.msg-act:not(.danger),.attachment-row a){color:var(--theme-hover)}:root[data-hagum-theme] .glow-inbox .inbox-refresh-btn{border-color:var(--theme-accent)}:root[data-hagum-theme] .glow-inbox .inbox-refresh-btn:hover{background:var(--theme-accent);color:var(--hg-surface)}:root[data-hagum-theme] .glow-inbox :is(.inbox-body,.talk-topbar){background:var(--theme-soft)}:root[data-hagum-theme] .glow-inbox .inbox-student-row.active{background:var(--theme-heading)}:root[data-hagum-theme]:not([data-hagum-custom-colors~=courseRegular]) [data-lesson-type=courseRegular]{background:var(--theme-lesson-courseRegular)!important;color:var(--theme-lesson-courseRegular-ink,#172b24)!important}:root[data-hagum-theme]:not([data-hagum-custom-colors~=regular]) [data-lesson-type=regular]{background:var(--theme-lesson-regular)!important;color:var(--theme-lesson-regular-ink,#172b24)!important}:root[data-hagum-theme]:not([data-hagum-custom-colors~=makeup]) [data-lesson-type=makeup]{background:var(--theme-lesson-makeup)!important;color:var(--theme-lesson-makeup-ink,#172b24)!important}:root[data-hagum-theme]:not([data-hagum-custom-colors~=testprep]) [data-lesson-type=testprep]{background:var(--theme-lesson-testprep)!important;color:var(--theme-lesson-testprep-ink,#172b24)!important}:root[data-hagum-theme]:not([data-hagum-custom-colors~=lecture]) [data-lesson-type=lecture]{background:var(--theme-lesson-lecture)!important;color:var(--theme-lesson-lecture-ink,#172b24)!important}:root[data-hagum-theme]:not([data-hagum-custom-colors~=trial]) [data-lesson-type=trial]{background:var(--theme-lesson-trial)!important;color:var(--theme-lesson-trial-ink,#172b24)!important}:root[data-hagum-theme]:not([data-hagum-custom-colors~=special]) [data-lesson-type=special]{background:var(--theme-lesson-special)!important;color:var(--theme-lesson-special-ink,#172b24)!important}:root[data-hagum-theme]:not([data-hagum-custom-colors~=online]) [data-lesson-type=online]{background:var(--theme-lesson-online)!important;color:var(--theme-lesson-online-ink,#172b24)!important}:root[data-hagum-theme]:not([data-hagum-custom-colors~=other]) [data-lesson-type=other]{background:var(--theme-lesson-other)!important;color:var(--theme-lesson-other-ink,#172b24)!important}}.color-template-open{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.color-template-open>span{width:13px;height:13px;border-radius:50%;box-shadow:var(--hg-shadow-swatch)}.color-template-dialog{width:780px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 32px);padding:0;border:1px solid var(--hg-line);border-radius:14px;background:var(--hg-surface);color:var(--hg-ink);box-shadow:var(--hg-shadow-pop);overflow:auto}.color-template-dialog::backdrop{background:var(--hg-scrim)}.color-template-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px 22px 14px;position:sticky;top:0;background:var(--hg-surface);z-index:2;border-bottom:1px solid var(--hg-line)}.color-template-heading h2{font-size:20px;margin:0}.color-template-heading p{font-size:13px;color:var(--hg-sub);margin:5px 0 0}.color-template-heading>button{min-width:36px;min-height:36px;padding:0;font-size:24px;line-height:1}.color-template-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:18px 20px;margin:0;border:0;min-width:0}.color-template-option{position:relative;display:block;cursor:pointer;min-width:0;border:2px solid var(--hg-line-strong);border-radius:9px;padding:6px;background:var(--hg-surface);color:var(--hg-ink)}.color-template-option.is-selected{border-color:var(--hg-accent);box-shadow:0 0 0 1px var(--hg-accent)}.color-template-option:focus-within{outline:3px solid var(--hg-accent);outline-offset:3px}.color-template-option input{position:absolute;opacity:0;inset:0;pointer-events:none}.color-template-dialog .color-template-name{display:flex;align-items:center;justify-content:space-between;font-size:13px;font-weight:700;margin:7px 2px 0}.color-template-dialog .color-template-name>span{color:var(--hg-accent);font-size:16px}.color-template-option>small{display:block;font-size:11px;line-height:1.5;color:var(--hg-sub);margin:2px}.color-template-dialog .theme-preview{display:flex;width:100%;height:96px;background:var(--hg-surface);border:1px solid var(--sample-line);border-radius:4px;overflow:hidden}.color-template-dialog .theme-preview-sidebar{width:25%;padding:8px 4px;background:var(--sample-sidebar);display:flex;flex-direction:column;gap:6px}.color-template-dialog .theme-preview-sidebar>b{font-size:10px;line-height:14px;color:var(--hg-surface);background:var(--sample-accent);border-radius:3px;width:14px;text-align:center}.color-template-dialog .theme-preview-sidebar>i{height:3px;width:80%;background:var(--sample-accent);opacity:.3;border-radius:2px}.color-template-dialog .theme-preview-sidebar>i:nth-child(3){height:7px;width:100%;opacity:1}.color-template-dialog .theme-preview-main{width:75%;padding:4px}.color-template-dialog .theme-preview-title{display:block;font-size:8px;line-height:13px;color:var(--hg-ink)}.color-template-dialog .theme-preview-days{display:block;font-size:7px;line-height:13px;background:var(--sample-heading);text-align:center;color:var(--hg-ink)}.color-template-dialog .theme-preview-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));height:55px}.color-template-dialog .theme-preview-grid>span{border:1px solid var(--sample-line);border-top:0;border-left:0;background:var(--sample-soft);padding:2px 1px}.color-template-dialog .theme-preview-grid i{display:block;height:100%;border-radius:2px;box-shadow:var(--hg-shadow-preview)}.color-template-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;position:sticky;bottom:0;padding:14px 22px;background:var(--hg-surface);border-top:1px solid var(--hg-line);z-index:2}.color-template-footer p{font-size:13px;font-weight:700;margin:0 0 3px}.color-template-footer small{font-size:11px;color:var(--hg-sub);display:block}.color-template-footer button{flex-shrink:0}.theme-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}@media(max-width:600px){.color-template-options{grid-template-columns:repeat(2,minmax(0,1fr));padding:14px;gap:12px}.color-template-heading{padding:16px 14px 12px}.color-template-footer{padding:12px 14px;gap:10px}.color-template-heading h2{font-size:18px}.color-template-dialog .theme-preview{height:92px}}@media print{.color-template-dialog,.color-template-open{display:none!important}}@media screen{:root .direct-grid thead th,:root .direct-grid-heading thead th{background:var(--hg-surface-soft)!important;color:var(--hg-ink)!important;border-color:var(--hg-line)!important;border-bottom:2px solid var(--hg-line-strong)!important;font-weight:700}:root .direct-grid thead th small,:root .direct-grid-heading thead th small{color:var(--hg-ink);opacity:1}:root .schedule-board .direct-grid thead th,:root .schedule-board .direct-grid-heading thead th{background:var(--hg-surface-soft)!important;color:var(--hg-ink)!important;border-color:var(--hg-line-strong)!important;border-bottom:1px solid var(--hg-line-strong)!important;font-weight:400;line-height:1.35;vertical-align:middle;height:42px!important}:root .schedule-board .direct-grid thead th small,:root .schedule-board .direct-grid-heading thead th small{color:inherit;opacity:1;white-space:normal}:root .direct-grid tbody th{background:var(--hg-surface-soft)!important;color:var(--hg-ink)!important;border-right:2px solid var(--hg-line-strong)!important;border-bottom:2px solid var(--hg-line)!important;font-weight:700}:root .direct-grid tbody td{border-bottom:2px solid var(--hg-line)}:root .direct-grid tbody tr:nth-child(2n) td:not(.work-unavailable):not(.direct-drop-hover){background:var(--hg-surface-soft)}:root .direct-grid .direct-lesson{box-shadow:var(--hg-shadow-lesson);border-left-width:3px}:root .direct-grid .direct-lesson:focus-within{outline:2px solid var(--hg-accent);outline-offset:1px}:root .direct-grid .direct-lesson.direct-picked{outline:2px dashed var(--hg-accent);outline-offset:1px}}.daily-print-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 8px}.daily-print-controls label{display:flex;align-items:center;gap:4px;font-size:12px}.daily-print-controls [role=alert]{color:var(--hg-danger)}@media print{.daily-print-controls{display:none}}.schedule-output-top{padding:8px;border:1px solid var(--hg-line);border-radius:8px;margin:0 0 10px;background:var(--hg-surface)}.schedule-output-top .daily-print-controls{display:inline-flex;margin:0}.schedule-output-top .output-common{flex-wrap:wrap}.schedule-output-top .output-formats{margin-top:6px}.schedule-print-layout{font-size:11px;font-weight:700;color:var(--hg-sub);white-space:nowrap}.lesson-kind-label{display:block;font-size:10px;line-height:1.3;font-weight:400;white-space:normal}}@layer legacy{@media screen{.application .work-area{width:100%;max-width:1200px;min-width:0;box-sizing:border-box}.application .work-area:has(table>thead>tr>th:nth-child(10)){max-width:1600px}.application .work-area:is([data-screen="schedule.cgi"],[data-screen=utility_day_moves],[data-screen=utility_regular_moves],[data-screen=utility_lecture_move],[data-screen=utility_lecture_schedule],[data-screen=utility_lecture_availability],[data-screen=utility_seats],[data-screen="lecture_schedule.cgi"],[data-screen="lecture_child_schedule.cgi"],[data-screen="attendance.cgi"]){max-width:none}.application .work-area:has(.direct-grid-viewport,.schedule-current-grid,.lecture-day-board,.lecture-availability,.availability-matrix){max-width:none}.application .work-area:is([data-screen="child_entry.cgi"],[data-screen="child_edit.cgi"],[data-screen="child_family_edit.cgi"],[data-screen="child_parent_edit.cgi"],[data-screen="teacher_entry.cgi"],[data-screen="teacher_edit.cgi"],[data-screen="teacher_family_edit.cgi"],[data-screen="kyoushitsu.cgi"],[data-screen="kyoushitsu_teaching_time.cgi"],[data-screen="kyoushitsu_holiday.cgi"],[data-screen="kyoushitsu_menu.cgi"],[data-screen=utility_weather_closure],[data-screen=utility_month_locks]){max-width:960px}.application .work-area:is([data-screen=utility_seminar_assign],[data-screen=utility_seminar_proposals],[data-screen=utility_seminar_applications]){max-width:1440px}.application .work-area:is([data-screen="kakin_claim_class.cgi"],[data-screen="kakin_claim_charge_child.cgi"],[data-screen="kakin_sales_month.cgi"],[data-screen="kakin_payment_charge_teacher.cgi"]){max-width:1600px}.application .billing-ledger{max-width:1040px}.application .finance-summary{max-width:1120px}.application .fc-workspace{max-width:1080px;margin-inline:0}:is(.application,.student-workspace,.teacher-workspace,.report-portal) .data-table.record-table{min-width:0;width:max-content;max-width:100%}.application .record-table-scroll{max-width:100%}.application .contract-workspace .contract-table,.application .lecture-teacher-roster table{width:100%}.application .lecture-info-form{max-width:960px}.application .teacher-login-settings{max-width:840px}.application .period-table-wrap{max-width:960px}.application .glow-inbox{max-width:1200px}.application .glow-inbox .msg-col{max-width:min(78%,64ch);overflow-wrap:anywhere}.application .glow-inbox .msg.editing .msg-col{max-width:100%}.application .work-area>p{max-width:85ch}.application .work-area>.saved,.application .work-area>.warning{max-width:100%}.application .work-area input,.application .work-area select,.application .work-area textarea{box-sizing:border-box}.application .glow-inbox :is(button,input,textarea,select):focus-visible{outline:2px solid var(--accent,#2671e6);outline-offset:2px}}@media screen and (max-width:700px){.application .work-area{max-width:100%}.application .work-area>.toolbar{flex-wrap:wrap}.application .glow-inbox .msg-col{max-width:88%}}@media screen and (pointer:coarse){.glow-inbox :is(button,input:not([type=checkbox]),select){min-height:40px}.glow-inbox .m-inbox-back{min-width:40px;flex-basis:40px}}@media screen{@container (max-width:700px){.glow-inbox .inbox-wrap{display:block;height:auto;overflow:visible;border:0}.glow-inbox .inbox-list-pane,.glow-inbox .inbox-main{display:none;width:100%;border:0}.glow-inbox .inbox-wrap[data-mview=list] .inbox-list-pane{display:flex}.glow-inbox .inbox-wrap:is([data-mview=threads],[data-mview=talk]) .inbox-main{display:flex}.glow-inbox .m-inbox-back{display:inline-flex;align-items:center;justify-content:center;min-width:40px;min-height:40px}.glow-inbox .inbox-main-head{flex-wrap:wrap;gap:6px;padding:8px}.glow-inbox .inbox-body{padding:10px}.glow-inbox .msg-col{max-width:88%}.glow-inbox .compose-card{padding:12px}}}@media screen{.application .v2-field>textarea{width:100%;min-width:0;max-width:100%!important}}@media screen and (max-width:700px){.role-parent .work-area:is([data-screen=parent_notices],[data-screen=parent_home],[data-screen=parent_schedule]) .record-table{display:block;width:100%;max-width:100%}.role-parent .work-area:is([data-screen=parent_notices],[data-screen=parent_home],[data-screen=parent_schedule]) .record-table thead{display:none}.role-parent .work-area:is([data-screen=parent_notices],[data-screen=parent_home],[data-screen=parent_schedule]) .record-table tbody{display:block}.role-parent .work-area:is([data-screen=parent_notices],[data-screen=parent_home],[data-screen=parent_schedule]) .record-table tbody tr{display:block;border:1px solid var(--line,#d5deea);border-radius:6px;margin:8px 0;padding:8px;background:white}.role-parent .work-area:is([data-screen=parent_notices],[data-screen=parent_home],[data-screen=parent_schedule]) .record-table tbody td{display:block;white-space:normal;min-width:0;max-width:none;border:0;padding:4px 6px;overflow-wrap:anywhere}.role-parent .work-area:is([data-screen=parent_notices],[data-screen=parent_home],[data-screen=parent_schedule]) .record-table td[data-label]:before{content:attr(data-label);display:inline-block;min-width:6em;margin-right:8px;color:#526276;font-size:12px}.role-parent .work-area[data-screen=parent_notices] .record-table td:first-child{font-weight:600;margin-bottom:4px}.role-parent .work-area[data-screen=parent_notices] .record-table td:first-child:before{display:none}}@media screen{.report-pin-login.login-box{max-width:520px}.application .batch-lessons-panel,.application .course-regular-panel{max-width:1200px}.communication-archive-record{max-width:80ch;overflow-wrap:anywhere}.floating-actions{max-width:960px;box-sizing:border-box}}@media screen{.application .work-area[data-screen=gradebook]:has([aria-label="成績QRの検索"]){max-width:1440px}}@media screen{.broadcast-mail .mail-body{max-width:72ch;box-sizing:border-box}.broadcast-mail .mail-card{max-width:840px;box-sizing:border-box}.broadcast-mail textarea{max-width:min(100%,840px)}.parent-profile{max-width:960px}.parent-invoices,.parent-profile{width:100%;min-width:0;box-sizing:border-box}.parent-invoices{max-width:800px}.parent-invoice-line strong{flex-shrink:0}.parent-invoice-line{flex-wrap:wrap}.data-table.record-table>tbody>tr>td.record-cell-screen-wrap{min-width:0;max-width:40ch;white-space:normal;overflow-wrap:anywhere}.delivery-status{max-width:1100px;min-width:0}.delivery-status-scroll{max-width:100%;overflow-x:auto}.delivery-status-table{width:100%;min-width:720px;table-layout:auto}.delivery-status-table td{vertical-align:top}.delivery-status-table td:nth-child(2),.delivery-status-table td:nth-child(3){white-space:nowrap}.delivery-status-table .delivery-status-long{min-width:16ch;max-width:36ch;white-space:normal;overflow-wrap:anywhere}.delivery-status-table .delivery-status-retry{min-width:180px;max-width:260px}.delivery-status-retry form{display:flex;flex-wrap:wrap;gap:6px;min-width:0;max-width:100%}.delivery-status-retry input{width:100%;min-width:0;max-width:100%;box-sizing:border-box}.delivery-status-retry button{max-width:100%;white-space:normal}.student-popup-bar{flex-wrap:wrap}.student-popup-bar>:not(button){min-width:0;overflow-wrap:anywhere}.student-popup-bar>button{flex-shrink:0;margin-left:auto}.direct-move-board:focus-visible,.teacher-source-login :is(input,select):focus-visible{outline:2px solid var(--accent,#2671e6);outline-offset:2px}}@media screen and (pointer:coarse){.student-popup :is(.student-popup-bar,.student-popup-tabs) button,.workspace-finder .student-popup-bar button{min-height:40px;min-width:40px}}.offsite-backup-line{display:flex;flex-wrap:wrap;align-items:center;gap:3px 7px;margin-top:4px;font-size:11px;line-height:1.35;color:inherit}.offsite-backup-line button{font:inherit;padding:2px 6px;min-height:26px;border:1px solid;border-radius:4px;background:transparent;color:inherit;cursor:pointer}.offsite-backup-line button:focus-visible{outline:2px solid var(--accent,#2671e6);outline-offset:2px}.offsite-backup-line button:disabled{opacity:.55;cursor:default}.offsite-backup-reason{flex-basis:100%}.offsite-backup-alert{color:#ad302c;font-weight:700}@media (pointer:coarse){.offsite-backup-line button{min-height:40px}}.storage-compact-panel{max-width:960px;margin:16px 0;padding:16px;border:1px solid #ccd3d9;border-radius:8px;background:#fff;color:#17202a}.storage-compact-panel h2{margin:0 0 8px;font-size:1.15rem}.storage-compact-panel p{margin:8px 0}.storage-compact-panel button{min-height:36px;padding:6px 12px;cursor:pointer}.storage-compact-panel button:focus-visible,.storage-compact-panel input:focus-visible,.storage-compact-panel summary:focus-visible{outline:2px solid #2671e6;outline-offset:2px}.storage-compact-panel button:disabled{opacity:.55;cursor:default}.storage-compact-preview{margin-top:12px}.storage-compact-confirm{margin-top:12px;padding:12px;border:1px solid #bdc8d2;border-radius:6px}.storage-compact-table{max-width:100%;overflow:auto}.storage-compact-table table{border-collapse:collapse;font-size:.88rem;min-width:520px}.storage-compact-table td,.storage-compact-table th{border-bottom:1px solid #dbe1e6;padding:4px 8px;text-align:right;white-space:nowrap}.storage-compact-table th:first-child{text-align:left}}@layer legacy{@media screen{html{--business-field-size:14px;--business-field-height:32px}html.business-large{--business-field-size:18px;--business-field-height:44px}[data-field-profile]:not([data-field-profile=toggle]):not([data-field-profile=hidden]):not([data-field-profile=dedicated]):not([data-field-profile=color]):not([data-field-profile=file]){box-sizing:border-box;font-size:var(--business-field-size)!important;min-width:0!important;max-width:100%!important}input[data-field-profile]:not([data-field-profile=toggle]):not([data-field-profile=hidden]):not([data-field-profile=color]):not([data-field-profile=file]),select[data-field-profile]{min-height:var(--business-field-height)!important;height:var(--business-field-height)!important;padding-block:4px!important}[data-field-profile]:not([data-field-cell]){flex-grow:0!important}[data-field-profile=number]:not([data-field-cell]){width:9ch!important}[data-field-profile=money]:not([data-field-cell]){width:13ch!important}[data-field-profile=year]:not([data-field-cell]){width:10ch!important}[data-field-profile=id]:not([data-field-cell]){width:16ch!important}[data-field-profile=password]:not([data-field-cell]){width:26ch!important}[data-field-profile=phone]:not([data-field-cell]){width:18ch!important}[data-field-profile=postal]:not([data-field-cell]){width:var(--field-postal-width,10ch)!important}[data-field-profile=date]:not([data-field-cell]){width:11em!important}[data-field-profile=month]:not([data-field-cell]){width:10em!important}[data-field-profile=time]:not([data-field-cell]){width:8em!important}[data-field-profile=date-text]:not([data-field-cell]){width:22ch!important}[data-field-profile=search]:not([data-field-cell]){width:var(--field-search-width,26ch)!important}[data-field-profile=name]:not([data-field-cell]){width:14em!important}[data-field-profile=label]:not([data-field-cell]){width:var(--field-label-width,16em)!important}[data-field-profile=title]:not([data-field-cell]){width:var(--field-title-width,28em)!important}[data-field-profile=address]:not([data-field-cell]){width:32em!important}[data-field-profile=email]:not([data-field-cell]){width:32ch!important}[data-field-profile=select]:not([data-field-cell]){width:var(--field-option-width,16em)!important}[data-field-profile=long-text]{width:var(--field-long-text-width,56ch)!important;height:auto!important;min-height:5em!important;resize:vertical}[data-field-profile=text]:not([data-field-cell]){width:24ch!important}[data-field-cell]{width:100%;max-width:100%}html:not(.business-large) input[data-field-cell]:not([type=checkbox]):not([type=radio]),html:not(.business-large) select[data-field-cell]{height:28px!important;min-height:28px!important}[data-field-profile]:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--accent,#2671e6)!important;outline-offset:2px!important}html.business-large :is(.work-form,.student-registration-settings,.report-books-dialog,.account-create-fields,.payroll-filters,.v2-field){font-size:18px}html.business-large :is(.work-form,.student-registration-settings,.report-books-dialog,.toolbar,.button-row) button{font-size:17px;min-height:44px}html.business-large [data-field-profile=toggle]{width:24px!important;height:24px!important;min-height:24px!important}.business-display-control{display:inline-flex;gap:2px;flex:none;border:1px solid var(--line,#cbd6e5);border-radius:5px;padding:2px;background:white;align-items:center}.business-display-control button{min-height:28px!important;font-size:12px!important;padding:3px 6px!important;border:0!important;white-space:nowrap;background:transparent;color:#284264;border-radius:3px}.business-display-control button[aria-pressed=true]{background:#e6efff;color:#1456b9;font-weight:700}.teacher-workspace-header{flex-wrap:wrap}.business-large .business-display-control button{font-size:15px!important;min-height:40px!important}}@media screen and (max-width:700px){.business-display-control{max-width:100%}.business-display-control button{padding-inline:5px!important}.student-registration-settings .srs-date-preview{font-size:13px}}@media screen{.application .form-panel.semantic-form{max-width:800px;padding:10px 12px;margin-bottom:12px}.field-required{display:inline-block;font-size:11px;line-height:1.5;margin-left:5px;padding:0;border-radius:0;color:#916868;background:transparent;white-space:nowrap;font-weight:400}html.business-large :is(.work-area,.report-portal,.student-workspace) :is(label,legend,td,th){font-size:18px!important}html.business-large :is(.work-area,.report-portal,.student-workspace) button{font-size:17px;min-height:44px}html.business-large .field-required{font-size:12px}.standalone-viewport-edge{position:fixed;inset:0 0 auto;height:11px;min-height:11px;margin:0;padding:0;border:0;z-index:2147483647;pointer-events:none;background:var(--theme-soft,var(--surface-soft,#f6f8fc));-webkit-background-clip:text;background-clip:text}}}@layer legacy{@media print{.standalone-viewport-edge{display:none}}}@layer legacy.hg-base{@media screen{:where(.hg-base) body{background:var(--hg-bg);color:var(--hg-ink);font-family:var(--hg-font);font-size:var(--hg-text);line-height:var(--hg-line-height)}:where(.hg-base) :is(button,input,select,textarea){font:inherit;color:inherit}:where(.hg-base) button{min-height:var(--hg-control);padding:0 14px;border:1px solid var(--hg-line-strong);border-radius:var(--hg-r-s);background:var(--hg-surface);color:var(--hg-ink);font-size:var(--hg-text);font-weight:600;cursor:pointer}:where(.hg-base) button:hover:not(:disabled){background:var(--hg-surface-soft)}:where(.hg-base) button:disabled{opacity:var(--hg-disabled-opacity);cursor:not-allowed}:where(.hg-base) :is(input:not([type=checkbox],[type=radio],[type=file],[type=color],[type=range]),select,textarea){min-height:var(--hg-control);border:1px solid var(--hg-line-strong);border-radius:var(--hg-r-s);background:var(--hg-surface);padding:0 10px;font-size:var(--hg-text-input)}:where(.hg-base) textarea{padding:8px 10px}:where(.hg-base) :is(input[type=checkbox],input[type=radio]){width:var(--hg-check);height:var(--hg-check);accent-color:var(--hg-accent)}:where(.hg-base) table{border-collapse:collapse}:where(.hg-base) th{background:var(--hg-surface-soft);color:var(--hg-sub);font-size:var(--hg-text-s);font-weight:700;text-align:left}:where(.hg-base) :is(th,td){padding:4px 10px;border-bottom:1px solid var(--hg-row-line)}:where(.hg-base) h1{font-size:var(--hg-h1);font-weight:700;line-height:1.35}:where(.hg-base) h2{font-size:var(--hg-h2);font-weight:700;line-height:1.4}:where(.hg-base) h3{font-size:var(--hg-h3);font-weight:700}:where(.hg-base) a{color:var(--hg-accent)}:where(.hg-base) :is(button,a,input,select,textarea,[tabindex]):focus-visible{outline:2px solid var(--hg-accent);outline-offset:1px}:where(.hg-base) .num{font-feature-settings:"tnum";font-variant-numeric:tabular-nums;text-align:right}}}@layer legacy{@media screen{body{background:var(--hg-bg);font-size:var(--hg-text);line-height:var(--hg-line-height)}body,button{color:var(--hg-ink)}button{min-height:var(--hg-control);padding:4px 14px;border:1px solid var(--hg-line-strong);border-radius:var(--hg-r-s);background:var(--hg-surface);font-weight:600;line-height:1.4}:root button{border-color:var(--hg-line-strong)}:root button:hover:not(:disabled,[aria-pressed=true],[aria-selected=true],[aria-current=page],[aria-current=true],.current,.active,.is-selected,.selected){background:var(--hg-surface-soft);border-color:var(--hg-line-strong)}button:disabled{opacity:var(--hg-disabled-opacity);cursor:not-allowed}.button-row button:first-child:not([type=button]),.button-row button[type=submit],:root .button-row button[type=submit],:root .daily-curriculum .primary,:root button.primary,:root button[type=submit],button.primary,button:is(.rw-primary,.sa-primary,.spm-primary,.source-primary,.srs-primary){background:var(--hg-accent);border-color:var(--hg-accent);color:var(--hg-on-accent)}.button-row button:first-child:not([type=button]):hover,.button-row button[type=submit]:hover,:root .button-row button[type=submit]:hover:not(:disabled),:root button.primary:hover:not(:disabled),:root button[type=submit]:hover:not(:disabled),button.primary:hover,button:is(.rw-primary,.sa-primary,.spm-primary,.source-primary,.srs-primary):hover:not(:disabled){background:var(--hg-accent-strong);border-color:var(--hg-accent-strong);color:var(--hg-on-accent)}button:is(.danger,.delete,.smm-delete){background:var(--hg-surface);border-color:var(--hg-danger);color:var(--hg-danger)}:root button:is(.danger,.delete,.smm-delete):hover:not(:disabled){background:var(--hg-danger-soft);border-color:var(--hg-danger);color:var(--hg-danger)}.text-link,a{color:var(--hg-accent)}.text-link{font-weight:600}.text-link:hover{text-decoration:underline}input:not([type=checkbox]):not([type=radio]),select,textarea{min-height:var(--hg-control);border:1px solid var(--hg-line-strong);border-radius:var(--hg-r-s);background-color:var(--hg-surface)}textarea{min-height:120px}:root input:not([type=checkbox]):not([type=radio]),:root select,:root textarea{border-color:var(--hg-line-strong);color:var(--hg-ink)}:root input:disabled,:root select:disabled{background-color:var(--hg-surface-soft);color:var(--hg-sub)}:root input::placeholder,:root textarea::placeholder{color:var(--hg-sub)}:root input[type=checkbox],:root input[type=radio]{accent-color:var(--hg-accent)}html{--business-field-height:var(--hg-control)}small{font-size:var(--hg-text-small)}.data-table{background:var(--hg-surface);border-color:var(--hg-line)}.data-table td,.data-table th{border-bottom-color:var(--hg-row-line);padding:8px 10px;color:var(--hg-ink);line-height:var(--hg-line-height-cell)}.data-table thead th{border-bottom-color:var(--hg-line-strong)}:root .compact-periods th,:root .data-table th,:root .record-table>thead>tr>th,:root .report-admin-table thead th,:root .teacher-pin-manager thead,:root .tp-sheet thead th{background:var(--hg-surface-soft);color:var(--hg-sub)}.data-table th{font-size:var(--hg-text-s);font-weight:700}:root .data-table .label,:root .data-table th.label{background:var(--hg-surface-soft);color:var(--hg-sub);font-size:var(--hg-text-s);font-weight:700}:root .data-table.record-table>tbody>tr:not(.selected):nth-child(2n)>td,:root .report-admin-table tbody tr:nth-child(2n),:root .teacher-pin-manager tbody tr:nth-child(2n){background:var(--hg-surface)}.data-table tbody tr.selected td,.data-table tbody tr.selected>td{background:var(--hg-accent-soft)}.green-title,.screen-title,.teacher-title{font-size:var(--hg-h1);color:var(--hg-heading)}.section-title{font-size:var(--hg-h2);font-weight:700;color:var(--hg-heading)}.toolbar:has(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select){padding:10px 12px;background:var(--hg-surface);border:1px solid var(--hg-line);border-radius:var(--hg-r-m)}.notice,.saved,.warning{padding:10px 14px;border:1px solid;border-radius:var(--hg-r-s);font-size:var(--hg-text-m)}.notice{background:var(--hg-warn-soft);border-color:var(--hg-warn-line);color:var(--hg-warn-ink)}.warning{background:var(--hg-danger-soft);border-color:var(--hg-danger-line);color:var(--hg-danger-ink)}.saved{background:var(--hg-ok-soft);border-color:var(--hg-ok-line);color:var(--hg-ok-ink)}.original-links button{border-color:transparent;background:transparent;color:var(--hg-accent)}:root .student-popup{background:var(--hg-surface);color:var(--hg-ink);border-color:var(--hg-line);border-radius:var(--hg-r-l);box-shadow:var(--hg-shadow-pop)}.student-popup::backdrop{background:var(--hg-scrim)}:root .student-popup header.student-popup-bar{background:var(--hg-surface);border-bottom-color:var(--hg-line)}.student-popup-bar strong{font-size:var(--hg-h2)}.student-popup-bar button{min-height:var(--hg-control-s);padding:0 10px;font-size:var(--hg-text-m)}}}@media screen{:is(.ledger-tabs,.person-menu,.report-workspace-tabs,.survey-tabs,.settings-nav){display:flex;flex-wrap:wrap;gap:2px;overflow-x:visible;border:0;border-bottom:1px solid var(--hg-line);border-radius:0;background:transparent;padding:0;scrollbar-width:thin}:is(.ledger-tabs,.person-menu,.report-workspace-tabs,.survey-tabs,.settings-nav)>button{flex:0 0 auto;min-height:var(--hg-tab);height:auto;margin:0 0 -1px;padding:0 14px;border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;color:var(--hg-sub);font-size:var(--hg-text);font-weight:600;white-space:nowrap;box-shadow:none}:is(.ledger-tabs,.person-menu,.report-workspace-tabs,.survey-tabs,.settings-nav)>button:hover:not(:disabled){background:transparent;color:var(--hg-accent-strong);border-bottom-color:var(--hg-line-strong)}:is(.ledger-tabs,.person-menu,.report-workspace-tabs,.survey-tabs,.settings-nav)>button:is([aria-pressed=true],[aria-selected=true],[aria-current=page],[aria-current=true],.current),:is(.ledger-tabs,.person-menu,.report-workspace-tabs,.survey-tabs,.settings-nav)>button:is([aria-pressed=true],[aria-selected=true],[aria-current=page],[aria-current=true],.current):hover:not(:disabled){background:transparent;color:var(--hg-accent-strong);border-bottom-color:var(--hg-accent);font-weight:700}.person-menu.top-level-menu{margin-bottom:0}.person-menu:not(.top-level-menu)>button{min-height:var(--hg-seg);font-size:var(--hg-text-m)}.report-source-student-tabs>button[aria-selected=true],.report-source-student-tabs>button[aria-selected=true]:hover:not(:disabled),:is(.lecture-date-list,.source-grade-chips,.memo-survey-day) button:is([aria-pressed=true],[aria-selected=true]),:is(.lecture-date-list,.source-grade-chips,.memo-survey-day) button:is([aria-pressed=true],[aria-selected=true]):hover:not(:disabled){background:var(--hg-accent-soft);border-color:var(--hg-accent);color:var(--hg-accent-strong)}.report-source-student-tabs>button[aria-selected=true] small{color:var(--hg-accent-strong)}:is(.ledger-tabs,.person-menu,.report-workspace-tabs,.survey-tabs,.settings-nav){row-gap:var(--hg-1)}@media (max-width:767px){:is(.ledger-tabs,.person-menu,.report-workspace-tabs,.survey-tabs,.settings-nav)>button{min-height:var(--hg-control)}.person-menu:not(.top-level-menu)>button{min-height:var(--hg-control-s)}:is(.lecture-date-list,.source-grade-chips,.report-source-student-tabs){flex-wrap:wrap;overflow-x:visible}}@media (hover:none) and (pointer:coarse){:is(.ledger-tabs,.person-menu,.report-workspace-tabs,.survey-tabs,.settings-nav)>button{min-height:40px}}}@media screen{@scope (.ui-rules-enabled) to (.ui-rules-excluded){.glow-inbox :where(button,input,textarea,select,.ui-field-group,section,aside,header){box-sizing:border-box;min-width:0}.subject-catalog-settings .ui-field-group{min-width:0}@media screen{.cs-holiday-form>.ui-field-group{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--hg-3) var(--hg-5);min-width:0}.cs-holiday-form>.ui-field-group>.ui-group-heading,.cs-holiday-form>.ui-field-group>p{grid-column:1/-1}}@media screen{@media (max-width:767px){.cs-holiday-form>.ui-field-group{grid-template-columns:minmax(0,1fr)}}}.curriculum-source .ui-field-group,.fc-workspace .fc-add-guide .ui-field-group{min-width:0}.lecture-registration .ui-field-group{min-width:0;max-width:100%}.lecture-schedule-tool .ui-field-group{min-width:0}.lecture-schedule-tool .ui-field-group>label{display:block}.lecture-schedule-tool .ui-field-group>label>input:not([type=checkbox]){width:100%;max-width:100%;box-sizing:border-box}.seminar-guide-tool .ui-field-group{min-width:0}.seminar-guide-tool .ui-field-group>label{display:block}.seminar-guide-tool .ui-field-group>label>input:not([type=checkbox]){width:100%;max-width:100%;box-sizing:border-box}.report-course-dialog .report-management-form>.ui-field-group{display:grid}.report-course-dialog .ui-field-group{min-width:0;max-width:100%}.student-survey .ui-field-group,.teacher-survey .ui-field-group{min-width:0}.application .lecture-participant-search>.ui-field-group{gap:8px!important;justify-items:start}.application .lecture-participant-search>.ui-field-group>label{max-width:100%}.application .form-panel .ui-field-group{min-width:0}.report-course-dialog .report-management-form>.ui-field-group{gap:8px}.report-course-dialog .report-management-form>.ui-field-group>label:has(input:not([type=checkbox])){display:grid;grid-template-columns:7em minmax(0,26ch);align-items:center;gap:8px}@media (max-width:480px){.report-course-dialog .report-management-form>.ui-field-group>label:has(input:not([type=checkbox])){grid-template-columns:minmax(0,1fr);gap:4px}}.application .ui-field-group,.floating-actions>.ui-field-group{min-width:0}@media (max-width:600px){form.form-panel>.ui-field-group>table:not(:has(>thead)),form.form-panel>.ui-field-group>table:not(:has(>thead))>tbody{display:block;width:100%;min-width:0}}@media (max-width:600px){form.form-panel>.ui-field-group>table:not(:has(>thead))>tbody>tr{display:grid;grid-template-columns:minmax(0,1fr)}}@media (max-width:600px){form.form-panel>.ui-field-group>table:not(:has(>thead))>tbody>tr>th{display:block;width:auto;min-width:0}}@media (max-width:600px){form.form-panel>.ui-field-group>table:not(:has(>thead))>tbody>tr>td{display:block;width:auto;min-width:0}}body:has(.move-target-full) .schedule-drag-tools>.ui-field-group{display:none}.application .lecture-teacher-roster .ui-field-group{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.application .lecture-teacher-roster .ui-field-group>.lecture-registration-actions,.application .lecture-teacher-roster .ui-field-group>.original-section,.application .lecture-teacher-roster .ui-field-group>.table-scroll{flex-basis:100%;width:100%}@container (min-width:700px){.semantic-form>.data-table>tbody>tr:has(.ui-field-group){grid-column:1/-1}}.temporary-entry .ui-field-group,.temporary-settings .ui-field-group{min-width:0}body:has(.direct-move-board) .schedule-drag-tools>.ui-field-group{display:block}.report-save-actions .ui-field-group{display:flex;gap:8px;flex-wrap:wrap}@media screen{.charge-register-filters>:is(.button-row,.ui-field-group){flex-basis:100%;min-width:0;max-width:100%}}@media screen{.gt-class-form .ui-field-group{display:flex;flex-direction:column;gap:var(--hg-2);min-width:0}}.group-enrollment .ui-field-group,.group-teaching .ui-field-group{min-width:0}.schedule-draft-bar:has(.lecture-save-actions) .ui-field-group{min-width:0}.lecture-settings-popup .course-regular-panel .ui-field-group{min-width:0}@media (max-width:600px){.lecture-settings-popup .regular-placement .ui-field-group{display:flex;flex-wrap:wrap;align-items:end;gap:8px}}.oa-accounts .ui-field-group,.organization-fiscal-year-settings .ui-field-group,.organization-group-teaching-settings .ui-field-group,.organization-report-settings .ui-field-group{min-width:0}@media print{.org-setting-form .ui-field-group{display:grid;gap:8px}}@media screen{.rm-application>.ui-field-group{display:flex;flex-direction:column;gap:var(--hg-3)}}.report-source-editor .report-source-test-line>.ui-field-group{min-width:0;flex:1 1}.rw-campus-create .ui-field-group{min-width:0}@media print{.compact-output .ui-field-group{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;flex:0 1 auto;width:auto!important;min-width:0}}@media print{@media (max-width:600px){.compact-output .ui-field-group{width:100%!important}}}@media screen{.sc-tools .output-formats .ui-field-group{flex:0 1 auto;width:auto;max-width:100%;box-sizing:border-box;display:flex;flex-wrap:wrap;align-items:center;gap:var(--hg-2) var(--hg-3);min-width:0}.sc-tools .output-formats .ui-field-group>label{min-width:0;max-width:100%;flex-wrap:wrap;overflow-wrap:anywhere}.work-area[data-screen=utility_day_moves] .ui-field-group>details>summary{display:list-item}}@media screen{@media (max-width:767px){.sc-tools .output-formats .ui-field-group{flex:1 1 100%;max-width:100%;box-sizing:border-box}}}.seminar-price-master .ui-field-group{min-width:0}@media screen{.work-area:is([data-screen=utility_seminar_order],[data-screen=utility_seminar_assign]) .ui-field-group>.toolbar{align-items:flex-end}}@media screen{.work-area:is([data-screen=utility_seminar_order],[data-screen=utility_seminar_assign]) .ui-field-group>.toolbar>label{display:flex;flex-direction:column;align-items:flex-start;gap:var(--hg-1);min-width:0;max-width:100%}}@media screen{.work-area[data-screen=utility_seminar_assign] .ui-field-group>.toolbar{justify-content:flex-end}.sem-material-dialog .ui-field-group,.sem-student-body .ui-field-group,.sm-curriculum .ui-field-group{min-width:0}}@media screen{@media (max-width:767px){.work-area:is([data-screen=utility_seminar_order],[data-screen=utility_seminar_assign]) .ui-field-group>.toolbar>label{flex:1 1 100%}}}@media screen{@media (max-width:767px){.work-area:is([data-screen=utility_seminar_order],[data-screen=utility_seminar_assign]) .ui-field-group>.toolbar>label>select{width:100%}}}@media screen{.st-org-section .org-setting-form .ui-field-group{display:grid;gap:var(--hg-2);min-width:0}.st-accounts .st-create .ui-field-group{min-width:0}}.billing-category-settings .ui-field-group{min-width:0}@media screen{.sv-card .ui-field-group{display:flex;flex-wrap:wrap;gap:6px 16px}.sv-card .ui-field-group label{display:flex;align-items:center;gap:6px}.contract-edit-form>.ui-field-group.contract-group{display:block;min-width:0}.contract-edit-form>.ui-field-group.contract-group>.ui-group-heading{box-sizing:border-box;width:calc(100% + 28px)}.contract-edit-form>.ui-field-group.contract-group>small{display:block}.work-area[data-screen="child_temporary_lessons.cgi"] .temporary-entry .ui-field-group{min-width:0}}@media screen{@media (max-width:767px){.sv-card .ui-field-group{width:100%;box-sizing:border-box}}}.student-registration-settings .ui-field-group{min-width:0}@media screen{.st-more .ui-field-group{min-width:0}}.tp-settings .ui-field-group{min-width:0}@media screen{.tl-filter>.ui-field-group{min-width:0}}.teacher-subject-catalog .ui-field-group{min-width:0}.course-regular-panel .ui-field-group{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.mq-settings .ui-field-group,.utility-applications .ui-field-group,.weather-settings .ui-field-group{min-width:0}.ui-rules-enabled [data-ui-hide],.ui-rules-enabled [data-ui-selection-hidden]{display:none!important}.ui-rules-enabled .ui-field-group{min-width:0;max-width:100%;margin:0;padding:0;border:0;background:transparent;box-shadow:none}.ui-rules-enabled .ui-field-group+.ui-field-group{margin-top:24px}.ui-rules-enabled .ui-group-heading{display:block;margin:0 0 16px;padding:0;font-size:15px;font-weight:700;line-height:1.4}.ui-rules-enabled .ui-field-error{display:block;flex-basis:100%;width:100%;margin-top:4px;color:var(--hg-danger,#b33);font-size:13px;text-align:left;white-space:normal}.ui-rules-enabled [aria-invalid=true]{border-color:var(--hg-danger,#b33)}.ui-rules-enabled .work-area{padding-bottom:calc(var(--ui-savebar-space,0px) + 24px)}.ui-rules-enabled .floating-actions-spacer{height:calc(var(--ui-savebar-space,0px) + 24px);min-height:0}}}@media screen{@scope (.ui-rules-enabled) to (.ui-rules-excluded){.ui-rules-enabled :is(table.data-table,table.hg-table,table.record-table,[data-ui-wide-table]){width:100%}.ui-rules-enabled :is(.hg-empty,.ui-empty){padding:16px;color:var(--hg-sub,#666);font-size:13px;font-weight:400;text-align:left;line-height:1.5}.ui-rules-enabled .hg-empty strong{display:inline;color:inherit;font-size:inherit;font-weight:400}.ui-rules-enabled .hg-empty :is(span,div){display:inline;margin-left:8px}.ui-rules-enabled [data-ui-empty-table] thead{display:none}.ui-rules-enabled [data-ui-empty-table]:not(:has(tbody tr)){display:none}.ui-rules-enabled :is(.hg-card,.original-section) :is(.hg-card,.original-section){border:0;border-radius:0;box-shadow:none;background:transparent}.ui-rules-enabled [data-ui-description]{font-size:13px;color:var(--hg-sub,#666);background:transparent;border:0;padding:0;box-shadow:none;line-height:1.5}.ui-rules-enabled [data-ui-actions]{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px}.ui-rules-enabled [data-ui-secondary]{background:var(--hg-surface,#fff)!important;border-color:var(--hg-line-strong,#ccc)!important;color:var(--hg-ink,#333)!important;box-shadow:none}.ui-rules-enabled dialog :is(.button-row,.form-submit-bar,.hg-dialog-foot,.ap-form-buttons,.lc-actions,.lecture-info-save){justify-content:flex-end;text-align:right}.ui-rules-enabled .person-menu:not(.top-level-menu){border:0;background:var(--hg-surface,#fff);padding:16px;border-radius:var(--hg-r-m,6px);font-size:13px}.ui-rules-enabled .ui-action-menu{position:relative;display:inline-block}.ui-rules-enabled .ui-action-menu>summary{cursor:pointer;list-style:none;border:1px solid var(--hg-line-strong,#ccc);border-radius:4px;padding:8px 12px;font-size:13px;white-space:nowrap}.ui-rules-enabled .ui-action-menu>div{position:absolute;right:0;top:100%;z-index:30;display:flex;flex-direction:column;gap:8px;padding:8px;border:1px solid var(--hg-line-strong,#ccc);border-radius:6px;background:var(--hg-surface,#fff);box-shadow:var(--hg-shadow-pop,0 4px 16px #0002);max-width:min(320px,85vw)}.ui-rules-enabled .ui-action-menu>div>button{max-width:100%;height:auto;min-height:32px;white-space:normal;text-align:left}.ui-rules-enabled .cs-tabs{flex-wrap:nowrap;overflow-x:auto}.ui-rules-enabled .output-formats .ui-field-group,.ui-rules-enabled .ui-grade-chips{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.ui-rules-enabled .ui-grade-chips{max-width:100%}.ui-rules-enabled .ui-grade-chips button{flex:0 0 auto}.ui-rules-enabled .ui-grade-chips [aria-pressed=true]{background:var(--hg-accent-soft,#eef4ff);border-color:var(--hg-accent,#2671e6);color:var(--hg-accent-strong,#1455b4)}.ui-rules-enabled .student-grade-groups{display:block}.ui-rules-enabled .student-grade-group{display:flex;flex-wrap:wrap;align-items:center;gap:8px;border:0;border-radius:0;box-shadow:none;padding:8px 0;margin:0}.ui-rules-enabled .student-grade-group h2{margin:0;min-width:6em;font-size:13px}.ui-rules-enabled :is(button,input,select,textarea,a):focus-visible{outline:2px solid var(--hg-accent,#2671e6);outline-offset:2px}}}@media screen{.ui-person-panel{padding:16px}.ui-settings-switch{padding:16px;margin-top:16px;border:1px solid var(--hg-line);border-radius:6px}.ui-settings-switch h2{font-size:15px;margin:0 0 8px}.ui-roster-choice{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.ui-roster-choice small{color:var(--hg-sub);font-size:13px}.ui-person-switch{margin-bottom:16px}}@media screen{:is(.hg-req,.field-required,.required-label,.required-badge,.ps-required,.fc-import-required,.oa-required,[data-ui-required]){display:inline;margin-left:4px;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;color:#916868!important;font-size:11px!important;font-weight:400!important;line-height:1.4}html.business-large :is(.hg-req,.field-required,.required-label,.required-badge,.ps-required,.fc-import-required,.oa-required,[data-ui-required]){font-size:12px!important}[data-ui-required][data-ui-hide]{display:none!important}[data-ui-all-required]:before{content:"すべて必須";display:block;color:var(--hg-sub,#666);font-size:13px;margin:0 0 16px}}@layer legacy{.role-admin{--nav-width:208px;--header-height:52px}.role-admin .trial-strip{min-height:52px;padding:7px 16px;gap:12px}.role-admin .v2-trial-label{display:none}.role-admin .main-content{padding:10px 16px 36px;max-width:none}@media(min-width:761px){.role-admin.workspace-wide{--nav-width:0px}}.workspace-finder.student-popup{width:min(820px,calc(100vw - 28px));max-height:calc(100dvh - 40px);padding:0;border-radius:12px}.workspace-finder .student-popup-bar{padding:10px 14px}.workspace-finder .student-popup-body{padding:0;overflow:auto}.workspace-finder-top{position:sticky;top:0;background:#fff;z-index:2;padding:12px 14px 9px;border-bottom:1px solid var(--line)}.workspace-finder-tabs{display:flex;gap:4px;margin-bottom:8px}.workspace-finder-tabs button{font-size:13px;min-height:30px;padding:4px 18px;border:0;background:var(--surface-soft)}.workspace-finder-tabs button[aria-pressed=true]{background:var(--accent);color:#fff}.workspace-finder-top>input[type=search]{width:100%;max-width:none;height:38px;padding:7px 10px;font-size:15px}.workspace-finder-filters{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:8px;font-size:12px}.workspace-finder-filters label{display:flex;align-items:center;gap:5px}.workspace-finder-filters select{min-height:30px;max-width:140px;padding:3px 8px;font-size:12px}.workspace-finder-filters>span{margin-left:auto;color:var(--muted)}.workspace-finder-results{padding:0 14px 14px}.application .workspace-finder-results h2{display:flex;align-items:center;gap:8px;font-size:12px;padding:6px 8px;margin:10px 0 2px;background:#edf7f0;border-radius:4px;color:#34584a}.workspace-finder-results h2 small{font-size:11px;font-weight:400}.workspace-student-row{display:flex;align-items:center;gap:8px;border-bottom:1px solid #e1ebe5;padding:4px 0;min-height:44px}.workspace-student-row:hover{background:#f5faf6}.workspace-student-name{flex:1 1;min-width:0;display:flex;align-items:baseline;gap:12px;text-align:left;border:0;background:transparent;padding:5px 8px;color:var(--ink)}.workspace-student-name strong{font-size:14px}.workspace-student-name small{font-size:11px;color:var(--muted)}.workspace-student-links{display:flex;gap:5px;flex-shrink:0}.workspace-student-links button{font-size:12px;min-height:30px;padding:4px 9px;border-color:#c2d8cb}.workspace-feature-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.workspace-feature-results button{position:relative;display:flex;flex-direction:column;gap:3px;text-align:left;padding:9px 30px 9px 10px;min-height:52px;border-color:var(--line);background:#fff}.workspace-feature-results small{font-size:11px;color:var(--muted)}.workspace-feature-results strong{font-size:13px}.workspace-feature-results span{position:absolute;right:10px;top:18px;color:var(--accent)}.workspace-empty,.workspace-result-count{padding:8px 0;font-size:13px;color:var(--muted)}@media print{.application .student-directory .v2-page-heading{margin:0 0 8px;align-items:center}.application .student-directory .v2-page-heading p{display:none}.application .student-directory .v2-quick-search{padding:10px;background:#fff;border:1px solid var(--line);border-radius:7px;margin:0 0 6px}.application .student-directory .v2-quick-search>label{font-size:12px;margin-bottom:4px}.application .student-directory .v2-quick-search>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.application .student-directory .v2-quick-search input{flex:1 1;min-width:170px;width:auto;max-width:380px;min-height:34px;font-size:14px;padding:5px 9px}.application .student-directory .v2-quick-search input#student-quick-search{flex-grow:1!important;min-width:min(170px,100%)!important;max-width:380px!important}.application .student-directory .v2-quick-search label{display:flex;align-items:center;gap:6px;font-size:12px}.application .student-directory .v2-quick-search select{max-width:150px;min-height:32px;padding:4px 7px;font-size:12px}.application .student-directory .v2-quick-search button{min-height:32px;font-size:12px;padding:4px 8px}.application .student-directory .v2-quick-search>p{font-size:11px;margin:4px 0 0;color:var(--muted)}.application .student-directory .v2-advanced-search{margin:4px 0 8px}.application .student-directory .v2-advanced-search>summary{font-size:12px;padding:5px 0}.application .student-directory .toolbar{gap:7px;margin:6px 0}.application .student-directory .section-title{margin:8px 0 5px;font-size:15px}.application .student-directory .student-kind-controls{gap:8px;margin:6px 0}.application .student-directory .student-results-table tbody tr:hover>td{background:#edf8f1}.application .student-directory .student-results-table tbody tr:has(.student-check input:checked)>td:first-child{box-shadow:inset 3px 0 var(--accent)}}@media(max-width:760px){.role-admin{--nav-width:0px;--header-height:90px}.role-admin .trial-strip{padding:6px 10px;gap:4px}.role-admin .main-content{padding:8px 10px 28px}.workspace-finder.student-popup{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.workspace-finder .student-popup-bar{padding:8px 10px}.workspace-finder .student-popup-bar button{min-height:34px;font-size:12px}.workspace-finder-top{padding:10px}.workspace-finder-results{padding:0 10px 10px}.workspace-student-row{align-items:center;gap:4px}.workspace-student-name{display:flex;flex-direction:column;gap:1px;padding:5px 2px}.workspace-student-name strong{font-size:13px}.workspace-student-name small{font-size:10px}.workspace-student-links{gap:3px}.workspace-student-links button{min-height:36px;padding:5px;font-size:12px}.workspace-feature-results{grid-template-columns:1fr}.workspace-finder-filters{gap:8px}.application .student-directory .v2-quick-search input{max-width:none;width:100%;flex-basis:100%}.login-box h1{font-size:clamp(18px,5vw,24px);overflow-wrap:anywhere}}@media print{.workspace-finder{display:none!important}}.direct-grid-scroll{max-height:calc(100dvh - 205px)}@media(max-width:700px){.direct-grid-scroll{max-height:65dvh}}@media(max-width:760px){.role-admin .trial-strip{min-height:84px}.direct-grid{min-width:950px}.direct-grid-scroll:before{content:"左右にスクロールして時間帯を表示";display:block;position:sticky;left:0;width:calc(100vw - 58px);font-size:11px;color:var(--muted);background:white;padding:3px 0 6px}}@media print{.workspace-contacts{background:#fff;border:1px solid var(--line);border-radius:6px;padding:10px;margin:10px 0}.application .workspace-contacts h2{font-size:15px;margin:0 0 8px}.workspace-contacts>div{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;border-top:1px solid #e0ebe3;padding:8px 0;font-size:14px}.workspace-contacts a{font-size:18px;font-weight:600;white-space:nowrap}.workspace-student-details>summary{padding:7px 0;font-size:13px;color:var(--accent)}.workspace-student-details[open]>summary{margin-bottom:8px}}.student-grade-popup .gradebook-fieldset{min-width:0;padding:0}.student-grade-popup .gradebook-fieldset>section{margin-block:8px}.student-grade-popup .gradebook-fieldset h2{margin-block:8px;font-size:1rem}.student-grade-popup .gradebook-fieldset .button-row{justify-content:flex-start;gap:4px}.gradebook-embedded-print{margin:6px 0}.gradebook-embedded-print>summary{color:var(--ink);cursor:pointer;font-weight:600}.report-workspace-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 12px}.report-workspace-tabs [aria-pressed=true]{background:#08766b;color:#fff;border-color:#08766b}.report-editor>details>summary,.report-editor>h3{border-bottom:1px solid #c8dfd8;padding:8px 0;margin:14px 0 8px;color:#24554b}.report-original{max-width:850px;margin:8px auto;padding:12px}.report-original header h3{margin:0 0 6px}.report-original header p{margin:4px 0 10px}.report-original-section{padding:12px;margin:10px 0;border:1px solid #c8dfd8;border-radius:10px;background:#fff}.report-original-section>h3{font-size:1rem;margin:0 0 10px;color:#08766b}.report-original-section h4{margin:8px 0 4px}.report-original-section p{margin:4px 0}.report-status{display:inline-block;padding:3px 8px;border-radius:6px;background:#e6f4ec;color:#185b45;margin-right:6px}.report-status.is-absent{background:#ffebe7;color:#8a3526}.report-score{font-size:1.3rem;margin-right:10px}.report-score-range{display:block;margin-top:4px}.report-homework{background:#fff9e9;border-color:#e9d9a6}.report-original .report-facts{margin:0}@media(max-width:600px){.report-original{padding:0}.report-original-section{padding:10px}.report-original .report-facts{grid-template-columns:100px minmax(0,1fr)}}.report-timeline-filters{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:8px 0}.report-timeline-filters label{display:flex;align-items:center;gap:5px}.report-timeline{max-width:850px}.report-timeline h3{font-size:.95rem;margin:14px 0 6px}.report-timeline-card{display:block;width:100%;text-align:left;padding:10px 12px;margin-bottom:6px;background:#fff;border:1px solid #c8dfd8;border-radius:10px}.report-card-top{display:flex;justify-content:space-between;gap:8px;align-items:center}.report-card-meta,.report-card-open,.report-card-summary,.report-timeline-card>small{display:block;margin-top:4px}.report-card-meta{color:#56716a;font-size:.85rem}.report-card-open{color:#08766b;font-size:.85rem}.report-status.is-unread{background:#fff1ca;color:#76510f}.daily-curriculum{max-width:1200px;margin:auto}.daily-cur-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:8px 0}.daily-cur-toolbar h1{font-size:21px;margin:0 auto 0 0}.daily-cur-toolbar label{display:flex;align-items:center;gap:5px}.daily-cur-toolbar button,.daily-cur-toolbar input,.daily-cur-toolbar select{min-height:34px;padding:5px 9px}.daily-cur-settings{border:1px solid #bfd9d1;background:#fff;border-radius:10px;padding:12px;margin:12px 0}.daily-cur-settings textarea{display:block;width:100%;box-sizing:border-box}.daily-cur-toolbar select{max-width:300px}.daily-cur-settings>label{display:block;margin:8px 0}.daily-curriculum .primary{background:#147b65;color:#fff}@media(max-width:650px){.daily-cur-toolbar{gap:6px}.daily-cur-toolbar label{flex-wrap:wrap}.daily-cur-toolbar input,.daily-cur-toolbar select{max-width:100%;min-width:0}.daily-cur-toolbar h1{width:100%;font-size:19px}.daily-cur-settings .daily-cur-toolbar{padding:6px 0;border-bottom:1px solid #ddd}.daily-cur-toolbar select{max-width:250px}}.teacher-workspace{background:#f6faf9;min-height:100dvh;color:#17352f}.teacher-workspace main{max-width:1440px;margin:auto;padding:16px}.teacher-workspace-header{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 18px;background:white;border-bottom:1px solid #c8ddd4}.teacher-day-toolbar,.teacher-login-row,.teacher-login-url,.teacher-workspace nav,.teacher-workspace-header>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.teacher-login-settings button,.teacher-workspace button{min-height:34px;padding:6px 10px;font-size:14px}.teacher-workspace h1{font-size:20px;margin:8px 0}.teacher-day-toolbar{margin:8px 0 14px}.teacher-day-toolbar label{display:flex;align-items:center;gap:6px}.teacher-day-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:12px}.teacher-lesson{background:white;border:1px solid #bed8d0;border-radius:10px;padding:12px;min-width:0}.teacher-lesson header{display:flex;justify-content:space-between;gap:8px;color:#285f50}.teacher-lesson h2{font-size:18px;margin:8px 0}.teacher-lesson h2 small{font-size:13px;font-weight:400}.teacher-lesson h2 span{white-space:nowrap}.teacher-lesson dl{margin:8px 0 12px}.teacher-lesson dl>div{display:grid;grid-template-columns:100px 1fr;gap:8px;padding:5px 0;border-bottom:1px solid #e0ebe6}.teacher-lesson dt{font-weight:600;font-size:13px}.teacher-lesson dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.teacher-lesson.absent{background:#fff8ee}.teacher-no-plan{color:#795828}.teacher-login-settings{border:1px solid #c7d9d4;background:#fff;padding:12px;border-radius:8px;margin:12px 0}.teacher-login-settings h2{font-size:18px;margin:0 0 6px}.teacher-login-settings p{margin:6px 0 10px}.teacher-login-url>label{flex:1 1;min-width:min(280px,100%)}.teacher-login-url input{display:block;width:100%;box-sizing:border-box}.teacher-login-row{padding:10px 0}.teacher-login-issued{background:#eef8f3;padding:10px;overflow-wrap:anywhere}.teacher-login-row input{max-width:100%;box-sizing:border-box}.teacher-workspace input,.teacher-workspace select{max-width:100%;min-height:34px}.teacher-workspace nav [aria-current=page]{background:#dff1e8;border-color:#57917b}@media(max-width:600px){.teacher-workspace main,.teacher-workspace-header{padding:10px}.teacher-day-toolbar{gap:6px}.teacher-day-toolbar h1{width:100%}.teacher-lesson dl>div{grid-template-columns:84px 1fr}.teacher-login-row label{width:100%}}.teacher-pin-login{max-width:380px!important}.teacher-pin-login form{display:grid;gap:14px}.teacher-pin-login form label{display:grid;gap:6px;font-weight:600}.teacher-pin-login input,.teacher-pin-login select{width:100%;box-sizing:border-box;min-height:44px;font-size:16px}.teacher-pin-login form button{min-height:44px;width:100%;font-size:16px}.teacher-login-settings .teacher-login-row label{display:grid;gap:6px}.direct-empty-day{margin:10px 0 4px;color:var(--muted);font-size:14px;line-height:1.6}.direct-grid-viewport{min-width:0;position:relative}.direct-grid-viewport>.direct-grid-scroll{max-height:none;overflow-x:auto;overscroll-behavior:auto;scrollbar-gutter:auto;-webkit-overflow-scrolling:touch}.direct-grid-viewport>.direct-grid-scroll:focus:not(:focus-visible){outline:none}.direct-move-toolbar{top:var(--schedule-toolbar-top,var(--header-height,52px))}.direct-grid-floating{display:none;position:fixed;z-index:4;overflow:hidden;pointer-events:auto;background:#e8f0fe;box-shadow:0 2px 5px #243b5326}.direct-grid-heading{border-collapse:separate;border-spacing:0;table-layout:fixed;margin:0}.direct-grid-heading th:first-child{position:sticky;left:0;z-index:1}.direct-grid-heading small{display:block;font-size:12px;font-weight:400}@media print{.direct-grid-floating{display:none!important}}.schedule-move-tray.direct-selection.is-waiting-mode{position:fixed!important;top:auto;width:min(700px,calc(100vw - 24px))!important;max-height:min(420px,48dvh)!important;z-index:44}.waiting-dock-search{display:flex;align-items:center;gap:8px;font-size:12px;margin:4px 0}.waiting-dock-search input{min-width:0;flex:1 1;min-height:28px;padding:3px 6px;font-size:12px}.waiting-dock-picker .waiting-dock-instruction{margin:4px 0;font-size:12px;color:#42566a}.waiting-dock-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;max-height:144px;overflow:auto;padding:2px;overscroll-behavior:contain}.waiting-dock-card{min-width:0;width:100%;min-height:36px;padding:3px 6px;margin:0;text-align:left;line-height:1.3;font-size:12px;border:1px solid #c5cfde;background:#fff}.waiting-dock-card small,.waiting-dock-card strong{display:block;overflow-wrap:anywhere}.waiting-dock-card small{font-size:11px;color:#394960}.waiting-dock-card.is-selected{background:#e6efff;border-color:#1859ba;box-shadow:inset 0 0 0 1px #1859ba}.waiting-dock-card[draggable=true]{cursor:grab}.waiting-dock-notice,.waiting-dock-picker .warning{margin:4px 0;font-size:12px}.schedule-move-tray.is-waiting-mode.is-collapsed{width:min(420px,calc(100vw - 24px))!important}@media(max-width:700px){.schedule-move-tray.direct-selection.is-waiting-mode{position:fixed!important;top:auto;right:8px;width:calc(100vw - 16px)!important;max-height:44dvh!important}.waiting-dock-cards{grid-template-columns:1fr;max-height:100px}.waiting-dock-card{min-height:40px}.is-waiting-mode .move-tray-float-heading{flex-wrap:wrap}.is-waiting-mode .move-tray-handle{touch-action:auto;cursor:default}.waiting-dock-search{gap:4px}.waiting-dock-search input{font-size:16px}}}