/* Editorial workspace layer. Shared by authentication, every role, and the classroom. */
body{font-size:14px;line-height:1.6}
a{color:var(--accent)}a:hover{color:var(--accent-2)}
h1,h2{font-family:var(--font-display);font-weight:500;letter-spacing:-.045em;line-height:1.2}
h3,h4{font-weight:600;letter-spacing:-.02em}
button,input,select,textarea{font-family:var(--font)}
button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}
a:focus-visible,button:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:3px solid #9caa78;outline-offset:3px}
::selection{background:#d6e2af;color:var(--accent)}
.eyebrow{font-family:var(--font);font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.12em;line-height:1.65;color:var(--accent-2)}
.skip-link{position:fixed;top:0;left:20px;z-index:300;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap;background:var(--accent);color:var(--surface)}
.skip-link:focus{top:12px;clip-path:none;width:auto;height:auto;overflow:visible;padding:12px 20px}
.boot-logo{color:var(--accent);font-family:Georgia,serif}
.boot-bar{height:3px}.boot-bar span{background:var(--accent)}
/* Navigation and page frame */
.shell{grid-template-columns:var(--nav-w) minmax(0,1fr)}
.sidenav{padding:26px 18px 14px;background:#eeefe7;border-color:#dddfd2;gap:0;height:100dvh}
.sidebar-brand-row{display:flex;align-items:center;gap:8px;padding:0 3px}
.brand{padding:0;gap:9px;color:var(--text)}
.brand .logo{width:auto;height:auto;border-radius:0;background:none;box-shadow:none;color:var(--accent);font:42px/1 Georgia,serif;flex-shrink:0}
.brand b{font-size:17px;font-weight:700;letter-spacing:-.05em;line-height:1.25}
.brand small{font-size:9px;text-transform:none;letter-spacing:0;display:block;margin-top:5px}
.nav-close{display:none}
.nav-section-label{padding:28px 13px 10px;color:#7c8876;font-size:9px;text-transform:uppercase;letter-spacing:.14em;font-weight:600}
.nav-list{display:flex;flex-direction:column;gap:3px;min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#c7d0bd transparent;padding:2px 0 12px}
.nav-item{padding:10px 12px;min-height:41px;border-radius:5px;font-size:12px;color:#5f6c5f;gap:11px;transition:background .2s,color .2s}
.nav-item svg{width:17px;height:17px;flex:0 0 17px;stroke-width:1.65}
.nav-item>span:not(.nav-active-dot){min-width:0;overflow-wrap:anywhere}
.nav-item:hover{background:#e3e8d9;color:var(--accent)}
.nav-item.active{background:var(--accent);color:var(--surface);font-weight:500}
.nav-active-dot{margin-left:auto;width:4px;height:4px;border-radius:50%;background:#d1dfaf;flex-shrink:0}
.nav-footer{padding-top:12px;gap:6px;border-color:#d8ddce}
.userchip{padding:11px 8px;background:#e5e9dc;border:1px solid #d8dfcd;border-radius:6px;gap:9px;color:var(--text)}
.userchip .who{flex:1}.userchip .who b{font-size:11px;font-weight:600}.userchip .who span{font-size:10px}
.userchip>.avatar{border-radius:50%;background:#d9e2c5}
.userchip>svg{width:14px;height:14px;color:#87927e;flex-shrink:0}
.userchip .av,.topbar-profile .av{height:31px;width:31px;flex:0 0 31px;background:#d5dfbf;color:var(--accent);font-size:11px;font-weight:600;border-radius:50%;display:grid;place-items:center;overflow:hidden}
.userchip .av img,.topbar-profile .av img{width:100%;height:100%;object-fit:cover}
.nav-logout{font-size:11px;padding:9px 11px;min-height:35px}.nav-logout svg{width:15px;height:15px}
.topbar{height:var(--header-h);padding:0 40px;gap:20px;border-color:var(--border);background:#f8f7f2ed;backdrop-filter:blur(14px);flex-shrink:0}
.topbar .burger{display:none}
.workspace-breadcrumb{display:flex;align-items:center;gap:13px;min-width:0;font-size:11px;color:var(--muted)}
.workspace-breadcrumb>a{display:flex;gap:8px;align-items:center;white-space:nowrap;color:var(--muted)}
.workspace-breadcrumb svg{width:14px;height:14px}.breadcrumb-slash{color:#bac2ae}.breadcrumb-current{color:var(--text);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.topbar-actions{display:flex;align-items:center;gap:17px;flex-shrink:0}
.topbar-profile{display:grid;place-items:center;border-left:1px solid var(--border);padding-left:18px}
.topbar-profile .avatar{border-radius:50%;height:31px;width:31px;flex-basis:31px}
.lang-switch{background:transparent;border:0;gap:2px;padding:0;border-radius:0}
.lang-switch button{border-radius:0;padding:8px 6px;min-height:36px;font-size:10px;font-weight:500;letter-spacing:.03em}
.lang-switch button.active{color:var(--accent);background:transparent;box-shadow:none;text-decoration:underline;text-underline-offset:6px;font-weight:700}
.content{padding:36px 40px 44px;max-width:1440px}
.page-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:28px;min-width:0}
.page-heading .eyebrow{margin-bottom:9px;font-size:9px}
.page-heading h1{font-size:clamp(30px,2.8vw,42px);line-height:1.2;overflow-wrap:anywhere}
.page-heading p{font-size:13px;color:var(--muted);margin:12px 0 0;max-width:650px}
.page-actions{justify-content:flex-end;flex-shrink:0}
.page-content{animation:workspace-enter .5s var(--ease) both;min-width:0}
.page-content>.col.gap{gap:23px}
.workspace-footer{display:flex;justify-content:space-between;gap:20px;margin:auto 40px 0;padding:20px 0 24px;border-top:1px solid var(--border);font-size:9px;color:#86917d}
body.drawer-open{overflow:hidden}
/* Shared controls and surfaces */
.btn{border-radius:5px;padding:11px 17px;min-height:41px;font-size:12px;line-height:1.35;box-shadow:none;transition:background .2s,border-color .2s,transform .25s var(--ease)}
.btn:hover{box-shadow:none;transform:translateY(-1px)}
.btn-primary,.btn-dark,.btn-green{background:var(--accent)}
.btn-primary:hover,.btn-dark:hover,.btn-green:hover{background:var(--accent-2)}
.btn-blue{background:var(--blue)}.btn-gold{background:#d6e2af;color:var(--accent)}
.btn-gold:hover{background:#c9d89b}.btn-soft{background:var(--accent-soft)}
.btn-danger:hover{background:var(--danger-soft);border-color:var(--danger)}
.btn-sm{padding:7px 11px;min-height:33px;font-size:11px;border-radius:4px}
.btn-lg{padding:15px 23px;min-height:51px;font-size:14px;border-radius:5px}
.btn-xl{border-radius:7px;font-size:18px}
.btn-icon{height:37px;min-height:37px;width:37px;padding:8px;border-radius:5px;flex-shrink:0}
.btn-icon.btn-sm{height:31px;width:31px;min-height:31px}
.btn svg{height:16px;width:16px}.btn-ghost:hover{background:#e9eddf}
.card{padding:23px;border-radius:8px;box-shadow:none;background:var(--surface)}
.card.pad-lg{padding:28px}.card-title{margin-bottom:20px;flex-wrap:wrap}
.card-title h3{font-size:17px;font-weight:500;gap:9px}.card-title svg{color:#6a8159}
.card.hover:hover{box-shadow:var(--shadow);border-color:#a5b595;transform:translateY(-3px)}
.card.accent{background:var(--accent)}
.card .card{padding:17px;background:var(--surface-2)}
.card .card.accent{background:var(--accent)}
.card .list-item{background:transparent}
.grid{gap:20px}.grid-auto{grid-template-columns:repeat(auto-fill,minmax(min(280px,100%),1fr))}
.grid>*{min-width:0}.avatars{grid-template-columns:repeat(6,minmax(0,1fr))}.avatars button{min-width:0;border-radius:6px;padding:5px}.avatars button.active{border-color:#8e9e6c;background:#edf1df}
.two-col{gap:22px}.two-col>*{min-width:0}.row>*{min-width:0}.grow{min-width:0}
.group-builder{grid-template-columns:minmax(220px,.65fr) minmax(0,1.65fr)}
.group-builder .group-builder-columns{grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr))}
.group-builder .drag-item .grow,.group-builder .muted{overflow-wrap:anywhere}
.kpi{gap:17px;align-items:center}
.kpi .ico{height:45px;width:45px;flex-basis:45px;border-radius:6px;background:#e8eddf;color:var(--accent)}
.kpi .ico svg{height:23px;width:23px;stroke-width:1.5}
.kpi .stat{gap:6px}.stat .v{font:500 34px/1.1 var(--font-display);letter-spacing:-.05em}
.stat .l{font-size:11px;font-weight:400;line-height:1.6}
.kpi .stat .v{font-size:36px}
.ico.red{background:var(--danger-soft);color:var(--danger-ink)}
.badge{border-radius:4px;padding:4px 8px;font-size:10px;font-weight:500;letter-spacing:0;line-height:1.4}
.badge.dark{background:var(--accent)}.badge.red{background:var(--danger-soft);color:var(--danger-ink)}
.badge.count{border-radius:50%;font-size:9px;background:var(--accent)}
.avatar{border-radius:50%;background:var(--bg-2)}
.avatar.lg,.avatar.xl,.avatar.sm{border-radius:50%}
.avatar.lg{width:57px;height:57px;flex-basis:57px;font-size:30px}
.avatar.xl{width:80px;height:80px;flex-basis:80px;font-size:43px}
.field{gap:7px;margin-bottom:19px}.field label{font-size:12px;font-weight:500;color:var(--text)}
.input,select.input,textarea.input{border-radius:5px;border-color:#cfd5c7;background:var(--surface);font-size:14px;padding:12px 13px;min-width:0;max-width:100%;line-height:1.4}
.input:hover{border-color:#a8b69a}.input:focus{border-color:var(--accent-2);box-shadow:0 0 0 3px #37665310}
.input::placeholder{color:#9aa18e}.input.error{border-color:var(--danger)}
.field .hint,.field .err{font-size:11px;line-height:1.6}.field .err{color:var(--danger-ink)}
.checkbox{font-size:12px;line-height:1.7;align-items:flex-start}.checkbox input{accent-color:var(--accent);flex-shrink:0}
.seg{border-radius:6px;background:var(--bg-2);gap:3px;border-color:var(--border)}
.seg button{font-size:12px;border-radius:4px;padding:8px 13px;font-weight:500}
.seg button.active{background:var(--accent);color:var(--surface);box-shadow:none}
.chip{border-radius:5px;padding:7px 11px;font-size:12px;background:var(--surface)}
.chip.active{background:var(--accent);border-color:var(--accent)}
.list-item{border-radius:6px;padding:16px;gap:13px}.list-item .body b{font-weight:500;font-size:14px}.list-item .body .sub{font-size:12px}
.list-item:hover{box-shadow:none}.empty{border:1px dashed #cfd7c5;border-radius:6px;background:#f3f4ed;padding:35px 22px;font-size:13px;line-height:1.8}
.empty .ico{color:var(--accent);font-size:30px}.empty .ico svg{width:32px;height:32px}
.table-wrap{border-radius:7px;scrollbar-color:#bec9b0 #f0f2e8;scrollbar-width:thin}
table.table{font-size:12px}.table th{padding:13px 16px;font-size:9px;letter-spacing:.09em;font-weight:500;color:#738167;background:#f0f2e9}
.table td{padding:15px 16px}.table tr:hover td{background:#f5f6ef}.table td b{font-weight:500}
.table .btn-sm{font-size:10px}.table .badge{font-size:9px}
.tabs{gap:12px;margin-bottom:24px;scrollbar-width:thin}
.tabs button{font-size:12px;font-weight:500;padding:12px 8px}
.tabs button.active{color:var(--accent);border-color:var(--accent)}
.modal-backdrop{background:#102e2569;backdrop-filter:blur(7px)}
.modal{border:1px solid #e5e9dd;border-radius:12px;background:var(--surface)}
.modal-head{padding:25px 28px 5px;gap:16px}.modal-head h2,.modal-head h3{font:500 29px/1.25 var(--font-display);letter-spacing:-.035em}
.modal-body{padding:20px 28px 28px}.modal-foot{padding:0 28px 26px}.modal-body>.grid{gap:18px}
.modal .btn{white-space:normal}.modal .btn-icon{flex-shrink:0}
.toasts{bottom:24px;right:24px}.toast{background:var(--accent);border-radius:7px;font-size:12px;padding:15px 18px}
.toast.error{border-left-color:var(--danger)}.toast.success{border-left-color:#bdcc91}.toast.info{border-left-color:#9db9a3}
.dropdown{padding:15px;border-radius:8px;box-shadow:var(--shadow-lg)}
.ntf{border-radius:5px;padding:15px}.ntf.unread{background:#eff2e5;border-color:#cfd9bc}.ntf .dot{background:#879d5e}
.ntf b{font-size:12px;font-weight:600}.ntf p{font-size:12px}.ntf time{font-size:10px}
.progress{height:5px}.progress span{background:var(--green)}.progress.gold span{background:#a3b879}.progress.lg{height:9px}
.pill-steps{gap:4px}.pill-steps span{font-size:10px;padding:5px 8px;border-radius:4px;font-weight:400}.pill-steps span.cur{background:var(--accent)}
.timeline .ti::before{border-color:var(--surface)}
.hero-band{border-radius:9px;padding:29px 34px;background:var(--accent)}
.hero-band h2{font-size:32px;max-width:85%;font-weight:500}.hero-band p{font-size:13px;max-width:80%}
.hero-band::after{font-family:Georgia,serif;color:#e5edd5;right:30px;bottom:-37px;font-size:180px;opacity:.13;pointer-events:none}
.hero-band .btn-ghost{border:1px solid #cedcc342;background:#ffffff08}
.hero-band .row{position:relative;z-index:1}
.code-box{background:var(--accent);color:#dce8bc;font-size:24px;border-radius:7px}
.mail{border-radius:6px;background:#f1f3eb;padding:20px;font-size:13px}
.plan{border-width:1px;border-radius:8px;padding:26px;gap:15px;box-shadow:none;background:var(--surface)}
.plan.popular{border-color:#819c68;background:#f1f5e8;box-shadow:none}
.plan .price{font:500 38px/1.25 var(--font-display);letter-spacing:-.04em}
.plan .price small{font:12px var(--font)}.plan ul{font-size:12px;line-height:1.9}
.plan .btn{margin-top:auto}.card-visual{background:var(--accent);border-radius:8px}
.checklist label{border-radius:5px;font-size:13px}
.drag-list{border-width:1px;border-radius:6px;background:#f5f6ee}.drag-item{border-radius:4px;background:var(--surface)}
/* Calendars and boards */
.cal{gap:7px}.cal .day{border-radius:5px;background:var(--surface);padding:8px;min-height:96px}
.cal .day.today{border-color:#95a777;box-shadow:inset 0 0 0 1px #95a777}
.cal .dh{font-size:10px;letter-spacing:.06em;font-weight:500;padding-bottom:9px}.cal .ev{border-radius:3px;font-size:10px;padding:5px 6px;font-weight:500}
.week{border-radius:6px;min-width:650px}.week .wh{font-size:10px;background:#f0f2e7;font-weight:500}
.week .wh b{font-weight:500;font-size:17px}.week .cell.avail{background:repeating-linear-gradient(135deg,#e8edde 0 6px,#f1f4e9 6px 12px)}
.week .lesson{border-radius:3px;font-weight:400}.week .lesson.done{background:#9ca992}
.slot{border-radius:5px;background:var(--surface);font-size:13px;padding:12px 10px;box-shadow:none}
.slot.active{background:var(--accent);border-color:var(--accent)}.slot:hover{border-color:#95a777;background:#eef2e3}
.slot.active:hover{color:var(--surface);background:var(--accent)}
.board-wrap{border-radius:5px;box-shadow:0 7px 25px #244b3212;background:#7e9374}
.cg-wrap cg-board{background-color:#e9e8d7;background-image:conic-gradient(#7e9374 25%,#e9e8d7 0 50%,#7e9374 0 75%,#e9e8d7 0);background-size:25% 25%}
.cg-wrap square.last-move{background-color:#d0df8890}
.board-wrap .remark{background:var(--accent);border-radius:5px;font-size:14px;font-weight:500}
.moves .mv{border-radius:3px;font-size:12px}.moves .mv.cur{background:var(--accent)}
.eval-bar{background:#23372a;border-radius:4px}.eval-bar span{background:#fffdf0}
.replay-controls input[type=range]{min-width:120px;flex:1}.replay-controls{padding-block:10px}
input[type=range]{accent-color:var(--accent)}
/* Student workspace */
.student .content{max-width:1300px}
.student-greeting{font-size:32px}
.student .big-cta,.student .big-cta.waiting{padding:25px 29px;border-radius:9px;background:var(--accent);box-shadow:none;min-height:120px;position:relative;overflow:hidden}
.student .big-cta::after{content:"♘";font:130px Georgia,serif;position:absolute;right:24px;bottom:-32px;opacity:.1;pointer-events:none}
.student .big-cta .t{font-family:var(--font-display);font-weight:500;font-size:29px;line-height:1.2;letter-spacing:-.035em}
.student .big-cta .s{font-size:12px;margin-top:10px;color:#d0ddc9;line-height:1.6}
.student .big-cta .ico{font-size:30px;position:relative;z-index:1}.student .big-cta .ico svg{width:32px;height:32px;stroke-width:1.4}
.student .tile{padding:25px;border-radius:8px;min-height:200px;gap:11px;box-shadow:none;position:relative;background:var(--surface)}
.student .tile:nth-child(2){background:#eaf0df}.student .tile:nth-child(3){background:#f1eedf}
.student .tile .ico{color:#526e43;line-height:1;margin-bottom:10px}.student .tile .ico svg{width:33px;height:33px;stroke-width:1.35}
.student .tile b{font-size:18px;line-height:1.4;font-weight:500}.student .tile .sub{font-size:12px;line-height:1.7}
.student .tile::after{content:"↗";position:absolute;right:23px;top:23px;font-size:22px;color:#8ca177}
.student .tile:hover{box-shadow:var(--shadow);border-color:#a1b48c;transform:translateY(-3px)}
.ach{padding:16px;border-radius:6px}.ach .ico{border-radius:5px;background:#edf1e3}
.stickers span{border-radius:6px}.stars i.on{color:#a49354}
/* Authentication */
.auth-page{grid-template-columns:minmax(0,1fr) minmax(0,1fr);background:var(--bg)}
.auth-side{background:#e9ede2;color:var(--text);padding:34px 45px 24px;gap:28px;position:sticky;top:0;height:100dvh;min-height:760px;justify-content:flex-start;border-right:1px solid var(--border)}
.auth-side-head{display:flex;justify-content:space-between;align-items:center;gap:20px}
.auth-brand{display:inline-flex;gap:8px;white-space:nowrap}.auth-brand b{font-size:20px;font-family:var(--font);letter-spacing:-.06em}
.auth-brand .logo{font-size:42px}.brand-dot{color:#8f9b71;margin-left:-8px;font-weight:700}
.auth-back{font-size:11px;color:#738168;white-space:nowrap}
.auth-story{padding-top:32px;position:relative;z-index:1}.auth-story .eyebrow{font-size:9px;letter-spacing:.1em;margin-bottom:15px}
.auth-display{font-family:var(--font-display);font-size:clamp(40px,4.1vw,63px);font-weight:500;letter-spacing:-.05em;line-height:1.1}
.auth-display>span,.auth-display>em{display:block}.auth-display em{font-weight:500;color:var(--accent-2)}
.auth-story p{font-size:12px;color:var(--text-2);margin:18px 0 0}
.auth-art{position:relative;min-height:230px;flex:1;max-height:440px;margin-top:5px}
.auth-art>img{width:100%;height:100%;object-fit:cover;object-position:62% 50%;border-radius:45% 45% 5px 5px;position:absolute;inset:0;animation:auth-art-enter .9s var(--ease) both}
.auth-art-note{position:absolute;left:18px;right:18px;bottom:22px;background:#fffff7f0;border:1px solid #fff7;border-radius:6px;box-shadow:0 10px 35px #173f3510;padding:15px 20px;display:flex;gap:14px;align-items:center;max-width:410px}
.auth-art-note>span{font:32px Georgia,serif;color:var(--accent)}
.auth-art-note b{display:block;font-size:11px;font-weight:500;line-height:1.7}.auth-art-note small{font-size:10px;color:var(--muted);display:block}
.auth-side-footer{margin-top:auto;display:flex;justify-content:space-between;gap:15px;color:#7d8973;font-size:9px}
.auth-form{padding:34px 65px 24px;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;min-width:0;min-height:100dvh}
.auth-form-top{display:flex;justify-content:space-between;align-items:center;gap:16px;max-width:455px;width:100%;margin:0 auto}
.auth-form-caption{font-size:11px;color:#77826e}
.auth-card{width:100%;max-width:455px;margin:auto;animation:workspace-enter .6s var(--ease) both;padding:50px 0}
.auth-heading{margin-bottom:30px}.auth-heading .eyebrow{margin-bottom:13px;font-size:9px}
.auth-heading h1{font-size:43px;line-height:1.15;letter-spacing:-.045em;max-width:460px}
.auth-heading p{margin:17px 0 0;font-size:13px;line-height:1.85;color:var(--muted);max-width:405px}
.auth-form .input{background:#fffefa;min-height:48px;padding:13px 14px;font-size:14px}
.auth-form .field label{font-size:12px}
.auth-form .btn-block{min-height:50px;font-size:13px;font-weight:500;position:relative}
.auth-form .btn-block::after{content:"↗";position:absolute;right:18px;font-size:20px;line-height:1}
.auth-form .btn.loading::after{content:"";right:auto}
.auth-form .field{margin-bottom:20px}.auth-form .field .hint{font-size:10px}
.auth-form form>.row a,.auth-form form>p>a{font-size:11px}
.auth-form .divider{margin:23px 0}
.auth-form .small{font-size:11px;line-height:1.8}.auth-form .tiny{font-size:10px;line-height:1.8}.auth-form .checkbox{font-size:11px}
.auth-form-footer{display:flex;align-items:center;justify-content:center;gap:8px;max-width:455px;width:100%;margin:0 auto;color:#8b957e;font-size:9px;padding-top:16px}
.auth-form-footer>span{font:19px Georgia,serif}
.auth-mobile-header{display:none}
.role-tabs{gap:4px;padding:4px;background:#eef0e5;border:1px solid #e0e5d6;border-radius:6px;margin-bottom:27px}
.role-tabs button{border:0;border-radius:4px;padding:11px 9px;background:none;font-size:12px;font-weight:500;color:var(--muted);gap:4px}
.role-tabs button small{font-size:10px;color:#849078}
.role-tabs button.active{background:var(--surface);color:var(--accent);box-shadow:0 2px 8px #2c492c08}
.pin-input{gap:12px;margin:5px 0 10px}.pin-input input.input{height:64px;min-height:64px;width:59px;font-size:27px;border:1px solid #c8d2bc;border-radius:6px;text-align:center;padding:10px}
.pin-input input:focus{border-color:var(--accent);box-shadow:0 0 0 3px #37665312}
.password-wrap{position:relative;width:100%}.password-wrap>.input{padding-right:47px}
.password-toggle{border:0;position:absolute;right:5px;top:50%;transform:translateY(-50%);height:36px;width:36px;color:#7c8a70;background:none;border-radius:4px;font-size:16px;display:grid;place-items:center}
.password-toggle[aria-pressed=true]{color:var(--accent);background:var(--accent-soft)}
.auth-register .auth-card{padding:37px 0}.auth-register .auth-heading{margin-bottom:25px}.auth-register .auth-heading h1{font-size:36px}
.auth-register .auth-form .field{margin-bottom:15px}.auth-register .auth-form .input{min-height:43px;padding-block:10px}
/* Responsive layout, including long translated labels */
html[lang=hy] h1,html[lang=hy] h2,html[lang=hy] .auth-display{font-family:"Noto Serif Armenian",serif;letter-spacing:-.03em;line-height:1.3}
html[lang=hy] .auth-display em{font-style:normal}
html[lang=hy] .auth-display{font-size:clamp(35px,3.4vw,49px)}
html[lang=ru] .auth-display{font-size:clamp(36px,3.5vw,53px)}
html[lang=hy] .auth-heading h1{font-size:35px}html[lang=hy] .auth-register .auth-heading h1{font-size:30px}
@media(max-width:1200px){
  :root{--nav-w:226px}.sidenav{padding-inline:13px}.brand b{font-size:16px}.nav-item{font-size:11px}
  .topbar{padding-inline:28px}.content{padding:30px 28px 36px}.workspace-footer{margin-inline:28px}
  .card{padding:19px}.grid{gap:16px}.kpi{gap:12px}.kpi .stat .v{font-size:30px}.kpi .ico{width:37px;height:37px;flex-basis:37px}
  .auth-side{padding:30px 32px 22px}.auth-form{padding:30px 42px 22px}.auth-side .auth-back{font-size:10px}.auth-brand b{font-size:18px}
}
@media(max-width:960px){
  .group-builder{grid-template-columns:1fr}
  .shell{grid-template-columns:minmax(0,1fr)}.sidenav{width:min(86vw,300px);height:100dvh;position:fixed;inset:0 auto 0 0;box-shadow:0 20px 70px #173f3530;padding:27px 19px 15px;z-index:40}
  .nav-close{display:inline-flex;margin-left:auto}.sidebar-brand-row{gap:5px}.sidebar-brand-row .brand b{font-size:17px}
  .nav-item{font-size:13px;min-height:45px}.nav-list{gap:4px}.nav-section-label{font-size:10px;padding-top:26px}
  .scrim{z-index:35;background:#102e2573;backdrop-filter:blur(3px)}
  .topbar{height:70px;padding:0 22px;gap:14px}.topbar .burger{display:inline-flex}
  .workspace-breadcrumb>a>span{display:none}.topbar-actions{gap:13px}.content{padding:27px 22px 35px}.workspace-footer{margin-inline:22px}
  .page-heading h1{font-size:37px}.page-heading{margin-bottom:24px}.page-heading p{font-size:13px}.card{padding:21px}
  .auth-side{padding:29px 26px 22px;min-height:760px}.auth-form{padding:29px 32px 22px}
  .auth-side-head .auth-back{display:none}.auth-display{font-size:43px}.auth-story .eyebrow{font-size:8px}
  .auth-heading h1{font-size:36px}.auth-form-top{gap:10px}.auth-form-caption{font-size:10px}
  .auth-art-note{padding:12px;left:12px;right:12px;gap:9px}.auth-art-note b{font-size:10px}.auth-art-note small{font-size:9px}
  .auth-side-footer{flex-direction:column;gap:4px}.auth-register .auth-heading h1{font-size:32px}
}
@media(max-width:860px){
  .auth-page{grid-template-columns:1fr}.auth-side{display:none}
  .auth-form{padding:24px 35px 24px;min-height:100dvh}.auth-mobile-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:24px;border-bottom:1px solid var(--border);margin-bottom:25px}
  .auth-mobile-header .auth-brand b{font-size:20px}.auth-mobile-header .auth-brand .logo{font-size:36px}
  .auth-form-top{max-width:460px}.auth-card{max-width:460px;padding:45px 0}
  .auth-heading h1{font-size:41px}.auth-register .auth-card{padding-top:30px}
  .auth-register .auth-heading h1{font-size:35px}
}
@media(max-width:700px){
  .content{padding:24px 18px 30px}.topbar{padding:0 16px;gap:10px;height:66px}
  .workspace-breadcrumb{font-size:11px;gap:8px}.workspace-breadcrumb>a,.breadcrumb-slash{display:none}
  .topbar-actions{gap:9px}.topbar-profile{padding-left:10px}.topbar-profile .av{width:28px;height:28px}.lang-switch button{font-size:10px;padding:8px 5px}
  .page-heading{display:block;margin-bottom:23px}.page-heading h1{font-size:33px}.page-heading .eyebrow{font-size:9px}.page-heading p{font-size:12px;line-height:1.8}
  .page-actions{justify-content:flex-start;margin-top:17px}.workspace-footer{margin-inline:18px;font-size:9px;flex-wrap:wrap;gap:8px}
  .card{padding:19px}.grid{gap:14px}.grid-3,.grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-auto{grid-template-columns:1fr}
  .kpi{gap:10px;padding:17px;align-items:flex-start}.kpi .ico{width:32px;height:32px;flex-basis:32px}.kpi .ico svg{width:18px;height:18px}.kpi .stat .v{font-size:30px}.stat .l{font-size:10px;line-height:1.6}
  .stat .v{font-size:29px}.btn{font-size:12px;white-space:normal;padding:11px 14px}.btn-sm{font-size:11px;padding:8px 11px}.btn svg{flex-shrink:0}
  .input-group>.input{min-width:0}.input-group .btn{flex-shrink:0}
  .hero-band{padding:25px}.hero-band h2{font-size:28px;max-width:90%}.hero-band p{font-size:12px;max-width:88%}.hero-band::after{right:14px;font-size:145px}
  .list-item{padding:14px;flex-wrap:wrap;gap:11px}.list-item>.body{flex-basis:calc(100% - 80px)}.list-item .body b{font-size:13px}.list-item .body .sub{font-size:11px;overflow-wrap:anywhere}
  .card-title h3{font-size:16px}.card-title{gap:10px}.badge{white-space:normal;max-width:100%;font-size:10px}
  .cal{gap:3px}.cal .day{padding:4px;min-height:82px;border-radius:3px}.cal .day .dn{font-size:11px}.cal .ev{font-size:9px;padding:3px}.cal .dh{font-size:9px}
  .table th{padding:11px 12px}.table td{padding:12px}.table td .badge{white-space:nowrap}
  .modal-backdrop{padding:12px}.modal{max-height:94dvh}.modal-head{padding:20px 20px 0}.modal-head h2{font-size:25px}.modal-body{padding:19px 20px 23px}.modal-foot{padding:0 20px 22px}.modal .grid-3{grid-template-columns:1fr}
  .toasts{right:14px;bottom:14px}.toast{font-size:12px}.dropdown{position:fixed;right:12px;top:70px;width:calc(100vw - 24px);max-height:75dvh}
  .student .tile{padding:21px;min-height:190px}.student .tile b{font-size:16px}.student .tile .sub{font-size:12px}
  .student .tile::after{right:18px;top:19px}.student .big-cta{padding:24px;gap:14px}.student .big-cta .t{font-size:25px}.student .big-cta .s{font-size:11px}
  .student-greeting{font-size:28px}.avatar.xl{height:64px;width:64px;flex-basis:64px;font-size:35px}
  .sticky-side{position:static}.pill-steps span{font-size:9px;padding:5px 6px}
  html[lang=hy] .page-heading h1{font-size:29px}html[lang=hy] .hero-band h2{font-size:25px}
}
@media(max-width:480px){
  .auth-form{padding:21px 22px 22px}.auth-mobile-header{padding-bottom:20px;margin-bottom:22px;gap:12px}
  .auth-mobile-header .auth-brand b{font-size:18px}.auth-mobile-header .auth-brand .logo{font-size:33px}.auth-back{font-size:10px}
  .auth-form-top{align-items:center}.auth-form-caption{font-size:10px}.auth-card{padding:35px 0 40px}
  .auth-heading h1{font-size:37px}.auth-heading p{font-size:13px}.auth-heading .eyebrow{font-size:9px}
  .auth-form .input{font-size:16px}.auth-form .btn-block{font-size:13px}.auth-form .checkbox{font-size:12px}.auth-form .small{font-size:12px}
  .auth-form form>.row{gap:13px;align-items:flex-start}.auth-form form>.row a,.auth-form form>p>a{font-size:12px}
  .auth-register .auth-form .grid-2{grid-template-columns:1fr}.auth-register .auth-heading h1{font-size:33px}
  .auth-form-footer{font-size:10px}.auth-form .field label{font-size:13px}.auth-form .field .hint{font-size:11px}
  .role-tabs button{font-size:13px}.role-tabs button small{font-size:10px}.auth-form .tiny{font-size:11px}
  .topbar-profile{display:none}.topbar .spacer{min-width:0}.workspace-breadcrumb{flex:1}.topbar-actions{gap:5px}
  .page-heading h1{font-size:31px}.grid-2{grid-template-columns:1fr}.grid-3,.grid-4{grid-template-columns:1fr 1fr}
  .card .grid-3{grid-template-columns:1fr}.kpi{flex-direction:column;gap:14px}.kpi .stat .v{font-size:32px}
  .student .grid-3{grid-template-columns:1fr}.student .tile{min-height:160px}
  .student .big-cta .ico{display:none}.student .big-cta .t{font-size:25px}
  .student .page-content>.col>.row:first-child>.row{align-items:flex-start;gap:13px}.student-greeting{font-size:25px}
  .slots{grid-template-columns:repeat(auto-fill,minmax(82px,1fr))}
  .cal .ev{font-size:8px;line-height:1.5}.cal .day{min-height:78px}.cal .dh{font-size:8px}
  .card>.row>.avatar.lg{width:43px;height:43px;flex-basis:43px;font-size:25px}
  html[lang=hy] .auth-heading h1{font-size:30px}html[lang=hy] .auth-register .auth-heading h1{font-size:28px}
}
@media(max-width:360px){
  .auth-form{padding-inline:18px}.auth-mobile-header .auth-brand b{font-size:15px}.auth-mobile-header .auth-brand .logo{font-size:30px}.auth-mobile-header .auth-back{font-size:9px}
  .auth-form-caption{font-size:9px}.auth-heading h1{font-size:33px}.auth-form .lang-switch button{font-size:10px;padding:8px 6px}
  .pin-input{gap:9px}.pin-input input.input{width:53px;height:59px;min-height:59px}
  .content{padding-inline:14px}.topbar{padding-inline:12px;gap:6px}.topbar .lang-switch button{padding-inline:4px}.workspace-breadcrumb{font-size:10px}
  .card{padding:16px}.badge{font-size:9px}.grid{gap:11px}.kpi .stat .v{font-size:28px}
  .hero-band{padding:22px}.hero-band h2{font-size:25px}.page-heading h1{font-size:29px}
}
@keyframes workspace-enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@keyframes auth-art-enter{from{opacity:0;transform:scale(.98)}to{opacity:1;transform:scale(1)}}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
  .card.hover:hover,.student .tile:hover,.student .big-cta:hover,.btn:hover{transform:none}
}
@media print{.workspace-footer,.page-heading .eyebrow,.topbar,.skip-link{display:none!important}.content{padding:0}.page-heading h1{font-size:26px}.page-content{animation:none}}
