@font-face { font-family: "Anton"; font-display: swap; src: url(/fonts/anton-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Anton"; font-display: swap; src: url(/fonts/anton-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-display: swap; font-weight: 100 900; src: url(/fonts/inter-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-display: swap; font-weight: 100 900; src: url(/fonts/inter-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #171717;
  --surface: #1e1d1b;
  --surface-2: #262522;
  --line: #34322e;
  --line-strong: #4a4740;
  --ink: #f3f0e8;
  --muted: #a39f95;
  --lime: #d8ff36;
  --lime-ink: #151515;
  --orange: #ff654a;
  --ok: #9fdc6b;
  --err: #ff8a73;
  --star: #ffc94a;
  --radius: 10px;
  --display: "Anton", "Arial Narrow", Impact, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: var(--ink); text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--lime); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }
h1 { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; font-size: clamp(2.2rem, 6vw, 3.4rem); line-height: 1.12; }
h2 { font-size: 1.15rem; margin-top: 2em; }
h3 { font-size: 1.05rem; }
h2 small, .meta, .fine, label small { color: var(--muted); font-weight: 400; font-size: .9rem; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.narrow { max-width: 760px; }
main { min-height: 70vh; padding-bottom: 64px; }
main > section.wrap, main > article.wrap { padding-top: 36px; }
.eyebrow { font-size: .75rem; letter-spacing: .35em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }

/* Header */
.top { border-bottom: 1px solid var(--line); background: rgba(23,23,23,.92); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 10; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 68px; }
.logo { display: inline-block; font-family: var(--display); font-size: 2rem; letter-spacing: .04em; line-height: 1; text-decoration: none; transform: rotate(-3deg);
  color: var(--lime); text-shadow: 0 0 14px rgba(216,255,54,.35); }
.logo span { color: var(--orange); font-size: .62em; letter-spacing: .02em; margin-left: 2px; text-shadow: none; }
.logo:hover { color: #e6ff73; }
.logo .gk { width: .95em; height: .95em; margin-right: .16em; vertical-align: -.06em; filter: drop-shadow(0 0 6px rgba(216,255,54,.35)); }
.top nav { display: flex; align-items: center; gap: 22px; }
.top nav a:not(.btn) { text-decoration: none; font-size: .95rem; color: var(--ink); opacity: .85; }
.top nav a:not(.btn):hover { opacity: 1; color: var(--lime); }
@media (max-width: 520px) { .top nav .hide-sm { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--lime); border-radius: 8px; background: var(--lime); color: var(--lime-ink); font: inherit; font-weight: 600; padding: 12px 22px; text-decoration: none; cursor: pointer; line-height: 1.2; }
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn.ghost:hover { border-color: var(--ink); filter: none; }
.btn.small { padding: 8px 14px; font-size: .9rem; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }

/* Home */
.home-hero { position: relative; overflow: hidden; min-height: min(86vh, 860px); display: flex; flex-direction: column; justify-content: flex-end; border-bottom: 1px solid var(--line); background: #0e0e0d; }
.cams, .cam, .cam img, .hero-shade, .grain { position: absolute; inset: 0; }
.cam { opacity: 0; transition: opacity 1.2s ease; }
.cam.on { opacity: 1; }
.cam img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero-shade { background: linear-gradient(0deg, rgba(14,14,13,.92) 0%, rgba(14,14,13,.45) 40%, rgba(14,14,13,.05) 75%, rgba(14,14,13,.35) 100%), linear-gradient(90deg, rgba(14,14,13,.82) 0%, rgba(14,14,13,.5) 40%, transparent 70%); }
/* Moving film grain on top of the grain baked into the photo. */
.grain { inset: -100%; opacity: .06; pointer-events: none; mix-blend-mode: overlay; animation: grain 1s steps(6) infinite;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-6%, 4%); } 40% { transform: translate(5%, -7%); } 60% { transform: translate(-3%, 8%); } 80% { transform: translate(7%, 2%); } 100% { transform: translate(0, 0); } }
.rec { position: absolute; top: 20px; right: 24px; margin: 0; display: flex; align-items: center; gap: 8px; font: 600 .78rem/1 ui-monospace, "SFMono-Regular", Menlo, monospace; letter-spacing: .2em; color: var(--ink); z-index: 2; }
.rec i { width: 9px; height: 9px; border-radius: 50%; background: var(--orange); animation: rec 1.4s steps(2) infinite; }
@keyframes rec { 50% { opacity: .15; } }
.hero-body { position: relative; z-index: 1; padding-top: 120px; padding-bottom: 56px; width: 100%; }
.home-hero h1 { font-size: clamp(2.6rem, 6.6vw, 5.4rem); line-height: 1.15; margin-bottom: 22px; max-width: 1100px; text-wrap: balance; }
.home-hero h1 .hl { color: var(--lime); display: block; }
.home-hero .eyebrow { color: var(--ink); opacity: .8; }
.home-hero .lead { font-size: clamp(1.02rem, 1.6vw, 1.18rem); max-width: 600px; margin: 0 0 30px; color: var(--ink); opacity: .92; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.cta .btn { padding: 15px 28px; font-size: 1.05rem; }
.btn.light { background: var(--ink); border-color: var(--ink); color: #151515; }
.btn.dark { background: #151515; border-color: #151515; color: var(--ink); }
.btn.dark.ghost { background: transparent; color: #151515; border-color: rgba(21,21,21,.5); }
.hero-facts { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: .9rem; color: var(--muted); }
.hero-facts strong { color: var(--ink); margin-right: 6px; }
.cam-tabs { position: relative; z-index: 1; display: flex; gap: 6px; flex-wrap: wrap; padding: 0 32px 24px; max-width: 1180px; margin: 0 auto; width: 100%; box-sizing: border-box; }
.cam-tabs button { font: 600 .72rem/1 ui-monospace, Menlo, monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: rgba(14,14,13,.6); border: 1px solid var(--line-strong); border-radius: 4px; padding: 8px 10px; cursor: pointer; }
.cam-tabs button.on { color: #151515; background: var(--lime); border-color: var(--lime); }
@media (max-width: 720px) {
  .home-hero { min-height: 92svh; }
  .hero-body { padding-top: 96px; padding-bottom: 36px; }
  .hero-shade { background: linear-gradient(0deg, rgba(14,14,13,.96) 0%, rgba(14,14,13,.78) 50%, rgba(14,14,13,.15) 100%); }
  .cta .btn { flex: 1 1 100%; }
  .cam-tabs { padding: 0 16px 20px; }
  .rec { top: 14px; right: 16px; }
}
@media (prefers-reduced-motion: reduce) { .grain, .rec i { animation: none; } .cam { transition: none; } }


.home-block { padding-top: 8px; }
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 48px; }
@media (max-width: 820px) { .audience { grid-template-columns: 1fr; } }
.aud { border-radius: 14px; padding: 30px; border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; }
.aud.venue { background: var(--surface-2); }
.aud h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.8rem, 3.4vw, 2.5rem); line-height: 1.1; margin: 0 0 18px; }
.aud.worker h2 { color: var(--lime); }
.aud ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 14px; flex: 1; }
.aud li { color: var(--muted); padding-left: 26px; position: relative; }
.aud li::before { content: "→"; position: absolute; left: 0; color: var(--orange); }
.aud li strong { display: block; color: var(--ink); }
.aud .btn { align-self: flex-start; }

.cam-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 820px) { .cam-tiles { grid-template-columns: 1fr; } }
.cam-tile { display: grid; align-content: start; gap: 4px; text-decoration: none; color: var(--ink); }
.cam-tile span:not(.cam-label):not(.no-signal) { color: var(--muted); font-size: .92rem; }
.cam-tile strong { margin-top: 10px; font-size: 1.05rem; }
.cam-media { position: relative; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #0e0e0d; }
.cam-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cam-tile:hover .cam-media img { transform: scale(1.04); }
.cam-tile:hover .cam-media { border-color: var(--lime); }
.cam-label { position: absolute; top: 10px; left: 12px; font: 600 .72rem/1 ui-monospace, Menlo, monospace; letter-spacing: .15em; color: var(--ink); background: rgba(14,14,13,.6); padding: 5px 7px; border-radius: 3px; }
.no-signal { position: absolute; inset: 0; display: grid; place-items: center; font: 600 .8rem/1 ui-monospace, Menlo, monospace; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 2px, transparent 2px 4px), radial-gradient(ellipse at center, #22211e, #0e0e0d 75%); }

.final-cta { margin-top: 56px; border-radius: 16px; background: var(--lime); color: #151515; padding: clamp(28px, 5vw, 56px); }
.final-cta h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; margin: 0 0 10px; }
.final-cta p { margin: 0 0 24px; max-width: 560px; }
.final-cta .cta { margin: 0; }
.text-link { color: var(--ink); text-decoration: none; font-weight: 500; }
.text-link:hover { color: var(--lime); }

.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 28px; margin: 56px 0 18px; }
.section-head h2 { font-size: .75rem; letter-spacing: .35em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin: 0; }
.section-head a { color: var(--lime); text-decoration: none; font-size: .9rem; }
.steps { list-style: none; counter-reset: s; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; color: var(--muted); }
.steps li::before { content: counter(s); display: block; font-family: var(--display); font-size: 2rem; color: var(--lime); line-height: 1; margin-bottom: 10px; }
.steps strong { color: var(--ink); display: block; margin-bottom: 4px; }

/* Lists and cards */
.list-page h1 { margin-bottom: 20px; }
.filters { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; margin: 8px 0 12px; }
@media (max-width: 720px) { .filters { grid-template-columns: 1fr; } }
select, input, textarea { width: 100%; font: inherit; color: var(--ink); padding: 11px 12px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--bg); }
input::placeholder, textarea::placeholder { color: #6f6b63; }
select:focus, input:focus, textarea:focus { border-color: var(--lime); outline: none; }
input[type=date]::-webkit-calendar-picker-indicator { filter: invert(.9); }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .15s, background .15s; }
.card:hover { border-color: var(--line-strong); background: var(--surface-2); }
.card-link { display: block; padding: 18px 18px 12px; color: inherit; text-decoration: none; }
.card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.card .meta { margin: 0 0 4px; }
.card > .meta, .card > form { padding: 0 18px 16px; margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.tag { border: 1px solid var(--line-strong); border-radius: 4px; padding: 2px 8px; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tag.urgent { border-color: rgba(255,101,74,.5); background: rgba(255,101,74,.12); color: var(--orange); }
.tag.pay { color: var(--lime); border-color: rgba(216,255,54,.35); text-transform: none; letter-spacing: 0; font-size: .8rem; }
.empty { color: var(--muted); }
.meta.new { color: var(--lime); font-weight: 600; }
.meta.wait { font-style: italic; }

/* Job page */
.job .back { margin: 0 0 18px; }
.back a { color: var(--muted); text-decoration: none; }
.back a:hover { color: var(--lime); }
.facts { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 22px 0; }
.facts li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; }
.facts b { display: block; font-size: .7rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .15em; margin-bottom: 2px; }
.desc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin: 24px 0; }
.panel h2 { margin-top: 0; }
.panel.ok { border-color: rgba(216,255,54,.45); background: rgba(216,255,54,.06); }

/* Forms */
.form { display: grid; gap: 18px; }
.form label { display: grid; gap: 6px; font-weight: 500; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: end; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 500; margin-bottom: 8px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { display: flex !important; align-items: center; gap: 8px !important; font-weight: 400 !important; background: var(--bg); border: 1px solid var(--line-strong); border-radius: 8px; padding: 9px 14px; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--lime); background: rgba(216,255,54,.08); }
.choice input, .check input { width: auto; margin: 0; accent-color: var(--lime); }
.check { display: flex !important; align-items: center; gap: 10px; font-weight: 400 !important; }
.err { color: var(--err); font-weight: 400; font-size: .9rem; }
.notice { border-radius: var(--radius); padding: 14px 16px; }
.notice.ok { background: rgba(216,255,54,.08); border: 1px solid rgba(216,255,54,.4); color: var(--ink); }
.flash { margin-top: 20px; }
.code { font-size: 1.8rem; letter-spacing: .35em; max-width: 240px; font-weight: 600; }

/* Login choice */
.pick { display: grid; gap: 12px; }
.pick-card { display: grid; gap: 4px; text-align: left; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 20px; cursor: pointer; }
.pick-card:hover { border-color: var(--lime); }
.pick-card strong { font-size: 1.2rem; }
.pick-card span { color: var(--muted); }

/* Dashboard */
.status { font-weight: 600; margin: 0 0 12px; }
.status.on { color: var(--lime); }
.status.off { color: var(--muted); }
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.inline { display: inline; margin: 0; }

/* Availability calendar */
.quick .meta { align-self: center; margin-right: 4px; }
.range { display: flex; flex-wrap: wrap; align-items: end; gap: 8px; margin-bottom: 8px; }
.range label { display: grid; gap: 4px; font-size: .9rem; }
.range input { width: auto; }
.date-pick { border: 0; padding: 0; margin: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.date-pick legend { padding: 0; margin-bottom: 4px; font-size: .9rem; float: left; width: 100%; }
.date-pick select { width: auto; margin: 0; }
.range > .btn { padding-top: 12px; padding-bottom: 12px; }
.cal-hint { margin: 6px 0 14px; }
.calendar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 28px; }
@media (max-width: 900px) { .calendar { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .calendar { grid-template-columns: 1fr; } }
.month h3 { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.week, .days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.week span { font-size: .7rem; color: var(--muted); text-align: center; padding-bottom: 2px; }
.day { position: relative; display: grid; place-items: center; aspect-ratio: 1; font-size: .85rem; border-radius: 6px; }
label.day { cursor: pointer; background: var(--bg); border: 1px solid var(--line); user-select: none; }
label.day:hover { border-color: var(--lime); }
label.day.weekend span { color: var(--orange); }
.day.today { box-shadow: inset 0 0 0 1px var(--ink); }
.day.off { color: #555149; }
.day input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.day:has(input:checked) { background: var(--lime); border-color: var(--lime); }
.day:has(input:checked) span { color: #171717; font-weight: 700; }
.day:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 1px; }
.cal-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
.offscreen { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Photos */
.avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: var(--surface-2); border: 1px solid var(--line-strong); }
.avatar.none { display: grid; place-items: center; font-weight: 700; color: var(--muted); }
.avatar.large { width: 112px; height: 112px; font-size: 1.6rem; }
.greeting { display: flex; align-items: center; gap: 18px; margin-bottom: 8px; }
.greeting h1 { margin: 0 0 4px; }
.greeting .eyebrow { margin-bottom: 6px; }
.photo-row { display: flex; gap: 18px; align-items: flex-start; }
.photo-row > div { display: grid; gap: 10px; }
.photo-row .hint, .photo-row .meta { margin: 0; }
.photo-row input[type=file] { padding: 9px; }
@media (max-width: 520px) { .photo-row { flex-direction: column; } }
.responder .who { flex: 1; }
.notice.tip { background: rgba(255,101,74,.08); border: 1px solid rgba(255,101,74,.4); margin: 12px 0; }
.rows { display: grid; gap: 10px; }
.row-item, .responder { display: flex; justify-content: space-between; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.row-item > .btn, .row-item > .meta { flex-shrink: 0; }
.responder { background: var(--bg); margin-bottom: 10px; align-items: flex-start; }
.responder .actions { display: flex; gap: 6px; flex-shrink: 0; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 600px) { .row-item, .responder { flex-direction: column; align-items: stretch; } .responder .actions, .row-item > .btn { align-self: flex-start; } }
.note { margin: 8px 0; font-style: italic; color: var(--muted); }
.free, .ok-text, .done { color: var(--lime); font-weight: 600; }
.ok-text { margin: 0; }
.cta-row { margin: 8px 0 4px; }
.plain { padding-left: 1.2em; }
.account { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.account h2 { margin-top: 0; }
.account-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.account-card { display: grid; gap: 6px; align-content: start; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; text-decoration: none; color: var(--ink); transition: border-color .15s; }
a.account-card::after { content: "→"; color: var(--lime); font-weight: 700; margin-top: 4px; }
a.account-card:hover { border-color: var(--lime); }
.account-card span { color: var(--muted); font-size: .92rem; overflow-wrap: anywhere; }
.account-card.quiet { background: transparent; }
.account-card form { margin-top: 8px; }
.empty-state { display: flex; gap: 22px; align-items: flex-start; background: var(--surface); border: 1px dashed var(--line-strong); border-radius: 16px; padding: 24px 26px; }
.empty-state h3 { margin: 4px 0 6px; font-size: 1.15rem; }
.empty-state p { margin: 0 0 6px; color: var(--muted); max-width: 640px; }
.empty-mark { font-family: var(--display); font-size: 3.4rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--lime); }
.empty-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px !important; }
@media (max-width: 560px) { .empty-state { flex-direction: column; gap: 6px; padding: 20px; } }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; cursor: pointer; }

/* Ratings */
.stars { color: var(--star); font-weight: 600; white-space: nowrap; }
.stars.none { color: var(--muted); font-weight: 400; }
.stars .dim { color: var(--line-strong); }
.gk { display: inline-block; width: 1em; height: 1em; vertical-align: -.14em; }
.stars > .gk { margin-right: .15em; }
.reviews { display: grid; gap: 10px; }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; }
.review p { margin: 4px 0; }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-input input { position: absolute; opacity: 0; width: 1px; }
.star-input label { font-size: 2.4rem; color: var(--line-strong); cursor: pointer; line-height: 1; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: var(--star); }
.star-input input:focus-visible + label { outline: 2px solid var(--lime); border-radius: 4px; }

/* Admin */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; }
.tabs a { padding: 7px 14px; border-radius: 8px; text-decoration: none; border: 1px solid var(--line-strong); }
.tabs a.active { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; display: grid; }
.tile span { color: var(--muted); font-size: .85rem; }
.tile strong { font-family: var(--display); font-weight: 400; font-size: 2rem; }
.scroll { overflow-x: auto; }
table.data { border-collapse: collapse; width: 100%; background: var(--surface); font-size: .9rem; }
.data th, .data td { border-bottom: 1px solid var(--line); padding: 9px 10px; text-align: left; vertical-align: top; }
.data th { color: var(--muted); font-weight: 500; }
.data tr.blocked { opacity: .45; }

/* Text pages and footer */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.8em; }
.prose li { margin-bottom: 6px; }
.foot { border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; padding: 28px 0; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--ink); }
.foot strong { color: var(--ink); }
.panel p .btn + a { margin-left: 14px; white-space: nowrap; display: inline-block; margin-top: 8px; }

/* Coming soon page */
.soon { padding-top: 10vh; }
.soon .logo { margin-bottom: 36px; }
.soon .back { margin-top: 28px; font-size: .95rem; }
.waitlist { margin: 28px 0; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.team-access { margin-top: 36px; color: var(--muted); font-size: .9rem; }
.team-access summary { cursor: pointer; }
.team-access .form { margin-top: 14px; max-width: 360px; }

/* Two-column text pages (Kaip veikia, Apie) */
.split { padding-top: 40px; padding-bottom: 72px; }
.side h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: .95; }
.side-cam { border-radius: 14px; overflow: hidden; margin-top: 26px; border: 1px solid var(--line); }
.side-cam img { display: block; width: 100%; height: auto; }
.side-index { list-style: none; padding: 0; margin: 26px 0 0; font: .8rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; }
.side-index li { border-top: 1px solid var(--line); }
.side-index a { display: block; padding: 9px 0; color: var(--muted); text-decoration: none; }
.side-index a:hover { color: var(--lime); }
.sec { border-top: 1px solid var(--line); padding: 32px 0 36px; display: grid; grid-template-columns: 96px 1fr; gap: 20px; scroll-margin-top: 90px; }
.sec:first-child { border-top: 0; padding-top: 4px; }
.sec .num { font-family: var(--display); font-size: 4rem; line-height: .9; color: transparent; -webkit-text-stroke: 1.5px var(--lime); }
.sec h2 { margin: 6px 0 12px; font-size: 1.45rem; }
.sec p, .sec li { color: #d9d5cc; }
.sec ul { padding-left: 18px; }
.sec li { margin-bottom: 8px; }
.sec blockquote { margin: 0 0 14px; padding-left: 18px; border-left: 3px solid var(--lime); font-size: 1.08rem; color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.chips span { border: 1px solid var(--line-strong); border-radius: 99px; padding: 5px 12px; font-size: .85rem; color: var(--muted); }
@media (min-width: 900px) {
  .split { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; padding-top: 48px; }
  .side { position: sticky; top: 100px; align-self: start; }
}
@media (max-width: 899px) {
  .side-index { display: none; }
  .split-body { margin-top: 28px; }
}
@media (max-width: 560px) {
  .sec { grid-template-columns: 1fr; gap: 6px; }
  .sec .num { font-size: 2.8rem; }
}

/* Bento facts on the home page */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.bt { grid-column: span 6; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px 28px; }
.bt .k { display: block; margin-bottom: 14px; font: .72rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.bt .big { display: block; margin-bottom: 8px; font-family: var(--display); font-size: clamp(3.2rem, 6vw, 4.6rem); line-height: 1; color: var(--lime); }
.bt p { margin: 0; color: var(--muted); }
.bt.lime { background: var(--lime); border-color: var(--lime); }
.bt.orange { background: var(--orange); border-color: var(--orange); }
.bt.lime .big, .bt.orange .big { color: #151515; }
.bt .big .gk { width: .78em; height: .78em; margin-right: .16em; vertical-align: -.04em; }
.bt.lime p, .bt.lime .k, .bt.orange p, .bt.orange .k { color: #2a2a2a; }
@media (min-width: 720px) {
  .bt.t-2 { grid-column: span 2; }
  .bt.t-3 { grid-column: span 3; }
}

/* Worker profile: roles with experience per role */
.role-list { display: grid; gap: 8px; }
.role-xp { display: grid; grid-template-columns: 1fr minmax(170px, 220px); gap: 10px; align-items: center; }
.role-xp .choice { margin: 0; }
.role-xp select { margin: 0; }
.role-xp:not(:has(input:checked)) select { visibility: hidden; }
@media (max-width: 560px) {
  .role-xp { grid-template-columns: 1fr; gap: 6px; }
  .role-xp:not(:has(input:checked)) select { display: none; }
}

/* Employer workplaces */
.venue-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.venue-card { display: grid; gap: 6px; align-content: start; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; }
.venue-name { font-family: var(--display); font-size: 1.6rem; line-height: 1.1; text-transform: uppercase; text-decoration: none; }
.venue-name:hover { color: var(--lime); }
.venue-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 0; }
.venue-card.add { background: transparent; border-style: dashed; border-color: var(--line-strong); text-decoration: none; color: var(--ink); align-content: center; justify-items: start; min-height: 150px; transition: border-color .15s; }
.venue-card.add:hover { border-color: var(--lime); }
.venue-card .plus { font-family: var(--display); font-size: 2.2rem; line-height: 1; color: var(--lime); }

/* Compact account bar */
.account-bar { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 56px; padding: 18px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.account-bar .account-avatar { width: 56px; height: 56px; flex: none; font-size: 1.2rem; }
.account-who { display: grid; gap: 2px; min-width: 0; flex: 1 1 220px; }
.account-who .eyebrow { margin: 0; }
.account-who strong { font-size: 1.1rem; }
.account-who .meta { overflow-wrap: anywhere; }
.account-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.account-actions form { margin: 0; }
@media (max-width: 560px) { .account-actions { flex-basis: 100%; } }

/* Input with a unit after it */
.input-suffix { position: relative; display: block; }
.input-suffix input { padding-right: 76px; }
.input-suffix > span { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }

/* Request date picker: one day, a range or several ranges */
.when .picker { position: relative; }
.pick-nav { display: flex; justify-content: flex-end; gap: 6px; margin: 4px 0 10px; }
.pick-nav .btn { padding: 6px 12px; }
.pick-nav .btn:disabled { opacity: .35; cursor: default; }
.pick-months { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.pick-months .month:nth-child(2) { margin-top: 0; }
@media (max-width: 560px) { .pick-months { grid-template-columns: 1fr; } .pick-months .month + .month { display: none; } }
.picker button.day { cursor: pointer; background: var(--bg); border: 1px solid var(--line); color: var(--ink); font: inherit; font-size: .85rem; padding: 0; }
.picker button.day:hover { border-color: var(--lime); }
.picker button.day.weekend span { color: var(--orange); }
.picker button.day.on, .picker button.day.preview { background: rgba(216, 255, 54, .22); border-color: transparent; }
.picker button.day.first, .picker button.day.last, .picker button.day.anchor { background: var(--lime); border-color: var(--lime); }
.picker button.day.first span, .picker button.day.last span, .picker button.day.anchor span { color: #171717; font-weight: 700; }
.picker button.day.on span { font-weight: 700; }
.picker button.day:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.pick-status { margin: 14px 0 0; font-size: .92rem; }
.linkish { background: none; border: 0; padding: 0; color: var(--lime); font: inherit; text-decoration: underline; cursor: pointer; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 6px 6px 12px; border: 1px solid var(--lime); border-radius: 999px; font-size: .9rem; }
.chip button { background: none; border: 0; color: var(--muted); font-size: 1.1rem; line-height: 1; padding: 0 6px; cursor: pointer; }
.chip button:hover { color: var(--ink); }
.when .meta { margin-top: 14px; }

/* Phone menu for guests, bottom tab bar for members */
.mnav { position: relative; display: none; }
.mnav summary { list-style: none; cursor: pointer; display: grid; gap: 4px; place-content: center; width: 42px; height: 38px; border: 1px solid var(--line-strong); border-radius: 8px; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }
.mnav[open] summary { border-color: var(--lime); }
.mnav-links { position: absolute; right: 0; top: calc(100% + 10px); display: grid; min-width: 200px; padding: 8px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 12px; box-shadow: 0 16px 40px rgba(0,0,0,.45); }
.top nav .mnav-links a { padding: 10px 12px; border-radius: 8px; opacity: 1; }
.top nav .mnav-links a:hover { background: var(--surface-2); }
@media (max-width: 520px) { .mnav { display: block; } .top nav { gap: 10px; } }
.tabbar { display: none; }
@media (max-width: 720px) {
  body.has-tabbar { --tabbar-h: 64px; padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); }
  body.has-tabbar .top nav > .btn { display: none; }
  .tabbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; height: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
    background: rgba(23,23,23,.94); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
  .tabbar a { display: grid; justify-items: center; align-content: center; gap: 3px; font-size: .68rem; font-weight: 600; color: var(--muted); text-decoration: none; }
  .tabbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .tabbar a[aria-current], .tabbar a:hover { color: var(--lime); }
  .tabbar a.accent svg { color: var(--lime); }
}

/* Worker availability: two-week strip, full calendar on demand */
.avail h2 { margin-bottom: 6px; }
.strip { display: grid; grid-template-columns: repeat(14, 1fr); gap: 4px; margin: 4px 0 12px; }
@media (max-width: 560px) { .strip { grid-template-columns: repeat(7, 1fr); } }
.strip-day { display: grid; justify-items: center; padding: 6px 0; border: 1px solid var(--line); border-radius: 8px; font-weight: 700; font-size: .9rem; background: var(--bg); }
.strip-day small { font-size: .65rem; font-weight: 600; color: var(--muted); letter-spacing: .05em; }
.strip-day.weekend small { color: var(--orange); }
.strip-day.today { border-color: var(--ink); }
.strip-day.on { background: var(--lime); border-color: var(--lime); color: #171717; }
.strip-day.on small { color: #171717; }
.avail-edit > summary { list-style: none; margin-top: 6px; }
.avail-edit > summary::-webkit-details-marker { display: none; }
.avail-edit[open] > summary { display: none; }
.avail-edit form { margin-top: 14px; }
.avail-edit .hint { color: var(--muted); font-size: .92rem; }

/* GANG contracts */
.contracts { display: grid; gap: 12px; }
.contract { background: var(--surface); border: 1px solid rgba(216,255,54,.35); border-radius: 14px; padding: 18px 20px; }
.contract.past { border-color: var(--line); }
.contract h3 { margin: 12px 0 4px; font-size: 1.15rem; }
.contract h3 a { text-decoration: none; }
.contract > .meta { margin: 0; }
.stepper { list-style: none; padding: 0; margin: 0; display: flex; gap: 6px; flex-wrap: wrap; counter-reset: s; }
.stepper li { counter-increment: s; display: flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 600; color: var(--muted); }
.stepper li::before { content: counter(s); display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--line-strong); font-size: .7rem; }
.stepper li + li { padding-left: 4px; }
.stepper li + li::after { order: -1; content: ""; width: 14px; height: 1px; background: var(--line-strong); }
.stepper li.done { color: var(--ink); }
.stepper li.done::before { content: "✓"; background: var(--lime); border-color: var(--lime); color: #171717; }
.stepper li.now { color: var(--lime); }
.stepper li.now::before { border-color: var(--lime); color: var(--lime); }
.contract-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px 20px; margin: 14px 0; }
.contract-info dt { font-size: .7rem; text-transform: uppercase; letter-spacing: .15em; color: var(--muted); font-weight: 600; }
.contract-info dd { margin: 2px 0 0; }
.contract-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0; }
.panel.ok .contract { margin-top: 16px; background: var(--bg); }

/* Candidates */
.owner-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.owner-head h2 { margin: 0; }
.tag.live { color: var(--lime); border-color: rgba(216,255,54,.4); }
.reach { list-style: none; padding: 0; margin: 14px 0 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.reach li { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: .82rem; color: var(--muted); line-height: 1.35; }
.reach b { display: block; font-family: var(--display); font-size: 1.6rem; font-weight: 400; color: var(--ink); line-height: 1.1; }
@media (max-width: 520px) { .reach { grid-template-columns: 1fr 1fr 1fr; } .reach li { padding: 8px; font-size: .75rem; } }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }
.badge { border: 1px solid var(--line-strong); border-radius: 99px; padding: 3px 10px; font-size: .78rem; color: var(--muted); }
.badge.on { border-color: rgba(216,255,54,.45); background: rgba(216,255,54,.1); color: var(--lime); font-weight: 600; }
.responder.accepted { border-color: rgba(216,255,54,.45); }
.responder .note { font-style: normal; color: var(--ink); background: var(--surface); border-left: 3px solid var(--lime); padding: 8px 12px; border-radius: 0 8px 8px 0; }
.owner-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.owner-actions form { margin: 0; }
.card-actions { padding: 0 18px 16px; margin: 0; }

/* Request form with a live preview */
.request-wrap { max-width: 1080px; }
.request-form .live-preview { display: none; }
.request-form .live-preview .card { pointer-events: none; }
.request-form .live-preview .card-link { padding-bottom: 16px; }
@media (min-width: 980px) {
  .request-form { grid-template-columns: minmax(0, 1fr) 300px; column-gap: 48px; }
  .request-form > * { grid-column: 1; }
  .request-form > .live-preview { display: block; grid-column: 2; grid-row: 1 / span 8; align-self: start; position: sticky; top: 96px; }
}
@media (max-width: 979px) {
  .request-form .submit-bar { position: sticky; bottom: calc(var(--tabbar-h, 0px) + 10px); z-index: 5; }
  .request-form .submit-bar .btn { width: 100%; box-shadow: 0 10px 30px rgba(0,0,0,.55); }
  .request-form > .live-preview { display: block; order: 1; }
  .request-form > .submit-bar { order: 2; }
}
.submit-bar .btn { width: 100%; }
.responder .who { min-width: 0; }
.responder.accepted .actions { flex-direction: column; align-items: flex-end; }
.responder.accepted .actions p { margin: 0; }
.avail .picker { max-width: 760px; }
.panel .contract-actions .btn + a { margin: 0; }
@media (max-width: 600px) { .responder.accepted .actions { align-items: flex-start; } }

/* Duration options with a short explanation under each name */
.kind-choices { display: grid; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 600px) { .kind-choices { grid-template-columns: 1fr 1fr; } }
.kind-choices .choice { align-items: flex-start; padding: 12px 14px; }
.kind-choices .choice input { margin-top: 4px; }
.kind-choices .choice > span { display: grid; gap: 2px; line-height: 1.3; }
.kind-choices .choice-name { font-weight: 600; }
.kind-choices small { color: var(--muted); font-size: .82rem; }

/* Selects and text inputs share one height; fields side by side line up from the top, so an error under one does not push the other down */
select, input:not([type=checkbox]):not([type=radio]):not([type=file]) { min-height: 50px; }
.form .row { align-items: start; }
.form .row > label { display: block; }
.form .row > label > small { display: inline; }
.form .row > label > :is(input, select, .input-suffix) { margin-top: 6px; }
.form .row > label > .err { display: block; margin-top: 6px; }
