@font-face{font-family:Lato;font-style:normal;font-weight:300;font-display:swap;src:url(/fonts/lato-v24-latin-300.woff2) format("woff2")}@font-face{font-family:Lato;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/lato-v24-latin-regular.woff2) format("woff2")}@font-face{font-family:Lato;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/lato-v24-latin-700.woff2) format("woff2")}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.nav-underline,.settings-tab,.segment-button,.grade-button,.role-choice-button{position:relative}.nav-underline:before,.nav-underline:after,.settings-tab:before,.settings-tab:after,.segment-button:before,.segment-button:after,.grade-button:before,.grade-button:after,.role-choice-button:before,.role-choice-button:after{content:"";position:absolute;left:50%;width:0;height:1px;transform:translate(-50%);background:linear-gradient(to left,transparent,var(--brand),transparent);transition:width .3s ease-in-out;pointer-events:none}.nav-underline:before,.settings-tab:before,.segment-button:before,.grade-button:before,.role-choice-button:before{top:0}.nav-underline:after,.settings-tab:after,.segment-button:after,.grade-button:after,.role-choice-button:after{bottom:0}.nav-underline:hover:before,.nav-underline:focus-visible:before,.nav-underline:hover:after,.nav-underline:focus-visible:after,.settings-tab:hover:before,.settings-tab:focus-visible:before,.settings-tab:hover:after,.settings-tab:focus-visible:after,.segment-button:hover:before,.segment-button:focus-visible:before,.segment-button:hover:after,.segment-button:focus-visible:after,.grade-button:not(:disabled):hover:before,.grade-button:not(:disabled):focus-visible:before,.grade-button:not(:disabled):hover:after,.grade-button:not(:disabled):focus-visible:after,.role-choice-button:not(:disabled):hover:before,.role-choice-button:not(:disabled):focus-visible:before,.role-choice-button:not(:disabled):hover:after,.role-choice-button:not(:disabled):focus-visible:after{width:100%}.settings-tab-active:before,.settings-tab-active:after,.segment-button-active:before,.segment-button-active:after,.grade-button-active:before,.grade-button-active:after,.role-choice-button-active:before,.role-choice-button-active:after{width:100%}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.visible{visibility:visible}.relative{position:relative}.my-0\.5{margin-top:.125rem;margin-bottom:.125rem}.mt-8{margin-top:2rem}.\!block{display:block!important}.block{display:block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.min-h-\[38px\]{min-height:38px}.max-w-none{max-width:none}.cursor-not-allowed{cursor:not-allowed}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-between{justify-content:space-between}.gap-5{gap:1.25rem}.rounded-\[10px\]{border-radius:10px}.rounded-md{border-radius:.375rem}.bg-custom-red\/10{background-color:#7308001a}.bg-gradient-to-b{background-image:linear-gradient(to bottom,var(--tw-gradient-stops))}.from-white{--tw-gradient-from: #fff var(--tw-gradient-from-position);--tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.to-custom-gray{--tw-gradient-to: #999999 var(--tw-gradient-to-position)}.px-3{padding-left:.75rem;padding-right:.75rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-7{padding-top:1.75rem;padding-bottom:1.75rem}.pb-3{padding-bottom:.75rem}.pt-4{padding-top:1rem}.text-right{text-align:right}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.italic{font-style:italic}.text-\[\#4d3a38\]{--tw-text-opacity: 1;color:rgb(77 58 56 / var(--tw-text-opacity, 1))}.text-\[\#8a7d7b\]{--tw-text-opacity: 1;color:rgb(138 125 123 / var(--tw-text-opacity, 1))}.text-custom-light-red\/90{color:#a8212ae6}.text-custom-red{--tw-text-opacity: 1;color:rgb(115 8 0 / var(--tw-text-opacity, 1))}.no-underline{text-decoration-line:none}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}:root{--brand: #730800;--brand-strong: #5a0600;--brand-light: #a8212a;--brand-gray: #999999;--brand-gray-soft: #d9d9d9;font-family:Lato,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#1d2433;background:#f5f7fb}*{box-sizing:border-box}body{margin:0}.app-shell{min-height:100vh;width:min(1040px,100%);margin:0 auto;padding:28px 24px 40px}.app-banner{position:relative;margin-bottom:18px;overflow:hidden;border-radius:10px;background:#fff;box-shadow:0 2px 10px #22222614}.site-header{display:flex;gap:16px;align-items:flex-start;justify-content:space-between;margin-bottom:0}.site-title-block{display:grid;gap:4px}.site-title-row{display:flex;gap:10px;align-items:flex-start}.header-status-line{margin:0;color:#4d596b;font-size:13px;font-weight:700;line-height:1.35}.header-user-area{display:grid;gap:5px;justify-items:end;min-width:140px;color:#1d2433;font-size:14px}.header-user-area button{min-height:32px;padding:6px 10px}h1{margin:0;font-size:28px;line-height:1.1}h2{margin:0 0 12px;font-size:20px}.section-header-row{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;margin-bottom:12px}.section-header-row h2{margin:0}.import-title{display:inline-flex;gap:8px;align-items:flex-start}.history-sup-button{min-height:0;padding:2px 8px;border:1px solid #b8c3d3;border-radius:999px;color:#334155;background:#f8fafc;font-size:12px;font-weight:700;line-height:1.2;transform:translateY(-5px)}p{max-width:64ch;font-size:18px;line-height:1.6}code{padding:2px 6px;border-radius:4px;background:#e8edf5}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.auth-panel,.toolbar,.exam-section{border:1px solid #dce3ee;border-radius:8px;background:#fff}.auth-panel p,.message{margin:0;color:#4d596b;font-size:16px}.success-message{color:#145c3c}.auth-panel{padding:18px 20px;margin-bottom:18px}.app-nav{display:grid;gap:14px;padding:14px 20px;margin-bottom:0;border:0;border-top:1px solid var(--brand);border-bottom:1px solid var(--brand);background:#fbfafa}.nav-group{display:grid;gap:8px}.nav-group-label{color:#4d596b;font-size:13px;font-weight:700}.system-status{display:inline-flex;align-items:center;min-height:24px;margin-top:-3px;padding:2px 8px;border:1px solid #b8c3d3;border-radius:999px;color:#1d2433;background:#fff;font-size:12px;font-weight:800}.system-status-online{border-color:#8dc8a8;color:#145c3c;background:#eaf7ef}.system-status-offline{border-color:#e5a1a1;color:#8a1f1f;background:#fff0f0}.system-status-pending{border-color:#e5bf7f;color:#5f400b;background:#fff8e8}.nav-links{display:flex;flex-wrap:wrap;gap:8px}.nav-row-content{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between}.global-period-controls{display:grid;gap:5px;align-items:center;justify-content:flex-end;justify-items:end;margin-left:auto}.global-period-controls .nav-half-year-filter{margin-left:0}.nav-half-year-filter{display:inline-flex;gap:7px;align-items:center;margin-left:auto;color:#4d596b;font-size:14px;font-weight:800}.nav-half-year-filter select{min-height:36px;padding:6px 8px}.nav-period-filter select{width:172px;min-height:38px;font-size:13px;font-weight:800}.nav-quarter-filter select{width:112px;min-height:30px;padding:4px 7px;font-size:12px;font-weight:700}.settings-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px;padding-bottom:10px;border-bottom:1px solid #dce3ee}.settings-tab{min-height:36px;padding:7px 12px;border:0;border-radius:6px;color:#4d3a38;background:transparent;font-size:13px;font-weight:800;text-decoration:none}.settings-tab-active{color:var(--brand);background:#7308001a}.login-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:12px;align-items:end}.login-modal{width:min(440px,100%)}.quarter-choice-modal{width:min(460px,100%)}.school-year-modal{width:min(620px,100%)}.login-modal .login-form{grid-template-columns:1fr}.login-form label,.import-preview-form label,.school-year-controls label,.school-year-start-form label{display:grid;gap:6px;color:#4d596b;font-weight:700}.login-form input,.import-preview-form input,.import-preview-form select,.school-year-controls input,.school-year-controls select{min-width:0;width:100%;padding:9px 10px;border:1px solid #b8c3d3;border-radius:6px;color:#1d2433;background:#fff;font:inherit}.student-plan-result{display:grid;gap:12px;margin-top:14px}.import-run-detail{display:grid;gap:12px;margin-top:18px;padding-top:18px;border-top:1px solid #e3e8f0}.import-run-detail h3{margin:0;color:#4d596b;font-size:16px}.import-run-history-content{display:grid;gap:16px}.notifications-section{display:grid;gap:14px;padding:18px 20px}.notifications-controls{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.notifications-controls label{display:grid;gap:6px;color:#4d596b;font-weight:700}.notifications-controls select{min-width:0;width:100%;padding:9px 10px;border:1px solid #b8c3d3;border-radius:6px;color:#1d2433;background:#fff;font:inherit}.notifications-actions{justify-content:flex-start}.notifications-preview{display:grid;gap:12px}.summary-list{margin:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}.summary-list div{padding:10px;border:1px solid #dce3ee;border-radius:6px;background:#f9fbff}.summary-list dt{margin:0;color:#4d596b;font-size:12px;font-weight:700}.summary-list dd{margin:4px 0 0;color:#1d2433;font-size:15px;font-weight:700}button{min-height:41px;padding:9px 14px;border:1px solid var(--brand);border-radius:6px;color:#fff;background:var(--brand);font:inherit;font-weight:700;cursor:pointer;transition:background-color .2s ease,border-color .2s ease,box-shadow .2s ease,transform .15s ease,filter .2s ease}button:disabled{cursor:not-allowed;opacity:.65}button:not(:disabled):not(.segment-button):not(.settings-tab):not(.grade-button):not(.role-choice-button):not(.link-button):hover{transform:translateY(-1px);box-shadow:0 4px 12px #7308002e;filter:brightness(.97)}button:not(:disabled):not(.link-button):active{transform:translateY(0);box-shadow:none;filter:brightness(.94)}.secondary-button{border-color:#b8c3d3;color:#1d2433;background:#fff}.compact-button{min-height:32px;padding:5px 9px}.warning-button{border-color:#996a13;color:#fff;background:#996a13}.danger-button{border-color:#9b1c1c;color:#fff;background:#b42323}.grade-management-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:end}.compact-list{display:flex;flex-wrap:wrap;gap:.35rem;margin:.75rem 0}.link-button{min-height:0;padding:0;border:0;border-radius:0;color:var(--brand);background:transparent;font-weight:700;text-align:left;text-decoration:underline}.link-button:hover,.link-button:focus{color:var(--brand-strong)}.user-summary{display:grid;gap:10px}.meta-line{font-size:14px}.status-dot{width:12px;height:12px;margin-top:8px;border-radius:50%;background:#9aa7b8}.status-dot-ready{background:#18794e}.status-dot-loading,.status-dot-idle{background:#996a13}.status-dot-error{background:#bd2c2c}.toolbar{display:flex;gap:12px;align-items:center;padding:16px 20px;margin-bottom:18px}.toolbar label,.toolbar-label{font-weight:700}.toolbar select{min-width:160px;padding:8px 10px;border:1px solid #b8c3d3;border-radius:6px;color:#1d2433;background:#fff;font:inherit}.grade-toolbar{align-items:flex-start}.grade-button-group{display:flex;flex-wrap:wrap;gap:8px}.grade-button{min-width:54px;min-height:38px;padding:8px 13px;border:0;border-radius:6px;color:#4d3a38;background:transparent}.grade-button-active{color:var(--brand);background:#7308001a}.grade-button:disabled{border-color:#d8dee8;color:#7a8798;background:#eef2f7}.exam-section{padding:20px;margin-bottom:18px}.section-heading-row{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;margin-bottom:12px}.section-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.absence-toolbar-actions{justify-content:flex-end;margin-left:auto}.absence-row-declined{color:#6f7885;background:#f4f6f8}.absence-row-declined td{border-color:#e1e6ec}.resit-toolbar{align-items:end}.resit-toolbar label{display:grid;gap:6px}.resit-quarter-groups{display:grid;gap:18px}.resit-quarter-card{display:grid;gap:14px;padding:16px;border:1px solid #dce3ee;border-radius:8px;background:#fff}.resit-quarter-card-header{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-start;justify-content:space-between}.resit-quarter-card-header h3{margin:0;font-size:18px}.save-indicator{min-height:32px;padding:5px 9px;border:1px solid #b8c3d3;border-radius:999px;color:#4d596b;background:#fff;font-size:13px;font-weight:800}.save-indicator-saving{border-color:#e5bf7f;color:#5f400b;background:#fff8e8}.save-indicator-saved{border-color:#8dc8a8;color:#145c3c;background:#eaf7ef}.save-indicator-error{border-color:#e5a1a1;color:#8a1f1f;background:#fff0f0}.segmented-control{display:inline-flex;gap:4px;background:transparent}.exam-view-controls{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:flex-end}.teacher-exam-period-controls{margin-left:0}.compact-filter{display:inline-flex;gap:7px;align-items:center;color:#4d596b;font-size:14px;font-weight:800}.compact-filter select{min-height:36px;padding:6px 8px}.segment-button{min-height:36px;padding:7px 12px;border:0;border-radius:6px;color:#4d3a38;background:transparent}.segment-button+.segment-button{border-left:0}.segment-button-active{color:var(--brand);background:#7308001a}.form-actions,.table-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.checkbox-label{display:inline-flex;gap:8px;align-items:center;color:#4d596b;font-size:15px;font-weight:700}.compact-checkbox{min-height:36px;font-size:14px;white-space:nowrap}.message{padding:12px 0}.teacher-exam-groups{display:grid;gap:22px}.teacher-exam-group h3{margin:8px 0 10px;color:#4d596b;font-size:16px}.teacher-exam-group-highlight{padding:14px;border:1px solid #e5bf7f;border-radius:8px;background:#fff8e8}.teacher-exam-group-highlight h3{margin-top:0;color:#5f400b}.exam-list-group-row td{background:#eef3f8;color:#334155;font-size:13px;font-weight:800}.exam-course-cell{min-width:160px;white-space:normal}.exam-course-title{display:inline-flex;flex-wrap:wrap;gap:6px;align-items:center}.exam-course-title .resit-badge{margin-left:0}.exam-course-meta{display:block;margin-top:4px;color:#64748b;font-size:13px;line-height:1.35;white-space:normal}.exam-status-finalized{--exam-row-bg: #dff1e7;--exam-row-hover-bg: #cbe7d6;--exam-row-selected-bg: #d3eadf}.exam-status-open{--exam-row-bg: #ffe2e2;--exam-row-hover-bg: #ffd1d1;--exam-row-selected-bg: #ffd7d7}.exam-status-partial{--exam-row-bg: #ffefc7;--exam-row-hover-bg: #ffe3a8;--exam-row-selected-bg: #ffe6ad}.exam-status-inactive{--exam-row-bg: #e4e9f1;--exam-row-hover-bg: #d4dce8;--exam-row-selected-bg: #d8e0eb}.exam-status-finalized td,.exam-status-open td,.exam-status-partial td,.exam-status-inactive td{background:var(--exam-row-bg)}.exam-course-meta+.exam-course-meta{margin-top:2px}.muted-inline{display:inline-block;margin-left:8px;color:#64748b;font-size:13px}.teacher-exam-detail{padding-top:18px;border-top:1px solid #e3e8f0}.teacher-exam-detail h3,.teacher-exam-detail h4{margin:0 0 12px;color:#4d596b;font-size:16px}.teacher-exam-detail h4{margin-top:18px}.detail-actions{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 16px}.modal-backdrop{position:fixed;z-index:20;inset:0;display:grid;place-items:center;padding:24px;background:#1d24338a}.modal-panel{width:min(920px,100%);max-height:min(860px,calc(100vh - 48px));overflow:auto;padding:20px;border:1px solid #dce3ee;border-radius:8px;background:#fff;box-shadow:0 24px 70px #1d243347}.import-history-modal{width:min(1120px,100%)}.webuntis-progress-modal{width:min(520px,100%)}.webuntis-progress-text{margin:0 0 16px;color:#4c5b6e;line-height:1.5}.webuntis-progress-status{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:8px;color:#1d2433;font-size:14px}.webuntis-progress-status strong{white-space:nowrap}.webuntis-progress-status span{min-width:0;overflow-wrap:anywhere}.webuntis-progress-totalstatus{margin-top:14px;color:#4c5b6e;font-size:13px}.webuntis-progress-hint{margin:-2px 0 12px;color:#5b6678;font-size:13px}.webuntis-progress-bar{position:relative;height:10px;overflow:hidden;border-radius:999px;background:#dce3ee}.webuntis-progress-indicator{height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--brand),#2f8f74);transition:width .45s ease}.webuntis-progress-bar-secondary{height:8px;background:#e5eaf1}.webuntis-progress-indicator-secondary{background:linear-gradient(90deg,#5b6678,#7a8a9f)}.webuntis-progress-bar-indeterminate .webuntis-progress-indicator{position:absolute;inset-block:0;left:-42%;width:42%;animation:webuntis-progress-slide 1.35s ease-in-out infinite}@keyframes webuntis-progress-slide{0%{transform:translate(0)}to{transform:translate(340%)}}.modal-panel:focus{outline:3px solid #9ecfe0;outline-offset:2px}.modal-header{display:flex;gap:12px;align-items:flex-start;justify-content:space-between;margin-bottom:16px}.modal-header h3{margin:0;color:#1d2433;font-size:20px}.modal-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:flex-end;margin-top:18px}.modal-actions-centered{justify-content:center}.modal-finalization{display:flex;max-width:430px;flex-direction:column;gap:8px;align-items:flex-end;text-align:right}.modal-finalization p{margin:0;color:#526070}.modal-finalization-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.modal-section{margin-top:18px}.modal-section h4{margin:0 0 10px;color:#1d2433;font-size:16px}.modal-section h5{margin:0;color:#1d2433;font-size:15px}.resit-session-course-group{display:grid;gap:8px;margin-top:14px}.resit-session-course-heading{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:baseline;color:#334155}.resit-session-course-heading span,.muted-copy{color:#64748b;font-size:13px}.inline-editor-panel{display:grid;gap:12px;margin-top:16px;padding-top:14px;border-top:1px solid #d8e0ea}.toolbar-row{display:flex;align-items:end;gap:10px}.toolbar-row-wrap{flex-wrap:wrap}.save-feedback{margin:8px 0 0;color:#276749;font-weight:700}.save-feedback-error{color:#9b1c1c}.participant-remove-choice{display:grid;gap:10px;margin-top:12px;padding:12px;border:1px solid #e5bf7f;border-radius:6px;background:#fff8e8}.participant-remove-choice p{margin:0;color:#5f400b;font-weight:700}.participant-remove-choice-actions{display:flex;flex-wrap:wrap;gap:8px}.confirmation-backdrop{position:fixed;z-index:40;inset:0;display:grid;place-items:center;padding:24px;background:#1d24336b}.confirmation-dialog{display:grid;width:min(420px,100%);gap:14px;padding:18px;border:1px solid #d2dbe8;border-radius:8px;background:#fff;box-shadow:0 20px 60px #1d243347}.confirmation-dialog h4,.confirmation-dialog p{margin:0}.confirmation-dialog label{display:grid;gap:6px;color:#4d596b;font-weight:700}.manual-exam-form{display:grid;gap:12px}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;align-items:end}.form-grid label{display:grid;gap:6px;color:#4d596b;font-weight:700}.form-grid input,.form-grid select{min-width:0;width:100%;padding:8px 9px;border:1px solid #b8c3d3;border-radius:6px;color:#1d2433;background:#fff;font:inherit}.form-grid-wide{grid-column:1 / -1}.error-list{padding:10px 12px;border:1px solid #e5a1a1;border-radius:6px;color:#8a1f1f;background:#fff0f0}.error-list p,.error-list ul{margin:0}.error-list ul{padding-left:18px}.status-pill{display:inline-flex;align-items:center;min-height:32px;padding:4px 10px;border:1px solid #b8c3d3;border-radius:999px;color:#1d2433;background:#fff;font-weight:700}.status-pill-warning{border-color:#e5bf7f;color:#5f400b;background:#fff8e8}.manual-participant-badge{display:inline-flex;align-items:center;min-height:24px;margin-left:8px;padding:2px 8px;border:1px solid #b8c3d3;border-radius:999px;color:#334155;background:#f8fafc;font-size:12px;font-weight:700}.manual-participant-badge[role=button]{cursor:pointer}.manual-participant-badge[role=button]:focus-visible{outline:2px solid var(--brand);outline-offset:2px}.inline-remove-button{min-height:26px;margin-left:8px;padding:2px 8px;border-color:#c9d3e0;color:#334155;background:#fff;font-size:12px}.import-preview-form{display:grid;grid-template-columns:minmax(300px,1fr) minmax(320px,1fr);gap:12px;align-items:end}.import-method-section{display:grid;gap:14px;margin-bottom:22px;padding:16px;border:1px solid #dce3ee;border-radius:8px;background:#fff}.import-method-section h3{margin:0;color:#1d2433}.grade-level-overview-table select{min-width:180px}.grade-level-overview-table td:last-child,.grade-level-overview-table th:last-child{width:1%}.kurs42-leading-grades{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.webuntis-preview-form{grid-template-columns:repeat(4,minmax(140px,1fr))}.webuntis-preview-form .checkbox-label{display:inline-flex;align-self:center}.webuntis-preview-form .checkbox-label input{width:auto}.webuntis-auto-sync-toggle{grid-column:span 2}.webuntis-commit-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.webuntis-commit-result{display:grid;gap:10px}.webuntis-maintenance-section{display:grid;gap:12px;padding-top:16px;border-top:1px solid #e3e8f0}.webuntis-maintenance-section h4{margin:0;color:#334155;font-size:16px}.webuntis-maintenance-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.webuntis-maintenance-panel{display:grid;align-content:start;gap:12px}.webuntis-maintenance-panel .detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.webuntis-collapsible-section{border:1px solid #dce3ee;border-radius:8px;background:#fff}.webuntis-collapsible-section summary{display:flex;min-height:42px;padding:10px 12px;gap:12px;align-items:center;justify-content:space-between;color:#1d2433;font-weight:800;cursor:pointer}.webuntis-collapsible-section summary span{color:#64748b;font-size:13px;font-weight:700}.webuntis-collapsible-section[open]{padding-bottom:12px}.webuntis-collapsible-section[open] summary{border-bottom:1px solid #e3e8f0;margin-bottom:12px}.webuntis-collapsible-section .table-wrap,.webuntis-collapsible-section .preview-issues{margin:0 12px}.import-format-field,.import-halfyear-field{grid-column:1 / -1;max-width:220px}.import-file-action{grid-column:2;display:flex;gap:12px;align-items:end}.import-file-field{flex:1 1 auto;min-width:0}.import-file-action button{flex:0 0 auto;white-space:nowrap}.import-target-action{grid-column:1;display:flex;gap:12px;align-items:end}.import-target-field{flex:1 1 auto;min-width:0}.import-target-actions{flex:0 0 auto}@media(max-width:1100px){.import-preview-form,.webuntis-preview-form{grid-template-columns:1fr}.import-target-action,.import-file-action{grid-column:1;justify-self:center;width:100%;max-width:720px}.import-format-field,.import-halfyear-field{max-width:100%}}.school-year-controls{display:grid;gap:12px;margin-top:16px}.school-year-start-form{display:grid;grid-template-columns:minmax(160px,1fr) auto;gap:12px;align-items:end}.import-preview-summary{display:grid;gap:18px;margin-top:16px}.backup-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.button-row{display:flex;flex-wrap:wrap;gap:10px}.preview-lists{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.preview-lists h3,.preview-issues h3{margin:0 0 8px;color:#4d596b;font-size:16px}.preview-lists ul,.preview-issues ul{margin:0;padding-left:22px}.preview-issues li+li{margin-top:10px}.webuntis-issue-details{margin-top:8px;overflow-x:auto}.webuntis-issue-details table{min-width:620px;font-size:13px}.webuntis-issue-detail-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px;margin:8px 0 0;padding:10px;border:1px solid #e3e8f0;border-radius:8px;background:#f8fafc}.webuntis-issue-detail-list div{min-width:0}.webuntis-issue-detail-list dt{color:#5b6678;font-size:12px;font-weight:800}.webuntis-issue-detail-list dd{margin:2px 0 0;overflow-wrap:anywhere}.detail-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0}.detail-grid div{min-width:0;padding:12px;border:1px solid #e3e8f0;border-radius:6px;background:#f8fafc}.detail-grid span{display:block;margin-bottom:4px;color:#4d596b;font-size:13px;font-weight:700}.detail-grid strong{overflow-wrap:anywhere;font-size:15px}.detail-grid dt{margin-bottom:4px;color:#4d596b;font-size:13px;font-weight:700}.detail-grid dd{margin:0;overflow-wrap:anywhere;font-size:15px}.detail-grid-editable label,.teacher-modal-form label,.password-modal-form label{display:grid;gap:6px;color:#4d596b;font-weight:700}.detail-grid-editable input,.detail-grid-editable select,.teacher-modal-form input,.teacher-modal-form select,.password-modal-form input{min-width:0;width:100%;padding:9px 10px;border:1px solid #b8c3d3;border-radius:6px;color:#1d2433;background:#fff;font:inherit}.role-checkboxes,.password-modal-form{display:flex;flex-wrap:wrap;gap:10px 16px;align-items:center}.role-settings{display:grid;gap:10px}.role-choice-label{margin:0;color:#4d596b;font-size:13px;font-weight:700;text-align:center}.role-choice-group{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;width:100%}.role-toggle-row{display:flex;justify-content:center;width:100%}.role-choice-button{min-width:54px;min-height:36px;padding:7px 12px;border:0;border-radius:6px;color:#4d3a38;background:transparent}.role-choice-button-active{color:var(--brand);background:#7308001a}.role-choice-button:disabled{color:#7a8798;background:#eef2f7;cursor:not-allowed}.role-choice-button-active:disabled{color:var(--brand-light);background:#7308000f}.role-checkbox-row{display:flex;justify-content:space-between;gap:16px;width:100%}.role-checkbox-row .checkbox-label{min-height:40px}.password-modal-form{align-items:end}.compact-definition-list{display:flex;flex-wrap:wrap;gap:10px 18px;margin:12px 0 0}.compact-definition-list div{display:grid;gap:2px}.compact-definition-list dt{color:#4d596b;font-size:13px;font-weight:700}.compact-definition-list dd{margin:0}.inline-input{width:100%;min-width:0;padding:7px 8px;border:1px solid #b8c3d3;border-radius:6px;color:#1d2433;background:#fff;font:inherit}.error{color:#a01818}.warning{color:#7a5300}.commit-panel{display:grid;gap:12px;padding:14px;border:1px solid #ead8a8;border-radius:6px;background:#fffaf0}.commit-panel .detail-grid{margin-top:4px}.password-option{display:grid;gap:6px;max-width:320px;color:#4d596b;font-weight:700}.password-option input{min-width:0;width:100%;padding:9px 10px;border:1px solid #b8c3d3;border-radius:6px;color:#1d2433;background:#fff;font:inherit}.issue-list{margin:0;padding-left:22px}.resit-plan{display:grid;gap:16px}.resit-plan-summary{display:flex;flex-wrap:wrap;gap:8px 14px;color:#4d596b;font-size:14px}.resit-block-grid{display:grid;gap:16px}.resit-block-card{display:grid;gap:12px;padding:16px;border:1px solid #dce3ee;border-radius:8px;background:#fff}.resit-block-card-fixed{border-color:#93a4ba;background:#f8fbff}.resit-block-header{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between}.resit-block-header h3{margin:0;font-size:17px}.resit-date-assignment{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:9px 10px;border:1px solid #dce3ee;border-radius:8px;color:#4d596b;background:#f8fafc;font-size:14px}.resit-date-assignment-missing{border-color:#f1caca;color:#8a1f1f;background:#fff7f7}.subtle-badge{padding:4px 8px;border-radius:999px;color:#5f400b;background:#fff8e8;font-size:12px;font-weight:800}.koop-badge,.capacity-badge,.fixed-badge,.resit-badge,.warning-badge{display:inline-flex;margin-left:8px;padding:3px 7px;border-radius:999px;font-size:12px;font-weight:800}.koop-badge{color:#145c3c;background:#eaf7ef}.capacity-badge{color:#12472c;background:#dcfce7}.fixed-badge,.resit-badge{color:#4d596b;background:#eef2f7}.warning-badge{color:#8a1f1f;background:#fff0f0}.resit-block-fields{display:grid;grid-template-columns:minmax(180px,1fr) minmax(220px,1.4fr);gap:10px}.resit-block-fields label{display:grid;gap:6px;color:#4d596b;font-weight:700}.resit-block-fields input,.resit-block-fields textarea,.compact-table select{min-width:0;width:100%;padding:8px 9px;border:1px solid #b8c3d3;border-radius:6px;color:#1d2433;background:#fff;font:inherit}.resit-block-fields textarea{resize:vertical}.compact-table th,.compact-table td{padding:9px 8px;font-size:14px}.resit-student-list{display:grid;gap:3px;margin:0;padding-left:18px}.resit-group-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.resit-group-actions select{min-width:130px;flex:1 1 150px}.resit-date-create-panel,.resit-date-detail-panel{display:grid;gap:14px;margin:16px 0;padding:16px;border:1px solid #dce3ee;border-radius:8px;background:#fff}.resit-date-create-panel h3,.resit-date-detail-panel h3,.resit-date-detail-panel h4{margin:0}.resit-date-modal-panel,.resit-slot-date-modal,.resit-student-modal{width:min(1120px,100%)}.resit-student-summary{display:flex;flex-wrap:wrap;gap:8px 14px;margin-bottom:14px;color:#4d596b;font-size:14px}.resit-student-detail-table td:nth-child(n+4){text-align:center}.resit-student-detail-table input[type=checkbox]{width:auto}.resit-student-row-declined td{background:#fff0f0}.resit-student-row-rewritten td{background:#eefbf2}.resit-date-assignment-summary{display:flex;flex-wrap:wrap;gap:10px;align-items:center;color:#4d596b}.resit-slot-date-list{display:grid;gap:12px}.resit-slot-date-row{display:grid;gap:10px;padding:12px;border:1px solid #dce3ee;border-radius:8px;background:#f8fafc}.resit-slot-date-row p{margin:4px 0 0}.resit-slot-date-controls{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:10px;align-items:end}.resit-slot-date-controls label{display:grid;gap:6px;color:#4d596b;font-weight:700}.resit-slot-date-controls input,.resit-slot-date-controls select{min-width:0;width:100%;padding:8px 9px;border:1px solid #b8c3d3;border-radius:6px;color:#1d2433;background:#fff;font:inherit}.resit-date-modal-panel h4{margin:0 0 12px}.resit-date-form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;align-items:end}.resit-date-form-grid label{display:grid;gap:6px;color:#4d596b;font-weight:700}.resit-date-form-grid fieldset{display:grid;gap:8px;min-width:0;margin:0;padding:0;border:0}.resit-date-form-grid legend{margin:0 0 2px;color:#4d596b;font-weight:700}.resit-date-form-grid .checkbox-group label{display:flex;gap:8px;align-items:center;font-weight:600}.resit-date-form-grid .checkbox-group input{width:auto}.resit-date-derived-period{display:grid;gap:6px;align-self:stretch;padding:8px 0;color:#4d596b;font-weight:700}.resit-date-derived-period strong{color:#1d2433}.resit-date-form-grid input,.resit-date-form-grid select,.compact-table input{min-width:0;width:100%;padding:8px 9px;border:1px solid #b8c3d3;border-radius:6px;color:#1d2433;background:#fff;font:inherit}.time-picker{display:grid;grid-template-columns:minmax(58px,1fr) auto minmax(58px,1fr);align-items:center;gap:4px}.time-picker span{color:#4d596b;font-weight:700}.resit-date-wide-field{grid-column:1 / -1}.resit-date-unit-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin:14px 0}.resit-date-unit-card{display:grid;gap:5px;padding:13px;border:1px solid #dce3ee;border-radius:8px;color:#1d2433;background:#fff;text-align:left}.resit-date-unit-card:hover,.resit-date-unit-card:focus{border-color:var(--brand-light);background:#f7fbfd}.resit-date-unit-card-active{border-color:var(--brand);box-shadow:0 0 0 2px #2f6f8f1f}.resit-date-unit-card-needs-action{border-color:#e5a1a1;background:#fff7f7}.resit-date-add-row{margin-top:12px}.resit-conflict-row td{background:#fff7f7}.field-hint{margin:5px 0 0;color:#526070;font-size:13px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse}th,td{padding:12px 10px;border-bottom:1px solid #e3e8f0;text-align:left;white-space:nowrap}th{color:#4d596b;font-size:14px}td{font-size:15px}tbody tr:last-child td{border-bottom:0}.clickable-row{cursor:pointer}.clickable-row:hover td,.clickable-row:focus td{background:var(--exam-row-hover-bg, #f1f8fb)}.clickable-row:focus{outline:3px solid #9ecfe0;outline-offset:-3px}.selected-row td{background:var(--exam-row-selected-bg, #eef6fa)}.password-cell-input{max-width:180px}@media(max-width:760px){.nav-row-content,.nav-links{justify-content:center}.global-period-controls{display:flex;width:100%;justify-content:center;margin-left:0}}@media(max-width:640px){.app-shell{padding:28px 16px}.site-header{align-items:flex-start;flex-direction:column}.header-user-area{justify-items:start;min-width:0}h1{font-size:26px}.toolbar{align-items:stretch;flex-direction:column}.login-form,.import-preview-form,.school-year-start-form,.preview-lists,.webuntis-maintenance-grid{grid-template-columns:1fr}.import-target-action,.import-file-action{flex-wrap:wrap;justify-content:center}.import-target-field,.import-file-field{flex:1 1 min(100%,360px);max-width:360px}.import-target-actions,.import-file-action button{margin-inline:auto}.detail-grid{grid-template-columns:1fr}.role-checkbox-row{align-items:flex-start;flex-direction:column}.resit-block-fields{grid-template-columns:1fr}.toolbar select{width:100%}}.settings-tab,.grade-button,.segment-button,.role-choice-button{transition:background-color .2s ease,color .2s ease,border-color .2s ease}.settings-tab:not(.settings-tab-active):hover,.grade-button:not(.grade-button-active):not(:disabled):hover,.segment-button:not(.segment-button-active):hover,.role-choice-button:not(.role-choice-button-active):not(:disabled):hover{color:var(--brand);background:#7308000f}.resit-date-unit-card{transition:border-color .2s ease,background-color .2s ease,box-shadow .2s ease,transform .15s ease}.resit-date-unit-card:hover,.resit-date-unit-card:focus{border-color:var(--brand-light);background:#fbf4f4;box-shadow:0 4px 14px #7308001f;transform:translateY(-1px)}.clickable-row td{transition:background-color .18s ease}.clickable-row:hover td,.clickable-row:focus td{background:var(--exam-row-hover-bg, #faf3f3)}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible,[role=button]:focus-visible{outline:2px solid var(--brand);outline-offset:2px}.exam-date-export{margin:1rem 0;padding:1rem 1.25rem;border:1px solid #d1d5db;border-radius:.5rem;background:#fff}.exam-date-export h3{margin-top:0}.exam-date-export .toolbar-row{margin-top:1rem}.year-calendar-editor .toolbar label{display:flex;flex-direction:column;gap:.4rem;flex:1 1 12rem}.year-calendar-editor input[type=date],.year-calendar-editor input[type=number]{box-sizing:border-box;width:100%;padding:.65rem .75rem;border:1px solid #d1d5db;border-radius:.4rem;font:inherit;background:#fff}.year-calendar-editor details{margin-top:1.25rem}.year-calendar-editor summary{cursor:pointer}.hover\:bg-custom-red\/\[0\.06\]:hover{background-color:#7308000f}.hover\:text-custom-red:hover{--tw-text-opacity: 1;color:rgb(115 8 0 / var(--tw-text-opacity, 1))}@media(max-width:640px){.max-\[640px\]\:text-left{text-align:left}}.\[\&\:\:after\]\:w-full:after{width:100%}.\[\&\:\:before\]\:w-full:before{width:100%}
