:root{color-scheme:light;--bg: #f3efe6;--surface: rgba(255, 251, 243, .92);--surface-strong: #fffdfa;--surface-tint: #f2e6d4;--line: rgba(96, 72, 46, .18);--line-strong: rgba(96, 72, 46, .34);--text: #2b241d;--muted: #6d6257;--accent: #c96f3b;--accent-strong: #9f4f23;--accent-soft: rgba(201, 111, 59, .16);--danger: #a53d2d;--shadow: 0 18px 50px rgba(73, 53, 29, .12);font-family:Avenir Next,Hiragino Sans,Yu Gothic,sans-serif;background:radial-gradient(circle at top left,rgba(201,111,59,.12),transparent 30%),radial-gradient(circle at bottom right,rgba(91,124,88,.12),transparent 28%),var(--bg);color:var(--text)}*{box-sizing:border-box}html,body{margin:0;min-height:100%;overscroll-behavior-y:none}body{background:transparent}button,input,select,textarea{font:inherit}.site-footer{width:min(1440px,calc(100vw - 32px));margin:0 auto}.site-footer{padding:18px 0 32px}.site-footer__inner,.workspace-card{border:1px solid var(--line);background:var(--surface);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);box-shadow:var(--shadow)}.site-footer__inner{display:flex;justify-content:space-between;gap:24px;align-items:end;padding:20px 24px;border-radius:28px}.empty-copy,.status-message{margin:0;color:var(--muted);line-height:1.7}.site-footer__inner{font-size:13px;color:var(--muted)}.page-shell{width:min(1440px,calc(100vw - 32px));margin:20px auto 32px}.page-shell.is-table-fullscreen{width:calc(100vw - 16px);margin:8px auto;height:calc(100dvh - 16px);overflow:hidden}.workspace-card{border-radius:30px;padding:22px}.not-found-card{min-height:320px;display:grid;align-content:center;gap:14px;justify-items:start;padding:40px}.not-found-card h1{margin:0;font-size:clamp(28px,4vw,40px);line-height:1.1}.not-found-card__eyebrow{margin:0;font-size:12px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:var(--accent-strong)}.not-found-card__actions{margin-top:8px}.workspace-card.is-table-fullscreen{min-height:calc(100dvh - 16px);height:calc(100dvh - 16px);position:relative;display:flex;flex-direction:column;overflow:hidden}.workspace-card.is-table-fullscreen .app-topnav,.workspace-card.is-table-fullscreen .workspace-overview,.workspace-card.is-table-fullscreen .workspace-toolbar,.workspace-card.is-table-fullscreen .copy-toolbar{display:none}.fullscreen-floating-actions{position:fixed;top:14px;right:14px;z-index:80;display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:flex-end;padding:10px;border:1px solid var(--line);border-radius:18px;background:#fffdfaeb;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:var(--shadow)}.worker-indicator{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border:1px solid rgba(201,111,59,.28);border-radius:999px;background:#c96f3b1f;color:var(--accent-strong);font-size:12px;line-height:1;white-space:nowrap}.sidebar-actions{display:flex;gap:10px;flex-wrap:wrap}.checkbox-row{display:flex;align-items:center;gap:8px;color:var(--text)}.settings-panel-layout{display:flex;align-items:stretch;gap:0;min-height:400px}.settings-sidebar{width:140px;flex-shrink:0;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:8px 0;overflow-y:auto}.settings-sidebar-item{display:flex;align-items:center;gap:8px;padding:10px 14px;cursor:pointer;background:none;border:none;border-right:2px solid transparent;text-align:left;font-size:.8125rem;color:var(--muted);width:100%;transition:background .1s,color .1s}.settings-sidebar-item:hover{background:var(--accent-soft);color:var(--text)}.settings-sidebar-item.is-active{background:var(--accent-soft);color:var(--accent-strong);font-weight:600;border-right-color:var(--accent)}.settings-sidebar-icon{font-size:1rem;width:20px;text-align:center;flex-shrink:0}.settings-sidebar-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.settings-content{flex:1;overflow-y:auto;padding:16px;min-width:0}.settings-stack{display:flex;flex-direction:column;gap:16px}.settings-card{border:1px solid var(--line);border-radius:20px;background:var(--surface-strong);padding:16px}.settings-card--subtle{background:#fffbf3b8;box-shadow:none}.backup-list{display:grid;gap:12px}.backup-card{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 14px;border:1px solid var(--line);border-radius:16px;background:var(--surface)}.backup-card.is-active{border-color:var(--lagoon-deep);box-shadow:0 0 0 1px color-mix(in oklab,var(--lagoon-deep) 35%,transparent)}.backup-card__meta{display:grid;gap:4px}.backup-card__meta span{font-size:13px;color:var(--muted)}.history-preview-meta{display:flex;flex-wrap:wrap;gap:8px 12px;font-size:13px;color:var(--muted)}.history-preview-memo{margin:0;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:var(--surface);white-space:pre-wrap}.history-preview-table-scroll{max-height:26rem}.history-preview-table th,.history-preview-table td{white-space:nowrap}.section-heading{display:flex;justify-content:space-between;gap:12px;align-items:center}.section-heading h3{margin:0;font-size:15px}.field-label{font-size:13px;font-weight:700;color:var(--muted)}.text-input,.mini-input{width:100%;border:1px solid var(--line);background:var(--surface-strong);color:var(--text);border-radius:14px;padding:10px 12px}.mini-input{padding:8px 10px;border-radius:12px;min-width:0}.text-input--danger{border-color:#c53b32;box-shadow:inset 0 0 0 1px #c53b322e}.primary-button,.ghost-button,.inline-button,.toggle-button,.clear-button,.project-card{border-radius:999px;border:1px solid var(--line);cursor:pointer;transition:.16s ease}.primary-button,.ghost-button,.inline-button,.toggle-button,.clear-button{padding:10px 16px}.primary-button{background:linear-gradient(135deg,var(--accent),var(--accent-strong));color:#fff;border-color:transparent}.ghost-button,.inline-button,.toggle-button,.clear-button{background:var(--surface-strong);color:var(--text)}.primary-button:hover,.ghost-button:hover,.inline-button:hover,.toggle-button:hover,.clear-button:hover,.project-card:hover{transform:translateY(-1px);border-color:var(--line-strong)}.danger-button{color:var(--danger)}.project-list,.subject-group-list,.issue-list,.grade-color-list,.room-pool-list{display:flex;flex-direction:column;gap:10px}.issue-filter-bar{display:flex;flex-wrap:wrap;gap:12px;align-items:end;padding:14px;border:1px solid var(--line);border-radius:18px;background:var(--surface-strong)}.issue-filter-toggle,.issue-filter-select{display:flex;gap:8px;align-items:center}.issue-filter-select{flex-wrap:wrap}.issue-filter-select .text-input{min-width:180px}.room-pool-row,.class-code-add-row{display:flex;gap:8px;align-items:center}.class-code-add-row .text-input,.room-pool-row .text-input{flex:1}.enabled-classes-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(88px,1fr));gap:10px}.field-checkbox-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px}.table2-filter-groups{display:grid;gap:12px}.table2-filter-group{display:grid;gap:8px}.table2-filter-grade{font-size:.9rem;font-weight:700;color:var(--ink-muted)}.class-check-card{display:flex;gap:8px;align-items:center;padding:10px 12px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}.grade-color-row{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:10px 12px;border:1px solid var(--line);border-radius:14px;background:var(--surface-strong)}.settings-control{display:flex;flex-direction:column;gap:8px;padding:12px;border:1px solid var(--line);border-radius:14px;background:var(--surface-strong)}.settings-control span{font-size:12px;color:var(--muted)}.color-input{width:52px;height:36px;padding:2px;border:1px solid var(--line);border-radius:10px;background:#fff}.project-card{padding:12px 14px;background:var(--surface-strong);text-align:left;display:flex;flex-direction:column;gap:4px}.project-card strong{font-size:14px}.project-card span{font-size:12px;color:var(--muted)}.project-list--inline{max-height:188px;overflow:auto}.project-card.is-active,.toggle-button.is-active{background:var(--accent-soft);border-color:#c96f3b66}.project-card:hover:not(.is-active){background:var(--accent-soft)}.toggle-group--view .toggle-button.is-active{background:#3b6fc91f;border-color:#3b6fc961;color:#2a4d9a}.table2-preview-toolbar,.table2-preview-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}.table2-preview-frame{padding:18px;border:1px dashed var(--line-strong);border-radius:18px;background:linear-gradient(135deg,#c96f3b0f,#5b7c580f),var(--surface)}.table2-appearance-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}.table7-table{min-width:1120px}.table7-header-stack{display:flex;flex-direction:column;gap:8px;min-width:220px}.table7-header-stack .text-input{background:#ffffffd1}.table7-color-row{display:flex;gap:10px;justify-content:space-between;flex-wrap:wrap}.table7-color-cell{display:inline-flex;align-items:center;gap:8px;color:inherit}.table7-color-cell span{font-size:12px;color:inherit}.table7-empty-cell{background:#ffffffb8;min-height:128px}.table7-cell-editor{display:flex;flex-direction:column;min-height:calc(128px * var(--table-scale, 1));padding:calc(10px * var(--table-scale, 1));gap:6px;font-size:calc(12px * var(--table-scale, 1));line-height:1.4}.table7-cell-meta{color:inherit;opacity:.88}.table7-cell-editor .mini-input{background:#ffffffd1;color:inherit;border-color:#0000001f}.table7-cell-min{display:flex;flex-direction:column;min-height:calc(52px * var(--table-scale, 1));padding:calc(6px * var(--table-scale, 1));gap:3px;font-size:calc(11px * var(--table-scale, 1));line-height:1.35}.table7-cell-min-subject{font-weight:600;color:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table7-minimize-label{display:flex;align-items:center;gap:6px;padding:6px 12px;font-size:12px;color:var(--muted);cursor:pointer;border-top:1px solid var(--line)}.table7-minimize-label input{margin:0;cursor:pointer}.table7-workspace{display:flex;align-items:flex-start;gap:0}.table7-palette-panel{flex-shrink:0;display:flex;flex-direction:column;gap:8px;position:sticky;top:12px;align-self:flex-start;max-height:calc(100vh - 80px);overflow-y:auto;border-left:1px solid var(--line);padding-left:12px}.table7-palette-resize-handle{position:absolute;left:0;top:0;bottom:0;width:6px;cursor:col-resize;margin-left:-4px;z-index:1;border-radius:3px;transition:background .15s}.table7-palette-resize-handle:hover,.table7-palette-resize-handle:active{background:color-mix(in oklab,var(--lagoon-deep) 30%,transparent)}.table7-palette-panel.is-minimized{width:36px;min-width:36px;overflow:hidden}.table7-palette-toggle{display:flex;align-items:center;gap:6px;padding:6px 8px;border-radius:10px;border:1px solid var(--line);background:var(--surface-strong);color:var(--sea-ink-soft);cursor:pointer;font-size:11px;font-weight:700;letter-spacing:.04em;white-space:nowrap;transition:background .12s;width:100%;justify-content:space-between;flex-shrink:0}.table7-palette-toggle:hover{background:color-mix(in oklab,var(--lagoon) 8%,var(--surface-strong))}.table7-palette-panel.is-minimized .table7-palette-toggle{writing-mode:vertical-rl;width:28px;height:auto;padding:10px 4px;justify-content:flex-start;gap:8px;border-radius:10px}.table7-panel-section{border:1px solid var(--line);border-radius:14px;padding:10px 10px 12px;background:var(--surface-strong);display:flex;flex-direction:column;gap:8px}.table7-panel-title{display:flex;align-items:center;justify-content:space-between;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--sea-ink-soft)}.palette-list{display:flex;flex-direction:column;gap:4px}.palette-swatch{display:flex;align-items:center;gap:6px;padding:4px 6px 4px 4px;border-radius:8px;border:1.5px solid transparent;cursor:grab;transition:background .12s,border-color .12s;-webkit-user-select:none;user-select:none}.palette-swatch:hover{background:color-mix(in oklab,var(--lagoon) 8%,transparent)}.palette-swatch.is-active{border-color:var(--lagoon-deep);background:color-mix(in oklab,var(--lagoon) 12%,transparent)}.palette-swatch:active{cursor:grabbing}.palette-swatch__preview{width:30px;height:30px;border-radius:6px;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;flex-shrink:0;border:1px solid rgba(0,0,0,.1);cursor:grab}.palette-swatch__preview:active{cursor:grabbing}.palette-swatch__chip{width:18px;height:18px;border-radius:4px;border:1.5px solid;flex-shrink:0;cursor:grab;display:inline-flex;align-items:center;justify-content:center;font-size:10px;font-weight:800}.palette-swatch__chip:active{cursor:grabbing}.palette-swatch__name{flex:1;min-width:0;font-size:12px}.palette-swatch__colors{display:flex;align-items:center;gap:2px;flex-shrink:0}.entry-cell.is-drag-over{outline:2.5px dashed var(--lagoon-deep);outline-offset:-2px;background-color:color-mix(in oklab,var(--lagoon) 18%,white)!important}.palette-active-preview{border-radius:8px;padding:6px 10px;font-size:12px;font-weight:600;text-align:center;border:1px solid rgba(0,0,0,.1)}.bulk-apply-group{display:flex;flex-direction:column;gap:4px}.bulk-apply-label{font-size:10px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--sea-ink-soft)}.bulk-apply-chips{display:flex;flex-wrap:wrap;gap:3px}.bulk-apply-mode-toggle{display:flex;gap:2px;background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:2px}.bulk-apply-mode-btn{flex:1;font-size:10px;padding:3px 4px;border-radius:6px;border:none;background:transparent;color:var(--sea-ink-soft);cursor:pointer;font-weight:600;transition:background .1s,color .1s}.bulk-apply-mode-btn.is-active{background:var(--surface-strong);color:var(--sea-ink);box-shadow:0 1px 3px #0000001a}.bulk-apply-chip{font-size:11px;padding:2px 8px;border-radius:99px;border:1px solid var(--line);background:var(--surface);color:var(--sea-ink);cursor:pointer;transition:background .1s,border-color .1s}.bulk-apply-chip:hover{border-color:var(--lagoon-deep);background:color-mix(in oklab,var(--lagoon) 12%,var(--surface))}.subject-group-card,.issue-card{border:1px solid var(--line);border-radius:20px;padding:14px;background:var(--surface-strong)}.subject-group-card__header,.teacher-row,.subject-option-row,.workspace-toolbar{display:flex;gap:10px;align-items:center}.subject-group-card{display:flex;flex-direction:column;gap:10px}.teacher-list,.subject-option-list{display:flex;flex-direction:column;gap:8px}.status-message--warning{color:#a63a31}.teacher-row .text-input,.subject-option-row .text-input,.subject-group-card__header .text-input{flex:1}.workspace-toolbar{justify-content:space-between;margin-bottom:14px;gap:14px;flex-wrap:wrap}.app-topnav{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-bottom:16px;padding:14px 16px;border:1px solid var(--line);border-radius:22px;background:var(--surface-strong)}.topnav-meta{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.topnav-client,.project-meta-list{color:var(--muted);font-size:13px}.project-meta-list{display:flex;flex-direction:column;gap:4px}.sync-indicator{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 12px;border-radius:999px;border:1px solid var(--line);background:#5b7c581f;color:#355b34;font-size:12px;font-weight:700}.sync-indicator--connecting,.sync-indicator--reconnecting{background:#c96f3b24;color:var(--accent-strong)}.sync-indicator--syncing{background:#c96f3b2e;color:var(--accent-strong)}.workspace-overview{display:grid;grid-template-columns:minmax(260px,360px) minmax(260px,1fr) minmax(280px,1.1fr);gap:14px;margin-bottom:16px}.overview-card{display:flex;flex-direction:column;gap:10px;padding:16px;border:1px solid var(--line);border-radius:22px;background:var(--surface-strong)}.memo-panel{display:flex;flex-direction:column;gap:14px}.memo-textarea{min-height:50vh;resize:vertical;line-height:1.7}.presence-list{display:flex;flex-wrap:wrap;gap:10px}.presence-chip{display:flex;flex-direction:column;gap:4px;min-width:140px;padding:10px 12px;border:1px solid var(--line);border-radius:16px;background:var(--surface)}.presence-chip span{color:var(--muted);font-size:12px}.topnav-tab-groups{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.topnav-tab-divider{width:1px;height:24px;background:var(--line);flex-shrink:0}.toggle-group-label{font-size:10px;font-weight:600;color:var(--muted);letter-spacing:.04em;align-self:center;padding-right:2px;flex-shrink:0}.topnav-fullscreen-button{padding:8px 10px;line-height:1}.toggle-group,.workspace-summary{display:flex;gap:10px;flex-wrap:wrap}.workspace-mode-label{display:inline-flex;align-items:center;min-height:40px;padding:0 14px;border-radius:999px;background:var(--accent-soft);color:var(--accent-strong);font-size:13px;font-weight:700}.copy-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:14px}.copy-toolbar__hint{color:var(--muted);font-size:12px}.workspace-summary{color:var(--muted);font-size:13px}.workspace-summary--controls{align-items:center}.table-scale-control{display:inline-flex;gap:8px;align-items:center}.table-scale-control input{width:120px}.table-scroll{overflow:auto;border:1px solid var(--line);border-radius:24px;background:var(--surface-strong);max-height:78vh;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.workspace-card.is-table-fullscreen .table-scroll{flex:1;min-height:0;max-height:none}.matrix-table,.class-table{width:100%;min-width:1120px;border-collapse:separate;border-spacing:0}.matrix-table th,.matrix-table td,.class-table th,.class-table td{border-right:1px solid var(--line);border-bottom:1px solid var(--line);vertical-align:top}.matrix-table th:last-child,.matrix-table td:last-child,.class-table th:last-child,.class-table td:last-child{border-right:0}.axis-cell,.subject-header,.teacher-header,.day-cell,.period-cell{background:#f9f1e5;text-align:center;font-weight:700}.axis-cell,.subject-header,.teacher-header{padding:12px}.day-cell,.period-cell{padding:10px;min-width:60px}.summary-label-cell,.summary-value-cell{background:#fff6ec;padding:10px;text-align:center;font-weight:700;vertical-align:middle}.summary-label-cell{position:sticky;left:0;z-index:32;box-shadow:1px 0 0 var(--line)}.summary-value-cell{min-width:calc(176px * var(--table-scale, 1))}.subject-header{font-size:15px}.subject-header__content{display:inline-flex;align-items:center;gap:8px}.subject-focus-button{width:24px;height:24px;opacity:.35;transition:opacity .15s}.subject-focus-button:hover{opacity:1}.teacher-header{font-size:13px;color:var(--muted)}.compact-matrix-table .teacher-header,.compact-matrix-table .axis-cell,.compact-matrix-table .subject-header{position:sticky;z-index:30}.compact-matrix-table .axis-cell,.compact-matrix-table .subject-header{top:0}.compact-matrix-table .teacher-header{top:48px}.compact-matrix-table .subject-header{z-index:41}.compact-matrix-table .teacher-header{z-index:42}.compact-matrix-table .axis-cell{background:#f9f1e5;z-index:50}.compact-matrix-table .axis-cell:first-child,.compact-matrix-table .day-cell{position:sticky;left:0;z-index:32;background:#f9f1e5}.compact-matrix-table .axis-cell:first-child{z-index:50}.compact-matrix-table .day-cell{min-width:72px;box-shadow:1px 0 0 var(--line)}.compact-matrix-table .axis-cell:nth-child(2),.compact-matrix-table .period-cell{position:sticky;left:73px;background:#f9f1e5}.compact-matrix-table .axis-cell:nth-child(2){z-index:50}.compact-matrix-table .period-cell{z-index:31;box-shadow:1px 0 0 var(--line)}.compact-matrix-table .period-cell{background:#f9f1e5}.entry-cell,.projection-cell{padding:0;min-width:calc(176px * var(--table-scale, 1));background:#fff}.projection-cell{min-width:140px}.projection-cell.is-suggestion-target{outline:2px solid rgba(201,111,59,.6);outline-offset:-2px}.entry-cell.has-issue,.projection-cell.has-issue{background:#a53d2d12}.entry-cell.is-blocked{background:#d9d9d9}.entry-cell.is-selected{outline:2px solid rgba(201,111,59,.55);outline-offset:-2px}.matrix-table .table1-day-separator{border-bottom-color:#000}.matrix-table .table1-subject-separator{border-right-color:#000}.compact-cell{display:flex;flex-direction:column;min-height:calc(128px * var(--table-scale, 1));padding:calc(8px * var(--table-scale, 1));gap:calc(8px * var(--table-scale, 1))}.compact-cell--selected{box-shadow:inset 0 0 0 1px #c96f3b66}.compact-cell--blocked{background:#78787824}.compact-cell__toolbar,.compact-cell__toolbar-actions,.compact-cell__row,.compact-cell__room-row{display:flex;gap:calc(8px * var(--table-scale, 1));align-items:center}.compact-cell__toolbar{justify-content:space-between}.compact-cell__row--subject{align-items:stretch}.compact-cell__subject{flex:1}.compact-cell__room-hint{margin:0;color:var(--muted);font-size:calc(11px * var(--table-scale, 1));line-height:1.35}.compact-cell__check{display:inline-flex;gap:8px;align-items:center;color:var(--muted);font-size:calc(11px * var(--table-scale, 1));line-height:1.2}.compact-cell__check input{margin:0}.compact-cell__rooms{display:flex;flex-direction:column;gap:6px}.compact-cell__room-row .mini-input{flex:1}.compact-cell__issues{margin-top:auto}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:calc(28px * var(--table-scale, 1));height:calc(28px * var(--table-scale, 1));border:1px solid var(--line);border-radius:999px;background:#fffdfaeb;color:var(--text);cursor:pointer}.icon-button:hover{border-color:var(--line-strong)}.cell-issues{display:flex;flex-direction:column;gap:4px}.cell-issues p{margin:0;font-size:11px;color:var(--danger);line-height:1.45}.table1-workspace{display:flex;gap:12px;align-items:flex-start}.table1-workspace .table-scroll{flex:1;min-width:0}.table1-side-panel{flex-shrink:0;width:180px;border:1px solid var(--line);border-radius:16px;background:var(--surface-strong);overflow:hidden;position:sticky;top:12px}.table1-side-panel__header{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;font-size:12px;font-weight:700;color:var(--sea-ink);border-bottom:1px solid var(--line);background:var(--surface-tint)}.table1-side-panel__count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:var(--accent, #c96f3b);color:#fff;font-size:11px}.table1-side-panel__drop-zone{padding:8px;min-height:80px;display:flex;flex-direction:column;gap:6px;transition:background .15s}.table1-side-panel__drop-zone.is-drag-over{background:color-mix(in oklab,var(--accent, #c96f3b) 12%,transparent)}.table1-side-panel__empty{margin:0;color:var(--muted);font-size:11px;text-align:center;padding:16px 0}.table1-side-panel__entry{display:flex;align-items:center;gap:6px;padding:6px 8px;border:1px solid var(--line);border-radius:10px;background:var(--surface);cursor:grab;transition:opacity .15s,box-shadow .15s}.table1-side-panel__entry:hover{box-shadow:0 1px 4px #00000014}.table1-side-panel__entry.is-dragging{opacity:.4}.table1-side-panel__entry-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.table1-side-panel__entry-label{font-size:10px;font-weight:700;color:var(--muted);line-height:1.2}.table1-side-panel__entry-content{font-size:11px;color:var(--sea-ink);line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.copy-toolbar__minimize{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--muted);cursor:pointer;margin-left:auto}.copy-toolbar__minimize input{margin:0;cursor:pointer}.compact-cell--minimized{min-height:calc(52px * var(--table-scale, 1));padding:calc(4px * var(--table-scale, 1));gap:calc(4px * var(--table-scale, 1))}.compact-cell__min-info{display:flex;flex-direction:column;gap:2px;padding:0 2px}.compact-cell__min-class{font-size:calc(10px * var(--table-scale, 1));color:var(--muted);line-height:1.2}.compact-cell__min-subject{font-size:calc(11px * var(--table-scale, 1));color:var(--sea-ink);font-weight:600;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.projection-chip{display:flex;flex-direction:column;gap:2px;padding:8px 10px;border:1px solid var(--line);border-radius:12px;background:var(--surface-tint);margin-bottom:8px;font-size:12px}.projection-chip:last-child{margin-bottom:0}.table3-class-groups{display:flex;flex-direction:column;gap:16px}.table3-class-group{display:flex;flex-direction:column;gap:10px}.table3-class-buttons{display:flex;flex-wrap:wrap;gap:10px}.table3-class-button--complete{background:#dbe8ff;border-color:#84a7f5;color:#173b7a}.table3-class-button--incomplete{background:#fff1bf;border-color:#d9b649;color:#7a5a00}.table3-class-button--duplicate{background:#f6d2cb;border-color:#d16a5a;color:#7d251a}.toggle-button.table3-class-button--complete.is-active{background:#bfd3ff;border-color:#5e88eb}.toggle-button.table3-class-button--incomplete.is-active{background:#ffe082;border-color:#c99a14}.toggle-button.table3-class-button--duplicate.is-active{background:#efb9af;border-color:#be4d3d}.table4-teacher-button--three{background:#fff1bf;border-color:#d9b649;color:#7a5a00}.toggle-button.table4-teacher-button--three.is-active{background:#ffe082;border-color:#c99a14}.table4-teacher-button--four{background:#f6d2cb;border-color:#d16a5a;color:#7d251a}.toggle-button.table4-teacher-button--four.is-active{background:#efb9af;border-color:#be4d3d}.table4-teacher-button--five{background:#ffdcb8;border-color:#df8a32;color:#7f4300}.toggle-button.table4-teacher-button--five.is-active{background:#ffc98e;border-color:#c86d10}.table3-table{min-width:calc(760px * var(--table-scale, 1))}.table3-table .projection-cell{min-width:calc(180px * var(--table-scale, 1))}.table3-table .axis-cell,.table3-table .teacher-header,.table3-table .period-cell{padding:calc(12px * var(--table-scale, 1));font-size:calc(13px * var(--table-scale, 1))}.table4-table{min-width:calc(760px * var(--table-scale, 1))}.table4-table .projection-cell{min-width:calc(180px * var(--table-scale, 1))}.table4-table .axis-cell,.table4-table .teacher-header,.table4-table .period-cell{padding:calc(12px * var(--table-scale, 1));font-size:calc(13px * var(--table-scale, 1))}.table4-legend{display:flex;flex-wrap:wrap;gap:10px 16px;margin:12px 0 16px;color:var(--text-muted);font-size:.95rem}.table4-legend-item{display:inline-flex;align-items:center;gap:8px}.table4-legend-swatch{width:16px;height:16px;border-radius:999px;border:1px solid rgba(0,0,0,.12)}.table4-legend-swatch--three{background:#f2dc5f6b}.table4-legend-swatch--four{background:#d658442e}.table4-legend-swatch--five{background:#df8a3238}.table4-table .teacher-header.has-table4-three,.table4-table .projection-cell.has-table4-three{background:#f2dc5f6b}.table4-table .teacher-header.has-table4-four,.table4-table .projection-cell.has-table4-four{background:#d658442e}.table4-table .teacher-header.has-table4-five,.table4-table .projection-cell.has-table4-five{background:#df8a3238}.table5-table{min-width:calc(980px * var(--table-scale, 1))}.table5-table .projection-cell{min-width:calc(170px * var(--table-scale, 1))}.table5-table .axis-cell,.table5-table .teacher-header,.table5-table .period-cell{padding:calc(12px * var(--table-scale, 1));font-size:calc(13px * var(--table-scale, 1))}.projection-chip span,.projection-chip strong,.projection-empty{color:inherit}.projection-empty{display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:100%;font-weight:700}.projection-empty-button{display:flex;flex-direction:column;width:100%;min-height:100%;padding:18px 12px;gap:6px;border:0;background:transparent;color:inherit;cursor:pointer}.projection-empty-button:hover{background:#c96f3b14}.projection-empty-label{color:var(--muted);font-size:12px;font-weight:700}.table2-suggestion-panel{gap:14px}.table2-suggestion-list{display:grid;gap:10px}.table2-suggestion-card{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid var(--line);border-radius:18px;background:var(--surface)}.table2-suggestion-copy{display:flex;flex-direction:column;gap:4px}.table2-suggestion-copy span{color:var(--muted);font-size:13px}.issue-card span{color:var(--muted)}.issue-card{display:flex;flex-direction:column;gap:6px;padding:12px 14px;border:1px solid var(--line);border-radius:16px;background:var(--surface)}.issue-card.is-selectable{border-color:#c96f3b47}.issue-card.is-selected{border-color:#c96f3b85;box-shadow:0 0 0 2px #c96f3b1f}.issue-card strong{font-size:13px}.issue-card span{font-size:12px}.issue-badge{display:inline-flex;align-items:center;justify-content:center;min-width:44px;padding:6px 10px;border-radius:999px;background:#5b7c581f;color:#355b34;font-size:12px;font-weight:700}.issue-badge.has-issue{background:#a53d2d1f;color:var(--danger)}@media(max-width:1120px){.workspace-overview{grid-template-columns:1fr}}@media(max-width:720px){.table2-suggestion-card,.site-footer__inner,.subject-group-card__header,.teacher-row,.subject-option-row,.app-topnav,.workspace-toolbar,.room-pool-row,.class-code-add-row,.copy-toolbar,.sidebar-actions{flex-direction:column;align-items:stretch}.page-shell,.site-footer{width:min(100vw - 20px,1440px)}.workspace-card{padding:18px;border-radius:24px}}@media print{@page{size:landscape;margin:10mm}:root{background:#fff}html,body{background:#fff!important}.site-footer,.app-topnav,.workspace-overview,.workspace-toolbar,.copy-toolbar,.fullscreen-floating-actions,.table2-view>.overview-card:first-child{display:none!important}.page-shell,.workspace-card,.settings-stack,.table2-view{width:auto!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}.table2-scroll{overflow:visible!important;max-height:none!important;border:0!important;border-radius:0!important;background:transparent!important}.class-table{min-width:0!important;width:100%!important;table-layout:fixed}.class-table th,.class-table td,.projection-chip,.projection-empty{-webkit-print-color-adjust:exact;print-color-adjust:exact}.teacher-header,.axis-cell,.day-cell,.period-cell,.projection-cell{break-inside:avoid;page-break-inside:avoid}.projection-cell{min-width:0!important;padding:6px}.projection-chip{margin-bottom:6px}.table3-table,.table4-table{min-width:0!important}}
