/* Seller desk — desktop-first, on the live marketing brand (../styles.css). */

/* The desk was written against the old marketing stylesheet. Map its token names
   onto the live brand tokens, and define the few shared classes the live
   stylesheet doesn't carry, so the desk keeps its layout in the live fonts and
   colours. Scoped to .sell-body so the marketing page is untouched. */
.sell-body {
  --forest-ink: var(--ink);
  --forest-ink-70: var(--ink-70);
  --forest-ink-55: var(--ink-55);
  --forest-ink-12: var(--ink-15);
  --forest-ink-08: var(--ink-08);
  --highlighter-yellow: var(--yellow);
  --cream-paper: var(--paper);
  --cream-deep: var(--paper-2);
  --whisper-gray: var(--paper-2);
  --terracotta: var(--alarm);
  --font-display: var(--f-display);
  --font-body: var(--f-ui);
  --font-mono: var(--f-mono);
  --r-full: 9999px;
}
.sell-body .skip-link {
  position: absolute; left: var(--gutter); top: 12px; z-index: 200;
  padding: 10px 14px; background: var(--yellow); color: var(--ink);
  border-radius: var(--r-btn); font-size: 14px; font-weight: 600;
  transform: translateY(-160%); transition: transform .15s ease;
}
.sell-body .skip-link:focus, .sell-body .skip-link:focus-visible { transform: translateY(0); }
.sell-body .eyebrow { font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-70); }
.sell-body .display { font-family: var(--f-display); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.sell-body .h-sm { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.05; margin-top: 8px; }
.sell-body .btn-primary { background: var(--ink); color: var(--paper); }
.sell-body .btn-primary:hover { background: #0f1f00; }
.sell-body .btn-primary:disabled { opacity: .6; cursor: default; }
.sell-body .btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.sell-body .btn-ghost:hover { background: var(--ink-08); }
.sell-body .reassure { font-size: 13px; color: var(--ink-55); }
.sell-body .inline-link { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.sell-top .brand-word { font-size: 24px; }

.sell-top {
  position: sticky; top: 0; z-index: 40;
  background: rgba(252, 250, 245, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--forest-ink-12);
}
.sell-top-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-block: 14px;
}
.sell-top-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sell-who { font-size: 13px; color: var(--forest-ink-70); }
.sell-who b { color: var(--forest-ink); font-weight: 600; }

.sell-main { padding-block: 36px 64px; min-height: 70vh; }
.sell-foot { padding-bottom: 48px; color: var(--forest-ink-55); font-size: 13px; }
.sell-foot code { font-family: var(--font-mono); font-size: 12px; color: var(--forest-ink-70); }
.sell-foot-note { margin-top: 4px; }

.sell-banner {
  margin-bottom: 20px; padding: 12px 14px; border-radius: var(--r-btn);
  border: 1px solid var(--forest-ink-12); font-size: 15px;
}
.sell-banner-error { background: #fff1ec; border-color: var(--terracotta); color: #7a2e12; }
.sell-banner-note { background: var(--mint); }

.sell-card, .sell-panel, .sell-readiness {
  background: #fff;
  border: 1px solid var(--forest-ink-12);
  border-radius: var(--r-card);
  padding: clamp(22px, 3vw, 32px);
}
.sell-auth { max-width: 460px; }
.sell-auth .lede { margin-top: 8px; margin-bottom: 22px; font-size: 16px; }
.sell-switch { margin-top: 18px; font-size: 15px; color: var(--forest-ink-70); }
.linkbtn {
  background: none; border: none; padding: 0; margin: 0;
  color: var(--forest-ink); font-weight: 600; text-decoration: underline;
  text-underline-offset: 2px; cursor: pointer; font: inherit;
}

.sell-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.sell-panel-stack { display: grid; gap: 22px; }
.sell-panel-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; margin-bottom: 22px;
}
.sell-panel-head .eyebrow a { color: var(--forest-ink-70); }

.sell-rail {
  position: sticky; top: 78px;
  display: flex; flex-direction: column; gap: 6px;
  padding: 14px; border: 1px solid var(--forest-ink-12);
  border-radius: var(--r-card); background: var(--cream-deep);
}
.sell-rail-item {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; padding: 10px 12px; border-radius: 8px;
  font-size: 14px; color: var(--forest-ink-55);
}
.sell-rail-item.is-active {
  background: var(--highlighter-yellow); color: var(--forest-ink); font-weight: 600;
}
.sell-rail-item.is-later em {
  font-style: normal; font-size: 11px; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--forest-ink-55);
}

.sell-list { list-style: none; display: grid; gap: 12px; }
.sell-list-card {
  display: grid; gap: 4px;
  padding: 16px 18px; border: 1px solid var(--forest-ink-12);
  border-radius: 12px; background: var(--cream-paper);
  transition: border-color .15s ease, transform .15s ease;
}
.sell-list-card:hover { border-color: var(--forest-ink); transform: translateY(-1px); }
.sell-list-card strong { font-size: 17px; }
.sell-list-card span { font-size: 14px; color: var(--forest-ink-70); }
.sell-empty { color: var(--forest-ink-70); }

.pill {
  display: inline-flex; align-items: center; width: fit-content;
  margin-top: 6px; padding: 3px 10px; border-radius: var(--r-full);
  font-size: 12px; font-weight: 600; background: var(--whisper-gray);
  color: var(--forest-ink-70);
}
.pill-draft { background: var(--teal); color: var(--forest-ink); }
.pill-ok { background: var(--mint); color: var(--forest-ink); }
.pill-blocked { background: #ffe0d4; color: #7a2e12; }

.sell-form { display: grid; gap: 14px; margin-top: 8px; }
.sell-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.sell-form .hint { font-weight: 400; color: var(--forest-ink-55); font-size: 12px; }
.sell-form input, .sell-form select, .sell-form textarea {
  font: inherit; font-weight: 400; font-size: 15px;
  padding: 11px 12px; border: 1px solid var(--forest-ink-12);
  border-radius: var(--r-btn); background: var(--cream-paper); color: var(--forest-ink);
}
.sell-form input:focus, .sell-form select:focus, .sell-form textarea:focus {
  outline: 2px solid var(--forest-ink); outline-offset: 1px;
}
.sell-form-grid fieldset {
  border: 1px solid var(--forest-ink-12); border-radius: 12px;
  padding: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  margin: 0;
}
.sell-form-grid legend {
  padding: 0 8px; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--forest-ink-70);
}
.sell-form-grid .span-2 { grid-column: 1 / -1; }
.sell-form .check {
  display: flex; align-items: flex-start; gap: 10px;
  font-weight: 500; grid-template-columns: none;
}
.sell-form .check input { width: auto; margin-top: 3px; }
.sell-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }

.sell-readiness-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 8px;
}
.sell-check { list-style: none; display: grid; gap: 12px; margin-top: 18px; }
.sell-check-item {
  padding: 14px 16px; border-radius: 12px; border: 1px solid var(--forest-ink-12);
  background: var(--cream-paper);
}
.sell-check-item.owner-kerb { border-left: 4px solid var(--blush); }
.sell-check-item.owner-seller { border-left: 4px solid var(--highlighter-yellow); }
.sell-check-item > div { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.sell-check-item .who {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--forest-ink-55); font-family: var(--font-mono);
}
.sell-check-item p { margin-top: 6px; font-size: 14px; color: var(--forest-ink-70); font-weight: 400; }
.sell-check-item .missing { color: var(--forest-ink); font-weight: 500; }
.sell-unchecked { margin-top: 22px; }
.sell-unchecked h3 { font-size: 15px; margin-bottom: 8px; }
.sell-unchecked li { font-size: 14px; color: var(--forest-ink-70); margin-top: 6px; }

@media (max-width: 900px) {
  .sell-layout { grid-template-columns: 1fr; }
  .sell-rail { position: static; flex-direction: row; flex-wrap: wrap; }
  .sell-form-grid fieldset { grid-template-columns: 1fr; }
}

.sell-banner-warn { background: #fff6e0; border-color: #d4a017; color: #5c4810; }
.sell-rail-item { text-decoration: none; color: inherit; }
a.sell-rail-item:hover { background: rgba(0,0,0,0.04); }
.sell-subh { font-size: 16px; margin: 22px 0 10px; }
.sell-fee-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.sell-fee-card {
  border: 1px solid var(--forest-ink-12); border-radius: 12px;
  padding: 16px; background: var(--cream-paper);
}
.sell-fee-card .btn { margin-top: 10px; }
.sell-media-list, .sell-desk-list, .sell-comp-list { list-style: none; display: grid; gap: 10px; margin-top: 12px; }
.sell-media-item, .sell-desk-row {
  display: flex; gap: 14px; align-items: center;
  padding: 12px 14px; border: 1px solid var(--forest-ink-12);
  border-radius: 12px; background: var(--cream-paper);
}
.sell-media-meta { flex: 1; display: grid; gap: 2px; font-size: 14px; }
.sell-media-thumb {
  width: 64px; height: 64px; border-radius: 8px; overflow: hidden;
  background: var(--whisper-gray); display: grid; place-items: center;
  font-size: 11px; color: var(--forest-ink-55); flex-shrink: 0;
}
.sell-media-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sell-media-thumb.is-pending { border: 1px dashed var(--forest-ink-12); }
.sell-comp-list li { font-size: 14px; color: var(--forest-ink-70); padding: 6px 0; border-bottom: 1px solid var(--forest-ink-12); }
.sell-val-headline { padding: 16px; border-radius: 12px; background: var(--mint); margin-bottom: 14px; }
.sell-desk-row { justify-content: space-between; align-items: flex-start; }
.sell-desk-row .sell-actions { flex-shrink: 0; }
.btn-sm { font-size: 13px; padding: 6px 10px; }
@media (max-width: 900px) {
  .sell-fee-grid { grid-template-columns: 1fr; }
  .sell-media-item, .sell-desk-row { flex-wrap: wrap; }
}

.sell-standard-note, .sell-epc-panel, .sell-progress {
  margin: 14px 0 18px; padding: 14px 16px; border-radius: 12px;
  border: 1px solid var(--forest-ink-12); background: var(--cream-paper);
}
.sell-progress-bar {
  height: 6px; border-radius: 99px; background: var(--whisper-gray); overflow: hidden; margin-bottom: 8px;
}
.sell-progress-bar span { display: block; height: 100%; background: var(--forest-ink); }
.sell-facts { display: grid; gap: 18px; margin-top: 8px; }
.sell-fact-part {
  border: 1px solid var(--forest-ink-12); border-radius: 12px;
  padding: 16px; margin: 0; display: grid; gap: 14px;
}
.sell-fact-part legend {
  padding: 0 8px; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--forest-ink-70);
}
.sell-fact-row { display: grid; gap: 8px; }
.sell-fact-q { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sell-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sell-chip {
  border: 1px solid var(--forest-ink-12); background: #fff; border-radius: 999px;
  padding: 8px 14px; font: inherit; font-size: 14px; cursor: pointer; color: var(--forest-ink);
}
.sell-chip.is-on { background: var(--highlighter-yellow); border-color: var(--forest-ink); font-weight: 600; }
.sell-chip:hover { border-color: var(--forest-ink); }
.sell-fact-number { display: flex; align-items: baseline; gap: 8px; }
.sell-fact-number input {
  font: inherit; font-size: 20px; font-weight: 300; border: none;
  border-bottom: 1.5px solid var(--forest-ink-12); background: transparent;
  padding: 6px 0; min-width: 120px; color: var(--forest-ink);
}
.sell-fact-number .prefix, .sell-fact-number .unit { color: var(--forest-ink-55); }
.pill-prov { margin-top: 0; background: var(--mint); color: var(--forest-ink); }

/* Otis lockup: the badge carries its own green, so size by height. */
.brand img.brand-lockup { width: auto; height: 34px; }
.brand-foot img.brand-lockup { width: auto; height: 46px; }
