@font-face{font-family:Vazirmatn Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/vazirmatn-arabic-wght-normal-Cafbb7Zc.woff2)format("woff2-variations");unicode-range:U+6??,U+750-77F,U+870-88E,U+890-891,U+897-8E1,U+8E3-8FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1}@font-face{font-family:Vazirmatn Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/vazirmatn-latin-ext-wght-normal-tDTa1Fj6.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:Vazirmatn Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/vazirmatn-latin-wght-normal-BFexNX-K.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{--bg:#f5f7fb;--surface:#fff;--surface-soft:#f8faff;--ink:#14213d;--muted:#5f6d85;--line:#dce3ef;--primary:#243b80;--primary-strong:#17275d;--primary-soft:#eef2ff;--success:#126a55;--success-soft:#e9f8f2;--warning:#96540e;--warning-soft:#fff6e8;--danger:#a3313b;--danger-soft:#fff0f1;color:var(--ink);background:var(--bg);font-synthesis:none;font-family:Vazirmatn Variable,Vazirmatn,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{background:var(--bg);min-width:320px;color:var(--ink);margin:0;font-family:inherit}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}a{color:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}:focus-visible{outline-offset:3px;outline:3px solid #5f7eea}[dir=ltr]{text-align:left;unicode-bidi:plaintext}.skip-link{z-index:1000;color:#fff;background:var(--primary-strong);border-radius:8px;padding:10px 16px;text-decoration:none;position:fixed;top:12px;right:12px;transform:translateY(-150%)}.skip-link:focus{transform:translateY(0)}.app-shell{min-height:100vh}.topbar{border-bottom:1px solid var(--line);z-index:20;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffffff5;align-items:center;gap:28px;min-height:76px;padding:12px clamp(18px,4vw,64px);display:flex;position:sticky;top:0}.brand{align-items:center;gap:12px;margin-left:auto;text-decoration:none;display:flex}.brand-mark{color:#fff;background:var(--primary);border-radius:13px;place-items:center;width:44px;height:44px;font-size:24px;font-weight:900;display:grid;box-shadow:0 8px 24px #243b803d}.brand>span:last-child{display:grid}.brand b{font-size:22px}.brand small{color:var(--muted);font-size:11px}.topbar nav{gap:20px;display:flex}.topbar nav a,.source-link{color:#46546d;font-size:13px;font-weight:700;text-decoration:none}.topbar nav a:hover,.source-link:hover{color:var(--primary);text-decoration:underline}.source-link{border:1px solid #bfc9e6;border-radius:9px;padding:8px 12px}main{overflow:clip}.hero{background:radial-gradient(circle at 85% 12%,#4e69c41f,#0000 28rem);grid-template-columns:minmax(0,1.4fr) minmax(320px,.6fr);align-items:center;gap:38px;max-width:1480px;margin:0 auto;padding:72px clamp(18px,5vw,76px) 44px;display:grid}.eyebrow,.section-title span,.public-section header span,.card-header>div>span{color:var(--primary);letter-spacing:.02em;font-size:12px;font-weight:850}.hero h1{letter-spacing:-.035em;max-width:880px;margin:12px 0 16px;font-size:clamp(38px,5vw,68px);line-height:1.28}.hero p{max-width:820px;color:var(--muted);margin:0;font-size:17px;line-height:2}.hero-actions{flex-wrap:wrap;gap:10px;margin-top:26px;display:flex}.primary-link,.primary-small,.solve-button{color:#fff;background:var(--primary);border:0;border-radius:10px;font-weight:800;text-decoration:none}.primary-link{padding:13px 20px}.primary-link:hover,.primary-small:hover,.solve-button:hover{background:var(--primary-strong)}.secondary-button,.danger-button,.warning-button,.result-actions button,.dialog-actions button{color:var(--primary);background:#fff;border:1px solid #bfc9e6;border-radius:9px;padding:10px 14px;font-weight:750}.trust-card{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:26px;box-shadow:0 20px 60px #1a2d5b1a}.trust-card strong{font-size:18px}.trust-card ul{color:var(--muted);margin:16px 0 0;padding-right:22px;line-height:2}.stats-row{grid-template-columns:repeat(4,1fr);gap:12px;max-width:1350px;margin:0 auto 28px;padding:0 18px;display:grid}.stats-row>div{background:var(--surface);border:1px solid var(--line);border-radius:14px;justify-content:space-between;align-items:baseline;gap:10px;padding:17px 20px;display:flex}.stats-row strong{color:var(--primary);font-size:27px}.stats-row span{color:var(--muted);font-size:12px}.workflow-shell{grid-template-columns:260px minmax(0,1fr);align-items:start;gap:18px;max-width:1540px;margin:0 auto 46px;padding:0 18px;display:grid}.workflow-nav{background:var(--surface);border:1px solid var(--line);border-radius:17px;gap:8px;padding:16px;display:grid;position:sticky;top:94px;box-shadow:0 14px 40px #1a2d5b0f}.workflow-nav h2{margin:2px 4px 10px;font-size:16px}.workflow-nav>button{color:#4d5b73;text-align:right;background:0 0;border:1px solid #0000;border-radius:10px;align-items:center;gap:10px;width:100%;min-height:52px;padding:8px 10px;display:flex}.workflow-nav>button b{background:#edf0f6;border-radius:8px;place-items:center;width:30px;height:30px;display:grid}.workflow-nav>button.active{color:var(--primary);background:var(--primary-soft);border-color:#c7d1f1;font-weight:800}.workflow-nav>button.active b{color:#fff;background:var(--primary)}.workflow-import{border-top:1px solid var(--line);grid-template-columns:1fr 1fr;gap:7px;margin-top:8px;padding-top:13px;display:grid}.workflow-import button,.file-button{min-height:38px;color:var(--primary);background:#fafbff;border:1px solid #cbd3e8;border-radius:8px;place-items:center;padding:8px;font-size:11px;font-weight:800;display:grid}.file-button input{opacity:0;width:1px;height:1px;position:absolute}.workflow-content{min-width:0}.live-notice{color:#394761;background:#eef3ff;border:1px solid #d2dcf7;border-radius:10px;min-height:44px;margin-bottom:10px;padding:11px 14px;font-size:12px;line-height:1.7}.editor-panel,.result-card,.diagnostics,.penalty-card{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:clamp(18px,3vw,30px);box-shadow:0 14px 42px #1a2d5b0f}.section-title,.card-header{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:22px;display:flex}.section-title h2,.card-header h2{margin:5px 0 0;font-size:25px}.section-title p{max-width:520px;color:var(--muted);margin:0;font-size:12px;line-height:1.8}.create-row{grid-template-columns:.7fr 1fr 1.4fr auto;align-items:end;gap:10px;display:grid}label{color:#40506a;font-size:12px;font-weight:750}label>input,label>select,textarea{width:100%;min-height:42px;color:var(--ink);background:#fff;border:1px solid #cbd4e3;border-radius:8px;margin-top:7px;padding:9px 10px}.primary-small{min-height:42px;padding:9px 15px}.field-error,.hard-error{color:var(--danger)}.course-stack,.session-stack{gap:13px;margin-top:18px;display:grid}.course-card{background:var(--surface-soft);border:1px solid #d9e0ed;border-radius:14px;padding:18px}.course-heading,.box-heading{justify-content:space-between;align-items:center;gap:14px;display:flex}.course-heading span{color:var(--primary);font-size:11px;font-weight:800}.course-heading h3{margin:4px 0 0}.danger-button{color:var(--danger);background:var(--danger-soft);border-color:#e7bac0}.two-columns{grid-template-columns:repeat(2,1fr);gap:10px;display:grid}.compact-fields{margin-top:13px}.defaults-box,.session-card,.resource-box details,.manual-edit{border:1px solid var(--line);background:#fff;border-radius:10px;margin-top:13px}summary{cursor:pointer;padding:12px 14px;font-weight:800}.defaults-box>.responsive-fields,.session-card>.responsive-fields,.resource-box details>.responsive-fields,.resource-box details>.time-rule-fields{padding:4px 14px 15px}.session-card summary{justify-content:space-between;gap:12px;display:flex}.session-card summary small{color:var(--muted);font-weight:500}.responsive-fields{grid-template-columns:repeat(4,minmax(150px,1fr));gap:10px;display:grid}.session-fields{grid-template-columns:repeat(5,minmax(145px,1fr))}.check-row{flex-wrap:wrap;align-items:center;gap:18px;padding:0 14px 14px;display:flex}.check-row label,.inline-check{align-items:center;gap:8px;display:inline-flex}.check-row input,.inline-check input{width:18px;height:18px;accent-color:var(--primary);margin:0}.course-card>.secondary-button{margin-top:12px}.resource-columns{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.resource-box{background:var(--surface-soft);border:1px solid var(--line);border-radius:12px;padding:14px}.resource-box h3,.settings-box h3{margin:0}.box-heading button,.equipment-editor button{color:var(--primary);background:#fff;border:1px solid #c4cee8;border-radius:7px;padding:7px 10px}.resource-box details{margin-top:9px}.time-rule-fields{grid-template-columns:repeat(2,1fr);gap:8px;display:grid}.equipment-editor{border:1px solid var(--line);border-radius:12px;margin-top:16px;padding:16px}.tag-editor{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.tag-editor label{grid-template-columns:auto 1fr;align-items:center;gap:6px;min-width:210px;display:grid}.tag-editor label span{color:var(--muted);direction:ltr;font-size:9px}.tag-editor label input{min-height:36px;margin:0}.settings-grid{grid-template-columns:.55fr 1.45fr;gap:12px;display:grid}.settings-box{background:var(--surface-soft);border:1px solid var(--line);border-radius:12px;margin-top:13px;padding:16px}.settings-box>.inline-check{margin:10px 8px 0 0}.period-row{grid-template-columns:1.2fr .7fr .7fr 1fr;align-items:end;gap:8px;margin-top:9px;display:grid}.conflict-row{border:1px solid var(--line);background:#fff;border-radius:9px;grid-template-columns:1.3fr auto 1.3fr 1fr .7fr auto;align-items:center;gap:8px;margin-top:9px;padding:9px;display:grid}.conflict-row select,.conflict-row input{border:1px solid #cbd4e3;border-radius:7px;width:100%;min-height:38px;padding:7px}.weight-grid{grid-template-columns:repeat(4,minmax(130px,1fr));gap:9px;margin-top:12px;display:grid}.help-text{color:var(--muted);font-size:11px}.validation-summary{border-radius:11px;padding:16px}.validation-summary.is-valid{color:var(--success);background:var(--success-soft);border:1px solid #b9dfd2}.validation-summary.has-errors{color:var(--danger);background:var(--danger-soft);border:1px solid #e8bbc1}.validation-summary p{margin:8px 0 0}.review-summary,.quality-grid{grid-template-columns:repeat(4,1fr);gap:9px;margin-top:14px;display:grid}.review-summary>div,.quality-grid>div{background:var(--surface-soft);border:1px solid var(--line);border-radius:10px;gap:5px;padding:14px;display:grid}.review-summary span,.quality-grid span{color:var(--muted);font-size:10px}.review-summary strong,.quality-grid strong{color:var(--primary);font-size:24px}.solver-choice{grid-template-columns:repeat(2,1fr);gap:10px;margin-top:15px;display:grid}.solver-choice button{text-align:right;min-height:130px;color:var(--ink);border:2px solid var(--line);background:#fff;border-radius:12px;gap:7px;padding:18px;display:grid}.solver-choice button.selected{border-color:var(--primary);background:var(--primary-soft);box-shadow:0 0 0 3px #243b8014}.solver-choice b{font-size:17px}.solver-choice span,.solver-choice small{color:var(--muted)}.solve-button{width:100%;min-height:58px;margin-top:16px;font-size:16px}.sr-focus-heading{margin:0 0 12px;font-size:24px}.result-actions{flex-wrap:wrap;gap:8px;margin-bottom:12px;display:flex}.quality-grid{grid-template-columns:repeat(5,1fr)}.diagnostic-note{color:#40506a;background:#edf2ff;border-radius:8px;padding:10px 12px}.diagnostics{border-color:#ead0a9;margin-top:13px}.diagnostics h3{margin-top:0}.diagnostics details{background:#fffaf2;border:1px solid #ecd8ba;border-radius:8px;margin-top:8px}.result-card{margin-top:13px}.status-badge{border-radius:999px;max-width:350px;padding:8px 11px;font-size:11px;font-weight:850}.status-optimal,.status-feasible{color:var(--success);background:var(--success-soft);border:1px solid #b9dfd2}.status-partial,.status-fallback,.status-failed-required{color:var(--warning);background:var(--warning-soft);border:1px solid #e6c99f}.status-invalid{color:var(--danger);background:var(--danger-soft);border:1px solid #e8bbc1}.toolbar{flex-wrap:wrap;align-items:end;gap:9px;display:flex}.toolbar label{min-width:160px}.segmented{background:#edf0f6;border-radius:9px;padding:4px;display:flex}.segmented button{color:#56647b;background:0 0;border:0;border-radius:7px;padding:8px 12px}.segmented button[aria-pressed=true]{color:#fff;background:var(--primary)}.schedule-scroll,.table-scroll{border:1px solid var(--line);border-radius:11px;max-height:720px;margin-top:14px;overflow:auto}.week-grid{background:#fff;min-width:980px;display:grid}.grid-header{z-index:4;text-align:center;border-left:1px solid var(--line);border-bottom:1px solid var(--line);background:#f0f3f9;place-items:center;gap:2px;min-height:58px;padding:8px;font-weight:800;display:grid;position:sticky;top:0}.grid-header span,.grid-header em{color:var(--muted);font-size:10px;font-style:normal}.grid-corner{z-index:6;right:0}.grid-row{display:contents}.grid-time{z-index:3;text-align:center;border-left:1px solid var(--line);border-bottom:1px solid var(--line);background:#fafbfe;place-content:center;gap:3px;min-height:124px;padding:8px;display:grid;position:sticky;right:0}.grid-day{font-size:12px}.grid-cell{border-left:1px solid var(--line);border-bottom:1px solid var(--line);min-height:124px;padding:6px}.schedule-item{border:1px solid #9fb2e9;border-right:4px solid var(--primary);background:#edf3ff;border-radius:8px;gap:3px;margin-bottom:6px;padding:9px;display:grid}.schedule-item strong{font-size:11px}.schedule-item span,.schedule-item small{color:#4f5d73;font-size:9px}.table-schedule-item{min-width:150px}.continuation{color:var(--muted);text-align:center;background:repeating-linear-gradient(135deg,#f8f9fc,#f8f9fc 6px,#edf0f5 6px 12px);border:1px dashed #c8d0de;border-radius:7px;padding:8px;font-size:9px;display:block}.schedule-table{border-collapse:collapse;width:100%;min-width:1120px}.schedule-table caption{text-align:right;padding:12px;font-weight:800}.schedule-table th,.schedule-table td{text-align:right;vertical-align:top;border-left:1px solid var(--line);border-bottom:1px solid var(--line);padding:8px;font-size:11px}.schedule-table thead th{z-index:2;text-align:center;background:#f0f3f9;position:sticky;top:0}.schedule-table tbody th{z-index:1;text-align:center;background:#fafbfe;min-width:100px;position:sticky;right:0}.schedule-matrix th span,.schedule-matrix th em{color:var(--muted);font-size:9px;font-style:normal;display:block}.schedule-matrix td{min-width:180px}.manual-edit{margin-top:14px}.manual-edit>p,.manual-edit>.responsive-fields{padding:0 14px 14px}.warning-button{color:var(--warning);background:var(--warning-soft);border-color:#e3c28f;align-self:end;min-height:42px}.penalty-card{margin-top:13px}.penalty-card h3{margin-top:0}.penalty-card>div{flex-wrap:wrap;gap:6px;display:flex}.penalty-card span{color:#56647a;background:#f0f3f8;border-radius:6px;padding:6px 8px;font-size:10px}.public-section{background:var(--surface);border:1px solid var(--line);border-radius:20px;max-width:1260px;margin:36px auto;padding:36px clamp(18px,4vw,50px)}.public-section h2{margin:5px 0 18px;font-size:29px}.method-grid{grid-template-columns:repeat(2,1fr);gap:12px;display:grid}.method-grid article{background:var(--surface-soft);border:1px solid var(--line);border-radius:12px;padding:20px}.method-grid h3{margin-top:0}.method-grid p,.prose p{color:var(--muted);line-height:2}.site-footer{color:var(--muted);border-top:1px solid var(--line);background:#fff;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px;margin-top:42px;padding:28px clamp(20px,5vw,70px);display:grid}.site-footer>div{display:grid}.site-footer nav{gap:16px;display:flex}.site-footer a{text-decoration:none}.site-footer a:hover{color:var(--primary);text-decoration:underline}.creator-credit{color:var(--primary);justify-self:end;font-weight:850}.print-only{display:none}.dialog-backdrop{z-index:100;background:#0811278f;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.dialog{background:#fff;border-radius:16px;width:min(850px,100%);max-height:calc(100vh - 40px);padding:20px;overflow:auto;box-shadow:0 24px 80px #00000047}.dialog header{justify-content:space-between;align-items:center;display:flex}.dialog header h2{margin:0}.dialog header button{border:0;border-radius:50%;width:40px;height:40px;font-size:24px}.dialog textarea{resize:vertical;min-height:420px;font-family:inherit}.dialog-actions{justify-content:flex-end;gap:8px;margin-top:10px;display:flex}.prototype-page{background:#f2f5fa;min-height:100vh}.prototype-banner{color:#5d451d;background:#fff4d9;border-bottom:1px solid #e9d29f;align-items:center;gap:12px;padding:10px 4vw;font-size:12px;display:flex}.prototype-banner a{margin-right:auto}.prototype-switcher{background:#fff;gap:8px;padding:16px 4vw;display:flex;overflow-x:auto}.prototype-switcher a{white-space:nowrap;color:#53617a;border:1px solid var(--line);border-radius:8px;padding:9px 12px;text-decoration:none}.prototype-switcher a.active{color:#fff;background:var(--primary)}.prototype-shell{grid-template-columns:300px 1fr;gap:14px;max-width:1450px;margin:20px auto;padding:0 18px;display:grid}.prototype-shell>aside,.prototype-content{border:1px solid var(--line);background:#fff;border-radius:18px;padding:24px}.prototype-shell>aside span{color:var(--primary);font-weight:900}.prototype-shell>aside h1{font-size:28px}.prototype-shell>aside p{color:var(--muted)}.prototype-shell ol{gap:7px;margin:24px 0 0;padding:0;list-style:none;display:grid}.prototype-shell li{background:#f6f8fc;border-radius:8px;align-items:center;gap:9px;padding:8px;display:flex}.prototype-shell li b{color:#fff;background:var(--primary);border-radius:7px;place-items:center;width:28px;height:28px;display:grid}.prototype-content>header{justify-content:space-between;gap:16px;display:flex}.prototype-content h2{margin:4px 0 0}.prototype-actions{gap:8px;display:flex}.prototype-actions button{color:var(--primary);background:#fff;border:1px solid #bdc8e4;border-radius:8px;padding:9px 12px}.prototype-actions button:last-child{color:#fff;background:var(--primary)}.prototype-kpis{grid-template-columns:repeat(4,1fr);gap:8px;margin-top:22px;display:grid}.prototype-kpis>div{background:#f6f8fc;border-radius:9px;gap:5px;padding:14px;display:grid}.prototype-kpis strong{color:var(--primary);font-size:22px}.prototype-kpis span{color:var(--muted);font-size:10px}.prototype-canvas{grid-template-columns:1.3fr .7fr;gap:10px;margin-top:13px;display:grid}.prototype-canvas section{border:1px solid var(--line);border-radius:11px;padding:18px}.prototype-list{gap:7px;display:grid}.prototype-list button{background:#fff9ed;border:1px solid #ead2a6;border-radius:8px;justify-content:space-between;padding:10px;display:flex}.prototype-solver{border:1px solid var(--line);border-radius:8px;gap:4px;margin-top:8px;padding:12px;display:grid}.prototype-solver.selected{background:var(--primary-soft);border-color:#aebce7}.prototype-data{grid-template-columns:230px 1fr}.prototype-dashboard{grid-template-columns:220px 1fr}.prototype-role>aside ol{grid-template-columns:1fr}.prototype-page>footer{text-align:center;padding:25px}@media (max-width:1120px){.topbar nav{display:none}.hero{grid-template-columns:1fr;padding-top:48px}.workflow-shell{grid-template-columns:1fr}.workflow-nav{display:flex;position:static;overflow-x:auto}.workflow-nav h2{display:none}.workflow-nav>button{min-width:170px}.workflow-import{border:0;min-width:240px;margin:0;padding:0}.resource-columns{grid-template-columns:1fr}.session-fields,.responsive-fields,.weight-grid{grid-template-columns:repeat(3,1fr)}.site-footer{text-align:center;grid-template-columns:1fr}.site-footer nav{justify-content:center}.creator-credit{justify-self:center}}@media (max-width:760px){.topbar{min-height:68px;padding:10px 14px}.brand small,.source-link{display:none}.hero{padding:38px 16px 28px}.hero h1{font-size:38px}.hero p{font-size:14px}.stats-row{grid-template-columns:repeat(2,1fr)}.stats-row>div{display:grid}.workflow-shell{padding:0 10px}.editor-panel,.result-card,.diagnostics,.penalty-card{border-radius:13px;padding:15px}.section-title,.card-header{display:grid}.create-row,.responsive-fields,.session-fields,.two-columns,.settings-grid,.weight-grid,.review-summary,.quality-grid,.solver-choice,.method-grid,.prototype-canvas,.resource-columns,.period-row,.conflict-row{grid-template-columns:1fr}.conflict-row>span{display:none}.time-rule-fields{grid-template-columns:1fr}.quality-grid{grid-template-columns:repeat(2,1fr)}.public-section{margin:18px 10px;padding:22px 16px}.dialog{padding:14px}.dialog textarea{min-height:300px}.prototype-shell{grid-template-columns:1fr}.prototype-kpis{grid-template-columns:repeat(2,1fr)}}@media print{.topbar,.hero,.stats-row,.workflow-nav,.live-notice,.result-actions,.toolbar,.manual-edit,.public-section,.site-footer,.penalty-card{display:none!important}body,.app-shell,.workflow-shell,.workflow-content,.result-card{box-shadow:none;background:#fff;border:0}.workflow-shell{max-width:none;display:block}.schedule-scroll{display:none!important}.print-only{display:block!important}.print-only .table-scroll{overflow:visible}.print-only table{width:100%;font-size:9pt}.week-grid{min-width:0}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.solve-actions{align-items:center;gap:10px;display:flex}.solve-actions .solve-button{flex:1}.field-help{color:var(--muted);margin-top:6px;font-size:10px;font-weight:500;line-height:1.65;display:block}.step-guide{color:#34445f;background:#f2f6ff;border:1px solid #d5def5;border-radius:12px;margin-bottom:18px;padding:15px 17px}.step-guide strong{color:var(--primary)}.step-guide ol{margin:9px 0 0;padding-right:20px;line-height:1.9}.step-guide p{margin:9px 0 0;line-height:1.8}.rule-comparison{grid-template-columns:repeat(2,1fr);gap:9px;margin-top:10px;display:grid}.rule-comparison span{border:1px solid var(--line);background:#fff;border-radius:9px;padding:10px 12px}.empty-state,.empty-note{color:var(--muted)}.empty-state{text-align:center;background:var(--surface-soft);border:1px dashed #bac7df;border-radius:12px;margin-top:18px;padding:22px}.empty-state p{margin-bottom:0}.course-heading small,.box-heading small,.resource-box summary small{color:var(--muted);font-size:10px;font-weight:500}.defaults-box summary{justify-content:space-between;gap:12px;display:flex}.defaults-box summary small{color:var(--muted);font-weight:500}.defaults-break{margin:0 14px 15px}.session-explainer{color:#42516a;background:#f7f9fd;border-radius:8px;gap:3px;margin:0 14px 12px;padding:10px 12px;font-size:11px;display:grid}.session-explainer span{color:var(--muted)}.picker-pair{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:4px 14px 14px;display:grid}.equipment-stack{gap:10px;display:grid}.choice-fieldset,.slot-picker,.ranked-picker{border:1px solid var(--line);border-radius:10px;min-width:0;margin:10px 0 0;padding:12px}.choice-fieldset legend,.slot-picker legend,.ranked-picker legend{color:#34445f;padding:0 6px;font-size:12px;font-weight:850}.choice-chips{flex-wrap:wrap;gap:7px;display:flex}.choice-chip{color:#53617a;cursor:pointer;background:#fff;border:1px solid #ccd5e4;border-radius:999px;align-items:center;gap:7px;min-height:36px;padding:7px 10px;display:inline-flex}.choice-chip input{width:16px;height:16px;accent-color:var(--primary);margin:0}.choice-chip.selected{color:var(--primary);background:var(--primary-soft);border-color:#9eb0e5}.slot-picker-scroll{border:1px solid var(--line);border-radius:8px;overflow:auto}.slot-picker table{border-collapse:collapse;width:100%;min-width:700px}.slot-picker th,.slot-picker td{text-align:center;border-left:1px solid var(--line);border-bottom:1px solid var(--line);padding:6px}.slot-picker thead th{background:#f2f5fa}.slot-picker th span,.slot-picker th small{display:block}.slot-picker th small{color:var(--muted);margin-top:2px;font-size:9px;font-weight:500}.row-select{color:var(--primary);background:0 0;border:0;padding:6px 8px;font-weight:850}.slot-check{min-width:64px;min-height:38px;color:var(--muted);cursor:pointer;background:#fafbfe;border:1px solid #0000;border-radius:7px;place-items:center;display:grid}.slot-check input{opacity:0;width:1px;height:1px;position:absolute}.slot-check span{font-size:9px}.slot-check.selected{color:var(--primary);background:var(--primary-soft);border-color:#a9b8e4;font-weight:800}.time-rules-editor{border:1px solid var(--line);background:#fff;border-radius:10px;margin:12px 14px 14px}.time-rules-editor>summary{color:var(--primary)}.time-rule-sections{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:0 12px 12px;display:grid}.rule-kind{border-radius:9px;padding:12px}.rule-kind header h4{margin:0}.rule-kind header p{color:var(--muted);margin:5px 0 0;font-size:10px;line-height:1.7}.hard-rule{background:#fff7f7;border:1px solid #ecc9cd}.soft-rule{background:#fffaf1;border:1px solid #ead7b4}.ranked-picker ol{gap:7px;margin:0 0 10px;padding:0;list-style:none;display:grid}.ranked-picker li{background:#f7f9fd;border-radius:8px;justify-content:space-between;align-items:center;gap:8px;padding:8px 9px;display:flex}.ranked-picker li>span{gap:2px;display:grid}.ranked-picker li b{color:var(--primary);font-size:9px}.ranked-picker li>div{gap:4px;display:flex}.ranked-picker li button{min-width:30px;min-height:30px;color:var(--primary);background:#fff;border:1px solid #c9d3e7;border-radius:6px}.ranked-picker .danger-link{color:var(--danger)}.entity-actions{align-items:center;gap:10px;padding:0 14px 14px;display:flex}.entity-actions small{color:var(--muted)}.equipment-list{gap:8px;margin-top:12px;display:grid}.equipment-row{background:var(--surface-soft);border:1px solid var(--line);border-radius:9px;grid-template-columns:minmax(180px,1fr) auto auto;align-items:end;gap:10px;padding:10px;display:grid}.equipment-row>span{color:var(--muted);align-self:center;font-size:10px}.day-toggle-grid{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.day-toggle{border:1px solid var(--line);background:#f7f9fd;border-radius:9px;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;padding:10px;display:grid}.day-toggle input{width:18px;height:18px;accent-color:var(--primary);margin:0}.day-toggle small{color:var(--muted);font-size:9px}.day-toggle.active{background:var(--primary-soft);border-color:#abb9e4}.periods-box{grid-column:1/-1}.period-list{gap:8px;margin-top:12px;display:grid}.period-row{grid-template-columns:42px minmax(140px,1fr) 120px 120px minmax(150px,auto) minmax(130px,1fr) auto;align-items:end;gap:8px;display:grid}.period-number{color:#fff;background:var(--primary);border-radius:8px;align-self:center;place-items:center;width:34px;height:34px;font-weight:850;display:grid}.closed-slots-box{margin-top:12px}.concept-note{color:#40506a;background:#f5f7fb;border-radius:8px;margin:10px 0;padding:10px 12px;font-size:11px}.conflict-row label{min-width:0}.validation-summary{justify-content:space-between;gap:10px;display:flex}.review-issue-groups{grid-template-columns:repeat(3,1fr);gap:9px;margin-top:12px;display:grid}.review-issue-groups>section{background:var(--surface-soft);border:1px solid var(--line);border-radius:10px;padding:12px}.review-issue-groups header{justify-content:space-between;align-items:center;gap:8px;display:flex}.review-issue-groups h3{margin:0;font-size:14px}.review-issue-groups button{color:var(--primary);background:#fff;border:1px solid #c8d2e8;border-radius:7px;padding:6px 8px;font-size:10px}.review-issue-groups ul{gap:6px;margin:10px 0 0;padding:0;list-style:none;display:grid}.review-issue-groups li{border-radius:7px;gap:2px;padding:8px;font-size:10px;display:grid}.review-error{color:var(--danger);background:var(--danger-soft)}.review-warning{color:var(--warning);background:var(--warning-soft)}.review-ok{color:var(--success);font-size:10px}.workflow-help{border:1px solid var(--line);background:#f7f9fd;border-radius:9px;margin-top:8px;padding:12px}.workflow-help strong{font-size:11px}.workflow-help p{color:var(--muted);margin:5px 0;font-size:9px;line-height:1.6}.workflow-help a,.workflow-import a{color:var(--primary);font-size:10px;font-weight:800;text-decoration:none}.workflow-import a{background:#fafbff;border:1px solid #cbd3e8;border-radius:8px;place-items:center;min-height:38px;padding:8px;display:grid}.manager-dashboard{border:1px solid var(--line);background:#fff;border-radius:18px;margin-bottom:13px;padding:clamp(18px,3vw,28px);box-shadow:0 14px 42px #1a2d5b0f}.dashboard-heading{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.dashboard-heading span{color:var(--primary);font-size:11px;font-weight:850}.dashboard-heading h3{margin:4px 0 0;font-size:24px}.dashboard-heading p{max-width:600px;color:var(--muted);margin:0;font-size:10px;line-height:1.8}.dashboard-overview{grid-template-columns:1.35fr 1.2fr repeat(4,1fr);gap:9px;margin-top:18px;display:grid}.coverage-card,.decision-card,.dashboard-metric{background:var(--surface-soft);border:1px solid var(--line);border-radius:12px;min-height:132px;padding:13px}.coverage-card{align-items:center;gap:13px;display:flex}.coverage-card p{color:var(--muted);margin:4px 0 0;font-size:10px}.coverage-ring{text-align:center;background:radial-gradient(circle at center, white 58%, transparent 60%), conic-gradient(var(--primary) var(--coverage-angle), #dfe5f1 0);border-radius:50%;flex:none;place-content:center;width:96px;height:96px;display:grid}.coverage-ring strong{color:var(--primary);font-size:20px}.coverage-ring span{color:var(--muted);font-size:8px}.decision-card,.dashboard-metric{align-content:center;gap:6px;display:grid}.decision-card span,.dashboard-metric span{color:var(--muted);font-size:9px}.decision-card strong,.dashboard-metric strong{font-size:17px}.decision-card small,.dashboard-metric small{color:var(--muted);font-size:9px;line-height:1.6}.decision-valid{color:var(--success)}.decision-invalid{color:var(--danger)}.dashboard-charts{grid-template-columns:repeat(3,1fr);gap:10px;margin-top:12px;display:grid}.bar-chart{background:var(--surface-soft);border:1px solid var(--line);border-radius:12px;margin:0;padding:14px}.bar-chart figcaption{gap:3px;display:grid}.bar-chart figcaption span{color:var(--muted);font-size:9px}.bar-chart-body{gap:9px;margin-top:13px;display:grid}.bar-row{gap:5px;display:grid}.bar-label{justify-content:space-between;gap:8px;display:flex}.bar-label span{font-size:10px;font-weight:800}.bar-label small{color:var(--muted);text-align:left;font-size:8px}.bar-track{background:#e2e7f0;border-radius:999px;height:9px;overflow:hidden}.bar-track span{background:var(--primary);border-radius:inherit;height:100%;display:block}.manager-notes{background:#f1f7ff;border:1px solid #d1dff5;border-radius:12px;margin-top:12px;padding:14px 16px}.manager-notes h4{margin:0}.manager-notes ul{margin:9px 0 0;padding-right:19px;line-height:1.9}.manager-notes p{color:var(--muted);margin:8px 0 0;font-size:10px}.completion-guide header p,.glossary-section header p{color:var(--muted)}.completion-steps{grid-template-columns:repeat(4,1fr);gap:10px;display:grid}.completion-steps article{background:var(--surface-soft);border:1px solid var(--line);border-radius:12px;padding:18px}.completion-steps article>b{color:#fff;background:var(--primary);border-radius:9px;place-items:center;width:34px;height:34px;display:grid}.completion-steps h3{margin:12px 0 5px}.completion-steps p{color:var(--muted);line-height:1.85}.completion-steps small{color:#40506a;line-height:1.7}.glossary-search{max-width:520px;display:block}.glossary-grid{grid-template-columns:repeat(3,1fr);gap:9px;margin-top:15px;display:grid}.glossary-grid details{background:var(--surface-soft);border:1px solid var(--line);border-radius:10px}.glossary-grid summary{justify-content:space-between;gap:8px;display:flex}.glossary-grid summary small{color:var(--primary);font-size:9px;font-weight:700}.glossary-grid dl{margin:0;padding:0 14px 14px}.glossary-grid dt{color:var(--primary);margin-top:9px;font-size:10px;font-weight:850}.glossary-grid dd{color:var(--muted);margin:3px 0 0;font-size:10px;line-height:1.75}@media (max-width:1280px){.dashboard-overview{grid-template-columns:repeat(3,1fr)}.coverage-card,.decision-card{grid-column:span 1}.period-row{grid-template-columns:42px repeat(3,1fr)}.period-row .inline-check,.period-row .danger-button{align-self:center}}@media (max-width:980px){.time-rule-sections,.picker-pair,.rule-comparison,.dashboard-charts,.review-issue-groups,.glossary-grid,.completion-steps{grid-template-columns:1fr}.dashboard-overview{grid-template-columns:repeat(2,1fr)}.equipment-row{grid-template-columns:1fr}.day-toggle-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:760px){.dashboard-heading{display:grid}.dashboard-overview{grid-template-columns:1fr}.coverage-card{justify-content:center}.period-row{grid-template-columns:38px 1fr}.period-row>label,.period-row>button{grid-column:2}.day-toggle-grid{grid-template-columns:1fr}.ranked-picker li,.bar-label{flex-direction:column;align-items:flex-start}.workflow-help{display:none}}@media print{.manager-dashboard{box-shadow:none;page-break-after:always;border:0;display:block!important}.dashboard-charts{grid-template-columns:1fr}.manager-dashboard .bar-track{border:1px solid #aaa}.completion-guide,.glossary-section{display:none!important}}
