/* V9 WOW HOMEPAGE PREVIEW — structural redesign, functions preserved */
:root{
  --v9-navy:#0f3270;--v9-blue:#1f78f2;--v9-sky:#eaf5ff;--v9-orange:#ff8a1f;--v9-yellow:#ffd43b;
  --v9-purple:#8b5cf6;--v9-pink:#ff4f83;--v9-mint:#35c98b;--v9-cream:#fffaf0;--v9-ink:#13315c;
}
body{background:#fff!important;color:var(--v9-ink)!important}
.topnote{display:none!important}
.quick-access,.mobile-dock{display:none!important}
.v9-header{position:sticky!important;top:0!important;z-index:200!important;background:rgba(255,255,255,.96)!important;border-bottom:1px solid #edf2fa!important;box-shadow:0 8px 32px rgba(26,67,128,.07)!important;backdrop-filter:blur(18px)!important}
.v9-nav{min-height:88px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important}
.v9-brand{display:flex!important;align-items:center!important;gap:11px!important;text-decoration:none!important}.v9-brand img{width:54px!important;height:54px!important;object-fit:cover!important;border-radius:17px!important}.v9-brand b{font-size:20px!important;color:#0b2d6c!important;letter-spacing:-.02em!important}.v9-brand small{display:block!important;font-size:8px!important;letter-spacing:.13em!important;color:#768ba7!important;margin-top:2px!important}
.v9-nav-actions{display:flex;align-items:center;gap:10px}.v9-study-pill{border:0;background:linear-gradient(135deg,#ff7d43,#ffb61f);color:#fff;border-radius:999px;padding:12px 18px;display:flex;align-items:center;gap:8px;font:inherit;font-size:13px;font-weight:900;box-shadow:0 10px 24px rgba(255,135,39,.25);cursor:pointer}.v9-cap-icon{display:inline-flex;width:21px;height:21px;align-items:center;justify-content:center}.v9-cap-icon svg{width:100%;height:100%;fill:currentColor}.v9-menu{display:none!important;width:48px!important;height:48px!important;border-radius:16px!important;background:#f6f9ff!important;border:1px solid #e6eefb!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;gap:5px!important;padding:0!important}.v9-menu span{display:block;width:22px;height:2px;background:#0f3270;border-radius:10px}
.v9-drawer{display:flex;align-items:center;gap:12px}.v9-drawer-head,.v9-drawer-promo{display:none}.v9-drawer>a,.v9-drawer>button{font:inherit!important;border:0!important;background:transparent!important;color:#355277!important;font-size:13px!important;font-weight:800!important;text-decoration:none!important;padding:10px 8px!important;display:flex!important;align-items:center!important;gap:10px!important}.v9-drawer>button i,.v9-mi{display:none}

.v9-hero{padding:30px 0 28px!important;background:linear-gradient(180deg,#fff 0%,#fff 75%,#fffaf2 100%)!important;overflow:hidden}.v9-hero .wrap{position:relative}.v9-hero-card{position:relative;min-height:520px;border-radius:38px;overflow:hidden;background:linear-gradient(130deg,#eaf6ff 0%,#f8f6ff 42%,#fff1d7 100%);box-shadow:0 24px 70px rgba(24,74,140,.13);display:grid;grid-template-columns:1.03fr .97fr;align-items:center}.v9-hero-card:before{content:"";position:absolute;left:-90px;bottom:-130px;width:360px;height:360px;border-radius:50%;background:linear-gradient(145deg,#a9c6ff,#c8b5ff);opacity:.46}.v9-hero-card:after{content:"";position:absolute;right:-90px;top:-120px;width:300px;height:300px;border-radius:50%;background:#ffe08f;opacity:.5}.v9-hero-copy{position:relative;z-index:4;padding:62px 12px 62px 64px}.v9-eyebrow{font-size:11px;font-weight:1000;letter-spacing:.14em;color:#2770c9;margin-bottom:18px}.v9-hero h1{margin:0!important;color:#173d80!important;font-size:62px!important;line-height:.94!important;letter-spacing:-.055em!important;font-weight:1000!important}.v9-hero h1 span{color:var(--v9-pink)!important}.v9-hero h1 strong{font-size:.72em;font-weight:1000;color:#1d4f9c}.v9-hero-copy p{max-width:560px;margin:24px 0 28px;color:#577092;font-size:16px;line-height:1.75}.v9-hero-cta{border:0;border-radius:999px;background:linear-gradient(135deg,#ffd62e,#ff9c18);color:#11356f;padding:15px 24px;display:inline-flex;align-items:center;gap:10px;font:inherit;font-size:15px;font-weight:1000;box-shadow:0 14px 30px rgba(255,160,25,.25);cursor:pointer}.v9-arrow{font-size:22px;margin-left:3px}.v9-hero-photo{position:absolute;right:0;top:0;bottom:0;width:49%;z-index:2;overflow:hidden}.v9-hero-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#f5f7ff 0%,rgba(245,247,255,.18) 32%,rgba(255,255,255,0) 66%)}.v9-hero-photo img{width:100%;height:100%;object-fit:cover;object-position:center top;display:block}.v9-doodle{position:absolute;z-index:5;font-weight:900}.v9-doodle.d1{left:4%;top:9%;font-size:38px;color:#ffb41f}.v9-doodle.d2{left:43%;bottom:11%;font-size:44px;color:#ff5d8b;transform:rotate(-12deg)}.v9-doodle.d3{right:45%;top:12%;font-size:44px;color:#267ce9;transform:rotate(-14deg)}
.v9-benefits{position:relative;z-index:8;margin:-26px 34px 0;background:rgba(255,255,255,.97);border:1px solid #edf1f8;border-radius:24px;box-shadow:0 18px 48px rgba(28,76,135,.11);padding:18px 20px;display:grid;grid-template-columns:repeat(4,1fr)}.v9-benefits>div{display:flex;align-items:center;justify-content:center;gap:12px;padding:3px 18px;border-right:1px solid #edf1f7}.v9-benefits>div:last-child{border-right:0}.v9-benefits b{font-size:12px;line-height:1.35;color:#153a78}.v9-benefit-icon{width:43px;height:43px;border-radius:15px;position:relative;display:inline-block;flex:0 0 auto}.v9-benefit-icon.chart{background:#e8f3ff}.v9-benefit-icon.chart:after{content:"";position:absolute;left:11px;bottom:10px;width:6px;height:11px;border-radius:3px;background:#2c83f3;box-shadow:9px -7px 0 #2c83f3,18px -14px 0 #2c83f3}.v9-benefit-icon.heart{background:#fff0f5}.v9-benefit-icon.heart:after{content:"♥";position:absolute;inset:0;display:grid;place-items:center;color:#ff4f83;font-size:25px}.v9-benefit-icon.people{background:#e9f6ff}.v9-benefit-icon.people:after{content:"● ●";position:absolute;left:7px;top:5px;color:#2183ed;font-size:12px;letter-spacing:0}.v9-benefit-icon.people:before{content:"";position:absolute;left:8px;right:8px;bottom:9px;height:12px;border-radius:12px 12px 6px 6px;background:#2183ed}.v9-benefit-icon.star{background:#fff7d9}.v9-benefit-icon.star:after{content:"★";position:absolute;inset:0;display:grid;place-items:center;color:#ffb700;font-size:25px}

.class-path{padding:62px 0 64px!important;background:#fff!important}.class-path-head{justify-content:center!important;text-align:center!important;margin-bottom:24px!important}.class-path-head .eyebrow{color:#ff9f1c!important}.class-path-head h2{font-size:34px!important;color:#123b7a!important;margin:4px 0!important}.v9-class-sub{margin:8px 0 0;color:#6f84a0;font-size:13px}.class-path-head>a{display:none!important}.class-path-grid{display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:14px!important;overflow:visible!important}.class-chip{min-width:0!important;min-height:188px!important;border:0!important;border-radius:28px!important;padding:24px 18px!important;display:flex!important;flex-direction:column!important;justify-content:flex-end!important;position:relative!important;overflow:hidden!important;box-shadow:none!important}.class-chip:before{content:"";position:absolute;width:110px;height:110px;border-radius:50%;right:-28px;top:-24px;background:rgba(255,255,255,.65)}.class-chip:after{content:"";position:absolute;right:18px;top:26px;width:56px;height:56px;border-radius:18px;background:rgba(255,255,255,.8);box-shadow:0 8px 20px rgba(29,66,120,.08)}.class-chip>span{position:absolute!important;right:32px!important;top:34px!important;width:auto!important;height:auto!important;background:transparent!important;color:inherit!important;font-size:30px!important;font-weight:1000!important;z-index:2!important}.class-chip>b{font-size:19px!important;color:#14386f!important;z-index:2}.class-chip>small{font-size:11px!important;line-height:1.45!important;color:#65809d!important;margin-top:5px!important;z-index:2}.class-chip:nth-child(1){background:#fff0f5!important}.class-chip:nth-child(2){background:#fff5d9!important}.class-chip:nth-child(3){background:#eaf4ff!important}.class-chip:nth-child(4){background:#f1eaff!important}.class-chip:nth-child(5){background:#e8fbf3!important}.class-chip:nth-child(1)>span{color:#ff4f83!important}.class-chip:nth-child(2)>span{color:#ff950f!important}.class-chip:nth-child(3)>span{color:#2478ef!important}.class-chip:nth-child(4)>span{color:#7a4dea!important}.class-chip:nth-child(5)>span{color:#17a36e!important}

#schedule{display:none!important}.info-line:last-child{display:none!important}

@media(max-width:760px){
  .v9-header{position:sticky!important}.v9-nav{min-height:78px!important;padding-top:4px!important;padding-bottom:4px!important}.v9-brand img{width:47px!important;height:47px!important;border-radius:15px!important}.v9-brand b{font-size:17px!important}.v9-brand small{font-size:6.5px!important}.v9-study-pill{padding:10px 13px!important;font-size:12px!important}.v9-study-pill .v9-cap-icon{width:18px;height:18px}.v9-menu{display:flex!important}.v9-drawer{display:none!important;position:fixed!important;z-index:500!important;top:0!important;right:0!important;bottom:0!important;left:12%!important;background:#fff!important;border:0!important;border-radius:30px 0 0 30px!important;padding:22px 22px calc(24px + env(safe-area-inset-bottom))!important;box-shadow:-20px 0 60px rgba(15,48,100,.22)!important;overflow:auto!important;flex-direction:column!important;align-items:stretch!important;gap:0!important}.v9-drawer.open{display:flex!important}.v9-drawer:before{content:"";position:fixed;inset:0 88% 0 0;background:rgba(13,35,76,.35);backdrop-filter:blur(2px);z-index:-1}.v9-drawer-head{display:flex!important;align-items:center;justify-content:space-between;margin-bottom:18px}.v9-drawer-brand{display:flex;align-items:center;gap:9px}.v9-drawer-brand img{width:48px;height:48px;border-radius:14px;object-fit:cover}.v9-drawer-brand b{display:block;font-size:17px;color:#0e3476}.v9-drawer-brand small{font-size:6.5px;letter-spacing:.11em;color:#7990aa}.v9-close{width:44px;height:44px;border-radius:50%;border:1px solid #e6edf8;background:#fff;color:#153d79;font-size:29px;line-height:1;cursor:pointer}.v9-drawer>a,.v9-drawer>button{width:100%!important;min-height:57px!important;border-bottom:1px solid #edf2f8!important;border-radius:0!important;padding:10px 6px!important;justify-content:flex-start!important;font-size:14px!important;color:#173c78!important}.v9-drawer>a:first-of-type{background:#eef5ff!important;border-radius:18px!important;border-bottom:0!important;margin-bottom:5px}.v9-drawer>button i{display:block!important;margin-left:auto;font-style:normal;font-size:26px;color:#91a2b9}.v9-mi{display:inline-grid!important;place-items:center;width:38px;height:38px;border-radius:12px;position:relative}.v9-mi:after{font-size:20px}.v9-mi.home{background:#eaf4ff}.v9-mi.home:after{content:"⌂";color:#257bf1;font-weight:1000}.v9-mi.study{background:#edf3ff}.v9-mi.study:after{content:"◆";color:#183e86;font-size:15px}.v9-mi.news{background:#fff2dc}.v9-mi.news:after{content:"◢";color:#ff9b15}.v9-mi.parent{background:#eaf5ff}.v9-mi.parent:after{content:"●●";color:#2884f2;font-size:11px}.v9-mi.consult{background:#f3ebff}.v9-mi.consult:after{content:"•••";color:#8b5cf6;font-weight:1000}.v9-mi.lock{background:#fff3d9}.v9-mi.lock:after{content:"▣";color:#e2a30b}.v9-mi.phone{background:#fff0f4}.v9-mi.phone:after{content:"☎";color:#ff4f83}.v9-drawer-promo{display:flex!important;margin-top:22px;border-radius:22px;background:linear-gradient(135deg,#e8f4ff,#fff1f7);overflow:hidden;min-height:125px;align-items:center}.v9-drawer-promo>div{padding:16px 0 16px 18px;position:relative;z-index:2}.v9-drawer-promo small{display:block;font-size:8px;font-weight:1000;letter-spacing:.12em;color:#4776af;margin-bottom:7px}.v9-drawer-promo strong{font-size:17px;line-height:1.15;color:#123b7a}.v9-drawer-promo img{width:47%;align-self:stretch;object-fit:cover;object-position:center top}

  .v9-hero{padding:12px 0 20px!important}.v9-hero .wrap{width:100%!important;max-width:none!important;padding:0!important}.v9-hero-card{min-height:620px!important;border-radius:0!important;display:block!important;box-shadow:none!important;background:linear-gradient(160deg,#eef7ff 0%,#fff 52%,#fff0d6 100%)!important}.v9-hero-photo{position:absolute!important;right:0!important;top:0!important;bottom:auto!important;width:100%!important;height:61%!important;z-index:1!important}.v9-hero-photo:after{background:linear-gradient(180deg,rgba(255,255,255,0) 45%,#f7faff 90%,#f7faff 100%)!important}.v9-hero-photo img{object-position:center 16%!important}.v9-hero-copy{position:absolute!important;left:0!important;right:0!important;bottom:34px!important;z-index:4!important;padding:0 24px!important;text-align:left!important}.v9-eyebrow{font-size:8px!important;letter-spacing:.12em!important;margin-bottom:9px!important;color:#386fae!important}.v9-hero h1{font-size:43px!important;line-height:.93!important;max-width:360px!important;text-shadow:0 1px 0 rgba(255,255,255,.7)!important}.v9-hero h1 strong{font-size:.68em!important}.v9-hero-copy p{font-size:12.5px!important;line-height:1.55!important;margin:13px 0 17px!important;max-width:350px!important;color:#536f92!important}.v9-hero-cta{width:100%!important;justify-content:center!important;padding:14px 18px!important;font-size:14px!important}.v9-doodle.d1{left:5%!important;top:5%!important;font-size:30px!important}.v9-doodle.d2{left:auto!important;right:7%!important;bottom:8%!important;font-size:36px!important}.v9-doodle.d3{right:5%!important;top:8%!important;font-size:35px!important}.v9-benefits{margin:-6px 14px 0!important;border-radius:20px!important;padding:12px 8px!important;grid-template-columns:repeat(4,1fr)!important;box-shadow:0 12px 30px rgba(28,76,135,.10)!important}.v9-benefits>div{padding:4px 4px!important;gap:5px!important;flex-direction:column!important;text-align:center!important}.v9-benefits b{font-size:8px!important;line-height:1.25!important}.v9-benefit-icon{width:32px!important;height:32px!important;border-radius:11px!important}.v9-benefit-icon.chart:after{left:8px!important;bottom:8px!important;width:4px!important;height:8px!important;box-shadow:7px -5px 0 #2c83f3,14px -10px 0 #2c83f3!important}.v9-benefit-icon.heart:after,.v9-benefit-icon.star:after{font-size:19px!important}.v9-benefit-icon.people:before{left:6px!important;right:6px!important;bottom:7px!important;height:9px!important}.v9-benefit-icon.people:after{left:5px!important;top:3px!important;font-size:9px!important}

  .class-path{padding:42px 14px 50px!important}.class-path .wrap{width:100%!important;max-width:none!important}.class-path-head{margin-bottom:18px!important}.class-path-head h2{font-size:27px!important}.v9-class-sub{font-size:11px!important}.class-path-grid{grid-template-columns:repeat(2,1fr)!important;gap:10px!important}.class-chip{min-height:142px!important;border-radius:22px!important;padding:17px 14px!important}.class-chip:last-child{grid-column:1/-1!important;min-height:130px!important}.class-chip:after{width:44px!important;height:44px!important;right:14px!important;top:18px!important;border-radius:14px!important}.class-chip>span{right:25px!important;top:26px!important;font-size:24px!important}.class-chip>b{font-size:17px!important}.class-chip>small{font-size:9.5px!important;max-width:120px!important}
}

/* V9 PART 1 — parent-first Header + Hero */
body{padding-bottom:0!important}
.v9-hero-card{background:linear-gradient(128deg,#edf7ff 0%,#f7f3ff 46%,#fff0d5 100%)!important}
.v9-hero h1{font-size:clamp(48px,5.3vw,68px)!important;line-height:.98!important;letter-spacing:-.052em!important;color:#153d80!important;max-width:760px!important}
.v9-hero h1 span{color:#ff4f83!important;font-weight:1000!important}
.v9-hero-lead{font-weight:750!important;color:#4d688d!important;max-width:600px!important}
.v9-hero-lead b{color:#ff9c1a!important;margin:0 4px!important}
.v9-hero-trust{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.v9-hero-trust span{font-size:10.5px;font-weight:850;color:#315b8f;background:rgba(255,255,255,.72);border:1px solid rgba(48,106,175,.10);border-radius:999px;padding:7px 10px;backdrop-filter:blur(8px)}
.v9-hero-cta{background:linear-gradient(135deg,#ff7a42,#ffad19)!important;box-shadow:0 13px 28px rgba(255,133,35,.25)!important}
@media(max-width:760px){
  body{padding-bottom:0!important}
  .v9-nav{padding-left:14px!important;padding-right:14px!important}
  .v9-brand div{max-width:125px}.v9-brand small{white-space:nowrap}
  .v9-hero-card{min-height:650px!important;background:linear-gradient(165deg,#eaf6ff 0%,#f8f5ff 52%,#fff0d6 100%)!important}
  .v9-hero-photo{height:58%!important}
  .v9-hero-photo img{object-position:center 14%!important}
  .v9-hero-copy{bottom:25px!important;padding:0 22px!important}
  .v9-eyebrow{font-size:7.5px!important;margin-bottom:8px!important}
  .v9-hero h1{font-size:39px!important;line-height:.98!important;letter-spacing:-.045em!important;max-width:350px!important}
  .v9-hero-lead{font-size:11.5px!important;line-height:1.55!important;margin:12px 0 14px!important;max-width:340px!important}
  .v9-hero-trust{gap:5px!important;margin-top:10px!important}
  .v9-hero-trust span{font-size:8.2px!important;padding:5px 7px!important}
  .v9-hero-cta{padding:13px 16px!important}
}

/* V9 PART 1.1 — live mobile polish after iPhone review */
@media(max-width:760px){
  .v9-nav{min-height:70px!important;padding:5px 12px!important;gap:8px!important}
  .v9-brand{gap:7px!important;min-width:0!important;flex:1 1 auto!important}
  .v9-brand img{width:42px!important;height:42px!important;border-radius:13px!important}
  .v9-brand div{max-width:none!important;min-width:0!important}
  .v9-brand b{font-size:15.5px!important;white-space:nowrap!important}
  .v9-brand small{font-size:5.8px!important;letter-spacing:.09em!important;white-space:nowrap!important}
  .v9-nav-actions{gap:7px!important;flex:0 0 auto!important}
  .v9-study-pill{height:43px!important;padding:0 13px!important;font-size:11.5px!important;white-space:nowrap!important;gap:6px!important}
  .v9-study-pill .v9-cap-icon{width:16px!important;height:16px!important}
  .v9-menu{width:43px!important;height:43px!important;border-radius:14px!important;flex:0 0 43px!important}
  .v9-menu span{width:20px!important}

  .v9-hero{padding:12px 0 20px!important}
  .v9-hero .wrap{padding-left:0!important;padding-right:0!important}
  .v9-hero-card{min-height:575px!important;border-radius:0!important;box-shadow:none!important;background:linear-gradient(165deg,#edf7ff 0%,#f8f3ff 58%,#fff0d8 100%)!important;display:block!important}
  .v9-hero-photo{position:absolute!important;left:0!important;right:0!important;top:0!important;width:100%!important;height:48%!important;bottom:auto!important;z-index:2!important}
  .v9-hero-photo img{object-position:center 19%!important}
  .v9-hero-photo:after{background:linear-gradient(180deg,rgba(255,255,255,0) 50%,rgba(244,243,255,.28) 68%,#f6f3ff 96%)!important}
  .v9-hero-copy{position:absolute!important;left:0!important;right:0!important;bottom:0!important;z-index:5!important;padding:0 20px 20px!important;background:linear-gradient(180deg,rgba(246,243,255,0) 0%,rgba(246,243,255,.94) 12%,rgba(255,242,220,.98) 100%)!important}
  .v9-eyebrow{font-size:7px!important;letter-spacing:.12em!important;margin:0 0 7px!important}
  .v9-hero h1{font-size:36px!important;line-height:.96!important;letter-spacing:-.045em!important;max-width:340px!important}
  .v9-hero-lead{font-size:10.8px!important;line-height:1.48!important;margin:10px 0 12px!important;max-width:350px!important}
  .v9-hero-cta{min-height:48px!important;width:auto!important;padding:0 18px!important;font-size:13px!important;box-shadow:0 10px 22px rgba(255,133,35,.22)!important}
  .v9-arrow{font-size:18px!important}
  .v9-hero-trust{margin-top:9px!important;gap:5px!important;flex-wrap:nowrap!important;overflow:hidden!important}
  .v9-hero-trust span{font-size:7.2px!important;padding:5px 6px!important;white-space:nowrap!important}
  .v9-doodle.d1{top:30%!important;left:5%!important;font-size:25px!important}.v9-doodle.d2{bottom:12%!important;right:6%!important;left:auto!important;font-size:30px!important}.v9-doodle.d3{top:18%!important;right:5%!important;font-size:28px!important}
  .v9-benefits{margin:-1px 12px 0!important;border-radius:20px!important;padding:11px 7px!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;box-shadow:0 12px 32px rgba(28,76,135,.09)!important}
  .v9-benefits>div{padding:2px 4px!important;gap:5px!important;flex-direction:column!important;text-align:center!important}
  .v9-benefit-icon{width:30px!important;height:30px!important;border-radius:10px!important;transform:scale(.82)!important}
  .v9-benefits b{font-size:7.5px!important;line-height:1.25!important}
}
@media(max-width:390px){
  .v9-brand small{display:none!important}.v9-brand b{font-size:14.5px!important}.v9-study-pill{padding:0 11px!important;font-size:11px!important}
  .v9-hero h1{font-size:34px!important}.v9-hero-card{min-height:560px!important}
}

/* V9 PART 2 — Parent-value section */
.v9-value-section{
  position:relative;
  padding:72px 0 66px!important;
  background:
    radial-gradient(circle at 8% 18%,rgba(113,190,255,.16),transparent 24%),
    radial-gradient(circle at 93% 28%,rgba(255,107,150,.13),transparent 22%),
    linear-gradient(180deg,#fffdfa 0%,#fff 54%,#fff9f4 100%)!important;
  overflow:hidden;
}
.v9-value-section:before{
  content:"";position:absolute;left:-8%;right:-8%;bottom:-110px;height:210px;
  background:linear-gradient(110deg,rgba(255,222,162,.38),rgba(219,202,255,.42),rgba(255,180,210,.34));
  border-radius:50% 50% 0 0/55% 55% 0 0;transform:rotate(-2deg);pointer-events:none;
}
.v9-value-head{position:relative;display:grid;grid-template-columns:64px 1fr 64px;align-items:center;max-width:980px;margin:0 auto 36px;text-align:center}
.v9-value-head>div:nth-child(2){position:relative;z-index:2}
.v9-value-kicker{font-size:11px;letter-spacing:.16em;font-weight:1000;color:#3673bd;margin-bottom:9px}
.v9-value-head h2{margin:0!important;font-size:clamp(34px,4.8vw,54px)!important;line-height:1.04!important;letter-spacing:-.045em!important;color:#133c80!important}
.v9-value-head h2 span{color:#ff4f83!important}
.v9-value-head p{margin:14px 0 0!important;color:#587291!important;font-size:14px!important;font-weight:750!important}
.v9-value-head p b{color:#ff9d1c;margin:0 8px}
.v9-value-spark{font-size:42px;font-weight:900;line-height:1;opacity:.9}.v9-value-spark.left{color:#62aaff;transform:rotate(-15deg)}.v9-value-spark.right{color:#ffb327;transform:rotate(15deg)}
.v9-value-grid{position:relative;z-index:2;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:stretch}
.v9-value-card{position:relative;min-width:0;border-radius:28px;padding:20px 19px 22px;border:1px solid rgba(25,61,122,.06);box-shadow:0 15px 35px rgba(27,71,130,.08);overflow:hidden;transition:transform .22s ease,box-shadow .22s ease}
.v9-value-card:hover{transform:translateY(-5px);box-shadow:0 22px 48px rgba(27,71,130,.12)}
.v9-value-card.blue{background:linear-gradient(155deg,#e5f5ff,#f4faff)}
.v9-value-card.pink{background:linear-gradient(155deg,#fff0f6,#fff8fb)}
.v9-value-card.yellow{background:linear-gradient(155deg,#fff6d9,#fffaf0)}
.v9-value-card.mint{background:linear-gradient(155deg,#e8fbf2,#f7fffb)}
.v9-value-no{position:absolute;top:16px;left:16px;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:11px;font-weight:1000;box-shadow:0 7px 15px rgba(28,75,130,.12)}
.blue .v9-value-no{background:#53a9ff}.pink .v9-value-no{background:#ff6696}.yellow .v9-value-no{background:#ffb520}.mint .v9-value-no{background:#45c98e}
.v9-value-visual{height:132px;display:flex;align-items:center;justify-content:center;margin:3px 0 9px}
.v9-value-visual svg{width:100%;max-width:180px;height:128px;filter:drop-shadow(0 8px 12px rgba(25,61,122,.07))}
.v9-value-card h3{margin:0 0 9px!important;color:#123a7d!important;font-size:19px!important;line-height:1.15!important;letter-spacing:-.02em!important}
.v9-value-card p{margin:0!important;color:#58708d!important;font-size:12px!important;line-height:1.62!important}
.v9-value-note{position:relative;z-index:2;margin:32px auto 0;width:max-content;max-width:100%;display:flex;align-items:center;gap:10px;color:#2469b8;font-size:17px;font-weight:850;font-style:italic;transform:rotate(-1deg)}
.v9-value-note:after{content:"";position:absolute;left:8%;right:8%;bottom:-7px;height:3px;background:linear-gradient(90deg,#ff6b9c,#6faeff);border-radius:999px;opacity:.7}
.v9-value-note i{font-style:normal;color:#ff5f8f;font-size:29px;line-height:1}

@media(max-width:900px){
  .v9-value-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
}
@media(max-width:760px){
  .v9-value-section{padding:42px 0 48px!important}
  .v9-value-section .wrap{width:100%!important;padding:0 14px!important}
  .v9-value-head{grid-template-columns:26px 1fr 26px;margin-bottom:24px}
  .v9-value-kicker{font-size:7.5px!important;letter-spacing:.13em!important;margin-bottom:7px!important}
  .v9-value-head h2{font-size:29px!important;line-height:1.03!important;letter-spacing:-.04em!important}
  .v9-value-head p{font-size:9.4px!important;line-height:1.45!important;margin-top:9px!important;white-space:normal}
  .v9-value-head p b{margin:0 3px!important}
  .v9-value-spark{font-size:23px!important}
  .v9-value-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .v9-value-card{border-radius:21px!important;padding:14px 12px 15px!important;min-height:286px!important}
  .v9-value-no{top:11px!important;left:11px!important;width:27px!important;height:27px!important;font-size:8.5px!important}
  .v9-value-visual{height:103px!important;margin:4px 0 8px!important}
  .v9-value-visual svg{height:100px!important;max-width:145px!important}
  .v9-value-card h3{font-size:14px!important;line-height:1.15!important;margin-bottom:7px!important}
  .v9-value-card p{font-size:9.4px!important;line-height:1.48!important}
  .v9-value-note{margin-top:23px!important;font-size:12px!important;gap:7px!important;text-align:center!important;white-space:normal!important;width:auto!important;justify-content:center!important}
  .v9-value-note i{font-size:22px!important}
}
@media(max-width:390px){
  .v9-value-section .wrap{padding:0 11px!important}.v9-value-grid{gap:8px!important}.v9-value-card{padding:13px 10px 14px!important;min-height:282px!important}.v9-value-card h3{font-size:13.2px!important}.v9-value-card p{font-size:9px!important}.v9-value-head h2{font-size:27px!important}
}

/* V9 PART 3 — Class chooser */
.v9-class-path{padding:76px 0!important;background:radial-gradient(circle at 3% 4%,rgba(255,192,211,.2),transparent 20%),radial-gradient(circle at 96% 5%,rgba(132,181,255,.18),transparent 20%),#fffdfa!important;overflow:hidden}
.v9-class-head{text-align:center;position:relative;margin-bottom:34px}.v9-class-head .eyebrow{color:#ff8c18!important}.v9-class-head h2{font-size:clamp(38px,5vw,58px)!important;line-height:1!important;letter-spacing:-.05em!important;color:#123a7d!important;margin:8px 0 10px!important}.v9-class-head h2 span{color:#ff4f83}.v9-class-head p{margin:0!important;color:#6b83a2!important;font-weight:650}.v9-class-head em{position:absolute;right:2%;top:20px;color:#ff5c8c;font-size:16px;font-weight:800;transform:rotate(-5deg)}
.v9-class-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:16px}.v9-grade-card{grid-column:span 2;position:relative;border-radius:30px;padding:22px 22px 20px;min-height:390px;border:1px solid rgba(20,58,125,.06);box-shadow:0 16px 36px rgba(31,73,132,.08);display:flex;flex-direction:column;overflow:hidden}.v9-grade-card:nth-child(4),.v9-grade-card:nth-child(5){grid-column:span 3}.v9-grade-card.g1{background:linear-gradient(150deg,#fff0f6,#fff9fb)}.v9-grade-card.g2{background:linear-gradient(150deg,#fff6d8,#fffaf0)}.v9-grade-card.g3{background:linear-gradient(150deg,#e8f4ff,#f6fbff)}.v9-grade-card.g4{background:linear-gradient(150deg,#f1e9ff,#faf7ff)}.v9-grade-card.g5{background:linear-gradient(150deg,#e5faef,#f6fffa)}
.v9-grade-top{height:145px;display:flex;align-items:flex-start;justify-content:space-between}.v9-grade-top>span{font-weight:900;color:#173f80;font-size:17px}.v9-grade-top>span b{display:block;font-size:58px;line-height:.95}.g1 .v9-grade-top>span b{color:#ff4f83}.g2 .v9-grade-top>span b{color:#ff970e}.g3 .v9-grade-top>span b{color:#2379ef}.g4 .v9-grade-top>span b{color:#7b45ed}.g5 .v9-grade-top>span b{color:#14a86e}.v9-kid{width:120px;height:112px;border-radius:50% 45% 42% 48%;display:grid;place-items:center;text-align:center;font-size:30px;line-height:1.25;background:rgba(255,255,255,.68);box-shadow:0 10px 25px rgba(30,70,130,.06)}
.v9-grade-card h3{font-size:25px!important;color:#123a7d!important;margin:0 0 10px!important}.v9-grade-card ul{list-style:none;padding:0;margin:0 0 18px;display:grid;gap:7px}.v9-grade-card li{font-size:13px;color:#587291}.v9-grade-card li:before{content:'✓';display:inline-grid;place-items:center;width:18px;height:18px;border-radius:50%;margin-right:7px;color:#fff;font-size:10px;font-weight:900;background:#4b91ed}.g1 li:before{background:#ff5d8c}.g2 li:before{background:#ffa315}.g4 li:before{background:#8152ef}.g5 li:before{background:#19ad75}.v9-grade-card>a{margin-top:auto;min-height:48px;border-radius:999px;display:flex;align-items:center;justify-content:center;gap:16px;color:#fff!important;text-decoration:none!important;font-weight:900;background:#287cf1;box-shadow:0 9px 18px rgba(35,100,190,.16)}.g1>a{background:linear-gradient(90deg,#ff4f83,#ff3e75)}.g2>a{background:linear-gradient(90deg,#ffad1d,#ff9711)}.g4>a{background:linear-gradient(90deg,#8a57f3,#7542e7)}.g5>a{background:linear-gradient(90deg,#1db87b,#0ca568)}.v9-grade-card>a:hover{transform:translateY(-2px)}
.v9-class-note{margin:34px auto 0;text-align:center;color:#2469b8;font-size:18px;font-weight:850;font-style:italic}.v9-class-note span{color:#ff5f8f;font-size:28px;margin-left:7px}
#program-grade-1,#program-grade-2,#program-grade-3,#program-grade-4,#program-grade-5{scroll-margin-top:110px}
@media(max-width:760px){.v9-class-path{padding:48px 0!important}.v9-class-path .wrap{width:100%!important;padding:0 14px!important}.v9-class-head{margin-bottom:24px}.v9-class-head h2{font-size:34px!important}.v9-class-head p{font-size:12px!important}.v9-class-head em{position:static;display:block;margin-top:7px;font-size:11px}.v9-class-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.v9-grade-card,.v9-grade-card:nth-child(4),.v9-grade-card:nth-child(5){grid-column:span 1!important;min-height:315px!important;border-radius:22px!important;padding:14px 13px!important}.v9-grade-card:nth-child(5){grid-column:1/-1!important;min-height:275px!important}.v9-grade-top{height:105px!important}.v9-grade-top>span{font-size:12px!important}.v9-grade-top>span b{font-size:42px!important}.v9-kid{width:78px!important;height:76px!important;font-size:21px!important}.v9-grade-card h3{font-size:18px!important;margin-bottom:8px!important}.v9-grade-card ul{gap:5px!important;margin-bottom:12px!important}.v9-grade-card li{font-size:10px!important}.v9-grade-card li:before{width:14px!important;height:14px!important;font-size:8px!important;margin-right:5px!important}.v9-grade-card>a{min-height:39px!important;font-size:11px!important}.v9-class-note{font-size:12px!important;margin-top:24px!important}}

/* =========================================================
   V9 INTERNAL UX UPGRADE — Teacher Workspace
   Groups & schedules · batch attendance · report export
   ========================================================= */
body.teacher-admin-active{overflow:hidden!important}
body.teacher-admin-active #teacherAdminPanel{
  position:fixed!important;inset:0!important;z-index:10050!important;display:block!important;
  margin:0!important;border:0!important;border-radius:0!important;padding:20px clamp(14px,3vw,34px) 42px!important;
  background:linear-gradient(180deg,#f6f9ff 0%,#fbfdff 45%,#fff 100%)!important;
  overflow:auto!important;overscroll-behavior:contain;
}
body.teacher-admin-active #teacherAdminPanel>.teacher-admin-head,
body.teacher-admin-active #teacherAdminPanel>.teacher-overview,
body.teacher-admin-active #teacherAdminPanel>.admin-tabs,
body.teacher-admin-active #teacherAdminPanel>.admin-view{max-width:1280px;margin-left:auto!important;margin-right:auto!important}
body.teacher-admin-active #teacherAdminPanel>.teacher-admin-head{position:sticky;top:0;z-index:8;box-shadow:0 12px 30px rgba(32,61,107,.08)}
.admin-tabs.clean-tabs{grid-template-columns:repeat(6,minmax(0,1fr))!important}
.student-group-quick{display:block;margin-top:7px;max-width:230px;border:1px solid #dfe8f3;border-radius:10px;padding:6px 8px;background:#fff;color:#31567f;font-size:11px;font-weight:800}
.group-admin-card{padding:16px!important}.group-admin-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.group-edit-grid{display:grid;grid-template-columns:minmax(150px,.75fr) minmax(240px,1.5fr) auto;gap:9px;margin-top:12px}.group-edit-grid input{width:100%;box-sizing:border-box}
.attendance-toolbar{display:grid;grid-template-columns:minmax(180px,1fr) minmax(150px,.7fr) auto;gap:9px;align-items:center}.attendance-sheet{display:grid;gap:8px;margin-top:12px}.attendance-student-row{display:grid;grid-template-columns:minmax(150px,1.2fr) minmax(135px,.65fr) minmax(160px,1fr);gap:9px;align-items:center;background:#f8fbff;border:1px solid #e4edf7;border-radius:14px;padding:10px}.attendance-student-name{min-width:0}.attendance-student-name b{display:block;color:#153c78;font-size:13px}.attendance-student-name span{display:block;color:#7890aa;font-size:10px;margin-top:2px}.attendance-student-row select,.attendance-student-row input{width:100%;box-sizing:border-box;margin:0}.attendance-recent-title{margin:18px 2px 4px;font-weight:1000;color:#153c78;font-size:13px}.attendance-recent-row{display:flex!important;justify-content:space-between;align-items:center;gap:12px;padding:11px 13px!important}.attendance-recent-row span{display:block;font-size:10px;color:var(--muted);margin-top:2px}
.report-card{display:grid;grid-template-columns:1fr auto;gap:14px;align-items:center}.report-card .report-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.report-card #reportExportStatus{grid-column:1/-1}
@media(max-width:820px){
  body.teacher-admin-active #teacherAdminPanel{padding:10px 10px 34px!important}
  body.teacher-admin-active #teacherAdminPanel>.teacher-admin-head{top:0;border-radius:16px!important;padding:13px!important}
  .admin-tabs.clean-tabs{grid-template-columns:repeat(3,minmax(0,1fr))!important;position:sticky;top:116px;z-index:7;background:#f7faff;padding:7px!important;border-radius:14px;box-shadow:0 8px 20px rgba(32,61,107,.06)}
  .group-edit-grid{grid-template-columns:1fr}.attendance-toolbar{grid-template-columns:1fr 1fr}.attendance-toolbar .mini-btn{grid-column:1/-1}.attendance-student-row{grid-template-columns:1fr 1fr}.attendance-student-name{grid-column:1/-1}.report-card{grid-template-columns:1fr}.report-card .report-actions{justify-content:stretch}.report-card .report-actions .btn{flex:1}
}
@media(max-width:460px){.attendance-student-row{grid-template-columns:1fr}.attendance-student-name{grid-column:auto}.attendance-toolbar{grid-template-columns:1fr}.attendance-toolbar .mini-btn{grid-column:auto}.admin-tabs.clean-tabs{top:142px}}
body.teacher-admin-active #teacherResultsPanel{position:fixed!important;inset:10px!important;z-index:10070!important;margin:0!important;overflow:auto!important;border-radius:22px!important;padding:18px!important;box-shadow:0 24px 70px rgba(15,45,90,.28)!important}
@media(max-width:560px){body.teacher-admin-active #teacherResultsPanel{inset:6px!important;border-radius:16px!important;padding:12px!important}}
/* ===== V9 ATTENDANCE + TUITION DASHBOARD ===== */
.attendance-dashboard-head{display:flex;justify-content:space-between;gap:18px;align-items:center;margin:2px 0 16px}.attendance-dashboard-head h3{font-size:28px;color:#153c78;margin:3px 0}.attendance-dashboard-head p{margin:0;color:#71839a;font-size:12px}.attendance-kicker{font-size:10px;font-weight:1000;letter-spacing:.12em;color:#ff4f86}.attendance-month-nav{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #e1eaf5;padding:6px;border-radius:14px}.attendance-month-nav b{min-width:105px;text-align:center;color:#153c78;font-size:12px}.attendance-money-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}.attendance-money-summary article{background:linear-gradient(135deg,#fff3f8,#fff);border:1px solid #f8dce8;border-radius:18px;padding:16px;box-shadow:0 8px 24px rgba(31,65,114,.05)}.attendance-money-summary article:nth-child(2){background:linear-gradient(135deg,#edfff7,#fff);border-color:#d6f4e5}.attendance-money-summary article.money{background:linear-gradient(135deg,#eef6ff,#fff);border-color:#dceafa}.attendance-money-summary article.revenue{background:linear-gradient(135deg,#fff9e8,#fff);border-color:#f5e8bb}.attendance-money-summary span,.attendance-money-summary small{display:block}.attendance-money-summary span{font-size:11px;font-weight:900;color:#58708d}.attendance-money-summary b{display:block;font-size:25px;color:#153c78;margin:6px 0 2px}.attendance-money-summary small{font-size:9px;color:#8797a9}.attendance-main-card{padding:16px!important}.attendance-fee-note{font-size:10px;color:#71839a;margin:10px 2px 2px}.attendance-table-head{display:grid;grid-template-columns:1.15fr .8fr .8fr 1fr .8fr 1fr;gap:9px;padding:10px 11px 6px;font-size:9px;font-weight:1000;color:#68809d}.attendance-fee-row{grid-template-columns:1.15fr .8fr .8fr 1fr .8fr 1fr!important}.att-fee-cell b,.att-money-cell b{display:block;color:#153c78;font-size:12px}.att-fee-cell span,.att-money-cell span{display:block;color:#8494a7;font-size:8px;margin-top:2px}.att-progress b{font-size:12px;color:#153c78}.att-progress>div{height:6px;background:#e8eef5;border-radius:99px;overflow:hidden;margin:5px 0}.att-progress i{display:block;height:100%;background:#2ab878;border-radius:99px}.att-progress span{font-size:8px;color:#7f90a4}.attendance-save{margin-top:13px!important;width:100%;background:linear-gradient(90deg,#ff4f86,#ff6b9b)!important;border:none!important}
@media(max-width:900px){.attendance-money-summary{grid-template-columns:1fr 1fr}.attendance-table-head{display:none}.attendance-fee-row{grid-template-columns:1fr 1fr!important}.attendance-student-name{grid-column:1/-1}.attendance-batch-note{grid-column:1/-1}.attendance-dashboard-head{align-items:flex-start;flex-direction:column}.attendance-month-nav{align-self:stretch;justify-content:space-between}}
@media(max-width:460px){.attendance-money-summary{gap:8px}.attendance-money-summary article{padding:12px}.attendance-money-summary b{font-size:20px}.attendance-fee-row{grid-template-columns:1fr!important}.attendance-student-name,.attendance-batch-note{grid-column:auto}.attendance-dashboard-head h3{font-size:23px}}

/* V9.1 — attendance UX simplification for past-date entry */
.attendance-toolbar-clean{display:grid;grid-template-columns:minmax(220px,1fr) minmax(190px,.75fr) minmax(300px,auto);gap:12px;align-items:end}
.attendance-toolbar-clean label{display:grid;gap:6px}.attendance-toolbar-clean label>span{font-size:10px;font-weight:1000;color:#637a95;letter-spacing:.03em}.attendance-toolbar-clean select,.attendance-toolbar-clean input{min-height:44px;border-radius:13px}
.attendance-date-actions{display:flex;gap:6px;align-items:center;justify-content:flex-end}.attendance-date-actions .mini-btn{white-space:nowrap;min-height:42px}.attendance-date-actions .today{background:#eef7ff;border-color:#cfe4f8;color:#2466a7}
.attendance-selected-day{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:14px 0 8px;padding:12px 14px;border-radius:15px;background:linear-gradient(90deg,#f4fbf7,#f8fbff);border:1px solid #dceee4}.attendance-selected-day span{display:block;font-size:9px;font-weight:900;color:#7b8ca0;text-transform:uppercase;letter-spacing:.08em}.attendance-selected-day b{display:block;margin-top:3px;color:#153c78;font-size:18px}.attendance-selected-day .ok{min-height:40px;padding-inline:16px}
.attendance-fee-note{background:#fbfdff;border:1px dashed #d9e4ef;padding:9px 11px;border-radius:11px;line-height:1.5}
.attendance-table-head{grid-template-columns:1.2fr .9fr .72fr .8fr 1fr;padding:12px 13px 7px}.attendance-fee-row{grid-template-columns:1.2fr .9fr .72fr .8fr 1fr!important;padding:11px 13px;background:#fff;border-color:#e7edf4;border-radius:13px}.attendance-fee-row.is-saved{background:#fbfffd;border-color:#d9eee2}.attendance-fee-row:hover{box-shadow:0 7px 18px rgba(31,65,114,.055);transform:translateY(-1px)}
.att-session-cell b,.att-money-cell b{display:block;color:#153c78;font-size:12px}.att-session-cell span,.att-money-cell span{display:block;color:#8494a7;font-size:8px;margin-top:2px}.attendance-batch-status{font-weight:800}.attendance-batch-status:has(option[value=""]:checked){color:#8998aa}.attendance-batch-note{min-height:39px}
.attendance-save{max-width:520px;margin-left:auto!important;margin-right:auto!important;display:block!important;min-height:46px}
.attendance-history-panel{margin-top:13px;border:1px solid #e3eaf2;border-radius:15px;background:#fff;overflow:hidden}.attendance-history-panel>summary{cursor:pointer;padding:13px 15px;font-size:11px;font-weight:950;color:#59708d;list-style:none}.attendance-history-panel>summary::-webkit-details-marker{display:none}.attendance-history-panel[open]>summary{border-bottom:1px solid #edf1f5}.attendance-history-panel #attendanceAdminList{padding:0 12px 12px}.attendance-history-panel .attendance-recent-title{display:none}
@media(max-width:1050px){.attendance-toolbar-clean{grid-template-columns:1fr 1fr}.attendance-date-actions{grid-column:1/-1;justify-content:flex-start}}
@media(max-width:900px){.attendance-table-head{display:none}.attendance-fee-row{grid-template-columns:1fr 1fr!important}.attendance-student-name{grid-column:1/-1}.attendance-batch-note{grid-column:1/-1}.attendance-toolbar-clean{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.attendance-toolbar-clean{grid-template-columns:1fr}.attendance-date-actions{grid-column:auto;display:grid;grid-template-columns:1fr 1fr 1fr}.attendance-date-actions .mini-btn{padding:8px 6px;font-size:10px}.attendance-selected-day{align-items:flex-start;flex-direction:column}.attendance-selected-day .ok{width:100%}.attendance-fee-row{grid-template-columns:1fr!important}.attendance-student-name,.attendance-batch-note{grid-column:auto}.attendance-money-summary{grid-template-columns:1fr 1fr}.attendance-money-summary span{font-size:10px}}

/* V9.2 — class-scoped attendance safety */
.attendance-pick-class{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:150px;text-align:center;background:linear-gradient(135deg,#f7fbff,#f6fff9);border:1px dashed #cfe2dc;border-radius:16px;color:#61758e}.attendance-pick-class b{font-size:15px;color:#153c78}.attendance-pick-class span{max-width:560px;font-size:11px;line-height:1.55}.attendance-toolbar-clean select:has(option[value=""]:checked){color:#7f90a4}

/* V9.3 — quicker attendance save + larger lesson packages */
.attendance-top-savebar{position:sticky;top:8px;z-index:14;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:10px 0 12px;padding:11px 13px;border:1px solid #cfe0f3;border-radius:14px;background:rgba(247,251,255,.97);box-shadow:0 7px 20px rgba(31,65,114,.08);backdrop-filter:blur(8px)}
.attendance-top-savebar>div{min-width:0}.attendance-top-savebar b{display:block;color:#153c78;font-size:12px}.attendance-top-savebar .admin-status{display:block;margin-top:3px;font-size:10px;color:#72839a;min-height:0}.attendance-save-top{width:auto!important;min-width:190px;max-width:none!important;margin:0!important;flex:0 0 auto;min-height:42px!important}
@media(max-width:640px){.attendance-top-savebar{top:4px;align-items:stretch;flex-direction:column}.attendance-save-top{width:100%!important;min-width:0}.attendance-top-savebar b{font-size:11px}}

/* V9.6 — one-tap attendance + instant session fee preview */
.attendance-table-head-v96{grid-template-columns:1.05fr 1.65fr .72fr .72fr 1fr!important}
.attendance-fee-row-v96{grid-template-columns:1.05fr 1.65fr .72fr .72fr 1fr!important;transition:.16s ease}
.attendance-fee-row-v96.is-dirty{border-color:#bfe7da;background:#fbfffd}
.attendance-status-buttons{display:flex;gap:5px;flex-wrap:wrap}.att-status{border:1px solid #dce6f1;background:#fff;color:#61758e;border-radius:9px;padding:8px 9px;font-size:10px;font-weight:900;cursor:pointer;white-space:nowrap}.att-status:hover{transform:translateY(-1px)}.att-status.present.active{background:#dff8ef;border-color:#a8e4d0;color:#14805f}.att-status.late.active{background:#fff3cd;border-color:#f1d98b;color:#8a6500}.att-status.excused.active{background:#fff5d8;border-color:#f0d791;color:#795b00}.att-status.absent.active{background:#ffe8ef;border-color:#ffc2d3;color:#c53463}
.att-day-money b{display:block;color:#12a77b;font-size:13px}.att-day-money span{display:block;color:#8494a7;font-size:8px;margin-top:2px}.attendance-bulk-actions{display:flex;gap:7px;flex-wrap:wrap}.attendance-bulk-actions .ok{background:#dff8ef;border-color:#b9ead8;color:#16765b}.attendance-top-savebar{border-color:#f5c6d7;background:rgba(255,249,252,.97)}.attendance-save-top{background:linear-gradient(90deg,#ff4f86,#ff6b9b)!important;color:#fff!important}
@media(max-width:1000px){.attendance-table-head-v96{display:none}.attendance-fee-row-v96{grid-template-columns:1fr 1fr!important}.attendance-status-wrap{grid-column:1/-1}.attendance-batch-note{grid-column:1/-1}}
@media(max-width:560px){.attendance-fee-row-v96{grid-template-columns:1fr 1fr!important}.attendance-student-name,.attendance-status-wrap,.attendance-batch-note{grid-column:1/-1}.attendance-status-buttons{display:grid;grid-template-columns:repeat(4,1fr)}.att-status{padding:9px 4px}.attendance-bulk-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}.attendance-bulk-actions .mini-btn{width:100%}}

/* V9.7 — two money cards: current session + cumulative from 07/09/2026 */
.attendance-money-summary-v97{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.attendance-money-summary-v97 article{min-height:108px;display:flex;flex-direction:column;justify-content:center}
.attendance-money-summary-v97 article.money{background:linear-gradient(135deg,#edfff7,#fff);border-color:#d6f4e5}
.attendance-money-summary-v97 article.revenue{background:linear-gradient(135deg,#fff3f8,#fff);border-color:#f8dce8}
.attendance-money-summary-v97 b{font-size:30px}
@media(max-width:560px){.attendance-money-summary-v97{grid-template-columns:1fr 1fr!important}.attendance-money-summary-v97 article{padding:12px;min-height:96px}.attendance-money-summary-v97 b{font-size:23px}}

/* V9.8 — daily attendance money ledger: one saved day = one stable column */
.attendance-ledger-wrap{margin:0 0 14px;background:#fff;border:1px solid #e1eaf5;border-radius:18px;padding:14px;box-shadow:0 8px 24px rgba(31,65,114,.05)}
.attendance-ledger-head{display:flex;justify-content:space-between;align-items:end;gap:12px;margin-bottom:10px}.attendance-ledger-head span{display:block;font-size:10px;font-weight:1000;letter-spacing:.1em;color:#ff4f86}.attendance-ledger-head b{display:block;color:#153c78;font-size:14px;margin-top:3px}.attendance-ledger-head small{font-size:9px;color:#8797a9}
.attendance-daily-ledger{display:flex;gap:9px;overflow-x:auto;padding:2px 1px 6px;scrollbar-width:thin}.attendance-day-money-card{flex:0 0 125px;min-height:86px;border:1px solid #dbe9f7;background:linear-gradient(135deg,#eef7ff,#fff);border-radius:15px;padding:12px;display:flex;flex-direction:column;justify-content:center}.attendance-day-money-card span,.attendance-day-money-card small{display:block}.attendance-day-money-card span{font-size:10px;font-weight:1000;color:#58708d}.attendance-day-money-card b{font-size:20px;color:#153c78;margin:5px 0 1px;white-space:nowrap}.attendance-day-money-card small{font-size:8px;color:#8a99aa}.attendance-running-total{flex-basis:170px;position:sticky;right:0;z-index:2;background:linear-gradient(135deg,#fff1f7,#fff);border-color:#f4cfe0;box-shadow:-8px 0 18px rgba(255,255,255,.88)}.attendance-running-total b{font-size:24px;color:#e54179}.attendance-ledger-empty{flex:1;min-width:220px;border:1px dashed #d8e4f0;border-radius:14px;padding:18px;color:#7b8da1;font-size:11px;background:#fafcff}
@media(max-width:560px){.attendance-ledger-head{align-items:flex-start;flex-direction:column}.attendance-ledger-head small{font-size:8px}.attendance-day-money-card{flex-basis:112px;min-height:78px;padding:10px}.attendance-day-money-card b{font-size:17px}.attendance-running-total{flex-basis:145px}.attendance-running-total b{font-size:20px}}
