@charset "UTF-8";
html[data-theme=light]{color-scheme:light}
:root{--bg:#fff;--panel:#fff;--text:#272b35;--muted:#6b707c;--line:#e3e5e9;--primary:#0646e8;--on-primary:#fff;--tint:#f3f5f8;--error:#b52939;--error-bg:#fff0f1;--success:#24724c}
html[data-theme=dark]{--bg:#17181c;--panel:#1f2026;--text:#f1f2f5;--muted:#a8aab5;--line:#383a44;--primary:#82acff;--on-primary:#101318;--tint:#282a33;--error:#ff9ea8;--error-bg:#38232a;--success:#80d9ac;color-scheme:dark}
*{box-sizing:border-box;letter-spacing:0}body{margin:0;background:var(--bg);color:var(--text);font:14px/1.5 Arial,'Segoe UI',sans-serif}a{color:var(--primary);text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{outline-offset:3px}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}h1,h2,h3,p{margin-top:0}h1{font-size:28px;line-height:1.2;font-weight:600;margin-bottom:12px}h2{font-size:18px;line-height:1.4;margin-bottom:16px;font-weight:600}p{margin-bottom:16px}small{display:block;font-size:12px;color:var(--muted);line-height:1.4}strong{font-weight:600}.muted{color:var(--muted)}.eyebrow{color:var(--muted);font-size:11px;font-weight:600;margin-bottom:12px}.lucide{width:18px;height:18px;stroke-width:1.7;flex:none}.brand{display:block}.brand img{width:184px;max-width:100%;height:74px;object-fit:contain}.logo-dark{display:none}html[data-theme=dark] .logo-light{display:none}html[data-theme=dark] .logo-dark{display:block}
.sidebar{width:232px;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;padding:24px 18px 16px;background:var(--panel);border-right:1px solid var(--line);border-top:4px solid #0646e8;overflow-y:auto}.nav-label{font-size:11px;text-transform:uppercase;color:var(--muted);margin:28px 12px 12px}.sidebar nav{display:flex;flex-direction:column;gap:2px}.sidebar nav a{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:9px 12px;color:var(--muted);font-size:13px;border-left:2px solid transparent}.sidebar nav a:hover{background:var(--tint);text-decoration:none}.sidebar nav a.selected{background:var(--tint);color:var(--primary);border-left-color:var(--primary);font-weight:600}.sidebar-bottom{display:flex;gap:10px;border-top:1px solid var(--line);margin-top:auto;padding:22px 0 12px;font-size:12px}.sidebar-bottom strong{display:block;line-height:1.4;overflow-wrap:anywhere}.avatar{width:32px;height:32px;flex:none;border-radius:50%;background:var(--tint);display:grid;place-items:center;font-weight:600}.logout{border:0;background:none;color:var(--muted);padding:8px 4px;font-size:12px}.authenticated .main{margin-left:232px;padding:0 32px 20px;max-width:1800px}.topline{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--muted);font-size:11px;min-height:66px;margin-bottom:30px;border-bottom:1px solid var(--line)}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.page-heading h1{margin:0}.page-heading p{color:var(--muted);margin:8px 0 0}.total{font-size:16px;color:var(--muted);font-weight:400;margin-left:8px}.actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;padding:8px 14px;background:var(--primary);color:var(--on-primary);border:1px solid var(--primary);border-radius:4px;font-weight:500;font-size:13px;line-height:1.4;text-align:center;white-space:normal;text-decoration:none}.button:hover{text-decoration:none;filter:brightness(.95)}.button.secondary{background:var(--panel);border-color:var(--line);color:var(--text)}.button.danger{background:var(--error);color:var(--bg);border-color:var(--error)}.button.danger.secondary{background:transparent;color:var(--error);border-color:var(--line)}.full{width:100%;justify-content:space-between}.icon-button{width:38px;height:38px;padding:8px;flex:none}.icon-link{width:30px;height:30px;display:grid;place-items:center;color:var(--muted)}.icon-link:hover{background:var(--tint);color:var(--primary)}.reset{font-size:12px;align-self:center}.alert{padding:12px 16px;border-left:3px solid var(--primary);margin:0 0 20px;background:var(--tint)}.alert.error{color:var(--error);background:var(--error-bg);border-left-color:var(--error)}.alert.success{color:var(--success);border-left-color:var(--success)}.notice{display:flex;gap:16px;align-items:center;background:var(--tint);padding:14px 18px;font-size:13px;margin-bottom:24px}.notice span{color:var(--muted)}
label{display:block;font-size:12px;font-weight:600;margin-bottom:16px}input:not([type=radio]):not([type=checkbox]),select,textarea{display:block;width:100%;margin-top:6px;border:1px solid #bfc4ce;background:var(--panel);color:var(--text);border-radius:4px;padding:9px 10px;font-weight:400;font-size:14px;min-width:0;min-height:38px}html[data-theme=dark] input,html[data-theme=dark] select,html[data-theme=dark] textarea{border-color:var(--line)}input:focus,select:focus,textarea:focus{border-color:var(--primary)}input[type=checkbox],input[type=radio]{accent-color:var(--primary);width:16px;height:16px;vertical-align:middle}input[readonly]{background:var(--tint)!important}textarea{resize:vertical}label.check{display:flex;align-items:flex-start;gap:8px;font-weight:400;font-size:13px}.filters{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;margin-bottom:22px}.filters label{margin:0;flex:1;min-width:140px}.filters .button{flex:none}.compact-filters{gap:10px}.compact-filters label{min-width:115px}.compact-filters label:first-child{flex:1.5}.section-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:28px 0 18px}.section-title h2{margin:0}.section-title>span{font-size:12px;color:var(--muted)}
.event-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.event-card{background:var(--panel);border:1px solid var(--line);border-radius:6px;padding:20px;display:flex;flex-direction:column}.card-top{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:11px;margin-bottom:20px}.tag,.badge{display:inline-block;padding:4px 8px;border-radius:3px;font-size:11px;font-weight:500;background:var(--tint);color:var(--text)}.badge.cancelled{background:var(--error-bg);color:var(--error)}.badge.active{color:var(--success)}.event-card h2{font-size:19px;margin-bottom:7px}.teacher-name{color:var(--muted);font-size:13px;margin-bottom:24px}.event-when{display:flex;gap:14px;align-items:center;margin-bottom:20px}.date-square{background:var(--tint);border-radius:4px;text-align:center;width:66px;flex:none;padding:8px;font-size:26px;font-weight:600;line-height:1.2}.date-square small{font-size:10px}.description{font-size:12px;color:var(--muted)}.card-bottom{margin-top:auto;padding-top:14px;border-top:1px solid var(--line)}.card-bottom>span{font-size:11px;color:var(--muted);display:block;margin-bottom:10px}.card-bottom small{font-size:11px;margin-top:9px}.panel{padding:0;background:transparent;border:0;border-radius:0;box-shadow:none}.panel.compact{padding:16px 0;margin-bottom:24px;border-top:1px solid var(--line)}.two-columns{display:grid;grid-template-columns:1fr 1fr;gap:40px}.two-columns>.panel{min-width:0}.user-editor{max-width:1040px}.form-panel{max-width:850px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 22px}.wide{grid-column:1/-1}.spaced{margin-top:28px}.tags{display:flex;flex-wrap:wrap;gap:9px}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:28px}.stats.four{grid-template-columns:repeat(4,minmax(0,1fr))}.stats>div{padding:14px 0;border-bottom:2px solid var(--line);min-width:0}.stats strong{display:block;font-size:23px;margin:8px 0;overflow-wrap:anywhere}.stats span{font-size:11px;color:var(--muted)}dl{display:grid;grid-template-columns:1fr 2fr;gap:14px 20px;font-size:14px;margin-bottom:25px}dt{color:var(--muted)}dd{margin:0;overflow-wrap:anywhere}.theme-choice{display:flex;gap:25px;margin:20px 0}.theme-choice label{font-size:14px}
.table-wrap{overflow-x:auto;border:1px solid var(--line);background:var(--panel)}table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}th{padding:11px 12px;background:var(--tint);font-size:11px;font-weight:600;color:var(--muted);white-space:nowrap}td{padding:12px;border-top:1px solid var(--line);vertical-align:middle;overflow-wrap:anywhere}td small{margin-top:4px}td .button{font-size:11px;padding:6px 10px;min-height:32px}.compact-table table{font-size:12px;min-width:820px}.compact-table th,.compact-table td{padding:7px 10px;line-height:1.35}.compact-table td:nth-child(3){max-width:250px}.select-cell{width:34px;text-align:center}.compact-table tbody tr:hover{background:var(--tint)}.compact-table tr.graduation-row{background:var(--error-bg);box-shadow:inset 3px 0 var(--error)}.danger-text{color:var(--error)}.bulk-toolbar{display:flex;align-items:center;justify-content:space-between;margin:12px 0;font-size:12px;color:var(--muted);min-height:38px}.empty{text-align:center;padding:40px 20px;color:var(--muted)}.event-grid>.empty{grid-column:1/-1}.pagination{display:flex;gap:20px;align-items:center;justify-content:center;margin:24px 0;font-size:13px}.steps{padding-left:22px}.steps li{padding:0 0 18px 8px}.steps small{margin-top:5px}.list-row{padding:12px 0;border-bottom:1px solid var(--line)}.list-row a{font-size:12px}.inline-form{display:flex;align-items:center;gap:7px}.inline-form select{margin:0}.catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}.catalog-row{padding:12px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}summary{cursor:pointer;font-weight:500}.catalog-row form{padding-top:18px}.assignment{display:flex;gap:20px;justify-content:space-between;border-top:1px solid var(--line);padding:16px 0}.assignment strong{font-size:13px}.remove{background:none;border:0;color:var(--error);padding:3px}.inline-catalog{border-left:2px solid var(--primary);padding-left:16px;margin:8px 0 20px}.error-page{max-width:850px;margin:80px auto}pre{white-space:pre-wrap;background:var(--tint);padding:20px;overflow-wrap:anywhere;font-size:13px}footer{display:flex;justify-content:space-between;gap:20px;color:var(--muted);border-top:1px solid var(--line);font-size:11px;padding-top:20px;margin-top:48px}
.scenario-actions{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0}.scenario-actions form{margin:0}.impersonation-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;background:var(--tint);border-left:3px solid var(--primary);padding:12px 16px;margin:0 0 24px}.impersonation-bar strong{display:block}.impersonation-bar span{display:block;color:var(--muted);font-size:12px}.impersonation-bar form{margin:0;flex:none}.notification-bell{display:flex;align-items:center;gap:5px;color:var(--primary);min-width:30px}.notification-bell [data-notification-count]:empty{display:none}.view-tabs{display:flex;gap:24px;border-bottom:1px solid var(--line);margin-bottom:8px}.view-tabs a{padding:10px 0;color:var(--muted);border-bottom:2px solid transparent}.view-tabs a.selected{border-bottom-color:var(--primary);color:var(--primary)}.notification{display:flex;justify-content:space-between;gap:24px;padding:20px 14px;border-bottom:1px solid var(--line)}.notification.unread{border-left:3px solid var(--primary);background:var(--tint)}.notification h2{font-size:15px;margin-bottom:6px}.notification p{margin-bottom:8px}.notification time{font-size:12px;color:var(--muted)}.notification>div{min-width:0;overflow-wrap:anywhere}
.guest{background:#f6f7f9;border-top:5px solid #0646e8}.guest .main{min-height:calc(100vh - 5px);padding:0 32px;display:flex;flex-direction:column}.guest .alert{max-width:460px;width:100%;margin:16px auto}.guest-header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px 0;color:#626776;font-size:11px}.guest-header a{display:flex;align-items:center;gap:5px}.login-form{width:100%;max-width:440px;margin:auto; padding:32px 24px 40px;background:transparent}.login-logo{display:block;width:282px;max-width:100%;height:112px;object-fit:contain;margin:0 auto 32px}.login-form h1{font-size:26px;text-align:center;margin-bottom:8px}.login-form>.muted{text-align:center;margin-bottom:28px;font-size:14px}.login-form .button{min-height:44px}.password-field{position:relative}.password-field input{padding-right:46px!important}.reveal{position:absolute;right:4px;top:3px;width:34px;height:34px;border:0;background:none;color:var(--muted);display:grid;place-items:center}.help-box{border-top:1px solid var(--line);margin-top:26px;padding-top:20px;font-size:12px}.help-box p{color:var(--muted);margin:8px 0 0}.guest-footer{margin-top:24px;padding-bottom:20px}
@media(max-width:1200px){.event-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.authenticated .main{padding:0 24px 20px}.sidebar{width:210px;padding:24px 14px}.authenticated .main{margin-left:210px}.stats.four{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.two-columns{grid-template-columns:1fr;gap:30px}.page-heading{align-items:flex-start}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.assignment{flex-direction:column}.catalog-grid{grid-template-columns:1fr}.filters label{min-width:140px}}
@media(max-width:700px){.sidebar{position:static;width:100%;padding:16px;border-right:0;border-bottom:1px solid var(--line)}.brand img{width:154px;height:62px}.sidebar .brand{margin-bottom:12px}.nav-label,.sidebar-bottom{display:none}.sidebar nav{flex-direction:row;flex-wrap:wrap;gap:2px}.sidebar nav a{padding:7px 9px;font-size:12px}.sidebar>form{position:absolute;right:16px;top:28px}.sidebar .logout{font-size:11px}.authenticated .main{margin-left:0;padding:0 16px 16px}.topline{min-height:52px;margin-bottom:24px;font-size:10px}.page-heading{flex-direction:column;gap:16px}.page-heading h1{font-size:25px}.event-grid{grid-template-columns:1fr}.notice{flex-direction:column;align-items:flex-start;gap:5px}.form-grid{grid-template-columns:1fr}.filters{gap:10px}.filters label{min-width:calc(50% - 10px)}.stats{grid-template-columns:1fr}.stats.four{grid-template-columns:repeat(2,minmax(0,1fr))}.stats strong{font-size:21px}.section-title{align-items:flex-start;flex-wrap:wrap}footer{flex-direction:column;gap:6px}dl{grid-template-columns:1fr 2fr;gap:10px}.theme-choice{gap:15px}table{min-width:560px}.error-page{margin:30px auto}.impersonation-bar{flex-direction:column;align-items:flex-start}.impersonation-bar form{width:100%}.impersonation-bar .button{width:100%}.guest .main{padding:0 16px}.guest-header{font-size:10px;padding:20px 0}.login-form{padding:26px 8px}.login-logo{width:250px;height:100px}.login-form h1{font-size:24px}.notification{gap:10px;padding:16px 10px}}
[hidden]{display:none!important}
.avatar{overflow:hidden}.avatar img{display:block;width:100%;height:100%;object-fit:cover}.avatar-large{width:96px;height:96px;font-size:32px}.avatar-editor{display:flex;align-items:flex-start;gap:20px}.avatar-controls{min-width:0;flex:1}.avatar-controls p{font-size:12px}.spaced-small{margin-top:12px}.password-warning{color:var(--error);border-left:3px solid var(--error);padding:8px 12px;background:var(--error-bg);font-size:13px}.admin-contact,.database-section{margin-top:30px;padding-top:24px;border-top:1px solid var(--line)}.admin-contact p{margin:10px 0}.admin-contact a{overflow-wrap:anywhere}.database-form{max-width:480px}.database-section>p{max-width:900px}.database-section dl{max-width:480px}.database-section .filters label{min-width:180px}@media(max-width:480px){.avatar-editor{flex-direction:column}.avatar-controls{width:100%}.database-section .filters label{min-width:100%}}
.language-switch,.view-switch{display:inline-flex;align-items:center;margin:0;border:1px solid var(--line);border-radius:4px;overflow:hidden;flex:none}.language-option,.view-switch button{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:0;border-radius:0;background:var(--panel);color:var(--muted);font-size:12px;padding:7px 9px;min-height:34px;white-space:nowrap}.language-option img{display:block;object-fit:cover;flex:none}.language-option.selected,.view-switch button.selected{background:var(--tint);color:var(--primary);box-shadow:inset 0 -2px var(--primary)}.view-switch button{width:38px;height:36px;padding:8px}.login-language{text-align:center;margin-top:18px}.text-link{border:0;background:transparent;color:var(--primary);padding:4px;font:inherit;text-decoration:underline;text-underline-offset:3px}.greeting{font-size:18px!important;margin:0 0 8px!important;color:var(--text)!important}.maintenance-control{display:flex;justify-content:space-between;align-items:center;gap:24px;border-block:1px solid var(--line);padding:20px 0;margin-bottom:26px}.maintenance-control h2{margin-bottom:6px}.maintenance-control p{margin:0;color:var(--muted);max-width:600px}.maintenance-control form{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.maintenance-control label{margin:0}.maintenance-page{margin:auto;text-align:center;max-width:660px;padding:40px 16px}.maintenance-page h1{font-size:28px}.maintenance-page p{font-size:18px;line-height:1.6}.consultation-list td{padding:9px 12px}.event-description{white-space:pre-wrap;overflow-wrap:anywhere;max-width:900px}.event-card h2{overflow-wrap:anywhere}.event-card .teacher-name,.event-card .description{overflow-wrap:anywhere}
@media(max-width:700px){.topline{flex-wrap:wrap;padding:10px 0;gap:8px}.topline>.actions{gap:8px;margin-left:auto}.header-date{display:none}.language-option{padding:6px 8px;font-size:11px}.maintenance-control{flex-direction:column;align-items:flex-start}.maintenance-page h1{font-size:25px}.maintenance-page p{font-size:16px}.guest-header{flex-wrap:wrap}.guest-header>.actions{margin-left:auto}}
.audit-log{margin:0;max-height:65vh;overflow:auto;background:var(--panel);border:1px solid var(--line);padding:12px 16px;white-space:pre;overflow-wrap:normal;font:12px/1.8 Consolas,'Courier New',monospace;color:var(--text)}
.audit-dialog{width:min(100% - 32px,540px);max-height:calc(100vh - 32px);overflow:auto;border:1px solid var(--line);border-radius:6px;padding:24px;background:var(--panel);color:var(--text);box-shadow:0 16px 48px #0004}
.audit-dialog::backdrop{background:#0009}.audit-dialog h2{margin-bottom:10px}.audit-dialog-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:12px}
@media(max-width:480px){.audit-dialog{padding:18px}.audit-dialog .form-grid{grid-template-columns:1fr}}

/* Login photo: https://nf.misis.ru/images/university/nfmisis_1.jpg */
.login-page{border-top:0;background:#26313c}
.login-page .main{position:relative;isolation:isolate;min-height:100svh;padding:32px;display:grid;place-items:center;background:url('nfmisis-building.jpg') center/cover no-repeat}
.login-page .main::before{content:"";position:absolute;z-index:-1;inset:0;background:rgba(10,20,34,.42)}
.login-page .guest-header,.login-page .guest-footer{display:none}
.login-page .alert{position:fixed;z-index:4;top:20px;left:50%;transform:translateX(-50%);margin:0;background:rgba(255,255,255,.96);box-shadow:0 8px 28px rgba(0,0,0,.2)}
.login-shell{width:min(100%,470px);margin:auto}
.login-panel{width:100%;padding:34px 40px 30px;border:1px solid rgba(255,255,255,.7);border-radius:8px;background:rgba(255,255,255,.88);box-shadow:0 20px 60px rgba(7,18,33,.28);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.login-brand{display:block;width:min(100%,286px);margin:0 auto 18px}
.login-brand:hover{text-decoration:none}
.login-logo{display:block;width:100%;height:auto;margin:0;object-fit:contain}
.login-heading{text-align:center;margin-bottom:24px}
.login-heading h1{font-size:25px;margin-bottom:5px;color:#252a35}
.login-heading p{margin:0;color:#5e6572;font-size:14px}
.login-form{width:100%;max-width:none;margin:0;padding:0;background:transparent}
.login-form label{color:#363c48;margin-bottom:13px}
.login-form input:not([type=radio]):not([type=checkbox]){min-height:46px;margin-top:5px;border-color:#9ca5b5;border-radius:6px;background:rgba(255,255,255,.9);color:#20242d;font-size:15px;padding:11px 13px}
.login-form input::placeholder{color:#777f8e}
.login-form input:focus{border-color:#0646e8;box-shadow:0 0 0 3px rgba(6,70,232,.14)}
.login-form .password-field input{padding-right:48px!important}
.login-form .reveal{top:6px;right:5px;width:34px;height:34px;color:#596171}
.login-submit{min-height:46px;justify-content:center;margin-top:6px;border-radius:6px;font-size:15px}
.forgot-password-link{display:block;margin:13px 0 0;padding:2px 0;border:0;background:transparent;color:#334b75;font-size:13px;text-decoration:underline;text-underline-offset:3px}
.forgot-password-link:hover{color:#0646e8}
.login-language{margin-top:22px;padding-top:18px;border-top:1px solid rgba(87,96,112,.25)}
.login-language .text-link{color:#334b75;font-size:13px}
.forgot-password-dialog{width:min(calc(100% - 32px),470px);padding:34px 38px 30px;border:1px solid rgba(255,255,255,.7);border-radius:8px;background:rgba(255,255,255,.96);color:#252a35;box-shadow:0 20px 65px rgba(0,0,0,.32);text-align:center}
.forgot-password-dialog::backdrop{background:rgba(8,16,28,.64);backdrop-filter:blur(3px)}
.forgot-password-dialog .dialog-close-form{position:absolute;top:10px;right:10px}
.dialog-close{width:36px;height:36px;display:grid;place-items:center;padding:0;border:0;border-radius:50%;background:transparent;color:#5e6572}
.dialog-close:hover{background:#eef1f5;color:#20242d}
.forgot-password-icon{width:48px;height:48px;display:grid;place-items:center;margin:0 auto 18px;border-radius:50%;background:#eaf0ff;color:#0646e8}
.forgot-password-icon .lucide{width:23px;height:23px}
.forgot-password-dialog h2{font-size:22px;margin-bottom:13px}
.forgot-password-dialog p{margin:0 auto 12px;line-height:1.65;color:#4f5664}
.support-email{display:inline-block;font-size:16px;font-weight:600;overflow-wrap:anywhere}
.dialog-confirm{justify-content:center;margin-top:26px}
@media(max-width:600px){.login-page .main{padding:18px}.login-panel{padding:28px 22px 24px}.login-brand{width:min(100%,250px)}.login-heading h1{font-size:23px}.forgot-password-dialog{padding:32px 22px 24px}.login-page .alert{top:10px;width:calc(100% - 32px)}}
.user-export-form{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;padding:16px 0;margin-bottom:10px;border-block:1px solid var(--line)}
.user-export-form label{margin:0}.user-export-form label:first-of-type{min-width:210px}.user-export-form .check{align-items:center;min-height:38px}.user-export-form small{width:100%}
.admin-permissions{border-top:1px solid var(--line);margin:24px 0;padding-top:4px}.admin-permissions .section-title{margin:18px 0 12px}.admin-permissions .section-title h2{font-size:17px}.admin-permissions .section-title p{margin:5px 0 0;color:var(--muted);font-size:12px;font-weight:400}.permission-option{display:grid;grid-template-columns:18px 1fr;gap:10px;align-items:start;border:1px solid var(--line);border-radius:4px;margin:0 0 8px;padding:10px 12px;font-weight:400}.permission-option input{margin-top:2px}.permission-option strong,.permission-option small{display:block}.permission-option strong{font-size:13px}.permission-option small{color:var(--muted);font-size:11px;line-height:1.45;margin-top:3px}.permission-option.locked{background:var(--tint)}
.tutorial-dialog{width:min(calc(100% - 32px),860px);max-height:calc(100vh - 32px);overflow:auto;border:1px solid var(--line);border-radius:6px;padding:24px;background:var(--panel);color:var(--text);box-shadow:0 18px 60px #0006}
.tutorial-dialog::backdrop{background:#000b}.tutorial-dialog .tutorial-close{position:absolute;top:12px;right:12px;color:var(--muted)}
.tutorial-heading{padding-right:46px}.tutorial-heading .eyebrow{margin-bottom:5px}.tutorial-heading h2{font-size:22px;margin-bottom:18px}
.tutorial-player{position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;background:#111;border:1px solid var(--line)}
.tutorial-player iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.tutorial-loading,.tutorial-unavailable{position:absolute;inset:0;display:grid;place-content:center;text-align:center;padding:24px;color:#fff;background:#17181c}
.tutorial-unavailable .lucide{width:34px;height:34px;margin:0 auto 14px}.tutorial-unavailable p{margin:0;max-width:520px}.tutorial-actions{display:flex;justify-content:flex-end;margin-top:18px}

.sidebar-bottom{color:var(--text);text-decoration:none;padding-inline:8px}.sidebar-bottom:hover{background:var(--tint);text-decoration:none}.sidebar-bottom>span:last-child{min-width:0}.sidebar-bottom small{display:block;color:var(--muted);margin-top:2px}.nav-counter:empty{display:none}.nav-counter:not(:empty){min-width:20px;height:20px;padding:0 6px;display:inline-grid;place-items:center;background:var(--primary);color:var(--on-primary);border-radius:10px;font-size:11px;font-weight:600}
.rich-form{max-width:920px}.rich-toolbar{display:flex;align-items:center;gap:4px;flex-wrap:wrap;padding:8px;border:1px solid var(--line);border-bottom:0;background:var(--tint)}.rich-toolbar label{margin:0}.rich-toolbar select{min-height:34px;padding:5px 30px 5px 8px}.rich-toolbar button{width:34px;height:34px;display:grid;place-items:center;border:1px solid transparent;background:transparent;color:var(--text);border-radius:4px}.rich-toolbar button:hover,.rich-toolbar button:focus-visible{border-color:var(--line);background:var(--panel)}.rich-toolbar .lucide{width:17px;height:17px}.rich-input{min-height:260px;padding:18px;border:1px solid var(--line);background:var(--panel);outline:none;overflow-wrap:anywhere}.rich-input:focus{border-color:var(--primary);box-shadow:0 0 0 2px color-mix(in srgb,var(--primary) 20%,transparent)}.form-actions{display:flex;justify-content:flex-end;margin-top:16px}.formatted-content{max-width:920px;line-height:1.7;overflow-wrap:anywhere}.formatted-content h2,.formatted-content h3{margin-top:1.5em}.formatted-content ul,.formatted-content ol{padding-left:24px}.formatted-content blockquote{margin:18px 0;padding:8px 16px;border-left:3px solid var(--line);color:var(--muted)}.formatted-content a{text-decoration:underline}.about-content{padding-block:8px}.about-empty{min-height:180px}
.news-filters{align-items:flex-end}.news-list{border-top:1px solid var(--line)}.news-card{position:relative;padding:22px 16px;border-bottom:1px solid var(--line);border-left:3px solid transparent}.news-card.unread{background:var(--tint);border-left-color:var(--primary)}.news-card.admin-news{border-left-color:var(--error)}.news-card h2{font-size:19px;margin:8px 0}.news-card h2 a{color:var(--text)}.news-card.admin-news h2 a,.admin-news .news-author{color:var(--error)}.news-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:var(--muted);font-size:12px}.news-author{font-weight:700;color:var(--text)}.news-open{display:inline-flex;align-items:center;gap:6px;margin-top:8px;font-size:13px}.news-open .lucide,.back-link .lucide{width:16px;height:16px}.news-detail{max-width:920px;padding:8px 0}.news-detail header{padding:28px 0 20px;border-bottom:1px solid var(--line);margin-bottom:24px}.news-detail.admin-news header{border-top:3px solid var(--error)}.news-detail h1{margin:10px 0 0}.back-link{display:inline-flex;align-items:center;gap:7px}.news-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:34px;padding-top:18px;border-top:1px solid var(--line)}.news-actions form{margin:0}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:700px){.rich-input{min-height:220px;padding:14px}.rich-toolbar{gap:2px}.news-filters label{min-width:100%}.news-card{padding:18px 10px}.news-detail header{padding-top:20px}}
.tutorial-admin-list{border-top:1px solid var(--line)}.tutorial-admin-row{display:grid;grid-template-columns:minmax(210px,.8fr) minmax(300px,1.5fr) auto;gap:22px;align-items:end;padding:22px 0;border-bottom:1px solid var(--line)}
.tutorial-role h2{margin-bottom:7px}.tutorial-role a{display:block;overflow-wrap:anywhere;font-size:12px}.tutorial-role small{margin-top:7px}.tutorial-role p{margin:0}.tutorial-url-form{display:flex;align-items:flex-end;gap:10px}.tutorial-url-form label{flex:1;margin:0}.tutorial-admin-row>form:last-child{align-self:end}
@media(max-width:850px){.tutorial-admin-row{grid-template-columns:1fr}.tutorial-url-form{align-items:stretch;flex-direction:column}.tutorial-url-form .button,.tutorial-admin-row>form:last-child .button{width:100%}.tutorial-dialog{padding:18px}}
.import-example{width:240px;margin:18px 0 20px}.import-example table{min-width:0}.import-example th,.import-example td{padding:7px 12px}

/* Student workspace */
.student-shell{
  --student-brand:#0757c9;
  --student-action:#086ce5;
  --student-cyan:#12ace3;
  --student-ink:#102f61;
  --student-canvas:#f5f8fc;
  --student-surface:#fff;
  --student-soft:#edf5fc;
  --student-border:#d9e3ee;
  --student-shadow:0 10px 30px rgba(20,55,101,.08);
  background:var(--student-canvas);
  color:var(--text);
  font-family:'Segoe UI Variable','Segoe UI',Arial,sans-serif;
}
html[data-theme=dark] .student-shell{
  --student-brand:#86adff;
  --student-action:#367ee8;
  --student-cyan:#45c4eb;
  --student-ink:#eef5ff;
  --student-canvas:#15181e;
  --student-surface:#1e222a;
  --student-soft:#252c36;
  --student-border:#394352;
  --student-shadow:0 10px 30px rgba(0,0,0,.2);
}
.student-shell .button:not(.secondary):not(.danger){background:var(--student-action);border-color:var(--student-action);color:#fff}
.student-shell .button:not(.secondary):not(.danger):hover{filter:brightness(.94)}
.student-shell .button.secondary{background:var(--student-surface);border-color:var(--student-border)}
.student-header{
  position:sticky;
  z-index:20;
  top:0;
  border-top:3px solid var(--student-brand);
  border-bottom:1px solid var(--student-border);
  background:color-mix(in srgb,var(--student-surface) 96%,transparent);
  box-shadow:0 5px 24px rgba(18,48,91,.07);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}
html[data-theme=dark] .student-header{box-shadow:0 5px 24px rgba(0,0,0,.22)}
.student-header-inner{width:min(100%,1440px);min-height:82px;margin:auto;padding:10px 40px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.student-header-logo{display:block;flex:none}.student-header-logo:hover{text-decoration:none}.student-header-logo img{width:158px;height:54px;object-fit:contain;object-position:left center;vertical-align:middle}
.student-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0;margin-left:auto}.student-header-actions form{margin:0}
.student-header .language-switch{border-color:var(--student-border);background:var(--student-surface)}
.student-header .language-option{min-height:38px;background:transparent}.student-header .language-option.selected{background:var(--student-soft);color:var(--student-brand);box-shadow:inset 0 -2px var(--student-brand)}
.student-header .sidebar-bottom{display:flex;align-items:center;gap:10px;margin:0;padding:7px 12px;border:0;border-left:1px solid var(--student-border);color:var(--text);font-size:12px;min-width:0}
.student-header .sidebar-bottom>span:last-child{max-width:220px}.student-header .sidebar-bottom strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.student-header .sidebar-bottom small{color:var(--muted)}
.student-header .sidebar-bottom:hover,.student-header .sidebar-bottom:focus-visible{background:var(--student-soft);color:var(--student-brand);text-decoration:none}
.student-header .sidebar-bottom.selected{color:var(--student-brand)}
.student-header .avatar{width:36px;height:36px;border:1px solid var(--student-border);background:var(--student-soft);color:var(--student-brand)}
.student-icon-button{position:relative;width:40px;height:40px;padding:9px;display:grid;place-items:center;flex:none;border:1px solid transparent;border-radius:4px;background:transparent;color:var(--muted)}
.student-icon-button:hover,.student-icon-button:focus-visible{border-color:var(--student-border);background:var(--student-soft);color:var(--student-brand);text-decoration:none}
.student-icon-button.selected{border-color:var(--student-brand);background:var(--student-brand);color:#fff}
.student-action-count,.student-header .notification-bell [data-notification-count]{position:absolute;top:0;right:-2px;min-width:18px;height:18px;padding:0 4px;display:grid;place-items:center;border:2px solid var(--student-surface);border-radius:9px;background:#c6243f;color:#fff;font-size:9px;font-weight:700}
.student-action-count:empty,.student-header .notification-bell [data-notification-count]:empty{display:none}

.student-shell .main{width:100%;max-width:1440px;margin:0 auto;padding:40px 40px 26px}.student-dashboard{min-width:0}.student-dashboard>section{scroll-margin-top:108px}
.student-welcome{position:relative;display:flex;align-items:center;justify-content:space-between;gap:28px;min-height:176px;margin-bottom:18px;padding:32px 36px;border-radius:6px;background:#0757c9;color:#fff;box-shadow:inset 7px 0 #16b5e8,var(--student-shadow);overflow:hidden}
html[data-theme=dark] .student-welcome{background:#183b73}
.student-welcome::after{content:"";position:absolute;right:0;bottom:0;width:22%;height:8px;background:var(--student-cyan)}
.student-welcome>div,.student-welcome>.button{position:relative;z-index:1}.student-welcome .eyebrow{margin-bottom:10px;color:#9ce8ff;text-transform:uppercase;font-size:11px}.student-welcome h1{max-width:760px;margin-bottom:8px;color:#fff;font-size:34px;font-weight:650}.student-welcome p:last-child{margin:0;color:#d9ebff;font-size:17px}
.student-welcome>.button{min-height:44px;background:#fff!important;border-color:#fff!important;color:#0757c9!important;box-shadow:0 8px 20px rgba(5,32,78,.18)}
.student-welcome>.button:hover{background:#eaf7ff!important;filter:none!important}
.student-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 34px;border:0}
.student-stats a{display:flex;align-items:center;gap:15px;min-height:94px;padding:18px 22px;border:1px solid var(--student-border);border-top:3px solid var(--student-brand);border-radius:6px;background:var(--student-surface);box-shadow:var(--student-shadow);color:var(--text)}
.student-stats a:nth-child(2){border-top-color:var(--student-cyan)}.student-stats a:nth-child(3){border-top-color:#355089}.student-stats a:hover{border-color:var(--student-cyan);background:var(--student-surface);text-decoration:none;transform:translateY(-1px)}
.student-stats>a>.lucide{width:40px;height:40px;padding:9px;border-radius:4px;background:var(--student-soft);color:var(--student-brand)}.student-stats span{display:block;color:var(--muted);font-size:12px}.student-stats strong{display:block;margin-bottom:3px;color:var(--student-ink);font-size:25px;line-height:1.1}
.student-profile-alert{display:flex;align-items:center;gap:10px;border:1px solid var(--student-border);border-left:4px solid var(--student-cyan);border-radius:4px;background:var(--student-surface)}.student-profile-alert .lucide{color:var(--student-brand)}
.student-section{padding:34px 0 44px;border-top:0}.student-section+.student-section{border-top:1px solid var(--student-border)}
.student-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:22px;padding-bottom:14px;border-bottom:1px solid var(--student-border)}.student-section-heading .eyebrow{margin-bottom:6px;color:var(--student-brand);text-transform:uppercase}.student-section-heading h2{margin:0;color:var(--student-ink);font-size:24px}.student-section-heading .total{display:inline-grid;min-width:28px;height:28px;margin-left:7px;padding:0 7px;place-items:center;border-radius:4px;background:var(--student-soft);color:var(--student-brand);font-size:13px;font-weight:700}.student-section-heading p:last-child{margin:7px 0 0;color:var(--muted);font-size:13px}
.text-action{display:inline-flex;align-items:center;gap:7px;flex:none;font-size:13px;font-weight:600}.text-action .lucide{width:16px;height:16px}
.next-booking{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:28px;align-items:center;padding:25px 26px;border:1px solid var(--student-border);border-top:4px solid var(--student-brand);border-radius:6px;background:var(--student-surface);box-shadow:var(--student-shadow)}
.next-booking-title{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.next-booking-title .eyebrow{display:block;margin:0 0 6px;color:var(--student-brand);text-transform:uppercase}.next-booking h3{margin:0;font-size:22px}.next-booking h3 a{color:var(--student-ink)}.next-booking .badge.active{border:1px solid color-mix(in srgb,var(--success) 28%,transparent);background:color-mix(in srgb,var(--success) 10%,var(--student-surface));font-weight:700}
.booking-facts{display:flex;align-items:center;gap:12px 22px;flex-wrap:wrap;margin-top:18px;color:var(--muted);font-size:13px}.booking-facts span{display:inline-flex;align-items:center;gap:7px}.booking-facts .lucide{width:17px;height:17px;color:var(--student-brand)}.booking-actions{display:flex;gap:8px;align-items:center}.booking-actions form{margin:0}
.upcoming-bookings{margin-top:12px;border:1px solid var(--student-border);border-radius:6px;background:var(--student-surface);overflow:hidden}.upcoming-bookings>a{display:grid;grid-template-columns:minmax(0,1fr) auto 22px;align-items:center;gap:16px;padding:15px 18px;border-bottom:1px solid var(--student-border);color:var(--text)}.upcoming-bookings>a:last-child{border-bottom:0}.upcoming-bookings>a:hover{background:var(--student-soft);text-decoration:none}.upcoming-bookings strong{display:block;color:var(--student-ink)}.upcoming-time{text-align:right;font-weight:600}.upcoming-time small{margin-top:1px}
.student-empty{display:flex;align-items:center;justify-content:flex-start;gap:16px;min-height:104px;padding:22px;border:1px dashed var(--student-border);border-radius:6px;background:var(--student-surface);color:var(--muted)}.student-empty>.lucide{width:38px;height:38px;padding:8px;border-radius:4px;background:var(--student-soft);color:var(--student-brand);flex:none}.student-empty>div{min-width:0;flex:1}.student-empty strong{display:block;margin-bottom:3px;color:var(--student-ink)}.student-empty .button{margin-left:auto}.event-grid-empty{grid-column:1/-1}
.student-filters{gap:13px;margin-bottom:12px;padding:18px;border:1px solid var(--student-border);border-radius:6px;background:var(--student-soft)}.student-filters label{color:var(--student-ink);font-size:11px;text-transform:uppercase}.student-filters label:nth-child(1),.student-filters label:nth-child(2){flex:1.25}.student-filters select,.student-filters input{margin-top:7px;border-color:var(--student-border);background:var(--student-surface);text-transform:none}.student-filters .reset{min-height:38px;display:inline-flex;align-items:center}
.student-booking-note{display:flex;align-items:center;gap:8px;margin:0 0 18px;padding:0 2px;color:var(--muted);font-size:12px}.student-booking-note .lucide{width:16px;height:16px;color:var(--student-brand)}
.student-consultation-list{border:1px solid var(--student-border);border-radius:6px;background:var(--student-surface);overflow:hidden}.student-consultation-row{display:grid;grid-template-columns:minmax(230px,1.35fr) minmax(150px,.7fr) minmax(170px,.8fr) minmax(160px,.7fr);gap:18px;align-items:center;padding:17px 18px;border-bottom:1px solid var(--student-border);box-shadow:inset 3px 0 transparent}.student-consultation-row:last-child{border-bottom:0}.student-consultation-row:hover{background:var(--student-soft);box-shadow:inset 3px 0 var(--student-cyan)}
.consultation-subject .tag{background:var(--student-soft);color:var(--student-brand);font-weight:700}.consultation-subject h3{margin:8px 0 3px;font-size:15px}.consultation-subject h3 a{color:var(--student-ink)}.consultation-fact{display:flex;align-items:center;gap:9px;min-width:0}.consultation-fact .lucide{color:var(--student-brand)}.consultation-fact span,.consultation-fact strong{display:block;min-width:0}.consultation-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;min-width:0}.consultation-actions form{margin:0}.booking-problem{max-width:190px;text-align:right}
.student-event-grid{gap:16px}.student-event-grid .event-card{padding:20px;border-color:var(--student-border);border-top:3px solid var(--student-cyan);background:var(--student-surface);box-shadow:var(--student-shadow)}.student-event-grid .event-card h3{margin:0 0 6px;font-size:19px}.student-event-grid .event-card h3 a{color:var(--student-ink)}.student-event-grid .tag{background:var(--student-soft);color:var(--student-brand)}.student-event-grid .date-square{background:var(--student-soft);color:var(--student-ink)}.student-event-grid .event-when small{display:flex;align-items:center;gap:5px}.student-event-grid .event-when small .lucide{width:13px;height:13px}.student-event-grid .card-bottom{border-top-color:var(--student-border)}.student-event-grid .card-bottom form{margin:0}

/* Student inner pages */
.student-shell .page-heading{min-height:132px;margin-bottom:30px;padding:25px 30px;border-left:6px solid var(--student-cyan);border-radius:6px;background:#0757c9;color:#fff;box-shadow:var(--student-shadow)}
html[data-theme=dark] .student-shell .page-heading{background:#183b73}.student-shell .page-heading h1{color:#fff;font-size:30px}.student-shell .page-heading p{color:#d9ebff}.student-shell .page-heading>a:not(.button){color:#fff;text-decoration:underline;text-underline-offset:4px}.student-shell .page-heading .badge{background:rgba(255,255,255,.16);color:#fff}.student-shell .page-heading .button{background:#fff!important;border-color:#fff!important;color:#0757c9!important}
.student-shell .two-columns{gap:22px}.student-shell .two-columns>.panel{padding:26px;border:1px solid var(--student-border);border-top:3px solid var(--student-brand);border-radius:6px;background:var(--student-surface);box-shadow:var(--student-shadow)}.student-shell .two-columns>.panel:nth-child(2){border-top-color:var(--student-cyan)}.student-shell .panel h2{color:var(--student-ink)}
.student-shell .admin-contact{padding:24px 26px;border:1px solid var(--student-border);border-left:4px solid var(--student-cyan);border-radius:6px;background:var(--student-surface);box-shadow:var(--student-shadow)}.student-shell .admin-contact h2{color:var(--student-ink)}
.student-shell .table-wrap{border-color:var(--student-border);border-radius:6px;background:var(--student-surface);box-shadow:var(--student-shadow)}.student-shell th{background:var(--student-soft);color:var(--student-ink)}.student-shell td{border-top-color:var(--student-border)}
.student-shell .stats{gap:12px}.student-shell .stats>div{padding:20px;border:1px solid var(--student-border);border-top:3px solid var(--student-brand);border-radius:6px;background:var(--student-surface);box-shadow:var(--student-shadow)}.student-shell .stats>div:nth-child(2){border-top-color:var(--student-cyan)}.student-shell .stats>div:nth-child(3){border-top-color:#355089}.student-shell .stats strong{color:var(--student-ink)}
.student-shell .event-description,.student-shell>.main>.muted.spaced{padding:18px;border-left:4px solid var(--student-cyan);background:var(--student-surface)}
.student-shell .news-filters{padding:18px;border:1px solid var(--student-border);border-radius:6px;background:var(--student-soft)}.student-shell .news-list{border:1px solid var(--student-border);border-radius:6px;background:var(--student-surface);box-shadow:var(--student-shadow);overflow:hidden}.student-shell .news-card{padding:22px;border-bottom-color:var(--student-border)}.student-shell .news-card h2 a{color:var(--student-ink)}
.student-shell .formatted-content{max-width:none;padding:28px;border:1px solid var(--student-border);border-top:4px solid var(--student-cyan);border-radius:6px;background:var(--student-surface);box-shadow:var(--student-shadow)}
.student-shell .notification{border-color:var(--student-border);background:var(--student-surface)}
.student-shell footer{border-top-color:var(--student-border)}

@media(max-width:1000px){
  .student-header-inner{padding-inline:28px}.student-header .sidebar-bottom>span:last-child{display:none}.student-header .sidebar-bottom{padding-left:10px}.student-header-logo img{width:132px;height:48px}
  .student-shell .main{padding-inline:28px}.student-consultation-row{grid-template-columns:minmax(210px,1.2fr) minmax(150px,.8fr) minmax(180px,1fr)}.consultation-actions{grid-column:1/-1;justify-content:flex-start}.booking-problem{text-align:left;max-width:none}
}
@media(max-width:700px){
  .student-header-inner{min-height:66px;padding:8px 16px;gap:10px}.student-header .language-option{width:29px;padding:6px 4px;font-size:0;gap:0}.student-header .language-option img{width:18px;height:14px}.student-header .sidebar-bottom{border-left:0;padding:3px}.student-header-actions{gap:3px}.student-header-logo img{width:98px;height:40px}
  .student-shell .main{padding:24px 16px 16px}.student-dashboard>section{scroll-margin-top:82px}.student-welcome{align-items:flex-start;min-height:150px;padding:26px 24px}.student-welcome .button{min-width:42px;width:42px;padding:8px;font-size:0;gap:0}.student-welcome .button .lucide{width:19px;height:19px}.student-welcome h1{font-size:27px}.student-welcome p:last-child{font-size:15px}
  .student-stats a{min-height:88px;padding:14px 12px;gap:10px}.student-stats>a>.lucide{width:36px;height:36px;padding:8px}.student-stats strong{font-size:22px}.student-stats span{font-size:10px}.student-section{padding:28px 0}.student-section-heading{align-items:flex-start}.next-booking{grid-template-columns:1fr;gap:18px;padding:20px}.booking-facts{display:grid;grid-template-columns:1fr 1fr;gap:10px}.booking-actions{flex-wrap:wrap}
  .student-filters label,.student-filters label:nth-child(1),.student-filters label:nth-child(2){min-width:calc(50% - 10px)}.student-consultation-row{grid-template-columns:1fr 1fr;gap:14px;padding:16px}.consultation-subject,.consultation-actions{grid-column:1/-1}.student-event-grid{grid-template-columns:1fr}.student-empty{align-items:flex-start;flex-wrap:wrap}.student-empty .button{width:100%;margin:4px 0 0}
  .student-shell .page-heading{min-height:116px;padding:22px 24px}.student-shell .page-heading h1{font-size:26px}.student-shell .two-columns>.panel{padding:22px}.student-shell .formatted-content{padding:22px}
}
@media(max-width:480px){
  .student-header-inner{gap:6px}.student-header-actions{width:auto;gap:2px}.student-header .avatar{width:30px;height:30px}.student-icon-button{width:34px;height:34px;padding:7px}.student-header-logo img{width:72px;height:34px}
  .student-welcome{flex-direction:column;gap:20px}.student-welcome .button{position:absolute;right:20px;bottom:20px}.student-welcome h1{padding-right:6px}
  .student-stats{grid-template-columns:1fr;gap:8px}.student-stats a{min-height:70px;border-top-width:1px;border-left:3px solid var(--student-brand)}.student-stats a:nth-child(2){border-left-color:var(--student-cyan)}.student-stats a:nth-child(3){border-left-color:#355089}.student-section-heading{gap:12px}.student-section-heading h2{font-size:20px}.student-section-heading .total{min-width:25px;height:25px}.student-section-heading .text-action{font-size:0}.student-section-heading .text-action .lucide{width:20px;height:20px}.next-booking-title{align-items:flex-start}.booking-facts{grid-template-columns:1fr}.booking-actions .button{flex:1}.booking-actions form{display:flex;flex:1}.booking-actions form .button{width:100%}
  .student-filters label,.student-filters label:nth-child(1),.student-filters label:nth-child(2){min-width:100%}.student-filters .button{width:calc(100% - 58px)}.student-consultation-row{grid-template-columns:1fr}.consultation-fact{grid-column:1}.consultation-actions{align-items:flex-start;flex-wrap:wrap}.consultation-actions .button{width:100%}.consultation-actions form{width:calc(100% - 38px)}.upcoming-bookings>a{grid-template-columns:minmax(0,1fr) auto 18px}
  .student-shell .page-heading{align-items:flex-start;min-height:0;padding:22px 20px}.student-shell .two-columns>.panel,.student-shell .admin-contact,.student-shell .formatted-content{padding:20px}.student-shell .stats>div{padding:16px}
}
@media(max-width:360px){.student-header-inner{padding-inline:8px;gap:4px}.student-header .language-option{width:24px;padding-inline:3px}.student-header .avatar{width:28px;height:28px}.student-header .sidebar-bottom{padding:2px}.student-header-actions{gap:1px}.student-icon-button{width:30px;height:30px;padding:5px}.student-header-logo img{width:64px;height:30px}}
