.guide{background:var(--bg);min-height:100dvh;color:var(--text)}.guide__header{justify-content:space-between;align-items:center;gap:20px;max-width:1120px;margin:auto;padding:20px 24px;display:flex}.guide__brand{color:var(--heading);align-items:center;gap:8px;font-weight:700;text-decoration:none;display:inline-flex}.guide__enter{color:var(--accent-text);font-weight:600}.guide__main{max-width:840px;margin:24px auto 0;padding:0 24px 96px}.guide h1{color:var(--heading);margin:0 0 14px;font-size:clamp(32px,5vw,46px);line-height:1.15}.guide__lead{max-width:60ch;margin:0 0 24px;font-size:18px;line-height:1.55}.guide__nav{border-bottom:1px solid var(--line);flex-wrap:wrap;gap:8px 24px;padding:0 0 18px;display:flex}.guide__nav a{color:var(--accent-text);align-items:center;min-height:44px;font-weight:600;display:inline-flex}.guide__section{padding-top:42px;scroll-margin-top:18px}.guide__section h2{color:var(--heading);margin:0 0 20px;font-size:26px;line-height:1.25}.guide__section h3{color:var(--heading);margin:0 0 12px;font-size:19px;line-height:1.35}.guide__section p,.guide__section li{line-height:1.65}.guide__section p{margin:0 0 16px}.guide__steps,.guide__case ol{margin:0;padding-left:26px}.guide__steps li,.guide__case li{margin-bottom:12px;padding-left:4px}.guide__case{border-top:1px solid var(--line);padding:24px 0}.guide__case:first-of-type{border-top:0;padding-top:0}.guide__figure{margin:28px 0 32px}.guide__shot{border:1px solid var(--line);border-radius:var(--radius);background:#fff;position:relative;overflow:hidden}.guide__shot img{width:100%;height:auto;display:block}.guide__mark{pointer-events:none;border:3px solid #df512b;border-radius:8px;position:absolute;box-shadow:0 0 0 3px #fff}.guide__mark--classes{width:9%;height:18%;top:47.5%;left:50%}.guide__mark--sanpin{width:26%;height:6%;top:34%;left:55%}.guide__mark--gym{width:33%;height:8%;top:37.5%;left:36%}.guide__mark--gym-subject{width:51%;height:5%;top:56%;left:36%}.guide__figure figcaption{color:var(--muted);margin-top:10px;font-size:14px;line-height:1.45}.guide__cta{align-items:center;min-height:44px;margin-top:12px;display:inline-flex}.guide a:focus-visible{outline:2px solid var(--accent-text);outline-offset:3px}@media (width<=600px){.guide__main{margin-top:12px;padding-inline:18px}.guide__header{padding-inline:18px}.guide__section{padding-top:32px}.guide__mark{border-width:2px;border-radius:3px;box-shadow:0 0 0 1px #fff}}.legal h2{color:var(--heading);margin:36px 0 12px;font-size:22px;line-height:1.3}.legal p,.legal li{line-height:1.65}.legal p{margin:0 0 14px}.legal ul{margin:0 0 14px;padding-left:24px}.legal li{margin-bottom:8px}.legal__updated{color:var(--muted);font-size:14px}.site-footer{border-top:var(--border);color:var(--muted);font-size:14px;line-height:1.6}.site-footer__inner{width:min(var(--e-page-max), 100%);flex-wrap:wrap;justify-content:space-between;gap:16px 40px;margin:0 auto;padding:28px clamp(20px,3vw,32px) 36px;display:flex}.site-footer a{color:inherit;text-underline-offset:3px}.site-footer__links{flex-direction:column;gap:4px;display:flex}@font-face{font-family:Onest Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./onest-cyrillic-ext-wght-normal-DOFToQv1.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Onest Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./onest-cyrillic-wght-normal-DayYxulF.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Onest Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./onest-math-wght-normal-Bl4ZGkZl.woff2)format("woff2-variations");unicode-range:U+302-303,U+305,U+307-308,U+310,U+312,U+315,U+31A,U+326-327,U+32C,U+32F-330,U+332-333,U+338,U+33A,U+346,U+34D,U+391-3A1,U+3A3-3A9,U+3B1-3C9,U+3D1,U+3D5-3D6,U+3F0-3F1,U+3F4-3F5,U+2016-2017,U+2034-2038,U+203C,U+2040,U+2043,U+2047,U+2050,U+2057,U+205F,U+2070-2071,U+2074-208E,U+2090-209C,U+20D0-20DC,U+20E1,U+20E5-20EF,U+2100-2112,U+2114-2115,U+2117-2121,U+2123-214F,U+2190,U+2192,U+2194-21AE,U+21B0-21E5,U+21F1-21F2,U+21F4-2211,U+2213-2214,U+2216-22FF,U+2308-230B,U+2310,U+2319,U+231C-2321,U+2336-237A,U+237C,U+2395,U+239B-23B7,U+23D0,U+23DC-23E1,U+2474-2475,U+25AF,U+25B3,U+25B7,U+25BD,U+25C1,U+25CA,U+25CC,U+25FB,U+266D-266F,U+27C0-27FF,U+2900-2AFF,U+2B0E-2B11,U+2B30-2B4C,U+2BFE,U+3030,U+FF5B,U+FF5D,U+1D400-1D7FF,U+1EE??}@font-face{font-family:Onest Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./onest-symbols-wght-normal-DxQzqQfC.woff2)format("woff2-variations");unicode-range:U+1-C,U+E-1F,U+7F-9F,U+20DD-20E0,U+20E2-20E4,U+2150-218F,U+2190,U+2192,U+2194-2199,U+21AF,U+21E6-21F0,U+21F3,U+2218-2219,U+2299,U+22C4-22C6,U+2300-243F,U+2440-244A,U+2460-24FF,U+25A0-27BF,U+28??,U+2921-2922,U+2981,U+29BF,U+29EB,U+2B??,U+4DC0-4DFF,U+FFF9-FFFB,U+10140-1018E,U+10190-1019C,U+101A0,U+101D0-101FD,U+102E0-102FB,U+10E60-10E7E,U+1D2C0-1D2D3,U+1D2E0-1D37F,U+1F0??,U+1F100-1F1AD,U+1F1E6-1F1FF,U+1F30D-1F30F,U+1F315,U+1F31C,U+1F31E,U+1F320-1F32C,U+1F336,U+1F378,U+1F37D,U+1F382,U+1F393-1F39F,U+1F3A7-1F3A8,U+1F3AC-1F3AF,U+1F3C2,U+1F3C4-1F3C6,U+1F3CA-1F3CE,U+1F3D4-1F3E0,U+1F3ED,U+1F3F1-1F3F3,U+1F3F5-1F3F7,U+1F408,U+1F415,U+1F41F,U+1F426,U+1F43F,U+1F441-1F442,U+1F444,U+1F446-1F449,U+1F44C-1F44E,U+1F453,U+1F46A,U+1F47D,U+1F4A3,U+1F4B0,U+1F4B3,U+1F4B9,U+1F4BB,U+1F4BF,U+1F4C8-1F4CB,U+1F4D6,U+1F4DA,U+1F4DF,U+1F4E3-1F4E6,U+1F4EA-1F4ED,U+1F4F7,U+1F4F9-1F4FB,U+1F4FD-1F4FE,U+1F503,U+1F507-1F50B,U+1F50D,U+1F512-1F513,U+1F53E-1F54A,U+1F54F-1F5FA,U+1F610,U+1F650-1F67F,U+1F687,U+1F68D,U+1F691,U+1F694,U+1F698,U+1F6AD,U+1F6B2,U+1F6B9-1F6BA,U+1F6BC,U+1F6C6-1F6CF,U+1F6D3-1F6D7,U+1F6E0-1F6EA,U+1F6F0-1F6F3,U+1F6F7-1F6FC,U+1F7??,U+1F800-1F80B,U+1F810-1F847,U+1F850-1F859,U+1F860-1F887,U+1F890-1F8AD,U+1F8B0-1F8BB,U+1F8C0-1F8C1,U+1F900-1F90B,U+1F93B,U+1F946,U+1F984,U+1F996,U+1F9E9,U+1FA00-1FA6F,U+1FA70-1FA7C,U+1FA80-1FA89,U+1FA8F-1FAC6,U+1FACE-1FADC,U+1FADF-1FAE9,U+1FAF0-1FAF8,U+1FB??}@font-face{font-family:Onest Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./onest-vietnamese-wght-normal-BBxOatbv.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Onest Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./onest-latin-ext-wght-normal-QAhDxQuo.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Onest Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./onest-latin-wght-normal-Dun_Rd-l.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./inter-cyrillic-wght-normal-DqGufNeO.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./inter-greek-ext-wght-normal-DlzME5K_.woff2)format("woff2-variations");unicode-range:U+1F??}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./inter-greek-wght-normal-CkhJZR-_.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./inter-vietnamese-wght-normal-CBcvBZtf.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./inter-latin-ext-wght-normal-DO1Apj_S.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./inter-latin-wght-normal-Dx4kXJAl.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#fff;--bg-grad:none;--surface:#fff;--surface-2:#fafafb;--surface-3:#f2f3f5;--hover:#f5f7f6;--heading:#1a2233;--text:#1a2233;--muted:#5b6371;--subtle:#6b7280;--brand:#1e6b57;--accent:#1e6b57;--accent-hover:#14503f;--accent-soft:#e8f2ee;--accent-line:#b9d8cc;--accent-text:#14503f;--accent-bright:#1e6b57;--line:#e8eaed;--line-strong:#dadde2;--line-soft:#f0f1f3;--border:1px solid var(--line);--border-strong:1px solid var(--line-strong);--danger:#b3261e;--danger-soft:#fdeceb;--success:#1e6b57;--success-soft:#e8f2ee;--warning:#8a5a00;--warning-soft:#fbf1da;--info:#2f5fa8;--info-soft:#eaf0fa;--focus:0 0 0 3px #1e6b5747;--radius:8px;--radius-sm:6px;--radius-lg:10px;--radius-pill:999px;--shadow-card:none;--shadow:0 12px 32px #1a22331f;--shadow-soft:0 1px 2px #1a22331f;--font:"Onest Variable", "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--fs-base:14px;--fs-small:12px;--fs-h1:22px;--fs-h2:15px;--fs-kpi:22px;--control-h:40px;--sidebar-w:220px;--topbar-h:57px;--e-nav-active-bg:#1a2233;--e-nav-active-fg:#fff;--e-page-max:1180px}*,:before,:after{box-sizing:border-box}html,body,#root{min-height:100%}body{background:var(--bg);color:var(--text);font-family:var(--font);-webkit-font-smoothing:antialiased;margin:0;font-size:17px;line-height:1.55;overflow-x:hidden}h1,h2,h3,h4,p{margin:0}h1{letter-spacing:-.015em;font-size:clamp(32px,4.6vw,50px);font-weight:700;line-height:1.12}h2{letter-spacing:-.01em;font-size:clamp(26px,3vw,34px);font-weight:700;line-height:1.2}h3{font-size:19px;font-weight:650;line-height:1.3}a{color:var(--accent-text);text-underline-offset:3px;text-decoration:underline;text-decoration-thickness:1px}a:hover{color:var(--accent-hover)}a.btn,.logo{text-decoration:none}button{font-family:inherit}:focus-visible{outline-offset:2px;outline:3px solid #1e6b5773}.muted{color:var(--muted)}.container{width:min(1160px,100% - 40px);margin:0 auto}.btn{min-height:var(--control-h);border-radius:var(--radius-sm);border:var(--border-strong);background:var(--surface);color:var(--text);cursor:pointer;white-space:nowrap;touch-action:manipulation;justify-content:center;align-items:center;gap:8px;padding:11px 20px;font-size:16px;font-weight:600;line-height:1.2;transition:background .15s,border-color .15s,box-shadow .15s;display:inline-flex}.btn:disabled{opacity:.5;cursor:not-allowed}.btn.primary{background:var(--accent);border-color:var(--accent);color:#fff;box-shadow:none}.btn.primary:hover{background:var(--accent-hover);border-color:var(--accent-hover);color:#fff}.btn.primary:disabled:hover{background:var(--accent)}.btn.ghost{background:var(--surface)}.btn.danger{background:var(--surface);color:var(--danger);border-color:#f0b4b4}.btn.danger:hover{background:var(--danger-soft);border-color:var(--danger);color:var(--danger)}.btn.small{min-height:40px;padding:8px 14px;font-size:15px}.btn.block{width:100%}.icon-btn{border-radius:var(--radius-sm);border:var(--border-strong);background:var(--surface);width:44px;height:44px;color:var(--muted);cursor:pointer;touch-action:manipulation;justify-content:center;align-items:center;display:inline-flex}.icon-btn:hover{color:var(--text);background:var(--hover)}.icon-btn.danger:hover{color:var(--danger);border-color:var(--danger);background:var(--danger-soft)}.field{flex-direction:column;gap:6px;margin-bottom:16px;display:flex}.field>label{color:var(--text);font-size:15px;font-weight:600}.input,select.input,textarea.input{width:100%;min-height:var(--control-h);border-radius:var(--radius-sm);border:var(--border-strong);background:var(--surface);color:var(--text);outline:none;padding:11px 14px;font-family:inherit;font-size:17px;transition:border-color .15s,box-shadow .15s}.input::placeholder{color:#8a94a3}.input:hover{border-color:#9aa6b8}select.input{appearance:none;cursor:pointer;background-image:linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);background-position:calc(100% - 20px) 52%,calc(100% - 14px) 52%;background-repeat:no-repeat;background-size:6px 6px,6px 6px;padding-right:36px}input[type=range]{--fill:50%;cursor:pointer;appearance:none;background:0 0;width:100%;height:28px;margin:0}input[type=range]::-webkit-slider-runnable-track{background:linear-gradient(to right, var(--accent) var(--fill), var(--surface-3) var(--fill));border-radius:999px;height:6px}input[type=range]::-moz-range-track{background:var(--surface-3);border-radius:999px;height:6px}input[type=range]::-moz-range-progress{background:var(--accent);border-radius:999px;height:6px}input[type=range]::-webkit-slider-thumb{appearance:none;border:3px solid var(--accent);background:#fff;border-radius:50%;width:22px;height:22px;margin-top:-8px;box-shadow:0 1px 3px #11182733}input[type=range]::-moz-range-thumb{border:3px solid var(--accent);background:#fff;border-radius:50%;width:16px;height:16px}input[type=range]:focus-visible{outline:none}input[type=range]:focus-visible::-webkit-slider-thumb{box-shadow:var(--focus)}.checkbox-row{color:var(--text);cursor:pointer;align-items:flex-start;gap:12px;font-size:16px;display:flex}.checkbox-row input{accent-color:var(--accent);cursor:pointer;flex:none;width:22px;height:22px;margin-top:2px}.form-error{color:var(--danger);word-break:break-word;margin-top:6px;font-size:15px}.hint{color:var(--muted);font-size:15px}.card{background:var(--surface);border:var(--border);border-radius:var(--radius);box-shadow:var(--shadow-soft)}.panel{background:var(--surface);border:var(--border);border-radius:var(--radius);box-shadow:var(--shadow-soft);padding:24px}.panel__head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;display:flex}.badge{border:var(--border);background:var(--surface-2);color:var(--muted);white-space:nowrap;border-radius:999px;align-items:center;gap:6px;padding:4px 12px;font-size:14px;font-weight:600;display:inline-flex}.badge.accent{background:var(--accent-soft);color:var(--accent-text);border-color:var(--accent-line)}.badge.success{background:var(--success-soft);color:var(--success);border-color:#b9e3c7}.badge.warning{background:var(--warning-soft);color:var(--warning);border-color:#f6d29b}.badge.danger{background:var(--danger-soft);color:var(--danger);border-color:#f0b4b4}.chip{background:var(--surface-2);border:var(--border);color:var(--muted);border-radius:8px;align-items:center;padding:3px 10px;font-size:14px;display:inline-flex}.table-wrap{width:100%;overflow-x:auto}table.data{border-collapse:separate;border-spacing:0 8px;width:100%;margin:-8px 0;font-size:16px}table.data th,table.data td{text-align:left;vertical-align:middle;padding:12px 16px}table.data th{color:var(--text);background:var(--surface-2);border-top:var(--border);border-bottom:var(--border);font-size:15px;font-weight:650}table.data td{background:var(--surface);border-top:var(--border);border-bottom:var(--border)}table.data th:first-child,table.data td:first-child{border-left:var(--border);border-radius:var(--radius-sm) 0 0 var(--radius-sm)}table.data th:last-child,table.data td:last-child{border-right:var(--border);border-radius:0 var(--radius-sm) var(--radius-sm) 0}.empty-state{text-align:center;border:2px dashed var(--line-strong);border-radius:var(--radius);background:var(--surface);color:var(--muted);padding:40px 20px}.empty-state__title{color:var(--text);font-size:19px;font-weight:650}.empty-state__hint{max-width:560px;margin:8px auto 0;font-size:16px}.empty-state__action{margin-top:18px}.page-loading{min-height:45vh;color:var(--muted);justify-content:center;align-items:center;padding:40px;display:flex}.spinner-wrap{align-items:center;gap:12px;display:inline-flex}.spinner{border:3px solid var(--surface-3);border-top-color:var(--accent);border-radius:50%;flex:none;width:20px;height:20px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.modal-backdrop{z-index:100;background:#11182773;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.modal{background:var(--surface);border:var(--border);border-radius:var(--radius-lg);width:min(560px,100%);max-height:calc(100vh - 40px);box-shadow:var(--shadow);overflow-y:auto}.modal--wide{width:min(880px,100%)}.modal__head{border-bottom:var(--border);background:var(--surface);z-index:1;justify-content:space-between;align-items:center;gap:12px;padding:18px 22px;display:flex;position:sticky;top:0}.modal__title{font-size:20px}.modal__body{padding:22px}.modal__foot{border-top:var(--border);flex-wrap:wrap;justify-content:flex-end;gap:12px;padding:16px 22px;display:flex}.toast-stack{z-index:200;flex-direction:column;gap:10px;width:min(400px,100vw - 40px);display:flex;position:fixed;bottom:20px;right:20px}.toast{background:var(--surface);border:var(--border);border-left:5px solid var(--accent);border-radius:var(--radius-sm);box-shadow:var(--shadow);align-items:flex-start;gap:12px;padding:14px 16px;font-size:16px;animation:.18s toast-in;display:flex}@keyframes toast-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.toast--success{border-left-color:var(--success)}.toast--error{border-left-color:var(--danger)}.toast__icon{color:var(--success);margin-top:2px;display:inline-flex}.toast--error .toast__icon{color:var(--danger)}.toast__text{word-break:break-word;flex:1}.toast__close{color:var(--muted);cursor:pointer;background:0 0;border:none;border-radius:6px;margin:-4px -4px 0 0;padding:4px;display:inline-flex}.toast__close:hover{color:var(--text);background:var(--surface-2)}.row{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.row.between{justify-content:space-between}.paywall-plans{flex-direction:column;gap:10px;margin-top:16px;display:flex}.paywall-plan{background:var(--surface-2);border:var(--border);border-radius:var(--radius-sm);justify-content:space-between;gap:12px;padding:12px 14px;font-size:16px;display:flex}.paywall-plan__price{color:var(--muted)}.logo{color:var(--text);letter-spacing:-.01em;align-items:center;gap:10px;font-size:18px;font-weight:700;display:inline-flex}.logo:hover{color:var(--text)}.price-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;display:grid}.price-card{background:var(--surface);border:var(--border);border-radius:var(--radius-lg);flex-direction:column;padding:26px 22px;display:flex}.price-card--featured{border:2px solid var(--accent);box-shadow:var(--shadow)}.price-card__name{font-size:19px;font-weight:700}.price-card__price{letter-spacing:-.02em;margin-top:12px;font-size:34px;font-weight:750}.price-card__period{color:var(--muted);margin-top:4px;font-size:16px}@media (width<=1080px){.price-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=640px){.price-cards{grid-template-columns:minmax(0,1fr)}}@media (width<=760px){.container{width:calc(100% - 32px)}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important}}.landing{background:var(--bg);min-height:100dvh;font-size:16px;line-height:1.55}.landing__header,.landing__inner{width:min(var(--e-page-max), 100%);margin:0 auto;padding-inline:clamp(20px,3vw,32px)}.landing__header{border-bottom:var(--border);justify-content:space-between;align-items:center;gap:16px;min-height:80px;display:flex}.landing__account{align-items:center;min-height:44px;padding:8px 0 8px 12px;font-weight:500;text-decoration:none;display:inline-flex}.landing__hero{grid-template-columns:1fr 1.1fr;align-items:center;gap:48px;padding-block:clamp(48px,7vw,96px);display:grid}.landing__intro{min-width:0}.landing h1{text-wrap:balance;max-width:18ch;font-size:clamp(32px,3.3vw,44px);line-height:1.15}.landing__description{max-width:44ch;color:var(--muted);margin-top:24px}.landing__actions{flex-wrap:wrap;gap:12px;margin-top:32px;display:flex}.landing__actions .btn{min-height:48px}.landing__note{color:var(--muted);margin-top:12px;font-size:14px}.landing__guide{color:var(--accent-text);text-underline-offset:3px;align-items:center;min-height:44px;margin-top:4px;font-size:16px;display:inline-flex}.landing__guide:focus-visible{outline:2px solid var(--accent-text);outline-offset:3px}.landing__promo{aspect-ratio:16/9;border:var(--border-strong);border-radius:var(--radius-lg);background:var(--surface-2);width:100%;margin:0;overflow:hidden}.landing__promo img,.landing__promo video{object-fit:cover;width:100%;height:100%;display:block}.landing__help{border-top:var(--border);grid-template-columns:1fr 1.1fr;gap:48px;padding-block:40px 56px;display:grid}.landing__help h2{text-wrap:balance;max-width:25ch;font-size:24px;line-height:1.3}.landing__help p{max-width:60ch}.landing__contact{color:var(--muted);margin-top:16px}@media (width<=900px){.landing__hero{grid-template-columns:1fr;gap:32px}.landing h1{max-width:22ch}.landing__description{max-width:55ch}.landing__help{grid-template-columns:1fr;gap:16px}}@media (width<=480px){.landing__header{min-height:72px}.landing__actions{flex-direction:column;align-items:stretch}.landing__hero{padding-block:40px}.landing__help{padding-block:32px 40px}}.auth-page{flex-direction:column;justify-content:center;align-items:center;min-height:100vh;padding:40px 20px;display:flex}.auth-card{background:var(--surface);border:var(--border);border-radius:var(--radius-lg);width:min(480px,100%);box-shadow:var(--shadow);padding:36px 34px 30px}.auth-card__head{text-align:center;margin-bottom:22px}.auth-card__head .logo{justify-content:center;margin-bottom:14px}.auth-card__title{font-size:27px;font-weight:700}.auth-card__subtitle{color:var(--muted);margin-top:8px;font-size:17px}.auth-switch{text-align:center;color:var(--muted);margin-top:18px;font-size:17px}.plan-notice{background:var(--accent-soft);border:1px solid var(--accent-line);color:var(--accent-text);border-radius:var(--radius-sm);align-items:flex-start;gap:10px;margin-bottom:18px;padding:12px 14px;font-size:16px;display:flex}.plan-notice svg{flex:none;margin-top:2px}.auth-submit{margin-top:6px}.auth-resend{margin-top:12px}.auth-message{text-align:center;margin-top:12px}.auth-legal{color:var(--subtle);text-align:center;margin-top:14px;font-size:14px}.cabinet{min-height:100vh;display:flex}.plan-status{background:var(--surface);border:var(--border);border-radius:var(--radius);box-shadow:var(--shadow-soft);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;margin-bottom:20px;padding:18px 22px;display:flex}.plan-status__text{font-size:17px}.plan-status__hint{color:var(--muted);margin-top:4px;font-size:15.5px}.panel+.panel,.panel+.plan-status{margin-top:18px}.difficulty{align-items:center;gap:12px;min-width:220px;display:flex}.difficulty input[type=range]{flex:1}.warn-note{background:var(--danger-soft);color:var(--danger);border-radius:var(--radius-sm);border:1px solid #f0b4b4;align-items:flex-start;gap:10px;margin-top:12px;padding:12px 16px;font-size:16px;display:flex}.info-note{background:var(--accent-soft);border:1px solid var(--accent-line);color:var(--accent-text);border-radius:var(--radius-sm);margin-top:12px;padding:12px 16px;font-size:16px}table.busy{border-collapse:collapse;width:100%;min-width:420px;font-size:15px}table.busy th,table.busy td{border:var(--border);text-align:center;padding:0}table.busy th{background:var(--surface-2);color:var(--muted);padding:10px 12px;font-size:14px;font-weight:650}.room-groups{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px;display:grid}.payments-table td .badge{text-transform:none}.section-note{color:var(--muted);margin-top:10px;font-size:15.5px}@media (width<=900px){.cabinet{flex-direction:column}}.import-steps{counter-reset:step;flex-direction:column;gap:14px;margin:0;padding:0;list-style:none;display:flex}.import-steps li{counter-increment:step;border:var(--border);border-radius:var(--radius-sm);background:var(--surface-2);flex-direction:column;align-items:flex-start;gap:6px;padding:16px 16px 16px 60px;display:flex;position:relative}.import-steps li:before{content:counter(step);background:var(--accent);color:#fff;border-radius:50%;place-items:center;width:32px;height:32px;font-weight:700;display:grid;position:absolute;top:14px;left:16px}.import-steps b{font-size:18px}.import-steps span{color:var(--muted)}.import-steps .btn{margin-top:6px}.import-result{border-radius:var(--radius-sm);background:var(--success-soft);border:1px solid #b9e3c7;margin-top:16px;padding:16px 18px}.import-result.has-errors{background:var(--warning-soft);border-color:#f6d29b}.import-result__title{color:var(--success);font-size:18px;font-weight:700}.import-result__title.warn{color:var(--text)}.import-result__hint{margin-top:10px;font-weight:600}.import-result__list{flex-direction:column;gap:4px;margin:8px 0 0;padding-left:22px;display:flex}.import-result__list.errors{color:var(--danger)}.view-toggle{background:var(--surface-2);border:var(--border);border-radius:var(--radius-sm);gap:4px;padding:4px;display:inline-flex}.view-toggle button{color:var(--muted);cursor:pointer;background:0 0;border:none;border-radius:8px;min-height:40px;padding:8px 16px;font-family:inherit;font-size:16px;font-weight:600}.view-toggle button.active{background:var(--surface);color:var(--accent-text);box-shadow:var(--shadow-soft)}.gen-loading{background:var(--surface);border:1px solid var(--accent-line);border-radius:var(--radius);text-align:center;margin-bottom:16px;padding:28px}.gen-loading__title{font-size:20px;font-weight:650}.gen-loading__hint{color:var(--muted);margin-top:8px;font-size:16px}.gen-loading .spinner-wrap{margin-bottom:12px}.schedule-scroll{border:var(--border);border-radius:var(--radius);background:var(--surface);max-width:100%;overflow-x:auto}.slot{border:1px solid #0000;border-radius:8px;flex-direction:column;gap:3px;padding:7px 10px;font-size:15px;line-height:1.3;display:flex}.legend{color:var(--muted);flex-wrap:wrap;gap:12px;margin-top:14px;font-size:15px;display:flex}.schedule-day{display:none}@media (width<=720px){.schedule-scroll,.legend{display:none}.schedule-day{display:block}.day-tabs{background:var(--surface);border:var(--border);border-radius:var(--radius);z-index:2;grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:4px;padding:4px;display:grid;position:sticky;top:64px}.day-tabs button{color:var(--muted);font:inherit;border-radius:var(--radius-sm);cursor:pointer;background:0 0;border:none;min-height:44px;padding:9px 0;font-size:16px;font-weight:650}.day-tabs button.active{background:var(--accent-soft);color:var(--text)}.day-list{flex-direction:column;gap:8px;margin:10px 0 0;padding:0;list-style:none;display:flex}.day-list li{grid-template-columns:28px minmax(0,1fr);align-items:center;gap:8px;display:grid}.day-list__num{color:var(--muted);text-align:center;font-weight:650}.day-list .slot{padding:12px 14px;font-size:17px}}.print-title{display:none}@media print{@page{size:A4 landscape;margin:12mm}body{background:#fff}.legend,.schedule-day,.toast-stack{display:none!important}.print-title{margin-bottom:10px;font-size:20px;font-weight:700;display:block}.schedule-scroll{border:1px solid #999;overflow:visible;display:block!important}.slot{padding:2px 0;color:#000!important;background:#fff!important;border:none!important}}body{color:var(--text)}h1,h2,h3,h4,.panel__title{color:var(--heading)}.panel,.card,.plan-status{border-radius:var(--radius);box-shadow:var(--shadow-card);border:1px solid #f0f0f3}.panel{padding:24px}.panel__title{font-size:19px;font-weight:600}.import-steps li{border:1px solid var(--line);border-radius:var(--radius);box-shadow:none}.btn{border-radius:var(--radius-sm);border-color:var(--brand);color:var(--accent-text);background:var(--surface)}.btn:hover{background:var(--accent-soft);border-color:var(--accent);color:var(--accent-text)}.btn:disabled:hover{background:var(--surface);border-color:var(--brand)}.btn.primary{box-shadow:none}.btn.ghost{border-color:var(--line-strong);color:var(--text)}.btn.ghost:hover{border-color:var(--brand);color:var(--accent-text)}.btn.danger{color:var(--danger);border-color:#efb3b0}.icon-btn{border-color:var(--line)}.input,select.input,textarea.input{border-color:var(--line-strong);border-radius:var(--radius-sm)}.input:focus{border-color:var(--brand);box-shadow:var(--focus)}.badge{background:var(--surface-2);color:var(--muted);border:none;font-weight:500}.badge.success,.badge.warning,.badge.danger,.badge.info{border:none}.badge.success:before,.badge.warning:before,.badge.danger:before,.badge.info:before{content:"";background:currentColor;border-radius:50%;flex:none;width:8px;height:8px}.badge.info{background:var(--info-soft);color:var(--info)}.badge.accent{background:var(--accent-soft);color:var(--accent-text);border:none}table.data th{background:var(--surface-2);color:var(--muted);border-color:var(--line);font-weight:600}table.data td{border-color:var(--line)}table.data tbody tr:hover td{background:var(--hover)}.view-toggle{border:none;border-bottom:1px solid var(--line);background:0 0;border-radius:0;gap:4px;padding:0}.view-toggle button{box-shadow:none;color:var(--muted);background:0 0;border-bottom:3px solid #0000;border-radius:0;margin-bottom:-1px;padding:10px 14px}.view-toggle button.active{box-shadow:none;color:var(--accent-text);border-bottom-color:var(--brand);background:0 0}.schedule-scroll{background:0 0;border:none}.slot{border-radius:var(--radius-sm)}.info-note,.plan-notice{border-color:var(--accent-line);background:var(--accent-soft)}.landing .logo{text-transform:uppercase;letter-spacing:.04em;color:var(--heading);font-weight:800}body{font-family:var(--font);font-size:var(--fs-base);color:var(--text);background:var(--bg);line-height:1.45}.e-shell{flex-direction:column;min-height:100vh;display:flex}.e-header{z-index:20;background:var(--surface);border-bottom:var(--border);flex-wrap:wrap;align-items:center;gap:10px 24px;padding:10px clamp(16px,3vw,32px);display:flex;position:sticky;top:0}.e-header__brand,.e-header__side{white-space:nowrap;flex:1 1 0;align-items:center;gap:12px;display:flex}.e-header__side{color:var(--muted);justify-content:flex-end}.e-brand{color:var(--heading);align-items:center;gap:8px;font-size:15px;font-weight:700;text-decoration:none;display:inline-flex}.e-pills{border-radius:var(--radius-pill);background:var(--surface-3);flex-wrap:wrap;gap:2px;padding:3px;display:flex}.e-pill{border-radius:var(--radius-pill);color:#4e5563;align-items:center;gap:6px;min-height:44px;padding:0 16px;font-weight:500;text-decoration:none;transition:background-color .15s ease-out,color .15s ease-out;display:inline-flex}.e-pill:hover{color:var(--heading);background:#1a22330f}.e-pill.active{background:var(--e-nav-active-bg);color:var(--e-nav-active-fg);font-weight:600}.e-pill:focus-visible{box-shadow:var(--focus);outline:none}.e-plan{font-size:var(--fs-small);background:var(--warning-soft);color:var(--warning);border-radius:4px;padding:3px 8px;text-decoration:none}.e-plan.danger{background:var(--danger-soft);color:var(--danger)}.e-avatar{background:var(--accent-soft);width:30px;height:30px;color:var(--accent-text);cursor:pointer;border:0;border-radius:50%;justify-content:center;align-items:center;font-size:12px;font-weight:700;text-decoration:none;display:inline-flex}.e-subtabs{border-bottom:var(--border);gap:4px;padding:0 clamp(16px,3vw,32px);display:flex;overflow-x:auto}.e-subtab{min-height:44px;color:var(--muted);white-space:nowrap;align-items:center;gap:8px;padding:0 12px;text-decoration:none;transition:color .15s ease-out,box-shadow .15s ease-out;display:inline-flex}.e-subtab:hover{color:var(--heading)}.e-subtab.active{color:var(--heading);box-shadow:inset 0 -2px 0 var(--brand);font-weight:600}.e-subtab__dot{background:var(--line-strong);border-radius:50%;width:6px;height:6px}.e-subtab__dot.done{background:var(--brand)}.e-subtab__count{font-size:var(--fs-small);color:var(--subtle)}.e-page{width:100%;max-width:var(--e-page-max);box-sizing:border-box;flex-direction:column;gap:24px;margin:0 auto;padding:28px clamp(16px,3vw,32px) 48px;display:flex}.e-page.wide{gap:0;max-width:none;padding:0}.e-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;display:flex}.e-head__eyebrow{color:var(--subtle)}.e-head__title{font-size:var(--fs-h1);letter-spacing:-.01em;color:var(--heading);margin:0;font-weight:700}.e-head__sub{color:var(--muted)}.e-head__actions{flex-wrap:wrap;gap:8px;display:flex}.e-btn{min-height:var(--control-h);border-radius:var(--radius);border:var(--border-strong);background:var(--surface);color:var(--heading);font:inherit;cursor:pointer;align-items:center;gap:6px;padding:0 14px;font-weight:500;text-decoration:none;transition:background-color .15s ease-out,border-color .15s ease-out,color .15s ease-out;display:inline-flex}.e-btn:hover{background:var(--hover)}.e-btn.primary{background:var(--accent);border-color:var(--accent);color:#fff;font-weight:600}.e-btn.primary:hover{background:var(--accent-hover)}.e-btn.ghost{background:0 0;border-color:#0000}.e-btn:disabled{opacity:.55;cursor:default}.e-btn:focus-visible{box-shadow:var(--focus);outline:none}.e-section-title{font-size:var(--fs-h2);color:var(--heading);margin:0;font-weight:600}.e-section-title small{color:var(--subtle);font-weight:400;font-size:inherit}.e-banner{background:var(--warning-soft);color:#5e3f08;border-bottom:1px solid #f1dfb4;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:10px clamp(16px,3vw,32px);display:flex}@media (width<=720px){.e-header__brand{flex:auto}.e-header__side{flex:none}.e-pills{scrollbar-width:none;flex-wrap:nowrap;order:3;justify-content:space-between;width:100%;overflow-x:auto}.e-pill{flex:1 0 auto;justify-content:center;padding:0 8px;font-size:13px}.e-header__side .e-school{display:none}.e-header__side .e-btn{justify-content:center;min-width:44px;min-height:44px}}.e-columns{flex-wrap:wrap;align-items:flex-start;gap:32px;display:flex}.e-columns__main{flex-direction:column;flex:3 520px;gap:24px;min-width:0;display:flex}.e-columns__side{flex-direction:column;flex:2 300px;gap:8px;min-width:0;display:flex}.e-block{flex-direction:column;gap:10px;display:flex}.e-block__head{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px;display:flex}.e-kpis{background:var(--line);border:var(--border);border-radius:var(--radius-lg);grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:1px;display:grid;overflow:hidden}.e-kpi{background:var(--surface);color:inherit;flex-direction:column;gap:2px;padding:14px 16px;text-decoration:none;display:flex}a.e-kpi:hover{background:var(--hover)}.e-kpi__label,.e-kpi__hint{color:var(--subtle);font-size:var(--fs-small)}.e-kpi__value{font-size:var(--fs-kpi);color:var(--heading);font-weight:600}.e-kpi__value.good{color:var(--accent)}.e-kpi__value.warn{color:var(--warning)}.e-kpi__value.bad{color:var(--danger)}.e-heat{border:var(--border);border-radius:var(--radius-lg);padding:12px 14px;overflow-x:auto}.e-heat__grid{flex-direction:column;gap:3px;min-width:460px;display:flex}.e-heat__row{grid-template-columns:48px repeat(var(--days,5), minmax(0, 1fr));align-items:center;gap:3px;display:grid}.e-heat__row.head{color:var(--subtle);font-size:var(--fs-small)}.e-heat__label{font-size:var(--fs-small);color:#4e5563}.e-heat__cell{background:var(--accent);border-radius:3px;height:16px}.e-heat__legend{color:var(--subtle);font-size:var(--fs-small);align-items:center;gap:6px;display:inline-flex}.e-heat__legend i{background:var(--accent);border-radius:2px;width:14px;height:10px;display:inline-block}.e-table-wrap{border:var(--border);border-radius:var(--radius-lg);overflow-x:auto}.e-table{border-collapse:collapse;width:100%;min-width:460px}.e-table th{text-align:left;color:var(--subtle);font-size:var(--fs-small);border-bottom:var(--border);background:var(--surface);padding:9px 16px;font-weight:500}.e-table td{border-bottom:1px solid var(--line-soft);padding:9px 16px}.e-table tr:last-child td{border-bottom:0}.e-table .muted{color:var(--subtle)}.e-table .current{color:var(--accent);font-weight:600;font-size:var(--fs-small)}.e-linkbtn{font:inherit;font-size:var(--fs-small);color:var(--muted);cursor:pointer;background:0 0;border:0;padding:0}.e-linkbtn:hover{color:var(--accent);text-decoration:underline}.e-issue{border:var(--border);border-radius:var(--radius-lg);padding:12px 14px}.e-issue__title{align-items:center;gap:8px;display:flex}.e-issue__text{color:var(--subtle)}.e-tag{letter-spacing:.04em;background:var(--surface-3);color:#4e5563;white-space:nowrap;border-radius:4px;padding:1px 6px;font-size:11px;font-weight:600}.e-tag.warn{background:var(--warning-soft);color:var(--warning)}.e-tag.bad{background:var(--danger-soft);color:var(--danger)}.e-empty{color:var(--subtle);padding:12px 0}.ov-start{flex-wrap:wrap;align-items:flex-start;gap:20px;display:flex}.ov-start h2{color:var(--heading);margin:0;font-size:16px;font-weight:600}.ov-start__steps{border:var(--border);border-radius:var(--radius-lg);background:var(--surface);flex:3 480px;min-width:0;padding:18px 20px 12px}.ov-start__head{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.ov-start__count{color:var(--subtle);white-space:nowrap;font-size:13px}.ov-start__bar{background:var(--line);border-radius:2px;height:4px;margin:12px 0 8px;overflow:hidden}.ov-start__bar i{background:var(--accent);border-radius:2px;height:100%;transition:width .3s ease-out;display:block}.ov-start__lead{color:var(--muted);margin:0 0 6px;font-size:13px}.ov-start__foot{border-top:var(--border);margin-top:4px;padding-top:10px}.ov-start__foot .e-linkbtn{font-size:13px}.ov-steps{margin:0;padding:0;list-style:none}.ov-step{border-top:1px solid var(--line-soft);align-items:center;gap:12px;padding:12px 0;display:flex}.ov-step:first-child{border-top:0}.ov-step__mark{border:var(--border-strong);width:26px;height:26px;color:var(--subtle);border-radius:50%;flex:none;justify-content:center;align-items:center;font-size:13px;font-weight:600;display:inline-flex}.ov-step__body{flex:1;min-width:0}.ov-step__title{color:var(--heading);flex-wrap:wrap;align-items:center;gap:8px;font-weight:500;display:flex}.ov-step__text{color:var(--subtle);font-size:13px}.ov-step__tag{color:var(--muted);background:var(--surface-3);border-radius:4px;padding:1px 6px;font-size:11px;font-weight:500}.ov-step__link{color:var(--muted);white-space:nowrap;padding:6px 4px;font-size:13px}.ov-step__link:hover{color:var(--accent)}.ov-step__actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.ov-step__actions .btn{font-size:inherit;border-radius:var(--radius);padding:0 14px;font-weight:500}.ov-step__actions .btn svg{width:16px;height:16px}.ov-step.done .ov-step__mark{background:var(--accent-soft);border-color:var(--accent-line);color:var(--accent)}.ov-step.done .ov-step__title{color:var(--muted);font-weight:400}.ov-step.optional .ov-step__mark{border-style:dashed}.ov-step.optional .ov-step__title{color:var(--muted)}.ov-step.current{flex-wrap:wrap;row-gap:10px}.ov-step.current .ov-step__body{flex:220px}.ov-step.current{background:var(--accent-soft);border:1px solid var(--accent-line);border-radius:var(--radius);margin:4px -12px;padding:12px}.ov-step.current+.ov-step{border-top:0}.ov-step.current .ov-step__mark{background:var(--accent);border-color:var(--accent);color:#fff}.ov-step.current .ov-step__title,.ov-step.current .ov-step__text{color:var(--accent-text)}.ov-start__preview{border:var(--border);border-radius:var(--radius-lg);background:var(--surface);flex-direction:column;flex:2 260px;gap:12px;min-width:0;padding:18px 20px;display:flex}.ov-start__preview p{color:var(--muted);margin:0;font-size:13px;line-height:1.55}.ov-start__preview .e-btn{justify-content:center}.ov-preview__grid{grid-template-columns:repeat(5,1fr);gap:3px;display:grid}.ov-preview__grid i{background:var(--line-soft);border-radius:3px;height:14px}.ov-preview__grid i.t1{background:var(--accent-line)}.ov-preview__grid i.t2{background:#cfe0f2}.ov-preview__grid i.t3{background:#f3dfb0}p.ov-preview__why{color:var(--subtle);font-size:12px}@media (width<=640px){.ov-start__steps,.ov-start__preview{padding:14px 16px}.ov-step.current{flex-wrap:wrap;margin:4px -8px;padding:12px 8px}.ov-step.current .ov-step__actions{justify-content:stretch;width:100%}.ov-step.current .ov-step__actions>*{flex:1;justify-content:center}}@media (prefers-reduced-motion:reduce){.ov-start__bar i{transition:none}}.spc-intro{max-width:64ch;color:var(--muted);margin:0 0 20px;line-height:1.5}.spc-group+.spc-group{margin-top:24px}.spc-group__head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:6px;display:flex}.spc-group__head h3{font-size:var(--fs-h2);color:var(--heading);margin:0;font-weight:600}.spc-count{color:var(--muted);font-weight:400}.spc-table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%}.spc-table th,.spc-table td{border-bottom:1px solid var(--line);text-align:left;vertical-align:middle;padding:6px 12px 6px 0}.spc-table thead th{font-size:var(--fs-small);color:var(--muted);padding-top:0;font-weight:500}.spc-table tbody th{color:var(--heading);white-space:nowrap;font-weight:600}.spc-table tbody th a{color:inherit;text-decoration:underline;-webkit-text-decoration-color:var(--line-strong);text-decoration-color:var(--line-strong);text-underline-offset:3px}.spc-table tbody th a:hover{color:var(--accent-text);text-decoration-color:currentColor}.spc-table tbody th a:focus-visible{box-shadow:var(--focus);border-radius:2px;outline:none}.spc-num{white-space:nowrap;width:88px;text-align:right!important}.spc-table tbody .spc-value{color:var(--danger);font-weight:600}.spc-limit{color:var(--muted)}.spc-warn{vertical-align:-2px;color:var(--warning);margin-left:4px;display:inline-flex}.spc-note{color:var(--muted)}.spc-action{white-space:nowrap;width:1%;text-align:right!important;padding-right:0!important}.spc-allow{min-height:32px;padding:0 12px}.spc-done{align-items:center;gap:12px;display:inline-flex}.spc-done__mark{color:var(--success);align-items:center;gap:6px;font-weight:500;display:inline-flex}.spc-done__mark svg{flex:none}.spc-table tr.done .spc-value{color:inherit}.spc-footnote{font-size:var(--fs-small);color:var(--muted);align-items:center;gap:6px;margin:8px 0 0;display:flex}.spc-footnote svg{color:var(--warning);flex:none}.spc-foot{justify-content:flex-end;align-items:center;gap:12px;width:100%;display:flex}.spc-left{font-size:var(--fs-small);color:var(--muted);margin-right:auto}@media (width<=560px){.spc-group__head .e-btn{min-height:40px}.spc-table thead{display:none}.spc-table th,.spc-table td{padding:8px 8px 8px 0}.spc-num{width:auto}.spc-limit:before{content:"из "}.spc-table tbody tr{border-bottom:1px solid var(--line);grid-template-columns:1fr auto auto auto;align-items:center;display:grid}.spc-table--plain tbody tr{grid-template-columns:auto 1fr auto}.spc-table tbody tr>*{border-bottom:0}.spc-allow{min-height:44px}.spc-foot{flex-wrap:wrap}.spc-left{width:100%}.spc-foot .e-btn{flex:1;justify-content:center;min-height:44px}}.spc-group__head .e-btn,.spc-foot .e-btn{white-space:nowrap;flex:none}@media (width<=560px){.spc-foot .e-btn{flex:1}}.spc-table--plain tbody th{width:1%;padding-right:24px}.e-sched{min-height:calc(100vh - var(--topbar-h));flex-wrap:wrap;align-items:stretch;display:flex}.e-sched-page{min-height:calc(100vh - var(--topbar-h));flex-direction:column;display:flex}.e-sched-page>.e-sched{flex:1;min-height:0}.e-sched__bar{border-bottom:var(--border);flex-wrap:wrap;align-items:center;gap:12px 16px;padding:12px clamp(16px,2.5vw,32px);display:flex}.e-sched__bar .e-seg{min-width:300px}.e-sched__meta{color:var(--subtle);font-size:var(--fs-small)}.e-sched__bar .e-head__actions{margin-left:auto}.e-sched__side{flex:1 1 var(--sidebar-w);box-sizing:border-box;border-right:var(--border);flex-direction:column;gap:12px;max-width:100%;padding:16px 12px;display:flex}.e-seg{border-radius:var(--radius);background:var(--surface-3);grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;padding:3px;display:grid}.e-seg button{color:var(--muted);font:inherit;border-radius:var(--radius-sm);cursor:pointer;background:0 0;border:0;min-height:40px;font-size:13px;font-weight:500;transition:background-color .15s ease-out,color .15s ease-out}.e-seg button.active{background:var(--surface);color:var(--heading);box-shadow:var(--shadow-soft)}.e-search{border:var(--border-strong);border-radius:var(--radius);min-height:36px;color:var(--subtle);align-items:center;gap:8px;padding:0 10px;display:flex}.e-search input{font:inherit;width:100%;color:var(--text);background:0 0;border:0;outline:0}.e-search:focus-within{box-shadow:var(--focus);border-color:var(--accent)}.e-list{flex-direction:column;gap:1px;max-height:calc(100vh - 220px);display:flex;overflow-y:auto}.e-list__group{text-transform:uppercase;letter-spacing:.06em;color:var(--subtle);padding:10px 10px 4px;font-size:11px}.e-list__item{border-radius:var(--radius-sm);min-height:40px;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;justify-content:space-between;align-items:center;padding:0 10px;transition:background-color .15s ease-out,color .15s ease-out;display:flex}.e-list__item:hover{background:var(--hover)}.e-list__item.active{background:var(--accent-soft);color:var(--accent-text);font-weight:600}.e-list__meta{font-size:var(--fs-small);color:#8a909b}.e-sched__main{box-sizing:border-box;flex-direction:column;flex:999 640px;gap:16px;min-width:0;padding:20px clamp(16px,2.5vw,32px) 40px;display:flex}.e-sched__head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.e-sched__title{flex-wrap:wrap;align-items:baseline;gap:12px;display:flex}.e-sched__title h1{color:var(--heading);margin:0;font-size:20px;font-weight:700}.e-sched__title span{color:var(--subtle)}.e-grid-wrap{border:var(--border);border-radius:var(--radius-lg);overflow-x:auto}.e-grid{border-collapse:collapse;table-layout:fixed;width:100%;min-width:720px}.e-grid th{border-bottom:var(--border);background:var(--surface-2);text-align:left;padding:8px 12px;font-size:13px;font-weight:600}.e-grid th+th,.e-grid td+td{border-left:1px solid var(--line-soft)}.e-grid th small{color:#8a909b;margin-left:4px;font-weight:400}.e-grid th.e-grid__num{width:72px}.e-grid td{border-bottom:1px solid var(--line-soft);vertical-align:top;padding:8px 12px}.e-grid tr:last-child td{border-bottom:0}.e-grid__n{font-weight:600}.e-grid__time{color:#8a909b;font-size:11px}.e-grid td.off{background:var(--surface-2)}.e-grid td.gap{background:#fffbf2}.e-grid__gap{font-size:var(--fs-small);color:#9a6a10}.e-lesson__subject{white-space:nowrap;text-overflow:ellipsis;align-items:center;gap:6px;font-weight:500;display:flex;overflow:hidden}.e-lesson__dot{border-radius:2px;flex:none;width:8px;height:8px}.e-lesson__meta{font-size:var(--fs-small);color:var(--subtle);white-space:nowrap;text-overflow:ellipsis;padding-left:14px;overflow:hidden}.e-legend{color:var(--muted);font-size:var(--fs-small);flex-wrap:wrap;gap:6px 16px;display:flex}.e-legend span{align-items:center;gap:6px;display:inline-flex}@media (width<=720px){.e-sched__side{border-right:0;border-bottom:var(--border)}.e-list{flex-flow:wrap;max-height:none}.e-list__group{width:100%}.e-list__meta{display:none}.e-sched__bar .e-seg{flex:100%;min-width:0}.e-sched__bar .e-seg button,.e-list__item,.e-search{min-height:44px}.e-sched__bar .e-head__actions{margin-left:0}}.sv{flex-direction:column;gap:8px;display:flex}.sv__shift{color:var(--heading);margin:0;font-size:15px;font-weight:600}.sv__wrap{border:var(--border);border-radius:var(--radius-lg);max-height:calc(100vh - 220px);overflow:auto}.sv__table{border-collapse:separate;border-spacing:0;font-variant-numeric:tabular-nums;font-size:12px}.sv__table th,.sv__table td{text-align:center;white-space:nowrap;border-bottom:1px solid var(--line-soft);border-right:1px solid var(--line-soft);min-width:26px;padding:3px 4px}.sv__table thead th{background:var(--surface-2);color:var(--muted);z-index:1;font-weight:600;position:sticky}.sv__table thead tr:first-child th{color:var(--heading);top:0}.sv__table thead th{box-sizing:border-box;height:24px}.sv__table thead tr:nth-child(2) th{font-weight:500;top:24px}.sv__table .sv__name{z-index:2;background:var(--surface);text-align:left;color:var(--heading);min-width:140px;font-weight:500;position:sticky;left:0}.sv__table thead .sv__name{z-index:3;background:var(--surface-2)}.sv__table .sv__room{color:var(--subtle);border-right:1px solid var(--line-strong);min-width:34px}.sv__table .sv__day{border-right:1px solid var(--line-strong)}.sv__table tbody tr:hover td,.sv__table tbody tr:hover th{background:var(--hover)}.sv__table tbody tr.sv__first>*{border-top:1px solid var(--line-strong)}@media print{.e-header,.e-subtabs,.e-sched__side,.e-sched__bar,.e-sched__head .e-head__actions,.e-banner{display:none!important}.sv__wrap{border:0;max-height:none;overflow:visible}.sv__table{width:100%;font-size:7.5px;line-height:1.15}.sv__table th,.sv__table td{min-width:0;height:auto;padding:0 1px;border-color:#888!important}.sv__table .sv__name{min-width:0;position:static}.sv__table thead th{position:static}.sv__table tr{break-inside:avoid}.sv__table thead{display:table-header-group}.e-grid-wrap{border:0;overflow:visible}.e-grid{min-width:0}}.e-grid td.mv-td{height:1px;padding:0}.mv-cell{box-sizing:border-box;width:100%;height:100%;min-height:52px;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:8px 12px;display:block}.mv-cell.mv-grab{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}.mv-ghost{z-index:70;border-radius:var(--radius);background:var(--e-nav-active-bg);color:#fff;white-space:nowrap;text-overflow:ellipsis;max-width:220px;box-shadow:var(--shadow);pointer-events:none;padding:6px 10px;font-weight:600;position:fixed;overflow:hidden;transform:translate(12px,12px)}body:has(.mv-ghost){cursor:grabbing}.mv-cell:focus-visible{outline:2px solid var(--brand);outline-offset:-2px}.mv-td.mv-idle .mv-cell:hover{background:var(--hover)}.mv-td.mv-src{background:var(--e-nav-active-bg)}.mv-td.mv-src .mv-cell,.mv-td.mv-src .e-lesson__meta,.mv-td.mv-src .e-grid__time{color:#fff}.mv-td.mv-ok{background:var(--accent-soft);box-shadow:inset 0 0 0 1px var(--accent-line)}.mv-td.mv-warn{background:var(--warning-soft);box-shadow:inset 0 0 0 1px #ecd59c}.mv-td.mv-bad{background:repeating-linear-gradient(135deg, var(--surface-2) 0 6px, #f3e3e2 6px 8px)}.mv-td.mv-bad .mv-cell{cursor:not-allowed;opacity:.55}.mv-td.mv-wait .mv-cell{opacity:.6;cursor:progress}.mv-td.mv-ok .mv-cell:hover,.mv-td.mv-over{box-shadow:inset 0 0 0 2px var(--brand);background:#d4eadf}.mv-td.mv-warn .mv-cell:hover,.mv-td.mv-warn.mv-over{box-shadow:inset 0 0 0 2px #c99a2e}.mv-bar{box-sizing:border-box;border:var(--border);border-radius:var(--radius);background:var(--surface-2);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;min-height:64px;padding:10px 14px;display:flex}.mv-bar.quiet{background:0 0;border-style:dashed}.mv-bar.active{border-color:var(--accent-line);background:var(--accent-soft)}.mv-bar__text{flex-direction:column;flex:320px;gap:2px;min-width:0;display:flex}.mv-bar__text b{color:var(--heading);font-weight:600}.mv-bar__text span{color:var(--muted)}.mv-bar.active .mv-bar__text b,.mv-bar.active .mv-bar__text span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mv-note{font-size:var(--fs-small);color:var(--subtle);margin:0}.mv-li{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);min-height:48px}.mv-li.mv-src{background:var(--e-nav-active-bg);color:#fff}.mv-li.mv-src .e-lesson__meta{color:#ffffffbf}.mv-li.mv-ok{background:var(--accent-soft);border-color:var(--accent-line)}.mv-li.mv-warn{background:var(--warning-soft);border-color:#ecd59c}.mv-li.mv-bad{opacity:.6;cursor:not-allowed}.mv-li__why{font-size:var(--fs-small);color:var(--danger);margin-top:2px;display:block}@media (width<=720px){.mv-bar{min-height:0}}@media print{.mv-bar,.mv-note{display:none!important}.mv-td{box-shadow:none!important;background:0 0!important}}.e-grid:has(.mv-td){-webkit-user-select:none;user-select:none}.mv-cell{position:relative}.mv-pin{color:var(--accent-text);display:inline-flex;position:absolute;top:6px;right:6px}.mv-td.mv-src .mv-pin,.mv-li.mv-src .mv-pin{color:#fff}.mv-bar__actions{flex-wrap:wrap;gap:8px;display:flex}.mv-bar__actions .e-btn{min-height:36px}.mv-cell:has(.mv-pin){padding-right:24px}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.subj{font-size:var(--fs-base);grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);align-items:start;gap:16px;display:grid}.subj-col{background:var(--surface);border:var(--border);border-radius:var(--radius-lg);flex-direction:column;gap:12px;min-width:0;padding:16px;display:flex}.subj-col--mine{top:calc(var(--topbar-h) + 16px);max-height:calc(100vh - var(--topbar-h) - 32px);position:sticky;overflow:auto}.subj-col__head{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px;display:flex}.subj-search{min-height:var(--control-h);font-size:var(--fs-base)}.subj-group{flex-direction:column;gap:8px;display:flex}.subj-group__head{font-size:var(--fs-small);color:var(--subtle);text-transform:uppercase;letter-spacing:.04em;justify-content:space-between;align-items:center;display:flex}.subj-link{font:inherit;text-transform:none;letter-spacing:0;color:var(--accent-text);cursor:pointer;background:0 0;border:0;padding:4px 0}.subj-link:hover{text-decoration:underline}.subj-chips{flex-wrap:wrap;gap:6px;display:flex}.subj-chip{border-radius:var(--radius-pill);border:1px solid var(--line-strong);background:var(--surface);min-height:34px;color:var(--heading);font:inherit;text-align:left;cursor:pointer;align-items:center;gap:5px;padding:0 12px 0 9px;transition:background .15s,border-color .15s,color .15s;display:inline-flex}.subj-chip svg{color:var(--subtle);flex:none}.subj-chip:hover:not(:disabled){border-color:var(--brand);background:var(--hover)}.subj-chip.on{background:var(--accent-soft);border-color:var(--accent-line);color:var(--accent-text);font-weight:500}.subj-chip.on svg{color:var(--accent-text)}.subj-chip.on:hover:not(:disabled){background:var(--danger-soft);color:var(--danger);border-color:#efb3b0}.subj-chip.on:hover:not(:disabled) svg{color:var(--danger)}.subj-chip.custom{border-style:dashed;border-color:var(--brand);color:var(--accent-text);align-self:flex-start}.subj-chip:disabled{opacity:.55;cursor:progress}.subj-chip:focus-visible,.subj-x:focus-visible{box-shadow:var(--focus);outline:none}.subj-muted{color:var(--muted);font-size:var(--fs-small)}.subj-excel{border-top:1px solid var(--line-soft);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding-top:12px;display:flex}.subj-excel .btn{min-height:36px;font-size:var(--fs-base);padding:0 12px}.subj-summary{flex-wrap:wrap;gap:4px;display:flex}.subj-level{font-size:var(--fs-small);background:var(--surface-3);color:var(--muted);border-radius:4px;padding:2px 8px}.subj-level b{color:var(--heading);font-weight:600}.subj-table{border-collapse:collapse;width:100%}.subj-table th,.subj-table td{border-bottom:1px solid var(--line-soft);text-align:left;vertical-align:middle;padding:6px 8px}.subj-table thead th{font-size:var(--fs-small);color:var(--subtle);border-bottom-color:var(--line);font-weight:500}.subj-table tbody th{color:var(--heading);font-weight:500}.subj-table tbody tr:hover{background:var(--surface-2)}.subj-table tr.busy{opacity:.5}.subj-table__x{text-align:right;width:1%}.lvl{align-items:center;gap:10px;display:flex}.lvl__bars{align-items:flex-end;display:inline-flex}.lvl__bar{border-radius:var(--radius-sm);cursor:pointer;background:0 0;border:0;align-items:flex-end;width:20px;height:36px;padding:0 3px 8px;display:inline-flex}.lvl__bar span{background:var(--line-strong);border-radius:2px;width:100%;transition:background .15s;display:block}.lvl__bar.on span{background:var(--brand)}.lvl__bars:hover .lvl__bar span{background:var(--line-strong)}.lvl__bars:hover .lvl__bar:hover span{background:var(--accent-line)}.lvl__bars:hover .lvl__bar:has(~.lvl__bar:hover) span{background:var(--accent-line)}.lvl__bars:hover .lvl__bar.on:hover span{background:var(--brand)}.lvl__bars:hover .lvl__bar.on:has(~.lvl__bar:hover) span{background:var(--brand)}.lvl__bar:focus-visible{box-shadow:var(--focus);outline:none}.lvl__bar:disabled{cursor:default}.lvl__label{min-width:96px;font-size:var(--fs-small);color:var(--muted);white-space:nowrap}.subj-x{border-radius:var(--radius-sm);width:32px;height:32px;color:var(--subtle);cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;display:inline-flex}.subj-x:hover:not(:disabled){background:var(--danger-soft);color:var(--danger)}.subj-empty{text-align:center;border:1px dashed var(--line-strong);border-radius:var(--radius);color:var(--muted);flex-direction:column;gap:4px;padding:28px 16px;display:flex}.subj-empty b{color:var(--heading)}@media (width<=900px){.subj{grid-template-columns:minmax(0,1fr)}.subj-col--mine{max-height:none;position:static}.subj-chip{min-height:44px}.lvl__bar{width:26px;height:44px}.lvl{flex-direction:column;align-items:flex-start;gap:0}.lvl__label{min-width:0;padding-left:3px}.subj-table th,.subj-table td{padding-left:4px;padding-right:4px}}.lvl-head{flex-wrap:wrap;align-items:center;gap:8px;display:inline-flex}.lvl-help-btn{border:1px solid var(--line-strong);border-radius:var(--radius-pill);background:var(--surface);color:var(--accent-text);font:inherit;font-size:var(--fs-small);cursor:pointer;padding:2px 8px;font-weight:500}.lvl-help-btn:hover{border-color:var(--brand);background:var(--hover)}.lvl-help-btn:focus-visible{box-shadow:var(--focus);outline:none}.lvl-help{border:1px solid var(--accent-line);border-radius:var(--radius);background:var(--accent-soft);flex-direction:column;gap:8px;padding:12px 14px;display:flex}.lvl-help p{margin:0}.lvl-help__head{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.lvl-help__head h3{font-size:var(--fs-base);color:var(--heading);margin:0;font-weight:600}.lvl-help__list{gap:6px;margin:2px 0;display:grid}.lvl-help__row{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:center;gap:4px 12px;display:grid}.lvl-help__row dt{align-items:center;gap:8px;min-width:0;display:flex}.lvl-help__row dt b{color:var(--heading);white-space:nowrap;font-weight:600}.lvl-help__weight{font-size:var(--fs-small);color:var(--muted);white-space:nowrap}.lvl-help__row dd{font-size:var(--fs-small);color:var(--text);margin:0}.lvl-glyph{flex:none;align-items:flex-end;gap:2px;height:14px;display:inline-flex}.lvl-glyph span{background:var(--accent-line);border-radius:1px;width:5px}.lvl-glyph span.on{background:var(--brand)}@media (width<=520px){.lvl-help__row{grid-template-columns:minmax(0,1fr)}.lvl-help__row dd{padding-left:34px}}.cls-limit{color:var(--muted);margin:8px 0 0;font-size:13px}.cls-limit.full{color:var(--warning);background:var(--warning-soft);border-radius:var(--radius);padding:8px 10px}.cls-limit a{color:inherit;text-decoration:underline}.sp-scale-cell{flex-wrap:wrap;align-items:center;gap:6px 10px;display:flex}.sp-scale{width:auto;max-width:100%}.lvl-help__effects{flex-direction:column;gap:4px;margin:0;padding-left:20px;display:flex}.pts{min-width:280px;max-width:340px}.pts__row{align-items:center;gap:10px;height:32px;display:flex}.pts__track{flex:1;align-items:center;height:28px;display:flex;position:relative}.pts__track:before{content:"";background:var(--surface-3);border-radius:2px;height:4px;position:absolute;left:0;right:0}.pts__rail{position:absolute;inset:0 9px}.pts__band{background:var(--accent-soft);border:1px solid var(--accent-line);border-radius:5px;height:10px;margin:-5px -5px 0;position:absolute;top:50%}.pts input[type=range]{appearance:none;cursor:pointer;background:0 0;width:100%;height:28px;margin:0;position:relative}.pts input[type=range]::-webkit-slider-runnable-track{background:0 0;height:4px}.pts input[type=range]::-moz-range-track{background:0 0;height:4px}.pts input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;border:2px solid var(--surface);background:var(--muted);width:18px;height:18px;box-shadow:0 0 0 1px var(--line-strong);border-radius:50%;margin-top:-7px}.pts input[type=range]::-moz-range-thumb{border:2px solid var(--surface);background:var(--muted);width:14px;height:14px;box-shadow:0 0 0 1px var(--line-strong);border-radius:50%}.pts.custom input[type=range]::-webkit-slider-thumb{background:var(--accent);box-shadow:0 0 0 1px var(--accent)}.pts.custom input[type=range]::-moz-range-thumb{background:var(--accent);box-shadow:0 0 0 1px var(--accent)}.pts input[type=range]:focus-visible{outline:none}.pts input[type=range]:focus-visible::-webkit-slider-thumb{box-shadow:var(--focus)}.pts input[type=range]:focus-visible::-moz-range-thumb{box-shadow:var(--focus)}.pts input[type=range]:disabled{cursor:default;opacity:.5}.pts__value{white-space:nowrap;text-align:right;font-variant-numeric:tabular-nums;width:52px;color:var(--heading);flex:none;font-weight:600}.pts__reset-slot{flex:none;justify-content:center;align-items:center;width:32px;height:32px;margin-left:-6px;display:flex}.pts__reset{border-radius:var(--radius-sm);width:32px;height:32px;color:var(--accent-text);cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;padding:0;display:inline-flex;position:relative}.pts__reset:after{content:"";position:absolute;inset:-4px}.pts__reset svg{display:block}.pts__reset:hover{background:var(--hover)}.pts__reset:active{transform:scale(.96)}.pts__reset:focus-visible{box-shadow:var(--focus);outline:none}.pts__reset:disabled{opacity:.5;cursor:default}@media (width<=560px){.subj-table--pts thead tr{justify-content:space-between;display:flex}.subj-table--pts tbody tr{grid-template-columns:1fr auto;align-items:center;display:grid}.subj-table--pts tbody th{grid-area:1/1}.subj-table--pts tbody td.subj-table__x{grid-area:1/2}.subj-table--pts tbody td:not(.subj-table__x){grid-area:2/1/auto/-1;padding-top:0}.pts{min-width:0;max-width:none}}.cls{grid-template-columns:minmax(240px,.75fr) minmax(0,1.6fr)}.cls .subj-col--mine{max-height:none;position:static;overflow:visible}.cls-list{flex-direction:column;gap:2px;display:flex}.cls-item{border-radius:var(--radius);min-height:40px;color:var(--heading);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:28px minmax(0,1fr) auto;grid-template-areas:"letter meter hours";align-items:center;gap:10px;padding:0 10px;display:grid}.cls-item b{grid-area:letter;font-weight:600}.cls-item__name{display:none}.cls-item .cls-meter{grid-area:meter}.cls-item__hours{text-align:right;min-width:48px;font-size:var(--fs-small);color:var(--muted);white-space:nowrap;grid-area:hours}.cls-item:hover{background:var(--hover)}.cls-item.active{background:var(--e-nav-active-bg);color:var(--e-nav-active-fg)}.cls-item.active .cls-item__hours{color:#ffffffbf}.cls-item.active .cls-meter{background:#fff3}.cls-item.active .cls-meter span{background:#fff}.cls-item.over .cls-item__hours{color:var(--danger);font-weight:500}.cls-item.active.over .cls-item__hours{color:#ffb4ae}.cls-item:focus-visible,.cls-stepper button:focus-visible,.cls-teacher:focus-visible,.cls-seg button:focus-visible{box-shadow:var(--focus);outline:none}.cls-meter{background:var(--surface-3);border-radius:3px;height:6px;display:block;overflow:hidden}.cls-meter span{background:var(--brand);border-radius:3px;height:100%;display:block}.cls-meter.over span{background:var(--danger)}.cls-detail{scroll-margin-top:calc(var(--topbar-h) + 56px)}.cls-add{gap:8px;display:flex}.cls-add .input{flex:1;min-width:0}.cls-title{font-size:var(--fs-h1)}.cls-head-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.cls-danger{color:var(--muted)}.cls-danger:hover{background:var(--danger-soft);color:var(--danger)}.cls-seg{border-radius:var(--radius-pill);background:var(--surface-3);gap:2px;padding:3px;display:inline-flex}.cls-seg button{border-radius:var(--radius-pill);min-height:30px;color:var(--muted);font:inherit;font-size:var(--fs-small);cursor:pointer;background:0 0;border:0;padding:0 12px}.cls-seg button.active{background:var(--surface);color:var(--heading);box-shadow:var(--shadow-soft);font-weight:600}.cls-week{flex-direction:column;gap:6px;display:flex}.cls-week__text b{color:var(--heading);font-weight:600}.cls-week.over .cls-week__text,.cls-week.over .cls-week__text b{color:var(--danger)}.cls-copy{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:8px;display:flex}.cls-table th:nth-child(2),.cls-table td:nth-child(2){white-space:nowrap;width:1%}.cls-warn{font-size:var(--fs-small);color:var(--warning);font-weight:400}.cls-stepper{border:1px solid var(--line-strong);border-radius:var(--radius);background:var(--surface);align-items:center;display:inline-flex}.cls-stepper button{border-radius:var(--radius);width:32px;height:32px;color:var(--muted);cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;display:inline-flex}.cls-stepper button:hover:not(:disabled){background:var(--hover);color:var(--heading)}.cls-stepper button:disabled{opacity:.35;cursor:default}.cls-stepper output{text-align:center;min-width:24px;color:var(--heading);font-weight:600}.cls-teacher{border-radius:var(--radius-sm);width:100%;max-width:240px;min-height:32px;color:var(--heading);font:inherit;cursor:pointer;background-color:#0000;border:1px solid #0000;padding:0 8px}.cls-teacher:hover{border-color:var(--line-strong);background-color:var(--surface)}.cls-teacher.cls-group{width:auto}.cls-table .cls-split-head>*,.cls-table .cls-subrow:not(.last)>*{border-bottom:0}.cls-table .cls-subrow>*{padding-top:2px;padding-bottom:2px}.cls-table .cls-subrow th{color:var(--muted);padding-left:16px;font-weight:400}.cls-teacher.auto{color:var(--subtle)}@media (width<=900px){.cls{grid-template-columns:minmax(0,1fr)}.cls-list{flex-flow:wrap;gap:6px}.cls-item{border:1px solid var(--line-strong);grid-template-columns:auto auto;grid-template-areas:"letter hours""meter meter";gap:4px 8px;min-height:48px;padding:6px 12px}.cls-item b{display:none}.cls-item__name{grid-area:letter;font-weight:600;display:block}.cls-item__hours{min-width:0}.cls-stepper button{width:44px;height:44px}.cls-seg button{min-height:44px}.cls-table thead{display:none}.cls-table tbody tr{border-bottom:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto 44px;grid-template-areas:"name hours x""teacher teacher teacher""split split split";align-items:center;padding:4px 0;display:grid}.cls-table tbody th,.cls-table tbody td{border-bottom:0;padding-top:2px;padding-bottom:2px}.cls-table tbody th{grid-area:name}.cls-table tbody td:nth-child(2){grid-area:hours;width:auto}.cls-table tbody td:nth-child(3){grid-area:teacher}.cls-table tbody td:nth-child(4){grid-area:split}.cls-table tbody td:nth-child(5){grid-area:x;width:auto}.cls-table tbody td:nth-child(-n+4):empty{display:none}.cls-teacher{border-color:var(--line);max-width:none;min-height:44px}}.tch-list{flex-direction:column;gap:2px;display:flex}.tch-item{border-radius:var(--radius);color:var(--heading);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"name hours""meta hours";align-items:center;column-gap:10px;padding:7px 10px;display:grid}.tch-item__name{grid-area:name;font-weight:500}.tch-item__meta{font-size:var(--fs-small);color:var(--muted);white-space:nowrap;text-overflow:ellipsis;grid-area:meta;overflow:hidden}.tch-item__hours{font-size:var(--fs-small);color:var(--muted);white-space:nowrap;grid-area:hours}.tch-item:hover{background:var(--hover)}.tch-item.warn .tch-item__meta{color:var(--warning)}.tch-item.active{background:var(--e-nav-active-bg);color:var(--e-nav-active-fg)}.tch-item.active .tch-item__meta,.tch-item.active .tch-item__hours{color:#ffffffbf}.tch-item.active.warn .tch-item__meta{color:#f6d48b}.tch-item:focus-visible,.tch-name:focus-visible,.tch-cell:focus-visible,.tch-grid__day:focus-visible{box-shadow:var(--focus);outline:none}.tch-uncovered{border-radius:var(--radius);background:var(--warning-soft);color:#5e3f08;font-size:var(--fs-small);margin:0;padding:8px 10px}.tch-uncovered b{font-weight:600}.tch-name{color:inherit;font:inherit;text-align:left;cursor:text;background:0 0;border:0;border-bottom:1px dashed #0000;padding:0}.tch-name:hover{border-bottom-color:var(--line-strong)}.tch-rename{flex:1}.tch-summary b{color:var(--heading);font-weight:600}.tch-table td.tch-classes{font-size:var(--fs-small);color:var(--text)}.tch-table .cls-teacher{max-width:200px}.tch-busy{border-top:1px solid var(--line-soft);flex-direction:column;gap:8px;padding-top:12px;display:flex}.tch-busy .e-section-title{font-size:var(--fs-h2)}.tch-busy__hint{margin:0}.tch-grid{gap:3px;max-width:520px;display:grid}.tch-grid__day{border-radius:var(--radius-sm);min-height:28px;color:var(--muted);font:inherit;font-size:var(--fs-small);cursor:pointer;background:0 0;border:0;font-weight:600}.tch-grid__day:hover{background:var(--hover);color:var(--heading)}.tch-grid__lesson{font-size:var(--fs-small);color:var(--subtle);justify-content:center;align-items:center;display:flex}.tch-cell{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);height:30px;color:var(--danger);font:inherit;cursor:pointer;font-size:11px}.tch-cell:hover{border-color:var(--line-strong);background:var(--hover)}.tch-cell.busy{background:repeating-linear-gradient(135deg, var(--danger-soft) 0 6px, #f9dcda 6px 9px);border-color:#efb3b0}@media (width<=900px){.tch-cell{height:44px}.tch-grid__day{min-height:44px}.tch-table thead{display:none}.tch-table tbody tr{border-bottom:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"name x""room room""cls cls";padding:4px 0;display:grid}.tch-table tbody th,.tch-table tbody td{border-bottom:0;padding-top:2px;padding-bottom:2px}.tch-table tbody th{grid-area:name}.tch-table tbody td:nth-child(2){grid-area:room}.tch-table tbody td:nth-child(3){grid-area:cls}.tch-table tbody td:nth-child(4){grid-area:x;width:auto}.tch-table .cls-teacher{border-color:var(--line);max-width:none;min-height:44px}}.rms-intro{margin:0}.rms-room{border:1px solid var(--line-strong);border-radius:var(--radius-pill);background:var(--surface-2);min-height:34px;color:var(--heading);align-items:center;gap:2px;padding:0 4px 0 12px;font-weight:500;display:inline-flex}.rms-room button{width:26px;height:26px;color:var(--subtle);cursor:pointer;background:0 0;border:0;border-radius:50%;justify-content:center;align-items:center;display:inline-flex}.rms-room button:hover{background:var(--danger-soft);color:var(--danger)}.rms-room button:focus-visible{box-shadow:var(--focus);outline:none}.rms-subjects{border-top:1px solid var(--line-soft);padding-top:12px}.rms-elsewhere{font-size:var(--fs-small);color:var(--subtle)}@media (width<=900px){.rms-room{min-height:44px;padding-right:0}.rms-room button{width:44px;height:44px}}.rls-single{max-width:640px}.rls-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px 16px;display:flex}.rls-label{flex-direction:column;flex:200px;gap:2px;min-width:0;display:flex}.rls-label b{color:var(--heading);font-weight:600}.rls-label span{font-size:var(--fs-small);color:var(--muted)}.rls-days{gap:4px;display:inline-flex}.rls-days button{border:1px solid var(--line-strong);border-radius:var(--radius);background:var(--surface);width:36px;height:36px;color:var(--muted);font:inherit;font-size:var(--fs-small);cursor:pointer;font-weight:600}.rls-days button.on{border-color:var(--brand);background:var(--brand);color:#fff}.rls-days button:hover:not(.on){border-color:var(--brand);color:var(--heading)}.rls-days button:focus-visible,.rls-toggle input:focus-visible{box-shadow:var(--focus);outline:none}.rls-output.wide{min-width:112px;font-weight:500;font-size:var(--fs-small)}.rls-teachers{border-top:1px solid var(--line-soft);gap:14px;padding-top:12px}.rls-toggle{cursor:pointer}.rls-toggle input{appearance:none;border-radius:var(--radius-pill);background:var(--line-strong);cursor:pointer;flex:none;width:40px;height:24px;margin:0;transition:background .15s;position:relative}.rls-toggle input:after{content:"";width:18px;height:18px;box-shadow:var(--shadow-soft);background:#fff;border-radius:50%;transition:transform .15s;position:absolute;top:3px;left:3px}.rls-toggle input:checked{background:var(--brand)}.rls-toggle input:checked:after{transform:translate(16px)}@media (width<=900px){.rls{grid-template-columns:minmax(0,1fr)}.rls-days button{width:44px;height:44px}}@media (width<=420px){.rls-days{gap:3px}.rls-days button{width:44px}}.sp-page{flex-direction:column;gap:28px;max-width:960px;display:flex}.sp-grid{border-collapse:separate;border-spacing:0;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);width:100%;overflow:hidden}.sp-group__title{caption-side:top;text-align:left;font-size:var(--fs-h2);color:var(--heading);padding:0 0 10px;font-weight:600}.sp-grid__mode-col{width:1%}.sp-row>th,.sp-row>td{vertical-align:middle;border-top:1px solid var(--line);padding:8px 16px}.sp-grid>tbody>tr:first-child>th,.sp-grid>tbody>tr:first-child>td{border-top:0}.sp-row.open>th,.sp-row.open>td{background:var(--surface-2,var(--surface))}.sp-row__name{text-align:left;font-weight:400}.sp-row__mode{white-space:nowrap}.sp-row__toggle{min-height:36px;font:inherit;color:var(--heading);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:0;font-weight:500;display:inline-flex}.sp-row__toggle:hover{color:var(--accent)}.sp-row__toggle:focus-visible{box-shadow:var(--focus);border-radius:var(--radius-sm);outline:none}.sp-row__chevron{border-right:1.5px solid var(--muted);border-bottom:1.5px solid var(--muted);flex:none;width:6px;height:6px;transition:transform .15s ease-out;transform:translateY(-2px)rotate(45deg)}.sp-row.open .sp-row__chevron{transform:translateY(1px)rotate(-135deg)}@media (prefers-reduced-motion:reduce){.sp-row__chevron{transition:none}}.sp-row__note{font-size:var(--fs-small);color:var(--muted);margin-bottom:4px;display:block}.sp-except{flex-wrap:wrap;align-items:center;gap:2px 10px;display:flex}.sp-except__item{color:var(--heading);align-items:center;gap:2px;display:inline-flex}.sp-except__item .subj-x{width:28px;height:28px}.sp-row__more>td{background:var(--surface-2,var(--surface));padding:0 16px 14px}.sp-details{max-width:62ch;font-size:var(--fs-base);color:var(--muted);flex-direction:column;gap:10px;line-height:1.5;display:flex}.sp-details p{margin:0}.sp-chip{min-height:32px;font-size:var(--fs-small);padding:0 10px}.sp-table{border-collapse:collapse;width:auto;font-size:var(--fs-small);font-variant-numeric:tabular-nums}.sp-table th,.sp-table td{text-align:left;border-bottom:1px solid var(--line);padding:5px 16px 5px 0}.sp-table thead th{color:var(--heading);font-weight:600}.sp-table tbody th{color:var(--heading);font-weight:500}.sp-table td{color:var(--heading)}.sp-dbl{max-width:100%;overflow-x:auto}.sp-dbl__caption{text-align:left;color:var(--heading);padding-bottom:6px;font-weight:600}.sp-dbl__table th.sp-dbl__grade,.sp-dbl__cell{text-align:center;min-width:40px;padding:0}.sp-dbl__cell input{width:18px;height:18px;accent-color:var(--accent);cursor:pointer;margin:8px}.sp-dbl__head{font:inherit;color:inherit;text-align:inherit;cursor:pointer;background:0 0;border:0;padding:4px 0}.sp-dbl__grade .sp-dbl__head{width:100%;padding:4px 8px}.sp-dbl__head:hover{color:var(--accent-text)}.sp-group__head{justify-content:space-between;align-items:center;gap:12px;padding-bottom:10px;display:flex}.sp-group__head .sp-group__title{margin:0;padding:0}.sp-group__head .e-btn{align-items:center;gap:6px;display:inline-flex}.sp-empty{border:1px dashed var(--line);border-radius:var(--radius-sm);max-width:72ch;font-size:var(--fs-base);color:var(--muted);margin:0;padding:14px 16px;line-height:1.5}.sp-row__draft>td{border-top:1px solid var(--line);padding-top:14px}.sp-grid>tbody>tr.sp-row__draft:first-child>td{border-top:0}.sp-rule{color:var(--heading);font-size:var(--fs-base);flex-direction:column;gap:14px;display:flex}.sp-rule__sentence{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.sp-rule__field{border:0;min-width:0;margin:0;padding:0}.sp-rule__field legend{font-size:var(--fs-small);color:var(--muted);padding:0 0 6px}.sp-rule__field .form-error{margin:6px 0 0}.sp-rule__warn{border-radius:var(--radius-sm);background:var(--warning-soft);max-width:72ch;color:var(--warning);font-size:var(--fs-small);margin:0;padding:8px 12px;line-height:1.45}.sp-rule__actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.sp-rule__delete{margin-left:auto}@media (width<=720px){.sp-grid,.sp-grid>tbody,.sp-row,.sp-row>th,.sp-row>td,.sp-row__more,.sp-row__more>td{width:100%;display:block}.sp-grid>colgroup{display:none}.sp-group__title{display:block}.sp-row>th{padding:10px 14px 6px}.sp-row__toggle{min-height:44px}.sp-row>td{border-top:0;padding:0 14px 12px}.sp-row__more>td{padding:0 14px 14px}.sp-chip{min-height:44px}.sp-dbl__cell input{width:22px;height:22px;margin:9px 6px}.sp-row__mode .cls-seg{width:100%}.sp-row__mode .cls-seg button{flex:1;min-height:44px;padding:0 6px}.sp-row__draft>td{padding:14px}.sp-rule__actions .e-btn{min-height:44px}.sp-rule__delete{margin-left:0}}[data-tour-active]{z-index:41;outline:2px solid var(--brand);outline-offset:3px;border-radius:var(--radius-pill);position:relative}.e-subtab[data-tour-active]{border-radius:var(--radius);outline-offset:-2px}.e-subtabs[data-tour-active]{border-radius:var(--radius);outline-offset:-3px}.tour-card{z-index:60;box-sizing:border-box;border:1px solid var(--line-strong);border-radius:var(--radius-lg);background:var(--surface);width:min(320px,100vw - 32px);box-shadow:var(--shadow);color:var(--text);font-size:var(--fs-base);flex-direction:column;gap:8px;padding:16px;animation:.18s ease-out tour-in;display:flex;position:fixed}.tour-card:focus{outline:none}.tour-card:focus-visible{box-shadow:var(--shadow), var(--focus)}@keyframes tour-in{0%{opacity:0;transform:translateY(4px)}}@media (prefers-reduced-motion:reduce){.tour-card{animation:none}}.tour-card__arrow{background:var(--surface);border-top:1px solid var(--line-strong);border-left:1px solid var(--line-strong);width:12px;height:12px;margin-left:-6px;position:absolute;top:-7px;transform:rotate(45deg)}.tour-card__head{justify-content:space-between;align-items:center;gap:8px;display:flex}.tour-card__step{font-size:var(--fs-small);color:var(--subtle)}.tour-card__close{border-radius:var(--radius-sm);width:28px;height:28px;color:var(--subtle);cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;margin:-6px -6px -6px 0;display:inline-flex}.tour-card__close:hover{background:var(--hover);color:var(--heading)}.tour-card__title{font-size:var(--fs-h2);color:var(--heading);margin:0;font-weight:700;line-height:1.3}.tour-card__text{color:var(--muted);margin:0}.tour-card__status{font-size:var(--fs-small);color:var(--accent-text);align-items:center;gap:6px;margin:0;font-weight:500;display:inline-flex}.tour-card__dots{gap:4px;margin-top:4px;display:flex}.tour-card__dots span{background:var(--line);border-radius:2px;flex:1;height:3px}.tour-card__dots span.past{background:var(--accent-line)}.tour-card__dots span.on{background:var(--brand)}.tour-card__actions{align-items:center;gap:8px;margin-top:4px;display:flex}.tour-card__actions .e-btn{min-height:36px}.tour-card__spacer{flex:1}.tour-backdrop{z-index:60;background:#1a223373;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.tour-card.welcome{gap:10px;width:min(480px,100%);padding:24px;position:relative}.tour-card.welcome .tour-card__title{font-size:var(--fs-h1)}.tour-card.welcome .tour-card__actions{flex-wrap:wrap;margin-top:8px}.tour-card.sheet{width:auto;inset:auto 8px 8px}.tour-pill{z-index:60;box-sizing:border-box;border:1px solid var(--line-strong);border-radius:var(--radius-pill);background:var(--surface);max-width:calc(100vw - 32px);box-shadow:var(--shadow);align-items:center;gap:8px;padding:6px 8px 6px 6px;animation:.18s ease-out tour-in;display:flex;position:fixed;bottom:16px;left:16px}.tour-pill__open{border-radius:var(--radius-pill);min-width:0;min-height:36px;color:var(--heading);font:inherit;cursor:pointer;white-space:nowrap;background:0 0;border:0;align-items:center;gap:8px;padding:0 10px;display:flex}.tour-pill__open:hover{background:var(--hover)}.tour-pill__open b{text-overflow:ellipsis;font-weight:600;overflow:hidden}.tour-pill__open svg{color:var(--accent-text);flex:none}.tour-pill .e-btn{border-radius:var(--radius-pill);min-height:36px}.tour-pill .tour-card__close{margin:0}.tour-pill__open:focus-visible,.tour-card__close:focus-visible{box-shadow:var(--focus);outline:none}@media (prefers-reduced-motion:reduce){.tour-pill{animation:none}}.e-help{border:1px solid var(--line-strong);width:44px;min-height:44px;color:var(--muted);border-radius:50%;justify-content:center;padding:0;font-weight:700}.e-help:hover{color:var(--heading)}.subs-page{flex-direction:column;gap:16px;display:flex}.subs-week{align-items:center;gap:4px;display:flex}.subs-week__days{border-radius:var(--radius);background:var(--surface-3);scrollbar-width:none;gap:4px;padding:3px;display:flex;overflow-x:auto}.subs-week__arrow{min-width:40px;color:var(--muted);justify-content:center;padding:0}.subs-week[aria-busy=true] .subs-week__days{opacity:.6;transition:opacity .15s}.subs-day{border-radius:var(--radius-sm);min-width:64px;min-height:44px;font:inherit;color:var(--muted);cursor:pointer;white-space:nowrap;background:0 0;border:0;justify-content:center;align-items:center;gap:6px;padding:0 12px;font-size:14px;transition:background-color .15s ease-out,color .15s ease-out;display:inline-flex;position:relative}.subs-day:hover{color:var(--heading)}.subs-day:focus-visible{box-shadow:var(--focus);outline:none}.subs-day.active{background:var(--surface);color:var(--heading);box-shadow:var(--shadow-soft);font-weight:600}.subs-day__num{font-variant-numeric:tabular-nums}.subs-day__today{background:var(--accent);border-radius:50%;width:4px;height:4px;margin-left:-2px;position:absolute;bottom:3px;left:50%}.subs-day__state{border-radius:var(--radius-pill);justify-content:center;align-items:center;min-width:18px;height:18px;padding:0 5px;font-size:11px;font-weight:700;display:inline-flex}.subs-day__state.warn{background:var(--warning-soft);color:var(--warning)}.subs-day__state.ok{color:var(--success);padding:0}.subs-groups{flex-direction:column;gap:20px;min-width:0;display:flex}.subs-group__head{border-bottom:var(--border-strong);align-items:center;gap:4px;padding-bottom:6px;display:flex}.subs-group__who{flex-wrap:wrap;flex:auto;align-items:baseline;gap:8px;min-width:0;display:flex}.subs-group__who h2{font-size:var(--fs-h2);color:var(--heading);margin:0;font-weight:600}.subs-group__meta{color:var(--subtle);font-size:13px}.subs-group__count{color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap;align-items:center;gap:4px;margin-right:6px;font-size:13px;display:inline-flex}.subs-group__count.done{color:var(--success)}.subs-group__btn{width:44px;height:44px;color:var(--subtle);background:0 0;border-color:#0000}.subs-group__btn:hover{background:var(--hover);color:var(--heading)}.subs-group__btn.danger:hover{background:var(--danger-soft);color:var(--danger);border-color:#0000}.subs-group__btn:focus-visible{box-shadow:var(--focus);outline:none}.subs-group__empty{color:var(--subtle);margin:0;padding:12px 10px;font-size:14px}.subs-cand__tags .e-tag{letter-spacing:0;padding:2px 8px;font-size:12px;font-weight:500}.subs-stale{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.subs{grid-template-columns:minmax(0,1fr) minmax(320px,380px);align-items:start;gap:32px;display:grid}.subs-need{border:0;border-bottom:1px solid var(--line-soft);width:100%;min-height:44px;font:inherit;color:var(--text);text-align:left;cursor:pointer;background:0 0;border-radius:0;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:12px;padding:0 10px;display:grid}.subs-need:hover{background:var(--hover)}.subs-need:focus-visible{box-shadow:inset var(--focus);outline:none}.subs-need.active{background:var(--accent-soft);box-shadow:inset 3px 0 0 var(--accent)}.subs-need__n{color:var(--subtle);font-variant-numeric:tabular-nums;font-size:13px}.subs-need__main{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}.subs-need__main b{color:var(--heading);margin-right:6px}.subs-need__open,.subs-need__cancel{color:var(--subtle);font-size:13px}.subs-need__who{color:var(--success);white-space:nowrap;align-items:center;gap:4px;font-size:13px;font-weight:600;display:inline-flex}.e-tag.ok{background:var(--success-soft);color:var(--success)}.subs-panel{border:var(--border);border-radius:var(--radius-lg);background:var(--surface);flex-direction:column;gap:12px;max-height:calc(100vh - 32px);padding:16px;display:flex;position:sticky;top:16px;overflow-y:auto}.subs-panel--empty{text-align:center;justify-content:center;min-height:160px}.subs-panel__head{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.subs-panel__title{font-size:var(--fs-h2);color:var(--heading);margin:0;font-weight:600}.subs-panel__sub{color:var(--muted);margin-top:2px;font-size:13px}.subs-panel__close{margin:-10px -10px 0 0;display:none}.subs-panel__foot{border-top:var(--border);padding-top:12px}.subs-current{border-radius:var(--radius);background:var(--success-soft);color:var(--success);justify-content:space-between;align-items:center;gap:8px;padding:6px 6px 6px 12px;display:flex}.subs-cands{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.subs-cand{border-bottom:1px solid var(--line-soft);justify-content:space-between;align-items:center;gap:12px;padding:10px 0;display:flex}.subs-cand:last-child{border-bottom:0}.subs-cand.current{background:var(--accent-soft);border-radius:var(--radius-sm);margin:0 -8px;padding:10px 8px}.subs-cand__info{flex-direction:column;gap:3px;min-width:0;display:flex}.subs-cand__name{color:var(--heading);font-weight:600}.subs-cand__tags{flex-wrap:wrap;gap:4px;display:flex}.subs-cand__btn{flex:none;min-height:36px;padding:0 14px}.subs-cand__done{color:var(--success);align-items:center;gap:4px;font-size:13px;font-weight:600;display:inline-flex}.subs-more{min-height:36px;color:var(--accent-text);align-self:flex-start;padding:0 8px}.subs-blocked summary{cursor:pointer;color:var(--muted);min-height:24px;padding:6px 0;font-size:13px}.subs-blocked summary:focus-visible{box-shadow:var(--focus);border-radius:var(--radius-sm);outline:none}.subs-blocked ul{margin:4px 0 0;padding:0;font-size:13px;list-style:none}.subs-blocked li{justify-content:space-between;gap:12px;padding:4px 0;display:flex}.e-btn.danger{color:var(--danger)}.e-btn.ghost.danger:hover{background:var(--danger-soft)}.e-btn.primary.danger{background:var(--danger);border-color:var(--danger);color:#fff}.e-btn.primary.danger:hover{background:#8f1e18}.subs-backdrop{display:none}.subs-form .field{margin-bottom:18px}.subs-fieldset{border:0;min-width:0;margin:0 0 18px;padding:0}.subs-fieldset legend{color:var(--text);margin-bottom:8px;padding:0;font-size:15px;font-weight:600}.subs-teachers{border:var(--border);border-radius:var(--radius-sm);flex-direction:column;max-height:220px;margin-top:6px;display:flex;overflow-y:auto}.subs-teacher{border:0;border-bottom:1px solid var(--line-soft);min-height:44px;font:inherit;text-align:left;cursor:pointer;color:var(--text);background:0 0;justify-content:space-between;align-items:center;gap:12px;padding:0 12px;display:flex}.subs-teacher:hover{background:var(--hover)}.subs-teacher:focus-visible{box-shadow:inset var(--focus);outline:none}.subs-teacher.active{background:var(--accent-soft);font-weight:600}.subs-teacher .muted{font-size:var(--fs-small);text-align:right}.subs-chosen{border:var(--border);border-radius:var(--radius-sm);background:var(--surface-2);justify-content:space-between;align-items:center;gap:8px;padding:6px 6px 6px 12px;display:flex}.subs-chips{flex-wrap:wrap;gap:6px;display:flex}.subs-chip{border:var(--border-strong);border-radius:var(--radius-pill);background:var(--surface);min-height:40px;color:var(--text);font:inherit;cursor:pointer;padding:0 14px}.subs-chip.num{min-width:44px;padding:0}.subs-chip:hover{background:var(--hover)}.subs-chip:focus-visible{box-shadow:var(--focus);outline:none}.subs-chip.active{border-color:var(--accent);background:var(--accent-soft);color:var(--accent-text);font-weight:600}.subs-dates{flex-wrap:wrap;gap:12px;margin-top:10px;display:flex}.subs-dates label{color:var(--muted);align-items:center;gap:8px;display:flex}.subs-dates .input{width:auto;padding:8px 10px;font-size:15px}.subs-partial{margin:14px 0 8px;font-size:15px}.subs-optional{color:var(--subtle);margin-left:4px;font-size:13px;font-weight:400}.subs-group__meta{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.subs-copy__hint{margin:0 0 10px;font-size:14px}.subs-copy__text{resize:vertical;font-family:inherit;font-size:14px;line-height:1.5}.toast__action{color:var(--accent-text);font:inherit;cursor:pointer;border-radius:var(--radius-sm);white-space:nowrap;background:0 0;border:0;align-self:center;padding:4px 6px;font-weight:600}.toast__action:hover{background:var(--accent-soft)}.toast__action:focus-visible{box-shadow:var(--focus);outline:none}@media (width<=900px){.subs{grid-template-columns:minmax(0,1fr)}.subs-panel--empty{display:none}.subs.panel-open .subs-backdrop{z-index:40;background:#1a223359;display:block;position:fixed;inset:0}.subs.panel-open .subs-panel{z-index:41;border-radius:var(--radius-lg) var(--radius-lg) 0 0;max-height:85vh;box-shadow:var(--shadow);padding-bottom:max(16px, env(safe-area-inset-bottom));position:fixed;inset:auto 0 0}.subs-panel__close{display:inline-flex}.subs-cand__btn{min-height:44px}.subs-week__days{flex:auto}.subs-day{flex:1 0 auto;min-width:52px;padding:0 8px}.subs-week__today{display:none}.subs-need{grid-template-columns:52px minmax(0,1fr) auto;gap:8px}.subs-need__open{display:none}}@media (prefers-reduced-motion:reduce){.subs-day,.subs-week__days{transition:none}}
