:root{
  --ui-personal:#2563eb;--ui-personal-strong:#1d4ed8;--ui-personal-soft:#eff6ff;
  --ui-enterprise:#087f5b;--ui-enterprise-strong:#066b4c;--ui-enterprise-soft:#ecfdf3;
  --ui-text:#172033;--ui-text-secondary:#667085;--ui-page:#f6f8fb;--ui-card:#fff;
  --ui-border:#dfe5ec;--ui-success:#067647;--ui-warning:#b54708;--ui-error:#b42318;--ui-info:#175cd3;
  --ui-space-1:4px;--ui-space-2:8px;--ui-space-3:12px;--ui-space-4:16px;--ui-space-5:20px;--ui-space-6:24px;--ui-space-8:32px;
  --ui-radius-sm:8px;--ui-radius-md:12px;--ui-radius-lg:16px;--ui-shadow:0 8px 24px rgba(16,24,40,.06);
  --ui-control-height:48px;--ui-container:1240px;
}
:root{
  --color-brand-primary:var(--ui-personal);--color-brand-primary-hover:var(--ui-personal-strong);
  --color-brand-enterprise:#168a68;--color-brand-enterprise-hover:#117456;
  --color-page-bg:var(--ui-page);--color-surface:var(--ui-card);--color-surface-muted:#f8fafc;
  --color-text-primary:var(--ui-text);--color-text-secondary:#64748b;--color-text-muted:#94a3b8;
  --color-border:var(--ui-border);--color-border-strong:#cbd5e1;--color-success:#15803d;
  --color-warning:#b45309;--color-danger:#b91c1c;--color-info-bg:#eff6ff;--color-enterprise-bg:#ecfdf5;
}
html{max-width:100%;overflow-x:clip;scroll-padding-top:16px}body{max-width:100%;overflow-x:clip;background:var(--ui-page);color:var(--ui-text)}body.uiux2-nav-open{overflow:hidden;touch-action:none}
:where(a,button,input,select,textarea,summary){-webkit-tap-highlight-color:transparent}:where(button,a,input,select,textarea,summary):focus-visible{outline:3px solid rgba(37,99,235,.32);outline-offset:3px}
input,select,textarea{min-height:var(--ui-control-height);font-size:16px}textarea{width:100%}button,.primary-button,.secondary-button{min-height:var(--ui-control-height)}
.page-shell,.tool-shell,.rates-shell,.knowledge-shell,.financial-shell,.loan-shell{width:min(100% - 32px,var(--ui-container));max-width:var(--ui-container)}
.article-shell{width:min(100% - 32px,820px)}
.site-header{height:60px;position:relative;z-index:80}.header-inner{width:100%;padding:0 16px;gap:10px}.matrix-link{display:none}.brand{font-size:19px}.main-nav{display:none}
.mobile-menu-toggle{display:inline-flex;width:46px;height:46px;margin-left:auto;align-items:center;justify-content:center;border:1px solid var(--ui-border);border-radius:12px;background:#fff;color:var(--ui-text);font-weight:800}.mobile-menu-toggle::before{content:"☰";font-size:20px}.mobile-menu-toggle[aria-expanded="true"]::before{content:"×";font-size:27px}
.module-switch-nav{position:sticky;z-index:70;top:0;background:rgba(255,255,255,.97);border-bottom:1px solid var(--ui-border);backdrop-filter:blur(14px)}.module-switch-inner{display:grid;width:100%;min-height:58px;padding:6px 16px;grid-template-columns:1fr 1fr;gap:8px}.module-switch-link{min-width:0;min-height:46px;padding:6px 10px;align-items:center;border-radius:10px;text-align:center}.module-switch-link small,.module-tool-menu,.module-all-tools{display:none}
.mobile-navigation{position:fixed;z-index:110;inset:0;display:flex;flex-direction:column;background:#fff;overflow:hidden}.mobile-navigation[hidden]{display:none}.mobile-navigation-header{display:flex;min-height:64px;align-items:center;justify-content:space-between;padding:env(safe-area-inset-top) 16px 0;border-bottom:1px solid var(--ui-border)}.mobile-navigation-header strong{font-size:18px}.mobile-navigation-close{width:46px;height:46px;border:0;border-radius:12px;background:#f2f4f7;font-size:25px}.mobile-navigation-body{flex:1;padding:16px 16px calc(24px + env(safe-area-inset-bottom));overflow-y:auto;overscroll-behavior:contain}.mobile-navigation details{border-bottom:1px solid var(--ui-border)}.mobile-navigation summary{display:flex;min-height:52px;align-items:center;justify-content:space-between;font-weight:800;cursor:pointer}.mobile-navigation summary::after{content:"＋";color:var(--ui-text-secondary)}.mobile-navigation details[open] summary::after{content:"－"}.mobile-navigation-links{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:0 0 16px}.mobile-navigation-links a{display:flex;min-height:46px;align-items:center;padding:10px 12px;border-radius:10px;background:#f8fafc;color:#344054;font-weight:650}.mobile-navigation-links a[aria-current="page"]{background:var(--ui-personal-soft);color:var(--ui-personal-strong)}.mobile-navigation details.enterprise .mobile-navigation-links a[aria-current="page"]{background:var(--ui-enterprise-soft);color:var(--ui-enterprise-strong)}
.hero,.tool-hero,.knowledge-hero{padding:32px 0 22px;text-align:left}.hero h1,.tool-hero h1,.knowledge-hero h1{font-size:clamp(28px,8.4vw,38px);letter-spacing:-.8px}.hero>p,.tool-hero>p{max-width:760px}.eyebrow{font-size:12px}
.card{margin-bottom:16px;padding:16px;border-radius:var(--ui-radius-lg);box-shadow:0 4px 18px rgba(16,24,40,.045)}.section-heading,.results-heading{align-items:flex-start;flex-direction:column;gap:12px;margin-bottom:18px}.section-heading h2,.results-heading h2{font-size:20px}.form-grid,.check-grid,.deduction-grid,.method-grid{grid-template-columns:1fr;gap:14px}.override-field{grid-column:auto}.field{gap:7px}.field>span{font-size:14px}.checkbox-field{align-self:stretch;flex-direction:row;justify-content:flex-start}.check-grid label{min-height:52px}.tool-submit,.action-bar .primary-button{width:100%;margin-top:20px}.action-bar{align-items:stretch;flex-direction:column;margin:22px 0 28px}.action-bar>*{width:100%}
.summary-grid,.tool-summary,.enterprise-result-grid,.salary-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.summary-grid>div{padding:14px}.summary-grid strong{font-size:18px;line-height:1.25;font-variant-numeric:tabular-nums}.summary-grid .highlight{grid-column:1/-1}.summary-grid .highlight strong{font-size:24px}.method-card{padding:16px}.method-card>strong{font-size:25px}
.module-entry-grid,.enterprise-tool-grid,.article-grid{grid-template-columns:1fr}.module-entry-card,.enterprise-tool-card{min-height:0;padding:18px}.scenario-selector{padding:16px}.scenario-selector-heading{text-align:left}.scenario-selector-grid{grid-template-columns:1fr}.scenario-selector-grid a{min-height:88px}.enterprise-tool-card,.module-entry-card.enterprise{background:#fff;border-left:4px solid var(--ui-enterprise)}
.table-wrap,.article-table-wrap,.uiux2-table-scroll{position:relative;width:100%!important;max-width:100%!important;min-width:0;overflow-x:auto!important;overflow-y:hidden;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}.table-wrap table,.article-table-wrap table,.uiux2-table-scroll table{min-width:680px}.table-scroll-hint{display:flex;margin:0 0 8px;align-items:center;gap:6px;color:var(--ui-text-secondary);font-size:12px}.table-scroll-hint::before{content:"↔";font-weight:800}.uiux2-table-region{scrollbar-width:thin}.uiux2-table-region:focus-visible{outline:3px solid rgba(37,99,235,.25);outline-offset:2px}th,td{font-variant-numeric:tabular-nums}td:not(:first-child),th:not(:first-child){text-align:right}
.formula-note,.policy-note,.tip-box,.form-error,.input-error{overflow-wrap:anywhere}.policy-note{padding:16px 4px 24px}.policy-note a{min-height:44px;display:inline-flex;align-items:center}.result-view-toggle{min-height:44px}.result-action-tools{display:grid;grid-template-columns:1fr 1fr}.result-action-tools button,.result-action-tools a{min-height:44px;justify-content:center;text-align:center}
.article-header{padding:30px 0 22px}.article-header h1{font-size:clamp(28px,8vw,40px)}.article-body{padding:24px 0;font-size:16px;line-height:1.82}.article-body h2{font-size:22px}.article-cta{align-items:stretch;flex-direction:column}.article-cta a{text-align:center;min-height:48px;display:flex;align-items:center;justify-content:center}
.calculator-tabs{display:none}.segmented{width:100%;overflow-x:auto}.segmented span{min-height:44px;display:flex;align-items:center;justify-content:center}.monthly-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.input-affix b{pointer-events:none}.input-error,.form-error{font-weight:650}
@media (min-width:390px){.scenario-selector-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mobile-navigation-links{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:768px){
  .page-shell,.tool-shell,.rates-shell,.knowledge-shell,.financial-shell,.loan-shell{width:min(100% - 48px,var(--ui-container))}.article-shell{width:min(100% - 48px,820px)}
  .site-header{height:64px}.header-inner{width:min(100% - 48px,var(--ui-container));padding:0}.matrix-link{display:block}.hero,.tool-hero,.knowledge-hero{padding:44px 0 28px}.hero{text-align:center}.card{padding:22px}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.check-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.deduction-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.method-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.module-entry-grid,.enterprise-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.article-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.scenario-selector-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.scenario-selector-heading{text-align:center}.summary-grid,.tool-summary,.enterprise-result-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.summary-grid .highlight{grid-column:auto}.tool-submit{width:auto;min-width:220px}.action-bar{align-items:center;flex-direction:row}.action-bar>*{width:auto}
}
@media (min-width:1024px){
  .header-inner{width:min(100% - 64px,var(--ui-container))}.main-nav{display:flex}.mobile-menu-toggle{display:none}.module-switch-nav{position:relative;top:auto}.module-switch-inner{display:flex;width:min(100% - 64px,var(--ui-container));min-height:62px;padding:0;gap:8px}.module-switch-link{align-items:flex-start;text-align:left}.module-switch-link small,.module-tool-menu,.module-all-tools{display:flex}.mobile-navigation{display:none!important}.calculator-tabs{display:block}
  .card{padding:24px}.section-heading,.results-heading{align-items:center;flex-direction:row}.form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.override-field{grid-column:span 2}.deduction-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.summary-grid,.tool-summary,.enterprise-result-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.enterprise-tool-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.article-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .tool-shell.uiux2-standard-calculator{display:grid;grid-template-columns:minmax(0,1.62fr) minmax(320px,1fr);gap:20px;align-items:start}.tool-shell.uiux2-standard-calculator>.tool-hero,.tool-shell.uiux2-standard-calculator>.policy-note,.tool-shell.uiux2-standard-calculator>footer{grid-column:1/-1}.tool-shell.uiux2-standard-calculator>.tool-form{grid-column:1}.tool-shell.uiux2-standard-calculator>.tool-result{grid-column:2;grid-row:2;position:sticky;top:20px;margin-top:0}.tool-shell.uiux2-standard-calculator>.tool-result .summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (min-width:1280px){.card{padding:24px}.tool-shell.uiux2-standard-calculator{gap:24px}.enterprise-tool-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (min-width:1440px){.page-shell,.tool-shell,.rates-shell,.knowledge-shell,.financial-shell,.loan-shell{width:min(100% - 64px,var(--ui-container))}}
@media (max-width:389px){.page-shell,.tool-shell,.rates-shell,.knowledge-shell,.financial-shell,.loan-shell,.article-shell{width:calc(100% - 32px)}.module-switch-inner{padding-inline:12px}.module-switch-link{padding-inline:6px}.module-switch-link span{font-size:14px}.card{padding:16px}.summary-grid,.tool-summary,.enterprise-result-grid{grid-template-columns:1fr}.summary-grid .highlight{grid-column:auto}.result-action-tools{grid-template-columns:1fr}.mobile-navigation-links{grid-template-columns:1fr}}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}
@media print{.mobile-menu-toggle,.mobile-navigation,.table-scroll-hint{display:none!important}}

/* Unified content and calculator visual system — 2026-11 */
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;line-height:1.65}
.site-header{background:#fff;border-bottom:1px solid var(--color-border)}
.header-inner{max-width:var(--ui-container)}.brand{color:var(--color-text-primary);letter-spacing:-.02em}.brand span{color:var(--color-brand-primary)}
.main-nav{gap:4px}.main-nav a{padding:10px 13px;border-radius:9px;color:var(--color-text-secondary);font-weight:700}.main-nav a:hover,.main-nav a.active{background:var(--ui-personal-soft);color:var(--color-brand-primary)}
.uiux2-enterprise-page .brand span{color:var(--color-brand-enterprise)}.uiux2-enterprise-page .main-nav a:hover,.uiux2-enterprise-page .main-nav a.active{background:var(--color-enterprise-bg);color:var(--color-brand-enterprise)}
.module-switch-link{display:flex;flex-direction:column;justify-content:center;color:var(--color-text-secondary);font-weight:800}.module-switch-link.active{background:var(--ui-personal-soft);color:var(--color-brand-primary)}.module-switch-link.enterprise.active{background:var(--color-enterprise-bg);color:var(--color-brand-enterprise)}
.module-tool-trigger,.module-all-tools{border-radius:9px;font-weight:750}.module-tool-panel{border:1px solid var(--color-border);border-radius:12px;background:#fff;box-shadow:var(--ui-shadow)}
.breadcrumb,.uiux2-breadcrumb{display:flex;max-width:100%;align-items:center;gap:8px;padding:20px 0 0;overflow-x:auto;color:var(--color-text-secondary);font-size:13px;white-space:nowrap}.breadcrumb a{color:var(--color-text-secondary)}.breadcrumb span[aria-current="page"],.breadcrumb>span:last-child{color:var(--color-text-primary);font-weight:700}
.tool-hero,.knowledge-hero,.article-header{border-bottom:1px solid var(--color-border);background:transparent}.tool-hero h1,.knowledge-hero h1,.article-header h1{max-width:980px;color:var(--color-text-primary);font-weight:850;line-height:1.16}.tool-hero>p,.article-lead{color:var(--color-text-secondary);font-size:17px;line-height:1.75}
.uiux2-enterprise-page .eyebrow,.uiux2-enterprise-page .article-tag{color:var(--color-brand-enterprise)}
.card,.tool-form,.tool-result,.results-card,.article-toc{border:1px solid var(--color-border);background:var(--color-surface);box-shadow:0 4px 18px rgba(16,24,40,.04)}
.field input,.field select,.field textarea,input,select,textarea{border-color:var(--color-border-strong);border-radius:9px;background:#fff;color:var(--color-text-primary)}
.field input:hover,.field select:hover,input:hover,select:hover,textarea:hover{border-color:#94a3b8}.field input:focus,.field select:focus,input:focus,select:focus,textarea:focus{border-color:var(--color-brand-primary);box-shadow:0 0 0 3px rgba(37,99,235,.12);outline:0}.uiux2-enterprise-page .field input:focus,.uiux2-enterprise-page .field select:focus,.uiux2-enterprise-page input:focus,.uiux2-enterprise-page select:focus{border-color:var(--color-brand-enterprise);box-shadow:0 0 0 3px rgba(22,138,104,.13)}
.primary-button,.tool-submit{border-radius:9px;background:var(--color-brand-primary);box-shadow:none;font-weight:800}.primary-button:hover,.tool-submit:hover{background:var(--color-brand-primary-hover)}.uiux2-enterprise-page .primary-button,.uiux2-enterprise-page .tool-submit{background:var(--color-brand-enterprise)}.uiux2-enterprise-page .primary-button:hover,.uiux2-enterprise-page .tool-submit:hover{background:var(--color-brand-enterprise-hover)}
.secondary-button,.invoice-p3c-actions button,.table-action{border:1px solid var(--color-border-strong)!important;border-radius:9px!important;background:#fff!important;color:var(--color-text-primary)!important}
.tool-result{border-top:4px solid var(--color-brand-primary)}.uiux2-enterprise-page .tool-result{border-top-color:var(--color-brand-enterprise)}
.summary-grid>div{border:1px solid var(--color-border);border-radius:10px;background:var(--color-surface-muted)}.summary-grid .highlight{background:var(--ui-personal-soft);border-color:#bfdbfe}.uiux2-enterprise-page .summary-grid .highlight{background:var(--color-enterprise-bg);border-color:#a7f3d0}.summary-grid strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.policy-note,.tip-box,.formula-box,.formula-note{border-radius:12px}.policy-note{border:1px solid #bfdbfe;background:var(--color-info-bg);padding:20px}.uiux2-enterprise-page .policy-note{border-color:#a7f3d0;background:var(--color-enterprise-bg)}.formula-box{border:1px solid var(--color-border);background:var(--color-surface-muted)}
.article-shell{max-width:820px}.article-header{padding-top:38px}.article-meta{display:flex;flex-wrap:wrap;gap:8px 18px;color:var(--color-text-secondary);font-size:13px}.article-body{color:#334155}.article-body>p,.article-body>ul,.article-body>ol{max-width:76ch}.article-body h2{margin-top:44px;padding-top:4px;color:var(--color-text-primary);line-height:1.28}.article-body h3{margin-top:28px;color:var(--color-text-primary);line-height:1.35}.article-body a{color:var(--color-brand-primary);text-underline-offset:3px}.uiux2-enterprise-page .article-body a{color:var(--color-brand-enterprise)}.article-figure{overflow:hidden;border:1px solid var(--color-border);border-radius:14px;background:#fff}.article-figure img{display:block;width:100%;height:auto}.article-figure figcaption{padding:10px 14px;color:var(--color-text-secondary);font-size:13px}
.article-toc{margin:24px 0;padding:0}.article-toc summary{min-height:50px;padding:14px 18px;cursor:pointer;color:var(--color-text-primary);font-weight:800}.article-toc nav{display:grid;grid-template-columns:1fr;gap:8px;padding:0 18px 18px}.article-toc a{padding:5px 0;text-decoration:none}.article-toc a::before{content:"— ";color:var(--color-text-muted)}
.article-table-wrap table{border-collapse:separate;border-spacing:0}.article-table-wrap th{background:#f1f5f9;color:var(--color-text-primary);font-weight:800}.article-table-wrap th,.article-table-wrap td{border-bottom:1px solid var(--color-border);vertical-align:top}.article-body .source-list{padding:18px 20px 18px 38px;border:1px solid var(--color-border);border-radius:12px;background:var(--color-surface-muted)}
.result-guide-links{display:flex!important;flex-wrap:wrap;gap:10px!important}.result-guide-links a{display:inline-flex;min-height:44px;align-items:center;padding:9px 12px;border:1px solid var(--color-border);border-radius:9px;background:#fff;text-decoration:none}
.site-footer-unified{margin-top:56px;padding:38px 16px 22px;border-top:1px solid var(--color-border);background:#0f172a;color:#cbd5e1;text-align:left}.site-footer-inner{display:grid;width:min(100%,var(--ui-container));margin:auto;grid-template-columns:1fr;gap:28px}.site-footer-brand strong{color:#fff;font-size:19px}.site-footer-brand p{margin:8px 0;line-height:1.6}.site-footer-inner nav{display:grid;align-content:start;gap:8px}.site-footer-inner nav strong{margin-bottom:4px;color:#fff}.site-footer-unified a{color:#cbd5e1}.site-footer-original{font-size:13px}.site-footer-disclaimer{width:min(100%,var(--ui-container));margin:28px auto 0;padding-top:18px;border-top:1px solid #334155;color:#94a3b8;font-size:12px}
/* Invoice detail tables: fixed columns, isolated action column, no amount overlap. */
.invoice-batch-table{width:max-content!important;min-width:1440px!important;table-layout:fixed}.invoice-batch-table th,.invoice-batch-table td{box-sizing:border-box}.invoice-batch-table th:nth-child(1),.invoice-batch-table td:nth-child(1){width:150px;min-width:150px}.invoice-batch-table th:nth-child(2),.invoice-batch-table td:nth-child(2){width:145px;min-width:145px}.invoice-batch-table th:nth-child(3),.invoice-batch-table td:nth-child(3){width:160px;min-width:160px}.invoice-batch-table th:nth-child(4),.invoice-batch-table td:nth-child(4){width:175px;min-width:175px}.invoice-batch-table th:nth-child(5),.invoice-batch-table td:nth-child(5){width:120px;min-width:120px}.invoice-batch-table th:nth-child(6),.invoice-batch-table td:nth-child(6),.invoice-batch-table th:nth-child(7),.invoice-batch-table td:nth-child(7),.invoice-batch-table th:nth-child(8),.invoice-batch-table td:nth-child(8){width:145px;min-width:145px;text-align:right;white-space:nowrap}.invoice-batch-table th:nth-child(9),.invoice-batch-table td:nth-child(9){width:210px;min-width:210px;text-align:left;white-space:normal}.invoice-batch-table th:nth-child(10),.invoice-batch-table td:nth-child(10){width:96px;min-width:96px;text-align:center}.invoice-batch-table .table-action{width:76px;min-width:76px;white-space:nowrap}
.invoice-p3c-row{grid-template-columns:minmax(210px,1.25fr) repeat(3,minmax(150px,1fr))!important}.invoice-p3c-output{align-items:center}.invoice-p3c-output span{font-variant-numeric:tabular-nums;white-space:nowrap}
@media(min-width:768px){.article-toc nav{grid-template-columns:repeat(2,minmax(0,1fr))}.site-footer-inner{grid-template-columns:minmax(260px,1.4fr) repeat(3,minmax(140px,.7fr))}}
@media(min-width:1024px){.tool-shell.uiux2-standard-calculator{grid-template-columns:minmax(0,1.55fr) minmax(350px,.85fr)}.tool-shell.uiux2-standard-calculator>.uiux2-breadcrumb{grid-column:1/-1}.tool-shell.uiux2-standard-calculator>.tool-hero{grid-column:1/-1}.tool-shell.uiux2-standard-calculator>.tool-form{grid-row:3}.tool-shell.uiux2-standard-calculator>.tool-result{grid-row:3}.article-shell{width:min(100% - 64px,820px)}}
@media(max-width:900px){.invoice-batch-table{width:100%!important;min-width:0!important}.invoice-batch-table td{width:auto!important;min-width:0!important}.invoice-p3c-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:560px){.breadcrumb,.uiux2-breadcrumb{padding-top:14px}.tool-hero,.article-header{padding-top:26px}.tool-hero>p,.article-lead{font-size:15px}.article-body h2{margin-top:34px}.article-toc nav{grid-template-columns:1fr}.site-footer-unified{margin-top:40px;padding-inline:16px}.invoice-p3c-row{grid-template-columns:1fr!important}.invoice-p3c-output span{white-space:normal}.article-table-wrap table{table-layout:auto}.article-table-wrap th,.article-table-wrap td{min-width:120px;font-size:13px}}
.site-footer-unified{box-sizing:border-box;max-width:100%;overflow:hidden}.site-footer-inner{min-width:0}.site-footer-inner>*{min-width:0}

/* Final navigation refinement — one global layer, one module switch, one dynamic tool layer. */
.calculator-tabs{display:none!important}
.site-header{height:64px}.header-inner{min-height:64px;justify-content:flex-start}.brand{font-size:21px}.main-nav{margin-left:auto;align-items:center}
.header-aux-menu{position:relative}.header-aux-menu summary{display:flex;min-height:42px;align-items:center;padding:10px 13px;border-radius:9px;color:var(--color-text-secondary);font-weight:700;cursor:pointer;list-style:none}.header-aux-menu summary::-webkit-details-marker{display:none}.header-aux-menu summary::after{content:"⌄";margin-left:6px;font-size:12px}.header-aux-menu[open] summary{background:var(--ui-personal-soft);color:var(--color-brand-primary)}.header-aux-menu>div{position:absolute;z-index:100;top:48px;right:0;display:grid;width:150px;padding:8px;border:1px solid var(--color-border);border-radius:12px;background:#fff;box-shadow:var(--ui-shadow)}.header-aux-menu>div a{white-space:nowrap}
.module-switch-nav{position:relative;top:auto;border-bottom:0;background:#fff;backdrop-filter:none}.module-switch-inner{display:flex;width:min(100% - 32px,var(--ui-container));min-height:62px;margin:auto;padding:8px 0;gap:8px;border-bottom:1px solid var(--color-border)}
.module-switch-link{appearance:none;min-width:154px;min-height:46px;padding:7px 14px;border:1px solid transparent;border-radius:10px;background:transparent;text-align:left;cursor:pointer}.module-switch-link small{display:block;margin-top:1px;color:var(--color-text-muted);font-size:11px;font-weight:600}.module-switch-link.active{border-color:#bfdbfe;background:var(--ui-personal-soft);color:#2563eb}.module-switch-link.enterprise.active{border-color:#a7f3d0;background:#ecfdf5;color:#168a68}.module-switch-link:focus-visible{outline:3px solid rgba(37,99,235,.24);outline-offset:2px}.module-switch-link.enterprise:focus-visible{outline-color:rgba(22,138,104,.25)}
.module-subnav{border-bottom:1px solid var(--color-border);background:#fff}.module-subnav-inner{display:flex;width:min(100% - 32px,var(--ui-container));min-height:50px;margin:auto;align-items:center;gap:4px;overflow-x:auto;scrollbar-width:thin}.module-subnav a{display:flex;min-height:38px;align-items:center;flex:0 0 auto;padding:7px 11px;border-radius:8px;color:var(--color-text-secondary);font-size:14px;font-weight:700;text-decoration:none;white-space:nowrap}.module-subnav a:hover,.module-subnav a.active{background:var(--ui-personal-soft);color:#2563eb}.uiux2-enterprise-page .module-subnav a:hover,.uiux2-enterprise-page .module-subnav a.active{background:#ecfdf5;color:#168a68}
@media(max-width:1023px){.site-header{height:56px}.header-inner{min-height:56px}.matrix-link,.main-nav{display:none!important}.brand{font-size:19px}.mobile-menu-toggle{display:block;margin-left:auto}.module-switch-nav{position:sticky;top:0;z-index:70}.module-switch-inner{width:100%;min-height:54px;padding:5px 12px;border-bottom:1px solid var(--color-border)}.module-switch-link{min-width:0;min-height:44px;flex:1;padding:6px 10px;text-align:center}.module-switch-link small{display:none}.module-subnav-inner{width:100%;min-height:48px;padding:0 12px}.module-subnav a{min-height:44px;padding:8px 10px}.mobile-navigation-links{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:389px){.module-switch-inner{padding-inline:10px}.module-switch-link{padding-inline:6px}.module-subnav-inner{padding-inline:10px}.module-subnav a{font-size:13px}}

/* Reference-aligned platform chrome and enterprise hub. */
.brand-mark{display:block;width:38px;height:38px;flex:0 0 auto;border-radius:9px}.brand-with-mark{margin-left:7px}.module-switch-inner{padding-block:7px}.module-switch-link.active{border-color:#2563eb;background:linear-gradient(135deg,#2581f4,#1454c8);color:#fff;box-shadow:0 7px 18px rgba(37,99,235,.2)}.module-switch-link.active small{color:#dbeafe}.module-switch-link.enterprise.active{border-color:#168a68;background:linear-gradient(135deg,#31bd72,#168a68);color:#fff;box-shadow:0 7px 18px rgba(22,138,104,.2)}.module-switch-link.enterprise.active small{color:#dcfce7}.module-subnav-inner{gap:8px}.module-subnav a{border:1px solid #dbe4ee;border-radius:999px;background:#fff}.module-subnav a:hover,.module-subnav a.active{border-color:#2563eb;background:#2563eb;color:#fff}.uiux2-enterprise-page .module-subnav a:hover,.uiux2-enterprise-page .module-subnav a.active{border-color:#168a68;background:#168a68;color:#fff}
.enterprise-hub{background:linear-gradient(180deg,#f3f8ff 0,#f8fafc 520px)}.enterprise-hub .tool-shell{width:min(100% - 32px,1240px)}.enterprise-platform-hero{position:relative;display:grid;min-height:300px;margin-top:18px;padding:34px 520px 30px 34px;align-content:center;overflow:hidden;border:1px solid #d6e7f8!important;border-radius:22px;background:radial-gradient(circle at 58% 55%,rgba(37,99,235,.13),transparent 27%),linear-gradient(135deg,#f8fbff,#eaf5ff)!important;box-shadow:0 16px 40px rgba(37,99,235,.08)}.enterprise-platform-hero::after{content:"▥";position:absolute;right:410px;bottom:20px;display:grid;width:150px;height:150px;place-items:center;border-radius:36px;color:#168a68;background:linear-gradient(145deg,#fff,#d9f7e9);box-shadow:0 18px 35px rgba(22,138,104,.15);font-size:86px;font-weight:900;transform:rotate(-4deg)}.enterprise-platform-hero h1{margin:5px 0 10px;font-size:clamp(32px,3.2vw,48px)}.enterprise-platform-hero>p:not(.eyebrow){margin:0;color:#475569;font-size:16px;line-height:1.7}.enterprise-hero-benefits{display:flex;margin:18px 0 0;padding:0;gap:20px;list-style:none}.enterprise-hero-benefits li{color:#334155;font-size:13px;font-weight:750}.enterprise-hero-benefits li::before{content:"✓";display:inline-grid;width:19px;height:19px;margin-right:6px;place-items:center;border-radius:50%;color:#fff;background:#22ad60;font-size:12px}.enterprise-hero-quick{position:absolute;top:32px;right:30px;display:grid;width:360px;grid-template-columns:1fr 1fr;gap:10px}.enterprise-hero-quick a{display:flex;min-height:66px;align-items:center;justify-content:space-between;padding:14px 16px;border-radius:12px;color:#fff;background:linear-gradient(135deg,#2581f4,#1454c8);font-weight:850;text-decoration:none;box-shadow:0 9px 20px rgba(37,99,235,.16)}.enterprise-hero-quick a:nth-child(2),.enterprise-hero-quick a:nth-child(3){background:linear-gradient(135deg,#38c879,#168a68);box-shadow:0 9px 20px rgba(22,138,104,.15)}.enterprise-hero-quick span{display:grid;width:24px;height:24px;place-items:center;border-radius:50%;background:rgba(255,255,255,.9);color:#1d4ed8}.enterprise-grid-heading{display:flex;margin:20px 0 0;padding:18px 20px 10px;align-items:center;gap:12px;border:1px solid #e2e8f0;border-bottom:0;border-radius:18px 18px 0 0;background:#fff}.enterprise-grid-heading>span{display:grid;width:38px;height:38px;place-items:center;border-radius:10px;color:#fff;background:#2563eb;font-size:22px}.enterprise-grid-heading h2,.enterprise-grid-heading p{margin:0}.enterprise-grid-heading h2{font-size:23px}.enterprise-grid-heading p{color:#64748b;font-size:13px}.enterprise-hub .enterprise-tool-grid{margin:0 0 22px;padding:8px 14px 14px;border:1px solid #e2e8f0;border-top:0;border-radius:0 0 18px 18px;background:#fff;gap:12px}.enterprise-hub .enterprise-tool-card{position:relative;min-height:150px;padding:17px 72px 16px 18px;overflow:hidden;border:1px solid #dbe7f4;border-left:1px solid #dbe7f4;border-radius:13px;background:linear-gradient(145deg,#f7fbff,#eef6ff);box-shadow:none}.enterprise-hub .enterprise-tool-card:nth-child(even){background:linear-gradient(145deg,#f7fdfb,#eaf9f2)}.enterprise-hub .enterprise-tool-card::after{content:"▦";position:absolute;right:18px;top:20px;color:#2563eb;font-size:34px}.enterprise-hub .enterprise-tool-card:nth-child(even)::after{color:#168a68}.enterprise-hub .enterprise-tool-card h2{font-size:19px}.enterprise-hub .enterprise-tool-card p{font-size:13px;line-height:1.55}.enterprise-hub .tool-status{margin-bottom:4px;padding:3px 7px}.enterprise-hub .tool-card-cta{padding-top:9px}
@media(max-width:1023px){.brand-mark{width:34px;height:34px;border-radius:8px}.brand-with-mark{margin-left:6px}.enterprise-platform-hero{padding:28px 24px 230px}.enterprise-platform-hero::after{right:calc(50% - 60px);bottom:82px;width:120px;height:120px;font-size:66px}.enterprise-hero-quick{top:auto;right:18px;bottom:16px;left:18px;width:auto;grid-template-columns:1fr 1fr}.enterprise-hero-quick a{min-height:52px;padding:10px 12px}.enterprise-hero-benefits{flex-wrap:wrap;gap:8px 14px}}
@media(max-width:767px){.enterprise-hub .tool-shell{width:calc(100% - 24px)}.enterprise-platform-hero{min-height:0;margin-top:12px;padding:22px 16px 232px;border-radius:18px}.enterprise-platform-hero::after{bottom:105px;width:94px;height:94px;font-size:54px}.enterprise-platform-hero h1{font-size:30px}.enterprise-hero-benefits{display:grid;gap:7px;margin-top:14px}.enterprise-hero-quick{right:12px;bottom:12px;left:12px;gap:8px}.enterprise-hero-quick a{min-height:48px;font-size:13px}.enterprise-grid-heading{padding:15px 14px 8px}.enterprise-grid-heading h2{font-size:20px}.enterprise-grid-heading p{display:none}.enterprise-hub .enterprise-tool-grid{padding:8px}.enterprise-hub .enterprise-tool-card{min-height:120px;padding:15px 62px 14px 15px}.enterprise-hub .enterprise-tool-card::after{right:15px;font-size:30px}}
.matrix-link{display:none!important}.brand-with-mark{display:grid;color:#0f172a;font-size:20px;font-weight:900;line-height:1.05}.brand-with-mark small{margin-top:3px;color:#334155;font-size:10px;font-weight:750;letter-spacing:0}
.enterprise-platform-hero::after{content:"🏢"}.enterprise-hub .enterprise-tool-card::after{content:"▦"}

/* Keep sticky results inside the calculator workspace so they cannot cover later content. */
.tool-shell.uiux2-standard-calculator{display:block!important}.uiux2-calculator-workspace{display:block;margin-bottom:20px}.uiux2-calculator-workspace>.tool-form{margin-bottom:20px}.uiux2-calculator-workspace>.tool-result{margin-top:0}
@media(min-width:1024px){.uiux2-calculator-workspace{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(350px,.85fr);gap:20px;align-items:start}.uiux2-calculator-workspace>.tool-form{grid-column:1;margin-bottom:0}.uiux2-calculator-workspace>.tool-result{grid-column:2;position:sticky;top:20px}.uiux2-calculator-workspace>.tool-result .summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1280px){.uiux2-calculator-workspace{gap:24px}}
/* Hero module cards carry the navigation; the covered decorative building adds no information. */
.enterprise-platform-hero::after{content:none!important;display:none!important}
@media(min-width:1024px){.enterprise-platform-hero{padding-right:430px}}
@media(min-width:768px) and (max-width:1023px){.enterprise-platform-hero{padding-bottom:150px}}
@media(max-width:767px){.enterprise-platform-hero{padding-bottom:136px}}
