/* Autonomyware Solutions: Manufacturing only. Loaded after solutions.css on /solutions/manufacturing.
   Shared tokens, frames and blocks live in solutions.css; this file holds what is this page's alone.

   Character: a well-run shop floor, drawn in the Solutions theme. Floor markings (hazard tape, aisle
   lines, bay corners), machine plates (rivets, an engraved frame, a stamped tag), route sheets
   (OP 10, OP 20 …) and a CAM workbench on the Library's daylight studio. All of it is line work, mono
   type and the page's ochre tint; teal stays the only interactive colour. Every surface below is a
   theme token, so the page follows light / dark; only the 3D stage is the always-light studio. */

/* ---- Theme ---- */
.sol-theme-manufacturing {
  /* Hero motif: hazard tape along the top edge, an aisle line under it, a dashed lane line lower down,
     and the tint's wash behind the workbench still. */
  --sol-motif:
    repeating-linear-gradient(-45deg, var(--sol-tint) 0 9px, transparent 9px 18px) left top / 100% 7px no-repeat,
    linear-gradient(var(--sol-tint-line), var(--sol-tint-line)) left 0 top 13px / 100% 1px no-repeat,
    repeating-linear-gradient(90deg, var(--sol-tint-line) 0 40px, transparent 40px 64px) left 0 bottom 18% / 100% 2px no-repeat,
    radial-gradient(55% 60% at 78% 45%, var(--sol-tint-wash), transparent 70%);
  /* Drafting corner marks, in the tint (bay corners on the floor, registration marks on a sheet). */
  --mfg-mark: var(--sol-tint);
  --mfg-corners:
    linear-gradient(var(--mfg-mark), var(--mfg-mark)) left top / 18px 2px,
    linear-gradient(var(--mfg-mark), var(--mfg-mark)) left top / 2px 18px,
    linear-gradient(var(--mfg-mark), var(--mfg-mark)) right top / 18px 2px,
    linear-gradient(var(--mfg-mark), var(--mfg-mark)) right top / 2px 18px,
    linear-gradient(var(--mfg-mark), var(--mfg-mark)) left bottom / 18px 2px,
    linear-gradient(var(--mfg-mark), var(--mfg-mark)) left bottom / 2px 18px,
    linear-gradient(var(--mfg-mark), var(--mfg-mark)) right bottom / 18px 2px,
    linear-gradient(var(--mfg-mark), var(--mfg-mark)) right bottom / 2px 18px;
  /* The studio stage is light in both themes, so what floats on it is drawn for a light ground. */
  --mfg-on-stage: #16181C;
  --mfg-on-stage-soft: #454A52;
  --mfg-stage-chip: rgba(251, 250, 246, 0.88);
  --mfg-stage-grid: rgba(22, 24, 28, 0.05);
  /* Code panels: G/M words in the tint, comments soft, line numbers quiet. */
  --mfg-code-g: var(--sol-tint-ink);
  --mfg-code-c: var(--ink-soft);
  --mfg-code-ln: var(--muted);
  /* Machine plates */
  --mfg-rivet: var(--line-strong);
}

/* ---- Hero ---- */
.sol-hero--mfg h1 { font-size: clamp(36px, 4.6vw, 62px); }
/* the workbench window stands in a marked bay */
.sol-hero--mfg .sol-hero-media::after { content: ""; position: absolute; inset: -12px; pointer-events: none; background: var(--mfg-corners); background-repeat: no-repeat; opacity: .9; }
.sol-media--cam { aspect-ratio: 16 / 11; background: var(--sol-stage-glow), var(--sol-stage); }
.sol-media--cam img { object-fit: cover; }

/* ---- The CAM workbench ---- */
.sol-theme-manufacturing .sol-sec--cam { padding-top: clamp(40px, 6vw, 80px); }
.sol-cam { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--raised); box-shadow: var(--shadow-pop); }
/* part tabs: the document tabs of a CAM job */
.sol-cam-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--sol-frame-bar); border-bottom: 1px solid var(--line); }
.sol-cam-tabs button { appearance: none; display: grid; gap: 3px; padding: 13px 18px 14px; text-align: left; border: 0; border-right: 1px solid var(--line-soft); background: transparent; color: var(--ink-soft); cursor: pointer; transition: background .16s ease; }
.sol-cam-tabs button:last-child { border-right: 0; }
.sol-cam-tabs button:hover { background: var(--raised-hover); }
.sol-cam-tabs button b { font-size: 15px; font-weight: 650; color: var(--ink); }
.sol-cam-tabs button span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .02em; }
.sol-cam-tabs button[aria-selected="true"] { background: var(--raised); box-shadow: inset 0 2px 0 var(--teal-bright); }
.sol-cam-tabs button:focus-visible { outline: 2px solid var(--teal); outline-offset: -3px; }
.sol-cam-body { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.75fr); }
/* the stage: the Library's daylight studio, with a machine-table grid and the bay's corner marks */
.sol-cam-view { position: relative; min-height: 560px;
  background:
    linear-gradient(var(--mfg-stage-grid) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, var(--mfg-stage-grid) 1px, transparent 1px) 0 0 / 40px 40px,
    var(--sol-stage-glow), var(--sol-stage); }
.sol-cam-stage::after { content: ""; position: absolute; inset: 10px; pointer-events: none; background: var(--mfg-corners); background-repeat: no-repeat; opacity: .75; }
.sol-cam-stage { position: absolute; inset: 0; touch-action: pan-y; }
.sol-cam-canvas { display: block; width: 100%; height: 100%; }
.sol-cam-fallback { position: absolute; inset: auto 20px 50% 20px; text-align: center; color: var(--mfg-on-stage-soft); font-size: 14px; }
.sol-cam-stage canvas ~ .sol-cam-fallback, .sol-cam:not(.is-failed) .sol-cam-stage:has(canvas) .sol-cam-fallback { display: none; }
/* HUD over the stage (light chips: the stage is light in both themes) */
.sol-cam-hud { position: absolute; left: 18px; right: 18px; bottom: 16px; display: grid; gap: 8px; pointer-events: none; }
.sol-cam-now { justify-self: start; max-width: 100%; padding: 6px 11px; border-radius: var(--radius-sm); border: 1px solid rgba(22, 24, 28, 0.1); border-left: 3px solid var(--sol-tint); font-family: var(--font-mono); font-size: 12px; color: var(--mfg-on-stage); background: var(--mfg-stage-chip); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sol-cam-bar { height: 3px; border-radius: 2px; background: rgba(22, 24, 28, 0.12); overflow: hidden; }
.sol-cam-bar i { display: block; height: 100%; background: var(--sol-tint); transform-origin: left; transform: scaleX(0); }
.sol-cam-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; pointer-events: auto; }
.sol-cam-play { appearance: none; min-height: 34px; padding: 0 14px; border-radius: var(--radius); border: 0; font-weight: 650; font-size: 13px; background: var(--teal); color: #fff; cursor: pointer; }
.sol-cam-play:hover { filter: brightness(1.08); }
.sol-cam-play:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
/* Pause: the 3D motion switch (a fixed label; pressed while paused) */
.sol-cam-pause { appearance: none; display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 0 13px; border-radius: var(--radius); font-weight: 650; font-size: 13px; color: var(--mfg-on-stage); background: var(--mfg-stage-chip); border: 1px solid rgba(22, 24, 28, 0.16); cursor: pointer; }
.sol-cam-pause:hover { border-color: var(--teal); }
.sol-cam-pause:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.sol-cam-pause[aria-pressed="true"] { color: #fff; background: var(--teal); border-color: var(--teal); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.9); }
.sol-cam-controls label { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 10px; border-radius: var(--radius-sm); font-size: 12.5px; color: var(--mfg-on-stage); background: var(--mfg-stage-chip); border: 1px solid rgba(22, 24, 28, 0.1); cursor: pointer; }
.sol-cam-controls label:has(input:focus-visible) { outline: 2px solid var(--teal); outline-offset: 1px; }
.sol-cam-controls input { accent-color: var(--teal); margin: 0; }
.sol-cam-legend { position: absolute; top: 18px; left: 22px; right: 22px; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; pointer-events: none; }
.sol-cam-legend li { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border-radius: var(--radius-sm); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .02em; color: var(--mfg-on-stage-soft); background: var(--mfg-stage-chip); border: 1px solid rgba(22, 24, 28, 0.08); }
.sol-cam-legend li::before { content: ""; width: 12px; height: 3px; border-radius: 1px; background: var(--k); }
.sol-cam.is-loading .sol-cam-now { opacity: .6; }
/* the job sheet beside the stage */
.sol-cam-side { border-left: 1px solid var(--line); background: var(--raised); max-height: 640px; overflow: auto; }
.sol-cam-panel { display: grid; gap: 0; }
.sol-cam-panel[hidden], .sol-cam-code figure[hidden] { display: none; }
.sol-cam-facts { display: grid; gap: 4px; padding: 16px 18px; border-bottom: 1px solid var(--line-soft); }
.sol-cam-facts b { font-size: 16px; color: var(--ink); }
.sol-cam-facts span { font-size: 12.5px; line-height: 1.5; color: var(--ink-soft); }
.sol-cam-setup-head { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; padding: 14px 18px 6px; }
.sol-cam-setup-head b { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .06em; padding: 1px 6px; border-radius: 2px; border: 1px solid var(--sol-tint); color: var(--sol-tint-ink); }
.sol-cam-setup-head span { font-size: 12px; color: var(--ink-soft); }
.sol-cam-setup ul { list-style: none; margin: 0; padding: 0 10px 8px; }
.sol-cam-setup button { appearance: none; display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 10px; align-items: center; width: 100%; padding: 7px 8px; border: 1px solid transparent; border-radius: var(--radius); background: transparent; color: var(--ink); text-align: left; cursor: pointer; }
.sol-cam-setup button:hover { background: var(--raised-hover); }
.sol-cam-setup button:focus-visible { outline: 2px solid var(--teal); outline-offset: -2px; }
.sol-cam-setup button i { width: 12px; height: 4px; border-radius: 1px; background: var(--k); }
.sol-cam-setup button span { display: grid; gap: 1px; min-width: 0; }
.sol-cam-setup button b { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sol-cam-setup button em { font-style: normal; font-size: 11.5px; color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sol-cam-setup button time { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-soft); }
.sol-cam-setup button.is-now { background: var(--sol-tint-wash); border-color: color-mix(in srgb, var(--sol-tint) 45%, transparent); }
.sol-cam-setup button.is-isolated { background: color-mix(in srgb, var(--teal-wash) 70%, var(--raised)); border-color: var(--teal-bright); }
.sol-cam.has-isolated .sol-cam-setup button:not(.is-isolated) { opacity: .55; }
/* the certificate: an inspection slip */
.sol-cam-cert { margin: 6px 14px 16px; padding: 12px 14px; border-radius: var(--radius); background: var(--ok-wash); border: 1px solid color-mix(in srgb, var(--ok) 38%, transparent); }
.sol-cam-cert.is-held { background: var(--sol-warn-wash); border-color: color-mix(in srgb, var(--sol-warn) 45%, transparent); }
.sol-cam-cert-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.sol-cam-cert-head b { color: var(--ink); font-size: 13.5px; }
/* on the certificate slip's own wash, the pill takes the card ground back */
.sol-cam-cert .sol-pill { background: var(--raised); box-shadow: inset 0 0 0 1px currentColor; }
.sol-cam-cert ul { list-style: none; margin: 0; padding: 0; display: grid; }
.sol-cam-cert li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 5px 0; font-size: 12.5px; border-bottom: 1px solid var(--line-soft); }
.sol-cam-cert li:last-child { border-bottom: 0; }
.sol-cam-cert li b { font-weight: 500; color: var(--ink-soft); }
.sol-cam-cert li i { font-style: normal; font-family: var(--font-mono); color: var(--ink); }
.sol-cam-cert .ok, .sol-cam-cert .warn { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.sol-cam-cert .warn { background: var(--sol-warn); }
/* G-code: a theme code panel (also the dialect panels below) */
.sol-cam-code { border-top: 1px solid var(--line); background: var(--sol-panel); }
.sol-cam-code figure { margin: 0; }
.sol-cam-code figcaption { padding: 10px 18px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; color: var(--ink-soft); border-bottom: 1px solid var(--line-soft); }
.sol-cam-code figcaption::before { content: ""; display: inline-block; width: 14px; height: 2px; margin-right: 10px; vertical-align: middle; background: var(--sol-tint); }
.sol-cam-code pre, .sol-post-code { margin: 0; padding: 12px 18px 16px; max-height: 260px; overflow: auto; font-family: var(--font-mono); font-size: 12px; line-height: 1.6; color: var(--ink); columns: 2 320px; column-gap: 32px; column-rule: 1px solid var(--line-soft); white-space: pre-wrap; overflow-wrap: anywhere; }
.sol-cam-code code > span, .sol-post-code code > span { break-inside: avoid; }
.sol-cam-code .ln, .sol-post-code .ln { display: inline-block; width: 2.4em; margin-right: 10px; color: var(--mfg-code-ln); user-select: none; }
.sol-cam-code .c, .sol-post-code .c { color: var(--mfg-code-c); font-style: italic; }
.sol-cam-code .g, .sol-post-code .g { color: var(--mfg-code-g); font-weight: 600; }

/* ---- The proof chain: a route sheet, OP 10 → OP 40 ---- */
.sol-proof { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--raised); }
.sol-proof li { position: relative; display: grid; align-content: start; gap: 8px; padding: 22px 22px 24px; border-left: 1px solid var(--line-soft); }
.sol-proof li:first-child { border-left: 0; }
.sol-proof li:not(:last-child)::after { content: ""; position: absolute; right: -7px; top: 29px; z-index: 1; width: 12px; height: 12px; border-top: 1.5px solid var(--sol-tint); border-right: 1.5px solid var(--sol-tint); background: var(--raised); transform: rotate(45deg); }
.sol-proof-n { justify-self: start; font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .08em; padding: 1px 6px; border-radius: 2px; border: 1px solid var(--sol-tint); color: var(--sol-tint-ink); }
.sol-proof b { font-size: 17px; }
.sol-proof span:last-child { font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); }

/* ---- Findings sent back to the design: change notes ---- */
.sol-dfm { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.sol-dfm-card { display: grid; align-content: start; gap: 10px; padding: 18px 18px 20px 20px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--raised); box-shadow: inset 3px 0 0 var(--sol-warn); }
.sol-dfm-card.is-warn { box-shadow: inset 3px 0 0 var(--line-strong); }
.sol-dfm-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.sol-dfm-head b { font-size: 16px; }
.sol-dfm-head span:not(.sol-pill) { font-family: var(--font-mono); font-size: 11px; letter-spacing: .02em; color: var(--ink-soft); }
.sol-dfm-head .sol-pill { margin-left: auto; }
/* a warning is advice, not a release state: a neutral tag instead of the green one */
.sol-dfm-card.is-warn .sol-pill { color: var(--ink-soft); background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); }
.sol-dfm-problem { font-size: 14.5px; line-height: 1.6; color: var(--ink); }
.sol-dfm-change { display: grid; gap: 4px; padding: 10px 12px; border-radius: var(--radius); font-size: 14px; line-height: 1.5; background: var(--raised-2); border: 1px dashed color-mix(in srgb, var(--sol-tint) 60%, transparent); color: var(--ink-soft); }
.sol-dfm-change b { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--sol-tint-ink); }

/* ---- The gearbox across the workshop: a schedule board ---- */
.sol-gantt { display: grid; gap: 14px; padding: clamp(16px, 2.4vw, 28px); border-radius: var(--radius-lg); background: var(--raised); color: var(--ink); border: 1px solid var(--line); }
.sol-gantt-axis { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px; }
.sol-gantt-axis ol { position: relative; height: 18px; margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
.sol-gantt-axis li { position: absolute; top: 0; transform: translateX(-50%); font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-soft); }
.sol-gantt-axis li:first-child { transform: none; }
.sol-gantt-lane { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 8px 16px; align-items: center; }
.sol-gantt-name { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 0 10px; align-items: center; }
.sol-gantt-name svg { grid-row: span 2; width: 40px; height: 40px; padding: 6px; border-radius: var(--radius-sm); border: 1px solid color-mix(in srgb, var(--sol-tint) 50%, transparent); color: var(--sol-tint-ink); }
.sol-gantt-name b { font-size: 14px; }
.sol-gantt-name span { font-size: 12px; color: var(--ink-soft); }
.sol-gantt-track { position: relative; height: 54px; margin: 0; padding: 0; list-style: none; border-radius: var(--radius-sm); background: repeating-linear-gradient(90deg, var(--line-soft) 0 1px, transparent 1px 10%), var(--paper-deep); }
/* the bars are the tint (the contract's "lines/bars"): the tint for the mill, its text shade for the lathe */
.sol-gantt-job { position: absolute; top: 5px; bottom: 5px; display: grid; align-content: center; gap: 1px; padding: 0 8px; overflow: hidden; border-radius: 3px; background: var(--sol-tint); color: #16181C; box-shadow: inset -2px 0 0 var(--raised); }
.sol-gantt-lane:nth-of-type(3) .sol-gantt-job { background: var(--sol-tint-ink); color: var(--paper); }
.sol-gantt-job b { font-size: 11.5px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sol-gantt-job span { font-family: var(--font-mono); font-size: 10.5px; opacity: .85; }
.sol-gantt-held { grid-column: 2; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sol-gantt-held:empty { display: none; }
/* held parts sit behind hazard tape */
.sol-gantt-held li { flex: 1 1 260px; display: grid; gap: 2px; padding: 8px 10px 8px 22px; border-radius: var(--radius-sm); font-size: 12px; line-height: 1.45; color: var(--ink-soft); background: repeating-linear-gradient(-45deg, var(--sol-warn) 0 5px, transparent 5px 10px) left / 10px 100% no-repeat, var(--sol-warn-wash); border: 1px dashed color-mix(in srgb, var(--sol-warn) 55%, transparent); }
.sol-gantt-held b { color: var(--ink); font-size: 12.5px; }
.sol-gantt-buy { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sol-gantt-buy li { padding: 7px 11px; border-radius: var(--radius-sm); font-size: 12.5px; background: var(--raised-2); border: 1px solid var(--line); }
.sol-gantt-buy b { color: var(--sol-tint-ink); font-family: var(--font-mono); }
.sol-gantt-note { margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--line-soft); font-size: 13px; line-height: 1.55; color: var(--ink-soft); }

/* ---- Posted for your control: editor tabs over a theme code panel ---- */
.sol-post { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(20px, 3vw, 48px); align-items: start; }
.sol-post-box { border-radius: var(--radius-lg); overflow: hidden; background: var(--sol-panel); border: 1px solid var(--line); box-shadow: var(--shadow-pop); }
.sol-post-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--sol-frame-bar); border-bottom: 1px solid var(--line); }
.sol-page .sol-post-tabs .sol-tab { display: grid; gap: 3px; padding: 12px 14px; border: 0; border-right: 1px solid var(--line-soft); border-radius: 0; background: var(--raised); color: var(--ink-soft); }
.sol-page .sol-post-tabs .sol-tab:last-child { border-right: 0; }
.sol-page .sol-post-tabs .sol-tab:hover { background: var(--raised-hover); }
.sol-post-tabs .sol-tab b { font-size: 14px; color: var(--ink); }
.sol-post-tabs .sol-tab span { font-family: var(--font-mono); font-size: 10.5px; line-height: 1.4; }
.sol-page .sol-post-tabs .sol-tab[aria-selected="true"] { background: var(--sol-panel); box-shadow: inset 0 2px 0 var(--teal-bright); }
.sol-page .sol-post-tabs .sol-tab:focus-visible { outline: 2px solid var(--teal); outline-offset: -3px; }
.sol-post-code { max-height: none; columns: auto; column-rule: none; }
.sol-post-foot { margin: 0 18px 16px; padding: 8px 0 8px 12px; border-left: 3px solid var(--sol-warn); font-size: 13px; line-height: 1.5; color: var(--ink-soft); }

/* ---- The process atlas: machine plates ---- */
.sol-atlas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; counter-reset: plate; }
.sol-atlas li { position: relative; counter-increment: plate; display: grid; align-content: start; gap: 8px; padding: 26px 22px 24px;
  border-radius: var(--radius); border: 1px solid var(--line);
  outline: 1px solid var(--line); outline-offset: -7px;              /* the engraved frame */
  background:
    radial-gradient(circle at 14px 14px, var(--mfg-rivet) 0 2.5px, transparent 3px),
    radial-gradient(circle at calc(100% - 14px) 14px, var(--mfg-rivet) 0 2.5px, transparent 3px),
    radial-gradient(circle at 14px calc(100% - 14px), var(--mfg-rivet) 0 2.5px, transparent 3px),
    radial-gradient(circle at calc(100% - 14px) calc(100% - 14px), var(--mfg-rivet) 0 2.5px, transparent 3px),
    var(--raised); }
.sol-atlas li::before { content: "No. " counter(plate, decimal-leading-zero) / ""; position: absolute; top: 18px; right: 28px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; color: var(--ink-soft); }
.sol-atlas svg { width: 44px; height: 44px; color: var(--sol-tint-ink); }
.sol-atlas b { font-size: 16px; }
.sol-atlas code { justify-self: start; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; padding: 2px 7px; border-radius: 2px; border: 1px solid var(--sol-tint); color: var(--sol-tint-ink); }
.sol-atlas span { font-size: 13.5px; line-height: 1.55; color: var(--ink-soft); }

/* ---- Your workshop: the rack (asset tags) and the flow (stations along a lane) ---- */
.sol-shop { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(16px, 3vw, 40px); align-items: start; }
.sol-shop-rack { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sol-shop-rack li { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--raised); }
.sol-shop-rack li::before { content: ""; position: absolute; left: -1px; top: -1px; width: 14px; height: 14px; pointer-events: none; border-left: 2px solid var(--sol-tint); border-top: 2px solid var(--sol-tint); border-top-left-radius: var(--radius); }
.sol-shop-rack svg { width: 44px; height: 44px; padding: 7px; border-radius: var(--radius-sm); border: 1px solid color-mix(in srgb, var(--sol-tint) 50%, transparent); color: var(--sol-tint-ink); }
.sol-shop-rack b { display: block; font-size: 15px; }
.sol-shop-rack span { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); }
.sol-shop-flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: flow; }
.sol-shop-flow li { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 2px 12px; padding: 0 0 18px; }
.sol-shop-flow li::before { counter-increment: flow; content: counter(flow, decimal-leading-zero); grid-row: span 2; display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--radius-sm); font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; border: 1.5px solid var(--sol-tint); color: var(--sol-tint-ink); background: var(--raised); }
/* the lane between stations: a dashed floor line */
.sol-shop-flow li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 36px; bottom: 4px; width: 2px; background: repeating-linear-gradient(180deg, var(--sol-tint) 0 6px, transparent 6px 11px); opacity: .7; }
.sol-shop-flow b { font-size: 15px; padding-top: 5px; }
.sol-shop-flow span { font-size: 14px; line-height: 1.5; color: var(--ink-soft); }
.sol-shop-bom { margin-top: clamp(28px, 4vw, 48px); }

/* ---- Responsive ---- */
@media (max-width: 1080px) {
  .sol-atlas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sol-proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sol-proof li:nth-child(3) { border-left: 0; } .sol-proof li:nth-child(n+3) { border-top: 1px solid var(--line-soft); } .sol-proof li:nth-child(2)::after { display: none; }
  .sol-dfm { grid-template-columns: minmax(0, 1fr); }
  .sol-cam-body { grid-template-columns: minmax(0, 1fr); }
  .sol-cam-side { border-left: 0; border-top: 1px solid var(--line); max-height: none; }
}
@media (max-width: 860px) {
  .sol-post, .sol-shop { grid-template-columns: minmax(0, 1fr); }
  .sol-gantt-axis { display: none; }
  .sol-gantt-lane { grid-template-columns: minmax(0, 1fr); }
  .sol-gantt-held { grid-column: 1; }
  .sol-gantt-track { height: auto; display: grid; gap: 6px; background: none; }
  .sol-gantt-job { position: static; width: auto !important; padding: 8px 10px; box-shadow: none; grid-template-columns: minmax(0, 1fr) auto; }
  .sol-cam-view { min-height: 0; display: flex; flex-direction: column; }
  .sol-cam-stage { position: relative; inset: auto; height: 380px; }
  /* below the stage the HUD sits on the theme's own surface */
  .sol-cam-hud { position: static; padding: 12px 14px 14px; background: var(--sol-frame-bar); border-top: 1px solid var(--line); }
  .sol-cam-now { white-space: normal; color: var(--ink); background: var(--raised); border-color: var(--line); border-left-color: var(--sol-tint); }
  .sol-cam-bar { background: var(--line); }
  .sol-cam-controls label, .sol-cam-pause:not([aria-pressed="true"]) { color: var(--ink); background: var(--raised); border-color: var(--line); }
  .sol-cam-tabs button { padding: 12px 10px; }
  .sol-cam-tabs button span { display: none; }
  .sol-cam-code pre { columns: auto; column-rule: none; }
}
@media (max-width: 560px) {
  .sol-atlas, .sol-proof, .sol-shop-rack { grid-template-columns: minmax(0, 1fr); }
  .sol-proof li { border-left: 0 !important; border-top: 1px solid var(--line-soft); } .sol-proof li:first-child { border-top: 0; } .sol-proof li::after { display: none; }
  .sol-cam-stage { height: 320px; }
  .sol-cam-legend { display: none; }
  .sol-post-tabs .sol-tab span { display: none; }
  .sol-hero--mfg .sol-hero-media::after { inset: -8px; }
  .sol-dfm-change b, .sol-gantt-axis li, .sol-gantt-job span, .sol-atlas code, .sol-atlas li::before { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .sol-cam-tabs button { transition: none; }
}
