:root{--bg:#f6f6f3;--surface:#fff;--surface-head:#fafaf8;--surface-soft:#edede9;--line:#e3e3df;--line-soft:#efefeb;--line-strong:#c9c9c3;--input-line:#8f8f89;--text:#1f2328;--muted:#5a5e63;--accent:#2f5d8a;--accent-dark:#1e3f60;--accent-soft:#eef3f8;--danger:#8a1c24;--warn-bg:#fff4d6;--warn-line:#a86a00;--radius:8px;color:var(--text);background:var(--bg);font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,sans-serif;font-size:15px;line-height:1.45}body{background:var(--bg);margin:0}main{max-width:1384px;margin:0 auto;padding:1.5rem 1.75rem 3rem}h2{margin:.5rem 0 .75rem;font-size:1.25rem;font-weight:600}h3{margin:.25rem 0 .75rem;font-size:1.0625rem;font-weight:600}h4,h5{margin:1.25rem 0 .5rem;font-size:.9375rem;font-weight:600}@media screen{p{max-width:80ch}}.version{color:var(--muted);font-size:.875rem}form{gap:.75rem;max-width:24rem;display:grid}label{gap:.25rem;display:grid}input,select,textarea{font:inherit;color:var(--text);background:var(--surface);border:1px solid var(--input-line);border-radius:6px;padding:.45rem .6rem}input[type=checkbox],input[type=radio]{accent-color:var(--accent)}:is(input,select,textarea):focus-visible{outline:2px solid var(--accent);outline-offset:1px}button{font:inherit;color:var(--text);background:var(--surface);border-radius:var(--radius);cursor:pointer;border:1px solid #c4c4be;justify-self:start;min-height:2.25rem;padding:.45rem .875rem;font-size:.9375rem}button:hover:not(:disabled){background:#f0f0ec}button[type=submit]{background:var(--accent);border-color:var(--accent);color:#fff}button[type=submit]:hover:not(:disabled){background:var(--accent-dark)}button:disabled{color:#6f6f6a;cursor:default;background:#f3f3f0}button:focus-visible{outline:3px solid var(--accent);outline-offset:2px}[role=alert]{color:var(--danger)}.codes{columns:2;padding-left:1.25rem}a{color:var(--accent)}a:hover{color:var(--accent-dark)}table{border-collapse:collapse;background:var(--surface);margin:.75rem 0}caption{text-align:left;padding-bottom:.25rem;font-weight:600}th,td{text-align:left;border-bottom:1px solid var(--line-soft);padding:.35rem .6rem}thead th{color:var(--muted);background:var(--surface-head);border-bottom:1px solid var(--line);font-size:.8125rem;font-weight:600}.app-bar{background:var(--surface);border-bottom:1px solid var(--line);align-items:center;gap:1.25rem;min-height:3.5rem;padding:.6rem 1.75rem;display:flex}.app-bar h1{color:var(--muted);letter-spacing:.01em;margin:0;font-size:1rem;font-weight:600}.app-bar .sign-out{align-items:center;gap:.75rem;margin-left:auto;display:flex}.app-bar .sign-out p{margin:0}.app-logo{object-fit:contain;max-width:10rem;max-height:2.5rem;display:block}.app-footer{max-width:1384px;color:var(--muted);margin:0 auto;padding:0 1.75rem 2rem;font-size:.875rem}td input{width:9rem;padding:.25rem}.hint{color:#4b5563;font-size:.875rem}:is(.attendance,.electives,.talks) td.cell{text-align:center;border:1px solid var(--line);min-width:2.25rem;height:1.75rem;padding:0;font-size:.8125rem;font-weight:600}:is(.attendance,.electives) .grid-scroll{background:var(--surface);border:1px solid var(--line);border-radius:12px;width:fit-content;max-width:100%;scroll-padding-left:14rem;overflow-x:auto}:is(.attendance,.electives) .grid-scroll table{margin:0}:is(.attendance,.electives) th.name{z-index:1;background:var(--surface);border-right:1px solid var(--line-strong);min-width:13rem;position:sticky;left:0}.attendance th.day,.attendance th.half,:is(.attendance,.electives) th.totals,:is(.attendance,.electives) td.totals{text-align:center;white-space:nowrap;font-size:.8125rem}.attendance th.day,.attendance td.cell.vm{border-left:1px solid var(--line-strong)}.attendance th.day.elective{background:#f1ecf6}:is(.attendance,.electives) .module{color:var(--muted);font-weight:400;display:block}:is(.attendance,.electives) td.totals{border-left:1px solid var(--line-strong);text-align:left;min-width:7rem}.attendance td.cell.na,.legend-bar .chip.na{background:repeating-linear-gradient(135deg,#f4f4f1 0 4px,#e6e6e1 4px 6px)}.attendance td.cell.off:not([class*=code-]){background:#e9e9e4}.attendance td.cell.elective:not([class*=code-]),.legend-bar .chip.elective{background:#f6f1fa}.attendance td.cell.elective.na,.legend-bar .chip.elective.na{background:repeating-linear-gradient(135deg,#f6f1fa 0 4px,#dccbea 4px 6px)}.attendance td.cell.elective.off:not([class*=code-]),.legend-bar .chip.off{background:#e9e9e4}.attendance .grid-controls{flex-wrap:wrap;align-items:end;gap:1rem;display:flex}:is(.attendance,.talks,.contacts,.feedback) .view-switch{border:1px solid #d1d5db;border-radius:.25rem;gap:1rem;display:flex}:is(.attendance,.talks,.contacts,.feedback) .view-switch label{align-items:center;gap:.25rem;display:flex}.attendance .week-nav{align-items:end;gap:.5rem;display:flex}:is(.attendance,.electives,.talks) td.cell:focus{outline:3px solid var(--accent);outline-offset:-3px}.attendance .actions{flex-wrap:wrap;gap:.5rem;display:flex}.legend-bar{color:#3a3e43;flex-wrap:wrap;align-items:center;gap:.375rem .875rem;margin:.625rem 0 .25rem;font-size:.8125rem;display:flex}.legend{margin:0;padding:0;list-style:none;display:contents}.legend li,.legend-extra{align-items:center;gap:.3rem;display:inline-flex}.chip{border:1px solid var(--line);background:var(--surface);border-radius:3px;justify-content:center;align-items:center;min-width:1.375rem;height:1.25rem;font-size:.75rem;font-weight:600;display:inline-flex}.legend-bar .chip.locked{box-shadow:inset 0 -3px #b45309}.help-toggle{min-width:1.75rem;min-height:1.75rem;color:var(--accent);background:0 0;border-color:#0000;border-radius:999px;padding:0 .5rem;font-weight:600}.help-toggle[aria-expanded=true]{background:var(--accent-soft)}.help{color:#3a3e43;background:var(--surface);border:1px solid var(--line);border-radius:10px;margin:.25rem 0 .75rem;padding:.625rem .875rem;font-size:.8125rem}.code-X{color:#1e6b2e;background:#e3f4e6}.code-O{color:#165224;background:#c4e6ce}.code-A,.code-E,.code-F,.code-H{color:#22466e;background:#e3ebf5}.code-B,.code-C,.code-D{color:#6e4b00;background:#fff1c2}.code-G{color:#5e3a6e;background:#efddea}.code-I{color:#8a1c24;background:#fad9dc;font-weight:700}th.inactive{color:var(--muted);font-weight:400}.badge{font-size:.875rem}form.inline{align-items:end;gap:.5rem;max-width:none;display:flex}.print-only{display:none}@media print{.no-print{display:none}:root{background:#fff}main{max-width:none;margin:0;padding:0}@page{size:A4;margin:15mm}.print-held{display:none}.print-only{display:block}}.tablist{border-bottom:1px solid var(--line);flex-wrap:wrap;gap:0 1.5rem;margin:1rem 0 0;display:flex}.tablist [role=tab]{min-height:0;color:var(--muted);background:0 0;border:none;border-bottom:3px solid #0000;border-radius:0;margin-bottom:-1px;padding:.7rem .15rem .55rem;font-size:.9375rem}.tablist [role=tab]:hover:not([aria-selected=true]){color:var(--text);background:0 0}.tablist [role=tab][aria-selected=true]{color:var(--text);border-bottom-color:var(--accent);font-weight:600}.tablist [role=tab]:focus-visible,.tabpanel:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.tabpanel{padding:1.25rem 0 1rem}.setup>*+*{border-top:1px solid #d1d5db;margin-top:1.5rem;padding-top:1rem}.side-panel{z-index:20;background:var(--surface);border-left:1px solid var(--line);width:min(420px,100%);height:100vh;padding:1.25rem 1.375rem 1.5rem;position:fixed;top:0;right:0;overflow-y:auto;box-shadow:-8px 0 24px #0000000f}.side-panel:focus-visible{outline:3px solid var(--accent);outline-offset:-3px}.side-panel-head{align-items:center;gap:.5rem;margin-bottom:.75rem;display:flex}.side-panel-head h3{flex:auto;margin:0;font-size:1.0625rem}.side-panel h4{margin:1rem 0 .25rem;font-size:.9375rem}.person-card{background:var(--bg);border-radius:10px;grid-template-columns:8.5rem minmax(0,1fr);gap:.375rem .625rem;margin:0;padding:.75rem .875rem;font-size:.875rem;display:grid}.person-card dt{color:var(--muted)}.person-card dd{overflow-wrap:anywhere;margin:0}.person-card dd.remark{white-space:pre-line}.side-panel .note-person{border-top:none;margin-top:.25rem;padding-top:0}.side-panel .note-form{max-width:none}.side-panel .note-form label{flex:100%}.side-panel .note-form textarea{box-sizing:border-box;width:100%;min-width:0}.side-panel .note-list{padding-left:0;list-style:none}.side-panel .note-list li{border-bottom:1px solid var(--line-soft);padding:.375rem 0 .5rem}.side-panel .note-list li button{min-height:1.75rem;padding:0 .5rem;font-size:.8125rem}.note-foreign .note-author,.note-author{color:var(--muted);font-size:.8125rem}.muted{color:var(--muted)}.pb-mark{color:#6b4900;vertical-align:middle;background:#fff1c2;border-radius:4px;margin-left:.375rem;padding:0 .25rem;font-size:.625rem;font-weight:600;line-height:1.4;text-decoration:none;display:inline-block}.note-dot{background:var(--accent);vertical-align:middle;border-radius:3px;width:6px;height:6px;margin-left:.3rem;display:inline-block}.wm-mark{color:#4a1d6e;vertical-align:middle;background:#e9dcf5;border-radius:4px;margin-left:.375rem;padding:0 .25rem;font-size:.625rem;font-weight:600;line-height:1.4;text-decoration:none;display:inline-block}.legend-extra .note-dot,.legend-extra .pb-mark,.legend-extra .wm-mark{margin-left:0}.attendance .attendance-grid thead th.day .day-button{width:100%;min-height:0;color:inherit;font:inherit;line-height:inherit;cursor:pointer;background:0 0;border:0;border-radius:0;margin:0;padding:0;display:block}.attendance .attendance-grid thead th.day .day-button:hover{background:var(--accent-soft)}.attendance .attendance-grid thead th.day .day-button:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}@media print{.side-panel{display:none}}.course-list li{margin:.25rem 0}.crumbs{margin:0;font-size:.875rem}.course-page>h2{margin:.25rem 0 .125rem;font-size:1.25rem}.course-page>[data-testid=course-period]{color:var(--muted);margin:0;font-size:.875rem}.course-page>[data-testid=page-notice]{background:var(--accent-soft);border-left:3px solid var(--accent);border-radius:4px;margin:.75rem 0 0;padding:.5rem .75rem}fieldset.course-fields{border:1px solid #9ca3af;border-radius:.25rem;gap:.75rem;max-width:24rem;display:grid}.day-list{columns:2}.electives th.module-head{text-align:center;vertical-align:bottom;background:#eef2ff;border-left:1px solid #9ca3af;width:6.5rem;min-width:5.5rem;max-width:6.5rem;font-size:.8125rem}.electives td.cell{cursor:pointer}.electives th.module-head .when{font-weight:600;display:block}.electives th.module-head .code{font-weight:600}.electives td.cell.loose{background:#fef3c7}.electives td.cell.chosen{color:#006100;background:#c6efce}.electives .seats.full{color:#991b1b;font-weight:600}.electives td.totals.off{background:#fef3c7}.elective-settings{margin:.5rem 0}.elective-settings summary{cursor:pointer;padding:.25rem 0}.elective-settings .capacity-list{flex-wrap:wrap;gap:.75rem;margin-top:.75rem;display:flex}.elective-settings input{width:5rem}.elective-settings .series-list{flex-direction:column;gap:.5rem;margin-top:.75rem;display:flex}.elective-settings label.series-check{align-items:center;gap:.4rem;display:flex}.elective-settings label.series-check input{width:auto}.plan-reassign form{max-width:40rem}.plan-reassign label.check{align-items:center;gap:.4rem;display:flex}.talks .grid-scroll{max-width:100%;overflow-x:auto}.talks .grid-scroll table{border-collapse:collapse}.talks th.day{text-align:center;white-space:nowrap;border:1px solid #9ca3af;border-left:3px solid var(--text);background:#eef2ff;padding:.2rem .25rem;font-size:.8125rem}.talks th.time{vertical-align:bottom;background:#eef2ff;border:1px solid #9ca3af;width:1.5rem;min-width:0;padding:.25rem 0;font-size:.75rem;font-weight:400}.talks th.time .vertical{writing-mode:vertical-rl;line-height:1;display:inline-block;transform:rotate(180deg)}.talks th.time.blocked{color:#1f2937;background:#d1d5db}.talks td.cell{cursor:pointer;width:1.5rem;min-width:0}.talks td.cell.chosen{color:#006100;background:#c6efce}.talks td.cell.blocked{background:#d1d5db}.talks :is(th.time,td.cell).blocked{width:.8rem}.talks td.cell.outside{cursor:not-allowed;background:repeating-linear-gradient(135deg,#e5e7eb 0 4px,#f9fafb 4px 8px)}.talks th.day.outside{background:#e5e7eb}.talks th.day .outside-note{font-size:.75rem;font-weight:400;display:block}.talks :is(th.time,td.cell).day-start{border-left:3px solid var(--text)}.talks td.totals{white-space:nowrap;border-left:3px solid var(--text);font-size:.8125rem}.talks td.totals.off{background:#fef3c7}.talks th.totals{white-space:nowrap;border-left:3px solid var(--text);font-size:.8125rem}.talks form.inline{flex-wrap:wrap;align-items:end;gap:1rem;display:flex}.talks form.inline .form-hints{flex-wrap:wrap;flex-basis:100%;gap:.25rem 1.5rem;display:flex}.talks th.name{white-space:nowrap;font-size:.8125rem}.talks th.name.missing{background:#fef3c7}.link-button{font:inherit;color:inherit;text-align:left;text-underline-offset:2px;cursor:pointer;background:0 0;border:0;border-radius:2px;min-height:0;padding:0;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.link-button:hover:not(:disabled){color:var(--accent);background:0 0}.note-person{border-top:1px solid #ccc;margin-top:.75rem;padding-top:.5rem}.note-person h4{margin:0 0 .25rem}.note-list{margin:0 0 .5rem;padding-left:1.2rem}.note-list li{white-space:pre-wrap;margin-bottom:.25rem}.note-date{font-variant-numeric:tabular-nums;font-weight:600}.note-form{flex-wrap:wrap;align-items:end;gap:.5rem;max-width:none;display:flex}.note-form textarea{font:inherit;border:1px solid #6b7280;border-radius:.25rem;padding:.5rem}.note-form label{flex-direction:column;display:flex}.note-form textarea{min-width:min(32rem,80vw)}.note-count{color:#555;font-size:.85em}.date-field{gap:.25rem;display:grid;position:relative}.date-field-row{gap:.25rem;display:flex}.date-field-row input{min-width:0}.date-button{align-items:center;padding:.25rem .5rem;display:inline-flex}.calendar{z-index:10;background:#fff;border:1px solid #6b7280;border-radius:.25rem;width:max-content;margin-top:.25rem;padding:.5rem;position:absolute;top:100%;left:0;box-shadow:0 4px 12px #00000026}.calendar-head{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.calendar-head button{padding:.25rem .6rem}.calendar-title{font-weight:600}.calendar table{border-collapse:collapse;margin-top:.25rem}.calendar th{text-align:center;padding:.2rem 0;font-size:.8rem;font-weight:600}.calendar :is(th,td){width:2.25rem}.calendar td{text-align:center;cursor:pointer;font-variant-numeric:tabular-nums;padding:.3rem 0}.calendar td:empty{cursor:default}.calendar td[aria-current=date]{font-weight:700;text-decoration:underline}.calendar td[aria-disabled=true]{color:#4b5563;cursor:not-allowed;text-decoration:line-through}.calendar td[aria-selected=true]{color:#fff;background:#1e3a8a}.calendar td:focus{outline-offset:-2px;outline:3px solid #2563eb}.calendar .hint{color:#4b5563;max-width:16rem;margin:.25rem 0 0;font-size:.8rem}.gaps li button{margin-left:.25rem;padding:.15rem .6rem}.logo-form{margin-top:1.5rem}.stamp-kind{gap:.35rem;margin:.5rem 0;display:grid}.stamp-kind label{align-items:flex-start;gap:.5rem;display:flex}.logo-preview{background:#fff;border:1px solid #d1d5db;max-width:16rem;max-height:4rem;padding:.25rem}.nametags{max-width:210mm}.nametag-page{page:nametag;color:#000;background:#fff;grid-template-rows:repeat(4,1fr);width:210mm;height:297mm;margin-bottom:1rem;display:grid;position:relative;overflow:hidden;box-shadow:0 0 0 1px #d1d5db}.nametag-strip{min-width:0}.nametag-face{flex-direction:column;justify-content:center;align-items:center;gap:5mm;padding:6mm 15mm;display:flex;overflow:hidden}.nametag-face.turned{transform:rotate(180deg)}.nametag-logo{max-width:70mm;max-height:18mm}.nametag-name{text-align:center;white-space:nowrap;width:100%;max-width:none;margin:0;font-family:Arial,sans-serif;font-size:44pt;font-weight:700;line-height:1.15;overflow:hidden}.nametag-name[data-wrapped]{white-space:normal;overflow-wrap:anywhere}.fold-mark{height:0;position:absolute;left:0;right:0}.fold-1{top:25%}.fold-2{top:50%}.fold-3{top:75%}.fold-left,.fold-right{border-top:.3mm solid #6b7280;width:7mm;position:absolute;top:0}.fold-left{left:0}.fold-right{right:0}@page nametag{size:A4;margin:0}@media print{body:has(.nametag-page){margin:0}.nametags{max-width:none}.nametag-page{box-shadow:none;break-after:page;margin:0}.nametag-page:last-child{break-after:auto}}.texts-form{margin-top:1.5rem}.texts-form textarea,.texts-form input[type=text]{width:100%;max-width:40rem}.texts-form textarea{font:inherit}.sheet{color:#111;box-sizing:border-box;background:#fff;border:1px dashed #9ca3af;max-width:180mm;min-height:257mm;margin-bottom:1rem;padding:10mm 12mm 22mm;font-family:Arial,sans-serif;font-size:11pt;position:relative}.sheet-logo{max-width:70mm;max-height:22mm;margin-left:auto;display:block}.sheet-footer{color:#374151;text-align:center;font-size:8pt;position:absolute;bottom:8mm;left:12mm;right:12mm}.sheet-footer p{margin:0}.cert-title{text-align:center;margin:14mm 0 8mm;font-size:26pt}.cert-name{text-align:center;overflow-wrap:anywhere;margin:0 0 4mm;font-size:22pt;font-weight:700}.cert-lead{text-align:center;margin-bottom:8mm}.cert-body ul{margin:0 0 3mm}.cert-sign{justify-content:space-between;align-items:flex-end;margin-top:14mm;display:flex}.cert-signature{border-bottom:1px solid #111;width:60mm;height:14mm;margin-bottom:1mm;display:block}.absence-head{justify-content:space-between;gap:10mm;min-height:22mm;display:flex}.absence h2{margin:3mm 0 2mm;font-size:15pt}.absence h3{margin:5mm 0 2mm;font-size:11pt}.absence-head p{margin:0}.absence-fields{grid-template-columns:max-content 1fr;gap:1.2mm 4mm;display:grid}.absence-fields dd{margin:0}.absence-reasons{padding:0;list-style:none}.absence-reasons li{margin-bottom:1.5mm}.absence-reasons p{margin:1mm 0 0 7mm}.blank{border-bottom:1px solid #111;width:30mm;height:1em;display:inline-block}.blank.wide{width:90mm}.blank-area{border-bottom:1px solid #111;height:10mm;margin-left:7mm;display:block}.checkbox{vertical-align:-.4mm;border:1px solid #111;width:3.5mm;height:3.5mm;margin-right:1.5mm;display:inline-block}.absence-sign{justify-content:space-between;margin-top:6mm;display:flex}.absence-sign>span{white-space:nowrap}@media print{.sheet{break-after:page;border:none;max-width:none;min-height:255mm;margin:0}}.blank.sign{width:55mm}.amm-page{page:amm;color:#000;background:#fff;width:210mm;height:296.5mm;margin-bottom:1rem;font-family:Arial,sans-serif;position:relative;overflow:hidden;box-shadow:0 0 0 1px #d1d5db}.amm-bg{width:210mm;height:297mm;position:absolute;top:0;left:0}.amm-stamp{object-fit:contain;object-position:center;opacity:.35;pointer-events:none;position:absolute}.amm-stamp.amm-signature{opacity:1}.amm-field,.amm-digit{box-sizing:border-box;font-size:10pt;line-height:1;position:absolute}.amm-text{white-space:nowrap;align-items:center;padding:0 1.5mm;display:flex;overflow:hidden}.amm-area{white-space:pre-wrap;padding:1.2mm 1.5mm;font-size:8.5pt;line-height:1.2;overflow:hidden}.amm-check,.amm-digit{justify-content:center;align-items:center;font-weight:700;display:flex}.amm-digit{width:5.1mm;height:7.6mm;font-size:11pt}[data-field^=VM_],[data-field^=NM_]{justify-content:center;font-size:12pt;font-weight:700}@media screen{.amm-page{zoom:.75}}@page amm{size:A4;margin:0}@media print{body:has(.amm-page){margin:0}.amm-page{box-shadow:none;break-after:page;margin:0}}.attendance th.day.locked{background:var(--warn-bg)}.attendance td.cell.locked{box-shadow:inset 0 -3px #b45309}.locks td,.locks th{vertical-align:top;font-size:.875rem}.locks tr[data-pending=true] td:last-child{font-weight:600}.locks .history{max-width:100%;overflow-x:auto}.locks .history td:last-child{min-width:9rem}.issue label.confirm{align-items:center;gap:.5rem;margin:.5rem 0;display:flex}@media print{.certificate-choice{display:none}}@media screen{.certificate-choice{flex-wrap:wrap;align-items:center;gap:.25rem .75rem;margin:1rem 0 .5rem;display:flex}.certificate-choice label{flex-direction:row;align-items:center;gap:.5rem;margin:0;display:flex}}.issue .gap-list{margin:.25rem 0 .5rem;padding-left:1.25rem}.issue .gap-list .gap-new{font-style:normal;font-weight:700}.issue .gap-list{list-style:none}.issue .gap-list summary{cursor:pointer}.issue .gap-list div.gap-person>.gap-line{padding-left:1.1em}.issue .gap-list .gap-days{margin:.1rem 0 .25rem 1rem}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.load-failed{border-left:4px solid #991b1b;margin:.5rem 0;padding-left:.5rem}.save-state{z-index:20;background:#fff;border:1px solid #6b7280;border-radius:.25rem;max-width:min(28rem,100vw - 2rem);max-height:50vh;padding:.5rem .75rem;position:fixed;bottom:1rem;right:1rem;overflow:auto;box-shadow:0 2px 8px #00000026}.save-state p{margin:.25rem 0}.save-state [role=alert]{border-left:4px solid #991b1b;padding-left:.5rem}.save-state ul{margin:.25rem 0 .5rem;padding-left:1.25rem}.course-dates{margin:0 0 1rem}.course-dates form{margin-top:.5rem}.course-dates-title{margin:.75rem 0 .25rem;font-size:1rem}.attendance .grid-scroll{max-height:max(18rem,min(760px,100vh - 27.75rem));scroll-padding:4rem 0 1.25rem 244px;overflow:auto}.attendance .attendance-grid{table-layout:fixed;border-collapse:separate;border-spacing:0}.attendance .attendance-grid :is(th,td){overflow-wrap:anywhere;overflow:hidden}.attendance .attendance-grid thead th{z-index:2;vertical-align:bottom;text-align:center;background:var(--surface-head);border-bottom:2px solid var(--line-strong);color:var(--muted);padding:.35rem .2rem;font-size:.75rem;font-weight:500;line-height:1.25;position:sticky;top:0}.attendance .attendance-grid thead th.day{color:var(--text);border-left:1px solid var(--line);padding:.3rem 0}.attendance .attendance-grid thead th.day span{display:block}.attendance .attendance-grid thead th.day .weekday,.attendance .attendance-grid thead th.day .module{color:var(--muted);font-size:.6875rem;font-weight:400}.attendance .attendance-grid thead th.day .date{font-weight:600}.attendance .attendance-grid thead th.day abbr{text-decoration:none}.attendance .attendance-grid thead th.day.elective{background:#f1ecf6}.attendance .attendance-grid thead th.day.locked{background:var(--warn-bg)}.attendance .attendance-grid :is(th.name,th.half,th.halfhead){z-index:1;background:var(--surface);position:sticky}.attendance .attendance-grid th.name{text-align:left;vertical-align:middle;border-right:none;border-bottom:1px solid var(--line-strong);min-width:0;padding:0 .6rem;font-size:.875rem;font-weight:500;left:0}.attendance .attendance-grid :is(th.half,th.halfhead){text-align:left;color:var(--muted);border-right:1px solid var(--line-strong);padding:0 0 0 .35rem;font-size:.6875rem;font-weight:400;left:208px}.attendance .attendance-grid th.half abbr{text-decoration:none}.attendance .attendance-grid thead :is(th.name,th.halfhead){z-index:3;background:var(--surface-head);border-bottom:2px solid var(--line-strong)}.attendance .attendance-grid thead th.name,.attendance .attendance-grid thead th.halfhead{vertical-align:bottom;padding-bottom:.35rem}.attendance .attendance-grid thead th.reasons{text-align:left;border-left:1px solid var(--line-strong);padding-left:.6rem}.attendance .attendance-grid td.cell{border-style:solid;border-width:0 0 0 1px;border-color:var(--line);min-width:0;height:1.625rem}.attendance .attendance-grid tr.nm :is(td,th.half){border-top:1px solid var(--line-soft)}.attendance .attendance-grid tbody.person tr.nm>*{border-bottom:1px solid var(--line-strong)}.attendance .attendance-grid td.reasons{vertical-align:middle;color:#3a3e43;border-left:1px solid var(--line-strong);border-bottom:1px solid var(--line-strong);white-space:normal;padding:.15rem .6rem;font-size:.75rem;line-height:1.3}.attendance .attendance-grid td.reasons ul{margin:0;padding:0;list-style:none}.attendance .attendance-grid td.reasons li{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.attendance .lock-status{white-space:nowrap;background:var(--warn-bg);border-left:3px solid var(--warn-line);border-radius:4px;margin:0;padding:.3rem .65rem;font-size:.8125rem}.attendance .lock-status.elective-gaps-status{white-space:normal}.attendance .week-nav button{min-width:2rem;padding:.25rem .5rem;font-weight:600}:is(.attendance,.talks,.contacts,.feedback) .view-switch{border-radius:var(--radius);background:var(--surface-soft);border:none;gap:2px;margin:0;padding:3px;display:flex;position:relative}:is(.attendance,.talks,.contacts,.feedback) .view-switch legend{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}:is(.attendance,.talks,.contacts,.feedback) .view-switch label{color:#4a4e53;cursor:pointer;border-radius:6px;padding:.3rem .75rem;font-size:.875rem;position:relative}:is(.attendance,.talks,.contacts,.feedback) .view-switch input{opacity:0;cursor:pointer;margin:0;position:absolute;inset:0}:is(.attendance,.talks,.contacts,.feedback) .view-switch label:has(input:checked){background:var(--surface);color:var(--text);font-weight:600;box-shadow:0 1px 2px #0000001f}:is(.attendance,.talks,.contacts,.feedback) .view-switch label:has(input:focus-visible){outline:3px solid var(--accent);outline-offset:1px}.attendance .grid-controls{align-items:center;margin-bottom:.75rem}.attendance .week-nav{align-items:center}.attendance .week-nav label{align-items:center;gap:.4rem;font-size:.875rem;display:flex}.attendance .actions{margin:.5rem 0}.setup>*+*{border-top-color:var(--line)}.contacts{margin-top:2rem}.contacts .view-switch{width:fit-content;margin-bottom:.75rem}.contacts td:last-child{text-align:center}.draft-question{background:var(--warn-bg);border:1px solid #e0b84d;border-radius:8px;margin:.5rem 0 .75rem;padding:.625rem .75rem}.draft-question p{margin:0 0 .5rem}.sheet-actions{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.journal{max-width:60rem;margin-top:1.75rem}.journal .journal-field{max-width:none;margin:.75rem 0 1rem}.journal-field h4,.journal-label{margin:0 0 .25rem;font-size:.9375rem;font-weight:600;display:block}.journal-field textarea{box-sizing:border-box;width:100%}.journal-actions{flex-wrap:wrap;align-items:center;gap:.5rem .75rem;margin-top:.375rem;display:flex}.journal-actions .note-count{margin-right:auto}.note-count.over{color:#8a1c24;font-weight:600}.journal-text{white-space:pre-wrap;margin:0}.journal-second{margin-top:.75rem}.journal-second h5{margin:.75rem 0 .25rem}.journal-second-hint{margin:0 0 .25rem;display:block}.journal-actions .journal-spacer{margin-right:auto}.journal-message{min-height:1.25rem;margin:.25rem 0 0;font-size:.875rem}@page praesenz{size:A4 landscape;margin:8mm}.attendance-print .print-page{page:praesenz;box-sizing:border-box;color:#1f2328;-webkit-print-color-adjust:exact;print-color-adjust:exact;background:#fff;width:281mm;min-height:194mm;margin:0 0 1.5rem;font-size:9px}.attendance-print .print-fit{width:281mm}.print-head{justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:6px;display:flex}.print-title{text-align:right;flex-direction:column;gap:2px;font-size:11px;display:flex}.print-title strong{font-size:14px}.print-journal .print-title{text-align:left}.print-journal .journal-title{margin-bottom:4px;font-size:16px}.print-logo{object-fit:contain;max-width:160px;max-height:44px;display:block}.print-grid{table-layout:fixed;border-collapse:collapse;border:1px solid #1f2328;width:100%}.print-grid col.c-nr{width:24px}.print-grid col.c-name{width:150px}.print-grid col.c-half{width:26px}.print-grid col.c-day{width:36px}.print-grid th,.print-grid td{border:1px solid #c9c9c3;padding:0 3px;font-size:8px;line-height:13px;overflow:hidden}.print-grid thead th{vertical-align:bottom;text-align:left;background:#f0f0f0;border-bottom:1px solid #1f2328;font-weight:600}.print-grid thead th:not(.reasons):nth-child(n+4){text-align:center;padding:1px 0}.print-grid thead th span{font-weight:400;display:block}.print-grid thead th span.d{font-weight:600}.print-grid thead th.elective{background:#ece6f3}.print-grid tbody{border-bottom:1px solid #1f2328}.print-grid th.name{text-align:left;vertical-align:middle;font-size:9px;font-weight:600;line-height:11px}.print-grid th.name .badge{color:#5a5e63;background:0 0;border:0;padding:0;font-size:8px;font-weight:400;display:block}.print-grid td.nr{vertical-align:middle}.print-grid td.half{color:#5a5e63}.print-grid td.cell{text-align:center;font-weight:600}.print-grid td.cell.na{background:repeating-linear-gradient(135deg,#f4f4f1 0 3px,#e2e2dd 3px 5px)}.print-grid td.cell.off:not([class*=code-]){background:#e9e9e5}.print-grid td.reasons{vertical-align:top;border-left:1px solid #9a9a95;padding:2px 4px;font-size:8px;line-height:11px}.print-legend{color:#3a3e43;margin:6px 0 0;font-size:8.5px;font-style:italic}.print-journal .journal-box{break-inside:avoid;border:1px solid #9a9a95;margin-top:8px}.print-journal .journal-box h3{background:#f0f0f0;margin:0;padding:3px 8px;font-size:11px;font-weight:600}.print-journal .journal-box p{white-space:pre-wrap;max-width:none;min-height:62px;margin:0;padding:5px 8px;font-size:10.5px;line-height:1.4}.print-journal .journal-box.summary p{min-height:80px}.print-journal .journal-box.summary.improvements p{min-height:140px}.print-journal .journal-weeks.two{grid-template-columns:1fr 1fr;column-gap:12px;display:grid}.print-journal .journal-weeks.two .journal-box.wide{grid-column:1/-1}.print-journal .journal-sign{gap:3rem;margin:20px 0 0;font-size:12px;display:flex}@media screen{.attendance-print .print-page{border:1px solid var(--line);width:297mm;min-height:210mm;padding:8mm;box-shadow:0 2px 8px #00000014}}@media print{.attendance-print .print-page{break-after:page;margin:0}.attendance-print .print-page:last-of-type{break-after:auto}body:has(.attendance-print){margin:0}}.catalog-list{margin:.5rem 0 1rem;padding:0;list-style:none}.catalog-list>li{border-bottom:1px solid var(--line,#d1d5db);padding:.5rem 0}.catalog-list form.inline{flex-wrap:wrap}.elective-setup-text{align-self:center;min-width:16rem}.member-line{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;display:flex}.member-actions{gap:.5rem;display:flex}.invite-form{flex-wrap:wrap}.show-all{flex-wrap:wrap;align-items:center;gap:.25rem .75rem;margin:.5rem 0 .75rem;display:flex}.show-all label{align-items:center;gap:.5rem;display:inline-flex}.show-all input[type=checkbox]{width:1.1rem;height:1.1rem;margin:0}.status-form .deviation{background:#fffbeb;border-left:3px solid #b45309;gap:.5rem;padding:.5rem .75rem;display:grid}.status-form .deviation p{margin:0}.feedback .view-switch{width:fit-content;margin:.75rem 0}.feedback-controls{flex-wrap:wrap;align-items:center;gap:.5rem 1rem;display:flex}.feedback-scroll{max-width:100%;overflow-x:auto}.feedback-matrix{border-collapse:collapse}.feedback-matrix th,.feedback-matrix td{border:1px solid var(--line);padding:.3rem .45rem}.feedback-matrix thead th{background:var(--surface-head);vertical-align:bottom}.feedback-matrix th.giver{width:2.2rem;min-width:2.2rem;padding:.4rem .2rem}.feedback-matrix th.giver span{writing-mode:vertical-rl;white-space:nowrap;text-overflow:ellipsis;max-height:11rem;display:inline-block;overflow:hidden;transform:rotate(180deg)}.feedback-matrix tbody th{text-align:left;white-space:nowrap}.feedback-matrix td.start{color:#1f6b2a;text-align:center;white-space:nowrap;background:#e3f2e1;font-weight:600}.feedback-matrix td.link{white-space:nowrap}.feedback-matrix .no-link{color:var(--muted)}.feedback-matrix td:has(>input[type=checkbox]){text-align:center}.feedback-matrix td.shares{background:#e3f2e1}.feedback-links{flex-wrap:wrap;align-items:flex-end;gap:.5rem 1rem;display:flex}.feedback-links label{flex-direction:column;gap:.2rem;min-width:min(22rem,100%);display:flex}.feedback-link-list{flex-direction:column;align-items:stretch;max-width:60rem;margin:1rem 0}.feedback-link-list textarea{white-space:pre;font-family:ui-monospace,monospace}@media print{.feedback .view-switch,.feedback-controls select,.feedback button{display:none}}.setup-group{border:1px solid var(--line,#d1d5db);background:var(--surface);border-radius:.375rem;margin:1.5rem 0}.setup-group>summary{cursor:pointer;padding:.75rem 1rem}.setup-group>summary:focus-visible{outline:3px solid var(--accent);outline-offset:-3px}.setup-group-title{font-size:1.0625rem;font-weight:600}.setup-group-body{border-top:1px solid var(--line,#d1d5db);padding:0 1rem 1rem}.hint.warn,.plan-differs{background:var(--warn-bg);border-left:4px solid var(--warn-line);color:var(--text,#1f2937);padding:.4rem .6rem}.cert-signer{display:block}.print-journal .journal-signer{flex-direction:column;display:flex}.signer-line{display:block}.provider-field{margin:.4rem 0}.provider-field .hint{margin:.1rem 0 0;display:block}.member-document-name{margin:.1rem 0 0}.member-document-name .warn{color:var(--text,#1f2937);background:var(--warn-bg);font-weight:600}.plan-check{margin:.25rem 0;padding:0;list-style:none}.plan-check li{margin:.2rem 0}.stale-days label.check{align-items:center;gap:.4rem;display:flex}.stale-days label.check input{width:auto}.stale-days ul{margin:.25rem 0;padding:0;list-style:none}.stale-days li{margin:.2rem 0}
