@font-face{font-family:Montserrat;src:url(/fonts/montserrat/Montserrat-Regular.ttf)format("truetype");font-style:normal;font-weight:100 900;font-display:swap}@font-face{font-family:Montserrat;src:url(/fonts/montserrat/Montserrat-Italic.ttf)format("truetype");font-style:italic;font-weight:100 900;font-display:swap}:root{--control-height:36px;--control-font-size:14px;--control-padding:7px 10px;--control-radius:6px;--font-family:"Montserrat", Arial, sans-serif;font-family:var(--font-family);color:var(--text);background:var(--canvas);--accent-ink:#535d3c;--accent-strong:#535d3c;--accent-border:#a0a782;--accent-soft:#f1f1e4;--accent-fill:#e7e9d3;--accent-hover:#dcdfc3;--text:#34382a;--canvas:#f8f5ed;--neutral-fill:#efecdf;--accent-dark:#414b2e;--olive:var(--accent-strong);--muted:#757361;--line:#e0dccf;--paper:#fffdf8;font-size:14px;line-height:1.5}*{box-sizing:border-box}body{background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%238c866a' opacity='.04' filter='url(%23n)' d='M0 0h180v180H0z'/%3E%3C/svg%3E");margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer;border:0;transition:background .15s}button:disabled{cursor:default;opacity:.55}.loading-status:before,button[aria-busy=true]:after{content:"";box-sizing:border-box;vertical-align:-.06em;border:2px solid;border-inline-end-color:#0000;border-radius:50%;flex:none;width:.85em;height:.85em;animation:.8s linear infinite loading-turn;display:inline-block}.loading-status:before{color:var(--accent-strong);margin-inline-end:.55em}button[aria-busy=true]:after{margin-inline-start:.45em}@keyframes loading-turn{to{transform:rotate(1turn)}}:focus-visible,input:where(:not([type=checkbox],[type=radio],[type=range],[type=file])):focus,textarea:focus,[contenteditable=true]:focus{outline:1px solid var(--accent-strong);outline-offset:-1px}.groups-create-days label:has(input:focus-visible){outline:1px solid var(--accent-strong);outline-offset:-1px}h1,h2,h3,p,figure{margin:0}h1,h2,h3{font-family:var(--font-family);font-weight:400}h1{letter-spacing:-1px;font-size:32px;line-height:1.2}h2{font-size:22px}h3{font-size:20px}h4{margin:0 0 12px;font-size:13px;font-weight:600}main{max-width:1440px;margin:0 auto;padding:0 54px}footer{border-top:1px solid var(--line);color:#858a7a;justify-content:space-between;gap:20px;margin-top:30px;padding:22px 0 26px;font-size:10px;display:flex}footer span{font:19px var(--font-family)}progress{width:100%;height:5px;accent-color:var(--olive);margin-top:10px}textarea{resize:vertical;width:100%;min-height:120px;color:inherit;background:#fff;border:1px solid #ccd1bf;border-radius:4px;padding:14px;line-height:1.7}textarea::placeholder{color:#9a9e92}input::file-selector-button{background:var(--accent-soft);color:#52643d;cursor:pointer;border:1px solid #cdd4bc;border-radius:4px;margin-right:12px;padding:9px 13px}@media (width<=1050px){main{padding:0 24px}h1{font-size:28px}}@media (width<=700px){main{padding:0 16px}footer{flex-direction:column;gap:8px}}@media (prefers-reduced-motion:reduce){*{transition:none!important}.loading-status:before,button[aria-busy=true]:after{animation:none}}.portal-form{gap:16px;display:grid}.portal-field{gap:7px;font-size:14px;display:grid}.portal-input{width:100%;min-width:0;min-height:var(--control-height);padding:var(--control-padding);font-size:var(--control-font-size);background:var(--paper);color:var(--text);border:1px solid var(--line);border-radius:var(--control-radius);line-height:20px}.portal-button{background:var(--accent-fill);color:var(--accent-ink);overflow-wrap:anywhere;border-radius:5px;min-height:42px;padding:10px 15px;line-height:1.4;transition:background .15s,border-color .15s}.portal-button:hover:not(:disabled){background:var(--accent-hover)}.portal-tab-button{background:0 0;border:1px solid #0000;border-radius:5px;padding:10px 16px;font-size:14px}.portal-tab-button[aria-pressed=true]{border-bottom-color:var(--accent-strong);box-shadow:inset 0 -1px var(--accent-strong);color:var(--accent-ink);background:0 0;border-radius:0;font-weight:600}.portal-primary{border:1px solid var(--accent-dark);background:var(--accent-strong);color:#fff;min-height:46px;box-shadow:0 3px 0 var(--accent-dark);border-radius:5px;justify-content:center;align-items:center;gap:14px;padding:11px 24px;font-size:14px;font-weight:600;line-height:1.5;transition:background .15s;display:inline-flex}.portal-outline{border:1px solid var(--accent-border);color:var(--accent-ink);background:0 0;border-radius:8px;justify-content:center;align-items:center;gap:12px;padding:10px 16px;font-size:14px;line-height:1.4;display:inline-flex}.portal-outline svg{flex-shrink:0;width:22px;height:22px}.portal-outline.portal-review-button{color:#98570d;background:0 0;border-color:#b46a16}.portal-outline.portal-review-button:hover:not(:disabled){background:#fff3df}.portal-primary svg{flex-shrink:0;width:20px;height:20px}.portal-primary:hover:not(:disabled){background:var(--accent-dark)}.portal-primary:active:not(:disabled){box-shadow:0 1px 0 var(--accent-dark);transform:translateY(2px)}.portal-primary:disabled{box-shadow:none}.portal-text{background:0 0;margin:14px 0;padding-left:0;text-decoration:underline}.portal-cancel,.portal-danger{color:#913f30;background:0 0}.portal-cancel:hover:not(:disabled){background:#f5e5e0}.portal-textarea{background:var(--paper);width:100%;color:var(--text);font:inherit;resize:vertical;border:1px solid #a6ab99;border-radius:5px;padding:12px;line-height:1.6}.portal-textarea:read-only{background:#f1f0e8}.portal-textarea{min-height:120px;font-size:16px}.portal-input,.portal-textarea{transition:background .15s,border-color .15s}.portal-back{color:#536144;text-align:left;background:0 0;justify-self:start;width:fit-content;max-width:100%;margin:0 0 16px;padding:10px 15px;text-decoration:none}.portal-back:hover:not(:disabled){background:var(--accent-hover)}.portal-search{min-width:0;display:block;position:relative}.portal-search>svg{width:16px;height:16px;color:var(--muted);pointer-events:none;position:absolute;top:50%;left:10px;transform:translateY(-50%)}.portal-search input{padding-left:34px}.portal-input:hover{border-color:var(--accent-border)}.portal-secondary{border-color:var(--accent-border);background:var(--paper);min-height:44px;color:var(--accent-ink);border-radius:5px}.portal-secondary:hover:not(:disabled){background:var(--accent-hover)}.portal-status-badge{border-radius:5px;align-items:center;gap:8px;padding:4px 10px;font-size:14px;line-height:1.5;display:inline-flex}.portal-status-badge.pending{color:#795322;background:#f8e4c5}.portal-status-badge.checked{background:var(--accent-soft);color:var(--accent-ink)}.portal-status-badge svg{flex-shrink:0;width:20px;height:20px}.portal-button-compact{min-height:36px;box-shadow:none;padding:7px 12px;font-size:13px;line-height:20px}.portal-status-badge.neutral{color:#58584e;background:#ece9e1}.portal-status-badge.missing{color:#914b30;background:#f7e0d8}.portal-outline.portal-review-button-filled{color:#754b19;background:#fff3df;border-color:#b78b4b}.portal-outline.portal-review-button-filled:hover:not(:disabled){background:#f2d097}.portal-tab-button-segmented{white-space:nowrap;padding:8px 10px;font-weight:400}.portal-button-small{font-size:14px}.portal-cancel-icon{place-items:center;width:30px;min-height:30px;padding:0;font-size:22px;line-height:1;display:grid}.portal-tab-button-compact{min-height:36px;padding:6px 12px}.portal-tab-button-segmented[aria-pressed=true]{border-color:var(--line);background:var(--paper);border-radius:4px;box-shadow:0 1px 3px #535d3c14}:root{--skeleton-fade-duration:.24s}.card-skeleton-status{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:-1px;position:absolute;overflow:hidden}.card-skeleton-list{gap:var(--card-skeleton-gap,10px);display:grid}.card-skeleton{min-height:var(--card-skeleton-height,88px);flex-direction:column;justify-content:center;align-items:flex-start;gap:10px;padding:12px 16px;display:flex}.card-skeleton-line{background:var(--neutral-fill);border-radius:5px;height:.65em;display:inline-block}.card-skeleton>:first-child{width:min(52%,14rem);height:.9em}.card-skeleton>:last-child{width:min(32%,9rem)}.skeleton-region{position:relative}:is(div,section,span,ul)[data-skeleton-exit]{left:var(--skeleton-left,0);top:var(--skeleton-top,0);width:var(--skeleton-width,0);height:var(--skeleton-height,0);z-index:1;pointer-events:none;visibility:hidden;margin:0;position:absolute}@media (prefers-reduced-motion:no-preference){.card-skeleton-line:not([data-skeleton-exit]){animation:1.6s ease-in-out infinite alternate card-skeleton-pulse}.content-appear{animation:content-appear var(--skeleton-fade-duration) ease-out}:is(div,section,span,ul)[data-skeleton-exit]{visibility:visible;animation:skeleton-disappear var(--skeleton-fade-duration) ease-out both}}@keyframes card-skeleton-pulse{0%{opacity:.55}to{opacity:1}}@keyframes content-appear{0%{opacity:.45}}@keyframes skeleton-disappear{0%{opacity:var(--skeleton-opacity,1)}to{opacity:0}}.dropdown{min-width:0}.dropdown>label{margin-bottom:7px}.dropdown-control{position:relative}.portal .dropdown-native{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.dropdown-error{color:#ab2921;font-size:14px}.portal .dropdown-trigger{width:100%;min-height:var(--control-height);padding:var(--control-padding);border:1px solid var(--line);border-radius:var(--control-radius);background:var(--paper);color:#363c2b;font-size:var(--control-font-size);text-align:left;justify-content:space-between;align-items:center;gap:12px;font-weight:400;line-height:20px;display:flex}.dropdown-trigger>svg{flex-shrink:0}.portal .dropdown-trigger:hover,.portal .dropdown-trigger[aria-expanded=true]{border-color:var(--accent-strong);background:var(--accent-soft)}.dropdown-trigger[aria-expanded=true]>svg{transform:rotate(180deg)}.dropdown-options{z-index:20;overscroll-behavior:contain;background:#fffdf7;border:1px solid #a6ab99;border-radius:6px;width:100%;max-height:264px;padding:6px;position:absolute;top:calc(100% + 7px);right:0;overflow-y:auto;box-shadow:0 10px 28px #31372321}.dropdown-options[popover]{box-sizing:border-box;margin:0;position:fixed;inset:auto}.portal .dropdown .dropdown-options button{color:#363c2b;width:100%;min-height:44px;font-size:var(--control-font-size);text-align:left;background:0 0;border-radius:4px;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;font-weight:400;display:flex}.portal .dropdown .dropdown-options button[aria-selected=true]{background:var(--accent-fill);color:var(--accent-ink);font-weight:600}.portal .dropdown .dropdown-options button:hover,.portal .dropdown .dropdown-options button:focus-visible{background:#f0f1e6}.dropdown-options svg{flex-shrink:0;width:18px;height:18px}.dropdown-trigger>span,.dropdown-option-label{overflow-wrap:anywhere}.portal .dropdown-trigger:disabled{opacity:.55;cursor:not-allowed}.dropdown-swatch{border:1px solid #a6ab99;border-radius:50%;flex-shrink:0;width:24px;height:24px}.portal .dropdown-palette .dropdown-trigger{min-height:36px;padding:6px 10px;font-size:13px}.dropdown-palette .dropdown-options{gap:4px;width:208px;display:flex;left:0;right:auto}.dropdown .dropdown-options[hidden]{display:none}.portal .dropdown-palette .dropdown-options button{flex-shrink:0;width:44px;height:44px;padding:9px}.dropdown-palette .dropdown-option-label{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.portal .portal-text-button{color:#6d7565;text-underline-offset:3px;text-align:center;background:0 0;min-height:24px;padding:0;font-size:15px;text-decoration:underline}.portal .portal-text-button:hover:not(:disabled){color:#283519}.portal .portal-text-button.portal-inline-link{min-height:0;font:inherit;color:var(--accent-ink);vertical-align:baseline;font-weight:600;display:inline}.action-menu{flex-shrink:0;position:relative}.action-menu summary{cursor:pointer;list-style:none}.action-menu summary::-webkit-details-marker{display:none}.action-menu summary[aria-disabled=true]{opacity:.55;cursor:not-allowed}.action-menu-dropdown{z-index:5;background:#fffefa;border:1px solid #d6d2c7;border-radius:12px;width:240px;max-width:calc(100vw - 64px);position:absolute;top:100%;right:0;overflow:hidden;box-shadow:0 10px 28px #31372321}.portal .action-menu-dropdown button{text-align:left;color:#20271c;background:0 0;border-radius:0;width:100%;padding:11px 16px;font-size:15px;font-weight:400;display:block}.portal .action-menu-dropdown .portal-danger{border-top:1px solid var(--line);color:#ab2921}.portal .action-menu-dropdown button:hover:not(:disabled){background:var(--accent-hover)}.portal .action-menu-dropdown button:has(>svg){align-items:center;gap:12px;display:flex}.action-menu-dropdown button>svg{flex-shrink:0;width:18px;height:18px}.saved-label-check{vertical-align:-.15em;width:1em;height:1em;color:var(--accent-strong);margin-inline-start:.35em;display:inline-block}@media (prefers-reduced-motion:no-preference){.saved-label-check{animation:.18s ease-out saved-label-check-enter}}@keyframes saved-label-check-enter{0%{opacity:0;scale:.8}}.detail-header{min-width:0;margin-bottom:16px}.detail-header-row{align-items:center;gap:20px;min-width:0;min-height:48px;display:flex}.portal .detail-header-row>.portal-back{flex-shrink:0;margin:0}.detail-header-divider{color:#c9cfb5;font-size:24px}.portal .detail-header-row h1{min-width:0;font:600 18px/1.4 var(--font-family);color:#353e25;letter-spacing:normal;text-align:left;overflow-wrap:anywhere;background:0 0;margin:0;padding:0}.detail-header-row h1:focus{outline:none}.detail-header-context{overflow-wrap:anywhere;margin-top:4px;font-size:15px}.portal .detail-header-context p{margin:6px 0 0;font-size:15px}.detail-header-context .hw-status{margin-left:16px;font-size:14px}.hw-detail:has(>.detail-header){gap:16px}.hw-detail>.detail-header,.portal-workspace>.detail-header{margin-bottom:0}@media (width<=760px){.detail-header-row{flex-wrap:wrap;gap:8px 12px}.detail-header-divider{display:none}.portal .detail-header-row h1{flex-basis:100%}}.portal-fieldset{border:0;min-width:0;padding:0}.portal-task-fields{grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px;display:grid}.portal-plain{white-space:pre-wrap;overflow-wrap:anywhere;font-size:16px}.portal-savebar{background:var(--paper);border-top:1px solid var(--line);z-index:2;box-shadow:0 -8px 12px var(--paper);margin-top:24px;padding:16px 0 4px;position:sticky;bottom:0}@media (width<=760px){.portal-task-fields{grid-template-columns:1fr}.portal-savebar{padding-bottom:max(8px, env(safe-area-inset-bottom));bottom:0}}.portal .editor-content{min-height:280px;padding:18px}.portal .editor-content p,.portal .safe-rich-text p{margin:0 0 10px}.portal .safe-rich-text{overflow-wrap:anywhere;font-size:16px;line-height:1.7}.portal .safe-rich-text ul,.portal .safe-rich-text ol{padding-left:24px}.rich-editor{background:#fff;border:1px solid #ccd1bf;border-radius:4px}.editor-toolbar{background:var(--accent-soft);border-bottom:1px solid #e1e5d6;border-radius:4px 4px 0 0;flex-wrap:wrap;align-items:center;gap:3px;padding:6px;display:flex}.editor-toolbar button,.editor-toolbar select{color:#4e5941;background:0 0;border:1px solid #0000;border-radius:3px;min-height:36px;padding:5px 10px;font-size:14px}.editor-toolbar button:hover{background:var(--accent-hover)}.editor-toolbar select{border-color:#d8decc;max-width:110px}.editor-content{resize:vertical;overflow-wrap:anywhere;min-height:320px;padding:22px;font-size:16px;line-height:1.8;overflow:auto}.editor-content p{margin:0 0 8px}.editor-content ul,.editor-content ol{padding-left:23px}.portal .rich-editor{border:1px solid #d6d2c7;border-radius:8px}.portal .rich-editor:has(.editor-content:focus){outline:1px solid var(--accent-strong);outline-offset:-1px}.portal .editor-content:focus{outline:none}.portal .editor-toolbar{border-bottom:1px solid var(--line);background:#f7f7f0;border-radius:8px 8px 0 0;gap:6px;min-width:0;margin:0;padding:4px 6px}.editor-tool-group{align-items:center;gap:2px;display:flex}.editor-tool-group+.editor-tool-group{border-left:1px solid var(--line);padding-left:8px}.portal .editor-toolbar .tool-button{width:36px;height:30px;min-height:30px;color:var(--muted);background:0 0;border:0;border-radius:5px;justify-content:center;align-items:center;padding:5px;line-height:1.4;display:inline-flex}.editor-toolbar .tool-button svg{flex-shrink:0;width:22px;height:22px}.portal .editor-toolbar button:hover:not(:disabled),.portal .editor-toolbar .tool-button[aria-pressed=true]{color:var(--accent-ink);background:var(--accent-fill)}.portal .editor-colors{gap:6px}.portal .editor-toolbar .dropdown .dropdown-trigger{background:0 0;min-height:30px;padding:4px 8px;font-size:13px}@media (width<=600px){.portal .editor-toolbar{gap:6px}.editor-tool-group+.editor-tool-group{padding-left:6px}}.editor-emojis .dropdown-options{grid-template-columns:repeat(4,36px);gap:4px;width:max-content;display:grid;left:0;right:auto}.portal .editor-emojis .dropdown-options button{justify-content:center;width:36px;min-height:36px;padding:4px;font-size:20px}.portal-pagination{white-space:nowrap;font-variant-numeric:tabular-nums;flex-shrink:0;justify-content:flex-end;align-items:center;gap:8px;font-size:.85rem;display:flex}.portal-pagination>span{text-align:center;min-width:3.5em}.portal .portal-pagination .portal-secondary{background:0 0;border-color:#0000;width:32px;min-height:32px;padding:0;font-size:20px;line-height:1}.materials-workspace{grid-template-columns:300px minmax(0,1fr);align-items:start;gap:24px;display:grid}.materials-workspace.has-preview{grid-template-columns:300px minmax(270px,1fr) minmax(330px,.95fr)}.material-tree{border-right:1px solid var(--line);min-width:0;min-height:70dvh;padding:10px 16px 24px 0;position:sticky;top:12px}.material-tree-heading{padding:0 8px 14px;font-size:18px;font-weight:600}.material-tree-line{align-items:center;gap:2px;margin-bottom:6px;display:flex;position:relative}.material-tree-children{margin:0;padding:0 0 0 14px;list-style:none}.material-tree nav>.material-tree-children{padding-left:0}.material-tree-children .material-tree-children{padding-left:20px}.material-tree-children .material-tree-children>li{position:relative}.material-tree-children .material-tree-children>li:not(:last-child):before,.material-tree-children .material-tree-children>li>.material-tree-line:before{content:"";border-left:1px solid var(--accent-border);pointer-events:none;position:absolute;top:-6px;left:-8px}.material-tree-children .material-tree-children>li:not(:last-child):before{bottom:0}.material-tree-children .material-tree-children>li>.material-tree-line:before{border-bottom:1px solid var(--accent-border);border-bottom-left-radius:3px;width:8px;bottom:50%}.material-tree-children .material-tree-children>li>.material-tree-line:has(>.material-tree-spacer):before{width:30px}.material-tree-name,.material-tree-expand{color:var(--text);text-align:left;background:0 0;border-radius:4px;min-height:32px;padding:5px 7px}.material-tree-name{overflow-wrap:anywhere;min-width:0;padding-inline:10px;font-size:13px;line-height:1.5}.material-tree-placeholder{align-items:center;display:flex}.material-tree-label{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.material-tree-name[aria-current]{background:var(--accent-soft);box-shadow:inset 3px 0 var(--accent-strong);font-weight:600}.material-tree-expand,.material-tree-spacer{flex-shrink:0;width:24px}.material-tree-root{width:100%;margin-bottom:8px;font-weight:600}.material-catalogue{min-width:0}.material-page-actions{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:14px;min-height:46px;margin-bottom:14px;padding-bottom:14px;display:flex}.material-breadcrumbs{color:var(--muted);overflow-wrap:anywhere;margin-bottom:10px;font-size:13px}.material-breadcrumbs button{min-height:26px;color:inherit;font-size:inherit;background:0 0;padding:3px 8px;line-height:20px}.material-list-heading{align-items:center;gap:12px;min-height:42px;margin-bottom:14px;display:flex}.portal .material-list-heading h2{overflow-wrap:anywhere;min-width:0;margin:0;font-size:20px;font-weight:600}.material-rename{width:32px;min-height:32px;color:var(--muted);background:0 0;flex-shrink:0;align-self:flex-start;place-items:center;margin-top:-4px;padding:6px;display:grid}.material-rename svg{width:18px;height:18px}.material-list-count{margin:0 0 12px}.material-toolbar{grid-template-columns:minmax(160px,1fr) minmax(180px,1fr);align-items:center;gap:20px;margin-bottom:24px;display:grid}.material-list{--material-list-gap:8px;--material-row-height:82px}.material-list,.material-list-content{gap:var(--material-list-gap);align-content:start;display:grid}.material-list-entry{grid-template-rows:1fr;display:grid}.material-list-card{cursor:pointer;grid-template-columns:minmax(0,1fr);display:grid}.material-list-card>*{grid-area:1/1}.material-list-entry[data-removing]>.material-list-card{min-height:0;overflow:hidden}@media (prefers-reduced-motion:no-preference){.material-list-entry[data-removing]{animation:.22s ease-in-out both material-row-exit}}@keyframes material-row-exit{to{margin-bottom:calc(-1 * var(--material-list-gap));opacity:0;grid-template-rows:0fr}}.material-list-skeletons{--card-skeleton-height:var(--material-row-height);--card-skeleton-gap:var(--material-list-gap)}.material-row{min-height:var(--material-row-height);text-align:left;width:100%;color:var(--text);grid-template-columns:minmax(0,1fr) 110px;align-items:center;gap:12px;padding:12px 18px;display:grid}.portal .material-row:hover,.portal .material-row:focus-visible{border-color:var(--accent-border);background:var(--accent-soft)}.portal .material-row[aria-current=true]{border-color:var(--accent-strong);background:var(--accent-fill);box-shadow:inset 3px 0 var(--accent-strong)}@media (prefers-reduced-motion:no-preference){.material-row[data-created]{animation:.68s ease-out material-row-created}}@keyframes material-row-created{0%{opacity:.45;translate:0 4px}0%,28%{background-color:var(--accent-hover);border-color:var(--accent-border)}28%{opacity:1;translate:none}}.material-list-card:has(.material-row-menu) .material-row{padding-inline-end:62px}.material-row-menu{place-self:center end;margin-inline-end:14px}.material-row-menu[open]{z-index:5}.material-row-name{min-width:0}.material-title{min-height:0;color:var(--text);text-align:left;overflow-wrap:anywhere;background:0 0;align-items:center;gap:10px;max-width:100%;padding:0;font-size:16px;font-weight:600;display:inline-flex}.material-title svg{flex-shrink:0;width:24px;height:24px}.material-metadata,.material-modified{color:var(--muted);overflow-wrap:anywhere;font-size:13px;line-height:1.6}.material-row .material-metadata{margin-top:3px;display:block}.material-empty{color:var(--muted);padding:2rem;line-height:1.7}.material-preview{border-left:1px solid var(--line);overflow-wrap:anywhere;min-width:0;max-height:calc(100dvh - 24px);padding-left:20px;position:sticky;top:12px;overflow:auto}@media (prefers-reduced-motion:no-preference){.material-preview{animation:.18s ease-out material-preview-enter}}@keyframes material-preview-enter{0%{opacity:0;translate:var(--material-preview-enter-offset,16px) 0}}.material-preview .detail-header-row{flex-wrap:wrap;gap:8px}.material-preview .detail-header-row h1{flex-basis:100%;font-size:18px}.material-preview .detail-header-divider{display:none}.material-article,.material-file{padding:14px}.material-file-name{overflow-wrap:anywhere}.material-mobile-actions{display:none}.has-preview .material-toolbar{grid-template-columns:1fr}.has-preview .material-row{grid-template-columns:minmax(0,1fr);gap:3px 8px}@media (width<=1100px){.materials-workspace{grid-template-columns:200px minmax(0,1fr)}.materials-workspace.has-preview{grid-template-columns:180px minmax(220px,1fr) minmax(280px,.9fr);gap:14px}.material-preview{padding-left:12px}}@media (width<=850px){.materials-workspace,.materials-workspace.has-preview{display:block}.material-mobile-actions{margin-bottom:12px;display:block}.material-tree{border:1px solid var(--line);background:var(--paper);border-radius:6px;min-height:0;margin-bottom:16px;padding:12px;display:none;position:static}.material-tree.mobile-open{display:block}.material-preview{--material-preview-enter-offset:0px;border-left:0;border-top:1px solid var(--line);max-height:none;margin-top:20px;padding:20px 0;position:static}}@media (width<=700px){.material-toolbar{grid-template-columns:1fr;gap:12px}.material-list{--material-row-height:102px}.material-row{grid-template-columns:minmax(0,1fr);gap:3px 12px;padding:12px 14px}.material-modified{font-size:12px}.material-title{align-items:flex-start;min-height:0}.material-row .material-metadata{font-size:12px}.material-page-actions{gap:8px}}.material-form{gap:18px;min-width:0;margin:18px 0;display:grid}.material-form .field{gap:8px;min-width:0;display:grid}.material-form input[type=file]{min-width:0;max-width:100%}.material-form textarea{resize:vertical}.material-form .portal-actions,.material-object-actions,.material-dialog .portal-actions{flex-wrap:wrap;gap:10px;display:flex}.material-object-actions{margin-bottom:18px}.material-list-heading>.material-object-actions{margin:0 0 0 auto}.material-preview .material-object-actions{position:relative}.material-preview .material-actions-menu{position:static}.material-preview .material-actions-menu .action-menu-dropdown{max-width:100%;inset-inline:0 auto}.material-actions-menu summary{border:1px solid var(--line);width:36px;height:36px;color:var(--accent-ink);border-radius:5px;place-items:center;display:grid}.material-actions-menu summary:hover,.material-actions-menu[open] summary{background:var(--accent-hover)}.material-dialog{box-sizing:border-box;border:1px solid var(--line);background:var(--paper);width:min(600px,100vw - 32px);min-height:0;max-height:calc(100dvh - 32px);color:var(--text);font:inherit;overflow-wrap:anywhere;border-radius:12px;padding:24px;overflow:auto}.material-dialog::backdrop{background:#1e211959}.material-dialog h2{margin:0 0 18px;font-size:20px}.material-dialog h3{margin:24px 0 12px;font-size:16px}.material-grant{border-bottom:1px solid var(--line);gap:12px;min-width:0;padding:16px 0;display:grid}.material-grant p{margin:4px 0}.material-editor .rich-editor,.material-editor .editor-content{min-width:0}@media (width<=600px){.material-dialog{padding:18px}}.material-group-list{margin:0 0 16px;padding:0;list-style:none}.material-group-list li{border-bottom:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;padding:10px 0;display:flex}.initials-avatar{background:var(--neutral-fill);width:34px;height:34px;color:var(--accent-ink);border-radius:50%;flex:0 0 34px;place-items:center;font-size:12px;display:grid}table:where(.portal-table){border-collapse:collapse;text-align:left;table-layout:fixed;width:100%;min-width:0;font-size:15px;line-height:1.3}:where(.portal-table) th,:where(.portal-table) td{border-bottom:1px solid var(--line);border-right:1px solid var(--line);vertical-align:middle;overflow-wrap:anywhere;height:48px;padding:8px 12px}:where(.portal-table) tr>:last-child{border-right:0}:where(.portal-table) thead th{background:var(--accent-fill);color:var(--text);text-align:left;font-size:15px;font-weight:600}:where(.portal-table) tbody th{font-weight:400}:where(.portal-table) tbody tr:last-child>*{border-bottom:0}:where(.portal-table) tbody tr:hover{background:#eef0e1}.teacher-student-profile{gap:20px;min-width:0;max-width:100%;display:grid}.teacher-student-profile>.detail-header{margin-bottom:0}.student-profile-skeleton{gap:inherit;min-width:0;display:grid}.student-profile-skeleton .student-profile-skeleton-avatar{border-radius:50%;flex-shrink:0;height:46px}.student-profile-skeleton .student-profile-skeleton-percent{height:1.25rem;margin-block:6px}.student-profile-skeleton-tabs{padding-bottom:12px}.student-profile-skeleton .student-profile-skeleton-filter{height:34px}.student-profile-skeleton .student-profile-table-wrap{overflow:hidden}.student-profile-summary{background:var(--paper);border:1px solid var(--line);border-radius:8px;grid-template-columns:minmax(230px,1.2fr) auto auto minmax(140px,.7fr);align-items:center;gap:28px;padding:22px 24px;display:grid}.student-profile-identity,.student-profile-completion{align-items:center;gap:14px;min-width:0;display:flex}.student-profile-identity{overflow-wrap:anywhere;font-size:14px}.student-profile-identity .initials-avatar{background:var(--accent-fill);flex-basis:46px;width:46px;height:46px;font-size:17px}.teacher-student-profile .student-profile-meta{color:var(--muted);margin:4px 0 0;font-size:13px}.student-profile-identity a{text-decoration:none}.student-profile-identity a:hover{text-decoration:underline}.student-profile-donut{flex:0 0 88px;place-items:center;width:88px;height:88px;display:grid}.student-profile-donut svg,.student-profile-donut>span{grid-area:1/1}.student-profile-donut svg{fill:none;stroke-width:8px;width:100%;height:100%;transform:rotate(-90deg)}.student-profile-donut-track{stroke:var(--neutral-fill)}.student-profile-donut-value{stroke:var(--accent-strong);stroke-linecap:round}.student-profile-donut>span{text-align:center;font-variant-numeric:tabular-nums;line-height:1.15;display:grid}.student-profile-donut strong{font-size:25px;font-weight:500}.student-profile-donut small{color:var(--muted);font-size:11px}.portal .student-profile-completion h2{margin:0;font-size:14px;font-weight:500}.portal .student-profile-completion p{color:var(--muted);max-width:15ch;margin:3px 0 0;font-size:11px}.student-profile-statistics{gap:6px;margin:0;font-size:12px;display:grid}.student-profile-statistics>div{justify-content:space-between;gap:20px;display:flex}.student-profile-statistics dt{color:var(--muted)}.student-profile-statistics dd{font-variant-numeric:tabular-nums;margin:0;font-weight:600}.student-profile-score{border-left:1px solid var(--line);color:var(--muted);justify-items:start;padding-left:24px;font-size:11px;display:grid}.student-profile-score strong{color:var(--accent-ink);font-size:32px;font-weight:500;line-height:1.3}.portal .student-profile-score p{margin:6px 0 0;font-size:12px}.student-profile-content{min-width:0}.student-profile-navigation{border-bottom:1px solid var(--line);gap:28px;margin-bottom:18px;display:flex}.student-profile-navigation button{color:var(--muted);background:0 0;border-bottom:2px solid #0000;padding:0 0 12px;font-size:14px}.student-profile-navigation button:hover,.student-profile-navigation button[aria-pressed=true]{color:var(--accent-ink)}.student-profile-navigation button[aria-pressed=true]{border-bottom-color:var(--accent-strong);font-weight:600}.student-profile-tools{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.portal .student-profile-content h2{margin:0;font-size:17px;font-weight:500}.student-profile-tools h2 span{color:var(--muted);margin-left:6px;font-size:13px;font-weight:400}.student-profile-table-wrap{border:1px solid var(--line);background:var(--paper);border-radius:10px;max-width:100%;overflow-x:auto}.student-profile-table{min-width:690px}.student-profile-table thead th:first-child{width:43%}.student-profile-table thead th:nth-child(2){width:19%}.student-profile-table thead th:nth-child(3){width:28%}.student-profile-table thead th:last-child{width:10%}.student-profile-table small{color:var(--muted);margin-top:3px;font-size:11px;display:block}.student-profile-table a{font-weight:500;text-decoration:none}.student-profile-table a:hover{text-decoration:underline}.student-profile-table a.student-profile-status{font-weight:400}.student-profile-status{background:var(--neutral-fill);border-radius:4px;padding:3px 8px;font-size:12px;display:inline-block}.student-profile-status.is-reviewed{color:var(--accent-dark);background:var(--accent-fill)}.student-profile-status.is-pending{color:#725e39;background:#f2ead9}.student-profile-status.is-cancelled{color:var(--muted);background:0 0;padding-left:0}.student-profile-content .portal-pagination{margin-top:10px}.teacher-student-profile a{color:var(--accent-ink);text-underline-offset:3px}.portal .student-profile-empty{color:var(--muted);margin:0;padding:24px 0;font-size:13px}.student-profile-exams,.student-profile-memberships{margin:16px 0 0;padding:0;list-style:none}.student-profile-exams{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;display:grid}.student-profile-exams li{border:1px solid var(--line);background:var(--paper);border-radius:6px;gap:5px;padding:14px;font-size:13px;display:grid}.student-profile-exams strong{color:var(--accent-ink);font-weight:500}.student-profile-exams small{color:var(--muted);font-size:11px}.student-profile-exams meter{appearance:none;background:var(--neutral-fill);border:0;border-radius:4px;width:100%;height:8px;margin:4px 0}.student-profile-exams meter::-webkit-meter-bar{background:var(--neutral-fill);border:0;border-radius:4px;height:8px}.student-profile-exams meter::-webkit-meter-optimum-value{background:var(--accent-strong);border-radius:4px}.student-profile-exams meter::-moz-meter-bar{background:var(--accent-strong);border-radius:4px}.student-profile-memberships li{border-bottom:1px solid var(--line);padding:14px 0;font-size:13px}.portal .student-profile-memberships p{color:var(--muted);margin:4px 0 0;font-size:12px}@media (width<=1100px){.student-profile-summary{grid-template-columns:minmax(200px,1fr) auto auto;gap:20px;padding:18px}.student-profile-completion>div:last-child{display:none}.student-profile-statistics{border-top:1px solid var(--line);grid-area:2/1/auto/-1;gap:24px;padding-top:12px;display:flex}.student-profile-statistics>div{gap:8px}}@media (width<=600px){.teacher-student-profile{gap:16px}.student-profile-summary{grid-template-columns:1fr auto;gap:16px;padding:16px}.student-profile-identity{grid-column:1/-1}.student-profile-completion>div:last-child{display:block}.student-profile-score{padding-left:16px}.student-profile-score strong{font-size:26px}.student-profile-statistics{grid-row:auto;justify-content:space-between;gap:10px;font-size:10px}.student-profile-statistics>div{gap:2px;display:grid}.student-profile-navigation{justify-content:space-between;gap:10px}.student-profile-navigation button{font-size:11px}}.dashboard-stats{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:12px 0;min-height:59px;margin-bottom:12px;padding:0 0 12px;display:flex}.dashboard-stats>.groups-create{margin-left:auto}.dashboard-stats>span{border-left:1px solid var(--line);align-items:center;gap:10px;padding:0 20px;font-size:15px;display:flex}.dashboard-stats>span:first-child{border-left:0;padding-left:4px}.dashboard-stats svg{width:24px;height:24px;color:var(--muted);flex-shrink:0}.dashboard-toolbar{align-items:center;gap:24px;margin-bottom:16px;display:flex}.dashboard-tabs{gap:12px;display:flex}.dashboard-toolbar>.portal-pagination{margin-left:auto}.dashboard-grid{--card-skeleton-height:164px;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.dashboard-card{flex-direction:column;min-width:0;padding:14px 16px;display:flex;position:relative}.dashboard-card:has(.dashboard-card-open:enabled):hover{border-color:var(--accent-ink);background:var(--paper);box-shadow:0 2px 8px #555d4020}.dashboard-card-open{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;width:100%;position:absolute;inset:0}.dashboard-card-open:disabled{cursor:default}.dashboard-card-heading{justify-content:space-between;align-items:center;gap:8px;min-height:34px;display:flex}.dashboard-group-name{align-items:center;gap:10px;min-width:0;display:flex}.dashboard-exam{color:var(--accent-ink);background:var(--neutral-fill);border-radius:5px;align-items:center;padding:4px 12px;font-size:15px;font-weight:600;display:inline-flex}.dashboard-exam.oge{background:var(--neutral-fill)}.portal .dashboard-card-title{font:500 15px/1.4 var(--font-family);color:var(--text);overflow-wrap:anywhere;margin:0}.dashboard-card-facts{gap:6px;padding-top:10px;display:grid}.dashboard-card-facts>div{align-items:center;gap:10px;min-height:26px;font-size:15px;display:flex}.dashboard-card-facts>div>svg{width:20px;height:20px;color:var(--muted);flex-shrink:0}.dashboard-status-muted{color:var(--muted);font-size:15px}.dashboard-group-menu{z-index:2;flex:0 0 32px;align-self:flex-start;position:relative}.dashboard-group-menu summary{width:32px;height:32px;color:var(--accent-ink);border-radius:5px;place-items:center;padding:4px;display:grid}.dashboard-group-menu summary>svg{transform:rotate(90deg)}.dashboard-empty{border:1px dashed #c9cdb9;border-radius:6px;padding:30px 24px}@media (width<=1200px){.dashboard-stats>span{gap:10px;padding-inline:18px;font-size:15px}}@media (width<=900px){.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=650px){.dashboard-stats{gap:14px;padding-bottom:12px}.dashboard-stats>span,.dashboard-stats>span:first-child{border:0;gap:8px;padding:0;font-size:15px}.dashboard-stats svg{width:23px;height:23px}.dashboard-toolbar{flex-direction:column;align-items:stretch;gap:15px;margin-bottom:16px}.dashboard-grid{grid-template-columns:minmax(0,1fr)}.dashboard-card{padding:16px}}.dashboard-group-menu[open] summary,.dashboard-group-menu summary:hover{background:var(--accent-fill)}.dashboard-group-menu .action-menu-dropdown{width:210px;top:calc(100% + 7px)}.portal-workspace{grid-template-columns:310px minmax(0,1fr);align-items:start;gap:24px;display:grid}@media (width<=760px){.portal-workspace{grid-template-columns:1fr}}.groups-title-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.portal .groups-title-row h1{margin:0 auto 4px}.teacher-groups>.portal-title{margin-bottom:16px}.teacher-groups .portal-workspace{grid-template-columns:minmax(0,1fr);gap:16px}.teacher-groups .groups-detail{min-width:0;padding:16px}.groups-sections{border-bottom:1px solid var(--line);flex-wrap:wrap;gap:6px;padding:0 0 8px;display:flex}.groups-empty{padding:22px 0}.groups-info{background:var(--accent-fill);border-radius:6px;padding:16px}.groups-load-error{color:#853628;margin-top:18px}.groups-dialog{border:1px solid var(--line);background:var(--paper);color:#35392e;border-radius:12px;width:min(520px,100vw - 32px);max-height:calc(100dvh - 48px);padding:28px;overflow-y:auto}.groups-dialog::backdrop{background:#1c231873}.groups-dialog p{line-height:1.6}.groups-dialog .portal-actions{justify-content:flex-end;margin-top:24px}@media (width<=760px){.teacher-groups .groups-detail{padding:14px}.groups-empty{padding:8px 0}.groups-dialog{padding:22px}}.portal .groups-settings-title{margin:24px 0 20px;font-size:22px;font-weight:600}.portal .groups-settings-form{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:20px 40px}.groups-settings-section{gap:14px;min-width:0;display:grid}.groups-settings-section+.groups-settings-section{border-left:1px solid var(--line);padding-left:32px}.portal .groups-settings-description h3,.portal .groups-settings-archive h3{margin:0 0 4px;font-size:14px;font-weight:600}.portal .groups-settings-description p{color:var(--muted);margin:0;font-size:12px;line-height:1.5}.groups-settings-details{grid-template-columns:minmax(0,1fr);align-items:start;gap:14px;display:grid}.groups-settings-details .portal-field{gap:6px;font-size:12px}.groups-settings-form .groups-create-schedule{border:0;min-width:0;margin:0;padding:0}.groups-settings-form .groups-settings-legend{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.groups-settings-form .groups-create-days{gap:6px;max-width:420px}.portal .groups-settings-form .groups-create-days label{background:0 0;border-radius:5px;gap:4px;min-height:36px;font-size:13px}.portal .groups-settings-form .groups-create-days label:has(input:checked){color:var(--accent-ink);background:var(--accent-fill);border-color:var(--accent-border);box-shadow:none}.groups-settings-form .groups-day-check{width:12px;height:12px;color:inherit;order:-1}.groups-settings-form .groups-create-times{max-width:420px;margin-top:10px}.groups-settings-form .groups-create-time:not([hidden]){padding:6px 0;font-size:13px;font-weight:500}.groups-settings-form .groups-create-time .lesson-time-picker{width:116px;font-weight:400}.groups-settings-form .groups-create-time .lesson-time-inputs{border-radius:5px;min-height:36px;padding-inline:8px}.portal .groups-settings-form .groups-create-time .lesson-time-inputs input{width:24px;padding:4px 0;font-size:14px}.groups-settings-form .groups-create-time .lesson-time-toggle:after{width:18px;height:18px}.portal .groups-settings-form .groups-schedule-hint{color:var(--muted);margin:10px 0 0;font-size:12px}.groups-settings-actions{grid-column:1/-1}.portal-archive{margin-top:30px}.groups-settings-archive{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:24px;margin-top:24px;padding-top:20px;display:flex}.portal .groups-settings-archive p{max-width:76ch;margin:0;font-size:12px;line-height:1.6}.groups-settings-archive>button{flex-shrink:0}@media (width<=900px){.portal .groups-settings-form{grid-template-columns:minmax(0,1fr)}.groups-settings-section+.groups-settings-section{border-top:1px solid var(--line);border-left:0;padding-top:20px;padding-left:0}}@media (width<=600px){.portal .groups-settings-title{font-size:20px}.groups-settings-archive{flex-direction:column;align-items:flex-start;gap:12px}}.groups-archive-status{color:#62645c;flex-wrap:wrap;align-items:center;gap:8px 12px;margin-left:auto;font-size:13px;line-height:1.5;display:flex}.groups-archive-label{background:#eeede8;border:1px solid #d6d2c7;border-radius:5px;align-items:center;gap:6px;padding:4px 8px;font-weight:600;display:inline-flex}.groups-archive-label svg{width:14px;height:14px}.groups-detail-archived{--accent-fill:#eeede8}@media (width<=760px){.groups-archive-status{flex-basis:100%;margin:4px 0 0}}.calendar-event-skeleton{border:1px solid var(--line);background:var(--canvas);border-radius:5px;align-content:center;gap:5px;min-width:0;min-height:42px;padding:6px 8px;font-size:12px;display:grid}.month-day-preview{min-width:0;min-height:0;position:relative;overflow:clip}.calendar-day-event-list{grid-template-columns:minmax(0,1fr);gap:4px;margin:0;padding:0;list-style:none;display:grid}.month-day-preview [inert]{visibility:hidden}.portal .month-day-more{min-height:20px;padding:0 4px;font-size:12px;line-height:1.3;position:absolute;inset:auto 0 0}.portal .month-day-more[data-all-hidden]{inset-block:0 auto}.calendar-day-dialog{border:1px solid var(--line);background:var(--paper);width:min(460px,100vw - 32px);max-height:calc(100dvh - 32px);color:var(--text);overflow-wrap:anywhere;border-radius:12px;padding:20px;overflow:auto}.calendar-day-dialog::backdrop{background:#1e211959}.portal .calendar-day-dialog>h2{margin-top:0}.calendar-day-dialog .calendar-day-event-list{margin-bottom:14px}html:has(.teacher-overview,.student-calendar){scrollbar-gutter:stable}.calendar-period-controls{font-variant-numeric:tabular-nums;grid-template-columns:36px minmax(0,1fr) 36px;align-items:center;gap:8px;width:min(100%,264px);font-size:14px;display:grid}.calendar-period-controls>span{text-align:center;white-space:nowrap}.portal .calendar-period-controls button{place-items:center;min-height:36px;padding:0;display:grid}.calendar-view-switcher>button{white-space:nowrap;inline-size:84px}@media (width<=360px){.calendar-period-controls{font-size:13px}}.calendar-period-frame{overflow:clip}@media (prefers-reduced-motion:no-preference){.calendar-period-frame>[data-period-direction]{animation:.18s ease-out calendar-period-enter}@media (width>760px){.calendar-period-frame>[data-period-direction=forward]{--calendar-period-offset:12px}.calendar-period-frame>[data-period-direction=backward]{--calendar-period-offset:-12px}}}@keyframes calendar-period-enter{0%{opacity:.45;translate:var(--calendar-period-offset,none)}}.teacher-portal:has(.teacher-overview)>.portal-main{width:100%;max-width:none;margin:0;padding:24px}.teacher-overview{color:#171913;grid-template-columns:250px minmax(0,1fr);align-items:start;gap:20px;display:grid}.overview-groups{border:1px solid var(--line);background:var(--paper);border-radius:10px;padding:16px}.overview-groups-toggle{border-bottom:1px solid var(--line);width:100%;color:inherit;text-align:left;background:0 0;justify-content:space-between;align-items:center;gap:8px;margin-bottom:14px;padding:0 0 14px;font-size:20px;font-weight:650;display:flex}.overview-group-count{background:var(--neutral-fill);min-width:26px;height:26px;color:var(--accent-ink);border-radius:50%;place-items:center;margin-left:auto;padding-inline:6px;font-size:13px;font-weight:500;display:grid}.overview-groups-toggle svg{width:16px;height:16px;color:var(--accent-ink)}.overview-groups-toggle[aria-expanded=true] svg{transform:rotate(90deg)}.overview-group-search{margin-bottom:12px}.overview-group-selection{color:var(--accent-ink);justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;font-size:11px;display:flex}.overview-select-all{color:var(--accent-ink);background:0 0;padding:0;font-weight:600;text-decoration:underline}.overview-group-list{max-height:calc(100dvh - 330px);overflow-y:auto}.overview-group-option{cursor:pointer;border-radius:5px;align-items:flex-start;gap:10px;padding:10px 6px;font-size:14px;line-height:1.3;display:flex}.overview-group-option:hover{background:var(--accent-soft)}.overview-group-option:has(input:not(:checked)){color:var(--muted)}.overview-group-option:has(input:focus-visible){outline:2px solid var(--accent-strong);outline-offset:-2px}.overview-group-option input{appearance:none;border:1px solid var(--stripe);background:var(--paper);cursor:pointer;border-radius:50%;flex-shrink:0;width:15px;height:15px;margin:2px 0 0}.overview-group-option input:checked{background:var(--stripe)}.overview-schedule{border:1px solid var(--line);background:var(--paper);border-radius:10px;min-width:0;padding:18px 14px 14px}.overview-schedule-top{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin:0 2px 18px;display:flex}.portal .overview-schedule h2{font:650 23px/1.2 var(--font-family);letter-spacing:-.5px;color:var(--text);align-items:center;gap:10px;margin:0;display:flex}.overview-schedule h2 svg{color:#606852;width:23px;height:23px}.overview-period{font-weight:500}.overview-view{align-items:center;gap:8px;display:flex}.portal .overview-today{min-height:36px;padding:6px 12px}.overview-switch{gap:2px;display:flex}.overview-day.overview-timezone{color:var(--accent-ink);text-align:center;white-space:nowrap;font-size:10px}.teacher-overview .amber{--event-bg:#f3e8d2;--stripe:#d8b16d}.teacher-overview .sage{--event-bg:#e4ead6;--stripe:#a0b77c}.teacher-overview .sky{--event-bg:#dce7ef;--stripe:#8fb8d7}.teacher-overview .rose{--event-bg:#f0dfdb;--stripe:#c99c91}.teacher-overview .lavender{--event-bg:#e6e1ef;--stripe:#afa0c9}.overview-calendar-scroll{scrollbar-color:#a0a782 #eeecdf;border:1px solid #d7d4cc;border-radius:6px;max-height:calc(100dvh - 230px);overflow:auto}.overview-calendar-frame{min-width:820px}.overview-calendar-frame:has(>.overview-calendar){min-width:960px}.overview-calendar{--hour-height:41px;grid-template-columns:88px repeat(7,minmax(0,1fr));display:grid}.overview-column{border-left:1px solid #dedbd4;min-width:0}.overview-column:first-child{border-left:0}.overview-day{height:40px;font:13px var(--font-family);border-bottom:1px solid #d8d5ce;justify-content:center;align-items:center;gap:6px;display:flex}.overview-column>.overview-day{z-index:2;background:var(--paper);position:sticky;top:0}.overview-column.current>.overview-day{background:var(--accent-soft)}.teacher-overview .current{background:#e1e8ca52}.current .overview-day{color:#4a5b2c;font-weight:600}.overview-day b{place-items:center;font-weight:400;display:grid}.current .overview-day b{background:var(--accent-strong);color:#fff;border-radius:50%;width:30px;height:30px}.overview-hours,.overview-day-body{height:calc(var(--hours) * var(--hour-height));background:repeating-linear-gradient(to bottom, transparent 0, transparent calc(var(--hour-height) - 1px), #ddd9d1 calc(var(--hour-height) - 1px), #ddd9d1 var(--hour-height));position:relative}.overview-hours{grid-template-rows:repeat(var(--hours), 1fr);text-align:center;font-variant-numeric:tabular-nums;color:#35352e;font-size:12px;display:grid}.overview-hours span{text-align:left;padding:8px 10px}.overview-day-body>.calendar-event-skeleton{inset:calc(4 * var(--hour-height)) 5px auto;height:calc(1.5 * var(--hour-height));position:absolute}.portal .overview-event{min-height:0;box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--stripe) 28%, transparent);background:var(--event-bg);color:#10110d;text-align:left;border:0;border-radius:5px;flex-direction:column;justify-content:flex-start;align-items:stretch;padding:6px 5px 5px 10px;font-size:12px;line-height:1.3;display:flex;position:absolute;overflow:hidden}.overview-event:before{content:"";background:var(--stripe);border-radius:5px;width:4px;position:absolute;top:0;bottom:0;left:0}.overview-event strong,.overview-event span{overflow-wrap:anywhere;display:block}.overview-event strong{font-variant-numeric:tabular-nums;letter-spacing:-.5px;white-space:nowrap;font-size:11px;font-weight:700}.overview-event span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.portal .overview-event:hover:not(:disabled){z-index:1;background:var(--event-bg);filter:brightness(.93)}.overview-event:focus-visible{z-index:1}.overview-month{grid-template-columns:repeat(7,minmax(0,1fr));display:grid;overflow:hidden}.overview-month>.overview-day{height:28px}.overview-month-day{border-right:1px solid var(--line);border-bottom:1px solid var(--line);min-height:76px;padding:4px 6px}.overview-month-day:nth-child(7n){border-right:0}.overview-month-day .overview-day{border:0;justify-content:flex-start;height:24px;padding-left:4px;font-size:15px}.overview-month-day.current .overview-day b{width:22px;height:22px}.overview-month-day.outside{background:#e5e2d840}.portal .overview-month .overview-event{padding-block:4px;width:100%;margin:0;padding-left:10px;font-size:12px;display:block;position:relative}.overview-month .calendar-day-dialog .overview-event span{white-space:normal}@media (width>700px){.teacher-portal:has(.teacher-overview[data-view=month]){flex-direction:column;height:100dvh;display:flex}.teacher-portal:has(.teacher-overview[data-view=month])>.service-header{flex-shrink:0}.teacher-overview[data-view=month] .overview-schedule{flex-direction:column;flex:1;min-height:0;display:flex}.teacher-portal:has(.teacher-overview[data-view=month])>.portal-main{flex-direction:column;flex:1;min-height:0;display:flex}.teacher-groups:has(.teacher-overview[data-view=month]){flex-direction:column;flex:1;min-height:0;display:flex}.teacher-overview[data-view=month]{flex:1;grid-template-rows:minmax(0,1fr);min-height:0}.teacher-overview[data-view=month] .overview-schedule{align-self:stretch}.teacher-overview[data-view=month] .overview-calendar-scroll{flex:1;min-height:0;max-height:none}:is(.overview-calendar-frame:has(>.overview-month),.overview-month){height:100%;overflow:visible}.overview-month{grid-template-rows:28px;grid-auto-rows:minmax(56px,1fr)}.overview-month-day{grid-template-rows:auto minmax(0,1fr);min-height:0;display:grid}}.portal .overview-empty{color:#66675a;margin:10px 16px 22px}@media (width<=1150px){.teacher-portal:has(.teacher-overview)>.portal-main{padding:18px}.teacher-overview{grid-template-columns:220px minmax(0,1fr);gap:14px}}@media (width<=700px){.teacher-portal:has(.teacher-overview)>.portal-main{padding:12px}.teacher-overview{grid-template-columns:minmax(0,1fr);gap:12px}.overview-groups{padding:12px}.overview-groups-toggle{border-bottom:0;margin-bottom:0;padding-bottom:0;font-size:18px}.overview-groups-toggle[aria-expanded=true]{border-bottom:1px solid var(--line);margin-bottom:12px;padding-bottom:12px}.overview-group-list{max-height:170px}.overview-schedule{padding:14px 10px 10px}.overview-schedule-top{gap:12px}.overview-period{width:100%}.overview-view{justify-content:space-between;width:100%}.overview-calendar-scroll{max-height:560px}}.overview-mode-toggle{width:32px;height:32px;color:var(--accent-ink);background:0 0;border-radius:5px;flex-shrink:0;place-items:center;padding:4px;display:grid}.overview-mode-toggle:hover{background:var(--accent-soft)}.student-link{color:inherit;text-decoration:underline;-webkit-text-decoration-color:var(--line);text-decoration-color:var(--line);text-underline-offset:.2em}.student-link:hover{text-decoration-color:currentColor}.student-link:focus-visible{outline-offset:3px;border-radius:2px;outline:2px solid}.groups-create-form{margin:0 0 16px}.groups-create-page{width:100%;max-width:722px;margin-inline:auto}.portal .groups-create-form{gap:20px;padding:20px}.portal .groups-create-form>label,.groups-create-form legend{font-size:14px;font-weight:500}.portal .groups-create-form>label,.groups-create-form>fieldset{width:100%;max-width:680px}.groups-create-form fieldset{border:0;margin:0;padding:0}.groups-exam-field legend{margin-bottom:12px}.groups-exam-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.groups-exam-card{font-size:14px;position:relative}.groups-exam-card input{opacity:0;width:1px;height:1px;margin:0;position:absolute}.groups-exam-card .choice-card-preview svg{width:30px;height:30px}.groups-exam-check{width:18px;height:18px;color:var(--accent-ink);visibility:hidden;grid-area:indicator;margin:4px}.groups-exam-card input:checked~.groups-exam-check{visibility:visible}@media (width<=540px){.groups-exam-options{grid-template-columns:minmax(0,1fr)}}.groups-create-form .groups-create-schedule{margin-top:4px}.groups-create-schedule legend{width:100%;font-size:20px;font-weight:600}.groups-create-schedule legend span{float:right;color:var(--muted);margin-top:4px;font-size:14px;font-weight:400}.portal .groups-days-label{margin:6px 0 14px;font-size:15px}.groups-create-days{grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;display:grid}.portal .groups-create-days label{cursor:pointer;background:#f6f5ec;border:1px solid #d4d3c3;border-radius:9px;justify-content:center;align-items:center;gap:6px;min-height:50px;font-size:15px;display:flex;position:relative}.groups-create-days input{opacity:0;cursor:pointer;position:absolute;inset:0}.groups-create-days label:has(input:checked){background:#eceecf;border-color:#5f6839;box-shadow:inset 0 0 0 1px #5f6839}.groups-day-check{color:#535d32;display:none}.groups-create-days input:checked~.groups-day-check{display:block}.groups-create-times{margin-top:16px}.groups-create-time:not([hidden]){border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:8px 0;font-size:16px;display:flex}.groups-create-time .lesson-time-picker{width:200px}.groups-create-time .lesson-time-inputs{background:0 0;border-radius:10px;padding-inline:14px}.portal .groups-create-time .lesson-time-inputs input{width:32px;padding:5px 0;font-size:16px}.groups-create-time .lesson-time-panel{left:auto;right:0}.portal .groups-schedule-hint{color:#77776d;font:14px/1.5 var(--font-family);margin:14px 0 8px}.groups-create-form .groups-create-days{gap:6px}.portal .groups-create-form .groups-create-days label{border-radius:5px;min-height:42px;font-size:14px}.groups-create-form .groups-create-time:not([hidden]){font-size:15px}.groups-create-form .lesson-time-picker{width:140px}.portal .groups-create-form .lesson-time-inputs input{font-size:16px}.groups-create-actions{border-top:1px solid #cecfbf;justify-content:space-between;align-items:center;gap:16px;padding-top:22px;display:flex}@media (width<=600px){.portal .groups-create-form{padding:16px}.groups-create-days{gap:5px}.portal .groups-create-days label{gap:2px;min-height:44px;font-size:15px}.groups-day-check{width:12px}.groups-create-schedule legend{font-size:20px}.groups-create-schedule legend span{font-size:15px}.groups-create-time .lesson-time-picker{width:140px}}.portal .groups-create-time .lesson-time-toggle{width:32px;color:var(--accent-strong);background:0 0;font-size:0}.groups-create-time .lesson-time-toggle:after{content:"";background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23596444' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 5v7l4 3'/%3E%3C/svg%3E") 50%/contain no-repeat;width:22px;height:22px;display:block}.groups-invitations{container-type:inline-size}.groups-invite-header{align-items:center;gap:12px;padding:24px 0 6px;display:flex}.portal .groups-invite-title{margin:0;font-size:22px;font-weight:600}.portal .groups-invite-description{max-width:62ch;color:var(--muted);margin:0 0 16px;font-size:13px;line-height:1.6}.portal .groups-invite-hint{color:var(--accent-ink);align-items:center;gap:8px;margin:0 0 24px;font-size:12px;display:flex}.groups-invite-hint svg{flex-shrink:0;width:16px;height:16px}.groups-invitation-tabs{border-top:1px solid var(--line);flex-wrap:wrap;gap:8px;margin-bottom:12px;padding-top:18px;display:flex}.groups-invitation-list{margin:0;padding:0;list-style:none}.portal-invitation{border-top:1px solid var(--line);grid-template-columns:210px minmax(0,1fr) auto;align-items:center;gap:20px;padding:14px 0;display:grid}.groups-invitation-info{gap:3px;min-width:0;display:grid}.groups-invitation-info strong{font-size:13px;font-weight:500}.groups-invitation-info>span{color:var(--muted);font-size:11px}.groups-invitation-link{min-width:0}.groups-invitation-link .portal-input{background:var(--canvas);text-overflow:ellipsis}.portal-invitation .portal-actions{flex-wrap:nowrap;gap:4px;margin:0}.portal-invitation .portal-actions svg{width:16px;height:16px}@container (width<=900px){.portal-invitation{grid-template-columns:minmax(0,1fr) auto;gap:8px 16px}.groups-invitation-info{flex-wrap:wrap;align-items:baseline;gap:4px 12px;display:flex}.groups-invitation-link{grid-column:1}.portal-invitation .portal-actions{grid-area:1/2/3}}@container (width<=600px){.portal .groups-invite-title{font-size:20px}.portal .groups-invite-hint{align-items:flex-start;margin-bottom:20px}.portal-invitation{grid-template-columns:minmax(0,1fr);gap:10px}.portal-invitation .portal-actions{flex-wrap:wrap;grid-area:auto/1}}.groups-history ul{margin:0;padding:0;list-style:none}.groups-history-head,.groups-history li{grid-template-columns:minmax(160px,1fr) minmax(0,2fr) minmax(150px,1fr) minmax(130px,1fr);align-items:baseline;gap:8px 24px;display:grid}.groups-history-head{color:var(--muted);padding:8px 0;font-size:12px}.groups-history li{border-top:1px solid var(--line);color:#686d5e;overflow-wrap:anywhere;padding:12px 0}.groups-history-status{text-align:right}@container (width<=800px){.groups-history-head{display:none}.groups-history li{grid-template-columns:minmax(0,1fr) auto;gap:4px 12px}.groups-history-student{grid-area:2/1/auto/-1}.groups-history-date{grid-area:3/1/auto/-1}.groups-history-status{grid-area:1/2}}.choice-card{border:1px solid var(--line);background:var(--paper);border-radius:8px;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"preview preview""caption indicator";align-items:center;gap:8px 10px;padding:8px;display:grid}label.choice-card:has(input:enabled){cursor:pointer}.choice-card:has(input:enabled):hover{border-color:var(--accent-border)}.choice-card:has(input:checked){border-color:var(--accent-strong);background:var(--accent-soft)}.choice-card:has(input:focus-visible){outline:2px solid var(--accent-strong);outline-offset:2px}.choice-card-caption{grid-area:caption;align-content:center;min-width:0;padding-inline:4px;line-height:1.35;display:grid}.choice-card-caption strong{font-weight:600}.choice-card-preview{background:var(--neutral-fill);height:76px;color:var(--accent-ink);border-radius:4px;grid-area:preview;place-items:center;display:grid}.choice-card:has(input:checked) .choice-card-preview{background:var(--accent-fill)}@media (width<=540px){.choice-card{grid-template-columns:76px minmax(0,1fr) auto;grid-template-areas:"preview caption indicator"}.choice-card-preview{height:54px}}.lesson-time-picker{position:relative}.lesson-time-inputs:has(input:focus){outline:1px solid var(--accent-strong);outline-offset:-1px}.portal .lesson-time-inputs input:focus{outline:none}.lesson-time-inputs{background:#fff;border:1px solid #aeb5a1;border-radius:6px;align-items:center;min-height:44px;display:flex}.portal .lesson-time-inputs input{text-align:center;font-variant-numeric:tabular-nums;background:0 0;border:0;width:38px;min-width:0;padding:8px 2px}.portal .lesson-time-toggle{background:0 0;margin-left:auto;padding:6px}.lesson-time-inputs:has(input:disabled){opacity:.6;background:#f3f3ed}.lesson-time-panel{z-index:10;background:#fffefa;border:1px solid #d6d2c7;border-radius:12px;grid-template-columns:1fr 1fr;gap:8px;width:160px;padding:8px;display:grid;position:absolute;top:calc(100% + 6px);left:0;box-shadow:0 10px 28px #31372321}.lesson-time-heading{text-align:center;margin-bottom:4px;font-size:12px;display:block}.lesson-time-options{overscroll-behavior:contain;gap:4px;max-height:176px;display:grid;overflow-y:auto}.portal .lesson-time-options button{font-variant-numeric:tabular-nums;background:0 0;padding:8px}.portal .lesson-time-options button:hover,.portal .lesson-time-options button[aria-pressed=true]{background:var(--accent-fill);color:var(--accent-ink)}.portal-create-button{border:1px solid var(--line);background:var(--paper);width:46px;height:46px;color:var(--accent-ink);border-radius:12px;flex-shrink:0;place-items:center;padding:0;transition:background .15s,border-color .15s;display:grid;box-shadow:0 2px 5px #75736114}.portal-create-button>span{width:14px;height:14px;position:relative}.portal-create-button>span:before,.portal-create-button>span:after{content:"";background:currentColor;border-radius:2px;position:absolute;inset:6.25px 0}.portal-create-button>span:after{transform:rotate(90deg)}.portal-create-button:hover:not(:disabled){background:var(--neutral-fill);border-color:#c7c0af}.portal-create-button:active:not(:disabled){box-shadow:none;transform:translateY(1px)}.portal-checkbox{align-items:center;margin:24px 0 12px;display:flex!important}.portal-checkbox input{width:18px;height:18px}.group-journal-toolbar{flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:10px;margin-top:12px;display:flex}.portal .journal-refresh{white-space:nowrap;box-shadow:none;color:var(--accent-ink);background:0 0;border:0;flex:none;align-items:center;gap:10px;min-height:36px;margin-left:auto;padding:8px 12px;font-size:14px;display:inline-flex}.portal .journal-refresh:hover:not(:disabled){box-shadow:none;background:#eef0e5}.journal-refresh svg{flex-shrink:0;width:16px;height:16px}.teacher-portal:has(.journal-scroll){flex-direction:column;height:100dvh;display:flex}.teacher-portal:has(.journal-scroll)>.service-header{flex-shrink:0}.teacher-portal:has(.journal-scroll)>.portal-main{width:100%}.teacher-portal:has(.journal-scroll)>.portal-main{flex-direction:column;flex:1;align-items:stretch;min-height:0;display:flex}.teacher-groups:has(.journal-scroll){flex-direction:column;flex:1;align-items:stretch;min-height:0;display:flex}.teacher-groups .portal-workspace:has(.journal-scroll){flex-direction:column;flex:1;align-items:stretch;min-height:0;display:flex}:is(.groups-detail:has(.journal-scroll),.group-journal:has(.journal-scroll)){flex-direction:column;min-height:0;display:flex}:is(.portal-workspace:has(.journal-scroll)>.detail-header,.groups-detail:has(.journal-scroll)>.groups-sections,.group-journal>:not(.journal-scroll)){flex-shrink:0}.journal-scroll{overscroll-behavior:contain;border:1px solid var(--line);border-radius:10px;max-width:100%;min-height:0;margin-top:12px;overflow:auto;box-shadow:0 4px 16px #35402a0d}.journal-table{border-collapse:separate;border-spacing:0;table-layout:fixed;width:100%;font-size:15px;line-height:1.3}.journal-table th,.journal-table td{text-align:left;border-bottom:1px solid var(--line);border-right:1px solid var(--line);vertical-align:middle;min-width:140px;height:48px;padding:8px 12px}.journal-table thead th{z-index:2;background:var(--accent-fill);vertical-align:top;overflow-wrap:anywhere;padding-top:8px;padding-bottom:8px;font-weight:600;position:sticky;top:0}.journal-table th:first-child{z-index:1;background:var(--paper);overflow-wrap:anywhere;width:210px;position:sticky;left:0}.journal-table td{text-align:center}.journal-table tbody th{font-size:inherit;font-weight:400}.journal-table tr>:last-child{border-right:0}.journal-table thead th:first-child{background:var(--accent-fill);z-index:3}.journal-table tr:last-child td,.journal-table tbody tr:last-child th{border-bottom:0}.journal-table small{color:#62645c;margin-top:4px;font-size:15px;font-weight:400;display:block}.portal .journal-score,.portal .journal-pending{min-height:34px;font-size:inherit;border-radius:7px;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;padding:5px 8px;line-height:1.3;display:inline-flex}.portal .journal-score{color:#35392e;font-variant-numeric:tabular-nums;background:0 0;min-width:68px;font-weight:400}.portal .journal-pending{color:#754507;background:#fbe9bf}.journal-score svg{color:#626e4e;flex-shrink:0;width:14px;height:14px}.portal .journal-score:hover:not(:disabled){background:#ccd7aa;box-shadow:inset 0 0 0 1px #95a574}.portal .journal-pending:hover:not(:disabled){background:#f5dda7}.journal-pending svg{width:18px;height:18px}.journal-overdue{color:#a23e1b;white-space:nowrap;justify-content:center;align-items:center;gap:4px;padding:0;font-size:13px;display:inline-flex}.journal-overdue svg{flex-shrink:0;transform:translateY(.1em)}.journal-not-assigned{background:#6e6e6e0a}.journal-footer{justify-content:space-between;align-items:baseline;gap:16px;margin-top:16px;display:flex}.group-journal .journal-note,.group-journal .journal-signature{color:#626e4e;text-align:left;overflow-wrap:anywhere;margin:0;font-family:Georgia,Times New Roman,serif;font-size:15px;font-style:italic;font-weight:400;line-height:1.5}.journal-signature{flex-shrink:0}.journal-status{color:#62645c;font-size:13px}.journal-caption{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}@media (width<=480px){.journal-table th:first-child{width:140px}.journal-table th,.journal-table td{padding:10px}}.journal-deadline{margin-bottom:4px;display:block}.journal-title{-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:14px;font-weight:400;line-height:1.4;display:-webkit-box;overflow:hidden}.journal-table tbody tr:hover>*{background-color:#eef0e1}.portal .journal-search{flex:240px;max-width:260px;margin:0}.journal-status-filter{flex:0 170px}.journal-student{align-items:center;gap:10px;display:flex}.journal-avatar{width:28px;height:28px;color:var(--accent-ink);background:#e6ebd2;border-radius:50%;flex:0 0 28px;place-items:center;font-size:11px;font-weight:600;display:grid}@media (width<=600px){.portal .journal-search{flex:220px}.journal-status-filter{flex:180px}.journal-student{gap:6px}.journal-avatar{flex-basis:26px;width:26px;height:26px;font-size:11px}}.journal-late{background-color:#faf4e8}.journal-late-note{color:#806333;margin-top:3px;font-size:11px;line-height:1.3;display:block}.portal .journal-pending{min-width:36px;min-height:34px}.journal-table thead th{height:1px}.journal-heading{flex-direction:column;height:100%;display:flex}.journal-heading>.info-tooltip{position:absolute;top:6px;right:6px}.journal-heading .journal-deadline{padding-right:28px}.journal-table tr>th:first-child:after{content:"";pointer-events:none;background:linear-gradient(90deg,#35402a1f,#0000);width:8px;position:absolute;top:0;bottom:0;right:-8px}.groups-detail-archived .journal-scroll{box-shadow:none}.groups-detail-archived .journal-avatar{color:#62645c;background:#eeede8}.groups-detail-archived .journal-table tbody tr:hover>*{background-color:#eeede8}.groups-detail-archived .journal-pending{color:#53554e;background:#eeede8;box-shadow:inset 0 0 0 1px #d6d2c7}.groups-detail-archived .journal-pending:hover:not(:disabled){background:#e2e0d8}.journal-table .journal-former-member>th,.journal-table .journal-former-member>td{background:#eeede8}.journal-table .journal-former-member:hover>*{background-color:#e2e0d8}.journal-former-member .journal-avatar{color:#62645c;background:#e2e0d8}.journal-former-member>td:last-child{padding-right:40px;position:relative}.journal-former-member>td:last-child>.info-tooltip{position:absolute;top:6px;right:6px}@media (width<=600px){.portal .group-filters .portal-search{max-width:none}}.month-picker{flex:none;align-items:center;gap:2px;display:flex}.portal .month-picker-arrow{color:var(--accent-ink);min-height:var(--control-height);background:0 0;padding:4px 8px;font-size:22px}.month-picker>.dropdown{width:180px}.portal .month-picker .dropdown-trigger{white-space:nowrap}@media (width<=600px){.month-picker{order:-1;width:100%}.month-picker>.dropdown{flex:1}}.card-skeleton-line.group-skeleton-control{height:34px;display:block}.card-skeleton-line.group-skeleton-avatar{border-radius:50%;flex-shrink:0;height:34px}.journal-scroll.group-skeleton-table{overflow:hidden}.group-skeleton-table .journal-table{min-width:680px}.info-tooltip{display:inline-flex}.portal .info-tooltip-button{color:#626e4e;background:0 0;border:0;border-radius:50%;justify-content:center;align-items:center;width:28px;min-height:28px;padding:4px;display:inline-flex}.info-tooltip-content{color:#35392e;width:min(300px,100vw - 16px);font:400 13px/1.5 var(--font-family);overflow-wrap:anywhere;text-align:left;background:#fffef9;border:1px solid #d9dccd;border-radius:8px;margin:0;padding:12px 14px;position:fixed;inset:auto;box-shadow:0 4px 16px #35402a26}.info-tooltip-content p{margin:6px 0 0}.group-members{margin-top:12px}.groups-members-toolbar{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:12px;display:flex}.portal .groups-members-search{flex:240px;max-width:260px;margin:0}.groups-members-filter,.groups-members-sort{width:170px;max-width:100%}.groups-members-table th:first-child{width:38%}.groups-members-table th:nth-child(3){width:110px}.groups-members-table th:nth-child(4){width:56px}.groups-members-table tbody th{font-weight:600}.groups-member-name{align-items:center;gap:12px;display:flex}.groups-member-email,.groups-member-grade{color:var(--muted)}.groups-member-actions summary{width:40px;height:40px;color:var(--accent-ink);border-radius:6px;place-items:center;display:grid}.groups-member-actions[open] summary,.groups-member-actions summary:hover{background:var(--accent-fill)}@media (width<=640px){.groups-members-table,.groups-members-table tbody{display:block}.groups-members-table thead{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.groups-members-table tr{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) 40px;padding:14px 12px;display:grid}.groups-members-table th,.groups-members-table td{border:0;height:auto;padding:0}.groups-members-table th:first-child{width:auto}.groups-member-email,.groups-member-grade{grid-column:1;margin-left:46px;font-size:13px}.groups-member-email{margin-top:4px}.groups-member-menu{grid-area:1/2/4;align-self:center}}.portal-condition-images figure{margin:16px 0}.portal-condition-images img{object-fit:contain;border:1px solid var(--line);background:#fff;max-width:100%;max-height:560px;display:block}.portal-condition-images figcaption{margin:8px 0;font-size:14px}.portal-condition-images figcaption button{margin-left:12px}.test-answer,.test-task-editor{gap:16px;min-width:0;display:grid}.test-task-editor{margin-top:20px}.test-editor-item{border-bottom:1px solid var(--line);grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding-bottom:16px;display:grid}.test-choices,.test-matching,.test-right-options{gap:12px;display:grid}.test-choices label{align-items:baseline;gap:12px;display:flex}.test-choices input{accent-color:var(--accent-strong)}.test-matching{gap:6px;width:fit-content;max-width:min(100%,560px)}.test-matching-options{background:var(--neutral-fill);overflow-wrap:anywhere;border-radius:6px;flex-wrap:wrap;gap:4px 20px;width:fit-content;max-width:100%;margin:0;padding:8px 12px;list-style:none;display:flex}.test-matching-row{grid-template-columns:minmax(0,1fr) 72px;align-items:center;gap:12px;display:grid}.test-answer .portal-field{max-width:420px}.test-task-editor dl>div{grid-template-columns:24px minmax(0,1fr);gap:12px;margin-top:12px;display:grid}.test-task-editor dd{margin:0}.portal .test-result{background:var(--paper);margin-top:12px;padding:12px 14px}.portal .test-result h3,.portal .test-result p{margin:0 0 8px}.test-result-answers{flex-wrap:wrap;column-gap:16px;display:flex}.test-result h4{margin:12px 0 8px}.test-explanations{gap:8px;margin:0;display:grid}.test-explanations>div{border-left:3px solid;border-radius:4px;padding:9px 12px}.test-explanations .correct{color:#315a36;background:#eef4e9;border-color:#719969}.test-explanations .incorrect{color:#913e35;background:#fbefeb;border-color:#bd6c60}.test-explanations dt{flex-wrap:wrap;align-items:center;column-gap:6px;margin-bottom:3px;font-weight:600;display:flex}.test-explanations dt svg{width:16px;height:16px}.test-explanation-selection{white-space:pre-wrap;font-weight:400}.test-explanations dd{margin:0;font-size:16px;line-height:1.45}.test-result strong,.test-choices span,.test-matching span{overflow-wrap:anywhere}@media (width<=650px){.test-editor-item{grid-template-columns:1fr}}.portal .test-right-options p,.portal .test-task-editor>p{margin:0}.portal-task{border-bottom:1px solid var(--line);padding:20px 0}.portal-task h2{font-size:20px}.student-result{border-left:3px solid var(--accent-border);margin-top:28px;padding:4px 24px}@media (prefers-reduced-motion:no-preference){[data-task-direction]{animation:.18s ease-out task-enter}@media (width>760px){[data-task-direction=forward]{--task-enter-offset:12px}[data-task-direction=backward]{--task-enter-offset:-12px}}}@keyframes task-enter{0%{opacity:.45;translate:var(--task-enter-offset,none)}}html:has(.review-workspace){overflow-y:scroll}.review-batch-layout{grid-template-columns:260px minmax(0,1fr);align-items:start;gap:24px;display:grid}.review-batch-layout>.detail-header{grid-column:1/-1;margin-bottom:0}.review-students{min-width:0;position:sticky;top:16px;overflow:hidden}.review-students-heading{border-bottom:1px solid var(--line);gap:6px;padding:18px 16px;display:grid}.review-students-heading>span,.review-students-heading small{color:var(--muted);overflow-wrap:anywhere;font-size:12px}.review-students-heading progress{width:100%;height:5px;accent-color:var(--accent-strong)}.review-students-panel{padding:12px 10px}.review-students-filters{flex-wrap:wrap;gap:2px;margin:10px 0;display:flex}.review-students-filters .portal-tab-button{padding:7px;font-size:12px}.review-students-list,.review-students-list-content{gap:4px;display:grid}.review-students-list{--card-skeleton-height:61px;--card-skeleton-gap:4px;overscroll-behavior:contain;scrollbar-gutter:stable;align-content:start;max-height:calc(100dvh - 300px);overflow-y:auto}.review-students-list .card-skeleton{padding:10px 12px}.review-student{overflow-wrap:anywhere;border:1px solid #0000;border-radius:5px;gap:3px;padding:10px 12px;font-size:13px;line-height:1.5;text-decoration:none;display:grid}.review-student small{color:var(--muted);font-size:11px}.review-student[href]:hover{background:var(--accent-soft)}.review-student[aria-current=page]{background:var(--accent-fill);border-color:var(--accent-border);font-weight:600}.review-student-unavailable,.review-student[aria-disabled=true]{color:var(--muted)}.review-students .review-students-toggle{display:none}.review-batch-editor{min-width:0;container-type:inline-size}@container (width<=760px){.review-final,.review-navigation{grid-template-rows:auto;grid-template-columns:minmax(0,1fr)}.review-publish{grid-area:auto/1}}@media (width<=900px){.review-batch-layout{grid-template-columns:minmax(0,1fr);gap:16px}.review-students{position:static}.review-students .review-students-toggle{margin-top:6px;display:inline-flex}.review-students-panel{display:none}.review-students-panel.is-expanded{display:block}.review-students-list{max-height:280px}}.review-student-name{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.review-student-position{background:var(--paper);color:var(--accent-ink);border-radius:4px;flex-shrink:0;padding:1px 6px;font-size:11px;font-weight:600}.review-paper{padding:8px 18px 18px;font-size:14px;line-height:1.6}.review-navigation{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) minmax(0,auto);align-items:center;gap:8px 16px;margin-bottom:12px;padding-bottom:10px;display:grid}.review-navigation:has(+.review-controls){margin-bottom:0}.review-steps{flex-wrap:wrap;gap:4px;min-width:0;display:flex}.portal .review-homework-title{min-width:0;max-width:400px;color:var(--muted);text-align:right;white-space:nowrap;text-overflow:ellipsis;margin:0;overflow:hidden}.portal .review-task-title h2{margin:0 0 8px;font-size:18px}.review-task-title h2>span{font-size:14px}.review-task-title>span{color:var(--muted);font-size:14px}.review-answers{gap:16px;display:grid}.review-answers>section{min-width:0}.portal .review-answers h3{margin:0 0 8px;font-size:14px;font-weight:600}.review-original{background:var(--neutral-fill);overflow-wrap:anywhere;border-radius:6px;padding:12px 14px}.portal .review-answers .editor-content{min-height:180px;padding:12px 14px}.portal .review-paper .safe-rich-text,.portal .review-paper .editor-content,.review-paper .portal-plain,.review-final .portal-textarea{font-size:14px;line-height:1.6}.portal .review-paper .editor-content p,.portal .review-paper .safe-rich-text p{margin-bottom:6px}.review-final{grid-template-columns:minmax(0,1fr);align-items:start;gap:10px;display:grid}.portal .review-final>p,.portal .review-photo p{margin:0}.portal .review-final h2{margin:0;font-size:18px}.portal .review-final h3{margin:0 0 8px;font-size:14px;font-weight:600}.review-final textarea{height:clamp(120px,20dvh,200px);margin:0;display:block}.review-photo{border-top:1px solid var(--line);flex-wrap:wrap;align-items:flex-start;gap:12px 20px;margin:4px 0 0;padding-top:16px;display:flex}.review-photo figure{align-items:center;gap:12px;margin:0;display:flex}.review-photo .file-upload-button{justify-items:start;gap:8px;display:grid}.review-photo img{object-fit:contain;border-radius:6px;width:96px;height:80px;display:block}.review-publish{border-top:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px 28px;margin-top:10px;padding-top:20px;display:grid}.portal .review-publish h3{color:var(--muted);margin-bottom:12px;font-weight:500}.portal .review-total{margin:0;font-size:20px;font-weight:600;line-height:1.4}.portal .review-publish-summary>.portal-muted{margin:16px 0 0;font-size:13px;line-height:1.7}.review-publish ul{color:var(--muted);margin:12px 0 0;padding-left:20px;line-height:1.6}.review-publish .portal-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;margin:0;display:flex}@media (width<=900px){.review-publish{grid-template-columns:minmax(0,1fr)}.review-publish .portal-actions{justify-content:flex-start}}@media (width<=600px){.review-publish .portal-actions{display:grid}.review-paper{padding:8px 14px 14px}.review-navigation{grid-template-columns:minmax(0,1fr)}.portal .review-homework-title{max-width:none}.review-original{padding:12px}}.review-task-title{justify-content:space-between;align-items:baseline;gap:16px;display:flex}.review-condition{border:1px solid var(--line);border-radius:6px;margin-bottom:16px;padding:10px 14px}.review-score{flex-wrap:wrap;align-items:center;gap:8px 16px;margin:0;padding:0;display:flex}.review-score>div{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.review-score .portal-tab-button{border-color:var(--accent-border);justify-content:center;align-items:center;display:inline-flex}.review-score .review-score-input{width:7rem}.review-score .portal-text{margin:0;padding:10px}@media (width<=760px){.review-task-title{flex-direction:column;gap:8px}}.review-publish>button{margin:8px 8px 0 0}.hw-detail:has(.review-workspace)>.portal-text{display:none}.hw-detail:has(.review-workspace)>.hw-heading{display:none}.hw-detail:has(.review-workspace)>.portal-paper:not(:has(.review-workspace)){display:none}.hw-detail>.portal-paper:has(.review-workspace)>.hw-heading{display:none}.hw-detail>.portal-paper:has(.review-workspace)>.portal-muted{display:none}.hw-detail .hw-assignment:has(.review-workspace)>.hw-heading{display:none}.hw-detail:has(.review-workspace) .hw-assignment:not(:has(.review-workspace)){display:none}.hw-detail>.portal-paper:has(.review-workspace){background:0 0;border:0;padding:0}.hw-detail .hw-assignment:has(.review-workspace){border:0;padding:0}.review-controls{z-index:3;background:var(--paper);border-bottom:1px solid var(--line);gap:10px;margin-bottom:12px;padding:6px 0;display:grid;position:sticky;top:0}.review-controls .portal-fieldset{margin:0}.review-controls .portal-tab-button,.review-controls .portal-button{min-height:32px;padding:4px 10px;font-size:14px}.portal .review-paper .editor-toolbar .dropdown .dropdown-trigger{font-size:14px}.review-homework-meta{justify-items:end;gap:4px;min-width:0;display:grid}.review-save-status{color:var(--muted);font-size:12px;line-height:1.5}.review-skeleton .card-skeleton-line{max-width:100%}.review-skeleton .review-skeleton-small{font-size:12px}.review-skeleton .review-skeleton-progress{height:5px;margin-top:10px}.review-skeleton .review-students-toggle{height:44px}.review-skeleton .review-students-filters>span,.review-skeleton .review-steps>span{height:42px}.review-skeleton .review-skeleton-search{height:var(--control-height);display:block}.review-skeleton .review-score>div>span{height:32px}.review-skeleton .review-score .review-skeleton-clear-score{height:.65em;margin-inline:8px}.review-skeleton .review-original{border:1px solid var(--line);background:var(--paper);min-height:68px}.review-skeleton .review-skeleton-text{align-content:start;gap:10px;display:grid}.review-skeleton .editor-content{resize:none}.review-skeleton .editor-toolbar>span{height:30px}.hw-heading{justify-content:space-between;align-items:center;gap:1.25rem;margin-bottom:1.25rem;display:flex}.hw-heading h1,.hw-heading h2,.hw-heading h3{margin-top:0}.hw-heading p,.hw-heading>.portal-title{margin-bottom:0}.hw-heading>button{flex-shrink:0}.hw-status{background:var(--accent-soft);color:#3f5847;white-space:nowrap;border-radius:999px;padding:.35rem .7rem;font-size:.78rem;display:inline-block}.hw-preview{gap:.5rem;margin:1rem 0;display:grid}.hw-preview details{border:1px solid #e5e7df;border-radius:10px;padding:1rem}.hw-preview summary{cursor:pointer;font-weight:600;line-height:1.6}.hw-preview summary span{float:right;color:#777f76;margin-left:1rem;font-size:.9rem;font-weight:400}.hw-preview .portal-plain{overflow-wrap:anywhere;line-height:1.8}.hw-assign-form{background:#f5f6ef;border-radius:12px;gap:.75rem;margin:1rem 0;padding:1.25rem;display:grid}.hw-assign-form h3{margin:0}.hw-assign-form>button{justify-self:start}.hw-assign-form .portal-actions{align-items:center}.hw-assign-form .portal-actions .portal-text{margin:0}.hw-form-columns{grid-template-columns:1fr 1fr;gap:1rem;display:grid}@media (width<=700px){.hw-heading{flex-direction:column;align-items:flex-start;gap:.8rem}.hw-form-columns{grid-template-columns:1fr}.hw-preview summary span{float:none;margin-left:0;display:block}.hw-status{white-space:normal}}.hw-filters{flex-wrap:wrap;gap:.5rem;margin-bottom:1.5rem;display:flex}.hw-empty{color:#72766e;padding:2rem;line-height:1.7}.teacher-portal:has(.hw-browser:not([data-skeleton-exit] *),.hw-library-page){flex-direction:column;height:100dvh;display:flex}.teacher-portal:has(.hw-browser:not([data-skeleton-exit] *),.hw-library-page)>.service-header{flex-shrink:0}.teacher-portal:has(.hw-browser:not([data-skeleton-exit] *),.hw-library-page)>.portal-main{width:100%}.hw-library-page,.hw-tab-content,.hw-skeleton-frame,.hw-section-nav,.hw-group-list,.hw-group{flex-direction:column;flex:1;min-height:0;display:flex}.teacher-portal:has(.hw-browser:not([data-skeleton-exit] *),.hw-library-page)>.portal-main{flex-direction:column;flex:1;min-height:0;display:flex}.hw-dashboard:has(.hw-browser:not([data-skeleton-exit] *)){flex-direction:column;flex:1;min-height:0;display:flex}.hw-dashboard>:not(.hw-tab-content),.hw-tab-content>:not(.hw-browser,.hw-library,.hw-skeleton-frame),.hw-skeleton-frame>:not(.hw-browser,.hw-library),.hw-section-nav>:not(.hw-section-choices),.hw-group>:not(.hw-group-body){flex-shrink:0}.hw-section-choices,.hw-group-body{overscroll-behavior:contain;scrollbar-gutter:auto;min-height:0;overflow-y:auto}.hw-page-actions{border-bottom:1px solid var(--line);flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:12px;min-height:46px;margin-bottom:14px;padding-bottom:14px;display:flex}.hw-page-actions>.portal-create{margin-left:auto}.hw-dashboard .hw-filters{gap:14px;margin-bottom:0}.portal .hw-dashboard .hw-empty{background:var(--paper);border:1px solid #d8d4c8;border-radius:6px}.hw-tab-count{background:var(--accent-fill);color:var(--accent-ink);border-radius:6px;margin-left:10px;padding:2px 10px;font-size:15px;display:inline-block}.hw-filters .hw-tab-count{background:var(--accent-fill);color:var(--accent-ink)}.hw-tab-count.hw-count-skeleton{vertical-align:middle;background:var(--neutral-fill);width:2em;height:1.65em;padding:0}.hw-skeleton-layout .card-skeleton-line{max-width:100%}.hw-skeleton-layout .hw-control-skeleton{height:var(--control-height);border-radius:var(--control-radius);display:block}.hw-skeleton-layout .hw-skeleton-label{align-items:center;height:1lh;font-size:14px;display:flex}.hw-skeleton-text{align-content:center;justify-items:start;gap:8px;min-height:46px;display:grid}.hw-work-name.hw-skeleton-text{min-height:54px}.hw-skeleton-text>:first-child,.hw-skeleton-layout .hw-browser-heading>:first-child,.hw-skeleton-layout .hw-group-heading>:first-child{height:.9em}.hw-skeleton-layout .hw-section-choice>:last-child{grid-column:1/-1;height:23px}.hw-skeleton-layout .hw-work-meta>.card-skeleton-line{border-radius:999px;height:24px}.hw-skeleton-layout .hw-row-action{min-height:38px}.hw-skeleton-layout .hw-library-row>.card-skeleton-line{height:29px}.hw-skeleton-layout .hw-library-open{min-height:39px}.hw-skeleton-layout .hw-library-open>.card-skeleton-line{font-size:inherit}.hw-library-footer.hw-skeleton-layout .portal-pagination>span{min-width:0;height:32px}.hw-toolbar{grid-template-columns:minmax(180px,1fr) minmax(220px,1fr);align-items:center;gap:20px;margin-bottom:24px;display:grid}.hw-filter-field{gap:7px;min-width:0;display:grid}.hw-filter-field>span{color:var(--accent-ink);font-size:14px}.hw-group-status{gap:7px;margin:14px 0 24px;display:grid}.hw-empty-controls{margin-bottom:20px}.hw-empty-controls>.hw-status-filter{max-width:250px}.hw-browser-heading{align-items:center;min-height:42px;display:flex}.portal .hw-heading-select .dropdown-trigger{width:auto;min-height:42px;color:var(--text);background:0 0;border-color:#0000;padding:0 4px;font-size:22px;line-height:1.3}.portal .hw-heading-select .dropdown-trigger:hover,.portal .hw-heading-select .dropdown-trigger[aria-expanded=true]{background:var(--accent-soft)}.hw-heading-select .dropdown-options{width:190px;left:0;right:auto}.portal .hw-status-filter{min-width:0;display:flex}.hw-status-filter>span{display:none}.hw-status-select{flex:1;min-width:0;position:relative}.hw-browser{flex:1;grid-template-rows:minmax(0,1fr);grid-template-columns:290px minmax(0,1fr);align-items:stretch;gap:28px;min-height:0;display:grid}.hw-section-nav{border-right:1px solid var(--line);padding-right:18px}.portal .hw-section-choice{border:1px solid var(--line);background:var(--paper);text-align:left;color:#22241e;border-radius:6px;grid-template-columns:minmax(0,1fr) 12px;align-content:center;align-items:center;gap:8px;width:100%;min-height:96px;margin-bottom:12px;padding:12px 16px;font-size:15px;line-height:1.3;display:grid;position:relative}.portal .hw-section-choice[aria-pressed=true]{background:var(--accent-soft);border-color:var(--line);box-shadow:inset 3px 0 var(--accent-strong)}.hw-section-name{overflow-wrap:anywhere;font-weight:600;line-height:1.5}.portal .hw-section-choice:hover{background:var(--accent-hover)}.hw-section-choice>.hw-review-badge{white-space:normal;grid-column:1/-1;justify-self:start;padding:2px 8px;font-size:13px}.hw-section-arrow{grid-area:1/2/3;font-size:28px;font-weight:400}.hw-group-list,.hw-group{min-width:0}.hw-group-heading{flex-wrap:wrap;align-items:center;gap:12px;min-height:42px;margin-bottom:14px;display:flex}.portal .hw-group-heading h2{overflow-wrap:anywhere;margin:0;font-size:20px;font-weight:600}.hw-work-count{color:#999889;font-size:15px}.hw-group-body,.hw-group-rows{grid-auto-rows:max-content;align-content:start;gap:12px;display:grid}.hw-issued-row{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"name action""meta action";align-items:start;gap:8px 24px;min-height:128px;padding:18px 20px;transition:border-color .12s,background-color .12s;display:grid;position:relative;overflow:hidden}.hw-work-name{grid-area:name;padding:0}.hw-work-meta{flex-wrap:wrap;grid-area:meta;align-items:center;gap:8px;display:flex}.hw-work-meta>.portal-status-badge{border-radius:999px;padding:3px 8px;font-size:12px}.hw-row-action{grid-area:action;align-self:center;align-items:center;display:flex}.hw-work-name{min-width:0}.portal .hw-work-name h3{color:#22241e;text-align:left;overflow-wrap:anywhere;min-height:0;margin:0;padding:0;font-family:inherit;font-size:16px;font-weight:600}.hw-task-summary,.hw-work-name small{color:#62635b;margin-top:4px;font-size:15px;display:block}.hw-row-action{font-size:15px}.hw-deadline.hw-overdue{color:#663c29;background:#f3d3c0}.portal .hw-issue{color:var(--accent-ink);white-space:nowrap;background:0 0;min-height:36px;padding:6px 0;font-size:15px;font-weight:600}.hw-target{justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;display:flex}@media (width<=1350px){.hw-toolbar{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.hw-browser{grid-template-columns:250px minmax(0,1fr);gap:24px}}@media (width<=900px){.hw-toolbar{grid-template-columns:minmax(0,1fr);gap:16px;margin-bottom:24px}}@media (width<=700px){.hw-dashboard .hw-filters{gap:6px}.hw-browser{grid-template-rows:minmax(120px,.65fr) minmax(0,1fr);grid-template-columns:minmax(0,1fr);min-height:0}.hw-section-nav{border-right:0;border-bottom:1px solid var(--line);padding-right:0}.hw-issued-row{grid-template-columns:minmax(0,1fr);grid-template-areas:"name""meta""action";gap:12px;padding:16px}.hw-row-action{flex-flow:wrap;justify-content:flex-start;align-items:center}.hw-review-badge{font-size:14px}}.hw-library-page{overflow:hidden}.hw-library-toolbar{grid-template-columns:minmax(180px,1.3fr) repeat(3,minmax(0,1fr)) minmax(220px,1.1fr);margin:8px 0 20px}.hw-library-toolbar .dropdown-trigger>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.hw-library-sort{border-left:1px solid var(--line);margin-left:8px;padding-left:20px}.hw-library-toolbar .dropdown>label{color:var(--accent-ink)}.hw-library,.hw-library-rows{grid-auto-rows:max-content;align-content:start;gap:10px;display:grid}.hw-library{overscroll-behavior:contain;scrollbar-gutter:stable;flex:1;min-height:0;overflow-y:auto}.portal .hw-library-row{text-align:left;color:var(--text);grid-template-columns:minmax(0,1fr) 110px 140px 190px;align-items:center;gap:16px;padding:18px 20px;font-size:15px;display:grid}.portal .hw-library-row:hover:not(:disabled){background:var(--accent-soft);border-color:var(--accent-border)}.hw-library-name{min-width:0}.hw-library-title{overflow-wrap:anywhere;font-weight:600;display:block}.hw-library-row>.portal-status-badge{justify-self:start}.hw-library-groups{color:var(--muted);font-size:14px}.hw-library-open{border-left:1px solid var(--line);color:var(--accent-ink);justify-content:space-between;align-items:center;gap:12px;padding-left:20px;font-size:14px;display:flex}.hw-library-open>span{font-size:26px;line-height:1}.hw-library-footer{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;margin-top:14px;padding-top:14px;display:flex}@media (width<=1000px){.hw-library-toolbar{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.hw-library-toolbar .hw-search-filter{grid-column:1/-1}.portal .hw-library-row{grid-template-columns:minmax(0,1fr) 110px 190px}.hw-library-groups{grid-column:1}.hw-library-open{grid-area:1/3/3}}@media (width<=600px){.hw-library-toolbar{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 14px}.hw-library-toolbar .dropdown-options{max-height:22dvh}.hw-library-toolbar .hw-search-filter{grid-column:1/-1}.portal .hw-library-row{grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:14px}.hw-library-name{grid-column:1/-1}.hw-library-groups{grid-area:2/2}.hw-library-open{border-left:0;border-top:1px solid var(--line);grid-area:3/1/auto/-1;padding:10px 0 0}.hw-skeleton-layout .hw-library-open{min-height:37px}}.portal .hw-card-open{color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0}.hw-card-open:after{content:"";border-radius:inherit;position:absolute;inset:0}.hw-card-open:focus-visible{outline:none}.hw-card-open:focus-visible:after{outline:2px solid var(--accent-strong);outline-offset:-2px}.hw-issued-row:has(.hw-card-open:hover){background:var(--accent-soft);border-color:var(--accent-strong)}.hw-card-open:disabled{cursor:wait}.portal .hw-content-link{z-index:1;color:var(--accent-ink);text-underline-offset:4px;background:0 0;border:0;padding:8px 0;font-size:14px;text-decoration:underline;position:relative}.hw-content-link:hover{color:var(--text)}@media (prefers-reduced-motion:reduce){.hw-issued-row{transition:none}}.hw-detail{gap:1.25rem;display:grid}.hw-create-detail{width:100%;max-width:1120px;margin-inline:auto}.hw-detail>.portal-back,.hw-detail>.hw-heading{margin-bottom:0}.hw-assignment{border-top:1px solid #e5e7df;padding:1.25rem 0}.hw-assignment:last-child{padding-bottom:0}.hw-assignment .hw-heading{margin-bottom:0}.hw-assignment .hw-assign-form form{align-items:end;gap:1rem;display:flex}.hw-assignment .hw-assign-form form label{flex:1}.hw-assignment .hw-assign-form form button{margin-bottom:1rem}.hw-detail .portal-fieldset{min-width:0}@media (width<=700px){.hw-assignment .hw-assign-form form{display:block}}.hw-saved-detail{gap:18px}.hw-saved-detail>.detail-header{border-bottom:1px solid var(--line);padding-bottom:16px}.hw-saved-detail .detail-header-context{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.hw-detail-actions{flex-wrap:wrap;grid-area:1/2;justify-content:flex-end;align-self:center;gap:10px;display:flex}.hw-detail-columns{grid-template-columns:minmax(0,1fr) 360px;align-items:start;gap:20px 32px;display:grid}.hw-detail-columns>section{min-width:0}.hw-detail-skeleton-heading{align-self:center;height:.85rem}.hw-detail-skeleton .hw-detail-skeleton-control{height:42px;display:block}.hw-detail-skeleton .hw-assign-form .hw-detail-skeleton-control{margin-top:6px}.hw-detail-columns h2{margin:0 0 20px;font-size:clamp(18px,2vw,22px);line-height:1.3}.portal .hw-detail-columns>h2{align-self:center;margin:0}.hw-content-panel{grid-area:2/1}.hw-assignments-panel{grid-area:2/2}.hw-section-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;display:flex}.hw-section-heading h2{margin:0}.hw-count{background:var(--accent-hover);border-radius:7px;flex-shrink:0;padding:6px 10px;font-size:14px}.hw-preparation{margin:32px 0 0}.hw-assignments-panel>.hw-assign-form{border:1px solid var(--line);background:var(--paper);border-radius:8px;gap:20px;margin:0;padding:24px}.hw-assignments-panel>.hw-assign-form .hw-form-columns{gap:16px}.hw-assignments-panel>.hw-assign-form label{margin:0}.hw-assignments-panel>.hw-assign-form>button{width:100%}.portal .hw-assignment-hint,.portal .hw-locked-note{margin:0;font-size:14px;line-height:1.6}.portal .hw-assignment-warning{color:#695229;background:#f7eed7;border-radius:5px;margin:8px 0 0;padding:8px 10px;font-size:13px}.portal .hw-locked-note{grid-area:1/2;align-self:center}.hw-content-panel .hw-preview{gap:10px;margin:0}.hw-task-card,.hw-assignments-panel .hw-assignment{border:1px solid #cecdc6;border-radius:8px;padding:20px}.hw-task-card-heading{justify-content:space-between;align-items:start;gap:12px;display:flex}.portal .hw-task-card-heading h3,.hw-task-card-heading>span{margin:0;padding:0}.portal .hw-task-card-heading h3{color:#4d5d33;font-family:inherit;font-size:15px;line-height:1.4}.hw-task-card-heading>span{flex-shrink:0;font-size:14px;line-height:1.5}.hw-content-panel .hw-task-card p.portal-plain{margin:10px 0 0;font-size:16px;line-height:1.45}.hw-content-panel .hw-test-task-card{padding:16px;font-size:14px}.hw-content-panel .hw-test-task-card .hw-task-card-heading h3,.hw-content-panel .hw-test-task-card .hw-task-card-heading>span{font-size:13px}.hw-content-panel .hw-test-task-card .portal-plain{font-size:14px;line-height:1.45}.hw-content-panel .hw-test-task-card>p.portal-plain{margin-top:8px}.hw-content-panel .hw-test-task-card .test-task-editor{gap:8px;margin-top:12px}.hw-content-panel .hw-test-task-card .test-task-editor>p{margin:0}.hw-content-panel .hw-test-task-card .portal-muted{font-size:13px;line-height:1.45}.hw-content-panel .hw-test-task-card details{padding:12px}.hw-content-panel .hw-test-task-card details p,.hw-content-panel .hw-test-task-card dl{margin:8px 0 0}.hw-content-panel .hw-test-task-card dl>div{gap:8px;margin-top:8px}.hw-task-card .portal-condition-images figure{margin:10px 0}.hw-task-card .portal-condition-images figcaption{margin:6px 0 0;font-size:13px}.hw-task-card .portal-condition-images img{border-radius:6px;width:auto;max-height:320px}.hw-task-card .portal-condition-images figure:last-child{margin-bottom:0}.hw-assignments-panel .hw-assignment{background:var(--paper);border-color:var(--line);margin-bottom:14px;padding:16px}.hw-assignment-heading{background:var(--accent-hover);border-radius:8px;align-items:center;gap:8px;padding:0 10px;display:flex}.portal .hw-assignment-heading h3{overflow-wrap:anywhere;flex:1;margin:0;padding:10px 0;font-family:inherit;font-size:15px;font-weight:600;line-height:1.4}.portal .hw-assignment-meta{flex-wrap:wrap;align-items:center;gap:10px;margin:16px 0;font-size:14px;line-height:1.5;display:flex}.hw-saved-detail svg{flex-shrink:0}.hw-assignment-meta svg{color:#586143;width:20px;height:20px}.hw-assignment-deadline{flex:1}.hw-assignment-deadline small,.hw-assignment-deadline strong{display:block}.hw-assignment-deadline small{color:var(--muted);margin-bottom:4px;font-size:12px}.hw-assignment-deadline strong{font-variant-numeric:tabular-nums;font-weight:500}.portal .hw-deadline-edit{color:#4d5d33;background:0 0;min-height:32px;padding:4px 0;font-size:12px;text-decoration:underline}.portal .hw-assignment-more{background:0 0;margin-left:auto;padding:6px}.hw-assign-button{width:100%;margin-bottom:14px}.hw-assignments-panel .hw-form-columns{grid-template-columns:1fr}.hw-assignments-panel .hw-assign-form form{display:grid}.hw-assignments-panel .hw-assign-form input{min-width:0}@media (width<=1050px){.hw-content-panel,.hw-assignments-panel,.hw-detail-actions,.portal .hw-locked-note{grid-area:auto}.hw-detail-columns{grid-template-columns:minmax(0,1fr);gap:28px}}@media (width<=600px){.hw-task-card,.hw-content-panel .hw-test-task-card{padding:12px}.hw-task-card-heading,.hw-section-heading{flex-wrap:wrap}}.deadline-fields{border:0;min-width:0;margin:0;padding:0}.deadline-fields legend{margin-bottom:12px;padding:0;font-size:14px}.deadline-fields-row{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:12px;display:grid}.portal .deadline-fields-row label{min-width:0;color:var(--muted);margin:0;font-size:13px}.portal .deadline-fields-row input{box-sizing:border-box;width:100%;min-width:0;color:var(--text)}.deadline-fields-row input::-webkit-date-and-time-value{text-align:left}.deadline-fields-row input[type=date]{font-variant-numeric:tabular-nums}.deadline-fields-row input[type=date]::-webkit-datetime-edit-day-field{padding:0}.deadline-fields-row input[type=date]::-webkit-datetime-edit-month-field{padding:0}.deadline-fields-row input[type=date]::-webkit-datetime-edit-year-field{padding:0}.deadline-fields-row input[type=date]::-webkit-datetime-edit-text{padding:0}@media (width<=380px){.deadline-fields-row{grid-template-columns:minmax(0,1fr)}}.hw-materials{gap:.6rem;margin:1rem 0;padding:0;list-style:none;display:grid}.hw-materials li{border:1px solid var(--line);border-radius:8px;justify-content:space-between;align-items:center;gap:1rem;padding:.6rem 1rem;display:flex}.hw-materials a{overflow-wrap:anywhere;align-items:center;gap:.85rem;min-width:0;text-decoration:none;display:flex}.hw-materials a>span:first-child{font-size:1.5rem}.hw-materials small{color:#777f76;margin-top:.2rem;font-size:.75rem;display:block}.hw-materials .portal-text{flex-shrink:0;margin:0}.hw-materials a:hover{text-decoration:underline}.hw-materials-row{margin:0}.hw-materials-row li{min-height:62px;padding:10px 18px}.hw-materials-row a{flex:1;gap:18px}.hw-materials-row a>span:first-child{color:#976373;display:flex}.hw-materials-row a>span:first-child svg{width:30px;height:36px}.hw-materials-row a>span:nth-child(2){font-family:var(--font-family);flex:1;font-weight:500}.hw-material-action{white-space:nowrap;align-items:center;gap:8px;font-size:14px;font-weight:500;text-decoration:underline;display:inline-flex}@media (width<=500px){.hw-materials li{align-items:flex-start}}@media (width<=600px){.hw-materials-row a{flex-wrap:wrap;gap:10px}.hw-material-action{flex-basis:100%}}.creation-field-error{color:#853628;font-size:14px}.hw-creation [aria-invalid=true]{border-color:#853628}.portal .hw-creation{width:100%;min-width:0;max-width:1120px;padding:20px}.creation-header{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:12px;margin:0 0 20px;padding:0 0 16px;display:flex}.creation-steps{flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none;display:flex}.portal .creation-save-status{color:var(--muted);margin:0 0 0 auto;font-size:14px}.creation-steps>li{flex:none}.portal .creation-steps .creation-step-button{white-space:nowrap;overflow-wrap:normal;width:max-content;color:var(--muted);background:0 0;border:1px solid #0000;border-radius:5px;align-items:center;gap:8px;padding:7px 12px;font-size:14px;display:flex}.portal .creation-steps .creation-step-button[aria-current=step]{color:var(--accent-ink);background:0 0;font-weight:600}.creation-step-number{background:var(--accent-soft);border-radius:50%;flex:none;place-items:center;width:26px;height:26px;display:grid}.creation-steps [aria-current=step] .creation-step-number,.creation-step-number.is-complete{background:var(--accent-strong);color:#fff}.portal .hw-creation h2{margin:0 0 12px;font-size:20px;font-weight:600}.portal .hw-creation h3{margin:0;font-size:16px;font-weight:600}.hw-creation label{font-weight:500}.test-editor-option-heading{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px 12px;display:flex}.test-editor-correct-option{color:var(--accent-ink);align-items:center;gap:6px;display:inline-flex}.test-editor-correct-option input{accent-color:var(--accent-strong);margin:0}.creation-name{max-width:none}.portal .creation-info{color:var(--accent-ink);margin:16px 0 0;font-size:14px;line-height:1.6}.creation-heading{flex-wrap:wrap;align-items:center;gap:16px;margin-bottom:16px;display:flex}.portal .creation-heading h2{margin:0}.creation-heading>button:last-child{margin-left:auto}.creation-task-layout{grid-template-columns:190px minmax(0,1fr);gap:24px;margin-top:16px;display:grid}.creation-task-sidebar{align-content:start;gap:12px;min-width:0;display:grid}.creation-task-list{align-content:start;gap:8px;max-height:450px;display:grid;overflow-y:auto}.portal .creation-task-list .creation-task-select{text-align:left;border:1px solid var(--line);background:0 0;min-width:0;padding:10px 12px}.portal .creation-task-list .creation-task-select[aria-current=true]{background:var(--accent-fill);border-color:var(--accent-border);box-shadow:inset 4px 0 var(--accent-strong)}.portal .creation-task-list .creation-task-select:hover:not([aria-current=true]):not(:disabled){background:var(--accent-soft)}.creation-task-list small{text-overflow:ellipsis;white-space:nowrap;color:var(--muted);margin-top:6px;display:block;overflow:hidden}.portal .creation-task-sidebar>button{white-space:normal}.creation-task-editor{border-left:1px solid var(--line);min-width:0;padding-left:24px}.creation-task-type{align-items:end;gap:12px;margin-bottom:14px;display:flex}.creation-task-type>:first-child{flex:0 160px}.creation-score{background:var(--accent-soft);color:var(--accent-ink);border-radius:5px;padding:7px 10px;font-size:13px;display:inline-block}.creation-task-type .creation-score{min-height:var(--control-height);white-space:nowrap;align-items:center;display:inline-flex}.hw-creation textarea{resize:vertical;min-height:112px;font-weight:400}.hw-creation .file-upload-button{flex-wrap:wrap;align-items:center;gap:12px;margin-top:14px;display:flex}.hw-creation .file-upload-button input[hidden]{display:none}.creation-reorder{border-top:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:8px;margin-top:16px;padding-top:16px;font-size:13px;display:flex}.creation-reorder>span{margin-right:auto}.creation-material-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:16px;display:grid}.creation-material-card{border:1px solid var(--line);border-radius:8px;min-width:0;padding:20px}.portal .creation-material-card h3{align-items:center;gap:10px;margin-bottom:22px;display:flex}.creation-material-card h3 svg{width:24px;height:24px;color:var(--accent-ink)}.creation-material-card label+label,.creation-material-card .portal-actions{margin-top:16px}.creation-upload-area{border:1px dashed var(--accent-border);border-radius:5px;padding:20px 14px}.creation-upload-area .file-upload-button{text-align:center;flex-direction:column;margin:0}.hw-creation .hw-materials li{overflow-wrap:anywhere;min-width:0}.creation-summary{border:1px solid var(--line);border-radius:8px;margin-top:12px;padding:16px 20px}.creation-summary .creation-heading{margin-bottom:4px}.creation-summary h3{overflow-wrap:anywhere;min-width:0}.creation-stats{color:var(--muted);flex-wrap:wrap;gap:12px 24px;margin-top:12px;font-size:14px;display:flex}.creation-stats span+span{border-left:1px solid var(--line);padding-left:24px}.creation-preview-score{color:var(--accent-ink);margin-left:auto;font-size:14px}.creation-preview .creation-heading>button:last-child{margin-left:0}.portal .creation-summary p{max-width:none;font-size:14px;line-height:1.7}.creation-actions{border-top:1px solid var(--line);align-items:center;gap:12px;margin-top:20px;padding-top:16px;display:flex}.creation-actions>.portal-primary{margin-left:auto}@media (width<=1100px){.creation-steps{gap:6px}.portal .creation-steps .creation-step-button{gap:6px;padding:8px;font-size:12px}.creation-task-layout{grid-template-columns:190px minmax(0,1fr);gap:16px}.creation-task-editor{padding-left:16px}.creation-material-columns{grid-template-columns:1fr}}@media (width<=650px){.portal .hw-creation{padding:16px}.creation-header{margin-bottom:14px;padding-bottom:16px}.creation-task-layout{grid-template-columns:1fr}.creation-task-list{max-height:220px}.creation-task-editor{border-left:0;border-top:1px solid var(--line);padding:20px 0 0}.creation-material-card,.creation-summary{padding:16px}.creation-actions{flex-wrap:wrap}.creation-actions>.portal-primary{flex:1}.creation-stats{gap:10px}.creation-stats span+span{padding-left:10px}}.portal .hw-creation .portal-text{margin-top:0;margin-bottom:0}.creation-task-item{min-width:0;position:relative}.portal .creation-task-item .creation-task-select{width:100%;padding-right:40px}.portal .creation-task-item .creation-task-remove{position:absolute;top:5px;right:5px}.creation-format{border:0;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;min-width:0;margin:16px 0 0;padding:0;display:grid}.creation-format legend{margin-bottom:8px;padding:0}.creation-format-card{grid-column:span 2}.creation-format-card.is-free{grid-column:span 3;grid-template-columns:76px minmax(0,1fr) auto;grid-template-areas:"preview caption indicator"}.creation-format-card.is-free .choice-card-preview{height:54px}.creation-format-card.is-free .creation-format-sheet,.creation-format-card.is-free .creation-skeleton-sheet{max-width:34px;height:38px}.creation-format-card.is-free .creation-format-sheet{padding:5px}.creation-format-card input,.creation-format-card>.creation-skeleton-dot{accent-color:var(--accent-strong);grid-area:indicator;margin:0 4px}.creation-format-card .choice-card-caption{min-height:2.9rem}.creation-format-card .choice-card-caption small{color:var(--muted);margin-top:2px;font-size:12px}.creation-format-sheet{border:1px solid var(--accent-border);background:var(--paper);border-radius:3px;grid-area:1/1;align-content:center;gap:5px;width:46px;height:54px;padding:8px;display:grid}.creation-format-sheet>span{background:var(--accent-border);border-radius:2px;height:2px}.creation-format-sheet.is-text>span:last-child{width:65%}.creation-format-sheet.is-test>span{margin-left:10px;position:relative}.creation-format-sheet.is-test>span:before{content:"";border:1px solid;border-radius:50%;width:6px;height:6px;position:absolute;top:-2px;left:-10px}.creation-format-sheet.is-test>span:nth-child(2):before{background:currentColor}.creation-format-card .is-mixed .is-test{transform:translate(-12px)rotate(-9deg)}.creation-format-card .is-mixed .is-text{transform:translate(12px)rotate(9deg)}.hw-create-detail:has(.hw-creation-name){max-width:780px}.creation-name .portal-field>.portal-muted{font-size:13px;font-weight:400}.creation-title-feedback{display:grid}.creation-title-feedback>span{grid-area:1/1}.creation-title-feedback>[aria-hidden=true]{visibility:hidden}.hw-creation-skeleton .creation-step-button>.creation-skeleton-dot{height:26px}.creation-skeleton-dot{border-radius:50%;flex-shrink:0}.creation-format-card .choice-card-caption>.card-skeleton-line+.card-skeleton-line{margin-top:4px}.creation-format-card>.creation-skeleton-dot{height:14px}.creation-format-card .choice-card-preview>.creation-skeleton-sheet{max-width:46px;height:54px}.creation-skeleton-input{height:var(--control-height)}.creation-skeleton-action{height:48px;margin-left:auto}@media (width<=650px){.creation-skeleton-action{flex:1}}@media (width<=540px){.creation-format{grid-template-columns:minmax(0,1fr)}.creation-format-card,.creation-format-card.is-free{grid-column:auto}.creation-format-sheet{width:34px;height:38px;padding:5px}.creation-format-card .choice-card-preview>.creation-skeleton-sheet{max-width:34px;height:38px}}.notifications{z-index:100;pointer-events:none;width:min(360px,100vw - 32px);position:fixed;top:50%;left:50%;transform:translate(-50%,-50%)}.notification{border:1px solid var(--line);background:var(--accent-soft);color:var(--text);text-align:center;pointer-events:auto;border-radius:8px;justify-items:center;gap:14px;padding:20px;display:grid;box-shadow:0 4px 16px #34382a12}.notification-message{overflow-wrap:anywhere;min-width:0;font-size:14px;line-height:1.5}.notification-confirm{min-width:64px}.account-toolbar{justify-content:flex-end;min-height:48px;margin-bottom:16px;display:flex}.account-menu{z-index:20;color:var(--text);position:relative}.account-menu summary{cursor:pointer;align-items:center;gap:12px;min-height:48px;list-style:none;display:flex}.account-menu summary::-webkit-details-marker{display:none}.account-menu summary:focus-visible{border-radius:24px}.account-avatar{background:var(--neutral-fill);width:48px;height:48px;color:var(--accent-ink);border-radius:50%;flex-shrink:0;place-items:center;font-size:15px;font-weight:700;display:grid;overflow:hidden}.account-avatar img{object-fit:cover;width:100%;height:100%}.account-name{text-overflow:ellipsis;white-space:nowrap;max-width:130px;overflow:hidden}.account-chevron{border-bottom:1.5px solid;border-right:1.5px solid;width:9px;height:9px;margin:-4px 8px 0 2px;transform:rotate(45deg)}.account-dropdown{background:var(--paper);border:1px solid #d6d2c7;border-radius:12px;width:256px;max-width:calc(100vw - 28px);padding:12px 14px 6px;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 10px 28px #31372321}.account-identity{overflow-wrap:anywhere;border-bottom:1px solid #e1dfd5;margin-bottom:4px;padding-bottom:8px}.account-identity strong,.account-identity small{display:block}.account-identity strong{font-size:14px}.account-identity small{color:var(--muted);margin-top:2px;font-size:12px}.portal .account-dropdown a,.portal .account-dropdown button{width:100%;color:var(--text);text-align:left;background:0 0;border:0;border-radius:6px;align-items:center;gap:10px;padding:8px 4px;font-size:14px;text-decoration:none;display:flex}.portal .account-dropdown a:hover,.portal .account-dropdown button:hover:not(:disabled){background:var(--accent-soft)}.account-dropdown svg{width:20px;height:20px;color:var(--accent-ink);flex-shrink:0}.portal .portal-main .portal-page-heading{text-align:left;flex-direction:column;align-items:flex-start;gap:4px;margin:0 0 12px;padding:0;display:flex}.portal .portal-main .portal-page-heading p{margin:0;font-size:15px}.service-header{border-bottom:1px solid var(--line);background:var(--paper);justify-content:space-between;align-items:center;gap:24px;padding:10px 28px;display:flex}.service-brand{letter-spacing:-.5px;flex-shrink:0;align-items:center;gap:12px;font-size:15px;line-height:1.2;text-decoration:none;display:flex}.service-brand>svg{flex-shrink:0;width:42px;height:42px}.service-nav{align-items:stretch;gap:8px;display:flex}.portal .service-nav button{min-height:38px;color:var(--text);background:0 0;border:1px solid #0000;border-radius:5px;justify-content:center;align-items:center;gap:8px;padding:8px 10px;font-size:14px;line-height:1.4;display:flex}.service-nav svg{flex-shrink:0;width:20px;height:20px}.portal .service-nav button[aria-current=page]{box-shadow:inset 0 -3px var(--accent-strong);color:var(--accent-ink);background:0 0;font-weight:600}.portal .service-nav button:hover:not(:disabled){background:var(--accent-soft)}.service-header .account-toolbar{flex-shrink:0;margin:0}@media (width<=1200px){.service-header{grid-template-columns:minmax(0,1fr) auto;gap:10px 20px;display:grid}.service-header .account-toolbar{grid-area:1/2}.service-nav{grid-column:1/-1;justify-content:center}}@media (width<=600px){.service-header{padding:10px 12px 8px}.service-brand{gap:8px;font-size:14px}.service-header .account-name{display:none}.service-nav{gap:4px}.portal .service-nav button{text-align:center;flex-direction:column;flex:1;gap:4px;padding:7px 2px;font-size:11px}}.service-nav-label-mobile{display:none}@media (width<=600px){.service-nav-label-full{display:none}.service-nav-label-mobile{white-space:nowrap;display:inline}.portal .service-nav button{overflow-wrap:normal}}.portal{min-height:100vh;font-size:15px}.portal a{color:var(--accent-ink)}.portal-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:24px;max-width:1240px;margin:auto;padding:28px 32px;display:flex}.portal-brand{font:22px var(--font-family);text-decoration:none}.portal-brand span{font:14px var(--font-family);color:var(--muted);margin-top:6px;display:block}.portal-header nav{flex-wrap:wrap;align-items:center;gap:20px;font-size:14px;display:flex}.portal-main{max-width:1176px;margin:40px auto;padding:0 24px 48px}.portal-paper{background:var(--paper);border:1px solid var(--line);border-radius:8px;padding:30px}.portal h1{margin-bottom:18px;font-size:28px}.portal h2{overflow-wrap:anywhere;margin-bottom:16px;font-size:22px}.portal h3{margin:24px 0 12px;font-size:18px}.portal p{max-width:70ch;margin:12px 0}.portal-title{margin-bottom:28px}.portal-title h1{margin-bottom:8px}.portal-muted{color:var(--muted);font-size:14px}.portal-error{color:#853628;background:#fff1ed;border-left:3px solid #aa4c39;margin-bottom:24px;padding:14px 18px}.portal-notice{background:var(--accent-fill);padding:14px 18px}.portal-actions{flex-wrap:wrap;gap:10px;margin-top:10px;display:flex}@media (width<=760px){.portal-header{flex-direction:column;align-items:flex-start;padding:22px}.portal-main{margin:24px auto;padding:0 16px 30px}.portal-paper{padding:22px}.portal h1{font-size:24px}}.portal{--line:#dfdfd2;--paper:#fffef9;line-height:1.6}.portal h1{width:fit-content;max-width:100%;color:var(--text);letter-spacing:-.5px;overflow-wrap:anywhere;padding-bottom:.06em;font-style:italic;font-weight:400;line-height:1.22}.portal h1,.portal .portal-marker{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 44' preserveAspectRatio='none'%3E%3Cpath d='M12 9C76 1 126 6 199 5S326 3 386 9Q401 14 388 22C315 26 243 21 174 24S64 23 15 25Q-3 21 12 9Z' fill='%23e8cbcd' fill-opacity='.72'/%3E%3Cpath d='M17 24C84 18 137 24 205 22S327 20 390 27Q405 34 387 39C319 38 255 35 185 38S68 39 17 41Q2 36 17 24Z' fill='%23e8cbcd' fill-opacity='.68'/%3E%3C/svg%3E");background-position:bottom;background-repeat:no-repeat;background-size:100% .48em}.portal .portal-marker{-webkit-box-decoration-break:clone;box-decoration-break:clone;padding-bottom:.06em}.portal-header{max-width:1320px;padding:22px 32px}.portal-brand{font-size:20px}.portal-brand span{font-size:12px}.portal-account{text-align:right;gap:1px;display:grid}.portal-account strong{font-weight:500}.portal-account small{color:var(--muted)}.portal-main{max-width:1240px;margin-top:28px}.portal-paper{border-radius:10px;padding:clamp(20px,3vw,36px)}.portal-paper>:first-child{margin-top:0}.portal form,.portal fieldset,.portal section,.portal article{min-width:0}.portal summary{cursor:pointer;color:var(--accent-ink);font-weight:500}@media (width<=760px){.portal-header{flex-direction:row;align-items:center;gap:16px;padding:18px}.portal-brand{max-width:205px;font-size:16px}.portal-brand span{font-size:11px}.portal-header nav{justify-content:flex-end;gap:8px}.portal-account{max-width:140px;font-size:12px}.portal-main{margin-top:20px;padding:0 14px 24px}}@media (prefers-reduced-motion:no-preference){.portal-main>:where(section:not(.hw-dashboard,.content-appear,[data-skeleton-exit]),.teacher-groups):not([role=alert]),.journal-scroll{animation:.18s ease-out portal-content-enter}.portal:has(.session-skeleton[data-skeleton-exit])>header{animation:content-appear var(--skeleton-fade-duration) ease-out}.portal-main:has(>.session-skeleton[data-skeleton-exit])>:not([data-skeleton-exit],.content-appear){animation:content-appear var(--skeleton-fade-duration) ease-out}:where(.info-tooltip-content:popover-open,.notification){animation:.16s ease-out portal-panel-enter}:where(.dropdown-options,.action-menu-dropdown,.account-dropdown){opacity:0;transition:opacity .12s ease, translate .12s ease, display .12s allow-discrete, visibility .12s;translate:0 4px}:where(.dropdown-options:not([hidden]),.action-menu[open]>.action-menu-dropdown,.account-menu[open]>.account-dropdown){opacity:1;visibility:visible;transition-duration:.16s;transition-timing-function:ease-out;translate:none}@starting-style{:where(.dropdown-options:not([hidden]),.action-menu[open]>.action-menu-dropdown,.account-menu[open]>.account-dropdown){opacity:0;translate:0 4px}}:where(details:not([open])>.action-menu-dropdown,details:not([open])>.account-dropdown){pointer-events:none;interactivity:inert;visibility:hidden}:where(.action-menu,.account-menu)::details-content{content-visibility:visible}dialog[open],dialog[open]::backdrop{opacity:1;transition:opacity .16s ease-out}@starting-style{dialog[open],dialog[open]::backdrop{opacity:0}}dialog[open]{transition-property:opacity,translate}@starting-style{dialog[open]{translate:0 4px}}dialog[data-closing],dialog[data-closing]::backdrop{opacity:0;transition-duration:.12s;transition-timing-function:ease-in}dialog[data-closing]{translate:0 4px}}@keyframes portal-content-enter{0%{opacity:.7}}@keyframes portal-panel-enter{0%{opacity:0;translate:0 4px}}@media (prefers-reduced-motion:reduce){.portal *,.portal :before,.portal :after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.portal .portal-paper-card{border:1px solid var(--line);background:var(--paper);border-radius:6px}.portal-auth{max-width:480px;margin:24px auto}.portal-invite{max-width:680px;margin:0 auto 24px}.portal-auth{max-width:460px;margin:60px auto;padding:36px}.portal-auth h1{margin-bottom:8px;font-size:26px}.portal-auth form{margin:26px 0 20px}.portal-auth .portal-form .portal-error{margin-bottom:0}.auth-cat{color:var(--accent-strong);margin-bottom:18px;font-size:34px}@media (width<=760px){.portal-auth{margin:24px auto}}.student-portal:has(.student-group){flex-direction:column;height:100dvh;display:flex}.student-portal:has(.student-group) .service-header{flex-shrink:0}.student-portal .portal-main:has(.student-group){flex-direction:column;flex:1;width:100%;min-height:0;display:flex}.student-group{overflow-wrap:anywhere;flex-direction:column;flex:1;min-height:0;display:flex}.student-group>header,.student-group-summary{flex-shrink:0}.student-group-summary{grid-template-columns:minmax(0,1fr) minmax(0,22.5rem);gap:16px;margin-bottom:16px;display:grid}.student-group-summary>:only-child{grid-column:1/-1}.student-group-identity,.student-group-teacher,.student-group-members,.student-group-empty{padding:16px 20px}.student-group-identity{flex-direction:column;justify-content:center;gap:8px;display:flex}.student-group-identity-heading,.student-group-schedule{align-items:center;gap:6px 10px;display:flex}.student-group-identity-heading{flex-wrap:wrap}.portal .student-group h2{margin:0;font-size:1.125rem;font-weight:600}.student-group-exam{background:var(--neutral-fill);color:var(--accent-ink);border-radius:4px;padding:3px 7px;font-size:.875rem;font-weight:600}.student-group .student-group-schedule,.student-group-members>header span,.student-group-members>p,.student-group-empty{color:var(--muted)}.student-group-schedule svg{flex-shrink:0;width:18px;height:18px}.student-group-schedule time{white-space:nowrap}.student-group-schedule:hover{color:var(--accent-ink)}.student-group-teacher{align-items:center;gap:14px;display:flex}.student-group-teacher .initials-avatar,.student-group-teacher img{object-fit:cover;border-radius:5px;flex:0 0 4.25rem;width:4.25rem;height:4.75rem;font-size:1.25rem}.portal .student-group-teacher h2{color:var(--muted);margin-bottom:4px;font-size:.875rem}.student-group p{margin:0}.student-group-teacher p{font-size:1.125rem;font-weight:600}.student-group-members{flex-direction:column;flex:1;gap:12px;min-height:8rem;display:flex}.student-group-members>header,.student-group-error{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:6px 12px;display:flex}.student-group-roster{scrollbar-gutter:stable;min-height:0;overflow:auto}.student-group-roster:focus-visible{outline:2px solid var(--accent-strong);outline-offset:2px}.student-group-roster ul{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;margin:0;padding:0 8px 0 0;list-style:none;display:grid}.student-group-roster li{border-top:1px solid var(--line);align-items:center;gap:10px;padding:9px 0;display:flex}.student-group-roster .portal-status-badge{margin-left:auto}.student-group-skeleton .student-group-roster{overflow:hidden}.student-group-skeleton .student-group-skeleton-avatar{border-radius:50%;flex-shrink:0;height:34px}@media (width<=700px){.student-group-summary,.student-group-roster ul{grid-template-columns:minmax(0,1fr)}.student-group-summary{gap:8px;margin-bottom:12px}.student-group-identity,.student-group-teacher,.student-group-members,.student-group-empty{padding:12px 14px}.student-group-teacher .initials-avatar,.student-group-teacher img{flex-basis:3rem;width:3rem;height:3.5rem}}.student-group-tabs{border-bottom:1px solid var(--line);flex:none;gap:8px;margin-bottom:12px;display:flex}.student-group-materials{align-content:start;gap:12px;min-height:0;display:grid;overflow:auto}.student-group-materials>a{justify-self:start}.student-group-material-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.portal .student-group-material-link{color:var(--text);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 16px;text-decoration:none;display:grid}.portal .student-group-material-link:is(:hover,:focus-visible){background:var(--accent-soft)}.student-group-material-link:focus-visible{outline-offset:-2px}.student-group-material-link svg{width:18px;height:18px;color:var(--accent-ink)}.student-group-material-link>span{gap:2px;display:grid}.student-group-material-link small{color:var(--muted)}.student-group-material-detail{padding:16px 20px}.student-portal:has(.student-calendar){flex-direction:column;height:100dvh;min-height:max(100dvh,32rem);display:flex}.student-portal:has(.student-calendar)>.service-header{flex-shrink:0}.student-calendar,.student-calendar-panel{flex-direction:column;flex:1;min-height:0;display:flex}.student-portal:has(.student-calendar) .portal-main{flex-direction:column;flex:1;min-height:0;display:flex}.student-portal:has(.student-calendar) .portal-main{width:100%}.student-calendar{gap:14px}.portal .portal-main .student-calendar-heading{flex-flow:wrap;align-items:baseline;gap:4px 14px;margin:0}.student-calendar-heading>span{color:var(--muted);font-size:.875rem}.student-calendar-controls,.student-calendar-view{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.student-calendar-controls{border-bottom:1px solid var(--line);flex-shrink:0;justify-content:space-between;padding:10px 12px}.student-calendar-period>span{color:var(--accent-ink);font-weight:600}.student-calendar-period button svg{width:18px;height:18px}.student-calendar-switcher{border:1px solid var(--line);border-radius:5px;gap:2px;padding:2px;display:flex}.student-calendar-scroll{overscroll-behavior:contain;scrollbar-gutter:stable;flex:1;min-height:0;overflow:auto}.student-calendar-frame{min-height:100%;display:grid}.portal .student-calendar-error{border-bottom:1px solid var(--line);margin:0;padding:8px 12px}.student-calendar-error{flex-wrap:wrap;align-items:center;gap:8px 12px;display:flex}.student-calendar-days,.student-calendar-events{margin:0;padding:0;list-style:none}.student-calendar-days{background:var(--line);grid-template-columns:repeat(7,minmax(0,1fr));grid-auto-rows:minmax(110px,auto);gap:1px;display:grid}.student-calendar-day{background:var(--paper);min-width:0;padding:8px}.student-calendar-day.outside{background:var(--canvas)}.portal .student-calendar-day h2{border-radius:4px;width:fit-content;margin:0 0 8px;padding:2px 6px;font-size:.875rem;font-weight:600}.student-calendar-day h2[aria-current=date]{background:var(--accent-fill);color:var(--accent-dark)}.student-calendar-date-long{display:none}.student-calendar-events{gap:6px;display:grid}.portal .student-calendar-event{border-inline-start:2px solid var(--accent-border);background:var(--accent-soft);color:var(--accent-dark);overflow-wrap:anywhere;border-radius:4px;gap:3px;padding:6px 8px;line-height:1.4;text-decoration:none;display:grid}.portal .student-calendar-event.deadline{color:#544128;background:#f4ecdb;border-inline-start-color:#a28458}.portal .student-calendar-event.deadline:hover{background:#eee2c9;text-decoration:underline}.student-calendar-event span{font-size:.8rem}.student-calendar-event strong{font-size:.875rem;font-weight:600}.student-calendar-event time{white-space:nowrap;font-variant-numeric:tabular-nums}@media (width>710px){.student-calendar-scroll:has(.student-calendar-days[data-view=month]){flex-direction:column;display:flex}.student-calendar-frame:has(.student-calendar-days[data-view=month]){flex:1;grid-template-rows:minmax(0,1fr);min-height:0;overflow:visible}.student-calendar-days[data-view=month]{grid-auto-rows:minmax(56px,1fr)}.student-calendar-days[data-view=month] .student-calendar-day{grid-template-rows:auto minmax(0,1fr);padding-block:4px;display:grid}.portal .student-calendar-days[data-view=month] h2{margin-bottom:4px}.portal .student-calendar-days[data-view=month] .student-calendar-event{gap:2px;padding-block:4px}.student-calendar-days[data-view=month] .month-day-preview strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}}@media (width<=710px){.student-calendar-days{grid-template-columns:minmax(0,1fr);grid-auto-rows:minmax(58px,auto)}.student-calendar-date-short{display:none}.student-calendar-date-long{text-transform:capitalize;display:inline}.student-calendar-day{padding:8px 12px}.student-calendar-event strong{font-size:.9375rem}}.portal .student-assignment-card{min-height:96px;color:var(--text);overflow-wrap:anywhere;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 16px;line-height:1.35;text-decoration:none;display:grid}.portal .student-assignment-card:hover,.portal .student-assignment-card:focus-visible{border-color:var(--accent-border);background:var(--accent-soft)}.portal .student-assignment-card:focus-visible{outline:2px solid var(--accent-strong);outline-offset:2px}.student-assignment-copy{gap:3px;display:grid}.student-assignment-copy>strong{font-size:1.15rem;font-weight:600}.student-assignment-details,.student-assignment-status{color:var(--muted);font-size:.9rem}.student-assignment-status{flex-wrap:wrap;align-items:center;gap:4px 8px;margin-top:2px;display:flex}.student-assignment-status .portal-status-badge{font-size:inherit;padding:2px 8px;line-height:1.4}.student-assignment-arrow{background:var(--neutral-fill);width:34px;height:34px;color:var(--accent-ink);border-radius:50%;place-items:center;display:grid}.student-assignment-arrow svg{width:18px;height:18px}@media (width<=540px){.portal .student-assignment-card{gap:8px;padding:10px 12px}.student-assignment-arrow{width:28px;height:28px}}.portal .student-page-heading h1{letter-spacing:-.035em;background:0 0;margin:0;font-size:1.93rem;font-style:normal;font-weight:600}.portal .portal-main .student-page-heading p{color:var(--muted);overflow-wrap:anywhere;font-size:.93rem}.student-assignment-list{gap:10px;margin:0;padding:0;list-style:none;display:grid}.student-assignment-skeletons{pointer-events:none}.student-list-empty{color:var(--muted);padding:16px}.portal .student-list-empty h2{color:var(--text);margin:0 0 4px;font-size:1.1rem}.portal .student-list-empty p{margin:0}.student-assignment-skeleton-title{height:.9rem;margin-block:3px}.student-assignment-skeleton-badge{border-radius:999px;max-width:100%;height:1.35rem}.student-assignment-skeleton-arrow{aspect-ratio:1;border-radius:50%;height:auto}.student-overview-date:first-letter{text-transform:uppercase}.student-overview-stats{border-block:1px solid var(--line);overflow-wrap:anywhere;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px 20px;margin:0 0 16px;padding:10px 0;display:grid}.student-overview-stats>div{flex-direction:column-reverse;justify-content:flex-end;align-items:flex-start;display:flex}.student-overview-stats dt{color:var(--muted);font-size:.9rem}.student-overview-stats dd{color:var(--accent-ink);font-variant-numeric:tabular-nums;margin:0;font-size:1.7rem;font-weight:600;line-height:1.25}.student-overview-stats .student-overview-overdue{color:#914b30}.student-overview-stat-skeleton{vertical-align:middle;width:2rem}.student-overview-layout{grid-template-columns:minmax(0,1fr) minmax(0,360px);align-items:start;gap:24px;display:grid}.student-overview-list-heading{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px 12px;margin-bottom:10px;display:flex}.portal .student-overview-list-heading h2{margin:0;font-size:1.3rem;font-weight:600}.student-overview-list-heading h2 span{color:var(--muted);font-size:.85em;font-weight:500}.student-overview-list-heading a{text-underline-offset:3px;font-size:.93rem}.student-overview-pagination{margin-top:8px}.student-overview-side{overflow-wrap:anywhere;gap:12px;min-width:0;display:grid}.portal .student-overview-side-row{color:var(--text);gap:4px;padding:12px 16px;font-size:1rem;display:grid}.portal .student-overview-side-heading{flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 2px;font-size:1rem;font-weight:600;display:flex}.student-overview-side-heading svg{width:19px;height:19px;color:var(--accent-ink);flex-shrink:0}.student-overview-side-heading .portal-status-badge{padding:1px 7px;font-size:.85em}.student-overview-note{color:var(--muted);font-size:.9rem}.student-overview-lesson{border-top:1px solid var(--line);text-decoration:none}.student-overview-lesson:hover{background:var(--accent-soft)}.student-overview-lesson strong{font-size:1.12rem;font-weight:600}.student-overview-result{text-decoration:none}.portal .student-overview-result:hover,.portal .student-overview-result:focus-visible{background:var(--accent-soft);border-color:var(--accent-border)}.student-overview-result:focus-visible{outline:2px solid var(--accent-strong);outline-offset:2px}.student-overview-arrow{margin-inline-start:auto}.student-overview-score{color:var(--accent-ink);font-size:1.55rem;font-weight:600;line-height:1.2}.student-overview-score small{color:var(--muted);font-size:.7em;font-weight:500}.student-overview-skeletons{pointer-events:none}.student-overview-skeleton-group{width:min(75%,10rem);height:.75rem;margin-block:6px}.student-overview-skeleton-date{height:.95rem;margin-block:6px}.student-overview-skeleton-note{margin-block:5px}.student-overview-skeleton-score{height:1.25rem;margin-block:5px}@media (width<=1000px){.student-overview-layout{grid-template-columns:minmax(0,1fr) minmax(0,300px);gap:18px}}@media (width<=760px){.student-overview-layout{grid-template-columns:minmax(0,1fr)}}@media (width<=540px){.student-overview-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.student-overview-stats dt{font-size:.8rem}.student-overview-stats dd{font-size:1.5rem}.portal .student-overview-side-row{padding-inline:12px}}.student-homework{padding-bottom:8px}.homework-tabs{border-bottom:1px solid var(--line);flex-wrap:wrap;gap:4px;margin-bottom:10px;display:flex}.homework-tab-count{color:var(--muted);font-variant-numeric:tabular-nums;margin-inline-start:6px;font-size:.85em}.homework-tools{grid-template-columns:minmax(0,1fr) minmax(0,220px);gap:10px;margin-bottom:10px;display:grid}.homework-footer{min-height:40px;color:var(--muted);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 14px;margin-top:8px;padding:7px 0 0;font-size:.9rem;display:flex}@media (width<=540px){.homework-tools{grid-template-columns:minmax(0,1fr)}}.portal .student-work>.portal-paper{padding:16px}.student-work-layout{grid-template-columns:minmax(0,1fr) minmax(260px,300px);align-items:start;gap:16px;display:grid}.student-work-layout>.detail-header{grid-column:1/-1;margin:0}.portal .student-work-layout>.portal-paper{min-width:0;padding:12px 16px 16px;font-size:14px;line-height:1.6}.student-review-summary{border:1px solid var(--line);background:var(--accent-soft);border-radius:6px;margin-bottom:12px;padding:10px 14px 12px}.student-review-summary-heading{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px 16px;margin-bottom:8px;display:flex}.portal .student-review-summary-heading h2{margin:0;font-size:14px;font-weight:600}.student-review-summary-heading strong{color:var(--accent-ink);font-size:18px}.student-review-summary-track{background:var(--accent-hover);border-radius:6px;height:6px;overflow:hidden}.student-review-summary-track span{border-radius:inherit;background:var(--accent-strong);transform-origin:0;height:100%;display:block}@media (prefers-reduced-motion:no-preference){.student-review-summary[data-first-view]{animation:.18s ease-out student-review-summary-enter}.student-review-summary[data-first-view] .student-review-summary-track span{animation:.42s ease-out student-review-score-fill}}@keyframes student-review-summary-enter{0%{background-color:#0000;border-color:#0000;translate:0 4px}}@keyframes student-review-score-fill{0%{transform:scaleX(0)}}.student-task-nav{border-bottom:1px solid var(--line);flex-wrap:wrap;gap:4px;margin-bottom:12px;display:flex}.portal .student-work .portal-task{padding:12px 0}.portal .student-work .portal-task>h2{margin:0 0 8px}.portal .student-work-paper .portal-task{border:0;padding:0 0 12px}.student-task-title{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px 12px;display:flex}.portal .student-task-title h2{margin:0;font-size:18px;font-weight:600}.student-task-title h2>span{margin-inline-start:6px;font-weight:400}.portal .student-work-paper .student-task-condition{margin:8px 0;font-size:14px}.portal .student-work .student-answer-heading{margin:10px 0 6px;font-size:14px;font-weight:600}.portal .student-work-paper .test-answer{gap:10px}.portal .student-work-paper .test-answer>p{margin:0}.portal .student-work-paper .editor-content{min-height:180px;padding:12px 14px;font-size:14px;line-height:1.6}.student-task-actions{border-top:1px solid var(--line);flex-wrap:wrap;gap:8px;padding-top:10px;display:flex}.student-work-sidebar{gap:12px;display:grid}.student-work-meta{gap:8px;margin:0;display:grid}.student-work-meta dt{color:var(--muted);font-size:12px}.student-work-meta dd{overflow-wrap:anywhere;margin:0}.portal .student-work-state{color:var(--muted);margin:0}.student-work-state:empty{position:absolute}@media (prefers-reduced-motion:no-preference){.student-work-sidebar[data-just-submitted]{animation:.65s ease-out student-work-submission-highlight}.student-work-sidebar[data-just-submitted] .student-work-state{animation:.2s ease-out student-work-state-enter}}@keyframes student-work-submission-highlight{0%{background-color:var(--accent-fill);border-color:var(--accent-border)}}@keyframes student-work-state-enter{0%{opacity:.35}}.student-work-materials,.student-work-save,.student-confirm{border-top:1px solid var(--line);padding-top:10px}.portal .student-work-sidebar h2{margin:0 0 6px;font-size:14px;font-weight:600}.student-work-materials .hw-materials{margin:0}.student-work-materials .hw-materials li{padding:6px 10px}.portal .student-work-sidebar .student-work-save p,.portal .student-work-sidebar .student-confirm p{margin:0;font-size:13px}.student-confirm p+p{padding-bottom:6px}.student-work-save:has(.student-work-actions) p{padding-bottom:6px}.student-work-actions{gap:8px;margin-top:6px;display:grid}.student-work-skeleton-tabs{padding-bottom:8px}.student-work-skeleton-tabs .card-skeleton-line{height:1.5rem}.student-work-skeleton-actions .card-skeleton-line{height:2rem}.student-work-skeleton-answer{border:1px solid var(--line);min-height:11rem}.student-answer,.portal .student-work .student-correction,.portal .student-work .student-letter{border-radius:6px;padding:12px 14px}.student-answer{background:#f7f6ef}.portal .student-work .student-correction,.portal .student-work .student-letter{background:var(--accent-soft);margin-top:12px}.student-correction-heading{flex-wrap:wrap;align-items:baseline;gap:4px 12px;margin-bottom:8px;display:flex}.portal .student-correction-heading h3,.portal .student-work .student-answer>:last-child,.portal .student-correction>.safe-rich-text>:last-child,.portal .student-letter>p{margin:0}.student-letter>img{margin-top:8px;display:block}.student-result img{object-fit:contain;border-radius:6px;max-width:min(100%,420px);max-height:360px}@media (width<=760px){.student-work-layout{grid-template-columns:minmax(0,1fr)}.student-task-nav .portal-tab-button{padding-inline:7px}}.profile-heading{text-align:center;margin:8px 0 48px}.portal .profile-heading h1{isolation:isolate;font:italic 34px/1.15 var(--font-family);letter-spacing:-.5px;margin:0 0 12px;display:inline-block;position:relative}.portal .profile-heading p{color:#6a6b59;max-width:none;margin:0;font-size:16px}.profile-cards{grid-template-columns:minmax(230px,.95fr) minmax(0,2fr);align-items:stretch;gap:18px;margin:0;display:grid}.profile-photo-card,.profile-form-card{background:#ffffff45;border:1px solid #e1ddd3;border-radius:14px;min-width:0;overflow:hidden}.profile-photo-card{text-align:center;padding:28px 22px 22px}.profile-portrait{aspect-ratio:1;color:#52613b;background:#e5e8d7;border-radius:50%;place-items:center;width:240px;max-width:100%;margin:0 auto 20px;font-size:64px;display:grid;overflow:hidden}.profile-portrait img{object-fit:cover;width:100%;height:100%}.portal .profile-photo-card h2{font:600 22px/1.25 var(--font-family);overflow-wrap:anywhere;margin:0 0 8px}.portal .profile-role{color:#616153;margin:0 0 28px;font-size:15px}.portal button.profile-change-photo{color:#4f6037;background:0 0;border:1.5px solid #586a3e;border-radius:9px;width:100%;padding:10px 8px;font-size:16px}.portal button.profile-remove-photo{color:#53653b;background:0 0;margin:12px auto 8px;padding:6px;font-size:15px;display:block}.portal .profile-format{color:#7a7971;margin:0;font-size:15px}.portal .profile-form-card>h2{font:600 22px/1.25 var(--font-family);background:#e8ead8ad;margin:0;padding:17px 30px}.profile-form-body{padding:26px 30px 36px}.portal .profile-form-body label{margin-bottom:10px;font-size:14px;font-weight:500;display:block}.portal .profile-form-body input{color:#26271f;background:#ffffff4d;border:1px solid #bcb8af;border-radius:8px;width:100%;min-width:0;padding:11px 14px;font-size:16px}.portal .profile-form-body input[readonly]{color:#68695d;background:#f1f0e9}.portal .profile-hint{color:#7b7a73;margin:6px 0 28px;font-size:15px}.portal .profile-role-line{color:#626254;border-top:1px solid #e1ddd3;margin:0 0 30px;padding-top:24px;font-size:15px}.profile-actions{flex-wrap:wrap;align-items:center;gap:16px 32px;display:flex}.portal button.profile-cancel{color:#53653b;background:0 0;padding:8px;text-decoration:underline}@media (width<=1000px){.profile-cards{grid-template-columns:minmax(205px,.85fr) minmax(0,1.5fr)}.profile-form-body{padding:22px}.portal .profile-form-card>h2{padding:17px 22px}}@media (width<=760px){.profile-cards{grid-template-columns:1fr}.profile-heading{margin-bottom:28px}.portal .profile-heading h1{font-size:30px}.profile-photo-card{padding:24px}.profile-portrait{width:180px}.portal button.profile-change-photo{max-width:320px}}.portal .student-profile-heading h1{color:var(--accent-ink);margin:0;font-size:28px}.portal .portal-main .student-profile-heading p{color:var(--muted);font-size:13px}.student-profile-tabs{border-bottom:1px solid var(--line);flex-wrap:wrap;gap:6px;margin-bottom:14px;display:flex}.student-progress-stats{grid-template-columns:repeat(3,minmax(0,1fr));margin:0 0 14px;padding:10px 16px;display:grid}.student-progress-stats>div{border-inline-start:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:4px 12px;padding:0 16px;display:flex}.student-progress-stats>div:first-child{border-inline-start:0;padding-inline-start:0}.student-progress-stats dt{color:var(--muted)}.student-progress-stats dd{color:var(--accent-ink);font-variant-numeric:tabular-nums;order:-1;margin:0;font-size:24px;font-weight:600}.student-progress-layout{grid-template-columns:minmax(0,1fr) minmax(280px,360px);align-items:start;gap:20px;display:grid}.student-progress-skeleton{pointer-events:none}.student-progress-skeleton .student-progress-skeleton-control{height:32px}.student-progress-skeleton-count{justify-self:end}.student-progress-panel-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 10px;margin-bottom:8px;display:flex}.portal .student-progress-panel-heading h2{margin:0;font-size:18px;font-weight:600}.student-progress-exams,.student-progress-answers{margin:0;padding:0;list-style:none}.student-progress-exams li+li,.student-progress-answers li+li{border-top:1px solid var(--line)}.student-progress-exam{border-radius:inherit;width:100%;min-height:44px;color:var(--accent-ink);font-variant-numeric:tabular-nums;text-align:left;background:0 0;grid-template-columns:48px 60px minmax(32px,1fr) 100px;align-items:center;gap:10px;padding:8px 14px;display:grid}.student-progress-exam>strong{white-space:nowrap}.student-progress-exam:hover,.student-progress-exam[aria-pressed=true]{background:var(--accent-soft)}.student-progress-exam[aria-pressed=true]{box-shadow:inset 3px 0 var(--accent-strong)}.student-progress-exam meter{width:100%;height:12px}.student-progress-exam meter::-webkit-meter-bar{background:var(--neutral-fill);border:0;border-radius:6px}.student-progress-exam meter::-webkit-meter-optimum-value{background:var(--accent-strong)}.student-progress-exam meter::-moz-meter-bar{background:var(--accent-strong)}.student-progress-exam-count{text-align:right}.student-progress-exam-count,.student-progress-unreviewed,.student-progress-note{color:var(--muted);font-size:13px}.student-progress-unreviewed{grid-column:2/-1}.portal .student-progress-empty{width:100%;max-width:none;margin:0;padding:14px}.student-progress-history{padding:12px 16px}.student-progress-history>button{margin-bottom:10px}.student-progress-history-score{font-variant-numeric:tabular-nums}.portal .student-progress-history p{margin:6px 0}.student-progress-answers li{padding:8px 0}.portal .student-progress-answers h3{overflow-wrap:anywhere;margin:0 0 2px;font-size:14px;font-weight:600}.student-progress-answer-result{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px 10px;margin-top:3px;font-size:13px;display:flex}.student-progress-answer-result a{color:var(--accent-ink)}.student-progress-layout .portal-pagination{margin-top:6px}.portal .student-progress-scale-note{margin:10px 0 0}.portal .student-profile .profile-page .profile-heading{display:none}.student-profile .profile-cards{gap:12px}.student-profile .profile-photo-card{padding:16px}.student-profile .profile-portrait{width:96px;margin-bottom:8px;font-size:30px}.portal .student-profile .profile-photo-card h2,.portal .student-profile .profile-form-card>h2{font-size:18px}.portal .student-profile .profile-role{margin:0 0 12px}.portal .student-profile .profile-form-card>h2{padding:10px 16px}.student-profile .profile-form-body{padding:12px 16px 16px}.portal .student-profile .profile-form-body label{margin-bottom:4px}.portal .student-profile .profile-form-body input{padding:6px 10px}.portal .student-profile .profile-hint{margin:4px 0 12px;font-size:13px}.portal .student-profile .profile-role-line{margin:0 0 10px;padding-top:8px}.student-profile .profile-actions{gap:6px 14px}@media (width<=760px){.portal .student-profile-heading h1{font-size:24px}.student-profile-tabs{margin-bottom:10px}.student-progress-stats{margin-bottom:10px;padding:8px 10px}.student-progress-stats>div{flex-direction:column;align-items:flex-start;gap:0;padding:0 8px}.student-progress-stats dt{font-size:12px}.student-progress-stats dd{font-size:22px}.student-progress-layout{display:block}.student-progress-exam{grid-template-columns:minmax(3em,max-content) 52px minmax(30px,1fr) 76px;gap:6px;padding-inline:10px}.student-progress-exam-count{font-size:12px}.student-profile .profile-photo-card{text-align:left;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:3px 8px;padding:10px 12px;display:grid}.student-profile .profile-portrait{grid-area:1/1/4/2;width:48px;margin:0;font-size:18px}.portal .student-profile .profile-photo-card h2{grid-column:2/-1;margin:0;font-size:15px}.portal .student-profile .profile-photo-card .profile-role{display:none}.portal .student-profile button.profile-change-photo,.portal .student-profile button.profile-remove-photo{text-align:left;border:0;justify-self:start;width:auto;min-height:30px;margin:0;padding:3px 0;font-size:13px;text-decoration:underline}.portal .student-profile button.profile-change-photo{grid-column:2}.portal .student-profile .profile-format{grid-column:2/-1;font-size:12px}}.cabinet-shell{--line:#e1dfd5;--paper:#fcfaf5;color:#292c23;background:#fcfaf5a8;min-height:100dvh}.cabinet-shell .portal-main{max-width:1440px;margin:0 auto;padding:16px 28px 32px}@media (width<=900px){.cabinet-shell .portal-main{padding:16px 20px 36px}}@media (width<=540px){.cabinet-shell .portal-main{padding:16px 14px 32px}}.teacher-portal .portal-title{text-align:center;margin-bottom:22px}.teacher-portal .portal-title h1{letter-spacing:-.5px;margin:0 auto 4px;font-size:clamp(28px,3.6vw,34px);font-weight:400;line-height:1.1}.teacher-portal .portal-title p{color:#6e705b;max-width:none;margin:7px 0 0;font-size:15px;line-height:1.4}.teacher-portal .groups-title-row{align-items:center}@media (width<=540px){.teacher-portal .portal-title h1{font-size:30px}.teacher-portal .groups-title-row{gap:14px}.teacher-portal .portal-title p{margin-top:14px;font-size:15px}}
