@font-face{font-family:Mulish;src:url(/assets/Mulish-Regular-D1l5ldzb.ttf) format("truetype");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Mulish;src:url(/assets/Mulish-SemiBold-DR2FFfPc.ttf) format("truetype");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:Mulish;src:url(/assets/Mulish-Bold-BOXjL5_c.ttf) format("truetype");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:Mulish;src:url(/assets/Mulish-ExtraBold-Bv3aCzTn.ttf) format("truetype");font-weight:800;font-style:normal;font-display:swap}@font-face{font-family:Mulish;src:url(/assets/Mulish-Black-Cd4uoqMm.ttf) format("truetype");font-weight:900;font-style:normal;font-display:swap}:root{--ground: #f9f9f9;--surface: #ffffff;--surface-sunken: #eef1f5;--line: #e6e7e8;--line-control: #858a93;--ink: #403f41;--ink-muted: #63666d;--brand: #1b4e9b;--brand-hover: #163f7e;--brand-soft: #e8eef6;--on-brand: #ffffff;--on-brand-muted: #c9d8ee;--sky: #158bc2;--sky-ink: #0b6190;--sky-soft: #e3f1f8;--mint: #69c2be;--mint-ink: #17635f;--mint-soft: #e4f4f3;--ok: #13753a;--ok-soft: #e3f5e9;--warn: #8a5200;--warn-soft: #fff3d6;--danger: #b42318;--danger-soft: #fde8e6;--link: var(--brand);--focus: var(--brand);--overlay: rgba(22, 63, 126, .5);--shadow-modal: 0 16px 40px rgba(22, 63, 126, .18);--focus-ring: 0 0 0 2px #ffffff, 0 0 0 4px #1b4e9b;--focus-ring-on-brand: 0 0 0 2px #1b4e9b, 0 0 0 4px #ffffff;--space-1: 4px;--space-2: 8px;--space-3: 12px;--space-4: 16px;--space-5: 20px;--space-6: 24px;--space-8: 32px;--space-12: 48px;--radius-sm: 8px;--radius-md: 12px;--radius-pill: 999px;--font-sans: "Mulish", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;--font-mono: Consolas, "Courier New", ui-monospace, monospace}.text-display{font-family:var(--font-sans);font-size:44px;line-height:48px;font-weight:900;letter-spacing:-.01em}.text-h1{font-family:var(--font-sans);font-size:26px;line-height:32px;font-weight:800}.text-h2{font-family:var(--font-sans);font-size:18px;line-height:24px;font-weight:700}.text-h3{font-family:var(--font-sans);font-size:15px;line-height:22px;font-weight:700}.text-stat{font-family:var(--font-sans);font-size:34px;line-height:38px;font-weight:800}.text-body{font-family:var(--font-sans);font-size:15px;line-height:22px;font-weight:400}.text-body-strong{font-family:var(--font-sans);font-size:15px;line-height:22px;font-weight:700}.text-small{font-family:var(--font-sans);font-size:13px;line-height:18px;font-weight:400}.text-label{font-family:var(--font-sans);font-size:12px;line-height:16px;font-weight:700;letter-spacing:.04em}.text-mono{font-family:var(--font-mono);font-size:15px;line-height:22px;font-weight:400}*,*:before,*:after{box-sizing:border-box}body{margin:0;background:var(--ground);color:var(--ink);font-family:var(--font-sans);font-size:15px;line-height:22px;-webkit-font-smoothing:antialiased}a{color:var(--link);text-decoration:none}a:hover{text-decoration:underline}h1{font-size:26px;line-height:32px;font-weight:800;margin:0 0 var(--space-1);text-wrap:balance}h2{font-size:18px;line-height:24px;font-weight:700;margin:0 0 var(--space-3)}h3{font-size:15px;line-height:22px;font-weight:700;margin:var(--space-4) 0 var(--space-2)}:focus-visible{outline:2px solid transparent;outline-offset:2px;box-shadow:var(--focus-ring)}.muted{color:var(--ink-muted)}.small{font-size:13px;line-height:18px}.mono{font-family:var(--font-mono)}.pad{padding:var(--space-6) 0}.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-4);align-items:start}.btn{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-2);min-height:38px;padding:0 var(--space-4);border:1px solid var(--line-control);border-radius:var(--radius-sm);background:var(--surface);color:var(--ink);font:inherit;font-weight:600;white-space:nowrap;cursor:pointer}.btn:hover:not(:disabled){border-color:var(--brand);color:var(--brand);text-decoration:none}.btn:disabled{opacity:.5;cursor:default}.btn-primary{background:var(--brand);border-color:var(--brand);color:var(--on-brand);font-weight:700}.btn-primary:hover:not(:disabled){background:var(--brand-hover);border-color:var(--brand-hover);color:var(--on-brand)}.btn-ghost{background:transparent;border-color:transparent;color:var(--brand)}.btn-ghost:hover:not(:disabled){background:var(--brand-soft);border-color:transparent}.link{background:none;border:none;padding:0;font:inherit;font-size:13px;line-height:18px;color:var(--link);cursor:pointer}.link:hover{text-decoration:underline}.input{min-height:38px;padding:0 var(--space-3);border:1px solid var(--line-control);border-radius:var(--radius-sm);background:var(--surface);color:var(--ink);font:inherit;min-width:0}.input::placeholder{color:var(--ink-muted);opacity:1}.input:hover{border-color:var(--ink-muted)}.input:focus{outline:2px solid transparent;border-color:var(--brand);box-shadow:var(--focus-ring)}.form{display:grid;gap:var(--space-3)}.form label{display:grid;gap:var(--space-1);font-size:13px;line-height:18px;color:var(--ink-muted)}.checks{display:grid;grid-template-columns:repeat(2,1fr);gap:var(--space-2);margin-bottom:var(--space-3)}.checks label{display:flex;gap:var(--space-2);align-items:center}input[type=checkbox],input[type=radio]{width:16px;height:16px;margin:0;flex:none;accent-color:var(--brand)}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-md);padding:var(--space-5);margin-bottom:var(--space-4);overflow-x:auto}.card-head{display:flex;justify-content:space-between;align-items:center;gap:var(--space-3);margin-bottom:var(--space-2)}.card-head h2{margin:0}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:var(--space-4)}.stat{display:block;color:inherit}.stat:hover{text-decoration:none;border-color:var(--brand)}.stat-value{font-size:34px;line-height:38px;font-weight:800;color:var(--brand);font-variant-numeric:tabular-nums}.stat-label{color:var(--ink-muted)}.table{width:100%;border-collapse:collapse}.table th{text-align:left;font-size:12px;line-height:16px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--ink-muted);padding:var(--space-2) var(--space-3);border-bottom:1px solid var(--line)}.table td{padding:var(--space-3);border-bottom:1px solid var(--line);vertical-align:top}.table tr:last-child td{border-bottom:none}.table-compact td{padding:var(--space-2) var(--space-3)}.num{width:44px;color:var(--ink-muted);font-variant-numeric:tabular-nums}.badge,.chip{display:inline-block;padding:2px 10px;border-radius:var(--radius-pill);font-size:12px;line-height:16px;font-weight:700;white-space:nowrap}.badge-none{background:var(--surface-sunken);color:var(--ink-muted)}.badge-issued{background:var(--sky-soft);color:var(--sky-ink)}.badge-active{background:var(--ok-soft);color:var(--ok)}.badge-archived{background:var(--danger-soft);color:var(--danger);margin-left:var(--space-2)}.chips{display:flex;flex-wrap:wrap;gap:var(--space-2)}.chip{background:var(--brand-soft);color:var(--brand)}.chip-kk{background:var(--mint-soft);color:var(--mint-ink)}.chip-ru{background:var(--brand-soft);color:var(--brand)}.chip-none{display:none}.alert{padding:var(--space-3) var(--space-4);border-radius:var(--radius-sm);margin-bottom:var(--space-4)}.alert-error{background:var(--danger-soft);color:var(--danger)}.alert-warn{background:var(--warn-soft);color:var(--warn)}.bar{display:flex;height:12px;border-radius:var(--radius-pill);background:var(--surface-sunken);overflow:hidden;margin-bottom:var(--space-3)}.bar-active{background:var(--ok)}.bar-issued{background:var(--sky)}.bar-legend{display:flex;gap:var(--space-4);flex-wrap:wrap;font-size:13px;line-height:18px;color:var(--ink-muted)}.dot{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:var(--space-1)}.dot-active{background:var(--ok)}.dot-issued{background:var(--sky)}.dot-none{background:var(--line-control)}.details{display:grid;grid-template-columns:170px 1fr;gap:var(--space-2) var(--space-3);margin:0 0 var(--space-3)}.details dt{color:var(--ink-muted)}.details dd{margin:0;min-width:0;overflow-wrap:anywhere}.page-header{display:flex;justify-content:space-between;align-items:flex-start;gap:var(--space-4);flex-wrap:wrap;margin-bottom:var(--space-5)}.page-actions{display:flex;gap:var(--space-2);flex-wrap:wrap}.crumbs{color:var(--ink-muted);font-size:13px;line-height:18px;margin-bottom:var(--space-2)}.layout{display:grid;grid-template-columns:248px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--brand);color:var(--on-brand);padding:var(--space-5) var(--space-3);display:flex;flex-direction:column;gap:var(--space-6);position:sticky;top:0;height:100vh}.sidebar :focus-visible{box-shadow:var(--focus-ring-on-brand)}.brand{display:grid;gap:var(--space-2);padding:0 var(--space-2)}.brand-logo{display:block;width:164px;max-width:100%;height:auto}.brand-service{font-size:13px;line-height:18px;font-weight:600;color:var(--on-brand-muted)}.sidebar nav{display:flex;flex-direction:column;gap:2px}.sidebar nav a{color:var(--on-brand);padding:var(--space-2) var(--space-3);border-radius:var(--radius-sm);font-weight:600}.sidebar nav a:hover{background:var(--brand-hover);text-decoration:none}.sidebar nav a.active{background:var(--surface);color:var(--brand);font-weight:700}.sidebar-user{margin-top:auto;padding:var(--space-4) var(--space-2) 0;border-top:1px solid var(--brand-hover)}.sidebar-user-name{font-weight:700}.sidebar-user-role{font-size:13px;line-height:18px;color:var(--on-brand-muted);margin-bottom:var(--space-3)}.sidebar .btn-ghost{color:var(--on-brand);border-color:var(--on-brand-muted)}.sidebar .btn-ghost:hover:not(:disabled){background:var(--brand-hover);border-color:var(--on-brand);color:var(--on-brand)}.content{padding:var(--space-8) var(--space-8) var(--space-12);max-width:1200px;width:100%;min-width:0}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:var(--overlay);display:grid;place-items:start center;padding:40px var(--space-4);overflow:auto;z-index:10}.modal{background:var(--surface);border-radius:var(--radius-md);padding:var(--space-5);width:100%;max-width:480px;box-shadow:var(--shadow-modal)}.modal-wide{max-width:920px}.modal-head{display:flex;justify-content:space-between;align-items:center;gap:var(--space-3);margin-bottom:var(--space-4)}.modal-head h2{margin:0}.modal-actions{display:flex;gap:var(--space-3);align-items:center;flex-wrap:wrap;margin:var(--space-3) 0 var(--space-4)}.slip{border:1px dashed var(--line-control);border-radius:var(--radius-sm);padding:var(--space-4);background:var(--surface);break-inside:avoid}.slip-top{display:flex;justify-content:space-between;align-items:center;gap:var(--space-3);margin-bottom:var(--space-3)}.slip-logo{display:block;width:104px;height:auto}.slip-school{font-size:12px;line-height:16px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--ink-muted)}.slip-name{font-weight:800;font-size:16px;line-height:22px;margin-bottom:var(--space-2)}.slip dl{display:grid;grid-template-columns:96px 1fr;gap:var(--space-1) var(--space-2);margin:0}.slip dt{color:var(--ink-muted)}.slip dd{margin:0;font-weight:700;overflow-wrap:anywhere}.slip-note{margin-top:var(--space-2);font-size:12px;line-height:16px;color:var(--ink-muted)}@media (max-width: 900px){.layout{grid-template-columns:minmax(0,1fr)}.sidebar{position:static;height:auto;flex-direction:row;flex-wrap:wrap;align-items:center;gap:var(--space-3);padding:var(--space-3) var(--space-4)}.brand-logo{width:132px}.brand-service{display:none}.sidebar nav{flex-direction:row;flex-wrap:wrap}.sidebar-user{margin:0;border:none;padding:0;display:flex;gap:var(--space-3);align-items:center}.sidebar-user-role{display:none}.content{padding:var(--space-5) var(--space-4) var(--space-8)}.cards{grid-template-columns:repeat(2,1fr)}.grid-2{grid-template-columns:minmax(0,1fr)}.details{grid-template-columns:minmax(0,1fr);gap:0 var(--space-3)}.details dd{margin-bottom:var(--space-2)}}.splash{min-height:100vh;display:grid;place-items:center;color:var(--ink-muted);padding:var(--space-6);text-align:center}.filters{display:grid;grid-template-columns:minmax(0,1fr) 190px 200px 160px;gap:var(--space-3);margin-bottom:var(--space-4)}.pager{display:flex;justify-content:center;align-items:center;gap:var(--space-4);padding-top:var(--space-4)}.cell-bar{width:45%;min-width:140px;vertical-align:middle!important}.cell-bar span{display:block;height:10px;border-radius:var(--radius-pill);background:var(--sky);min-width:2px}.grade-block{margin-bottom:var(--space-6)}.class-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:var(--space-3)}.class-card{display:block;color:inherit;margin:0;padding:var(--space-4)}.class-card:hover{text-decoration:none;border-color:var(--brand)}.class-card-top{display:flex;justify-content:space-between;align-items:center;gap:var(--space-2)}.class-name{font-size:20px;line-height:26px;font-weight:800}.class-teacher{color:var(--ink-muted);font-size:13px;line-height:18px;margin:var(--space-2) 0 var(--space-3);min-height:36px}.class-card-bottom{display:flex;justify-content:space-between;gap:var(--space-2);font-size:13px;line-height:18px}.file-row{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-4);margin-bottom:var(--space-4)}.file-row label{display:grid;gap:var(--space-2);font-weight:700;min-width:0}.file-row .hint{font-weight:400;font-size:13px;line-height:18px;color:var(--ink-muted)}.report{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:var(--space-3);margin-bottom:var(--space-3)}.report div{background:var(--surface-sunken);border-radius:var(--radius-sm);padding:var(--space-3)}.report b{display:block;font-size:22px;line-height:28px;font-weight:800;font-variant-numeric:tabular-nums}.report span{font-size:13px;line-height:18px;color:var(--ink-muted)}details.names{border-top:1px solid var(--line);padding:var(--space-2) 0}details.names summary{cursor:pointer;font-weight:700}details.names ul{margin:var(--space-2) 0 0;padding-left:var(--space-5);columns:2}.options{display:grid;gap:var(--space-2);margin:var(--space-3) 0}.options label{display:flex;gap:var(--space-2);align-items:flex-start}.options input{margin-top:3px}.portal{min-height:100vh}.portal-top{background:var(--brand);color:var(--on-brand);display:flex;justify-content:space-between;align-items:center;gap:var(--space-4);flex-wrap:wrap;padding:var(--space-4) var(--space-8)}.portal-top :focus-visible{box-shadow:var(--focus-ring-on-brand)}.portal-top .btn-ghost{color:var(--on-brand);border-color:var(--on-brand-muted)}.portal-top .btn-ghost:hover:not(:disabled){background:var(--brand-hover);border-color:var(--on-brand);color:var(--on-brand)}.portal-user{display:flex;align-items:center;gap:var(--space-4);font-weight:700}.portal-body{max-width:1200px;margin:0 auto;padding:var(--space-8) var(--space-8) var(--space-12)}.portal-lead{margin:0 0 var(--space-6)}.tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:var(--space-4)}.tile{display:flex;flex-direction:column;gap:var(--space-2);color:inherit;margin:0;min-height:168px}.tile:hover{text-decoration:none;border-color:var(--brand)}.tile h2{margin:0;color:var(--brand)}.tile p{margin:0}.tile-foot{margin-top:auto;padding-top:var(--space-3)}textarea.input{padding:var(--space-2) var(--space-3);min-height:84px;line-height:22px;resize:vertical}.field{display:grid;gap:var(--space-1);font-size:13px;line-height:18px;color:var(--ink-muted);min-width:0;align-content:start}.check{display:inline-flex;gap:var(--space-2);align-items:center}.row{display:flex;gap:var(--space-3);align-items:center;flex-wrap:wrap}.pre{white-space:pre-wrap}.alert-ok{background:var(--ok-soft);color:var(--ok)}.alert ul{margin:var(--space-1) 0 0;padding-left:var(--space-5)}.badge-draft{background:var(--surface-sunken);color:var(--ink-muted)}.badge-open{background:var(--ok-soft);color:var(--ok)}.badge-closed{background:var(--sky-soft);color:var(--sky-ink)}.tabs{display:flex;gap:var(--space-2);margin-bottom:var(--space-4);border-bottom:1px solid var(--line)}.tab{background:none;border:none;border-bottom:3px solid transparent;margin-bottom:-1px;padding:var(--space-2) var(--space-3);font:inherit;font-weight:700;color:var(--ink-muted);cursor:pointer}.tab:hover{color:var(--brand)}.tab.active{color:var(--brand);border-bottom-color:var(--brand)}.texts{margin:0;padding-left:var(--space-5);display:grid;gap:var(--space-1)}.two-lang{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-3);margin-bottom:var(--space-3)}.q-head{display:flex;justify-content:space-between;align-items:center;gap:var(--space-3);flex-wrap:wrap;margin-bottom:var(--space-3)}.q-num{font-weight:800;color:var(--brand)}.q-foot{margin-top:var(--space-4);padding-top:var(--space-3);border-top:1px solid var(--line)}.opt-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 210px auto;gap:var(--space-2);align-items:center;margin-bottom:var(--space-2)}.opt-row.no-goto{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto}.link-box{display:flex;justify-content:space-between;align-items:flex-start;gap:var(--space-5);flex-wrap:wrap}.link-box p{margin:0 0 var(--space-2);overflow-wrap:anywhere}.qr{display:block;width:180px;height:180px;border:1px solid var(--line);border-radius:var(--radius-sm)}.take{max-width:680px;margin-left:auto;margin-right:auto}.take-page{min-height:100vh;padding:var(--space-8) var(--space-4)}.take-logo{display:block;width:164px;height:auto;margin:0 auto var(--space-6)}.lang-switch{display:flex;gap:var(--space-2);margin-bottom:var(--space-4)}.q-head .lang-switch{margin-bottom:0}.choices{display:grid;gap:var(--space-2);margin:var(--space-3) 0}.choice{display:flex;gap:var(--space-3);align-items:flex-start;padding:var(--space-3);border:1px solid var(--line-control);border-radius:var(--radius-sm);cursor:pointer}.choice input{margin-top:3px}.choice:hover{border-color:var(--brand)}.choice.selected{border-color:var(--brand);background:var(--brand-soft)}.scale{display:flex;gap:var(--space-2);flex-wrap:wrap}.scale .btn{min-width:44px;padding:0 var(--space-2)}.scale-labels{display:flex;justify-content:space-between;gap:var(--space-4)}.slips{display:grid;grid-template-columns:repeat(2,1fr);gap:var(--space-3)}@media (max-width: 1180px){.filters{grid-template-columns:repeat(3,minmax(0,1fr))}.filters>:first-child{grid-column:1 / -1}}@media (max-width: 900px){.filters,.slips,.file-row,.two-lang,.opt-row,.opt-row.no-goto{grid-template-columns:minmax(0,1fr)}details.names ul{columns:1}.portal-top,.portal-body{padding-left:var(--space-4);padding-right:var(--space-4)}}@media print{body{background:var(--surface)}.sidebar,.content>*,.no-print{display:none!important}.layout{display:block}.content{padding:0;max-width:none}.content>.modal-backdrop{display:block!important;position:static;background:none;padding:0}.modal{max-width:none;padding:0;box-shadow:none}.slips{grid-template-columns:repeat(2,1fr);gap:8mm}.slip{border-color:var(--ink)}}
