:root {
  color-scheme: light;
  --ink: #242124;
  --sub: #635e62;
  --edge: #e5e1e2;
  --canvas: #faf9f9;
  --accent: #bc1833;
  --accent-hover: #92132a;
  --rail: #a4122a;
  --tint: #fff3f4;
  --tint-line: #efd0d5;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-size: 16px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: var(--accent);
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: 8px;
  top: -80px;
  z-index: 8;
  background: white;
  padding: 10px;
}
.skip:focus {
  top: 8px;
}
.masthead {
  border-top: 4px solid var(--accent);
  border-bottom: 1px solid var(--edge);
  background: white;
}
.masthead-inner, main {
  width: min(100% - 64px, 1360px);
  margin-inline: auto;
}
.masthead-inner {
  display: flex;
  align-items: stretch;
  min-height: 72px;
  column-gap: clamp(24px, 4vw, 72px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 750;
  letter-spacing: -.045em;
  white-space: nowrap;
}
.brand b { font-weight: 490; }
#nav { display: flex; align-items: stretch; gap: 4px; }
#nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 13px;
  border-bottom: 3px solid transparent;
  color: var(--sub);
  font-weight: 600;
  font-size: .94rem;
  text-decoration: none;
}
#nav a:hover { background: var(--tint); color: var(--accent); }
#nav a.current { color: var(--rail); border-bottom-color: var(--accent); }
.workspace-id {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.workspace-id strong, .workspace-id small { display: block; }
.workspace-id strong { font-size: .84rem; }
.workspace-id small { margin-top: 3px; color: var(--sub); font-size: .78rem; }
.avatar {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border: 1px solid var(--tint-line);
  background: var(--tint);
  color: var(--rail);
  border-radius: 50%;
  font-size: .78rem;
  font-weight: 750;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
svg.ico {
  width: 18px;
  height: 18px;
  display: inline-block;
  flex: none;
  vertical-align: middle;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
main { padding-block: 36px 56px; }
.pagehead, .panel-head, .dialog-head, .actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.pagehead {
  margin-bottom: 25px;
}
.eyebrow {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--rail);
  margin: 0 0 8px;
  letter-spacing: 0.085em;
}
.pagehead h1 {
  font-size: clamp(2.05rem, 3.25vw, 3.25rem);
  letter-spacing: -0.065em;
  line-height: 1.08;
  margin: 0;
  font-weight: 620;
}
.pagehead p.sub {
  margin: 10px 0 0;
  color: var(--sub);
}
.btn,
.small-btn,
.icon-btn {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--edge);
  background: #fff;
  color: var(--ink);
  border-radius: 7px;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 0.89rem;
  line-height: 1.25;
  text-decoration: none;
}
.btn:hover,
.small-btn:hover,
.icon-btn:hover {
  background: var(--tint);
}
.btn.primary {
  color: white;
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 2px 3px #5a0c181c;
}
.btn.primary:hover {
  background: var(--accent-hover);
}
.small-btn {
  padding: 7px 10px;
  font-size: 0.84rem;
}
.icon-btn {
  padding: 8px;
}
.desk-layout, .auction-layout {
  display: grid;
  gap: 22px;
  align-items: start;
}
.desk-layout { grid-template-columns: minmax(0, 1.7fr) minmax(320px, 1fr); }
.desk-column { display: grid; min-width: 0; gap: 22px; }
.auction-layout { grid-template-columns: minmax(285px, 0.8fr) minmax(0, 2fr); }
.next-auction {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 22px;
  padding: clamp(20px, 2.4vw, 33px);
  color: #fff;
  background: linear-gradient(108deg, #91112a 0%, #ae142e 66%, #b91b35 100%);
  border-radius: 14px;
}
.next-auction .btn { color: var(--rail); border-color: #fff; margin-left: auto; }
.next-auction .btn:hover { background: var(--tint); }
.next-auction .btn:focus-visible { outline-color: white; }
.next-auction p, .date-card > span, .watch-head {
  font-size: .74rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .085em;
}
.next-auction p { margin: 0 0 7px; color: #ffdee3; }
.next-auction h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.4vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
}
.next-copy { min-width: 0; flex: 1 1 175px; }
.next-copy > div { margin-top: 8px; color: #ffe8eb; font-size: .9rem; }
.date-card {
  display: grid;
  justify-items: center;
  align-content: center;
  width: 90px;
  min-height: 99px;
  padding: 8px;
  border-radius: 7px;
  background: white;
  color: var(--rail);
}
.date-card b { font-size: 2.85rem; line-height: 1.08; letter-spacing: -.06em; }
.date-card small { color: var(--sub); font-size: .75rem; }
.watch-head, .watch-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(74px, auto);
  align-items: center;
  gap: 14px;
  padding: 15px 22px;
  text-align: left;
}
.watch-head {
  color: var(--sub);
  background: #faf8f9;
  padding-block: 11px;
  font-size: .7rem;
}
.watch-head > :last-child, .watch-bid { text-align: right; }
.watch-row {
  width: 100%;
  border: 0;
  border-top: 1px solid var(--edge);
  background: white;
  color: var(--ink);
  min-height: 67px;
}
.watch-row:hover { background: #fff7f8; }
.watch-row:focus-visible { outline-offset: -3px; }
.watch-row strong, .watch-row small { display: block; }
.watch-vehicle { overflow-wrap: anywhere; }
.watch-row strong { font-size: 1rem; font-weight: 650; letter-spacing: -.025em; }
.watch-row small { margin-top: 4px; font-size: .8rem; color: var(--sub); }
.watch-auction { font-size: .9rem; overflow-wrap: anywhere; }
.watch-bid { font-weight: 650; font-variant-numeric: tabular-nums; }
.summary-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0 22px;
  padding: 5px 0 20px;
  border-bottom: 1px solid var(--edge);
}
.metric { min-width: 0; }
.metric + .metric { border-left: 1px solid var(--edge); padding-left: 18px; }
.metric dt { color: var(--sub); font-size: .83rem; font-weight: 550; }
.metric dd { margin: 6px 0 0; font-size: clamp(1.24rem, 2.2vw, 2rem); font-weight: 640; letter-spacing: -.055em; overflow-wrap: anywhere; }
.metric small { display: block; margin-top: 4px; font-size: .78rem; font-weight: 450; color: var(--sub); letter-spacing: 0; }
.muted, .subline { color: var(--sub); }
.subline { font-size: .84rem; }
.panel {
  border: 1px solid var(--edge);
  border-radius: 12px;
  background: #fff;
  min-width: 0;
  overflow: hidden;
}
.panel-head {
  padding: 20px 21px 16px;
}
.panel-head h2 {
  font-size: 1.16rem;
  margin: 0;
  letter-spacing: -0.035em;
  font-weight: 650;
}
.panel-head a,
.text-btn {
  font-size: 0.83rem;
  font-weight: 650;
  color: var(--accent);
  background: none;
  border: 0;
  padding: 3px 0;
  text-decoration: none;
  white-space: nowrap;
}
.text-btn:hover,
.panel-head a:hover {
  text-decoration: underline;
}
.schedule {
  padding: 0 20px 7px;
}
.schedule details { border-top: 1px solid var(--edge); padding-block: 10px; }
.schedule summary { cursor: pointer; font-size: .84rem; color: var(--sub); }
.car-row {
  width: 100%;
  text-align: left;
  color: inherit;
  background: none;
  border: 0;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 1px;
}
.car-row + .car-row {
  border-top: 1px solid #efecee;
}
.car-row:hover,
.tabrow:hover {
  background: #fff7f8;
}
.tile {
  width: 39px;
  height: 39px;
  flex: none;
  border-radius: 8px;
  background: #fae6e9;
  color: #a92036;
  display: grid;
  place-items: center;
}
.tile.gray {
  background: #f2eeef;
  color: #605559;
}
.tile.neutral {
  background: #f2eff0;
  color: #50474b;
}
.tile.blush {
  background: #ffeff1;
  color: #b72b42;
}
.car-text {
  min-width: 0;
  flex: 1;
}
.car-text strong,
.car-text small {
  display: block;
}
.car-text strong {
  font-size: 0.94rem;
  letter-spacing: -0.018em;
  line-height: 1.4;
}
.car-text small {
  font-size: 0.8rem;
  color: var(--sub);
  margin-top: 3px;
}
.row-val {
  text-align: right;
  flex: none;
  font-variant-numeric: tabular-nums;
}
.row-val b,
.row-val small {
  display: block;
}
.row-val b {
  font-size: 0.95rem;
}
.row-val small {
  font-size: 0.74rem;
  color: var(--sub);
  margin-top: 5px;
}
.pipeline { padding: 17px 22px 20px; }
.pipeline h3 { font-size: .86rem; font-weight: 650; margin: 0 0 10px; }
.pipeline-key { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.pipebar {
  display: flex;
  height: 10px;
  gap: 3px;
  border-radius: 5px;
  overflow: hidden;
  background: var(--canvas);
  margin: 5px 0 15px;
}
.pipebar span {
  min-width: 0;
}
.seg0 {
  background: #d2a6ae;
}
.seg1 {
  background: #de626f;
}
.seg2 {
  background: #bc1833;
}
.seg3 {
  background: #651328;
}
.pipe-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  padding: 7px 0;
}
.pipe-line b {
  margin-left: auto;
}
.swatch {
  width: 9px;
  height: 9px;
  border-radius: 2px;
}
.recent {
  padding: 0 20px 9px;
}
.positive {
  color: var(--ink);
}
.negative {
  color: #a70e2b;
}
.stamp {
  display: inline-block;
  border-radius: 30px;
  padding: 4px 9px;
  white-space: nowrap;
  font-size: 0.74rem;
  font-weight: 650;
  line-height: 1.25;
}
.watching {
  background: #f4edef;
  color: #635057;
}
.preparing {
  background: #ffe6e9;
  color: #95283a;
}
.listed {
  background: var(--accent);
  color: #fff;
}
.sold {
  background: #651328;
  color: #fff;
}
.passed {
  background: #f0eeef;
  color: var(--sub);
}
.records .panel-head + .tools { padding-top: 0; }
.scroll {
  overflow-x: auto;
}
.table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 0.9rem;
}
.table th {
  font-size: 0.75rem;
  letter-spacing: 0.045em;
  color: var(--sub);
  background: #faf8f9;
  font-weight: 600;
  white-space: nowrap;
}
.table th,
.table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--edge);
}
.table tr:last-child td {
  border-bottom: 0;
}
.table .linklike {
  display: block;
  font-size: 0.93rem;
  white-space: nowrap;
  background: none;
  border: 0;
  padding: 3px 0;
  text-align: left;
  font-weight: 650;
  color: var(--accent);
}
.table .linklike:hover {
  text-decoration: underline;
}
.table small {
  display: block;
  color: var(--sub);
  font-size: 0.78rem;
  margin-top: 3px;
}
.num {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.tools {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 16px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--edge);
}
.search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 160px;
  border: 1px solid #a69b9e;
  border-radius: 7px;
  padding: 0 10px;
  color: var(--sub);
}
.search input {
  width: 100%;
  border: 0;
  padding: 9px 0;
  background: transparent;
  font-size: 0.89rem;
  color: var(--ink);
}
select {
  appearance: none;
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23635e62' stroke-width='1.5'/%3E%3C/svg%3E")
    right 12px center/11px 8px no-repeat !important;
  padding-right: 32px !important;
}
.tools select,
.form input,
.form textarea,
.form select {
  border: 1px solid #a69b9e;
  border-radius: 6px;
  padding: 9px 10px;
  background: #fff;
  color: var(--ink);
  min-height: 40px;
}
.empty,
.loading {
  padding: 24px;
  color: var(--sub);
  line-height: 1.6;
}
.actions {
  justify-content: flex-start;
  flex-wrap: wrap;
}
dialog {
  padding: 0;
  border: 1px solid var(--edge);
  border-radius: 14px;
  width: min(600px, calc(100% - 24px));
  max-height: 90dvh;
  margin: auto;
  color: var(--ink);
  box-shadow: 0 20px 80px #20121635;
}
dialog::backdrop {
  background: #231a1c99;
}
.dialog-head {
  align-items: flex-start;
  padding: 22px 24px 16px;
  border-bottom: 1px solid var(--edge);
}
.dialog-head h2 {
  margin: 5px 0;
  font-size: 1.65rem;
  letter-spacing: -0.045em;
}
.dialog-main {
  padding: 20px 24px;
}
.dialog-main p {
  line-height: 1.5;
}
.facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 18px;
}
.fact small,
.form label {
  color: var(--sub);
  font-size: 0.86rem;
}
.fact small,
.fact strong {
  display: block;
}
.fact strong {
  margin: 5px 0 0;
}
.rule {
  border: 0;
  border-top: 1px solid var(--edge);
  margin: 19px 0;
}
.cap-card {
  border: 1px solid var(--tint-line);
  background: var(--tint);
  border-radius: 9px;
  padding: 15px;
  margin: 0 0 18px;
}
.cap-card strong {
  display: block;
  font-size: 1.6rem;
  margin: 5px 0;
}
.cap-card small {
  color: var(--sub);
}
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}
.form label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-weight: 600;
}
.form input,
.form select,
.form textarea {
  width: 100%;
  min-width: 0;
  font-weight: 400;
}
.form .screening-check {
  flex-direction: row;
  align-items: center;
  gap: 9px;
}
.form .screening-check input {
  width: 1rem;
  height: 1rem;
  margin: 0;
  accent-color: var(--accent);
}
.form textarea {
  resize: vertical;
  min-height: 70px;
}
.wide {
  grid-column: 1/-1;
}
.form .actions {
  margin-top: 4px;
}
.form .form-title {
  font-weight: 650;
  letter-spacing: -0.02em;
  margin: 5px 0 0;
}
.err {
  color: #a70e2b;
  margin: 0;
  line-height: 1.4;
}
.mini-list {
  margin: 8px 0;
  padding: 0;
  list-style: none;
}
.mini-list li {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  border-bottom: 1px solid var(--edge);
  padding: 10px 0;
  font-size: 0.88rem;
}
.mini-list small {
  display: block;
  color: var(--sub);
  margin-top: 4px;
}
.detail-notes {
  white-space: pre-wrap;
}
.toast-on {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--rail);
  color: #fff;
  padding: 12px 16px;
  border-radius: 8px;
  z-index: 9;
  font-size: 0.9rem;
}
#main:focus {
  outline: none;
}
@media (max-width: 1050px) {
  .masthead-inner, main { width: calc(100% - 44px); }
  .masthead-inner { column-gap: 16px; }
  #nav a { padding-inline: 9px; }
  .desk-layout { grid-template-columns: minmax(0, 1.55fr) minmax(290px, 1fr); gap: 16px; }
  .desk-column { gap: 16px; }
  .auction-layout { grid-template-columns: minmax(240px, .8fr) minmax(0, 1.7fr); gap: 14px; }
  .auction-layout .table th, .auction-layout .table td { padding-inline: 10px; }
}
@media (max-width: 950px) {
  .masthead-inner { flex-wrap: wrap; align-items: center; column-gap: 10px; padding-top: 9px; }
  #nav { order: 1; flex-basis: 100%; min-height: 45px; justify-content: space-between; }
  #nav a { flex: 1; min-width: 0; padding: 8px 5px; text-align: center; }
}
@media (max-width: 790px) {
  .desk-layout, .auction-layout { grid-template-columns: 1fr; }
  .auction-layout { gap: 18px; }
  main { padding-top: 24px; }
}
@media (max-width: 540px) {
  .masthead-inner, main { width: calc(100% - 28px); }
  .brand { font-size: 1.07rem; gap: 3px; }
  .brand img { width: 34px; height: 34px; }
  .avatar { display: none; }
  .workspace-id small { font-size: .68rem; }
  .workspace-id strong { font-size: .76rem; }
  #nav { margin-top: 4px; }
  #nav a { gap: 4px; font-size: .83rem; }
  #nav .ico { width: 15px; height: 15px; }
  .pagehead { gap: 9px; margin-bottom: 17px; }
  .pagehead h1 { font-size: 2.1rem; }
  .eyebrow { font-size: .68rem; }
  .pagehead .btn { padding: 9px; font-size: .8rem; }
  .next-auction { display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: 8px 14px; padding: 18px; }
  .date-card { width: 68px; min-height: 82px; grid-row: span 2; }
  .date-card b { font-size: 2.15rem; }
  .next-auction .btn { justify-self: start; margin: 2px 0 0; padding: 7px 11px; }
  .next-copy > div { margin-top: 5px; }
  .next-auction:not(:has(.date-card)) { grid-template-columns: 1fr; }
  .watch-head { display: none; }
  .watch-row { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; padding: 13px 15px; }
  .watch-auction { grid-column: 1; grid-row: 2; font-size: .77rem; color: var(--sub); }
  .watch-auction small { display: inline; font-size: inherit; }
  .watch-auction small::before { content: " · "; }
  .watch-bid { grid-column: 2; grid-row: 1 / 3; }
  .watch-bid .sr-only { position: static; display: block; width: auto; height: auto; clip-path: none; margin: 0 0 3px; color: var(--sub); font-size: .7rem; font-weight: 500; }
  .panel-head, .pipeline, .dialog-head, .dialog-main { padding: 16px; }
  .summary-metrics { margin-inline: 16px; }
  .table th, .table td { padding: 10px 12px; }
  .form { gap: 11px; }
  .car-text strong { font-size: .9rem; }
}

.language-select {
  appearance: auto;
  width: auto;
  min-height: 36px;
  padding: 5px 8px;
  border: 1px solid var(--edge);
  border-radius: 6px;
  color: var(--ink);
  background: white;
  font: inherit;
  font-size: .86rem;
}
.sign-in-card .language-select { display: block; margin: 16px 0 0; }
@media (max-width: 1050px) {
  .workspace-id .avatar { display: none; }
}
@media (max-width: 660px) {
  .workspace-id > div { display: none; }
  .masthead-inner { row-gap: 6px; }
}
@media (max-width: 440px) {
  #nav .ico { display: none; }
}

.plan-layout { display:grid; grid-template-columns:minmax(260px,.85fr) minmax(0,1.5fr); gap:20px; align-items:start; }
.plan-layout .panel, .compare-panel { min-width:0; }
.cash-value { padding:0 22px 12px; font-size:clamp(2rem,4vw,3.2rem); font-weight:720; color:var(--accent); font-variant-numeric:tabular-nums; }
.cash-lines { margin:0 22px 20px; }
.cash-lines > div, .overview-cash { display:flex; align-items:baseline; justify-content:space-between; gap:12px; padding:8px 0; border-bottom:1px solid var(--edge); }
.cash-lines dd { margin:0; font-weight:650; font-variant-numeric:tabular-nums; white-space:nowrap; }
.cash-lines dt, .plan-note, .schedule-note, .hold-list small { color:var(--sub); }
.cash-settings,.plan-lot,.plan-form,.plan-note,.hold-list { margin:0 22px 20px; }
.cash-settings summary { cursor:pointer; font-weight:650; color:var(--accent); }
.cash-settings .form { margin-top:14px; }
.plan-lot { display:grid; gap:6px; font-weight:650; }
.plan-form .schedule-note { margin:0; }
.plan-form select,.plan-form input,.plan-lot select,.form label { min-width:0; max-width:100%; }
.quote-lines { margin:10px 0 16px; }
.hold-list { padding:0; list-style:none; }
.hold-list li { display:flex; align-items:center; gap:9px; padding:8px 0; flex-wrap:wrap; }
.hold-list li div { flex:1; }
.hold-list small { display:block; }
.overview-cash { margin:0 22px 12px; font-weight:650; }
.compare-panel { margin-top:20px; }
.compare-check { width:19px; height:19px; accent-color:var(--accent); }
.compare-grid td,.compare-grid th { white-space:normal; min-width:145px; vertical-align:top; }
.compare-grid td { max-width:25rem; overflow-wrap:anywhere; white-space:pre-line; }
.compare-grid th[scope="row"] { text-align:start; }
#nav a { padding-inline:10px; }
.masthead-inner { column-gap:16px; }
.language-select { appearance:none; }
.quote-settings summary { cursor:pointer; color:var(--accent); font-weight:650; }
.quote-settings .form { margin-top:12px; }
@media(max-width:1320px) {
  .masthead-inner { flex-wrap:wrap; padding-top:8px; align-items:center; }
  #nav { order:1; flex-basis:100%; justify-content:space-between; min-height:42px; }
  #nav a { justify-content:center; flex:1; }
}
@media(max-width:760px) { .plan-layout { grid-template-columns:minmax(0,1fr); } }
@media(max-width:600px) { #nav { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0; } }
.plan-lot select { width:100%; padding:9px 10px; border:1px solid #a69b9e; border-radius:6px; min-height:40px; color:var(--ink); }
.plan-form .schedule-note { line-height:1.45; }

.lot-inspection {
  margin: 20px 0;
  padding: 14px 16px;
  border: 1px solid var(--edge);
  border-radius: 9px;
}
.lot-inspection h3 { margin: 0; }
.lot-inspection p { margin-block: 5px 10px; color: var(--sub); }
.plan-inspection { margin: -9px 22px 20px; }
.reserve-review {
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--accent);
  background: var(--tint);
}
dialog:has(.inspection-sheet) .dialog-head {
  position: sticky;
  top: 0;
  z-index: 2;
  background: white;
}
dialog:has(.inspection-sheet) .dialog-main { padding-bottom: 0; }
.inspection-sheet { display: grid; gap: 14px; }
.inspection-item {
  min-width: 0;
  margin: 0;
  padding: 8px 12px 12px;
  border: 1px solid var(--edge);
  border-radius: 8px;
  background: white;
}
.inspection-item legend { padding-inline: 4px; font-weight: 650; }
.inspection-item label:not([hidden], .sr-only), .inspection-allowance label {
  display: grid;
  gap: 5px;
  margin-top: 10px;
  font-size: .9rem;
  font-weight: 600;
}
.inspection-sheet select, .inspection-sheet textarea, .inspection-sheet input[type="number"] {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #a69b9e;
  border-radius: 6px;
  font: inherit;
  font-weight: 400;
  color: var(--ink);
}
.inspection-sheet textarea { resize: vertical; }
.inspection-sheet .apply-prep {
  grid-template-columns: auto 1fr;
  gap: 9px;
  align-items: center;
  min-height: 44px;
}
.apply-prep input { width: 20px; height: 20px; accent-color: var(--accent); }
.inspection-totals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  font-size: .84rem;
  color: var(--sub);
}
.inspection-totals strong { display: block; color: var(--ink); font-size: 1.25rem; }
.inspection-footer {
  position: sticky;
  bottom: 0;
  z-index: 1;
  padding: 12px 0 max(12px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--edge);
  background: white;
}
.inspection-footer .actions { margin-top: 9px; }
.inspection-footer .btn { min-height: 44px; }
.inspection-footer p { margin: 6px 0 0; font-size: .86rem; }
.inspection-footer .err:empty { display: none; }
.inspection-sheet > .btn { justify-self: start; margin-bottom: 16px; }
@media (max-width: 540px) {
  dialog:has(.inspection-sheet) { width: 100%; max-width: 100%; max-height: 100dvh; }
  .inspection-sheet select, .inspection-sheet textarea, .inspection-sheet input[type="number"] { font-size: 16px; }
}

.work-shortcut { margin-top: 6px; }
.work-cards { display: grid; gap: 12px; margin: 14px 0; }
.work-card {
  padding: 14px;
  border: 1px solid var(--edge);
  border-radius: 9px;
}
.work-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 12px;
}
.work-card-head h3 { margin: 0; overflow-wrap: anywhere; }
.work-card-head p { margin: 4px 0 0; color: var(--sub); font-size: .86rem; }
.work-status {
  padding: 4px 9px;
  border-radius: 5px;
  color: var(--sub);
  background: #f4f1f2;
  font-size: .82rem;
  font-weight: 650;
}
.work-status.active { background: var(--tint); color: var(--accent); }
.work-status.done { background: #eaf4ee; color: #235c3c; }
.work-card .detail-notes { overflow-wrap: anywhere; }
.work-costs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 14px;
  margin: 14px 0;
}
.work-totals {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 12px;
  background: var(--tint);
  border-radius: 8px;
  margin-top: 0;
}
.work-costs dt { color: var(--sub); font-size: .86rem; }
.work-costs dd { margin: 4px 0 0; font-weight: 650; overflow-wrap: anywhere; }
.work-expenses { margin: 0 0 14px; }
.work-expenses summary { cursor: pointer; color: var(--accent); font-weight: 650; }
.work-expenses .mini-list li > span { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 540px) {
  .work-card .btn, [data-from-worklist] { min-height: 44px; }
}

.inventory-shortcuts { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
dialog:has(.listing-draft-editor) { width: min(860px, calc(100% - 24px)); }
.listing-draft-editor {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: start;
  gap: 20px;
}
.draft-section-title { margin: 0 0 8px; font-size: 1rem; }
.draft-price { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.draft-helper, .draft-price small { color: var(--sub); font-size: .88rem; }
.draft-highlight {
  padding: 9px 12px;
  border: 1px solid var(--edge);
  border-radius: 8px;
  margin-top: 8px;
}
.form .draft-check {
  flex-direction: row;
  min-height: 32px;
  align-items: center;
  gap: 10px;
}
.form .draft-check input { width: 18px; height: 18px; min-height: auto; accent-color: var(--accent); }
.draft-highlight .draft-wording { margin-top: 8px; }
.draft-highlight .draft-wording[hidden] { display: none; }
.draft-preview {
  padding: 14px;
  border: 1px solid var(--tint-line);
  border-radius: 8px;
  background: var(--tint);
  min-width: 0;
}
.draft-preview label { display: block; margin-bottom: 7px; font-weight: 650; }
.draft-preview textarea {
  display: block;
  box-sizing: border-box;
  width: 100%;
  resize: vertical;
  min-height: 150px;
  padding: 10px;
  border: 1px solid var(--edge);
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  line-height: 1.5;
}
.draft-preview .err:not(:empty) { margin-bottom: 10px; }
.draft-message { margin: 0 0 8px; color: var(--rail); font-size: .88rem; font-weight: 650; }
.draft-message:empty { margin: 0; }
@media (max-width: 670px) {
  .listing-draft-editor { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .draft-fields input:not([type="checkbox"]), .draft-fields select, .draft-fields textarea,
  .draft-preview textarea { font-size: 16px; }
  .draft-preview .btn { min-height: 44px; }
}

.aging-panel { margin-bottom: 16px; padding: clamp(14px, 2.3vw, 24px); }
.aging-overview { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px 18px; flex-wrap: wrap; }
.aging-overview h2 { margin: 0; font-size: 1.15rem; }
.aging-overview p { margin: 5px 0 0; color: var(--sub); font-size: .86rem; }
.aging-total { display: grid; gap: 3px; min-width: 100px; }
.aging-total span { color: var(--sub); font-size: .86rem; }
.aging-total strong { font-size: 1.4rem; font-variant-numeric: tabular-nums; }
.aging-bands { margin-top: 14px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.aging-band {
  text-align: left;
  background: white;
  color: var(--ink);
  border: 1px solid var(--edge);
  border-radius: 7px;
  padding: 10px 12px;
  display: grid;
  justify-items: start;
  gap: 5px;
  overflow-wrap: anywhere;
}
.aging-band strong { font-size: clamp(1.1rem, 2vw, 1.5rem); font-variant-numeric: tabular-nums; }
.aging-band small { color: var(--sub); }
.aging-band:hover, .aging-band[aria-pressed="true"], .aging-filter [aria-pressed="true"] { background: var(--tint); border-color: var(--tint-line); }
.aging-band[aria-pressed="true"] { box-shadow: inset 0 0 0 1px var(--accent); }
.aging-filter { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-top: 12px; }
.aging-filter span { color: var(--sub); font-size: .86rem; }
.stock-days { font-weight: 650; }
@media (max-width: 560px) {
  .aging-bands { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inventory-table th { white-space: normal; }
  .inventory-table th:nth-child(2) { min-width: 76px; }
  .inventory-table th:nth-child(3) { min-width: 84px; }
  .inventory-table .linklike, .inventory-table .inventory-shortcuts { max-width: 147px; }
  .inventory-table .linklike { white-space: normal; overflow-wrap: anywhere; }
}

.finder-column { display:grid; align-content:start; gap:16px; min-width:0; }
.finder-controls { display:grid; grid-template-columns:3fr 2fr; gap:10px; }
.finder-controls label { display:grid; align-content:end; gap:5px; font-weight:600; font-size:.88rem; }
.finder-controls input, .finder-controls select { width:100%; min-width:0; padding:8px; border:1px solid var(--edge); border-radius:6px; font:inherit; color:inherit; background-color:white; }
.finder-query { grid-column:1/-1; }
.finder-check { display:flex; align-items:center; gap:7px; margin:12px 0; font-size:.9rem; }
.finder-check input { width:1rem; height:1rem; accent-color:var(--accent); }
.finder-count { font-weight:650; margin:15px 0 4px; }
.finder-pages { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:12px 0; font-variant-numeric:tabular-nums; }
.finder-column .car-text { min-width:0; }
.finder-column .car-text strong, .finder-column .car-text small { white-space:normal; overflow-wrap:anywhere; }
.finder-column details { font-size:.9rem; }
.finder-column details ul { padding-inline-start:1.25rem; }
@media (min-width: 791px) {
  .auction-layout { grid-template-columns:minmax(315px,.95fr) minmax(0,1.65fr); }
}

.sign-in { min-height: 100dvh; display: grid; place-items: center; }
.sign-in-card { width: min(100%, 420px); padding: clamp(20px, 5vw, 40px); }
.sign-in-card h1 { margin: 24px 0 8px; font-size: 1.8rem; }
.sign-in-card p { color: var(--sub); margin-bottom: 22px; line-height: 1.5; }
.sign-out { margin: 0; }
@media (max-width: 790px) {
  .workspace-id { flex-wrap: wrap; justify-content: flex-end; }
}
@media (max-width: 420px) {
  .workspace-id > div { display: none; }
}
