/* Labor Desk's own look: playful, but crisp.
   An off-white page, black ink, bold grotesque headlines with a gray second
   line, bento tiles in a few bright flat colors, and a crew of blob workers
   (crew.js) who do the jobs. Primary actions are chunky: black outline and a
   hard offset shadow. Everything else stays clean and quiet. Datum appears
   only as a small credit. */
:root {
  --page: #F4F2ED;
  --card: #FFFFFF;
  --ink: #111111;
  --body: #3A3936;
  --muted: #8B8984;
  --line: #E6E3DC;
  --line-strong: #CFCBC2;
  --yellow: #FFD02E;
  --blue: #6E9BFF;
  --lime: #C6F36B;
  --pink: #FF5C93;
  --purple: #8B6CFF;
  --green: #12B76A;
  --red: #E5484D;
  --red-wash: #FDECEC;
  --radius: 20px;
  --head: "Bricolage Grotesque", "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "SF Mono", "JetBrains Mono", Menlo, monospace;
  --hard: 3px 3px 0 var(--ink);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--page); }
body { margin: 0; background: var(--page); color: var(--body); font: 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }

/* ---- type ---- */
h1, h2, h3 { font-family: var(--head); color: var(--ink); }
h1 { font-size: 40px; line-height: 1.02; letter-spacing: -0.035em; font-weight: 800; margin: 4px 0 8px; }
.dim { color: #A8A6A0; }
h2 { font-size: 13px; font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; color: var(--muted); margin: 28px 0 10px; }
.sub { margin: 0 0 6px; color: var(--muted); font-size: 15px; }
.small { font-size: 13px; color: var(--muted); }
.strong { display: block; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.err { color: var(--red); }
.mono { font-family: var(--mono); font-size: 13px; overflow-wrap: anywhere; color: var(--ink); margin: 8px 0; }

/* ---- the frame: a black rail beside the page ---- */
.frame { display: flex; min-height: 100vh; }
.stage { flex: 1; min-width: 0; }
.stage main { max-width: 920px; margin: 0 auto; padding: 36px 28px 12px; }
.stage footer { max-width: 920px; margin: 24px auto 0; padding: 18px 28px 32px; color: var(--muted); font-size: 12px; border-top: 1px solid var(--line); }

.rail {
  position: sticky; top: 0; height: 100vh; flex: none; width: 76px; padding: 14px 0;
  display: flex; flex-direction: column; align-items: center; gap: 6px; background: var(--ink); transition: width 0.18s ease;
}
.rail-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.rail-mark {
  width: 38px; height: 38px; border-radius: 12px; background: var(--yellow); color: var(--ink);
  display: flex; align-items: center; justify-content: center; font: 800 20px var(--head);
}
.rail-name { display: none; color: #fff; font: 800 17px var(--head); white-space: nowrap; letter-spacing: -0.02em; }
.rail-tabs, .rail-foot { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.rail-foot { margin-top: auto; }
.rail-btn {
  position: relative; width: 48px; height: 48px; padding: 0; border: none; border-radius: 14px; box-shadow: none;
  background: transparent; color: rgba(255, 255, 255, 0.7); display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.rail-btn:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.rail-btn.on { background: #fff; color: var(--ink); }
.rail-toggle { color: rgba(255, 255, 255, 0.45); margin-bottom: 6px; }
.ico, .ico svg { width: 22px; height: 22px; display: block; }
.rail-label {
  position: absolute; left: 58px; top: 50%; transform: translateY(-50%); z-index: 5; pointer-events: none;
  white-space: nowrap; font-size: 13px; font-weight: 600; color: #fff; background: var(--ink);
  padding: 6px 10px; border-radius: 10px; opacity: 0; transition: opacity 0.12s ease;
}
.rail-btn:hover .rail-label { opacity: 1; }
.rail-badge {
  position: absolute; top: 3px; right: 2px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px;
  background: var(--yellow); color: var(--ink); font-size: 11px; font-weight: 800; line-height: 19px; text-align: center;
}
.rail-sample { font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); background: var(--lime); padding: 3px 7px; border-radius: 6px; }
.rail.open { width: 228px; align-items: stretch; padding: 14px 12px; }
.rail.open .rail-head { padding: 0 4px; margin-bottom: 10px; }
.rail.open .rail-name { display: block; }
.rail.open .rail-tabs, .rail.open .rail-foot { align-items: stretch; }
.rail.open .rail-btn { width: 100%; height: 46px; justify-content: flex-start; gap: 12px; padding: 0 12px; }
.rail.open .rail-label { position: static; transform: none; opacity: 1; background: none; padding: 0; font-size: 14px; color: inherit; }
.rail.open .rail-badge { position: static; margin-left: auto; }
.rail.open .rail-sample { align-self: flex-start; margin-left: 12px; }

/* ---- controls: crisp, with one chunky primary ---- */
button {
  font: 600 14px var(--sans); padding: 9px 16px; border-radius: 12px; cursor: pointer;
  border: 1.5px solid var(--ink); background: var(--card); color: var(--ink);
  transition: transform 0.08s ease, box-shadow 0.08s ease, background 0.12s ease;
}
button:hover { background: #FAF9F6; }
button:disabled { opacity: 0.5; cursor: default; }
button.primary { background: var(--yellow); border: 2px solid var(--ink); box-shadow: var(--hard); }
button.primary:hover { background: #000000; }
button.primary:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.link-btn, .link-btn:hover { border: none; background: none; color: var(--muted); padding: 6px 4px; box-shadow: none; }
.link-btn:hover { color: var(--ink); }
button.chip, .chip { border: 1.5px solid var(--line-strong); background: var(--card); color: var(--body); border-radius: 999px; padding: 5px 13px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
input, textarea {
  font: inherit; width: 100%; padding: 11px 14px; border-radius: 14px;
  border: 1.5px solid var(--line-strong); background: var(--card); color: var(--ink);
}
input::placeholder, textarea::placeholder { color: #B5B2AB; }
input:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255, 208, 46, 0.6); }
button:focus-visible { outline: 3px solid var(--purple); outline-offset: 2px; }
textarea { min-height: 120px; margin: 10px 0; }
input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--ink); vertical-align: middle; }
.inline { display: flex; gap: 8px; margin-top: 8px; }
.split { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 12px; }
.row { display: block; margin: 8px 0; color: var(--ink); }
.toolbar { display: flex; justify-content: flex-end; margin: 8px 0; }

/* ---- surfaces ---- */
.box, .scroll, .cx-card, .bubble, .cc, .wz-review, .ld-card { background: var(--card); border-radius: var(--radius); }
.box { padding: 18px; margin: 12px 0; }
.note { padding: 12px 16px; color: var(--ink); background: var(--card); border: 1.5px solid var(--ink); box-shadow: var(--hard); border-radius: 14px; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; background: #F0EEE8; color: var(--body); }
.pill.ok { background: #E3F9EC; color: #0A7A45; }
.pill.wait { background: #EAF1FD; color: #2A55B8; }
.pill.held { background: var(--red-wash); color: var(--red); }
.pill.off { background: #F0EEE8; color: var(--muted); }
.receipt { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line); font: 11px var(--mono); color: var(--muted); overflow-wrap: anywhere; }
.scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; padding: 12px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
td { text-align: left; padding: 12px; border-top: 1px solid var(--line); color: var(--ink); vertical-align: top; }
.empty { color: var(--muted); font-size: 14px; margin: 8px 0; }
.more { margin-top: 6px; }

/* ---- the work board ---- */
.board-banner { margin: 0 0 22px; border-radius: 24px; overflow: hidden; }
.board-banner .ht-img { aspect-ratio: 1800 / 420; object-fit: cover; }
.pair {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px; margin: 10px 0 14px;
  background: var(--card); border-radius: 24px;
}
.pair-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pair-text b { color: var(--ink); font: 700 17px var(--head); letter-spacing: -0.01em; }
.pair-text span { font-size: 14px; color: var(--muted); }
.crew-report { color: var(--body) !important; }
.pair-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--line-strong); flex: none; }
.pair.on .pair-dot { background: var(--green); }
.pair.off .pair-dot { background: var(--yellow); }
.pair.off { background: #EAF1FD; }

.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 0 16px; }
.tile { border-radius: 22px; padding: 16px 16px 14px; background: var(--card); min-height: 112px; display: flex; flex-direction: column; justify-content: space-between; }
.tile-n { font: 800 44px/1 var(--head); color: var(--ink); letter-spacing: -0.04em; }
.tile-l { font-size: 13px; font-weight: 600; color: var(--body); }
.tiles .tile:nth-child(1) { background: var(--blue); }
.tiles .tile:nth-child(2) { background: var(--yellow); }
.tiles .tile:nth-child(4) { background: var(--lime); }
.tiles .tile:nth-child(1) .tile-n, .tiles .tile:nth-child(1) .tile-l { color: #0B1B4D; }

.newjob { margin: 0 0 6px; }
.newjob button { width: 100%; border: 2px dashed var(--line-strong); background: transparent; color: var(--muted); padding: 14px; border-radius: 18px; }
.newjob button:hover { border-color: var(--ink); color: var(--ink); }
.composer textarea { min-height: 80px; }

.lane { margin: 22px 0 0; }
.lane-head { display: flex; align-items: center; gap: 8px; }
.lane-head h2 { margin: 0; }
.count { font-size: 12px; font-weight: 800; color: var(--ink); background: var(--card); border-radius: 999px; padding: 1px 9px; }
.lane-review .count { background: var(--yellow); }

.job { background: var(--card); border-radius: 22px; margin: 10px 0; padding: 0 18px 16px; }
.job-held { box-shadow: inset 0 0 0 2px var(--red-wash); }
.job-done { background: rgba(255, 255, 255, 0.6); }
.job-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; width: 100%; border: none; background: none; padding: 16px 0 10px; text-align: left; box-shadow: none; }
.job-head:hover { background: none; }
.job-title { font: 700 17px var(--head); color: var(--ink); margin-right: auto; letter-spacing: -0.01em; }
.job-when { font-size: 13px; color: var(--muted); }
.text { white-space: pre-wrap; color: var(--ink); margin: 10px 0; font-size: 16px; }
.track { display: flex; gap: 4px; margin: 0 0 12px; }
.step { flex: 1; height: 6px; border-radius: 3px; background: #EFECE6; }
.step.on { background: var(--ink); }
.step.now { background: var(--yellow); }
.job-working .step.now { animation: working 1.4s ease-in-out infinite; }
.step.bad { background: var(--red); }
@keyframes working { 50% { opacity: 0.35; } }
.timeline { list-style: none; padding: 10px 0 0; margin: 10px 0 0; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; font-size: 13px; padding: 4px 0; color: var(--ink); }
.timeline .who { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.timeline .t-ai .who { color: #C2410C; }
.timeline .t-datum .who { color: #0A7A45; }
.timeline .bad .who, .timeline .bad .what { color: var(--red); }
.timeline .at { font-size: 12px; color: var(--muted); }
.post-images { margin: 12px 0 4px; display: grid; gap: 8px; }
.post-image-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.post-image { flex: none; width: 84px; padding: 0; border-radius: 14px; overflow: hidden; border: 2px solid transparent; background: none; }
.post-image:hover { border-color: var(--ink); background: none; }
.ht-img { display: block; width: 100%; height: auto; background: #EDEBE5; }
.ht-loading { aspect-ratio: 3 / 2; opacity: 0.5; }
.ht-failed { display: none; }

/* ---- workers (crew.js) ---- */
.wk { display: inline-block; width: var(--wk, 64px); height: var(--wk, 64px); flex: none; }
.wk svg { width: 100%; height: 100%; display: block; overflow: visible; }
.wk-eyes { transform-origin: 50% 44%; transform-box: view-box; animation: wk-blink 5s infinite; }
.wk-working .wk-eyes { animation: wk-look 2.6s ease-in-out infinite, wk-blink 5s infinite; }
.wk-waiting .wk-eyes { translate: 0 -3px; }
@keyframes wk-blink { 0%, 94%, 100% { scale: 1 1; } 97% { scale: 1 0.1; } }
@keyframes wk-look { 0%, 100% { translate: 0 0; } 30% { translate: -5px 1px; } 65% { translate: 5px 1px; } }
.pair .wk { margin: -4px 0; }
@media (prefers-reduced-motion: reduce) { .wk-eyes, .wk-working .wk-eyes { animation: none; } }

/* ---- connections ---- */
.cx-hero { background: var(--ink); color: #fff; border-radius: 24px; padding: 20px 18px 8px; margin: 4px 0 18px; }
.cx-kicker { font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--yellow); }
h2.cx-title { color: #fff; font: 800 24px var(--head); text-transform: none; letter-spacing: -0.02em; margin: 4px 0; }
.cx-sub { color: rgba(255, 255, 255, 0.7); font-size: 14px; margin: 0 0 12px; }
.cx-hero .cx-card { background: rgba(255, 255, 255, 0.08); color: #fff; }
.cx-hero .cx-name { color: #fff; }
.cx-hero .cx-about { color: rgba(255, 255, 255, 0.7); }
.cx-head { display: flex; align-items: center; gap: 8px; margin: 8px 0 10px; }
.cx-head h2 { margin: 0; }
.cx-search { margin: 0 0 10px; }
.cx-chips { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 6px; }
.cx-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 12px; }
.cx-card { display: flex; align-items: flex-start; gap: 12px; padding: 14px; min-width: 0; }
.cx-icon { --c: #4A5A68; flex: none; width: 44px; height: 44px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--c); color: #fff; font: 800 19px var(--head); }
.cx-body { flex: 1; min-width: 0; }
.cx-name { display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink); }
.cx-tick { display: inline-flex; align-items: center; justify-content: center; width: 15px; height: 15px; border-radius: 50%; border: 1px solid var(--muted); color: var(--muted); font-size: 9px; }
.cx-about { font-size: 13px; color: var(--body); margin-top: 2px; }
.cx-by { font-size: 12px; color: var(--muted); margin-top: 4px; }
.cx-need { color: #C2410C; font-weight: 800; }
.cx-btn { flex: none; width: 34px; height: 34px; padding: 0; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; line-height: 1; }
span.cx-btn.on { background: #E3F9EC; color: #0A7A45; font-size: 15px; font-weight: 800; }
.cx-check { flex: none; padding: 6px 10px; font-size: 13px; }

/* ---- chat ---- */
.chat { margin-top: 8px; }
.chat-log { display: flex; flex-direction: column; gap: 10px; }
.msg { display: flex; flex-direction: column; gap: 8px; max-width: 86%; }
.msg-you { align-self: flex-end; align-items: flex-end; }
.msg-ai { align-self: flex-start; }
.bubble { padding: 11px 15px; white-space: pre-wrap; color: var(--ink); border-radius: 20px 20px 20px 6px; }
.msg-you .bubble { background: var(--ink); color: #fff; border-radius: 20px 20px 6px 20px; }
.msg-err .bubble { color: var(--red); }
.typing { color: var(--muted); }
.cc { padding: 14px 16px; }
.cc-kind { font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.cc-list { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; margin: 0; }
.cc-list dt { color: var(--muted); font-size: 13px; }
.cc-list dd { margin: 0; color: var(--ink); font-size: 14px; }
.cc-rule { margin: 0; color: var(--ink); font-weight: 700; }
.cc-done { margin-top: 8px; font-size: 13px; font-weight: 800; color: #0A7A45; }
.chat-compose { display: flex; gap: 8px; align-items: flex-end; margin-top: 14px; }
.chat-compose textarea { min-height: 50px; margin: 0; }
.chat-offer { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: #EAF1FD; border-radius: 18px; padding: 12px 16px; margin: 8px 0 16px; color: var(--ink); }

/* ---- guided setup: full screen, one thing at a time ---- */
.fx { position: fixed; inset: 0; z-index: 50; display: flex; flex-direction: column; background: var(--page); overflow: hidden; }
.fx-bar { flex: none; height: 6px; background: #E9E6DF; }
.fx-fill { display: block; height: 100%; width: 0; background: var(--ink); transition: width 0.3s ease; }
.fx-top { flex: none; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 0 20px; height: 62px; color: var(--ink); }
.fx-top .mark { display: flex; align-items: center; gap: 10px; font: 800 17px var(--head); letter-spacing: -0.02em; }
.fx-top .mark::before { content: "L"; width: 30px; height: 30px; border-radius: 10px; background: var(--yellow); display: flex; align-items: center; justify-content: center; font-size: 16px; }
.fx-part { font-size: 13px; color: var(--muted); white-space: nowrap; }
.fx-part b { color: var(--ink); }
.fx-exit { justify-self: end; border: none; background: none; color: var(--muted); padding: 6px 4px; box-shadow: none; }
.fx-exit:hover { color: var(--ink); background: none; }
.fx-main { flex: 1; overflow-y: auto; display: flex; padding: 12px 16px 24px; }
.fx-body { width: 100%; max-width: 620px; margin: auto; padding: 34px 34px 30px; background: var(--card); border-radius: 30px; }
.fx h1 { font-size: 36px; }
.fx .wz-lead { font-size: 17px; color: var(--body); margin: 0 0 22px; }
.fx-body > input { font-size: 19px; padding: 15px 16px; border-width: 2px; border-color: var(--ink); }
.fx-err { color: var(--red); font-weight: 700; margin: 10px 0 0; }
.fx-links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 14px; }
.fx-links:empty { display: none; }
.fx-foot { flex: none; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); background: var(--page); }
.fx-foot-in { max-width: 620px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.fx-back { border: none; background: none; color: var(--muted); padding: 12px 4px; font-size: 15px; box-shadow: none; }
.fx-back:hover { color: var(--ink); background: none; }
.fx-go { display: flex; align-items: center; gap: 14px; }
.fx-hint { font-size: 13px; color: var(--muted); }
.fx-next { padding: 14px 30px; font-size: 16px; }
.fx-done .fx-body { text-align: center; }

.wz-kicker { font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.wz-lead { font-size: 16px; color: var(--body); margin: 0 0 16px; }
.wz-saved { font-size: 14px; color: var(--muted); margin: 0 0 8px; }
.wz-saved b { color: var(--ink); }
.wz-options { display: grid; gap: 8px; margin: 4px 0 8px; }
.wz-opt {
  display: flex; align-items: center; gap: 12px; text-align: left; padding: 15px 16px; font-size: 16px; font-weight: 600;
  border: 2px solid var(--line); background: var(--card); border-radius: 16px;
}
.wz-opt:hover { border-color: var(--ink); background: var(--card); }
.wz-opt.on { border-color: var(--ink); background: #EAF1FD; box-shadow: var(--hard); }
.wz-radio, .wz-box { flex: none; width: 20px; height: 20px; border: 2px solid var(--line-strong); background: var(--card); }
.wz-radio { border-radius: 50%; }
.wz-box { border-radius: 6px; }
.wz-opt.on .wz-radio { border-color: var(--ink); box-shadow: inset 0 0 0 4px var(--card); background: var(--ink); }
.wz-opt.on .wz-box { border-color: var(--ink); background: var(--ink); }
.wz-rule { align-items: flex-start; }
.wz-rule .wz-box { margin-top: 3px; }
.wz-rule-k { color: var(--muted); font-weight: 500; }
.wz-rec { margin-left: auto; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; background: var(--lime); color: var(--ink); padding: 3px 8px; border-radius: 999px; }
.wz-own { margin-top: 16px; }
.wz-outline { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.wz-outline li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; color: var(--ink); font-weight: 600; background: var(--page); border-radius: 14px; }
.wz-outline b { flex: none; width: 28px; height: 28px; border-radius: 9px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; }
.wz-review { border: 2px solid var(--line); }
.wz-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 13px 16px; border-top: 1px solid var(--line); }
.wz-row:first-child { border-top: none; }
.wz-val { color: var(--ink); font-weight: 700; overflow-wrap: anywhere; }
.wz-src { font-size: 13px; color: var(--muted); margin-top: 4px; overflow-wrap: anywhere; font-weight: 400; }
.wz-src q { font-style: italic; }
.wz-opt .wz-src { display: block; }
.wz-check { margin: 0 auto 10px; }
.wz-log { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.wz-log li { display: flex; align-items: flex-start; gap: 12px; color: var(--ink); }
.wz-l-dot { flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; position: relative; }
.wz-l-doing .wz-l-dot, .wz-l-look .wz-l-dot { border: 3px solid #EAE7E0; border-top-color: var(--ink); animation: wz-spin 0.8s linear infinite; }
.wz-l-done .wz-l-dot { background: var(--green); }
.wz-l-done .wz-l-dot::after, .wz-l-warn .wz-l-dot::after { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; }
.wz-l-done .wz-l-dot::after { content: "✓"; color: #fff; }
.wz-l-warn .wz-l-dot { background: var(--yellow); }
.wz-l-warn .wz-l-dot::after { content: "!"; color: var(--ink); }
.wz-l-t { display: block; font-weight: 700; }
.wz-l-d { display: block; font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.wz-l-look { color: var(--purple) !important; font-weight: 700; }
.wz-spin { margin-bottom: 12px; }
.wz-found { display: grid; gap: 10px; }
.wz-find { padding: 13px 15px; background: var(--card); border: 2px solid var(--line); border-radius: 16px; }
.wz-find.off { background: var(--page); }
.wz-find.off .wz-val { color: var(--muted); text-decoration: line-through; }
.wz-find-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.wz-find-acts { display: flex; gap: 6px; }
.wz-find input { margin: 4px 0; font-size: 17px; padding: 10px 12px; }
.wz-in { animation: wz-in 0.35s ease-out; }
@keyframes wz-in { from { opacity: 0; transform: translateY(10px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes wz-spin { to { transform: rotate(360deg); } }
.wz-link {
  display: flex; align-items: center; gap: 12px; width: 100%; margin: 0 0 8px; padding: 10px 14px; text-align: left; font-size: 16px;
  border: 2px dashed var(--line-strong); background: var(--card); border-radius: 16px;
}
.wz-link:hover { border-color: var(--ink); background: var(--card); }
.wz-link .cx-icon, .wz-linked .cx-icon { width: 36px; height: 36px; font-size: 16px; border-radius: 10px; }
.wz-plus { margin-left: auto; font-size: 22px; font-weight: 400; color: var(--muted); }
.wz-linked { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; }
.wz-linked input { flex: 1; min-width: 0; font-size: 16px; padding: 10px 12px; }
.wz-linked-card { padding: 10px 12px; background: #E3F9EC; border-radius: 16px; }
.wz-linked-url { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.wz-linked-url b { color: var(--ink); overflow-wrap: anywhere; font-size: 15px; }
.wz-gmail { background: #EA4335; }
.wz-linkedin { background: #0A66C2; }
.wz-facebook { background: #1877F2; }
.wz-metricool { background: #5B3FD6; }
.wz-gm { margin-top: 14px; border: 2px solid var(--line); border-radius: 18px; }
.wz-tog { flex: none; width: 48px; height: 30px; padding: 3px; border-radius: 999px; background: var(--line-strong); border: none; display: flex; align-items: center; box-shadow: none; }
.wz-tog:hover { background: var(--line-strong); }
.wz-tog span { width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform 0.15s ease; }
.wz-tog.on, .wz-tog.on:hover { background: var(--green); }
.wz-tog.on span { transform: translateX(18px); }
.wz-photos { margin-top: 18px; }
.wz-photos-head { display: flex; justify-content: space-between; margin-bottom: 8px; }
.wz-photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.wz-photo { display: flex; flex-direction: column; gap: 6px; }
.wz-photo-pick { padding: 0; border-radius: 14px; overflow: hidden; border: 2px solid transparent; background: none; box-shadow: none; }
.wz-photo.banner .wz-photo-pick { border-color: var(--ink); box-shadow: var(--hard); }
.wz-photo.off .wz-photo-pick { opacity: 0.25; }
.wz-star { font-size: 12px; padding: 4px 10px; border-radius: 999px; align-self: flex-start; border: 1.5px solid var(--line-strong); color: var(--muted); }
.wz-star.on { background: var(--yellow); color: var(--ink); border-color: var(--ink); }

/* ---- the landing page ---- */
.ld { background: var(--page); min-height: 100vh; }
.ld-nav {
  position: sticky; top: 14px; z-index: 10; max-width: 1180px; margin: 14px auto 0; display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 12px; padding: 8px 8px 8px 20px; background: rgba(255, 255, 255, 0.86); border-radius: 999px;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.ld-links { display: flex; gap: 22px; }
.ld-links a { color: var(--body); text-decoration: none; font-size: 14px; font-weight: 600; }
.ld-links a:hover { color: var(--ink); }
.ld-brand { display: flex; align-items: center; gap: 9px; color: var(--ink); font: 800 19px var(--head); letter-spacing: -0.02em; }
.ld-brand-mark { width: 30px; height: 30px; border-radius: 10px; background: var(--yellow); color: var(--ink); display: flex; align-items: center; justify-content: center; font-size: 16px; }
.ld-nav-end { justify-self: end; }
.ld-pill {
  display: inline-flex; align-items: center; gap: 12px; padding: 8px 8px 8px 20px; border-radius: 999px;
  background: var(--yellow); border: 2px solid var(--ink); box-shadow: var(--hard); color: var(--ink); font-size: 15px; font-weight: 700;
}
.ld-pill:hover { background: #000000; }
.ld-pill:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.ld-pill-arrow { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.ld-pill-sm { font-size: 14px; padding: 5px 5px 5px 16px; box-shadow: 2px 2px 0 var(--ink); }
.ld-pill-sm .ld-pill-arrow { width: 26px; height: 26px; }
.ld-ghost, .ld-ghost:hover { border: none; background: none; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; padding: 8px 6px; font-weight: 600; box-shadow: none; }
.ld-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ld-cta-center { justify-content: center; }

/* hero: the crew floats around the headline */
.ld-hero { position: relative; max-width: 1180px; margin: 0 auto; min-height: calc(100vh - 80px); min-height: calc(100svh - 80px); display: flex; align-items: center; justify-content: center; text-align: center; padding: 60px 20px; overflow: hidden; }
.ld-hero-c { position: relative; z-index: 2; max-width: 680px; }
.ld-word { margin: 0; font: 800 clamp(56px, 9vw, 120px)/0.92 var(--head); letter-spacing: -0.05em; color: var(--ink); }
.ld-blurb { color: var(--body); font-size: 19px; margin: 22px auto 28px; max-width: 520px; }
.ld-msg { color: var(--red); font-size: 14px; }
.ld-float { position: absolute; left: var(--x); top: var(--y); z-index: 1; animation: ld-bob 6s ease-in-out infinite; animation-delay: var(--d); }
@keyframes ld-bob { 50% { translate: 0 -12px; rotate: var(--r, 4deg); } }
@media (prefers-reduced-motion: reduce) { .ld-float { animation: none; } }

.ld-sec { max-width: 1180px; margin: 0 auto; padding: 90px 20px 0; }
.ld-kicker { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.ld-h2 { font: 800 clamp(34px, 4.6vw, 56px)/1.02 var(--head); letter-spacing: -0.04em; color: var(--ink); text-transform: none; margin: 0 0 28px; max-width: 760px; }
.ld-p { color: var(--body); font-size: 18px; max-width: 560px; margin: -8px 0 26px; }
.ld-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ld-card { padding: 26px; border-radius: 26px; min-height: 220px; display: flex; flex-direction: column; }
.ld-card h3 { font: 800 24px/1.1 var(--head); letter-spacing: -0.02em; margin: auto 0 8px; }
.ld-card p { color: var(--body); margin: 0; font-size: 15px; }
.ld-how .ld-card:nth-child(1) { background: var(--blue); }
.ld-how .ld-card:nth-child(2) { background: var(--yellow); }
.ld-how .ld-card:nth-child(3) { background: var(--lime); }
.ld-n { font: 800 14px var(--mono); color: var(--ink); width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, 0.65); display: flex; align-items: center; justify-content: center; }
.ld-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.ld-demo { padding: 24px; border-radius: 28px; background: var(--card); display: grid; gap: 12px; }
.ld-demo-top { display: flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 800; }
.ld-demo .wz-log { margin: 0; }

/* the crew: tap the workers you want */
.ld-crew-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.ld-worker {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; text-align: left;
  padding: 20px; border-radius: 26px; background: var(--card); border: 2px solid transparent; box-shadow: none; min-height: 200px;
}
.ld-worker:hover { border-color: var(--ink); background: var(--card); }
.ld-worker.on { border-color: var(--ink); box-shadow: var(--hard); }
.ld-worker .wk { transition: transform 0.2s ease; }
.ld-worker:hover .wk { transform: rotate(-6deg) scale(1.06); }
.ld-wname { font: 800 20px var(--head); color: var(--ink); letter-spacing: -0.02em; }
.ld-does { font-size: 14px; color: var(--body); font-weight: 500; }
.ld-status { position: absolute; top: 18px; right: 18px; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: #F0EEE8; color: var(--muted); }
.ld-status.open { background: var(--lime); color: var(--ink); }
.ld-pick { position: absolute; bottom: 18px; right: 18px; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--line-strong); display: flex; align-items: center; justify-content: center; font-weight: 800; color: transparent; }
.ld-worker.on .ld-pick { background: var(--ink); border-color: var(--ink); color: #fff; }
.ld-crew-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 18px; padding: 14px 14px 14px 20px; border-radius: 22px; background: var(--ink); color: #fff; }
.ld-crew-bar b { font: 800 18px var(--head); }
.ld-crew-faces { display: flex; align-items: center; gap: 4px; }

.ld-end { max-width: 1180px; margin: 100px auto 0; padding: 70px 24px; border-radius: 32px; text-align: center; background: var(--ink); color: #fff; }
.ld-end-h { color: #fff; font: 800 clamp(36px, 5vw, 64px)/1 var(--head); letter-spacing: -0.04em; text-transform: none; margin: 0 0 12px; }
.ld-end p { color: rgba(255, 255, 255, 0.75); margin: 0 0 26px; }
.ld-end .ld-ghost { color: #fff; }
.ld-end-faces { display: flex; justify-content: center; gap: 10px; margin-bottom: 22px; }
.ld-foot { max-width: 1180px; margin: 0 auto; padding: 28px 20px 24px; display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 13px; }
.ld-foot b { color: var(--ink); }

/* ---- phones ---- */
@media (max-width: 760px) {
  .frame { display: block; padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .stage main { padding: 24px 16px 8px; }
  .stage footer { padding: 16px 16px 24px; }
  h1 { font-size: 32px; }
  .rail {
    position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 20; width: auto; height: calc(68px + env(safe-area-inset-bottom));
    flex-direction: row; justify-content: space-around; padding: 8px 6px env(safe-area-inset-bottom); border-radius: 22px 22px 0 0;
  }
  .rail-head, .rail-toggle, .rail-sample, .rail-label { display: none; }
  .rail-tabs { flex-direction: row; gap: 0; flex: 1; justify-content: space-around; }
  .rail-foot { flex-direction: row; margin: 0; }
  .rail-btn { width: 44px; height: 44px; }
  .rail.open { width: auto; padding: 8px 6px env(safe-area-inset-bottom); }
  .rail.open .rail-btn { width: 44px; padding: 0; justify-content: center; }
  .rail.open .rail-badge { position: absolute; }
  .rail.open .rail-foot { flex-direction: row; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile { min-height: 96px; }
  .tile-n { font-size: 36px; }
  .pair { flex-wrap: wrap; }
  .pair button { width: 100%; }
  .split, .inline { flex-direction: column; align-items: stretch; }
  .cx-grid { grid-template-columns: minmax(0, 1fr); }
  .msg { max-width: 100%; }
  .fx-top { grid-template-columns: 1fr auto; }
  .fx-top .mark { display: none; }
  .fx-body { padding: 26px 20px; border-radius: 24px; }
  .fx h1 { font-size: 28px; }
  .fx .wz-lead { font-size: 16px; }
  .fx-hint { display: none; }
  .fx-go, .fx-next { flex: 1; }
  .ld-nav { grid-template-columns: 1fr auto; padding-left: 16px; margin: 10px 10px 0; }
  .ld-links { display: none; }
  .ld-brand { justify-self: start; }
  .ld-three, .ld-split { grid-template-columns: minmax(0, 1fr); }
  .ld-card { min-height: 170px; }
  .ld-sec { padding-top: 70px; }
  .ld-hero { min-height: 88svh; }
  .ld-blurb { font-size: 17px; }
  .ld-end { margin: 70px 12px 0; }
}
.ld-crew-faces-wrap { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
@media (max-width: 760px) { .ld-float { scale: 0.62; transform-origin: center; } .ld-hero-c { padding: 0 6px; } }

/* ---- the cloud (crew.js): Labor Desk's one worker ---- */
.cl { display: inline-block; flex: none; width: var(--cl, 96px); height: calc(var(--cl, 96px) * 1.22); }
.cl svg { width: 100%; height: 100%; display: block; overflow: visible; }
.cl-body { transform-box: view-box; transform-origin: 50% 50%; animation: cl-float 4.2s ease-in-out infinite; }
.cl-shadow { transform-box: fill-box; transform-origin: center; animation: cl-shadow 4.2s ease-in-out infinite; }
.cl-eyes { transform-box: view-box; transform-origin: 50% 49%; animation: cl-blink 5s infinite; }
.cl-working .cl-body, .cl-working .cl-shadow { animation-duration: 1.8s; }
.cl-working .cl-eyes { animation: cl-look 2.4s ease-in-out infinite, cl-blink 5s infinite; }
.cl-thinking .cl-eyes { translate: 4px -4px; }
.cl-waiting .cl-eyes { translate: 0 -5px; }
.cl-happy .cl-eyes, .cl-asleep .cl-eyes, .cl-worried .cl-eyes { animation: none; }
.cl-asleep .cl-body, .cl-asleep .cl-shadow { animation-duration: 7s; }
.cl-flat .cl-body { animation: none; }
@keyframes cl-float { 50% { translate: 0 -5px; } }
@keyframes cl-shadow { 50% { scale: 0.72 1; opacity: 0.08; } }
@keyframes cl-blink { 0%, 93%, 100% { scale: 1 1; } 96% { scale: 1 0.08; } }
@keyframes cl-look { 0%, 100% { translate: 0 0; } 30% { translate: -5px 1px; } 65% { translate: 5px 1px; } }
@media (prefers-reduced-motion: reduce) { .cl-body, .cl-shadow, .cl-eyes { animation: none !important; } }

/* the cloud at the top of the board, saying what it's doing */
.cloud-head { position: relative; display: flex; align-items: flex-end; gap: 18px; margin: 0 0 22px; padding: 22px 22px 18px; border-radius: 28px; background: var(--card); overflow: hidden; }
.cloud-head.has-photo { min-height: 220px; padding-top: 70px; }
.cloud-photo { position: absolute; inset: 0; }
.cloud-photo .ht-img { width: 100%; height: 100%; object-fit: cover; }
.cloud-head > .cl, .cloud-say { position: relative; z-index: 1; }
.cloud-say { flex: 1; min-width: 0; padding: 14px 18px; background: var(--card); border: 2px solid var(--ink); border-radius: 22px 22px 22px 6px; box-shadow: var(--hard); margin-bottom: 26px; }
.cloud-say b { display: block; font: 800 20px/1.2 var(--head); color: var(--ink); letter-spacing: -0.02em; }
.cloud-say span { display: block; font-size: 14px; color: var(--body); margin-top: 4px; }
.cloud-say button { margin-top: 12px; }
.cloud-head.has-photo .cloud-say { max-width: 520px; }
@media (max-width: 760px) {
  .cloud-head { padding: 16px; gap: 10px; flex-direction: column; align-items: flex-start; }
  .cloud-head.has-photo { padding-top: 40px; }
  .cloud-say { margin-bottom: 0; width: 100%; }
  .cloud-say b { font-size: 18px; }
}

/* landing, cloud edition */
.ld-hero-cloud { display: flex; justify-content: center; margin-bottom: 18px; }
.ld-brand .cl { margin-right: 2px; }
.ld-job {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; text-align: left;
  padding: 22px; padding-top: 58px; border-radius: 26px; background: var(--job, var(--card)); border: 2px solid transparent; box-shadow: none; min-height: 190px;
}
.ld-job:hover { border-color: var(--ink); background: var(--job, var(--card)); }
.ld-job.on { border-color: var(--ink); box-shadow: var(--hard); }
.ld-job .ld-status { top: 18px; left: 20px; right: auto; background: rgba(255, 255, 255, 0.7); color: var(--ink); }
.ld-job .ld-status.open { background: var(--ink); color: #fff; }
.ld-job .ld-wname { font-size: 24px; }
.ld-job .ld-does { color: var(--ink); opacity: 0.75; }
.ld-job .ld-pick { top: 16px; bottom: auto; background: rgba(255, 255, 255, 0.7); border-color: transparent; }
.ld-job.on .ld-pick { background: var(--ink); color: #fff; }
.ld-end-faces { margin-bottom: 18px; }
.fx-top .mark::before { content: none; }
.rail-mark { background: #fff; }
.rail-mark .cl { margin-top: 2px; }
.cloud-photo { opacity: 0.22; }

/* ======================================================================
   SKY BLUE, NO CHUNK (2026-10-18). The yellow and hard offset shadows read
   too much like chipp.ai. The accent is now the halftone sky's blue, primary
   actions are plain black pills, and nothing has an offset shadow. The sky
   (halftone.js withSky) sits behind the cloud in a few framed panels.
   ====================================================================== */
:root {
  --sky: #4F7FE0;
  --sky-wash: #EAF1FD;
  --sky-soft: #DCE7FB;
  --yellow: var(--sky);
  --lime: var(--sky-soft);
  --blue: var(--sky);
  --hard: none;
}
button.primary, .fx-next:not(.primary), .ld-pill { background: var(--ink); color: #fff; border: 2px solid var(--ink); box-shadow: none; }
button.primary:hover, .ld-pill:hover { background: #2A2A2A; border-color: #2A2A2A; }
button.primary:active, .ld-pill:active { transform: scale(0.98); box-shadow: none; }
.ld-pill-arrow { background: #fff; color: var(--ink); }
.rail-badge { background: var(--sky); color: #fff; }
.rail-mark { background: #fff; }
.rail-sample { background: var(--sky-soft); }
.note, .cloud-say { box-shadow: 0 10px 30px rgba(17, 17, 17, 0.08); }
.cloud-say { border-width: 1.5px; }
.wz-opt.on { background: var(--sky-wash); border-color: var(--sky); box-shadow: none; }
.wz-opt.on .wz-radio { border-color: var(--sky); background: var(--sky); }
.wz-opt.on .wz-box { border-color: var(--sky); background: var(--sky); }
.wz-rec { background: var(--sky); color: #fff; }
.wz-star.on { background: var(--sky); color: #fff; border-color: var(--sky); }
.wz-photo.banner .wz-photo-pick { border-color: var(--sky); box-shadow: none; }
.wz-l-warn .wz-l-dot { background: var(--sky-soft); }
.lane-review .count { background: var(--sky); color: #fff; }
.step.now { background: var(--sky); }
.pair.off { background: var(--sky-wash); }
input:focus, textarea:focus { box-shadow: 0 0 0 3px rgba(79, 127, 224, 0.3); }
.ld-worker.on, .ld-job.on { box-shadow: none; }
.ld-job.on { border-color: var(--ink); }
.ld-job .ld-status.open { background: var(--ink); }

/* bento tiles in the sky's blues */
.tiles .tile:nth-child(1) { background: var(--sky); }
.tiles .tile:nth-child(1) .tile-n, .tiles .tile:nth-child(1) .tile-l { color: #fff; }
.tiles .tile:nth-child(2) { background: var(--sky-soft); }
.tiles .tile:nth-child(4) { background: var(--card); }
.ld-how .ld-card:nth-child(1) { background: var(--sky); }
.ld-how .ld-card:nth-child(1) h3, .ld-how .ld-card:nth-child(1) p { color: #fff; }
.ld-how .ld-card:nth-child(2) { background: var(--sky-soft); }
.ld-how .ld-card:nth-child(3) { background: var(--card); }

/* the sky panels */
.sky { background-color: #FFFFFF; background-size: cover; background-position: center bottom; }
.ld-hero.sky { max-width: none; margin: 14px; border-radius: 32px; min-height: calc(100svh - 28px); }
.ld-hero.sky .ld-hero-c { background: rgba(255, 255, 255, 0.92); border-radius: 30px; padding: 30px 34px 32px; }
.ld-hero.sky .ld-hero-cloud { margin-top: -110px; }
.ld .ld-nav { position: absolute; left: 0; right: 0; top: 0; margin: 28px 28px 0; }
.ld { position: relative; }
.cloud-head.sky { min-height: 210px; padding-top: 64px; }
.cloud-head.sky .cloud-photo { display: none; }
.fx-welcome .fx-body, .fx-done .fx-body { position: relative; }
.fx-welcome .fx-main.sky, .fx-done .fx-main.sky { border-radius: 0; }
.ld-end.sky { color: var(--ink); }
.ld-end.sky .ld-end-h { color: var(--ink); }
.ld-end.sky > * { position: relative; }
.ld-end.sky .ld-end-c { background: rgba(255, 255, 255, 0.92); border-radius: 28px; padding: 28px; max-width: 640px; margin: 0 auto; }
.ld-end.sky p { color: var(--body); }
.ld-end.sky .ld-ghost { color: var(--ink); }
@media (max-width: 760px) {
  .ld-hero.sky { margin: 8px; border-radius: 24px; }
  .ld-hero.sky .ld-hero-c { padding: 24px 18px; }
  .ld-hero.sky .ld-hero-cloud { margin-top: -80px; }
  .ld .ld-nav { margin: 16px 16px 0; }
}

/* the plain hero (Conner: "sooooo clean"): off-white, the cloud, the words */
.ld .ld-nav { position: sticky; left: auto; right: auto; top: 14px; margin: 14px auto 0; }
.ld-hero-c { max-width: 980px; }
.ld-end { background: var(--card); color: var(--ink); }
.ld-end-h { color: var(--ink); }
.ld-end p { color: var(--body); }
.ld-end .ld-ghost { color: var(--ink); }
@media (max-width: 760px) { .ld .ld-nav { margin: 10px 10px 0; } }

/* ======================================================================
   SOFTER (2026-10-18, Conner: fun with the cloud blue, but "not so in your
   face"). A paler, finer sky; soft blue tints instead of solid blue; lighter
   headings inside the app; a quieter speech bubble. The landing hero stays.
   ====================================================================== */
.tiles .tile:nth-child(1) { background: var(--sky-soft); }
.tiles .tile:nth-child(1) .tile-n, .tiles .tile:nth-child(1) .tile-l { color: var(--ink); }
.tiles .tile:nth-child(2) { background: var(--sky-wash); }
.tile-n { font-weight: 600; }
.stage h1 { font-weight: 600; letter-spacing: -0.03em; }
.job-title, .pair-text b { font-weight: 600; }
.cloud-say { border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(17, 17, 17, 0.06); }
.cloud-say b { font-weight: 600; }
.lane-review .count, .rail-badge { background: var(--sky-soft); color: #1F3F87; }
.step.now { background: #9DB9EE; }
.ld-how .ld-card:nth-child(1) { background: var(--sky-soft); }
.ld-how .ld-card:nth-child(1) h3, .ld-how .ld-card:nth-child(1) p { color: var(--ink); }
.ld-h2 { font-weight: 600; }
.ld-card h3, .ld-wname { font-weight: 600; }
.fx h1 { font-weight: 600; }

/* the hero cloud, changing moods, and "Meet your cloud" */
.ld-hero-top { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-bottom: 18px; }
.ld-hero-cloud { border: none; background: none; padding: 0; box-shadow: none; cursor: pointer; min-height: 205px; display: flex; align-items: flex-end; }
.ld-hero-cloud:hover { background: none; }
.ld-hero-cloud .cl { animation: ld-pop 0.35s ease-out; }
@keyframes ld-pop { from { scale: 0.85; opacity: 0.4; } to { scale: 1; opacity: 1; } }
.ld-mood-word { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); min-height: 18px; }
.ld-moods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ld-mood { background: var(--card); border-radius: 26px; padding: 28px 16px 22px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.ld-mood .cl { margin-bottom: 12px; }
.ld-mood b { font: 600 20px var(--head); color: var(--ink); letter-spacing: -0.01em; }
.ld-mood span { font-size: 14px; color: var(--muted); }
@media (max-width: 760px) { .ld-moods { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ld-hero-cloud { min-height: 150px; } }
@media (prefers-reduced-motion: reduce) { .ld-hero-cloud .cl { animation: none; } }

/* the cloud morphing from one mood and job to the next */
.cl-body { transition: fill 0.9s ease; }
.cl-face { transform-box: view-box; transform-origin: 50% 50%; transition: opacity 0.45s ease, transform 0.45s ease; }
.cl-face.cl-in { opacity: 0; transform: translateY(4px) scale(0.92); }
.cl-face.cl-out { opacity: 0; transform: translateY(-3px) scale(1.04); }
.ld-hero-cloud .cl { animation: none; }
.ld-mood-word { transition: opacity 0.26s ease, transform 0.26s ease; }
.ld-mood-word.fading { opacity: 0; transform: translateY(4px); }
@media (prefers-reduced-motion: reduce) { .cl-body, .cl-face, .ld-mood-word { transition: none; } }

/* phones: the whole hero fits one screen, button included */
@media (max-width: 760px) {
  .ld-hero { min-height: calc(100svh - 72px); padding: 12px 18px 20px; align-items: center; }
  .ld-hero-top { margin-bottom: 10px; gap: 2px; }
  .ld-hero-cloud { min-height: 0; }
  .ld-hero-cloud .cl { --cl: 130px !important; }
  .ld-word { font-size: clamp(34px, 10.4vw, 52px); letter-spacing: -0.045em; }
  .ld-blurb { font-size: 15px; line-height: 1.45; margin: 14px auto 18px; }
  .ld-mood-word { font-size: 11px; }
  .ld-pill { font-size: 15px; }
}
@media (max-width: 760px) and (max-height: 600px) {
  .ld-hero-cloud .cl { --cl: 100px !important; }
  .ld-blurb { margin: 10px auto 14px; }
}

/* the jobs: bold, solid, white type (Conner: no muted pastels) */
.ld-job { background: var(--job); color: #fff; border: 3px solid transparent; }
.ld-job .ld-wname, .ld-job .ld-does { color: #fff; opacity: 1; }
.ld-job .ld-does { opacity: 0.88; }
.ld-job .ld-status { background: rgba(255, 255, 255, 0.22); color: #fff; }
.ld-job .ld-status.open { background: #fff; color: var(--ink); }
.ld-job .ld-pick { background: rgba(255, 255, 255, 0.22); border: 2px solid rgba(255, 255, 255, 0.6); }
.ld-job.on { border-color: var(--ink); box-shadow: none; }
.ld-job.on .ld-pick { background: #fff; border-color: #fff; color: var(--ink); }
.ld-job:hover { border-color: transparent; background: var(--job); }
.ld-job.on:hover { border-color: var(--ink); }
@media (hover: hover) { .ld-job:hover { border-color: var(--ink); } }
@media (max-width: 760px) { .ld-job { min-height: 0; padding: 20px; padding-top: 56px; } .ld-job .ld-wname { font-size: 22px; } }

/* crisp: flat color, clean edges, no shadows (Conner, 2026-10-18) */
.cloud-say, .note, .ld-nav, .fx-body, .ld-crew-cta { box-shadow: none; }
.cloud-say { border: 1px solid var(--line); }
.cl { height: calc(var(--cl, 96px) * 1.02); }
.cl.cl-shadowed { height: calc(var(--cl, 96px) * 1.22); }
.cl svg { overflow: visible; }

/* no pastels: bold solid or plain white */
.tiles .tile { background: var(--card); }
.tiles .tile:nth-child(1) { background: #1570EF; }
.tiles .tile:nth-child(1) .tile-n, .tiles .tile:nth-child(1) .tile-l { color: #fff; }
.tiles .tile:nth-child(2), .tiles .tile:nth-child(4) { background: var(--card); }
.ld-how .ld-card:nth-child(1) { background: #1570EF; }
.ld-how .ld-card:nth-child(2) { background: #FF2E93; }
.ld-how .ld-card:nth-child(3) { background: #12B76A; }
.ld-how .ld-card h3, .ld-how .ld-card p, .ld-how .ld-card:nth-child(1) h3, .ld-how .ld-card:nth-child(1) p { color: #fff; }
.ld-how .ld-n { background: rgba(255, 255, 255, 0.22); color: #fff; }
.lane-review .count, .rail-badge { background: #1570EF; color: #fff; }
.pair.off, .chat-offer { background: var(--card); border: 1px solid var(--line); }
.wz-opt.on { background: #1570EF; border-color: #1570EF; color: #fff; }
.wz-opt.on .wz-radio, .wz-opt.on .wz-box { border-color: #fff; background: #fff; box-shadow: inset 0 0 0 4px #1570EF; }
.wz-opt.on .wz-box { box-shadow: none; }
.wz-opt.on .wz-src, .wz-opt.on .wz-rule-k { color: rgba(255, 255, 255, 0.8); }
.wz-rec { background: #12B76A; color: #fff; }
.fx .wz-opt.on .wz-rec { background: #fff; color: #1570EF; }
.wz-linked-card { background: var(--card); border: 1px solid var(--line); }

/* the floor line under the cloud: its own color, breathing with the float */
.cl-shadow { opacity: 1; transition: fill 0.9s ease; }
@keyframes cl-shadow { 50% { scale: 0.7 1; opacity: 0.55; } }

/* ======================================================================
   THE CLOUD IS BOLD; EVERYTHING ELSE BARELY (Conner, 2026-10-18). Cards are
   white; the full-color cloud is their icon; color elsewhere is a small
   touch (a tinted label, a border), never a fill.
   ====================================================================== */
.ld-job { background: var(--card); color: var(--ink); border: 2px solid transparent; padding: 22px; min-height: 0; gap: 10px; }
.ld-job:hover { background: var(--card); }
.ld-job-head { display: flex; align-items: center; gap: 12px; }
.ld-job .ld-wname { color: var(--ink); font-size: 22px; }
.ld-job .ld-does { color: var(--body); opacity: 1; }
.ld-job .ld-status { position: static; align-self: flex-start; margin-top: 4px; background: color-mix(in srgb, var(--job) 10%, #fff); color: var(--job); }
.ld-job .ld-status.open { background: var(--job); color: #fff; }
.ld-job .ld-pick { top: 22px; right: 22px; bottom: auto; background: var(--card); border: 2px solid var(--line-strong); color: transparent; }
.ld-job.on { border-color: var(--job); box-shadow: none; }
.ld-job.on .ld-pick { background: var(--job); border-color: var(--job); color: #fff; }
.ld-job.on:hover { border-color: var(--job); }
@media (hover: hover) { .ld-job:hover { border-color: var(--line-strong); } .ld-job.on:hover { border-color: var(--job); } }

.ld-how .ld-card, .ld-how .ld-card:nth-child(1), .ld-how .ld-card:nth-child(2), .ld-how .ld-card:nth-child(3) { background: var(--card); }
.ld-how .ld-card h3, .ld-how .ld-card p, .ld-how .ld-card:nth-child(1) h3, .ld-how .ld-card:nth-child(1) p { color: var(--ink); }
.ld-how .ld-card p { color: var(--body); }
.ld-how .ld-card h3 { margin-top: 28px; }
.ld-card .cl { align-self: flex-start; }
@media (max-width: 760px) { .ld-job { padding: 20px; } .ld-how .ld-card h3 { margin-top: 18px; } }

/* the app: color as a touch, not a fill */
.tiles .tile, .tiles .tile:nth-child(1) { background: var(--card); }
.tiles .tile:nth-child(1) .tile-n { color: #1570EF; }
.tiles .tile:nth-child(1) .tile-l { color: var(--body); }
.wz-opt.on { background: var(--card); border-color: #1570EF; color: var(--ink); }
.wz-opt.on .wz-radio { border-color: #1570EF; background: #1570EF; box-shadow: inset 0 0 0 4px #fff; }
.wz-opt.on .wz-box { border-color: #1570EF; background: #1570EF; }
.wz-opt.on .wz-src, .wz-opt.on .wz-rule-k { color: var(--muted); }
.fx .wz-opt.on .wz-rec { background: #1570EF; color: #fff; }
.cloud-say .cloud-name { display: block; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }

/* picked jobs: no outline, the filled check says it */
.ld-job, .ld-job.on, .ld-job:hover, .ld-job.on:hover { border-color: transparent; }
@media (hover: hover) { .ld-job:hover, .ld-job.on:hover { border-color: transparent; } }

/* the logo: the cloud over its line, standing still */
.ld-brand .cl, .rail-mark .cl, .fx-top .mark .cl { flex: none; }
.ld-brand .cl-body, .ld-brand .cl-shadow, .ld-brand .cl-eyes,
.rail-mark .cl-body, .rail-mark .cl-shadow, .rail-mark .cl-eyes,
.fx-top .mark .cl-body, .fx-top .mark .cl-shadow, .fx-top .mark .cl-eyes { animation: none; }
.rail-mark .cl { margin-top: 4px; }

/* ---- all of Nimbus's jobs at a glance ---- */
.jobs { margin: 6px 0 8px; }
.jobs .lane-head { margin-bottom: 10px; }
.jobs-all { margin-left: auto; font-size: 13px; }
.jobs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 12px; }
.jc {
  display: flex; flex-direction: column; gap: 14px; text-align: left; padding: 18px; border-radius: 22px;
  background: var(--card); border: 2px solid transparent; box-shadow: none; font-weight: 400;
}
.jc:hover { background: var(--card); }
@media (hover: hover) { .jc:hover { border-color: var(--line-strong); } }
.jc.on, .jc.on:hover { border-color: var(--ink); }
.jc-head { display: flex; align-items: center; gap: 12px; }
.jc-name { display: flex; flex-direction: column; min-width: 0; }
.jc-name b { font: 600 19px var(--head); color: var(--ink); letter-spacing: -0.01em; }
.jc-status { font-size: 13px; color: var(--muted); }
.jc-status.hot { color: var(--ink); font-weight: 600; }
.jc-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.jc-stat { display: flex; flex-direction: column; }
.jc-stat b { font: 600 26px/1.1 var(--head); color: var(--ink); }
.jc-stat span { font-size: 12px; color: var(--muted); }
.jobs-more { margin-top: 14px; display: grid; gap: 8px; }
.jobs-more-row { display: flex; gap: 8px; flex-wrap: wrap; }
.jm { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px; background: var(--card); font-size: 13px; font-weight: 600; color: var(--ink); }
.jm-soon { font-size: 10px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.job-head .cl { flex: none; }
.tiles { display: none; }
@media (max-width: 760px) {
  .jobs-grid { grid-template-columns: minmax(0, 1fr); }
  .jobs-more-row { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .jm { flex: none; }
}
@media (max-width: 760px) {
  .jobs-grid { gap: 8px; }
  .jc { flex-direction: row; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; }
  .jc-head { flex: 1; min-width: 0; }
  .jc-head .cl { --cl: 40px !important; }
  .jc .jc-stats { display: flex; border: none; padding: 0; gap: 0; }
  .jc .jc-stat:not(:first-child) { display: none; }
  .jc .jc-stat { align-items: flex-end; text-align: right; }
  .jc .jc-stat b { font-size: 24px; }
  .jc .jc-stat span { font-size: 11px; }
}
.jobs-more-row { scrollbar-width: none; }
.jobs-more-row::-webkit-scrollbar { display: none; }

/* ---- the dashboard's top, as one piece ---- */
.dash-head { display: flex; align-items: center; gap: 20px; margin: 0 0 22px; padding: 22px 24px; background: var(--card); border-radius: 26px; }
.dash-head .cl { flex: none; }
.dash-say { flex: 1; min-width: 0; }
.dash-biz { display: block; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.dash-head h1 { font-size: 30px; line-height: 1.1; margin: 0; font-weight: 600; letter-spacing: -0.025em; }
.dash-more { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.dash-head .primary { margin-top: 14px; }
.jobs { margin-top: 0; }
@media (max-width: 760px) {
  .dash-head { gap: 14px; padding: 18px; align-items: flex-start; border-radius: 22px; }
  .dash-head .cl { --cl: 64px !important; margin-top: 2px; }
  .dash-head h1 { font-size: 24px; }
  .dash-more { font-size: 13px; }
  .dash-head .primary { width: 100%; }
}

/* ---- toolbar: Home, a slot per job, More ---- */
.rail-job .cl { --cl: 26px !important; }
.rail-btn.rail-job.on { background: #fff; }
.page-title { font-size: 34px; margin: 0 0 18px; }
.back-link { margin: -6px 0 4px -4px; font-size: 14px; }

/* a job's own page */
.job-page-head { display: flex; align-items: center; gap: 20px; margin: 0 0 18px; padding: 22px 24px; background: var(--card); border-radius: 26px; }
.job-page-head .cl { flex: none; }
.job-page-say { flex: 1; min-width: 0; }
.job-page-say h1 { margin: 0; font-size: 30px; font-weight: 600; }
.job-page-say .jc-status { margin: 2px 0 12px; font-size: 14px; }
.job-page-say .jc-stats { padding-top: 12px; }

/* More */
.more-list { display: grid; gap: 8px; }
.more-row { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: var(--card); border: none; text-align: left; box-shadow: none; font-weight: 400; }
.more-row:hover { background: var(--card); }
.more-row .ico, .more-row .ico svg { width: 24px; height: 24px; color: var(--ink); }
.more-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.more-text b { font: 600 17px var(--head); color: var(--ink); }
.more-text span { font-size: 13px; color: var(--muted); }
.more-go { font-size: 24px; color: var(--muted); }
@media (max-width: 760px) {
  .job-page-head { gap: 14px; padding: 18px; align-items: flex-start; }
  .job-page-head .cl { --cl: 64px !important; }
  .job-page-say h1 { font-size: 26px; }
  .page-title { font-size: 28px; }
  .rail-tabs { justify-content: space-evenly; }
}
.home-greet { margin: 0 0 2px; font-size: 15px; color: var(--muted); font-weight: 500; }
.home-title { margin-bottom: 20px; }
.rail-btn .cl { --cl: 26px !important; }

/* ---- easy: text first, one obvious yes ---- */
.job-closed { padding-bottom: 0; }
.job-closed .job-head { padding-bottom: 14px; }
.job .text { font-size: 17px; line-height: 1.5; }
.actions.decide { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 8px; }
.actions.decide .primary { padding: 13px 16px; font-size: 16px; }
.checked { margin: 10px 0 0; font-size: 13px; color: #0A7A45; font-weight: 600; }
.why { margin: 4px 0 10px; font-size: 14px; color: var(--red); }
.details-toggle { display: block; margin-top: 8px; font-size: 13px; padding-left: 0; }
.approve-all { margin-left: auto; padding: 6px 14px; font-size: 13px; border-radius: 999px; background: var(--ink); color: #fff; border-color: var(--ink); }
.approve-all:hover { background: #2A2A2A; }
.jobs-more { margin-top: 26px; }

/* ---- one chat for everything ---- */
.ask-bar { display: flex; align-items: center; gap: 10px; margin: -6px 0 22px; padding: 8px 8px 8px 14px; background: var(--card); border-radius: 999px; }
.ask-bar .cl { flex: none; }
.ask-input { border: none; padding: 10px 4px; font-size: 16px; background: transparent; }
.ask-input:focus { box-shadow: none; }
.ask-go { flex: none; width: 42px; height: 42px; padding: 0; border-radius: 50%; font-size: 18px; }
.cc-job-head { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.cc-job-head .cc-kind { margin: 0; color: var(--ink); }

/* loading: Nimbus at work, nothing else */
.loader { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; }
.loader p { margin: 0; font-size: 15px; font-weight: 600; color: var(--muted); }
.home-greet { margin: 0 0 4px; font-size: 34px; font-weight: 600; color: var(--ink); }
.home-biz { margin: 0 0 20px; font-size: 15px; color: var(--muted); font-weight: 500; }
@media (max-width: 760px) { .home-greet { font-size: 30px; } }

/* Closing section: the black Nimbus with each job's cloud around it */
.ld-ring { position: relative; width: min(340px, 100%); height: 210px; margin: 0 auto 26px; display: flex; align-items: center; justify-content: center; gap: 0; }
.ld-ring-c { position: absolute; translate: -50% -50%; }
.ld-ring-c .cl-body { animation-delay: var(--d, 0s); }

/* A link that looks like the black pill button */
.button-link { display: inline-block; margin-top: 10px; background: var(--ink, #111); color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; padding: 11px 18px; border-radius: 999px; }
