/* Visual polish layered over eloadx.css. No build step and no external assets. */
:root {
  --navy: #0b2341;
  --navy-2: #123b66;
  --electric: #0b67c2;
  --electric-soft: #eaf4ff;
  --cyan: #1b91c8;
  --surface: #ffffff;
  --surface-2: #f3f7fb;
  --shadow-sm: 0 8px 24px rgba(11, 35, 65, .07);
  --shadow-md: 0 18px 48px rgba(11, 35, 65, .12);
  --radius-lg: 18px;
  --radius-md: 12px;
}
body {
  background: radial-gradient(circle at 92% 4%, rgba(11, 103, 194, .08), transparent 24rem), linear-gradient(180deg, #f8fbfe 0, #f4f7fa 34rem, #f6f8fa 100%);
}
.wrap { max-width: 1220px; }
.site-main { padding-bottom: 24px; }
.topbar { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(15, 48, 82, .10); box-shadow: 0 2px 16px rgba(11, 35, 65, .035); }
.topbar-inner { min-height: 72px; height: auto; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-logo { height: 50px; width: auto; max-width: 180px; object-fit: contain; }
.tagline { padding-left: 14px; border-left: 1px solid #d9e2ec; color: #50647a; font-weight: 550; }
.topnav { gap: 8px; align-items: center; }
.topnav a { color: #36516d; font-weight: 650; padding: 8px 11px; border-radius: 8px; }
.topnav a:hover { text-decoration: none; background: #eef5fc; color: var(--brand); }
.hero-shell { margin: 34px 0 18px; padding: 42px; border: 1px solid rgba(19, 72, 119, .12); border-radius: 24px; background: radial-gradient(circle at 95% 12%, rgba(55, 165, 220, .22), transparent 19rem), linear-gradient(135deg, #071d35 0%, #0d3156 58%, #0c4d77 100%); color: #fff; box-shadow: var(--shadow-md); overflow: hidden; }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .75fr); gap: 42px; align-items: center; }
.hero-shell h1 { color: #fff; max-width: 17ch; font-size: clamp(2.2rem, 4vw, 3.7rem); line-height: 1.04; letter-spacing: -.045em; margin: 0 0 18px; }
.hero-shell .lead { color: #dbeafb; max-width: 68ch; font-size: 1.08rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; color: #8fd5ff; font-size: .76rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.hero-proof { background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .16); border-radius: 16px; padding: 20px; box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
.hero-proof-title { font-weight: 750; margin-bottom: 14px; }
.proof-row { display: grid; grid-template-columns: 88px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.12); }
.proof-row:first-of-type { border-top: 0; }
.proof-label { color: #8fd5ff; font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.proof-value { color: #fff; font-size: .9rem; }
.card { border: 1px solid rgba(22, 59, 93, .11); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 26px 28px; }
.section-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.section-head h2 { margin: 1px 0 3px; font-size: 1.28rem; }
.section-head p { margin: 0; color: var(--ink-soft); }
.step-badge { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; flex: 0 0 34px; border-radius: 10px; background: linear-gradient(135deg, var(--brand), #2689df); color: #fff; font-weight: 800; box-shadow: 0 6px 14px rgba(11, 92, 171, .22); }
.upload-card { padding: 30px; border-color: rgba(11, 92, 171, .18); }
.upload-card .formrow { padding: 20px; border: 1px dashed #b9cce0; border-radius: 14px; background: linear-gradient(180deg, #fbfdff, #f6faff); gap: 18px; }
.upload-card .field.grow { min-width: min(100%, 390px); }
.upload-card input[type="file"] { width: 100%; min-height: 46px; padding: 8px; border: 1px solid #cdd9e5; border-radius: 9px; background: #fff; }
.upload-card input[type="file"]::file-selector-button { margin-right: 12px; border: 0; border-radius: 7px; padding: 8px 11px; background: #edf5fd; color: #0a4d8f; font-weight: 700; cursor: pointer; }
.upload-card input[type="text"] { min-height: 42px; min-width: 230px; }
.upload-card button.primary { min-height: 42px; padding: 9px 20px; border: 0; border-radius: 9px; box-shadow: 0 8px 18px rgba(11, 92, 171, .20); }
.upload-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 14px; color: #587086; font-size: .78rem; }
.upload-meta span { display: inline-flex; align-items: center; gap: 6px; }
.upload-meta span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #36a473; }
.tile { position: relative; border-color: rgba(26, 67, 105, .10); border-radius: var(--radius-md); background: linear-gradient(180deg, #fff, #fbfdff); padding: 19px; transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.tile:hover { transform: translateY(-2px); border-color: rgba(11, 92, 171, .23); box-shadow: 0 10px 24px rgba(11,35,65,.07); }
.tile h3 { margin: 0 0 8px; font-size: 1rem; }
.tile p { color: #536476; }
.tile::before { content: ""; display: block; width: 34px; height: 4px; margin-bottom: 14px; border-radius: 999px; background: linear-gradient(90deg, var(--brand), #39a4d9); }
input[type="text"], input[type="number"], select, textarea { border-color: #cbd6e2; border-radius: 8px; }
input:focus, select:focus, textarea:focus { border-color: #4f9be0; outline: 3px solid rgba(11, 103, 194, .13); }
button, .button { border-radius: 8px; }
.table { border-radius: 10px; overflow: hidden; }
.table th { background: #edf3f8; color: #40566d; }
.table tbody tr:hover { background: #f7fbff; }
pre.code { border-radius: 12px; box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
.hosted-upload-status { padding: 9px 11px; border-radius: 8px; background: #eef8f3; color: #286447; }
.hosted-upload-status.upload-error { background: #fceff1; color: var(--critical); }
.site-footer { margin-top: 34px; border-top: 1px solid #dbe3eb; background: rgba(255,255,255,.7); }
.footer { border-top: 0; margin-top: 0; padding-top: 28px; }
.footer-grid { display: flex; justify-content: space-between; gap: 28px; align-items: flex-start; }
.footer-meta { display: flex; flex-direction: column; gap: 5px; text-align: right; max-width: 460px; }
@media (max-width: 840px) { .hero-shell { padding: 30px 26px; } .hero-layout { grid-template-columns: 1fr; gap: 24px; } .hero-shell h1 { max-width: 19ch; } .hero-proof { max-width: 520px; } .footer-grid { flex-direction: column; } .footer-meta { text-align: left; } }
@media (max-width: 640px) { .topbar-inner { min-height: 66px; } .brand-logo { height: 42px; max-width: 145px; } .tagline { display: none; } .topnav { width: auto; margin-left: auto; } .topnav a { padding: 7px 8px; } .hero-shell { margin-top: 20px; padding: 26px 20px; border-radius: 18px; } .hero-shell h1 { font-size: 2.15rem; } .card, .upload-card { padding: 20px; border-radius: 14px; } .upload-card .formrow { padding: 15px; } .section-head { gap: 10px; } }

/* Results dashboard visual overview. Presentation only: charts are drawn from
   figure data the analysis already wrote, and the section is styled to sit between
   the headline metrics and the detailed tables without competing with them. */
.viz-group { margin-top: 22px; }
.viz-group:first-of-type { margin-top: 10px; }
.viz-group > h3 { margin: 0 0 12px; font-size: 1rem; color: #40566d; }
.viz-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 18px; }
.viz-card { margin: 0; min-width: 0; padding: 16px 18px 14px; border: 1px solid rgba(22, 59, 93, .11); border-radius: 14px; background: linear-gradient(180deg, #fff, #fbfdff); }
.viz-caption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin-bottom: 10px; }
.viz-title { font-weight: 700; color: #16233a; }
.viz-unit { padding: 1px 8px; border-radius: 999px; background: #eef5fc; color: #0a4d8f; font-size: .74rem; font-weight: 700; }
.viz-period { color: #5b6675; font-size: .78rem; }
.chart-host { min-width: 0; }
.chart-svg { display: block; width: 100%; height: auto; max-width: 100%; }
.chart-fallback { margin: 0; padding: 14px; border: 1px dashed #cbd6e2; border-radius: 10px; background: #f8fbfe; color: #5b6675; font-size: .84rem; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 8px; padding: 0; list-style: none; }
.chart-legend-item { display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; color: #40566d; }
.chart-legend-swatch { display: inline-block; width: 26px; height: 12px; background-repeat: no-repeat; background-position: left center; background-size: 26px 3px; }
.chart-legend-swatch[data-style="solid"] { background-image: linear-gradient(currentColor, currentColor); }
.chart-legend-swatch[data-style="dashed"] { background-image: repeating-linear-gradient(90deg, currentColor 0 6px, transparent 6px 10px); }
.chart-legend-marker { display: block; width: 9px; height: 9px; margin: 1.5px auto 0; background: currentColor; }
.chart-legend-marker[data-shape="circle"] { border-radius: 50%; }
.chart-legend-marker[data-shape="square"] { border-radius: 2px; }
.chart-legend-marker[data-shape="none"] { display: none; }
.viz-reading { margin: 10px 0 0; color: #40566d; font-size: .86rem; line-height: 1.45; }
@media (max-width: 640px) { .viz-card { padding: 14px; } .chart-legend { gap: 6px 12px; } }
