:root {
  color-scheme: light;
  --ink: #202923;
  --ink2: #43504a;
  --muted: #606b64;
  --paper: #f5f6f3;
  --line: #dce0d9;
  --soft: #edf0eb;
  --accent: #ff713e;
  --accent-dark: #a93812;
  --dark: #23312a;
  --r: 16px;
  --shadow: 0 3px 12px #1d332a07;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink);
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
select {
  cursor: pointer;
}
a {
  color: inherit;
}
button {
  color: inherit;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #c85329;
  outline-offset: 3px;
}
button,
input,
select,
textarea {
  min-width: 0;
}
button {
  touch-action: manipulation;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  line-height: 1.17;
  letter-spacing: -0.034em;
}
h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}
h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
}
h3 {
  font-size: 1.19rem;
}
h4 {
  font-size: 1.03rem;
}
img,
svg {
  display: block;
}
.icon {
  width: 1.22em;
  height: 1.22em;
  stroke-width: 1.75;
  flex: 0 0 auto;
}
.wrap {
  width: min(1152px, calc(100% - 72px));
  margin: auto;
}
.skip {
  position: absolute;
  left: 10px;
  top: -100px;
  background: white;
  color: var(--ink);
  padding: 8px;
  z-index: 9;
}
.skip:focus {
  top: 8px;
}
[hidden] {
  display: none !important;
}
.top {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.bar {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 74px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 1.66rem;
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 1;
  flex-shrink: 0;
}
.brand img {
  border-radius: 25%;
}
.primary {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
}
.primary a {
  color: #526058;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 550;
  padding: 8px 14px;
  border-radius: 8px;
  line-height: 1.4;
}
.primary a:hover,
.primary a[aria-current="page"] {
  background: var(--soft);
  color: var(--ink);
}
.login,
.btn,
.ghost,
.dark-btn,
.icon-btn,
.chip-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  text-decoration: none;
  line-height: 1.28;
  font-weight: 650;
  border-radius: 9px;
}
.login {
  font-size: 0.9375rem;
  padding: 9px 14px;
  min-height: 40px;
  background: white;
  border-color: var(--line);
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.login:hover,
.ghost:hover,
.icon-btn:hover {
  background: var(--soft);
}
.login svg {
  color: #536159;
}
main {
  min-height: 70vh;
  padding: 26px 0 46px;
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 240px;
  border-radius: 18px;
  color: white;
  background: #24342d;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 54%;
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(18, 34, 27, 0.95) 0%,
    rgba(20, 34, 27, 0.82) 29%,
    rgba(20, 34, 28, 0.32) 58%,
    transparent 87%
  );
}
.hero-copy {
  width: min(60%, 675px);
  padding: 32px 40px;
}
.locality {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  color: #e9eee8;
  margin-bottom: 16px;
}
.locality .icon {
  color: #ff9469;
}
.hero h1 {
  font-size: clamp(2.65rem, 4.3vw, 3.75rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  font-weight: 740;
}
.hero p {
  color: #e4e8e2;
  margin-top: 13px;
  font-size: 1.035rem;
  max-width: 410px;
}
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(282px, 0.45fr);
  gap: 22px;
  align-items: start;
  margin-top: 23px;
}
.panel,
.side-card,
.card,
.ad {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
}
.panel {
  padding: 26px 28px 28px;
}
.side-card {
  padding: 22px;
}
.sidebar {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 16px;
}
.stage-bar {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  font-size: 0.875rem;
  font-weight: 650;
  line-height: 1.2;
  border-bottom: 1px solid var(--line);
  padding: 0 0 18px;
  margin-bottom: 22px;
}
.stage-bar span,
.stage-bar button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
}
.stage-bar button {
  border: 0;
  background: transparent;
  padding: 0;
  font-weight: 650;
}
.stage-bar .stage-current {
  color: var(--ink);
}
.stage-mark {
  height: 22px;
  min-width: 22px;
  display: grid !important;
  place-items: center;
  background: var(--soft);
  border-radius: 50%;
  font-size: 0.77rem;
  font-variant-numeric: tabular-nums;
}
.stage-current .stage-mark {
  background: #ffcfb9;
  color: #5d2811;
}
.stage-bar .step-rule {
  height: 1px;
  width: clamp(8px, 2vw, 36px);
  background: var(--line);
}
.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.section-title h2 {
  font-size: 1.58rem;
}
.icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--soft);
  color: #4b5a4f;
}
.form-section + .form-section {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.fields {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  font-size: 0.913rem;
  font-weight: 630;
}
.field small,
.hint,
.sub {
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.45;
}
.full {
  grid-column: 1/-1;
}
.field input,
.field textarea,
.field select,
.compose textarea {
  width: 100%;
  background: white;
  border: 1px solid #cbd2ca;
  border-radius: 9px;
  color: var(--ink);
  padding: 11px 12px;
  min-height: 46px;
  font-size: 1rem;
  font-weight: 440;
}
.field textarea {
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #77817a;
  opacity: 1;
}
.field select {
  appearance: none;
  padding-right: 36px;
  background: white
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23495a4e' stroke-width='1.6'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E")
    no-repeat right 12px center/16px;
}
.address-pair {
  position: relative;
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}
.address-field {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  background: #f7f8f5;
  border: 1px solid #dce0d9;
  border-radius: 9px;
  padding: 8px 12px;
}
.address-field:focus-within {
  outline: 2px solid #c85329;
  outline-offset: 1px;
}
.address-field input {
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  font-size: 1rem;
  color: var(--ink);
  outline: 0 !important;
}
.address-field input::placeholder {
  color: #747e76;
}
.address-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 650;
  margin-bottom: 2px;
}
.waypoint {
  width: 12px;
  height: 12px;
  background: white;
  border: 3px solid #43594b;
  border-radius: 50%;
  justify-self: center;
}
.waypoint.end {
  border-radius: 3px;
  border: 0;
  background: var(--accent);
}
.actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.btn,
.ghost,
.dark-btn {
  padding: 12px 18px;
  min-height: 45px;
  border-radius: 9px;
}
.btn {
  color: #231d19;
  background: var(--accent);
}
.btn:hover {
  background: #ff8256;
}
.ghost {
  background: white;
  border-color: var(--line);
  color: var(--ink);
}
.dark-btn {
  background: var(--dark);
  color: white;
}
.dark-btn:hover {
  background: #394c40;
}
.side-head,
.row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.side-head {
  margin-bottom: 17px;
}
.side-head .icon {
  color: #748176;
}
.summary-list,
.price-lines {
  margin: 0;
  display: grid;
  gap: 11px;
}
.summary-list div,
.price-lines div,
.amount-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 15px;
}
.summary-list dt,
.price-lines dt,
.sum-caption {
  font-size: 0.9rem;
  color: var(--muted);
}
.summary-list dd,
.price-lines dd {
  margin: 0;
  text-align: right;
  font-size: 0.93rem;
  font-weight: 550;
  overflow-wrap: anywhere;
  max-width: 68%;
}
.amount-row {
  border-top: 1px dashed #cdd4cc;
  padding-top: 14px;
  margin-top: 17px;
  align-items: center;
}
.amount-row strong {
  font-size: 1.5rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.side-note {
  margin-top: 10px;
}
.app-card {
  background: #eaf0e7;
  border-color: #d8e1d5;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  column-gap: 12px;
  padding: 19px 20px;
}
.app-tile {
  width: 42px;
  height: 46px;
  display: grid;
  place-items: center;
  background: #d8e3d6;
  border-radius: 11px;
  color: #344c39;
}
.app-tile .icon {
  width: 24px;
  height: 24px;
}
.app-card h3 {
  font-size: 1.03rem;
  margin: 1px 0 6px;
}
.app-card .sub {
  font-size: 0.84rem;
}
.text-link {
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  font-size: 0.93rem;
  font-weight: 650;
  color: var(--ink);
  text-underline-offset: 3px;
}
.app-card .text-link {
  margin-top: 10px;
}
.footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
}
.foot-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 74px;
}
.foot-inner > a:last-child {
  margin-left: auto;
  text-underline-offset: 3px;
}
.brand.small {
  font-size: 1.15rem;
  color: var(--ink);
  letter-spacing: -0.04em;
}
.loading {
  margin: 40px 0;
}
.card {
  padding: 22px;
}
.page-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 20px 0 22px;
}
.page-heading .sub {
  margin-top: 10px;
  font-size: 1rem;
}
.page-heading h1 {
  font-size: clamp(1.9rem, 3.5vw, 2.9rem);
}
.items {
  display: grid;
  gap: 14px;
}
.items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 14px;
}
.stack {
  display: grid;
  gap: 15px;
}
.section-gap {
  margin-top: 24px;
}
.empty {
  padding: 30px;
  max-width: 760px;
}
.empty .icon-tile {
  margin-bottom: 14px;
}
.empty p {
  margin: 9px 0 16px;
  color: var(--muted);
}
.car-detail {
  background: #f3f5f1;
  border: 1px solid var(--line);
  padding: 13px 15px;
  display: flex;
  gap: 12px;
  border-radius: 10px;
  align-items: flex-start;
}
.car-detail > .icon {
  color: #5a6f5e;
  margin-top: 2px;
}
.car-detail p + p {
  margin-top: 4px;
}
.notice,
.error {
  padding: 12px 15px;
  border: 1px solid #e6ceb5;
  border-radius: 9px;
  background: #fff5e7;
  color: #6c4221;
  font-size: 0.925rem;
}
.error {
  background: #fff0eb;
  border-color: #edc8b8;
  color: #862f1a;
}
.quote-total {
  font-size: 2.03rem;
  letter-spacing: -0.04em;
  font-weight: 750;
}
.review-info {
  display: grid;
  gap: 6px;
  line-height: 1.5;
}
.review-info b {
  margin-right: 5px;
}
.warning-list {
  margin: 0;
  padding-left: 1.1rem;
}
.status {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  background: #edf2ea;
  color: #3c563d;
  padding: 5px 9px;
  border-radius: 6px;
  white-space: nowrap;
}
.status.closed {
  background: #eeefed;
  color: #5f655e;
}
.order-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.order-card h3 {
  margin: 8px 0 6px;
  overflow-wrap: anywhere;
}
.tagline {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.875rem;
}
.eyebrow {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 650;
}
.tabs,
.choices {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.chip-button {
  background: var(--soft);
  color: var(--muted);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.9rem;
}
.chip-button[aria-pressed="true"] {
  color: white;
  background: var(--dark);
}
.page-pane {
  padding: 20px 0 0;
}
.team-list {
  padding: 0;
  list-style: none;
  margin: 0;
  display: grid;
  gap: 12px;
}
.member {
  display: flex;
  gap: 10px;
  align-items: center;
}
.avatar {
  display: inline-grid;
  place-items: center;
  background: var(--soft);
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
  font-weight: 650;
}
.chat-log {
  max-height: 450px;
  overflow-y: auto;
  display: grid;
  gap: 12px;
  padding: 4px 2px;
}
.msg {
  padding: 12px 14px;
  background: var(--soft);
  border-radius: 11px;
  max-width: 92%;
  width: fit-content;
}
.msg p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin-top: 4px;
}
.msg time {
  color: var(--muted);
  font-size: 0.8rem;
}
.compose {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}
.compose .btn {
  justify-self: end;
}
.chat-head {
  align-items: flex-start;
}
.icon-btn {
  background: white;
  border-color: var(--line);
  padding: 8px;
  min-width: 36px;
  min-height: 36px;
}
.ad {
  padding: 16px 20px;
}
.ad p {
  margin-top: 4px;
  color: var(--muted);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.ad a {
  margin-top: 6px;
}
.ad .eyebrow {
  color: var(--accent-dark);
  margin-bottom: 5px;
}
.ad-list {
  display: grid;
  gap: 10px;
  margin-top: 15px;
}
.admin-rows {
  display: grid;
  gap: 12px;
}
.admin-row {
  border-top: 1px solid var(--line);
  padding-top: 13px;
  display: flex;
  align-items: start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.admin-row:first-child {
  border-top: 0;
  padding: 0;
}
.admin-row .sub {
  overflow-wrap: anywhere;
}
.admin-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.danger {
  color: #942e1b;
}
.checkbox {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.95rem;
}
.checkbox input {
  width: 18px;
  height: 18px;
  accent-color: #314937;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 16px;
  width: min(480px, calc(100% - 24px));
  padding: 25px;
  max-height: 90dvh;
  color: var(--ink);
  background: white;
  box-shadow: 0 24px 80px #14211933;
}
dialog::backdrop {
  background: #121c17a6;
}
.dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 18px;
}
.dialog-top h2 {
  font-size: 1.55rem;
}
.dialog-actions,
.modal-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px;
}
.dialog-actions {
  margin-top: 18px;
}
.auth-switch {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 18px;
  font-size: 0.92rem;
}
.auth-switch button {
  margin-left: 5px;
}
.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  max-width: calc(100vw - 22px);
  width: max-content;
  background: #20342a;
  color: white;
  padding: 12px 18px;
  border-radius: 9px;
  box-shadow: 0 5px 18px #0002;
}
.apply-link {
  font-weight: 650;
}
.divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 20px 0;
}
.word-wrap {
  overflow-wrap: anywhere;
}
.list-inline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.mono {
  font-variant-numeric: tabular-nums;
}
@media (min-width: 1280px) {
  .wrap {
    width: min(1200px, calc(100% - 96px));
  }
  .hero {
    min-height: 260px;
  }
  .hero-copy {
    padding-left: 46px;
  }
  .panel {
    padding: 29px 32px;
  }
}
@media (max-width: 900px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .bar {
    gap: 14px;
  }
  .primary a {
    padding: 8px 10px;
  }
  .layout {
    grid-template-columns: minmax(0, 1fr) minmax(230px, 0.49fr);
    gap: 14px;
  }
  .panel {
    padding: 21px;
  }
  .side-card {
    padding: 17px;
  }
  .hero {
    min-height: 215px;
  }
  .hero-copy {
    padding: 26px;
  }
  .stage-bar {
    gap: 6px;
  }
  .stage-bar .step-rule {
    width: 12px;
  }
}
@media (max-width: 720px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .bar {
    min-height: 62px;
    flex-wrap: wrap;
    gap: 0;
    justify-content: space-between;
  }
  .brand {
    font-size: 1.42rem;
  }
  .brand img {
    width: 30px;
    height: 30px;
  }
  .primary {
    order: 3;
    flex-basis: 100%;
    margin: 0;
    padding: 7px 0;
    overflow-x: auto;
    gap: 3px;
    scrollbar-width: thin;
    white-space: nowrap;
  }
  .primary a {
    padding: 6px 10px;
    font-size: 0.9rem;
  }
  .bar > .brand,
  .bar > .login {
    margin-top: 12px;
  }
  .login {
    font-size: 0.9rem;
    min-height: 36px;
    padding: 6px 11px;
  }
  .layout {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 14px;
  }
  .layout > * {
    width: 100%;
  }
  .sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
  .hero {
    min-height: 190px;
  }
  .hero-copy {
    width: 75%;
    padding: 23px;
  }
  .hero h1 {
    font-size: clamp(2.1rem, 6.5vw, 2.8rem);
  }
  .hero p {
    font-size: 0.94rem;
    max-width: 270px;
  }
  .locality {
    font-size: 0.83rem;
    margin-bottom: 13px;
  }
  main {
    padding: 15px 0 28px;
  }
  .sidebar .side-card {
    padding: 16px;
  }
  .side-head {
    margin-bottom: 12px;
  }
  .page-heading {
    margin-top: 12px;
  }
  .stage-bar .step-rule {
    flex: 1;
    max-width: 34px;
  }
  .app-card {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 8px;
  }
  .app-tile {
    width: 32px;
    height: 36px;
  }
}
@media (max-width: 490px) {
  .wrap {
    width: calc(100% - 24px);
  }
  .primary a {
    padding-inline: 8px;
  }
  .hero {
    min-height: 177px;
    border-radius: 13px;
  }
  .hero-photo {
    object-position: 72% 50%;
  }
  .hero-copy {
    width: 85%;
    padding: 18px;
  }
  .hero::after {
    background: linear-gradient(90deg, #16271fea, #192922b8 50%, #1929221f);
  }
  .hero p {
    font-size: 0.88rem;
    max-width: 245px;
  }
  .sidebar {
    grid-template-columns: 1fr;
  }
  .panel {
    padding: 17px;
  }
  .section-title {
    gap: 8px;
  }
  .section-title h2 {
    font-size: 1.37rem;
  }
  .stage-bar {
    font-size: 0.82rem;
    gap: 4px;
    padding-bottom: 14px;
    margin-bottom: 16px;
  }
  .stage-bar span,
  .stage-bar button {
    gap: 4px;
  }
  .stage-bar .step-rule {
    max-width: 13px;
  }
  .stage-mark {
    min-width: 20px;
    height: 20px;
  }
  .fields {
    gap: 11px;
  }
  .fields .narrow-full {
    grid-column: 1/-1;
  }
  .app-card {
    grid-template-columns: 40px 1fr;
  }
  .foot-inner {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 0;
  }
  .foot-inner > a:last-child {
    margin-left: 0;
  }
  .order-card,
  .page-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .page-heading {
    gap: 10px;
  }
  .order-card > .ghost {
    align-self: stretch;
  }
  .actions .btn {
    flex-grow: 1;
  }
  .page-heading .sub {
    font-size: 0.92rem;
  }
  .card,
  .empty {
    padding: 18px;
  }
  .step-bar .icon {
    width: 15px;
  }
  .bar > .login {
    max-width: 46vw;
  }
  .dialog-top h2 {
    font-size: 1.38rem;
  }
  .stage-bar .stage-mark .icon {
    width: 13px;
  }
  .foot-inner .small img {
    width: 23px;
    height: 23px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  button,
  a,
  input,
  select,
  textarea {
    transition:
      background-color 0.13s,
      border-color 0.13s;
  }
}

.primary button {
  background: transparent;
  color: #526058;
  border: 0;
  padding: 8px 14px;
  font-size: 0.9375rem;
  font-weight: 550;
  border-radius: 8px;
  line-height: 1.4;
}
.primary button:hover {
  background: var(--soft);
  color: var(--ink);
}
details > summary {
  cursor: pointer;
  color: #405447;
  font-weight: 600;
  font-size: 0.925rem;
}
details.extras {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 15px;
  margin-top: 18px;
}
details.extras > div {
  margin-top: 13px;
}
.chat-head .section-title {
  margin-bottom: 14px;
}
.review-info {
  overflow-wrap: anywhere;
}
.calc-anchor {
  scroll-margin-top: 12px;
}
.team-list .member button {
  margin-left: auto;
  min-height: 32px;
  padding: 6px 10px;
}
.bar > .login span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-rows textarea {
  resize: vertical;
}
.price-lines dd {
  font-variant-numeric: tabular-nums;
}
.crew-availability {
  margin-bottom: 16px;
}
.crew-availability .fields {
  max-width: 650px;
  align-items: end;
}
.crew-availability .actions {
  margin-top: 13px;
}
.stage-current {
  font-weight: 720;
}
.summary-list dd {
  min-width: 0;
}
.stage-bar .stage-mark .icon {
  width: 13px;
  height: 13px;
}
@media (max-width: 720px) {
  .primary button {
    padding: 6px 9px;
    font-size: 0.9rem;
  }
  .primary > * {
    flex-shrink: 0;
  }
}
@media (max-width: 490px) {
  .primary a,
  .primary button {
    padding: 6px 8px;
  }
  .stage-bar {
    justify-content: space-between;
  }
  .car-detail .sub {
    overflow-wrap: anywhere;
  }
}
.recipient {
  border: 1px solid var(--line);
  border-radius: 10px;
  margin: 0;
  padding: 12px 13px;
  min-width: 0;
}
.recipient legend {
  font-size: 0.92rem;
  font-weight: 650;
  padding: 0 4px;
}
.rating-row {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 10px;
}
.rating-row label {
  min-width: 180px;
}
.rating-row [data-error] {
  width: 100%;
}
.crew-availability + .crew-availability {
  margin-bottom: 14px;
}
.field select:disabled {
  cursor: default;
}
.material-row {
  padding-top: 12px;
  margin-top: 14px;
  border-top: 1px solid var(--line);
}
.material-row input[type="file"] {
  white-space: normal;
  font-size: 0.86rem;
}
.materials .admin-actions {
  column-gap: 16px;
}
.extras .checkbox {
  min-height: 32px;
}
.modal-actions {
  align-items: center;
}
.actions .text-link {
  padding-block: 5px;
}
.terms {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.terms .checkbox {
  align-items: flex-start;
  line-height: 1.4;
}
.terms .checkbox input {
  flex: 0 0 18px;
  min-height: 18px;
  margin-top: 2px;
}
.terms a {
  text-underline-offset: 2px;
}
.terms fieldset {
  min-width: 0;
}
.checksum {
  font-size: 0.8rem;
  color: var(--muted);
  text-underline-offset: 3px;
}
@media (max-width: 490px) {
  .row-between {
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .status {
    white-space: normal;
    max-width: 100%;
  }
  .admin-actions {
    max-width: 100%;
  }
  .panel,
  .side-card,
  .card,
  .empty {
    min-width: 0;
  }
  .member {
    flex-wrap: wrap;
  }
  .rating-row > label {
    min-width: 0;
    flex-basis: 100%;
  }
  .primary {
    min-width: 0;
  }
  .crew-availability .fields {
    grid-template-columns: 1fr;
  }
}

.hero-calculate{margin-top:18px;min-height:42px;padding:10px 17px}
.toast{pointer-events:none}
#home-ads.ad-slot{margin-top:22px}
.ad-slot[hidden]{display:none}
.ad-stage,.preview-inner{container-type:inline-size}
.ad-banner{display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch;overflow:hidden;background:white;border:1px solid var(--line);border-radius:var(--r)}
.ad-banner.has-poster{grid-template-columns:minmax(155px,33%) minmax(0,1fr)}
.ad-media{background:var(--soft);min-width:0;aspect-ratio:16/9;align-self:center;overflow:hidden}
.ad-media img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.ad-copy{min-width:0;align-self:center;padding:18px 23px;overflow-wrap:anywhere}
.ad-label{display:block;color:var(--muted);font-size:.82rem;line-height:1.4;margin-bottom:7px}
.ad-copy h3{font-size:1.2rem;line-height:1.25}
.ad-copy p{color:var(--ink2);margin-top:5px;white-space:pre-line}
.ad-link{display:inline-flex;margin-top:10px;font-weight:650;text-decoration:underline;text-underline-offset:3px}
@container (max-width:530px){
 .ad-banner.has-poster{grid-template-columns:minmax(0,1fr)}
 .ad-media{aspect-ratio:2/1}
 .ad-copy{padding:13px 15px}
 .ad-copy h3{font-size:1.12rem}
}
.ad-pager{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:8px}
.ad-pager output{font-size:.9rem;color:var(--muted);font-variant-numeric:tabular-nums}
.ad-pager button{min-height:38px;padding:6px 11px;border:1px solid var(--line);background:white;border-radius:8px;font-weight:600}
.ad-pager button:hover{background:var(--soft)}
.banner-group{margin-top:23px}
.banner-admin-list{padding:0;margin:12px 0 0;list-style:none}
.banner-admin-list li{display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid var(--line)}
.banner-admin-summary{display:flex;align-items:center;gap:12px;min-width:0;overflow-wrap:anywhere}
.banner-admin-summary img{width:78px;height:52px;object-fit:cover;border-radius:6px}
.banner-admin-list .ghost{padding:7px 10px;min-height:36px}
dialog.with-ad-editor{width:min(840px,calc(100% - 24px))}
.ad-editor .ad-img-controls{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.ad-editor .ad-img-controls:has(:empty):has([hidden]){display:none}
.ad-previews{margin-top:20px}
.preview-window{position:relative;overflow:hidden;background:var(--soft);border-radius:12px;margin-top:10px}
.preview-inner{transform-origin:top left;max-width:none}
.preview-inner .ad-banner{width:100%;border-color:#d0d7cf}
#price-book.standalone-book{width:100%;max-width:none;max-height:none;box-shadow:var(--shadow);border:1px solid var(--line);overflow:hidden}
#content:focus{outline:none}
[data-receipts]{margin-top:20px;padding-top:16px;border-top:1px solid var(--line);overflow-wrap:anywhere}
[data-receipts] .receipt-job{padding:14px 0;border-bottom:1px solid var(--line)}
.receipt-job details{margin-top:8px}
.receipt-job form{margin-top:10px}
.receipt-job ul{padding-inline-start:20px}
.order-sidebar{grid-template-columns:minmax(0,1fr);position:static;container-type:inline-size}
.order-sidebar .android-download{margin:0;padding:19px;grid-template-columns:minmax(0,1fr);gap:15px}
.order-sidebar .android-download h2{font-size:1.55rem}
.order-sidebar .android-download-copy>p:not(.android-download-platform){font-size:.95rem;margin:7px 0 13px}
.order-sidebar .android-download-qr img{width:140px}
.order-sidebar .android-download-qr figcaption{font-size:.8rem}
.order-sidebar .android-download-help p{font-size:.87rem}
@container (min-width:510px){.order-sidebar .android-download{grid-template-columns:minmax(0,1fr) auto}}
