/* Scarlet on black. Text is #ff6060 so it stays readable. Borders and dots stay #bb0000. Ohio State gray #666666 is a border only. */

:root {
  color-scheme: dark;
  --scarlet: #bb0000;
  --scarlet-text: #ff6060;
  --glow: var(--scarlet-text);
  --gray: #666666;
  --dark: #000000;
  --paper: #000000;
  --ink: #f2f2f2;
  --ink-soft: #c8c8c8;
  --title: var(--scarlet-text);
  --field: #000000;
  --field-focus: #000000;
  --field-ink: #f2f2f2;
  --field-border: #666666;
  --topic-border: #bb0000;
  --placeholder: #9a9a9a;
  --start: #000000;
  --start-ink: var(--scarlet-text);
  --start-border: #bb0000;
  --host: #000000;
  --host-ink: var(--scarlet-text);
  --host-border: #666666;
  --send: #000000;
  --send-ink: var(--scarlet-text);
  --send-border: #8a8a8a;
  --choice: #000000;
  --choice-ink: #f5f5f5;
  --choice-border: #666666;
  --correct: #000000;
  --correct-border: #666666;
  --wrong: #000000;
  --wrong-ink: var(--scarlet-text);
  --wrong-border: #bb0000;
  --letter: #000000;
  --letter-ink: var(--scarlet-text);
  --accent: #bb0000;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  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;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

body {
  font-family: Inter, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  min-height: 100vh;
}

.shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 40px 32px;
}

a { color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--topic-border);
  outline-offset: 2px;
}

.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 16px;
  padding: 0 0 18px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--gray);
}

.mark {
  display: inline-block;
  color: var(--glow);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: lowercase;
  text-decoration: none;
}

.mark.hero {
  display: block;
  font-size: 44px;
  letter-spacing: 0.04em;
  margin-top: 0;
}

.caret {
  display: inline-block;
  width: 0.55em;
  height: 0.95em;
  margin-left: 0.18em;
  background: var(--scarlet);
  vertical-align: -0.08em;
  animation: caret-blink 1.05s steps(1) infinite;
}

@keyframes caret-blink {
  50% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .caret { animation: none; }
}

.bar {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0;
}

.nav-play,
.nav-account {
  white-space: nowrap;
}

.desk-link {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  padding: 8px 4px;
}

.desk-link.on {
  color: var(--glow);
  font-weight: 700;
}

h1 {
  color: var(--glow);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.25;
  margin: 14px 0 8px;
}

.cover-copy h1 {
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.85),
    0 0 8px rgba(255, 96, 96, 0.28);
}

h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 22px 0 8px;
}

.soft {
  color: var(--ink-soft);
  font-size: 15px;
  margin: 0 0 8px;
}

.note {
  color: var(--ink-soft);
  font-size: 14px;
  margin: 8px 0;
}

.fee {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.45;
  margin: 14px 0 8px;
  max-width: 40rem;
}

body.book main .fee {
  margin-top: 16px;
  padding-left: 12px;
  border-left: 3px solid var(--scarlet);
}

.stack { display: grid; gap: 8px; margin-top: 8px; }

.play {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--start-border);
  background: var(--start);
  color: var(--start-ink);
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  padding: 16px 22px;
  margin: 8px 0;
  cursor: pointer;
}

.play.host {
  background: var(--host);
  color: var(--host-ink);
  border-color: var(--host-border);
}

.play.send {
  background: var(--send);
  color: var(--send-ink);
  border-color: var(--send-border);
}

.play.wrong {
  background: var(--wrong);
  color: var(--wrong-ink);
  border-color: var(--wrong-border);
}

.play[hidden] { display: none; }

.play.nav-play,
.play.nav-account,
.desk-link {
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  text-shadow: none;
}

.play.nav-play,
.play.nav-account {
  width: auto;
  flex: 0 0 auto;
  margin: 0;
  padding: 6px 10px;
  color: var(--glow);
}

.play.nav-account {
  max-width: 340px;
}

.desk-link {
  padding: 6px 8px;
}

.play.nav-play.on,
.play.nav-account.on,
.desk-link.on {
  color: var(--scarlet-text);
  font-weight: 700;
}

.play.nav-play:hover,
.play.nav-account:hover,
.desk-link:hover,
.play.nav-play.on:hover,
.play.nav-account.on:hover,
.desk-link.on:hover,
.play.nav-play:focus-visible,
.play.nav-account:focus-visible,
.desk-link:focus-visible {
  color: var(--scarlet-text);
  background: transparent;
  text-shadow: none;
  box-shadow: none;
}

.play.nav-account:hover,
.play.nav-account:focus-visible,
.play.nav-account.on:hover,
.play.nav-account.on:focus-visible {
  color: var(--scarlet-text);
  background: transparent;
  text-shadow: 0 0 8px rgba(255, 96, 96, 0.55);
  box-shadow: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(240px, 0.6fr);
  gap: 32px 48px;
  align-items: end;
}

.hero-actions .play { margin: 0 0 12px; }

.service-grid,
.desk-grid,
.book-grid,
.ticket-layout,
.track-layout {
  display: grid;
  gap: 16px 20px;
}

.service-grid {
  grid-template-columns: 1fr 1fr;
  margin-top: 36px;
}

.services {
  position: relative;
  z-index: 2;
  overflow: hidden;
  margin-top: 8px;
  padding: 36px 0 48px;
  background: #000;
}

.services .service-grid {
  position: relative;
  z-index: 3;
  margin-top: 0;
}

.city-map {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.city-map-frame {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 158%;
  width: auto;
  aspect-ratio: 1600 / 900;
  transform: translate(calc(-50% + 16px), -50%);
}

.city-map-frame img {
  display: block;
  width: 100%;
  height: 100%;
}

.city-map-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.42) 16%, rgba(0, 0, 0, 0.34) 48%, rgba(0, 0, 0, 0.5) 84%, rgba(0, 0, 0, 0.82) 100%);
}

.city-dot-layer {
  z-index: 4;
  pointer-events: none;
}

.city-dot {
  position: absolute;
  left: 49.25%;
  top: 56.6%;
  width: 11px;
  height: 11px;
  margin-left: -5.5px;
  margin-top: -5.5px;
  border-radius: 50%;
  background: #bb0000;
  box-shadow: 0 0 8px 2px rgba(187, 0, 0, 0.75);
}

.city-dot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(187, 0, 0, 0.55);
  animation: city-pulse 2.2s ease-out infinite;
}

@keyframes city-pulse {
  70% { box-shadow: 0 0 0 18px rgba(187, 0, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(187, 0, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .city-dot::before { animation: none; }
}

.service-grid > h2,
.service-grid > .soft {
  grid-column: 1 / -1;
}

.pricing {
  margin-top: 48px;
}

body.home .pricing {
  position: relative;
  z-index: 2;
  margin-top: 8px;
}

.pricing h2 {
  margin: 0 0 12px;
  font-size: 28px;
}

.rate-list {
  margin: 0;
  max-width: 40rem;
}

.rate {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin: 0;
  padding: 14px 0;
  border-top: 1px solid var(--gray);
}

.rate:last-child {
  border-bottom: 1px solid var(--gray);
}

.rate dt {
  font-weight: 700;
  color: var(--ink);
}

.rate-detail {
  display: block;
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 400;
}

.rate dd {
  margin: 0;
  color: var(--scarlet-text);
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
}

.rate-notes {
  margin: 14px 0 0;
  padding: 0 0 0 18px;
  max-width: 40rem;
  color: var(--ink);
  font-size: 16px;
}

.rate-notes li {
  margin: 6px 0;
}

body.book .pricing {
  margin-top: 16px;
  padding-left: 12px;
  border-left: 3px solid var(--scarlet);
}

.area {
  margin-top: 64px;
}

.area h2 {
  font-size: 28px;
  margin: 0 0 12px;
}

.area-callout {
  margin: 0 0 20px;
  max-width: 36rem;
  font-size: 18px;
  line-height: 1.4;
}

.counties {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 48px;
  max-width: 36rem;
}

.counties li {
  break-inside: avoid;
  padding: 8px 0;
  border-bottom: 1px solid var(--gray);
}

.specialty {
  position: relative;
  z-index: 2;
  margin-top: 0;
  padding: 0 0 16px;
  border-top: 0;
  background: #000;
}

.specialty-hero {
  padding: 28px 0 8px;
  background-color: #000;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.78) 46%, rgba(0, 0, 0, 0.94) 100%),
    url("buckit/commercial-rack.jpg");
  background-repeat: no-repeat;
  background-position: center, center 42%;
  background-size: cover;
}

.specialty h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 28px;
  text-shadow: none;
}

.specialty .soft {
  max-width: 42rem;
  margin-bottom: 12px;
}

.specialty-rate {
  margin: 0 0 18px;
  color: var(--scarlet-text);
  font-size: 18px;
  font-weight: 700;
}

.specialty-rate span {
  white-space: nowrap;
}

.specialty-secondary {
  margin: 0 0 22px;
}

.specialty-secondary img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center center;
  border: 1px solid var(--gray);
  border-radius: 12px;
}

.specialty-secondary figcaption,
.specialty-rack figcaption {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.4;
}

.specialty-rack {
  margin: 28px 0 0;
  max-width: 380px;
}

.specialty-rack img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--gray);
  border-radius: 12px;
}

.specialty > .specialty-inner {
  padding-top: 28px;
}

.specialty-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 16px;
}

.specialty-grid figure {
  margin: 0;
}

.specialty-grid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--gray);
  border-radius: 12px;
}

.specialty-grid figcaption {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.4;
}

/* Columbus night skyline behind the request form. The veil keeps the type clear. */
body.book {
  background: #000;
}

body.book::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: #000;
  background-image:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.72) 0%,
      rgba(0, 0, 0, 0.55) 28%,
      rgba(0, 0, 0, 0.58) 68%,
      rgba(0, 0, 0, 0.74) 100%
    ),
    url("buckit/dispatch.jpg");
  background-repeat: no-repeat;
  background-position: center 62%;
  background-size: cover;
}

body.book .shell {
  position: relative;
  z-index: 1;
}

/* Same river path and skyline, behind Technician Tracker. The veil keeps the form readable. */
body.tracker {
  background: #000;
}

body.tracker::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: #000;
  background-image:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.72) 0%,
      rgba(0, 0, 0, 0.58) 30%,
      rgba(0, 0, 0, 0.62) 68%,
      rgba(0, 0, 0, 0.76) 100%
    ),
    url("buckit/dispatch.jpg");
  background-repeat: no-repeat;
  background-position: center 58%;
  background-size: cover;
}

body.tracker .shell {
  position: relative;
  z-index: 1;
}

body.tracker .tracker {
  position: relative;
  isolation: isolate;
}

body.tracker .tracker::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -8px;
  right: 0;
  bottom: -12px;
  left: 0;
  border-radius: 18px;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.72);
}

body.tracker .soft,
body.tracker .note {
  color: #f2f2f2;
}

/* Lobby behind sign-in. The veil keeps the form readable and the wall mark quiet. */
body.account {
  background: #000;
}

body.account::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: #000;
  background-image:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.74) 0%,
      rgba(0, 0, 0, 0.62) 32%,
      rgba(0, 0, 0, 0.66) 70%,
      rgba(0, 0, 0, 0.78) 100%
    ),
    url("buckit/lobby.jpg");
  background-repeat: no-repeat;
  background-position: 62% center;
  background-size: cover;
}

body.account .shell {
  position: relative;
  z-index: 1;
}

body.account main {
  position: relative;
  isolation: isolate;
}

body.account main::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -12px;
  right: 0;
  bottom: -20px;
  left: 0;
  border-radius: 18px;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.82);
}

@media (max-width: 900px) {
  body.account::before {
    background-position: 18% center;
  }
}

.social-sign {
  display: grid;
  max-width: 440px;
  margin-top: 16px;
}

.play.social {
  gap: 12px;
  border: 0;
  background: #fff;
  color: #141414;
  box-shadow: none;
}

.play.social img {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  object-fit: contain;
  background: transparent;
  filter: none;
}

.play.social[data-provider="apple"] img {
  filter: brightness(0);
}

.play.social:hover,
.play.social:focus-visible {
  background: #bb0000;
  color: #fff;
  border: 0;
}

.play.social:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.play.social:disabled,
.play.social:disabled:hover {
  cursor: default;
  opacity: 0.6;
  background: #fff;
  color: #141414;
}

.social-or {
  margin: 4px 0 0;
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-top: 12px;
}

.account-actions form {
  width: auto;
  margin: 0;
}

.play.sign-out {
  width: auto;
  margin: 0;
  padding: 8px 16px;
  font-size: 15px;
}

.delete-account,
.delete-cancel {
  border: 0;
  background: transparent;
  color: var(--scarlet-text);
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  padding: 0;
  cursor: pointer;
}

.delete-account:hover,
.delete-account:focus-visible,
.delete-cancel:hover,
.delete-cancel:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.delete-account:disabled,
.delete-cancel:disabled {
  opacity: 0.6;
  cursor: default;
}

.book-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 28px 48px;
  align-items: start;
  margin-top: 8px;
}

.dispatch-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  max-width: none;
  margin-top: 20px;
}

.dispatch-form > .submit-request {
  order: 1;
}

.request-review {
  max-width: 640px;
}

.dispatch-jobs {
  border: 0;
  margin: 0 0 8px;
  padding: 0;
}

.dispatch-jobs legend {
  font-weight: 700;
  padding: 0;
  margin-bottom: 10px;
}

.job-choice {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 8px;
  padding: 14px 16px;
  border: 1px solid var(--gray);
  border-radius: 12px;
  background: #000;
  cursor: pointer;
}

.job-choice input {
  width: 18px;
  height: 18px;
  margin: 0;
  flex: 0 0 auto;
  accent-color: var(--scarlet-text);
}

.job-choice:has(input:checked) {
  border-color: var(--scarlet);
  color: var(--scarlet-text);
}

.job-choice:focus-within {
  outline: 2px solid var(--scarlet-text);
  outline-offset: 2px;
}

.dispatch-form .play {
  max-width: 320px;
  margin-top: 20px;
}

.optional {
  color: var(--ink-soft);
  font-weight: 400;
}

.desk-grid {
  grid-template-columns: 1fr 1fr;
  margin-top: 16px;
}

.ticket-card {
  border: 1px solid var(--gray);
  border-radius: 28px;
  padding: 16px 18px 8px;
  background: #000;
}

.ticket-card .choice {
  border: 0;
  padding: 0;
  margin: 0 0 8px;
}

.desk-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.desk-head .play {
  width: auto;
  min-width: 220px;
  margin: 0;
}

.ticket-layout {
  grid-template-columns: minmax(0, 1.5fr) minmax(240px, 0.5fr);
  align-items: start;
  margin-top: 8px;
}

.track-layout {
  grid-template-columns: 320px minmax(0, 1fr);
  align-items: start;
  margin-top: 8px;
}

body.chat {
  overflow: hidden;
  /* Lobby photo sits behind the conversation. The veil keeps scarlet and gray type clear. */
  background-color: #000;
  background-image:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.68) 0%,
      rgba(0, 0, 0, 0.5) 36%,
      rgba(0, 0, 0, 0.62) 100%
    ),
    url("buckit/lobby.jpg");
  background-repeat: no-repeat;
  background-position: 46% center;
  background-size: cover;
}

body.chat .shell {
  height: 100dvh;
  display: flex;
  flex-direction: column;
  padding-top: 20px;
  padding-bottom: 16px;
}

body.chat .site {
  margin-bottom: 12px;
}

body.chat .site-foot {
  display: none;
}

body.chat main {
  flex: 1 1 auto;
  display: flex;
  min-height: 0;
  width: min(720px, 100%);
  margin: 0 auto;
}

.chat-page {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  width: 100%;
}

body.chat h1 {
  margin: 4px 0 10px;
  font-size: 34px;
}

body.chat .soft {
  max-width: 40rem;
  margin-bottom: 8px;
}

body.chat .soft:last-of-type {
  margin-bottom: 14px;
}

.thread {
  display: flex;
  flex-direction: column;
  gap: 22px;
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  border: 0;
  padding: 8px 2px 28px;
  background: transparent;
}

.bubble {
  max-width: 36rem;
  margin: 0;
  border: 0;
  padding: 0;
  line-height: 1.5;
  white-space: pre-wrap;
}

.bubble.user {
  align-self: flex-end;
  color: var(--scarlet-text);
}

.bubble.assistant { align-self: flex-start; }

.bubble a,
.offers a {
  color: var(--scarlet-text);
  overflow-wrap: anywhere;
}

.offers {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  max-width: 36rem;
}

.offer-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-top: 8px;
}

.offer-note {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.composer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
  margin-bottom: 12vh;
  padding-top: 8px;
}

.photo-row {
  flex: 1 0 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.photo-row:empty { display: none; }

.photo-chip {
  position: relative;
  margin: 0;
}

.photo-chip img,
.bubble img,
.draft-photos img {
  display: block;
  width: 96px;
  height: 72px;
  object-fit: cover;
  border: 1px solid var(--gray);
  border-radius: 8px;
  background: #111;
}

.photo-chip button {
  margin-top: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.composer .photo-add {
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 16px 18px;
}

.composer input[type="text"] {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  min-height: 58px;
  margin-top: 0;
  font-size: 18px;
}

.composer .play {
  appearance: none;
  -webkit-appearance: none;
  width: auto;
  min-width: 108px;
  margin: 0;
  flex: 0 0 auto;
  border: 1px solid var(--scarlet);
  background: #000;
  box-shadow: none;
}

.composer .play:hover,
.composer .play:focus-visible,
.composer .play:active {
  outline: none;
  color: var(--scarlet-text);
  background: #000;
  border-color: var(--scarlet);
  box-shadow: inset 0 0 16px rgba(255, 96, 96, 0.4);
}

.composer .speak {
  min-width: 58px;
  padding-left: 16px;
  padding-right: 16px;
}

.composer .speak svg {
  display: block;
  width: 22px;
  height: 22px;
}

.composer .speak .stop-icon { display: none; }

.composer .speak[aria-pressed="true"] .mic-icon { display: none; }

.composer .speak[aria-pressed="true"] .stop-icon { display: block; }

.composer .speak[aria-pressed="true"] {
  box-shadow: inset 0 0 16px rgba(255, 96, 96, 0.5);
}

body.voice-on .composer .speak[aria-pressed="true"] {
  position: relative;
  z-index: 31;
}

.voice-status {
  flex: 1 0 100%;
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.4;
}

.voice-status:empty { display: none; }

.desk-wait {
  align-self: center;
  display: flex;
  justify-content: center;
  width: min(220px, 72%);
  margin: 18px auto 22px;
  pointer-events: none;
}

.board-logo {
  position: relative;
  width: min(200px, 56vw);
  aspect-ratio: 1;
  background: #000;
  border-radius: 18px;
  overflow: hidden;
}

.board-logo img {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: 0;
  background: #000;
}

.board-logo .laser {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(
    180deg,
    transparent 0%,
    transparent 46.5%,
    rgba(187, 0, 0, 0.22) 48%,
    #ff6060 49.15%,
    #fff4f4 50%,
    #ff6060 50.85%,
    rgba(187, 0, 0, 0.28) 52%,
    transparent 53.5%,
    transparent 100%
  );
  background-size: 100% 340%;
  background-repeat: no-repeat;
  background-position: 50% 8%;
  mix-blend-mode: screen;
  -webkit-mask-image: url("buckit/simple-clean-logo_mask.svg");
  mask-image: url("buckit/simple-clean-logo_mask.svg");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  filter: drop-shadow(0 0 5px rgba(255, 96, 96, 0.8));
  animation: fuse-travel 3.6s ease-in-out infinite;
}

@keyframes fuse-travel {
  0%, 100% { background-position: 50% 30%; }
  50% { background-position: 50% 70%; }
}

.voice-wait {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.58);
  animation: voice-in 0.18s ease-out;
}

@keyframes voice-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .board-logo .laser {
    animation: none;
    background-position: 50% 50%;
    opacity: 0.55;
  }

  .voice-wait { animation: none; }
}

.draft-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 8px 0 16px;
}

.draft-photos figure {
  margin: 0;
  max-width: 200px;
}

.draft-photos .play {
  width: auto;
  margin-top: 8px;
  padding: 8px 14px;
}

.issue-copy { white-space: pre-wrap; }

.dispatch-form input[type="file"] {
  display: block;
  margin-top: 8px;
  color: var(--ink-soft);
  font: inherit;
}

.play:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.source-card {
  border: 1px solid var(--gray);
  border-radius: 16px;
  padding: 12px 14px;
  margin: 12px 0 0;
  background: #000;
}

.source-card h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.source-card .meta {
  color: var(--ink-soft);
  font-size: 14px;
  margin: 0 0 8px;
}

.source-card a { display: inline-block; margin: 4px 0 8px; }

.part-choice {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 8px 0;
  cursor: pointer;
}

.part-choice input {
  margin-top: 4px;
  accent-color: var(--scarlet-text);
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.choice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #000;
  color: var(--choice-ink);
  border: 1px solid var(--choice-border);
  border-radius: 28px;
  padding: 16px 18px;
  margin: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.06em;
  line-height: 1;
  text-decoration: none;
}

.brand img {
  width: 48px;
  height: 48px;
  display: block;
}

.brand .it { color: var(--glow); }

body.home .shell {
  position: relative;
  max-width: none;
  padding: 0 0 32px;
}

body.home .site {
  position: absolute;
  z-index: 3;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  margin: 0;
  padding: 0;
  border-bottom: 0;
}

body.home .work-grid,
body.home .service-grid,
body.home .pricing,
body.home .area,
body.home .specialty-inner,
body.home .site-foot {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  padding-right: 40px;
}

.site-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 32px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--gray);
}

.site-foot img {
  width: 200px;
  height: auto;
  flex: 0 0 auto;
  display: block;
  border: 1px solid var(--gray);
  border-radius: 12px;
}

.site-foot div {
  flex: 1 1 160px;
  min-width: 0;
}

.site-foot p {
  margin: 0 0 8px;
  font-size: 16px;
}

.site-foot .veteran {
  font-size: 18px;
  font-weight: 700;
}

.site-foot .note {
  margin: 0;
}

.site-foot .insured,
.site-foot .entity {
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-size: 14px;
}

.site-foot .fee {
  margin: 0 0 8px;
  max-width: none;
  color: var(--ink);
  font-size: 16px;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin: 4px 0 8px;
}

.legal-links a {
  color: var(--scarlet-text);
  font-weight: 700;
}

.plain {
  max-width: 640px;
}

.plain h2 {
  margin: 28px 0 8px;
  font-size: 22px;
}

.ref-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  margin: 0 0 8px;
}

.ref-row .issued-pass { margin: 0; }

.copy-ref {
  margin: 0;
  padding: 8px 2px;
  border: 0;
  background: transparent;
  color: var(--scarlet-text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  min-height: 44px;
}

.copy-ref:hover,
.copy-ref:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ref-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ref-list li { margin: 0 0 16px; }

.cookie-banner {
  position: fixed;
  z-index: 40;
  left: 16px;
  right: 16px;
  bottom: max(12px, env(safe-area-inset-bottom));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--scarlet);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.94);
}

.cookie-banner p {
  flex: 1 1 220px;
  margin: 0;
}

.cookie-banner .play {
  width: auto;
  margin: 0;
  min-height: 44px;
  padding: 10px 18px;
}

html.cookies-ok .cookie-banner { display: none; }

html:not(.cookies-ok) body:not(.chat):not(.home) {
  padding-bottom: 112px;
}

html:not(.cookies-ok) #pricing {
  scroll-margin-bottom: 140px;
}

body.chat .cookie-banner {
  position: static;
  order: -1;
  margin: 0 0 8px;
}

html:not(.cookies-ok) body.home .cover-copy {
  padding-bottom: 240px;
}

.cover {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-sizing: border-box;
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: 108px;
  overflow: hidden;
  background: #000;
}

.cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.cover-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.36) 34%, rgba(0, 0, 0, 0.55) 68%, rgba(0, 0, 0, 0.78) 100%);
}

.cover-copy {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 80px));
  margin: 140px auto 0;
  padding: 0 0 168px;
}

.work {
  position: relative;
}

.work > img {
  position: sticky;
  top: 0;
  display: block;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
}

.work-veil {
  position: sticky;
  top: 0;
  z-index: 1;
  height: 100vh;
  height: 100dvh;
  margin-top: -100vh;
  margin-top: -100dvh;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.5) 0%,
      rgba(0, 0, 0, 0.28) 16%,
      rgba(0, 0, 0, 0.4) 38%,
      rgba(0, 0, 0, 0.68) 58%,
      rgba(0, 0, 0, 0.88) 76%,
      #000 94%,
      #000 100%
    );
}

.seo-quiet {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  color: #000;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 20px;
  margin-top: 20px;
}

.work .work-grid {
  position: relative;
  z-index: 2;
  margin-top: -100vh;
  margin-top: -100dvh;
  padding-top: 56px;
  padding-bottom: 16px;
}

.work-grid > h2,
.work-grid > .soft,
.work-grid > .seo-quiet {
  grid-column: 1 / -1;
}

.work-grid figure {
  margin: 0;
}

.work-grid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--gray);
  border-radius: 12px;
}

.work-grid figcaption {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.4;
}

.choice h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
}

.choice p { margin: 0; font-size: 16px; }

.choice .meta {
  color: var(--ink-soft);
  font-size: 14px;
  margin-top: 4px;
}

.letter {
  flex: 0 0 auto;
  min-width: 32px;
  border-radius: 999px;
  border: 1px solid var(--scarlet);
  background: #000;
  color: var(--letter-ink);
  font-weight: 700;
  text-align: center;
  padding: 6px 10px;
}

label.field {
  display: block;
  font-weight: 700;
  margin-top: 14px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea,
select {
  display: block;
  width: 100%;
  margin-top: 6px;
  font: inherit;
  font-size: 18px;
  color: var(--field-ink);
  background: #000;
  border: 2px solid var(--topic-border);
  border-radius: 999px;
  padding: 16px 22px;
}

select option,
select optgroup {
  background: #000;
  color: #f2f2f2;
}

textarea {
  border-radius: 28px;
  min-height: 140px;
  resize: vertical;
}

textarea.short {
  min-height: 96px;
}

input::placeholder,
textarea::placeholder { color: var(--placeholder); }

.place {
  display: inline-block;
  border-radius: 999px;
  border: 1px solid var(--gray);
  background: #000;
  color: var(--ink);
  font-size: 14px;
  padding: 6px 12px;
}

.certs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 12px;
}

.cert-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin: 16px 0 8px;
}

.cert-logos img {
  position: static;
  inset: auto;
  display: block;
  width: 132px;
  height: 132px;
  padding: 12px;
  object-fit: contain;
  background: #f4f4f4;
  border-radius: 8px;
}

.cert-logos .cert-text {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 176px;
  height: 132px;
  max-width: 100%;
  margin: 0;
  padding: 14px 16px;
  background: #f4f4f4;
  border-radius: 8px;
  color: #1a1a1a;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.cert {
  display: inline-block;
  border-radius: 999px;
  border: 1px solid var(--scarlet);
  background: #000;
  color: var(--glow);
  font-weight: 700;
  font-size: 14px;
  padding: 8px 14px;
}

.pills {
  border: 0;
  margin: 16px 0 0;
  padding: 0;
}

.pills legend {
  font-weight: 700;
  padding: 0;
  margin-bottom: 8px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mini {
  position: relative;
  border-radius: 999px;
  border: 1px solid var(--choice-border);
  background: var(--field);
  color: var(--ink);
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 400;
}

.mini input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}

.mini.tone-start:has(input:checked) {
  background: var(--start);
  color: var(--start-ink);
  border-color: var(--start-ink);
  font-weight: 700;
}

.mini.tone-host:has(input:checked) {
  background: var(--host);
  color: var(--host-ink);
  border-color: var(--host-ink);
  font-weight: 700;
}

.mini.tone-send:has(input:checked) {
  background: var(--send);
  color: var(--send-ink);
  border-color: var(--send-ink);
  font-weight: 700;
}

.mini.tone-wrong:has(input:checked) {
  background: var(--wrong);
  color: var(--wrong-ink);
  border-color: var(--wrong-border);
  font-weight: 700;
}

.status {
  display: inline-block;
  border-radius: 999px;
  border: 1px solid var(--choice-border);
  background: var(--field);
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  padding: 8px 14px;
  margin: 4px 8px 4px 0;
}

.status.s-open {
  background: var(--field);
  color: var(--field-ink);
  border-color: var(--topic-border);
}

.status.tone-high {
  background: var(--send);
  color: var(--send-ink);
  border-color: var(--send-border);
}

.status.s-assigned,
.status.tone-medium {
  background: var(--host);
  color: var(--host-ink);
  border-color: var(--host-border);
}

.status.s-in-progress,
.status.tone-low {
  background: var(--start);
  color: var(--start-ink);
  border-color: var(--start-border);
}

.status.s-resolved {
  background: var(--correct);
  color: var(--choice-ink);
  border-color: var(--correct-border);
}

.status.s-closed {
  background: var(--field);
  color: var(--ink-soft);
  border-color: var(--field-border);
}

.status.tone-emergency {
  background: var(--wrong);
  color: var(--wrong-ink);
  border-color: var(--wrong-border);
}

.links { margin-top: 12px; }

.links a { margin-right: 12px; }

.desk-form { margin-top: 8px; }

.map-frame {
  height: 72vh;
  min-height: 520px;
  margin: 0;
  border: 1px solid var(--gray);
  border-radius: 16px;
  overflow: hidden;
  background: #000;
}

.tracker,
.receipt {
  max-width: 640px;
}

.tracker-area {
  position: relative;
  overflow: hidden;
  height: 228px;
  margin: 8px 0 22px;
  border: 1px solid var(--gray);
  border-radius: 16px;
  background: #000;
}

.tracker-area .city-map-frame {
  height: 186%;
  width: auto;
  top: 54%;
  transform: translate(calc(-50% + 10px), -50%);
}

.tracker-area figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 5;
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-style: normal;
  line-height: 1.35;
}

.tracker-status,
.issued-pass {
  margin: 0 0 8px;
  color: var(--scarlet-text);
  font-size: 28px;
  font-weight: 700;
}

.issued-pass { letter-spacing: 0.08em; }

.timeline {
  list-style: none;
  margin: 28px 0 32px;
  padding: 0;
}

.timeline li {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  column-gap: 14px;
  position: relative;
  padding-bottom: 20px;
}

.timeline li:last-child { padding-bottom: 0; }

.timeline li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 18px;
  bottom: 0;
  width: 1px;
  background: var(--gray);
}

.step-dot {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border: 2px solid var(--gray);
  border-radius: 50%;
  background: #000;
}

.timeline .done .step-dot {
  border-color: var(--scarlet);
  background: var(--scarlet);
}

.timeline .done:not(:last-child)::before {
  background: var(--scarlet);
}

.timeline .current .step-dot {
  border-color: var(--scarlet-text);
  background: #000;
  box-shadow: 0 0 0 4px rgba(187, 0, 0, 0.45);
}

.timeline .current strong { color: var(--scarlet-text); }

.timeline .later { color: var(--ink-soft); }

.timeline .later .step-dot {
  border-color: var(--gray);
  background: #000;
}

.timeline p { margin: 2px 0 0; }

.alert-row { margin: 8px 0 0; }

.alert-toggle {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--scarlet-text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}

.alert-toggle:hover,
.alert-toggle:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tracker .map-frame {
  height: 320px;
  min-height: 0;
  margin-top: 16px;
}

.tracker .leaflet-tile-pane {
  filter: invert(1) hue-rotate(180deg) brightness(0.9) contrast(0.95);
}

.tracker .play,
.receipt .play { max-width: 320px; }

body.workspace {
  background: #f4f5f7;
  color: #1d1e20;
}

body.workspace a { color: #0b4f8a; }

body.workspace a.ws-brand,
body.workspace a.ws-brand:hover,
body.workspace a.ws-brand:focus-visible {
  color: #fff;
  text-decoration: none;
}

body.workspace h1,
body.workspace h2 {
  color: #1d1e20;
  font-weight: 600;
  text-shadow: none;
}

body.workspace h1 { font-size: 22px; margin: 0; }

body.workspace h2 { font-size: 16px; margin: 0 0 8px; }

.ws-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 52px;
  padding: 0 16px;
  background: #000;
  color: #fff;
  border-bottom: 1px solid #333;
}

.ws-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.ws-brand img { width: 32px; height: 32px; display: block; }

.ws-app {
  color: #c8c8c8;
  font-weight: 500;
  letter-spacing: 0;
  font-size: 14px;
}

.ws-user {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.ws-user span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ws-user form { margin: 0; }

.ws-quiet,
.ws-primary,
.ws-secondary {
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
}

body.workspace [hidden] { display: none !important; }

body.workspace .ws-quiet {
  background: #000;
  color: #fff;
  border: 1px solid #666;
  padding: 6px 12px;
}

.ws-stage { min-height: calc(100vh - 52px); }

.ws-login {
  display: grid;
  place-items: center;
  padding: 32px 16px;
}

.ws-card {
  width: min(400px, 100%);
  background: #fff;
  border: 1px solid #d6d6d8;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.ws-card h1 { margin-bottom: 8px; }

.ws-card p { margin: 0 0 16px; color: #3d3d3d; font-size: 14px; }

.ws-alert {
  background: #f6e6e6;
  color: #7a1020;
  border-radius: 4px;
  padding: 8px 10px;
  font-size: 14px;
  margin: 0 0 12px;
}

.ws-label {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
}

body.workspace input[type="text"],
body.workspace input[type="email"],
body.workspace input[type="password"],
body.workspace select {
  display: block;
  width: 100%;
  margin-top: 4px;
  background: #fff;
  color: #1d1e20;
  border: 1px solid #8c8c8c;
  border-radius: 4px;
  padding: 8px 10px;
  font-size: 14px;
}

body.workspace select option { background: #fff; color: #1d1e20; }

.ws-primary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-top: 16px;
  background: #1d1e20;
  color: #fff;
  border: 1px solid #1d1e20;
  padding: 8px 16px;
  text-decoration: none;
}

body.workspace a.ws-secondary,
.ws-secondary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  color: #1d1e20;
  border: 1px solid #8c8c8c;
  padding: 8px 16px;
  text-decoration: none;
}

.ws-text {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
}

.ws-list-page {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: start;
  min-height: calc(100vh - 52px);
}

.ws-list-menu {
  background: #fff;
  border-right: 1px solid #d6d6d8;
  min-height: calc(100vh - 52px);
  padding: 12px 0;
}

body.workspace .ws-list-menu a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  color: #1d1e20;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-left: 3px solid transparent;
}

.ws-list-menu a.on {
  background: #f4f5f7;
  border-left-color: #1d1e20;
}

.ws-list-menu span { color: #5c5c5c; font-weight: 500; }

.ws-list { padding: 20px 20px 40px; min-width: 0; }

.ws-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.ws-table-wrap {
  background: #fff;
  border: 1px solid #d6d6d8;
  border-radius: 8px;
  overflow-x: auto;
}

.ws-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.ws-table th {
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  color: #5c5c5c;
  background: #f6f6f8;
  padding: 8px 12px;
  border-bottom: 1px solid #d6d6d8;
}

.ws-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #ececec;
  font-size: 14px;
  vertical-align: middle;
}

.ws-table tr:last-child td { border-bottom: 0; }

.ws-table tbody tr:hover { background: #f6f6f8; }

.ws-table a { font-weight: 700; }

.ws-empty {
  background: #fff;
  border: 1px solid #d6d6d8;
  border-radius: 8px;
  padding: 24px 16px;
  margin: 0;
  color: #3d3d3d;
}

.ws-state {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  background: #ececec;
  color: #1d1e20;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.ws-state.s-tech-assigned,
.ws-state.s-on-the-way,
.ws-state.s-on-site {
  background: #f6e6e6;
  color: #7a1020;
}

.ws-state.s-completed {
  background: #e5f2e9;
  color: #145c32;
}

.ws-record { padding: 20px 20px 48px; max-width: 960px; }

.ws-crumb {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
  font-size: 13px;
  color: #5c5c5c;
}

.ws-crumb a { text-decoration: none; }

.ws-record-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #d6d6d8;
}

.ws-kicker {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 600;
  color: #5c5c5c;
}

.ws-record-head h1 { margin-bottom: 8px; }

.ws-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 8px;
}

.ws-actions { margin-left: auto; flex: 0 0 auto; align-items: flex-end; }

.ws-actions form {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin: 0;
}

.ws-actions .ws-label { margin-top: 0; }

.ws-actions select { width: 180px; }

.ws-actions .ws-primary,
.ws-actions .ws-secondary { margin-top: 0; }

.ws-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
  margin-top: 20px;
  background: #fff;
  border: 1px solid #d6d6d8;
  border-radius: 8px;
  padding: 16px;
}

.ws-fields .wide { grid-column: 1 / -1; }

.ws-fields dt {
  font-size: 12px;
  font-weight: 600;
  color: #5c5c5c;
}

.ws-fields dd { margin: 4px 0 0; font-size: 15px; }

.ws-fields dd.keep-lines { white-space: pre-wrap; }

.ws-share {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 20px;
  padding: 20px;
  align-items: start;
}

.ws-share .map-frame { height: 520px; min-height: 0; margin: 0; }

body.workspace .map-frame { background: #fff; border: 1px solid #d6d6d8; border-radius: 8px; overflow: hidden; }

@media (max-width: 800px) {
  .ws-app { display: none; }
  .ws-list-page { grid-template-columns: 1fr; }
  .ws-list-menu {
    display: flex;
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid #d6d6d8;
    padding: 0;
  }
  body.workspace .ws-list-menu a { flex: 1; border-left: 0; border-bottom: 3px solid transparent; }
  body.workspace .ws-list-menu a.on { border-bottom-color: #1d1e20; }
  .ws-table { min-width: 0; }
  .ws-table thead { display: none; }
  .ws-table,
  .ws-table tbody,
  .ws-table tr,
  .ws-table td { display: block; width: auto; }
  .ws-table tr { padding: 12px; border-bottom: 1px solid #ececec; }
  .ws-table td { border: 0; padding: 2px 0; }
  .ws-table td::before {
    content: attr(data-label);
    display: block;
    color: #5c5c5c;
    font-size: 12px;
    font-weight: 600;
  }
  .ws-table td:nth-child(1)::before,
  .ws-table td:nth-child(2)::before { display: none; }
  .ws-table td:nth-child(2) { margin: 4px 0 8px; }
  .ws-fields,
  .ws-share { grid-template-columns: 1fr; }
  .ws-record-head { display: block; }
  .ws-actions { margin-top: 12px; margin-left: 0; }
  .ws-actions form { flex-wrap: wrap; }
  .ws-share .map-frame { height: 62vh; }
}

#map { height: 100%; width: 100%; background: #000; }

.leaflet-container { font-family: inherit; background: #000; }

@media (max-width: 1100px) {
  .site { align-items: flex-start; flex-direction: column; gap: 8px; }
  .bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
    gap: 2px 4px;
  }
  .play.nav-play,
  .play.nav-account { width: auto; max-width: none; }
  .nav-account { align-self: flex-start; }
  .desk-link { justify-self: start; }
  body.home .cover { padding-top: 180px; }
}

@media (max-width: 900px) {
  .shell { padding: 20px 16px 24px; }
  body.home .shell { padding: 0 0 24px; }
  body.home .site {
    top: 16px;
    width: calc(100% - 32px);
  }
  body.home .work-grid,
  body.home .service-grid,
  body.home .pricing,
  body.home .area,
  body.home .specialty-inner,
  body.home .site-foot {
    padding-left: 16px;
    padding-right: 16px;
  }
  .site-foot { gap: 16px 20px; }
  .site-foot img { width: 148px; }
  .counties { column-gap: 24px; }
  .city-map-frame {
    height: auto;
    width: 250%;
    top: 46%;
  }
  .cover-copy {
    width: calc(100% - 32px);
    padding-bottom: 36px;
  }
  html:not(.cookies-ok) body.home .cover-copy { padding-bottom: 128px; }
  .legal-links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .work > img {
    object-fit: contain;
    object-position: center top;
    background: #000;
  }
  .work-veil {
    background:
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(0, 0, 0, 0.38) 18%,
        rgba(0, 0, 0, 0.72) 40%,
        rgba(0, 0, 0, 0.92) 58%,
        #000 74%,
        #000 100%
      );
  }
  .desk-link { align-self: flex-start; }
  .hero,
  .work-grid,
  .service-grid,
  .book-grid,
  .desk-grid,
  .ticket-layout,
  .track-layout,
  .desk-head {
    display: block;
  }
  body.chat .shell { padding: 16px 16px 12px; }
  body.chat h1 { font-size: 28px; margin-bottom: 8px; }
  .board-logo { width: min(148px, 46vw); }
  body.chat .composer { display: flex; flex-wrap: wrap; margin-bottom: 6vh; }
  body.chat .composer input[type="text"] { flex: 1 1 100%; }
  body.chat .composer .play { width: auto; margin-top: 0; }
  body.chat .composer button[type="submit"].play { margin-left: auto; }
  .choice { margin: 8px 0; }
  .work-grid figure { margin: 0 0 22px; }
  .specialty-grid { display: block; }
  .specialty-grid figure { margin: 0 0 22px; }
  .dispatch-form .play { max-width: none; }
  .tracker-area { height: 188px; margin-bottom: 16px; }
  .brand { font-size: 20px; }
  .brand img { width: 40px; height: 40px; }
  .map-frame { height: 62vh; min-height: 0; margin-top: 16px; }
  h1 { font-size: 28px; }
  .mark.hero { font-size: 32px; }

  /* Thumb targets. The bar stays a wrapping row, not a grid. */
  .bar { gap: 6px 10px; }
  .play.nav-play,
  .play.nav-account {
    min-height: 44px;
    padding: 10px 12px;
  }
  .brand { min-height: 44px; }
  a, button, label, input, select, textarea { touch-action: manipulation; }
  main p a { padding: 6px 0; }

  .job-choice { min-height: 48px; }
  .dispatch-form { max-width: 100%; }
  .dispatch-form input[type="file"] {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 48px;
    font-size: 16px;
  }
  .alert-toggle {
    min-height: 44px;
    padding: 12px 0;
  }
  .play.sign-out {
    min-height: 44px;
    padding: 10px 18px;
  }
  .delete-account,
  .delete-cancel {
    min-height: 44px;
    padding: 12px 4px;
  }
  .counties { columns: 1; }
  .social-sign { max-width: none; }
  .play.social { min-height: 52px; }
  body { overflow-wrap: break-word; }

  body.chat { overflow: hidden; }
  body.chat .shell {
    height: 100svh;
    padding-bottom: max(8px, env(safe-area-inset-bottom));
  }
  body.chat main { min-height: 0; }
  body.chat .chat-page {
    overflow: auto;
    padding-bottom: 232px;
    -webkit-overflow-scrolling: touch;
  }
  body.chat .thread {
    flex: 0 0 auto;
    min-height: 48px;
    overflow: visible;
  }
  body.chat .composer {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 0;
    z-index: 4;
    margin: 0;
    padding-top: 8px;
    padding-bottom: max(8px, env(safe-area-inset-bottom));
    background: rgba(0, 0, 0, 0.94);
  }
  body.chat .composer .play {
    min-height: 48px;
    flex: 1 1 30%;
  }
  body.chat .composer button[type="submit"].play { margin-left: 0; }
  body.chat .composer .speak { min-width: 0; }
  body.voice-on .composer { z-index: 32; }
  body.voice-on .composer > :not(#speak) { pointer-events: none; }
}

@media (max-width: 900px) and (max-height: 740px) {
  body.chat .site { margin-bottom: 6px; }
  body.chat h1 { margin-bottom: 4px; }
  body.chat .soft { margin-bottom: 4px; }
  body.chat .soft:last-of-type { margin-bottom: 8px; }
}
