/* Processor console presentation layer.
   Styling only: the console's RC3 source and behaviour are unchanged (tool parity test). */

/* Story first, specialist detail last */
#main { display: flex; flex-direction: column; }
#main > #evidence { order: 5; }
#main > #inspection { order: 10; }

/* Headings lead; date and context labels follow them */
.hero-copy, .proof-grid > div, .step-description > div:first-child { display: flex; flex-direction: column; align-items: flex-start; }
.hero-copy > h1, .proof-grid > div > h2, .step-description h2 { order: -1; }
.hero-copy > .kicker, .proof-grid > div > .kicker, .step-description .kicker { margin-block: 0.4rem 0.9rem; }

/* The specialist section reads as a distinct, optional layer */
#inspection { border-block-start: 4px solid #0B3D33; background: #ECEBE3; }
#inspection-title { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }

/* Hero: our real processor render in place of the functional illustration.
   The illustration, its markers and rotation stay in the page for the tool's code; they are only hidden. */
.program, [dir="rtl"] .program { background: #0B3D33; }
.system-art { width: 100%; aspect-ratio: 16 / 9; cursor: default; pointer-events: none;
  background: url("/assets/renders/hero-16x9.webp") center / cover no-repeat; }
.system-art::before, .system-art > img, .system-art .markers { display: none; }
.system-figure figcaption { margin-block-start: 0.75rem; }

/* Controls with no job at a booth */
.rotation, #play, #export-button { display: none; }

/* Recorded cases: plain tabs, not dashboard tiles */
.case-tabs { gap: 0; border-block-end: 1px solid #BCCDC3; }
.case-tabs button { border: 0; border-block-end: 3px solid transparent; background: transparent; padding: 0.7rem 0.8rem; }
.case-tabs [aria-pressed="true"] { background: transparent; border-block-end-color: #0B3D33; }
.case-tabs span { font-size: clamp(1.05rem, 1.4vw, 1.3rem); }

/* Labels follow headings in the roadmap and the G3 figure */
.horizons article, .g3-metric { display: flex; flex-direction: column; align-items: flex-start; }
.horizons article h3, .g3-metric > strong { order: -1; }
.horizons .kicker, .g3-metric > .kicker { margin-block: 0 0.5rem; }

/* Readable body text */
.proof-grid > div > p:not(.kicker), .section-head p { font-size: 1.05rem; color: #2F4F45; }
/* fade the render's soft shadow layer into the hero so it does not sit in a box */
.system-art { -webkit-mask-image: radial-gradient(ellipse 72% 68% at 55% 50%, #000 55%, transparent 100%); mask-image: radial-gradient(ellipse 72% 68% at 55% 50%, #000 55%, transparent 100%); }
/* warm accents to the brand palette; rejected shown inverted, as on the site */
:root { --gold: #CFE0D8; }
.run-results > div:last-child strong { color: #F4F1E8 !important; background: #0B3D33; padding: 0 0.4rem; }
#chart[data-case="DC003"] tr:last-child .bar { background: #4F6A60 !important; }
.kicker, .tour-note { text-transform: none !important; letter-spacing: 0 !important; }
