.seller-intake-surface {
  --intake-ink: #14181f;
  --intake-ink-2: #2a313c;
  --intake-slate: #5a6472;
  --intake-faint: #8a929e;
  --intake-line: #e4e7ec;
  --intake-line-2: #c9cfd8;
  --intake-paper: #fff;
  --intake-canvas: #f6f7f9;
  --intake-accent: #f5c518;
  --intake-accent-dark: #8a6a00;
  --intake-ok: #1d7a5f;
  --intake-ok-bg: #e9f4f0;
  --intake-radius: 10px;
  --focus: var(--intake-accent-dark);
  background: var(--intake-canvas);
  color: var(--intake-ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.institutional-intake-surface {
  --intake-accent: #7856ff;
  --intake-accent-dark: #5635d7;
  --intake-ok: #6945f5;
  --intake-ok-bg: #f2efff;
  --focus: #7856ff;
}

.institutional-intake-surface .intake-header-status {
  color: var(--intake-accent-dark);
  font-weight: 650;
}

.institutional-intake-surface .intake-account-navigation a:last-child {
  background: #241453;
}

.seller-intake-surface .demo-banner {
  padding: 0.55rem 1rem;
  font-size: 0.75rem;
}

.intake-site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid var(--intake-line);
  background: rgb(255 255 255 / 97%);
  backdrop-filter: blur(12px);
}

.intake-header-inner {
  display: flex;
  width: min(100% - 2.75rem, 75rem);
  min-height: 3.7rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-inline: auto;
}

.intake-brand {
  color: var(--intake-ink);
  font-size: 1.08rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.intake-brand span {
  color: var(--intake-accent-dark);
}

.intake-header-status {
  color: var(--intake-slate);
  font-size: 0.78rem;
  white-space: nowrap;
}

.intake-header-actions,
.intake-account-navigation {
  display: flex;
  align-items: center;
}

.intake-header-actions {
  min-width: 0;
  gap: 1.35rem;
}

.intake-account-navigation {
  gap: 1rem;
}

.intake-account-navigation a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: var(--intake-slate);
  font-size: 0.78rem;
  font-weight: 550;
  text-decoration: none;
  white-space: nowrap;
}

.intake-account-navigation a:hover,
.intake-account-navigation a:focus-visible {
  color: var(--intake-ink);
}

.intake-account-navigation a:last-of-type {
  padding-inline: 0.95rem;
  border-radius: 8px;
  background: var(--intake-ink);
  color: #fff;
}

.intake-language {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: stretch;
}

.intake-language select,
.intake-language button {
  min-height: 2.25rem;
  border: 1px solid var(--intake-line-2);
  background: var(--intake-paper);
  color: var(--intake-ink);
  font: inherit;
}

.intake-language select {
  padding: 0.35rem 0.45rem;
  border-radius: 7px 0 0 7px;
  font-size: 0.75rem;
  font-weight: 650;
}

.intake-language button {
  padding-inline: 0.55rem;
  border-left: 0;
  border-radius: 0 7px 7px 0;
  cursor: pointer;
}

.intake-language select:focus-visible,
.intake-language button:focus-visible {
  position: relative;
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.intake-progress,
.intake-progress__track,
.intake-progress__value {
  display: block;
}

.intake-progress__track {
  height: 3px;
  background: var(--intake-line);
}

.intake-progress__value {
  height: 100%;
  background: var(--intake-accent);
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.intake-progress__value--1 { width: 14.285%; }
.intake-progress__value--2 { width: 28.57%; }
.intake-progress__value--3 { width: 42.855%; }
.intake-progress__value--4 { width: 57.14%; }
.intake-progress__value--5 { width: 71.425%; }
.intake-progress__value--6 { width: 85.71%; }
.intake-progress__value--7 { width: 100%; }

.intake-progress--6 .intake-progress__value--1 { width: 16.666%; }
.intake-progress--6 .intake-progress__value--2 { width: 33.333%; }
.intake-progress--6 .intake-progress__value--3 { width: 50%; }
.intake-progress--6 .intake-progress__value--4 { width: 66.666%; }
.intake-progress--6 .intake-progress__value--5 { width: 83.333%; }
.intake-progress--6 .intake-progress__value--6 { width: 100%; }

.seller-intake-surface .application-frame {
  min-height: calc(100vh - 3.7rem);
}

.seller-intake-surface .site-footer {
  border-top-color: var(--intake-ink-2);
  background: var(--intake-ink);
}

.seller-intake-surface .site-footer__navigation a:last-child {
  color: var(--intake-accent);
}

.seller-intake-surface .intake-shell {
  width: min(100% - 2.75rem, 47.5rem);
  margin-inline: auto;
  padding-block: 2.15rem 3.75rem;
}

.seller-intake-surface .page-heading {
  margin-bottom: 0.55rem;
}

.seller-intake-surface .page-heading::after {
  display: none;
}

.seller-intake-surface .page-heading h1 {
  margin: 0;
  color: var(--intake-ink);
  font-size: clamp(1.45rem, 5vw, 1.72rem);
  font-weight: 620;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.intake-lede {
  max-width: 56ch;
  margin: 0 0 1.65rem;
  color: var(--intake-slate);
  font-size: 0.94rem;
  line-height: 1.55;
}

.intake-panel,
.intake-media {
  margin: 0 0 1rem;
  padding: 1.35rem;
  border: 1px solid var(--intake-line);
  border-radius: 14px;
  background: var(--intake-paper);
  box-shadow: none;
}

.intake-panel--quiet {
  border-style: dashed;
  background: transparent;
}

.intake-panel > :first-child,
.intake-media > :first-child {
  margin-top: 0;
}

.intake-panel > :last-child,
.intake-media > :last-child {
  margin-bottom: 0;
}

.intake-panel h2,
.intake-media h2 {
  margin: 0 0 0.8rem;
  color: var(--intake-ink);
  font-size: 0.95rem;
  font-weight: 620;
  letter-spacing: 0;
}

.intake-section-title {
  margin: 1.35rem 0 0.7rem;
  color: var(--intake-ink);
  font-size: 0.95rem;
  font-weight: 620;
}

.intake-field {
  min-width: 0;
  margin-bottom: 1rem;
}

.intake-field:last-child {
  margin-bottom: 0;
}

.intake-field label,
.intake-field legend,
.intake-attachment__form > label,
.damage-editor__controls > label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--intake-ink);
  font-size: 0.84rem;
  font-weight: 520;
  letter-spacing: 0;
  text-transform: none;
}

.intake-field fieldset {
  min-width: 0;
  margin-inline: 0;
  border: 0;
}

.seller-intake-surface .intake-field input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.seller-intake-surface .intake-field select,
.seller-intake-surface .intake-field textarea,
.seller-intake-surface .damage-editor input,
.seller-intake-surface .damage-editor select,
.seller-intake-surface .intake-attachment input[type="file"] {
  width: 100%;
  min-height: 3rem;
  padding: 0.72rem 0.8rem;
  border: 1px solid var(--intake-line-2);
  border-radius: var(--intake-radius);
  outline: 0;
  background: var(--intake-paper);
  color: var(--intake-ink);
  font-size: 0.94rem;
}

.seller-intake-surface .intake-field textarea {
  min-height: 6rem;
  line-height: 1.55;
  resize: vertical;
}

.seller-intake-surface .intake-field input:focus,
.seller-intake-surface .intake-field select:focus,
.seller-intake-surface .intake-field textarea:focus,
.seller-intake-surface .damage-editor input:focus,
.seller-intake-surface .damage-editor select:focus {
  border-color: var(--intake-ink);
  outline: 0;
  box-shadow: 0 0 0 3px rgb(20 24 31 / 7%);
}

.intake-field--mono input {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.intake-field--error input,
.intake-field--error select,
.intake-field--error textarea {
  border-color: #b3261e !important;
}

.intake-hint,
.media-requirement__state {
  margin: 0.4rem 0 0;
  color: var(--intake-slate);
  font-size: 0.78rem;
  line-height: 1.55;
}

.field-error {
  margin: 0.35rem 0 0;
  color: #a2191f;
  font-size: 0.8rem;
}

.intake-row,
.intake-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 0.8rem;
}

.intake-row--registration {
  grid-template-columns: minmax(0, 2fr) minmax(6rem, 0.65fr);
}

.intake-form-grid--location {
  grid-template-columns: 0.7fr 1.25fr 1fr;
}

.intake-chip-field fieldset > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.4rem;
}

.intake-chip-field fieldset > div > div {
  display: contents;
}

.intake-chip-field label {
  position: relative;
  margin: 0;
  padding: 0.58rem 0.85rem;
  border: 1px solid var(--intake-line-2);
  border-radius: 999px;
  background: var(--intake-paper);
  color: var(--intake-ink-2);
  cursor: pointer;
  font-size: 0.84rem;
  line-height: 1.2;
  user-select: none;
}

.intake-chip-field input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.intake-chip-field label:hover {
  border-color: var(--intake-ink);
}

.intake-chip-field label:has(input:checked) {
  border-color: var(--intake-ink);
  background: var(--intake-ink);
  color: #fff;
}

.intake-chip-field label:has(input:checked)::before {
  color: var(--intake-accent);
  content: "✓ ";
}

.intake-chip-field label:focus-within,
.intake-segmented-field label:focus-within {
  outline: 2px solid var(--intake-accent-dark);
  outline-offset: 2px;
}

.intake-equipment-options fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.intake-tyre-fields {
  display: grid;
  gap: 1rem;
  margin-top: 1.35rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--intake-line);
}

.intake-equipment-categories {
  display: grid;
  gap: 0.55rem;
}

.intake-equipment-category {
  overflow: hidden;
  border: 1px solid var(--intake-line);
  border-radius: 12px;
  background: var(--intake-paper);
}

.intake-equipment-category summary {
  display: flex;
  min-height: 3.4rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1rem;
  color: var(--intake-ink);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 620;
  list-style: none;
}

.intake-equipment-category summary::-webkit-details-marker {
  display: none;
}

.intake-equipment-category summary:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: -3px;
}

.intake-equipment-category__mark {
  color: var(--intake-slate);
  font-size: 1rem;
  font-weight: 400;
  transition: transform 0.15s ease;
}

.intake-equipment-category[open] .intake-equipment-category__mark {
  transform: rotate(45deg);
}

.intake-equipment-category__body {
  padding: 1rem;
  border-top: 1px solid var(--intake-line);
}

.intake-segmented-field fieldset > div {
  display: flex;
  overflow: hidden;
  margin-top: 0.4rem;
  border: 1px solid var(--intake-line-2);
  border-radius: var(--intake-radius);
}

.intake-segmented-field fieldset > div > div {
  display: flex;
  flex: 1;
}

.intake-segmented-field label {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 2.8rem;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.55rem 0.35rem;
  border-right: 1px solid var(--intake-line);
  color: var(--intake-ink-2);
  cursor: pointer;
  font-size: 0.82rem;
  text-align: center;
}

.intake-segmented-field fieldset > div > div:last-child label {
  border-right: 0;
}

.intake-segmented-field input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.intake-segmented-field label:has(input:checked) {
  background: var(--intake-ink);
  color: #fff;
}

.intake-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.intake-checkbox input {
  width: 1.2rem;
  height: 1.2rem;
  flex: 0 0 auto;
  margin-top: 0.12rem;
  accent-color: var(--intake-ink);
}

.intake-checkbox label {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
}

.intake-addbox {
  margin-top: 1.35rem;
  overflow: hidden;
  border: 1px dashed var(--intake-line-2);
  border-radius: 12px;
  background: transparent;
}

.intake-addbox[open] {
  border-style: solid;
  border-color: var(--intake-line);
  background: var(--intake-paper);
}

.intake-addbox summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.1rem;
  color: var(--intake-slate);
  cursor: pointer;
  font-size: 0.87rem;
  list-style: none;
}

.intake-addbox summary::-webkit-details-marker { display: none; }
.intake-addbox summary::after { display: none; }

.intake-addbox__mark {
  color: var(--intake-faint);
  font-size: 0.76rem;
  white-space: nowrap;
}

.intake-addbox[open] .intake-addbox__mark {
  color: var(--intake-ok);
}

.intake-addbox__body {
  padding: 0 1.1rem 1.1rem;
}

.intake-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.85rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--intake-line);
}

.seller-intake-surface .intake-button {
  min-height: 3.1rem;
  padding: 0.8rem 1.55rem;
  border-radius: var(--intake-radius);
  font-size: 0.93rem;
  font-weight: 620;
  text-decoration: none;
}

.seller-intake-surface .intake-button--primary {
  flex: 1;
  border-color: var(--intake-accent);
  background: var(--intake-accent);
  color: var(--intake-ink);
}

.seller-intake-surface .intake-button--primary:hover {
  border-color: #e8bb10;
  background: #e8bb10;
  color: var(--intake-ink);
}

.institutional-intake-surface .intake-button--primary {
  border-color: var(--intake-accent);
  background: var(--intake-accent);
  color: #ffffff;
}

.institutional-intake-surface .intake-button--primary:hover {
  border-color: var(--intake-accent-dark);
  background: var(--intake-accent-dark);
  color: #ffffff;
}

.seller-intake-surface .intake-button--secondary {
  border-color: var(--intake-line-2);
  background: var(--intake-paper);
  color: var(--intake-ink-2);
}

.seller-intake-surface .intake-button--secondary:hover {
  border-color: var(--intake-ink);
  background: var(--intake-paper);
  color: var(--intake-ink);
}

.intake-error {
  margin-bottom: 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid #b3261e;
  border-left-width: 3px;
  border-radius: 10px;
  background: #fff1f1;
  color: #750e13;
}

.intake-error h2 {
  margin: 0 0 0.55rem;
  color: inherit;
  font-size: 0.95rem;
}

.intake-error ul {
  margin: 0;
  padding-left: 1.2rem;
}

.intake-error a { color: #750e13; }

.intake-note {
  margin: 1rem 0;
  padding: 0.15rem 0 0.15rem 0.9rem;
  border-left: 3px solid var(--intake-accent);
  color: var(--intake-slate);
  font-size: 0.84rem;
  line-height: 1.6;
}

.intake-benefits {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 1.4rem;
  padding: 0;
  list-style: none;
}

.intake-benefits li {
  position: relative;
  padding-left: 1.55rem;
  color: var(--intake-ink-2);
  font-size: 0.9rem;
}

.intake-benefits li::before {
  position: absolute;
  left: 0;
  color: var(--intake-ok);
  content: "✓";
  font-weight: 700;
}

.intake-start-panel form,
.intake-start-panel .intake-button {
  width: 100%;
}

.institutional-readiness {
  padding: clamp(1.35rem, 5vw, 2rem);
  border-top: 0.4rem solid var(--intake-accent);
  background: var(--intake-ok-bg);
}

.institutional-readiness__label {
  display: inline-flex;
  margin-bottom: 0.7rem;
  color: var(--intake-accent-dark);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.institutional-readiness h2 {
  font-size: 1.2rem;
}

.institutional-readiness > p {
  color: var(--intake-slate);
}

.institutional-readiness__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.35rem;
}

.institutional-readiness__actions .intake-button {
  flex: 1 1 13rem;
}

.intake-media {
  padding-bottom: 1.35rem;
}

.intake-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: 0.8rem;
  margin-top: 0.7rem;
}

.media-requirement {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
  padding: 1rem;
  border: 1px dashed var(--intake-line-2);
  border-radius: 10px;
  background: var(--intake-paper);
  text-align: left;
}

.media-requirement.is-complete {
  border-style: solid;
  border-color: var(--intake-ok);
  background: var(--intake-ok-bg);
}

.media-requirement__icon {
  color: var(--intake-faint);
  font-size: 1.1rem;
}

.is-complete .media-requirement__icon { color: var(--intake-ok); }

.media-requirement__group {
  color: var(--intake-slate);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.media-requirement h4 {
  margin: 0;
  color: var(--intake-ink);
  font-size: 0.9rem;
  font-weight: 620;
  line-height: 1.3;
}

.media-requirement__form {
  display: grid;
  width: 100%;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.75rem;
}

.media-requirement__choose,
.media-requirement input[type="file"] {
  width: 100%;
  color: var(--intake-slate);
  font-size: 0.7rem;
}

.media-requirement__choose { font-weight: 600; }
.media-requirement input[type="file"]::file-selector-button { cursor: pointer; }

.intake-media__group { margin-top: 1.5rem; }
.intake-media__group > h3 { margin: 0; font-size: 1rem; }
.intake-media__progress { margin: 1rem 0 0; font-weight: 650; font-size: 0.88rem; }
.intake-media__status { margin: 0.5rem 0 0; font-size: 0.86rem; }
.intake-media__status:empty { display: none; }
.intake-media__status.is-error,
.media-requirement__feedback.is-error { color: #a2191f; }
.media-requirement__feedback { margin: 0; font-size: 0.8rem; }
.media-requirement__feedback:empty { display: none; }
.media-requirement__heading { display: flex; align-items: baseline; gap: 0.5rem; }
.media-requirement__heading h4 { flex: 1; }
.media-requirement__required { color: var(--intake-slate); font-size: 0.68rem; }
.media-requirement__state { font-weight: 650; }
.is-complete .media-requirement__state { color: var(--intake-ok); }
.media-requirement.is-rejected { border-color: #a2191f; background: #fff1f1; }
.is-rejected .media-requirement__state { color: #a2191f; }
.media-requirement__filename { margin: 0; overflow-wrap: anywhere; font-size: 0.82rem; }
.media-requirement__choose {
  display: block;
  padding: 0.65rem;
  border: 1px solid var(--intake-line-2);
  border-radius: 8px;
  background: var(--intake-paper);
  color: var(--intake-ink);
  cursor: pointer;
  text-align: center;
  font-size: 0.83rem;
}
.media-requirement__form:focus-within .media-requirement__choose {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.intake-media.is-enhanced [data-upload-submit] { display: none; }
.intake-media:not(.is-enhanced) .media-auto-hint,
.intake-media.is-enhanced .media-manual-hint { display: none; }
.intake-media.is-enhanced input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
}
.intake-media[aria-busy="true"] .media-requirement { opacity: 0.65; }
.intake-media[aria-busy="true"] .media-requirement__choose { cursor: wait; }
.seller-intake-surface .media-requirement__remove { width: 100%; background: transparent; }

.tyre-rating { padding: 0; }
.tyre-rating__choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.intake-field .tyre-rating__option {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  margin: 0;
  padding: 0.8rem 0.25rem;
  border: 2px solid var(--intake-line);
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.8rem;
}
.tyre-rating__option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.tyre-rating__option:has(input:checked) { border-color: var(--intake-ink); background: #f3f5f6; }
.tyre-rating__option:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
.tyre-rating__face { display: block; width: 2.7rem; height: 2.7rem; }
.tyre-rating__option--over_6_mm .tyre-rating__face { color: #197141; }
.tyre-rating__option--4_to_6_mm .tyre-rating__face { color: #a56c00; }
.tyre-rating__option--under_4_mm .tyre-rating__face { color: #b3261e; }

.seller-intake-surface .media-requirement__action,
.seller-intake-surface .damage-editor__add {
  min-height: 2.1rem;
  padding: 0.4rem 0.65rem;
  border: 1px solid var(--intake-line-2);
  border-radius: 8px;
  background: var(--intake-paper);
  color: var(--intake-ink-2);
  font-size: 0.73rem;
  font-weight: 520;
}

.seller-intake-surface .media-requirement__action:hover,
.seller-intake-surface .damage-editor__add:hover {
  border-color: var(--intake-ink);
  background: var(--intake-paper);
  color: var(--intake-ink);
}

.intake-attachment {
  margin-top: 0.85rem;
}

.intake-attachment__form {
  display: grid;
  gap: 0.65rem;
}

.damage-editor {
  margin-bottom: 1rem;
}

.damage-editor > legend {
  float: left;
  width: 100%;
  margin-bottom: 0.35rem;
  color: var(--intake-ink);
  font-size: 1.35rem;
  font-weight: 620;
  letter-spacing: -0.02em;
}

.damage-editor > legend + * { clear: both; }

.damage-map {
  display: block;
  width: 100%;
  max-width: 32.5rem;
  margin: 0.75rem auto 1rem;
  touch-action: manipulation;
}

.damage-map__zone {
  fill: #edeff3;
  stroke: var(--intake-line-2);
  stroke-width: 1.2;
  cursor: pointer;
  transition: fill 0.15s ease;
}

.damage-map__zone:hover,
.damage-map__zone:focus { fill: #dee2e9; outline: none; }
.damage-map__zone.is-damaged { fill: #f7d9d4; stroke: #b3261e; }

.damage-map__outline,
.damage-map__decoration {
  fill: none;
  stroke: var(--intake-ink-2);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  pointer-events: none;
}

.damage-map text {
  fill: var(--intake-faint);
  font-family: ui-monospace, monospace;
  font-size: 9px;
  pointer-events: none;
}

.damage-picker {
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid var(--intake-ink);
  border-radius: 12px;
}

.damage-editor__controls {
  display: grid;
  grid-template-columns: minmax(8rem, 0.7fr) minmax(12rem, 1.5fr);
  gap: 0.55rem 0.8rem;
  align-items: center;
}

.damage-editor__controls > label { margin: 0; }
.seller-intake-surface .damage-editor__add { grid-column: 2; }

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

.damage-editor__list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--intake-line);
}

.damage-editor__list strong,
.damage-editor__list small { display: block; }
.damage-editor__list strong { font-size: 0.86rem; font-weight: 550; }
.damage-editor__list small { color: var(--intake-slate); font-size: 0.76rem; }

.seller-intake-surface .damage-editor__list button {
  min-height: 2rem;
  padding: 0.35rem 0.7rem;
  border-color: transparent;
  background: transparent;
  color: var(--intake-slate);
  font-size: 0.74rem;
}

.damage-editor__tally {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 11px;
  background: var(--intake-ink);
  color: #fff;
  font-size: 0.8rem;
}

.damage-editor__tally b {
  color: var(--intake-accent);
  font-weight: 520;
  text-align: right;
}

.intake-message-panel {
  display: grid;
  justify-items: start;
  gap: 0.75rem;
}

.intake-success-mark {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border-radius: 50%;
  background: var(--intake-ok-bg);
  color: var(--intake-ok);
  font-weight: 700;
}

/* Seller workspace: keep the post-intake destination in the guided-flow system. */
.seller-workspace-surface {
  --page-background: var(--intake-canvas);
  --text: var(--intake-ink);
  --muted-text: var(--intake-slate);
  --color-border: var(--intake-line);
  --action: var(--intake-ink);
  --action-hover: #000;
  --surface: var(--intake-paper);
  --surface-soft: #eef1f4;
}

.seller-workspace-header__accent {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--intake-accent);
}

.seller-workspace-header .seller-workspace-header__inner {
  display: grid;
  width: min(100% - 2.75rem, 77rem);
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
}

.seller-workspace-navigation {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.seller-workspace-navigation::-webkit-scrollbar {
  display: none;
}

.seller-workspace-navigation a {
  display: inline-flex;
  min-height: 2.45rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0.48rem 0.68rem;
  border-radius: 8px;
  color: var(--intake-slate);
  font-size: 0.75rem;
  font-weight: 550;
  text-decoration: none;
  white-space: nowrap;
}

.seller-workspace-navigation a:hover,
.seller-workspace-navigation a:focus-visible {
  background: #f1f3f5;
  color: var(--intake-ink);
}

.seller-workspace-navigation a[aria-current="page"] {
  background: var(--intake-ink);
  color: #fff;
}

.seller-workspace-header .intake-header-actions,
.seller-workspace-header .intake-account-navigation {
  gap: 0.65rem;
}

.seller-workspace-header .intake-account-navigation a {
  font-size: 0.74rem;
}

.seller-workspace-surface .intake-account-navigation {
  scrollbar-width: none;
}

.seller-workspace-surface .intake-account-navigation::-webkit-scrollbar {
  display: none;
}

.seller-workspace-surface .application-frame {
  min-height: calc(100vh - 3.7rem);
}

.seller-workspace-surface .seller-workspace-shell {
  width: min(100% - 2.75rem, 61rem);
  margin-inline: auto;
  padding-block: 2.15rem 4rem;
}

.seller-workspace-surface .page-heading {
  margin-bottom: 1.25rem;
}

.seller-workspace-surface .page-heading::after {
  display: none;
}

.seller-workspace-surface .page-heading h1 {
  font-size: clamp(1.55rem, 5vw, 1.9rem);
  font-weight: 620;
}

.seller-dashboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: clamp(1.4rem, 4vw, 2rem);
  border: 1px solid var(--intake-line);
  border-radius: 14px;
  background: var(--intake-paper);
}

.seller-dashboard-hero__copy h1 {
  margin: 0 0 0.6rem;
  color: var(--intake-ink);
  font-size: clamp(1.65rem, 5vw, 2.25rem);
  font-weight: 620;
  letter-spacing: -0.035em;
}

.seller-dashboard-hero__copy > p:last-child {
  max-width: 53ch;
  margin: 0;
  color: var(--intake-slate);
  font-size: 0.94rem;
}

.seller-dashboard-eyebrow,
.seller-inventory-card__eyebrow {
  margin: 0 0 0.45rem;
  color: var(--intake-accent-dark);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.seller-dashboard-hero__actions {
  display: grid;
  min-width: 13.5rem;
  gap: 0.6rem;
}

.seller-dashboard-hero__actions .intake-button {
  width: 100%;
  min-height: 2.8rem;
  padding: 0.68rem 1rem;
  justify-content: center;
  white-space: nowrap;
}

.seller-dashboard-section {
  margin-top: 0;
}

.seller-workspace-surface .seller-section-heading {
  align-items: end;
  flex-direction: row;
  margin: 0 0 1rem;
}

.seller-workspace-surface .seller-section-heading h2 {
  margin: 0 0 0.35rem;
  color: var(--intake-ink);
  font-size: 1.18rem;
  font-weight: 620;
}

.seller-workspace-surface .seller-section-heading p:last-child {
  margin: 0;
  color: var(--intake-slate);
  font-size: 0.86rem;
}

.seller-dashboard-count {
  flex: 0 0 auto;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--intake-line);
  border-radius: 999px;
  background: var(--intake-paper);
  color: var(--intake-slate);
  font-size: 0.74rem;
  font-weight: 600;
  white-space: nowrap;
}

.seller-workspace-surface .seller-inventory-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 25rem), 1fr));
  gap: 0.9rem;
}

.seller-workspace-surface .seller-inventory-card {
  gap: 1rem;
  padding: 1.25rem;
  border-color: var(--intake-line);
  border-radius: 14px;
  box-shadow: none;
}

.seller-workspace-surface .seller-inventory-card--linked:hover {
  border-color: var(--intake-line-2);
  box-shadow: none;
}

.seller-workspace-surface .seller-inventory-card__header h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 620;
}

.seller-workspace-surface .seller-inventory-card__header > div > p:last-child {
  margin-top: 0.25rem;
  color: var(--intake-slate);
  font-size: 0.82rem;
}

.seller-workspace-surface .seller-inventory-card__header .status-badge {
  padding: 0.35rem 0.65rem;
  border: 1px solid #ead794;
  border-radius: 999px;
  background: #fff8d9;
  color: #6a5200;
  font-size: 0.7rem;
  font-weight: 650;
}

.seller-workspace-surface .seller-inventory-card__facts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.seller-workspace-surface .seller-inventory-card__facts > div {
  padding: 0.75rem;
  border: 0;
  border-radius: 9px;
  background: #f5f6f8;
}

.seller-workspace-surface .seller-inventory-card dt {
  color: var(--intake-slate);
  font-size: 0.72rem;
}

.seller-workspace-surface .seller-inventory-card dd {
  margin-top: 0.2rem;
  color: var(--intake-ink);
  font-size: 0.86rem;
}

.seller-workspace-surface .seller-inventory-card__footer {
  align-items: center;
  padding-top: 0.9rem;
  border-top-color: var(--intake-line);
}

.seller-inventory-card__action {
  position: relative;
  z-index: 2;
  display: inline-flex;
  min-height: 2.35rem;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  background: var(--intake-ink);
  color: #fff;
  font-size: 0.76rem;
  text-decoration: none;
}

.seller-inventory-card__action:hover,
.seller-inventory-card__action:focus-visible {
  background: #000;
  color: #fff;
}

.seller-workspace-surface .seller-empty-state {
  display: grid;
  min-height: 14rem;
  justify-items: start;
  align-content: center;
  margin: 0;
  padding: 1.5rem;
  border-color: var(--intake-line);
  border-radius: 14px;
  background: var(--intake-paper);
}

.seller-empty-state__mark {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  margin-bottom: 0.8rem;
  border-radius: 50%;
  background: #fff4bd;
  color: #6a5200;
  font-size: 1.25rem;
}

.seller-workspace-surface .seller-empty-state h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.seller-workspace-surface .seller-empty-state p {
  margin: 0 0 1rem;
  color: var(--intake-slate);
  font-size: 0.86rem;
}

.seller-workspace-surface .seller-empty-state .intake-button {
  min-height: 2.7rem;
  flex: 0 0 auto;
  padding: 0.65rem 1rem;
}

.seller-workspace-surface .seller-history {
  margin-top: 2.25rem;
  padding: 1.25rem;
  border: 1px solid var(--intake-line);
  border-radius: 14px;
  background: var(--intake-paper);
}

.seller-workspace-surface .seller-history .seller-section-heading {
  align-items: center;
}

.seller-workspace-surface .seller-history .seller-section-heading > a {
  color: var(--intake-ink);
  font-size: 0.78rem;
}

.seller-workspace-surface .table-scroll {
  border-top: 1px solid var(--intake-line);
}

.seller-workspace-surface .table-scroll th,
.seller-workspace-surface .table-scroll td {
  padding: 0.75rem;
  border-bottom-color: var(--intake-line);
  font-size: 0.78rem;
}

@media (max-width: 75rem) {
  .seller-workspace-header .seller-workspace-header__inner {
    grid-template-columns: auto minmax(0, 1fr);
    row-gap: 0.25rem;
    padding-block: 0.45rem;
  }

  .seller-workspace-header .intake-header-actions {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .seller-workspace-navigation {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
  }
}

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

@media (max-width: 42rem) {
  .intake-header-inner,
  .seller-intake-surface .intake-shell { width: min(100% - 2.25rem, 47.5rem); }
  .intake-header-inner { flex-wrap: wrap; padding-block: 0.55rem; }
  .intake-header-actions { width: 100%; flex-direction: column; align-items: flex-start; gap: 0.15rem; }
  .intake-account-navigation { width: 100%; gap: 0.85rem; overflow-x: auto; }
  .intake-account-navigation a { flex: 0 0 auto; }
  .intake-account-navigation a:last-of-type { padding-inline: 0; background: transparent; color: var(--intake-slate); }
  .seller-intake-surface .intake-shell { padding-block: 1.65rem 3rem; }
  .intake-panel,
  .intake-media { padding: 1.1rem; }
  .intake-row,
  .intake-form-grid,
  .intake-form-grid--location,
  .intake-row--registration { grid-template-columns: 1fr; }
  .intake-actions { align-items: stretch; flex-direction: column-reverse; }
  .seller-intake-surface .intake-button { width: 100%; }
  .intake-segmented-field fieldset > div { flex-direction: column; }
  .intake-segmented-field label { border-right: 0; border-bottom: 1px solid var(--intake-line); }
  .intake-segmented-field fieldset > div > div:last-child label { border-bottom: 0; }
  .damage-editor__controls { grid-template-columns: 1fr; }
  .seller-intake-surface .damage-editor__add { grid-column: 1; }
  .damage-editor__tally { align-items: flex-start; flex-direction: column; }
  .damage-editor__tally b { text-align: left; }
  .seller-workspace-header .seller-workspace-header__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    padding-block: 0.5rem;
  }
  .seller-workspace-header .intake-header-actions {
    display: flex;
    width: auto;
    flex-direction: row;
    align-items: center;
    gap: 0.45rem;
  }
  .seller-workspace-header .intake-account-navigation {
    width: auto;
    gap: 0.45rem;
    overflow: visible;
  }
  .seller-workspace-header__utility { display: none !important; }
  .seller-workspace-header .intake-account-navigation a:last-of-type {
    padding-inline: 0.75rem;
    background: var(--intake-ink);
    color: #fff;
  }
  .seller-workspace-navigation { gap: 0.05rem; }
  .seller-workspace-navigation a { min-height: 2.35rem; padding-inline: 0.62rem; }
  .seller-workspace-surface .seller-workspace-shell { width: min(100% - 2.25rem, 61rem); padding-block: 1.5rem 3rem; }
  .seller-dashboard-hero { grid-template-columns: 1fr; align-items: stretch; padding: 1.2rem; }
  .seller-dashboard-hero__actions { min-width: 0; }
  .seller-workspace-surface .seller-section-heading { align-items: flex-start; flex-direction: column; }
  .seller-dashboard-count { margin-top: 0.1rem; }
  .seller-workspace-surface .seller-inventory-card__facts { grid-template-columns: 1fr; }
  .seller-workspace-surface .seller-inventory-card__footer { align-items: flex-start; flex-direction: column; }
  .seller-inventory-card__action { width: 100%; justify-content: space-between; }
  .seller-workspace-surface .seller-history { padding: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .seller-intake-surface *,
  .seller-intake-surface *::before,
  .seller-intake-surface *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* Each photo requirement has two independent upload controls. */
.media-requirement__slot {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}
.media-requirement__slot + .media-requirement__slot {
  margin-top: 0.75rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--intake-line-2);
}
.media-requirement__slot-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}
.media-requirement__slot-heading h5 { margin: 0; font-size: 0.82rem; }
.media-requirement__slot.is-rejected { color: #a2191f; }
