/* Shared scoped polish. Never override video-room or access-policy controls. */
.site-header .site-login-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 18px;border-radius:12px;background:#214e3e;color:#fffdf2;font:600 14px/1.4 Arial,sans-serif;text-decoration:none;white-space:nowrap}.site-header .site-login-button:hover{background:#163e30;text-decoration:none}.site-header nav a{min-height:40px;display:inline-flex;align-items:center}.public-shell .site-header{padding-block:14px}.public-shell .site-content{min-width:0}
.login-layout{box-shadow:0 16px 55px #214e3e09;margin:32px auto;align-items:stretch}.login-layout .auth-card{padding:36px 40px}.login-layout .auth-card h1{margin:10px 0 24px;font-size:34px;letter-spacing:-.025em}.login-layout .eyebrow{margin:0;font-size:11px;letter-spacing:.12em;color:#65795f}.login-layout .auth-form{gap:16px}.login-layout .auth-vk{min-height:48px;border:0;border-radius:12px;font:600 15px Arial,sans-serif;background:#087bff}.login-layout .auth-vk:hover:not(:disabled){background:#0566d6}.login-layout .auth-divider{display:flex;align-items:center;gap:12px;margin:20px 0;color:#7a8573;font-size:12px}.login-layout .auth-divider:before,.login-layout .auth-divider:after{content:"";height:1px;background:#e0e5d8;flex:1}.password-field{display:flex;align-items:center;position:relative;min-width:0}.auth-form .password-field input{padding-right:85px}.password-field button{position:absolute;right:5px;top:5px;bottom:5px;min-width:72px;background:transparent;border:0;border-radius:8px;color:#38614e;font:12px Arial,sans-serif;cursor:pointer}.password-field button:hover{background:#edf1e6}.login-layout .login-register{min-height:44px;margin-top:12px;background:transparent;border-color:#dbe3d0;font-weight:500}.login-layout .login-forgot{font-size:13px;margin:16px 0}.login-layout .auth-muted{text-align:center}.login-layout .auth-message:empty{display:none}.login-layout .auth-message:not(:empty){background:#edf2e4;border:1px solid #d5dfc9;border-radius:12px;padding:12px 14px;font-size:13px}.public-shell .auth-form input:focus,.public-shell .auth-form select:focus,.profile-editor input:focus{outline:2px solid #b6c9a8;outline-offset:2px;border-color:#54775d}.public-shell .auth-form .button{margin:4px 0 0;min-height:48px;font:600 15px Arial,sans-serif}.public-shell .request-editor{box-shadow:0 12px 45px #214e3e06}.request-login-hint{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;padding:13px 16px;margin:0 0 24px;border:1px solid #dfe7d5;background:#eef3e7;border-radius:12px;font:13px/1.5 Arial,sans-serif}.request-login-hint a{font-weight:600;text-underline-offset:3px}.request-editor .privacy-details{line-height:1.65}.request-editor .form-intro{line-height:1.7}.dashboard-frame .workspace-section,.dashboard-frame .profile-editor{box-shadow:0 5px 22px #214e3e04}.dashboard-sidebar nav a{transition:background .12s ease}.profile-editor .profile-actions button{min-height:44px;font-family:Arial,sans-serif}.dashboard-sidebar .dashboard-menu{min-height:44px}.dashboard-frame :where(input,select,textarea){max-width:100%}
.header>.header-login{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;border-radius:12px;font:600 14px/1.4 Arial,sans-serif;text-decoration:none;white-space:nowrap}.header>.header-login:hover{background:#245b47}.header>.header-login:focus-visible{outline:3px solid #b78d44;outline-offset:4px}
@media(max-width:760px){.login-layout{display:block;margin:16px 12px;border-radius:20px;min-height:0}.login-layout .login-intro{display:none}.login-layout .auth-card{padding:26px 22px}.login-layout .auth-card h1{font-size:30px;margin:9px 0 22px}.public-shell .site-header{padding:12px 16px;gap:8px 16px}.public-shell .site-header .site-logo img{width:92px;height:auto}.public-shell .site-header nav{gap:4px 20px}.site-header .site-login-button{padding:10px 13px;font-size:13px}.public-shell .site-footer{margin-top:28px}.header:not(.has-profile){grid-template-columns:minmax(80px,1fr) auto 44px;min-height:88px;padding:14px 16px;gap:8px}.header:not(.has-profile) .logo{grid-column:1;grid-row:1}.header:not(.has-profile) .school-logo{width:90px;height:auto}.header:not(.has-profile) .mobile-menu-toggle{grid-column:3;grid-row:1;width:44px;height:44px}.header:not(.has-profile)>#header-signup:not([hidden]){display:inline-flex;grid-column:2;grid-row:1;justify-self:end;font-size:12px;padding:10px 12px;min-height:44px}.header:not(.has-profile).mobile-menu-open .nav{grid-column:1/-1;grid-row:2}.public-shell .request-editor{width:calc(100% - 24px);margin:16px 12px;padding:24px 20px}.request-editor h1{font-size:30px}.request-login-hint{font-size:12px;padding:12px}}
@media(max-width:360px){.login-layout .auth-card{padding:24px 16px}.header:not(.has-profile){padding-inline:12px;grid-template-columns:minmax(70px,1fr) auto 40px;gap:6px}.header:not(.has-profile) .school-logo{width:78px}.header:not(.has-profile) .mobile-menu-toggle{width:40px}.header:not(.has-profile)>#header-signup:not([hidden]){padding-inline:9px;font-size:11px}}
@media(prefers-reduced-motion:reduce){.dashboard-sidebar nav a{transition:none}}

/* Workspace refresh: one hierarchy for primary, secondary and dangerous actions. */
.collection-filter{display:grid;gap:10px;margin:16px 0}.collection-filter label{display:grid;gap:6px;font-size:11px;color:#6c7e63}.collection-filter :is(input,select){width:100%;box-sizing:border-box;min-width:0;min-height:42px;border:1px solid #d3dfc7;border-radius:10px;padding:9px 11px;background:#fcfdf7;color:#31513e;font:12px Arial,sans-serif}.collection-filter small{font-size:10px;line-height:1.5;color:#7c8973}.group-calendar{margin:16px 0 22px;border:1px solid #dbe4d0;border-radius:13px;padding:14px;background:#f9fbf3}.group-calendar>summary{cursor:pointer;font-weight:600;font-size:13px;color:#355f43;min-height:28px}.group-calendar[open]>summary{margin-bottom:14px}.group-calendar .curriculum-toolbar strong{text-transform:capitalize;font-size:13px}.calendar-scroll{overflow-x:auto}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(72px,1fr));gap:4px;min-width:540px}.calendar-weekday{font-size:10px;color:#849279;padding:8px}.calendar-day{min-height:85px;border:1px solid #e0e7d5;background:#fffef9;border-radius:8px;padding:7px;min-width:0}.calendar-day>time{font-size:11px;color:#728767}.calendar-day.is-today{border-color:#76a46b;background:#eff6e9}.calendar-day.is-today>time{font-weight:700;color:#355f35}.calendar-lesson{display:grid;gap:3px;padding:6px;margin-top:5px;background:#e4efda;border-radius:6px;color:#31573a;text-decoration:none;font:10px/1.3 Arial,sans-serif;overflow-wrap:anywhere}.calendar-lesson span{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.calendar-lesson.is-cancelled{background:#f5eae3;color:#9b7060}.calendar-lesson.is-cancelled strong{text-decoration:line-through}
.workspace-icon{flex:0 0 20px}.dashboard-sidebar nav a{display:flex;align-items:center;gap:12px;min-height:44px;font-size:13px;line-height:1.4}.dashboard-sidebar nav a .workspace-icon{color:#79917e}.dashboard-sidebar nav a[aria-current=page]{background:#214e3e;color:#fffdf0;border-color:#214e3e;box-shadow:0 5px 14px #214e3e18}.dashboard-sidebar nav a[aria-current=page] .workspace-icon{color:#d7e9c6}.dashboard-sidebar nav a:hover:not([aria-current]){background:#eef2e6}.dashboard-brand{padding-bottom:16px;border-bottom:1px solid #e4e9dc}.dashboard-sidebar{gap:18px}.dashboard-body .eyebrow{font-size:10px;letter-spacing:.13em;color:#7a8b70}.dashboard-body h1{font-size:31px;letter-spacing:-.025em}.dashboard-body .site-content>main>p:not([role]){max-width:850px;color:#6b7d66}.dashboard-body .site-header{border-bottom-color:#e2e8d9}
.dashboard-body .button:not(.video-room *),.public-shell .auth-form .button,.header>.header-login,.btn:not(.light):not(.secondary){background:linear-gradient(135deg,#2f6650,#1b4737);border:1px solid #285b46;color:#fffdf1;border-radius:12px;font-family:Arial,sans-serif;font-weight:600;box-shadow:0 3px 0 #12352612,0 4px 12px #214e3e0b;min-height:42px;text-decoration:none}.dashboard-body :is(.admin-toolbar,.curriculum-toolbar,.crm-search,.crm-tabs) button,.account-actions a,.workspace-empty>button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:9px 14px;background:#fffef9;color:#305a46;border:1px solid #d3dfc8;border-radius:11px;font:600 12px/1.4 Arial,sans-serif;text-decoration:none;cursor:pointer;box-shadow:0 2px 4px #294d3610}.dashboard-body :is(.admin-toolbar,.curriculum-toolbar,.crm-search,.crm-tabs) button:hover:not(:disabled),.account-actions a:hover{background:#edf3e6;border-color:#a5bfa0}.dashboard-body :is(.crm-tabs) button[aria-pressed=true]{background:#214e3e;border-color:#214e3e;color:#fffdf2;box-shadow:0 4px 10px #214e3e16}.dashboard-body .button:not(.video-room *):hover:not(:disabled),.header>.header-login:hover{background:linear-gradient(135deg,#3a755c,#245540);text-decoration:none}.dashboard-body button:disabled{opacity:.45;box-shadow:none;cursor:not-allowed}.dashboard-body .danger-button{color:#9c4637!important;background:#fff3ef!important;border-color:#e4c8bd!important;box-shadow:none!important}.dashboard-body :where(button,a,input,select,textarea):focus-visible{outline:3px solid #b99555;outline-offset:3px}.dashboard-body .video-room :focus-visible{outline-color:#44e8ac}.dashboard-body .admin-page-stats{gap:12px}.dashboard-body .admin-page-stats article{padding:15px 18px;border-radius:15px;background:#fffef9;box-shadow:0 3px 12px #214e3e04}.dashboard-body .admin-page-stats strong{font:600 28px/1.1 Arial,sans-serif;color:#254e3c;margin:8px 0}.dashboard-body .admin-page-stats small{font-size:12px}.dashboard-body .admin-page-stats span{font-size:11px}
.admin-quick-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:22px 0 16px}.admin-quick-links>a{display:flex;align-items:center;gap:12px;padding:17px;border:1px solid #dae4d2;border-radius:15px;background:#fffef9;color:#214e3e;text-decoration:none;min-width:0;box-shadow:0 3px 12px #214e3e04}.admin-quick-links>a:hover{border-color:#9fba98;background:#f7faef}.quick-icon{display:grid;place-items:center;flex:0 0 36px;height:36px;background:#eaf1df;border-radius:11px;color:#497155}.admin-quick-links strong{font-size:13px;display:block;margin-bottom:4px}.admin-quick-links small{font-size:11px;line-height:1.45;color:#7b8a70;display:block}.quick-arrow{margin-left:auto;color:#8a9c7b;align-self:flex-start}.account-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(145px,.65fr);gap:12px;padding:15px;background:#f5f8ef;border:1px solid #e1e9d8;border-radius:12px}.account-filters label{display:grid;gap:7px;font-size:11px;color:#687e5f}.account-filters :is(input,select){width:100%;min-width:0;box-sizing:border-box;min-height:42px;border:1px solid #d1dec5;border-radius:10px;padding:10px 12px;font:13px Arial,sans-serif;background:#fffef9;color:#274e39}.account-result-summary{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;margin:12px 0;font-size:11px;color:#78896d}.account-result-summary a{color:#365f46;text-underline-offset:3px}.dashboard-body .admin-user{border:1px solid #e3e9db;border-radius:12px;align-items:flex-start;padding:14px;background:#fffef9}.dashboard-body .admin-user h3{font:600 14px/1.4 Arial,sans-serif}.account-title{color:inherit;text-decoration:none}.account-title:hover{text-decoration:underline}.account-provider{display:inline-flex;padding:2px 6px;border:1px solid #dfe7d6;border-radius:5px;color:#73846b;font-size:10px}.admin-user .account-contact{font-size:12px;margin:5px 0 7px}.admin-user small{display:block;font-size:10px;margin-top:7px}.account-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.account-actions a{min-height:32px;padding:5px 9px;font-size:11px;background:#f7f9f1;box-shadow:none}.status-badge{display:inline-flex;align-items:center;gap:6px;border-radius:20px;padding:4px 8px;font:500 10px/1.3 Arial,sans-serif;white-space:normal;border:1px solid transparent}.status-badge:before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor;flex-shrink:0}.status-positive{background:#eaf3e4;color:#426f3c;border-color:#d4e5cd}.status-warning{background:#fff2d5;color:#8b6929;border-color:#efdfb8}.status-negative{background:#faeae4;color:#9b5144;border-color:#ecd4ca}.status-neutral{background:#eff1e9;color:#77806b;border-color:#e0e5d5}
.dashboard-body .crm-tabs{padding:7px;background:#eaf0e3;border-radius:15px;gap:6px}.dashboard-body .crm-tabs button{flex:1;min-width:105px;background:transparent;border-color:transparent;box-shadow:none}.crm-search{padding:16px;border:1px solid #dce6d3;border-radius:14px;background:#fffef9}.crm-search input{min-height:44px;border:1px solid #d1dec5;border-radius:11px;padding:11px 14px;font:14px Arial,sans-serif;background:#fcfdf7}.crm-result-meta{font-size:11px;color:#7b8b71;margin:0 0 12px}.crm-grid.has-card{align-items:start;grid-template-columns:minmax(250px,1fr) minmax(340px,1fr)}.crm-account-card{position:sticky;top:14px;max-height:calc(100dvh - 30px);overflow:auto;box-shadow:0 8px 30px #244b3a0b}.crm-list-row{padding:16px 10px;border-radius:10px}.crm-list-row:hover{background:#f5f8ee}.crm-list-row.is-current{background:#edf4e5;box-shadow:inset 3px 0 #467251}.crm-person-row{padding-bottom:16px;margin-bottom:16px;border-bottom:1px solid #e3eada}.crm-person-row>div{min-width:0;flex:1}.crm-person-row>button{border:1px solid #dbe4d1;background:#f0f4e8;color:#53724b;border-radius:10px;min-width:36px;min-height:36px;font-size:22px;cursor:pointer}.crm-account-card h3{margin-top:25px;padding-top:18px;border-top:1px solid #e4eadb;font-size:13px}.crm-account-card:focus{outline:none}.crm-account-card .curriculum-toolbar>a{font-size:12px;text-underline-offset:3px}.dashboard-body .curriculum-layout>aside{border-color:#d9e4cf;box-shadow:0 3px 12px #214e3e04}.dashboard-body .course-list button{border-radius:12px}.dashboard-body .course-list button[aria-current=true]{box-shadow:inset 3px 0 #44704f}.dashboard-body .curriculum-layout>section>.curriculum-toolbar:first-of-type{position:sticky;top:8px;z-index:3;background:#fffef8ee;backdrop-filter:blur(10px);padding:10px;border:1px solid #e2e8d9;border-radius:13px}.login-layout .auth-vk{background:linear-gradient(125deg,#1689ff,#0671ed);box-shadow:0 4px 12px #087bff14}.login-layout .login-register{margin-top:18px}.login-layout .auth-form+.auth-divider{margin-top:22px}
@media(min-width:1150px){.admin-quick-links{grid-template-columns:repeat(4,minmax(0,1fr))}.admin-quick-links>a{padding:14px;gap:9px}.admin-quick-links small{font-size:10px}.quick-icon{flex-basis:30px;height:32px}}
@media(max-width:1000px){.crm-grid.has-card{grid-template-columns:minmax(0,1fr)}.crm-account-card{position:static;max-height:none;overflow:visible;order:-1}}
@media(max-width:680px){.admin-quick-links{gap:8px;margin-top:16px}.admin-quick-links>a{padding:13px;gap:9px;align-items:flex-start}.quick-icon{flex-basis:30px;height:30px}.admin-quick-links strong{font-size:12px}.admin-quick-links small{font-size:10px}.quick-arrow{display:none}.account-filters{grid-template-columns:1fr;padding:12px}.account-actions a{min-height:40px;padding:8px 10px}.dashboard-body .admin-page-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-body .admin-page-stats article:last-child{grid-column:1/-1}.dashboard-body .admin-page-stats strong{font-size:25px}.dashboard-body .crm-tabs{flex-wrap:nowrap;overflow-x:auto;max-width:100%;padding:6px}.dashboard-body .crm-tabs button{flex:0 0 auto;min-width:105px;min-height:42px}.crm-search{padding:12px}.crm-search label{min-width:0;flex-basis:100%}.crm-search button,.crm-search>.button{flex:1}.dashboard-sidebar nav a{min-height:46px}.dashboard-body .curriculum-layout>section>.curriculum-toolbar:first-of-type{position:static}.dashboard-body :is(.admin-toolbar,.curriculum-toolbar) button{min-height:44px}.dashboard-body .button:not(.video-room *){min-height:44px}}
@media(prefers-reduced-motion:no-preference) and (hover:hover){.admin-quick-links>a,.header>.header-login,.dashboard-body .button:not(.video-room *){transition:background .15s ease,box-shadow .15s ease,transform .15s ease}.admin-quick-links>a:hover,.dashboard-body .button:not(.video-room *):hover:not(:disabled){transform:translateY(-1px)}}
/* Authentication errors: text + field state, never colour alone. */
.auth-card input[aria-invalid="true"]{border-color:#bc3b36;background:#fff7f5;box-shadow:0 0 0 1px #bc3b36}
.auth-card input[aria-invalid="true"]:focus{outline:3px solid #f3c2b8;outline-offset:2px}
.login-layout .auth-card .auth-message-error{background:#fff0ec;border:1px solid #db8a7d;border-left:4px solid #b53430;color:#8b2421;padding:14px 16px;border-radius:12px}
.auth-form .auth-message-error{display:grid;gap:6px;margin:0}
.auth-card .auth-message-error a{color:#8b2421;text-decoration:underline;font-weight:600}
/* Device adaptation: page width must not depend on viewport height. */
.header{width:calc(100% - 2 * var(--page-gutter));height:auto;min-height:100px;grid-template-columns:auto minmax(0,1fr) auto;padding:16px 0;gap:18px}
.header .nav{min-width:0;justify-content:center;flex-wrap:wrap}.header .logo{flex-shrink:0}.header .header-profile{min-width:0}
.rug-backdrop>.corner-lights{position:absolute;left:0;top:0;width:clamp(80px,14%,140px);height:auto;aspect-ratio:300/220;transform:none;object-fit:contain;z-index:3;pointer-events:none;mix-blend-mode:multiply}
.site-header,.site-header-identity{min-width:0;flex-wrap:wrap}.site-header nav{min-width:0}.site-profile{min-width:0}.site-profile img{flex-shrink:0}
.dashboard-body :is(.crm-list-row,.admin-user,.profile-identity)>div{min-width:0;overflow-wrap:anywhere}.dashboard-body :is(.admin-user,.crm-person-row,.profile-actions,.curriculum-toolbar){flex-wrap:wrap}
.dashboard-sidebar{overflow-y:auto;overscroll-behavior:contain}.dashboard-sidebar>*{flex-shrink:0}
.site-content :is(.auth-card,.crm-grid,.learning-workspace-grid,.profile-editor),.dashboard-frame :is(fieldset,section,aside){min-width:0;box-sizing:border-box}.site-content :is(img,video,canvas){max-width:100%}.site-footer>*{min-width:0;overflow-wrap:anywhere}
.auth-form :is(input,select,textarea){max-width:100%}.auth-form input:not([type=checkbox]),.curriculum :is(input,select,textarea){font-size:16px}
.school-help-dialog{max-height:calc(100dvh - 24px);overflow:auto}
@media(min-width:761px){.header.has-profile{grid-template-columns:auto minmax(0,1fr) minmax(140px,230px)}.rug-hero{width:min(100%,1200px);min-height:440px;aspect-ratio:98/60}.rug-content{min-width:0}.rug-content h1{font-size:clamp(32px,5.1cqw,76px)}}
@media(min-width:761px) and (max-width:1100px){.header,.header.has-profile{grid-template-columns:auto minmax(0,1fr);gap:12px 20px}.header .logo{grid-column:1;grid-row:1}.header>.header-login,.header>.header-profile{grid-column:2;grid-row:1;justify-self:end}.header .nav{grid-column:1/-1;grid-row:2;justify-self:center}.rug-content{padding-block:24px}.rug-description{font-size:12px}.rug-footnote{font-size:10px}.header .nav button,.header .nav a{min-height:44px}}
@media(max-width:900px){.dashboard-frame{display:block}.dashboard-sidebar{position:relative;height:auto;display:grid;grid-template-columns:minmax(0,1fr) auto;padding:12px 16px;gap:12px;border-right:0;border-bottom:1px solid #dce2d3;overflow:visible}.dashboard-brand{padding:0}.dashboard-brand img{width:100px;height:auto}.dashboard-menu{display:block;align-self:center;min-height:44px;max-width:170px;padding:8px;font:12px Arial,sans-serif}.dashboard-sidebar nav{display:none;grid-column:1/-1}.dashboard-sidebar nav.is-open{display:grid}.dashboard-help{display:none}.dashboard-body .site-header{flex-wrap:wrap}.dashboard-body .site-header nav{flex-basis:100%;order:3}.dashboard-body .site-header-identity{margin-left:auto;max-width:100%}.login-layout{display:block;margin:16px 12px;min-height:0}.login-layout .login-intro{display:none}.login-layout .auth-card{padding:26px 22px}.crm-account-card{position:static;max-height:none}.dashboard-body .curriculum-layout>section>.curriculum-toolbar:first-of-type{position:static}}
@media(max-width:760px){.header,.header.has-profile,.header:not(.has-profile){width:100%;min-height:88px;height:auto;padding:14px 16px;grid-template-columns:minmax(70px,1fr) auto 44px;gap:8px}.header .logo{grid-column:1;grid-row:1}.header .school-logo{width:86px;height:auto}.header .mobile-menu-toggle{grid-column:3;grid-row:1;width:44px;height:44px}.header>.header-profile{grid-column:1/-1;grid-row:2;max-width:none;justify-self:stretch}.header.mobile-menu-open .nav{grid-column:1/-1;grid-row:3}.header:not(.has-profile)>#header-signup:not([hidden]){grid-column:2;grid-row:1;min-width:0;white-space:normal;text-align:center}.header .nav{justify-content:stretch}.public-shell .site-header-identity{max-width:calc(100% - 110px)}.site-profile{max-width:100%}.site-header-identity .site-logout{margin-left:auto}.site-footer{grid-template-columns:1fr}.site-footer>div:last-child{grid-column:auto}}
@media(max-width:400px){.header:not(.has-profile)>#header-signup:not([hidden]){font-size:11px;padding:10px 8px}.header,.header.has-profile,.header:not(.has-profile){padding-inline:12px;gap:6px}.header .school-logo{width:78px}.profile-cover-options{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-body .admin-quick-links{grid-template-columns:1fr}.dashboard-menu{max-width:150px}.dashboard-body .auth-card{padding:14px}.crm-search label{min-width:0}.crop-avatar{width:min(220px,100%);height:auto;aspect-ratio:1}}
/* A short landscape viewport should scroll the page, not squeeze its contents. */
@media(orientation:landscape) and (max-height:540px){.dashboard-sidebar{position:relative;height:auto;overflow:visible}.dashboard-frame{display:block}.dashboard-sidebar{display:grid;grid-template-columns:minmax(0,1fr) auto;padding:10px 16px;gap:10px}.dashboard-brand img{width:90px;height:auto}.dashboard-menu{display:block;align-self:center;min-height:44px}.dashboard-sidebar nav{display:none;grid-column:1/-1}.dashboard-sidebar nav.is-open{display:grid}.dashboard-help{display:none}.login-layout{display:block;max-width:620px;margin:16px auto}.login-layout .login-intro{display:none}.crm-account-card{position:static;max-height:none}.dashboard-body .curriculum-layout>section>.curriculum-toolbar:first-of-type{position:static}.video-room{padding:8px max(10px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));gap:6px}.video-room-header{min-height:38px;padding-bottom:5px;gap:12px}.video-room-header img{width:65px;height:35px}.video-room-header h2{font-size:15px}.video-stage{min-height:180px;display:grid;grid-template-columns:minmax(0,1fr) 110px;gap:8px}.video-spotlight{min-height:180px}.video-filmstrip{flex-direction:column;justify-content:flex-start;overflow-y:auto;max-height:220px;min-height:0}.video-thumbnail{width:100%;max-width:100%;height:62px;flex:0 0 62px;aspect-ratio:auto}.video-thumbnail .video-initial{width:30px;font-size:18px}.video-thumbnail .video-person-name{font-size:10px;padding:3px;bottom:0;left:0}.video-dock{flex-wrap:nowrap;max-width:100%;padding:4px;gap:2px}.video-dock button{min-width:0;flex:1;padding:7px 10px;font-size:10px;min-height:44px}.video-dock svg{width:20px;height:20px}.video-settings{position:fixed;inset:10px 10px auto auto;max-height:calc(100dvh - 20px);width:min(450px,calc(100% - 20px))}}
@media(max-width:400px){.rug-hero,.rug-backdrop{min-height:600px}.rug-backdrop .rug-image{object-fit:cover}.rug-content .actions{flex-wrap:wrap}.rug-content .btn,.rug-content .text-link{font-size:11px;min-height:44px;padding:10px 13px}}
