:root{--green:#2c7a4b;--green-dark:#25643e;--green-soft:#eaf4ee;--blue-soft:#e7f1fb;--blue-text:#2471a3;--orange-soft:#fff5dc;--orange-text:#d68910;--gray-50:#f5f6fa;--gray-100:#eef1f5;--gray-200:#e6e9ef;--gray-300:#d6dce5;--gray-500:#94a0b2;--text:#243043;--white:#ffffff;--danger:#c84533;--shadow:0 2px 10px rgba(31,45,61,0.08);--radius:10px}*{box-sizing:border-box}body,html{margin:0;padding:0;min-height:100%;background:var(--gray-50);color:var(--text);font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}.app-header{background:radial-gradient(circle at top right,rgba(255,255,255,.1),transparent 20%),linear-gradient(180deg,#338f56,#2f8650);color:var(--white);box-shadow:0 12px 28px rgba(17,33,24,.12);border-bottom:1px solid rgba(255,255,255,.08)}.header-inner{width:min(1240px,calc(100vw - 32px));margin:0 auto;display:flex;justify-content:space-between;align-items:center;gap:24px;padding:12px 0 10px}.header-meta{justify-content:flex-end;gap:10px;flex:1 1 auto}.brand,.header-meta{display:flex;align-items:center;min-width:0}.brand{gap:14px}.brand-copy{display:inline-flex;align-items:baseline;gap:10px}.header-nav-wrap{display:flex;justify-content:flex-start;flex:1 1 auto;min-width:0}.brand-mark{width:42px;height:42px;flex:0 0 42px;border-radius:14px;object-fit:cover;background:var(--white);box-shadow:0 10px 18px rgba(18,40,27,.14)}.brand-name,.brand-subtitle{display:block}.brand-name{font-size:1.95rem;font-weight:800;line-height:1;letter-spacing:-.03em}.brand-tenant-id{font-size:.84rem;font-weight:700;line-height:1;opacity:.9;letter-spacing:.04em;text-transform:uppercase}.brand-subtitle{font-size:.95rem;opacity:.92}.header-nav{display:inline-flex;align-items:center;gap:6px;padding:6px;border-radius:16px;background:rgba(26,94,54,.42);border:1px solid rgba(255,255,255,.08);box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 6px 16px rgba(18,42,28,.06);flex-wrap:wrap}.header-nav a{display:flex;align-items:center;justify-content:center;min-height:40px;padding:0 20px;border-radius:999px;color:rgba(255,255,255,.9);font-size:.98rem;font-weight:700;letter-spacing:.01em;transition:background-color .14s ease,color .14s ease,transform .14s ease,box-shadow .14s ease}.header-nav a:hover{background:rgba(255,255,255,.08);color:var(--white)}.header-nav a:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(255,255,255,.24)}.header-nav a.is-active{background:var(--white);color:var(--green-dark);box-shadow:0 8px 18px rgba(24,50,34,.14)}.header-user{display:flex;align-items:center;justify-content:flex-end;gap:16px;flex:0 0 auto;min-width:0;padding:4px 0 0 22px;border-left:1px solid rgba(255,255,255,.18)}.header-user-copy{display:grid;grid-gap:2px;gap:2px;text-align:right;max-width:20ch}.header-user-copy strong{font-size:.98rem;line-height:1.12}.header-user-copy span{font-size:.82rem;opacity:.82}.header-user-copy span:only-child{margin-top:-1px}.header-user-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.header-tenant-form{display:flex;align-items:center;gap:8px;flex-wrap:nowrap}.header-tenant-picker{display:grid;grid-gap:5px;gap:5px;min-width:min(220px,28vw)}.header-control-label{display:block;font-size:.78rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:rgba(255,255,255,.82)}.header-select{width:100%;min-height:40px;padding:0 38px 0 14px;border:1px solid rgba(255,255,255,.12);border-radius:14px;background:rgba(24,95,54,.55);color:var(--white);box-shadow:inset 0 1px 0 rgba(255,255,255,.06)}.header-select:focus-visible{outline:none;border-color:rgba(255,255,255,.54);box-shadow:0 0 0 3px rgba(255,255,255,.16)}.header-select option{color:var(--text)}.header-action-btn{min-height:40px;padding:0 18px;border:1px solid rgba(255,255,255,.12);border-radius:14px;background:rgba(255,255,255,.92);color:#163452;font-weight:700;box-shadow:0 6px 14px rgba(18,42,28,.08)}.header-logout{background:rgba(255,255,255,.18);border-color:rgba(255,255,255,.12);color:var(--white);box-shadow:none}.header-action-btn:hover{background:var(--white)}.header-logout:hover{background:rgba(255,255,255,.24)}.header-action-btn:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(255,255,255,.18)}.header-logout:focus-visible{box-shadow:0 0 0 3px rgba(255,255,255,.22);color:var(--white)}.settings-nav-link{gap:9px}.settings-nav-icon,.settings-nav-link{display:inline-flex;align-items:center}.settings-nav-icon{justify-content:center;width:24px;height:24px;border-radius:999px;background:rgba(255,255,255,.14);font-size:.92rem}.header-nav a.is-active .settings-nav-icon{background:rgba(44,122,75,.12)}.header-nav a[aria-disabled=true]{cursor:default}.page-shell{width:min(1240px,calc(100vw - 32px));margin:24px auto 40px}.public-header-nav a{min-width:102px}.landing-page{display:grid;grid-gap:clamp(32px,5vw,72px);gap:clamp(32px,5vw,72px)}.landing-hero{position:relative;min-height:min(660px,calc(100vh - 116px));border-radius:8px;overflow:hidden;background:#193827;display:grid;align-items:end;padding:clamp(32px,6vw,80px);isolation:isolate}.landing-hero-image,.landing-hero-overlay{position:absolute;inset:0}.landing-hero-image{width:100%;height:100%;object-fit:cover;object-position:center 24%;z-index:-2}.landing-hero-overlay{z-index:-1;background:linear-gradient(90deg,rgba(13,30,21,.9),rgba(13,30,21,.66) 44%,rgba(13,30,21,.18) 78%),linear-gradient(180deg,rgba(13,30,21,.02),rgba(13,30,21,.7))}.landing-hero-content{width:min(720px,100%);display:grid;grid-gap:18px;gap:18px}.landing-eyebrow,.landing-section-label{margin:0;color:#2f8a54;font-size:.82rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.landing-branches h2,.landing-contact h2,.landing-hero h1,.landing-intro h2,.landing-program-panel h2,.landing-rhythm h2{margin:0;color:#182536;letter-spacing:0}.landing-hero h1{max-width:14ch;color:var(--white);font-size:clamp(2.85rem,6.6vw,5.45rem);font-weight:800;line-height:.96}.landing-lede{margin:0;max-width:40rem;color:rgba(255,255,255,.9);font-size:clamp(1.05rem,2vw,1.28rem);line-height:1.55}.landing-actions{display:flex;flex-wrap:wrap;gap:12px;padding-top:12px}.landing-primary-cta,.landing-secondary-cta{min-height:48px;height:auto;padding:0 22px;border-radius:8px;transition:background-color .14s ease,border-color .14s ease,box-shadow .14s ease,transform .14s ease}.landing-primary-cta{background:#2f8a54;color:var(--white);box-shadow:0 14px 28px rgba(37,100,62,.24)}.landing-primary-cta:hover{background:var(--green-dark);transform:translateY(-1px)}.landing-secondary-cta{background:rgba(255,255,255,.9);border:1px solid rgba(44,122,75,.18);color:var(--green-dark)}.landing-secondary-cta:hover{background:var(--white);border-color:rgba(44,122,75,.34);transform:translateY(-1px)}.landing-primary-cta:focus-visible,.landing-secondary-cta:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(255,255,255,.72),0 0 0 6px rgba(47,138,84,.32)}.landing-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--gray-200);border-radius:8px;background:var(--white);box-shadow:var(--shadow);overflow:hidden;margin-top:calc(clamp(32px, 5vw, 72px) * -1 - 16px);position:relative;z-index:2}.landing-fact{display:grid;grid-gap:6px;gap:6px;min-height:120px;padding:22px;border-right:1px solid var(--gray-200)}.landing-fact:last-child{border-right:none}.landing-fact span{color:#69758a;font-size:.82rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.landing-fact strong{color:#182536;font-size:1.18rem;line-height:1.25}.landing-branches,.landing-contact,.landing-intro,.landing-program-panel,.landing-rhythm{display:grid;grid-template-columns:minmax(0,.8fr) minmax(300px,1fr);grid-gap:clamp(24px,5vw,64px);gap:clamp(24px,5vw,64px);align-items:start;padding:clamp(24px,4vw,56px) 0}.landing-branches h2,.landing-contact h2,.landing-intro h2,.landing-program-panel h2,.landing-rhythm h2{margin-top:8px;font-size:clamp(2rem,4vw,3.25rem);line-height:1.06}.landing-body-copy p,.landing-branch-card p,.landing-contact p,.landing-intro p,.landing-rhythm-step p{margin:0;color:#536174;font-size:1.06rem;line-height:1.7}.landing-body-copy,.landing-photo-carousel{display:grid;grid-gap:18px;gap:18px}.landing-photo-carousel{padding:clamp(28px,4vw,48px);border:1px solid var(--gray-200);border-radius:8px;background:var(--white);box-shadow:var(--shadow)}.landing-carousel-header{display:flex;justify-content:space-between;align-items:end;gap:24px}.landing-carousel-header h2{margin:8px 0 0;max-width:17ch;color:#182536;font-size:clamp(2rem,4vw,3rem);line-height:1.06}.landing-carousel-controls{display:inline-flex;align-items:center;gap:10px;flex:0 0 auto}.landing-carousel-controls button{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:1px solid var(--gray-300);border-radius:8px;background:#f8fafc;color:#20324a;font-size:1.35rem;font-weight:800;line-height:1;cursor:pointer;transition:background-color .14s ease,border-color .14s ease,color .14s ease}.landing-carousel-controls button:hover{border-color:rgba(44,122,75,.32);background:var(--green-soft);color:var(--green-dark)}.landing-carousel-controls button:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(44,122,75,.18)}.landing-carousel-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:16px;gap:16px}.landing-carousel-card{margin:0;position:relative;min-height:330px;border-radius:8px;overflow:hidden;background:#182536}.landing-carousel-card img{display:block;width:100%;height:100%;min-height:inherit;object-fit:cover;object-position:center}.landing-carousel-card img.landing-carousel-image-top{height:152%;object-position:center top}.landing-carousel-card:after{content:"";position:absolute;inset:42% 0 0;background:linear-gradient(180deg,rgba(24,37,54,0),rgba(24,37,54,.78))}.landing-carousel-card figcaption{position:absolute;right:14px;bottom:14px;left:14px;z-index:1;margin:0;color:var(--white);font-size:.98rem;font-weight:800;line-height:1.35;text-shadow:0 1px 10px rgba(0,0,0,.45)}.landing-branches{align-items:start}.landing-branch-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:16px;gap:16px}.landing-branch-card{min-height:235px;padding:22px;border:1px solid var(--gray-200);border-radius:8px;background:var(--white);box-shadow:var(--shadow);display:grid;align-content:start;grid-gap:12px;gap:12px}.landing-branch-card h3{margin:0;color:#182536;font-size:1.26rem}.landing-branch-card .landing-branch-address{color:var(--green-dark);font-weight:800;line-height:1.45}.landing-program-panel{padding:clamp(28px,4vw,48px);border-radius:8px;background:linear-gradient(90deg,rgba(234,244,238,.95),rgba(255,250,240,.72)),#f8fbf6;border:1px solid #dfeadf}.landing-pill-row{display:flex;flex-wrap:wrap;gap:12px}.landing-pill-row span{display:inline-flex;align-items:center;min-height:42px;padding:0 14px;border-radius:999px;background:var(--white);color:#2f543b;font-weight:800;box-shadow:inset 0 0 0 1px rgba(44,122,75,.16)}.landing-rhythm-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:16px;gap:16px}.landing-rhythm-step{min-height:220px;padding:22px;border:1px solid var(--gray-200);border-radius:8px;background:var(--white);box-shadow:var(--shadow)}.landing-rhythm-step span{display:block;color:#d68910;font-weight:900;letter-spacing:.08em;margin-bottom:26px}.landing-rhythm-step h3{margin:0 0 10px;color:#182536;font-size:1.28rem}.landing-contact{padding:clamp(28px,4vw,48px);border-radius:8px;background:linear-gradient(135deg,rgba(24,37,54,.97),rgba(21,74,49,.94)),#182536;align-items:center}.landing-contact .landing-section-label,.landing-contact h2,.landing-contact p{color:var(--white)}.landing-contact p{opacity:.82}@media (max-width:900px){.landing-hero{min-height:560px;align-items:end}.landing-hero-overlay{background:linear-gradient(180deg,rgba(13,30,21,.18),rgba(13,30,21,.86))}.landing-hero h1{max-width:11ch}.landing-facts{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:calc(clamp(32px, 5vw, 72px) * -1)}.landing-fact:nth-child(2){border-right:none}.landing-fact:nth-child(-n+2){border-bottom:1px solid var(--gray-200)}.landing-branch-grid,.landing-branches,.landing-contact,.landing-intro,.landing-program-panel,.landing-rhythm,.landing-rhythm-grid{grid-template-columns:1fr}.landing-carousel-header{align-items:flex-start;flex-direction:column}.landing-carousel-grid{grid-template-columns:1fr}.landing-carousel-card{min-height:320px}}.auth-shell{min-height:calc(100vh - 160px);display:grid;place-items:center;padding:40px 16px;background:radial-gradient(circle at top,rgba(44,122,75,.08),transparent 42%),linear-gradient(180deg,#f7f9fc,#eef2f7)}.auth-card{width:min(520px,100%);background:var(--white);border:1px solid var(--gray-200);border-radius:28px;box-shadow:0 28px 60px rgba(31,45,61,.12),0 8px 20px rgba(31,45,61,.05);padding:40px 40px 36px;display:grid;grid-gap:28px;gap:28px;text-align:center}.auth-copy{display:grid;justify-items:center;grid-gap:10px;gap:10px}.auth-copy h1{margin:0;max-width:12ch;font-size:clamp(2.35rem,5vw,3rem);line-height:1.02;letter-spacing:-.04em;color:#20324a}.auth-eyebrow{margin:0;color:var(--green-dark);font-size:.92rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase}.auth-copy .muted{margin:0;max-width:28ch;font-size:1.08rem;line-height:1.5;color:#7d8aa0}.auth-form{display:grid;grid-gap:16px;gap:16px;justify-items:center}.auth-login-stack{display:grid;grid-gap:20px;gap:20px}.auth-field-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.auth-submit{justify-content:center}.auth-google-button,.auth-primary-submit{width:100%;min-height:50px;border-radius:12px;font-size:1rem;font-weight:700}.auth-primary-submit{background:#1c7f76}.auth-primary-submit:hover{background:#176e67}.auth-divider{display:flex;align-items:center;gap:12px;color:var(--gray-500);font-size:.92rem}.auth-divider span{flex:1 1 auto;height:1px;background:var(--gray-200)}.auth-divider strong{font-size:.92rem;font-weight:500;color:var(--gray-500)}.auth-google-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;width:min(100%,350px);min-height:48px;padding:0 22px;border:1px solid #d0d7e2;border-radius:12px;background:var(--white);color:#26406a;font-size:.98rem;font-weight:600;box-shadow:0 1px 2px rgba(15,23,42,.04),inset 0 1px 0 rgba(255,255,255,.95);transition:border-color .14s ease,background-color .14s ease,box-shadow .14s ease}.auth-google-button:hover{background:#fbfcff;border-color:#c2ccda;box-shadow:0 2px 6px rgba(15,23,42,.07),inset 0 1px 0 rgba(255,255,255,.95)}.auth-google-button:focus-visible{outline:none;border-color:#8fb4ff;box-shadow:0 0 0 3px rgba(66,133,244,.18)}.auth-google-mark{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;flex:0 0 18px}.auth-google-mark svg{display:block;width:100%;height:100%}.page-stack{display:grid;grid-gap:24px;gap:24px}.grid{display:grid;grid-gap:18px;gap:18px}.grid.cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.card{background:var(--white);border:1px solid var(--gray-200);border-radius:var(--radius);padding:20px;box-shadow:var(--shadow)}.card h2,.card h3{margin-top:0;margin-bottom:12px}.section-title{margin:0;font-size:1.25rem}.stat-value{font-size:2.3rem;margin:8px 0 0;font-weight:700}.muted{color:var(--gray-500)}.summary-grid .card p:first-child{margin:0}.dashboard-hero{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;padding:28px 30px;border-radius:20px;background:radial-gradient(circle at top right,rgba(255,255,255,.32),transparent 34%),linear-gradient(135deg,#2d7c49,#25643e 52%,#1d5032);color:var(--white);box-shadow:0 20px 44px rgba(30,63,42,.18)}.dashboard-hero h1{margin:0 0 10px;font-size:2rem}.dashboard-hero .muted{color:rgba(255,255,255,.82);max-width:760px}.dashboard-eyebrow{margin:0 0 10px;font-size:.82rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.76)}.dashboard-hero-actions{display:flex;gap:10px;flex-wrap:wrap}.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-card,.dashboard-grid{display:grid;grid-gap:18px;gap:18px}.dashboard-card{min-height:280px}.dashboard-card h2{margin-bottom:6px}.dashboard-card-header p{margin:0}.dashboard-stat-number{font-size:2.6rem;line-height:1;font-weight:800;color:#20324a}.dashboard-list,.dashboard-program-stack{display:grid;grid-gap:12px;gap:12px}.dashboard-program-group{padding:14px 16px;border:1px solid var(--gray-200);border-radius:14px;background:#fbfcfe}.dashboard-program-label{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;font-weight:700;color:#20324a}.dashboard-program-count,.dashboard-status-count{display:inline-flex;align-items:center;justify-content:center;min-width:32px;height:32px;padding:0 10px;border-radius:999px;background:var(--green-soft);color:var(--green-dark);font-weight:800}.dashboard-list{margin:0;padding:0;list-style:none}.dashboard-list li{display:grid;grid-gap:4px;gap:4px;padding-bottom:12px;border-bottom:1px solid var(--gray-200)}.dashboard-list li:last-child{padding-bottom:0;border-bottom:none}.dashboard-list a{font-weight:700;color:#20324a}.dashboard-list-meta{color:var(--gray-500);font-size:.92rem}.dashboard-status-list li{display:flex;justify-content:space-between;align-items:center;gap:12px}.dashboard-empty-state{margin:0;align-self:center}.toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.toolbar-search,.toolbar-select{height:44px;border:1px solid var(--gray-300);border-radius:var(--radius);background:var(--white);color:var(--text)}.toolbar-search{flex:1 1 440px;padding:0 14px}.toolbar-select{min-width:160px;padding:0 12px}.toolbar-filter-group{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.filter-menu{position:relative}.filter-trigger{display:inline-flex;align-items:center;gap:10px;min-width:184px;height:44px;padding:0 14px;border:1px solid var(--gray-300);border-radius:var(--radius);background:var(--white);color:var(--text);box-shadow:var(--shadow)}.filter-trigger.is-open{border-color:rgba(44,122,75,.45);box-shadow:0 0 0 3px rgba(44,122,75,.12)}.filter-trigger-label{color:var(--gray-500);font-size:.82rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em}.filter-trigger-value{font-weight:600}.filter-popover{position:absolute;top:calc(100% + 10px);left:0;z-index:20;min-width:240px;padding:14px;border:1px solid var(--gray-200);border-radius:14px;background:var(--white);box-shadow:0 18px 36px rgba(31,45,61,.16)}.filter-popover-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.filter-option-list{display:grid;grid-gap:8px;gap:8px}.filter-option{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:10px;background:#f8fafc}.filter-option input{margin:0}.active-filter-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.active-filter-chip{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid rgba(44,122,75,.22);border-radius:999px;background:var(--green-soft);color:var(--green-dark);font-weight:600}.toolbar-count{color:var(--gray-500);font-size:.95rem}.pagination-row{justify-content:space-between;gap:12px}.pagination-actions,.pagination-row{display:flex;align-items:center;flex-wrap:wrap}.pagination-actions{gap:10px}.pagination-page{color:var(--gray-500);font-size:.95rem}.btn-chip.is-disabled{cursor:not-allowed;opacity:.48}.table-wrap{overflow:auto;border:1px solid var(--gray-200);border-radius:var(--radius);background:var(--white)}table{width:100%;border-collapse:collapse}td,th{padding:14px;border-bottom:1px solid var(--gray-200);text-align:left;vertical-align:middle}th{background:var(--green);color:var(--white);font-size:.82rem;text-transform:uppercase;letter-spacing:.08em;font-weight:700}.table-sort-button{display:inline-flex;align-items:center;gap:6px;width:100%;padding:0;border:none;background:transparent;color:inherit;font:inherit;text-transform:inherit;letter-spacing:inherit;font-weight:inherit;cursor:pointer}.table-sort-icon{font-size:.9rem;line-height:1;opacity:.9}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}tbody tr:hover{background:#fafcfd}.badge{display:inline-block;padding:6px 12px;border-radius:999px;font-size:.78rem;font-weight:700;text-transform:uppercase}.badge.active{background:var(--green-soft);color:var(--green-dark)}.badge.inactive{background:#edf0f4;color:#66778e}.badge.overdue{background:var(--orange-soft);color:var(--orange-text)}.badge.graduated{background:var(--blue-soft);color:var(--blue-text)}.stack{display:grid;grid-gap:12px;gap:12px}.meta-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:14px;gap:14px}.meta-grid strong{display:block;margin-bottom:4px}.student-name{font-size:1.05rem;font-weight:700;color:#20324a}.student-nickname{color:var(--gray-500);font-weight:500}.id-cell{color:#95a2b5}.actions{gap:10px}.actions,.detail-header{display:flex;align-items:center}.detail-header{justify-content:space-between;gap:16px;margin-bottom:16px}.detail-shell{padding:10px 12px 18px}.detail-topbar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:4px 6px 12px}.detail-topbar-left{display:flex;align-items:center;gap:22px;flex-wrap:wrap}.back-link{color:var(--green);font-weight:600}.detail-student-title{margin:0;font-size:1.15rem}.detail-tabs{display:flex;gap:18px;border-bottom:1px solid var(--gray-200);padding:0 6px;margin-bottom:18px}.detail-tab{background:transparent;padding:12px 0;color:#4d5b74;font-weight:600;cursor:pointer;border:none;border-bottom:2px solid transparent}.detail-tab.active{color:var(--green);border-bottom-color:var(--green)}.detail-panel,.info-grid{padding:0 6px}.info-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-gap:18px 26px;gap:18px 26px}.info-item{min-width:0}.info-label{color:var(--gray-500);text-transform:uppercase;letter-spacing:.06em;font-size:.82rem;font-weight:700;margin-bottom:4px}.info-value{line-height:1.45;white-space:pre-wrap;word-break:break-word}.detail-record{padding:14px 0;border-bottom:1px solid var(--gray-200)}.detail-record:last-child{border-bottom:none}.detail-record-title{display:flex;gap:8px;align-items:center;font-weight:700;margin-bottom:4px}.inline-badge{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:999px;background:var(--green-soft);color:var(--green-dark);font-size:.76rem;font-weight:700}.timeline-entry{padding:12px 0;border-bottom:1px solid var(--gray-200)}.timeline-entry:last-child{border-bottom:none}.timeline-title{font-weight:700;margin-bottom:4px}.guardian-card{background:var(--white);border:1px solid var(--gray-200);border-radius:var(--radius);box-shadow:var(--shadow);padding:18px 20px}.guardian-card-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.guardian-name{font-size:1.05rem;font-weight:700;color:#20324a}.guardian-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:18px;gap:18px}.guardian-portal-page{gap:28px}.guardian-hero{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,.9fr);grid-gap:24px;gap:24px;padding:clamp(28px,4vw,42px);border-radius:28px;background:radial-gradient(circle at top right,rgba(255,255,255,.32),transparent 28%),radial-gradient(circle at bottom left,rgba(197,232,212,.24),transparent 34%),linear-gradient(135deg,#1d5234,#2d7c49 45%,#3d9660);color:var(--white);box-shadow:0 26px 60px rgba(24,58,38,.22)}.guardian-hero:after{content:"";position:absolute;inset:auto -60px -90px auto;width:240px;height:240px;border-radius:999px;background:rgba(255,255,255,.08);filter:blur(6px)}.guardian-hero-copy,.guardian-hero-stats{position:relative;z-index:1}.guardian-eyebrow{display:inline-flex;align-items:center;min-height:32px;padding:0 12px;border-radius:999px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.16);font-size:.84rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.guardian-hero h1{margin:16px 0 12px;max-width:11ch;font-size:clamp(2.2rem,5vw,3.55rem);line-height:.98;letter-spacing:-.04em}.guardian-hero p{margin:0;max-width:62ch;color:rgba(255,255,255,.86);font-size:1rem;line-height:1.7}.guardian-hero-stats{display:grid;grid-gap:12px;gap:12px;align-content:center}.guardian-hero-stat{padding:18px 18px 20px;border-radius:20px;background:rgba(15,41,25,.26);border:1px solid rgba(255,255,255,.14);box-shadow:inset 0 1px 0 rgba(255,255,255,.08);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.guardian-contact-relationship,.guardian-hero-stat span,.guardian-section-kicker,.guardian-student-meta,.guardian-summary-metric span{display:block;font-size:.8rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.guardian-hero-stat span,.guardian-student-meta{color:rgba(255,255,255,.74)}.guardian-hero-stat strong{display:block;margin-top:8px;font-size:2rem;line-height:1}.guardian-student-stack{display:grid;grid-gap:22px;gap:22px}.guardian-empty-state{padding:28px;border-radius:24px}.guardian-empty-state h2{margin-bottom:8px}.guardian-student-card{position:relative;overflow:hidden;display:grid;grid-gap:22px;gap:22px;padding:clamp(22px,3vw,32px);border:1px solid #dbe7df;border-radius:28px;background:radial-gradient(circle at top right,rgba(234,244,238,.88),transparent 26%),linear-gradient(180deg,#ffffff,#f8fbf8);box-shadow:0 18px 40px rgba(33,58,43,.08)}.guardian-student-hero{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.guardian-student-identity{display:flex;align-items:center;gap:16px;min-width:0}.guardian-student-avatar{display:inline-flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:22px;background:linear-gradient(135deg,#dff0e4,#c7e4d1);color:#1f5c3c;font-size:1.25rem;font-weight:800;letter-spacing:.06em;box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}.guardian-student-name{margin:6px 0;color:#17324d;font-size:clamp(1.65rem,3vw,2.35rem);line-height:1.04;letter-spacing:-.03em}.guardian-student-subtitle{margin:0;color:#69809a;font-size:.98rem}.guardian-student-status{display:grid;justify-items:end;grid-gap:10px;gap:10px;text-align:right}.guardian-student-status p{margin:0;color:#61748a;line-height:1.5}.guardian-student-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:14px;gap:14px}.guardian-summary-metric{padding:18px;border-radius:20px;border:1px solid #e2e9e4;background:rgba(255,255,255,.92)}.guardian-contact-relationship,.guardian-section-kicker,.guardian-summary-metric span{color:#6f8398}.guardian-summary-metric strong{display:block;margin-top:8px;color:#183451;font-size:1.1rem;line-height:1.35}.guardian-summary-metric.is-highlighted{border-color:rgba(44,122,75,.28);background:linear-gradient(180deg,#edf8f0,#e3f3e8)}.guardian-summary-metric.is-highlighted strong{color:#1f6b43}.guardian-section-stack{display:grid;grid-gap:18px;gap:18px}.guardian-section-card{display:grid;grid-gap:20px;gap:20px;padding:22px;border-radius:24px;border:1px solid #e4eaef;background:rgba(255,255,255,.96);box-shadow:0 10px 26px rgba(34,54,72,.05)}.guardian-section-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.guardian-section-heading h3{margin:6px 0 0;color:#17324d;font-size:1.35rem}.guardian-section-heading p{margin:0;max-width:44ch}.guardian-info-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:16px;gap:16px}.guardian-info-group{display:grid;grid-gap:14px;gap:14px;padding:18px;border-radius:20px;border:1px solid #e7edf1;background:linear-gradient(180deg,#fdfefe,#f7f9fb)}.guardian-info-group h4{margin:0;color:#24415d;font-size:1rem}.guardian-contact-grid,.guardian-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:16px 18px;gap:16px 18px}.guardian-info-item{min-width:0}.guardian-info-item.is-wide{grid-column:1/-1}.guardian-contact-list{display:grid;grid-gap:14px;gap:14px}.guardian-contact-card{display:grid;grid-gap:16px;gap:16px;padding:18px;border-radius:20px;border:1px solid #e4eaf0;background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(248,250,252,.98))}.guardian-contact-topline{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.guardian-contact-name{color:#17324d;font-size:1.1rem;font-weight:700}.guardian-payments-card .enrollment-panel{gap:18px}.guardian-payments-card .enrollment-card,.guardian-payments-card .enrollment-editor{border-radius:22px;border-color:#e4eaef;box-shadow:0 10px 24px rgba(32,52,73,.05)}.guardian-payments-card .payments-card{border-top-color:#e7edf1}.btn-chip,.btn-danger,.btn-link{font:inherit;border:none;cursor:pointer}.btn-chip{display:inline-flex;align-items:center;justify-content:center;min-width:52px;height:30px;padding:0 12px;border-radius:10px;background:#eceff4;color:#2d3b52;font-weight:700}.btn-primary{background:var(--green);color:var(--white)}.btn-secondary{background:#eceff4;color:#2d3b52}.btn-link{background:transparent;color:var(--green);font-weight:600;padding:0}.btn-danger{display:inline-flex;align-items:center;justify-content:center;min-width:44px;height:30px;padding:0 12px;border-radius:10px;background:var(--danger);color:var(--white);font-weight:700}.student-form{display:grid;grid-gap:18px;gap:18px}.form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:16px;gap:16px}.field{display:grid;grid-gap:8px;gap:8px}.field span{font-size:.9rem;color:#2d3b52;font-weight:600}.field-help{color:var(--gray-500);font-size:.84rem;line-height:1.4}.field input,.field select,.field textarea{width:100%;border:1px solid var(--gray-300);border-radius:var(--radius);min-height:44px;padding:11px 12px;background:var(--white);color:var(--text)}.field input::placeholder,.field textarea::placeholder{color:#a0aab9}.sibling-selector{position:relative}.student-toolbar-search{flex:1 1 320px;min-width:300px}.sibling-search{width:100%;border:1px solid var(--gray-300);border-radius:var(--radius);padding:11px 12px;background:var(--white);color:var(--text)}.sibling-chip-list{display:flex;flex-wrap:wrap;gap:8px}.sibling-chip{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--gray-300);border-radius:999px;padding:8px 12px;background:#f6f8fb;color:var(--text)}.sibling-chip-remove{color:var(--gray-500);font-size:.82rem;font-weight:600}.sibling-results{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:20;display:grid;grid-gap:8px;gap:8px;border:1px solid var(--gray-200);border-radius:var(--radius);padding:8px;background:var(--white);box-shadow:0 16px 32px rgba(15,23,42,.08)}.sibling-result{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;border:1px solid transparent;border-radius:10px;padding:10px 12px;background:transparent;color:var(--text);text-align:left}.sibling-result:hover{background:#eef4ff;border-color:#d9e6ff}.sibling-result-name{font-weight:600}.sibling-empty,.sibling-result-meta{margin:0}.sibling-result-meta{color:var(--gray-500);font-size:.82rem}.guardian-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;flex-wrap:wrap}.form-error{margin:14px 0 0;color:var(--danger);font-weight:600}.enrollment-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.inline-message{padding:10px 12px;border-radius:10px;font-size:.92rem;font-weight:600}.inline-message.success{background:var(--green-soft);color:var(--green-dark)}.inline-message.error{background:#fdecea;color:#a53b2e}.enrollment-card,.enrollment-editor{border:1px solid var(--gray-200);border-radius:var(--radius);background:var(--white);box-shadow:var(--shadow);padding:18px 20px}.enrollment-card-header,.enrollment-editor-header,.payments-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap}.enrollment-card-title{margin:0 0 4px;font-size:1.45rem;color:#20324a}.enrollment-meta-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:18px 24px;gap:18px 24px;margin-top:18px}.fee-breakdown-card{margin-top:18px;border:1px solid rgba(44,122,75,.55);background:#eef8f1;border-radius:var(--radius);padding:18px 20px}.fee-breakdown-title,.payments-title{margin:0 0 12px;font-size:1.05rem;color:var(--green-dark)}.fee-breakdown-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-gap:14px;gap:14px;margin-bottom:14px}.fee-breakdown-summary span{display:block;color:var(--gray-500);font-size:.82rem;text-transform:uppercase;letter-spacing:.05em;font-weight:700;margin-bottom:4px}.fee-breakdown-summary strong{line-height:1.4}.fee-breakdown-table-wrap th,.payments-table-wrap th{background:var(--green)}.payments-card{margin-top:18px;padding-top:18px;border-top:1px solid var(--gray-200)}.payment-form{margin-bottom:16px;padding:16px;border:1px solid var(--gray-200);border-radius:var(--radius);background:#fafcfd}.balance-summary{margin-top:14px;background:var(--green-soft);color:var(--green-dark);border-radius:var(--radius);padding:12px 14px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.payments-actions-cell{text-align:right}.checkbox-row{display:flex;flex-wrap:wrap;gap:8px}.checkbox-pill{display:inline-flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid var(--gray-300);border-radius:999px;background:var(--white);font-size:.92rem}.attachment-row{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.field-wide{grid-column:1/-1}.form-actions{display:flex;justify-content:flex-end;gap:10px}.expenses-header{display:grid;grid-gap:18px;gap:18px}.expenses-title-row{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}.expenses-add-btn{height:44px;padding:0 16px}.amount-cell{font-weight:700;color:var(--green-dark);white-space:nowrap}.expenses-total{text-align:right;font-size:1.25rem;font-weight:700;color:#20324a}.empty-state-cell{text-align:center;color:var(--gray-500)}.merch-toolbar{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;flex-wrap:wrap}.merch-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:18px 24px;gap:18px 24px}.merch-order-lines{display:grid;grid-gap:16px;gap:16px;margin-top:18px}.merch-order-line{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto;grid-gap:14px;gap:14px;padding:16px;border:1px solid var(--gray-200);border-radius:var(--radius);background:#fafcfd}.merch-line-meta{grid-column:1/-2;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:12px;gap:12px}.merch-line-meta span{display:block;margin-bottom:4px;color:var(--gray-500);font-size:.82rem;text-transform:uppercase;letter-spacing:.05em;font-weight:700}.merch-order-line-actions{display:flex;align-items:flex-end}.merch-total-row{margin-top:16px;text-align:right;font-size:1.15rem;font-weight:700}.merch-inline-form{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.merch-inline-form input{border:1px solid var(--gray-300);border-radius:var(--radius);padding:8px 10px}.merch-stock-warning{color:var(--danger);font-weight:700}.settings-section-header{align-items:flex-start;margin-bottom:18px}.settings-page-header,.settings-section-header{display:flex;justify-content:space-between;gap:16px}.settings-page-header{align-items:flex-end}.settings-page-header h1{margin:0 0 6px;font-size:1.8rem;color:#20324a}.settings-page-header p{margin:0}.settings-tabs{display:flex;gap:18px;border-bottom:1px solid var(--gray-200)}.settings-subtabs{display:flex;gap:10px;flex-wrap:wrap}.settings-tab{display:inline-flex;align-items:center;min-height:42px;padding:0 2px;border-bottom:3px solid transparent;color:#4d5b74;font-weight:700}.settings-tab.active{color:var(--green);border-bottom-color:var(--green)}.settings-subtab{display:inline-flex;align-items:center;min-height:40px;padding:0 16px;border-radius:999px;border:1px solid var(--gray-300);background:var(--white);color:#4d5b74;font-weight:700}.settings-subtab.active{background:var(--green-soft);border-color:var(--green);color:var(--green-dark)}.settings-tab-panel{display:grid;grid-gap:24px;gap:24px}.settings-alert{padding:16px 18px;border-radius:16px;border:1px solid rgba(214,137,16,.45);background:linear-gradient(180deg,#fffaf0,#ffffff);text-align:left}.settings-alert p{margin:0}.settings-stack{margin-top:20px}.settings-form,.settings-program-form,.settings-stack,.settings-user-form{display:grid;grid-gap:18px;gap:18px}.settings-program-card,.settings-role-card,.settings-user-card{border:1px solid var(--gray-200);border-radius:var(--radius);background:#fbfcfe;padding:18px 20px}.settings-role-card-create{background:linear-gradient(180deg,#f6fbf7,#fbfcfe)}.settings-program-card h3,.settings-role-card h3,.settings-user-card h3{margin:0 0 4px;font-size:1.1rem}.settings-program-card p,.settings-role-card p,.settings-user-card p{margin:0;color:var(--gray-500)}.settings-row-title{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px}.settings-permission-grid{display:grid;grid-gap:14px;gap:14px}.settings-module-card{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding:14px 16px;border:1px solid var(--gray-200);border-radius:12px;background:var(--white)}.settings-module-card strong{display:block;margin-bottom:4px;color:#20324a}.settings-module-toggles{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.settings-user-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:16px;gap:16px;align-items:end}.settings-program-form{grid-template-columns:repeat(6,minmax(0,1fr)) auto;align-items:end}.settings-program-actions,.settings-program-form .form-actions{display:flex;align-items:center;gap:10px}.settings-program-form .form-actions{margin-top:0}.settings-program-editor{padding:16px;border-radius:14px;background:#fafcfd}.settings-program-amounts{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:8px;color:var(--gray-600);font-size:.92rem}.settings-program-amounts span{border:1px solid var(--gray-200);border-radius:999px;background:var(--white);padding:6px 10px}.settings-program-editor-cell{padding:0;background:#fdfefe}.settings-program-editor-cell .settings-program-form{border-top:1px solid var(--gray-200)}.app-loading-overlay{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(22,31,44,.45);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.app-loading-dialog{width:min(420px,100%);border:1px solid rgba(36,48,67,.08);border-radius:18px;background:rgba(255,255,255,.98);box-shadow:0 24px 60px rgba(18,32,54,.18);padding:28px 24px;text-align:center}.app-loading-dialog h2{margin:0 0 10px;font-size:1.2rem;color:#20324a}.app-loading-dialog p{margin:0;color:#536277;line-height:1.5}.app-loading-spinner{width:52px;height:52px;margin:0 auto 18px;border:4px solid rgba(44,122,75,.16);border-top:4px solid var(--green);border-radius:999px;animation:app-loading-spin .85s linear infinite}@keyframes app-loading-spin{to{transform:rotate(1turn)}}@media (max-width:900px){.form-grid,.grid.cols-2,.grid.cols-4,.meta-grid{grid-template-columns:1fr}.info-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.guardian-contact-grid,.guardian-grid,.guardian-hero,.guardian-info-grid,.guardian-info-groups,.guardian-student-summary-grid{grid-template-columns:1fr}.enrollment-meta-grid,.fee-breakdown-summary{grid-template-columns:1fr 1fr}.header-inner{padding:18px 0}.header-inner,.header-meta{width:100%;align-items:flex-start;flex-direction:column}.header-nav-wrap,.header-user,.header-user-actions{width:100%}.header-nav{width:100%;border-radius:22px}.header-user{justify-content:space-between;align-items:center;flex-direction:row;width:100%;gap:10px;padding:10px 0 0;border-left:0;border-top:1px solid rgba(255,255,255,.16)}.header-user-copy{flex:1 1 auto;text-align:left;max-width:none}.header-user-actions{width:auto;justify-content:flex-end;flex:0 0 auto}.header-tenant-form{width:100%;align-items:stretch;flex-wrap:wrap}.header-tenant-picker{flex:1 1 240px;min-width:0}.dashboard-hero{align-items:flex-start;flex-direction:column}.dashboard-grid{grid-template-columns:1fr}.actions{flex-wrap:wrap}.toolbar-filter-group{width:100%}.filter-menu{flex:1 1 220px}.filter-trigger{width:100%}.filter-popover{width:100%;min-width:0}.detail-header,.detail-topbar{align-items:flex-start;flex-direction:column}.guardian-contact-topline,.guardian-section-heading,.guardian-student-hero{flex-direction:column}.guardian-student-status{justify-items:start;text-align:left}.balance-summary,.expenses-title-row{flex-direction:column}.expenses-title-row{align-items:flex-start}.merch-line-meta,.merch-summary-grid,.settings-program-form,.settings-user-fields{grid-template-columns:1fr}.settings-module-card,.settings-row-title{align-items:flex-start;flex-direction:column}.settings-program-amounts{justify-content:flex-start}}@media (max-width:1200px){.form-grid,.merch-order-line{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:640px){body{font-size:15px}.header-inner,.page-shell{width:min(100% - 20px,1240px)}.page-shell{margin:14px auto 28px}.landing-page{gap:28px}.landing-hero{min-height:620px;padding:28px 18px}.landing-hero-image{object-position:56% top}.landing-hero-overlay{background:linear-gradient(180deg,rgba(13,30,21,.12),rgba(13,30,21,.74) 42%,rgba(13,30,21,.94))}.landing-hero h1{max-width:12ch;font-size:clamp(2.25rem,10.5vw,3.2rem);line-height:1}.landing-lede{font-size:1rem;line-height:1.5}.landing-eyebrow,.landing-section-label{font-size:.76rem}.landing-actions,.landing-actions .btn-chip{width:100%}.landing-actions .btn-chip,.landing-contact .btn-chip{justify-content:center}.landing-facts{margin-top:-14px}.guardian-contact-grid,.guardian-hero-stats,.guardian-info-grid,.landing-facts{grid-template-columns:1fr}.guardian-hero,.guardian-section-card,.guardian-student-card{border-radius:22px}.guardian-hero{padding:22px 18px}.guardian-student-card{padding:18px}.guardian-student-identity{align-items:flex-start}.guardian-student-avatar{width:56px;height:56px;border-radius:18px}.landing-fact{min-height:0;padding:16px 18px;border-bottom:1px solid var(--gray-200)}.landing-fact,.landing-fact:nth-child(2){border-right:none}.landing-fact:nth-child(-n+2){border-bottom:1px solid var(--gray-200)}.landing-fact:last-child{border-bottom:none}.landing-branches,.landing-contact,.landing-intro,.landing-program-panel,.landing-rhythm{gap:18px;padding:24px 0}.landing-contact,.landing-program-panel{padding:24px 18px}.landing-branches h2,.landing-contact h2,.landing-intro h2,.landing-program-panel h2,.landing-rhythm h2{font-size:clamp(1.75rem,8vw,2.25rem);line-height:1.12}.landing-photo-carousel{padding:22px 14px}.landing-carousel-controls{width:100%;justify-content:flex-end}.landing-carousel-controls button{flex:0 0 44px}.landing-carousel-card{min-height:260px}.landing-pill-row{gap:8px}.landing-pill-row span{min-height:38px;padding:0 12px;font-size:.92rem}.page-stack{gap:16px}.app-header{position:-webkit-sticky;position:sticky;top:0;z-index:30}.header-inner{padding:10px 0 12px}.brand{width:100%;min-width:0}.brand-mark{width:36px;height:36px;flex-basis:36px}.brand-copy{min-width:0;gap:2px}.brand-name{font-size:1.5rem}.brand-tenant-id{max-width:22ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.8rem}.header-meta{gap:10px}.header-nav-wrap{width:100%;justify-content:stretch}.header-nav{display:flex;gap:6px;padding:6px;overflow-x:auto;flex-wrap:nowrap;border-radius:16px;scrollbar-width:none}.header-nav::-webkit-scrollbar{display:none}.header-nav a{flex:0 0 auto;min-width:auto;min-height:38px;padding:0 14px;font-size:.9rem;white-space:nowrap}.settings-nav-link{gap:6px}.settings-nav-icon{width:22px;height:22px}.header-user{align-items:center;flex-direction:row;gap:8px;padding:12px 0 0}.header-user-copy{display:grid;text-align:left}.header-user form,.header-user-actions{width:auto}.header-user-actions{gap:8px;margin-left:auto}.header-action-btn{min-height:40px;border-radius:12px}.dashboard-hero{gap:16px;padding:22px 18px;border-radius:14px}.dashboard-hero h1{font-size:1.55rem;line-height:1.15}.dashboard-hero-actions,.expenses-title-row>.actions,.form-actions{width:100%}.dashboard-hero-actions .btn-chip,.expenses-title-row>.actions .btn-chip,.form-actions .btn-chip,.form-actions .btn-danger{flex:1 1 140px}.card,.enrollment-card,.enrollment-editor,.guardian-card,.settings-program-card,.settings-role-card,.settings-user-card{padding:16px}.auth-shell{min-height:calc(100vh - 88px);padding:24px 10px}.auth-card{width:min(100%,440px);padding:28px 22px 24px;border-radius:22px}.auth-copy h1{max-width:10ch;font-size:clamp(2rem,8vw,2.55rem)}.auth-copy .muted{font-size:1rem}.expenses-add-btn,.filter-menu,.student-toolbar-search,.toolbar,.toolbar-count,.toolbar-filter-group,.toolbar-search,.toolbar-select{width:100%}.toolbar-count{order:3}.filter-trigger,.toolbar-search,.toolbar-select{min-width:0}.filter-popover{position:fixed;top:auto;right:10px;bottom:10px;left:10px;width:auto;max-height:70vh;overflow:auto}.active-filter-row{align-items:stretch}.active-filter-chip{justify-content:space-between;max-width:100%}.detail-tabs,.settings-tabs{gap:16px;overflow-x:auto;padding-bottom:1px;scrollbar-width:none}.detail-tabs::-webkit-scrollbar,.settings-tabs::-webkit-scrollbar{display:none}.detail-tab,.settings-tab{flex:0 0 auto;white-space:nowrap}.detail-shell{padding:8px 0 14px}.detail-panel,.detail-topbar,.info-grid{padding-right:16px;padding-left:16px}.enrollment-meta-grid,.fee-breakdown-summary,.form-grid,.info-grid,.merch-line-meta,.merch-order-line,.meta-grid,.settings-program-form,.settings-user-fields{grid-template-columns:1fr}.table-wrap{overflow:visible;border:0;background:transparent}table,tbody,td,thead,tr{display:block;width:100%}thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}tbody{display:grid;grid-gap:12px;gap:12px}tbody tr{border:1px solid var(--gray-200);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}tbody tr,tbody tr:hover{background:var(--white)}td{display:grid;grid-template-columns:minmax(88px,38%) minmax(0,1fr);grid-gap:12px;gap:12px;min-height:44px;padding:11px 14px;border-bottom:1px solid var(--gray-200);align-items:center}td:last-child{border-bottom:0}td:before{content:attr(data-label);color:var(--gray-500);font-size:.74rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase}td:not([data-label]){display:block}td:not([data-label]):before{content:none}.empty-state-cell,.settings-program-editor-cell{display:block;text-align:center}.settings-program-editor-cell{text-align:left}.actions,.settings-program-actions{justify-content:flex-start;gap:8px}.actions .btn-chip,.actions .btn-danger{min-height:34px}.expenses-total,.merch-total-row,.payments-actions-cell{text-align:left}.settings-page-header,.settings-section-header{align-items:flex-start;flex-direction:column}}