/* Burstdeck: a control console in front of a sealed lab.
   You look through armoured glass into the lab where your servers run; in front of you is the deck:
   machined, rounded hardware in a calm green-grey, labels on cream plates, a seven-segment price readout
   and a red button under a safety cover. Amber means money, red means "you must act", green means fine.
   Text uses the system font (San Francisco on Apple devices); the wordmark uses Anybody. */

@font-face {
  font-family: "Anybody";
  src: url("fonts/anybody-latin-standard-normal.woff2") format("woff2-variations");
  font-weight: 100 900; font-stretch: 50% 150%; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paint: #3e5853;
  --paint-2: #47625c;     /* raised surfaces */
  --paint-lo: #23332f;
  --well: #18221f;        /* recessed areas */
  --well-line: rgba(255, 255, 255, 0.07);
  --plate: #ece6d2;
  --engrave: #1b211f;
  --lab: #0c1514;
  --lab-light: #9fe6ff;
  --amber: #ffb000;
  --amber-off: rgba(255, 176, 0, 0.09);
  --red: #ff453a;
  --green: #5ee89a;
  --hazard: #f2c200;
  --text: #f2f5f3;
  --text-2: #c9d6d1;      /* secondary text: 4.5:1 or better on every surface here */
  --focus: #ffd36b;
  --r-xl: 26px; --r-l: 20px; --r-m: 14px; --r-s: 10px;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.07) inset, 0 -1px 0 rgba(0, 0, 0, 0.25) inset, 0 14px 34px -18px rgba(0, 0, 0, 0.7), 0 2px 6px -2px rgba(0, 0, 0, 0.35);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", system-ui, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--paint-lo); }
body {
  margin: 0; min-height: 100vh;
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.47; letter-spacing: -0.01em; color: var(--text);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(255, 255, 255, 0.06), transparent 60%),
    linear-gradient(180deg, var(--paint) 0%, #344b46 100%) fixed;
}
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 10px; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: var(--text); text-underline-offset: 3px; text-decoration-thickness: 1px; }
[hidden] { display: none !important; }

.deck { max-width: 1180px; margin: 0 auto; padding: 0 0 4rem; }

/* ---------- the window into the lab ---------- */
.window {
  position: relative; margin: 0; overflow: hidden;
  border: 9px solid #2c3d39; border-top-width: 10px; border-radius: 0 0 var(--r-xl) var(--r-xl);
  background: var(--lab);
  box-shadow: inset 0 0 0 1.5px #0f1a18, 0 18px 40px -20px rgba(0, 0, 0, 0.8);
}
@media (min-width: 900px) { .window { border-radius: var(--r-xl); margin: 1.5rem 1.5rem 0; } }
.lab { display: block; width: 100%; height: auto; aspect-ratio: 400 / 130; max-height: 160px; }
@media (min-width: 900px) { .lab { aspect-ratio: 980 / 118; max-height: 190px; } }
.lab-film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; transition: opacity 600ms linear; }
.window.has-film .lab { visibility: hidden; }
.window::before { /* the glass: one soft reflection and a gentle vignette */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background:
    linear-gradient(115deg, transparent 22%, rgba(255, 255, 255, 0.07) 23%, rgba(255, 255, 255, 0.015) 32%, transparent 33%),
    radial-gradient(130% 100% at 50% 40%, transparent 60%, rgba(0, 0, 0, 0.35));
}
.sill { position: absolute; left: 0; right: 0; bottom: 0; height: 8px; z-index: 3; background: repeating-linear-gradient(-45deg, var(--hazard) 0 9px, #141414 9px 18px); }
.window-plate { position: absolute; z-index: 3; left: 0.875rem; top: 0.75rem; }
.wordmark {
  margin: 0; padding: 0.25rem 0.65rem 0.2rem; border-radius: var(--r-s); background: var(--plate); color: var(--engrave);
  display: inline-flex; align-items: center; gap: 0.45rem; padding-left: 0.35rem;
  font-family: "Anybody", var(--font-display); font-size: 1.25rem; font-weight: 700; font-stretch: 100%; line-height: 1.15; letter-spacing: -0.03em;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset, 0 2px 6px rgba(0, 0, 0, 0.35);
}
.window-plate { display: flex; flex-direction: column; align-items: flex-start; gap: 0.375rem; }
.tagline {
  margin: 0; padding: 0.15rem 0.6rem; border-radius: 999px; background: rgba(12, 20, 19, 0.62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 0.8125rem; font-weight: 600; color: #f2f5f3; letter-spacing: 0.005em;
}
.lab-status {
  position: absolute; z-index: 3; right: 0.75rem; bottom: 1.125rem; margin: 0; text-align: right;
  padding: 0.2rem 0.6rem; border-radius: 999px; background: rgba(12, 20, 19, 0.62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 0.8125rem; font-weight: 500; color: var(--lab-light);
}
.sound {
  position: absolute; z-index: 4; right: 0.75rem; top: 0.75rem; display: flex; align-items: center; gap: 0.45rem;
  min-height: 36px; border: 0; border-radius: 999px; padding: 0 0.85rem 0 0.7rem;
  background: rgba(12, 20, 19, 0.62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #f2f5f3;
  font-size: 0.875rem; font-weight: 600;
}
.sound::before { content: ""; position: absolute; inset: -4px; } /* 44 px touch target */
.sound-lamp { width: 8px; height: 8px; border-radius: 50%; background: #5a5f58; }
.sound[aria-pressed="true"] .sound-lamp { background: var(--green); box-shadow: 0 0 6px var(--green); }

.lab .wall { fill: #0b1d24; } .lab .tile { stroke: rgba(143, 227, 255, 0.05); stroke-width: 1; } .lab .floor { fill: #06100f; }
.lab .rack { fill: #0f262e; stroke: #1d4250; stroke-width: 1.2; } .lab .rack-top { fill: #163541; }
.lab .led { fill: rgba(109, 255, 160, 0.12); } .lab .busy .led { fill: var(--green); animation: blink 1.4s steps(2, jump-none) infinite; }
.lab .busy .led.a { fill: var(--amber); } .lab .standby { fill: rgba(226, 53, 45, 0.6); } .lab .busy .standby { fill: var(--green); }
@keyframes blink { 0% { opacity: 1; } 50% { opacity: 0.25; } }

.console-wrap { display: block; }
.explain { margin: 0 auto; padding: 0.75rem 1.25rem 0; font-size: 0.9375rem; line-height: 1.45; color: var(--text-2); max-width: 46rem; text-align: center; text-wrap: balance; }
.explain strong { font-weight: 650; }
.explain strong { color: var(--text); }
@media (min-width: 900px) { .explain { padding: 1rem 2rem 0.25rem; font-size: 1.0625rem; max-width: 52rem; } }
.preview-note { margin: 0.625rem 1rem 0; padding: 0.375rem 0.75rem; line-height: 1.35; border-radius: var(--r-m); font-size: 0.875rem; background: rgba(255, 176, 0, 0.1); color: #ffd27a; box-shadow: inset 0 0 0 1px rgba(255, 176, 0, 0.35); }
@media (min-width: 900px) { .preview-note { margin: 0.625rem 1.5rem 0; } }

/* ---------- the console ---------- */
.console { padding: 1rem 0.75rem 0; display: grid; gap: 0.875rem; }
.col { display: grid; gap: 0.875rem; align-content: start; min-width: 0; }
@media (min-width: 900px) { .col { gap: 1.25rem; display: flex; flex-direction: column; } .col > .module.fill { flex: 1 1 auto; } }
@media (min-width: 900px) {
  .console { padding: 1.5rem 1.5rem 0; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.25rem; align-items: start; }
  .console > * { grid-column: 1 / -1; }
  .console > .col-work { grid-column: span 7; }
  .console > .col-info { grid-column: span 5; }
  .console > .col { align-self: stretch; }
}

.module {
  position: relative; border-radius: var(--r-l);
  background: linear-gradient(180deg, var(--paint-2), #3f5852);
  box-shadow: var(--shadow);
}
.module::before, .module::after { /* two quiet screws at the top corners */
  content: ""; position: absolute; top: 10px; width: 6px; height: 6px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #a4b4ae, #5a6c67 60%, #34423e); opacity: 0.8; pointer-events: none;
}
.module::before { left: 10px; } .module::after { right: 10px; }
.module > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 0.875rem 0.75rem 1.25rem; min-height: 3.5rem; border-radius: var(--r-l);
}
.module > summary::-webkit-details-marker { display: none; }
.plate {
  margin: 0; padding: 0.2rem 0.6rem; border-radius: 8px; background: var(--plate); color: var(--engrave);
  font-size: 1rem; font-weight: 650; line-height: 1.3; letter-spacing: -0.015em;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) inset, 0 1px 3px rgba(0, 0, 0, 0.3);
}
.module .count { margin-left: auto; font-size: 0.9375rem; color: var(--text-2); text-align: right; }
.chev {
  width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: rgba(0, 0, 0, 0.22); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35);
}
.chev svg { width: 14px; height: 14px; fill: none; stroke: var(--text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transform: rotate(-90deg); transition: transform 220ms cubic-bezier(.3, .7, .3, 1); }
details[open] > summary .chev svg { transform: rotate(0deg); }
.module-body { padding: 0 0.875rem 1rem; }

.lamp { width: 12px; height: 12px; border-radius: 50%; flex: none; background: #2c2f2a; box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.6); }
.lamp[data-on="red"] { background: var(--red); box-shadow: 0 0 10px var(--red); animation: beacon 1.6s ease-in-out infinite; }
.lamp[data-on="amber"] { background: var(--amber); box-shadow: 0 0 9px var(--amber); }
.lamp[data-on="green"] { background: var(--green); box-shadow: 0 0 8px var(--green); }
@keyframes beacon { 50% { opacity: 0.45; box-shadow: none; } }

.well { background: var(--well); border-radius: var(--r-m); box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.55), 0 1px 0 rgba(255, 255, 255, 0.06); }
.quiet-empty { margin: 0; padding: 0.875rem 1rem; font-size: 0.9375rem; color: var(--text-2); }

/* ---------- seven-segment readouts ---------- */
.seg { display: block; height: 100%; width: auto; overflow: visible; }
.seg .off { fill: var(--amber-off); }
.seg .on { fill: var(--amber); filter: drop-shadow(0 0 3px rgba(255, 176, 0, 0.75)); }

/* ---------- waiting for approval ---------- */
.ticket + .ticket { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--well-line); }
.ticket-head { margin: 0 0 0.625rem; }
.ticket-name { margin: 0; font-family: var(--font-display); font-size: 1.375rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
.ticket-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.875rem; align-items: stretch; }
.ticket-price { display: flex; flex-direction: column; justify-content: space-between; padding: 0.75rem 0.875rem 0.875rem; min-width: 0; }
.ticket-price .label { font-size: 0.8125rem; color: var(--text-2); }
.ticket-price .digits { height: 54px; margin: 0.5rem 0; }
.ticket-price .for { font-size: 0.9375rem; line-height: 1.35; }
.ticket-machine { margin: 0.75rem 0 0; font-size: 0.9375rem; color: var(--text-2); }
.ticket-more { margin-top: 0.5rem; font-size: 0.9375rem; }
.ticket-more summary { cursor: pointer; color: var(--text); width: max-content; max-width: 100%; padding: 0.5rem 0; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.35); }
.ticket-more dl { display: grid; grid-template-columns: auto 1fr; gap: 0.25rem 0.875rem; margin: 0.25rem 0 0; }
.ticket-more dt { color: var(--text-2); }
.ticket-more dd { margin: 0; overflow-wrap: anywhere; }
.ticket-note { margin: 0.625rem 0 0; font-size: 0.9375rem; color: #ffd27a; }
.ticket-actions { margin: 0.75rem 0 0; }
.confirm { margin-top: 0.875rem; padding: 0.875rem 1rem; border-radius: var(--r-m); background: rgba(255, 69, 58, 0.12); box-shadow: inset 0 0 0 1px rgba(255, 69, 58, 0.45); }
.confirm p { margin: 0 0 0.75rem; }

/* The red button under a safety cover. Lift the cover, then hold the button for one second.
   Built like the real part: a machined plate with four screws, a knurled steel bezel with a light ring,
   a glossy domed cap, and a hinged cover of tinted polycarbonate. */
.arm { display: grid; justify-items: center; align-content: start; gap: 0.5rem; width: 128px; }
.housing {
  --held: 0;
  position: relative; width: 124px; height: 124px; border-radius: 24px; perspective: 420px;
  display: grid; place-items: center;
  background: linear-gradient(160deg, #414a48, #22292770 0%, #1f2523 55%, #161b1a);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.14) inset, 0 -2px 4px rgba(0, 0, 0, 0.55) inset, 0 12px 24px -10px rgba(0, 0, 0, 0.75), 0 2px 0 #0b0e0d;
}
.screw {
  position: absolute; width: 8px; height: 8px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #d4dbd8, #737f7c 55%, #2d3533);
}
.screw::after { content: ""; position: absolute; left: 1px; right: 1px; top: 3.5px; height: 1px; background: rgba(0, 0, 0, 0.55); transform: rotate(35deg); }
.s1 { left: 10px; top: 10px; } .s2 { right: 10px; top: 10px; } .s3 { left: 10px; bottom: 10px; } .s4 { right: 10px; bottom: 10px; }
.bezel {
  position: relative; width: 90px; height: 90px; border-radius: 50%; display: grid; place-items: center;
  background:
    repeating-conic-gradient(rgba(0, 0, 0, 0.28) 0 2deg, rgba(255, 255, 255, 0.07) 2deg 4deg),
    conic-gradient(from 200deg, #8b9592, #eef2f0, #7d8784, #cfd6d3, #6e7875, #e2e7e5, #8b9592);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(0, 0, 0, 0.35);
}
.bezel::before { /* the light groove that fills while you hold */
  content: ""; position: absolute; inset: 7px; border-radius: 50%;
  background: conic-gradient(var(--amber) calc(var(--held) * 360deg), #2a1d07 0);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.8);
}
.redbutton {
  position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 50%; border: 0; padding: 0;
  background: radial-gradient(circle at 50% 120%, #4a0604 10%, transparent 60%), radial-gradient(circle at 45% 30%, #ff7a6e, #f0352a 45%, #b0130b 78%, #5e0703);
  box-shadow: 0 5px 0 #4a0806, 0 7px 12px rgba(0, 0, 0, 0.6), inset 0 -4px 6px rgba(0, 0, 0, 0.3), inset 0 2px 2px rgba(255, 210, 200, 0.4);
  touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
  transition: transform 70ms ease-out, box-shadow 70ms ease-out;
}
.redbutton .dome { position: absolute; left: 17%; top: 9%; width: 60%; height: 38%; border-radius: 50%; background: radial-gradient(ellipse at 50% 30%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.08) 70%, transparent 72%); pointer-events: none; }
.housing[data-armed] .redbutton { animation: ready 1.8s ease-in-out infinite; }
@keyframes ready { 50% { box-shadow: 0 5px 0 #4a0806, 0 7px 12px rgba(0, 0, 0, 0.6), 0 0 24px 5px rgba(255, 69, 58, 0.5), inset 0 -4px 6px rgba(0, 0, 0, 0.3), inset 0 2px 2px rgba(255, 210, 200, 0.4); } }
.housing[data-pressed] .redbutton { transform: translateY(4px); box-shadow: 0 1px 0 #4a0806, 0 2px 4px rgba(0, 0, 0, 0.6), inset 0 -2px 5px rgba(0, 0, 0, 0.45), inset 0 2px 2px rgba(255, 210, 200, 0.25); animation: none; }
.housing[data-done] .redbutton { animation: none; filter: brightness(1.15); }
.redbutton:disabled { filter: grayscale(0.85) brightness(0.55); cursor: not-allowed; }
.cover {
  position: absolute; inset: 11px 11px 15px; z-index: 2; border: 0; padding: 0; border-radius: 14px 14px 18px 18px;
  background:
    linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.3) 24%, rgba(255, 255, 255, 0.06) 34%, transparent 38%),
    linear-gradient(180deg, rgba(255, 100, 80, 0.42), rgba(170, 20, 12, 0.62));
  box-shadow: inset 0 0 0 1.5px rgba(255, 220, 210, 0.38), inset 0 -6px 10px rgba(90, 0, 0, 0.35), 0 6px 12px rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(1.2px) saturate(1.3); backdrop-filter: blur(1.2px) saturate(1.3);
  transform-origin: 50% 2px; transition: transform 300ms cubic-bezier(.25, 1.45, .5, 1);
  display: flex; align-items: flex-end; justify-content: center;
}
.hinge { position: absolute; left: 16px; right: 16px; top: -4px; height: 8px; border-radius: 4px; background: linear-gradient(180deg, #f0f4f2, #7a8582 55%, #3f4846); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); }
.cover-tab { margin-bottom: -7px; padding: 4px 10px; border-radius: 6px 6px 8px 8px; background: repeating-linear-gradient(-45deg, var(--hazard) 0 5px, #161616 5px 10px); font-size: 0; box-shadow: 0 2px 0 rgba(0, 0, 0, 0.5); }
.cover-tab::after { content: ""; display: block; width: 28px; height: 3px; }
.housing[data-armed] .cover { transform: rotateX(-112deg); pointer-events: none; }
.arm-label { font-size: 0.8125rem; color: var(--text-2); text-align: center; line-height: 1.3; min-height: 2.6em; margin: 0; }

/* ---------- running: LED bar for time, amber readout for cost ---------- */
.run { padding: 0.875rem 1rem; }
.run + .run { margin-top: 0.625rem; }
.run > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 0.375rem 0.75rem; align-items: center; }
.run > summary::-webkit-details-marker { display: none; }
.run-name { margin: 0; font-size: 1.0625rem; font-weight: 650; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.run-cost, .rows .right, .board .per, .run-sub, .module .count { font-variant-numeric: tabular-nums; }
.run-cost { font-size: 0.9375rem; font-weight: 600; color: var(--amber); white-space: nowrap; }
.run-cost .of { color: var(--text-2); font-weight: 400; }
.ledbar { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(24, 1fr); gap: 3px; height: 8px; margin-top: 0.375rem; }
.ledbar i { border-radius: 2px; background: rgba(94, 232, 154, 0.1); }
.ledbar i.used { background: var(--green); box-shadow: 0 0 4px rgba(94, 232, 154, 0.55); }
.ledbar i.late { background: var(--amber); box-shadow: 0 0 4px rgba(255, 176, 0, 0.55); }
.ledbar i.now { animation: blink 1.2s steps(2, jump-none) infinite; }
.run-sub { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 0.5rem; font-size: 0.8125rem; color: var(--text-2); }
.run-sub .state { color: var(--text); }
.run-detail { margin: 0.75rem 0 0; font-size: 0.9375rem; color: var(--text-2); overflow-wrap: anywhere; }
.run-detail p { margin: 0 0 0.5rem; }

/* ---------- keys: pill buttons, 44 px tall ---------- */
.key, .reject {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  border: 0; border-radius: 999px; padding: 0 1.125rem; font-size: 0.9375rem; font-weight: 600;
  background: linear-gradient(180deg, #2f3836, #1c2321); color: var(--text);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 3px 0 #0b0f0e, 0 6px 12px -6px rgba(0, 0, 0, 0.6);
  transition: transform 80ms ease-out, box-shadow 80ms ease-out;
}
.key:active, .reject:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 1px 0 #0b0f0e; }
.key.light { background: linear-gradient(180deg, #f6f1df, #ddd5bc); color: var(--engrave); box-shadow: 0 1px 0 #fff inset, 0 3px 0 #9a937a, 0 6px 12px -6px rgba(0, 0, 0, 0.5); }
.reject { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.25); }
.key:disabled { opacity: 0.55; cursor: progress; }

/* ---------- lists in wells ---------- */
.rows { list-style: none; margin: 0; padding: 0.25rem 1rem; }
.rows li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.125rem 0.875rem; align-items: center; padding: 0.75rem 0; }
.rows li + li { border-top: 1px solid var(--well-line); }
.rows .name { margin: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rows .meta { margin: 0; font-size: 0.875rem; color: var(--text-2); grid-column: 1; overflow-wrap: anywhere; }
.rows .key, .rows .right { grid-row: 1 / span 2; grid-column: 2; }
.rows .right { text-align: right; font-size: 0.9375rem; font-weight: 600; color: var(--amber); }

.board { list-style: none; margin: 0; padding: 0.625rem 1rem; }
.board li { display: grid; grid-template-columns: 7.25rem minmax(0, 1fr) 5.25rem; gap: 0.625rem; align-items: center; padding: 0.3rem 0; font-size: 0.875rem; }
.board .type { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board .bar { display: grid; grid-template-columns: repeat(16, 1fr); gap: 2px; height: 8px; }
.board .bar i { background: rgba(255, 176, 0, 0.12); border-radius: 2px; }
.board .bar i.on { background: var(--amber); }
.board li:first-child .type { color: var(--amber); font-weight: 650; }
.board .per { text-align: right; }
.note { margin: 0.625rem 0.25rem 0; font-size: 0.8125rem; color: var(--text-2); }

.how { margin: 0; padding: 0.625rem 1rem 0.625rem 2.5rem; font-size: 0.9375rem; }
.how li { padding: 0.3rem 0; max-width: 68ch; }

/* ---------- strip: region, language, month cost ---------- */
.strip { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.625rem 1rem 0.625rem 1.25rem; min-height: 3.5rem; }
.strip .region { font-size: 0.9375rem; color: var(--text-2); }
.strip .money { display: flex; align-items: center; gap: 0.5rem; }
.strip .money .digits { height: 24px; }
.strip .money .unit { font-size: 0.75rem; color: var(--text-2); text-align: right; line-height: 1.25; white-space: nowrap; }
.strip .region { white-space: nowrap; }
@media (max-width: 420px) { .strip { flex-wrap: wrap; row-gap: 0.5rem; } .strip .money { margin-left: auto; } }
.langs { /* segmented control */
  display: inline-grid; grid-auto-flow: column; padding: 3px; border-radius: 999px;
  background: rgba(0, 0, 0, 0.28); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.4);
}
.lang { position: relative; min-width: 44px; min-height: 32px; border: 0; border-radius: 999px; padding: 0 0.75rem; background: transparent; color: var(--text-2); font-size: 0.875rem; font-weight: 600; }
.lang::before { content: ""; position: absolute; inset: -6px 0; } /* 44 px touch target */
.lang[aria-pressed="true"] { background: var(--plate); color: var(--engrave); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35); }

/* ---------- setup ---------- */
.steps { list-style: none; margin: 0; padding: 1rem 1rem 0.25rem; counter-reset: step; }
.steps > li { counter-increment: step; position: relative; padding: 0 0 1.5rem 3rem; }
.steps > li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 2.125rem; height: 2.125rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--plate); color: var(--engrave); font-weight: 700;
}
.steps h3 { margin: 0.25rem 0 0.375rem; font-size: 1.0625rem; font-weight: 650; }
.steps p { margin: 0 0 0.625rem; font-size: 0.9375rem; color: var(--text-2); max-width: 60ch; }
.field { display: flex; gap: 0.5rem; align-items: center; }
.field code, .steps textarea {
  flex: 1; min-width: 0; padding: 0.625rem 0.875rem; border-radius: var(--r-s); border: 0;
  background: #0f1716; color: var(--green); box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.6);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.8125rem; overflow-wrap: anywhere;
}
.steps textarea { width: 100%; min-height: 5rem; resize: vertical; margin-bottom: 0.625rem; }
.steps textarea:focus-visible { outline: 3px solid var(--focus); }
.checks { list-style: none; margin: 0.625rem 0 0; padding: 0; font-size: 0.9375rem; }
.checks li { display: flex; gap: 0.625rem; align-items: baseline; padding: 0.25rem 0; }
.checks .lamp { width: 10px; height: 10px; position: relative; top: 1px; }

.toast {
  position: fixed; left: 50%; bottom: calc(1rem + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 10;
  max-width: min(92vw, 34rem); padding: 0.75rem 1rem; border-radius: var(--r-m);
  background: rgba(236, 230, 210, 0.97); color: #1b211f; font-size: 0.9375rem; font-weight: 500;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.7);
}
.toast[data-tone="fault"] { background: #ffd1cd; color: #3a0b07; }

@media (prefers-reduced-motion: reduce) {
  .lab .busy .led, .lamp[data-on="red"], .ledbar i.now, .housing[data-armed] .redbutton { animation: none; }
  .cover, .chev svg, .redbutton, .lab-film, .key { transition: none; }
}
@media (prefers-contrast: more) {
  :root { --text-2: #e3ebe7; --well-line: rgba(255, 255, 255, 0.2); }
  .plate, .key.light { box-shadow: 0 0 0 1px #000; }
}
@media (forced-colors: active) {
  .lamp, .ledbar i, .seg .on { forced-color-adjust: none; }
  .key, .reject, .lang, .sound, .module > summary { border: 1px solid ButtonText; }
}

/* ======================================================================================
   Skins. Same console, three looks. "labor" is the base above; the others only change
   colour, material and ornament. Chosen on the console; default follows the system
   (light appearance -> studio, dark -> labor).
   ====================================================================================== */
.sample-tag {
  display: inline-block; margin-left: 0.4rem; padding: 0.05rem 0.45rem; border-radius: 999px; vertical-align: 0.12em;
  font-size: 0.6875rem; font-weight: 650; letter-spacing: 0; background: rgba(255, 176, 0, 0.16); color: #ffd27a;
}
.skins { display: inline-grid; grid-auto-flow: column; gap: 6px; padding: 4px; border-radius: 999px; background: rgba(0, 0, 0, 0.28); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.4); }
.skin { position: relative; width: 26px; height: 26px; border-radius: 50%; border: 0; padding: 0; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.35); }
.skin::before { content: ""; position: absolute; inset: -9px; } /* 44 px touch target */
.skin[data-skin="labor"] { background: linear-gradient(135deg, #5a7a73 50%, #f2c200 50%); }
.skin[data-skin="studio"] { background: linear-gradient(135deg, #eef0f1 50%, #b9c0c6 50%); }
.skin[data-skin="nacht"] { background: linear-gradient(135deg, #2a3a5c 50%, #8ab4ff 50%); }
.skin[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--focus), inset 0 0 0 1.5px rgba(255, 255, 255, 0.5); }
.strip-controls { display: flex; align-items: center; gap: 0.625rem; }

/* ---------- Studio: light, calm aluminium; easy on the eyes (no pure white) ---------- */
[data-skin="studio"] {
  --paint: #e4e7e8; --paint-2: #f1f3f3; --paint-lo: #c7cdd0; --well: #f8f9f9; --well-line: rgba(0, 0, 0, 0.08);
  --plate: #2a2d2f; --engrave: #f5f6f6; --text: #1d1f20; --text-2: #50565a; --focus: #0a66d9;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 14px 30px -18px rgba(30, 40, 50, 0.35), 0 2px 6px -2px rgba(30, 40, 50, 0.15);
  color-scheme: light;
}
[data-skin="studio"] body { background: radial-gradient(120% 60% at 50% -10%, #fafbfb, transparent 60%), linear-gradient(180deg, #e7eaeb, #dde1e3) fixed; }
[data-skin="studio"] html, html[data-skin="studio"] { background: #dde1e3; }
[data-skin="studio"] .module { background: linear-gradient(180deg, #f6f7f7, #eceeef); }
[data-skin="studio"] .module::before, [data-skin="studio"] .module::after { display: none; }
[data-skin="studio"] .window { border-color: #cfd5d8; box-shadow: inset 0 0 0 1.5px #b9c1c5, 0 18px 40px -22px rgba(30, 40, 50, 0.45); }
[data-skin="studio"] .sill { height: 4px; background: linear-gradient(180deg, #d8dde0, #b6bec2); }
[data-skin="studio"] .wordmark { background: #f6f7f7; color: #1d1f20; }
[data-skin="studio"] .plate { box-shadow: none; }
[data-skin="studio"] .chev { background: rgba(0, 0, 0, 0.06); box-shadow: none; }
[data-skin="studio"] .chev svg { stroke: var(--text); }
[data-skin="studio"] .well { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06); }
[data-skin="studio"] .ticket-price.well { background: #1c2120; color: #f2f5f3; }
[data-skin="studio"] .ticket-price .label { color: #c9d6d1; }
[data-skin="studio"] .strip .money .digits { background: #1c2120; padding: 4px 8px; border-radius: 8px; height: 32px; }
[data-skin="studio"] .run-cost, [data-skin="studio"] .rows .right, [data-skin="studio"] .board li:first-child .type { color: #9a5b00; }
[data-skin="studio"] .ledbar i, [data-skin="studio"] .board .bar i { background: rgba(0, 0, 0, 0.08); }
[data-skin="studio"] .ledbar i.used { background: #22a35e; box-shadow: none; }
[data-skin="studio"] .ledbar i.late, [data-skin="studio"] .board .bar i.on { background: #e39500; box-shadow: none; }
[data-skin="studio"] .key { background: #ffffff; color: var(--text); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.08); }
[data-skin="studio"] .key.light { background: #0a66d9; color: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15); }
[data-skin="studio"] .reject { color: var(--text); box-shadow: inset 0 0 0 1.5px rgba(0, 0, 0, 0.25); }
[data-skin="studio"] .langs, [data-skin="studio"] .skins { background: rgba(0, 0, 0, 0.07); box-shadow: none; }
[data-skin="studio"] .lang[aria-pressed="true"] { background: #fff; color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18); }
[data-skin="studio"] .skin { box-shadow: inset 0 0 0 1.5px rgba(0, 0, 0, 0.2); }
[data-skin="studio"] .preview-note { background: #fff4dc; color: #6b4300; box-shadow: inset 0 0 0 1px #e8c77a; }
[data-skin="studio"] .sample-tag { background: #fff0cc; color: #6b4300; }
[data-skin="studio"] .ticket-note { color: #8a5600; }
[data-skin="studio"] .field code, [data-skin="studio"] .steps textarea { background: #fff; color: #0b6b3a; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12); }
[data-skin="studio"] .steps > li::before { background: #2a2d2f; color: #fff; }
[data-skin="studio"] .confirm { background: #ffecea; }
[data-skin="studio"] .lamp[data-on=""] { background: #c9cfd2; }
[data-skin="studio"] .lamp[data-on="green"] { background: #22a35e; box-shadow: 0 0 6px rgba(34, 163, 94, 0.6); }

/* ---------- Nacht: calm deep blue, no ornament ---------- */
[data-skin="nacht"] {
  --paint: #1c2536; --paint-2: #222d42; --paint-lo: #121826; --well: #0f1522; --well-line: rgba(255, 255, 255, 0.07);
  --plate: #d6e0ff; --engrave: #111827; --text: #eef2fb; --text-2: #b3bdd4; --focus: #8ab4ff;
}
[data-skin="nacht"] body { background: radial-gradient(120% 60% at 50% -10%, rgba(138, 180, 255, 0.08), transparent 60%), linear-gradient(180deg, #1c2536, #141b2a) fixed; }
html[data-skin="nacht"] { background: #141b2a; }
[data-skin="nacht"] .module { background: linear-gradient(180deg, #243049, #1f2a40); }
[data-skin="nacht"] .module::before, [data-skin="nacht"] .module::after { display: none; }
[data-skin="nacht"] .window { border-color: #1a2335; }
[data-skin="nacht"] .sill { height: 3px; background: linear-gradient(90deg, transparent, #8ab4ff, transparent); opacity: 0.6; }
[data-skin="nacht"] .wordmark { background: #d6e0ff; }
[data-skin="nacht"] .key.light { background: linear-gradient(180deg, #e3eaff, #c4d2fb); box-shadow: 0 1px 0 #fff inset, 0 3px 0 #7c8bb3, 0 6px 12px -6px rgba(0, 0, 0, 0.5); }
[data-skin="nacht"] .key { background: linear-gradient(180deg, #2c3852, #1d2539); }

/* ---------- Kristall: glass panels on deep indigo, a faint spectral edge ---------- */
[data-skin="kristall"] {
  --paint: #121429; --paint-2: rgba(255, 255, 255, 0.06); --paint-lo: #0a0b18; --well: rgba(6, 7, 18, 0.55); --well-line: rgba(255, 255, 255, 0.08);
  --plate: rgba(255, 255, 255, 0.14); --engrave: #f3f4ff; --text: #f3f4ff; --text-2: #bfc3e6; --focus: #b9a7ff;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 20px 40px -24px rgba(0, 0, 0, 0.9);
}
[data-skin="kristall"] body { background: radial-gradient(80% 50% at 20% 0%, rgba(150, 120, 255, 0.16), transparent 60%), radial-gradient(70% 50% at 90% 30%, rgba(80, 200, 255, 0.1), transparent 60%), linear-gradient(180deg, #121429, #0a0b18) fixed; }
html[data-skin="kristall"] { background: #0a0b18; }
[data-skin="kristall"] .module {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
}
[data-skin="kristall"] .module::before { /* spectral hairline around the glass */
  display: block; content: ""; position: absolute; inset: 0; top: 0; left: 0; width: auto; height: auto; border-radius: inherit; padding: 1px; opacity: 0.55;
  background: conic-gradient(from 120deg, #9f8cff, #5fd4ff, #ffd27a, #ff8fd0, #9f8cff);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
[data-skin="kristall"] .module::after { display: none; }
[data-skin="kristall"] .window { border-color: #1b1e3a; }
[data-skin="kristall"] .sill { height: 3px; background: linear-gradient(90deg, #9f8cff, #5fd4ff, #ffd27a, #ff8fd0); opacity: 0.7; }
[data-skin="kristall"] .wordmark { background: rgba(255, 255, 255, 0.85); color: #121429; }
[data-skin="kristall"] .plate { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); }
[data-skin="kristall"] .key { background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); }
[data-skin="kristall"] .key.light { background: linear-gradient(135deg, #d9d0ff, #b8ecff); color: #121429; box-shadow: 0 8px 20px -8px rgba(150, 130, 255, 0.6); }
[data-skin="kristall"] .lang[aria-pressed="true"] { background: rgba(255, 255, 255, 0.9); color: #121429; }
[data-skin="kristall"] .steps > li::before { background: rgba(255, 255, 255, 0.9); color: #121429; }

/* ---------- Bauhaus: cream paper, black line, red / yellow / blue, flat ---------- */
[data-skin="bauhaus"] {
  --paint: #efe6d0; --paint-2: #f6efdd; --paint-lo: #d9ceb3; --well: #fbf6ea; --well-line: rgba(22, 22, 22, 0.14);
  --plate: #161616; --engrave: #f6efdd; --text: #161616; --text-2: #4a453c; --focus: #1f4fa3;
  --bh-red: #c8321f; --bh-yellow: #efb20a; --bh-blue: #1f4fa3;
  --shadow: none; color-scheme: light;
}
[data-skin="bauhaus"] body { background: #efe6d0; }
html[data-skin="bauhaus"] { background: #efe6d0; }
[data-skin="bauhaus"] .module { background: var(--paint-2); border-radius: 6px; box-shadow: inset 0 0 0 2px #161616; }
[data-skin="bauhaus"] .module::before { display: block; left: auto; right: -9px; top: -9px; width: 18px; height: 18px; background: var(--bh-red); opacity: 1; }
[data-skin="bauhaus"] .module::after { display: none; }
[data-skin="bauhaus"] .m-run::before { background: var(--bh-blue); }
[data-skin="bauhaus"] .m-recipes::before, [data-skin="bauhaus"] .m-strip::before { background: var(--bh-yellow); border-radius: 0; }
[data-skin="bauhaus"] .window { border: 0; border-radius: 0; box-shadow: inset 0 0 0 3px #161616; }
@media (min-width: 900px) { [data-skin="bauhaus"] .window { border-radius: 0; } }
[data-skin="bauhaus"] .window::before { background: none; }
[data-skin="bauhaus"] .sill { height: 10px; background: linear-gradient(90deg, var(--bh-red) 0 33.3%, var(--bh-yellow) 0 66.6%, var(--bh-blue) 0); }
[data-skin="bauhaus"] .wordmark { background: #161616; color: #f6efdd; border-radius: 0; box-shadow: none; }
[data-skin="bauhaus"] .plate { border-radius: 0; box-shadow: none; }
[data-skin="bauhaus"] .chev { background: var(--bh-yellow); box-shadow: inset 0 0 0 2px #161616; }
[data-skin="bauhaus"] .chev svg { stroke: #161616; }
[data-skin="bauhaus"] .well { box-shadow: inset 0 0 0 1.5px #161616; border-radius: 4px; }
[data-skin="bauhaus"] .ticket-price.well { background: #161616; color: #f6efdd; }
[data-skin="bauhaus"] .ticket-price .label { color: #d9ceb3; }
[data-skin="bauhaus"] .strip .money .digits { background: #161616; padding: 4px 8px; height: 32px; }
[data-skin="bauhaus"] .run-cost, [data-skin="bauhaus"] .rows .right, [data-skin="bauhaus"] .board li:first-child .type { color: var(--bh-red); }
[data-skin="bauhaus"] .ledbar i, [data-skin="bauhaus"] .board .bar i { background: rgba(22, 22, 22, 0.1); border-radius: 0; }
[data-skin="bauhaus"] .ledbar i.used { background: var(--bh-blue); box-shadow: none; }
[data-skin="bauhaus"] .ledbar i.late, [data-skin="bauhaus"] .board .bar i.on { background: var(--bh-yellow); box-shadow: none; }
[data-skin="bauhaus"] .key { background: #f6efdd; color: #161616; box-shadow: inset 0 0 0 2px #161616; }
[data-skin="bauhaus"] .key.light { background: var(--bh-red); color: #fff; box-shadow: inset 0 0 0 2px #161616; }
[data-skin="bauhaus"] .reject { color: #161616; box-shadow: inset 0 0 0 2px #161616; }
[data-skin="bauhaus"] .langs, [data-skin="bauhaus"] .skins { background: transparent; box-shadow: inset 0 0 0 2px #161616; }
[data-skin="bauhaus"] .lang[aria-pressed="true"] { background: #161616; color: #f6efdd; box-shadow: none; }
[data-skin="bauhaus"] .preview-note { background: #fbe6a6; color: #161616; box-shadow: inset 0 0 0 2px #161616; border-radius: 0; }
[data-skin="bauhaus"] .sample-tag { background: var(--bh-yellow); color: #161616; border-radius: 0; }
[data-skin="bauhaus"] .ticket-note { color: var(--bh-red); }
[data-skin="bauhaus"] .field code, [data-skin="bauhaus"] .steps textarea { background: #fbf6ea; color: #161616; box-shadow: inset 0 0 0 2px #161616; }
[data-skin="bauhaus"] .steps > li::before { background: var(--bh-blue); color: #fff; }
[data-skin="bauhaus"] .lamp[data-on=""] { background: #d9ceb3; box-shadow: inset 0 0 0 1.5px #161616; }
[data-skin="bauhaus"] .lamp[data-on="red"] { background: var(--bh-red); box-shadow: inset 0 0 0 1.5px #161616; }
[data-skin="bauhaus"] .lamp[data-on="amber"] { background: var(--bh-yellow); box-shadow: inset 0 0 0 1.5px #161616; }
[data-skin="bauhaus"] .lamp[data-on="green"] { background: var(--bh-blue); box-shadow: inset 0 0 0 1.5px #161616; }
[data-skin="bauhaus"] .confirm { background: #fbe0da; box-shadow: inset 0 0 0 2px #161616; border-radius: 0; }
[data-skin="bauhaus"] .toast { border-radius: 0; box-shadow: 6px 6px 0 #161616; }

.skin[data-skin="kristall"] { background: conic-gradient(from 120deg, #9f8cff, #5fd4ff, #ffd27a, #ff8fd0, #9f8cff); }
.skin[data-skin="bauhaus"] { background: conic-gradient(#c8321f 0 33%, #efb20a 0 66%, #1f4fa3 0); }

/* ---------- region choice on a ticket ---------- */
.regionpick { margin: 0.75rem 0 0; }
.rp-head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.375rem 0.625rem; margin: 0; font-size: 0.9375rem; color: var(--text); }
.rp-pin { width: 0.625rem; height: 0.625rem; border-radius: 50%; background: var(--accent, #4fd18b); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent, #4fd18b) 25%, transparent); flex: none; }
.rp-save { padding: 0.125rem 0.5rem; border-radius: 999px; font-size: 0.8125rem; font-weight: 600; background: rgba(79, 209, 139, 0.14); color: #7fe0aa; }
.rp-more { margin-top: 0.375rem; }
.rp-more > summary { cursor: pointer; font-size: 0.875rem; color: var(--text-2); padding: 0.375rem 0; min-height: 44px; display: flex; align-items: center; }
.rp-more ul { list-style: none; margin: 0; padding: 0; }
.rp-more li { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 0.625rem; padding: 0.375rem 0; border-top: 1px solid var(--well-line); }
.rp-name { font-size: 0.9375rem; }
.rp-code { font-size: 0.75rem; color: var(--text-2); margin-left: 0.25rem; }
.rp-price { font-variant-numeric: tabular-nums; font-size: 0.9375rem; }
.rp-blocked { font-size: 0.8125rem; color: var(--text-2); }
.rp-more .key { min-height: 36px; padding: 0 0.875rem; font-size: 0.875rem; }
.rp-note { margin: 0.375rem 0 0; font-size: 0.8125rem; color: var(--text-2); }
.board .where { display: block; font-size: 0.75rem; color: var(--text-2); font-weight: 400; }
.hint { margin: 0.625rem 0 0; font-size: 0.875rem; color: var(--text-2); }

/* ---------- the long explanation: one line per topic, open what you need ---------- */
.guide { margin-top: 0.75rem; display: grid; gap: 0.375rem; }
.guide-part { border-radius: var(--r-m); background: var(--well); box-shadow: inset 0 0 0 1px var(--well-line); }
.guide-part > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.625rem 0.875rem; min-height: 44px; font-weight: 600; font-size: 0.9375rem; }
.guide-part > summary::-webkit-details-marker { display: none; }
.guide-part > summary .chev { width: 1rem; height: 1rem; flex: none; fill: none; stroke: currentColor; stroke-width: 2; transition: transform 0.2s; }
.guide-part[open] > summary .chev { transform: rotate(180deg); }
.guide-part p { margin: 0 0.875rem 0.75rem; font-size: 0.9375rem; line-height: 1.55; color: var(--text-2); max-width: 44rem; }
@media (prefers-reduced-motion: reduce) { .guide-part > summary .chev { transition: none; } }
[data-skin="studio"] .rp-save, [data-skin="bauhaus"] .rp-save { background: #dff3e7; color: #155c35; }
[data-skin="bauhaus"] .guide-part { border-radius: 0; box-shadow: inset 0 0 0 1.5px #161616; }
.rp-more > summary { list-style: none; gap: 0.375rem; }
.rp-more > summary::-webkit-details-marker { display: none; }
.rp-more > summary::before { content: ""; width: 0.5rem; height: 0.5rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform 0.2s; margin-right: 0.25rem; }
.rp-more[open] > summary::before { transform: rotate(45deg); }
@media (max-width: 899px) { .explain { font-size: 0.875rem; padding-top: 0.625rem; } }

/* ---------- own script: one form, link first ---------- */
.recipe-form { margin-top: 0.75rem; padding: 0; }
.recipe-form > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 0.625rem; padding: 0.75rem 0.875rem; min-height: 44px; font-weight: 600; }
.recipe-form > summary::-webkit-details-marker { display: none; }
.rf-plus { display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; flex: none; border-radius: 50%; background: var(--plate); color: var(--engrave); }
.rf-plus svg { width: 0.875rem; height: 0.875rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; display: block; }
.recipe-form[open] .rf-plus svg path { d: path("M3.5 8h9"); }
.recipe-form form { padding: 0 0.875rem 0.875rem; display: grid; gap: 0.875rem; }
.rf-rest { border: 0; margin: 0; padding: 0; display: grid; gap: 0.875rem; min-width: 0; }
.rf-rest[disabled] { opacity: 0.45; }
.rf-field { display: grid; gap: 0.375rem; min-width: 0; }
.rf-label { font-size: 0.875rem; font-weight: 600; color: var(--text); }
.rf-hint { font-size: 0.8125rem; color: var(--text-2); line-height: 1.4; }
.rf-row { display: flex; gap: 0.5rem; }
.recipe-form input:not([type=checkbox]), .recipe-form textarea { width: 100%; min-width: 0; min-height: 44px; box-sizing: border-box; padding: 0.5rem 0.75rem; border-radius: var(--r-s); border: 0; background: var(--paint-lo); color: var(--text); font: inherit; font-size: 1rem; box-shadow: inset 0 0 0 1px var(--well-line); }
.recipe-form textarea { min-height: 5rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.875rem; }
#rf-run, #rf-setup, #rf-repo { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.9375rem; }
.recipe-form input:focus-visible, .recipe-form textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.rf-found { display: flex; gap: 0.5rem; align-items: center; margin: 0; font-size: 0.875rem; color: var(--text); }
.chips { display: flex; flex-wrap: wrap; gap: 0.375rem; }
.chip { min-height: 40px; padding: 0 0.875rem; border-radius: 999px; border: 0; background: var(--paint-lo); color: var(--text); font: inherit; font-size: 0.9375rem; box-shadow: inset 0 0 0 1px var(--well-line); cursor: pointer; }
.chip[aria-checked="true"] { background: var(--plate); color: var(--engrave); box-shadow: none; font-weight: 600; }
.chip:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.rf-check { display: flex; gap: 0.625rem; align-items: flex-start; font-size: 0.9375rem; line-height: 1.45; color: var(--text-2); }
.rf-check input { width: 1.25rem; height: 1.25rem; margin-top: 0.125rem; flex: none; accent-color: var(--focus); }
.rf-more > summary { cursor: pointer; font-size: 0.875rem; color: var(--text-2); min-height: 40px; display: flex; align-items: center; }
.rf-more[open] { display: grid; gap: 0.875rem; }
.rf-save { justify-self: start; }
.rows .dl { display: flex; gap: 0.375rem; grid-column: 1 / -1; }
.rows .dl .key { min-height: 36px; padding: 0 0.75rem; font-size: 0.8125rem; }
[data-skin="bauhaus"] .chip, [data-skin="bauhaus"] .recipe-form input:not([type=checkbox]), [data-skin="bauhaus"] .recipe-form textarea { border-radius: 0; box-shadow: inset 0 0 0 1.5px #161616; background: #fbf6ea; }
[data-skin="bauhaus"] .chip[aria-checked="true"] { background: #161616; color: #f6efdd; }

/* ---------- price per core: one row per family, in words ---------- */
.board li { grid-template-columns: minmax(0, 1fr) 5.5rem 4.75rem; padding: 0.5rem 0; align-items: center; }
.board li + li { border-top: 1px solid var(--well-line); }
.board .type { white-space: normal; overflow: visible; display: grid; gap: 0.125rem; }
.board .fam { font-weight: 600; font-size: 0.9375rem; }
.board .type .where { color: var(--text-2); font-weight: 400; font-size: 0.8125rem; line-height: 1.35; }
.board .bar { gap: 1px; }
.board-key { margin-top: 0.5rem; }
.board-key .rp-note { margin: 0.375rem 0 0; line-height: 1.45; }
.board .code { font: 500 0.75rem ui-monospace, SFMono-Regular, Menlo, monospace; padding: 0.0625rem 0.375rem; border-radius: 6px; background: var(--paint-lo); color: var(--text-2); box-shadow: inset 0 0 0 1px var(--well-line); vertical-align: 0.0625rem; margin-left: 0.25rem; }
@media (max-width: 599px) {
  .board li { grid-template-columns: minmax(0, 1fr) auto; row-gap: 0.375rem; }
  .board .bar { grid-column: 1 / -1; grid-row: 2; }
}

/* ---------- regions explained in the strip ---------- */
.region-info { position: relative; min-width: 0; }
.region-info > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; }
.region-info > summary::-webkit-details-marker { display: none; }
.info-dot { display: inline-grid; place-items: center; width: 1.25rem; height: 1.25rem; border-radius: 50%; font-size: 0.75rem; font-weight: 700; background: var(--paint-lo); color: var(--text-2); box-shadow: inset 0 0 0 1px var(--well-line); }
.region-pop { margin-top: 0.375rem; padding: 0.75rem 0.875rem; border-radius: var(--r-m); background: var(--well); box-shadow: inset 0 0 0 1px var(--well-line); max-width: 34rem; }
.region-pop p { margin: 0 0 0.5rem; font-size: 0.875rem; line-height: 1.45; color: var(--text-2); }
.region-pop p:last-child { margin-bottom: 0; }

/* ---------- prices and models: families with every exact model ---------- */
.board { display: grid; gap: 0; padding: 0.25rem 0.875rem; }
.fam-group + .fam-group { border-top: 1px solid var(--well-line); }
.fam-group > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 0.625rem; align-items: center; padding: 0.625rem 0; min-height: 44px; }
.fam-group > summary::-webkit-details-marker { display: none; }
.fam-head { display: grid; gap: 0.125rem; min-width: 0; }
.fam-group .per { font-size: 0.875rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fam-group .per.best { color: var(--amber); font-weight: 650; }
.fam-group > summary .chev svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2; transition: transform 0.2s; }
.fam-group[open] > summary .chev svg { transform: rotate(180deg); }
.models { list-style: none; margin: 0 0 0.625rem; padding: 0; }
.models li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 0.25rem 0.75rem; align-items: center; padding: 0.5rem 0 0.5rem 0.75rem; border-left: 2px solid var(--well-line); }
.m-name { display: grid; gap: 0.125rem; min-width: 0; }
.m-name code { font: 600 0.875rem ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--text); }
.m-price { display: grid; justify-items: end; font-variant-numeric: tabular-nums; }
.m-price strong { font-weight: 600; font-size: 0.9375rem; }
.models .key { min-height: 36px; padding: 0 0.75rem; font-size: 0.8125rem; }
.elsewhere { font-size: 0.8125rem; color: var(--amber); }
.board .where { color: var(--text-2); font-size: 0.8125rem; }
@media (max-width: 599px) {
  .fam-group > summary { grid-template-columns: minmax(0, 1fr) auto; }
  .fam-group .per { grid-column: 1; grid-row: 2; justify-self: start; }
  .fam-group > summary .chev { grid-column: 2; grid-row: 1 / span 2; }
  .models li { grid-template-columns: minmax(0, 1fr) auto; }
  .models .m-name { grid-column: 1 / -1; }
  .m-price { display: flex; gap: 0.375rem; align-items: baseline; justify-items: start; }
}
@media (prefers-reduced-motion: reduce) { .fam-group > summary .chev svg { transition: none; } }

/* ---------- normal or Spot on a ticket: one segmented control ---------- */
.marketpick { margin-top: 0.75rem; }
.mkt { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: var(--paint-lo); box-shadow: inset 0 0 0 1px var(--well-line); max-width: 100%; }
.mkt-opt { min-width: 10.5rem; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; min-height: 48px; padding: 0 0.875rem; border: 0; border-radius: 10px; background: transparent; color: var(--text); font: inherit; cursor: pointer; transition: background 0.15s; }
.mkt-opt:hover { background: color-mix(in srgb, var(--plate) 8%, transparent); }
.mkt-opt.on { background: var(--plate); color: var(--engrave); cursor: default; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18); }
.mkt-name { display: inline-flex; align-items: center; gap: 0.375rem; font-weight: 650; }
.mkt-price { font-variant-numeric: tabular-nums; font-weight: 500; opacity: 0.92; }
.mkt-check { width: 0.875rem; height: 0.875rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.mkt-opt:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.marketpick .rf-hint { margin: 0.5rem 0 0; }
@media (max-width: 599px) { .mkt { display: grid; width: 100%; grid-auto-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .mkt-opt { transition: none; } }
[data-skin="bauhaus"] .mkt, [data-skin="bauhaus"] .mkt-opt { border-radius: 0; }
[data-skin="bauhaus"] .mkt { box-shadow: inset 0 0 0 1.5px #161616; }
[data-skin="bauhaus"] .mkt-opt.on { background: #161616; color: #f6efdd; box-shadow: none; }
[data-skin="studio"] .elsewhere, [data-skin="studio"] .fam-group .per.best { color: #8a4f00; }
[data-skin="bauhaus"] .elsewhere, [data-skin="bauhaus"] .fam-group .per.best { color: var(--bh-red); }
.models li + li { border-top: 0; }

/* ---------- other servers in the account (read only) ---------- */
.lab-warn { margin: 0 0 0.5rem; font-size: 0.875rem; color: var(--amber); }
[data-skin="studio"] .lab-warn { color: #8a4f00; }
[data-skin="bauhaus"] .lab-warn { color: var(--bh-red); }

/* ---------- new here: five steps with a picture each ---------- */
.m-start { grid-column: 1 / -1; }
.start-intro { margin: 0 0 0.875rem; max-width: 68ch; line-height: 1.5; color: var(--text-2); }
.start-steps { list-style: none; margin: 0 0 0.75rem; padding: 0; display: grid; gap: 0.625rem; counter-reset: step; }
.start-steps li { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 1rem; align-items: start; padding: 0.75rem; border-radius: var(--r-m); background: var(--well); box-shadow: inset 0 0 0 1px var(--well-line); counter-increment: step; }
.start-steps img { width: 160px; height: 120px; object-fit: cover; border-radius: var(--r-s); background: var(--paint-lo); }
.start-steps h3 { margin: 0.125rem 0 0.375rem; font-size: 1rem; font-weight: 650; }
.start-steps h3::before { content: counter(step) ". "; color: var(--text-2); font-variant-numeric: tabular-nums; }
.start-steps p { margin: 0 0 0.5rem; max-width: 68ch; line-height: 1.5; font-size: 0.9375rem; }
.start-steps p:last-child { margin-bottom: 0; }
.start-link { display: inline-flex; align-items: center; min-height: 40px; padding: 0 0.875rem; text-decoration: none; }
@media (max-width: 599px) {
  .start-steps li { grid-template-columns: 88px minmax(0, 1fr); gap: 0.75rem; }
  .start-steps img { width: 88px; height: 66px; }
}
[data-skin="bauhaus"] .start-steps li, [data-skin="bauhaus"] .start-steps img { border-radius: 0; }
.start-steps.no-pics li { grid-template-columns: minmax(0, 1fr); }
.rf-sub { display: grid; gap: 0.25rem; margin-top: 0.25rem; }
.recipe-form select { width: 100%; min-height: 44px; padding: 0 0.75rem; border-radius: var(--r-s); border: 0; background: var(--paint-lo); color: var(--text); font: inherit; box-shadow: inset 0 0 0 1px var(--well-line); }
[data-skin="bauhaus"] .recipe-form select { border-radius: 0; box-shadow: inset 0 0 0 1.5px #161616; }
.start-done { display: inline-flex; align-items: center; gap: 0.375rem; font-weight: 600; color: var(--green-text, #1d7a46); }
.start-done::before { content: "✓"; }
[data-skin="nacht"] .start-done, [data-skin="labor"] .start-done, [data-skin="kristall"] .start-done { color: #7fe0a7; }

/* ---------- the two accounts, right under the intro: real keys of the panel, in each skin's material ---------- */
.accounts { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; padding: 0.875rem 1rem 0.375rem; }
.key.acct { gap: 0.55rem; min-height: 44px; padding: 0 1.125rem 0 0.95rem; text-decoration: none; font-size: 0.9375rem; }
.key.acct:hover { filter: brightness(1.06); }
.key.acct:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.acct-go { font-weight: 500; color: var(--text-2); }
.acct-go::after { content: " ↗"; }
.acct .lamp { width: 10px; height: 10px; }
.acct-icon { width: 1.05rem; height: 1.05rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; opacity: 0.85; }
@media (min-width: 900px) { .explain-2 { display: block; } }
@media (max-width: 599px) { .acct-go { display: none; } a.acct::after { content: "↗"; font-weight: 500; color: var(--text-2); } }
@media (min-width: 900px) {
  .m-board .board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
  .m-board .fam-group + .fam-group { border-top: 0; }
  .m-board .fam-group { border-bottom: 1px solid var(--well-line); }
}

/* ---------- the new-job form across the full width on desktop ---------- */
.recipe-form-stub { display: flex; align-items: center; gap: 0.75rem; width: 100%; min-height: 52px; margin-top: 0.75rem; padding: 0 1rem; border: 0; font: inherit; font-weight: 600; font-size: 1.0625rem; color: var(--text); text-align: left; cursor: pointer; }
.recipe-form-stub:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.rf-stub-note { margin-left: auto; font-weight: 500; font-size: 0.875rem; color: var(--text-2); }
.form-wide { grid-column: 1 / -1; scroll-margin-top: 1rem; }
.form-wide > .recipe-form { margin: 0; }
@media (min-width: 900px) {
  .form-wide #recipe-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; align-items: start; }
  .form-wide .rf-found, .form-wide .rf-rest { grid-column: 1 / -1; }
  .form-wide .rf-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; align-items: start; }
}
.rf-cols, .rf-col { display: grid; gap: 0.875rem; min-width: 0; }
@media (max-width: 599px) { .count-extra { display: none; } }

/* ---------- what Burstdeck may do: one tap on the accounts row ---------- */
.accounts { position: relative; }
.acct-why { position: static; }
.acct-why .acct::after { content: none; }
.acct-why > summary { list-style: none; cursor: pointer; }
.acct-why > summary::-webkit-details-marker { display: none; }
.acct-pop { position: absolute; z-index: 5; left: 50%; transform: translateX(-50%); top: calc(100% + 0.5rem); width: min(26rem, 88vw); margin: 0; padding: 0.875rem 1rem; border-radius: var(--r-m); background: var(--well); box-shadow: inset 0 0 0 1px var(--well-line), 0 12px 30px -12px rgba(0, 0, 0, 0.45); font-size: 0.875rem; line-height: 1.5; color: var(--text); text-align: left; }
.linklike { border: 0; background: none; padding: 0; font: inherit; font-weight: 600; color: inherit; text-decoration: underline; cursor: pointer; }
[data-skin="bauhaus"] .acct-pop { border-radius: 0; box-shadow: inset 0 0 0 2px #161616; background: #fbf6ea; }

/* ---------- foot: who is behind it ---------- */
.foot { display: grid; justify-items: center; gap: 0.375rem; padding: 2rem 1rem 2.5rem; text-align: center; font-size: 0.875rem; color: var(--text-2); }
.foot p { margin: 0; }
.foot a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.foot a:hover { color: var(--text); }
.wordmark-mark { width: 1.75rem; height: 1.75rem; flex: none; }

/* ---------- the name inside the hall: a sign behind the glass, made of each hall's own material ---------- */
.lab-film { z-index: 0; }
.window-plate { z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -54%); align-items: center; gap: 0.2rem; pointer-events: none; }
.window-plate .wordmark { background: none; box-shadow: none; padding: 0; color: #f3f1ea; font-size: 1.5rem; }
.window-plate .tagline { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 0; font-size: 0.75rem; letter-spacing: 0.04em; color: rgba(243, 241, 234, 0.82); }
.window-plate .wordmark-mark { width: 2rem; height: 2rem; }
@media (max-width: 599px) { .window-plate .wordmark { font-size: 1.25rem; } .window-plate .wordmark-mark { width: 1.6rem; height: 1.6rem; } .window-plate .tagline { font-size: 0.6875rem; } }

/* Labor: a backlit hall sign hung over the aisle, a touch soft because it is far away */
[data-skin="labor"] .window-plate { padding: 0.45rem 0.9rem 0.5rem; border-radius: 6px; background: rgba(18, 22, 20, 0.8); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 0 18px rgba(255, 236, 190, 0.18); filter: blur(0.25px); }
[data-skin="labor"] .window-plate .tagline { color: #c9d6d1; }

/* Studio: painted on the white wall on the right, above the plants, turned with the wall */
[data-skin="studio"] .window-plate { left: auto; right: 13%; transform: translateY(-62%) perspective(700px) rotateY(-24deg); mix-blend-mode: multiply; }
[data-skin="studio"] .window-plate .wordmark { color: #2a2d2f; }
[data-skin="studio"] .window-plate .tagline { color: #50565a; }
@media (max-width: 599px) { [data-skin="studio"] .window-plate { right: 6%; transform: translateY(-58%) perspective(500px) rotateY(-18deg) scale(0.9); } }

/* Nacht: neon at the vanishing point at the end of the corridor */
[data-skin="nacht"] .window-plate .wordmark { color: #eef3ff; text-shadow: 0 0 4px #9cc0ff, 0 0 14px rgba(138, 180, 255, 0.75), 0 0 30px rgba(138, 180, 255, 0.35); }
[data-skin="nacht"] .window-plate .wordmark-mark { filter: drop-shadow(0 0 6px rgba(255, 176, 0, 0.55)); }
[data-skin="nacht"] .window-plate .tagline { color: #c7d6ff; text-shadow: 0 0 8px rgba(138, 180, 255, 0.5); }

/* Kristall: etched into a pane of glass between the columns */
[data-skin="kristall"] .window-plate { padding: 0.5rem 1rem 0.55rem; border-radius: 12px; background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03)); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 10px 30px -12px rgba(120, 110, 255, 0.45); }
[data-skin="kristall"] .window-plate .wordmark { color: rgba(255, 255, 255, 0.9); text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25); }
[data-skin="kristall"] .window-plate .tagline { color: #d6d9f5; }

/* Bauhaus: painted flat on the wall, no shadow, no glow */
[data-skin="bauhaus"] .window-plate { padding: 0.35rem 0.8rem 0.45rem; background: #f6efdd; box-shadow: inset 0 0 0 3px #161616; border-radius: 0; }
[data-skin="bauhaus"] .window-plate .wordmark { color: #161616; }
[data-skin="bauhaus"] .window-plate .tagline { color: #161616; }

@media (prefers-reduced-transparency: reduce) { [data-skin="kristall"] .window-plate { background: rgba(18, 20, 41, 0.92); } }
.window-plate .tagline { white-space: nowrap; }
[data-skin="studio"] .window-plate { transform: translateY(-80%) perspective(700px) rotateY(-24deg); }
@media (max-width: 599px) {
  .window-plate { top: 40%; transform: translate(-50%, -50%) scale(0.92); }
  [data-skin="studio"] .window-plate { left: 50%; right: auto; transform: translate(-50%, -50%) scale(0.92); }
}
[data-skin="studio"] .window-plate { mix-blend-mode: normal; }
[data-skin="studio"] .window-plate .wordmark, [data-skin="studio"] .window-plate .tagline { text-shadow: 0 0 6px rgba(255, 255, 255, 0.95), 0 0 14px rgba(255, 255, 255, 0.8); }

/* Depth pass: narrower, smaller signs so they sit further back in the hall */
[data-skin="labor"] .window-plate, [data-skin="nacht"] .window-plate, [data-skin="kristall"] .window-plate { transform: translate(-50%, -54%) scale(0.86); }
[data-skin="labor"] .window-plate .wordmark, [data-skin="nacht"] .window-plate .wordmark, [data-skin="kristall"] .window-plate .wordmark { font-stretch: 72%; letter-spacing: -0.01em; }
[data-skin="labor"] .window-plate .tagline, [data-skin="nacht"] .window-plate .tagline, [data-skin="kristall"] .window-plate .tagline { font-size: 0.6875rem; letter-spacing: 0.06em; }
/* Labor: a dim enamel hall sign instead of a dark box */
[data-skin="labor"] .window-plate { padding: 0.3rem 0.7rem 0.35rem; background: rgba(40, 46, 42, 0.55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); filter: blur(0.35px); opacity: 0.88; }
[data-skin="labor"] .window-plate .wordmark { color: #e6e2d6; }
/* Studio: the paint on the wall a touch firmer */
[data-skin="studio"] .window-plate .wordmark { color: #1d2022; }
[data-skin="studio"] .window-plate .tagline { color: #2f3438; font-weight: 600; }
@media (max-width: 599px) {
  [data-skin="labor"] .window-plate, [data-skin="nacht"] .window-plate, [data-skin="kristall"] .window-plate { transform: translate(-50%, -50%) scale(0.84); }
}

/* Safari draws its own select and drops our field; draw it ourselves so it matches the inputs in every skin */
.recipe-form select { -webkit-appearance: none; appearance: none; padding-right: 2.25rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5' fill='none' stroke='%23999' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.75rem center; }

/* LED blink offsets (classes instead of inline styles, which the Content-Security-Policy forbids) */
.lab .led.d0 { animation-delay: -0.00s; } .lab .led.d1 { animation-delay: -0.17s; } .lab .led.d2 { animation-delay: -0.34s; } .lab .led.d3 { animation-delay: -0.51s; } .lab .led.d4 { animation-delay: -0.68s; } .lab .led.d5 { animation-delay: -0.85s; } .lab .led.d6 { animation-delay: -1.02s; } .lab .led.d7 { animation-delay: -1.19s; } .lab .led.d8 { animation-delay: -1.36s; } .lab .led.d9 { animation-delay: -1.53s; } .lab .led.d10 { animation-delay: -1.70s; } .lab .led.d11 { animation-delay: -1.87s; } .lab .led.d12 { animation-delay: -2.04s; } .lab .led.d13 { animation-delay: -2.21s; } .lab .led.d14 { animation-delay: -2.38s; } .lab .led.d15 { animation-delay: -2.55s; } .lab .led.d16 { animation-delay: -2.72s; }

/* Foot in the Dreier Labs look: one line, the seal goes below it once Burstdeck is public */
.foot { gap: 0; }
.foot-line { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; column-gap: 0.5rem; }
.foot-line a { display: inline-flex; align-items: center; min-height: 44px; }
.foot-line b { font-weight: 700; color: var(--text); }
.foot-line .dot { opacity: 0.6; }
.foot-seal:empty { display: none; }
.foot-item { display: inline-flex; align-items: center; column-gap: 0.5rem; white-space: nowrap; }
@media (max-width: 599px) { .foot-line { flex-direction: column; } .foot-links > .dot:first-child { display: none; } }
/* Style dots: a comfortable target for a thumb on phones */
@media (max-width: 599px) { .skins { gap: 8px; } .skin { width: 34px; height: 34px; } }

/* The name is the address: ".dev" in amber, a step quieter than the name */
.wordmark .tld { color: #ffb000; opacity: 0.9; font-weight: 600; }
[data-skin="studio"] .window-plate .wordmark .tld { color: #b86e00; opacity: 1; }
[data-skin="bauhaus"] .window-plate .wordmark .tld { color: #c8331f; opacity: 1; }
[data-skin="nacht"] .window-plate .wordmark .tld { text-shadow: 0 0 6px rgba(255, 176, 0, 0.6), 0 0 16px rgba(255, 176, 0, 0.3); }

/* ".dev" reddish, like the button; Bauhaus keeps its own red */
.wordmark .tld { color: #ff6a4d; }
[data-skin="studio"] .window-plate .wordmark .tld { color: #c4301f; }
[data-skin="nacht"] .window-plate .wordmark .tld { text-shadow: 0 0 6px rgba(255, 106, 77, 0.6), 0 0 16px rgba(255, 106, 77, 0.3); }
/* Style names: shown at once on hover or keyboard focus (a tap shows a short note instead) */
.skin::after { content: attr(data-name); position: absolute; left: 50%; top: calc(100% + 8px); transform: translateX(-50%); padding: 0.2rem 0.5rem; border-radius: 6px; background: rgba(236, 230, 210, 0.97); color: #1b211f; font-size: 0.75rem; font-weight: 600; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity 0.12s; z-index: 6; }
@media (hover: hover) { .skin:hover::after { opacity: 1; } }
.skin:focus-visible::after { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .skin::after { transition: none; } }
