/* Professional UI layer v1.4.0
   Rebuilt from scratch with a clean Vietnamese utility/product visual language.
   No third-party CSS framework and no copied brand assets. */
:root{
  --primary:#0aa85a;
  --primary-dark:#087a46;
  --primary-soft:#eaf8f1;
  --primary-ink:#07553b;
  --hero:#073f3a;
  --hero-2:#0b5a4c;
  --bg:#f4f7f6;
  --surface:#fff;
  --text:#172033;
  --muted:#667085;
  --border:#dce4e2;
  --success:#0f9f59;
  --shadow:0 12px 36px rgba(16,24,40,.08);
  --shadow-lg:0 22px 60px rgba(7,63,58,.18);
  --radius:14px;
}

body{background:var(--bg);color:var(--text);letter-spacing:-.006em}
.container{width:min(1220px,calc(100% - 40px))}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

/* Header */
.site-header.pro-header{position:sticky;top:0;z-index:40;height:84px;background:rgba(255,255,255,.96);backdrop-filter:saturate(150%) blur(14px);border-bottom:1px solid #e7ecea;box-shadow:0 8px 28px rgba(16,24,40,.04)}
.pro-header .header-inner{height:84px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:28px}
.pro-brand{gap:13px;color:var(--text);min-width:0}
.pro-brand.header-brand{min-width:270px}
.pro-brand-mark{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;box-shadow:0 12px 26px rgba(10,168,90,.18);overflow:hidden}
.pro-brand-mark svg{width:48px;height:48px;display:block}
.brand-copy{display:grid;gap:2px;min-width:0}
.brand-copy strong{font-size:18px;letter-spacing:-.03em;line-height:1.05;white-space:nowrap}
.brand-copy small{font-size:11px;margin-top:0;color:#6f7f91;letter-spacing:.015em;white-space:nowrap}
.pro-desktop-nav{display:flex;align-items:center;justify-content:center;margin:0;gap:6px}
.pro-desktop-nav .nav-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:11px 14px;border-radius:999px;color:#2f3d50;font-size:14px;font-weight:700;white-space:nowrap}
.pro-desktop-nav .nav-link:hover,.pro-desktop-nav .tool-menu-trigger[aria-expanded="true"]{background:#f1f8f5;color:var(--primary-dark)}
.menu-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 7px;border-radius:999px;background:#e9f7f0;color:var(--primary-dark);font-size:11px;font-weight:900}
.nav-chevron{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;color:#778396}
.nav-chevron svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.header-actions{display:flex;align-items:center;gap:10px}
.header-cta{display:inline-flex;min-height:46px;align-items:center;justify-content:center;padding:0 20px;border-radius:999px;background:linear-gradient(135deg,var(--primary),#12bf67);color:#fff;font-size:14px;font-weight:800;box-shadow:0 10px 22px rgba(10,168,90,.22);transition:.16s ease;white-space:nowrap}
.header-cta:hover{background:linear-gradient(135deg,var(--primary-dark),#0c9251);color:#fff;transform:translateY(-1px)}

/* Mega menu */
.pro-tool-mega{right:-82px;top:53px;width:760px;padding:18px;border-radius:16px;border:1px solid #dde6e3;box-shadow:0 24px 70px rgba(16,24,40,.16)}
.mega-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:4px 7px 15px;border-bottom:1px solid #edf1f0;margin-bottom:8px}
.mega-head>div{display:grid;gap:3px}.mega-kicker{font-size:10px;font-weight:900;letter-spacing:.11em;color:var(--primary)}.mega-head strong{font-size:17px}.mega-head small{font-size:11px;color:#80909f}.mega-all{font-size:12px;font-weight:800;color:var(--primary-dark)}
.pro-tool-mega-grid{grid-template-columns:1fr 1fr;gap:5px}
.pro-tool-mega-grid .mega-tool-item{display:grid;grid-template-columns:42px 1fr 16px;align-items:center;gap:11px;padding:11px;border-radius:11px;color:var(--text)}
.pro-tool-mega-grid .mega-tool-item:hover{background:#f1f8f5}
.pro-menu-icon{width:40px;height:40px;border:1px solid #d8e6e0;background:#f8fbfa;border-radius:10px;color:var(--primary-dark)}
.pro-menu-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.mega-tool-copy{min-width:0}.mega-tool-copy b{font-size:14px;color:#263548}.mega-tool-copy small{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#7a8698}.mega-arrow{color:#9aa6b2;font-size:20px}

/* Home hero */
.pro-home-hero{position:relative;background:var(--hero);padding:46px 0 42px;overflow:hidden;color:#fff}
.pro-home-hero:before,.pro-home-hero:after{content:"";position:absolute;pointer-events:none;border:1px solid rgba(87,218,161,.16);transform:rotate(42deg)}
.pro-home-hero:before{width:520px;height:520px;left:-360px;top:-205px}
.pro-home-hero:after{width:620px;height:620px;right:-480px;bottom:-340px}
.pro-home-hero>.container{position:relative;z-index:1}
.hero-heading{text-align:center;max-width:880px;margin:0 auto 25px}.hero-kicker{display:inline-block;font-size:11px;font-weight:900;letter-spacing:.12em;color:#5ee19b;margin-bottom:8px}.hero-heading h1{font-size:clamp(34px,4.1vw,54px);line-height:1.08;letter-spacing:-.04em;margin:0}.hero-heading p{font-size:17px;line-height:1.6;color:#c8ddd7;max-width:760px;margin:14px auto 0}
.tool-finder{position:relative;display:grid;grid-template-columns:1fr 240px auto;align-items:center;gap:0;background:#fff;border:7px solid rgba(255,255,255,.14);border-radius:999px;max-width:1100px;margin:0 auto 26px;box-shadow:0 18px 45px rgba(0,0,0,.16)}
.finder-input-wrap{height:58px;display:flex;align-items:center;gap:11px;padding:0 19px;border-radius:999px 0 0 999px;background:#fff}.finder-search-icon{width:22px;height:22px;color:#657386;display:grid;place-items:center}.finder-search-icon svg,.finder-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}.finder-input-wrap input{height:100%;width:100%;border:0;outline:0;font-size:15px;background:transparent;color:#253247}.finder-input-wrap input::placeholder{color:#98a2b3}.finder-category{height:58px;border-left:1px solid #e3e8e7;background:#fff}.finder-category select{height:100%;width:100%;border:0;outline:0;background:#fff;padding:0 18px;font-weight:700;color:#425066}.finder-button{height:50px;margin:4px 4px 4px 0;padding:0 24px;border:0;border-radius:999px;background:var(--primary);color:#fff;display:flex;align-items:center;gap:8px;font-weight:900;cursor:pointer;white-space:nowrap}.finder-button:hover{background:#07924e}.finder-suggestions{position:absolute;left:20px;right:20px;top:72px;background:#fff;color:var(--text);border:1px solid #dfe7e4;border-radius:13px;box-shadow:0 22px 55px rgba(16,24,40,.18);padding:8px;z-index:5}.finder-suggestions a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-radius:9px;color:#28384c;font-weight:700}.finder-suggestions a:hover{background:#f1f8f5}.finder-suggestions small{font-weight:500;color:#7a8698}
.hero-workspace{display:grid;grid-template-columns:330px 1fr;gap:16px;max-width:1100px;margin:0 auto}.hero-tool-nav,.hero-feature-panel{border-radius:17px;background:#fff;overflow:hidden;box-shadow:0 18px 45px rgba(0,0,0,.11)}
.hero-tool-nav{color:var(--text)}.hero-tool-nav-head{padding:16px 18px 12px;border-bottom:1px solid #edf1f0;display:flex;align-items:center;justify-content:space-between;gap:10px}.hero-tool-nav-head strong{font-size:14px}.hero-tool-nav-head span{font-size:11px;color:#98a2b3}.hero-tool-nav-list{padding:6px}.hero-tool-nav-list a{display:grid;grid-template-columns:31px 1fr 14px;align-items:center;gap:10px;min-height:46px;padding:7px 10px;border-radius:9px;color:#2f3c4f;font-size:13px;font-weight:750}.hero-tool-nav-list a:hover{background:#eff8f4;color:var(--primary-dark)}.hero-tool-nav-list b{font-size:20px;font-weight:400;color:#a0abb7}.hero-tool-nav-icon{width:29px;height:29px;border-radius:8px;background:#f1f8f5;color:var(--primary);display:grid;place-items:center}.hero-tool-nav-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.hero-feature-panel{display:grid;grid-template-columns:1.1fr .9fr;min-height:360px;background:#f7fbfa;color:var(--text);border:1px solid rgba(255,255,255,.4)}.feature-copy{padding:38px 12px 34px 38px;display:flex;flex-direction:column;justify-content:center}.feature-kicker{font-size:10px;font-weight:900;letter-spacing:.11em;color:var(--primary);margin-bottom:9px}.feature-copy h2{font-size:34px;line-height:1.1;letter-spacing:-.035em;margin:0 0 12px}.feature-copy p{color:#637184;font-size:14px;line-height:1.62;margin:0;max-width:560px}.feature-pills{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.feature-pills span{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:0 10px;border:1px solid #cfe4dc;border-radius:999px;background:#fff;font-size:11px;font-weight:750;color:#435166}.feature-pills i{font-style:normal;color:var(--primary);font-weight:900}.feature-cta{display:inline-flex;align-items:center;justify-content:center;align-self:flex-start;gap:12px;min-height:46px;padding:0 19px;border-radius:999px;background:var(--primary);color:#fff;font-size:13px;font-weight:900}.feature-cta:hover{background:var(--primary-dark);color:#fff}.feature-visual{position:relative;display:grid;place-items:center;padding:30px 30px 30px 8px}.feature-visual:before{content:"";position:absolute;inset:22px 22px 22px 8px;border:1px solid #d8e9e2;border-radius:28px;transform:rotate(-4deg)}.visual-window{position:relative;width:min(360px,100%);background:#fff;border:1px solid #dce6e2;border-radius:15px;box-shadow:0 18px 45px rgba(34,72,60,.12);padding:16px;z-index:1}.visual-window-top{display:flex;gap:5px;border-bottom:1px solid #edf1ef;padding-bottom:11px;margin-bottom:13px}.visual-window-top span{width:7px;height:7px;border-radius:50%;background:#d8dfdd}.visual-rule{display:flex;justify-content:space-between;gap:10px;font-size:10px;padding:9px 10px;background:#eff8f4;border-radius:8px;color:#425467}.visual-rule span{color:var(--primary);font-weight:800}.visual-input{border:1px solid #e0e6e4;border-radius:9px;padding:10px 12px;margin-top:11px}.visual-input small,.visual-result small{display:block;color:#8994a3;font-size:9px;margin-bottom:3px}.visual-input strong{font-size:13px}.visual-result{margin-top:10px;background:var(--hero);border-radius:10px;padding:13px;color:#fff}.visual-result small{color:#b8d7cf}.visual-result strong{font-size:22px;letter-spacing:-.02em}.visual-bars{display:flex;align-items:flex-end;gap:5px;height:38px;margin-top:10px}.visual-bars i{display:block;width:22%;border-radius:3px 3px 0 0;background:#4bd895}.visual-bars i:nth-child(1){height:35%}.visual-bars i:nth-child(2){height:62%}.visual-bars i:nth-child(3){height:90%}

/* Home tools */
.pro-tools-section{padding:55px 0 66px;background:#f4f7f6}.pro-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:26px;margin-bottom:20px}.section-kicker{display:block;color:var(--primary);font-size:10px;font-weight:900;letter-spacing:.12em;margin-bottom:7px}.pro-section-head h2{font-size:30px;line-height:1.16;letter-spacing:-.028em;margin:0}.pro-section-head p{margin:8px 0 0;color:#687588;font-size:14px}.pro-section-head>a{font-size:12px;font-weight:800;color:var(--primary-dark);white-space:nowrap}.category-chips{display:flex;gap:9px;overflow-x:auto;padding:4px 0 18px;scrollbar-width:none}.category-chips::-webkit-scrollbar{display:none}.category-chip{flex:0 0 auto;border:1px solid #dce4e2;background:#fff;color:#435166;border-radius:999px;min-height:38px;padding:0 15px;font-size:12px;font-weight:800;cursor:pointer}.category-chip:hover,.category-chip.is-active{background:var(--primary);border-color:var(--primary);color:#fff}.pro-tool-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.pro-tool-card{display:flex;flex-direction:column;min-height:220px;background:#fff;border:1px solid #dfe6e4;border-radius:14px;padding:20px;color:var(--text);box-shadow:0 2px 9px rgba(16,24,40,.025);transition:.16s ease}.pro-tool-card:hover{transform:translateY(-2px);border-color:#bcd8cd;box-shadow:0 13px 30px rgba(16,24,40,.075)}.pro-tool-card[hidden]{display:none}.pro-tool-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.pro-tool-card-icon{width:42px;height:42px;border:1px solid #d4e6df;background:#f1f8f5;border-radius:11px;color:var(--primary);display:grid;place-items:center}.pro-tool-card-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.pro-tool-category{font-size:10px;font-weight:800;color:#84909f}.pro-tool-card h3{font-size:19px;letter-spacing:-.02em;margin:17px 0 7px}.pro-tool-card p{font-size:13px;line-height:1.6;color:#718092;margin:0 0 18px}.pro-tool-link{margin-top:auto;display:flex;align-items:center;gap:6px;color:var(--primary-dark);font-size:12px;font-weight:900}.pro-tool-link b{font-size:15px}
.pro-trust-section{background:#fff;border-top:1px solid #e5ebe9;border-bottom:1px solid #e5ebe9}.pro-trust-grid{display:grid;grid-template-columns:repeat(4,1fr)}.pro-trust-grid>div{display:flex;align-items:center;gap:12px;padding:24px 19px;border-right:1px solid #e8eeec}.pro-trust-grid>div:last-child{border-right:0}.trust-icon{width:36px;height:36px;flex:0 0 36px;border-radius:10px;background:#eff8f4;color:var(--primary);display:grid;place-items:center}.trust-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.pro-trust-grid b,.pro-trust-grid span{display:block}.pro-trust-grid b{font-size:13px}.pro-trust-grid>div>div>span{font-size:11px;color:#7b8795;margin-top:2px}

/* Tool pages */
.pro-tool-hero{padding:30px 0 26px;background:#fff;border-bottom:1px solid #e4eae8}.pro-tool-hero .breadcrumb{margin-bottom:15px;font-size:12px;color:#8792a1}.pro-tool-hero .breadcrumb a{color:#6f7d8f}.tool-title-row{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:18px}.tool-title-copy{max-width:820px}.tool-kicker{display:block;font-size:10px;font-weight:900;letter-spacing:.11em;color:var(--primary);margin-bottom:7px}.pro-tool-hero h1{font-size:clamp(31px,3.8vw,44px);line-height:1.1;letter-spacing:-.035em;margin:0}.pro-tool-hero .tool-title-copy>p{max-width:800px;font-size:15px;color:#6b7788;line-height:1.6;margin:9px 0 0}.tool-back-home{flex:0 0 auto;display:inline-flex;align-items:center;gap:8px;min-height:39px;padding:0 13px;border:1px solid #d6e2de;border-radius:999px;color:#425166;font-size:11px;font-weight:800;background:#fff}.tool-back-home:hover{border-color:#a9d0c1;color:var(--primary-dark)}
.rule-status{padding:11px 13px;border:1px solid #d3e6df;background:#f4faf7;border-radius:10px;font-size:12px;color:#526172}.rule-status strong{color:#2f463d}.rule-status .status-dot{background:var(--primary)}.rule-status a{color:var(--primary-dark)}.rule-status.rule-error{background:#fff7f5;border-color:#efc7c0}
.calculator-area{padding:28px 0 56px}.calc-shell{border:1px solid #dce4e2;border-radius:16px;background:#fff;box-shadow:0 11px 32px rgba(16,24,40,.055)}.input-panel{padding:27px;border-right:1px solid #e5ebe9}.input-panel h2{font-size:20px;letter-spacing:-.02em}.input-panel label>span:first-child,.admin-form label>span:first-child,.auth-card label>span:first-child,.group-label,fieldset legend{font-size:12px;color:#314052}.input-panel input,.input-panel select,.admin-form input,.admin-form select,.admin-form textarea,.auth-card input{height:50px;border-color:#cedad6;border-radius:9px;background:#fff}.input-panel input:hover,.input-panel select:hover{border-color:#b8cbc4}.input-panel input:focus,.input-panel select:focus,.admin-form input:focus,.admin-form select:focus,.admin-form textarea:focus,.auth-card input:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgba(10,168,90,.105)}
.segmented{background:#eef3f1}.segmented input:checked+span{color:var(--primary-dark)!important;box-shadow:0 2px 7px rgba(16,24,40,.08)}
.primary-button{background:var(--primary);border-color:var(--primary);border-radius:9px;box-shadow:0 6px 15px rgba(10,168,90,.14)}.primary-button:hover{background:var(--primary-dark);border-color:var(--primary-dark)}.secondary-button{border-color:#cbd8d3;border-radius:9px}.secondary-button:hover{border-color:var(--primary);color:var(--primary-dark)}
.result-panel{background:#fff}.placeholder-symbol{background:#f1f8f5;color:var(--primary);border-color:#d8e6e0}.main-amount{color:var(--primary-dark)}.result-head{border-color:#e4ebe8}.result-head .eyebrow{color:var(--primary)}
.content-below{background:#fff;border-top:1px solid #e4ebe8;padding:44px 0 62px}.content-below .content-narrow{max-width:860px}.content-below h2{letter-spacing:-.025em;color:#223044}.content-below p{color:#647284;line-height:1.75}

/* BHXH one-time: cleaner, professional data-entry table/card hybrid */
.onetime-input-panel{padding:26px}.onetime-toolbar{padding-bottom:20px;border-bottom:1px solid #e5ebe9;margin-bottom:18px}.onetime-toolbar h2{font-size:21px}.onetime-toolbar p{font-size:12px;line-height:1.6}.decision-date{max-width:250px}.onetime-reason{padding:14px;background:#f7faf9;border:1px solid #e1e8e5;border-radius:11px}.onetime-reason>.segmented{max-width:680px;background:#edf3f1}.onetime-tabs{gap:26px;border-bottom-color:#dae4e0;margin-top:2px}.onetime-tab{font-size:13px;padding:12px 2px 11px}.onetime-tab.is-active{color:var(--primary-dark);border-bottom-color:var(--primary);font-weight:850}.onetime-row{padding:15px;border:1px solid #dde6e3;border-radius:12px;background:#fbfdfc;margin:0 0 12px}.onetime-row-top{margin-bottom:12px}.onetime-kind{background:#e9f7f0;color:var(--primary-dark);border:1px solid #d2ebdf}.onetime-kind.is-voluntary{background:#eef8f2;color:#177249}.onetime-kind.is-maternity{background:#fff7e9;color:#8b5d0b}.period-remove{border:0;background:transparent;color:#8b96a4;font-size:11px;font-weight:800;cursor:pointer;padding:7px 8px;border-radius:7px}.period-remove:hover{background:#fff0ed;color:#b42318}.onetime-row-grid{gap:12px;align-items:start}.onetime-period-field,.onetime-money-field,.onetime-extra-field{align-self:start}.onetime-row .onetime-extra-field small{min-height:0;margin-top:7px;line-height:1.45}.onetime-actions{margin:14px 0 20px}.onetime-submit{padding-top:18px}.onetime-submit .primary-button{min-width:285px}

/* Footer */
.pro-footer{background:#10251f;color:#dbe7e2;border-top:0;padding-top:38px}.pro-footer-grid{grid-template-columns:1.7fr .7fr .8fr;gap:50px;padding-bottom:30px}.pro-footer .footer-brand{color:#fff}.pro-footer .brand-copy strong{color:#fff}.pro-footer .brand-copy small{color:#9bb1a8}.pro-footer .pro-brand-mark{box-shadow:none}.footer-brand-block p{max-width:430px;color:#9fb4ac;font-size:13px;line-height:1.7;margin:16px 0 0}.footer-links{display:grid;align-content:start;gap:9px}.footer-links strong{font-size:12px;color:#fff;margin-bottom:4px}.footer-links a{color:#a9bbb4;font-size:12px}.footer-links a:hover{color:#fff}.footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid rgba(255,255,255,.09);padding-top:17px;padding-bottom:20px;color:#80978e;font-size:10px}

/* Mobile */
@media(max-width:1050px){
  .pro-tool-mega{right:-20px;width:700px}.hero-workspace{grid-template-columns:290px 1fr}.hero-feature-panel{grid-template-columns:1fr}.feature-visual{display:none}.feature-copy{padding:34px}.pro-tool-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:860px){
  .pro-desktop-nav,.header-cta{display:none}.mobile-menu-button{display:block}
  .pro-header .header-inner{grid-template-columns:1fr auto;gap:12px}.hero-workspace{grid-template-columns:1fr}.hero-tool-nav{display:none}.hero-feature-panel{min-height:300px}.tool-finder{grid-template-columns:1fr auto;border-radius:16px;border-width:5px}.finder-input-wrap{border-radius:11px 0 0 11px}.finder-category{display:none}.finder-button{border-radius:10px;margin:4px}.finder-suggestions{top:68px}.pro-trust-grid{grid-template-columns:1fr 1fr}.pro-trust-grid>div:nth-child(2){border-right:0}.pro-trust-grid>div:nth-child(-n+2){border-bottom:1px solid #e8eeec}.tool-title-row{display:block}.tool-back-home{margin-top:15px}.pro-footer-grid{grid-template-columns:1.5fr 1fr}.pro-footer-grid .footer-links:last-child{display:none}
}
@media(max-width:650px){
  .container{width:calc(100% - 24px)}.site-header.pro-header,.pro-header .header-inner{height:68px}.pro-brand.header-brand{min-width:0}.pro-brand-mark{width:40px;height:40px;border-radius:12px}.brand-copy strong{font-size:15px;white-space:normal}.brand-copy small{font-size:10px;white-space:normal}.mobile-menu-button{width:44px;height:44px}
  .mobile-drawer{border-top:1px solid #e6ecea}.mobile-tools{padding:9px 0 16px}.mobile-drawer-title{padding:10px 0 5px;font-size:10px;font-weight:900;letter-spacing:.1em;color:#8793a1}.mobile-primary-links{display:grid;gap:6px;margin-bottom:6px}.mobile-primary-links a{display:flex!important;align-items:center;min-height:42px;border-bottom:1px solid #eef2f1;color:#2f3d50;font-weight:700}.mobile-tools a{display:grid;grid-template-columns:33px 1fr;gap:9px;min-height:46px;border-bottom:1px solid #eef2f1}.mobile-tool-icon{width:30px;height:30px;border-radius:8px;background:#f1f8f5;color:var(--primary);display:grid;place-items:center}.mobile-tool-icon svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.mobile-tools .mobile-about-link{display:flex;color:#667085;font-weight:700}
  .pro-home-hero{padding:34px 0 30px}.hero-heading{text-align:left;margin-bottom:18px}.hero-kicker{font-size:9px}.hero-heading h1{font-size:35px}.hero-heading p{font-size:14px;margin-top:10px}.tool-finder{display:grid;grid-template-columns:1fr 48px;border-radius:12px;margin-bottom:15px}.finder-input-wrap{height:52px;padding:0 13px}.finder-input-wrap input{font-size:13px}.finder-button{width:44px;height:44px;padding:0;justify-content:center}.finder-button span{display:none}.finder-suggestions{left:5px;right:5px;top:61px}.hero-feature-panel{min-height:0}.feature-copy{padding:25px 21px}.feature-copy h2{font-size:27px}.feature-copy p{font-size:13px}.feature-pills{gap:6px;margin:15px 0}.feature-pills span{font-size:10px}.feature-cta{width:100%;font-size:12px}
  .pro-tools-section{padding:38px 0 44px}.pro-section-head{display:block}.pro-section-head h2{font-size:25px}.pro-section-head p{font-size:13px}.pro-section-head>a{display:inline-block;margin-top:10px}.category-chips{margin-right:-12px}.pro-tool-grid{grid-template-columns:1fr}.pro-tool-card{min-height:0;padding:18px}.pro-tool-card h3{font-size:18px}.pro-trust-grid{grid-template-columns:1fr}.pro-trust-grid>div{border-right:0!important;border-bottom:1px solid #e8eeec!important;padding:16px 3px}.pro-trust-grid>div:last-child{border-bottom:0!important}
  .pro-tool-hero{padding:22px 0 20px}.pro-tool-hero h1{font-size:31px}.pro-tool-hero .tool-title-copy>p{font-size:13px}.rule-status{font-size:11px}.calculator-area{padding:18px 0 38px}.calc-shell{border-radius:13px}.input-panel{padding:17px}.input-panel h2{font-size:18px}.onetime-input-panel{padding:16px}.onetime-toolbar{padding-bottom:15px}.onetime-reason{padding:11px}.onetime-row{padding:12px}.onetime-tab{font-size:12px}.onetime-submit .primary-button{min-width:0;width:100%}
  .content-below{padding:32px 0 42px}.pro-footer{padding-top:28px}.pro-footer-grid{grid-template-columns:1fr;gap:22px}.pro-footer-grid .footer-links{display:none}.footer-bottom{display:block}.footer-bottom span{display:block;margin-top:4px}
}

/* v1.4.2 — interaction normalization */
.nav-app-icon{width:25px;height:25px;border-radius:8px;background:#eef8f3;color:var(--primary-dark);display:inline-grid;place-items:center;flex:0 0 25px}
.nav-app-icon svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.6}
.tool-menu-trigger .nav-chevron{transition:transform .18s ease}
.tool-menu-trigger[aria-expanded="true"] .nav-chevron{transform:rotate(180deg)}

/* Consistent select affordance across all calculators. */
.input-panel select,.onetime-input-panel select,.finder-category select,.admin-form select{
  -webkit-appearance:none;appearance:none;
  background-color:#fff;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='m5.5 7.5 4.5 5 4.5-5' stroke='%23475567' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 14px center;background-size:18px 18px;padding-right:44px!important;
}
.input-panel select:hover,.onetime-input-panel select:hover{background-color:#fbfdfc}
.input-panel select:disabled,.onetime-input-panel select:disabled{background-color:#f5f7f7;color:#98a2b3;cursor:not-allowed}

.provider-context{display:grid;grid-template-columns:44px 1fr auto;gap:12px;align-items:center;margin:-4px 0 17px;padding:12px 13px;border:1px solid #d8e8e1;border-radius:11px;background:#f7fbf9}
.provider-context-icon{width:40px;height:40px;border-radius:10px;background:#e9f7f0;color:var(--primary-dark);display:grid;place-items:center}
.provider-context-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.provider-context small,.provider-context strong,.provider-context span{display:block}
.provider-context small{font-size:10px;color:#7e8c99;margin:0 0 2px}
.provider-context strong{font-size:13px;color:#26384a;line-height:1.35}
.provider-context>div>span{font-size:11px;color:#708090;margin-top:2px}
.provider-context-status{display:inline-flex!important;align-items:center;gap:6px!important;padding:6px 9px;border-radius:999px;background:#e9f7f0;color:#177249!important;font-size:10px!important;font-weight:850;white-space:nowrap}
.provider-context-status i{width:6px;height:6px;border-radius:50%;background:var(--primary);display:inline-block}

@media(max-width:650px){
  .provider-context{grid-template-columns:38px 1fr;padding:11px}.provider-context-icon{width:36px;height:36px}.provider-context-status{grid-column:2;justify-self:start;margin-top:-4px}
  .nav-app-icon{width:24px;height:24px}
}

/* v1.4.5 - BHXH one-time unlock analysis */
.calc-analysis-lock{overflow:hidden!important}
.calc-analysis-overlay{position:fixed;inset:0;z-index:2147482500;display:grid;place-items:center;padding:20px;background:rgba(7,28,24,.72);backdrop-filter:blur(5px)}
.calc-analysis-card{width:min(560px,100%);background:#fff;border:1px solid #dce8e3;border-radius:20px;padding:30px;box-shadow:0 30px 90px rgba(0,0,0,.28);text-align:center;color:#172033}
.calc-analysis-spinner{width:52px;height:52px;margin:0 auto 14px;border:4px solid #dcefe6;border-top-color:#0aa85a;border-radius:50%;animation:calcSpin .8s linear infinite}
@keyframes calcSpin{to{transform:rotate(360deg)}}
.calc-analysis-kicker{display:block;color:#0aa85a;font-size:10px;font-weight:900;letter-spacing:.14em;margin-bottom:6px}
.calc-analysis-card h2{font-size:25px;line-height:1.25;margin:0 0 8px;letter-spacing:-.025em}
.calc-analysis-card>p{margin:0 auto 16px;color:#677588;line-height:1.6;max-width:460px;font-size:14px}
.calc-analysis-summary{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:0 auto 18px}.calc-analysis-summary>*{padding:7px 11px;border-radius:999px;background:#eef8f3;color:#176c49;font-size:12px}
.calc-analysis-steps{display:grid;gap:9px;text-align:left;padding:14px;border:1px solid #e0e8e5;border-radius:13px;background:#f9fbfa}.calc-analysis-steps>div{display:grid;grid-template-columns:24px 1fr;align-items:center;gap:9px;color:#7b8794;font-size:13px}.calc-analysis-steps i{width:22px;height:22px;border-radius:50%;border:2px solid #cfdad6;display:grid;place-items:center;font-style:normal;font-size:12px}.calc-analysis-steps .is-done{color:#2f4a3f}.calc-analysis-steps .is-done i{background:#0aa85a;border-color:#0aa85a;color:#fff}.calc-analysis-steps .is-active{color:#172033;font-weight:700}.calc-analysis-steps .is-active i{border-color:#0aa85a;border-top-color:transparent;animation:calcSpin .75s linear infinite}
.calc-analysis-card>small{display:block;margin-top:13px;color:#7c8997;font-size:11px}
@media(max-width:640px){.calc-analysis-overlay{padding:10px}.calc-analysis-card{padding:24px 17px;border-radius:16px}.calc-analysis-card h2{font-size:21px}}


/* TrafficTD unlock popup - external CSS for CSP compatibility */
.sv-lock{overflow:hidden!important}
.sv-overlay{position:fixed;inset:0;z-index:2147483000;background:rgba(15,23,42,.72);display:flex;align-items:flex-start;justify-content:center;padding:24px 12px;overflow:auto}
.sv-modal{width:min(820px,100%);margin:auto;background:#fff;border-radius:18px;box-shadow:0 28px 90px rgba(0,0,0,.35);font-family:Arial,Helvetica,sans-serif;color:#172033;overflow:hidden}
.sv-head{position:relative;padding:28px 58px 10px;text-align:center}
.sv-title{margin:0;color:#087a46;font-size:22px;line-height:1.35;font-weight:800}
.sv-close{position:absolute;right:18px;top:14px;border:0;background:transparent;color:#9ca3af;font-size:30px;line-height:1;cursor:pointer}
.sv-body{padding:8px 30px 30px}
.sv-note{border:1px solid #bfe5d2;background:#f1fbf6;border-radius:12px;padding:16px;text-align:center;color:#176b49;font-weight:750;margin:8px 0 18px}
.sv-note b{color:#087a46}
.sv-verify-row{display:grid;grid-template-columns:1fr auto;gap:12px;margin-bottom:18px}
.sv-input{min-width:0;border:1px solid #dbe1ea;background:#f8fafc;padding:15px 16px;font-size:18px;border-radius:8px;outline:none}
.sv-input:focus{border-color:#0aa85a;box-shadow:0 0 0 3px rgba(10,168,90,.14)}
.sv-confirm,.sv-google,.sv-copy,.sv-reload{border:0;border-radius:8px;cursor:pointer;font-weight:700}
.sv-confirm{background:#0aa85a;color:#fff;padding:0 24px;font-size:17px;min-height:54px}
.sv-confirm[disabled]{opacity:.6;cursor:wait}
.sv-step{font-size:17px;line-height:1.55;margin:16px 0}
.sv-step strong{color:#111827}
.sv-keyword{color:#d40000;font-weight:800}
.sv-copy{margin-left:8px;padding:6px 13px;border:1px solid #111827;background:#fff;color:#111827}
.sv-google{display:inline-flex;text-decoration:none;background:#1a73e8;color:#fff;padding:10px 14px;margin-top:8px}
.sv-image{display:block;width:100%;height:auto;border:1px solid #dbe1ea;border-radius:10px;margin:10px 0 0;background:#fff}
.sv-serp{border:2px solid #ef4444;padding:15px;border-radius:10px;margin-top:10px;background:#fff}
.sv-serp-url{font-size:14px;color:#4b5563}.sv-serp-title{color:#4f20bd;font-size:20px;margin:6px 0}.sv-serp-desc{font-size:14px;color:#4b5563}
.sv-help{color:#0077b6;text-align:center;margin:14px 0}
.sv-status{min-height:24px;margin:8px 0 0;font-weight:700}.sv-status.error{color:#dc2626}.sv-status.ok{color:#15803d}
.sv-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:14px}.sv-reload{background:#f1f5f9;padding:9px 13px;color:#334155}
@media(max-width:640px){.sv-overlay{padding:0}.sv-modal{min-height:100%;border-radius:0}.sv-head{padding:24px 42px 8px}.sv-title{font-size:19px}.sv-body{padding:8px 16px 24px}.sv-verify-row{grid-template-columns:1fr}.sv-confirm{min-height:50px}.sv-copy{display:inline-block;margin:8px 0 0}.sv-step{font-size:16px}}

/* v1.4.7 - TrafficTD search image preview */
.sv-search-preview{margin-top:12px}
.sv-search-preview + .sv-search-fallback{margin-top:10px}
.sv-image-error{padding:18px;border:1px dashed #d7a72e;border-radius:10px;background:#fffaf0;color:#7a5b12;font-size:14px;font-weight:700;text-align:center}

/* v1.5.3 - TrafficTD Bước 4 / ảnh vị trí lấy mã */
.sv-result-preview{margin-top:12px}
.sv-step-result{padding-top:2px}
.sv-result-fallback{margin-top:10px;padding:15px 16px;border:1px dashed #d7a72e;border-radius:10px;background:#fffaf0;color:#6f5718;display:grid;gap:5px}
.sv-result-fallback b{color:#5d470f}
.sv-result-fallback span{font-size:14px;line-height:1.55}
.sv-result-preview + .sv-result-fallback{margin-top:10px}
.sv-code-help{font-weight:700;color:#176b49;background:#f1fbf6;border:1px solid #c8ead8;border-radius:10px;padding:11px 13px}

/* PIT v1.5.4 - tax analysis, annual settlement and eTax guide */
.pit-calculator-area{padding-top:22px}.pit-mode-toolbar{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:14px}.pit-mode-tab{display:flex;flex-direction:column;align-items:flex-start;gap:3px;padding:14px 16px;border:1px solid #d7e2df;border-radius:12px;background:#fff;color:#344054;text-align:left;cursor:pointer;transition:.15s ease}.pit-mode-tab span{font-weight:850;font-size:14px}.pit-mode-tab small{font-size:11px;color:#7c8898;line-height:1.35}.pit-mode-tab:hover{border-color:#a9d5c5;background:#f8fcfa}.pit-mode-tab.is-active{border-color:#0aaa5a;background:#effaf4;box-shadow:0 0 0 2px rgba(10,170,90,.06)}.pit-mode-tab.is-active span{color:#087641}.pit-input-panel{position:relative}.pit-annual-note{padding:13px 14px;border:1px solid #cde8dc;background:#f4fbf7;border-radius:10px;margin-bottom:17px}.pit-annual-note strong{font-size:13px;color:#176743}.pit-annual-note p{font-size:12px;color:#5c6c68;margin:4px 0 0;line-height:1.55}.pit-highlight-field{padding:13px;border:1px solid #cfe6dd;background:#f8fcfa;border-radius:10px}.pit-highlight-field>span:first-child{color:#225543!important}.pit-unlock-value{margin:20px 0 16px;padding:15px;border:1px solid #d8e8e1;border-radius:12px;background:linear-gradient(180deg,#f8fcfa,#fff)}.pit-unlock-value-head{display:flex;align-items:center;gap:10px;margin-bottom:10px}.pit-unlock-value-head>span{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#e5f7ed;color:#09864a;font-weight:900}.pit-unlock-value-head div{display:grid;gap:1px}.pit-unlock-value-head strong{font-size:13px}.pit-unlock-value-head small{font-size:11px;color:#748194;margin:0}.pit-unlock-value ul{display:grid;grid-template-columns:1fr 1fr;gap:7px 18px;margin:0;padding:0;list-style:none}.pit-unlock-value li{position:relative;padding-left:18px;font-size:12px;color:#4c596a;line-height:1.45}.pit-unlock-value li:before{content:'✓';position:absolute;left:0;color:#09a057;font-weight:900}.pit-submit{font-size:15px}
.pit-result-center{margin-top:20px;background:#fff;border:1px solid #dbe4e1;border-radius:16px;padding:24px;box-shadow:0 12px 30px rgba(16,24,40,.04)}.pit-result-center-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding-bottom:17px;border-bottom:1px solid #e8eeec}.pit-result-center-head h2{margin:3px 0 3px;font-size:24px;letter-spacing:-.025em}.pit-result-center-head p{margin:0;color:#6d798a;font-size:13px}.pit-result-status{flex:0 0 auto;padding:7px 10px;border-radius:999px;font-size:11px;font-weight:900;background:#f1f4f6;color:#586477}.pit-result-status.due{background:#fff4e8;color:#a45a00}.pit-result-status.overpaid{background:#e9f8ef;color:#087a43}.pit-result-status.balanced{background:#eef4f8;color:#3c5b72}.pit-kpi-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding-top:17px}.pit-kpi-grid article{min-height:128px;padding:14px;border:1px solid #e1e7e5;border-radius:12px;background:#fbfcfc;display:flex;flex-direction:column}.pit-kpi-grid article>span{font-size:11px;font-weight:800;color:#748194;text-transform:uppercase;letter-spacing:.035em}.pit-kpi-grid article>strong{font-size:21px;margin:7px 0 4px;letter-spacing:-.025em;color:#223048}.pit-kpi-grid article>small{font-size:11px;color:#7c8796;line-height:1.45;margin-top:auto}.pit-kpi-grid article.is-balance{background:#f4fbf7;border-color:#cae6d9}.pit-kpi-grid article.is-balance>strong{color:#087a43}.pit-analysis-callout{display:grid;grid-template-columns:190px 1fr;gap:18px;align-items:center;margin-top:14px;padding:14px 16px;border-radius:12px;background:#f7f9fb}.pit-analysis-callout>div{display:flex;flex-direction:column;gap:2px}.pit-analysis-callout b{font-size:11px;color:#718093}.pit-analysis-callout strong{font-size:22px;color:#0b7d48}.pit-analysis-callout p{margin:0;color:#596677;font-size:12px;line-height:1.55}
.pit-guide-section{background:#fff;border-top:1px solid #e3e9e7;padding:52px 0 72px}.pit-guide-container{max-width:980px}.pit-guide-heading{max-width:720px}.pit-guide-heading h2{font-size:28px;letter-spacing:-.03em;margin:5px 0 8px}.pit-guide-heading p{font-size:14px;color:#697789;line-height:1.6;margin:0}.pit-guide-tabs{display:flex;gap:7px;overflow:auto;margin:24px 0 16px;padding-bottom:3px}.pit-guide-tab{flex:0 0 auto;min-height:40px;padding:0 13px;border:1px solid #d9e3e0;border-radius:999px;background:#fff;color:#48566a;font-weight:800;font-size:12px;cursor:pointer}.pit-guide-tab.is-active{background:#0aa85a;border-color:#0aa85a;color:#fff}.pit-guide-panel{border:1px solid #e0e7e4;border-radius:14px;padding:18px;background:#fff}.pit-guide-steps{display:grid;gap:0}.pit-guide-steps article{display:grid;grid-template-columns:36px 1fr;gap:12px;padding:13px 0;border-bottom:1px solid #edf1f0}.pit-guide-steps article:last-child{border-bottom:0}.pit-guide-steps article>span{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#eaf8f0;color:#087a43;font-weight:900;font-size:12px}.pit-guide-steps strong{font-size:13px;color:#273548}.pit-guide-steps p{margin:3px 0 0;color:#687587;font-size:12px;line-height:1.55}.pit-warning{margin-top:14px;padding:12px 14px;border-radius:10px;background:#fff7e9;border:1px solid #f0d5a1}.pit-warning strong{font-size:12px;color:#8a5200}.pit-warning p{font-size:12px;margin:3px 0 0;color:#6f5c39}.pit-warning.is-green{background:#f2faf6;border-color:#cde6d9}.pit-warning.is-green strong{color:#126b43}.pit-warning.is-green p{color:#536c61}.pit-official-sources{margin-top:28px}.pit-official-sources h3{font-size:17px;margin:0 0 11px}.pit-source-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.pit-source-grid a{display:flex;flex-direction:column;gap:3px;padding:13px 14px;border:1px solid #dde6e3;border-radius:10px;color:#304156;background:#fbfcfc}.pit-source-grid a:hover{border-color:#abd3c3;background:#f6fbf8}.pit-source-grid strong{font-size:12px;color:#146c46}.pit-source-grid span{font-size:11px;color:#788594;line-height:1.45}
@media(max-width:900px){.pit-kpi-grid{grid-template-columns:1fr 1fr}.pit-analysis-callout{grid-template-columns:1fr}.pit-source-grid{grid-template-columns:1fr}.pit-unlock-value ul{grid-template-columns:1fr}}
@media(max-width:600px){.pit-mode-toolbar{grid-template-columns:1fr}.pit-mode-tab{padding:12px}.pit-result-center{padding:17px;border-radius:13px}.pit-result-center-head{display:block}.pit-result-status{display:inline-flex;margin-top:10px}.pit-kpi-grid{grid-template-columns:1fr}.pit-guide-section{padding:38px 0 52px}.pit-guide-heading h2{font-size:23px}.pit-guide-panel{padding:14px}.pit-guide-tabs{margin-top:18px}}
.pit-rule-snapshot{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:-2px 0 14px}.pit-rule-snapshot>div{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border:1px solid #e0e7e4;border-radius:10px;background:#fff}.pit-rule-snapshot span{font-size:10px;color:#788595;font-weight:800;text-transform:uppercase;letter-spacing:.035em}.pit-rule-snapshot strong{font-size:12px;color:#176a46;text-align:right}@media(max-width:900px){.pit-rule-snapshot{grid-template-columns:1fr}} 

/* v1.5.5 - unlock errors are separate from Rule Set errors */
.unlock-status{margin-top:14px;border-radius:14px;padding:14px 16px;display:grid;gap:4px;font-size:14px;line-height:1.5}
.unlock-status.unlock-error{border:1px solid #fed7aa;background:#fff7ed;color:#9a3412}
.unlock-status strong{font-size:14px;color:#7c2d12}
.unlock-status span{color:#9a3412}
.unlock-status small{color:#a16207}

/* v1.5.6 - every calculator submit requires a fresh unlock task/token */
