
:root {
  --navy:         #0b1628;
  --navy-700:     #162240;
  --navy-600:     #1e3058;
  --gold:         #f59e0b;
  --gold-dark:    #d97706;
  --gold-light:   #fde68a;
  --gold-50:      #fffbeb;
  --sky:          #0ea5e9;
  --sky-dark:     #0284c7;
  --sky-light:    #e0f2fe;
  --green:        #10b981;
  --green-dark:   #059669;
  --purple:       #8b5cf6;
  --bg:           #f8fafc;
  --bg-2:         #f1f5f9;
  --surface:      #ffffff;
  --border:       #e2e8f0;
  --border-2:     #cbd5e1;
  --text:         #0b1628;
  --text-2:       #1e293b;
  --text-muted:   #475569;
  --text-light:   #94a3b8;
  --grad-gold:    linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  --grad-sky:     linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%);
  --grad-hero:    linear-gradient(150deg, #0b1628 0%, #1a3060 55%, #0b2215 100%);
  --grad-dark:    linear-gradient(135deg, #0b1628, #162240);
  --sh-xs:  0 1px 2px rgba(0,0,0,.05);
  --sh-sm:  0 2px 8px rgba(0,0,0,.07);
  --sh:     0 4px 16px rgba(0,0,0,.09);
  --sh-md:  0 8px 32px rgba(0,0,0,.1);
  --sh-lg:  0 16px 48px rgba(0,0,0,.12);
  --sh-xl:  0 24px 64px rgba(0,0,0,.2);
  --sh-gold: 0 4px 20px rgba(245,158,11,.35);
  --r:      8px;
  --r-lg:   12px;
  --r-xl:   16px;
  --r-2xl:  24px;
  --r-3xl:  32px;
  --r-full: 9999px;
  --t:      all .2s ease;
  --t-slow: all .35s cubic-bezier(.4,0,.2,1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a  { color: var(--gold); text-decoration: none; transition: var(--t); }
a:hover { color: var(--gold-dark); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: 1rem; }
h1 { font-size: clamp(2.2rem, 5vw, 3.75rem); font-weight: 800; line-height: 1.12; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 700; line-height: 1.2; }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 600; line-height: 1.3; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { color: var(--text-muted); }
.text-gold    { color: var(--gold); }
.text-muted   { color: var(--text-muted); }
.text-white   { color: #fff; }
.font-bold    { font-weight: 700; }
.font-semibold{ font-weight: 600; }
.grad-text {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.container    { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container-sm { max-width: 820px;  margin: 0 auto; padding: 0 1.5rem; }
.section      { padding: 5.5rem 0; }
.section-sm   { padding: 3rem 0; }
.section-alt  { background: var(--bg-2); }
.section-dark { background: var(--navy); color: #fff; }
.section-dark p { color: rgba(255,255,255,.65); }
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}
.section-header .label {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: var(--gold-50);
  border: 1px solid var(--gold-light);
  padding: .3rem 1rem;
  border-radius: var(--r-full);
  margin-bottom: 1rem;
}
.section-header h2 { margin-bottom: .75rem; }
.section-header p  { font-size: 1.1rem; line-height: 1.7; }
.eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: var(--gold-50);
  border: 1px solid var(--gold-light);
  padding: .3rem 1rem;
  border-radius: var(--r-full);
  margin-bottom: 1rem;
}
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2rem;
  box-shadow: var(--sh-sm);
  transition: var(--t-slow);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-gold);
  opacity: 0;
  transition: var(--t);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.card:hover::before { opacity: 1; }
.card-icon {
  width: 56px; height: 56px;
  border-radius: var(--r-xl);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}
.card-icon.gold   { background: var(--gold-50); }
.card-icon.orange { background: var(--gold-50); }
.card-icon.sky    { background: var(--sky-light); }
.card-icon.blue   { background: var(--sky-light); }
.card-icon.green  { background: #d1fae5; }
.card-icon.purple { background: #ede9fe; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--r-full);
  font-size: .9rem;
  font-weight: 600;
  transition: var(--t);
  white-space: nowrap;
  text-decoration: none;
  letter-spacing: .01em;
}
.btn-primary {
  background: var(--grad-gold);
  color: var(--navy);
  box-shadow: 0 4px 24px rgba(245,158,11,.5);
  font-weight: 700;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(245,158,11,.65);
  color: var(--navy);
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
}
.btn-outline:hover { background: var(--gold); color: var(--navy); }
.btn-ghost {
  background: rgba(255,255,255,.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,.2); color: #fff; }
.btn-lg { padding: 1.1rem 2.5rem; font-size: 1rem; }
.btn-sm { padding: .5rem 1.2rem; font-size: .82rem; }
.badge {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .25rem .8rem;
  border-radius: var(--r-full);
  font-size: .78rem; font-weight: 600;
}
.badge-gold   { background: var(--gold-50); color: var(--gold-dark); border: 1px solid var(--gold-light); }
.badge-orange { background: var(--gold-50); color: var(--gold-dark); }
.badge-sky    { background: var(--sky-light); color: var(--sky-dark); }
.badge-blue   { background: var(--sky-light); color: var(--sky-dark); }
.badge-green  { background: #d1fae5; color: #065f46; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.07);
  box-shadow: 0 2px 24px rgba(0,0,0,.35);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1rem;
}
.nav-logo {
  display: flex; align-items: center; gap: .65rem;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo-icon {
  width: 40px; height: 40px;
  background: var(--grad-gold);
  border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 900; color: var(--navy);
}
.nav-logo-text {
  font-size: 1.15rem; font-weight: 800; color: #fff; line-height: 1.2;
}
.nav-logo-text span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: .15rem; }
.nav-links a {
  color: rgba(255,255,255,.7);
  font-size: .875rem; font-weight: 500;
  padding: .5rem .9rem;
  border-radius: var(--r-full);
  transition: var(--t);
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.1); }
.nav-links a.active { color: var(--gold); background: rgba(245,158,11,.1); }
.nav-cta { margin-left: .5rem; }
.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-dropdown-btn {
  color: rgba(255,255,255,.7);
  font-size: .875rem; font-weight: 500;
  padding: .5rem .9rem;
  border-radius: var(--r-full);
  display: flex; align-items: center; gap: .3rem;
  transition: var(--t);
  background: none; border: none; cursor: pointer; font-family: inherit;
}
.nav-dropdown-btn:hover,
.nav-dropdown.open .nav-dropdown-btn,
.nav-dropdown.hovering .nav-dropdown-btn,
.nav-dropdown:focus-within .nav-dropdown-btn { color: #fff; background: rgba(255,255,255,.1); }
.nav-dropdown-arrow { font-size: .65rem; transition: transform .2s; }
.nav-dropdown.open .nav-dropdown-arrow,
.nav-dropdown.hovering .nav-dropdown-arrow,
.nav-dropdown:focus-within .nav-dropdown-arrow { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + .35rem);
  left: 50%;
  transform: translate(-50%, 10px);
  background: var(--navy-700);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-xl);
  padding: 1.5rem;
  min-width: 700px;
  box-shadow: var(--sh-xl);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 2rem;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -0.7rem;
  left: 0;
  right: 0;
  height: 0.7rem;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu,
.nav-dropdown.hovering .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.nav-dropdown-col h6 {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gold);
  margin-bottom: .5rem;
  margin-top: 0;
  padding-bottom: .35rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.nav-dropdown-col h6 + h6,
.nav-dropdown-col h6.mt { margin-top: .9rem; }
.nav-dropdown-col a {
  display: block;
  padding: .22rem 0;
  font-size: .82rem;
  color: rgba(255,255,255,.65);
  transition: var(--t);
  background: none;
}
.nav-dropdown-col a:hover { color: var(--gold); padding-left: .3rem; background: none; }
@media (max-width: 900px) {
  .nav-dropdown-menu { display: none !important; }
  .nav-dropdown-btn { display: none; }
}
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  padding: .5rem; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: #fff; border-radius: 2px; transition: var(--t);
}
.mobile-menu {
  display: none;
  background: var(--navy-700);
  border-top: 1px solid rgba(255,255,255,.06);
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; padding: .9rem 1.5rem;
  color: rgba(255,255,255,.8); font-weight: 500;
  font-size: .95rem; border-bottom: 1px solid rgba(255,255,255,.04);
  transition: var(--t);
}
.mobile-menu a:hover { color: var(--gold); background: rgba(255,255,255,.03); }
.hero {
  background-image: url('/assets/hero-road.webp');
  background-size: cover;
  background-position: center 40%;
  background-color: #0b1628;
  position: relative; overflow: hidden;
  padding: 3rem 0 4rem;
  height: calc(100vh - 72px);
  min-height: 620px;
  max-height: 900px;
  display: flex;
  align-items: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(4,8,18,.65) 0%, rgba(4,8,18,.72) 50%, rgba(4,8,18,.90) 100%);
  z-index: 0;
}
.hero-road {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 5px;
  background: repeating-linear-gradient(
    90deg,
    var(--gold) 0, var(--gold) 50px,
    transparent 50px, transparent 72px
  );
  opacity: .65;
}
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative; z-index: 1;
  padding-top: 3rem;
  width: 100%;
}
.hero-content { color: #fff; max-width: 860px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(245,158,11,.18);
  border: 1px solid rgba(245,158,11,.5);
  color: var(--gold-light);
  padding: .35rem 1rem;
  border-radius: var(--r-full);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 1rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero-title {
  font-family: 'Arial Narrow', 'Segoe UI Condensed', Impact, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 700;
  font-size: clamp(2.8rem, 4.2vw, 4.2rem);
  letter-spacing: -.01em;
  line-height: 1.1;
  margin-bottom: 1.2rem;
  color: #fff;
  max-width: 100%;
  text-align: justify;
  text-align-last: center;
  text-shadow: 0 2px 24px rgba(0,0,0,.55);
}
.hero-title em {
  font-style: normal;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,.88);
  margin-bottom: 1.8rem;
  max-width: 100%;
  line-height: 1.7;
  text-align: justify;
  text-align-last: center;
  text-shadow: 0 1px 8px rgba(0,0,0,.4);
}
.hero-bullets {
  display: grid;
  gap: .7rem;
  margin-bottom: 2rem;
  max-width: 620px;
}
.hero-bullet {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  color: rgba(255,255,255,.8);
  font-size: .95rem;
}
.hero-bullet-icon {
  width: 1.2rem;
  color: var(--gold);
  line-height: 1.5;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; justify-content: center; }
.hero-stats {
  display: flex; gap: 2rem; flex-wrap: wrap;
  justify-content: center;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.15);
}
.hero-stat-val {
  font-size: 1.85rem; font-weight: 900; color: #fff;
  line-height: 1; font-variant-numeric: tabular-nums;
}
.hero-stat-val span { color: var(--gold); }
.hero-stat-label {
  font-size: .72rem; color: rgba(255,255,255,.5);
  margin-top: .25rem; text-transform: uppercase; letter-spacing: .08em;
}
.hero-visual {
  position: relative;
  min-height: 620px;
}
.hero-image-shell {
  position: relative;
  min-height: 620px;
  border-radius: var(--r-3xl);
  overflow: hidden;
  box-shadow: var(--sh-xl);
  border: 1px solid rgba(255,255,255,.14);
  background: #0f172a;
}
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-image-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8,15,26,.12) 0%, rgba(8,15,26,.5) 42%, rgba(8,15,26,.88) 100%),
    linear-gradient(90deg, rgba(8,15,26,.68) 0%, rgba(8,15,26,.18) 100%);
  z-index: 1;
}
.hero-image-copy {
  position: absolute;
  left: 2rem;
  right: 2rem;
  top: 2rem;
  z-index: 2;
  max-width: 420px;
}
.hero-image-kicker {
  display: inline-block;
  margin-bottom: .85rem;
  padding: .35rem .9rem;
  border-radius: var(--r-full);
  background: rgba(15,23,42,.52);
  border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.84);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero-image-copy h2 {
  color: #fff;
  font-size: clamp(1.5rem, 2.8vw, 2.3rem);
  margin-bottom: .75rem;
}
.hero-image-copy p {
  color: rgba(255,255,255,.76);
  max-width: 34ch;
}
.hero-calc-card {
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 2;
  background: rgba(11,22,40,.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-2xl);
  padding: 2rem;
  box-shadow: var(--sh-xl);
}
.hero-calc-title {
  font-size: .875rem; font-weight: 700;
  color: rgba(255,255,255,.9);
  margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: .5rem;
}
.hero-results-empty {
  color: rgba(255,255,255,.58);
  font-size: .88rem;
  text-align: center;
  padding: .9rem 1rem 0;
}
.hero-calc-link {
  margin-top: 1rem;
  text-align: center;
}
.hero-calc-link a {
  font-size: .82rem;
  color: rgba(255,255,255,.68);
  text-decoration: underline;
}
.hero-calc-link a:hover {
  color: #fff;
}
.trust-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 0;
}
.trust-bar-inner {
  display: flex; align-items: center;
  justify-content: center;
  gap: 2.5rem; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: .55rem;
  font-size: .82rem; font-weight: 600;
  color: var(--text-muted);
}
.trust-item-icon {
  width: 30px; height: 30px;
  background: var(--gold-50);
  border: 1px solid var(--gold-light);
  border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; flex-shrink: 0;
}
.calc-section {
  padding: 5.5rem 0;
  background: linear-gradient(160deg, #0d1b2e 0%, #0f2236 50%, #0b1628 100%);
  position: relative;
}
.calc-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(245,158,11,.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.calc-section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
  position: relative; z-index: 1;
}
.calc-section-header h2 { color: #fff; }
.calc-section-header p { color: rgba(255,255,255,.6); }
.calc-wrap {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-2xl);
  box-shadow: 0 32px 80px rgba(0,0,0,.5);
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative; z-index: 1;
}
.calc-tabs {
  display: flex;
  background: rgba(0,0,0,.3);
  padding: 0 2rem;
  gap: .25rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.calc-tab {
  padding: 1.1rem 1.5rem;
  font-size: .875rem; font-weight: 600;
  color: rgba(255,255,255,.4);
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  transition: var(--t);
  background: none;
  border-top: none; border-left: none; border-right: none;
  cursor: pointer;
}
.calc-tab.active, .calc-tab:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.calc-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.calc-inputs {
  padding: 2.5rem;
  border-right: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
}
.calc-inputs > h3 {
  font-size: .78rem; font-weight: 700;
  color: rgba(255,255,255,.5); text-transform: uppercase;
  letter-spacing: .1em; margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: .5rem;
}
.input-set { margin-bottom: 2rem; }
.input-set-title {
  font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--gold);
  margin-bottom: 1rem; padding-bottom: .5rem;
  border-bottom: 1px solid rgba(245,158,11,.2);
}
.field { margin-bottom: 1.1rem; }
.field label {
  display: block; font-size: .82rem; font-weight: 600;
  color: rgba(255,255,255,.65); margin-bottom: .4rem;
  letter-spacing: .02em;
}
.field-hint { font-size: .72rem; color: rgba(255,255,255,.35); margin-top: .3rem; }
.input-row { display: flex; gap: .5rem; }
.input-row input { flex: 1; min-width: 0; }
.input-row select { flex: 0 0 auto; }
.calc-inputs input[type="number"],
.calc-inputs select {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid rgba(255,255,255,.12);
  border-radius: var(--r-lg);
  font-size: .95rem;
  color: #fff;
  background: rgba(255,255,255,.07);
  transition: var(--t);
  appearance: none; -webkit-appearance: none;
}
.calc-inputs input[type="number"]::placeholder { color: rgba(255,255,255,.25); }
.calc-inputs input:focus,
.calc-inputs select:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(245,158,11,.07);
  box-shadow: 0 0 0 3px rgba(245,158,11,.18);
}
.calc-inputs select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23f59e0b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem; cursor: pointer;
}
.calc-inputs select option { background: #0f2236; color: #fff; }
input[type="number"],
input[type="text"],
input[type="email"],
textarea,
select {
  width: 100%;
  padding: .7rem 1rem;
  border: 1.5px solid var(--border-2);
  border-radius: var(--r-lg);
  font-size: .95rem; color: var(--text);
  background: var(--surface);
  transition: var(--t);
  appearance: none; -webkit-appearance: none;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245,158,11,.15);
}
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem; cursor: pointer;
}
.calc-btn {
  width: 100%; padding: 1rem 1.5rem;
  background: var(--grad-gold);
  color: var(--navy); font-size: 1rem; font-weight: 700;
  border-radius: var(--r-full); border: none; cursor: pointer;
  transition: var(--t);
  box-shadow: 0 4px 24px rgba(245,158,11,.45);
  letter-spacing: .03em; margin-top: 1.25rem;
}
.calc-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(245,158,11,.6); }
.calc-btn:active { transform: translateY(0); }
.reset-btn {
  width: 100%; padding: .7rem;
  background: transparent; color: rgba(255,255,255,.4);
  font-size: .875rem; font-weight: 600;
  border-radius: var(--r-full); border: 1.5px solid rgba(255,255,255,.12);
  cursor: pointer; transition: var(--t); margin-top: .5rem;
}
.reset-btn:hover { border-color: rgba(255,255,255,.35); color: rgba(255,255,255,.75); }
.calc-results {
  padding: 2.5rem;
  background: rgba(0,0,0,.2);
  display: flex; flex-direction: column; gap: .85rem;
}
.results-header { margin-bottom: .25rem; }
.results-header h3 {
  font-size: .75rem; font-weight: 700;
  color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: .12em;
}
.result-placeholder {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 2rem;
}
.result-placeholder .placeholder-icon { font-size: 3.5rem; margin-bottom: 1rem; opacity: .25; }
.result-placeholder p { font-size: .9rem; color: rgba(255,255,255,.35); line-height: 1.6; }
.result-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-xl);
  padding: 1.1rem 1.4rem;
  display: flex; align-items: center; gap: 1rem;
  transition: var(--t);
}
.result-card:hover {
  border-color: rgba(245,158,11,.4);
  background: rgba(255,255,255,.07);
  transform: translateX(4px);
}
.result-card.highlighted {
  background: linear-gradient(135deg, rgba(245,158,11,.18) 0%, rgba(251,191,36,.1) 100%);
  border-color: rgba(245,158,11,.5);
  box-shadow: 0 4px 20px rgba(245,158,11,.15);
}
.result-card-icon {
  width: 46px; height: 46px;
  border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.result-card-icon.orange { background: rgba(245,158,11,.2); }
.result-card-icon.blue   { background: rgba(14,165,233,.18); }
.result-card-icon.green  { background: rgba(16,185,129,.18); }
.result-card-icon.purple { background: rgba(139,92,246,.18); }
.result-card-icon.yellow { background: rgba(234,179,8,.18); }
.result-card-body { flex: 1; min-width: 0; }
.result-card-label {
  font-size: .68rem; font-weight: 700;
  color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: .2rem;
}
.result-card-value {
  font-size: 1.65rem; font-weight: 800; color: #fff; line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.result-card-sub { font-size: .72rem; color: rgba(255,255,255,.35); margin-top: .2rem; }
.result-card.highlighted .result-card-value { color: var(--gold); font-size: 1.9rem; }
.breakdown-bar {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-xl); padding: 1.25rem 1.4rem; margin-top: .1rem;
}
.breakdown-bar-label {
  font-size: .68rem; font-weight: 700;
  color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: .85rem;
}
.breakdown-track {
  height: 14px; background: rgba(255,255,255,.08);
  border-radius: var(--r-full); overflow: hidden; display: flex;
  box-shadow: inset 0 2px 4px rgba(0,0,0,.3);
}
.breakdown-fill-bitumen {
  height: 100%; background: linear-gradient(90deg, #f59e0b, #fbbf24);
  border-radius: var(--r-full) 0 0 var(--r-full);
  transition: width .6s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 0 12px rgba(245,158,11,.5);
}
.breakdown-fill-aggregate {
  height: 100%; background: linear-gradient(90deg, #0ea5e9, #38bdf8);
  flex: 1; border-radius: 0 var(--r-full) var(--r-full) 0;
}
.breakdown-legend { display: flex; gap: 1.5rem; margin-top: .75rem; }
.legend-item {
  display: flex; align-items: center; gap: .45rem;
  font-size: .78rem; color: rgba(255,255,255,.55);
  font-weight: 500;
}
.legend-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.legend-dot.orange { background: var(--gold); box-shadow: 0 0 6px rgba(245,158,11,.6); }
.legend-dot.blue   { background: var(--sky);  box-shadow: 0 0 6px rgba(14,165,233,.5); }
#results-empty { display: flex; }
#results-data  { display: none; flex-direction: column; gap: .75rem; }
.has-results #results-empty { display: none; }
.has-results #results-data  { display: flex; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 2rem;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 30px;
  left: calc(16.67% + 1rem);
  right: calc(16.67% + 1rem);
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--sky));
  opacity: .4;
  pointer-events: none;
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2rem;
  position: relative; z-index: 1;
  transition: var(--t-slow);
}
.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-lg);
  border-color: var(--gold);
}
.step-num {
  width: 44px; height: 44px;
  background: var(--grad-gold); color: var(--navy);
  font-weight: 900; font-size: 1rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: var(--sh-gold);
}
.step-card h3 { font-size: 1rem; margin-bottom: .5rem; }
.step-card p  { font-size: .9rem; }
.formula-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
.formula-card {
  background: var(--navy);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-xl);
  padding: 2rem; position: relative; overflow: hidden;
}
.formula-card::after {
  content: '';
  position: absolute; top: -30%; right: -10%;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(245,158,11,.12), transparent 60%);
  pointer-events: none;
}
.formula-card h4 { color: #fff; margin-bottom: 1rem; font-size: 1rem; }
.formula-code {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg);
  padding: 1rem 1.25rem;
  font-family: 'Courier New', monospace;
  font-size: .875rem; color: var(--gold-light);
  line-height: 1.9; margin-bottom: .75rem;
}
.formula-card p { font-size: .85rem; color: rgba(255,255,255,.5); }
.table-tabs-wrap { }
.table-tabs { display: flex; gap: .5rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.table-tab {
  padding: .5rem 1.2rem; font-size: .85rem; font-weight: 600;
  color: var(--text-muted);
  border: 1.5px solid var(--border-2);
  border-radius: var(--r-full);
  background: var(--surface); cursor: pointer; transition: var(--t);
}
.table-tab.active, .table-tab:hover {
  background: var(--gold); border-color: var(--gold); color: var(--navy);
}
.table-panel { display: none; }
.table-panel.active { display: block; }
.ref-table {
  width: 100%; border-collapse: collapse;
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--sh-md);
}
.ref-table th {
  background: var(--navy); color: #fff;
  padding: 1rem 1.25rem; font-size: .85rem; font-weight: 600;
  text-align: left; letter-spacing: .03em;
}
.ref-table td {
  padding: .875rem 1.25rem; font-size: .9rem;
  color: var(--text); border-bottom: 1px solid var(--border);
}
.ref-table tr:last-child td { border-bottom: none; }
.ref-table tbody tr:nth-child(odd) { background: var(--bg); }
.ref-table tbody tr:hover { background: var(--gold-50); }
.ref-table td.highlight { font-weight: 700; color: var(--gold-dark); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  display: block;
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: .75rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden; transition: var(--t);
  box-sizing: border-box;
}
.faq-item.open { border-color: var(--gold); box-shadow: var(--sh-md); }
.faq-q {
  display: flex; align-items: center;
  justify-content: space-between; gap: 1rem;
  width: 100%;
  padding: 1.2rem 1.5rem;
  font-weight: 600; font-size: .95rem;
  color: var(--text); cursor: pointer;
  background: var(--surface); transition: var(--t);
}
.faq-item.open .faq-q { color: var(--gold-dark); background: var(--gold-50); }
.faq-q:hover { background: var(--bg-2); }
.faq-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 700; flex-shrink: 0;
  transition: var(--t); color: var(--text-muted);
}
.faq-item.open .faq-icon { background: var(--gold); color: var(--navy); transform: rotate(45deg); }
.faq-a {
  display: none; padding: 1.2rem 1.5rem;
  font-size: .95rem; color: var(--text-muted); line-height: 1.75;
  border-top: 1px solid var(--border); background: var(--surface);
}
.faq-item.open .faq-a { display: block; }
.dir-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.dir-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 1.5rem;
  display: flex; align-items: center; gap: 1rem;
  text-decoration: none; color: var(--text);
  transition: var(--t-slow);
}
.dir-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-lg);
  border-color: var(--gold); color: var(--text);
}
.dir-card-icon {
  width: 48px; height: 48px;
  border-radius: var(--r-xl);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; flex-shrink: 0;
}
.dir-card-text { flex: 1; min-width: 0; }
.dir-card-title { font-weight: 700; font-size: .95rem; margin-bottom: .15rem; }
.dir-card-desc  { font-size: .78rem; color: var(--text-muted); }
.dir-card-arrow { color: var(--text-light); font-size: 1rem; transition: var(--t); }
.dir-card:hover .dir-card-arrow { color: var(--gold); transform: translateX(4px); }
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.65);
  padding: 5rem 0 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-brand p {
  font-size: .875rem;
  color: rgba(255,255,255,.45);
  margin-top: 1rem; max-width: 280px; line-height: 1.75;
}
.footer-col h5 {
  font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .65rem; }
.footer-col ul a {
  font-size: .875rem; color: rgba(255,255,255,.5); transition: var(--t);
}
.footer-col ul a:hover { color: var(--gold); padding-left: 4px; }
.footer-langs {
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-langs-title {
  font-size: .72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em;
  color: rgba(255,255,255,.3); margin-bottom: .75rem;
}
.lang-pills { display: flex; flex-wrap: wrap; gap: .4rem; }
.lang-pill {
  padding: .3rem .8rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-full);
  font-size: .78rem; color: rgba(255,255,255,.5);
  cursor: pointer; transition: var(--t);
}
.lang-pill:hover, .lang-pill.active {
  background: var(--gold); border-color: var(--gold); color: var(--navy);
}
.footer-bottom {
  padding: 1.5rem 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: .82rem; color: rgba(255,255,255,.35); }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a {
  font-size: .82rem; color: rgba(255,255,255,.35); transition: var(--t);
}
.footer-bottom-links a:hover { color: var(--gold); }
.page-hero {
  background: var(--grad-hero);
  padding: 4rem 0;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(245,158,11,.06) 1px, transparent 1px);
  background-size: 30px 30px; pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(245,158,11,.08) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero .eyebrow {
  background: rgba(245,158,11,.15);
  border: 1px solid rgba(245,158,11,.3);
  color: var(--gold-light);
}
.page-hero h1 { color: #fff; margin-bottom: .75rem; }
.page-hero p  { font-size: 1.1rem; color: rgba(255,255,255,.7); max-width: 560px; }
.breadcrumb {
  display: flex; align-items: center; gap: .5rem;
  font-size: .82rem; margin-top: 1.75rem;
  color: rgba(255,255,255,.45);
}
.breadcrumb a { color: rgba(255,255,255,.6); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: rgba(255,255,255,.3); }
.about-pillars { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.pillar-card {
  text-align: center; padding: 2.5rem 2rem;
  background: var(--surface); border-radius: var(--r-2xl);
  border: 1px solid var(--border); transition: var(--t-slow);
  position: relative; overflow: hidden;
}
.pillar-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px; background: var(--grad-gold);
  opacity: 0; transition: var(--t);
}
.pillar-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.pillar-card:hover::before { opacity: 1; }
.pillar-icon {
  width: 76px; height: 76px;
  border-radius: var(--r-2xl);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem; margin: 0 auto 1.5rem;
}
.timeline { position: relative; }
.timeline::before {
  content: '';
  position: absolute; left: 24px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), var(--sky));
}
.timeline-item { display: flex; gap: 2rem; margin-bottom: 2.5rem; position: relative; }
.timeline-dot {
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--grad-gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--navy);
  flex-shrink: 0; box-shadow: var(--sh-gold);
  position: relative; z-index: 1;
}
.timeline-content {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 1.5rem; flex: 1;
}
.timeline-content h4 { margin-bottom: .5rem; }
.timeline-content p  { font-size: .9rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 3rem; align-items: start; }
.contact-info-card {
  background: var(--navy); border-radius: var(--r-2xl); padding: 2.5rem; color: #fff;
  position: relative; overflow: hidden;
}
.contact-info-card::before {
  content: '';
  position: absolute; top: -50%; right: -20%;
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(245,158,11,.1), transparent 60%);
}
.contact-info-card h3 { color: #fff; margin-bottom: 1rem; }
.contact-info-card p  { color: rgba(255,255,255,.6); font-size: .95rem; margin-bottom: 2rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.contact-item-icon {
  width: 44px; height: 44px; border-radius: var(--r-lg);
  background: rgba(245,158,11,.15);
  border: 1px solid rgba(245,158,11,.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.contact-item-text label {
  display: block; font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: rgba(255,255,255,.4); margin-bottom: .2rem;
}
.contact-item-text a { color: rgba(255,255,255,.8); font-size: .9rem; }
.contact-item-text a:hover { color: var(--gold); }
.form-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-2xl); padding: 2.5rem;
  box-shadow: var(--sh-lg);
}
.form-card h3 { margin-bottom: 1.75rem; }
.form-grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.25rem; }
.form-success { display: none; text-align: center; padding: 3rem 2rem; }
.form-success-icon { font-size: 4rem; margin-bottom: 1rem; }
.form-success h3 { margin-bottom: .5rem; }
textarea { resize: vertical; min-height: 130px; }
.legal-content {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-2xl); padding: 3rem 3.5rem;
  box-shadow: var(--sh-sm);
}
.legal-content h2 {
  font-size: 1.35rem; margin-top: 2.5rem; margin-bottom: .75rem;
  padding-top: 2rem; border-top: 1px solid var(--border);
}
.legal-content h2:first-child { margin-top: 0; border-top: none; padding-top: 0; }
.legal-content p, .legal-content li {
  font-size: .95rem; color: var(--text-muted);
  line-height: 1.85; margin-bottom: .75rem;
}
.legal-content ul { list-style: disc; padding-left: 1.75rem; margin-bottom: 1rem; }
.legal-content strong { color: var(--text); }
.region-meta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }
.standards-table { margin-top: 2rem; }
.dir-section-title {
  font-size: .875rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--text-muted);
  margin-bottom: 1.25rem; padding-bottom: .75rem;
  border-bottom: 2px solid var(--border);
  display: flex; align-items: center; gap: .75rem;
}
.cta-section {
  background: var(--grad-hero);
  position: relative; overflow: hidden;
  padding: 5.5rem 0; text-align: center;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(245,158,11,.07) 1px, transparent 1px);
  background-size: 30px 30px; pointer-events: none;
}
.cta-section .container { position: relative; z-index: 1; }
.divider { height: 1px; background: var(--border); margin: 3rem 0; }
.text-center { text-align: center; }
.mt-1 { margin-top: .5rem; }  .mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: .5rem; } .mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; }
.info-box {
  background: #f0f9ff; border: 1.5px solid #bae6fd;
  border-radius: var(--r-xl); padding: 1.25rem 1.5rem;
  display: flex; gap: .75rem; align-items: flex-start;
}
.info-box .info-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: .1rem; }
.info-box p { font-size: .9rem; color: #075985; margin: 0; }
.warning-box {
  background: #fffbeb; border: 1.5px solid var(--gold-light);
  border-radius: var(--r-xl); padding: 1.25rem 1.5rem;
  display: flex; gap: .75rem; align-items: flex-start;
}
.warning-box p { font-size: .9rem; color: #92400e; margin: 0; }
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(260px, .9fr);
  gap: 2rem;
  align-items: start;
}
.article-card,
.resource-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  box-shadow: var(--sh-sm);
}
.article-card { padding: 2.25rem; }
.article-card h2 {
  font-size: 1.55rem;
  margin: 2rem 0 .85rem;
}
.article-card h2:first-child { margin-top: 0; }
.article-card h3 { margin: 1.35rem 0 .55rem; }
.article-card p,
.article-card li {
  font-size: .97rem;
  line-height: 1.82;
}
.article-card ul,
.article-card ol {
  margin: .75rem 0 1rem;
  padding-left: 1.35rem;
}
.article-card ul { list-style: disc; }
.article-card ol { list-style: decimal; }
.article-card strong { color: var(--text); }
.formula-inline {
  background: var(--navy);
  color: var(--gold-light);
  border-radius: var(--r-xl);
  padding: 1rem 1.2rem;
  font-family: 'Courier New', monospace;
  line-height: 1.8;
  margin: 1rem 0 1.25rem;
  overflow-x: auto;
}
.resource-stack {
  display: grid;
  gap: 1rem;
  position: sticky;
  top: 96px;
}
.resource-panel { padding: 1.4rem; }
.resource-panel h3 {
  font-size: .95rem;
  margin-bottom: .75rem;
}
.resource-panel ul {
  display: grid;
  gap: .7rem;
}
.resource-panel a {
  color: var(--text);
  font-weight: 600;
}
.resource-panel a:hover { color: var(--gold-dark); }
.resource-panel p,
.resource-panel li {
  font-size: .88rem;
  color: var(--text-muted);
}
.link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.link-card {
  display: block;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--bg);
  color: var(--text);
}
.link-card strong {
  display: block;
  margin-bottom: .25rem;
}
.link-card span {
  font-size: .88rem;
  color: var(--text-muted);
}
.keyword-note {
  font-size: .84rem;
  color: var(--text-muted);
  padding: .9rem 1.1rem;
  background: var(--gold-50);
  border: 1px solid var(--gold-light);
  border-radius: var(--r-xl);
  margin-top: 1.25rem;
}
.scroll-top {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 48px; height: 48px;
  background: var(--grad-gold); color: var(--navy);
  border: none; border-radius: 50%;
  font-size: 1.1rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: var(--sh-gold);
  transition: var(--t);
  opacity: 0; pointer-events: none; z-index: 900;
}
.scroll-top.visible { opacity: 1; pointer-events: all; }
.scroll-top:hover { transform: translateY(-3px); }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.15); opacity: .8; }
}
.animate-fadeInUp { animation: fadeInUp .55s ease forwards; }
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }
.live-dot {
  width: 8px; height: 8px; background: var(--green);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
  display: inline-block; margin-right: .4rem; vertical-align: middle;
}
@media (max-width: 1024px) {
  .hero-title { font-size: clamp(2.4rem, 5vw, 3.6rem); }
  .calc-body { grid-template-columns: 1fr; }
  .calc-inputs { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .steps-grid::before { display: none; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-links .nav-dropdown { display: none; }
  .nav-toggle { display: flex; }
  .hero { height: auto; min-height: 100svh; padding: 2rem 0 3rem; }
  .hero-tag { display: none; }
  .hero-title { font-size: 2.1rem; letter-spacing: 0; margin-bottom: .85rem; }
  .hero-desc { font-size: .9rem; margin-bottom: 1.25rem; line-height: 1.6; }
  .hero-actions { gap: .75rem; margin-bottom: 1.25rem; }
  .hero-stats { gap: 1.25rem; padding-top: 1rem; }
  .hero-stat-val { font-size: 1.4rem; }
  .hero-stat-label { font-size: .65rem; }
  .steps-grid { grid-template-columns: 1fr; }
  .formula-grid { grid-template-columns: 1fr; }
  .about-pillars { grid-template-columns: 1fr; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .dir-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .legal-content { padding: 2rem 1.5rem; }
  .article-layout, .link-grid { grid-template-columns: 1fr; }
  .article-card { padding: 1.5rem; }
  .resource-stack { position: static; }
  .section { padding: 4rem 0; }
  .section-header { margin-bottom: 2.5rem; }
  .trust-bar-inner { gap: 1.25rem; }
  .cta-section { padding: 3.5rem 0; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .calc-inputs, .calc-results { padding: 1.5rem; }
  .input-row { flex-direction: column; }
  .input-row select { width: 100%; }
}
@media (max-width: 768px) {
  .result-card-label,
  .breakdown-bar-label,
  .field-hint,
  .input-set-title,
  .result-card-sub,
  .footer-col h5,
  .footer-col h6,
  .nav-dropdown-menu h6 {
    font-size: 0.75rem;
  }
}
.bc-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  background: var(--navy, #0b1628);
  border-top: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, .35);
  padding: 1rem 0;
}
.bc-consent[hidden] { display: none; }
.bc-consent-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: space-between;
}
.bc-consent-text {
  color: rgba(255, 255, 255, .82);
  font-size: .875rem;
  line-height: 1.55;
  margin: 0;
  flex: 1 1 320px;
}
.bc-consent-text a { color: var(--gold, #f59e0b); text-decoration: underline; }
.bc-consent-actions { display: flex; gap: .6rem; flex-shrink: 0; }
.bc-btn {
  font-family: inherit;
  font-size: .875rem;
  font-weight: 600;
  min-height: 44px;
  padding: .6rem 1.5rem;
  border-radius: 9999px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.bc-btn-accept { background: var(--gold, #f59e0b); color: var(--navy, #0b1628); font-weight: 700; }
.bc-btn-ghost {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border-color: rgba(255, 255, 255, .28);
}
.bc-btn:focus-visible { outline: 2px solid var(--gold-light, #fde68a); outline-offset: 2px; }
@media (max-width: 640px) {
  .bc-consent-inner { flex-direction: column; align-items: stretch; gap: .9rem; }
  .bc-consent-text { flex: 0 1 auto; }
  .bc-consent-actions { justify-content: stretch; }
  .bc-btn { flex: 1; }
}
.nav-right {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-left: auto;
}
.theme-toggle {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--t);
  flex-shrink: 0;
  line-height: 1;
}
.theme-toggle:hover {
  background: rgba(245,158,11,.22);
  border-color: rgba(245,158,11,.55);
}
.theme-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  cursor: pointer;
  background: none;
  border: none;
  margin-left: .1rem;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
}
.mobile-menu {
  display: none;
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  z-index: 997;
  padding: .75rem 0;
  max-height: calc(100vh - 68px);
  overflow-y: auto;
  border-top: 1px solid rgba(255,255,255,.07);
  box-shadow: 0 20px 48px rgba(0,0,0,.35);
  background: var(--navy-700, #162240);
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: .85rem 1.5rem;
  font-size: .95rem;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: var(--t);
  text-decoration: none;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--gold); background: rgba(255,255,255,.04); }
fieldset {
  border: none;
  padding: 0;
  margin: 0;
  min-width: 0;
}
fieldset > legend.input-set-title {
  float: left;
  width: 100%;
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid rgba(245,158,11,.2);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--gold);
}
fieldset > legend.input-set-title + * { clear: both; }
.field-label-static {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: rgba(255,255,255,.65);
  margin-bottom: .4rem;
  letter-spacing: .02em;
}
.field-input-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
}
.field-input {
  width: 100%;
  padding: 1.45rem 1rem .5rem;
  border: 1.5px solid rgba(255,255,255,.12);
  border-radius: var(--r-lg);
  font-size: .95rem;
  color: #fff;
  background: rgba(255,255,255,.07);
  transition: var(--t);
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
}
.field-input::placeholder { color: transparent; }
.field-input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(245,158,11,.07);
  box-shadow: 0 0 0 3px rgba(245,158,11,.18);
}
.field-label {
  position: absolute;
  top: .9rem;
  left: 1rem;
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255,255,255,.45);
  pointer-events: none;
  transition: top .15s ease, font-size .15s ease, color .15s ease, font-weight .15s ease;
  white-space: nowrap;
  line-height: 1;
}
.field-input:not(:placeholder-shown) ~ .field-label,
.field-input:focus ~ .field-label {
  top: .28rem;
  font-size: .6rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .07em;
}
.field-input-wrap.has-unit .field-input {
  padding-right: 3.25rem;
}
.unit-pill {
  position: absolute;
  right: .75rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: .72rem;
  font-weight: 700;
  color: var(--gold);
  background: rgba(245,158,11,.12);
  border: 1px solid rgba(245,158,11,.28);
  border-radius: 4px;
  padding: .15rem .45rem;
  pointer-events: none;
  white-space: nowrap;
  line-height: 1.4;
}
.field-row {
  display: flex;
  gap: .5rem;
}
.unit-select {
  flex: 0 0 auto;
  width: 88px;
  padding: .75rem .55rem .75rem .75rem;
  border: 1.5px solid rgba(255,255,255,.12);
  border-radius: var(--r-lg);
  font-size: .88rem;
  color: #fff;
  background-color: rgba(255,255,255,.07);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23f59e0b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .55rem center;
  padding-right: 2rem;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: var(--t);
  font-family: inherit;
}
.unit-select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245,158,11,.18);
}
.unit-select option { background: #0f2236; color: #fff; }
.thickness-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .55rem;
}
.thickness-chip {
  padding: 0 .9rem;
  height: 44px;
  min-width: 60px;
  border: 1.5px solid rgba(255,255,255,.18);
  border-radius: var(--r-lg);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.75);
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--t);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
}
.thickness-chip:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(245,158,11,.09);
}
.thickness-chip.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  box-shadow: 0 2px 10px rgba(245,158,11,.4);
}
.thickness-chip:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.bottom-sheet-handle {
  display: none;
  width: 100%;
  background: none;
  border: none;
  padding: .55rem 1.25rem .6rem;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}
.bottom-sheet-pill {
  width: 36px; height: 4px;
  background: rgba(0,0,0,.14);
  border-radius: 2px;
  margin: 0 auto .55rem;
}
.bottom-sheet-peek {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.bottom-sheet-primary {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text, #0f172a);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.bottom-sheet-cta {
  font-size: .8rem;
  font-weight: 700;
  color: var(--gold-dark, #d97706);
  display: flex;
  align-items: center;
  gap: .2rem;
  white-space: nowrap;
}
@media (max-width: 1023px) {
  .bottom-sheet-handle { display: block; }
  .calc-results.has-results {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 300;
    border-radius: 18px 18px 0 0;
    max-height: 72px;
    overflow: hidden;
    transition: max-height .35s cubic-bezier(.32,.72,0,1);
    box-shadow: 0 -6px 32px rgba(0,0,0,.14);
  }
  .calc-results.has-results.sheet-open {
    max-height: min(82vh, 640px);
    overflow-y: auto;
  }
  .calc-section { padding-bottom: 90px !important; }
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f172a; --bg-2: #1e293b; --surface: #1e293b;
    --border: #334155; --border-2: #475569;
    --text: #f1f5f9; --text-2: #e2e8f0;
    --text-muted: #94a3b8; --text-light: #64748b;
  }
}
[data-theme="dark"] {
  --bg: #0f172a; --bg-2: #1e293b; --surface: #1e293b;
  --border: #334155; --border-2: #475569;
  --text: #f1f5f9; --text-2: #e2e8f0;
  --text-muted: #94a3b8; --text-light: #64748b;
}
table { display: block; max-width: 100%; overflow-x: auto; }
.footer-bottom-links { flex-wrap: wrap; }
.grid-3 > *, .calc-wrap > *, .footer-top > * { min-width: 0; }
.article-card { min-width: 0; max-width: 100%; }
p, li, h1, h2, h3, .formula-inline { overflow-wrap: anywhere; }
#coverageForm label { display: flex; flex-direction: column; gap: .4rem; }
#coverageForm input, #coverageForm select { width: 100%; min-width: 0; padding: .7rem; font: inherit; border: 1px solid #64748b; border-radius: .4rem; }
#coverageForm button { margin-top: 1rem; }
:focus-visible { outline: 3px solid #d97706; outline-offset: 3px; }
.answer-summary { font-size: 1.1rem; line-height: 1.75; padding: 1.25rem; border-left: 4px solid #b45309; background: #fffbeb; margin-bottom: 1.5rem; }
.article-toc { padding: 1.25rem; background: #f1f5f9; border-radius: 12px; margin: 1.5rem 0; }
.article-toc ul { margin: .75rem 0 0; padding-left: 1.25rem; }
.article-toc li { margin: .4rem 0; }
.article-toc a, .article-card a, .seo-answer a { color: #92400e; text-decoration: underline; text-underline-offset: .15em; }
.seo-answer p { margin: 1rem 0; }
.seo-answer h2 { margin-bottom: 1rem; }
.reference-scroll { max-width: 100%; overflow-x: auto; margin: 1.5rem 0; }
.reference-scroll table { display: table; min-width: 440px; width: 100%; }
.reference-scroll caption { text-align: left; font-size: .9rem; padding-bottom: .75rem; color: #475569; }
.source-note { font-size: .9rem; color: #475569; }
[id] { scroll-margin-top: 90px; }
.section-header .label, .ref-table td.highlight { color: #92400e; }
.section .btn-outline { color: #92400e; border-color: #92400e; }
.site-footer .footer-brand p, .site-footer .footer-bottom p,
.site-footer .footer-bottom-links a, .site-footer .footer-col ul a { color: #b8c2d1; }
.footer-col .footer-label { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #b8c2d1; margin-bottom: 1.25rem; }
.nav-dropdown-col .nav-group-label { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); margin: 0 0 .5rem; padding-bottom: .35rem; border-bottom: 1px solid rgba(255,255,255,.07); }
.nav-dropdown-col .nav-group-label.mt { margin-top: .9rem; }
.formula-card h3 { color: #fff; margin-bottom: 1rem; font-size: 1rem; }
.generated-illustration { padding: 2.5rem 0; background: #fff; }
.generated-illustration figure { max-width: 920px; margin: 0 auto; overflow: hidden; border: 1px solid #e2e8f0; border-radius: 16px; box-shadow: 0 8px 30px rgba(15, 23, 42, .1); }
.generated-illustration img { width: 100%; height: auto; }
.generated-illustration figcaption { padding: .8rem 1rem; color: #475569; font-size: .9rem; background: #f8fafc; }
.generated-inline-illustration { margin: 1.5rem 0; overflow: hidden; border: 1px solid #e2e8f0; border-radius: 16px; background: #fff; }
.generated-inline-illustration img { width: 100%; height: auto; }
.generated-inline-illustration figcaption { padding: .8rem 1rem; color: #475569; font-size: .9rem; }
@media (max-width: 480px) {
  .footer-bottom-links { justify-content: center; gap: .7rem; }
  .btn { white-space: normal; }
}
:root {
  --bg-page: #f7f9fc;
  --bg-surface: #fff;
  --bg-soft: #f1f5f9;
  --text-primary: #172033;
  --text-secondary: #526174;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-soft: #eff6ff;
  --accent: #d99822;
  --accent-soft: #fff8e8;
  --success: #16835d;
  --surface: var(--bg-surface);
  --bg: var(--bg-page);
  --text: var(--text-primary);
  --gold: var(--primary);
  --gold-dark: var(--primary-hover);
  --gold-light: #bfdbfe;
  --gold-50: var(--primary-soft);
  --grad-gold: linear-gradient(135deg, var(--primary), #3b82f6);
  --grad-hero: linear-gradient(135deg, #f8fbff, #eef5ff);
  --r: 8px;
  --r-lg: 10px;
  --r-xl: 14px;
  --r-2xl: 16px;
}
html { scroll-padding-top: 84px; }
body { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: var(--bg-page); color: var(--text-primary); }
a { color: var(--primary); }
a:hover { color: var(--primary-hover); }
.container { max-width: 1220px; }
h1 { font-size: clamp(2rem, 4vw, 3.15rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); letter-spacing: -.025em; }
.section { padding: clamp(3rem, 6vw, 5rem) 0; }
.site-header { background: rgba(255,255,255,.96); border-bottom: 1px solid var(--border); box-shadow: 0 1px 10px rgba(23,32,51,.06); backdrop-filter: blur(10px); }
.nav-inner { height: 64px; }
.nav-logo-icon { width: 34px; height: 34px; border-radius: 9px; color: #fff; background: var(--primary); }
.nav-logo-text { color: var(--text-primary); font-size: 1.05rem; }
.nav-logo-text span { color: var(--primary); }
.nav-links a, .nav-dropdown-btn { color: var(--text-secondary); border-radius: 7px; }
.nav-links a:hover, .nav-dropdown-btn:hover, .nav-dropdown.open .nav-dropdown-btn, .nav-dropdown.hovering .nav-dropdown-btn, .nav-dropdown:focus-within .nav-dropdown-btn { color: var(--primary); background: var(--primary-soft); }
.nav-links a.active { color: var(--primary); background: var(--primary-soft); }
.nav-dropdown-menu { background: #fff; border-color: var(--border); box-shadow: 0 18px 45px rgba(23,32,51,.16); border-radius: 12px; }
.nav-dropdown-col .nav-group-label { color: var(--text-muted); border-color: var(--border); }
.nav-dropdown-col a { color: var(--text-secondary); }
.nav-dropdown-col a:hover { color: var(--primary); }
.nav-cta, .btn-primary { color: #fff; background: var(--primary); box-shadow: none; border-radius: 8px; }
.btn-primary:hover { color: #fff; background: var(--primary-hover); box-shadow: none; transform: translateY(-1px); }
.btn-outline { border-color: var(--primary); color: var(--primary); }
.btn-ghost { color: var(--primary); background: #fff; border: 1px solid var(--border-strong); border-radius: 8px; }
.nav-toggle span { background: var(--text-primary); }
.mobile-menu, .mobile-menu.open { background: #fff; border-color: var(--border); box-shadow: 0 10px 24px rgba(23,32,51,.08); }
.mobile-menu a { color: var(--text-secondary); border-color: var(--border); }
.mobile-menu a:hover { color: var(--primary); background: var(--primary-soft); }
.hero { min-height: 0; max-height: none; height: auto; padding: 3.5rem 0 3rem; background: linear-gradient(135deg, #f8fbff 0%, #eff6ff 58%, #fff8e8 100%); border-bottom: 1px solid var(--border); }
.hero-overlay, .hero-road { display: none; }
.hero-inner { align-items: flex-start; text-align: left; padding-top: 0; }
.hero-content { max-width: 760px; color: var(--text-primary); }
.hero-tag { color: var(--primary); background: var(--primary-soft); border-color: #bfdbfe; letter-spacing: .08em; }
.live-dot { background: var(--success); }
.hero-title { color: var(--text-primary); text-shadow: none; text-align: left; font-family: inherit; font-size: clamp(2.15rem, 4.5vw, 3.5rem); }
.hero-desc { color: var(--text-secondary); max-width: 700px; text-align: left; text-shadow: none; }
.hero-actions { justify-content: flex-start; }
.hero-stats { justify-content: flex-start; border-color: var(--border); gap: 2.25rem; }
.hero-stat-val { color: var(--text-primary); font-size: 1.5rem; }
.hero-stat-val span { color: var(--primary); }
.hero-stat-label { color: var(--text-muted); }
.trust-bar { border-bottom: 1px solid var(--border); background: #fff; }
.trust-item { color: var(--text-secondary); }
.trust-item-icon { background: var(--primary-soft); border-color: #bfdbfe; }
.page-hero { padding: 2.75rem 0 2.25rem; background: linear-gradient(135deg, #f8fbff, #eff6ff); border-bottom: 1px solid var(--border); }
.page-hero::before, .page-hero::after { display: none; }
.page-hero h1 { color: var(--text-primary); }
.page-hero p { color: var(--text-secondary); }
.page-hero .eyebrow { color: var(--primary); background: var(--primary-soft); border-color: #bfdbfe; }
.breadcrumb { color: var(--text-muted); }
.calc-section { padding: clamp(2.5rem, 5vw, 4rem) 0; background: var(--bg-page); }
.calc-section::before { display: none; }
.calc-section-header { text-align: left; margin: 0 0 1.5rem; }
.calc-section-header h2, .calc-section-header p { color: inherit; }
.calc-wrap { border: 1px solid var(--border); border-radius: 14px; background: #fff; box-shadow: 0 12px 32px rgba(23,32,51,.08); backdrop-filter: none; }
.calc-tabs { padding: 0 1.5rem; background: var(--bg-soft); border-color: var(--border); }
.calc-tab { color: var(--text-secondary); }
.calc-tab.active, .calc-tab:hover { color: var(--primary); border-bottom-color: var(--primary); }
.calc-inputs { border-color: var(--border); background: #fff; padding: 2rem; }
.calc-inputs > h3, .field label { color: var(--text-primary); }
.input-set-title { color: var(--text-secondary); border-color: var(--border); }
.field-hint { color: var(--text-muted); }
.calc-inputs input[type="number"], .calc-inputs select { min-height: 44px; color: var(--text-primary); background: #fff; border-color: var(--border-strong); }
.calc-inputs input[type="number"]::placeholder { color: #94a3b8; }
.calc-inputs input:focus, .calc-inputs select:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px rgba(37,99,235,.14); }
.calc-inputs select option { color: var(--text-primary); background: #fff; }
.calc-btn { background: var(--primary); color: #fff; box-shadow: none; border-radius: 8px; }
.calc-btn:hover { background: var(--primary-hover); box-shadow: none; }
.reset-btn { color: var(--text-secondary); border-color: var(--border-strong); border-radius: 8px; }
.reset-btn:hover { border-color: var(--text-secondary); color: var(--text-primary); }
.calc-results { background: #f8fbff; padding: 2rem; }
.results-header h3, .result-card-label, .breakdown-bar-label { color: var(--text-muted); }
.result-placeholder p { color: var(--text-muted); }
.result-card { background: #fff; border-color: var(--border); border-radius: 10px; padding: 1rem 1.1rem; }
.result-card:hover { transform: none; border-color: #bfdbfe; background: #fff; }
.result-card.highlighted { background: var(--primary-soft); border-color: #93c5fd; box-shadow: none; }
.result-card.highlighted .result-card-value { color: var(--primary); }
.result-card-value { color: var(--text-primary); }
.result-card-sub { color: var(--text-muted); }
.breakdown-bar { background: #fff; border-color: var(--border); }
.breakdown-track { background: #e2e8f0; box-shadow: none; }
.breakdown-fill-bitumen { background: var(--primary); box-shadow: none; }
.calc-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }
.calc-action { border: 1px solid var(--border-strong); color: var(--text-secondary); background: #fff; padding: .55rem .7rem; border-radius: 7px; font-size: .8rem; font-weight: 650; }
.calc-action:hover { color: var(--primary); border-color: var(--primary); }
.card, .dir-card, .article-card, .formula-card { border-color: var(--border); box-shadow: 0 3px 12px rgba(23,32,51,.05); border-radius: 12px; }
.card:hover { transform: none; box-shadow: 0 8px 24px rgba(23,32,51,.08); }
.section-alt { background: var(--bg-soft); }
.directory-controls { display: grid; gap: 1rem; margin: 1.5rem 0 0; }
.directory-search { width: 100%; min-height: 46px; padding: .7rem 1rem .7rem 2.6rem; border: 1px solid var(--border-strong); border-radius: 9px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 1rem center/1.1rem; }
.directory-search:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,.14); }
.directory-chips { display: flex; gap: .5rem; flex-wrap: wrap; }
.directory-chip { border: 1px solid var(--border-strong); color: var(--text-secondary); background: #fff; border-radius: 999px; padding: .45rem .75rem; font-weight: 650; font-size: .82rem; }
.directory-chip[aria-pressed="true"] { background: var(--primary); color: #fff; border-color: var(--primary); }
.dir-card[hidden] { display: none; }
.dir-card { box-shadow: none; }
.dir-card:hover { border-color: #93c5fd; box-shadow: 0 4px 14px rgba(23,32,51,.06); }
.site-footer { background: #172033; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; } }
@media (max-width: 768px) {
  .hero { padding: 2.25rem 0; }
  .hero-inner, .hero-content, .hero-title, .hero-desc { text-align: left; }
  .hero-tag { display: inline-flex; }
  .hero-actions, .hero-stats { justify-content: flex-start; }
  .hero-stats { gap: 1.15rem; }
  .calc-body { grid-template-columns: 1fr; }
  .calc-inputs { border-right: 0; border-bottom: 1px solid var(--border); padding: 1.25rem; }
  .calc-results { padding: 1.25rem; }
  .calc-tabs { padding: 0 .75rem; overflow-x: auto; }
  .calc-tab { padding: .9rem .85rem; white-space: nowrap; }
}
:root { --primary:#245dcc; --primary-hover:#194aab; --text-primary:#172b43; --text-secondary:#435870; --text-muted:#52657c; --bg-page:#f5f7fa; --navy:#172b43; }
body { letter-spacing:-.01em; font-family:"Segoe UI",Arial,sans-serif; }
[hidden] { display:none !important; }
.desktop-nav { display:flex; align-items:center; gap:28px; margin-left:auto; }
.desktop-nav>a,.tool-menu>summary,.nav-search { color:var(--text-secondary); font-size:14px; font-weight:600; }
.nav-search { border:1px solid var(--border); padding:10px 14px; border-radius:8px; margin-left:24px; background:#fff; }
.nav-search span { margin-left:20px; }
.tool-menu summary,.mobile-navigation summary { cursor:pointer; list-style:none; min-height:44px; display:flex; align-items:center; gap:12px; }
.tool-menu summary::after { content:'⌄'; }
.tool-menu-panel { position:absolute; top:60px; right:15%; width:540px; background:white; border:1px solid var(--border); padding:24px; display:grid; grid-template-columns:1fr 1fr; gap:24px; box-shadow:0 16px 40px #172b4320; border-radius:12px; }
.tool-menu-panel strong { display:block; font-size:12px; text-transform:uppercase; letter-spacing:.08em; color:var(--text-muted); margin-bottom:10px; }
.tool-menu-panel a { display:block; color:var(--text-primary); padding:8px 0; font-size:14px; }
.tool-menu-panel .menu-all { grid-column:1/-1; border-top:1px solid var(--border); color:var(--primary); padding-top:16px; }
.mobile-navigation { display:none; }
.hero { padding:32px 0 20px; background:var(--bg-page); border:0; }
.hero-content { max-width:850px; }
.hero-tag { padding:0; border:0; background:none; font-size:11px; letter-spacing:.14em; margin-bottom:12px; }
.hero-title { font-size:14px; font-weight:600; letter-spacing:0; margin:0 0 14px; color:var(--text-secondary); }
.hero-subtitle { display:block; font-size:clamp(30px,4vw,48px); line-height:1.08; letter-spacing:-.045em; color:var(--text-primary); font-weight:750; margin-top:10px; }
.hero-subtitle br { display:block; }
.hero-desc { font-size:16px; line-height:1.6; margin:0; max-width:72ch; }
.calc-section { padding:20px 0 48px; }
.calc-wrap { border-radius:12px; box-shadow:0 8px 30px #172b430a; }
.calc-tabs { padding:0 24px; background:#fff; }
.calc-tab { min-height:50px; font-size:14px; padding:12px 16px; }
.calc-body { grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); }
.calc-inputs { padding:24px; }
.calc-inputs>.input-set { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px 16px; margin-bottom:20px; }
.input-set-title { grid-column:1/-1; font-size:11px; margin:0; padding-bottom:8px; letter-spacing:.1em; }
.field { min-width:0; margin:0; }
.field label { font-size:13px; letter-spacing:0; }
.field-hint { font-size:12px; line-height:1.5; }
.input-row select { max-width:110px; }
.calc-inputs input[type=number],.calc-inputs select { font-size:16px; padding:10px 12px; border-width:1px; border-radius:6px; }
.calc-inputs select { padding-right:28px; background-position:right 10px center; }
.calc-results { padding:24px; background:#edf3fb; gap:12px; }
.results-header h3 { font-size:11px; color:var(--text-secondary); }
.result-card { padding:14px 16px; border-color:#dbe4f0; }
.result-card.highlighted { background:#245dcc; border-color:#245dcc; padding:24px; }
.result-card.highlighted .result-card-label,.result-card.highlighted .result-card-value,.result-card.highlighted .result-card-sub { color:#fff; }
.result-card.highlighted .result-card-value { font-size:38px; margin:8px 0; letter-spacing:-.035em; }
.result-card-value { font-size:23px; }
.result-card-label { font-size:11px; letter-spacing:.06em; }
.result-card-sub,.breakdown-legend { color:var(--text-secondary); font-size:12px; }
.result-placeholder { border:1px dashed #c3d2e6; border-radius:10px; min-height:180px; background:#ffffff60; }
.result-placeholder p { font-size:15px; color:var(--text-secondary); }
.calc-btn,.reset-btn,.calc-action { min-height:44px; }
.calc-actions { display:flex; flex-wrap:wrap; }
.estimate-tools { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin-bottom:20px; }
.estimate-tools button { padding:8px 12px; min-height:44px; border:1px solid #cbd5e1; border-radius:6px; background:#fff; color:var(--text-secondary); font-size:13px; }
.estimate-tools button[aria-pressed=true] { background:var(--primary-soft); border-color:var(--primary); color:var(--primary); }
.estimate-tools .tools-label { font-size:12px; width:100%; color:var(--text-muted); }
.estimate-note { font-size:13px; line-height:1.7; margin-top:12px; }
.planning-options { border-top:1px solid var(--border); margin-top:12px; padding-top:8px; }
.planning-options summary { cursor:pointer; font-size:14px; font-weight:600; padding:10px 0; }
.planning-fields { display:grid; grid-template-columns:1fr 1fr; gap:16px; padding:12px 0; }
.field-error { color:#a32626; font-size:12px; margin-top:4px; }
[aria-invalid=true] { border-color:#b42318 !important; }
.share-output { width:100%; font-size:13px; }
.page-hero { background:var(--bg-page); padding:28px 0 20px; border:0; }
.page-hero-inner { display:flex; flex-direction:column; }
.page-hero h1 { font-size:clamp(28px,4vw,42px); max-width:850px; }
.page-hero p { max-width:76ch; font-size:16px; }
.breadcrumb { order:-2; margin:0 0 20px; display:flex; flex-wrap:wrap; gap:8px; font-size:12px; color:var(--text-muted); }
.breadcrumb a,.breadcrumb .sep { color:var(--text-muted); }
.page-hero .eyebrow { align-self:flex-start; font-size:10px; padding:3px 8px; margin-bottom:10px; }
.section-header { text-align:left; max-width:none; margin-bottom:24px; }
.section-header p { max-width:70ch; font-size:16px; }
.section-header .label { padding:0; border:0; background:none; border-radius:0; font-size:11px; }
.section-dark { background:#eaf0f8; color:var(--text-primary); }
.section-dark p,.section-dark h2,.section-dark h3 { color:var(--text-primary); }
.formula-card { background:#fff; color:var(--text-primary); }
.formula-card h3,.formula-card p { color:var(--text-primary); }
.formula-inline { background:#edf2f8; color:#172b43; border-left:3px solid var(--primary); border-radius:6px; }
.answer-summary { background:#edf3fb; border-color:var(--primary); color:var(--text-primary); }
.article-card a,.article-toc a,.seo-answer a { color:var(--primary); }
.article-card { padding:32px; box-shadow:none; }
.article-card p,.article-card li { font-size:16px; line-height:1.85; }
.article-layout { grid-template-columns:minmax(0,780px) minmax(220px,1fr); gap:28px; }
.article-card p,.seo-answer p { max-width:72ch; }
.article-toc { border:1px solid var(--border); background:#f8fafc; border-radius:8px; }
.article-toc summary { cursor:pointer; font-weight:650; min-height:44px; }
.resource-panel { border-radius:10px; box-shadow:none; }
.question { padding:0; border:1px solid var(--border); border-radius:8px; background:white; margin:10px 0; }
.question>summary { padding:18px 20px; cursor:pointer; font-weight:600; list-style:none; display:flex; justify-content:space-between; gap:16px; color:var(--text-primary); }
.question>summary::after { content:'+'; color:var(--primary); }
.question[open]>summary::after { content:'−'; }
.question-answer { padding:0 20px 20px; font-size:16px; line-height:1.75; }
.ref-table th,thead th { background:#edf2f8; color:var(--text-primary); }
.ref-table td,td { color:var(--text-secondary); }
.dir-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.dir-card { padding:20px; min-height:110px; background:#fff; border:1px solid var(--border); border-radius:8px; transform:none; }
.dir-card-title { font-size:16px; }
.dir-card-desc { font-size:13px; line-height:1.65; margin-top:6px; }
.dir-card-arrow { color:var(--primary); }
.directory-group { padding:24px 0; background:var(--bg-page); }
.directory-group .section-header h2 { font-size:22px; }
.directory-controls { margin:0; }
.directory-chip { min-height:44px; }
.filter-status { margin-top:12px; font-size:13px; }
.site-footer { background:#edf1f6; border-top:1px solid var(--border); padding:40px 0 20px; }
.site-footer .nav-logo-text { color:var(--text-primary); }
.site-footer .footer-brand p,.site-footer .footer-bottom p,.site-footer .footer-bottom-links a,.site-footer .footer-col ul a,.site-footer .footer-label { color:var(--text-secondary); }
.footer-top { gap:32px; padding-bottom:32px; }
.footer-bottom { border-color:#d4dde8; }
.footer-brand>a:last-child { font-size:13px; }
.generated-illustration { background:var(--bg-page); padding:24px 0; }
.generated-illustration figure { max-width:780px; box-shadow:none; }
.step-card,.pillar-card,.dir-card,.formula-card { animation:none; opacity:1; }
.print-report { display:none; }
.bc-consent { background:white; border-top:1px solid var(--border); box-shadow:0 -4px 18px #172b4312; }
.bc-consent-text,.bc-consent-text a { color:var(--text-secondary); }
.bc-btn { border-radius:6px; }
.bc-btn-accept { background:var(--primary); color:white; }
.bc-btn-ghost { background:white; color:var(--text-primary); border-color:#b8c6d8; }
@media(max-width:900px) {
 .desktop-nav,.nav-search { display:none; }
 .mobile-navigation { display:block; }
 .mobile-navigation-panel { position:absolute; left:0; right:0; top:64px; background:#fff; border-bottom:1px solid var(--border); padding:16px 24px; max-height:75vh; overflow:auto; box-shadow:0 14px 24px #172b4320; }
 .mobile-navigation-panel a { display:block; padding:12px 0; color:var(--text-primary); }
 .mobile-navigation-panel details { border-bottom:1px solid var(--border); }
 .article-layout { grid-template-columns:1fr; }
 .resource-stack { position:static; }
}
@media(max-width:640px) {
 .container { padding-inline:16px; }
 .hero { padding:24px 0 12px; }
 .hero-subtitle { font-size:30px; }
 .hero-desc { font-size:16px; }
 .calc-body { grid-template-columns:1fr; }
 .calc-inputs,.calc-results { padding:18px; }
 .calc-inputs>.input-set { grid-template-columns:1fr; }
 .calc-tabs { padding-inline:8px; }
 .dir-grid,.grid-2,.grid-3,.grid-4 { grid-template-columns:1fr; }
 .article-card { padding:20px; }
 .footer-top { grid-template-columns:1fr 1fr; }
 .footer-brand { grid-column:1/-1; }
 .footer-bottom { align-items:flex-start; text-align:left; }
 .footer-bottom-links { justify-content:flex-start; }
}
:root {
  --bg:#fff; --bg-page:#fff; --bg-soft:#f6f7f9; --surface:#fff;
  --ink:#171a1f; --ink-muted:#5a6270; --text-primary:var(--ink);
  --text-secondary:var(--ink-muted); --text-muted:var(--ink-muted);
  --border:#e4e7ec; --border-strong:#cfd4dc;
  --brand-amber:#f59e0b; --brand-amber-dark:#b45309; --blue:#2563eb;
  --teal:#0d9488; --purple:#7c3aed; --green:#16a34a; --rose:#e11d48;
  --primary:var(--blue); --primary-hover:#1d4ed8; --primary-soft:#eff6ff;
  --gold:var(--brand-amber); --gold-dark:var(--brand-amber-dark);
  --shadow:0 6px 20px rgba(23,26,31,.06); --r:10px; --r-lg:10px; --r-xl:14px;
}
html { font-size:16px; }
body { background:var(--bg); color:var(--ink); font-family:Inter,system-ui,sans-serif; font-weight:400; line-height:1.6; letter-spacing:0; }
h1,h2,h3,h4,.nav-logo-text { font-family:Sora,Inter,system-ui,sans-serif; color:var(--ink); }
h1 { font-size:clamp(2rem,4.5vw,3.25rem); font-weight:700; line-height:1.2; }
h2 { font-size:clamp(1.5rem,3vw,2.25rem); font-weight:700; line-height:1.2; }
h3 { font-size:1.25rem; font-weight:600; }
p { color:var(--ink-muted); } a { color:var(--blue); } a:hover { color:var(--brand-amber-dark); }
.section { padding-block:clamp(48px,7vw,88px); } .section-alt { background:var(--bg-soft); }
.section-header .label,.eyebrow { color:var(--purple); background:#f5f3ff; border-color:#ddd6fe; }
.card,.dir-card,.article-card,.resource-panel,.formula-card { background:#fff; border:1px solid var(--border); border-radius:14px; box-shadow:none; }
.card:hover,.dir-card:hover { transform:translateY(-2px); box-shadow:var(--shadow); border-color:var(--brand-amber); }
.site-header { background:rgba(255,255,255,.97); border-bottom:1px solid var(--border); box-shadow:none; backdrop-filter:blur(10px); }
.site-header.is-scrolled { box-shadow:var(--shadow); }
.nav-inner { min-height:68px; height:68px; }
.nav-logo-icon { background:var(--brand-amber); color:var(--ink); border-radius:10px; }
.nav-logo-text,.nav-logo-text span { color:var(--ink); } .nav-logo-text span { color:var(--brand-amber-dark); }
.desktop-nav>a,.tool-menu>summary,.nav-search { color:var(--ink-muted); }
.desktop-nav>a:hover,.tool-menu>summary:hover { color:var(--brand-amber-dark); }
.nav-search { border-radius:10px; min-height:44px; border-color:var(--border); }
.tool-menu-panel { background:#fff; border:1px solid var(--border); border-radius:14px; box-shadow:var(--shadow); }
.tool-menu-panel strong { color:var(--purple); } .tool-menu-panel a { color:var(--ink); }
.tool-menu-panel a:hover { color:var(--brand-amber-dark); background:var(--bg-soft); }
.tool-menu-panel .menu-all { color:var(--blue); }
.mobile-navigation-panel { background:#fff; border-color:var(--border); box-shadow:var(--shadow); max-height:calc(100vh - 68px); }
.mobile-navigation-panel a,.mobile-navigation-panel summary { color:var(--ink); min-height:44px; }
.mobile-navigation-panel details summary::after { content:'+'; color:var(--purple); margin-left:auto; }
.mobile-navigation-panel details[open] summary::after { transform:rotate(45deg); }
.hero,.page-hero { background:linear-gradient(135deg,#fff 0%,#fff 64%,#fff8e8 100%); border-bottom:1px solid var(--border); }
.hero { padding-block:clamp(56px,8vw,96px); }
.hero-tag,.page-hero .eyebrow { color:var(--green); background:#f0fdf4; border-color:#bbf7d0; }
.hero-title,.hero-subtitle,.page-hero h1 { color:var(--ink); font-family:Sora,Inter,sans-serif; }
.hero-desc,.page-hero p { color:var(--ink-muted); }.hero-stat-val { color:var(--ink); }.hero-stat-val span { color:var(--brand-amber-dark); }
.trust-bar { background:#fff; border-color:var(--border); }.trust-item-icon { color:var(--teal); background:#f0fbfa; border-color:#b8e6e1; }
.btn,.calc-btn,.reset-btn,.calc-action,.estimate-tools button { min-height:44px; border-radius:10px; transition:transform 150ms ease,background-color 150ms ease,box-shadow 150ms ease,color 150ms ease; }
.btn-primary,.calc-btn { background:var(--brand-amber); color:var(--ink); font-weight:700; box-shadow:none; }
.btn-primary:hover,.calc-btn:hover { background:var(--brand-amber-dark); color:#fff; transform:translateY(-2px); box-shadow:var(--shadow); }
.btn-outline { border:1.5px solid var(--ink); color:var(--ink); }.btn-outline:hover { background:var(--bg-soft); color:var(--ink); }
.reset-btn { color:var(--rose); border-color:transparent; background:transparent; }.reset-btn:hover { color:var(--rose); background:#fff1f2; border-color:#fecdd3; }
:focus-visible { outline:2px solid var(--blue); outline-offset:3px; }
.calc-section { background:var(--bg); }.calc-wrap { border-color:var(--border); border-radius:14px; box-shadow:var(--shadow); }
.calc-tabs { display:flex; gap:4px; padding:8px; background:var(--bg-soft); }.calc-tab { border:0!important; border-radius:999px; min-height:44px; }
.calc-tab.active { color:var(--ink)!important; background:var(--brand-amber)!important; }.calc-tab:not(.active) { color:var(--ink-muted); }
.calc-inputs { background:#fff; border-color:var(--border); }.calc-results { background:var(--bg-soft); border-left:4px solid var(--brand-amber); }
.calc-inputs input[type=number],.calc-inputs select { border-color:var(--border-strong); border-radius:10px; }
.calc-inputs input:focus,.calc-inputs select:focus { border-color:var(--blue); box-shadow:0 0 0 3px rgba(37,99,235,.14); }
.result-card { border-color:var(--border); border-radius:10px; }.result-card.highlighted { background:#fff8e8; border-color:#fcd34d; }
.result-card-value,.formula-code { font-family:'JetBrains Mono',ui-monospace,monospace; }.result-card.highlighted .result-card-value { color:var(--ink); }
.breakdown-fill-bitumen { background:var(--brand-amber); }.breakdown-fill-aggregate { background:var(--teal); }
.section-dark { background:#f0fbfa; color:var(--ink); }.section-dark h2,.section-dark h3,.section-dark p { color:var(--ink); }
.formula-card,.formula-inline { background:#f0fbfa; color:var(--ink); border-left:4px solid var(--teal); border-radius:10px; box-shadow:none; }
.formula-card h3,.formula-card h4,.formula-card p { color:var(--ink); }.formula-code,.formula-inline { font-family:'JetBrains Mono',ui-monospace,monospace; }
.faq-item,.question { border-color:var(--border); border-radius:0; box-shadow:none; background:#fff; }.faq-item.open { border-color:var(--border); box-shadow:none; }
.faq-q,.question>summary { color:var(--ink); min-height:52px; }.faq-icon,.question>summary::after { color:var(--purple); background:transparent; }
.faq-item.open .faq-q { color:var(--ink); background:#faf5ff; }.faq-item.open .faq-icon { color:var(--purple); background:transparent; }
.article-layout { grid-template-columns:minmax(0,720px) minmax(220px,1fr); }.article-card { padding:clamp(24px,4vw,40px); }.article-card a,.article-toc a,.seo-answer a { color:var(--blue); }
.article-toc { border-left:3px solid var(--purple); border-radius:10px; background:#faf5ff; }.article-toc summary { color:var(--ink); }
.resource-stack { top:88px; }.ref-table th,thead th { background:var(--bg-soft); color:var(--ink); }.ref-table td,td { color:var(--ink-muted); border-color:var(--border); }
.reference-scroll { border:1px solid var(--border); border-radius:10px; }.reference-scroll table { margin:0; }
.site-footer { background:var(--bg-soft); border-top:1px solid var(--border); }.site-footer .nav-logo-text,.site-footer .nav-logo-text span { color:var(--ink); }
.site-footer .footer-brand p,.site-footer .footer-bottom p,.site-footer .footer-bottom-links a,.site-footer .footer-col ul a,.site-footer .footer-label { color:var(--ink-muted); }
.site-footer a:hover { color:var(--brand-amber-dark); }.footer-bottom { border-color:var(--border); }
.scroll-top { width:44px; height:44px; background:var(--brand-amber); color:var(--ink); box-shadow:var(--shadow); }.scroll-top:hover { background:var(--brand-amber-dark); color:#fff; }
@media (max-width:900px) { .article-layout { grid-template-columns:1fr; }.resource-stack { position:static; }.tool-menu-panel { width:min(540px,calc(100vw - 32px)); right:0; }.footer-top { grid-template-columns:1fr 1fr; } }
@media (max-width:640px) { .footer-top { grid-template-columns:1fr; }.calc-tabs { overflow-x:auto; }.calc-tab { white-space:nowrap; }.hero { padding-block:48px; }.article-card { padding:24px 20px; } }
.nav-right { display:flex; align-items:center; gap:.5rem; margin-left:.5rem; }
.nav-toggle span { background:var(--ink,#171a1f); }
.mobile-menu { background:#fff; border-color:var(--border,#e4e7ec); box-shadow:0 16px 40px rgba(23,26,31,.10); }
.mobile-menu a { color:var(--ink,#171a1f); border-bottom-color:var(--border,#e4e7ec); }
.mobile-menu a:hover { color:var(--brand-amber-dark,#b45309); background:var(--bg-soft,#f6f7f9); }
.theme-toggle { background:transparent; border-color:var(--border,#e4e7ec); color:var(--ink,#171a1f); font-size:1rem; }
.theme-toggle:hover { background:var(--bg-soft,#f6f7f9); border-color:var(--brand-amber,#f59e0b); }
.hero {
  background: var(--neo-bg, #F0F2F5) !important;
  border-bottom: 0 !important;
  position: relative;
  overflow: visible;
  min-height: auto !important;
  display: block !important;
  padding-block: clamp(48px, 6vw, 72px) !important;
}
.hero::after { display: none !important; }
.hero-content { text-align: center; max-width: 840px; margin: 0 auto; }
.hero-subtitle { color: #0F172A !important; font-size: clamp(2.1rem, 5vw, 3.8rem) !important; font-weight: 800 !important; letter-spacing: -.03em !important; display: block !important; margin-top: .3rem !important; }
.hero-desc { color: #475569 !important; font-size: 1.05rem !important; max-width: 60ch; margin-inline: auto !important; margin-bottom: 2rem !important; text-align: center !important; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.5rem; }
.field-input {
  border-color:var(--border-strong,#cfd4dc) !important;
  border-radius:10px !important;
  color:var(--ink,#171a1f) !important;
  background:#fff !important;
  padding:1.45rem 1rem .5rem !important;
}
.field-input:focus {
  border-color:var(--blue,#2563eb) !important;
  box-shadow:0 0 0 3px rgba(37,99,235,.14) !important;
  background:#fff !important;
}
.field-label { color:var(--ink-muted,#5a6270) !important; }
.field-input:not(:placeholder-shown)~.field-label,
.field-input:focus~.field-label { color:var(--blue,#2563eb) !important; }
.field-label-static { color:var(--ink,#171a1f) !important; font-size:13px; margin-bottom:.35rem; }
.unit-select {
  border-color:var(--border-strong,#cfd4dc) !important;
  border-radius:8px !important;
  color:var(--ink,#171a1f) !important;
  background-color:#f8fafc !important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2364748b' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat:no-repeat !important;
  background-position:right 10px center !important;
  background-size:10px 6px !important;
  padding-right:28px !important;
  appearance:none !important;
  -webkit-appearance:none !important;
}
.unit-select:focus { border-color:var(--blue,#2563eb) !important; box-shadow:0 0 0 3px rgba(37,99,235,.14) !important; }
.unit-select option { background:#fff; color:var(--ink,#171a1f); }
.unit-pill { color:var(--blue,#2563eb) !important; background:#eff6ff !important; border-color:#bfdbfe !important; }
fieldset { border:0; padding:0; margin:0; }
fieldset>legend.input-set-title { color:var(--purple,#7c3aed) !important; border-bottom-color:#ddd6fe !important; }
.thickness-chip { border-color:var(--border,#e4e7ec); background:#fff; color:var(--ink,#171a1f); border-radius:6px; }
.thickness-chip:hover { border-color:#94a3b8; color:#0f172a; background:#f1f5f9; }
.thickness-chip.active { background:#0f172a !important; border-color:#0f172a !important; color:#fff !important; }
.bottom-sheet-pill { background:var(--border,#e4e7ec); }
.bottom-sheet-primary { color:var(--ink,#171a1f); }
.bottom-sheet-cta { color:var(--brand-amber-dark,#b45309); }
@media(max-width:1023px){
  .calc-results.has-results { background:#fff; border-radius:18px 18px 0 0; border-top:1px solid var(--border,#e4e7ec); }
}
[data-theme="dark"] body { background:#0f172a; color:#f1f5f9; }
[data-theme="dark"] .site-header { background:rgba(15,23,42,.97) !important; border-color:#334155 !important; }
[data-theme="dark"] .nav-logo-text,[data-theme="dark"] .nav-logo-text span { color:#f1f5f9; }
[data-theme="dark"] .nav-logo-text span { color:var(--brand-amber,#f59e0b); }
[data-theme="dark"] .desktop-nav>a,[data-theme="dark"] .tool-menu>summary { color:rgba(241,245,249,.7); }
[data-theme="dark"] .desktop-nav>a:hover,[data-theme="dark"] .tool-menu>summary:hover { color:#f1f5f9; }
[data-theme="dark"] .nav-search { background:rgba(255,255,255,.07); border-color:#334155; color:rgba(241,245,249,.7); }
[data-theme="dark"] .nav-toggle span { background:#f1f5f9; }
[data-theme="dark"] .theme-toggle { background:rgba(255,255,255,.1); border-color:#334155; color:#f1f5f9; }
[data-theme="dark"] .mobile-menu { background:#1e293b; border-color:#334155; }
[data-theme="dark"] .mobile-menu a { color:rgba(241,245,249,.8); border-color:#334155; }
[data-theme="dark"] .tool-menu-panel { background:#1e293b; border-color:#334155; }
[data-theme="dark"] .tool-menu-panel strong { color:#a78bfa; }
[data-theme="dark"] .tool-menu-panel a { color:rgba(241,245,249,.75); }
[data-theme="dark"] .section-alt { background:#1e293b; }
[data-theme="dark"] h1,[data-theme="dark"] h2,[data-theme="dark"] h3 { color:#f1f5f9; }
[data-theme="dark"] p { color:#94a3b8; }
[data-theme="dark"] .card,[data-theme="dark"] .dir-card { background:#1e293b; border-color:#334155; }
[data-theme="dark"] .card:hover,[data-theme="dark"] .dir-card:hover { border-color:var(--brand-amber,#f59e0b); }
[data-theme="dark"] .calc-section { background:#0f172a !important; }
[data-theme="dark"] .calc-wrap { background:#1e293b; border-color:#334155; }
[data-theme="dark"] .calc-inputs { background:#1e293b !important; border-color:#334155 !important; }
[data-theme="dark"] .calc-results { background:#0f172a; }
[data-theme="dark"] .calc-tabs { background:#0f172a !important; }
[data-theme="dark"] .calc-tab:not(.active) { color:rgba(241,245,249,.5); }
[data-theme="dark"] .field-input { background:#0f172a !important; border-color:#334155 !important; color:#f1f5f9 !important; }
[data-theme="dark"] .field-input:focus { background:rgba(245,158,11,.06) !important; border-color:var(--brand-amber,#f59e0b) !important; box-shadow:0 0 0 3px rgba(245,158,11,.18) !important; }
[data-theme="dark"] .field-label { color:#64748b !important; }
[data-theme="dark"] .field-input:not(:placeholder-shown)~.field-label,
[data-theme="dark"] .field-input:focus~.field-label { color:var(--brand-amber,#f59e0b) !important; }
[data-theme="dark"] .field-label-static { color:#94a3b8 !important; }
[data-theme="dark"] .unit-select { background-color:#0f172a !important; border-color:#334155 !important; color:#f1f5f9 !important; }
[data-theme="dark"] .unit-pill { background:rgba(245,158,11,.15) !important; border-color:rgba(245,158,11,.3) !important; color:#f59e0b !important; }
[data-theme="dark"] fieldset>legend.input-set-title { color:var(--brand-amber,#f59e0b) !important; border-color:rgba(245,158,11,.2) !important; }
[data-theme="dark"] .thickness-chip { background:rgba(255,255,255,.05); border-color:#334155; color:rgba(241,245,249,.75); }
[data-theme="dark"] .thickness-chip:hover { border-color:#f59e0b; color:#f59e0b; background:rgba(245,158,11,.08); }
[data-theme="dark"] .thickness-chip.active { background:#f59e0b; border-color:#f59e0b; color:#0f172a; }
[data-theme="dark"] .result-card { background:rgba(255,255,255,.05); border-color:#334155; }
[data-theme="dark"] .result-card-label { color:#64748b; }
[data-theme="dark"] .result-card-value { color:#f1f5f9; }
[data-theme="dark"] .result-card.highlighted { background:rgba(245,158,11,.12); border-color:rgba(245,158,11,.5); }
[data-theme="dark"] .result-card.highlighted .result-card-value { color:var(--brand-amber,#f59e0b); }
[data-theme="dark"] .result-placeholder { border-color:#334155; background:rgba(255,255,255,.03); }
[data-theme="dark"] .result-placeholder p { color:#475569; }
[data-theme="dark"] .breakdown-bar { background:rgba(255,255,255,.04); border-color:#334155; }
[data-theme="dark"] .breakdown-bar-label { color:#64748b; }
[data-theme="dark"] .ref-table th,[data-theme="dark"] thead th { background:#1e293b; color:#f1f5f9; border-color:#334155; }
[data-theme="dark"] .ref-table td,[data-theme="dark"] td { color:#94a3b8; border-color:#334155; }
[data-theme="dark"] .question { background:#1e293b; border-color:#334155; }
[data-theme="dark"] .question>summary { color:#f1f5f9; }
[data-theme="dark"] .question>summary::after { color:#a78bfa; }
[data-theme="dark"] .section-dark { background:#0f172a; }
[data-theme="dark"] .formula-card { background:#1e293b; border-color:#334155; }
[data-theme="dark"] .formula-card h3,[data-theme="dark"] .formula-card p { color:#f1f5f9; }
[data-theme="dark"] .formula-code { background:#0f172a; color:#e2e8f0; }
[data-theme="dark"] .trust-bar { background:#1e293b; border-color:#334155; }
[data-theme="dark"] .trust-item { color:#94a3b8; }
[data-theme="dark"] .table-tabs { background:#1e293b; }
[data-theme="dark"] .table-tab { color:#64748b; }
[data-theme="dark"] .table-tab.active { color:var(--brand-amber,#f59e0b); border-bottom-color:var(--brand-amber,#f59e0b); }
[data-theme="dark"] .dir-section-title { color:#94a3b8; }
[data-theme="dark"] .dir-card-title { color:#f1f5f9; }
[data-theme="dark"] .dir-card-desc { color:#64748b; }
[data-theme="dark"] .site-footer { background:#1e293b; border-color:#334155; }
[data-theme="dark"] .footer-label { color:#64748b; }
[data-theme="dark"] .footer-brand p,[data-theme="dark"] .footer-col ul a,[data-theme="dark"] .footer-bottom p,[data-theme="dark"] .footer-bottom-links a { color:#64748b; }
[data-theme="dark"] .footer-bottom { border-color:#334155; }
[data-theme="dark"] .bottom-sheet-pill { background:#334155; }
[data-theme="dark"] .bottom-sheet-primary { color:#f1f5f9; }
[data-theme="dark"] .bottom-sheet-cta { color:var(--brand-amber,#f59e0b); }
@media(max-width:1023px){
  [data-theme="dark"] .calc-results.has-results { background:#1e293b; border-color:#334155; }
}
:root {
  --bg-page: #F8FAFC;
  --surface: #FFFFFF;
  --surface-secondary: #F1F5F9;
  --surface-tertiary: #E2E8F0;
  --surface-dark: #0F172A;
  --surface-dark-card: #1E293B;
  --surface-dark-border: rgba(255, 255, 255, 0.12);
  --primary-ink: #111827;
  --primary-text: #334155;
  --muted-text: #64748B;
  --subtle-text: #94A3B8;
  --text-inverse: #FFFFFF;
  --border: #E2E8F0;
  --border-hover: #CBD5E1;
  --border-focus: #2563EB;
  --accent-yellow: #F4B41A;
  --accent-hover: #D99A00;
  --accent-light: #FFF7D6;
  --brand-blue: #2563EB;
  --brand-blue-hover: #1D4ED8;
  --brand-blue-light: #EFF6FF;
  --success: #16A34A;
  --success-light: #DCFCE7;
  --danger: #DC2626;
  --danger-light: #FEE2E2;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-pill: 9999px;
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Roboto Mono', ui-monospace, SFMono-Regular, monospace;
  --max-width: 1280px;
  --max-reading-width: 1120px;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-page);
  color: var(--primary-text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
  color: var(--primary-ink);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1rem;
  letter-spacing: -0.025em;
}
p {
  margin: 0 0 1.25rem;
}
a {
  color: var(--brand-blue);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover {
  color: var(--brand-blue-hover);
}
.font-mono,
.result-card-value,
.formula-code,
.formula-inline,
.code-num {
  font-family: var(--font-mono) !important;
  font-variant-numeric: tabular-nums;
}
.container {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}
.container-reading {
  max-width: var(--max-reading-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}
.section {
  padding-top: 88px;
  padding-bottom: 88px;
}
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem;
}
.section-header .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand-blue-light);
  color: var(--brand-blue);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}
.section-header h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 0.75rem;
}
.section-header p {
  font-size: 1.1rem;
  color: var(--muted-text);
  margin: 0;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}
.site-header .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--primary-ink) !important;
  letter-spacing: -0.03em;
}
.nav-logo-icon {
  width: 32px;
  height: 32px;
  background: var(--primary-ink);
  color: #FFFFFF;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
}
.nav-logo-icon span {
  color: var(--accent-yellow);
}
.nav-logo-text span {
  color: var(--accent-yellow);
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.desktop-nav > a,
.desktop-nav details > summary {
  color: var(--primary-text);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  list-style: none;
  transition: color 0.15s ease, background 0.15s ease;
}
.desktop-nav > a:hover,
.desktop-nav details > summary:hover {
  color: var(--primary-ink);
  background: var(--surface-secondary);
}
.tool-menu {
  position: relative;
}
.tool-menu summary::-webkit-details-marker {
  display: none;
}
.tool-menu summary::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 2px solid var(--muted-text);
  border-bottom: 2px solid var(--muted-text);
  transform: rotate(45deg) translateY(-2px);
  margin-left: 6px;
  transition: transform 0.2s ease;
}
.tool-menu[open] summary::after {
  transform: rotate(-135deg) translateY(-2px);
}
.tool-menu-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: -120px;
  width: 680px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  z-index: 1010;
  animation: dropdownIn 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes dropdownIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.tool-menu-panel strong {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-text);
  margin-bottom: 0.65rem;
}
.tool-menu-panel a {
  display: block;
  color: var(--primary-text);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 5px 0;
  transition: color 0.15s ease;
}
.tool-menu-panel a:hover {
  color: var(--brand-blue);
}
.tool-menu-panel .menu-all {
  grid-column: 1 / -1;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  font-weight: 700;
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.btn-nav-cta {
  background: var(--primary-ink);
  color: #FFFFFF !important;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  transition: background 0.15s ease;
}
.btn-nav-cta:hover {
  background: #1f2937;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--primary-ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.mobile-menu {
  display: none;
  position: absolute;
  top: 68px;
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: var(--shadow-xl);
  max-height: calc(100vh - 68px);
  overflow-y: auto;
}
.mobile-menu.open {
  display: flex !important;
}
.mobile-menu a {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  min-height: 48px;
  color: var(--primary-ink);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  background: var(--surface-secondary);
}
.mobile-menu a:active {
  background: var(--surface-tertiary);
}
.hero-saas {
  padding: 72px 0 60px;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--bg-page) 100%);
  border-bottom: 1px solid var(--border);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}
.hero-content .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-light);
  color: #855300;
  border: 1px solid rgba(244, 180, 26, 0.4);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 1.25rem;
}
.hero-content h1 {
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--primary-ink);
  margin-bottom: 1.25rem;
}
.hero-content .hero-desc {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--muted-text);
  margin-bottom: 2rem;
  max-width: 580px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.btn-primary,
.calc-btn {
  background: var(--accent-yellow) !important;
  color: #111827 !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  padding: 0.85rem 1.85rem !important;
  min-height: 48px !important;
  border: 1px solid rgba(0,0,0,0.06) !important;
  border-radius: var(--radius-md) !important;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
}
.btn-primary:hover,
.calc-btn:hover {
  background: var(--accent-hover) !important;
  box-shadow: var(--shadow-sm);
}
.btn-primary:active,
.calc-btn:active {
  transform: translateY(1px);
}
.btn-secondary {
  background: var(--surface) !important;
  color: var(--primary-ink) !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  padding: 0.85rem 1.5rem !important;
  min-height: 48px !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-md) !important;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.btn-secondary:hover {
  background: var(--surface-secondary) !important;
  border-color: var(--border-hover) !important;
}
.reset-btn {
  background: var(--surface) !important;
  color: var(--muted-text) !important;
  font-weight: 600 !important;
  font-size: 0.92rem !important;
  padding: 0.85rem 1.25rem !important;
  min-height: 48px !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-md) !important;
  cursor: pointer;
  transition: all 0.15s ease;
}
.reset-btn:hover {
  color: var(--danger) !important;
  border-color: #FCA5A5 !important;
  background: var(--danger-light) !important;
}
.trust-checks {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted-text);
}
.trust-check-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.trust-check-item svg {
  color: var(--success);
  width: 16px;
  height: 16px;
}
.hero-preview-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: 1.75rem;
}
.preview-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.25rem;
}
.preview-card-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-text);
}
.preview-pill-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--success);
  background: var(--success-light);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}
.preview-pill-live::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--success);
  border-radius: 50%;
}
.preview-inputs-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.preview-input-box {
  background: var(--surface-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
}
.preview-input-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted-text);
}
.preview-input-val {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-ink);
}
.preview-result-hero {
  background: var(--surface-dark);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}
.preview-res-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--subtle-text);
  font-weight: 600;
}
.preview-res-number {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-yellow);
  line-height: 1.1;
  margin: 4px 0;
}
.preview-res-sub {
  font-size: 0.8rem;
  color: var(--subtle-text);
}
.preview-breakdown {
  display: flex;
  height: 8px;
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-bottom: 0.5rem;
}
.preview-bar-bit {
  background: var(--accent-yellow);
  width: 5.5%;
}
.preview-bar-agg {
  background: var(--primary-text);
  width: 94.5%;
}
.preview-breakdown-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted-text);
}
.trust-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.trust-metrics-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  align-items: center;
}
.trust-metric-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.trust-metric-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--surface-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-ink);
  flex-shrink: 0;
}
.trust-metric-val {
  font-weight: 800;
  font-size: 1rem;
  color: var(--primary-ink);
  line-height: 1.2;
}
.trust-metric-lbl {
  font-size: 0.78rem;
  color: var(--muted-text);
}
.calc-section {
  padding: 64px 0 80px;
}
.calc-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.calc-tabs-header {
  padding: 1.25rem 1.75rem 0.75rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.calc-tabs {
  background: var(--surface-secondary);
  padding: 4px;
  border-radius: var(--radius-md);
  display: inline-flex;
  gap: 4px;
}
.calc-tab {
  background: transparent;
  border: none;
  padding: 8px 18px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--muted-text);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
}
.calc-tab.active {
  background: var(--surface);
  color: var(--primary-ink);
  font-weight: 700;
  box-shadow: var(--shadow-xs);
}
.formula-bar-container {
  padding: 1.25rem 1.75rem 0;
}
.formula-bar-wrap {
  background: var(--surface-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
}
.formula-bar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.formula-bar-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-text);
  display: flex;
  align-items: center;
  gap: 6px;
}
.formula-step-chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.formula-step-chips::-webkit-scrollbar {
  display: none;
}
.formula-step-chip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--muted-text);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.formula-step-chip:hover {
  color: var(--primary-ink);
  border-color: var(--border-hover);
}
.formula-step-chip.active {
  background: var(--primary-ink);
  color: #FFFFFF !important;
  border-color: var(--primary-ink);
}
.formula-screen-box {
  background: var(--surface-dark);
  color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 0.85rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.formula-eq-line {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  color: var(--subtle-text);
}
.formula-eq-line .formula-res {
  color: #34D399;
  font-weight: 700;
}
.formula-eq-line .formula-var {
  color: #38BDF8;
  font-weight: 600;
}
.formula-eq-line .formula-op {
  color: var(--accent-yellow);
  font-weight: 700;
}
.formula-live-sub {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent-yellow);
  color: #E2E8F0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.formula-live-sub .sub-accent {
  color: #FDE047;
  font-weight: 700;
}
.formula-live-sub .sub-res {
  color: #4ADE80;
  font-weight: 700;
}
.calc-body {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  padding: 1.75rem;
  align-items: start;
}
.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.input-set {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.input-set-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-text);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.field {
  margin-bottom: 1.25rem;
}
.field:last-child {
  margin-bottom: 0;
}
.field label {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary-ink);
  margin-bottom: 0.4rem;
}
.field-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 640px) {
  .field-grid-2 {
    grid-template-columns: 1fr;
  }
}
.input-row {
  display: flex !important;
  position: relative;
  width: 100%;
}
.input-row input {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  border: 1px solid var(--border) !important;
  border-right: none !important;
  border-top-left-radius: 8px !important;
  border-bottom-left-radius: 8px !important;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  background: var(--surface) !important;
  color: var(--primary-ink) !important;
  font-family: var(--font-mono) !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  padding: 0.75rem 1rem !important;
  min-height: 48px !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
}
.input-row input:focus {
  outline: none !important;
  border-color: var(--border-focus) !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
  z-index: 2;
}
.input-row .unit-select,
.unit-select {
  flex: 0 0 90px !important;
  width: 90px !important;
  min-width: 90px !important;
  border: 1px solid var(--border) !important;
  border-left: 1px solid var(--border) !important;
  border-top-right-radius: 8px !important;
  border-bottom-right-radius: 8px !important;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  background-color: #F1F5F9 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2364748B' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 10px center !important;
  background-size: 10px 6px !important;
  color: var(--primary-ink) !important;
  font-family: var(--font-sans) !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  padding: 0.75rem 26px 0.75rem 0.75rem !important;
  min-height: 48px !important;
  cursor: pointer !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  transition: border-color 0.15s ease, background-color 0.15s ease !important;
}
.input-row .unit-select:focus,
.unit-select:focus {
  outline: none !important;
  border-color: var(--border-focus) !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
  z-index: 2;
}
.calc-inputs select:not(.unit-select) {
  width: 100% !important;
  border: 1px solid var(--border) !important;
  border-radius: 8px !important;
  background-color: var(--surface) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2364748B' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 10px 6px !important;
  color: var(--primary-ink) !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  padding: 0.75rem 36px 0.75rem 1rem !important;
  min-height: 48px !important;
  cursor: pointer !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
}
.calc-inputs input[type=text]:not(.input-row input) {
  width: 100% !important;
  border: 1px solid var(--border) !important;
  border-radius: 8px !important;
  background: var(--surface) !important;
  color: var(--primary-ink) !important;
  font-family: var(--font-mono) !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  padding: 0.75rem 1rem !important;
  min-height: 48px !important;
}
.estimate-tools {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px 10px !important;
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 10px !important;
  padding: 10px 14px !important;
  margin-bottom: 20px !important;
}
.estimate-tools .tools-label {
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: #64748B !important;
  margin-right: 2px !important;
  white-space: nowrap !important;
}
.estimate-tools button[data-system] {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  border-radius: 6px !important;
  color: #334155 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 6px 14px !important;
  min-height: 34px !important;
  cursor: pointer !important;
  transition: all 150ms ease !important;
}
.estimate-tools button[data-system]:hover {
  background: #F1F5F9 !important;
  border-color: #94A3B8 !important;
  color: #0F172A !important;
}
.estimate-tools button[data-system][aria-pressed="true"] {
  background: #0F172A !important;
  border-color: #0F172A !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12) !important;
}
.estimate-tools button[data-example] {
  background: #FFFFFF !important;
  border: 1px dashed #CBD5E1 !important;
  border-radius: 6px !important;
  color: #475569 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  padding: 6px 12px !important;
  min-height: 34px !important;
  cursor: pointer !important;
  transition: all 150ms ease !important;
}
.estimate-tools button[data-example]:hover {
  background: #EFF6FF !important;
  border-color: #3B82F6 !important;
  border-style: solid !important;
  color: #1D4ED8 !important;
}
.thickness-chips {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 8px !important;
  margin-top: 0.6rem !important;
  width: 100% !important;
}
.thickness-chip {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  border-radius: 6px !important;
  color: #334155 !important;
  font-family: var(--font-sans) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 0 6px !important;
  height: 38px !important;
  min-height: 38px !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}
.thickness-chip:hover {
  background: #F1F5F9 !important;
  border-color: #94A3B8 !important;
  color: #0F172A !important;
}
.thickness-chip.active {
  background: #0F172A !important;
  color: #FFFFFF !important;
  border-color: #0F172A !important;
  font-weight: 700 !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15) !important;
}
.field-hint {
  font-size: 0.78rem !important;
  color: var(--muted-text) !important;
  margin-top: 0.4rem !important;
}
.planning-options {
  flex: 0 0 100% !important;
  width: 100% !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 8px !important;
  background: #F8FAFC !important;
  margin-bottom: 8px !important;
  overflow: hidden !important;
  transition: all 150ms ease !important;
}
.planning-options summary {
  padding: 10px 14px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #475569 !important;
  cursor: pointer !important;
  user-select: none !important;
  list-style: none !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}
.planning-options summary::-webkit-details-marker {
  display: none !important;
}
.planning-options summary::before {
  content: "▶" !important;
  font-size: 10px !important;
  color: #94A3B8 !important;
  transition: transform 150ms ease !important;
}
.planning-options[open] summary::before {
  transform: rotate(90deg) !important;
}
.planning-options summary:hover {
  color: #0F172A !important;
  background: #F1F5F9 !important;
}
.planning-options[open] {
  background: #FFFFFF !important;
  border-color: #CBD5E1 !important;
}
.planning-options[open] summary {
  border-bottom: 1px solid #E2E8F0 !important;
  color: #0F172A !important;
}
.planning-fields {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 14px !important;
  padding: 14px !important;
}
@media (max-width: 640px) {
  .planning-fields {
    grid-template-columns: 1fr !important;
  }
}
.calc-actions-row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  width: 100% !important;
  align-items: center !important;
}
.calc-actions-row .calc-btn {
  flex: 1 1 200px !important;
  min-height: 48px !important;
  background: #F4B41A !important;
  color: #111827 !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  border-radius: 8px !important;
  border: none !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  box-shadow: 0 2px 6px rgba(244, 180, 26, 0.25) !important;
  transition: all 150ms ease !important;
}
.calc-actions-row .calc-btn:hover {
  background: #D99A00 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(244, 180, 26, 0.35) !important;
}
.calc-actions-row .reset-btn {
  flex: 0 0 auto !important;
  min-height: 48px !important;
  padding: 0 18px !important;
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  border-radius: 8px !important;
  color: #64748B !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  cursor: pointer !important;
  transition: all 150ms ease !important;
}
.calc-actions-row .reset-btn:hover {
  background: #FEF2F2 !important;
  border-color: #FECACA !important;
  color: #DC2626 !important;
}
.calc-results {
  background: var(--surface-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.results-header h3 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-text);
  margin: 0;
}
.result-placeholder {
  padding: 3rem 1.5rem;
  text-align: center;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
}
.result-placeholder-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 0.75rem;
  color: var(--subtle-text);
}
.result-card.highlighted {
  background: var(--surface);
  border: 2px solid var(--primary-ink);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.result-card.highlighted .result-card-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-text);
}
.result-card.highlighted .result-card-value {
  font-family: var(--font-mono);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--primary-ink);
  line-height: 1.1;
  margin: 6px 0;
}
.result-card.highlighted .result-card-sub {
  font-size: 0.85rem;
  color: var(--muted-text);
}
.result-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.result-card:not(.highlighted) {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
}
.result-card-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-text);
  margin-bottom: 4px;
}
.result-card-value {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-ink);
}
.result-card-sub {
  font-size: 0.78rem;
  color: var(--muted-text);
}
.breakdown-bar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
}
.breakdown-track {
  height: 12px;
  background: var(--surface-dark-card);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-top: 6px;
  display: flex;
}
.breakdown-fill-bitumen {
  background: var(--accent-yellow);
  height: 100%;
  transition: width 0.3s ease;
}
.calc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.calc-action {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary-text);
  cursor: pointer;
  transition: all 0.15s ease;
}
.calc-action:hover {
  border-color: var(--border-hover);
  color: var(--primary-ink);
  background: var(--surface-secondary);
}
.bottom-sheet-handle {
  width: 100% !important;
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-sm) !important;
  padding: 0.85rem 1.15rem !important;
  cursor: pointer !important;
  text-align: left !important;
  margin-bottom: 1rem !important;
}
.bottom-sheet-peek {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}
.bottom-sheet-primary {
  font-family: var(--font-mono) !important;
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  color: var(--primary-ink) !important;
}
.bottom-sheet-cta {
  background: var(--accent-yellow) !important;
  color: #111827 !important;
  padding: 0.45rem 0.95rem !important;
  border-radius: var(--radius-pill) !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
}
.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.step-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.step-badge {
  width: 40px;
  height: 40px;
  background: var(--primary-ink);
  color: #FFFFFF;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 1.25rem;
}
.step-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}
.step-card p {
  color: var(--muted-text);
  font-size: 0.95rem;
  margin: 0;
}
.popular-calc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.tool-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
}
.tool-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.tool-card-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-blue);
  margin-bottom: 0.5rem;
}
.tool-card h3 {
  font-size: 1.2rem;
  color: var(--primary-ink);
  margin-bottom: 0.5rem;
}
.tool-card p {
  font-size: 0.92rem;
  color: var(--muted-text);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}
.tool-card-footer {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  gap: 6px;
}
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.bento-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all 0.2s ease;
}
.bento-item:hover {
  box-shadow: var(--shadow-md);
}
.bento-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--surface-secondary);
  color: var(--primary-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.bento-item h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.bento-item p {
  color: var(--muted-text);
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.55;
}
.dark-methodology-section {
  background: var(--surface-dark);
  color: #FFFFFF;
  padding: 88px 0;
}
.dark-methodology-section h2 {
  color: #FFFFFF;
}
.dark-methodology-section p {
  color: var(--subtle-text);
}
.dark-methodology-section .eyebrow {
  background: rgba(244, 180, 26, 0.15);
  color: var(--accent-yellow);
}
.formula-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.formula-card-dark {
  background: var(--surface-dark-card);
  border: 1px solid var(--surface-dark-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.formula-card-dark h3 {
  color: #FFFFFF;
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}
.formula-box-dark {
  background: #0B132B;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.15rem;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--accent-yellow);
  font-weight: 600;
  margin-bottom: 0.85rem;
  border-left: 3px solid var(--accent-yellow);
}
.formula-card-dark p {
  color: var(--subtle-text);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.55;
}
.transparency-block {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--surface-dark-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.transparency-icon {
  width: 44px;
  height: 44px;
  background: rgba(244, 180, 26, 0.2);
  color: var(--accent-yellow);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.transparency-text h4 {
  color: #FFFFFF;
  font-size: 1rem;
  margin: 0 0 4px;
}
.transparency-text p {
  color: var(--subtle-text);
  font-size: 0.9rem;
  margin: 0;
}
.table-tabs-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.table-tabs {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  overflow-x: auto;
}
.table-tab {
  background: var(--surface-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--primary-text);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 18px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.table-tab:hover {
  background: var(--surface-tertiary);
}
.table-tab.active {
  background: var(--primary-ink);
  color: #FFFFFF;
  border-color: var(--primary-ink);
}
.table-panel {
  display: none;
  overflow-x: auto;
}
.table-panel.active {
  display: block;
}
.ref-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  text-align: left;
}
.ref-table th {
  background: var(--surface-secondary);
  color: var(--primary-ink);
  font-weight: 700;
  padding: 12px 16px;
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}
.ref-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--primary-text);
}
.ref-table tr:hover td {
  background: var(--bg-page);
}
.ref-table td.highlight {
  font-weight: 700;
  color: var(--brand-blue);
  font-family: var(--font-mono);
}
.regional-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.regional-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-decoration: none;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.regional-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}
.regional-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}
.regional-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--primary-ink);
}
.regional-card p {
  font-size: 0.92rem;
  color: var(--muted-text);
  margin: 0;
  line-height: 1.5;
}
.relationship-container {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}
.relationship-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}
.relation-box {
  background: var(--surface-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  min-width: 180px;
}
.relation-box.highlight-yellow {
  background: var(--accent-light);
  border-color: rgba(244, 180, 26, 0.4);
}
.relation-box.highlight-dark {
  background: var(--surface-dark);
  color: #FFFFFF;
}
.relation-box.highlight-dark h4,
.relation-box.highlight-dark p {
  color: #FFFFFF;
}
.relation-box h4 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}
.relation-box p {
  font-size: 0.85rem;
  color: var(--muted-text);
  margin: 0;
}
.relation-symbol {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--muted-text);
}
.faq-container {
  max-width: 850px;
  margin: 0 auto;
}
.faq-item,
.question {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 0.85rem;
  overflow: hidden;
  transition: border-color 0.15s ease;
}
.faq-item:hover,
.question:hover {
  border-color: var(--border-hover);
}
.faq-item summary,
.question summary,
.faq-q {
  padding: 1.25rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker,
.question summary::-webkit-details-marker {
  display: none;
}
.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--muted-text);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq-item[open] .faq-chevron,
.question[open] .faq-chevron {
  transform: rotate(180deg);
}
.faq-answer,
.question-answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--primary-text);
  font-size: 0.95rem;
  line-height: 1.65;
}
.final-cta-card {
  background: var(--surface-dark);
  color: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 3.5rem 2rem;
  text-align: center;
  margin-bottom: 4rem;
}
.final-cta-card h2 {
  color: #FFFFFF;
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 1rem;
}
.final-cta-card p {
  color: var(--subtle-text);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}
.final-cta-sub {
  font-size: 0.85rem;
  color: var(--subtle-text);
  margin-top: 1rem;
}
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}
.footer-brand p {
  color: var(--muted-text);
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 320px;
  margin-top: 0.75rem;
}
.footer-col h4,
.footer-col .footer-label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-ink);
  margin-bottom: 1rem;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer-col a {
  color: var(--muted-text);
  font-size: 0.92rem;
  transition: color 0.15s ease;
}
.footer-col a:hover {
  color: var(--primary-ink);
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--muted-text);
}
.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}
.footer-bottom-links a {
  color: var(--muted-text);
}
.footer-bottom-links a:hover {
  color: var(--primary-ink);
}
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  color: var(--primary-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  z-index: 900;
}
.scroll-top:hover {
  background: var(--surface-secondary);
  border-color: var(--border-hover);
}
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .calc-body {
    grid-template-columns: 1fr;
  }
  .trust-metrics-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .popular-calc-grid,
  .bento-grid,
  .regional-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 900px) {
  .desktop-nav {
    display: none !important;
  }
  .nav-toggle {
    display: flex !important;
  }
  .how-it-works-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .section {
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .container,
  .container-reading {
    padding-left: 16px;
    padding-right: 16px;
  }
  .trust-metrics-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .popular-calc-grid,
  .bento-grid,
  .regional-grid,
  .formula-cards-grid {
    grid-template-columns: 1fr;
  }
  .calc-body {
    padding: 1rem;
  }
  .calc-inputs input,
  .calc-inputs select {
    font-size: 16px !important;
    min-height: 50px !important;
  }
  .btn-primary,
  .btn-secondary,
  .calc-btn,
  .reset-btn {
    min-height: 50px !important;
  }
  .result-grid-2x2 {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .transparency-block {
    flex-direction: column;
    text-align: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
.blog-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 64px 0 44px;
  position: relative;
}
.blog-hero-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.blog-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--primary-ink);
  line-height: 1.15;
  margin: 0.75rem 0 1rem;
}
.blog-hero-desc {
  font-size: 1.1rem;
  color: var(--primary-text);
  line-height: 1.65;
  max-width: 640px;
  margin: 0 auto 2rem;
}
.blog-metrics-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.blog-metric {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-text);
}
.blog-metric svg {
  color: var(--brand-amber-dark, #b45309);
  flex-shrink: 0;
}
.blog-controls-wrap {
  margin: 2.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.blog-search-bar {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
  width: 100%;
}
.blog-search-bar input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  border: 1px solid var(--border);
  border-radius: 9999px;
  background: var(--surface);
  color: var(--primary-ink);
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.15s ease;
}
.blog-search-bar input:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.blog-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-text);
  pointer-events: none;
}
.blog-filter-chips {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.blog-chip {
  padding: 8px 18px;
  border-radius: 9999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--primary-text);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}
.blog-chip:hover {
  background: var(--surface-secondary);
  border-color: var(--border-hover);
  color: var(--primary-ink);
}
.blog-chip.active {
  background: var(--primary-ink);
  color: #FFFFFF !important;
  border-color: var(--primary-ink);
  box-shadow: 0 2px 8px rgba(17, 24, 39, 0.15);
}
.featured-guide-section {
  margin-bottom: 3.5rem;
}
.featured-guide-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
  color: inherit;
}
.featured-guide-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-hover);
}
.featured-guide-media {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  background: var(--surface-secondary);
}
.featured-guide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.featured-guide-card:hover .featured-guide-media img {
  transform: scale(1.03);
}
.featured-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FCD34D;
  border-radius: 9999px;
  padding: 5px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.featured-guide-body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-guide-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--muted-text);
  margin-bottom: 0.75rem;
}
.featured-category-pill {
  background: #EFF6FF;
  color: #1D4ED8;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.featured-guide-title {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 800;
  color: var(--primary-ink);
  line-height: 1.25;
  margin: 0 0 1rem;
}
.featured-guide-desc {
  font-size: 0.98rem;
  color: var(--primary-text);
  line-height: 1.65;
  margin: 0 0 1.5rem;
}
.featured-topics-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.75rem;
}
.featured-topic-tag {
  background: var(--surface-secondary);
  color: var(--primary-text);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
}
.featured-guide-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.featured-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.featured-author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-ink);
  color: var(--accent-yellow, #F4B41A);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
}
.featured-author-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-ink);
  line-height: 1.2;
}
.featured-author-role {
  font-size: 0.75rem;
  color: var(--muted-text);
}
.featured-cta-link {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary-ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.15s ease;
}
.featured-guide-card:hover .featured-cta-link {
  gap: 10px;
  color: var(--brand-amber-dark, #b45309);
}
.blog-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.article-entry-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
  color: inherit;
}
.article-entry-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-hover);
}
.article-entry-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  background: var(--surface-secondary);
}
.article-entry-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.article-entry-card:hover .article-entry-thumb img {
  transform: scale(1.04);
}
.article-category-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 9999px;
  background: rgba(17, 24, 39, 0.85);
  color: #FFFFFF;
  backdrop-filter: blur(4px);
}
.article-entry-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.article-entry-meta {
  font-size: 0.8rem;
  color: var(--muted-text);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.article-entry-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--primary-ink);
  line-height: 1.35;
  margin: 0 0 0.65rem;
  transition: color 0.15s ease;
}
.article-entry-card:hover .article-entry-title {
  color: var(--brand-amber-dark, #b45309);
}
.article-entry-excerpt {
  font-size: 0.88rem;
  color: var(--primary-text);
  line-height: 1.6;
  margin: 0 0 1.25rem;
  flex: 1;
}
.article-entry-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
}
.article-read-cta {
  font-weight: 700;
  color: var(--primary-ink);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.15s ease;
}
.article-entry-card:hover .article-read-cta {
  gap: 8px;
  color: var(--brand-amber-dark, #b45309);
}
.blog-tools-section {
  background: var(--surface-secondary);
  padding: 64px 0;
  border-top: 1px solid var(--border);
  margin-top: 4rem;
}
.blog-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.blog-tool-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: all 0.15s ease;
}
.blog-tool-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}
.blog-tool-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #EFF6FF;
  color: #2563EB;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.blog-tool-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary-ink);
  margin-bottom: 0.25rem;
}
.blog-tool-desc {
  font-size: 0.82rem;
  color: var(--muted-text);
  line-height: 1.5;
}
@media (max-width: 1024px) {
  .featured-guide-card {
    grid-template-columns: 1fr;
  }
  .featured-guide-media {
    min-height: 240px;
  }
  .blog-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .blog-tools-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .blog-hero {
    padding: 40px 0 32px;
  }
  .blog-metrics-strip {
    gap: 14px;
    font-size: 0.8rem;
  }
  .blog-cards-grid {
    grid-template-columns: 1fr;
  }
  .blog-tools-grid {
    grid-template-columns: 1fr;
  }
  .featured-guide-body {
    padding: 1.5rem;
  }
}
.article-header-section {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 48px 0 36px;
}
.article-header-inner {
  max-width: 860px;
  margin: 0 auto;
}
.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--muted-text);
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.article-breadcrumb a {
  color: var(--muted-text);
  text-decoration: none;
  transition: color 0.15s ease;
}
.article-breadcrumb a:hover {
  color: var(--primary-ink);
}
.article-breadcrumb .sep {
  color: var(--border-strong, #cbd5e1);
}
.article-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  color: var(--primary-ink);
  line-height: 1.2;
  margin: 0.75rem 0 1rem;
}
.article-lead {
  font-size: 1.15rem;
  color: var(--primary-text);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.article-meta-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.article-meta-badge {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
  background: var(--surface-secondary);
  color: var(--primary-text);
  border: 1px solid var(--border);
}
.article-byline-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.article-byline-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.article-byline-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-ink);
  color: var(--accent-yellow, #f4b41a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}
.article-byline-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-ink);
}
.article-byline-role {
  font-size: 0.8rem;
  color: var(--muted-text);
}
.article-byline-dates {
  font-size: 0.82rem;
  color: var(--muted-text);
  display: flex;
  align-items: center;
  gap: 12px;
}
.article-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 40px;
  align-items: start;
  padding-top: 40px;
  padding-bottom: 64px;
}
.article-content-body {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow-sm);
  min-width: 0;
}
.article-content-body p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--primary-text);
  margin-bottom: 1.5rem;
}
.article-content-body h2 {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--primary-ink);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.article-content-body h2:first-of-type {
  margin-top: 1rem;
}
.article-content-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-ink);
  margin: 1.75rem 0 0.75rem;
}
.article-content-body ul,
.article-content-body ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--primary-text);
}
.article-content-body li {
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 0.5rem;
}
.article-content-body strong {
  color: var(--primary-ink);
}
.article-hero-figure {
  margin: 0 0 2.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.article-hero-figure img {
  width: 100%;
  height: auto;
  display: block;
}
.article-hero-figure figcaption {
  background: var(--surface-secondary);
  color: var(--muted-text);
  font-size: 0.85rem;
  padding: 10px 18px;
  line-height: 1.5;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.engineering-formula-card {
  background: #0F172A;
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  margin: 1.75rem 0 2rem;
  border-left: 4px solid var(--accent-yellow, #F4B41A);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.15);
}
.formula-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-yellow, #F4B41A);
  margin-bottom: 0.75rem;
}
.formula-steps-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.formula-step-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.98rem;
  line-height: 1.6;
  flex-wrap: wrap;
}
.formula-step-num {
  background: rgba(244, 180, 26, 0.18);
  color: var(--accent-yellow, #F4B41A);
  border: 1px solid rgba(244, 180, 26, 0.35);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: var(--font-sans);
  flex-shrink: 0;
}
.formula-math-text {
  color: #F8FAFC;
}
.formula-math-text .math-var {
  color: #93C5FD;
  font-weight: 600;
}
.formula-math-text .math-op {
  color: var(--accent-yellow, #F4B41A);
  font-weight: 700;
}
.formula-math-text .math-res {
  color: #4ADE80;
  font-weight: 700;
}
.worked-case-card {
  background: #FFFBEB;
  border: 1.5px solid #FDE68A;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin: 1.75rem 0 2rem;
}
.worked-case-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.05rem;
  color: #92400E;
  margin-bottom: 1rem;
}
.worked-steps-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 1.25rem;
}
.worked-step-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 0.95rem;
  color: #78350F;
  line-height: 1.5;
}
.worked-step-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #F59E0B;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  flex-shrink: 0;
}
.worked-breakdown-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 1rem;
  border-top: 1px solid rgba(245, 158, 11, 0.25);
}
.worked-pill {
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
}
.worked-pill-binder {
  background: #FEF3C7;
  color: #B45309;
  border: 1px solid #FCD34D;
}
.worked-pill-agg {
  background: #E0F2FE;
  color: #0369A1;
  border: 1px solid #BAE6FD;
}
.pitfalls-card {
  background: #FFF1F2;
  border: 1px solid #FECDD3;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  margin: 1.75rem 0 2rem;
}
.pitfalls-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 800;
  color: #9F1239;
  margin-bottom: 1rem;
}
.pitfalls-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pitfalls-list li {
  font-size: 0.95rem !important;
  color: #881337 !important;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
  margin: 0 !important;
}
.pitfalls-icon {
  color: #E11D48;
  flex-shrink: 0;
  margin-top: 2px;
}
.article-sidebar {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sidebar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.sidebar-card h3 {
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary-ink);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-calc-cta {
  background: #F8FAFC;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
}
.sidebar-calc-cta h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-ink);
  margin: 0 0 0.5rem;
}
.sidebar-calc-cta p {
  font-size: 0.85rem;
  color: var(--muted-text);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}
.sidebar-calc-cta .btn {
  width: 100%;
}
.sidebar-quick-specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sidebar-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.sidebar-spec-row:last-child {
  border-bottom: none;
}
.sidebar-spec-label {
  color: var(--muted-text);
}
.sidebar-spec-val {
  font-weight: 700;
  color: var(--primary-ink);
  font-family: var(--font-mono);
}
.sidebar-tools-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sidebar-tool-item a {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-ink);
  text-decoration: none;
  transition: color 0.15s ease;
}
.sidebar-tool-item a:hover {
  color: var(--brand-amber-dark, #b45309);
}
.sidebar-tool-item p {
  font-size: 0.78rem;
  color: var(--muted-text);
  margin: 2px 0 0;
  line-height: 1.4;
}
@media (max-width: 1024px) {
  .article-page-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .article-sidebar {
    position: static;
  }
}
@media (max-width: 640px) {
  .article-header-section {
    padding: 32px 0 24px;
  }
  .article-title {
    font-size: 1.75rem;
  }
  .article-lead {
    font-size: 1rem;
  }
  .article-content-body {
    padding: 20px 16px;
  }
  .engineering-formula-card {
    padding: 1.25rem 1rem;
  }
  .formula-step-row {
    font-size: 0.85rem;
  }
}
.article-toc-box {
  background: var(--surface-secondary, #F8FAFC);
  border: 1px solid var(--border, #E2E8F0);
  border-radius: var(--radius-lg, 12px);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}
.article-toc-box strong {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary-ink, #0F172A);
  margin-bottom: 0.75rem;
}
.article-toc-box ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 8px 16px;
}
.article-toc-box li {
  margin: 0 !important;
  font-size: 0.88rem !important;
}
.article-toc-box a {
  color: var(--brand-blue, #2563EB);
  text-decoration: none;
  transition: color 0.15s ease;
}
.article-toc-box a:hover {
  color: var(--primary-ink, #0F172A);
  text-decoration: underline;
}
.article-content-body .formula-inline {
  display: block;
  font-family: var(--font-mono, monospace);
  background: #0F172A;
  color: #F8FAFC;
  border-left: 3px solid var(--accent-yellow, #F4B41A);
  border-radius: 8px;
  padding: 12px 18px;
  margin: 1.25rem 0 1.5rem;
  font-size: 0.92rem;
  line-height: 1.6;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.12);
  overflow-x: auto;
}
.article-content-body .source-note {
  font-size: 0.82rem;
  color: var(--muted-text);
  margin-top: -0.75rem;
  margin-bottom: 1.5rem;
  font-style: italic;
}
.article-content-body .answer-summary {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--primary-ink);
  font-weight: 500;
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
:root{--bg:#f8fafc;--bg-page:#f8fafc;--bg-soft:#f1f5f9;--surface:#fff;--primary-ink:#111827;--ink:#111827;--primary-text:#334155;--text:#111827;--text-primary:#111827;--text-secondary:#334155;--text-muted:#64748b;--ink-muted:#64748b;--border:#e2e8f0;--accent-yellow:#f4b41a;--brand-amber:#f4b41a;--gold:#f4b41a;--brand-amber-dark:#b27b00;--accent-hover:#d99a00;--font-sans:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;--font-mono:ui-monospace,SFMono-Regular,Consolas,monospace;--shadow:0 6px 20px #1118270a;--t:all 150ms ease;--t-slow:all 150ms ease}
body,h1,h2,h3,h4,.hero-title,.hero-subtitle,.nav-logo-text{font-family:var(--font-sans);letter-spacing:-.02em}
body{font-size:16px;line-height:1.6;letter-spacing:0;background:var(--bg-page);color:var(--primary-text)}
.container{max-width:1280px;padding-inline:32px}.container-reading{max-width:1120px}.section{padding-block:88px}h1,.page-hero h1{font-size:clamp(2.25rem,4.5vw,4rem);line-height:1.1;font-weight:750}h2{font-size:clamp(1.75rem,3.2vw,2.75rem)}h3{font-size:1.4rem}.section-header p{font-size:17px;max-width:65ch}
.hero-saas{padding:72px 0}.hero-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:64px;align-items:center}.hero-content{max-width:none;min-width:0;text-align:left}.hero-content h1,.hero-desc{text-align:left}.hero-desc{font-size:18px;max-width:54ch}.hero-actions{justify-content:flex-start;gap:12px}.hero-preview-col{min-width:0}.hero-preview-card{transform:none;box-shadow:var(--shadow);border:1px solid var(--border)}.preview-pill-live{background:#f1f5f9;color:#475569}.trust-metrics-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.trust-metric-item{min-width:0}.trust-metric-val{font-family:var(--font-sans)}
.site-header{background:#fff;backdrop-filter:none;box-shadow:none}.site-header.is-scrolled{box-shadow:var(--shadow)}.site-header .nav-inner{height:72px;gap:20px}.nav-logo-icon{background:#111827;color:#f4b41a}.nav-logo-text span{color:#111827}.desktop-nav{gap:12px;margin-left:auto}.desktop-nav>a,.desktop-nav summary{min-height:48px;display:flex;align-items:center;padding-inline:12px}.btn-nav-cta{display:inline-flex;align-items:center;min-height:48px;white-space:nowrap}.tool-menu{position:static}.tool-menu-panel{position:absolute;top:71px;left:50%;right:auto;transform:translateX(-50%);width:min(1120px,calc(100vw - 48px));grid-template-columns:repeat(3,minmax(0,1fr));max-height:calc(100dvh - 90px);overflow:auto;box-shadow:var(--shadow);animation:none}.tool-menu-panel a{padding:8px 0;min-height:40px}.tool-menu-panel strong{color:#475569}.mobile-navigation{display:none}.mobile-navigation>summary{min-height:48px;gap:8px;border:1px solid var(--border);border-radius:8px;padding:8px 12px}.mobile-navigation-panel{position:fixed;inset:72px 0 0;max-height:none;overflow-y:auto;padding:24px;background:#fff}.mobile-navigation-panel a{display:block;min-height:48px;padding:12px 0;color:#111827}.mobile-navigation-panel strong{display:block;margin-top:24px;color:#64748b;font-size:13px;text-transform:uppercase;letter-spacing:.08em}
.btn-primary,.btn-secondary,.btn-outline,.calc-btn,.reset-btn,.calc-action{display:inline-flex;align-items:center;justify-content:center;min-height:48px;border-radius:8px;box-shadow:none;transition:all 150ms ease}.btn-primary,.calc-btn{background:#f4b41a!important;color:#111827!important}.btn-primary:hover,.calc-btn:hover{background:#d99a00!important;color:#111827!important;box-shadow:var(--shadow);transform:translateY(-1px)}.btn-secondary,.btn-outline{border:1px solid #cbd5e1;color:#111827;background:#fff}.reset-btn{background:transparent;color:#b91c1c;border:1px solid #fecaca}.reset-btn:hover{color:#991b1b;background:#fef2f2}.section .btn-outline{color:#111827;border-color:#cbd5e1}
.calc-section{background:#f8fafc;padding-block:56px 88px}.calc-wrap{border-radius:16px;box-shadow:var(--shadow);background:#fff;overflow:hidden}.calc-body{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:24px;padding:28px}.calc-inputs{padding:0!important;border:0!important;min-width:0}.calc-inputs>.input-set{display:flex;flex-direction:column;gap:16px;margin-bottom:24px}.field-grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}@media(max-width:640px){.field-grid-2{grid-template-columns:1fr}}.calc-results{position:static!important;min-width:0;padding:24px;border:1px solid #e2e8f0;border-radius:12px;background:#f1f5f9;box-shadow:none}.calc-results.has-results{border-radius:12px!important}.calc-tabs{background:#f1f5f9;max-width:100%;border-radius:8px;padding:4px;gap:4px}.calc-tab{border-radius:6px;min-height:44px!important;padding:8px 14px!important}.calc-tabs-header{gap:16px;flex-wrap:wrap}.calc-tabs-header>div:last-child:not(.calc-tabs){display:none}.formula-bar-container{padding:0 28px}.formula-bar-wrap{background:#f8fafc}.formula-screen-box{background:#f1f5f9;color:#111827}.formula-bar-header>*{min-width:0;max-width:100%}.formula-step-chips{max-width:100%;flex-wrap:wrap}.formula-step-chip{min-height:44px;border-radius:6px}.formula-eq-line,.formula-live-sub{flex-wrap:wrap;overflow-wrap:anywhere}.formula-var,.formula-res,.sub-accent,.sub-res{color:inherit}.formula-bar-title{color:#475569}.formula-live-sub{color:#334155}
.input-set-title{font-size:13px;color:#475569;letter-spacing:.08em;margin-bottom:4px;display:flex;align-items:center;gap:8px}.field label,.field-label-static{font-size:14px;color:#334155!important;font-weight:600}.field-hint{font-size:13px;color:#64748b}.input-row{display:flex!important;gap:0;min-width:0;width:100%}.input-row input{flex:1 1 auto!important;min-width:0!important;border-radius:8px 0 0 8px!important;border-right:0!important}.input-row select,.unit-select{flex:0 0 90px!important;width:90px!important;min-width:90px!important;border-radius:0 8px 8px 0!important;border-left:1px solid #cbd5e1!important;background-color:#f1f5f9!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2364748B' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 10px center!important;background-size:10px 6px!important;padding-right:28px!important;appearance:none!important;-webkit-appearance:none!important;cursor:pointer!important;font-weight:600}.calc-inputs input,.calc-inputs select{min-height:48px;font-size:15px;border-radius:8px;padding:10px 12px;border:1px solid #cbd5e1}.calc-inputs select:not(.unit-select){width:100%!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2364748B' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 14px center!important;background-size:10px 6px!important;padding-right:36px!important;appearance:none!important;-webkit-appearance:none!important}.field-input{padding:12px!important}.thickness-chips{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:8px!important;margin-top:8px!important;width:100%!important}.thickness-chip{min-height:38px!important;height:38px!important;border-radius:6px;font-size:13px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;background:#fff;border:1px solid #cbd5e1;color:#334155;cursor:pointer;transition:all 150ms ease}.thickness-chip:hover{background:#f1f5f9;color:#0f172a;border-color:#94a3b8}.thickness-chip.active{background:#0f172a!important;border-color:#0f172a!important;color:#fff!important;box-shadow:0 1px 3px rgba(0,0,0,.15)!important}.estimate-tools{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:8px 10px!important;background:#f8fafc!important;border:1px solid #e2e8f0!important;border-radius:10px!important;padding:10px 14px!important;margin-bottom:20px!important}.estimate-tools .tools-label{font-size:11px!important;font-weight:700!important;text-transform:uppercase!important;letter-spacing:.08em!important;color:#64748b!important;margin-right:2px!important}.estimate-tools button[data-system]{background:#fff!important;border:1px solid #cbd5e1!important;border-radius:6px!important;color:#334155!important;font-size:13px!important;font-weight:600!important;padding:6px 14px!important;min-height:34px!important;cursor:pointer!important;transition:all 150ms ease}.estimate-tools button[data-system]:hover{background:#f1f5f9!important;border-color:#94a3b8!important;color:#0f172a!important}.estimate-tools button[data-system][aria-pressed="true"]{background:#0f172a!important;border-color:#0f172a!important;color:#fff!important;font-weight:700!important;box-shadow:0 1px 3px rgba(0,0,0,.12)!important}.estimate-tools button[data-example]{background:#fff!important;border:1px dashed #cbd5e1!important;border-radius:6px!important;color:#475569!important;font-size:13px!important;font-weight:500!important;padding:6px 12px!important;min-height:34px!important;cursor:pointer!important;transition:all 150ms ease}.estimate-tools button[data-example]:hover{background:#eff6ff!important;border-color:#3b82f6!important;border-style:solid!important;color:#1d4ed8!important}.planning-options{flex:0 0 100%!important;width:100%!important;border:1px solid #e2e8f0!important;border-radius:8px!important;background:#f8fafc!important;margin-bottom:12px!important;overflow:hidden!important;transition:all 150ms ease}.planning-options summary{padding:10px 14px!important;font-size:13px!important;font-weight:600!important;color:#475569!important;cursor:pointer!important;user-select:none!important;display:flex!important;align-items:center!important;gap:8px!important}.planning-options[open]{background:#fff!important;border-color:#cbd5e1!important}.planning-options[open] summary{border-bottom:1px solid #e2e8f0!important;color:#0f172a!important}.planning-fields{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important;padding:14px!important}.cost-switch{display:flex;align-items:center;gap:10px;padding:12px 20px;min-height:48px;font-size:14px;font-weight:600}.cost-switch input{appearance:auto;width:20px;height:20px;min-height:20px;accent-color:#111827}.enhanced-cost-tabs{display:none!important}.calc-actions-row{display:flex!important;flex-wrap:wrap!important;gap:12px!important;width:100%!important;align-items:center!important}.calc-actions-row .calc-btn{flex:1 1 200px!important;min-height:48px!important;background:#f4b41a!important;color:#111827!important;font-weight:700!important;font-size:.95rem!important;border-radius:8px!important;border:none!important;cursor:pointer!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;box-shadow:0 2px 6px rgba(244,180,26,.25)!important;transition:all 150ms ease}.calc-actions-row .calc-btn:hover{background:#d99a00!important;transform:translateY(-1px)!important;box-shadow:0 4px 12px rgba(244,180,26,.35)!important}.calc-actions-row .reset-btn{flex:0 0 auto!important;min-height:48px!important;padding:0 18px!important;background:#fff!important;border:1px solid #cbd5e1!important;border-radius:8px!important;color:#64748b!important;font-weight:600!important;font-size:.9rem!important;cursor:pointer!important;transition:all 150ms ease}.calc-actions-row .reset-btn:hover{background:#fef2f2!important;border-color:#fecaca!important;color:#dc2626!important}
.result-card{background:transparent;border:0;border-bottom:1px solid #dbe2eb;border-radius:0;padding:16px 0;box-shadow:none}.result-card.highlighted{background:#fff7d6;border:1px solid #ead59c;border-radius:10px;padding:24px}.result-card.highlighted .result-card-value{font-size:clamp(30px,3.3vw,48px);color:#111827;line-height:1.2;overflow-wrap:anywhere}.result-card.highlighted .result-card-label,.result-card.highlighted .result-card-sub{color:#475569}.result-card-value{font-family:var(--font-mono)!important;font-variant-numeric:tabular-nums;letter-spacing:-.045em;font-size:24px}.result-card-label,.result-card-sub{font-size:13px}.result-placeholder{min-height:220px;background:transparent;border:1px dashed #cbd5e1}.breakdown-track{background:#334155!important;height:10px}.breakdown-fill-bitumen{background:#f4b41a!important}.breakdown-bar{border:0;background:transparent;padding:16px 0}.breakdown-bar>div{flex-wrap:wrap;gap:8px}.bottom-sheet-handle{display:none!important}.calc-actions{gap:8px}.calc-action{padding:8px 10px;font-size:13px}.results-header h3{color:#475569;font-size:13px;letter-spacing:.08em}.result-grid-2x2{grid-template-columns:repeat(2,minmax(0,1fr))}
.bento-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.bento-item:first-child{grid-column:span 2}.bento-item{min-width:0}.bento-item p,.tool-card p{font-size:16px}.how-it-works-grid{gap:24px}.how-step-card,.card,.tool-card,.bento-item,.regional-card,.dir-card,.link-card{border:1px solid #e2e8f0;border-radius:12px;box-shadow:none;transition:all 150ms ease}.card:hover,.tool-card:hover,.dir-card:hover,.regional-card:hover{transform:translateY(-2px);border-color:#bdc8d6;box-shadow:var(--shadow)}.card:before,.card:after{display:none}.card-icon{background:#f1f5f9!important;color:#334155}.how-step-num,.step-number{background:#111827;color:#fff}.dir-card-desc{font-size:14px}.dir-card-title{font-size:18px}.article-layout{grid-template-columns:minmax(0,780px) minmax(220px,1fr)}.article-card{padding:32px}.article-card p,.article-card li{font-size:17px}.article-toc{background:#f8fafc;border:1px solid #e2e8f0}.article-toc a[aria-current]{color:#111827;border-left:3px solid #f4b41a}.article-toc a{color:#475569}.resource-stack{top:96px}
.dark-methodology-section{background:#111827;color:#fff;padding-block:88px}.dark-methodology-section h2,.dark-methodology-section h3{color:#fff}.dark-methodology-section p{color:#cbd5e1}.dark-methodology-section .formula-card,.dark-methodology-section .formula-card-dark{background:#1e293b;border:1px solid #334155;color:#fff}.formula-card-dark p,.formula-card-dark h3{color:inherit}.formula-code-dark{color:#f4b41a}.formula-inline{color:#334155;background:#f1f5f9;border-left:3px solid #cbd5e1}.formula-card h3{color:inherit}.table-tabs{display:flex;flex-wrap:wrap;gap:4px}.table-tab{min-height:48px;border-radius:6px;font-size:14px}.table-tab.active{background:#111827;color:#fff!important;border-color:#111827}.ref-table th{color:#334155;background:#f1f5f9}.ref-table td{padding:16px;font-size:14px}.table-panel{min-width:0;overflow-x:auto}.reference-scroll{max-width:100%}thead th{position:sticky;top:0}.question{border:0;border-bottom:1px solid #e2e8f0;border-radius:0;margin:0;background:transparent}.question>summary{font-size:17px;padding:22px 0;min-height:48px}.question-answer{padding:0 0 24px;color:#475569}.question>summary::after{color:#475569}.faq-list{max-width:850px}.material-equation{display:flex;align-items:center;justify-content:center;gap:20px;margin:28px 0;padding:28px;border:1px solid #e2e8f0;border-radius:12px;background:#fff;font-size:24px;font-weight:700;flex-wrap:wrap}.material-equation small{display:block;font-size:13px;font-weight:400;color:#64748b}.material-equation span:last-child{border-bottom:3px solid #f4b41a}.final-cta-card{background:#111827;box-shadow:none;border-radius:16px;margin-bottom:64px}.final-cta-card h2{color:#fff}.final-cta-card p{color:#cbd5e1}
.footer-top,.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:32px}.site-footer{background:#f1f5f9}.footer-col a{display:inline-block;padding-block:8px;min-height:40px}.footer-col h4,.footer-label{font-size:14px;color:#334155}.footer-bottom{gap:16px}.footer-bottom-links{flex-wrap:wrap}.footer-bottom-links a{min-height:44px;display:inline-flex;align-items:center}.bc-btn{min-height:48px;border-radius:8px}.bc-btn-accept{background:#f4b41a;color:#111827}.scroll-top{background:#fff;border:1px solid #cbd5e1;color:#111827;width:48px;height:48px;right:20px;bottom:20px}
button,a,input,select,summary{touch-action:manipulation}:focus-visible{outline:2px solid #2563eb!important;outline-offset:3px!important}img{max-width:100%;height:auto}svg{flex-shrink:0}p,li,h1,h2,h3{overflow-wrap:break-word}.hero-grid>*,.grid-2>*,.grid-3>*,.footer-grid>*,.footer-top>*,.popular-calc-grid>*{min-width:0}
@media(max-width:1100px){.desktop-nav{gap:0}.desktop-nav>a,.desktop-nav summary{padding-inline:8px}.hero-grid{gap:32px}.hero-content h1{font-size:48px}}
@media(max-width:900px){.desktop-nav,.nav-inner>.btn-nav-cta{display:none!important}.mobile-navigation{display:block}.site-header .nav-inner{gap:12px}.hero-grid,.calc-body,.article-layout{grid-template-columns:minmax(0,1fr)}.hero-content h1{font-size:40px}.hero-preview-card{max-width:560px;margin:auto}.resource-stack{position:static}.footer-grid,.footer-top{grid-template-columns:1fr 1fr}.hero-saas{padding:56px 0}.trust-metrics-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.bento-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.how-it-works-grid{grid-template-columns:1fr}.calc-body{padding:24px}}
@media(max-width:600px){.container,.container-reading{padding-inline:16px}.section,.dark-methodology-section{padding-block:56px}.hero-content h1{font-size:36px}.hero-desc{font-size:17px}.hero-grid{gap:32px}.hero-actions{flex-direction:column;align-items:stretch}.hero-actions a{width:100%;min-width:0}.hero-preview-card{padding:20px}.preview-inputs-mini{gap:6px}.preview-input-box{padding:10px;min-width:0}.preview-res-number{font-size:36px}.preview-res-sub{font-size:12px}.trust-metrics-grid{grid-template-columns:1fr 1fr;gap:20px}.trust-metric-item{padding:0;gap:8px}.trust-metric-icon{display:none}.trust-metric-val{font-size:16px}.trust-metric-lbl{font-size:12px}.trust-checks{gap:12px;flex-wrap:wrap}.calc-body{padding:16px;gap:24px}.calc-inputs>.input-set,.planning-fields{grid-template-columns:1fr}.calc-results{padding:20px}.calc-tabs-header{padding:12px}.formula-bar-container{padding:0 16px}.formula-bar-wrap{padding:14px}.formula-step-chips{gap:6px}.formula-step-chip{font-size:12px;padding:6px 8px}.formula-eq-line{font-size:16px}.calc-actions-row{flex-wrap:wrap}.calc-actions-row>*{flex:1;min-width:0}.result-grid-2x2{grid-template-columns:1fr}.result-card-value{font-size:24px}.bento-grid,.popular-calc-grid,.regional-grid,.grid-2,.grid-3,.dir-grid{grid-template-columns:1fr}.bento-item:first-child{grid-column:auto}.footer-grid,.footer-top{grid-template-columns:1fr}.footer-brand{grid-column:auto}.article-card{padding:24px 16px}.article-card p,.article-card li{font-size:16px}.question>summary{font-size:16px}.final-cta-card{padding:36px 24px}.material-equation{gap:12px;padding:20px;font-size:20px}.calc-tab{font-size:12px;padding:8px!important}.nav-logo-text{font-size:17px}.scroll-top{bottom:16px;right:16px}}
.hero-content .hero-desc{font-size:18px;text-align:left!important;color:#475569;font-weight:400}.calc-results.has-results,.calc-results.has-results.sheet-open{max-height:none!important;overflow:visible!important}.formula-eq-line .formula-res,.formula-eq-line .formula-var,.formula-live-sub .sub-accent,.formula-live-sub .sub-res{color:#334155}.input-row{flex-direction:row!important}.input-row select{width:100px!important;flex:0 0 100px}.calc-inputs>.input-set{padding:0!important;border:0!important}.field input,.field select{font-family:var(--font-sans)!important}.page-hero{background:#fff}.page-hero .eyebrow{color:#166534}.page-hero h1{font-size:clamp(34px,4vw,52px);max-width:960px}.calc-results.has-results{z-index:auto}.calc-results .result-card-value{font-weight:600}.guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.guide-card{display:flex;flex-direction:column;gap:12px;border:1px solid #e2e8f0;border-radius:12px;padding:28px;background:#fff;color:#111827}.guide-card h3{font-size:21px;margin:0}.guide-featured{grid-row:span 2;background:#111827;color:#fff;justify-content:center}.guide-featured h3{font-size:32px;color:#fff}.guide-featured p{color:#cbd5e1}.guide-kicker{color:#f4b41a;font-size:13px}.guide-read{margin-top:auto;font-size:14px;color:#2563eb}.guide-featured .guide-read{color:#f4b41a;margin-top:24px}.guide-all{display:inline-flex;align-items:center;min-height:48px;margin-top:24px}.guide-card:hover{border-color:#94a3b8}.navigation-open{overflow:hidden}
@media(max-width:900px){.guide-grid{grid-template-columns:1fr 1fr}.guide-featured{grid-column:span 2;grid-row:auto}}
@media(max-width:600px){.guide-grid{grid-template-columns:1fr}.guide-featured{grid-column:auto}.guide-featured h3{font-size:28px}}
.preview-input-label,.result-placeholder p,.relation-box p{color:#475569!important}.preview-breakdown-labels>span:first-child{color:#92400e!important}.site-footer .footer-brand p,.site-footer .footer-col ul a,.site-footer .footer-bottom p,.site-footer .footer-bottom-links a{color:#475569!important}.relation-box.highlight-dark p{color:#cbd5e1!important}.mode-button{background:#f1f5f9!important;color:#334155!important;border:1px solid #cbd5e1!important}.mode-button[aria-pressed=true]{background:#111827!important;color:#fff!important;border-color:#111827!important}.preview-res-sub{color:#cbd5e1}.preview-res-label{color:#cbd5e1}
:root{--font-sans:system-ui,-apple-system,"Segoe UI",Inter,sans-serif}.hero-content h1{font-weight:700}.hero-content .hero-desc{font-size:18px!important;margin-inline:0!important}.nav-logo-text{font-weight:700}.relation-box:not(.highlight-dark)>div{color:#475569!important}.relation-box.highlight-yellow>div{color:#855300!important}.nav-logo{font-weight:700}.guide-section .guide-card{color:#111827}.guide-section .guide-featured{color:#fff}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.calc-exact-container {
  max-width: 1200px;
  margin: 0 auto;
}
.calc-exact-container #results-data,
#calculator #results-data {
  display: block !important;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button,
.calc-field-control-row input.input-measure::-webkit-inner-spin-button,
.calc-field-control-row input.input-measure::-webkit-outer-spin-button,
.calc-clean-input::-webkit-inner-spin-button,
.calc-clean-input::-webkit-outer-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}
input[type="number"],
.calc-field-control-row input.input-measure,
.calc-clean-input {
  -moz-appearance: textfield !important;
}
.calc-field-control-row input.input-measure::placeholder,
.calc-clean-input::placeholder,
input::placeholder {
  color: #94A3B8 !important;
  opacity: 1 !important;
  font-weight: 500 !important;
}
.calc-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 16px;
}
.calc-top-bar-left {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.calc-mode-tabs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.calc-mode-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #F1F5F9;
  color: #334155;
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 9px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  line-height: 1.2;
}
.calc-mode-btn.active {
  background: #FBBF24 !important;
  color: #0F172A !important;
  border-color: #F59E0B !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.calc-mode-btn svg {
  stroke-width: 2;
  color: currentColor;
}
.calc-cost-toggle-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}
.calc-cost-toggle-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1.5px solid #CBD5E1;
  accent-color: #2563EB;
  cursor: pointer;
}
.calc-cost-toggle-check .toggle-title {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #0F172A;
  line-height: 1.2;
}
.calc-cost-toggle-check .toggle-desc {
  display: block;
  font-size: 11px;
  color: #64748B;
  margin-top: 1px;
}
.calc-engine-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #DCFCE7;
  border: 1px solid #86EFAC;
  color: #166534;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 9999px;
  white-space: nowrap;
}
.calc-engine-badge .engine-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
}
.calc-formula-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}
.calc-formula-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.calc-tile-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.calc-tile-icon.blue {
  background: #EFF6FF;
  border: 1px solid #DBEAFE;
  color: #0F172A;
}
.calc-tile-icon.green {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
}
.calc-tile-icon.amber {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  color: #B45309;
}
.calc-formula-header-text h2 {
  font-size: 16px;
  font-weight: 700;
  color: #0F172A;
  margin: 0;
  line-height: 1.25;
}
.calc-formula-header-text p {
  font-size: 12.5px;
  color: #64748B;
  margin: 2px 0 0 0;
  line-height: 1.4;
}
.calc-formula-card-body {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.35fr);
  gap: 20px;
  align-items: stretch;
}
@media (max-width: 960px) {
  .calc-formula-card-body {
    grid-template-columns: 1fr;
  }
}
.calc-formula-card-body > .formula-display-cream:only-child {
  grid-column: 1 / -1;
}
.formula-display-cream {
  background: #FFFDF0;
  border: 1px solid #FEF08A;
  border-left: 4px solid #EAB308;
  border-radius: 8px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.formula-display-cream .eq-formula {
  font-size: 17.5px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.formula-display-cream .eq-target {
  color: #0F172A;
  font-weight: 700;
}
.formula-display-cream .eq-var {
  color: #2563EB;
}
.formula-display-cream .eq-op {
  color: #EAB308;
  margin: 0 3px;
}
.formula-display-cream .eq-example {
  font-size: 13px;
  color: #475569;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.formula-display-cream .eq-example .eq-ex-lbl {
  color: #64748B;
  margin-right: 4px;
}
.formula-display-cream .eq-example .eq-res-green {
  color: #16A34A;
  font-weight: 700;
}
.calc-process-chain {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
@media (max-width: 600px) {
  .calc-process-chain {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .process-step-arrow {
    display: none;
  }
}
.process-step-chip {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 10px 12px;
  text-align: center;
  flex: 1;
  min-width: 0;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.process-step-chip.active {
  background: #F0F9FF;
  border-color: #38BDF8;
  box-shadow: 0 0 0 1px #38BDF8;
}
.process-step-top {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}
.process-step-badge {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #475569;
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.process-step-chip.active .process-step-badge {
  background: #0F172A;
}
.process-step-title {
  font-size: 12px;
  font-weight: 700;
  color: #0F172A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.process-step-sub {
  font-size: 10.5px;
  color: #64748B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}
.process-step-arrow {
  color: #94A3B8;
  font-size: 18px;
  font-weight: 600;
  user-select: none;
  flex-shrink: 0;
}
.calc-two-col-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
@media (max-width: 960px) {
  .calc-two-col-layout {
    grid-template-columns: 1fr;
  }
}
.calc-form-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 22px 24px;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}
.calc-form-card:last-child {
  margin-bottom: 0;
}
.calc-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.calc-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #0F172A;
  margin: 0;
  line-height: 1.25;
}
.calc-card-subtitle {
  font-size: 12px;
  color: #64748B;
  margin: 2px 0 0 0;
  line-height: 1.4;
}
.unit-toggle-segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #F1F5F9;
  border-radius: 10px;
  padding: 4px;
  gap: 4px;
  margin-bottom: 16px;
}
.unit-toggle-btn {
  background: transparent;
  color: #334155;
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 14px;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
}
.unit-toggle-btn.active {
  background: #0F172A !important;
  color: #FFFFFF !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}
.presets-group {
  border-top: 1px dashed #E2E8F0;
  padding-top: 14px;
}
.presets-header {
  margin-bottom: 8px;
}
.presets-title {
  font-size: 13px;
  font-weight: 600;
  color: #0F172A;
  display: block;
}
.presets-sub {
  font-size: 11px;
  color: #64748B;
  display: block;
}
.presets-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.preset-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  color: #1E293B;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.preset-btn:hover {
  background: #F8FAFC;
  border-color: #CBD5E1;
}
.field-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 580px) {
  .field-grid-2col {
    grid-template-columns: 1fr;
  }
}
.calc-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.calc-field-label-wrap {
  display: flex;
  flex-direction: column;
}
.calc-field-label {
  font-size: 13px;
  font-weight: 600;
  color: #0F172A;
}
.calc-field-sub {
  font-size: 11px;
  color: #64748B;
}
.calc-field-control-row {
  display: flex !important;
  align-items: stretch !important;
  width: 100% !important;
  height: 44px !important;
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  transition: border-color 0.15s ease;
  box-sizing: border-box !important;
}
.calc-field-control-row:focus-within {
  border-color: #2563EB !important;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.12) !important;
}
.calc-field-control-row input.input-measure {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  border: none !important;
  background: transparent !important;
  padding: 10px 14px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #0F172A !important;
  height: 100% !important;
  outline: none !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}
.calc-field-control-row select.select-unit {
  flex: 0 0 74px !important;
  width: 74px !important;
  min-width: 74px !important;
  border: none !important;
  border-left: 1px solid #E2E8F0 !important;
  background-color: #F8FAFC !important;
  color: #334155 !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  padding: 0 24px 0 10px !important;
  cursor: pointer !important;
  height: 100% !important;
  outline: none !important;
  box-sizing: border-box !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2364748b' stroke-width='1.75' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 8px center !important;
}
.calc-field-control-row select.select-unit::-ms-expand {
  display: none !important;
}
.calc-field-control-row select.select-currency {
  flex: 0 0 96px !important;
  width: 96px !important;
  min-width: 96px !important;
}
.calc-full-select {
  width: 100% !important;
  border: 1px solid #CBD5E1 !important;
  border-radius: 8px !important;
  background-color: #FFFFFF !important;
  padding: 10px 34px 10px 12px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #0F172A !important;
  cursor: pointer !important;
  height: 44px !important;
  outline: none !important;
  box-sizing: border-box !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2364748b' stroke-width='1.75' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
}
.calc-full-select::-ms-expand {
  display: none !important;
}
.calc-full-select:focus {
  border-color: #2563EB !important;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.12) !important;
}
.calc-clean-input {
  width: 100% !important;
  border: 1px solid #CBD5E1 !important;
  border-radius: 8px !important;
  background: #FFFFFF !important;
  padding: 10px 14px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #0F172A !important;
  height: 44px !important;
  outline: none !important;
  box-sizing: border-box !important;
}
.calc-clean-input:focus {
  border-color: #2563EB !important;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.12) !important;
}
.calc-ranges-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 8px;
  padding: 10px 14px;
  margin-top: 14px;
}
.calc-ranges-box svg {
  color: #2563EB;
  flex-shrink: 0;
}
.calc-ranges-box span {
  font-size: 12px;
  color: #1E40AF;
  line-height: 1.45;
}
.calc-submit-row {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.calc-btn-primary {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #0F172A;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 20px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.calc-btn-primary:hover {
  background: #1E293B;
}
.calc-btn-reset {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: #475569;
  font-size: 13.5px;
  font-weight: 600;
  padding: 12px 18px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.calc-btn-reset:hover {
  background: #F8FAFC;
  color: #0F172A;
}
.results-hud-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}
.results-hud-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}
.results-hud-top-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.results-hud-title {
  font-size: 18px;
  font-weight: 700;
  color: #0F172A;
  margin: 0;
  line-height: 1.25;
}
.results-hud-subtitle {
  font-size: 12px;
  color: #64748B;
  margin: 2px 0 0 0;
}
.results-badge-calculated {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #DCFCE7;
  border: 1px solid #86EFAC;
  color: #15803D;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 9999px;
}
.hud-hero-highlight {
  background: #FFFDF5;
  border: 1.5px solid #FDE68A;
  border-radius: 16px;
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
}
.hud-hero-left {
  position: relative;
  z-index: 2;
}
.hud-hero-icon-square {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #FEF3C7;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.hud-hero-label {
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 4px;
}
.hud-hero-val-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.hud-hero-number {
  font-size: 42px;
  font-weight: 800;
  color: #0F172A;
  line-height: 1;
  letter-spacing: -0.02em;
}
.hud-hero-unit {
  font-size: 28px;
  font-weight: 700;
  color: #0F172A;
}
.hud-hero-sub {
  font-size: 12px;
  color: #64748B;
  margin-top: 6px;
}
.hud-hero-watermark {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}
.hud-hero-watermark .watermark-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  opacity: 0.9;
}
.hud-hero-watermark .watermark-text {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #D97706;
  text-align: right;
  line-height: 1.25;
  margin-bottom: 4px;
}
.hud-bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}
@media (max-width: 500px) {
  .hud-bento-grid {
    grid-template-columns: 1fr;
  }
}
.hud-bento-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hud-bento-card.warm {
  background: #FFFDF5;
  border-color: #FEF08A;
}
.hud-bento-top {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.hud-bento-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hud-bento-icon.blue {
  background: #EFF6FF;
  border: 1px solid #DBEAFE;
  color: #1E293B;
}
.hud-bento-icon.green {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  color: #15803D;
}
.hud-bento-icon.amber {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  color: #D97706;
}
.hud-bento-icon.slate {
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  color: #334155;
}
.hud-bento-title {
  font-size: 13px;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.2;
}
.hud-bento-sub {
  font-size: 11px;
  color: #64748B;
  line-height: 1.35;
  margin-top: 2px;
}
.hud-bento-val {
  font-size: 22px;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.1;
  margin-top: auto;
}
.hud-cost-panel {
  background: #F0FDF4;
  border: 1.5px solid #86EFAC;
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  transition: all 0.2s ease;
}
.hud-cost-label {
  font-size: 12px;
  font-weight: 700;
  color: #166534;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}
.hud-cost-amount {
  font-size: 26px;
  font-weight: 800;
  color: #15803D;
  line-height: 1.1;
}
.hud-cost-sub {
  font-size: 11.5px;
  color: #475569;
  margin-top: 2px;
}
.hud-cost-badge {
  background: #DCFCE7;
  color: #166534;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid #A7F3D0;
}
.breakdown-bar {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
}
.breakdown-bar-label {
  font-size: 12px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 8px;
}
.breakdown-track {
  display: flex;
  height: 10px;
  border-radius: 5px;
  overflow: hidden;
  background: #0D9488;
  margin-bottom: 8px;
}
.breakdown-fill-bitumen {
  background: #F59E0B;
  transition: width 0.2s ease;
}
.breakdown-fill-aggregate {
  flex: 1;
  background: #0D9488;
}
.breakdown-legend {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #475569;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.legend-dot.orange {
  background: #F59E0B;
}
.legend-dot.blue {
  background: #0D9488;
}
.hud-actions-row {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.btn-hud-secondary {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: #1E293B;
  font-size: 13.5px;
  font-weight: 600;
  padding: 11px 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.btn-hud-secondary:hover {
  background: #F8FAFC;
  border-color: #94A3B8;
}
.btn-hud-dark {
  flex: 1.2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #0F172A;
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 600;
  padding: 11px 18px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.btn-hud-dark:hover {
  background: #1E293B;
}
.calc-toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0F172A;
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 9999;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.2s ease;
  pointer-events: none;
}
.calc-toast-notification.visible {
  opacity: 1;
  transform: translateY(0);
}
.print-report-header,
.print-report-footer {
  display: none !important;
}
.print-report-header,
.print-report-footer {
  display: none !important;
}
#printReportRoot,
.print-report-root {
  display: none !important;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.spin-icon {
  animation: spin 0.9s linear infinite !important;
  display: inline-block !important;
  vertical-align: middle !important;
}
#printReportRoot,
.print-report-root {
  display: none !important;
}
#printReportRoot.pdf-capture-active {
  display: block !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 685px !important;
  background: #ffffff !important;
  z-index: 9999999 !important;
  pointer-events: none !important;
  box-sizing: border-box !important;
  padding: 0 !important;
}
#printReportRoot,
.print-report-root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-size: 8.5pt !important;
  line-height: 1.35 !important;
  color: #0f172a !important;
  box-sizing: border-box !important;
}
#printReportRoot *,
.print-report-root * {
  box-sizing: border-box !important;
}
.report-page-container {
  width: 685px !important;
  max-width: 685px !important;
  background: #ffffff !important;
  padding: 0 2pt 10pt 2pt !important;
  box-sizing: border-box !important;
}
.report-top-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding-bottom: 8pt !important;
  margin-bottom: 8pt !important;
  border-bottom: 1.5pt solid #f1f5f9 !important;
}
.report-brand {
  display: flex !important;
  align-items: center !important;
  gap: 7pt !important;
}
.report-logo-badge {
  width: 30pt !important;
  height: 30pt !important;
  background: #f59e0b !important;
  color: #ffffff !important;
  border-radius: 6pt !important;
  font-weight: 900 !important;
  font-size: 19pt !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}
.report-logo-title {
  font-size: 16pt !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  line-height: 1.1 !important;
  letter-spacing: -0.02em !important;
}
.report-logo-title span {
  color: #d97706 !important;
}
.report-logo-sub {
  font-size: 6.2pt !important;
  color: #64748b !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
}
.report-meta-block {
  text-align: right !important;
  font-size: 7.2pt !important;
  line-height: 1.45 !important;
  color: #475569 !important;
}
.report-meta-block strong {
  color: #0f172a !important;
}
.ref-code {
  color: #2563eb !important;
  font-weight: 700 !important;
}
.report-title-banner {
  background: #f8fafc !important;
  border: 1pt solid #e2e8f0 !important;
  border-radius: 6pt !important;
  padding: 8pt 12pt !important;
  margin-bottom: 10pt !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  position: relative !important;
  overflow: hidden !important;
}
.report-title-content {
  position: relative !important;
  z-index: 2 !important;
  max-width: 70% !important;
}
.report-title {
  font-size: 13pt !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin: 0 0 2pt 0 !important;
  line-height: 1.2 !important;
}
.report-subtitle {
  font-size: 7.2pt !important;
  color: #64748b !important;
  margin: 0 !important;
}
.report-title-right {
  position: relative !important;
  z-index: 2 !important;
  display: flex !important;
  align-items: center !important;
}
.road-watermark-svg {
  position: absolute !important;
  right: -5pt !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 110pt !important;
  height: 50pt !important;
  pointer-events: none !important;
  opacity: 0.12 !important;
}
.report-canonical-badge {
  display: flex !important;
  align-items: center !important;
  gap: 4pt !important;
  background: #eff6ff !important;
  border: 1pt solid #bfdbfe !important;
  padding: 3pt 6pt !important;
  border-radius: 4pt !important;
  font-size: 6.8pt !important;
  color: #1d4ed8 !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
}
.report-two-columns {
  display: grid !important;
  grid-template-columns: 46% 54% !important;
  gap: 10pt !important;
  align-items: start !important;
}
.report-col {
  display: flex !important;
  flex-direction: column !important;
}
.report-col-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 6pt 9pt !important;
  border-top-left-radius: 6pt !important;
  border-top-right-radius: 6pt !important;
}
.header-navy {
  background: #172b43 !important;
}
.header-amber {
  background: #ea580c !important;
}
.col-header-left {
  display: flex !important;
  align-items: center !important;
  gap: 5pt !important;
}
.col-header-icon-circle {
  width: 14pt !important;
  height: 14pt !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,0.2) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.col-header-title {
  font-size: 7.5pt !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
  color: #ffffff !important;
}
.col-header-sub {
  font-size: 6.8pt !important;
  color: rgba(255,255,255,0.85) !important;
}
.report-col-body {
  background: #f8fafc !important;
  padding: 8pt !important;
  border-bottom-left-radius: 6pt !important;
  border-bottom-right-radius: 6pt !important;
}
.body-navy-border {
  border: 1pt solid #cbd5e1 !important;
  border-top: none !important;
}
.body-amber-border {
  border: 1pt solid #fdba74 !important;
  border-top: none !important;
  background: #ffffff !important;
}
.report-param-card {
  background: #ffffff !important;
  border: 1pt solid #e2e8f0 !important;
  border-radius: 5pt !important;
  padding: 8pt 10pt !important;
}
.report-col-params .report-param-card:not(:first-child) {
  margin-top: 8pt !important;
}
.param-card-header {
  display: flex !important;
  align-items: center !important;
  gap: 5pt !important;
  margin-bottom: 6pt !important;
}
.param-step-badge {
  width: 15pt !important;
  height: 15pt !important;
  border-radius: 50% !important;
  background: #2563eb !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 8pt !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.param-header-icon {
  color: #1e293b !important;
  display: flex !important;
  align-items: center !important;
}
.param-title {
  font-size: 8.5pt !important;
  font-weight: 800 !important;
  color: #0f172a !important;
}
.param-sub {
  font-size: 6.5pt !important;
  color: #64748b !important;
}
.param-row-2col {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 6pt !important;
}
.param-field {
  display: flex !important;
  flex-direction: column !important;
}
.mt-6 { margin-top: 5pt !important; }
.param-label {
  font-size: 6.5pt !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  color: #64748b !important;
  margin-bottom: 2.5pt !important;
}
.param-input-box {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  background: #f8fafc !important;
  border: 1pt solid #cbd5e1 !important;
  border-radius: 4pt !important;
  padding: 4.5pt 7pt !important;
}
.param-val {
  font-size: 10pt !important;
  font-weight: 800 !important;
  color: #0f172a !important;
}
.param-unit {
  font-size: 7.5pt !important;
  color: #64748b !important;
  font-weight: 600 !important;
}
.param-select-box {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  background: #f8fafc !important;
  border: 1pt solid #cbd5e1 !important;
  border-radius: 4pt !important;
  padding: 4.5pt 7pt !important;
}
.select-text {
  font-size: 7.8pt !important;
  font-weight: 700 !important;
  color: #0f172a !important;
}
.chevron-down-svg {
  color: #64748b !important;
}
.param-hint {
  font-size: 6.2pt !important;
  color: #94a3b8 !important;
  margin-top: 2pt !important;
  line-height: 1.25 !important;
}
.report-notice-box {
  display: flex !important;
  align-items: center !important;
  gap: 5pt !important;
  background: #eff6ff !important;
  border: 1pt solid #bfdbfe !important;
  border-radius: 4pt !important;
  padding: 4.5pt 7pt !important;
  margin-top: 6pt !important;
}
.notice-icon {
  width: 12pt !important;
  height: 12pt !important;
  border-radius: 50% !important;
  background: #2563eb !important;
  color: #ffffff !important;
  font-weight: 900 !important;
  font-size: 7.5pt !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: serif !important;
  flex-shrink: 0 !important;
}
.notice-text {
  font-size: 6.5pt !important;
  color: #1e40af !important;
  line-height: 1.3 !important;
}
.results-subhead-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 7pt !important;
  padding: 0 2pt !important;
}
.results-subhead-left {
  display: flex !important;
  align-items: center !important;
  gap: 5pt !important;
}
.subhead-title {
  font-size: 9.5pt !important;
  font-weight: 800 !important;
  color: #0f172a !important;
}
.subhead-desc {
  font-size: 6.5pt !important;
  color: #64748b !important;
}
.results-pill-badge {
  display: flex !important;
  align-items: center !important;
  gap: 3.5pt !important;
  background: #dcfce7 !important;
  border: 1pt solid #86efac !important;
  border-radius: 999px !important;
  padding: 2pt 6pt !important;
  font-size: 6.5pt !important;
  font-weight: 700 !important;
  color: #15803d !important;
}
.report-hero-card {
  background: #fffbeb !important;
  border: 1.5pt solid #f59e0b !important;
  border-radius: 6pt !important;
  padding: 10pt 14pt !important;
  margin-bottom: 8pt !important;
}
.hero-top-badge-row {
  display: flex !important;
  align-items: center !important;
  gap: 5pt !important;
  margin-bottom: 3pt !important;
}
.hero-icon-square {
  width: 22pt !important;
  height: 22pt !important;
  border-radius: 4.5pt !important;
  background: #f59e0b !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.hero-card-label {
  font-size: 7.2pt !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
  color: #b45309 !important;
}
.hero-num-row {
  display: flex !important;
  align-items: baseline !important;
  gap: 4pt !important;
}
.hero-huge-num {
  font-size: 34pt !important;
  font-weight: 900 !important;
  color: #0f172a !important;
  letter-spacing: -0.04em !important;
  line-height: 1 !important;
}
.hero-unit-tag {
  font-size: 16pt !important;
  font-weight: 800 !important;
  color: #0f172a !important;
}
.hero-sub-text {
  font-size: 7.2pt !important;
  color: #64748b !important;
  margin-top: 4pt !important;
}
.report-bento-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 6pt !important;
}
.report-bento-tile {
  background: #ffffff !important;
  border: 1pt solid #e2e8f0 !important;
  border-radius: 5pt !important;
  padding: 6pt 8pt !important;
}
.bento-tile-top {
  display: flex !important;
  align-items: flex-start !important;
  gap: 4pt !important;
  margin-bottom: 2pt !important;
}
.bento-icon-box {
  width: 15pt !important;
  height: 15pt !important;
  border-radius: 3.5pt !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}
.bento-icon-box.blue { background: #eff6ff !important; color: #2563eb !important; }
.bento-icon-box.green { background: #f0fdf4 !important; color: #16a34a !important; }
.bento-icon-box.amber { background: #fffbeb !important; color: #d97706 !important; }
.bento-icon-box.slate { background: #f1f5f9 !important; color: #475569 !important; }
.bento-title {
  font-size: 7.5pt !important;
  font-weight: 800 !important;
  color: #0f172a !important;
}
.bento-sub {
  font-size: 6pt !important;
  color: #94a3b8 !important;
  line-height: 1.2 !important;
}
.bento-val {
  font-size: 13.5pt !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  letter-spacing: -0.02em !important;
  margin-top: 2pt !important;
}
.text-amber { color: #d97706 !important; }
.report-cost-card {
  background: #f0fdf4 !important;
  border: 1.5pt solid #22c55e !important;
  border-radius: 5pt !important;
  padding: 7pt 10pt !important;
  margin-top: 7pt !important;
}
.cost-card-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 2pt !important;
}
.cost-card-label {
  font-size: 7pt !important;
  font-weight: 800 !important;
  color: #15803d !important;
  letter-spacing: 0.05em !important;
}
.cost-card-badge {
  font-size: 6.5pt !important;
  font-weight: 700 !important;
  background: #dcfce7 !important;
  border: 1pt solid #86efac !important;
  color: #166534 !important;
  border-radius: 3pt !important;
  padding: 1pt 5pt !important;
}
.cost-card-amount {
  font-size: 18pt !important;
  font-weight: 900 !important;
  color: #15803d !important;
  letter-spacing: -0.02em !important;
  line-height: 1.1 !important;
}
.cost-card-detail {
  font-size: 6.8pt !important;
  color: #475569 !important;
  margin-top: 2pt !important;
}
.report-bottom-footer {
  margin-top: 14pt !important;
  padding-top: 8pt !important;
  border-top: 1.5pt solid #cbd5e1 !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}
.footer-left-col {
  display: flex !important;
  align-items: center !important;
  gap: 6pt !important;
  flex: 1 !important;
}
.footer-shield-icon {
  flex-shrink: 0 !important;
}
.footer-notice-text {
  font-size: 6.2pt !important;
  color: #64748b !important;
  line-height: 1.35 !important;
}
.footer-right-col {
  text-align: right !important;
  font-size: 6.8pt !important;
  line-height: 1.35 !important;
  padding: 0 12pt !important;
  border-right: 1pt solid #e2e8f0 !important;
}
.footer-suite-name {
  color: #0f172a !important;
}
.footer-suite-status {
  color: #64748b !important;
}
.footer-suite-url {
  color: #ea580c !important;
  font-weight: 700 !important;
}
.footer-page-col {
  padding-left: 12pt !important;
}
.footer-page-num {
  font-size: 8pt !important;
  font-weight: 700 !important;
  color: #475569 !important;
  line-height: 1.2 !important;
  display: inline-block !important;
}
@media print {
  @page {
    size: A4 portrait;
    margin: 10mm 14mm 10mm 14mm;
  }
  body > *:not(#printReportRoot) {
    display: none !important;
  }
  #printReportRoot {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
  }
  .report-page-container {
    width: 100% !important;
  }
  *, *::before, *::after {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    box-shadow: none !important;
  }
  body {
    background: #ffffff !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}
.table-card-container {
  background: var(--surface, #ffffff);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 14px;
  box-shadow: 0 4px 20px -2px rgba(0,0,0,0.06);
  padding: 1.25rem;
  overflow: hidden;
}
.table-responsive-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.badge-pill-amber {
  background: #FEF3C7;
  color: #92400E;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 9999px;
  display: inline-block;
  font-family: ui-monospace, monospace;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}
.badge-pill-blue {
  background: #EFF6FF;
  color: #1E40AF;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 9999px;
  display: inline-block;
  font-family: ui-monospace, monospace;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}
.badge-pill-green {
  background: #ECFDF5;
  color: #065F46;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 9999px;
  display: inline-block;
  font-family: ui-monospace, monospace;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}
