@font-face{font-family:'Manrope';font-style:normal;font-weight:400 800;font-display:swap;src:url('./fonts/manrope-vietnamese.woff2') format('woff2');unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:'Manrope';font-style:normal;font-weight:400 800;font-display:swap;src:url('./fonts/manrope-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:'Source Sans 3';font-style:normal;font-weight:400 600;font-display:swap;src:url('./fonts/source-sans-3-vietnamese.woff2') format('woff2');unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:'Source Sans 3';font-style:normal;font-weight:400 600;font-display:swap;src:url('./fonts/source-sans-3-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{--bg:#F7F9FC;--surface:#fff;--ink:#081426;--text:#101828;--text2:#475467;--muted:#667085;--border:#D0D5DD;--soft:#EAECF0;--subtle:#F2F4F7;--blue:#155EEF;--blue2:#0F4FD6;--blueLight:#EEF4FF;--blueBorder:#C7D7FE;--success:#16A34A;--warning:#D97706;--danger:#B42318;--r8:8px;--r12:12px;--r16:16px;--sidebar:248px;--fontH:Manrope,"Segoe UI",Arial,sans-serif;--fontB:"Source Sans 3","Segoe UI",Arial,sans-serif}*{box-sizing:border-box}html{background:var(--bg);color:var(--text);font-family:var(--fontB);-webkit-text-size-adjust:100%}body{margin:0;background:var(--bg);color:var(--text);font-size:16px;line-height:1.5}a{color:inherit;text-decoration:none}button,input{font:inherit}svg{width:20px;height:20px;display:block}[hidden]{display:none!important}:where(h1,h2,h3,p){margin-top:0}h1,h2,h3{font-family:var(--fontH);color:var(--ink);line-height:1.15}h1{font-size:32px;margin-bottom:8px}h2{font-size:20px;margin-bottom:6px}p{color:var(--text2)}.brand{display:inline-flex;align-items:center;gap:10px;font:800 15px/1 var(--fontH);color:var(--ink)}.brand__mark{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:var(--ink);color:#fff}.button{min-height:44px;padding:0 16px;border:1px solid transparent;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:600;cursor:pointer}.button--primary{background:var(--blue);color:#fff}.button--primary:hover{background:var(--blue2)}.button--secondary{background:var(--surface);border-color:var(--border)}.button--ghost{background:transparent;color:var(--text2)}.button--full{width:100%}.button:disabled{opacity:.5;cursor:not-allowed}.icon-button{width:40px;height:40px;border:0;background:transparent;border-radius:10px;color:var(--text2);display:grid;place-items:center;cursor:pointer}.icon-button:hover{background:var(--subtle)}.marketing-container{width:min(1180px,calc(100% - 48px));margin:auto}.marketing-header{background:var(--surface);border-bottom:1px solid var(--soft);position:sticky;top:0;z-index:20}.marketing-header__inner{height:68px;display:flex;align-items:center;justify-content:space-between;gap:24px}.marketing-nav,.marketing-actions{display:flex;align-items:center;gap:24px}.marketing-nav{font-weight:600;color:var(--text2);font-size:15px}.marketing-actions{gap:8px}.marketing-hero{padding:72px 0 64px}.marketing-hero__grid{display:grid;grid-template-columns:.9fr 1.1fr;align-items:center;gap:64px}.marketing-hero h1{font-size:54px;letter-spacing:-.04em}.marketing-hero p{font-size:20px;max-width:560px}.hero-actions{display:flex;gap:12px}.product-preview{border:1px solid var(--soft);background:var(--surface);border-radius:16px;overflow:hidden;min-height:360px}.product-preview__bar{height:38px;border-bottom:1px solid var(--soft);display:flex;align-items:center;gap:6px;padding:0 14px}.product-preview__bar span{width:7px;height:7px;background:var(--border);border-radius:50%}.product-preview__body{height:310px;display:grid;grid-template-columns:90px 1fr}.preview-sidebar{border-right:1px solid var(--soft);background:#F9FAFB}.preview-content{padding:34px}.preview-line{height:10px;background:var(--soft);border-radius:4px;width:45%;margin-bottom:12px}.preview-line--wide{height:18px;width:68%;background:var(--border)}.preview-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:28px 0}.preview-grid i{height:70px;border:1px solid var(--soft);border-radius:12px}.preview-table{height:120px;border:1px solid var(--soft);border-radius:12px;background:#F9FAFB}.product-preview__note{font-size:13px;margin:0;padding:12px 16px;border-top:1px solid var(--soft)}.foundation-strip{background:var(--surface);border-block:1px solid var(--soft)}.foundation-strip__inner{min-height:92px;display:flex;align-items:center;gap:24px}.marketing-footer{background:var(--surface);border-top:1px solid var(--soft);margin-top:64px}.marketing-footer__inner{height:80px;display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:14px}.simple-page__inner{padding:64px 0}.auth-shell{min-height:100dvh;display:grid;place-items:center;padding:32px 16px}.auth-panel{width:min(430px,100%)}.auth-brand{margin:0 0 28px 4px}.auth-card{background:var(--surface);border:1px solid var(--soft);border-radius:16px;padding:32px}.auth-heading{margin-bottom:28px}.auth-heading h1{font-size:28px}.auth-heading p{margin:0}.auth-form{display:grid;gap:10px}.auth-form label{font-weight:600;font-size:14px}.auth-form input{height:48px;border:1px solid var(--border);border-radius:10px;padding:0 14px;outline:none}.auth-form input:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(21,94,239,.12)}.auth-separator{display:flex;align-items:center;gap:12px;margin:20px 0;color:var(--muted);font-size:13px}.auth-separator:before,.auth-separator:after{content:"";height:1px;flex:1;background:var(--soft)}.auth-terms{font-size:13px;color:var(--muted);margin:20px 0 0}.notice{padding:12px 14px;border-radius:10px;font-size:14px;margin-bottom:18px}.notice--info{background:#E7F8FF;color:var(--text);border:1px solid #0BA5EC}.notice--error{background:#FEF3F2;color:var(--danger);border:1px solid var(--danger)}.app-sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);background:var(--surface);border-right:1px solid var(--soft);z-index:40;display:flex;flex-direction:column;transition:width .18s,transform .18s}.sidebar-brand-row{height:64px;padding:0 14px 0 16px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--soft)}.workspace-switcher{position:relative;padding:14px 12px 8px}.workspace-switcher__label{display:block;font-size:11px;font-weight:700;letter-spacing:.06em;color:var(--muted);margin:0 8px 6px}.workspace-switcher__button{width:100%;min-height:54px;border:1px solid var(--soft);background:#fff;border-radius:12px;padding:7px 9px;display:grid;grid-template-columns:34px 1fr 18px;align-items:center;gap:8px;text-align:left}.workspace-avatar,.user-avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:var(--blueLight);color:var(--blue);font:800 14px var(--fontH)}.workspace-copy,.sidebar-user__copy{min-width:0;display:flex;flex-direction:column}.workspace-copy strong,.sidebar-user__copy strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.workspace-copy small,.sidebar-user__copy small{font-size:11px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.workspace-menu{position:absolute;left:12px;right:12px;top:78px;background:#fff;border:1px solid var(--soft);border-radius:12px;box-shadow:0 8px 24px rgba(8,20,38,.08);padding:6px;z-index:60}.workspace-menu button,.workspace-menu a{width:100%;border:0;background:transparent;padding:10px;border-radius:8px;text-align:left;display:flex;flex-direction:column}.workspace-menu button:hover,.workspace-menu a:hover{background:var(--subtle)}.sidebar-nav{padding:4px 10px 16px;overflow:auto;flex:1}.nav-section-label{font-size:10px;font-weight:700;letter-spacing:.08em;color:var(--muted);padding:16px 10px 6px}.nav-item{min-height:42px;padding:0 10px;border-radius:9px;display:flex;align-items:center;gap:11px;color:#344054;font-weight:600;font-size:14px;margin:2px 0}.nav-item:hover{background:var(--subtle)}.nav-item.is-active{background:var(--blueLight);color:var(--blue)}.nav-icon{width:20px;flex:0 0 20px}.sidebar-user{min-height:66px;margin:0 10px 10px;padding:10px;border-top:1px solid var(--soft);display:flex;align-items:center;gap:10px}.app-main{margin-left:var(--sidebar);min-height:100dvh;transition:margin-left .18s}.app-topbar{height:64px;background:var(--surface);border-bottom:1px solid var(--soft);display:flex;align-items:center;justify-content:space-between;padding:0 24px;position:sticky;top:0;z-index:30}.topbar-left,.topbar-actions,.topbar-title{display:flex;align-items:center;gap:10px}.topbar-kicker{color:var(--muted);font-size:13px}.topbar-title strong{font-family:var(--fontH)}.search-button{height:38px;border:1px solid var(--soft);background:#fff;border-radius:9px;padding:0 12px;color:var(--muted);display:flex;align-items:center;gap:8px}.quick-add{width:38px;height:38px;border-radius:10px;background:var(--blue);color:#fff;display:grid;place-items:center;font-size:22px}.mobile-menu-button{display:none}.app-content{padding:28px 32px 96px;max-width:1600px;margin:auto}.page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:24px}.page-heading p{margin:0}.page-actions{display:flex;gap:8px;flex-wrap:wrap}.first-run-panel{border:1px solid var(--blueBorder);background:var(--blueLight);border-radius:12px;padding:18px 20px;display:grid;grid-template-columns:42px 1fr auto;gap:14px;align-items:center;margin-bottom:20px}.first-run-panel__icon,.empty-state-icon{display:grid;place-items:center;background:var(--blue);color:#fff;font-weight:800;border-radius:10px;width:42px;height:42px}.kpi-grid{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border:1px solid var(--soft);border-radius:12px;overflow:hidden;margin-bottom:20px}.kpi-item{padding:18px 20px;border-right:1px solid var(--soft)}.kpi-item:last-child{border-right:0}.kpi-item span{display:block;color:var(--text2);font-size:13px;font-weight:600}.kpi-item strong{display:block;font:800 26px/1.2 var(--fontH);margin:10px 0 4px}.kpi-item small{color:var(--muted)}.dashboard-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:20px}.panel{background:#fff;border:1px solid var(--soft);border-radius:12px}.panel-heading{padding:18px 20px;border-bottom:1px solid var(--soft)}.panel-heading p{font-size:13px;margin:0}.empty-row{padding:30px 20px;display:flex;flex-direction:column;gap:4px;color:var(--muted)}.empty-row strong{color:var(--text)}.empty-row a{margin-top:8px;color:var(--blue);font-weight:600}.module-placeholder,.attendance-empty{min-height:340px;display:grid;place-items:center;text-align:center;align-content:center;padding:40px;max-width:900px}.module-placeholder p,.attendance-empty p{max-width:560px;margin:0 0 18px}.mobile-bottom-nav{display:none}.mobile-overlay{position:fixed;inset:0;background:rgba(8,20,38,.36);z-index:35}.portal-shell{min-height:100dvh;padding:28px;display:grid;align-content:start;gap:32px}.portal-shell .panel{max-width:720px;width:100%;margin:5vh auto 0}.sidebar-collapsed .app-sidebar{width:72px}.sidebar-collapsed .app-main{margin-left:72px}.sidebar-collapsed .sidebar-brand-label,.sidebar-collapsed .workspace-switcher__label,.sidebar-collapsed .workspace-copy,.sidebar-collapsed .nav-label,.sidebar-collapsed .nav-section-label,.sidebar-collapsed .sidebar-user__copy{display:none}.sidebar-collapsed .nav-item{justify-content:center}.sidebar-collapsed .sidebar-user{justify-content:center}@media(max-width:1199px){.kpi-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}}@media(max-width:767px){body.hiba-one-app-page{padding-bottom:68px}.marketing-container{width:min(100% - 32px,1180px)}.marketing-nav,.marketing-actions .button--ghost{display:none}.marketing-header__inner{height:60px}.marketing-hero{padding:48px 0 36px}.marketing-hero__grid{grid-template-columns:1fr;gap:32px}.marketing-hero h1{font-size:40px}.product-preview{min-height:280px}.product-preview__body{height:230px;grid-template-columns:64px 1fr}.preview-content{padding:22px}.foundation-strip__inner{padding:20px 0;display:block}.marketing-footer__inner{height:auto;padding:24px 0}.auth-shell{place-items:start center;padding:24px 16px}.auth-panel{padding-top:6vh}.auth-card{padding:24px 20px}.app-sidebar{transform:translateX(-100%);width:min(86vw,320px)}.mobile-nav-open .app-sidebar{transform:translateX(0)}.app-main,.sidebar-collapsed .app-main{margin-left:0}.sidebar-collapsed .app-sidebar{width:min(86vw,320px)}.sidebar-collapsed .sidebar-brand-label,.sidebar-collapsed .workspace-switcher__label,.sidebar-collapsed .workspace-copy,.sidebar-collapsed .nav-label,.sidebar-collapsed .nav-section-label,.sidebar-collapsed .sidebar-user__copy{display:initial}.sidebar-collapsed .workspace-copy,.sidebar-collapsed .sidebar-user__copy{display:flex}.sidebar-collapsed .nav-item{justify-content:flex-start}.app-topbar{height:58px;padding:0 14px}.mobile-menu-button{display:grid}.topbar-kicker,.search-button__label{display:none}.app-content{padding:20px 16px 32px}.page-heading{display:block}.page-heading h1{font-size:27px}.page-actions{margin-top:16px;display:grid;grid-template-columns:1fr 1fr}.page-actions .button:last-child{grid-column:1/-1}.first-run-panel{grid-template-columns:38px 1fr;padding:16px}.first-run-panel .button{grid-column:1/-1}.kpi-grid{grid-template-columns:repeat(2,1fr)}.kpi-item{padding:16px}.dashboard-grid{gap:16px}.mobile-bottom-nav{position:fixed;left:0;right:0;bottom:0;height:68px;background:#fff;border-top:1px solid var(--soft);display:grid;grid-template-columns:repeat(5,1fr);z-index:32;padding-bottom:env(safe-area-inset-bottom)}.mobile-bottom-nav a,.mobile-bottom-nav button{border:0;background:transparent;color:var(--muted);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}.mobile-bottom-nav a.is-active{color:var(--blue)}.mobile-bottom-nav small{font-size:10px;font-weight:600}.module-placeholder,.attendance-empty{min-height:300px;padding:28px 18px}.portal-shell{padding:20px 16px}}@media(max-width:389px){.marketing-hero h1{font-size:36px}.auth-card{padding:22px 16px}.kpi-item{padding:14px}.kpi-item strong{font-size:20px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important}}.product-preview--placeholder{display:grid;place-items:center;padding:48px;background:var(--surface)}.product-placeholder-copy{max-width:360px;text-align:center;display:grid;justify-items:center;gap:12px}.product-placeholder-copy strong{font:800 22px/1.2 var(--fontH);color:var(--ink)}.product-placeholder-copy p{margin:0;font-size:14px;color:var(--muted)}
/* Homepage framework: do not show a fabricated dashboard before real product data exists. */
.marketing-hero .product-preview__bar,.marketing-hero .product-preview__body{display:none}.marketing-hero .product-preview{display:grid;place-items:center;min-height:360px;padding:48px;background:var(--surface)}.marketing-hero .product-preview__note{border-top:0;text-align:center;max-width:440px;margin:auto;padding:0;color:var(--muted);font-size:14px}

/* HIBA One Onboarding */
.onboarding-shell{min-height:100dvh;background:var(--bg);padding:24px 20px 48px}.onboarding-header{max-width:760px;margin:0 auto 48px;display:flex;align-items:center;justify-content:space-between}.onboarding-progress-label{font-size:14px;color:var(--muted);font-weight:600}.onboarding-card{width:min(560px,100%);margin:0 auto;background:var(--surface);border:1px solid var(--soft);border-radius:16px;overflow:hidden}.onboarding-progress{height:4px;background:var(--subtle)}.onboarding-progress span{display:block;width:33.333%;height:100%;background:var(--blue);transition:width .18s ease}.onboarding-step{padding:36px}.onboarding-copy{margin-bottom:28px}.onboarding-step-label{display:block;font-size:12px;font-weight:700;color:var(--blue);margin-bottom:8px}.onboarding-copy h1{font-size:30px;margin-bottom:8px}.onboarding-copy p{margin:0;max-width:470px}.field-label{display:block;font-size:14px;font-weight:600;color:var(--text);margin-bottom:7px}.field-input{width:100%;height:48px;border:1px solid var(--border);border-radius:10px;padding:0 14px;background:var(--surface);color:var(--text);outline:none}.field-input:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(21,94,239,.12)}.organization-type-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.organization-type-option{position:relative;cursor:pointer}.organization-type-option input{position:absolute;opacity:0;pointer-events:none}.organization-type-option span{min-height:56px;border:1px solid var(--border);border-radius:10px;padding:0 14px;display:flex;align-items:center;font-weight:600;color:var(--text2);background:var(--surface)}.organization-type-option input:checked+span{border-color:var(--blue);background:var(--blueLight);color:var(--blue)}.organization-type-option input:focus-visible+span{box-shadow:0 0 0 3px rgba(21,94,239,.12)}.onboarding-actions{margin-top:28px}.onboarding-actions--split{display:flex;align-items:center;justify-content:space-between;gap:12px}.form-message{margin-top:14px;border:1px solid var(--danger);background:#FEF3F2;color:var(--danger);border-radius:10px;padding:10px 12px;font-size:14px}.onboarding-footnote{text-align:center;font-size:13px;color:var(--muted);margin:18px auto 0}.onboarding-success{min-height:320px;padding:40px;display:grid;place-items:center;text-align:center;align-content:center}.onboarding-success__mark{width:48px;height:48px;border-radius:12px;background:var(--success);color:#fff;display:grid;place-items:center;margin-bottom:14px;font-weight:800}
@media(max-width:767px){.onboarding-shell{padding:18px 16px 36px}.onboarding-header{margin-bottom:28px}.onboarding-card{border-radius:12px}.onboarding-step{padding:26px 20px}.onboarding-copy h1{font-size:27px}.organization-type-grid{grid-template-columns:1fr}.onboarding-actions--split .button{flex:1}}

/* Organization settings */
.organization-settings-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);gap:20px}.organization-list{padding:8px}.organization-row{width:100%;min-height:64px;border:0;border-bottom:1px solid var(--soft);background:transparent;padding:10px 12px;display:grid;grid-template-columns:40px 1fr auto;align-items:center;gap:12px;text-align:left;cursor:pointer}.organization-row:last-child{border-bottom:0}.organization-row:hover{background:#F9FAFB}.organization-row.is-current{background:var(--blueLight)}.organization-row__copy{display:flex;flex-direction:column;min-width:0}.organization-row__copy strong{color:var(--text)}.organization-row__copy small{color:var(--muted)}.organization-row__state{font-size:13px;font-weight:600;color:var(--blue)}.organization-create-form{padding:20px;display:grid;gap:10px}.organization-create-form .field-label:not(:first-child){margin-top:8px}.organization-create-form .button{margin-top:8px}.organization-create-form select.field-input{appearance:auto}.organization-create-panel{align-self:start}
@media(max-width:899px){.organization-settings-grid{grid-template-columns:1fr}}

/* Students module */
.student-page-heading .back-link,.back-link{display:inline-flex;margin-bottom:8px;color:var(--muted);font-size:14px;font-weight:600}.student-form{max-width:960px;display:grid;gap:18px}.form-section{overflow:hidden}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:20px}.form-grid--single{grid-template-columns:1fr}.field{min-width:0}.field--span-2{grid-column:1/-1}.field-label{display:block;font-size:14px;font-weight:600;color:var(--text);margin-bottom:6px}.field-input{width:100%;min-height:46px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text);padding:10px 12px;outline:none}.field-input:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(21,94,239,.12)}.field-input:disabled{background:#F9FAFB;color:var(--text2);cursor:default}.field-textarea{resize:vertical;line-height:1.5}.form-actions-sticky{position:sticky;bottom:16px;justify-self:end;display:flex;gap:8px;padding:8px;background:var(--surface);border:1px solid var(--soft);border-radius:12px;z-index:10}.form-message{padding:12px 14px;border:1px solid var(--soft);border-radius:10px;background:var(--surface);font-size:14px}.form-message.is-error{border-color:var(--danger);background:#FEF3F2;color:var(--danger)}.students-list-panel{overflow:hidden}.students-toolbar{padding:14px 16px;border-bottom:1px solid var(--soft)}.students-filters{display:flex;gap:10px;align-items:center}.search-field{height:44px;min-width:300px;max-width:460px;flex:1;border:1px solid var(--border);border-radius:10px;background:var(--surface);display:flex;align-items:center;gap:8px;padding:0 12px;color:var(--muted)}.search-field:focus-within{border-color:var(--blue);box-shadow:0 0 0 3px rgba(21,94,239,.12)}.search-field input{width:100%;border:0;outline:0;background:transparent;color:var(--text)}.compact-select{width:auto;min-width:170px;padding-block:0}.table-scroll{overflow:auto}.data-table{width:100%;border-collapse:collapse;min-width:980px;font-size:14px}.data-table th{background:#F9FAFB;color:var(--text2);font-weight:600;text-align:left;padding:11px 16px;border-bottom:1px solid var(--soft);white-space:nowrap}.data-table td{padding:12px 16px;border-bottom:1px solid var(--soft);vertical-align:middle}.data-table tbody tr:hover{background:#F9FAFB}.student-cell{display:flex;align-items:center;gap:10px;min-width:190px}.student-cell span:last-child,.stacked-cell{display:flex;flex-direction:column;min-width:0}.student-cell strong{font-weight:600;color:var(--text)}.student-cell small,.stacked-cell small{font-size:12px;color:var(--muted)}.student-avatar{display:grid;place-items:center;width:52px;height:52px;border-radius:12px;background:var(--blueLight);color:var(--blue);font:800 20px var(--fontH);flex:0 0 auto}.student-avatar--small{width:36px;height:36px;border-radius:10px;font-size:14px}.muted-cell{color:var(--muted)}.status-badge{display:inline-flex;align-items:center;min-height:26px;padding:2px 9px;border-radius:999px;font-size:12px;font-weight:600;white-space:nowrap}.status-active{background:#ECFDF3;color:var(--success)}.status-trial{background:var(--blueLight);color:var(--blue)}.status-paused{background:#FFFAEB;color:var(--warning)}.status-inactive{background:#F2F4F7;color:var(--muted)}.row-more{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;color:var(--muted);font-size:22px;transition:background-color .14s ease,color .14s ease,transform .1s ease}.row-more:hover{background:var(--blueLight);color:var(--blue)}.row-more:active{transform:scale(.94)}.row-more:focus-visible{outline:2px solid var(--blue);outline-offset:2px}@media(max-width:767px){.row-more{width:44px;height:44px}}.students-empty{min-height:360px;display:grid;place-items:center;align-content:center;text-align:center;padding:40px}.students-empty h2{margin:14px 0 4px}.students-empty p{margin:0 0 18px}.pagination{display:flex;gap:6px;justify-content:flex-end;padding:14px 16px}.pagination a{width:34px;height:34px;border:1px solid var(--soft);border-radius:8px;display:grid;place-items:center;font-size:13px;font-weight:600}.pagination a.is-active{background:var(--blueLight);color:var(--blue);border-color:var(--blueBorder)}.student-profile-header{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:18px}.student-identity{display:flex;align-items:center;gap:14px}.student-identity h1{margin:0 0 5px}.student-meta{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:13px}.profile-tabs{display:flex;gap:4px;overflow:auto;border-bottom:1px solid var(--soft);margin-bottom:20px;scrollbar-width:none}.profile-tabs::-webkit-scrollbar{display:none}.profile-tabs a,.profile-tabs span{padding:10px 12px;white-space:nowrap;font-size:14px;font-weight:600;color:var(--muted);border-bottom:2px solid transparent}.profile-tabs .is-active{color:var(--blue);border-bottom-color:var(--blue)}.student-profile-form{max-width:none}.student-profile-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:18px;align-items:start}.student-side-stack{display:grid;gap:18px}.side-info-body{padding:18px 20px}.side-info-body p{font-size:13px;margin:4px 0 0}.profile-edit-actions{position:fixed;right:24px;bottom:24px;display:flex;gap:8px;padding:8px;background:var(--surface);border:1px solid var(--soft);border-radius:12px;box-shadow:0 8px 24px rgba(8,20,38,.08);z-index:45}.danger-menu-button{border:1px solid var(--soft)}
@media(max-width:900px){.student-profile-grid{grid-template-columns:1fr}.student-side-stack{grid-template-columns:1fr 1fr}}
@media(max-width:767px){.form-grid{grid-template-columns:1fr;padding:16px}.field--span-2{grid-column:auto}.student-form{gap:14px}.form-actions-sticky{left:16px;right:16px;bottom:78px;position:fixed;justify-content:stretch}.form-actions-sticky .button{flex:1}.students-toolbar{padding:12px}.students-filters{display:grid;grid-template-columns:1fr 1fr}.search-field{min-width:0;max-width:none;grid-column:1/-1}.compact-select{width:100%;min-width:0}.filter-submit{width:100%}.data-table{min-width:0}.students-table thead{display:none}.students-table,.students-table tbody,.students-table tr,.students-table td{display:block;width:100%}.students-table tr{position:relative;padding:14px 50px 14px 14px;border-bottom:1px solid var(--soft)}.students-table td{padding:3px 0;border:0}.students-table td:nth-child(2){display:none}.students-table td:nth-child(3),.students-table td:nth-child(4),.students-table td:nth-child(5){font-size:13px;color:var(--muted)}.students-table td:nth-child(6){margin-top:6px}.students-table td:last-child{position:absolute;right:10px;top:18px}.student-profile-header{align-items:flex-start}.student-profile-header .page-actions{display:flex;margin-top:0}.student-avatar{width:46px;height:46px}.student-profile-grid{grid-template-columns:1fr}.student-side-stack{grid-template-columns:1fr}.profile-edit-actions{left:16px;right:16px;bottom:78px;justify-content:stretch}.profile-edit-actions .button{flex:1}}

/* Phase 3: Classes */
.class-form{display:grid;gap:18px;max-width:980px}.panel-heading--action{display:flex;align-items:center;justify-content:space-between;gap:16px}.schedule-builder{display:grid;gap:10px;padding:18px 20px}.schedule-row{display:grid;grid-template-columns:1.05fr .8fr .8fr 1.4fr 40px;gap:10px;align-items:center}.schedule-remove{border:1px solid var(--soft);background:var(--surface)}.class-profile-header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:20px}.class-identity{display:flex;align-items:center;gap:14px;margin-top:10px}.class-mark{width:52px;height:52px;border-radius:12px;background:var(--blueLight);color:var(--blue);display:grid;place-items:center;font:800 20px/1 var(--fontH)}.class-mark--small{width:36px;height:36px;border-radius:9px;font-size:14px}.class-profile-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:20px}.class-main-stack,.class-side-stack{display:grid;align-content:start;gap:20px}.class-capacity-card .capacity-body{padding:22px 20px}.capacity-body strong{font:800 30px/1 var(--fontH);color:var(--ink)}.capacity-body p{margin:8px 0 0;color:var(--muted)}.enroll-form{display:grid;gap:12px;padding:18px 20px}.class-student-list{display:grid}.class-student-row{min-height:64px;padding:10px 18px;display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:12px;align-items:center;border-bottom:1px solid var(--soft)}.class-student-row:last-child{border-bottom:0}.enrollment-remove{min-height:38px;color:var(--danger)}.class-schedule-summary{padding:12px 20px 18px}.class-schedule-summary>div{display:flex;justify-content:space-between;gap:14px;padding:10px 0;border-bottom:1px solid var(--soft)}.class-schedule-summary>div:last-child{border-bottom:0}.class-schedule-summary span{color:var(--text2)}.class-shift-summary-row>span:first-child{display:grid;gap:3px}.class-shift-summary-row small{color:var(--muted);font-size:11px;font-weight:500;line-height:1.45}.class-shift-assignment{margin:2px 0 12px;border:1px solid var(--soft);border-radius:12px;background:var(--surface)}.class-shift-assignment>summary{cursor:pointer;list-style:none;padding:10px 12px;color:var(--blue);font-size:12px;font-weight:700}.class-shift-assignment>summary::-webkit-details-marker{display:none}.class-shift-assignment>form{display:grid;gap:10px;padding:0 12px 12px}.class-shift-student-picker{max-height:260px;overflow:auto;border:1px solid var(--soft);border-radius:10px;background:var(--surface)}.class-shift-student-picker>label{display:grid;grid-template-columns:20px minmax(0,1fr);gap:9px;align-items:center;padding:9px 10px;border-bottom:1px solid var(--soft);cursor:pointer}.class-shift-student-picker>label:last-child{border-bottom:0}.class-shift-student-picker>label[hidden]{display:none}.class-shift-student-picker>label span{display:grid;gap:2px}.class-shift-student-picker>label strong{font-size:12px;color:var(--ink)}.class-shift-student-picker>label small{font-size:11px;color:var(--muted)}.class-status-active{background:#ECFDF3;color:var(--success)}.class-status-paused{background:#FFFAEB;color:var(--warning)}.class-status-closed{background:#F2F4F7;color:#475467}.classes-table td{vertical-align:middle}.field-help{display:block;color:var(--muted);font-size:12px;margin-top:5px}.student-class-links{display:flex;flex-wrap:wrap;gap:6px}.student-class-link{display:inline-flex;align-items:center;min-height:28px;padding:2px 8px;border-radius:8px;background:var(--blueLight);color:var(--blue);font-size:12px;font-weight:600}.side-class-list{display:grid;padding:8px 18px 16px}.side-class-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--soft)}.side-class-row:last-child{border-bottom:0}.side-class-row span{color:var(--muted);font-size:12px}
@media(max-width:1100px){.class-profile-grid{grid-template-columns:1fr}.class-side-stack{grid-template-columns:repeat(2,minmax(0,1fr))}.class-side-stack .side-info-panel{grid-column:1/-1}}
@media(max-width:767px){.panel-heading--action{align-items:flex-start;flex-direction:column}.panel-heading--action .button{width:100%}.schedule-row{grid-template-columns:1fr 1fr 40px}.schedule-row select{grid-column:1/-1}.schedule-row input[name="schedule_location[]"]{grid-column:1/-2}.class-profile-header{display:block}.class-profile-header .page-actions{margin-top:14px}.class-profile-grid{gap:16px}.class-side-stack{grid-template-columns:1fr}.class-side-stack .side-info-panel{grid-column:auto}.class-student-row{grid-template-columns:minmax(0,1fr) auto}.class-student-row .enrollment-remove{grid-column:1/-1;justify-self:start}.classes-table th:nth-child(3),.classes-table td:nth-child(3){display:none}}

/* Attendance V0.4 */
.attendance-list-heading{margin-bottom:14px}.attendance-date-nav{display:flex;align-items:center;gap:8px;margin-bottom:20px}.attendance-date-nav form{margin:0}.attendance-date-input{width:168px}.attendance-today-button{min-height:40px}.attendance-day-list{display:grid;gap:12px}.attendance-class-card{background:var(--surface);border:1px solid var(--soft);border-radius:12px;display:grid;grid-template-columns:82px 1fr auto;align-items:center;gap:18px;padding:16px 18px}.attendance-class-time{align-self:stretch;border-right:1px solid var(--soft);display:flex;flex-direction:column;justify-content:center}.attendance-class-time strong{font:800 20px/1.2 var(--fontH);color:var(--ink)}.attendance-class-time span{font-size:13px;color:var(--muted);margin-top:3px}.attendance-class-main{display:flex;align-items:center;justify-content:space-between;gap:14px;min-width:0}.attendance-class-main h2{font-size:17px;margin:0 0 3px}.attendance-class-main p{font-size:13px;margin:0;color:var(--muted)}.attendance-session-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:14px}.attendance-session-heading h1{margin:8px 0 4px}.attendance-session-meta{display:flex;align-items:center;gap:8px 14px;flex-wrap:wrap;color:var(--muted);font-size:14px}.attendance-session-meta strong{color:var(--text);font-size:16px}.attendance-progress-copy{text-align:right}.attendance-progress-copy strong{display:block;font:800 24px/1.1 var(--fontH);color:var(--ink)}.attendance-progress-copy span{font-size:12px;color:var(--muted)}.attendance-progress-track{height:5px;background:var(--soft);border-radius:999px;overflow:hidden;margin-bottom:18px}.attendance-progress-track span{display:block;height:100%;background:var(--blue);transition:width .18s ease}.attendance-students{display:grid;gap:10px}.attendance-student{background:var(--surface);border:1px solid var(--soft);border-radius:12px;padding:14px 16px;display:grid;grid-template-columns:minmax(210px,1fr) auto;align-items:center;gap:16px}.attendance-student__identity{display:flex;align-items:center;gap:11px;min-width:0}.attendance-student__identity>div{min-width:0}.attendance-student__identity strong{display:block;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.attendance-student__identity small{display:block;color:var(--muted);font-size:12px;margin-top:2px}.attendance-status-actions{display:grid;grid-template-columns:repeat(4,minmax(74px,1fr));gap:7px}.attendance-status{min-height:44px;border:1px solid var(--border);background:var(--surface);color:var(--text2);border-radius:9px;padding:0 10px;font-weight:600;font-size:13px;cursor:pointer}.attendance-status:hover{background:var(--subtle)}.attendance-status.status-present.is-selected{background:#ECFDF3;border-color:#16A34A;color:var(--success)}.attendance-status.status-absent.is-selected{background:#FEF3F2;border-color:#B42318;color:#B42318}.attendance-status.status-excused.is-selected{background:#FFFAEB;border-color:#D97706;color:var(--warning)}.attendance-status.status-late.is-selected{background:#E7F8FF;border-color:#0BA5EC;color:var(--info)}.attendance-save-message{min-height:24px;padding:10px 2px;color:var(--success);font-size:13px}.attendance-save-message.is-error{color:var(--danger)}.attendance-sticky-save{position:sticky;bottom:16px;z-index:20;margin:8px auto 0;max-width:760px;background:var(--surface);border:1px solid var(--soft);border-radius:12px;padding:10px 12px;box-shadow:0 8px 24px rgba(8,20,38,.08);display:flex;align-items:center;justify-content:space-between;gap:16px}.attendance-sticky-save>div{display:flex;flex-direction:column}.attendance-sticky-save>div strong{font:800 16px/1.2 var(--fontH)}.attendance-sticky-save>div span{font-size:11px;color:var(--muted)}.attendance-completed-badge{display:inline-flex;align-items:center;min-height:36px;padding:0 12px;border-radius:999px;background:#ECFDF3;color:var(--success);font-weight:700;font-size:13px}
@media(max-width:767px){.attendance-date-nav{position:sticky;top:68px;z-index:18;background:var(--bg);padding:8px 0 10px;margin-top:-8px}.attendance-date-input{width:148px}.attendance-today-button{margin-left:auto;padding:0 10px}.attendance-class-card{grid-template-columns:62px 1fr;gap:12px;padding:14px}.attendance-class-time{border-right:1px solid var(--soft)}.attendance-class-main{display:block}.attendance-class-main .status-badge{display:inline-flex;margin-top:7px}.attendance-class-action{grid-column:1/-1}.attendance-class-action .button{width:100%}.attendance-session-heading{display:block}.attendance-progress-copy{text-align:left;display:flex;align-items:baseline;gap:6px;margin-top:10px}.attendance-progress-copy strong{font-size:18px}.attendance-students{gap:8px}.attendance-student{grid-template-columns:1fr;padding:13px 12px;gap:10px}.attendance-status-actions{grid-template-columns:repeat(4,1fr);gap:6px}.attendance-status{min-height:48px;padding:0 5px;font-size:12px}.attendance-sticky-save{position:fixed;left:12px;right:12px;bottom:80px;max-width:none;margin:0}.attendance-sheet{padding-bottom:92px}.attendance-session-meta{gap:4px 10px}.attendance-session-meta span{font-size:12px}}
@media(max-width:389px){.attendance-status-actions{grid-template-columns:repeat(2,1fr)}.attendance-sticky-save{bottom:76px}.attendance-date-input{width:138px}.attendance-today-button{display:none}}

/* Dashboard attendance + student attendance summary */
.action-list{display:grid}.action-list-row{min-height:64px;padding:12px 18px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--soft)}.action-list-row:last-child{border-bottom:0}.action-list-row>span:first-child{display:flex;flex-direction:column;gap:2px}.action-list-row strong{font-size:14px;color:var(--text)}.action-list-row small{font-size:12px;color:var(--muted)}.action-list-row>span:last-child{color:var(--blue);font-weight:600;font-size:13px}.dashboard-today-classes{display:grid}.dashboard-class-row{min-height:64px;padding:10px 16px;display:grid;grid-template-columns:54px 1fr auto;align-items:center;gap:10px;border-bottom:1px solid var(--soft)}.dashboard-class-row:last-child{border-bottom:0}.dashboard-class-time{font:800 15px/1.2 var(--fontH);color:var(--ink)}.dashboard-class-row>span:nth-child(2){display:flex;flex-direction:column;min-width:0}.dashboard-class-row strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dashboard-class-row small{font-size:11px;color:var(--muted)}.dashboard-class-action{font-size:12px;color:var(--blue);font-weight:700}.attendance-stats-grid{display:grid;grid-template-columns:1fr 1fr}.attendance-stats-grid>div{padding:14px 16px;border-right:1px solid var(--soft);border-bottom:1px solid var(--soft);display:flex;flex-direction:column;gap:3px}.attendance-stats-grid>div:nth-child(2n){border-right:0}.attendance-stats-grid>div:nth-last-child(-n+2){border-bottom:0}.attendance-stats-grid span{font-size:11px;color:var(--muted)}.attendance-stats-grid strong{font:800 18px/1.2 var(--fontH);color:var(--ink)}
@media(max-width:767px){.dashboard-class-row{grid-template-columns:48px 1fr auto;padding:10px 14px}.action-list-row{padding:12px 14px}}

/* Tuition & Payments V0.5 */
.finance-tabs{display:flex;gap:6px;border-bottom:1px solid var(--soft);margin-bottom:20px;overflow-x:auto}.finance-tabs a{padding:10px 12px;color:var(--muted);font-weight:600;font-size:14px;border-bottom:2px solid transparent;white-space:nowrap}.finance-tabs a.is-active{color:var(--blue);border-bottom-color:var(--blue)}.finance-kpis{display:grid;grid-template-columns:repeat(4,1fr);background:var(--surface);border:1px solid var(--soft);border-radius:12px;overflow:hidden;margin-bottom:20px}.finance-kpis article{padding:16px 18px;border-right:1px solid var(--soft)}.finance-kpis article:last-child{border-right:0}.finance-kpis span{display:block;color:var(--muted);font-size:12px;font-weight:600}.finance-kpis strong{display:block;font:800 22px/1.2 var(--fontH);color:var(--ink);margin-top:8px}.finance-two-col{display:grid;grid-template-columns:1fr 1fr;gap:20px}.finance-two-col--invoice{grid-template-columns:minmax(0,1.45fr) minmax(320px,.55fr)}.finance-form{padding:18px 20px;display:grid;gap:12px}.finance-check{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--text2)}.finance-check input{width:18px;height:18px}.finance-plan-list,.finance-payment-list{display:grid}.finance-plan-row,.finance-payment-row{min-height:62px;padding:12px 18px;border-bottom:1px solid var(--soft);display:flex;justify-content:space-between;align-items:center;gap:16px}.finance-plan-row:last-child,.finance-payment-row:last-child{border-bottom:0}.finance-plan-row>span,.finance-payment-row>span{display:flex;flex-direction:column}.finance-plan-row small,.finance-payment-row small{font-size:11px;color:var(--muted)}.finance-payment-row>span:last-child{text-align:right}.finance-table td strong{display:block}.finance-table td small{display:block;font-size:11px;color:var(--muted);margin-top:2px}.finance-status-paid{background:#ECFDF3;color:var(--success)}.finance-status-partial{background:#E7F8FF;color:var(--info)}.finance-status-overdue{background:#FEF3F2;color:var(--danger)}.finance-status-open{background:#FFFAEB;color:var(--warning)}.finance-status-exempt{background:var(--subtle);color:var(--text2)}.form-helper{font-size:12px;color:var(--muted);margin:0}
@media(max-width:1199px){.finance-two-col,.finance-two-col--invoice{grid-template-columns:1fr}.finance-kpis{grid-template-columns:repeat(2,1fr)}.finance-kpis article:nth-child(2){border-right:0}.finance-kpis article:nth-child(-n+2){border-bottom:1px solid var(--soft)}}@media(max-width:767px){.finance-kpis article{padding:14px}.finance-kpis strong{font-size:18px}.finance-form{padding:16px}.finance-plan-row,.finance-payment-row{padding:12px 14px}.finance-table{min-width:760px}}

/* Staff & Roles V0.6 */
.staff-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);gap:20px;margin-bottom:20px}.staff-list{display:grid}.staff-row{min-height:68px;padding:10px 16px;display:grid;grid-template-columns:36px minmax(0,1fr) 170px auto;align-items:center;gap:12px;border-bottom:1px solid var(--soft)}.staff-row:last-child{border-bottom:0}.staff-row__identity{display:flex;flex-direction:column;min-width:0}.staff-row__identity strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.staff-row__identity small{font-size:11px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.staff-role-select{height:40px}.staff-remove{min-height:38px;color:var(--danger)}.staff-you{font-size:12px;color:var(--muted);font-weight:600}.staff-invite-form{padding:18px 20px;display:grid;gap:10px}.staff-or{text-align:center;color:var(--muted);font-size:12px}.invite-result{padding:12px;background:var(--subtle);border-radius:10px;display:grid;gap:7px}.invite-copy-row{display:grid;grid-template-columns:1fr auto;gap:8px}.invite-result small{color:var(--muted)}.pending-invite-list{display:grid}.pending-invite-row{min-height:58px;padding:10px 16px;border-bottom:1px solid var(--soft);display:flex;justify-content:space-between;align-items:center;gap:12px}.pending-invite-row:last-child{border-bottom:0}.pending-invite-row>span:first-child{display:flex;flex-direction:column}.pending-invite-row small{font-size:11px;color:var(--muted)}.invite-accept-shell{max-width:520px;margin:4vh auto;display:grid;gap:20px}.invite-accept-card{padding:32px;text-align:center}.invite-accept-card .empty-state-icon{margin:0 auto 14px}.invite-accept-card h1{margin-bottom:8px}.invite-accept-card p{margin-bottom:20px}.invite-label{display:block;color:var(--muted);font-size:13px;font-weight:600;margin-bottom:8px}.invite-accept-card .button+.button{margin-top:8px}
@media(max-width:1199px){.staff-layout{grid-template-columns:1fr}.staff-row{grid-template-columns:36px minmax(0,1fr) 160px auto}}@media(max-width:767px){.staff-row{grid-template-columns:36px 1fr;gap:8px 10px;padding:12px 14px}.staff-role-select{grid-column:2}.staff-remove,.staff-you{grid-column:2;justify-self:start}.staff-invite-form{padding:16px}.invite-copy-row{grid-template-columns:1fr}.pending-invite-row{padding:12px 14px}.invite-accept-shell{margin:0 auto;padding-top:20px}.invite-accept-card{padding:24px 18px}}

/* Auth V0.7 */
.auth-helper{display:block;color:var(--muted);font-size:12px;line-height:1.45;margin-top:-3px}.auth-step-copy{margin-bottom:6px}.auth-step-copy h2{font-size:20px;margin:0 0 5px}.auth-step-copy p{margin:0;font-size:14px}.auth-code-input{height:54px!important;text-align:center;font:700 24px/1 var(--fontH)!important;letter-spacing:.24em;padding-left:calc(14px + .24em)!important}.auth-account-summary{display:flex;align-items:center;gap:10px;padding:10px 12px;background:var(--subtle);border-radius:10px;margin-bottom:4px}.auth-account-summary>div{display:flex;flex-direction:column;min-width:0}.auth-account-summary strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.auth-account-summary small{font-size:11px;color:var(--muted)}.auth-text-button{border:0;background:transparent;color:var(--blue);font-weight:600;font-size:13px;min-height:36px;cursor:pointer}.auth-global-message{margin-bottom:14px}.auth-global-message.is-error{background:#FEF3F2;color:var(--danger);border:1px solid var(--danger);padding:10px 12px;border-radius:10px}.auth-global-message:not(.is-error){background:#E7F8FF;color:var(--text);border:1px solid var(--info);padding:10px 12px;border-radius:10px}

/* Auth V2 + security settings */
.auth-v2{display:grid;gap:14px}.auth-v2 .auth-separator{margin:2px 0}.auth-passkey-button{min-height:48px}.auth-google-slot{min-height:44px;display:grid}.google-button-host{display:grid;justify-content:center}.auth-v2-message{margin:0}.auth-v2-message.is-error,.form-message.is-error{color:var(--danger);background:#FEF3F2;border-color:var(--danger)}.auth-link-button{border:0;background:transparent;color:var(--blue);font:600 14px var(--fontB);padding:6px 0;cursor:pointer}.auth-link-button:hover{text-decoration:underline}.security-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.security-card{min-width:0}.security-card-body{padding:20px;display:grid;gap:14px}.security-card-body>div:not(.security-list){display:grid;gap:4px}.security-card-body>strong,.security-card-body div>strong{font-family:var(--fontH);color:var(--ink)}.security-card-body span{color:var(--muted);font-size:14px}.security-list{display:grid;border-top:1px solid var(--soft)}.security-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid var(--soft)}.security-row>span{display:grid;gap:2px;min-width:0}.security-row strong{font-size:14px;color:var(--text)}.security-row small{font-size:12px;color:var(--muted)}.security-empty{padding:14px 0;color:var(--muted);font-size:14px}@media(max-width:767px){.security-settings-grid{grid-template-columns:1fr}.security-card-body{padding:16px}.auth-google-slot .g_id_signin,.google-button-host{width:100%!important}.security-row{align-items:flex-start}}

/* HIBA One official brand assets */
.brand--official{gap:0;flex-shrink:0}.hiba-one-brand-logo{display:block;width:auto;height:auto;object-fit:contain}.marketing-header .hiba-one-brand-logo--horizontal{width:150px;max-height:36px}.auth-brand .hiba-one-brand-logo--horizontal,.onboarding-header .hiba-one-brand-logo--horizontal,.invite-accept-shell>.brand .hiba-one-brand-logo--horizontal,.portal-shell>.brand .hiba-one-brand-logo--horizontal{width:156px;max-height:38px}.brand--sidebar{min-width:0;overflow:hidden}.brand--sidebar .hiba-one-brand-logo__horizontal{width:132px;max-height:32px}.brand--sidebar .hiba-one-brand-logo__icon{display:none;width:30px;height:30px;object-fit:contain}.sidebar-collapsed .brand--sidebar .hiba-one-brand-logo__horizontal{display:none}.sidebar-collapsed .brand--sidebar .hiba-one-brand-logo__icon{display:block}.sidebar-collapsed .sidebar-brand-row{padding:0 6px;gap:2px}.sidebar-collapsed .sidebar-collapse{width:30px;height:34px;flex:0 0 30px}@media(max-width:767px){.marketing-header .hiba-one-brand-logo--horizontal{width:132px;max-height:32px}.auth-brand .hiba-one-brand-logo--horizontal,.onboarding-header .hiba-one-brand-logo--horizontal{width:144px;max-height:35px}.brand--sidebar .hiba-one-brand-logo__horizontal{width:138px;max-height:34px}}

/* HIBA One delivery modules v0.12 */
.inline-create-panel{margin-bottom:16px}.compact-form{display:grid;gap:16px}.compact-form>label,.compact-form .form-grid>label{display:grid;gap:6px;font-size:14px;font-weight:600;color:var(--text)}.form-grid-span{grid-column:1/-1}.checkbox-line{display:flex!important;grid-auto-flow:column;justify-content:start;align-items:center;gap:10px}.checkbox-line input{width:18px;height:18px;accent-color:var(--blue)}.panel-heading--split{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.table-input{width:120px;min-height:40px;border:1px solid var(--border);border-radius:8px;padding:7px 10px;font:inherit;background:var(--surface);color:var(--text)}.table-input--wide{width:min(420px,100%)}.table-input:focus{outline:2px solid var(--blue);outline-offset:1px;border-color:var(--blue)}.table-link{font-weight:700;color:var(--blue)}.gradebook-panel{margin-bottom:16px}.gradebook-table th:first-child,.gradebook-table td:first-child{position:sticky;left:0;background:var(--surface);z-index:1}.subnav-tabs{display:flex;gap:4px;overflow:auto;margin:-8px 0 20px;padding-bottom:2px;border-bottom:1px solid var(--soft)}.subnav-tabs a{flex:0 0 auto;padding:10px 12px;border-bottom:2px solid transparent;color:var(--text2);font-weight:600;font-size:14px}.subnav-tabs a.is-active{color:var(--blue);border-bottom-color:var(--blue)}.report-filters{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin-bottom:16px}.report-filters label{display:grid;gap:5px;font-size:13px;font-weight:600}.report-filters .field-input{min-width:160px}.chart-panel{overflow:hidden}.sparkline{width:100%;height:130px;color:var(--blue);background:var(--subtleAlt);border-radius:8px;padding:10px}.chart-meta{display:flex;justify-content:space-between;color:var(--muted);font-size:12px;margin-top:6px}.report-kpis{margin-bottom:16px}.weekly-schedule{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.schedule-day{padding:0;overflow:hidden}.schedule-day-head{min-height:52px;padding:0 16px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--soft)}.schedule-day-head strong{font-family:var(--fontH)}.schedule-day-head span,.schedule-day-empty{font-size:13px;color:var(--muted)}.schedule-day-empty{padding:18px 16px}.schedule-event{display:grid;grid-template-columns:64px 1fr;gap:12px;padding:12px 16px;border-bottom:1px solid var(--soft);color:var(--text)}.schedule-event:last-child{border-bottom:0}.schedule-event:hover{background:var(--blueLight)}.schedule-event time{font-weight:700;color:var(--blue)}.schedule-event time small,.schedule-event span small{display:block;color:var(--muted);font-weight:400;margin-top:2px}.message-layout{display:grid;grid-template-columns:320px minmax(0,1fr);gap:16px;margin-bottom:16px;min-height:520px}.conversation-list{padding:0;overflow:hidden}.conversation-list .panel-heading{padding:18px 18px 10px}.conversation-row{display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:10px;padding:12px 16px;border-top:1px solid var(--soft);color:var(--text)}.conversation-row:hover,.conversation-row.is-active{background:var(--blueLight)}.conversation-row small{display:block;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:190px}.notification-count{display:grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:var(--blue);color:#fff;font-size:11px}.thread-panel{padding:0;display:grid;grid-template-rows:auto 1fr auto;min-height:520px}.thread-header{min-height:62px;padding:12px 18px;border-bottom:1px solid var(--soft);display:flex;align-items:center}.thread-header small{display:block;color:var(--muted)}.thread-messages{padding:18px;overflow:auto;display:flex;flex-direction:column;gap:10px;max-height:58vh}.message-bubble{max-width:min(72%,560px);padding:10px 12px;border-radius:12px;background:var(--subtle);align-self:flex-start}.message-bubble.is-mine{align-self:flex-end;background:var(--blueLight);border:1px solid var(--blueBorder)}.message-bubble p{margin:0;color:var(--text)}.message-bubble small{display:block;margin-top:4px;color:var(--muted);font-size:11px}.thread-compose{display:grid;grid-template-columns:1fr auto;gap:8px;padding:12px;border-top:1px solid var(--soft)}.thread-compose textarea{resize:none;min-height:48px;border:1px solid var(--border);border-radius:10px;padding:10px 12px;font:inherit}.thread-compose textarea:focus{outline:2px solid var(--blue);outline-offset:1px}.announcement-panel{margin-top:16px}.notification-page-list{padding:0;overflow:hidden}.notification-page-row{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:12px;align-items:center;padding:14px 16px;border-bottom:1px solid var(--soft);color:var(--text)}.notification-page-row:last-child{border-bottom:0}.notification-page-row.is-unread{background:var(--blueLight)}.notification-type-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:var(--subtle);font-weight:800;color:var(--ink)}.notification-page-row small{display:block;color:var(--muted);margin-top:2px}.notification-page-row time{font-size:12px;color:var(--muted)}.topbar-notification{position:relative;display:grid;place-items:center;width:40px;height:40px;border-radius:10px;color:var(--text2)}.topbar-notification svg{width:20px;height:20px}.topbar-notification:hover{background:var(--subtle)}.topbar-notification b{position:absolute;right:1px;top:0;min-width:17px;height:17px;padding:0 4px;display:grid;place-items:center;border-radius:999px;background:var(--danger);color:#fff;font-size:9px;border:2px solid var(--surface)}.settings-hub-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.settings-hub-card{display:grid;gap:6px;padding:20px;color:var(--text)}.settings-hub-card strong{font-family:var(--fontH);font-size:16px}.settings-hub-card span{font-size:14px;color:var(--muted)}.settings-hub-card:hover{border-color:var(--blueBorder);background:var(--blueLight)}.api-doc-mini{margin-top:16px}.api-endpoint{padding:12px 0;border-top:1px solid var(--soft);overflow:auto}.api-endpoint code{font-size:13px;color:var(--ink)}.data-export-callout{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:18px;border:1px solid var(--soft);border-radius:12px;margin-bottom:16px}.data-export-callout span{display:block;color:var(--muted);font-size:14px;margin-top:4px}.global-search-overlay{position:fixed;inset:0;z-index:200;background:rgba(8,20,38,.36);padding:12vh 16px;display:grid;place-items:start center}.global-search-dialog{width:min(680px,100%);background:var(--surface);border:1px solid var(--soft);border-radius:16px;box-shadow:0 8px 24px rgba(8,20,38,.08);overflow:hidden}.global-search-input{display:grid;grid-template-columns:24px 1fr 36px;gap:8px;align-items:center;padding:10px 12px;border-bottom:1px solid var(--soft)}.global-search-input input{border:0;outline:0;height:40px;font:600 16px var(--fontB);color:var(--text)}.global-search-input button{border:0;background:transparent;font-size:24px;color:var(--muted)}.global-search-results{max-height:60vh;overflow:auto}.global-search-hint{padding:20px;color:var(--muted);text-align:center}.global-search-row{display:flex;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid var(--soft);color:var(--text)}.global-search-row:hover{background:var(--blueLight)}.global-search-row small{display:block;color:var(--muted);margin-top:2px}.global-search-row b{font-size:12px;color:var(--muted);font-weight:600}.form-message.is-error{color:var(--danger)}
@media(max-width:900px){.message-layout{grid-template-columns:1fr}.conversation-list{max-height:300px}.weekly-schedule{grid-template-columns:1fr}.settings-hub-grid{grid-template-columns:1fr}.data-export-callout{align-items:flex-start;flex-direction:column}.thread-panel{min-height:440px}}
@media(max-width:767px){.panel-heading--split{align-items:stretch;flex-direction:column}.report-filters{display:grid;grid-template-columns:1fr 1fr}.report-filters .button{grid-column:1/-1}.report-filters .field-input{min-width:0;width:100%}.thread-compose{grid-template-columns:1fr}.thread-compose .button{width:100%}.message-bubble{max-width:88%}.notification-page-row{grid-template-columns:36px 1fr}.notification-page-row time{grid-column:2}.gradebook-table{min-width:650px}.settings-tabs{margin-left:-4px;margin-right:-4px}.global-search-overlay{padding-top:7vh}.weekly-schedule{gap:10px}}
@media(prefers-reduced-motion:reduce){.global-search-overlay,.conversation-row,.schedule-event,.settings-hub-card{scroll-behavior:auto;transition:none!important}}

.student-history-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px}.student-history-grid>.panel{min-width:0}.progress-form{padding-bottom:16px;margin-bottom:12px;border-bottom:1px solid var(--soft)}.simple-list{display:grid}.simple-list-row{min-height:54px;padding:10px 0;border-top:1px solid var(--soft);display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--text)}.simple-list-row:first-child{border-top:0}.simple-list-row small{display:block;color:var(--muted);margin-top:2px}.material-list-item{min-width:0}.material-list-link{flex:1;min-width:0;color:inherit;text-decoration:none}.material-list-link:hover strong{color:var(--blue)}.material-list-item .table-actions{flex:0 0 auto}.material-upload-grid{display:grid;grid-template-columns:1.2fr 1fr 1.2fr auto;gap:8px;align-items:end;margin-bottom:12px}.portal-shell--student{width:min(1180px,calc(100% - 32px));margin:0 auto;padding:20px 0 48px}.portal-header{min-height:64px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--soft);margin-bottom:24px}.portal-header>span{color:var(--muted);font-size:14px}.portal-identity{display:flex;align-items:center;gap:16px;margin-bottom:18px}.portal-identity .student-avatar{width:58px;height:58px;font-size:20px}.portal-identity span{font-size:12px;font-weight:700;color:var(--blue);letter-spacing:.04em}.portal-identity h1{margin:3px 0 2px}.portal-identity p{margin:0}.portal-tabs{display:flex;gap:4px;overflow:auto;border-bottom:1px solid var(--soft);margin-bottom:18px}.portal-tabs a{padding:10px 12px;color:var(--text2);font-size:14px;font-weight:600;white-space:nowrap}.portal-tabs a:hover{color:var(--blue)}.portal-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.portal-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px}.portal-class-block{padding:12px 0;border-top:1px solid var(--soft)}.portal-class-block:first-child{border-top:0}.portal-class-block>small{display:block;color:var(--muted);margin-top:2px}.portal-schedule-row{display:grid;grid-template-columns:90px 100px 1fr;gap:8px;margin-top:8px;font-size:13px}.portal-schedule-row small{color:var(--muted)}.portal-assessment-list{display:grid;gap:10px}.portal-assessment{border-top:1px solid var(--soft);padding-top:14px}.portal-assessment:first-child{border-top:0;padding-top:0}.portal-assessment-head{display:flex;justify-content:space-between;gap:12px}.portal-assessment-head small{display:block;color:var(--muted);margin-top:2px}.portal-assessment-head>span{font-weight:700;color:var(--text2)}.portal-feedback{padding:10px 12px;border-radius:8px;background:var(--subtleAlt);margin:10px 0;font-size:14px}.portal-submission-form{display:grid;gap:8px;margin-top:10px}.portal-submit-actions{display:grid;grid-template-columns:1fr auto;gap:8px}.portal-invalid{max-width:560px;margin:10vh auto;text-align:center}.portal-link-list{margin-top:12px}
@media(max-width:900px){.student-history-grid,.portal-grid{grid-template-columns:1fr}.portal-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.material-upload-grid{grid-template-columns:1fr 1fr}.material-upload-grid .button{grid-column:1/-1}}
@media(max-width:600px){.portal-shell--student{width:min(100% - 24px,1180px);padding-top:10px}.portal-header{margin-bottom:16px}.portal-header>span{display:none}.portal-identity h1{font-size:26px}.portal-kpis{grid-template-columns:1fr 1fr}.portal-schedule-row{grid-template-columns:80px 1fr}.portal-schedule-row small{grid-column:1/-1}.portal-submit-actions,.material-upload-grid{grid-template-columns:1fr}.portal-submit-actions .button,.material-upload-grid .button{width:100%}}

/* Public marketing completion */
.skip-link{position:fixed;left:12px;top:12px;z-index:9999;transform:translateY(-160%);background:var(--ink);color:#fff;padding:10px 14px;border-radius:8px;font-weight:700}.skip-link:focus{transform:translateY(0);outline:2px solid var(--blue);outline-offset:2px}.marketing-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.96);border-bottom:1px solid var(--soft)}.admin-bar .marketing-header{top:32px}.marketing-header__inner{height:68px;display:flex;align-items:center;gap:28px}.marketing-nav{display:flex;align-items:center;gap:24px;margin-left:auto}.marketing-nav a{font-size:14px;font-weight:600;color:var(--text2)}.marketing-nav a:hover{color:var(--blue)}.marketing-actions{display:flex;align-items:center;gap:8px}.public-menu-button{display:none;width:42px;height:42px;border:1px solid var(--soft);border-radius:10px;background:var(--surface);font-size:20px;color:var(--text)}.public-mobile-menu{display:none}.marketing-hero--complete{padding:72px 0 64px}.marketing-hero--complete .marketing-hero__grid{align-items:center}.hero-live-workflow{border:1px solid var(--soft);border-radius:16px;background:var(--surface);overflow:hidden}.hero-workflow-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px;border-bottom:1px solid var(--soft)}.hero-workflow-head strong{font:800 18px/1.2 var(--fontH);color:var(--ink)}.hero-workflow-head span{font-size:12px;color:var(--muted)}.hero-live-workflow>a{display:grid;grid-template-columns:38px 1fr;gap:12px;align-items:start;padding:15px 18px;border-bottom:1px solid var(--soft);color:var(--text)}.hero-live-workflow>a:last-child{border-bottom:0}.hero-live-workflow>a:hover{background:var(--blueLight)}.hero-live-workflow>a>b{display:grid;place-items:center;width:34px;height:34px;border-radius:8px;background:var(--blueLight);color:var(--blue);font-size:12px}.hero-live-workflow>a strong{display:block;font-family:var(--fontH)}.hero-live-workflow>a small{display:block;color:var(--muted);margin-top:3px;font-size:13px}.marketing-section{padding:72px 0}.marketing-section--subtle{background:var(--subtleAlt);border-top:1px solid var(--soft);border-bottom:1px solid var(--soft)}.section-copy{max-width:700px;margin-bottom:32px}.section-copy h2{font-size:32px;margin-bottom:10px}.section-copy p{font-size:17px;line-height:1.65;margin:0}.problem-solution-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.problem-column,.solution-column{border:1px solid var(--soft);border-radius:12px;padding:24px;background:var(--surface)}.problem-column h3,.solution-column h3{font-size:18px}.problem-column ul,.solution-column ul,.public-check-list{margin:16px 0 0;padding:0;list-style:none;display:grid;gap:12px}.problem-column li,.solution-column li,.public-check-list li{position:relative;padding-left:24px;color:var(--text2);line-height:1.55}.problem-column li:before,.solution-column li:before,.public-check-list li:before{content:'✓';position:absolute;left:0;top:0;color:var(--blue);font-weight:800}.feature-bento{display:grid;grid-template-columns:1.15fr .85fr .85fr;gap:12px}.feature-bento>a{min-height:190px;padding:22px;border:1px solid var(--soft);border-radius:12px;background:var(--surface);color:var(--text);display:flex;flex-direction:column;justify-content:flex-end}.feature-bento>a:hover{border-color:var(--blueBorder);background:var(--blueLight)}.feature-bento>a>span{margin-bottom:auto;width:38px;height:38px;display:grid;place-items:center;color:var(--blue)}.feature-bento svg{width:26px;height:26px}.feature-bento h3{font-size:18px;margin:14px 0 6px}.feature-bento p{margin:0;font-size:14px;line-height:1.55}.feature-bento__large{grid-row:span 2;min-height:392px!important}.feature-bento__wide{grid-column:span 2}.industry-layout{display:grid;grid-template-columns:.9fr 1.1fr;gap:48px;align-items:start}.industry-list{display:grid;border-top:1px solid var(--soft)}.industry-list a{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 0;border-bottom:1px solid var(--soft);color:var(--text)}.industry-list strong{font-family:var(--fontH)}.industry-list span{font-size:14px;color:var(--muted);text-align:right}.text-link{color:var(--blue);font-weight:700}.mobile-story{display:grid;grid-template-columns:1fr 420px;gap:56px;align-items:center}.mobile-story>div:first-child p{font-size:17px;line-height:1.65}.mobile-operation-card{border:1px solid var(--soft);border-radius:16px;background:var(--surface);padding:20px}.mobile-operation-card>strong{font:800 18px/1.2 var(--fontH)}.mobile-operation-card>div:nth-child(2){display:flex;justify-content:space-between;align-items:center;padding:20px 0;border-bottom:1px solid var(--soft)}.mobile-operation-card>div:nth-child(2) span{font-size:24px;font-weight:800;color:var(--ink)}.mobile-operation-card>div:nth-child(2) b{padding:10px 12px;border-radius:10px;background:var(--blue);color:#fff;font-size:13px}.mobile-state-row{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;padding:16px 0}.mobile-state-row span{padding:9px 6px;border:1px solid var(--soft);border-radius:8px;text-align:center;font-size:12px}.mobile-operation-card>small{color:var(--muted);line-height:1.4}.trust-grid{display:grid;grid-template-columns:repeat(2,1fr);border-top:1px solid var(--soft);border-left:1px solid var(--soft)}.trust-grid>div{padding:22px;border-right:1px solid var(--soft);border-bottom:1px solid var(--soft)}.trust-grid strong{display:block;font-family:var(--fontH);margin-bottom:5px}.trust-grid span{font-size:14px;color:var(--muted)}.marketing-cta{padding:64px 0;border-top:1px solid var(--soft);background:var(--surface)}.marketing-cta>.marketing-container{display:flex;align-items:center;justify-content:space-between;gap:32px}.marketing-cta h2{font-size:30px;margin-bottom:7px}.marketing-cta p{margin:0}.marketing-faq .faq-list{max-width:820px;border-top:1px solid var(--soft)}.faq-list details{border-bottom:1px solid var(--soft);padding:0}.faq-list summary{list-style:none;cursor:pointer;padding:18px 4px;font:700 16px/1.4 var(--fontH);color:var(--ink)}.faq-list summary::-webkit-details-marker{display:none}.faq-list summary:after{content:'+';float:right;color:var(--muted)}.faq-list details[open] summary:after{content:'−'}.faq-list details p{padding:0 4px 18px;margin:0;max-width:720px;line-height:1.6}.public-hero{max-width:820px;padding:64px 0 40px}.public-hero h1{font-size:42px;max-width:760px}.public-hero>p:not(.public-kicker){font-size:18px;line-height:1.65;max-width:700px}.public-kicker{font-size:13px;font-weight:700;color:var(--blue);margin-bottom:10px}.public-content-section{padding:36px 0;border-top:1px solid var(--soft);max-width:900px}.public-content-section--subtle{background:var(--subtleAlt);max-width:none;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);padding-left:max(16px,calc((100vw - 1180px)/2));padding-right:max(16px,calc((100vw - 1180px)/2))}.public-check-list{max-width:780px}.public-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-width:900px}.public-step{min-height:68px;border:1px solid var(--soft);border-radius:12px;padding:14px;display:grid;grid-template-columns:36px 1fr;gap:10px;align-items:center}.public-step b{color:var(--blue);font-size:12px}.public-bottom-cta{padding:40px 0 64px;border-top:1px solid var(--soft)}.public-index-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding-bottom:64px}.public-index-card{min-height:150px;padding:20px;border:1px solid var(--soft);border-radius:12px;color:var(--text);display:flex;flex-direction:column;justify-content:flex-end}.public-index-card:hover{border-color:var(--blueBorder);background:var(--blueLight)}.public-index-card strong{font:800 18px/1.3 var(--fontH)}.public-index-card span{margin-top:7px;color:var(--muted);line-height:1.5}.pricing-principles{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding-bottom:64px}.pricing-principles>div{border:1px solid var(--soft);border-radius:12px;padding:20px}.pricing-principles strong{display:block;font-family:var(--fontH);margin-bottom:5px}.pricing-principles span{font-size:14px;color:var(--muted)}.marketing-footer{border-top:1px solid var(--soft);background:var(--surface)}.marketing-footer-grid{padding:42px 0;display:grid;grid-template-columns:1.6fr repeat(3,1fr);gap:36px}.marketing-footer-grid>div{display:grid;align-content:start;gap:9px}.marketing-footer-grid strong{font-family:var(--fontH);font-size:14px}.marketing-footer-grid a{font-size:14px;color:var(--text2)}.marketing-footer-grid a:hover{color:var(--blue)}.footer-brand p{font-size:14px;max-width:260px;margin-top:8px}.footer-bottom{min-height:54px;border-top:1px solid var(--soft);display:flex;align-items:center;justify-content:space-between;font-size:13px;color:var(--muted)}
@media(max-width:900px){.feature-bento{grid-template-columns:1fr 1fr}.feature-bento__large{grid-row:auto;min-height:220px!important}.feature-bento__wide{grid-column:span 2}.industry-layout,.mobile-story{grid-template-columns:1fr;gap:28px}.mobile-operation-card{max-width:520px}.pricing-principles{grid-template-columns:1fr}.marketing-footer-grid{grid-template-columns:1.4fr 1fr 1fr}.marketing-footer-grid>div:last-child{grid-column:2/4}}
@media(max-width:767px){.admin-bar .marketing-header{top:46px}.marketing-header__inner{height:60px}.marketing-nav,.marketing-actions{display:none}.public-menu-button{display:grid;place-items:center;margin-left:auto}.public-mobile-menu{position:absolute;left:12px;right:12px;top:64px;background:var(--surface);border:1px solid var(--soft);border-radius:12px;padding:8px;box-shadow:0 8px 24px rgba(8,20,38,.08)}.public-mobile-menu:not([hidden]){display:grid}.public-mobile-menu>a{min-height:44px;padding:10px 12px;display:flex;align-items:center;border-radius:8px;color:var(--text);font-weight:600}.public-mobile-menu>a:hover{background:var(--blueLight)}.marketing-hero--complete{padding:46px 0 36px}.marketing-hero--complete .marketing-hero__grid{gap:26px}.hero-workflow-head{align-items:flex-start;flex-direction:column}.marketing-section{padding:52px 0}.section-copy h2{font-size:27px}.problem-solution-grid,.trust-grid{grid-template-columns:1fr}.feature-bento{grid-template-columns:1fr}.feature-bento__wide{grid-column:auto}.feature-bento>a,.feature-bento__large{min-height:180px!important}.industry-list a{align-items:flex-start;flex-direction:column;gap:4px}.industry-list span{text-align:left}.mobile-story{gap:22px}.mobile-state-row{grid-template-columns:1fr 1fr}.marketing-cta>.marketing-container{align-items:flex-start;flex-direction:column}.marketing-cta .hero-actions{width:100%}.marketing-cta .button{flex:1}.public-hero{padding:44px 0 30px}.public-hero h1{font-size:34px}.public-steps,.public-index-grid{grid-template-columns:1fr}.public-content-section--subtle{padding-left:16px;padding-right:16px}.marketing-footer-grid{grid-template-columns:1fr 1fr;gap:28px}.marketing-footer-grid>.footer-brand{grid-column:1/-1}.marketing-footer-grid>div:last-child{grid-column:auto}.footer-bottom{align-items:flex-start;flex-direction:column;justify-content:center;gap:4px;padding:12px 0}}
@media(max-width:420px){.marketing-footer-grid{grid-template-columns:1fr}.marketing-footer-grid>.footer-brand{grid-column:auto}.marketing-cta .hero-actions{display:grid;grid-template-columns:1fr}.public-hero h1{font-size:31px}}

.verify-shell{min-height:100dvh;width:min(760px,calc(100% - 32px));margin:0 auto;padding:28px 0 60px}.verify-shell>.brand{margin-bottom:42px}.verify-card{max-width:620px;margin:0 auto;padding:32px}.verify-mark{display:grid;place-items:center;width:48px;height:48px;border-radius:12px;margin-bottom:18px;font-size:22px;font-weight:800}.verify-mark--success{background:var(--successLight);color:var(--success)}.verify-mark--danger{background:var(--dangerLight);color:var(--danger)}.verify-mark--neutral{background:var(--blueLight);color:var(--blue)}.verify-state{display:inline-flex;padding:5px 9px;border-radius:999px;background:var(--successLight);color:var(--success);font-size:12px;font-weight:700;margin-bottom:8px}.verify-card h1{font-size:30px}.verify-org{font-weight:600}.verify-form{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:end;margin-top:20px}.verify-form label{display:grid;gap:6px;font-size:13px;font-weight:600}.verify-details{display:grid;margin:24px 0 0}.verify-details>div{display:grid;grid-template-columns:150px 1fr;gap:14px;padding:12px 0;border-top:1px solid var(--soft)}.verify-details dt{color:var(--muted);font-size:13px}.verify-details dd{margin:0;font-weight:600}@media(max-width:600px){.verify-shell{width:min(100% - 24px,760px);padding-top:16px}.verify-shell>.brand{margin-bottom:28px}.verify-card{padding:22px 18px}.verify-form{grid-template-columns:1fr}.verify-details>div{grid-template-columns:1fr;gap:3px}}

.attendance-bulk-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 12px;padding:10px 12px;border:1px solid var(--soft);border-radius:12px;background:var(--subtleAlt)}.attendance-bulk-toolbar>span{font-weight:700;margin-right:4px}.attendance-bulk-toolbar small{margin-left:auto;color:var(--muted)}.attendance-note{display:grid;grid-template-columns:auto 1fr;gap:8px;align-items:center;margin-top:10px;font-size:12px;color:var(--muted)}.attendance-note input{height:38px;border:1px solid var(--border);border-radius:8px;padding:0 10px;font:inherit;color:var(--text);background:var(--surface)}.attendance-note input:focus,.attendance-student:focus{outline:2px solid var(--blue);outline-offset:2px}.attendance-student:focus{border-radius:12px}@media(max-width:767px){.attendance-bulk-toolbar{align-items:stretch}.attendance-bulk-toolbar>span,.attendance-bulk-toolbar small{width:100%;margin:0}.attendance-bulk-toolbar .button{flex:1}.attendance-note{grid-template-columns:1fr}.attendance-note input{height:44px}}

.preference-form{display:grid;max-width:680px}.preference-row{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--soft)}.preference-row:first-child{border-top:0}.preference-row input{width:20px;height:20px;accent-color:var(--blue)}.preference-form>.button{justify-self:start;margin-top:14px}.billing-state{display:grid;justify-items:start;gap:12px;max-width:700px}.billing-state h3{font-size:18px;margin:4px 0 0}.billing-state p{line-height:1.6}.settings-redirect{display:grid;justify-items:start;gap:10px}.settings-redirect h2,.settings-redirect p{margin-bottom:0}.settings-redirect .button{margin-top:6px}@media(max-width:600px){.preference-form>.button{width:100%;justify-self:stretch}}
.notification-settings-shell{width:min(820px,100%);display:grid;gap:18px}.notification-settings-head{display:grid;gap:4px;padding:2px 2px 0}.notification-settings-head h2{margin:0;font:800 22px/1.16 var(--fontH);color:var(--ink)}.notification-settings-head p{margin:0;color:var(--muted);font-size:14px;line-height:1.55}.notification-settings-form{display:grid;gap:14px}.notification-settings-group{overflow:hidden;border:1px solid var(--soft);border-radius:20px;background:var(--surface)}.notification-settings-group__head{padding:18px 20px 14px;border-bottom:1px solid var(--soft)}.notification-settings-group__head h3{margin:0 0 4px;font:750 16px/1.25 var(--fontH);color:var(--ink)}.notification-settings-group__head p{margin:0;color:var(--muted);font-size:13px;line-height:1.45}.notification-settings-list{display:grid}.notification-setting-row{min-height:70px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:12px 20px;border-top:1px solid var(--soft);cursor:pointer}.notification-setting-row:first-child{border-top:0}.notification-setting-row:hover{background:var(--subtleAlt)}.notification-setting-row__copy{display:grid;gap:3px;min-width:0}.notification-setting-row__copy strong{font:700 14px/1.3 var(--fontH);color:var(--text)}.notification-setting-row__copy small{max-width:560px;color:var(--muted);font-size:12.5px;line-height:1.45}.notification-switch{position:relative;flex:0 0 46px;width:46px;height:28px}.notification-switch input{position:absolute;inset:0;width:46px;height:28px;margin:0;opacity:0;cursor:pointer}.notification-switch>span{position:absolute;inset:0;border:1px solid var(--border);border-radius:999px;background:var(--subtle);transition:background-color .14s ease,border-color .14s ease}.notification-switch>span:after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:var(--surface);box-shadow:0 1px 3px rgba(8,20,38,.18);transition:transform .14s ease}.notification-switch input:checked+span{border-color:var(--blue);background:var(--blue)}.notification-switch input:checked+span:after{transform:translateX(18px)}.notification-switch input:focus-visible+span{outline:3px solid var(--blueBorder);outline-offset:2px}.notification-settings-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding-top:2px}.notification-settings-actions .form-message{flex:1;margin:0}.notification-settings-actions .button{min-width:128px}.notification-settings-actions .button:active{transform:scale(.98)}@media(max-width:767px){.notification-settings-shell{gap:14px}.notification-settings-head h2{font-size:20px}.notification-settings-group{border-radius:18px}.notification-settings-group__head{padding:16px 16px 12px}.notification-setting-row{min-height:72px;gap:16px;padding:12px 16px}.notification-setting-row__copy small{max-width:none}.notification-settings-actions{position:sticky;bottom:calc(76px + env(safe-area-inset-bottom));z-index:8;padding:8px;border:1px solid var(--soft);border-radius:18px;background:var(--surface)}.notification-settings-actions .form-message{display:none}.notification-settings-actions .button{width:100%;min-height:48px}}@media(prefers-reduced-motion:reduce){.notification-switch>span,.notification-switch>span:after{transition:none!important}}

.rubric-builder-panel{margin-bottom:16px}.rubric-builder{display:grid;gap:12px}.rubric-builder>[data-rubric-rows]{display:grid;gap:8px}.rubric-row{display:grid;grid-template-columns:minmax(180px,1fr) 130px 40px;gap:8px;align-items:center}.gradebook-table th small{display:block;color:var(--muted);font-weight:500;margin-top:2px}@media(max-width:600px){.rubric-row{grid-template-columns:1fr 100px 40px}}
.operations-status{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:16px 0}.operations-status>div{padding:12px;border:1px solid var(--soft);border-radius:10px}.operations-status span{display:block;color:var(--muted);font-size:12px}.operations-status strong{display:block;margin-top:4px}.text-success{color:var(--success)}.text-warning{color:var(--warning)}@media(max-width:800px){.operations-status{grid-template-columns:1fr 1fr}}

.report-builder{margin-bottom:16px}.report-builder>summary{cursor:pointer;font-weight:700;color:var(--ink);list-style:none}.report-builder>summary::-webkit-details-marker{display:none}.report-builder>summary:after{content:'+';float:right;color:var(--muted)}.report-builder[open]>summary:after{content:'−'}.report-builder-form{display:flex;align-items:end;gap:10px;flex-wrap:wrap;padding-top:16px}.report-builder-form label{display:grid;gap:5px;font-size:13px;font-weight:600}@media(max-width:600px){.report-builder-form{display:grid}.report-builder-form .button{width:100%}}

.dashboard-secondary-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px}.activity-list{display:grid}.activity-row{display:grid;grid-template-columns:12px 1fr;gap:10px;padding:10px 0;border-top:1px solid var(--soft)}.activity-row:first-child{border-top:0}.activity-dot{width:8px;height:8px;border-radius:999px;background:var(--blue);margin-top:6px}.activity-row small{display:block;color:var(--muted);margin-top:2px}@media(max-width:1000px){.dashboard-secondary-grid{grid-template-columns:1fr}}

/* Auth V3 */
.hiba-one-auth-v3 .auth-shell{min-height:100svh;display:grid;place-items:center;padding:32px 16px;background:var(--bg)}
.hiba-one-auth-v3 .auth-panel--v3{width:min(100%,460px)}
.hiba-one-auth-v3 .auth-brand--center{display:flex;align-items:center;justify-content:center;width:100%;margin:0 auto 24px}
.hiba-one-auth-v3 .auth-brand--center .hiba-one-brand-logo{width:150px;max-width:42vw;max-height:none}
.hiba-one-auth-v3 .auth-card--v3{width:100%;padding:32px;border:1px solid var(--soft);border-radius:16px;background:var(--surface)}
.hiba-one-auth-v3 .auth-heading--center{text-align:center;margin-bottom:28px}
.hiba-one-auth-v3 .auth-heading--center h1{margin:0 0 8px;font:800 28px/1.12 var(--fontH);color:var(--ink)}
.hiba-one-auth-v3 .auth-heading--center p{margin:0;color:var(--text2)}
.hiba-one-auth-v3 .auth-form{display:grid;gap:14px}
.hiba-one-auth-v3 .auth-form label{display:grid;gap:7px;font-weight:600;color:var(--text)}
.hiba-one-auth-v3 .auth-form input:not([type=checkbox]){width:100%;min-height:46px;padding:10px 13px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text);font:400 16px/1.4 var(--fontB)}
.hiba-one-auth-v3 .auth-form input:focus{outline:3px solid var(--blueLight);border-color:var(--blue)}
.hiba-one-auth-v3 .auth-row--between{display:flex;align-items:center;justify-content:space-between;gap:12px}
.hiba-one-auth-v3 .auth-check{display:flex!important;align-items:center;gap:8px!important;font-weight:400!important;color:var(--text2)!important}
.hiba-one-auth-v3 .auth-check input{width:16px;height:16px}
.hiba-one-auth-v3 .auth-switch{text-align:center;margin:22px 0 0;padding-top:20px;border-top:1px solid var(--soft);color:var(--text2)}
.hiba-one-auth-v3 .auth-switch a{color:var(--blue);font-weight:600;text-decoration:none}
.hiba-one-auth-v3 .auth-google-slot{display:flex;justify-content:center;min-height:44px}
.hiba-one-auth-v3 .google-button-host{display:flex;justify-content:center;width:100%}
.hiba-one-auth-v3 .auth-provider-note{text-align:center;color:var(--muted);font-size:14px;padding:10px}
.hiba-one-auth-v3 .field-optional{font-weight:400;color:var(--muted)}
.hiba-one-auth-v3 .auth-global-message{margin:0 0 18px}
@media(max-width:520px){.hiba-one-auth-v3 .auth-shell{padding:20px 12px}.hiba-one-auth-v3 .auth-card--v3{padding:24px 20px}.hiba-one-auth-v3 .auth-heading--center h1{font-size:25px}.hiba-one-auth-v3 .auth-brand--center .hiba-one-brand-logo{width:138px}}

/* Guided onboarding inspired by proven retail SaaS setup flows, adapted to HIBA One */
.hiba-one-onboarding-v2{background:#f5f7fa}.hiba-one-onboarding-v2 .onboarding-shell--guided{min-height:100svh;padding:32px 18px 40px;display:grid;place-items:center;background:var(--bg)}
.hiba-one-onboarding-v2 .onboarding-card--guided{width:min(620px,100%);margin:0;border:1px solid var(--soft);border-radius:28px;background:var(--surface);box-shadow:0 18px 60px rgba(8,20,38,.09);overflow:hidden}
.hiba-one-onboarding-v2 .onboarding-step{padding:38px 40px 34px}.hiba-one-onboarding-v2 .onboarding-welcome{min-height:560px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.hiba-one-onboarding-v2 .onboarding-brand{display:flex;justify-content:center;margin-bottom:34px}.hiba-one-onboarding-v2 .onboarding-brand .hiba-one-brand-logo{width:160px;max-width:48vw}
.hiba-one-onboarding-v2 .onboarding-welcome-mark{width:82px;height:82px;border-radius:24px;background:var(--blueLight);display:grid;place-items:center;grid-template-columns:repeat(3,10px);gap:5px;margin-bottom:30px}.hiba-one-onboarding-v2 .onboarding-welcome-mark span{width:10px;height:34px;border-radius:99px;background:var(--blue)}.hiba-one-onboarding-v2 .onboarding-welcome-mark span:nth-child(2){height:52px}.hiba-one-onboarding-v2 .onboarding-welcome-mark span:nth-child(3){height:24px}
.hiba-one-onboarding-v2 .onboarding-copy--center{text-align:center;margin:0 auto 28px;max-width:500px}.hiba-one-onboarding-v2 .onboarding-copy--center h1{margin:0 0 10px;font:800 30px/1.16 var(--fontH);color:var(--ink)}.hiba-one-onboarding-v2 .onboarding-copy--center p{margin:0;color:var(--text2);line-height:1.6}.hiba-one-onboarding-v2 .onboarding-privacy-note{display:block;margin-top:14px;color:var(--muted)}
.hiba-one-onboarding-v2 .onboarding-progress-dots{display:flex;justify-content:center;gap:9px;margin:0 0 26px}.hiba-one-onboarding-v2 .onboarding-progress-dots i{display:block;width:42px;height:5px;border-radius:99px;background:#e4e7ec}.hiba-one-onboarding-v2 .onboarding-progress-dots i.is-active{background:var(--blue)}
.hiba-one-onboarding-v2 .onboarding-step-label{display:block;margin-bottom:8px;color:var(--blue);font-size:12px;font-weight:800;letter-spacing:.04em}.hiba-one-onboarding-v2 .onboarding-choice-list{display:grid;gap:12px}.hiba-one-onboarding-v2 .onboarding-choice{display:block;cursor:pointer}.hiba-one-onboarding-v2 .onboarding-choice input{position:absolute;opacity:0;pointer-events:none}.hiba-one-onboarding-v2 .onboarding-choice>span{min-height:68px;padding:14px 18px;border:1px solid var(--border);border-radius:16px;background:var(--surface);display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:4px;transition:border-color .15s,background .15s,box-shadow .15s}.hiba-one-onboarding-v2 .onboarding-choice--single>span{align-items:center;text-align:center}.hiba-one-onboarding-v2 .onboarding-choice strong{font-size:16px;color:var(--text)}.hiba-one-onboarding-v2 .onboarding-choice small{color:var(--muted);line-height:1.45}.hiba-one-onboarding-v2 .onboarding-choice:hover>span{border-color:var(--blueBorder);background:var(--subtle)}.hiba-one-onboarding-v2 .onboarding-choice input:checked+span,.hiba-one-onboarding-v2 .onboarding-choice.is-selected>span{border-color:var(--blue);background:var(--blueLight);box-shadow:0 0 0 1px var(--blue)}
.hiba-one-onboarding-v2 .onboarding-region-grid{grid-template-columns:1fr;gap:14px}.hiba-one-onboarding-v2 .onboarding-actions{margin-top:28px}.hiba-one-onboarding-v2 .onboarding-actions--split{display:grid;grid-template-columns:1fr 1fr;gap:12px}.hiba-one-onboarding-v2 .onboarding-actions .button{min-height:52px}.hiba-one-onboarding-v2 .form-message{margin-top:14px}.hiba-one-onboarding-v2 .onboarding-footnote{max-width:620px;margin:16px auto 0;text-align:center;color:var(--muted);font-size:13px;line-height:1.5}.hiba-one-onboarding-v2 .onboarding-success{min-height:500px;display:grid;place-items:center;text-align:center;padding:56px}.hiba-one-onboarding-v2 .onboarding-success__mark{width:64px;height:64px;border-radius:20px;display:grid;place-items:center;background:var(--blueLight);color:var(--blue);font-size:30px;font-weight:800;margin:auto auto 18px}
@media(max-width:640px){.hiba-one-onboarding-v2 .onboarding-shell--guided{padding:14px 10px 24px;place-items:start center}.hiba-one-onboarding-v2 .onboarding-card--guided{border-radius:22px}.hiba-one-onboarding-v2 .onboarding-step{padding:26px 18px 22px}.hiba-one-onboarding-v2 .onboarding-welcome{min-height:calc(100svh - 70px)}.hiba-one-onboarding-v2 .onboarding-copy--center h1{font-size:25px}.hiba-one-onboarding-v2 .onboarding-progress-dots i{width:30px}.hiba-one-onboarding-v2 .onboarding-choice>span{min-height:62px;padding:12px 14px}.hiba-one-onboarding-v2 .onboarding-actions--split{position:sticky;bottom:0;background:var(--surface);padding-top:12px}.hiba-one-onboarding-v2 .onboarding-footnote{padding:0 8px}}

/* HIBA One responsive hardening + compact mobile navigation — v0.20 */
.app-shell,.app-main,.app-content,.panel,.form-grid,.dashboard-grid,.dashboard-secondary-grid,.class-profile-grid,.student-profile-grid{min-width:0}
.app-content input,.app-content select,.app-content textarea{max-width:100%;min-width:0}
.mobile-more-sheet{position:fixed;left:50%;bottom:78px;transform:translateX(-50%);width:min(520px,calc(100vw - 24px));background:var(--surface);border:1px solid var(--soft);border-radius:16px;box-shadow:0 8px 24px rgba(8,20,38,.08);z-index:46;padding:12px}
.mobile-more-sheet[hidden]{display:none}
.mobile-more-sheet__header{display:flex;align-items:center;justify-content:space-between;padding:4px 4px 10px}
.mobile-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.mobile-more-item{min-height:54px;border:1px solid var(--soft);border-radius:10px;padding:10px 12px;display:flex;align-items:center;gap:10px;color:var(--text);background:var(--surface)}
.mobile-more-item:hover,.mobile-more-item.is-active{background:var(--blueLight);border-color:var(--blueBorder);color:var(--blue)}
.mobile-more-item span{width:20px;display:grid;place-items:center}
.mobile-bottom-nav button.is-active{color:var(--blue)}
@media(min-width:768px){
 body.sidebar-collapsed.hiba-one-app-page{padding-bottom:68px}
 body.sidebar-collapsed .mobile-bottom-nav{position:fixed;left:72px;right:0;bottom:0;height:68px;background:var(--surface);border-top:1px solid var(--soft);display:grid;grid-template-columns:repeat(5,1fr);z-index:32}
 body.sidebar-collapsed .mobile-bottom-nav a,body.sidebar-collapsed .mobile-bottom-nav button{border:0;background:transparent;color:var(--muted);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}
 body.sidebar-collapsed .mobile-bottom-nav a.is-active,body.sidebar-collapsed .mobile-bottom-nav button.is-active{color:var(--blue)}
 body.sidebar-collapsed .mobile-bottom-nav small{font-size:10px;font-weight:600}
}
@media(max-width:767px){
 .app-content{width:100%;max-width:100%}
 .form-grid{grid-template-columns:minmax(0,1fr)}
 .form-grid .field--span-2{grid-column:auto}
 .schedule-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 .schedule-row>*{min-width:0}
 .schedule-row .schedule-remove{justify-self:end}
 .table-wrap,.data-table-wrap,.student-table-wrap,.finance-table-wrap{max-width:100%;overflow-x:auto}
 .page-actions{width:100%}
 .page-actions .button{min-width:0}
 .mobile-more-sheet{bottom:76px}
}
@media(max-width:389px){
 .mobile-more-grid{grid-template-columns:1fr 1fr}
 .app-content{padding-left:12px;padding-right:12px}
}

/* Auth benchmark — KiotViet workflow density translated to HIBA One Spatial Luxury */
.hiba-one-auth-v3{background:#eef2f7}
.hiba-one-auth-v3 .auth-shell--benchmark{min-height:100svh;display:grid;grid-template-rows:1fr auto;place-items:stretch;padding:0;background:#eef2f7}
.hiba-one-auth-v3 .auth-stage{min-height:calc(100svh - 54px);display:grid;grid-template-columns:minmax(0,1.08fr) minmax(460px,.92fr);background:#fff}
.hiba-one-auth-v3 .auth-context{position:relative;overflow:hidden;display:flex;align-items:flex-end;padding:clamp(44px,6vw,92px);background:#0b1f3a;color:#fff}
.hiba-one-auth-v3 .auth-context:before,.hiba-one-auth-v3 .auth-context:after{content:"";position:absolute;border:1px solid rgba(255,255,255,.12);border-radius:36px;transform:rotate(-8deg)}
.hiba-one-auth-v3 .auth-context:before{width:58%;height:42%;right:-10%;top:10%}
.hiba-one-auth-v3 .auth-context:after{width:42%;height:30%;right:14%;top:28%;border-color:rgba(255,255,255,.08)}
.hiba-one-auth-v3 .auth-context__content{position:relative;z-index:2;max-width:660px}
.hiba-one-auth-v3 .auth-context__eyebrow{display:inline-flex;align-items:center;min-height:34px;padding:0 12px;border:1px solid rgba(255,255,255,.18);border-radius:999px;font-size:13px;font-weight:700;letter-spacing:.03em;color:#dce8f7}
.hiba-one-auth-v3 .auth-context h2{margin:22px 0 18px;font:800 clamp(42px,5.4vw,78px)/.98 var(--fontH);letter-spacing:-.045em;color:#fff;max-width:680px}
.hiba-one-auth-v3 .auth-context p{margin:0;max-width:560px;color:#c8d5e5;font-size:clamp(16px,1.4vw,19px);line-height:1.65}
.hiba-one-auth-v3 .auth-context__chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:28px}
.hiba-one-auth-v3 .auth-context__chips span{display:inline-flex;align-items:center;min-height:34px;padding:0 11px;border-radius:10px;background:#132c4f;border:1px solid rgba(255,255,255,.1);color:#e8eef7;font-size:13px;font-weight:650}
.hiba-one-auth-v3 .auth-context__signal{position:absolute;top:9%;left:8%;display:flex;align-items:center;gap:8px;opacity:.95}
.hiba-one-auth-v3 .auth-context__signal span{display:block;border-radius:999px;background:#fff}
.hiba-one-auth-v3 .auth-context__signal span:nth-child(1){width:14px;height:42px;transform:rotate(34deg)}
.hiba-one-auth-v3 .auth-context__signal span:nth-child(2){width:14px;height:30px;transform:rotate(-34deg);background:#3bd46f}
.hiba-one-auth-v3 .auth-context__signal span:nth-child(3){width:8px;height:8px;background:#70a7ff}
.hiba-one-auth-v3 .auth-panel--v3{width:100%;display:grid;place-items:center;padding:clamp(28px,4vw,68px);background:#f7f9fc}
.hiba-one-auth-v3 .auth-card--v3{width:min(100%,560px);padding:clamp(30px,3.4vw,48px);border:1px solid #e4e9f1;border-radius:24px;background:#fff;box-shadow:0 24px 70px rgba(8,20,38,.12)}
.hiba-one-auth-v3 .auth-brand--center{margin:0 auto 18px}
.hiba-one-auth-v3 .auth-brand--center .hiba-one-brand-logo{width:176px;max-width:44vw}
.hiba-one-auth-v3 .auth-product-chip{width:max-content;max-width:100%;margin:0 auto 26px;padding:7px 12px;border-radius:10px;background:#edf4ff;color:#155eef;font-size:13px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hiba-one-auth-v3 .auth-heading--center{margin-bottom:26px}
.hiba-one-auth-v3 .auth-heading--center h1{font-size:30px;letter-spacing:-.025em}
.hiba-one-auth-v3 .auth-heading--center p{font-size:15px}
.hiba-one-auth-v3 .auth-form{gap:16px}
.hiba-one-auth-v3 .auth-form label{gap:8px;font-size:14px;color:#475467}
.hiba-one-auth-v3 .auth-form input:not([type=checkbox]){min-height:52px;border-radius:12px;border-color:#d0d5dd;padding:12px 14px;background:#fff}
.hiba-one-auth-v3 .auth-form input:not([type=checkbox])::placeholder{color:#98a2b3}
.hiba-one-auth-v3 .auth-form input:focus{outline:0;border-color:#155eef;box-shadow:0 0 0 4px rgba(21,94,239,.10)}
.hiba-one-auth-v3 .auth-row--between{margin-top:-2px}
.hiba-one-auth-v3 .auth-check{min-height:36px}
.hiba-one-auth-v3 .auth-check input{width:18px;height:18px;accent-color:#155eef}
.hiba-one-auth-v3 .auth-text-button{color:#667085;font-weight:600}
.hiba-one-auth-v3 .auth-text-button:hover{color:#155eef}
.hiba-one-auth-v3 .auth-primary-action{min-height:54px;border-radius:14px;font-size:16px;font-weight:750;margin-top:2px;box-shadow:none}
.hiba-one-auth-v3 .auth-separator{margin:24px 0 18px}
.hiba-one-auth-v3 .auth-provider-grid{display:grid;gap:10px}
.hiba-one-auth-v3 .auth-provider-grid .button{min-height:50px;border-radius:12px}
.hiba-one-auth-v3 .auth-google-slot{min-height:50px}
.hiba-one-auth-v3 .auth-switch{margin-top:24px;padding-top:22px}
.hiba-one-auth-v3 .auth-routing-note{margin:16px 0 0;padding:11px 12px;border-radius:10px;background:#f8fafc;color:#667085;text-align:center;font-size:12px;line-height:1.45}
.hiba-one-auth-v3 .auth-terms{margin:12px 0 0;text-align:center;font-size:11px;line-height:1.5;color:#98a2b3}
.hiba-one-auth-v3 .auth-footer{min-height:54px;padding:0 24px;display:flex;align-items:center;justify-content:center;gap:24px;border-top:1px solid #e4e9f1;background:#fff;color:#667085;font-size:12px}
.hiba-one-auth-v3 .auth-footer a{color:#475467;font-weight:600;text-decoration:none}
@media(min-width:1025px){
 .hiba-one-auth-v3 .auth-stage{min-height:calc(100svh - 48px);grid-template-columns:minmax(520px,620px) minmax(640px,1fr)}
 .hiba-one-auth-v3 .auth-context{align-items:center;padding:clamp(36px,4vw,64px)}
 .hiba-one-auth-v3 .auth-context__content{max-width:720px;transform:translateY(-18px)}
 .hiba-one-auth-v3 .auth-context h2{max-width:none;font-size:clamp(42px,3.2vw,46px);line-height:1.06;letter-spacing:0;white-space:nowrap}
 .hiba-one-auth-v3 .auth-context p{max-width:540px;line-height:1.55}
 .hiba-one-auth-v3 .auth-context__chips{margin-top:24px}
 .hiba-one-auth-v3 .auth-panel--v3{width:100%;min-width:0;padding:30px}
 .hiba-one-auth-v3 .auth-brand--center{margin-bottom:14px}
 .hiba-one-auth-v3 .auth-brand--center .hiba-one-brand-logo{width:128px;max-width:30vw}
 .hiba-one-auth-v3 .auth-product-chip{display:none}
 .hiba-one-auth-v3 .auth-card--v3{padding:28px 30px;border-radius:16px}
 .hiba-one-auth-v3 .auth-heading--center{margin-bottom:16px}
 .hiba-one-auth-v3 .auth-heading--center h1{font-size:26px;line-height:1.1;margin-bottom:6px}
 .hiba-one-auth-v3 .auth-heading--center p{font-size:14px;line-height:1.4}
 .hiba-one-auth-v3 .auth-form{gap:10px}
 .hiba-one-auth-v3 .auth-register-form{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:14px;row-gap:10px;align-items:start}
 .hiba-one-auth-v3 .auth-register-form label:nth-of-type(4){grid-column:2;grid-row:2}
 .hiba-one-auth-v3 .auth-register-form .auth-helper,.hiba-one-auth-v3 .auth-register-form label:nth-of-type(5),.hiba-one-auth-v3 .auth-register-form .auth-primary-action{grid-column:1/-1}
 .hiba-one-auth-v3 .auth-register-form .auth-helper{grid-row:3;margin-top:-6px}
 .hiba-one-auth-v3 .auth-register-form label:nth-of-type(5){display:block!important}
 .hiba-one-auth-v3 .auth-register-form label:nth-of-type(5) input{display:block;margin-top:5px}
 .hiba-one-auth-v3 .auth-register-form .field-optional{display:inline!important;margin-left:4px}
 .hiba-one-auth-v3 .auth-form label{gap:5px;font-size:14px}
 /* auth-desktop-layout: compact two-column registration */
 .hiba-one-auth-v3 .auth-form input:not([type=checkbox]){min-height:44px;padding:9px 12px;border-radius:10px}
 .hiba-one-auth-v3 .auth-row--between{min-height:36px}
 .hiba-one-auth-v3 .auth-primary-action{min-height:48px;border-radius:12px}
 .hiba-one-auth-v3 .auth-google-slot:empty,.hiba-one-auth-v3 .auth-separator:has(+ .auth-google-slot:empty){display:none}
 .hiba-one-auth-v3 .auth-separator{margin:14px 0 12px}
 .hiba-one-auth-v3 .auth-provider-grid{gap:8px}
 .hiba-one-auth-v3 .auth-provider-grid .button,.hiba-one-auth-v3 .auth-google-slot{min-height:44px}
 .hiba-one-auth-v3 .auth-switch{margin-top:16px;padding-top:16px}
 .hiba-one-auth-v3 .auth-routing-note{display:none}
 .hiba-one-auth-v3 .auth-terms{margin-top:12px;line-height:1.35}
 .hiba-one-auth-v3 .auth-footer{min-height:48px}
}
@media(min-width:1025px) and (max-height:920px){
 .hiba-one-auth-v3 .auth-context__content{max-width:620px}
 .hiba-one-auth-v3 .auth-context h2{font-size:clamp(42px,3.2vw,46px);line-height:1.06}
 .hiba-one-auth-v3 .auth-context p{font-size:16px;line-height:1.5}
 .hiba-one-auth-v3 .auth-context__chips{gap:8px}
 .hiba-one-auth-v3 .auth-context__chips span{min-height:34px;padding:0 11px;font-size:12px}
}
@media(min-width:1025px) and (max-height:820px){
 .hiba-one-auth-v3 .auth-shell--benchmark{grid-template-rows:1fr}
 .hiba-one-auth-v3 .auth-stage{min-height:100svh}
 .hiba-one-auth-v3 .auth-panel--v3{padding:18px 26px}
 .hiba-one-auth-v3 .auth-card--v3{padding:20px 28px}
 .hiba-one-auth-v3 .auth-brand--center{margin-bottom:8px}
 .hiba-one-auth-v3 .auth-brand--center .hiba-one-brand-logo{width:112px}
 .hiba-one-auth-v3 .auth-heading--center{margin-bottom:12px}
 .hiba-one-auth-v3 .auth-heading--center h1{font-size:28px;margin-bottom:4px}
 .hiba-one-auth-v3 .auth-heading--center p{font-size:13px}
 .hiba-one-auth-v3 .auth-form{gap:8px}
 .hiba-one-auth-v3 .auth-register-form{row-gap:8px}
 .hiba-one-auth-v3 .auth-form label{gap:4px}
 .hiba-one-auth-v3 .auth-form input:not([type=checkbox]){min-height:44px;padding:8px 12px}
 .hiba-one-auth-v3 .auth-primary-action{min-height:44px}
 .hiba-one-auth-v3 .auth-separator{margin:8px 0}
 .hiba-one-auth-v3 .auth-google-slot{min-height:40px;max-height:44px;overflow:hidden}
 .hiba-one-auth-v3 .auth-switch{margin-top:10px;padding-top:10px}
 .hiba-one-auth-v3 .auth-terms{display:none}
 .hiba-one-auth-v3 .auth-footer{display:none}
 .hiba-one-auth-v3 .auth-context__content{transform:translateY(-6px)}
 .hiba-one-auth-v3 .auth-context h2{font-size:clamp(38px,3vw,42px);line-height:1.08}
 .hiba-one-auth-v3 .auth-context p{font-size:15px;line-height:1.45}
 .hiba-one-auth-v3 .auth-context__chips{margin-top:18px}
}
@media(max-width:1024px){
 .hiba-one-auth-v3 .auth-stage{grid-template-columns:minmax(320px,.78fr) minmax(440px,1.22fr)}
 .hiba-one-auth-v3 .auth-context{padding:44px 34px}
 .hiba-one-auth-v3 .auth-context h2{font-size:48px}
 .hiba-one-auth-v3 .auth-context__chips span:nth-child(n+3){display:none}
 .hiba-one-auth-v3 .auth-panel--v3{padding:30px}
}
@media(max-width:767px){
 .hiba-one-auth-v3 .auth-shell--benchmark{display:block;min-height:100svh;background:#f7f9fc}
 .hiba-one-auth-v3 .auth-stage{min-height:100svh;display:block;background:#f7f9fc}
 .hiba-one-auth-v3 .auth-context{display:none}
 .hiba-one-auth-v3 .auth-panel--v3{min-height:100svh;padding:24px 16px;place-items:start center}
 .hiba-one-auth-v3 .auth-card--v3{margin:4vh auto 0;padding:28px 20px;border-radius:20px;box-shadow:0 14px 44px rgba(8,20,38,.09)}
 .hiba-one-auth-v3 .auth-brand--center .hiba-one-brand-logo{width:154px}
 .hiba-one-auth-v3 .auth-product-chip{margin-bottom:22px}
 .hiba-one-auth-v3 .auth-heading--center h1{font-size:27px}
 .hiba-one-auth-v3 .auth-form input:not([type=checkbox]){min-height:52px;font-size:16px}
 .hiba-one-auth-v3 .auth-row--between{align-items:center}
 .hiba-one-auth-v3 .auth-footer{display:none}
}
@media(max-width:389px){
 .hiba-one-auth-v3 .auth-panel--v3{padding:16px 12px}
 .hiba-one-auth-v3 .auth-card--v3{padding:24px 16px;border-radius:18px}
 .hiba-one-auth-v3 .auth-row--between{gap:8px}
 .hiba-one-auth-v3 .auth-check span,.hiba-one-auth-v3 .auth-text-button{font-size:13px}
}

/* Auth password visibility */
.hiba-one-auth-page .auth-password-wrap{position:relative;display:block;width:100%}
.hiba-one-auth-page .auth-password-wrap>input{width:100%;padding-right:48px}
.hiba-one-auth-page .auth-password-toggle{position:absolute;right:7px;top:50%;transform:translateY(-50%);width:38px;height:38px;border:0;border-radius:10px;background:transparent;color:var(--muted);display:grid;place-items:center;cursor:pointer;touch-action:manipulation}
.hiba-one-auth-page .auth-password-toggle:hover{background:var(--subtle);color:var(--text)}
.hiba-one-auth-page .auth-password-toggle:active{transform:translateY(-50%) scale(.94)}
.hiba-one-auth-page .auth-password-toggle:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.hiba-one-auth-page .auth-password-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.hiba-one-auth-page .auth-password-wrap.is-visible .auth-password-toggle{color:var(--blue);background:var(--blueLight)}

/* Password visibility inside authenticated app */
.hiba-one-app-page .auth-password-wrap{position:relative;display:block;width:100%}
.hiba-one-app-page .auth-password-wrap>input{width:100%;padding-right:48px}
.hiba-one-app-page .auth-password-toggle{position:absolute;right:7px;top:50%;transform:translateY(-50%);width:38px;height:38px;border:0;border-radius:10px;background:transparent;color:var(--muted);display:grid;place-items:center;cursor:pointer;touch-action:manipulation}
.hiba-one-app-page .auth-password-toggle:hover{background:var(--subtle);color:var(--text)}
.hiba-one-app-page .auth-password-toggle:active{transform:translateY(-50%) scale(.94)}
.hiba-one-app-page .auth-password-toggle:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.hiba-one-app-page .auth-password-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.hiba-one-app-page .auth-password-wrap.is-visible .auth-password-toggle{color:var(--blue);background:var(--blueLight)}

/* Onboarding: exactly two operating modes. */
.organization-type-option span{min-height:112px;padding:14px;display:grid;align-content:center;gap:5px}.organization-type-option span strong{font:750 15px/1.25 var(--fontH);color:var(--ink)}.organization-type-option span small{font-size:11px;font-style:normal;font-weight:700;color:var(--muted)}.organization-type-option span em{font-size:13px;line-height:1.4;font-style:normal;font-weight:500;color:var(--text2)}.organization-type-option input:checked+span strong{color:var(--blue)}
@media(max-width:767px){.organization-type-option span{min-height:96px}}

/* v0.38.0 — attendance mobile UX pass 2. */
@media(max-width:767px){
  body.hiba-one-app-page .attendance-list-heading{margin-bottom:10px}
  body.hiba-one-app-page .attendance-list-heading h1{font-size:28px;line-height:1.08;letter-spacing:-.02em}
  body.hiba-one-app-page .attendance-date-nav{top:calc(52px + env(safe-area-inset-top));gap:7px;margin:0 0 14px;padding:7px 0 9px;background:#F7F9FC}
  body.hiba-one-app-page .attendance-date-nav form{flex:1 1 auto;min-width:0}
  body.hiba-one-app-page .attendance-date-input{width:100%;min-width:0;min-height:44px;border-radius:13px;text-align:center}
  body.hiba-one-app-page .attendance-date-nav .icon-button{flex:0 0 44px;width:44px;height:44px;min-height:44px;border-radius:13px}
  body.hiba-one-app-page .attendance-today-button{min-height:44px;border-radius:13px}
  body.hiba-one-app-page .attendance-day-list{gap:10px}
  body.hiba-one-app-page .attendance-class-card{grid-template-columns:54px minmax(0,1fr);gap:11px;padding:13px;border-radius:18px;box-shadow:none}
  body.hiba-one-app-page .attendance-class-time{padding-right:10px}
  body.hiba-one-app-page .attendance-class-time strong{font-size:18px}
  body.hiba-one-app-page .attendance-class-time span{font-size:12px}
  body.hiba-one-app-page .attendance-class-main h2{font-size:16px;line-height:1.25}
  body.hiba-one-app-page .attendance-class-main p{margin-top:3px;font-size:12.5px;line-height:1.35}
  body.hiba-one-app-page .attendance-class-action{margin-top:-2px}
  body.hiba-one-app-page .attendance-class-action .button{min-height:44px;border-radius:13px}

  body.hiba-one-app-page .attendance-session-heading{margin-bottom:10px}
  body.hiba-one-app-page .attendance-session-heading h1{font-size:26px;line-height:1.08;letter-spacing:-.018em}
  body.hiba-one-app-page .attendance-progress-track{margin-bottom:12px}
  body.hiba-one-app-page .attendance-bulk-toolbar{margin-bottom:10px;padding:9px;border-radius:14px}
  body.hiba-one-app-page .attendance-bulk-toolbar .button{min-height:42px;border-radius:12px}
  body.hiba-one-app-page .attendance-students{gap:8px}
  body.hiba-one-app-page .attendance-student{padding:12px;border-radius:16px;box-shadow:none}
  body.hiba-one-app-page .attendance-status{min-height:46px;border-radius:11px;-webkit-tap-highlight-color:transparent}
  body.hiba-one-app-page .attendance-status:active{transform:scale(.97)}
  body.hiba-one-app-page .attendance-sticky-save{left:12px;right:12px;bottom:calc(76px + env(safe-area-inset-bottom));padding:9px 10px;border-radius:16px;background:#FFFFFF;box-shadow:0 8px 24px rgba(8,20,38,.08)}
}
@media(max-width:430px){
  body.hiba-one-app-page .attendance-status-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
}
@media(max-width:389px){
  body.hiba-one-app-page .attendance-date-nav{gap:6px}
  body.hiba-one-app-page .attendance-date-nav .icon-button{flex-basis:42px;width:42px;height:42px;min-height:42px}
}

/* Product feedback */
.product-feedback-overlay{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:24px;background:rgba(8,20,38,.52);opacity:0;transition:opacity .18s ease}.product-feedback-overlay.is-open{opacity:1}.product-feedback-dialog{position:relative;width:min(560px,100%);max-height:min(760px,calc(100dvh - 32px));overflow:auto;border:1px solid var(--line,#E4E7EC);border-radius:28px;background:#fff;box-shadow:0 24px 80px rgba(8,20,38,.18);padding:28px}.product-feedback-close{position:absolute;top:18px;right:18px;width:40px;height:40px;border:0;border-radius:12px;background:transparent;color:#667085;font-size:28px;line-height:1;cursor:pointer}.product-feedback-close:hover{background:#F2F4F7;color:#101828}.product-feedback-heading{text-align:left;padding-right:44px}.product-feedback-heading h2,.product-feedback-thanks h2{margin:6px 0 8px;font-size:26px;line-height:1.2;color:#101828}.product-feedback-heading p,.product-feedback-thanks p{margin:0;color:#667085;line-height:1.55}.product-feedback-kicker{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:999px;background:#EEF4FF;color:#155EEF;font-size:13px;font-weight:700}.product-feedback-stars{display:flex;justify-content:center;gap:10px;margin:30px 0 10px}.product-feedback-star{appearance:none;border:0;background:transparent;padding:4px;color:#D0D5DD;font-size:46px;line-height:1;cursor:pointer;transition:transform .12s ease,color .12s ease}.product-feedback-star:hover{transform:translateY(-2px)}.product-feedback-star.is-active,.product-feedback-star.is-hover{color:#F79009}.product-feedback-rating-label{text-align:center;min-height:24px;font-weight:700;color:#344054}.product-feedback-comment{display:block;margin-top:24px}.product-feedback-comment>span{display:flex;justify-content:space-between;margin-bottom:8px;font-weight:700;color:#344054}.product-feedback-comment>span small{font-weight:500;color:#98A2B3}.product-feedback-comment textarea{box-sizing:border-box;width:100%;min-height:120px;padding:14px 16px;border:1px solid #D0D5DD;border-radius:16px;background:#fff;color:#101828;font:inherit;resize:vertical}.product-feedback-comment>small{display:block;margin-top:6px;text-align:right;color:#98A2B3}.product-feedback-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:22px;padding-top:20px;border-top:1px solid #EAECF0}.product-feedback-thanks{text-align:center;padding:34px 8px 8px}.product-feedback-thanks__mark{display:grid;place-items:center;width:72px;height:72px;margin:0 auto 18px;border-radius:22px;background:#ECFDF3;color:#039855;font-size:34px;font-weight:800}.product-feedback-thanks .button{margin-top:24px}.product-feedback-dialog .form-message{margin-top:12px}@media(max-width:640px){.product-feedback-overlay{align-items:end;padding:12px}.product-feedback-dialog{width:100%;max-height:86dvh;border-radius:24px;padding:22px}.product-feedback-heading h2,.product-feedback-thanks h2{font-size:22px}.product-feedback-stars{gap:4px}.product-feedback-star{font-size:40px}.product-feedback-actions{grid-template-columns:1fr}.product-feedback-actions .button{min-height:50px}}

/* Settings command center: grouped by task, searchable, all features remain open. */
.settings-command{display:grid;grid-template-columns:minmax(0,.75fr) minmax(360px,1.25fr);gap:24px;align-items:center;margin:0 0 28px;padding:22px 24px;border:1px solid var(--soft);border-radius:18px;background:var(--surface)}
.settings-command h2,.settings-group h2{margin:0;font:700 18px/1.25 var(--fontH);color:var(--ink)}
.settings-command p,.settings-group header p{margin:5px 0 0;color:var(--muted);font-size:14px}
.settings-search{display:grid;grid-template-columns:20px minmax(0,1fr) 32px;align-items:center;gap:10px;min-height:50px;padding:0 8px 0 15px;border:1px solid var(--soft);border-radius:14px;background:var(--subtleAlt);transition:border-color 150ms ease,box-shadow 150ms ease,background-color 150ms ease}
.settings-search:focus-within{border-color:var(--blueBorder);box-shadow:0 0 0 3px rgba(21,94,239,.12);background:var(--surface)}
.settings-search svg{width:19px;height:19px;color:var(--muted)}
.settings-search input{min-width:0;width:100%;height:48px;border:0!important;outline:0!important;box-shadow:none!important;background:transparent;font:inherit;color:var(--ink)}.settings-search input::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none;display:none}
.settings-search button{width:32px;height:32px;border:0;border-radius:9px;background:transparent;color:var(--muted);font-size:22px;line-height:1;cursor:pointer}
.settings-search button:hover{background:var(--subtle)}
.settings-groups{display:grid;gap:30px}
.settings-group{display:grid;gap:14px}
.settings-group>header{padding:0 2px}
.settings-group[hidden],.settings-hub-card[hidden]{display:none!important}
.settings-no-results{justify-items:start;gap:5px;padding:26px;border:1px dashed var(--soft);border-radius:16px;color:var(--text2)}
.settings-no-results:not([hidden]){display:grid}
.settings-no-results span{font-size:14px;color:var(--muted)}
.settings-hub-card{position:relative;min-height:116px;align-content:start;border-radius:16px;box-shadow:none}
.settings-hub-card::after{content:'›';position:absolute;right:18px;top:18px;color:var(--muted);font-size:20px;transition:transform 150ms ease,color 150ms ease}
.settings-hub-card:hover::after{transform:translateX(2px);color:var(--blue)}
@media(max-width:767px){.settings-command{grid-template-columns:1fr;gap:16px;margin-bottom:24px;padding:18px;border-radius:16px}.settings-search{grid-template-columns:20px minmax(0,1fr) 32px}.settings-groups{gap:26px}.settings-hub-card{min-height:0;padding-right:46px}}
@media(max-width:389px){.settings-command{padding:16px}.settings-command h2,.settings-group h2{font-size:17px}}
.settings-search .screen-reader-text{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.form-disclosure{overflow:hidden}
.form-disclosure>summary{display:flex;align-items:center;justify-content:space-between;gap:18px;list-style:none;cursor:pointer;user-select:none}
.form-disclosure>summary::-webkit-details-marker{display:none}
.form-disclosure>summary span{min-width:0}
.form-disclosure>summary h2,.form-disclosure>summary p{margin:0}
.form-disclosure>summary p{margin-top:5px}
.form-disclosure>summary b{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:10px;background:var(--subtle);color:var(--text2);font-size:20px;font-weight:500;transition:transform 150ms ease,background-color 150ms ease}
.form-disclosure[open]>summary{border-bottom:1px solid var(--soft)}
.form-disclosure[open]>summary b{transform:rotate(45deg);background:var(--blueLight);color:var(--blue)}
.form-disclosure>.form-grid{padding-top:20px}
.form-disclosure>summary:focus-visible{outline:0;box-shadow:inset 0 0 0 3px rgba(21,94,239,.14)}
@media(prefers-reduced-motion:reduce){.settings-search,.settings-hub-card::after,.form-disclosure>summary b{transition:none}}

/* HIBA_CLASS_SCHEDULE_SHEET_V1 */
.class-inline-add-schedule{appearance:none;border:0;background:transparent;color:var(--app-accent,#2f7563);font:inherit;font-weight:700;padding:3px 0;cursor:pointer;text-align:left}.class-inline-add-schedule:hover{text-decoration:underline}.class-schedule-sheet{border:0;padding:0;background:transparent;width:min(560px,calc(100vw - 24px));max-width:none;overflow:visible}.class-schedule-sheet::backdrop{background:rgba(16,24,32,.35);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}.class-schedule-sheet__panel{background:#fff;border:1px solid rgba(34,54,68,.1);border-radius:28px;box-shadow:0 30px 90px rgba(28,45,56,.18);overflow:hidden}.class-schedule-sheet__grabber{display:none}.class-schedule-sheet__head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:28px 28px 14px}.class-schedule-sheet__head p{margin:0 0 5px;font-size:11px;font-weight:800;letter-spacing:.08em;color:#66717d}.class-schedule-sheet__head h2{margin:0;font-size:26px;line-height:1.1;color:#111827}.class-schedule-sheet__head small{display:block;margin-top:6px;color:#687386}.class-schedule-sheet__head>button{width:38px;height:38px;border:0;border-radius:999px;background:#f3f5f6;font-size:26px;line-height:1;color:#465262;cursor:pointer}.class-schedule-sheet__body{display:grid;gap:18px;padding:10px 28px 24px}.class-schedule-weekdays{border:0;padding:0;margin:0}.class-schedule-weekdays legend{font-size:13px;font-weight:700;color:#344054;margin-bottom:9px}.class-schedule-weekdays>div{display:grid;grid-template-columns:repeat(7,1fr);gap:7px}.class-schedule-weekdays label input{position:absolute;opacity:0;pointer-events:none}.class-schedule-weekdays label span{display:flex;align-items:center;justify-content:center;height:42px;border:1px solid #dce2e7;border-radius:12px;font-size:13px;font-weight:700;color:#566274;cursor:pointer}.class-schedule-weekdays label input:checked+span{background:#edf7f3;border-color:#2f7563;color:#24604f}.class-schedule-time-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.class-schedule-time-grid label>span{display:block;margin-bottom:7px;font-size:13px;font-weight:700;color:#344054}.class-schedule-repeat{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;border-radius:16px;background:#f6f8f8}.class-schedule-repeat span{display:grid;gap:2px}.class-schedule-repeat small{color:#75808d}.class-schedule-repeat b{display:grid;place-items:center;width:30px;height:30px;border-radius:999px;background:#e9f5f0;color:#2f7563}.class-schedule-sheet__footer{display:flex;justify-content:flex-end;gap:10px;padding:16px 28px calc(18px + env(safe-area-inset-bottom));border-top:1px solid #eef1f2;background:#fff}.has-class-schedule-sheet{overflow:hidden}
@media (max-width:767px){.class-schedule-sheet{width:100vw;max-width:100vw;margin:auto 0 0;align-self:flex-end}.class-schedule-sheet[open]{display:flex;align-items:flex-end;min-height:100dvh}.class-schedule-sheet__panel{width:100%;border-radius:28px 28px 0 0;border-bottom:0;box-shadow:0 -16px 60px rgba(24,38,48,.16);max-height:88dvh;overflow:auto}.class-schedule-sheet__grabber{display:flex;justify-content:center;padding-top:9px}.class-schedule-sheet__grabber span{width:38px;height:5px;border-radius:999px;background:#d7dde1}.class-schedule-sheet__head{padding:15px 20px 10px}.class-schedule-sheet__head h2{font-size:23px}.class-schedule-sheet__body{padding:8px 20px 20px;gap:15px}.class-schedule-sheet__footer{position:sticky;bottom:0;padding:12px 20px calc(12px + env(safe-area-inset-bottom));z-index:2}.class-schedule-sheet__footer .button{min-height:48px}.class-schedule-weekdays>div{gap:5px}.class-schedule-weekdays label span{height:40px;border-radius:11px}.classes-table td[data-label="Lịch học"] .stacked-cell{gap:4px}.classes-table td[data-label="Lịch học"] .class-inline-add-schedule{margin-top:5px;font-size:14px}.teacher-ops-group-create:not([hidden]){position:fixed;z-index:1002;left:12px;right:12px;bottom:calc(88px + env(safe-area-inset-bottom));max-height:72dvh;overflow:auto;margin:0;border-radius:24px;box-shadow:0 24px 80px rgba(25,40,50,.22)}.teacher-ops-group-create:not([hidden])::before{content:"";display:block;width:38px;height:5px;border-radius:999px;background:#d7dde1;margin:10px auto 3px}}

/* v0.38.1 — release patch: bounded mobile rails, class rows fit viewport, generic avatar fallback. */
html,body{overflow-x:clip}
.student-avatar.has-avatar-fallback,.student-avatar--photo.has-avatar-fallback,.student-avatar--preview.has-avatar-fallback,[data-avatar-preview].has-avatar-fallback{display:grid;place-items:center;background:#EEF4FF;color:#155EEF;overflow:hidden}
.student-avatar.has-avatar-fallback::before,.student-avatar--photo.has-avatar-fallback::before,.student-avatar--preview.has-avatar-fallback::before,[data-avatar-preview].has-avatar-fallback::before{content:attr(data-avatar-initial);font:800 1em/1 var(--fontH)}
@media(max-width:767px){body.hiba-one-app-page .classes-table,body.hiba-one-app-page .classes-table tbody,body.hiba-one-app-page .classes-table tr,body.hiba-one-app-page .class-profile-shell,body.hiba-one-app-page .class-profile-grid,body.hiba-one-app-page .class-profile-main,body.hiba-one-app-page .class-profile-side,body.hiba-one-app-page .profile-tabs--v2,body.hiba-one-app-page .settings-tabs,body.hiba-one-app-page .status-rail,body.hiba-one-app-page .student-status-rail,body.hiba-one-app-page .class-status-rail{max-width:100%;min-width:0}body.hiba-one-app-page .classes-table{display:block;min-width:0}body.hiba-one-app-page .classes-table thead{display:none}body.hiba-one-app-page .classes-table tbody{display:grid;gap:10px}body.hiba-one-app-page .classes-table tr{display:grid;gap:8px;padding:14px;border:1px solid var(--soft);border-radius:18px;background:#fff}body.hiba-one-app-page .classes-table td{display:grid;grid-template-columns:minmax(84px,96px) minmax(0,1fr);gap:10px;align-items:start;padding:0;border:0;min-width:0;overflow-wrap:anywhere}body.hiba-one-app-page .classes-table td::before{content:attr(data-label);color:#667085;font-size:11px;font-weight:700;line-height:1.35}body.hiba-one-app-page .classes-table td>*{min-width:0}body.hiba-one-app-page .classes-table .stacked-cell{min-width:0}body.hiba-one-app-page .classes-table .button,body.hiba-one-app-page .classes-table .icon-button,body.hiba-one-app-page .profile-tabs--v2 a,body.hiba-one-app-page .settings-tabs a{min-height:44px}body.hiba-one-app-page .profile-tabs--v2,body.hiba-one-app-page .settings-tabs,body.hiba-one-app-page .status-rail,body.hiba-one-app-page .student-status-rail,body.hiba-one-app-page .class-status-rail{position:relative;display:flex;gap:8px;padding-bottom:2px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-webkit-overflow-scrolling:touch}body.hiba-one-app-page .profile-tabs--v2::-webkit-scrollbar,body.hiba-one-app-page .settings-tabs::-webkit-scrollbar,body.hiba-one-app-page .status-rail::-webkit-scrollbar,body.hiba-one-app-page .student-status-rail::-webkit-scrollbar,body.hiba-one-app-page .class-status-rail::-webkit-scrollbar{display:none}body.hiba-one-app-page .profile-tabs--v2::after,body.hiba-one-app-page .settings-tabs::after,body.hiba-one-app-page .status-rail::after,body.hiba-one-app-page .student-status-rail::after,body.hiba-one-app-page .class-status-rail::after{content:'';position:sticky;right:0;top:0;width:28px;flex:0 0 28px;align-self:stretch;background:linear-gradient(90deg,rgba(247,249,252,0),#F7F9FC 82%);pointer-events:none}body.hiba-one-app-page .profile-tabs--v2 a,body.hiba-one-app-page .settings-tabs a,body.hiba-one-app-page .status-rail > *,body.hiba-one-app-page .student-status-rail > *,body.hiba-one-app-page .class-status-rail > *{flex:0 0 auto;white-space:nowrap;font-size:13px}}

/* Attendance audit timestamp */
body.hiba-one-app-page .attendance-marked-meta{grid-column:1/-1;display:block;margin-top:-8px;color:#667085;font-size:11px;font-weight:500;line-height:1.35}
body.hiba-one-app-page .attendance-marked-meta[hidden]{display:none!important}
@media(max-width:767px){body.hiba-one-app-page .attendance-marked-meta{margin-top:-4px}}

/* CorealX confirmation must not leak closed controls into app layout. */
body.hiba-one-app-page .corealx-pro-confirmation:not(.is-open),body.hiba-one-app-page .corealx-pro-confirmation[aria-hidden="true"]{display:none!important;visibility:hidden!important;pointer-events:none!important}
