/* LabWorker landing page. Palette follows the LabWork interface
   (SpatialFM views/labwork.html: --m-accent #274690, --m-strip #3560b3/#1c3670). */

:root {
  --accent: #274690;
  --accent-2: #3560b3;
  --deep: #1c3670;
  --ink: #1f2937;
  --muted: #4b5568;
  --label: #14264d;
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-2: #eef1f7;
  --line: #dfe6f2;
  --chip: #e8eef9;
  --ok: #0a6b1d;
  --warn: #8a4b00;
  --shadow: 20, 38, 77;
  /* the desktop's bench (LabWork's #backdrop): a glow and a 28 px grid; theme.js sets a theme's own */
  --bd-1: color-mix(in srgb, var(--accent) 7%, var(--bg)); --bd-2: var(--bg); --bd-3: color-mix(in srgb, var(--accent) 12%, var(--bg));
  --grid: var(--accent-2); --grid-strength: 0%;
  /* the computers' materials (public/labworker/computer-art.js) */
  --pa-metal: #dfe3e9; --pa-metal-2: #c4cad3; --pa-dark: #2b313b; --pa-dark-2: #3b4350; --pa-key: #59626f;
  --pa-bezel: #10151d; --pa-bezel-light: #f3f5f8; --pa-glass: #1a2029; --pa-port: #11161d;
  --pa-imac: #c9d8f0; --pa-imac-2: #b2c5e6; --pa-screen-off: #1b2230; --pa-led-off: #6b7280; --pa-shadow: rgba(20, 38, 77, .16);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --accent: #8fb0ff;
    --accent-2: #6d8fe6;
    --deep: #0b1430;
    --ink: #e6ebf5;
    --muted: #a9b4c8;
    --label: #f2f5fb;
    --bg: #0e1424;
    --surface: #151d31;
    --surface-2: #1b2540;
    --line: #2a3656;
    --chip: #1f2b4a;
    --ok: #4ade80;
    --warn: #fbbf24;
    --shadow: 0, 0, 0;
    --grid-strength: 5%;
    --pa-metal: #b9c0cb; --pa-metal-2: #8f98a6; --pa-dark: #3a4250; --pa-dark-2: #4a5362; --pa-key: #6c7584;
    --pa-bezel: #0a0e14; --pa-bezel-light: #d8dde6; --pa-glass: #121820; --pa-port: #0b0f15;
    --pa-imac: #8ea6cf; --pa-imac-2: #7890bb; --pa-screen-off: #0c111b; --pa-led-off: #6b7280; --pa-shadow: rgba(0, 0, 0, .45);
  }
}
:root[data-theme="dark"] {
  --accent: #8fb0ff; --accent-2: #6d8fe6; --deep: #0b1430; --ink: #e6ebf5;
  --muted: #a9b4c8; --label: #f2f5fb; --bg: #0e1424; --surface: #151d31;
  --surface-2: #1b2540; --line: #2a3656; --chip: #1f2b4a; --ok: #4ade80; --warn: #fbbf24; --shadow: 0, 0, 0; --grid-strength: 5%;
  --pa-metal: #b9c0cb; --pa-metal-2: #8f98a6; --pa-dark: #3a4250; --pa-dark-2: #4a5362; --pa-key: #6c7584;
  --pa-bezel: #0a0e14; --pa-bezel-light: #d8dde6; --pa-glass: #121820; --pa-port: #0b0f15;
  --pa-imac: #8ea6cf; --pa-imac-2: #7890bb; --pa-screen-off: #0c111b; --pa-led-off: #6b7280; --pa-shadow: rgba(0, 0, 0, .45);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif); /* a LabWorker theme may set --font (Classic Terminal) */
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
h1, h2, h3 { color: var(--label); line-height: 1.15; margin: 0; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.wordmark {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1.2rem; color: var(--label); text-decoration: none;
  letter-spacing: -0.01em;
}
.wordmark-mark {
  /* the LabWorker microscope (2026-10-03); 2x and 4x files for sharp screens */
  width: 30px; height: 30px; border-radius: 7px; flex: none;
  background: url("/labworker/labworker-mark-64.png") center / cover no-repeat;
  background-image: image-set(url("/labworker/labworker-mark-64.png") 1x, url("/labworker/labworker-mark-128.png") 2x, url("/labworker/labworker-mark-256.png") 4x);
}

/* Inside the LabWorker desktop app on a Mac (public/labworker/app-shell.js sets .lw-app): the title
   bar is hidden, so the header is the window's top — it drags the window, its links stay clickable,
   and it leaves room for the window buttons (--lw-app-l/-r, from the app). */
html.lw-app .site-header { -webkit-app-region: drag; }
html.lw-app .site-header :is(a, button, input, select, textarea, summary, label, img, [role="button"], [tabindex]) { -webkit-app-region: no-drag; }
html.lw-app .site-header .header-row {
  padding-left: max(16px, calc(var(--lw-app-l, 0px) + 12px - max(0px, (100vw - 1120px) / 2)));
  padding-right: max(16px, calc(var(--lw-app-r, 0px) + 12px - max(0px, (100vw - 1120px) / 2)));
}

/* Hero */
.hero { padding: 72px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-block; margin: 0 0 16px; padding: 4px 10px; border-radius: 999px;
  background: var(--chip); color: var(--accent);
  font-size: .8rem; font-weight: 600; letter-spacing: .04em;
}
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -0.02em; }
.lede { margin: 20px 0 28px; font-size: 1.1rem; color: var(--muted); max-width: 36rem; }
.cta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.cta-note { color: var(--muted); font-size: .95rem; }

/* Desktop illustration */
.desk {
  border-radius: 14px; overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px -24px rgba(var(--shadow), .35), 0 2px 6px rgba(var(--shadow), .08);
}
.desk-bar { display: flex; gap: 6px; padding: 10px 12px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.desk-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.desk-body {
  position: relative; height: 340px;
  background:
    radial-gradient(circle at 20% 15%, color-mix(in srgb, var(--accent-2) 18%, transparent), transparent 55%),
    linear-gradient(160deg, var(--surface-2), var(--bg));
}
.win {
  position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px; box-shadow: 0 10px 24px -12px rgba(var(--shadow), .35);
}
.win-title { font-size: .72rem; font-weight: 600; color: var(--accent); margin-bottom: 10px; letter-spacing: .02em; }
.win-a { left: 6%; top: 10%; width: 46%; }
.win-b { right: 6%; top: 18%; width: 44%; }
.win-c { left: 18%; bottom: 22%; width: 42%; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px; }
.win-c .win-title { grid-column: 1 / -1; margin-bottom: 0; }
.line { height: 8px; border-radius: 4px; background: var(--surface-2); margin: 6px 0; }
.w90 { width: 90%; } .w80 { width: 80%; } .w70 { width: 70%; } .w60 { width: 60%; }
.prompt-caret { width: 2px; height: 14px; background: var(--accent); margin-top: 8px; animation: blink 1.1s steps(1) infinite; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tiles i { display: block; height: 40px; border-radius: 6px; background: linear-gradient(135deg, var(--chip), var(--surface-2)); border: 1px solid var(--line); }
.tiles i:first-child { background: linear-gradient(135deg, var(--accent-2), var(--deep)); border-color: transparent; }
.check {
  width: 18px; height: 18px; border-radius: 50%; background: var(--ok); position: relative;
}
.check::after {
  content: ""; position: absolute; left: 6px; top: 3px; width: 4px; height: 8px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.dock {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  display: flex; gap: 8px; padding: 8px 10px; border-radius: 12px;
  background: color-mix(in srgb, var(--surface) 80%, transparent); border: 1px solid var(--line);
}
.dock i { display: block; width: 22px; height: 22px; border-radius: 6px; background: var(--chip); }
.dock i:nth-child(2) { background: var(--accent-2); }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .prompt-caret { animation: none; } }

/* Steps */
.steps { padding: 64px 0; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); letter-spacing: -0.015em; }
.steps h2 span { color: var(--accent); }
.step-list { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step-list li { padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.step-num {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px;
  background: var(--chip); color: var(--accent); font-weight: 700; font-size: .9rem;
}
.step-list h3 { margin: 14px 0 6px; font-size: 1.1rem; }
.step-list p { margin: 0; color: var(--muted); font-size: .97rem; }

/* Models */
.models { padding: 56px 0; }
.models-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.models h2 { font-size: 1.5rem; }
.models p { margin: 6px 0 0; color: var(--muted); }
.model-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.model-chips li {
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--label); font-weight: 600; font-size: .95rem;
}

/* Closing */
.closing { padding: 0 0 72px; }
.closing-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 36px 32px; border-radius: 16px;
  background: linear-gradient(135deg, #3560b3 0%, #1c3670 100%);
}
.closing h2 { color: #fff; font-size: clamp(1.3rem, 2.6vw, 1.8rem); max-width: 34rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 24px 0; color: var(--muted); font-size: .9rem; }
.footer-row { display: flex; justify-content: space-between; gap: 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
@media (max-width: 700px) { .footer-row { flex-direction: column; } }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--accent); }

/* Pricing (public/pricing.html, 2026-10-12): the plans are drawn by labworker/pricing.js from LabWork's own list. */
.header-nav { display: flex; align-items: center; gap: 20px; }
.header-link[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
.pricing-hero { padding: 64px 0 24px; }
.pricing-hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); letter-spacing: -0.02em; max-width: 22ch; }
.pricing-plans { padding: 16px 0 48px; }
.plans-status { color: var(--muted); margin: 0 0 16px; }
.plans-status[hidden] { display: none; }
.plans-note { color: var(--muted); font-size: .95rem; margin-top: 20px; }
.plan-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; }
.plan-card {
  display: flex; flex-direction: column; gap: 12px; padding: 24px 20px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: 0 10px 24px -18px rgba(var(--shadow), .5);
}
.plan-name { font-size: 1.15rem; color: var(--label); margin: 0; }
.plan-price { margin: 0; color: var(--label); }
.plan-amount { font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; }
.plan-contact .plan-amount { font-size: 1.4rem; }
.plan-per { color: var(--muted); font-size: .95rem; }
.plan-blurb { margin: 0; color: var(--muted); font-size: .95rem; }
.plan-items { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 8px; flex: 1; align-content: start; }
.plan-items li { display: grid; grid-template-columns: 1.25rem 1fr; gap: 6px; font-size: .95rem; color: var(--ink); }
.plan-mark { font-weight: 700; }
.plan-yes .plan-mark { color: var(--ok); }
.plan-no { color: var(--muted); }
.plan-no .plan-mark { color: var(--muted); }
.plan-card .btn-primary, .plan-card .btn-secondary { justify-content: center; }
.pricing-groups, .pricing-power { padding: 56px 0; background: var(--surface); border-top: 1px solid var(--line); }
.pricing-power { background: transparent; }
.section-lede { color: var(--muted); max-width: 44rem; margin: 10px 0 28px; }
.power-list { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0; }
.coming { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--warn); border: 1px solid currentColor; border-radius: 999px; padding: 1px 8px; vertical-align: middle; white-space: nowrap; }
.pricing-faq { padding: 56px 0; background: var(--surface); border-top: 1px solid var(--line); }
.faq-wrap { max-width: 820px; }
.faq { margin: 20px 0 0; }
.faq dt { font-weight: 700; color: var(--label); margin-top: 20px; }
.faq dd { margin: 6px 0 0; color: var(--ink); }
.pricing-faq + .closing { padding-top: 56px; }
@media (max-width: 1000px) { .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .power-list { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .plan-grid, .plan-grid-2 { grid-template-columns: 1fr; } .header-nav { gap: 12px; } .pricing-hero { padding: 40px 0 16px; } }

/* Plan & billing (the Dashboard, public/labworker/plan.js, 2026-10-13) — the plan cards are the pricing page's */
.plan-now { margin: 20px 0 8px; }
.plan-now-label { margin: 0; color: var(--muted); font-size: .9rem; }
.plan-now-name { margin: 2px 0 8px; font-size: 1.8rem; font-weight: 700; letter-spacing: -0.02em; color: var(--label); }
.plan-using { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 10px; }
.plan-using li { padding: 4px 10px; border-radius: 999px; background: var(--chip); color: var(--label); font-size: .9rem; }
.plan-extras { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 12px 0 0; }
.plan-extras-text { color: var(--ink); }
.plan-credits-btn { cursor: pointer; font: inherit; font-weight: 700; padding: 8px 14px; }
.plan-credits-note { color: var(--muted); font-size: .9rem; }
.plan-extras-btn { width: 36px; height: 36px; border-radius: 8px; border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line)); background: var(--surface); color: var(--accent); font: inherit; font-size: 1.2rem; font-weight: 700; line-height: 1; cursor: pointer; }
.plan-extras-btn:disabled { color: var(--muted); border-color: var(--line); cursor: default; }
.plan-extras-btn:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; }
.plan-lines { margin: 12px 0 20px; display: grid; gap: 6px; }
.plan-line { margin: 0; padding: 8px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); }
.plan-line-ok { border-color: color-mix(in srgb, var(--ok) 45%, var(--line)); }
.plan-line-warn { border-color: color-mix(in srgb, var(--warn) 55%, var(--line)); font-weight: 600; }
/* the welcome bonus: a star AND words; the accent on the surface is the same pair the buttons use */
.plan-bonus, .plan-bonus-line { font-weight: 700; color: var(--label); }
.plan-bonus .plan-mark, .plan-bonus-line .plan-mark { color: var(--accent); }
.plan-bonus-line { margin: 0 0 8px; }
.plan-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plan-card-current { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.plan-card button { cursor: pointer; font: inherit; font-weight: 700; justify-content: center; }
.plan-card button:disabled { cursor: default; opacity: 1; color: var(--muted); background: var(--surface-2); border: 1px solid var(--line); box-shadow: none; }
.plan-foot { margin: 0; padding-top: 20px; color: var(--muted); }
#lw-plan { min-width: 0; }
.plan-compare { margin: 24px 0 0; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); max-width: 100%; }
.plan-compare-toggle { display: block; width: 100%; text-align: left; cursor: pointer; padding: 14px 16px; font: inherit; font-weight: 700; color: var(--accent); background: none; border: 0; border-radius: 12px; }
.plan-compare-toggle:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; }
.plan-compare-body[hidden] { display: none; }
.plan-compare .table-scroll { position: relative; margin: 0 16px; max-width: calc(100% - 32px); overflow-x: auto; } /* the table scrolls inside; `relative` keeps the cells' screen-reader words (absolutely placed) inside it too — without it they widened the page */
.plan-matrix { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .95rem; }
.plan-matrix th, .plan-matrix td { padding: 10px 12px; border-top: 1px solid var(--line); text-align: center; vertical-align: middle; }
.plan-matrix thead th { border-top: 0; color: var(--label); font-weight: 700; }
.plan-matrix th[scope="row"], .plan-matrix thead th:first-child { text-align: left; font-weight: 500; color: var(--ink); }
.plan-matrix thead th:first-child { color: var(--muted); }
.plan-matrix .plan-mine { background: color-mix(in srgb, var(--accent) 7%, var(--surface)); }
.plan-mine-tag { display: block; font-size: .78rem; font-weight: 600; color: var(--accent); }
.plan-yes-mark { color: var(--ok); font-weight: 700; }
.plan-no-mark { color: var(--muted); }
.plan-compare-note { margin: 0; padding: 12px 16px 0; color: var(--muted); font-size: .9rem; }
.plan-compare-note:last-child { padding-bottom: 16px; }
.plan-manage { font: inherit; font-weight: 600; color: var(--accent); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; }
.plan-manage:focus-visible, .plan-card button:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; }
@media (max-width: 800px) { .plan-grid-3 { grid-template-columns: 1fr; } }

/* Responsive */
@media (max-width: 900px) {
  .hero { padding: 48px 0 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .step-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .header-row .gsi-material-button-contents { font-size: 13px; }
  .desk-body { height: 280px; }
  .step-list { grid-template-columns: 1fr; }
  .closing-inner { padding: 28px 20px; }
}

/* Google sign-in button — same markup and styling as the archived Fathom page
   (public/marketing-site/styles/index.css). Kept light in both themes, per
   Google's branding guidance. */
.gsi-link { text-decoration: none; display: inline-block; border-radius: 8px; }
.gsi-link:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; }
.gsi-material-button {
  -moz-user-select: none; -webkit-user-select: none; -ms-user-select: none;
  -webkit-appearance: none;
  background-color: #ffffff;
  background-image: none;
  border: 1px solid #747775;
  border-radius: 8px;
  box-sizing: border-box;
  color: #1f1f1f;
  cursor: pointer;
  font-family: 'Roboto', arial, sans-serif;
  font-size: 14px;
  height: 40px;
  letter-spacing: 0.25px;
  outline: none;
  overflow: hidden;
  padding: 4px 12px;
  position: relative;
  text-align: center;
  transition: background-color .218s, border-color .218s, box-shadow .218s;
  vertical-align: middle;
  white-space: nowrap;
  width: auto;
  max-width: 400px;
  min-width: min-content;
}
.gsi-material-button .gsi-material-button-icon { height: 20px; margin-right: 12px; min-width: 20px; width: 20px; }
.gsi-material-button .gsi-material-button-content-wrapper {
  align-items: center; display: flex; flex-direction: row; flex-wrap: nowrap;
  height: 100%; justify-content: space-between; position: relative; width: 100%;
}
.gsi-material-button .gsi-material-button-contents {
  flex-grow: 1; font-family: 'Roboto', arial, sans-serif; font-weight: 500;
  overflow: hidden; text-overflow: ellipsis; vertical-align: top;
}
.gsi-material-button .gsi-material-button-state {
  transition: opacity .218s; bottom: 0; left: 0; opacity: 0; position: absolute; right: 0; top: 0;
}
.gsi-link:focus-visible .gsi-material-button-state,
.gsi-material-button:not(:disabled):active .gsi-material-button-state {
  background-color: #303030; opacity: 12%;
}
.gsi-material-button:not(:disabled):hover {
  box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
}
.gsi-material-button:not(:disabled):hover .gsi-material-button-state { background-color: #303030; opacity: 8%; }

/* Legal pages (privacy.html, terms.html) */
/* Dashboard | Desktop | Worker — LabWorker's three interfaces, styled like LabWork's own switch */
.iface-seg {
  display: inline-flex; margin: 0 auto 0 20px; border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line));
  border-radius: 8px; overflow: hidden; background: color-mix(in srgb, var(--accent) 5%, var(--surface));
}
.iface-seg a { padding: 6px 13px; font-size: .9rem; font-weight: 500; color: var(--ink); text-decoration: none; white-space: nowrap; }
.iface-seg a + a { border-left: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line)); }
.iface-seg a[aria-current="page"] { background: var(--accent); color: var(--on-accent, #fff); font-weight: 650; cursor: default; }
.iface-seg a:not([aria-current]):hover { background: color-mix(in srgb, var(--accent) 16%, var(--surface)); }
.iface-seg a:focus-visible { outline: 3px solid var(--accent-2); outline-offset: -3px; }
.header-link { color: var(--accent); font-weight: 600; text-decoration: none; }
.header-link:hover { text-decoration: underline; }
.legal { max-width: 820px; padding-top: 48px; padding-bottom: 72px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.6rem); letter-spacing: -0.02em; }
.legal-dates { color: var(--muted); margin: 12px 0 32px; }
.legal section { padding: 24px 0; border-top: 1px solid var(--line); }
.legal h2 { font-size: 1.2rem; margin-bottom: 10px; }
.legal p, .legal li { color: var(--ink); }
.legal ul { padding-left: 1.25rem; }
.legal li { margin: 4px 0; }
.legal a { color: var(--accent); }
.legal code { font-size: .9em; background: var(--chip); padding: 1px 5px; border-radius: 4px; }
.legal .caps { text-transform: uppercase; font-size: .9rem; font-weight: 600; }
.table-scroll { overflow-x: auto; margin: 12px 0; }
.legal table { width: 100%; border-collapse: collapse; font-size: .95rem; background: var(--surface); }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--line); }
.legal th { background: var(--surface-2); color: var(--label); font-weight: 600; }
.footer-links a[aria-current="page"] { color: var(--accent); }

/* Signed-in dashboard (views/labworker-dashboard.ejs) */
.dash-user { display: flex; align-items: center; gap: 10px; min-width: 0; }
.dash-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex: none; }
.dash-avatar-letter {
  display: inline-grid; place-items: center; font-weight: 700; color: var(--on-accent, #fff);
  background: linear-gradient(135deg, var(--accent-2), var(--deep));
}
.dash-name { font-weight: 600; color: var(--label); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 16rem; }
/* ⚑ notifications beside the name (public/labworker/notify.js): the count in the button, the list under it */
.dash-notify { position: relative; flex: none; }
.dash-notify-btn {
  font: inherit; font-weight: 600; color: var(--label); background: transparent; border: 1px solid var(--line);
  border-radius: 999px; padding: 4px 10px; min-height: 32px; cursor: pointer; white-space: nowrap;
}
.dash-notify-btn:hover { background: var(--surface-2); }
.dash-notify-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.dash-notify-btn.has-some { color: var(--accent); border-color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.dash-notify-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 50; width: min(360px, calc(100vw - 16px));
  max-height: 70vh; overflow-y: auto; background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: 12px; padding: 6px; box-shadow: 0 16px 40px -18px rgba(var(--shadow), .45);
}
.dash-notify-head { font-size: .8rem; font-weight: 700; color: var(--muted); padding: 6px 8px; }
.dash-notify-item, .dash-notify-clear {
  display: block; width: 100%; text-align: left; font: inherit; color: inherit; background: transparent;
  border: 0; border-radius: 8px; padding: 8px; cursor: pointer;
}
.dash-notify-item:hover, .dash-notify-item:focus-visible, .dash-notify-clear:hover, .dash-notify-clear:focus-visible { background: var(--surface-2); outline: none; }
.dash-notify-title { display: block; font-weight: 600; color: var(--label); overflow-wrap: anywhere; }
.dash-notify-text { display: block; color: var(--ink); margin-top: 2px; overflow-wrap: anywhere; }
.dash-notify-meta { display: block; font-size: .8rem; color: var(--muted); margin-top: 2px; }
.dash-notify-clear { color: var(--accent); font-weight: 600; border-top: 1px solid var(--line); border-radius: 0 0 8px 8px; margin-top: 4px; }
.dash { padding-top: 40px; padding-bottom: 72px; }
.dash-hero {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 28px 32px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 12px 32px -20px rgba(var(--shadow), .35);
}
.dash-hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.4rem); letter-spacing: -0.02em; }
.dash-hero .lede { margin: 10px 0 0; font-size: 1.02rem; }
.dash-hero > div:first-child { flex: 1 1 22rem; min-width: 0; }
/* the card stays on the welcome's right down to the one-column width (800px) */
@media (min-width: 801px) {
  .dash-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(19rem, 29rem); }
}
.dash-open {
  flex: 0 1 29rem; padding: 20px 22px; border-radius: 14px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 12%, var(--surface)) 0%, color-mix(in srgb, var(--accent-2) 6%, var(--surface)) 100%);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line));
}
.dash-open-mark { flex: none; width: 34px; height: 34px; border-radius: 8px; }
.dash-open-title { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; letter-spacing: -0.01em; margin: 0; }
.dash-open-body .dash-open-note { margin: 4px 0 14px; }
.dash-open-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-idea { font-size: 1.02rem; padding: 13px 24px; }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 10px; font-weight: 600;
  color: var(--accent); background: var(--surface); border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line)); text-decoration: none;
}
.btn-secondary:hover { background: color-mix(in srgb, var(--accent) 8%, var(--surface)); }
.btn-secondary:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent-2) 0%, var(--deep) 100%); color: var(--on-accent, #fff); font-weight: 700;
  text-decoration: none; box-shadow: 0 6px 16px -8px rgba(28, 54, 112, .6);
}
.btn-primary:hover { filter: brightness(1.08); }
.btn-primary:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; }
.dash-open-note { color: var(--muted); font-size: .9rem; }
.dash-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.panel { padding: 24px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.panel-wide { grid-column: 1 / -1; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.panel h2 { font-size: 1.25rem; }
.panel p { margin: 0 0 10px; }
.panel .mut { color: var(--muted); font-size: .95rem; }
.panel-tag { padding: 3px 10px; border-radius: 999px; background: var(--chip); color: var(--accent); font-size: .78rem; font-weight: 600; }
.panel-tag-soon { background: var(--surface-2); color: var(--muted); }
.gs-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 14px; }
/* five steps never leave one alone on a row: 5 across, else 3 + 2, else one column */
@media (min-width: 640px) { .gs-steps { grid-template-columns: repeat(6, 1fr); } .gs-steps > li { grid-column: span 2; } .gs-steps > li:nth-child(4), .gs-steps > li:nth-child(5) { grid-column: span 3; } }
@media (min-width: 1000px) { .gs-steps { grid-template-columns: repeat(5, 1fr); } .gs-steps > li, .gs-steps > li:nth-child(4), .gs-steps > li:nth-child(5) { grid-column: auto; } }
.gs-steps p { margin: 0; color: var(--muted); font-size: .93rem; }
.gs-steps .eng-steps { list-style: decimal; }
.gs-steps .gs-link { color: var(--accent); text-decoration: none; }
.gs-steps .gs-link:hover { text-decoration: underline; }

/* Getting started — your path to a first app (public/labworker/getting-started.js; John, 2026-10-03):
   illustrated steps, ticked ✓ from real facts, the first one not done says Next. */
.gs-panel { display: grid; gap: 18px; }
.gs-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }
.gs-head h2 { font-size: 1.45rem; letter-spacing: -.01em; }
.gs-head p { margin: 6px 0 0; color: var(--muted); }
.gs-progress { display: grid; gap: 6px; justify-items: end; }
.gs-count { font-weight: 700; color: var(--label); font-variant-numeric: tabular-nums; }
.gs-bar { display: flex; gap: 4px; }
.gs-seg { width: 30px; height: 8px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }
.gs-seg.on { background: var(--ok); border-color: var(--ok); }
.gs-steps > li { display: flex; flex-direction: column; gap: 9px; padding: 14px 16px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); min-width: 0; transition: transform .18s ease, box-shadow .18s ease; }
.gs-steps > li:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(var(--shadow), .1); }
.gs-steps > li.next { border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent); background: linear-gradient(180deg, var(--chip), var(--surface) 45%); }
.gs-steps > li.done { border-color: color-mix(in srgb, var(--ok) 40%, var(--line)); }
.gs-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 30px; }
.gs-badge { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--chip); color: var(--accent); font-weight: 750; font-size: .95rem; }
.gs-steps > li.next .gs-badge { background: var(--accent); color: var(--on-accent, #fff); }
.gs-steps > li.done .gs-badge { background: var(--ok); color: var(--surface); }
.gs-state { padding: 2px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; }
.gs-state:empty { display: none; }
.gs-steps > li.next .gs-state { background: var(--accent); color: var(--on-accent, #fff); }
.gs-steps > li.done .gs-state { background: color-mix(in srgb, var(--ok) 13%, var(--surface)); color: var(--ok); }
.gs-art { display: grid; place-items: center; height: 84px; border-radius: 12px; background: radial-gradient(120% 100% at 50% 100%, color-mix(in srgb, var(--accent) 12%, var(--surface)), var(--surface) 75%); }
.gs-art svg { height: 72px; width: auto; max-width: 100%; }
.gs-art .pa { height: 76px; }
.gs-steps h3 { font-size: 1.02rem; margin: 2px 0 0; }
.gs-n { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gs-dl { font-weight: 600; color: var(--label); }
.gs-act { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--label); font-weight: 650; text-decoration: none; }
.gs-act:hover { border-color: var(--accent-2); }
.gs-act.primary { background: linear-gradient(135deg, var(--accent-2), var(--deep)); color: var(--on-accent, #fff); border-color: transparent; }
.gs-act:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; }
/* the step pictures, in the theme's own colours */
.gs-a-card { fill: var(--surface-2); stroke: var(--line); stroke-width: 1.5; }
.gs-a-card-2 { fill: var(--chip); }
.gs-a-accent { fill: var(--accent-2); }
.gs-a-ok { fill: var(--ok); }
.gs-a-spark { fill: var(--accent); }
.gs-a-line { fill: none; stroke: var(--accent-2); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.gs-a-glow { fill: color-mix(in srgb, var(--accent) 22%, var(--surface)); stroke: var(--accent-2); stroke-width: 2; }
.gs-a-filament { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.gs-a-ray { stroke: var(--accent-2); stroke-width: 3; stroke-linecap: round; }
.gs-a-tick { fill: none; stroke: var(--ok); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.gs-a-screen { fill: var(--accent-2); }
.gs-a-ui { fill: #fff; opacity: .65; }
.gs-a-ui-2 { fill: #fff; opacity: .28; }
.gs-a-label { fill: var(--label); font: 700 13px var(--font, system-ui, sans-serif); }
@media (max-width: 560px) { .gs-progress { justify-items: start; } }
@media (prefers-reduced-motion: reduce) { .gs-steps > li { transition: none; } }
.panel-foot { margin: 16px 0 0; color: var(--muted); font-size: .95rem; }
.panel-foot a { color: var(--accent); font-weight: 600; }
.guide-list { margin: 0; padding-left: 1.2rem; color: var(--muted); }
.guide-list li { margin: 6px 0; }
@media (max-width: 800px) {
  .dash-grid { grid-template-columns: 1fr; }
  .dash-hero { padding: 22px 20px; }
  .dash-open { flex-basis: 100%; }
}
@media (max-width: 560px) {
  .dash-name { display: none; }
  .dash-notify-menu { position: fixed; left: 8px; right: 8px; top: 64px; width: auto; }
  /* phones: the switch takes its own row under the wordmark and the account links */
  .site-header .header-row:has(.iface-seg) { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; row-gap: 10px; }
  .iface-seg { order: 3; margin: 0; width: 100%; }
  .iface-seg a { flex: 1 1 0; text-align: center; padding: 8px 6px; }
  .dash-open-actions a { flex: 1 1 100%; justify-content: center; }
}

/* Dashboard live panels (public/labworker/dashboard.js) */
.lw-msg { color: var(--muted); margin: 0; }
.lw-msg a, .panel-link { color: var(--accent); font-weight: 600; }
.panel-link { display: inline-block; margin-top: 14px; font-size: .93rem; }
.sub-head { font-size: .95rem; margin: 18px 0 8px; color: var(--label); }
.sub-head:first-child { margin-top: 0; }
.proj-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.proj-card { display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); min-width: 0; }
.proj-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.proj-card h3 { font-size: 1rem; margin: 0; overflow-wrap: anywhere; }
.proj-vis { flex: none; font-size: .75rem; color: var(--muted); white-space: nowrap; }
.proj-meta { margin: 0; color: var(--muted); font-size: .88rem; }
.proj-open { margin-top: auto; color: var(--accent); font-weight: 600; font-size: .9rem; text-decoration: none; }
.proj-open:hover { text-decoration: underline; }
/* Your projects: search · category · sort · pages (John, 2026-10-05) */
.proj-tools { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: flex-end; margin-bottom: 10px; }
.proj-field { display: flex; flex-direction: column; gap: 4px; flex: 1 1 160px; min-width: 0; }
.proj-field-search { flex: 2 1 220px; }
.proj-label { font-size: .8rem; font-weight: 600; color: var(--label); letter-spacing: .02em; }
.proj-input { box-sizing: border-box; height: 38px; font: inherit; font-size: .93rem; width: 100%; min-width: 0; padding: 0 10px; border-radius: 8px; border: 1px solid color-mix(in srgb, var(--muted) 70%, var(--surface)); background: var(--surface); color: var(--ink); }   /* the outline meets 3:1 in both themes */
.proj-input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.proj-status { margin: 0 0 10px; color: var(--muted); font-size: .88rem; font-variant-numeric: tabular-nums; }
.proj-none { grid-column: 1 / -1; }
.proj-pager { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.proj-pager[hidden] { display: none; }   /* one page: no pager (display:flex above would otherwise show it) */
.proj-page-where { color: var(--muted); font-size: .9rem; font-variant-numeric: tabular-nums; }
.proj-page-btn { font: inherit; font-weight: 600; font-size: .92rem; padding: 7px 14px; border-radius: 8px; border: 1px solid color-mix(in srgb, var(--muted) 70%, var(--surface)); background: var(--surface, var(--bg)); color: var(--accent); cursor: pointer; }
.proj-page-btn:hover:not(:disabled) { background: var(--chip, var(--surface-2)); }
.proj-page-btn:disabled { color: var(--muted); cursor: not-allowed; opacity: .7; }
.proj-page-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.link-btn { margin-top: 12px; padding: 0; border: 0; background: none; color: var(--accent); font: inherit; font-weight: 600; cursor: pointer; }
.link-btn:hover { text-decoration: underline; }
/* Build sessions: counts, then one list three rows tall that scrolls (John, 2026-10-03) */
.job-counts { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.job-count { padding: 4px 10px; border-radius: 999px; font-size: .84rem; background: var(--surface-2); color: var(--muted); }
.job-count b { color: var(--label); }
.job-count.job-warn:not(.zero) { background: color-mix(in srgb, var(--warn) 14%, var(--surface)); color: var(--warn); }
.job-count.job-warn:not(.zero) b { color: var(--warn); }
.job-count.job-run:not(.zero) { background: var(--chip); color: var(--accent); }
.job-count.job-run:not(.zero) b { color: var(--accent); }
.job-list { list-style: none; margin: 0; padding: 0 4px 0 0; max-height: 204px; overflow-y: auto; overscroll-behavior: contain; display: grid; gap: 6px; scrollbar-width: thin; }
.job-list:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; border-radius: 10px; }
.job-row { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); min-height: 62px; }
.job-badge { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font-weight: 700; background: var(--surface-2); color: var(--muted); }
.job-warn .job-badge { background: color-mix(in srgb, var(--warn) 16%, var(--surface)); color: var(--warn); }
.job-run .job-badge { background: var(--chip); color: var(--accent); }
.job-run .job-badge { animation: job-spin 2.4s linear infinite; }
.job-ok .job-badge { background: color-mix(in srgb, var(--ok) 13%, var(--surface)); color: var(--ok); }
@keyframes job-spin { to { transform: rotate(360deg); } }
.job-main { display: grid; min-width: 0; }
.job-proj { font-weight: 650; color: var(--label); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.job-meta { color: var(--muted); font-size: .84rem; overflow-wrap: anywhere; }
.job-empty { padding: 10px 0; }
@media (prefers-reduced-motion: reduce) { .job-run .job-badge { animation: none; } }
.usage-window { color: var(--muted); font-size: .9rem; margin: 0 0 8px; }
.usage { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; margin: 0; }
.usage dt { color: var(--muted); }
.usage dd { margin: 0; font-weight: 700; color: var(--label); text-align: right; }

/* Expandable project panels */
.proj-toggle {
  display: flex; flex-direction: column; gap: 6px; width: 100%; padding: 0; margin: 0;
  border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; position: relative;
}
.proj-toggle:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 4px; border-radius: 6px; }
.proj-title { font-weight: 700; font-size: 1rem; color: var(--label); overflow-wrap: anywhere; padding-right: 4px; }
.proj-chevron { position: absolute; right: 0; bottom: 0; color: var(--muted); font-size: .8rem; transition: transform .15s; }
.proj-toggle[aria-expanded="true"] .proj-chevron { transform: rotate(180deg); }
.proj-card.open { grid-column: 1 / -1; border-color: var(--accent-2); box-shadow: 0 10px 28px -18px rgba(var(--shadow), .45); }
.proj-card.open > .proj-open { display: none; }
.proj-detail { margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.proj-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px 20px; margin: 0; }
.proj-facts dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.proj-facts dd { margin: 2px 0 0; color: var(--label); font-weight: 600; overflow-wrap: anywhere; }
.proj-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.proj-action {
  display: inline-block; padding: 8px 14px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--surface); color: var(--accent); font-weight: 600; font-size: .92rem; text-decoration: none;
}
.proj-action:hover { border-color: var(--accent-2); }
.proj-action.primary { background: linear-gradient(135deg, var(--accent-2) 0%, var(--deep) 100%); border-color: transparent; color: var(--on-accent, #fff); }
.proj-note { margin: 12px 0 0; color: var(--muted); font-size: .88rem; }
.proj-fact { min-width: 0; }
button.proj-action { font: inherit; font-weight: 600; font-size: .92rem; cursor: pointer; }
button.proj-action:disabled { color: var(--muted); background: var(--surface-2); cursor: not-allowed; opacity: .8; }

/* Project icons */
.proj-toggle { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; row-gap: 4px; align-items: start; }
.proj-toggle .proj-icon { grid-row: span 2; }
.proj-toggle .proj-top, .proj-toggle .proj-meta { grid-column: 2; }
.proj-icon { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex: none; background: var(--surface-2); border: 1px solid var(--line); transition: width .15s, height .15s; }
.proj-icon-letter {
  display: grid; place-items: center; font-weight: 700; color: var(--on-accent, #fff); border: 0;
  background: linear-gradient(135deg, var(--accent-2), var(--deep));
}
.proj-card.open .proj-icon { width: 88px; height: 88px; border-radius: 16px; font-size: 1.8rem; }

/* 📈 the 30-day trend line in an expanded project's first row (John, 2026-10-11): to the right of the name, inside the
   row's existing height (the 88px icon sets it), narrowing with the card and gone below 420px where there is no room */
.proj-spark { display: none; }
.proj-card.open .proj-toggle { grid-template-columns: auto minmax(0, 1fr) clamp(96px, 30%, 280px); }
.proj-card.open .proj-spark { display: flex; flex-direction: column; justify-content: center; gap: 2px; grid-column: 3; grid-row: 1 / span 2; align-self: stretch; min-width: 0; max-height: 88px; padding-right: 18px; }
.proj-spark-svg { width: 100%; height: 28px; display: block; overflow: visible; }
.proj-spark-line { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.proj-spark-base { stroke: var(--line); stroke-width: 1; }
.proj-spark-ring { stroke: var(--surface); stroke-width: 11; stroke-linecap: round; }
.proj-spark-dot { stroke: var(--accent); stroke-width: 7; stroke-linecap: round; }
.proj-spark-cap { color: var(--muted); font-size: .75rem; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 420px) { .proj-card.open .proj-toggle { grid-template-columns: auto minmax(0, 1fr); } .proj-card.open .proj-spark { display: none; } }

/* 📈 the Usage section of an expanded project */
.proj-usage { margin-top: 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.proj-usage > summary { cursor: pointer; padding: 10px 12px; font-weight: 700; color: var(--label); }
.proj-usage .usage-sum { font-weight: 400; color: var(--muted); }
.usage-body { padding: 0 12px 12px; overflow-x: auto; }
.usage-h { margin: 14px 0 6px; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.usage-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.usage-table th, .usage-table td { padding: 5px 8px; border-bottom: 1px solid var(--line); text-align: left; color: var(--label); font-weight: 400; overflow-wrap: anywhere; }
.usage-table thead th { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; }
.usage-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Publish and share */
/* Publish and share (John, 2026-10-03: "should use icons and be more user friendly") */
.pub-list { list-style: none; margin: 0; padding: 0 4px 0 0; max-height: 270px; overflow-y: auto; overscroll-behavior: contain; display: grid; gap: 8px; scrollbar-width: thin; }
.pub-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.pub-icon { flex: none; width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.pub-icon.proj-icon-letter { display: grid; place-items: center; background: var(--chip); color: var(--accent); font-weight: 750; }
.pub-main { display: grid; gap: 4px; min-width: 0; }
.pub-title { font-weight: 700; color: var(--label); overflow-wrap: anywhere; }
.pub-access { color: var(--muted); font-size: .86rem; }
.pub-limits { margin: 10px 0 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--muted); font-size: .86rem; }
.pub-limits-head { margin: 0 0 4px; font-weight: 700; color: var(--label); }
.pub-limits ul { margin: 0; padding-left: 18px; display: grid; gap: 3px; }
.pub-link { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 4px; min-width: 0; }
.pub-url { font-size: .84rem; color: var(--accent); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; max-width: 100%; flex: 1 1 140px; }
.pub-btn { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--label); font: inherit; font-size: .84rem; font-weight: 600; text-decoration: none; cursor: pointer; }
.pub-btn:hover { border-color: var(--accent-2); }
.pub-btn:focus-visible, .pub-quiet:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; }
.pub-empty { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 14px 8px; border-radius: 12px; border: 2px dashed var(--line); }
.pub-empty-mark { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--chip); font-size: 1.4rem; }
.pub-empty-title { margin: 0; font-weight: 700; color: var(--label); }
.pub-how { margin: 0; padding-left: 1.2rem; text-align: left; color: var(--muted); font-size: .9rem; }
.pub-heading { margin: 0 0 8px; font-size: .95rem; color: var(--label); }
.pub-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; margin-top: 10px; }
.pub-choice { position: relative; display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; border: 2px solid var(--line); background: var(--surface); cursor: pointer; }
.pub-choice input { position: absolute; opacity: 0; pointer-events: none; }
.pub-choice:has(input:checked) { border-color: var(--accent-2); background: var(--chip); }
.pub-choice:has(input:focus-visible) { outline: 3px solid var(--accent-2); outline-offset: 2px; }
.pub-choice-icon { font-size: 1.3rem; line-height: 1.2; }
.pub-choice-text { display: grid; gap: 2px; font-size: .84rem; color: var(--muted); }
.pub-choice-text b { color: var(--label); font-size: .92rem; }
.pub-choice:has(input:checked) .pub-choice-text b::after { content: ' ✓'; color: var(--accent); }
.pub-controls { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 10px; }
.pub-quiet { border: 0; background: none; font: inherit; color: var(--muted); padding: 6px 4px; cursor: pointer; }
.pub-quiet:hover { color: var(--label); text-decoration: underline; }
.pub-people-row { margin-top: 10px; }
.pub-people { width: 100%; max-width: 520px; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-size: .92rem; }
.pub-status { margin: 8px 0 0; color: var(--muted); font-size: .9rem; min-height: 1.2em; }

/* A refused sign-in's reason (/login?signin=…). */
.signin-notice {
  margin: 1rem 0 0;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
}

/* The sign-in page (/signin, auth-providers plan step 0.6). */
.signin-panel { max-width: 32rem; padding-block: 56px 72px; }
.signin-panel h1 { font-size: clamp(1.6rem, 3.4vw, 2.1rem); letter-spacing: -0.01em; margin: 0 0 0.5rem; }
.signin-lede { color: var(--muted); margin: 1rem 0 1.5rem; }
.signin-providers { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.signin-provider {
  display: inline-block; min-width: 14rem; padding: 10px 16px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  text-decoration: none; font-weight: 500;
}
.signin-provider:hover { border-color: var(--accent); }
.signin-provider:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; }

/* Account (/account, auth-providers plan step 0.9). */
.account-panel { max-width: 40rem; padding-block: 48px 72px; }
.dash-main > .account-panel { max-width: 46rem; padding: 24px 28px 28px; }
.dash-main > .account-panel > h1 { margin-top: 0; }
.account-panel h1 { font-size: clamp(1.6rem, 3.4vw, 2.1rem); margin: 0 0 0.25rem; }
.account-panel h2 { font-size: 1.15rem; margin: 2rem 0 0.75rem; }
.account-who { color: var(--muted); margin: 0 0 1rem; overflow-wrap: anywhere; }
.account-methods { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.account-methods li {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
  padding: 12px 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface);
}
.account-methods strong { display: block; color: var(--ink); }
.account-meta { display: block; color: var(--muted); font-size: 0.9rem; overflow-wrap: anywhere; }
.account-unlink {
  font: inherit; padding: 6px 12px; border-radius: 6px; cursor: pointer;
  border: 1px solid var(--line); background: var(--bg); color: var(--ink);
}
.account-unlink:hover { border-color: var(--accent); }

/* Passkeys (auth-providers plan step 1.2). */
button.signin-provider { font: inherit; cursor: pointer; text-align: left; }
.passkey-add { display: grid; gap: 8px; margin-top: 12px; max-width: 24rem; }
.passkey-add label { font-size: 0.9rem; color: var(--muted); }
.passkey-add input {
  font: inherit; padding: 8px 10px; border-radius: 6px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
}
.passkey-add button { justify-self: start; }

/* Delete account (auth-providers plan step 0.8a). */
.account-list { margin: 0.5rem 0 1rem; padding-left: 1.25rem; display: grid; gap: 4px; }
.account-danger {
  font: inherit; justify-self: start; cursor: pointer; padding: 10px 16px; border-radius: 8px;
  border: 1px solid #b42318; background: #b42318; color: #fff; font-weight: 500;
}
.account-danger:hover { background: #912018; }
.account-linkbutton { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }

/* Sign in with an email code (auth-providers plan step 2.1). */
.signin-email { margin-top: 20px; }
.signin-or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 0.9rem; margin: 0 0 4px; }
.signin-or::before, .signin-or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.signin-email { max-width: 24rem; }
.signin-email [hidden] { display: none; } /* .passkey-add's display: grid would otherwise show a hidden step */

/* Sign in with Microsoft (auth-providers plan step 3.1) — Microsoft's brand
   guidelines: the four-square logo, "Sign in with Microsoft", Segoe UI
   semibold 15px, white with a #8C8C8C border (light theme). */
.ms-signin {
  display: inline-flex; align-items: center; gap: 12px; height: 41px; padding: 0 12px;
  background: #fff; color: #5e5e5e; border: 1px solid #8c8c8c; border-radius: 0;
  font: 600 15px "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  text-decoration: none; justify-self: start;
}
.ms-signin:hover { background: #f3f3f3; }
.ms-signin:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; }

/* Sign in with Discord (auth-providers plan step 2.3) — Discord's blurple with the white logo. */
.discord-signin {
  display: inline-flex; align-items: center; gap: 10px; height: 41px; padding: 0 16px;
  background: #5865f2; color: #fff; border-radius: 6px; font-weight: 600; text-decoration: none; justify-self: start;
}
.discord-signin:hover { background: #4752c4; }
.discord-signin:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; }

/* Sign in with Apple (auth-providers plan step 2.2) — Apple's guidelines: black, the Apple logo, "Sign in with Apple". */
.apple-signin {
  display: inline-flex; align-items: center; gap: 8px; height: 41px; padding: 0 16px;
  background: #000; color: #fff; border-radius: 6px; text-decoration: none; justify-self: start;
  font: 500 16px -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}
.apple-signin:hover { background: #1d1d1f; }
.apple-signin:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; }

/* Account: the person, from LabWork's My details (2026-10-03). */
.account-profile { display: flex; align-items: center; gap: 14px; margin: 0 0 1.25rem; }
.account-profile .account-who { margin: 0 0 4px; }
.account-profile .account-meta { display: block; margin-top: 4px; }
.account-avatar { width: 56px; height: 56px; font-size: 1.4rem; flex: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dash-avatar[hidden] { display: none; } /* the picture or the initial, never both (its display would otherwise win over hidden) */

/* Home page: one way in, the sign-in page with every method (2026-10-03). */
.header-signin {
  display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--surface); color: var(--label); font-weight: 600; text-decoration: none;
  white-space: nowrap;
}
/* 320px: the wordmark, Pricing and Sign in share one row without touching (2026-10-15) */
@media (max-width: 360px) { .wordmark { font-size: 1.05rem; gap: 6px; } .header-nav { gap: 10px; } .header-signin { padding: 0 10px; } }
.header-signin:hover { border-color: var(--accent); }
.header-signin:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; }

/* Getting started → Choose an engine: LabWork's Claude and Codex connections (2026-10-03). */
.eng-lede { margin: 0 0 10px; }
.eng-card { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin: 10px 0; background: var(--surface); }
.eng-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.eng-state { font-size: 0.92rem; }
.eng-meta { color: var(--muted); font-size: 0.9rem; margin: 6px 0 0; overflow-wrap: anywhere; }
.eng-go { margin-top: 10px; }
.eng-step { margin-top: 10px; }
.eng-steps { padding-left: 1.2rem; display: grid; gap: 8px; }
.eng-paste { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.eng-paste input { flex: 1 1 220px; min-width: 0; font: inherit; padding: 8px 10px; border-radius: 6px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.eng-code { font: 600 1.05rem ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.08em; padding: 2px 8px; border-radius: 6px; background: var(--line); }
.lw-ok { color: #1a7f37; } .lw-warn { color: #9a6700; } .lw-bad { color: #cf222e; } .lw-dim { color: var(--muted); }

/* Step 1 → Add Claude / Add Codex, each opening its own panel below the steps (2026-10-03). */
.eng-adds { display: grid; gap: 8px; margin-top: 10px; }
.eng-add {
  display: flex; align-items: center; gap: 8px; width: 100%;
  font: inherit; font-weight: 600; font-size: .9rem; text-align: left; cursor: pointer; padding: 9px 12px; border-radius: 8px;
  border: 0; color: #fff;
}
.eng-add svg { flex: none; }
.eng-add-claude { background: #d97757; } /* Claude orange (the icon's own colour) */
.eng-add-claude:hover, .eng-add-claude[aria-expanded="true"] { background: #c4623f; }
.eng-add-codex { background: #2563eb; }
.eng-add-codex:hover, .eng-add-codex[aria-expanded="true"] { background: #1d4fd8; }
.eng-add-lab { background: #4f46e5; } /* Lab AI Models indigo — white on it is 6.3:1 */
.eng-add-lab:hover { background: #4338ca; }
.eng-add:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; }
.eng-add-check { margin-left: auto; font-weight: 700; }
.eng-ico { display: inline-flex; margin-right: 2px; align-self: center; }
.eng-ico-claude { color: #d97757; }
.eng-ico-codex { color: #2563eb; }
.eng-panels { display: grid; gap: 12px; margin-top: 14px; }
.eng-panels .eng-card { margin: 0; }
.eng-close { margin-left: auto; font-size: 1.3rem; line-height: 1; background: none; border: 0; cursor: pointer; color: var(--muted); padding: 0 4px; }
.eng-close:hover { color: var(--label); }
.eng-signin { display: inline-flex; width: auto; border: 0; border-radius: 8px; padding: 9px 18px; color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.eng-signin:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; }
.eng-panel .eng-go { margin: 10px 0 8px; }
/* each engine's panel in a light tint of its colour (John, 2026-10-03) */
.eng-panel[data-eng="claude"] { background: color-mix(in srgb, #d97757 10%, var(--surface)); border-color: color-mix(in srgb, #d97757 35%, var(--surface)); }
.eng-panel[data-eng="codex"] { background: color-mix(in srgb, #2563eb 9%, var(--surface)); border-color: color-mix(in srgb, #2563eb 32%, var(--surface)); }
.eng-panel .eng-paste input { background: var(--surface); }
/* Subscriptions (John, 2026-10-03): a card per engine, side by side */
.eng-section { display: grid; gap: 14px; }
.eng-section .eng-panels { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; margin-top: 4px; align-items: start; }
.eng-section .eng-card { padding: 18px; border-radius: 16px; }
.eng-section .eng-head { align-items: center; gap: 10px; flex-wrap: nowrap; }
.eng-section .eng-state { white-space: nowrap; }
.eng-signin { gap: 8px; align-items: center; }
.eng-section .eng-head b { font-size: 1.15rem; color: var(--label); }
.eng-section .eng-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); }
.eng-section .eng-ico svg { width: 22px; height: 22px; }
.eng-section .eng-state { margin-left: auto; padding: 3px 10px; border-radius: 999px; background: var(--surface); font-weight: 650; font-size: .82rem; }
.eng-section .eng-account { color: var(--label); font-weight: 600; }
/* Lab AI Models (2026-10-14): replaces the Novita-era Qwen card — AI credits and the person's own OpenRouter account */
.eng-ico-lab { color: var(--accent); font-weight: 800; }
.eng-panel.eng-lab { background: color-mix(in srgb, var(--accent) 7%, var(--surface)); border-color: color-mix(in srgb, var(--accent) 28%, var(--surface)); }
.eng-lab .eng-way { margin-top: 12px; padding-top: 10px; border-top: 1px solid color-mix(in srgb, var(--accent) 18%, var(--surface)); }
.eng-lab .eng-way > p { margin: 4px 0; }
.eng-foot { margin: 0; color: var(--muted); font-size: .88rem; }
/* Which should I choose? — the four ways to pay, side by side (two columns, one on a phone) */
.subs-choose { margin: 0 0 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.subs-choose > summary { cursor: pointer; padding: 10px 12px; font-weight: 700; color: var(--label); }
.subs-choose-body { padding: 0 12px 12px; }
.subs-choose-body > p { margin: 6px 0; color: var(--label); }
.subs-choose-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 12px; margin: 10px 0; }
.subs-way { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; background: var(--surface); }
.subs-way h3 { margin: 0 0 6px; font-size: 1rem; }
.subs-way p { margin: 0 0 6px; font-size: .9rem; color: var(--label); }
.subs-way ul { margin: 0; padding-left: 0; list-style: none; font-size: .88rem; color: var(--label); }
.subs-way li { margin: 3px 0; overflow-wrap: anywhere; }
/* which LabWorker the cards sign in on (engines.js) */
.subs-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.subs-tile { position: relative; display: grid; justify-items: center; gap: 2px; padding: 12px 10px 10px; border-radius: 14px; border: 2px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; text-align: center; }
.subs-tile:hover { border-color: var(--accent-2); }
.subs-tile[aria-checked="true"] { border-color: var(--accent-2); background: var(--chip); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent); }
.subs-tile:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; }
.subs-art { width: 78px; height: 54px; display: grid; place-items: center; }
.subs-art .pa, .subs-art svg { width: 100%; height: auto; max-height: 54px; }
.subs-cloud { fill: color-mix(in srgb, var(--accent) 22%, var(--surface)); stroke: var(--accent-2); stroke-width: 2; }
.subs-name { font-weight: 700; color: var(--label); overflow-wrap: anywhere; }
.subs-sub { font-size: .8rem; color: var(--muted); }
.subs-tile:not(.off) .subs-sub { color: var(--ok); }
.subs-def { position: absolute; top: 6px; right: 6px; padding: 1px 7px; border-radius: 999px; background: var(--accent); color: var(--on-accent, #fff); font-size: .7rem; font-weight: 700; }
.subs-target { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; color: var(--ink); }
.subs-off-note { flex-basis: 100%; margin: 0; color: var(--muted); font-size: .88rem; }
/* LabWorkers cards: the Subscriptions row */
.pc-subs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .84rem; }
.pc-subs-k { color: var(--muted); font-weight: 600; margin-right: 2px; }
.pc-sub { padding: 2px 9px; border-radius: 999px; font-weight: 650; background: var(--surface-2); color: var(--label); }
.pc-sub-claude { background: color-mix(in srgb, #d97757 16%, var(--surface)); }
.pc-sub-codex { background: color-mix(in srgb, #2563eb 14%, var(--surface)); }
.pc-sub.dim { font-weight: 500; color: var(--muted); }
.pc-sub-when { color: var(--muted); font-size: .78rem; }
.pc-subs-go { margin-left: auto; color: var(--accent); font-weight: 650; text-decoration: none; }
.pc-subs-go:hover { text-decoration: underline; }
a.pc-stage { text-decoration: none; color: inherit; }
a.pc-stage:focus-visible { outline: 3px solid var(--accent-2); outline-offset: -3px; }
.gs-eng-line { font-weight: 650; color: var(--label) !important; }

/* Your computers (public/labworker/computers.js + computer-art.js; John, 2026-10-03): a bench of
   computer cards, each picture lit while the computer works. Status is a symbol and words, never
   colour alone. Derived colours follow whatever LabWorker theme is worn. */
.pc-panel { display: grid; gap: 20px; }
.pc-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }
.pc-head h2 { font-size: 1.45rem; letter-spacing: -.01em; }
.pc-head p { margin: 6px 0 0; color: var(--muted); max-width: 60ch; }
.pc-readout { display: flex; flex-wrap: wrap; gap: 8px; font-variant-numeric: tabular-nums; }
.pc-readout[hidden] { display: none; }
.pc-panel > .pc-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
@media (max-width: 760px) { .pc-panel > .pc-head { grid-template-columns: minmax(0, 1fr); } }
.pc-head-side { display: grid; gap: 10px; justify-items: end; }
.pc-head-side:has(#pc-head-add:empty) { gap: 0; }
#pc-head-add:empty { display: none; }
#pc-head-add .pc-add { grid-template-columns: auto minmax(0, 1fr); justify-items: start; align-items: center; text-align: left; gap: 4px 14px; padding: 16px 18px; max-width: 360px; }
#pc-head-add .pc-add .plus { grid-row: span 2; }
#pc-head-add .pc-add h3, #pc-head-add .pc-add p { grid-column: 2; }
@media (max-width: 560px) { .pc-head-side { justify-items: stretch; } #pc-head-add .pc-add { max-width: none; } }
.pc-stat { display: grid; padding: 8px 14px; border-radius: 12px; background: var(--surface-2); min-width: 92px; }
.pc-stat b { font-size: 1.35rem; color: var(--label); line-height: 1.1; }
.pc-stat span { font-size: .78rem; color: var(--muted); letter-spacing: .02em; }
.pc-stat.live b { color: var(--ok); }
.pc-dl-line { margin: 8px 0 0; font-weight: 600; color: var(--label); }
.pc-dl-line a, .gs-dl a { color: var(--accent); font-weight: 650; text-underline-offset: 2px; }
.pc-dl-line a.mine, .gs-dl a.mine { text-decoration-thickness: 2px; }

.pc-bench { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.pc-bench > .lw-msg { grid-column: 1 / -1; }
.pc-card { position: relative; display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); overflow: hidden; transition: transform .18s ease, box-shadow .18s ease; }
.pc-card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(var(--shadow), .12); }
.pc-card.is-default, .pc-card.pc-here { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.pc-stage { position: relative; display: grid; place-items: center; padding: 26px 18px 10px; background: radial-gradient(120% 90% at 50% 100%, var(--surface-2), var(--surface) 70%); }
.pc-card.on .pc-stage { background: radial-gradient(120% 90% at 50% 100%, color-mix(in srgb, var(--accent) 16%, var(--surface)), var(--surface) 72%); }
.pc-stage .pa { width: 100%; max-width: 190px; height: auto; display: block; }
.pc-here-tag, .pc-def-tag { position: absolute; top: 12px; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; }
.pc-here-tag { left: 12px; background: var(--accent); color: var(--on-accent, #fff); }
.pc-def-tag { right: 12px; background: var(--chip); color: var(--accent); }
.pc-body { display: grid; gap: 10px; padding: 14px 18px 16px; align-content: start; }
.pc-title h3 { font-size: 1.08rem; overflow-wrap: anywhere; }
.pc-kind { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .88rem; }
.pc-kind button { border: 0; background: none; padding: 0; font: inherit; color: var(--accent); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.pc-status { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 4px 11px 4px 9px; border-radius: 999px; font-size: .85rem; font-weight: 600; }
.pc-status.on { background: color-mix(in srgb, var(--ok) 13%, var(--surface)); color: var(--ok); }
.pc-status.off { background: var(--surface-2); color: var(--muted); }
.pc-dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; flex: none; }
.pc-status.on .pc-dot { animation: pc-pulse 2.4s ease-out infinite; }
.pc-status.off .pc-dot { background: transparent; border: 2px solid currentColor; }
@keyframes pc-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 55%, transparent); } 70%, 100% { box-shadow: 0 0 0 9px transparent; } }
.pc-chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.pc-chips li { padding: 3px 10px; border-radius: 8px; background: var(--chip); color: var(--label); font-size: .8rem; font-weight: 600; }
.pc-chips li.dim { background: var(--surface-2); color: var(--muted); font-weight: 500; }
.pc-specs { color: var(--muted); font-size: .85rem; font-variant-numeric: tabular-nums; margin: 0; }
.pc-here-lines { display: grid; gap: 4px; }
.pc-here-lines:empty { display: none; }
.pc-line { margin: 0; font-size: .88rem; color: var(--ink); }
.pc-line.bad { font-weight: 600; }
.pc-fix { display: flex; flex-direction: column; gap: 4px; }
.pc-fix pre { margin: 0; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface-2); color: var(--ink); font-size: .85rem; white-space: pre-wrap; overflow-wrap: anywhere; user-select: all; }
.pc-verifies { display: flex; align-items: center; gap: 8px; }
.pc-acts { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 2px; }
.pc-btn { border: 1px solid var(--line); background: var(--surface); color: var(--label); border-radius: 10px; padding: 7px 12px; font: inherit; font-weight: 600; cursor: pointer; }
.pc-btn:hover { border-color: var(--accent-2); }
.pc-btn.primary { background: linear-gradient(135deg, var(--accent-2), var(--deep)); color: var(--on-accent, #fff); border-color: transparent; }
.pc-btn:focus-visible, .pc-quiet:focus-visible, .pc-kind button:focus-visible, .pc-pick button:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; }
.pc-quiet { border: 0; background: none; font: inherit; color: var(--muted); padding: 7px 4px; cursor: pointer; }
.pc-quiet:hover { color: var(--label); text-decoration: underline; }
.pc-note { color: var(--muted); font-size: .85rem; }
.pc-msg:empty { display: none; }

/* this computer, not added yet */
.pc-first { grid-column: span 2; display: grid; grid-template-columns: minmax(150px, 230px) 1fr; align-items: center; gap: 8px 22px; padding: 18px 22px;
  border-radius: 16px; border: 2px dashed color-mix(in srgb, var(--accent) 55%, var(--line)); background: linear-gradient(135deg, var(--chip), var(--surface) 65%); }
.pc-first .pa { width: 100%; height: auto; opacity: .6; }
.pc-first h3 { font-size: 1.25rem; }
.pc-first p { margin: 6px 0 0; color: var(--muted); max-width: 52ch; }
.pc-first-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; }
.pc-first-row label { font-size: .85rem; color: var(--muted); }
.pc-first-row input { flex: 1 1 170px; min-width: 0; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; }

/* add another */
.pc-add { display: grid; align-content: center; justify-items: center; gap: 10px; padding: 22px 18px; text-align: center; border-radius: 16px; border: 2px dashed var(--line); background: var(--surface); color: var(--muted); }
.pc-add .plus { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--chip); color: var(--accent); font-size: 1.6rem; }
.pc-add h3 { font-size: 1.02rem; }
.pc-add p { margin: 0; font-size: .88rem; max-width: 32ch; }
.pc-add a { color: var(--accent); font-weight: 650; }
.pc-dl { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pc-dl a { padding: 6px 11px; border-radius: 9px; border: 1px solid var(--line); color: var(--label); text-decoration: none; font-size: .84rem; font-weight: 600; }
.pc-dl a.mine { background: var(--accent); border-color: var(--accent); color: var(--on-accent, #fff); }

/* the look picker */
.pc-pick { position: absolute; inset: 8px; z-index: 2; display: grid; grid-template-rows: auto 1fr; gap: 8px; padding: 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--accent-2); box-shadow: 0 14px 40px rgba(var(--shadow), .25); overflow: auto; }
.pc-pick header { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pc-pick h4 { margin: 0; font-size: .95rem; color: var(--label); }
.pc-pick ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 6px; }
.pc-pick li button { width: 100%; display: grid; justify-items: center; gap: 2px; padding: 6px 4px; border-radius: 10px; border: 2px solid transparent; background: var(--surface-2); color: var(--ink); cursor: pointer; font: inherit; font-size: .74rem; line-height: 1.2; }
.pc-pick li button[aria-pressed="true"] { border-color: var(--accent-2); background: var(--chip); font-weight: 650; }
.pc-pick .pa { width: 64px; height: auto; }

/* the computers' materials */
.pa .pa-metal { fill: var(--pa-metal); } .pa .pa-metal-2 { fill: var(--pa-metal-2); }
.pa .pa-dark { fill: var(--pa-dark); } .pa .pa-dark-2 { fill: var(--pa-dark-2); } .pa .pa-key { fill: var(--pa-key); }
.pa .pa-bezel { fill: var(--pa-bezel); } .pa .pa-bezel-light { fill: var(--pa-bezel-light); } .pa .pa-glass { fill: var(--pa-glass); }
.pa .pa-port { fill: var(--pa-port); } .pa .pa-imac { fill: var(--pa-imac); } .pa .pa-imac-2 { fill: var(--pa-imac-2); }
.pa .pa-shadow { fill: var(--pa-shadow); }
.pa .pa-screen { fill: var(--pa-screen-off); transition: fill .4s ease; }
.pa[data-on="1"] .pa-screen { fill: var(--accent-2); }
.pa .pa-ui { opacity: 0; transition: opacity .4s ease; }
.pa[data-on="1"] .pa-ui { opacity: 1; }
.pa .pa-led { fill: var(--pa-led-off); }
.pa[data-on="1"] .pa-led { fill: var(--ok); }
.pa .pa-fan { fill: none; stroke: var(--pa-key); stroke-width: 2; }
.pa[data-on="1"] .pa-fan { stroke: var(--accent-2); }
.pa .pa-fan-hub { fill: var(--pa-key); }
.pa .pa-scan { transform-box: fill-box; }
.pa[data-on="1"] .pa-scan { animation: pa-scan 3.6s ease-in-out infinite; }
@keyframes pa-scan { 0% { transform: translateY(-100%); } 100% { transform: translateY(300%); } }

@media (max-width: 620px) {
  .pc-first { grid-column: auto; grid-template-columns: 1fr; }
  .pc-first-art { max-width: 200px; justify-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  .pc-status.on .pc-dot, .pa[data-on="1"] .pa-scan { animation: none; }
  .pc-card, .pa .pa-screen, .pa .pa-ui { transition: none; }
}

/* The bench behind the dashboard and Account (John, 2026-10-03: "the same background theme colors and
   checkboard … the Desktop/Worker interface uses"): LabWork's glow and 28 px grid, the theme's own
   colour and strength; the panels stay solid. */
body:has(.dash-frame) {
  background-color: var(--bg);
  background-image: linear-gradient(color-mix(in srgb, var(--grid) var(--grid-strength), transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--grid) var(--grid-strength), transparent) 1px, transparent 1px),
    radial-gradient(circle at 55% 40%, var(--bd-1) 0%, var(--bd-2) 55%, var(--bd-3) 100%);
  background-size: 28px 28px, 28px 28px, auto;
  background-attachment: fixed;
}
/* The dashboard as an app (public/labworker/dashboard-nav.js; John, 2026-10-03): a side menu in the
   shape of LabWork's System settings, one section at a time, an Overview that sums them up. */
.dash-frame { display: grid; grid-template-columns: 236px minmax(0, 1fr); max-width: 1320px; margin: 0 auto; }
.dash-side { background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(6px); }
.dash-side { position: sticky; top: calc(65px + env(safe-area-inset-top, 0px)); align-self: start; height: calc(100vh - 65px); display: flex; flex-direction: column; gap: 3px; padding: 20px 12px; border-right: 1px solid var(--line); overflow-y: auto; }
.side-label { margin: 6px 10px 6px; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.side-nav { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 550; }
.side-nav svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; color: var(--muted); }
.side-nav:hover { background: var(--surface-2); }
.side-nav[aria-current="page"] { background: var(--chip); color: var(--label); font-weight: 700; }
.side-nav[aria-current="page"] svg { color: var(--accent); }
.side-nav:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 1px; }
.side-badge { margin-left: auto; min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: .75rem; font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; }
.side-badge.warn { background: color-mix(in srgb, var(--warn) 16%, var(--surface)); color: var(--warn); }
.side-badge.live { background: color-mix(in srgb, var(--ok) 14%, var(--surface)); color: var(--ok); }
.side-foot { margin-top: auto; display: grid; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.dash-main { min-width: 0; padding: 28px 28px 64px; }
.dash-view > .panel, .dash-view > section.panel { margin: 0; }
.dash-view .dash-hero { margin-top: 0; }
.ov-grid { grid-template-columns: minmax(0, 1fr); margin-top: 18px; }
/* the Overview's two tabs (John, 2026-10-04): Getting started · Lab status; selected = a filled chip AND weight, never colour alone */
.ov-tabs { display: flex; gap: 6px; margin-top: 22px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); width: fit-content; max-width: 100%; flex-wrap: wrap; }
.ov-tab { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 6px 14px; border: 1px solid transparent; border-radius: 9px; background: transparent; color: var(--muted); font: inherit; font-size: .92rem; font-weight: 550; cursor: pointer; }
.ov-tab svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ov-tab:hover { color: var(--label); }
.ov-tab[aria-selected="true"] { background: var(--surface); color: var(--label); border-color: var(--line); font-weight: 700; box-shadow: 0 2px 8px rgba(var(--shadow), .10); }
.ov-tab:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; }
.ov-pane:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 4px; border-radius: 12px; }
.ov-grid { margin-top: 14px; }
.ov-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.ov-card { position: relative; display: grid; gap: 6px; text-decoration: none; color: inherit; transition: transform .18s ease, box-shadow .18s ease; }
.ov-card:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(var(--shadow), .1); }
.ov-card:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; }
.ov-k { display: flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 600; font-size: .9rem; }
.ov-k svg { width: 18px; height: 18px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ov-n { font-size: 2rem; font-weight: 750; color: var(--label); line-height: 1.1; font-variant-numeric: tabular-nums; }
.ov-d { color: var(--muted); font-size: .88rem; }
.ov-card.warn .ov-d { color: var(--warn); font-weight: 650; }
.ov-go { color: var(--accent); font-weight: 650; font-size: .88rem; margin-top: 4px; }
.ov-art { position: absolute; right: 12px; bottom: 12px; width: 72px; }
#ov-computers .ov-d { max-width: calc(100% - 78px); }
.ov-art .pa { width: 100%; height: auto; display: block; }
.ov-journey { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 14px; padding: 10px 14px; border-radius: 12px; background: var(--surface-2); text-decoration: none; color: inherit; }
.ov-journey b { display: block; color: var(--label); }
.ov-journey-next { color: var(--muted); font-size: .88rem; }
.ov-journey:hover { background: var(--chip); }
.dash-view[data-view="sessions"] .job-list { max-height: min(68vh, 640px); }
.dash-view[data-view="publish"] .pub-list { max-height: none; }
/* the menu's invitation to the LabWorker app */
.side-app { position: relative; display: grid; gap: 4px; padding: 12px; border-radius: 14px; text-decoration: none; color: var(--muted); font-size: .84rem;
  background: radial-gradient(120% 110% at 100% 0%, color-mix(in srgb, var(--accent) 22%, var(--surface)), var(--surface) 70%); border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line));
  transition: transform .18s ease, box-shadow .18s ease; }
.side-app:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(var(--shadow), .14); }
.side-app:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; }
.side-app-art { width: 92px; margin: -2px 0 2px -4px; }
.side-app-art .pa { width: 100%; height: auto; display: block; }
.side-app b { color: var(--label); font-size: .95rem; }
.side-app-os { display: flex; gap: 8px; margin-top: 4px; }
/* condensed (John, 2026-10-04): row 1 the laptop + the name, row 2 the systems + Download */
.side-app-head { display: flex; align-items: center; gap: 8px; }
.side-app-head .side-app-art { width: 44px; margin: 0; flex: none; }
body:has(.dash-frame) .side-app-head .side-app-art { width: 40px; }
.side-app-head b { line-height: 1.2; }
.side-app-row { display: flex; align-items: center; justify-content: space-between; gap: 6px; flex-wrap: nowrap; margin-top: 4px; }
.side-app-row .side-app-os { margin-top: 0; gap: 5px; flex: none; }
.side-app-row .side-app-os .os-ico { width: 16px; height: 16px; }
.side-app-row .side-app-go { margin-top: 0; padding: 5px 10px; font-size: .8rem; white-space: nowrap; flex: none; }
.side-app-row .side-app-go span { display: none; }   /* the arrow: the button is the whole line's end */
.side-app-os .os-ico { width: 18px; height: 18px; }
.side-app-go { margin-top: 6px; justify-self: start; padding: 6px 12px; border-radius: 9px; background: linear-gradient(135deg, var(--accent-2), var(--deep)); color: var(--on-accent, #fff); font-weight: 650; }

/* the platform symbols (drawn, not the companies' logos): ⌘ for Mac, four panes for Windows, Tux for Linux */
.os-ico { width: 28px; height: 28px; display: block; }
.os-stroke { fill: none; stroke: var(--label); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.os-fill { fill: var(--accent-2); }
.os-tux { fill: var(--label); }

/* the LabWorker app section */
.app-get { display: grid; gap: 16px; margin-top: 22px; scroll-margin-top: 80px; }
.app-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 24px; overflow: hidden;
  background: radial-gradient(120% 120% at 100% 100%, color-mix(in srgb, var(--accent) 18%, var(--surface)), var(--surface) 65%); }
.app-hero h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -.02em; margin: 4px 0 10px; }
.app-hero-text p { color: var(--muted); max-width: 54ch; }
.app-here { color: var(--ok) !important; font-weight: 650; }
.app-version { font-size: .9rem; }
.app-version b { color: var(--label); }
.app-hero-art { position: relative; height: 210px; }
.app-hero-pc { position: absolute; display: block; }
.app-hero-pc .pa { width: 100%; height: auto; display: block; }
.app-hero-pc.a { width: 52%; left: 0; bottom: 6px; z-index: 2; }
.app-hero-pc.b { width: 46%; right: 2%; top: 0; }
.app-hero-pc.c { width: 44%; right: 18%; bottom: 0; z-index: 3; }
.app-plats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.app-plat { display: grid; align-content: start; gap: 8px; padding: 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.app-plat.mine { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent); }
.app-plat-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--chip); }
.app-plat h3 { font-size: 1.15rem; }
.app-plat p { margin: 0; color: var(--muted); font-size: .9rem; }
.app-plat-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.app-dl-btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--label); font-weight: 650; text-decoration: none; }
.app-dl-btn:hover { border-color: var(--accent-2); }
.app-dl-btn.primary { background: linear-gradient(135deg, var(--accent-2), var(--deep)); color: var(--on-accent, #fff); border-color: transparent; }
.app-dl-btn:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; }
.app-plat-size { font-size: .82rem !important; font-variant-numeric: tabular-nums; }
.app-h { font-size: 1.2rem; margin-bottom: 14px; }
.app-feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px 22px; }
.app-feats li { display: grid; grid-template-columns: 38px 1fr; gap: 2px 12px; align-items: start; }
.app-f-ico { grid-row: span 2; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--chip); color: var(--accent); font-weight: 700; }
.app-feats b { color: var(--label); }
.app-feats span:last-child { color: var(--muted); font-size: .9rem; }
@media (max-width: 720px) { .app-hero { grid-template-columns: minmax(0, 1fr); } .app-hero-art { height: 170px; } }
@media (prefers-reduced-motion: reduce) { .side-app { transition: none; } }

/* Themes (public/labworker/themes.js): each theme as a small painted dashboard in its own colours */
.th-panel { display: grid; gap: 14px; }
.th-group { display: grid; gap: 10px; }
.th-group + .th-group { margin-top: 10px; }
.th-group-h { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.th-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.th-card-btn { display: grid; gap: 10px; padding: 10px; border-radius: 16px; border: 2px solid var(--line); background: var(--surface); color: var(--ink); text-align: left; cursor: pointer; font: inherit; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.th-card-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(var(--shadow), .12); border-color: var(--accent-2); }
.th-card-btn.worn { border-color: var(--accent-2); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.th-card-btn:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; }
.th-meta { display: grid; gap: 2px; padding: 0 4px 4px; }
.th-meta b { color: var(--label); }
.th-hint { color: var(--muted); font-size: .84rem; }
.th-tags { display: flex; gap: 6px; margin-top: 4px; }
.th-tag { padding: 2px 9px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: .74rem; font-weight: 700; }
.th-tag.on { background: color-mix(in srgb, var(--ok) 14%, var(--surface)); color: var(--ok); }
/* the painted dashboard — every colour from the theme being shown (--t-*), with neutral fallbacks */
.th-mock { display: grid; grid-template-rows: 14px 1fr; height: 116px; border-radius: 10px; overflow: hidden; border: 1px solid var(--t-line, #d5dbe6); background: var(--t-bg, #f4f6fa); }
.th-top { display: flex; align-items: center; gap: 6px; padding: 0 7px; background: linear-gradient(90deg, var(--t-accent, #274690), var(--t-accent-2, #3560b3)); }
.th-top i { width: 7px; height: 7px; border-radius: 2px; background: var(--t-on, #fff); opacity: .9; }
.th-top b { width: 34px; height: 4px; border-radius: 2px; background: var(--t-on, #fff); opacity: .7; }
.th-body { display: grid; grid-template-columns: 34px 1fr; min-height: 0; }
.th-side { display: grid; align-content: start; gap: 6px; padding: 8px 6px; background: var(--t-surface, #eef1f7); border-right: 1px solid var(--t-line, #d5dbe6); }
.th-side i { height: 4px; border-radius: 2px; background: var(--t-mut, #6b7280); opacity: .6; }
.th-side i:first-child { background: var(--t-accent, #274690); opacity: 1; }
.th-main { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 8px; align-content: start; }
.th-card { display: grid; gap: 5px; align-content: start; padding: 7px; height: 70px; border-radius: 6px; background: var(--t-card, #fff); border: 1px solid var(--t-line, #d5dbe6); }
.th-card i { height: 4px; border-radius: 2px; background: var(--t-mut, #6b7280); opacity: .55; }
.th-card i.h { width: 70%; height: 5px; background: var(--t-head, var(--t-ink, #14264d)); opacity: 1; }
.th-card i.s { width: 50%; }
.th-card em { justify-self: start; width: 30px; height: 9px; margin-top: 4px; border-radius: 3px; background: var(--t-accent, #274690); }
@media (prefers-reduced-motion: reduce) { .th-card-btn { transition: none; } }

/* My details (public/labworker/details.js): a photo card, then status and the details */
.dt-panel { display: grid; gap: 16px; }
.dt-grid { display: grid; grid-template-columns: minmax(220px, 280px) minmax(0, 1fr); gap: 20px; align-items: start; }
.dt-photo-card { display: grid; gap: 10px; justify-items: center; padding: 18px; border-radius: 16px; background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--accent) 14%, var(--surface)), var(--surface) 70%); border: 1px solid var(--line); }
.dt-avatar { width: 132px; height: 132px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--chip); border: 4px solid var(--surface); box-shadow: 0 8px 24px rgba(var(--shadow), .16); }
.dt-avatar img { width: 100%; height: 100%; object-fit: cover; }
#dt-letter { font-size: 3rem; font-weight: 750; color: var(--accent); }
.dt-photo-acts { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; }
.dt-file { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.dt-upload { cursor: pointer; }
.dt-upload:has(+ .dt-file:focus-visible) { outline: 3px solid var(--accent-2); outline-offset: 2px; }
.dt-photo-card .dt-field { width: 100%; }
.dt-photo-card .pc-msg { text-align: center; }
.dt-main { display: grid; gap: 16px; min-width: 0; }
.dt-block { display: grid; gap: 10px; padding: 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.dt-block h3 { font-size: 1rem; }
.dt-status { display: flex; flex-wrap: wrap; gap: 8px; }
.dt-st { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; border: 2px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
.dt-st:hover { border-color: var(--accent-2); }
.dt-st[aria-pressed="true"] { border-color: var(--accent-2); background: var(--chip); color: var(--label); }
.dt-st:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; }
.dt-st[data-status="online"] .dt-st-g { color: var(--ok); }
.dt-st[data-status="busy"] .dt-st-g { color: #b42318; }
.dt-st[data-status="back-soon"] .dt-st-g { color: var(--warn); }
.dt-st-g { font-size: .95rem; }
.dt-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px 16px; align-items: start; }
.dt-field { display: grid; gap: 4px; font-size: .88rem; color: var(--label); font-weight: 600; }
.dt-field input, .dt-field textarea { padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-weight: 400; min-width: 0; }
.dt-field textarea { resize: vertical; }
.dt-field input:focus-visible, .dt-field textarea:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 1px; }
.dt-field small { color: var(--muted); font-weight: 400; font-size: .8rem; }
.dt-save-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.dt-save-row .pc-msg { margin: 0; }
@media (max-width: 760px) { .dt-grid { grid-template-columns: minmax(0, 1fr); } }

@media (max-width: 860px) {
  .dash-frame { grid-template-columns: minmax(0, 1fr); }
  .dash-side { top: calc(65px + env(safe-area-inset-top, 0px)); z-index: 4; height: auto; flex-direction: row; gap: 4px; padding: 8px 12px; border-right: 0; border-bottom: 1px solid var(--line); background: var(--bg); overflow-x: auto; }
  .side-label, .side-app { display: none; }
  .side-foot { margin: 0; padding: 0; border: 0; display: flex; }
  .side-nav { white-space: nowrap; padding: 7px 10px; }
  .side-badge { margin-left: 4px; }
  .dash-main { padding: 20px 16px 48px; }
}
/* phones: the header wraps to two rows, so the menu row scrolls with the page rather than sticking */
@media (max-width: 560px) { .dash-side { position: relative; top: 0; } }
@media (prefers-reduced-motion: reduce) { .ov-card { transition: none; } }

/* ── The dashboard as an app: full width and denser (John, 2026-10-03, on a 14" MacBook Pro: "too big … I'm at
   67% before I can see everything … should this be aligned to the left and use the available remaining width?").
   Only where the dashboard frame is (the dashboard and Account); the public pages keep their centred column. */
body:has(.dash-frame) { font-size: 14.5px; line-height: 1.5; }
body:has(.dash-frame) .site-header .wrap { max-width: none; padding-left: 16px; padding-right: 20px; }
body:has(.dash-frame) .header-row { height: 52px; }
body:has(.dash-frame) .wordmark { font-size: 1.05rem; }
body:has(.dash-frame) .wordmark-mark { width: 26px; height: 26px; }
.dash-frame { max-width: none; margin: 0; }
@media (min-width: 861px) { .dash-frame { grid-template-columns: 216px minmax(0, 1fr); } }
body:has(.dash-frame) .dash-side { top: calc(53px + env(safe-area-inset-top, 0px)); height: calc(100vh - 53px); padding: 14px 10px; gap: 2px; }
body:has(.dash-frame) .side-nav { padding: 7px 10px; font-size: .92rem; gap: 9px; }
body:has(.dash-frame) .side-nav svg { width: 18px; height: 18px; }
body:has(.dash-frame) .side-app { padding: 10px; font-size: .8rem; }
body:has(.dash-frame) .side-app-art { width: 72px; }
body:has(.dash-frame) .dash-main { padding: 20px 24px 48px; }
/* panels and headings */
body:has(.dash-frame) .panel { padding: 16px 18px; border-radius: 12px; }
body:has(.dash-frame) .panel h2, body:has(.dash-frame) .pc-head h2, body:has(.dash-frame) .gs-head h2 { font-size: 1.18rem; }
body:has(.dash-frame) .pc-head p, body:has(.dash-frame) .gs-head p { font-size: .92rem; margin-top: 4px; }
body:has(.dash-frame) .pc-panel, body:has(.dash-frame) .gs-panel, body:has(.dash-frame) .th-panel, body:has(.dash-frame) .dt-panel, body:has(.dash-frame) .eng-section { gap: 14px; }
body:has(.dash-frame) .dash-grid { gap: 14px; margin-top: 14px; }
/* the welcome */
body:has(.dash-frame) .dash-hero { padding: 18px 22px; gap: 18px; border-radius: 12px; }
body:has(.dash-frame) .dash-hero h1 { font-size: clamp(1.35rem, 2vw, 1.75rem); }
body:has(.dash-frame) .dash-hero .lede { font-size: .95rem; margin-top: 6px; }
body:has(.dash-frame) .dash-hero .eyebrow { margin-bottom: 8px; padding: 2px 9px; font-size: .78rem; }
body:has(.dash-frame) .dash-open { padding: 14px 16px; }
body:has(.dash-frame) .dash-open-title { font-size: 1.02rem; }
body:has(.dash-frame) .dash-open-mark { width: 26px; height: 26px; }
body:has(.dash-frame) .btn-primary, body:has(.dash-frame) .btn-secondary { padding: 8px 14px; font-size: .92rem; }
body:has(.dash-frame) .btn-idea { padding: 9px 16px; font-size: .95rem; }
/* Overview cards */
body:has(.dash-frame) .ov-cards { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
body:has(.dash-frame) .ov-n { font-size: 1.6rem; }
body:has(.dash-frame) .ov-art { width: 58px; }
body:has(.dash-frame) #ov-computers .ov-d { max-width: calc(100% - 62px); }
/* LabWorkers */
body:has(.dash-frame) .pc-bench { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
body:has(.dash-frame) .pc-stage { padding: 18px 14px 6px; }
body:has(.dash-frame) .pc-stage .pa { max-width: 150px; }
body:has(.dash-frame) .pc-body { padding: 10px 14px 12px; gap: 8px; }
body:has(.dash-frame) .pc-stat { padding: 6px 12px; min-width: 80px; }
body:has(.dash-frame) .pc-stat b { font-size: 1.15rem; }
body:has(.dash-frame) .pc-first { padding: 14px 18px; grid-template-columns: minmax(120px, 180px) 1fr; }
body:has(.dash-frame) .pc-first h3 { font-size: 1.08rem; }
/* Getting started */
body:has(.dash-frame) .gs-steps > li { padding: 12px 14px 14px; gap: 7px; }
body:has(.dash-frame) .gs-art { height: 64px; }
body:has(.dash-frame) .gs-art svg { height: 54px; }
body:has(.dash-frame) .gs-art .pa { height: 58px; }
body:has(.dash-frame) .gs-steps h3 { font-size: .95rem; }
body:has(.dash-frame) .gs-steps p { font-size: .88rem; }
body:has(.dash-frame) .gs-badge { width: 26px; height: 26px; font-size: .85rem; }
body:has(.dash-frame) .gs-act { padding: 6px 12px; font-size: .88rem; }
/* the app pitch, themes, subscriptions, my details */
body:has(.dash-frame) .app-hero h2 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
body:has(.dash-frame) .app-hero-art { height: 160px; width: 100%; max-width: 440px; justify-self: end; }   /* the three computers keep their size on a wide window */
body:has(.dash-frame) .app-plats { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
body:has(.dash-frame) .app-plat { padding: 14px; }
body:has(.dash-frame) .app-plat-ico { width: 44px; height: 44px; }
body:has(.dash-frame) .th-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
body:has(.dash-frame) .th-mock { height: 92px; }
body:has(.dash-frame) .th-card { height: 54px; }
body:has(.dash-frame) .subs-picker { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
body:has(.dash-frame) .subs-art { width: 62px; height: 44px; }
body:has(.dash-frame) .eng-section .eng-card { padding: 14px; }
body:has(.dash-frame) .eng-section .eng-ico { width: 34px; height: 34px; }
body:has(.dash-frame) .dt-avatar { width: 104px; height: 104px; }
body:has(.dash-frame) .dt-block { padding: 14px; }
@media (max-width: 860px) { body:has(.dash-frame) .dash-side { top: calc(53px + env(safe-area-inset-top, 0px)); height: auto; } }
@media (max-width: 560px) { body:has(.dash-frame) .dash-side { top: 0; } }   /* the header wraps to two rows there; the menu row scrolls with the page */

/* 👥 User administration (John, 2026-10-04): LabWork's panel drawn into the Dashboard. Its colours are LabWork's
   theme tokens (each with a light fallback); here they are the Dashboard's own, so it matches in every theme.
   Scoped to the section and the 👤 details dialog it opens. */
#lw-users, #lw-ud-back, #lw-activity {
  --t-bg: var(--surface); --t-ink: var(--ink); --t-line: var(--line); --t-line-strong: var(--line); --t-surface: var(--surface-2);
  --t-surface-alt: var(--surface-2); --t-mut: var(--muted); --t-accent: var(--accent-2); --t-on-accent: #fff; --t-field: var(--surface);
  --t-field-line: var(--line); --t-media: var(--deep); --t-media-line: var(--accent-2); --t-meas: var(--accent-2);
}
/* 👥 Teams (LabWork's views/labwork-teams.js, 2026-10-09): the same mapping, for the section and the member side
   panel it opens on <body>. ✕ is the theme's own (--bad ← --lw-bad, theme.js); per scheme until the palette arrives. */
#lw-teams, .lwt-panel {
  --t-bg: var(--surface); --t-ink: var(--ink); --t-line: var(--line); --t-surface: var(--surface-2); --t-mut: var(--muted);
  --t-accent: var(--accent); --t-on-accent: var(--on-accent, #fff); --t-field: var(--surface); --t-field-line: var(--muted); --t-ok: var(--ok); --t-bad: var(--bad, #a01515);
}
:root[data-theme="dark"] :is(#lw-teams, .lwt-panel) { --t-bad: var(--bad, #fca5a5); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) :is(#lw-teams, .lwt-panel) { --t-bad: var(--bad, #fca5a5); } }
.ua-panel { padding: 0; overflow: hidden; }
/* the metrics charts' own colours follow the Dashboard's theme too (here and inside User administration) */
#lw-activity, #lw-users #lw-ua { --um-surface: var(--surface); --um-grid: var(--line); --um-ink: var(--ink); --um-mut: var(--muted); }
.um-panel #lw-activity .lw-um { margin-top: 0; border: 0; padding: 0; }
.ua-panel #lw-ua { border: 0; border-radius: inherit; }
#lw-users .lw-ua-tools input { background: var(--surface); color: var(--ink); border-color: var(--line); }

/* 📘 GUIDES (2026-10-15): guide apps as cards; one opens in a window that fills the room below its top (guides.js) */
.guide-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.guide-card { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); flex-wrap: wrap; }
.guide-card-off { background: var(--surface-2); }
.guide-icon { width: 48px; height: 48px; border-radius: 10px; flex: none; object-fit: cover; }
.guide-icon-none { display: inline-flex; align-items: center; justify-content: center; font-size: 1.6rem; background: var(--chip); }
.guide-text { flex: 1 1 140px; min-width: 0; }
.guide-title { margin: 0; font-size: 1rem; color: var(--label); overflow-wrap: anywhere; }
.guide-cat { margin: 2px 0 0; font-size: .85rem; color: var(--muted); }
.guide-note { margin: 6px 0 0; font-size: .85rem; color: var(--warn); }
.guide-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.guide-empty { color: var(--muted); }
.guide-done { margin: 0 0 12px; color: var(--ok); }
.guide-admin { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.guide-admin-title { margin: 0 0 4px; font-size: 1rem; }
.guide-admin-help { margin: 0 0 10px; color: var(--muted); font-size: .9rem; }
.guide-admin-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.guide-admin-row select { min-width: 0; flex: 1 1 200px; max-width: 420px; }
.guide-admin-label { font-weight: 600; color: var(--label); }
.guide-window { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); }
.guide-window[hidden] { display: none; }
.guide-window-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 12px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.guide-window-title { margin: 0; flex: 1 1 160px; min-width: 0; font-size: 1rem; color: var(--label); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.guide-window-tab { color: var(--accent); font-weight: 600; text-decoration: none; white-space: nowrap; }
.guide-window-tab:hover { text-decoration: underline; }
.guide-frame { flex: 1; width: 100%; border: 0; background: #fff; }
/* 🛟 Support (2026-10-15): the panel is the screen below the sticky header (65px) and the main area's top padding, and the app's
   window takes all of it after the heading — the app scrolls inside, its own header and buttons stay in view */
.dash-view[data-view="support"] > .panel { display: flex; flex-direction: column; height: calc(100vh - 65px - 28px - 16px); height: calc(100dvh - 65px - 28px - 16px); min-height: 480px; box-sizing: border-box; }
.dash-view[data-view="support"] .panel-head { flex: none; }
.support { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 8px; }
.support > .guide-note, .support > .lw-msg { flex: none; margin: 0; }
.support-window { flex: 1 1 auto; min-height: 0; }
.support-window .guide-frame { min-height: 0; height: 100%; }
@media (max-width: 860px) { .dash-view[data-view="support"] > .panel { height: calc(100vh - 140px); height: calc(100dvh - 140px); } }   /* the menu is a row above it there */
@media (max-width: 560px) { .dash-view[data-view="support"] > .panel { height: calc(100vh - 24px); height: calc(100dvh - 24px); min-height: 420px; } }   /* the header and menu scroll away there: once past them, the app is the screen */

/* /admin (views/labworker-admin.ejs; public/labworker/admin-visitors.js, 2026-10-15). Chart series: the validated
   categorical slots 1 (blue) and 2 (orange), stepped for each surface; text stays in text tokens. */
:root { --series-1: #2a78d6; --series-2: #eb6834; }
:root[data-theme="dark"] { --series-1: #3987e5; --series-2: #d95926; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --series-1: #3987e5; --series-2: #d95926; } }
.adm-body > .panel-head { margin-bottom: 14px; }
.adm-range { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.adm-range button { font: inherit; font-size: .85rem; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--label); cursor: pointer; min-height: 32px; }
.adm-range button.on { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 650; }
:root[data-theme="dark"] .adm-range button.on { color: var(--deep); }
.adm-range button:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; }
.adm-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 12px; margin-bottom: 14px; }
.adm-tile { display: grid; gap: 4px; padding: 16px; }
.adm-chart-wrap { position: relative; padding: 16px; margin-bottom: 14px; }
.adm-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; color: var(--muted); font-size: .85rem; margin-bottom: 6px; }
.adm-legend .sw, .adm-tip .sw { display: inline-block; width: 12px; height: 3px; border-radius: 2px; vertical-align: middle; margin-right: 4px; }
.sw.s1 { background: var(--series-1); } .sw.s2 { background: var(--series-2); }
.adm-chart { width: 100%; height: auto; display: block; overflow: visible; }
.adm-grid { stroke: var(--line); stroke-width: 1; }
.adm-tick { fill: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.adm-line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.adm-line.s1, .adm-dot.s1 { stroke: var(--series-1); } .adm-line.s2, .adm-dot.s2 { stroke: var(--series-2); }
.adm-dot { fill: var(--surface); stroke-width: 2; }
.adm-end { fill: var(--label); font-size: 12px; font-variant-numeric: tabular-nums; }
.adm-cross { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 3; }
.adm-hit { fill: transparent; cursor: crosshair; }
.adm-tip { position: absolute; top: 36px; display: grid; gap: 2px; padding: 8px 10px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(var(--shadow), .14); font-size: .82rem; color: var(--label); pointer-events: none; min-width: 150px; }
.adm-tip[hidden] { display: none; }
.adm-body a { color: var(--accent); }
.adm-table summary { cursor: pointer; color: var(--accent); font-weight: 600; font-size: .88rem; margin-top: 8px; }
.adm-list h3 { font-size: .95rem; margin: 18px 0 4px; color: var(--label); }
.adm-lists { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 0 18px; }
.adm-note, .adm-muted { color: var(--muted); font-size: .84rem; }
.adm-note { margin-top: 18px; }
.adm-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 12px; margin-bottom: 14px; }
.adm-plan { padding: 16px; display: grid; gap: 8px; }
.adm-plan-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 10px; }
.adm-plan-head h3 { margin: 0; font-size: 1.05rem; color: var(--label); }
.adm-kv { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 0; }
.adm-kv div { display: grid; gap: 2px; }
.adm-kv dt { color: var(--muted); font-size: .75rem; font-weight: 600; }
.adm-kv dd { margin: 0; font-size: 1.35rem; font-weight: 750; color: var(--label); font-variant-numeric: tabular-nums; }
.adm-chart-wrap.adm-mini { padding: 0; margin: 0; }
.adm-mini .adm-tip { top: 24px; }
@media (max-width: 420px) { .adm-kv dd { font-size: 1.1rem; } .adm-plan { padding: 12px; } }
.adm-badge { display: inline-block; margin-left: 8px; padding: 2px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; vertical-align: middle; border: 1px solid var(--line); }
.adm-badge.live { background: var(--ok); border-color: var(--ok); color: #fff; }
.adm-badge.test { background: var(--surface-2); color: var(--warn); border-color: var(--warn); }
.adm-badge.off { background: var(--surface-2); color: var(--muted); }
:root[data-theme="dark"] .adm-badge.live { color: var(--deep); }
.adm-fresh { font: inherit; font-size: .84rem; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--accent); cursor: pointer; }
.adm-fresh:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; }
.adm-boxes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 12px; margin-bottom: 14px; }
.adm-box { padding: 16px; display: grid; gap: 8px; align-content: start; border-left-width: 4px; }
.adm-box.adm-ok { border-left-color: var(--ok); } .adm-box.adm-warn { border-left-color: var(--warn); } .adm-box.adm-bad { border-left-color: #b42318; }
:root[data-theme="dark"] .adm-box.adm-bad { border-left-color: #f97066; }
.adm-status { margin: 0; font-weight: 600; color: var(--label); font-size: .9rem; }
.adm-box .adm-kv { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
.adm-box .adm-kv dd { font-size: 1.05rem; }
/* /admin tables: a column is never narrower than a word (the shared table style breaks anywhere; a long address still wraps) */
.adm-body .usage-table th, .adm-body .usage-table td { overflow-wrap: break-word; }
.adm-filters { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin: 14px 0 0; color: var(--label); font-size: .9rem; }
.adm-filters select, .adm-filters input { font: inherit; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--label); min-height: 34px; margin-left: 6px; max-width: 100%; }
.adm-filters input { min-width: min(240px, 60vw); }
