/* Test-only storefront alignment. Does not style the PDF renderer. */
body.viartem-ui {
  --brand: #22808d;
  --brand-600: #176c78;
  --brand-700: #105965;
  --heading: #172f34;
  --ink: #1f2937;
  --muted: #66717a;
  --bg: #f4f8f7;
  --soft: #eef6f5;
  --line: #dfe8e7;
  --ring: rgba(34, 128, 141, .18);
  --shadow: 0 6px 20px rgba(16, 89, 101, .05);
  --radius: 8px;
  background: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  font: 400 16px/1.6 Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  letter-spacing: 0;
}
.viartem-ui *, .viartem-ui *::before, .viartem-ui *::after { box-sizing: border-box; }
.viartem-ui h1, .viartem-ui h2, .viartem-ui h3, .viartem-ui h4, .viartem-ui h5 {
  color: var(--heading); letter-spacing: 0; line-height: 1.35;
}
.viartem-ui h1, .viartem-ui .page-intro h1 { font-size: 28px; font-weight: 700; }
.viartem-ui h2 { font-size: 22px; }
.viartem-ui .h4 { font-size: 22px; }
.viartem-ui .h5 { font-size: 18px; }
.viartem-ui .h6 { font-size: 16px; }
.viartem-ui a { color: var(--brand-600); text-underline-offset: 4px; }
.viartem-ui a:hover { color: var(--brand-700); }
.viartem-ui a:focus-visible, .viartem-ui button:focus-visible {
  outline: 2px solid var(--brand-600); outline-offset: 3px;
}
.viartem-ui .container { max-width: 1192px; padding-inline: 16px; padding-bottom: 0; }
.viartem-ui .calculator-content { width: 100%; padding-top: 28px !important; padding-bottom: 64px; flex: 1; }
.viartem-ui .alert-container { padding-bottom: 0; }
.viartem-ui .alert-container:not(:has(.alert)) { display: none; }
.viartem-ui .text-muted { color: var(--muted) !important; }

/* The same two-row, white header as the shop, without competing with forms. */
.viartem-ui .calculator-header { border-bottom: 1px solid var(--line); background: #fff !important; }
.viartem-ui .calculator-masthead { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 14px; }
.viartem-ui .calculator-brand { display: flex; flex-direction: column; flex-shrink: 0; gap: 3px; text-decoration: none; }
.viartem-ui .calculator-brand strong { font-size: 23px; line-height: 1.15; font-weight: 700; color: var(--brand-600); }
.viartem-ui .calculator-brand span { font-size: 11px; line-height: 1.4; color: var(--muted); }
.viartem-ui .calculator-header-actions { display: flex; align-items: center; gap: 24px; min-width: 0; }
.viartem-ui .calculator-account { max-width: 300px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; color: var(--muted); }
.viartem-ui .calculator-language .dropdown-toggle { padding: 8px 0; border: 0; background: transparent; font-size: 13px; font-weight: 600; color: var(--brand-600); }
.viartem-ui .dropdown-menu { border-radius: 8px; font-size: 14px; box-shadow: var(--shadow); }
.viartem-ui .calculator-navigation { padding-block: 0; backdrop-filter: none; }
.viartem-ui .calculator-navigation .navbar-collapse { border-top: 1px solid #edf2f1; }
.viartem-ui .calculator-navigation .navbar-nav { width: 100%; gap: 24px; align-items: center; }
.viartem-ui .calculator-navigation .nav-link { padding: 10px 0; min-height: 43px; color: #33545b; font-weight: 500; font-size: 14px; white-space: nowrap; }
.viartem-ui .calculator-navigation .nav-link:hover { color: var(--brand-700); text-decoration: underline; }
.viartem-ui .calculator-navigation .calculator-nav-account { margin-left: auto; }
.viartem-ui .navbar-toggler { width: 42px; height: 42px; padding: 8px; border: 1px solid var(--line); border-radius: 8px; }
.viartem-ui .navbar-toggler-icon { width: 24px; height: 24px; }

/* Shared controls, including public checkout, account and private pilot views. */
.viartem-ui .btn {
  min-height: 46px; padding: 10px 18px; border-radius: 8px; font: 600 14px/24px Inter, system-ui, sans-serif;
  white-space: normal; text-align: center; transition: background-color .16s, border-color .16s, box-shadow .16s;
}
.viartem-ui .btn-primary, .viartem-ui .btn-credits,
.viartem-ui .btn-credits[id], .viartem-ui .turbine-btn.is-selected {
  background: var(--brand-600); border: 1px solid var(--brand-600); color: #fff; box-shadow: none; transform: none;
}
.viartem-ui .btn-primary:hover, .viartem-ui .btn-primary:active,
.viartem-ui .btn-primary:not(:disabled):not(.disabled):active,
.viartem-ui .btn-credits:hover, .viartem-ui .btn-credits[id]:hover,
.viartem-ui .turbine-btn.is-selected:hover {
  background: var(--brand-700); border-color: var(--brand-700); color: #fff; box-shadow: none; transform: none;
}
.viartem-ui .btn-outline-primary, .viartem-ui .btn-outline-secondary, .viartem-ui .btn-ghost {
  background: #fff; border-color: #aecfce; color: var(--brand-600);
}
.viartem-ui .btn-outline-primary:hover, .viartem-ui .btn-outline-secondary:hover,
.viartem-ui .btn-outline-primary:not(:disabled):not(.disabled):active,
.viartem-ui .btn-outline-secondary:not(:disabled):not(.disabled):active,
.viartem-ui .btn-outline-primary:active, .viartem-ui .btn-ghost:hover {
  background: var(--soft); border-color: var(--brand); color: var(--brand-700); transform: none;
}
.viartem-ui .btn-primary:disabled { background: var(--brand-600); border-color: var(--brand-600); }
.viartem-ui .btn:focus, .viartem-ui .btn:not(:disabled):not(.disabled):active:focus { box-shadow: 0 0 0 3px var(--ring); }
.viartem-ui .btn:disabled { opacity: .6; cursor: not-allowed; }
.viartem-ui .btn-sm { min-height: 36px; padding: 5px 12px; font-size: 13px; }
.viartem-ui .btn-link { min-height: 44px; color: var(--brand-600); text-align: left; }
.viartem-ui .form-control {
  min-width: 0; height: 46px; padding: 10px 12px; border: 1px solid #d8e4e3; border-radius: 8px;
  background-color: #fff; color: var(--ink); font-size: 16px; line-height: 24px;
}
.viartem-ui textarea.form-control { height: auto; min-height: 100px; }
.viartem-ui .form-control-sm { height: 36px; padding: 5px 8px; font-size: 14px; }
.viartem-ui .form-control:focus { border-color: #8dbfc2; box-shadow: 0 0 0 3px var(--ring); }
.viartem-ui .form-group > label, .viartem-ui .form-row label { color: #4b5e66; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.viartem-ui .form-row > [class*='col-'] { min-width: 0; }
.viartem-ui .form-check { padding-left: 30px; }
.viartem-ui .form-check-input { width: 18px; height: 18px; margin-left: -30px; margin-top: 4px; accent-color: var(--brand-600); }
.viartem-ui .form-check-label { font-size: 14px; line-height: 1.65; }
.viartem-ui .form-check-label a, .viartem-ui .climate-legal a { text-decoration: underline; }
.viartem-ui .input-group > .form-control { border-radius: 8px 0 0 8px; }
.viartem-ui .input-group .btn { min-width: 46px; border-radius: 0 8px 8px 0; }
.viartem-ui .progress-bar { background: var(--brand); }
.viartem-ui .turbine-btn:hover { transform: none; }
.viartem-ui .model-card:has(.is-selected) { border-color: var(--brand); background: var(--soft); }

/* Quiet surfaces: repeated items are framed; page sections are not. */
.viartem-ui .card { background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: none; }
.viartem-ui .card-header { background: var(--bg); border-color: var(--line); }
.viartem-ui .card-title { font-size: 18px; font-weight: 600; }
.viartem-ui .card-body { padding: 24px; }
.viartem-ui .model-card .card-body { padding: 20px; }
.viartem-ui .model-card .card-text { font-size: 14px; line-height: 1.65; }
.viartem-ui .alert { border: 1px solid var(--line); border-radius: 8px; box-shadow: none; }
.viartem-ui .alert-info { background: var(--soft); color: #35575e; border-color: #cfe2df; }
.viartem-ui .viartem-map, .viartem-ui .custom-preview, .viartem-ui .custom-grid-wrap { border: 1px solid var(--line); border-radius: 8px; box-shadow: none; }
.viartem-ui .custom-grid th { font-size: 14px; }
.viartem-ui .custom-grid-wrap { max-width: 100%; }
.viartem-ui .topup-card { background: var(--bg); border: 1px solid var(--line) !important; box-shadow: none !important; backdrop-filter: none; }
.viartem-ui .credit-pill, .viartem-ui .summary-pill, .viartem-ui .pill, .viartem-ui .badge-soft { display: inline-flex; align-items: center; padding: 5px 10px; background: var(--soft); color: var(--brand-600); border: 1px solid var(--line); border-radius: 6px; font-size: 14px; font-weight: 600; }
.viartem-ui .viartem-map { height: 380px; }
.viartem-ui .leaflet-container { font-family: inherit; }
.viartem-ui .credit-pill .pill-dot { display: none; }
.viartem-ui .hero-pro, .viartem-ui .packages-hero { border: 0; border-radius: 0; background: transparent; box-shadow: none; padding: 8px 0 24px !important; }
.viartem-ui .hero-pro::before, .viartem-ui #locationForm::before { display: none; }
.viartem-ui .display-hero { font-size: 28px; letter-spacing: 0; }
.viartem-ui .packages-hero h1 { font-size: 28px; }
.viartem-ui .hero-steps { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.viartem-ui .hero-steps li { padding: 4px 0; border: 0; border-radius: 0; background: transparent; color: var(--muted); white-space: normal; font-size: 13px; font-weight: 400; }
.viartem-ui #singleEmailForm, .viartem-ui #locationForm { border: 0; border-radius: 0; border-top: 1px solid var(--line); box-shadow: none; background: transparent; overflow: visible; }
.viartem-ui #singleEmailForm > .card-body, .viartem-ui #locationForm > .card-body { padding: 24px 0; }
.viartem-ui #singleEmailForm .row { max-width: 700px; }
.viartem-ui #confirmationSection { border: 0; border-radius: 0; box-shadow: none; }
.viartem-ui #confirmationSection > .card-body { padding: 24px 0; }
.viartem-ui #checkoutForm > .p-3, .viartem-ui #confirmationSection > .card-body > .p-3 { border: 0 !important; border-radius: 0 !important; border-top: 1px solid var(--line) !important; padding: 24px 0 !important; }
.viartem-ui .package-card { border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: none; }
.viartem-ui .packages-info { border: 0; border-radius: 0; background: var(--bg); box-shadow: none; }
.viartem-ui .auth-wrap { max-width: 560px; margin: 20px auto; }
.viartem-ui .auth-card { background: #fff; box-shadow: none; }
.viartem-ui .auth-header { padding: 28px 28px 0; }
.viartem-ui .auth-body { padding: 24px 28px 28px; }
.viartem-ui .auth-footer { padding: 18px 28px; background: var(--bg); gap: 12px; }

/* Keep the established wind photograph, with a lighter, unframed hero. */
.viartem-ui .landing-hero {
  min-height: 370px; border: 0; border-radius: 0; box-shadow: none;
  background: linear-gradient(90deg, rgba(244,248,247,.98), rgba(244,248,247,.94) 36%, rgba(244,248,247,.48) 62%, rgba(244,248,247,.05)), url('../hero_wind.png') center/cover no-repeat;
  color: var(--heading);
}
.viartem-ui .landing-hero-inner { max-width: 700px; padding: 32px; }
.viartem-ui .landing-kicker { border: 0; border-radius: 0; padding: 0; background: transparent; color: var(--brand-600); font-size: 12px; letter-spacing: 0; }
.viartem-ui .landing-hero h1 { max-width: 600px; color: var(--heading); font-size: 40px; line-height: 1.18; margin: 14px 0 18px; }
.viartem-ui .landing-hero p { max-width: 550px; color: #43595e; font-size: 16px; line-height: 1.7; }
.viartem-ui .landing-actions { gap: 12px; }
.viartem-ui .btn-hero-secondary { color: var(--brand-600); border-color: #aecfce; background: #fff; }
.viartem-ui .btn-hero-secondary:hover { color: var(--brand-700); border-color: var(--brand); background: var(--soft); }
.viartem-ui .trust-row { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; }
.viartem-ui .trust-pill { border: 0; border-radius: 0; padding: 0 12px; background: transparent; color: #43595e; font-size: 12px; font-weight: 500; }
.viartem-ui .trust-pill:first-child { padding-left: 0; }
.viartem-ui .trust-pill + .trust-pill { border-left: 1px solid #b8ceca; }
.viartem-ui .section-block { padding: 40px 0 8px; }
.viartem-ui .section-head h2 { font-size: 24px; }
.viartem-ui .feature-card, .viartem-ui .audience-card { border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: none; }
.viartem-ui .feature-icon { border-radius: 6px; }
.viartem-ui .report-preview-shell { border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
.viartem-ui .shop-band { border: 0; border-block: 1px solid var(--line); border-radius: 0; background: var(--bg); box-shadow: none; }
.viartem-ui .climate-entry { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 24px; margin: 24px 0; background: var(--bg); border-block: 1px solid var(--line); }
.viartem-ui .climate-entry p { max-width: 720px; font-size: 14px; line-height: 1.65; margin-bottom: 0; }
.viartem-ui .climate-entry > .btn { flex: 0 0 240px; }

/* Pilot form and token-bearing pages share styles, not analytics or navigation. */
.viartem-ui .climate-layout { max-width: 1000px; }
.viartem-ui .climate-form { border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none; padding: 0; }
.viartem-ui .climate-form .climate-step { grid-template-columns: 190px minmax(0,1fr); gap: 32px; padding: 28px 0; }
.viartem-ui .climate-form .climate-step h2 { font-size: 17px; }
.viartem-ui .climate-layout .btn { font-size: 14px; border-radius: 8px; }
.viartem-ui .climate-layout .form-control { border-radius: 8px; }
.viartem-ui .climate-layout label:not(.climate-legal label) { color: #4b5e66; }
.viartem-ui .climate-subtitle { color: #43595e; }
.viartem-ui .climate-message { border-left: 3px solid #8dbfc2; background: var(--bg); }
.viartem-ui .climate-panel { padding: 28px; box-shadow: none; border-radius: 8px; }
.viartem-ui.private-pilot .btn:not(.btn-outline-primary) { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }
.viartem-ui.private-pilot .btn:not(.btn-outline-primary):hover { background: var(--brand-700); }
.viartem-ui.private-pilot > header { max-width: 1000px; padding-block: 20px; }
.viartem-ui.private-pilot > main, .viartem-ui.private-pilot > footer { max-width: 1000px; }

/* Standalone legal documents retain their content and their own navigation. */
.viartem-ui.legal-document .doc-container { width: 100%; max-width: 960px; margin: 24px auto; }
.viartem-ui.legal-document .topbar { padding: 0 0 20px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.viartem-ui.legal-document .doc-card { padding: 0; border: 0; border-radius: 0; background: #fff; box-shadow: none; }
.viartem-ui.legal-document h2 { font-size: 19px; }
.viartem-ui.legal-document .legal-table { display: block; max-width: 100%; overflow-x: auto; }
.viartem-ui.legal-document .legal-table th, .viartem-ui.legal-document .legal-table td { min-width: 160px; font-size: 14px; line-height: 1.6; }
.viartem-ui.legal-document .lead-box, .viartem-ui.legal-document .note { border: 0; border-left: 3px solid #8dbfc2; border-radius: 0; background: var(--bg); }
.viartem-ui.legal-document .footer { padding-top: 20px; }

/* Existing consent behaviour is preserved; every choice stays equally visible. */
.viartem-ui #cookie-banner { display: none; position: fixed; bottom: 18px; left: 0; right: 0; margin: auto; z-index: 1100; max-height: 85vh; overflow-y: auto; width: min(1100px, calc(100% - 32px)); padding: 24px; background: #fff; color: var(--ink); border: 1px solid #c9dcde; border-radius: 8px; box-shadow: 0 8px 45px #172f3426; }
.viartem-ui #cookie-banner h2 { color: var(--heading); font-size: 20px; }
.viartem-ui #cookie-banner p { color: var(--ink); font-size: 14px; }
.viartem-ui #cookie-banner a { color: var(--brand-600); }
.viartem-ui #cookie-banner .cookie-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.viartem-ui #cookie-banner .cookie-btn { flex: 1; min-height: 44px; padding: 10px 14px; border: 1px solid #aecfce; border-radius: 8px; background: #fff; color: var(--brand-600); font-size: 14px; font-weight: 600; }
.viartem-ui #cookie-banner .cookie-btn:hover { background: var(--soft); border-color: var(--brand); }
.viartem-ui #cookie-banner .cookie-panel { display: none; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.viartem-ui #cookie-banner .cookie-option { padding: 12px; margin-bottom: 10px; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; }
.viartem-ui #cookie-banner .cookie-option strong { display: block; color: var(--heading); }
.viartem-ui #cookie-banner .cookie-option small { display: block; color: var(--muted); }
.viartem-ui #cookie-banner .cookie-switch { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.viartem-ui #cookie-banner input[type=checkbox] { width: 20px; height: 20px; flex: 0 0 20px; accent-color: var(--brand-600); }
.viartem-ui .footer { background: #fcfefd !important; border-top: 1px solid var(--line); backdrop-filter: none; }
.viartem-ui .footer .container { padding-block: 20px; line-height: 2; }
.viartem-ui .footer a { color: #52666c; }

@media (max-width: 991px) {
  .viartem-ui .calculator-masthead { min-height: 72px; }
  .viartem-ui .calculator-navigation .navbar-nav { gap: 0; align-items: stretch; padding: 8px 0 16px; }
  .viartem-ui .calculator-navigation .nav-link { padding: 10px 4px; }
  .viartem-ui .calculator-navigation .calculator-nav-account { margin-left: 0; }
  .viartem-ui .calculator-navigation .navbar-collapse { max-height: calc(100dvh - 80px); overflow-y: auto; }
  .viartem-ui .climate-entry { align-items: flex-start; flex-direction: column; gap: 16px; }
  .viartem-ui .climate-entry > .btn { flex-basis: auto; }
}
@media (max-width: 767px) {
  .viartem-ui .calculator-content { padding-top: 20px !important; padding-bottom: 40px; }
  .viartem-ui .calculator-header-actions { gap: 16px; }
  .viartem-ui .calculator-account { display: none; }
  .viartem-ui h1, .viartem-ui .page-intro h1, .viartem-ui .display-hero { font-size: 26px; }
  .viartem-ui .section-head h2 { font-size: 22px; }
  .viartem-ui .landing-hero-inner { padding: 24px; }
  .viartem-ui .landing-hero h1 { font-size: 32px; }
  .viartem-ui .landing-hero { min-height: 0; background-position: 65% center; }
  .viartem-ui .trust-row { display: flex; flex-wrap: wrap; gap: 8px 0; }
  .viartem-ui .section-block { padding-top: 32px; }
  .viartem-ui .form-row > [class*='col-'] { margin-bottom: 14px; }
  .viartem-ui .form-row > [class*='col-']:last-child { margin-bottom: 0; }
  .viartem-ui .hero-steps { gap: 8px 16px; }
  .viartem-ui .climate-form .climate-step { grid-template-columns: minmax(0,1fr); gap: 16px; padding: 24px 0; }
  .viartem-ui .climate-entry { padding: 20px; }
  .viartem-ui .climate-panel { padding: 24px 20px; }
  .viartem-ui .auth-header { padding: 24px 20px 0; }
  .viartem-ui .auth-body { padding: 20px; }
  .viartem-ui .auth-footer { padding: 16px 20px; }
}
@media (max-width: 480px) {
  .viartem-ui .calculator-brand span { font-size: 10px; }
  .viartem-ui .calculator-header-actions { gap: 12px; }
  .viartem-ui .calculator-masthead { gap: 8px; }
  .viartem-ui .landing-hero-inner { padding: 22px 18px; }
  .viartem-ui .landing-hero { background-image: linear-gradient(90deg,rgba(244,248,247,.96),rgba(244,248,247,.86)),url('../hero_wind.png'); }
  .viartem-ui .landing-hero h1 { font-size: 30px; }
  .viartem-ui .landing-hero .landing-actions { display: grid; }
  .viartem-ui .trust-pill { font-size: 11px; padding-inline: 8px; }
  .viartem-ui .climate-entry > .btn { width: 100%; }
  .viartem-ui #cookie-banner { width: calc(100% - 16px); bottom: 8px; padding: 16px; }
  .viartem-ui #cookie-banner .cookie-actions { display: grid; }
}
@media (prefers-reduced-motion: reduce) {
  .viartem-ui *, .viartem-ui *::before, .viartem-ui *::after { scroll-behavior: auto !important; transition-duration: 0s !important; animation-duration: 0s !important; }
}
