:root {
  --stage-scale: 1;
  --ink: #f1f5f7;
  --muted: #8796a2;
  --muted-2: #5f7382;
  --panel: rgba(5, 14, 21, .92);
  --panel-soft: rgba(7, 19, 28, .84);
  --line: rgba(118, 155, 181, .25);
  --line-bright: rgba(113, 177, 220, .42);
  --orange: #ff5a08;
  --orange-soft: #df4600;
  --cyan: #73bbeb;
  --green: #42c785;
  --red: #ff6238;
  --yellow: #f4b749;
  --shadow: 0 18px 50px rgba(0, 0, 0, .35);
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Arial Narrow", "Roboto Condensed", Impact, Haettenschweiler, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: #020609; color: var(--ink); font-family: var(--sans); }
body { font-size: 14px; }
button, input { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }

body.desktop-stage { width: 100vw; height: 100vh; overflow: hidden; }
.stage-viewport { width: 100vw; height: 100vh; display: flex; justify-content: center; align-items: flex-start; overflow: hidden; background: radial-gradient(circle at 50% 12%, #102536, #03080c 55%, #010305); }
.risk-artboard {
  --hero-text-safe-width: 550px;
  --hero-score-safe-width: 286px;
  --hero-car-safe-left: 980px;
  --hero-logo-safe-bottom: 24px;
  --hero-img-x: -3px;
  --hero-img-y: -1px;
  --hero-img-scale: .98;
  --hero-img-opacity: 1;
  --hero-img-brightness: .9;
  --hero-img-contrast: 1.03;
  --hero-img-saturate: 1.02;
  --hero-overlay-opacity: .14;
  --hero-vignette-opacity: .32;
  position: relative;
  flex: 0 0 1536px;
  width: 1536px;
  height: 980px;
  overflow: hidden;
  transform: scale(var(--stage-scale));
  transform-origin: top center;
  background:
    radial-gradient(circle at 72% 20%, rgba(14, 64, 95, .24), transparent 30%),
    linear-gradient(180deg, #03080c 0%, #07121a 57%, #03090d 100%);
  box-shadow: 0 0 80px rgba(0, 0, 0, .82);
  isolation: isolate;
}
.risk-artboard::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  box-shadow: inset 0 0 80px rgba(0, 0, 0, .36), inset 0 0 0 1px rgba(130, 173, 201, .08);
}

.skip-link { position: fixed; top: -80px; left: 16px; z-index: 100; padding: 12px 16px; background: var(--orange); color: #fff; }
.skip-link:focus { top: 16px; }

.topbar {
  position: relative;
  z-index: 10;
  height: 60px;
  display: grid;
  grid-template-columns: 265px 1fr 300px;
  align-items: center;
  padding: 0 44px;
  border-bottom: 1px solid rgba(119, 154, 177, .2);
  background: linear-gradient(90deg, rgba(2, 6, 9, .96), rgba(2, 7, 11, .72) 45%, rgba(2, 6, 9, .84));
  backdrop-filter: blur(9px);
}
.brand { width: max-content; display: block; line-height: 1; }
.brand__main { font-weight: 800; font-size: 20px; letter-spacing: .13em; }
.topnav { justify-self: center; display: flex; align-items: stretch; height: 60px; gap: 34px; }
.topnav a { position: relative; display: flex; align-items: center; color: #b9c1c7; font-size: 12px; }
.topnav a::after { content: ""; position: absolute; right: 50%; bottom: 0; left: 50%; height: 2px; background: var(--orange); transition: .2s ease; }
.topnav a:hover, .topnav a.is-current { color: #fff; }
.topnav a:hover::after, .topnav a.is-current::after { right: 0; left: 0; }
.account-actions { justify-self: end; display: flex; align-items: center; gap: 12px; }
.account-actions button { border: 0; background: none; cursor: pointer; font-size: 12px; }
.login-button { color: #bbc4cb; }
.scene-button { min-width: 62px; height: 28px; border: 1px solid rgba(111, 177, 218, .42) !important; border-radius: 4px; color: #91c9eb; font-size: 9px !important; font-weight: 780; letter-spacing: .08em; text-transform: uppercase; }
.scene-button:hover, .scene-button[aria-pressed="true"] { border-color: var(--orange) !important; color: #fff; background: rgba(255, 83, 5, .16) !important; }
.account-button { min-width: 126px; height: 38px; border-radius: 5px !important; background: linear-gradient(180deg, #ff6819, #dc4300) !important; font-weight: 720; box-shadow: 0 8px 22px rgba(255, 85, 4, .2); }

.artboard-main { position: relative; z-index: 2; height: 866px; display: grid; grid-template-rows: 500px 68px 260px 38px; }
.hero-stage { position: relative; display: grid; grid-template-columns: var(--hero-text-safe-width) var(--hero-score-safe-width) 1fr; gap: 24px; padding: 0 44px; overflow: hidden; }
.hero-scene {
  position: absolute;
  z-index: -4;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 44% 38%, rgba(13, 40, 57, .34), transparent 30%),
    linear-gradient(90deg, #02070b 0%, #061019 48%, #02070b 100%);
  pointer-events: none;
  touch-action: none;
}
.hero-scene-image {
  position: absolute;
  z-index: 0;
  top: -4.102041px;
  right: -3px;
  bottom: auto;
  left: auto;
  width: 102.040816%;
  height: 102.040816%;
  max-width: none;
  object-fit: contain;
  object-position: right center;
  transform: translate(var(--hero-img-x), var(--hero-img-y)) scale(var(--hero-img-scale));
  transform-origin: right center;
  opacity: var(--hero-img-opacity);
  filter: brightness(var(--hero-img-brightness)) contrast(var(--hero-img-contrast)) saturate(var(--hero-img-saturate));
  user-select: none;
  -webkit-user-drag: none;
  will-change: transform, filter, opacity;
}
.hero-scene-overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  opacity: var(--hero-overlay-opacity);
  background:
    linear-gradient(90deg, rgba(2, 6, 9, 1) 0%, rgba(2, 7, 11, .92) 31%, rgba(1, 6, 10, .18) 55%, rgba(1, 7, 11, .02) 82%),
    linear-gradient(180deg, rgba(3, 8, 12, .26), transparent 44%, rgba(2, 7, 10, .36) 100%);
  pointer-events: none;
}
.hero-scene-vignette { position: absolute; z-index: 2; inset: 0; opacity: var(--hero-vignette-opacity); background: radial-gradient(ellipse at 73% 48%, transparent 48%, rgba(0, 4, 7, .16) 72%, rgba(0, 3, 5, .68) 100%); box-shadow: inset 0 0 76px rgba(0, 0, 0, .38); pointer-events: none; }
.hero-stage__scan { position: absolute; z-index: 3; inset: 0; opacity: .08; background-image: linear-gradient(rgba(113, 166, 201, .14) 1px, transparent 1px); background-size: 100% 5px; mix-blend-mode: overlay; pointer-events: none; }
body.hero-scene-editing .hero-scene { z-index: 1; outline: 2px solid rgba(255, 91, 8, .82); outline-offset: -3px; cursor: grab; pointer-events: auto; }
body.hero-scene-editing .hero-scene.is-dragging { cursor: grabbing; }
body.hero-scene-editing .hero-scene::after { content: "DRA SCENEN · JUSTER X/Y"; position: absolute; z-index: 4; top: 69px; left: 50%; padding: 5px 9px; border: 1px solid rgba(255, 91, 8, .55); border-radius: 3px; background: rgba(3, 10, 15, .82); color: #ff8d55; font-size: 7px; font-weight: 800; letter-spacing: .12em; transform: translateX(-50%); pointer-events: none; }

.hero-copy { position: relative; z-index: 2; align-self: center; width: var(--hero-text-safe-width); padding-top: 2px; }
.hero-eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 13px; color: var(--cyan); font-size: 11px; font-weight: 760; letter-spacing: .18em; text-transform: uppercase; }
.hero-eyebrow span { width: 24px; height: 1px; background: var(--orange); box-shadow: 0 0 9px var(--orange); }
.hero-copy h1 { margin: 0; font-family: var(--display); font-size: 59px; font-stretch: condensed; font-weight: 700; letter-spacing: .025em; line-height: .98; text-transform: uppercase; text-shadow: 0 4px 25px rgba(0, 0, 0, .75); }
.hero-copy h1 em { color: var(--orange); font-style: normal; }
.hero-lead { width: 520px; margin: 15px 0 18px; color: #c0c9cf; font-size: 13px; line-height: 1.55; }
.hero-trust { display: flex; align-items: center; gap: 8px; margin: 11px 0 0; color: #a9b4bb; font-size: 10px; }
.hero-trust span { width: 11px; height: 11px; border: 1px solid #7890a0; border-radius: 50%; box-shadow: inset 0 0 0 3px rgba(3, 10, 14, .9); background: var(--green); }

.search-panel { width: 550px; overflow: hidden; border: 1px solid rgba(130, 171, 198, .36); border-radius: 8px; background: rgba(3, 11, 17, .93); box-shadow: 0 16px 30px rgba(0, 0, 0, .36); backdrop-filter: blur(12px); }
.search-tabs { height: 35px; display: flex; align-items: stretch; gap: 8px; padding: 0 9px; border-bottom: 1px solid rgba(111, 146, 170, .18); }
.search-tabs button { position: relative; min-width: 82px; border: 0; background: none; color: #8998a2; font-size: 11px; font-weight: 730; letter-spacing: .08em; cursor: pointer; }
.search-tabs button::after { content: ""; position: absolute; right: 50%; bottom: -1px; left: 50%; height: 2px; background: var(--orange); transition: .2s ease; }
.search-tabs button.is-active { color: #f2f5f6; }
.search-tabs button.is-active::after { right: 8px; left: 8px; }
.search-control { min-height: 58px; display: grid; grid-template-columns: 38px 1fr 169px; gap: 5px; padding: 6px; }
.search-control:focus-within { outline: 2px solid rgba(112, 196, 245, .92); outline-offset: -2px; }
.search-symbol { align-self: center; justify-self: center; width: 18px; height: 13px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; }
.search-symbol i { background: #ef394c; }.search-symbol i:nth-child(2), .search-symbol i:nth-child(3) { background: #fff; }.search-symbol i:nth-child(4) { background: #226bb3; }
.search-control input { min-width: 0; border: 0; outline: 0; background: transparent; color: #fff; font-size: 12px; }
.search-control input::placeholder { color: #788792; opacity: 1; }
.analyse-button { border: 1px solid #ff6a1f; border-radius: 5px; background: linear-gradient(180deg, #ff6514, #d94100); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .03em; cursor: pointer; box-shadow: 0 8px 20px rgba(255, 76, 0, .25); }
.analyse-button span { margin-left: 10px; font-size: 15px; }
.search-tabs button:focus-visible, .analyse-button:focus-visible { outline: 2px solid #fff; outline-offset: -3px; }
.analyse-button:disabled { opacity: .72; cursor: wait; box-shadow: none; }
.manual-fallback { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 7px 10px; border-top: 1px solid rgba(111, 146, 170, .14); background: rgba(8, 21, 29, .82); }
.manual-fallback[hidden] { display: none; }
.manual-fallback label { min-width: 0; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 5px; }
.manual-fallback label span { color: #78acd0; font-size: 7px; font-weight: 800; letter-spacing: .08em; }
.manual-fallback input { width: 100%; min-width: 0; height: 25px; padding: 0 7px; border: 1px solid rgba(110, 155, 183, .32); border-radius: 3px; outline: none; background: rgba(2, 8, 12, .8); color: #fff; font-size: 9px; }
.manual-fallback input:focus { border-color: rgba(255, 99, 26, .75); }
.search-panel > p { margin: 0; padding: 5px 12px 7px; border-top: 1px solid rgba(111, 146, 170, .14); color: #7f909c; font-size: 8px; }
.search-panel > p:focus { outline: 2px solid rgba(112, 196, 245, .92); outline-offset: -2px; }
.search-panel > p span { float: right; color: #94a5b0; }
.search-panel[data-state="validating"], .search-panel[data-state="loading_listing"] { border-color: rgba(115, 187, 235, .62); }
.search-panel[data-state="invalid_input"], .search-panel[data-state="rate_limited"], .search-panel[data-state="service_busy"], .search-panel[data-state="timeout"], .search-panel[data-state="backend_error"], .search-panel[data-state="manual_fallback"] { border-color: rgba(255, 98, 56, .72); }
.search-panel[data-state="invalid_input"] > p, .search-panel[data-state="rate_limited"] > p, .search-panel[data-state="service_busy"] > p, .search-panel[data-state="timeout"] > p, .search-panel[data-state="backend_error"] > p, .search-panel[data-state="manual_fallback"] > p,
.search-panel[data-state="invalid_input"] > p span, .search-panel[data-state="rate_limited"] > p span, .search-panel[data-state="service_busy"] > p span, .search-panel[data-state="timeout"] > p span, .search-panel[data-state="backend_error"] > p span, .search-panel[data-state="manual_fallback"] > p span { color: #ff9c7f; }
.search-panel[data-state="completed"] { border-color: rgba(66, 199, 133, .62); }
.search-panel[data-state="completed"] > p span { color: var(--green); }
.search-panel[data-state="partial"], .search-panel[data-state="vegvesen_partial"] { border-color: rgba(244, 183, 73, .66); }
.search-panel[data-state="partial"] > p span, .search-panel[data-state="vegvesen_partial"] > p span { color: var(--yellow); }

.score-mount { grid-column: 2; position: relative; z-index: 4; align-self: center; width: var(--hero-score-safe-width); }
.score-panel { position: relative; height: 390px; padding: 18px 18px 14px; border: 1px solid rgba(129, 169, 196, .37); border-radius: 9px; background: linear-gradient(150deg, rgba(3, 12, 18, .97), rgba(4, 13, 20, .93)); box-shadow: 0 22px 45px rgba(0, 0, 0, .46); backdrop-filter: blur(14px); }
.panel-heading { display: flex; justify-content: space-between; align-items: center; color: var(--cyan); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.panel-heading b { padding: 3px 5px; border: 1px solid rgba(255, 91, 8, .5); border-radius: 3px; color: var(--orange); font-size: 6px; letter-spacing: .08em; }
.score-ring { position: relative; width: 124px; height: 124px; display: grid; place-items: center; margin: 11px auto 5px; border-radius: 50%; background: conic-gradient(var(--orange) calc(var(--score) * 1%), rgba(78, 99, 112, .2) 0); box-shadow: 0 0 28px rgba(255, 82, 0, .16); transform: rotate(-90deg); }
.score-ring::before { content: ""; position: absolute; width: 107px; height: 107px; border-radius: 50%; background: radial-gradient(circle at 50% 38%, #12212a, #03090d 72%); box-shadow: inset 0 0 0 1px rgba(143, 174, 193, .13); }
.score-ring > div { position: relative; z-index: 1; display: grid; text-align: center; transform: rotate(90deg); }
.score-ring strong { font-size: 43px; font-weight: 680; line-height: 1; }
.score-ring span { margin-top: 2px; color: #a9b5bc; font-size: 9px; }
.score-status { text-align: center; color: var(--orange); font-size: 10px; font-weight: 850; letter-spacing: .08em; }
.score-note { margin: 8px 0 9px; padding-top: 8px; border-top: 1px solid rgba(112, 148, 172, .16); color: #9ba9b2; font-size: 8px; line-height: 1.4; text-align: center; }
.score-components { display: grid; gap: 5px; }
.score-component { display: grid; grid-template-columns: 88px 1fr 49px; align-items: center; gap: 7px; font-size: 8px; }
.score-component > span { overflow: hidden; color: #aab7bf; text-overflow: ellipsis; white-space: nowrap; }
.score-component i { height: 3px; overflow: hidden; background: #1b303e; }
.score-component i b { display: block; height: 100%; background: linear-gradient(90deg, #357bb0, #73c4f3); box-shadow: 0 0 7px rgba(84, 176, 232, .5); }
.score-component em { color: #9aa9b3; font-style: normal; text-align: right; }
.score-component.is-missing i b { background: #6d7880; box-shadow: none; }
.score-component.is-missing em { color: #6d7880; }
.score-contract { margin: 8px 0 0; color: #687b88; font-size: 7px; text-align: center; text-transform: uppercase; }
.score-panel--loading { display: grid; place-items: center; }
.loading-ring { width: 82px; height: 82px; border: 6px solid #172a36; border-top-color: var(--orange); border-radius: 50%; }

.metric-ribbon { position: relative; z-index: 3; align-self: stretch; display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 44px; overflow: hidden; border: 1px solid rgba(120, 159, 186, .31); border-radius: 8px; background: rgba(4, 14, 21, .91); box-shadow: var(--shadow); backdrop-filter: blur(13px); }
.metric-tile { position: relative; display: grid; grid-template-columns: 42px 1fr 8px; align-items: center; gap: 11px; padding: 8px 18px; border-right: 1px solid rgba(111, 148, 172, .23); }
.metric-tile:last-child { border-right: 0; }
.metric-index { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(103, 179, 228, .62); border-radius: 50%; color: var(--cyan); font-size: 12px; font-weight: 750; box-shadow: inset 0 0 14px rgba(55, 141, 195, .09); }
.metric-tile small { display: block; color: #6f8ba0; font-size: 7px; font-weight: 800; letter-spacing: .12em; }
.metric-tile strong { display: block; margin: 2px 0; color: #c5e8fb; font-size: 15px; font-weight: 650; }
.metric-tile p { max-width: 210px; margin: 0; overflow: hidden; color: #84949f; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.metric-tile > i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 9px var(--green); }

.dashboard-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 122px); gap: 8px 10px; padding: 8px 44px 0; }
.dashboard-card { position: relative; min-width: 0; overflow: hidden; padding: 9px 13px 8px; border: 1px solid rgba(117, 156, 182, .28); border-radius: 8px; background: linear-gradient(145deg, rgba(7, 19, 28, .96), rgba(3, 11, 17, .98)); box-shadow: 0 10px 28px rgba(0, 0, 0, .27); }
.dashboard-card::after { content: ""; position: absolute; right: -60px; bottom: -70px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(44, 131, 184, .09), transparent 67%); pointer-events: none; }
.card-heading { height: 35px; display: grid; grid-template-columns: 29px 1fr auto; align-items: start; gap: 8px; padding-bottom: 7px; border-bottom: 1px solid rgba(105, 143, 168, .15); }
.card-heading__icon { width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid rgba(99, 175, 222, .29); border-radius: 5px; color: var(--cyan); background: rgba(25, 85, 121, .08); }
.ui-icon { width: 17px; height: 17px; }
.card-heading > div > span { display: block; color: var(--cyan); font-size: 7px; font-weight: 800; letter-spacing: .13em; }
.card-heading h2 { margin: 2px 0 0; font-size: 13px; line-height: 1; font-weight: 720; letter-spacing: .035em; text-transform: uppercase; }
.status-badge { align-self: center; padding: 3px 5px; border: 1px solid rgba(119, 149, 168, .3); border-radius: 3px; color: #96a5ae; font-size: 7px; font-weight: 800; letter-spacing: .06em; white-space: nowrap; }
.status-badge--warning { border-color: rgba(255, 159, 52, .45); color: #ffad55; }.status-badge--danger { border-color: rgba(255, 92, 51, .45); color: #ff724c; }.status-badge--good { border-color: rgba(58, 199, 127, .42); color: #5cd99b; }.status-badge--info { border-color: rgba(91, 177, 231, .45); color: #79c8f5; }
.card-hero-value { display: flex; align-items: end; justify-content: space-between; margin: 8px 0 4px; }
.card-hero-value strong { font-size: 22px; font-weight: 570; letter-spacing: -.02em; }
.card-hero-value span { padding-bottom: 2px; color: #8798a4; font-size: 8px; }
.card-foot { display: none; }
.compact-facts { display: grid; grid-template-columns: 1fr 1fr; margin: 0; }
.compact-facts div { padding: 3px 5px 2px 0; border-right: 1px solid rgba(105, 143, 168, .15); }.compact-facts div + div { padding-left: 9px; border-right: 0; }
.compact-facts dt { color: #708491; font-size: 7px; text-transform: uppercase; }.compact-facts dd { margin: 1px 0 0; color: #c0cad0; font-size: 9px; }
.price-chart { display: none; }.price-chart svg { width: 100%; height: 100%; overflow: visible; }.chart-grid { fill: none; stroke: rgba(114, 149, 172, .13); stroke-width: 1; }.chart-line { fill: none; stroke: #43c675; stroke-width: 2; filter: drop-shadow(0 0 4px rgba(67, 198, 117, .35)); }
.mileage-gauge { display: grid; grid-template-columns: 1fr auto; gap: 4px; margin: 10px 0 5px; color: #71838f; font-size: 7px; }.mileage-gauge div { position: relative; grid-column: 1 / -1; height: 5px; background: #152a37; }.mileage-gauge i { display: block; height: 100%; background: linear-gradient(90deg, #368fc4, var(--orange)); }.mileage-gauge b { position: absolute; top: -4px; width: 2px; height: 13px; background: #fff; box-shadow: 0 0 6px #fff; }
.technical-grid { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 5px; }.technical-grid div { min-width: 0; padding: 3px 4px; border-right: 1px solid rgba(105, 143, 168, .13); border-bottom: 1px solid rgba(105, 143, 168, .13); }.technical-grid div:nth-child(2n) { border-right: 0; }.technical-grid div:nth-last-child(-n+2) { border-bottom: 0; }.technical-grid span { display: block; color: #708693; font-size: 7px; text-transform: uppercase; }.technical-grid strong { display: block; margin-top: 1px; overflow: hidden; color: #becbd2; font-size: 9px; font-weight: 560; text-overflow: ellipsis; white-space: nowrap; }
.risk-list { margin: 3px 0 0; padding: 0; list-style: none; }.risk-list li { display: grid; grid-template-columns: 22px 1fr 25px; align-items: center; gap: 7px; min-height: 25px; border-bottom: 1px solid rgba(105, 143, 168, .13); }.risk-list li > span { width: 19px; height: 19px; display: grid; place-items: center; border: 1px solid rgba(255, 91, 24, .66); border-radius: 50%; color: var(--orange); font-size: 7px; }.risk-list strong { display: block; font-size: 9px; font-weight: 650; }.risk-list p { max-width: 235px; margin: 1px 0 0; overflow: hidden; color: #7f909b; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }.risk-list em { color: var(--orange); font-size: 10px; font-style: normal; text-align: right; }
.planned-visual { display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 10px; margin: 7px 0 4px; }.donut { width: 48px; height: 48px; border-radius: 50%; background: conic-gradient(#54a7dc 0 28%, #ff5a08 28% 47%, #f4b749 47% 63%, #3ec680 63% 78%, #263b48 78%); box-shadow: inset 0 0 0 15px #07131b; }.planned-visual strong { display: block; font-size: 13px; }.planned-visual span { color: #80919c; font-size: 8px; }.placeholder-bars { display: none; }.placeholder-bars i { width: var(--w); height: 3px; background: linear-gradient(90deg, rgba(68, 159, 216, .7), rgba(68, 159, 216, .08)); }
.history-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 7px; }.mini-title { display: block; margin-bottom: 4px; color: #698295; font-size: 5px; letter-spacing: .1em; }.history-columns p { position: relative; margin: 4px 0; padding-left: 12px; overflow: hidden; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }.history-columns p::before { position: absolute; left: 0; }.history-columns .known::before { content: "✓"; color: var(--green); }.history-columns .missing::before { content: "—"; color: var(--orange); }.history-columns .missing { color: #a69489; }
.confidence-visual { display: grid; grid-template-columns: 73px 1fr; align-items: center; gap: 12px; margin-top: 8px; }.confidence-ring { width: 66px; height: 66px; display: grid; place-content: center; border-radius: 50%; background: radial-gradient(circle, #07131b 56%, transparent 58%), conic-gradient(var(--cyan) calc(var(--confidence) * 1%), #1a303d 0); text-align: center; }.confidence-ring strong { font-size: 18px; line-height: 1; }.confidence-ring span { color: #72848f; font-size: 6px; }.confidence-visual p { margin: 5px 0; color: #7c8d98; font-size: 7px; }.confidence-visual p b { display: inline-block; min-width: 18px; color: #c5d5de; font-size: 9px; }
.compare-stage { height: 39px; display: grid; grid-template-columns: 34px 1fr 34px; align-items: center; gap: 8px; margin: 8px 0 4px; }.compare-stage span { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid rgba(101, 173, 218, .35); border-radius: 4px; color: #83c4ed; font-family: var(--display); font-size: 14px; }.compare-stage i { height: 1px; background: repeating-linear-gradient(90deg, #50738a 0 7px, transparent 7px 12px); }.compare-title { font-size: 10px; }.compare-note { margin: 2px 0 0; color: #73848f; font-size: 6px; }

.next-actions-strip { position: relative; display: grid; grid-template-columns: 190px 1fr 420px; align-items: center; gap: 18px; margin: 5px 44px 0; padding: 5px 15px; overflow: hidden; border: 1px solid rgba(117, 156, 182, .25); border-radius: 6px 6px 0 0; background: rgba(5, 15, 22, .95); }
.next-actions__label span, .next-actions__question span { display: block; color: var(--orange); font-size: 5px; font-weight: 850; letter-spacing: .12em; }.next-actions__label strong { font-size: 9px; }.next-actions__items { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }.next-actions__items p { display: flex; align-items: center; gap: 7px; margin: 0; overflow: hidden; color: #8c9ba5; font-size: 6px; text-overflow: ellipsis; white-space: nowrap; }.next-actions__items b { color: var(--cyan); font-size: 8px; }.next-actions__question { padding-left: 14px; border-left: 1px solid rgba(105, 143, 168, .16); }.next-actions__question p { margin: 2px 0 0; overflow: hidden; color: #a7b4bc; font-size: 6px; text-overflow: ellipsis; white-space: nowrap; }

.trust-strip { position: relative; z-index: 5; height: 54px; display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 44px; border: 1px solid rgba(117, 156, 182, .28); border-radius: 0 0 8px 8px; background: rgba(4, 12, 18, .98); }
.trust-strip > div { position: relative; display: grid; align-content: center; padding: 0 20px 0 48px; border-right: 1px solid rgba(105, 143, 168, .17); }.trust-strip > div:last-child { border-right: 0; }.trust-strip > div::before { content: "✓"; position: absolute; left: 20px; top: 14px; width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid #5e7d90; border-radius: 50%; color: #9ac9e5; font-size: 10px; }.trust-strip strong { color: #d1d9de; font-size: 8px; letter-spacing: .06em; }.trust-strip span { margin-top: 2px; color: #6e7e89; font-size: 6px; }

.hero-composer { position: fixed; z-index: 320; top: 14px; right: 14px; width: 344px; max-height: calc(100vh - 28px); overflow: auto; padding: 13px; border: 1px solid rgba(118, 173, 209, .42); border-radius: 8px; background: rgba(3, 11, 17, .97); color: #dce5ea; box-shadow: 0 24px 70px rgba(0, 0, 0, .62); backdrop-filter: blur(16px); }
.hero-composer[hidden] { display: none; }
.hero-composer__header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 10px; border-bottom: 1px solid rgba(112, 153, 179, .2); }
.hero-composer__header div { display: grid; gap: 3px; }.hero-composer__header span { color: var(--orange); font-size: 7px; font-weight: 820; letter-spacing: .12em; }.hero-composer__header strong { font-size: 14px; letter-spacing: .02em; }
.hero-composer__header button { width: 27px; height: 27px; border: 1px solid rgba(123, 159, 182, .28); border-radius: 4px; background: rgba(24, 42, 53, .38); color: #aebbc3; font-size: 19px; line-height: 1; cursor: pointer; }
.hero-composer__presets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin: 10px 0; }
.hero-composer button { border: 1px solid rgba(110, 154, 183, .32); border-radius: 4px; background: rgba(18, 38, 51, .56); color: #a9c7d9; cursor: pointer; }
.hero-composer button:hover, .hero-composer button:focus-visible { border-color: var(--orange); color: #fff; outline: none; }
.hero-composer__presets button { min-height: 29px; padding: 4px; font-size: 8px; font-weight: 720; }
.hero-composer__controls { display: grid; gap: 5px; }
.hero-composer__controls label { display: grid; grid-template-columns: 102px 1fr; align-items: center; gap: 8px; min-height: 23px; }
.hero-composer__controls label > span { display: flex; justify-content: space-between; color: #7e919d; font-size: 7px; font-weight: 650; }.hero-composer__controls output { color: #c8d8e1; font-variant-numeric: tabular-nums; }
.hero-composer input[type="range"] { width: 100%; height: 3px; margin: 0; accent-color: var(--orange); cursor: pointer; }
.hero-composer__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 8px; }.hero-composer__actions--primary { grid-template-columns: .8fr .8fr 1.4fr; margin-top: 11px; }
.hero-composer__actions button { min-height: 30px; padding: 4px 7px; font-size: 8px; font-weight: 760; }.hero-composer__actions--primary button:first-child { border-color: #f66520; background: linear-gradient(180deg, rgba(255, 94, 17, .92), rgba(194, 53, 0, .92)); color: #fff; }
.hero-composer__json { display: grid; gap: 5px; margin-top: 9px; }.hero-composer__json span { color: #6e818e; font-size: 7px; text-transform: uppercase; letter-spacing: .08em; }.hero-composer__json textarea { width: 100%; height: 82px; resize: vertical; padding: 8px; border: 1px solid rgba(111, 154, 181, .27); border-radius: 4px; outline: none; background: #02080c; color: #9cc8e2; font: 7px/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }.hero-composer__json textarea:focus { border-color: rgba(255, 91, 8, .65); }
.hero-composer__hint { margin: 9px 0 0; color: #637784; font-size: 7px; line-height: 1.4; }.hero-composer__status { min-height: 13px; margin: 5px 0 0; color: #70d7a6; font-size: 7px; }.hero-composer__status.is-error { color: #ff8a68; }

.loading-block, .dashboard-loading { display: grid; place-items: center; border: 1px solid var(--line); color: #8497a4; background: var(--panel); }.loading-block { width: 574px; height: 99px; border-radius: 8px; }.dashboard-loading { grid-column: 1 / -1; grid-row: 1 / -1; border-radius: 8px; }
.demo-toast { position: fixed; z-index: 200; right: 20px; bottom: 20px; max-width: 360px; padding: 12px 16px; border: 1px solid rgba(255, 102, 28, .55); border-radius: 6px; background: #07131b; color: #d6e0e5; font-size: 12px; opacity: 0; transform: translateY(12px); pointer-events: none; transition: .2s ease; }.demo-toast.is-visible { opacity: 1; transform: translateY(0); }
.app-error { grid-column: 1 / -1; padding: 24px; border: 1px solid rgba(255, 91, 43, .4); color: #ffb29c; background: rgba(35, 10, 5, .8); }

@media (max-width: 767px) {
  body.desktop-stage { width: auto; height: auto; overflow: auto; }
  .stage-viewport { width: auto; height: auto; display: block; overflow: visible; }
  .risk-artboard { width: 100%; height: auto; min-height: 100vh; overflow: visible; transform: none !important; }
  .topbar { height: 62px; grid-template-columns: 1fr auto; padding: 0 18px; }.topnav { display: none; }.account-actions .login-button, .account-actions .scene-button { display: none; }.account-button { min-width: 112px; }
  .artboard-main { height: auto; display: block; }.hero-stage { display: block; min-height: 760px; padding: 50px 18px 26px; overflow: hidden; }.hero-scene { top: 0; bottom: 0; }.hero-scene-image { inset: 0; width: 100%; height: 100%; transform: none !important; object-position: 66% center; }.hero-scene-overlay { background: linear-gradient(180deg, rgba(2, 7, 11, .3), rgba(2, 7, 11, .88) 42%, #03090d 100%); }
  .hero-copy { padding-top: 285px; }.hero-copy h1 { font-size: clamp(43px, 12.5vw, 61px); }.hero-lead, .search-panel, .loading-block { width: 100%; }.hero-lead { font-size: 12px; }.search-control { grid-template-columns: 32px 1fr; }.analyse-button { grid-column: 1 / -1; min-height: 47px; }.manual-fallback { grid-template-columns: 1fr; }.manual-fallback label { grid-template-columns: 54px 1fr; }
  .score-mount { width: 100%; margin-top: 22px; }.score-panel { width: 100%; height: auto; min-height: 365px; }
  .metric-ribbon { grid-template-columns: 1fr 1fr; margin: 0 14px; }.metric-tile { min-height: 76px; padding: 10px; }.metric-tile:nth-child(2n) { border-right: 0; }
  .dashboard-grid { grid-template-columns: 1fr; grid-template-rows: none; padding: 12px 14px; }.dashboard-card { min-height: 188px; }
  .next-actions-strip { grid-template-columns: 1fr; margin: 0 14px; padding: 12px; }.next-actions__items { grid-template-columns: 1fr; }.next-actions__question { padding: 8px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .trust-strip { height: auto; grid-template-columns: 1fr 1fr; margin: 0 14px 14px; }.trust-strip > div { min-height: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
