/* Hoa Mai parent portal v2. Independent of Tailwind and staff styles. */
:root{--hp-ink:#103a75;--hp-blue:#087aeb;--hp-line:#d7e7f6;--hp-muted:#516d93;--hp-shadow:0 12px 35px #276ab512}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:20px}
.hp-page{margin:0;background:linear-gradient(110deg,#f0f8ff,#fff 48%,#f2f8ff);color:var(--hp-ink);font:15px/1.55 "Segoe UI",Arial,sans-serif;-webkit-text-size-adjust:100%}
.hp-page [hidden]{display:none!important}.hp-page button,.hp-page input,.hp-page select{font:inherit}
.hp-page button,.hp-page a{-webkit-tap-highlight-color:transparent}.hp-page a{color:inherit;text-decoration:none}
.hp-page button{cursor:pointer}.hp-page button:disabled{cursor:wait;opacity:.65}
.hp-page a:focus-visible,.hp-page button:focus-visible,.hp-page input:focus-visible,.hp-page select:focus-visible,.hp-page summary:focus-visible{outline:3px solid #faa600;outline-offset:4px}
.hp-page img{display:block;max-width:100%}.hp-page figure{margin:0}.hp-page h1,.hp-page h2,.hp-page h3,.hp-page p{margin:0}
.hp-container{width:min(1180px,calc(100% - 64px));margin-inline:auto}
.hp-icon{width:22px;height:22px;display:inline-block;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}
.hp-sprite{position:absolute;width:0;height:0;overflow:hidden}.hp-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.hp-skip{position:fixed;left:12px;top:-80px;padding:10px 16px;background:#fff;z-index:50;border:2px solid var(--hp-blue);border-radius:8px}.hp-skip:focus{top:12px}
.hp-header{background:linear-gradient(120deg,#fff,#f2faff);border-bottom:1px solid #d7e9f9;position:relative;z-index:3}
.hp-header-inner{min-height:102px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.hp-brand{display:flex;gap:13px;align-items:center;min-width:0}.hp-logo{width:76px;height:76px;max-width:76px;object-fit:contain;border-radius:50%;flex:none}
.hp-brand strong{display:block;font-size:24px;letter-spacing:-.7px;font-weight:800;line-height:1.25;white-space:nowrap}
.hp-brand small{display:block;margin-top:5px;font-size:11.5px;white-space:nowrap}
.hp-nav{display:flex;align-items:center;gap:14px;flex-shrink:0}
.hp-nav-link{border:0;background:transparent;color:var(--hp-ink);display:flex;gap:8px;align-items:center;position:relative;min-height:52px;padding:0 3px;font-family:"Segoe UI",Arial,sans-serif;font-size:14px;font-weight:600;line-height:1.2;letter-spacing:0;white-space:nowrap}.hp-nav-link span{font:inherit;letter-spacing:inherit}
.hp-nav-link>.hp-icon{color:#168bea}.hp-nav-link.is-current:after{content:"";position:absolute;bottom:0;left:0;right:0;background:#249efa;height:2px}
.hp-nav-link:hover{color:#0374d7}.hp-staff-link{display:flex;align-items:center;justify-content:center;gap:8px;background:#eef7ff;border:1px solid #c7e3fb;box-shadow:none;border-radius:11px;min-height:46px;padding:0 16px;color:#0c72cf!important;font-family:"Segoe UI",Arial,sans-serif;font-weight:600;font-size:14px;line-height:1.2;white-space:nowrap}.hp-staff-link:hover{background:#e2f2ff;border-color:#aad7f8}
.hp-staff-link>.hp-icon{fill:none;stroke:currentColor;width:19px}
.hp-hero{background:radial-gradient(ellipse at 27% 100%,#edfaff 0,transparent 63%),linear-gradient(115deg,#d7efff,#e0f2ff 64%,#d8efff);position:relative;isolation:isolate;overflow:hidden}
.hp-hero-inner{height:405px;position:relative}
.hp-hero-wave{position:absolute;left:46%;top:-125px;height:650px;width:360px;border:35px solid #bae1fc50;border-radius:50%;transform:rotate(35deg);z-index:-1}
.hp-hero-copy{padding:47px 0 0 30px;position:relative;z-index:2;max-width:650px}
.hp-hero h1{font-size:36px;line-height:1.24;font-weight:800;letter-spacing:-1px}
.hp-hero-subtitle{font-size:23px;line-height:1.45;letter-spacing:.1px;margin-top:7px!important}
.hp-trust{display:flex;gap:21px;align-items:center;margin-top:22px;flex-wrap:wrap}
.hp-trust span{display:flex;align-items:center;gap:8px;font-size:12px;white-space:nowrap}
.hp-trust .hp-icon{width:23px;height:23px;color:#06508a}.hp-trust span:last-child .hp-icon{fill:#0e4a83}
.hp-hero-quote{font:italic 27px/1.35 Georgia,"Times New Roman",serif;transform:rotate(-6deg);margin:36px 0 0 50px!important;display:inline-block;text-align:center;color:#125095}
.hp-hero-quote span{position:relative}.hp-hero-quote span:after,.hp-hero-sidequote span:after{content:"";position:absolute;height:4px;background:#ffd82d;left:20px;right:-12px;bottom:-9px;border-radius:60%;transform:rotate(-5deg)}
.hp-family{position:absolute;right:60px;bottom:50px;width:530px;z-index:1;pointer-events:none}
.hp-family img{width:100%;height:auto;filter:drop-shadow(0 3px 4px #1e538905)}
.hp-hero-sidequote{position:absolute;right:-5px;top:29px;text-align:center;font:italic 24px/1.5 Georgia,serif;transform:rotate(-8deg)}
.hp-hero-sidequote span{position:relative}.hp-leaves{position:absolute;left:-12px;bottom:0;width:160px;height:215px;z-index:0;pointer-events:none}
.hp-main{position:relative;z-index:2;padding-bottom:28px}.hp-search-card{position:relative;margin:-76px auto 24px;width:calc(100% - 56px);padding:24px 38px 22px;background:linear-gradient(110deg,#fff,#fff 68%,#fafdff);border:1px solid #e5eff8;border-radius:25px;box-shadow:0 12px 36px #3874ab15}
.hp-search-heading{display:flex;align-items:center;justify-content:center;gap:23px;margin-bottom:26px}
.hp-search-medallion{width:62px;height:62px;display:grid;place-items:center;border:3px solid #a4d9ff;border-radius:50%;background:linear-gradient(150deg,#28a1ff,#0073ec);box-shadow:0 6px 15px #1487f026;color:#fff;flex:none}
.hp-search-medallion .hp-icon{width:31px;height:31px;stroke-width:2.2}.hp-search-heading h2{font-size:28px;line-height:1.3;letter-spacing:-.5px;font-weight:800}
.hp-search-heading p{font-size:13px;margin-top:5px!important;color:#47678f}
.hp-fields{display:grid;grid-template-columns:1fr 1fr;gap:24px}.hp-field{min-width:0}
.hp-field label{display:flex;align-items:center;gap:11px;font-size:14px;color:#142742;font-weight:600;margin:0 0 8px}
.hp-field label>.hp-icon{width:24px;height:24px;color:#138af1}
.hp-field input[type=text]{border:1px solid #c9dff5;background:linear-gradient(110deg,#fff,#fbfdff);height:53px;width:100%;border-radius:10px;padding:0 18px;color:var(--hp-ink);box-shadow:inset 0 2px 4px #1b6aad03;transition:border-color .2s}
.hp-field input[type=text]::placeholder{color:#7086a5;opacity:1}.hp-field input[type=text]:focus{border-color:#198ded;outline:3px solid #1b93ed14}
.hp-field input[aria-invalid=true]{border-color:#e0435e}
.hp-dob-wrap{position:relative}.hp-dob-wrap input[type=text]{padding-right:54px}
.hp-datepicker{position:absolute;right:0;top:0;height:53px;width:50px;display:grid;place-items:center;overflow:hidden}
.hp-datepicker>.hp-icon{width:20px;height:20px}.hp-datepicker input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%;border:0;color:transparent}
.hp-datepicker input::-webkit-calendar-picker-indicator{position:absolute;inset:0;width:100%;height:100%;cursor:pointer}
.hp-datepicker:focus-within{outline:3px solid #faa600;border-radius:8px}
.hp-search-submit{display:flex;align-items:center;justify-content:center;gap:12px;color:white;border:1px solid #168fff;background:linear-gradient(100deg,#1188f6,#237fe2 55%,#0e83f0);width:100%;min-height:60px;border-radius:12px;margin-top:17px;font-size:23px!important;letter-spacing:.3px;font-weight:750!important;box-shadow:0 6px 15px #037bde16}
.hp-search-submit>.hp-icon{width:25px;height:25px;stroke-width:2.3}.hp-search-submit:hover{background:linear-gradient(100deg,#0879e8,#106ecf)}
.hp-form-foot{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:16px;font-size:11px;color:#4a6b93}
.hp-form-foot>span{display:flex;gap:6px;align-items:center}.hp-form-foot .hp-icon{width:14px;height:14px;color:#008bf0}
.hp-form-foot label{white-space:nowrap}.hp-form-foot select{font-size:11px;border:1px solid #dbe8f4;border-radius:5px;color:#15447d;background:#f5faff;padding:4px}
.hp-form-error{color:#ba1e3d;background:#fff0f3;border:1px solid #f6c5d1;border-radius:8px;padding:11px 14px;margin-top:12px!important;font-size:14px}.hp-form-guide{color:#1e5f97;background:#eef7ff;border:1px solid #cce5fa;border-radius:8px;padding:10px 13px;margin-top:12px!important;font-size:13px;text-align:center}
.hp-search-card.hp-highlight{box-shadow:0 0 0 3px #68b9fc,0 12px 36px #3874ab15}
.hp-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin:0 0 15px}
.hp-shortcut{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;min-width:0;min-height:202px;padding:18px 14px 14px;border:1px solid #ffffff;border-radius:16px;color:var(--hp-ink);box-shadow:0 3px 12px #4e7faf05;transition:transform .2s,box-shadow .2s;text-align:center}
.hp-shortcut:hover{transform:translateY(-3px);box-shadow:0 10px 24px #225e9f16}
.hp-shortcut-icon{color:var(--hp-tone);filter:drop-shadow(0 3px 0 #ffffff);margin-bottom:9px}
.hp-shortcut-icon .hp-icon{width:42px;height:42px;stroke-width:1.7;fill:var(--hp-icon-bg)}
.hp-shortcut strong{font-weight:800;font-size:18px;line-height:1.3}.hp-shortcut-desc{font-size:13px;line-height:1.5;margin-top:6px;min-height:39px}
.hp-shortcut-more{margin-top:11px;display:flex;align-items:center;justify-content:center;gap:7px;min-height:35px;width:min(170px,100%);background:#ffffffad;border:1px solid #fff;border-radius:30px;box-shadow:0 3px 8px #2c70a20b;color:var(--hp-tone);font-size:13px;font-weight:650}
.hp-shortcut-more .hp-icon{width:17px;height:17px}
.hp-blue{background:linear-gradient(125deg,#dff0fe,#eaf6ff);--hp-tone:#0679e9;--hp-icon-bg:#148cff22}
.hp-green{background:linear-gradient(125deg,#e2f5ec,#ebf8f2);--hp-tone:#008752;--hp-icon-bg:#0fcf8022}
.hp-amber{background:linear-gradient(125deg,#fff4d9,#fff8ea);--hp-tone:#c17c00;--hp-icon-bg:#ffc62d33}
.hp-rose{background:linear-gradient(125deg,#ffe7ec,#fff1f2);--hp-tone:#d72345;--hp-icon-bg:#fc435c24}
.hp-attention{border:1px solid #cfe5f7;border-radius:14px;padding:15px 20px;background:linear-gradient(105deg,#f5faff,#eef7ff);display:flex;align-items:center;gap:16px}.hp-attention-copy{flex:1;min-width:0}
.hp-attention-icon{color:#1b7fd0;transform:none}.hp-attention-icon .hp-icon{width:34px;height:34px;fill:#2e91df12;stroke-width:1.7}
.hp-attention h2{font-size:16px;color:#1d5f99;font-weight:800}.hp-attention p{font-size:13px;color:#456789;margin-top:3px!important;line-height:1.55}
.hp-attention.is-warning{border-color:#ffc7d0;background:linear-gradient(105deg,#fff4f5,#ffeded)}.hp-attention.is-warning .hp-attention-icon{color:#e52d4a}.hp-attention.is-warning h2{color:#bc1735}
.hp-attention-action{margin-left:auto;flex:none;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:0 12px;border-radius:9px;background:#fff;color:#b91c3b!important;border:1px solid #f3b6c2;font-size:12px;font-weight:700;white-space:nowrap}.hp-attention-action .hp-icon{width:16px;height:16px}
.hp-student-card{margin-bottom:21px;border:1px solid #d8eee9;border-radius:14px;background:#fff;overflow:hidden;box-shadow:0 6px 18px #2c80b808}
.hp-student-head{display:flex;justify-content:space-between;align-items:center;gap:14px;background:linear-gradient(100deg,#e3f7ed,#f0fbf7);padding:13px 20px}
.hp-student-head h2{display:flex;align-items:center;gap:10px;font-size:16px;color:#087252}.hp-student-head h2 .hp-icon{padding:4px;width:26px;height:26px;background:#02a365;color:#fff;border-radius:50%}
.hp-student-head>span{font-size:12px;color:#397670}
.hp-student-body{display:grid;grid-template-columns:96px 1fr auto;gap:20px;align-items:center;padding:24px}
.hp-avatar{display:grid;place-items:center;border:6px solid #e5f5ff;background:linear-gradient(135deg,#ccecff,#a9d8ff);border-radius:50%;width:92px;height:92px;color:#17528e}.hp-avatar .hp-icon{width:51px;height:51px}
.hp-student-name{font-size:23px;text-transform:uppercase;line-height:1.4;font-weight:800}.hp-student-copy p{font-size:14px;margin-top:3px!important}
.hp-student-quote{border-radius:10px;background:linear-gradient(100deg,#f0f7ff,#f6fbff);font:italic 18px/1.6 Georgia,serif;padding:20px 24px;position:relative;text-align:center}
.hp-student-quote .hp-icon{position:absolute;top:4px;left:7px;color:#c5e5ff;fill:#c5e5ff;stroke:none}
.hp-student-actions{display:flex;gap:14px;align-items:center;margin-top:10px}.hp-text-button{color:#0a74d4;background:none;border:0;padding:0;font-size:12px!important;text-decoration:underline}
.hp-overview{display:grid;grid-template-columns:1.13fr 1fr;gap:18px;margin-top:22px}
.hp-panel{border:1px solid #e0ecf7;border-radius:13px;background:#fff;overflow:hidden}
.hp-panel-heading{display:flex;gap:12px;justify-content:space-between;align-items:center;padding:17px 18px}
.hp-panel-heading h2{display:flex;align-items:center;gap:9px;font-size:15px}.hp-panel-heading .hp-icon{color:#1688ee}
.hp-panel-heading button{padding:0;display:flex;align-items:center;gap:5px;border:0;color:#0878dc;background:none;font-size:12px;white-space:nowrap}
.hp-panel-heading button .hp-icon{width:14px;height:14px}.hp-panel:nth-child(2) .hp-panel-heading h2 .hp-icon{color:#ed3355}
.hp-table-wrap{overflow-x:auto;width:100%;max-width:100%;overscroll-behavior-x:contain}
.hp-table{width:100%;border-collapse:collapse;text-align:left;font-size:13px;color:#183859}
.hp-table th{font-size:12px;background:#f0f7ff;font-weight:650;padding:11px 12px;white-space:nowrap}
.hp-table td{border-bottom:1px solid #eaf0f7;padding:12px;vertical-align:middle}.hp-table tr:last-child td{border-bottom:0}
.hp-table td small{display:block;color:#6482a2;font-size:11px}.hp-money{white-space:nowrap}
.hp-badge{display:inline-flex;gap:5px;align-items:center;font-size:11px;line-height:1.4;padding:6px 8px;border-radius:6px;white-space:nowrap}
.hp-badge .hp-icon{width:14px;height:14px}.hp-badge.ok{color:#00753e;background:#e5f8ee}.hp-badge.debt{color:#ba1736;background:#fff0f3}.hp-badge.wait{color:#855a00;background:#fff6d8}
.hp-fee-summary{display:flex;justify-content:space-between;gap:10px;margin:0 16px 12px;background:#fff1f3;border-radius:9px;padding:10px 12px;color:#b52542;font-size:13px}

.hp-payment-config-warning{display:flex;align-items:center;gap:9px;margin:14px 16px;padding:12px 14px;border:1px solid #f1d18a;border-radius:12px;background:#fff9e9;color:#74520a;font-size:12px}.hp-payment-config-warning .hp-icon{width:18px;height:18px;flex:none}
.hp-payment-section{margin:16px;border:1px solid #b8dbff;border-radius:16px;background:linear-gradient(180deg,#f7fbff,#fff);overflow:hidden}.hp-payment-section-head{display:flex;align-items:center;gap:10px;padding:13px 15px;border-bottom:1px solid #dcecff;background:#eef7ff;color:#124a82}.hp-payment-section-head>span{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#1688ee;color:#fff;flex:none}.hp-payment-section-head .hp-icon{width:19px;height:19px}.hp-payment-section-head strong{display:block;font-size:13px}.hp-payment-section-head small{display:block;margin-top:2px;color:#5d7896;font-size:10px;font-weight:500}
.hp-payment-grid{display:grid;gap:14px;padding:14px}.hp-payment-card{border:1px solid #dce9f6;border-radius:14px;background:#fff;padding:14px;box-shadow:0 5px 20px #0a5ba00d}.hp-payment-meta{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.hp-payment-meta>div>strong{display:block;margin-top:3px;color:#0878dc;font-size:20px;line-height:1.2}.hp-payment-meta>div>small{display:block;margin-top:3px;color:#7b5a09;font-size:10px}.hp-payment-kicker{display:block;color:#526d89;font-size:11px;font-weight:700}.hp-payment-bank{display:inline-flex;align-items:center;justify-content:center;min-width:46px;height:27px;padding:0 9px;border-radius:999px;background:#e7f3ff;color:#0b69bc;font-size:11px;font-weight:800}
.hp-payment-body{display:grid;grid-template-columns:190px 1fr;gap:18px;align-items:center}.hp-payment-qr-link{display:block;width:190px;height:190px;padding:7px;border:1px solid #c9def2;border-radius:14px;background:#fff;box-shadow:0 6px 22px #145b8f17}.hp-payment-qr{display:block;width:100%;height:100%;object-fit:contain;border-radius:9px}.hp-payment-info{min-width:0}.hp-payment-info p{display:grid;grid-template-columns:112px minmax(0,1fr);gap:10px;align-items:start;margin:0!important;padding:6px 0;border-bottom:1px dashed #e3edf7;font-size:11px!important}.hp-payment-info p:last-of-type{border-bottom:0}.hp-payment-info p span{color:#71869c}.hp-payment-info p strong{color:#173d65;overflow-wrap:anywhere}.hp-payment-info .hp-payment-content{color:#0a67b8;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px}.hp-payment-info .hp-payment-amount strong{color:#00864b;font-size:15px}.hp-payment-open{display:inline-flex;align-items:center;gap:6px;margin-top:10px;padding:8px 11px;border-radius:9px;background:#087ae1;color:#fff!important;font-size:11px;font-weight:700}.hp-payment-open .hp-icon{width:13px;height:13px}.hp-payment-note{margin:11px 0 0!important;padding-top:10px;border-top:1px solid #edf2f7;color:#71869c!important;font-size:10px!important;line-height:1.55;text-align:center}
.hp-payment-section.is-compact .hp-payment-grid{padding:10px}.hp-payment-section.is-compact .hp-payment-card{padding:11px}.hp-payment-section.is-compact .hp-payment-body{grid-template-columns:150px 1fr;gap:13px}.hp-payment-section.is-compact .hp-payment-qr-link{width:150px;height:150px}.hp-payment-section.is-compact .hp-payment-meta>div>strong{font-size:17px}
.hp-notice{display:grid;grid-template-columns:27px 1fr 14px;gap:11px;text-align:left;width:100%;background:none;border:0;padding:14px 18px;color:var(--hp-ink);border-top:1px solid #edf3f8}
.hp-notice:hover{background:#f7fbff}.hp-notice-mark{display:grid;place-items:center;color:#fff;background:#ef3a59;font-size:9px;border-radius:4px;width:27px;height:18px;margin-top:3px}
.hp-notice-dot{display:block;width:8px;height:8px;margin:8px 8px;background:#258af4;border-radius:50%}
.hp-notice strong{display:block;font-size:13px}.hp-notice small{display:block;font-size:11px;color:#6a84a5;margin:3px 0}
.hp-notice p{font-size:12px;line-height:1.65;color:#586f90;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.hp-notice>.hp-icon{width:14px;height:14px;margin-top:9px}
.hp-empty{padding:26px 20px;text-align:center;color:#657e99;font-size:14px}.hp-empty>.hp-icon{width:38px;height:38px;margin-bottom:10px;display:block;margin-inline:auto}
.hp-footer{position:relative;isolation:isolate;overflow:hidden;border-top:1px solid #77c4ff;border-radius:46px 46px 0 0;background:radial-gradient(ellipse at 30% -20%,#229dfd,transparent 65%),linear-gradient(120deg,#066bcc,#0451b6);color:#fff}
.hp-footer-main{display:grid;grid-template-columns:1.1fr 1.2fr .85fr;align-items:center;gap:36px;padding-block:26px 23px}
.hp-footer-brand{display:flex;gap:14px;align-items:center}.hp-footer-brand img{width:76px;height:76px;max-width:76px;border:2px solid #fff;border-radius:50%;flex:none;object-fit:contain}
.hp-footer-brand small{display:block;font-size:14px;font-weight:700;line-height:1.2}.hp-footer-brand strong{display:block;font-size:29px;line-height:1.2;font-weight:800}
.hp-footer-brand>span>span{display:block;font-size:10px;margin-top:5px;white-space:nowrap}
.hp-footer-motto{font:italic 14px/1.5 "Segoe UI",Arial,sans-serif;transform:none;margin:10px 0 0!important;opacity:.92}
.hp-footer-contact h2{font-size:15px;margin-bottom:8px;font-weight:700}.hp-footer-contact a{display:flex;gap:12px;align-items:center;padding:5px 0;font-size:14px;line-height:1.55}
.hp-footer-contact a:hover span{text-decoration:underline}.hp-footer-contact .hp-icon{width:21px;height:21px}
.hp-footer-message{border-left:1px solid #74b9f5;padding:15px 0 15px 28px;position:relative}
.hp-footer-message p{font:italic 20px/1.55 "Segoe UI",Arial,sans-serif;text-align:center;transform:none}
.hp-footer-message p:after{content:"";height:3px;background:#ffdb28;display:block;width:80%;margin:7px auto 0;transform:rotate(-5deg);border-radius:100%}
.hp-footer-message>.hp-icon{position:absolute;right:0;top:0;fill:#ffdc38;stroke:#ffdc38;width:23px;height:23px}
.hp-footer-bottom{border-top:1px solid #65a7e680;background:#0045a51e}
.hp-footer-bottom>.hp-container{display:flex;justify-content:space-between;gap:15px;align-items:center;min-height:52px;font-size:11px}
.hp-footer-bottom nav{display:flex;gap:15px;flex-wrap:wrap}.hp-footer-bottom button{padding:0;background:none;border:0;color:inherit;font-size:inherit}
.hp-footer-bottom a:hover,.hp-footer-bottom button:hover{text-decoration:underline}
.hp-footer-orb{position:absolute;width:90px;height:90px;border-radius:50%;background:linear-gradient(#a1d8ff70,#77baff08);z-index:-1}
.hp-footer-orb-left{left:-45px;top:25px}.hp-footer-orb-right{right:-32px;top:-15px;width:135px;height:135px}
.hp-dialog{color:var(--hp-ink);width:min(940px,calc(100% - 32px));max-height:90dvh;padding:0;border:1px solid #b4d7f6;border-radius:18px;background:#fff;box-shadow:0 24px 100px #11385d66;overflow:auto}
.hp-dialog::backdrop{background:#0a244a85;backdrop-filter:blur(4px)}
.hp-dialog-head{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;gap:20px;align-items:center;background:#edf7ff;padding:18px 24px;border-bottom:1px solid #d5e7f7}
.hp-dialog-head h2{font-size:20px;line-height:1.4}.hp-close{background:#fff;border:1px solid #cadfeb;border-radius:50%;width:38px;height:38px;flex:none;color:#134979;display:grid;place-items:center}
.hp-dialog-content{padding:24px}.hp-dialog-content p{margin:10px 0;white-space:pre-wrap;overflow-wrap:anywhere}.hp-dialog-content h3{font-size:18px}
.hp-detail-caption{color:#597697;font-size:13px;margin-bottom:18px!important}.hp-detail-list{display:grid;gap:15px}
.hp-class-card{border:1px solid #dbeaf7;border-radius:12px;padding:18px;background:linear-gradient(110deg,#fff,#fbfdff)}
.hp-class-card h3{font-size:18px}.hp-class-card p{font-size:14px;margin:5px 0}.hp-class-time{display:flex;align-items:center;gap:8px;padding:9px 12px;background:#edf7ff;border-radius:8px;margin-top:12px!important}
.hp-att-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:15px 0}.hp-att-stats span{padding:10px 6px;background:#f1f7fb;text-align:center;border-radius:8px;font-size:12px}.hp-att-stats strong{display:block;font-size:20px;color:#008a5d}.hp-att-stats .is-warning strong{color:#c71e45}
.hp-class-card details{border-top:1px solid #e4edf6;padding-top:10px}.hp-class-card summary{cursor:pointer;color:#0c79d5;font-size:14px}
.hp-dialog .hp-table{font-size:13px;min-width:600px}.hp-attendance-table{min-width:0!important}
.hp-rule{font-size:13px;background:#f2f8ff;border:1px solid #dbeaf7;border-radius:9px;padding:12px}
.hp-contact-action{display:inline-flex;gap:8px;align-items:center;background:#087ae1;color:#fff!important;border-radius:10px;padding:11px 16px;font-weight:600}
.hp-timetable-image{height:auto;width:auto;max-width:100%;max-height:65vh;margin:auto}.hp-timetable-frame{width:100%;height:62vh;border:1px solid #d4e6f5;border-radius:8px}
.hp-timetable-links{display:flex;justify-content:flex-end;margin-top:15px}
.hp-spin{animation:hp-spin 1s linear infinite}@keyframes hp-spin{to{transform:rotate(360deg)}}
@media(min-width:1320px){.hp-hero-copy{padding-left:32px}.hp-hero h1{font-size:38px}.hp-hero-sidequote{right:2px}.hp-family{right:65px}}
@media(max-width:1120px){
 .hp-header-inner{gap:12px}.hp-brand strong{font-size:21px}.hp-brand small{font-size:10px}.hp-logo{width:67px;height:67px;max-width:67px}
 .hp-nav{gap:10px}.hp-nav-link{font-size:13px;gap:6px}.hp-staff-link{font-size:13px;padding-inline:12px}
 .hp-hero-copy{padding-left:20px}.hp-hero h1{font-size:33px}.hp-hero-subtitle{font-size:21px}.hp-trust{gap:15px}.hp-trust span{font-size:11px}
 .hp-family{width:520px;right:36px}.hp-hero-sidequote{font-size:22px;right:-12px}.hp-footer-main{gap:22px}
 .hp-footer-message p{font-size:21px}.hp-footer-contact a{font-size:13px}.hp-footer-brand>span>span{font-size:9px}
}
@media(max-width:980px){
 .hp-header-inner{flex-wrap:wrap;justify-content:center;padding-block:12px;gap:9px}.hp-brand strong{font-size:25px}.hp-brand small{font-size:12px}.hp-nav{justify-content:center}
 .hp-hero h1{font-size:30px}.hp-hero-copy{padding-top:35px;padding-left:0;max-width:570px}.hp-hero-subtitle{font-size:19px}
 .hp-hero-inner{height:375px}.hp-family{width:460px;right:-12px;bottom:46px}.hp-hero-sidequote{display:none}.hp-trust{max-width:470px}.hp-hero-quote{font-size:25px;margin-left:20px!important}
 .hp-search-card{width:calc(100% - 16px);padding-inline:28px}.hp-shortcut{padding-inline:10px;min-height:188px}.hp-shortcut strong{font-size:17px}.hp-shortcut-desc{font-size:12px}.hp-shortcut-more{font-size:12px}
 .hp-form-foot{flex-wrap:wrap;justify-content:center;gap:8px}.hp-overview{grid-template-columns:1fr}.hp-footer-main{grid-template-columns:1fr 1fr}.hp-footer-message{display:none}
 .hp-student-body{grid-template-columns:82px 1fr}.hp-student-quote{display:none}.hp-avatar{width:78px;height:78px}
}
@media(max-width:640px){
 .hp-container{width:calc(100% - 28px)}.hp-header-inner{padding-top:11px;padding-bottom:8px;display:block}
 .hp-brand{gap:10px;justify-content:center}.hp-logo{width:54px;height:54px;max-width:54px}.hp-brand strong{font-size:21px;letter-spacing:-.5px}.hp-brand small{font-size:9.5px;margin-top:3px}
 .hp-nav{display:grid;grid-template-columns:.9fr .85fr 1.25fr 1.15fr;gap:5px;margin-top:9px}
 .hp-nav-link{justify-content:center;min-height:41px;gap:4px;font-size:11px;padding:0;letter-spacing:-.25px}.hp-nav-link>.hp-icon{width:17px;height:17px}
 .hp-staff-link{min-height:37px;border-radius:8px;padding:0 5px;gap:4px;background:#f4f9ff;border-color:#d3e8fa}.hp-staff-link>.hp-icon{width:15px;height:15px}
 .hp-staff-link span{font-size:0}.hp-staff-link span:after{content:"Giáo viên";font-size:11px}
 .hp-hero-inner{height:358px}.hp-hero-copy{padding:18px 0 0;text-align:center;max-width:none}.hp-hero h1{font-size:clamp(17px,5.6vw,26px);line-height:1.2;letter-spacing:-.7px;white-space:nowrap;width:100%;text-align:center}
 .hp-hero-subtitle{font-size:16px;max-width:330px;margin:10px auto 0!important;line-height:1.5}
 .hp-trust{gap:9px;justify-content:center;margin-top:10px;max-width:none}.hp-trust span{font-size:10px;gap:5px}.hp-trust .hp-icon{width:17px;height:17px}
 .hp-trust span:last-child{display:none}.hp-hero-quote{display:none}.hp-family{width:286px;max-width:92%;bottom:12px;right:50%;transform:translateX(50%)}
 .hp-leaves{width:92px;height:126px}.hp-hero-wave{height:350px;width:205px;border-width:21px;top:82px;left:16%}
 .hp-search-card{margin-top:-28px;width:100%;padding:20px 18px 16px;border-radius:19px;margin-bottom:15px}
 .hp-search-heading{gap:12px;margin-bottom:22px}.hp-search-medallion{width:48px;height:48px;border-width:2px}.hp-search-medallion .hp-icon{width:26px;height:26px}
 .hp-search-heading h2{font-size:22px;letter-spacing:-.5px}.hp-search-heading p{font-size:11px;margin-top:4px!important}
 .hp-fields{grid-template-columns:1fr;gap:17px}.hp-field label{font-size:14px;margin-bottom:6px}.hp-field input[type=text]{font-size:16px;height:51px;padding-left:13px}
 .hp-search-submit{min-height:53px;font-size:20px!important;margin-top:19px}.hp-form-foot{flex-direction:column;gap:8px;font-size:10px;text-align:center}
 .hp-form-foot>span{align-items:flex-start;line-height:1.6}.hp-form-foot>span>.hp-icon{margin-top:2px}.hp-form-foot select{font-size:12px}
 .hp-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.hp-shortcut{min-height:168px;border-radius:13px;padding:13px 8px 11px}
 .hp-shortcut-icon{margin-bottom:7px}.hp-shortcut-icon .hp-icon{width:34px;height:34px}.hp-shortcut strong{font-size:15px}.hp-shortcut-desc{font-size:11px;line-height:1.45;margin-top:5px;min-height:32px}.hp-shortcut-more{font-size:11px;margin-top:9px;min-height:30px;gap:5px}
 .hp-attention{gap:10px;padding:12px 11px;border-radius:12px;align-items:flex-start;flex-wrap:wrap}.hp-attention-icon .hp-icon{width:27px;height:27px;margin-top:2px}
 .hp-attention h2{font-size:14px}.hp-attention p{font-size:11px;line-height:1.55}.hp-attention-action{width:100%;margin-left:37px;min-height:33px;font-size:11px}
 .hp-main{padding-bottom:18px}.hp-footer{border-radius:22px 22px 0 0}.hp-footer-main{grid-template-columns:1fr;gap:12px;padding:14px 6px 12px}
 .hp-footer-brand{gap:9px}.hp-footer-brand img{width:44px;height:44px;max-width:44px;border-width:1px}.hp-footer-brand strong{font-size:20px}.hp-footer-brand small{font-size:10px}.hp-footer-brand>span>span{font-size:8.5px;margin-top:2px}
 .hp-footer-motto{font-size:12px;margin-top:6px!important}.hp-footer-contact h2{font-size:12px;margin-bottom:3px}.hp-footer-contact a{font-size:12px;padding:3px 0;gap:8px;line-height:1.4}.hp-footer-contact .hp-icon{width:16px;height:16px}
 .hp-footer-bottom>.hp-container{flex-direction:column;align-items:center;gap:7px;font-size:9.5px;padding:8px 6px;text-align:center;min-height:0}.hp-footer-bottom nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 14px;line-height:1.5;width:100%;max-width:280px}.hp-footer-bottom nav>*{text-align:center}
 .hp-student-head{align-items:flex-start;flex-direction:column;gap:6px;padding:13px 16px}.hp-student-head h2{font-size:15px}.hp-student-head>span{font-size:11px}
 .hp-student-body{grid-template-columns:60px 1fr;gap:13px;padding:17px 13px}.hp-avatar{width:59px;height:59px;border-width:4px}.hp-avatar .hp-icon{width:36px;height:36px}
 .hp-student-name{font-size:18px}.hp-student-copy p{font-size:12px}.hp-student-actions{flex-wrap:wrap;gap:8px}.hp-overview{gap:14px;margin-top:16px}
 .hp-panel-heading{padding:13px 12px;gap:8px}.hp-panel-heading h2{font-size:13px;gap:6px}.hp-panel-heading h2 .hp-icon{width:19px;height:19px}
 .hp-panel-heading button{font-size:10px;gap:3px}.hp-panel-heading button .hp-icon{width:12px;height:12px}
 .hp-table{font-size:11px}.hp-table th{font-size:10px;padding:9px 7px}.hp-table td{padding:10px 7px}.hp-badge{font-size:9px;padding:5px;gap:3px}.hp-badge .hp-icon{width:12px;height:12px}
 .hp-fee-summary{font-size:12px;margin:0 10px 10px}.hp-dialog{width:calc(100% - 20px);max-height:92dvh;border-radius:15px}.hp-dialog-head{padding:14px 16px;gap:12px}.hp-dialog-head h2{font-size:18px}.hp-dialog-content{padding:17px 14px}
 .hp-att-stats{grid-template-columns:repeat(2,1fr)}.hp-class-card{padding:13px}.hp-class-card h3{font-size:16px}.hp-attendance-table td,.hp-attendance-table th{font-size:11px}
 .hp-timetable-frame{height:58vh}
}
@media(max-width:360px){
 .hp-brand strong{font-size:18px}.hp-brand small{font-size:8.4px}.hp-nav-link{font-size:10px;gap:3px}.hp-nav-link>.hp-icon{width:15px;height:15px}.hp-staff-link span:after{font-size:10px}.hp-staff-link>.hp-icon{display:none}
 .hp-search-card{padding-inline:13px}.hp-search-heading{gap:9px}.hp-search-heading h2{font-size:19px}.hp-search-heading p{font-size:10px}.hp-search-medallion{width:42px;height:42px}.hp-hero h1{font-size:clamp(16px,5.4vw,20px);letter-spacing:-.8px}
 .hp-shortcut strong{font-size:14px}.hp-shortcut-desc{font-size:10.5px}.hp-shortcut-more{font-size:10px}
 .hp-table-wrap .hp-table{min-width:330px}.hp-footer-brand>span>span{font-size:8px}.hp-hero-inner{height:344px}.hp-family{width:272px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}

@media (max-width:700px){
 .hp-payment-section{margin:12px 10px;border-radius:14px}.hp-payment-section-head{padding:11px 12px}.hp-payment-section-head>span{width:30px;height:30px}.hp-payment-section-head strong{font-size:12px}.hp-payment-grid{padding:10px}.hp-payment-card{padding:12px}.hp-payment-meta{margin-bottom:10px}.hp-payment-body,.hp-payment-section.is-compact .hp-payment-body{grid-template-columns:1fr;justify-items:center;gap:11px}.hp-payment-qr-link,.hp-payment-section.is-compact .hp-payment-qr-link{width:min(230px,72vw);height:min(230px,72vw)}.hp-payment-info{width:100%}.hp-payment-info p{grid-template-columns:94px minmax(0,1fr);gap:8px;padding:5px 0}.hp-payment-open{display:flex;justify-content:center;width:100%;margin-top:9px}.hp-payment-note{font-size:9.5px!important}.hp-payment-section.is-compact .hp-payment-grid{padding:9px}.hp-payment-section.is-compact .hp-payment-card{padding:10px}
}
@media (max-width:390px){.hp-payment-qr-link,.hp-payment-section.is-compact .hp-payment-qr-link{width:min(205px,70vw);height:min(205px,70vw)}.hp-payment-info p{grid-template-columns:86px minmax(0,1fr);font-size:10px!important}.hp-payment-info .hp-payment-content{font-size:10px}.hp-payment-meta>div>strong{font-size:18px}}
@media print{.hp-header,.hp-hero,.hp-search-card,.hp-shortcuts,.hp-footer,.hp-dialog,.hp-attention-action,.hp-panel-heading button,.hp-student-actions{display:none!important}.hp-main{width:100%;padding:0}.hp-student-card{margin-top:0}.hp-overview{display:block}.hp-panel{margin-bottom:12px}}

/* ===== UI ALIGNMENT V6 - 2026-09-06 ===== */
/* Keep all parent navigation labels visually identical on every platform. */
.hp-nav .hp-nav-link,
.hp-nav a.hp-nav-link,
.hp-nav button.hp-nav-link,
.hp-nav .hp-nav-link > span{
  font-family:Arial,"Helvetica Neue",sans-serif!important;
  font-size:14px!important;
  font-weight:600!important;
  font-style:normal!important;
  font-stretch:normal!important;
  line-height:1.2!important;
  letter-spacing:0!important;
  text-transform:none!important;
  font-synthesis:none;
}

@media(max-width:640px){
  .hp-nav .hp-nav-link,
  .hp-nav a.hp-nav-link,
  .hp-nav button.hp-nav-link,
  .hp-nav .hp-nav-link > span{
    font-size:11px!important;
    font-weight:600!important;
    line-height:1.2!important;
    letter-spacing:0!important;
  }

  /* Parent footer: center brand and contact information on phones. */
  .hp-footer-main{
    justify-items:center!important;
    text-align:center!important;
  }
  .hp-footer-brand-area,
  .hp-footer-contact{
    width:100%!important;
    text-align:center!important;
  }
  .hp-footer-brand{
    justify-content:center!important;
    text-align:left!important;
    width:max-content;
    max-width:100%;
    margin-inline:auto!important;
  }
  .hp-footer-motto,
  .hp-footer-contact h2{
    text-align:center!important;
  }
  .hp-footer-contact a{
    justify-content:center!important;
    width:100%!important;
    text-align:center!important;
  }
  .hp-footer-contact a span{
    text-align:center!important;
  }
}

@media(max-width:380px){
  .hp-nav .hp-nav-link,
  .hp-nav a.hp-nav-link,
  .hp-nav button.hp-nav-link,
  .hp-nav .hp-nav-link > span{
    font-size:10px!important;
  }
}

/* ===== UX REFINEMENT V11 - 2026-09-06 ===== */
/* Parent hero is intentionally shorter so the lookup action appears earlier. */
.hp-hero-inner{height:372px}
.hp-hero-copy{padding-top:36px}
.hp-shortcut{min-height:176px;padding-top:14px;padding-bottom:12px}
.hp-shortcut-icon{margin-bottom:6px}
.hp-shortcut-desc{min-height:34px}
.hp-shortcut-more{margin-top:8px;min-height:32px}

/* Detail dialogs: larger, easier-to-read text. */
.hp-dialog-content{font-size:15px;line-height:1.6}
.hp-dialog-content p,.hp-dialog-content li{font-size:15px;line-height:1.6}
.hp-dialog .hp-table{font-size:14px}
.hp-dialog .hp-table th{font-size:13px}
.hp-dialog .hp-table td{font-size:14px}
.hp-detail-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:10px}
.hp-detail-toolbar .hp-detail-caption{margin:0!important}
.hp-detail-period{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:700;color:#355f86}
.hp-detail-period select{min-height:34px;border:1px solid #cfe0ef;border-radius:9px;background:#f7fbff;color:#154b7d;padding:5px 30px 5px 10px;font-size:13px;font-weight:700}
.hp-offschedule{display:inline-block!important;width:max-content;margin-top:4px;padding:3px 6px;border-radius:6px;background:#fff4d8;color:#9a5a00!important;border:1px solid #f3d79d;font-size:10px!important;font-weight:800}
.hp-fee-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 14px}
.hp-fee-totals>span{display:flex;flex-direction:column;gap:3px;padding:11px 12px;border:1px solid #d9e8f5;border-radius:12px;background:#f8fbff}
.hp-fee-totals small{font-size:11px;color:#63809c;font-weight:700}
.hp-fee-totals strong{font-size:16px;color:#173f69;font-weight:800;white-space:nowrap}
.hp-fee-totals strong.is-debt{color:#c72d4b}.hp-fee-totals strong.is-ok{color:#12845f}
.hp-fee-table td:nth-child(2){min-width:135px}.hp-fee-table td:nth-child(2) strong{display:block}.hp-fee-table td:nth-child(2) small{margin-top:2px}

@media(max-width:640px){
  .hp-hero-inner{height:312px!important}
  .hp-hero-copy{padding-top:14px!important}
  .hp-family{width:244px!important;bottom:5px!important}
  .hp-hero-wave{height:300px!important;top:70px!important}
  .hp-search-card{margin-top:-20px!important}
  .hp-shortcut{min-height:143px!important;padding:10px 7px 9px!important}
  .hp-shortcut-icon{margin-bottom:4px!important}
  .hp-shortcut-desc{min-height:29px!important;font-size:11px!important;line-height:1.35!important;margin-top:3px!important}
  .hp-shortcut-more{min-height:28px!important;margin-top:6px!important;font-size:10.5px!important}
  .hp-dialog-content{font-size:15px!important;line-height:1.62!important;padding:16px 13px!important}
  .hp-dialog-content p,.hp-dialog-content li{font-size:15px!important;line-height:1.62!important}
  .hp-dialog .hp-table{font-size:15px!important;min-width:690px}
  .hp-dialog .hp-table th{font-size:14px!important;padding:10px 9px!important}
  .hp-dialog .hp-table td{font-size:15px!important;padding:11px 9px!important}
  .hp-attendance-table{min-width:560px!important}
  .hp-detail-toolbar{align-items:flex-start;gap:8px}
  .hp-detail-period{width:100%;justify-content:space-between;font-size:13px}
  .hp-detail-period select{font-size:13px;min-height:36px}
  .hp-fee-totals{grid-template-columns:1fr;gap:7px}
  .hp-fee-totals>span{flex-direction:row;justify-content:space-between;align-items:center;padding:9px 10px}
  .hp-fee-totals strong{font-size:15px}
}

@media(max-width:360px){
  .hp-hero-inner{height:300px!important}
  .hp-family{width:232px!important}
  .hp-shortcut{min-height:138px!important}
}

/* V12: month/year period picker */
.hp-period-picker{display:inline-flex;align-items:end;gap:6px;flex-wrap:wrap}.hp-period-picker label{display:flex;align-items:center;gap:6px}.hp-period-picker select{min-width:72px}.hp-detail-period{display:inline-flex;align-items:center;gap:6px}.hp-detail-period select{min-width:82px}@media(max-width:640px){.hp-period-picker{justify-content:center;width:100%}.hp-form-foot{justify-content:center;text-align:center}.hp-detail-period{flex-wrap:wrap;justify-content:flex-end}}
