@import"https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap";:root{color-scheme:light;--background: #f5fbf6;--surface: #ffffff;--surface-low: #eff5f1;--surface-mid: #e9efeb;--surface-high: #dee4e0;--text: #171d1a;--muted: #3d4945;--outline: #bccac3;--primary: #1fa98a;--primary-deep: #006b56;--primary-soft: rgba(31, 169, 138, .1);--secondary: #5453b2;--secondary-soft: #e2dfff;--accent: #f5793b;--gold: #fbb13c;--danger: #ba1a1a;--shadow: 0 8px 22px rgba(75, 73, 168, .08);--radius: 12px}*{box-sizing:border-box}body{margin:0;min-width:320px;background:var(--background);color:var(--text);font-family:Plus Jakarta Sans,Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer}.app-shell{min-height:100vh;display:flex}.sidebar{width:256px;flex:0 0 256px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;gap:24px;padding:24px 12px;background:var(--surface);border-right:1px solid var(--outline)}.brand{display:flex;gap:12px;align-items:center;padding:0 12px 20px}.brand-mark{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:var(--primary);color:#fff;font-weight:800}.brand strong,.brand span{display:block}.brand strong{font-size:17px}.brand span,.sidebar-profile span{color:var(--muted);font-size:12px}.side-nav{display:grid;gap:4px}.side-link{position:relative;display:flex;align-items:center;gap:12px;padding:12px 16px;border-radius:10px;color:var(--muted);font-size:14px;font-weight:600;transition:.18s ease}.side-link:hover,.side-link.active{background:linear-gradient(90deg,#1fa98a1f,#1fa98a00);color:var(--primary-deep)}.side-link.active:before{content:"";position:absolute;left:0;top:8px;bottom:8px;width:4px;border-radius:4px;background:var(--primary)}.sidebar-profile{margin-top:auto;display:flex;align-items:center;gap:12px;padding:16px 12px 0;border-top:1px solid var(--outline)}.avatar{width:40px;height:40px;border-radius:999px;display:grid;place-items:center;background:var(--primary-soft);color:var(--primary-deep);border:1px solid rgba(31,169,138,.2);font-weight:800;overflow:hidden}.avatar.large{width:64px;height:64px;border-radius:14px}.avatar img{width:100%;height:100%;object-fit:cover}.main{flex:1;min-width:0}.topbar{position:sticky;top:0;z-index:20;min-height:64px;max-width:1280px;margin:0 auto;padding:10px 40px;display:flex;justify-content:space-between;align-items:center;gap:24px;background:#f5fbf6e6;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid var(--outline)}.topbar h1{margin:0;font-size:20px;line-height:1.35}.topbar p{margin:2px 0 0;color:var(--muted);font-size:12px;font-weight:600}.topbar-actions{display:flex;align-items:center;gap:14px}.search-box{display:flex;align-items:center;gap:8px;width:268px;min-height:40px;padding:0 14px;border-radius:999px;background:var(--surface-mid);color:var(--muted)}.search-box input{width:100%;border:0;outline:0;background:transparent;color:var(--text)}.icon-button{width:40px;height:40px;display:grid;place-items:center;border:0;border-radius:999px;background:transparent;color:var(--muted)}.icon-button:hover{color:var(--primary-deep);background:var(--surface-mid)}.content{max-width:1280px;margin:0 auto;padding:28px 40px 48px}.page-stack{display:grid;gap:28px}.card{background:var(--surface);border:1px solid var(--outline);border-radius:var(--radius);box-shadow:var(--shadow)}.section-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.section-header.compact{margin-bottom:12px}.section-title{display:flex;align-items:center;gap:10px}.section-header h2,.section-header h3{margin:0;font-size:22px;line-height:1.35}.title-bar{width:6px;height:24px;border-radius:999px;background:var(--primary)}.title-bar.secondary{background:var(--secondary)}.text-link{display:inline-flex;align-items:center;gap:4px;color:var(--primary-deep);font-weight:700;font-size:14px}.dashboard-grid{display:grid;grid-template-columns:minmax(260px,.8fr) 1.7fr;gap:24px}.balance-card,.wallet-balance{position:relative;overflow:hidden;padding:24px;min-height:220px;display:flex;flex-direction:column;justify-content:space-between}.card-kicker{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:14px;font-weight:700}.balance-value{display:flex;align-items:baseline;gap:10px;margin-top:14px}.balance-value strong,.wallet-balance strong{font-size:42px;line-height:1}.primary-action,.primary-submit{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:0 18px;border:0;border-radius:10px;background:var(--primary);color:#fff;font-weight:800;transition:transform .16s ease,background .16s ease}.primary-action:hover,.primary-submit:hover{background:var(--primary-deep)}.primary-action:active,.primary-submit:active{transform:scale(.98)}.student-quick-grid{display:grid;grid-template-columns:repeat(2,minmax(260px,1fr));gap:24px}.student-card{display:flex;align-items:center;gap:20px;padding:24px;transition:border-color .16s ease,transform .16s ease}.student-card:hover{border-color:var(--primary);transform:translateY(-1px)}.student-card h3,.progress-row h4,.recommend-row h4{margin:0}.chip,.status-pill{display:inline-flex;align-items:center;width:fit-content;padding:4px 10px;border-radius:999px;font-size:12px;font-weight:800}.chip.secondary{margin-top:6px;background:var(--secondary-soft);color:#302d8d}.success-text,.warning-text{display:inline-flex;align-items:center;gap:5px;font-weight:800}.success-text{color:var(--primary-deep)}.warning-text{color:var(--accent)}.two-column,.insight-grid,.wallet-grid,.profile-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(320px,1fr);gap:28px;align-items:start}.list-stack{display:grid;gap:14px}.progress-row{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:16px;padding:16px}.progress-row p,.recommend-row p,.report-title p{margin:4px 0 0;color:var(--muted);font-size:13px}.row-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:10px;background:var(--surface-mid);color:var(--primary-deep)}.row-progress{min-width:100px;text-align:right;display:grid;gap:3px;color:var(--muted);font-size:12px}.mini-progress,.inline-progress{position:relative;overflow:hidden;height:7px;border-radius:999px;background:var(--surface-mid)}.mini-progress span,.inline-progress span{display:block;height:100%;background:var(--accent)}.recommend-card{padding:22px;display:grid;gap:18px;background:var(--surface-low)}.recommend-row{display:grid;grid-template-columns:1fr auto;gap:14px;align-items:center;padding-bottom:16px;border-bottom:1px solid var(--outline)}.recommend-row button,.exam-product button,.membership-card button{min-height:40px;padding:0 16px;border:0;border-radius:10px;background:var(--primary);color:#fff;font-weight:800}.promo-strip,.ai-note,.security-card{display:flex;align-items:flex-start;gap:12px;padding:14px;border-radius:10px;background:var(--primary-soft);color:var(--text)}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.exam-product{position:relative;padding:20px;min-height:174px;display:flex;flex-direction:column;justify-content:space-between}.exam-product:before{content:"";position:absolute;left:0;top:16px;bottom:16px;width:4px;border-radius:999px;background:var(--primary)}.exam-product.secondary:before{background:var(--secondary)}.exam-product.neutral:before{background:var(--muted)}.exam-product h3{margin:12px 0 18px;font-size:16px;min-height:48px}.subject-tag{width:fit-content;padding:4px 9px;border-radius:999px;background:var(--primary-soft);color:var(--primary-deep);font-size:11px;font-weight:800}.subject-tag.secondary{background:#5453b21f;color:var(--secondary)}.subject-tag.neutral{background:var(--surface-mid);color:var(--muted)}.product-footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.report-table-card{overflow:hidden}.report-row{display:grid;grid-template-columns:280px 1fr;gap:22px;padding:24px;border-bottom:1px solid var(--outline)}.report-row:last-child{border-bottom:0}.ghost-action{margin-top:14px;display:inline-flex;gap:6px;align-items:center;border:0;padding:0;background:transparent;color:var(--secondary);font-size:13px;font-weight:800}.children-report-stack{display:grid;gap:12px}.child-report{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;padding:14px;border:1px solid rgba(188,202,195,.7);border-radius:12px;background:#e9efeb73}.child-report.unlocked{background:var(--primary-soft);border-color:#1fa98a40}.student-initials{width:40px;height:40px;display:grid;place-items:center;border-radius:999px;background:var(--primary-soft);color:var(--primary-deep);font-weight:800}.child-report p{margin:3px 0 0;color:var(--primary-deep);font-size:13px;font-weight:700}.small-primary,.small-outline,.danger-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:0 14px;border-radius:10px;font-size:12px;font-weight:800}.small-primary{border:0;background:var(--primary);color:#fff}.small-outline{border:1.5px solid var(--primary);background:transparent;color:var(--primary-deep)}.danger-button{border:0;background:transparent;color:var(--danger)}.inline-progress{width:190px;margin-top:8px}.inline-progress em{position:absolute;left:calc(100% + 8px);top:-5px;white-space:nowrap;color:var(--muted);font-size:11px}.pending-note{color:var(--muted);font-size:12px;font-weight:700}.trend-card,.membership-card{padding:24px}.trend-chart{width:100%;height:190px;border-radius:12px;background:var(--surface-low);padding:14px}.legend{display:flex;gap:8px}.legend span{padding:4px 8px;border-radius:999px;background:var(--primary-soft);color:var(--primary-deep);font-size:11px;font-weight:800}.legend span:last-child{background:#5453b21f;color:var(--secondary)}.membership-card{min-height:100%;display:flex;flex-direction:column;justify-content:center;background:var(--secondary);color:#fff}.membership-card span{color:#ffffffc2;font-size:11px;font-weight:800;letter-spacing:.03em}.membership-card h3{margin:16px 0 0;font-size:24px}.membership-card p{color:#ffffffd1;line-height:1.65}.membership-card button{width:fit-content;background:#fff;color:var(--primary-deep)}.wallet-grid{grid-template-columns:360px minmax(0,1fr)}.wallet-balance{background:var(--primary-deep);color:#fff}.wallet-balance .card-kicker{color:#ffffffc7}.wallet-note{display:inline-flex;align-items:center;gap:7px;width:fit-content;padding:7px 10px;border-radius:999px;background:#ffffff24;font-size:13px}.scan-card{padding:24px;display:grid;justify-items:center;text-align:center;gap:14px}.scan-card h3,.topup-card h2,.transactions-card h2,.profile-card-header h2,.instructions-card h2,.invite-card h2{margin:0}.qr-box{position:relative;width:190px;height:190px;display:grid;place-items:center;border-radius:12px;border:1px solid var(--outline);background:var(--surface-low);color:var(--outline)}.qr-box span{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;background:#ffffffc7;color:var(--primary-deep);font-weight:800;opacity:0;transition:opacity .16s ease}.qr-box:hover span{opacity:1}.scan-card strong{color:var(--danger)}.scan-card p,.agreement{color:var(--muted);font-size:13px}.topup-card{padding:26px}.exchange-rate{color:var(--primary-deep);font-weight:800}.recharge-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:18px 0}.recharge-grid button,.payment-fieldset button,.filter-tabs button,.secondary-submit{min-height:46px;border:1px solid var(--outline);border-radius:10px;background:#fff;color:var(--text);font-weight:800}.recharge-grid button.selected,.payment-fieldset button.selected,.filter-tabs button.active{border-color:var(--primary);color:var(--primary-deep);background:var(--primary-soft)}.field-label{display:grid;gap:8px;color:var(--muted);font-weight:800;margin-bottom:20px}.field-label input{width:min(100%,360px);min-height:46px;padding:0 14px;border:1px solid var(--outline);border-radius:10px;outline:0}.field-label input:focus{border-color:var(--primary);box-shadow:0 0 0 3px #1fa98a26}.payment-fieldset{display:flex;flex-wrap:wrap;gap:12px;padding:0;margin:0 0 24px;border:0}.payment-fieldset legend{width:100%;margin-bottom:8px;color:var(--muted);font-weight:800}.primary-submit,.secondary-submit{width:100%}.secondary-submit{display:inline-flex;align-items:center;justify-content:center;gap:8px;margin-top:12px}.table-header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 24px;background:var(--surface-low);border-bottom:1px solid var(--outline)}.filter-tabs{display:flex;gap:8px}.filter-tabs button{min-height:34px;padding:0 14px;border-radius:999px}.responsive-table{overflow-x:auto}table{width:100%;border-collapse:collapse;min-width:720px}th,td{padding:16px 24px;text-align:left;border-bottom:1px solid var(--outline)}th{color:var(--muted);background:var(--surface-low);font-size:12px}td{font-size:14px}.dot{display:inline-block;width:8px;height:8px;margin-right:8px;border-radius:999px;background:var(--secondary)}.dot.topup{background:var(--primary)}.status-pill{background:var(--primary-soft);color:var(--primary-deep)}.load-more{display:flex;align-items:center;gap:8px;margin:16px auto;border:0;background:transparent;color:var(--primary-deep);font-weight:800}.profile-grid{grid-template-columns:minmax(0,1.3fr) minmax(340px,.9fr)}.profile-card-header{display:flex;align-items:center;justify-content:space-between;padding:24px 24px 0}.profile-card-header h2{display:flex;align-items:center;gap:8px}.bound-student{margin:22px 24px;padding:22px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:20px;border:1px solid var(--outline);border-radius:12px;background:var(--surface-low)}.bound-student .avatar{position:relative;border-radius:999px}.bound-student .avatar span{position:absolute;right:-2px;bottom:-2px;width:22px;height:22px;display:grid;place-items:center;border-radius:999px;background:var(--primary);color:#fff;border:2px solid #fff}.bound-student h3{margin:0}.bound-student p{margin:5px 0 12px;color:var(--muted)}.student-tags{display:flex;flex-wrap:wrap;gap:8px}.student-tags span{padding:4px 8px;border-radius:6px;background:#5453b21f;color:var(--secondary);font-size:11px;font-weight:800}.student-actions{display:grid;gap:8px}.placeholder-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:0 24px 24px}.placeholder-grid button,.placeholder-grid div{min-height:120px;border:2px dashed var(--outline);border-radius:12px;display:grid;place-items:center;align-content:center;gap:10px;background:transparent;color:var(--muted);font-weight:800}.instructions-card{padding:24px}.instruction-step{display:flex;gap:14px;margin-top:16px}.instruction-step span{width:30px;height:30px;flex:0 0 30px;border-radius:999px;display:grid;place-items:center;background:var(--primary);color:#fff;font-weight:800}.instruction-step p{margin:3px 0 0;color:var(--muted)}.invite-card{overflow:hidden;padding-bottom:22px}.invite-head{padding:24px;background:var(--secondary);color:#fff}.invite-head p{margin:6px 0 0;color:#ffffffc7}.code-label{margin:24px 0 12px;color:var(--muted);text-align:center;font-size:12px;font-weight:800}.code-display{display:flex;justify-content:center;align-items:center;gap:8px;margin-bottom:22px}.code-display span:not(.code-separator){width:42px;height:56px;display:grid;place-items:center;border-radius:10px;border:1px solid var(--outline);background:#fff;color:var(--primary-deep);font-size:24px;font-weight:800;box-shadow:0 2px 8px #4b49a814}.code-separator{color:var(--muted)}.invite-card .primary-submit,.invite-card .secondary-submit{width:calc(100% - 44px);margin-left:22px}.security-card h3,.security-card p{margin:0}.security-card p{margin-top:6px;color:var(--muted);line-height:1.6}.student-hero{min-height:230px;padding:28px;display:flex;flex-direction:column;justify-content:end;color:#fff;background:linear-gradient(135deg,#006b56f2,#5453b2e0)}.student-hero h3{margin:18px 0 6px;font-size:24px}.student-hero p{margin:0;color:#ffffffc7}.footer{margin-top:36px;padding:34px 40px;display:flex;justify-content:space-between;align-items:center;gap:24px;background:var(--surface-low);border-top:1px solid var(--outline)}.footer p{margin:6px 0 0;color:var(--muted);font-size:12px}.footer-links{display:flex;flex-wrap:wrap;gap:24px;color:var(--muted);font-size:13px;font-weight:700}.mobile-nav{display:none}.skeleton-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.skeleton-card{min-height:160px;border-radius:var(--radius);background:linear-gradient(90deg,var(--surface-low),#fff,var(--surface-low));background-size:180% 100%;animation:shimmer 1.4s infinite}@keyframes shimmer{to{background-position:-180% 0}}@media(max-width:1080px){.sidebar{display:none}.topbar,.content{padding-left:20px;padding-right:20px}.dashboard-grid,.two-column,.insight-grid,.wallet-grid,.profile-grid{grid-template-columns:1fr}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mobile-nav{position:fixed;left:0;right:0;bottom:0;height:64px;z-index:30;display:grid;grid-template-columns:repeat(4,1fr);background:var(--surface);border-top:1px solid var(--outline)}.mobile-nav a{display:grid;place-items:center;align-content:center;gap:2px;color:var(--muted);font-size:10px;font-weight:800}.mobile-nav a.active{color:var(--primary-deep)}.footer{margin-bottom:64px}}@media(max-width:760px){.topbar{align-items:flex-start;flex-direction:column;height:auto;padding-top:14px;padding-bottom:14px}.topbar-actions{width:100%}.search-box{display:none}.content{padding:22px 16px 36px}.student-quick-grid,.product-grid,.skeleton-grid,.progress-row,.report-row,.child-report,.bound-student{grid-template-columns:1fr}.row-progress{text-align:left}.recharge-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.table-header,.footer{align-items:flex-start;flex-direction:column}.placeholder-grid{grid-template-columns:1fr}.code-display{gap:4px}.code-display span:not(.code-separator){width:31px;height:46px;font-size:19px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}
