/* Admin Sell submissions workspace. Scoped so docks and other pages stay unchanged. */
.srb-sell { color: var(--ink); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.srb-sell h1 { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.srb-sell h2 { margin: 0; font-size: 18px; font-weight: 700; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.srb-head, .srb-head-actions, .srb-kpis, .srb-tabs, .srb-filters, .srb-m-top, .srb-m-foot, .srb-block-h, .srb-seller-row, .srb-pager, .srb-bar, .srb-meta-line, .srb-id-line, .srb-detail-tools {
  display: flex; align-items: center; gap: 8px; min-width: 0;
}
.srb-head { justify-content: space-between; align-items: flex-start; }
.srb-head p, .srb-faint { margin: 2px 0 0; color: var(--muted); font-size: 12.5px; }
/* Standard Sell header — title centered across page; Refresh stays end-aligned */
.srb-sell > .srb-head {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 0;
}
.srb-sell > .srb-head .srb-head-copy {
  position: absolute;
  inset-inline: 0;
  top: 50%;
  transform: translateY(-50%);
  margin-inline: auto;
  max-width: min(36rem, calc(100% - 8.5rem));
  text-align: center;
  pointer-events: none;
}
.srb-sell > .srb-head .srb-head-copy h1 {
  pointer-events: auto;
  margin: 0;
}
.srb-sell > .srb-head .srb-head-actions {
  position: relative;
  z-index: 1;
  margin-inline-start: auto;
}
.srb-ghost, .srb-text-btn, .srb-icon-btn, .srb-tab, .srb-kpi, .srb-filters select, .srb-pager button {
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  border-radius: 10px; font: inherit; cursor: pointer;
}
.srb-ghost, .srb-text-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; font-size: 13px; white-space: nowrap; }
.srb-icon-btn { width: 32px; height: 32px; padding: 0; }
.srb-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.srb-kpi { justify-content: space-between; align-items: center; text-align: start; padding: 12px 14px; min-height: 72px; }
.srb-kpi > span:first-child {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: translateY(12px);
}
.srb-kpi b {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-size: 30px;
  line-height: 1;
  text-align: center;
}
.srb-kpi small { color: var(--muted); font-size: 12px; }
.srb-kpi .srb-ico { width: 28px; height: 28px; flex: none; }
/* Standard Sell KPI tones — rich action-button intensity (Pending / Verified / Approved / Sold) */
.srb-kpi-pending { --srb-kpi: #E09818; --srb-kpi-deep: #C47E0A; }
.srb-kpi-verified { --srb-kpi: #0B9A6E; --srb-kpi-deep: #087F59; }
.srb-kpi-approved { --srb-kpi: #2F63D8; --srb-kpi-deep: #1B3FA8; }
.srb-kpi-sold { --srb-kpi: #7C4FD1; --srb-kpi-deep: #5B2FB0; }
.srb-kpi-pending,
.srb-kpi-verified,
.srb-kpi-approved,
.srb-kpi-sold {
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--srb-kpi) 34%, var(--surface)) 0%,
      color-mix(in srgb, var(--srb-kpi-deep) 22%, var(--surface)) 100%
    );
  border-color: color-mix(in srgb, var(--srb-kpi) 52%, var(--line));
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--srb-kpi) 18%, transparent);
}
.srb-kpi-pending .srb-ico,
.srb-kpi-verified .srb-ico,
.srb-kpi-approved .srb-ico,
.srb-kpi-sold .srb-ico { color: var(--srb-kpi-deep); }
.srb-kpi-pending b,
.srb-kpi-verified b,
.srb-kpi-approved b,
.srb-kpi-sold b {
  color: color-mix(in srgb, var(--srb-kpi-deep) 72%, var(--ink));
}
.srb-kpi-pending small,
.srb-kpi-verified small,
.srb-kpi-approved small,
.srb-kpi-sold small {
  color: color-mix(in srgb, var(--srb-kpi-deep) 48%, var(--muted));
}
html[data-theme="light"] .srb-kpi-pending,
html[data-theme="light"] .srb-kpi-verified,
html[data-theme="light"] .srb-kpi-approved,
html[data-theme="light"] .srb-kpi-sold {
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--srb-kpi) 42%, #ffffff) 0%,
      color-mix(in srgb, var(--srb-kpi-deep) 28%, #ffffff) 100%
    );
  border-color: color-mix(in srgb, var(--srb-kpi) 58%, var(--line));
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, #ffffff 55%, transparent),
    0 1px 2px color-mix(in srgb, var(--srb-kpi-deep) 10%, transparent);
}
html[data-theme="light"] .srb-kpi-pending .srb-ico,
html[data-theme="light"] .srb-kpi-verified .srb-ico,
html[data-theme="light"] .srb-kpi-approved .srb-ico,
html[data-theme="light"] .srb-kpi-sold .srb-ico {
  color: var(--srb-kpi-deep);
}
html[data-theme="light"] .srb-kpi-pending b,
html[data-theme="light"] .srb-kpi-verified b,
html[data-theme="light"] .srb-kpi-approved b,
html[data-theme="light"] .srb-kpi-sold b {
  color: color-mix(in srgb, var(--srb-kpi-deep) 82%, #1a1d21);
}
html[data-theme="light"] .srb-kpi-pending small,
html[data-theme="light"] .srb-kpi-verified small,
html[data-theme="light"] .srb-kpi-approved small,
html[data-theme="light"] .srb-kpi-sold small {
  color: color-mix(in srgb, var(--srb-kpi-deep) 55%, #4a5058);
}
html[data-theme="dark"] .srb-kpi-pending,
html[data-theme="dark"] .srb-kpi-verified,
html[data-theme="dark"] .srb-kpi-approved,
html[data-theme="dark"] .srb-kpi-sold {
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--srb-kpi) 32%, var(--surface)) 0%,
      color-mix(in srgb, var(--srb-kpi-deep) 20%, var(--surface)) 100%
    );
  border-color: color-mix(in srgb, var(--srb-kpi) 46%, var(--line));
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--srb-kpi) 22%, transparent);
}
html[data-theme="dark"] .srb-kpi-pending .srb-ico,
html[data-theme="dark"] .srb-kpi-verified .srb-ico,
html[data-theme="dark"] .srb-kpi-approved .srb-ico,
html[data-theme="dark"] .srb-kpi-sold .srb-ico {
  color: color-mix(in srgb, var(--srb-kpi) 78%, #ffffff);
}
html[data-theme="dark"] .srb-kpi-pending b,
html[data-theme="dark"] .srb-kpi-verified b,
html[data-theme="dark"] .srb-kpi-approved b,
html[data-theme="dark"] .srb-kpi-sold b {
  color: color-mix(in srgb, var(--srb-kpi) 55%, #f5f7fb);
}
html[data-theme="dark"] .srb-kpi-pending small,
html[data-theme="dark"] .srb-kpi-verified small,
html[data-theme="dark"] .srb-kpi-approved small,
html[data-theme="dark"] .srb-kpi-sold small {
  color: color-mix(in srgb, var(--srb-kpi) 42%, #c4cad4);
}
.srb-kpi.on, .srb-tab.on, .srb-mcard.is-on { outline: 2px solid color-mix(in srgb, var(--accent, #3d8f6e) 55%, transparent); }
.srb-split { display: grid; grid-template-columns: minmax(280px, 380px) minmax(0, 1fr); gap: 12px; align-items: start; min-width: 0; }
.srb-list, .srb-detail, .srb-block { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; min-width: 0; }
.srb-list { padding: 10px; display: flex; flex-direction: column; gap: 8px; }
  .srb-tabs { flex-wrap: wrap; gap: 4px; }
.srb-tab { padding: 4px 5px; font-size: 11px; background: transparent; white-space: nowrap; }
.srb-tab span, .srb-pill { border-radius: 999px; padding: 1px 6px; font-size: 11px; }
.srb-search { display: flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 12px; padding: 0 10px; background: var(--surface); }
.srb-search input { flex: 1; border: 0; background: transparent; color: inherit; font: inherit; height: 36px; min-width: 0; outline: none; }
.srb-filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; }
.srb-filters select { height: 32px; padding: 0 4px; font-size: 12px; min-width: 0; width: 100%; }
.srb-cards { display: flex; flex-direction: column; gap: 8px; }
.srb-mcard { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.srb-mcard-btn { display: flex; gap: 10px; width: 100%; text-align: start; background: transparent; border: 0; color: inherit; font: inherit; padding: 8px; cursor: pointer; }
.srb-q-thumb, .srb-photo, .srb-avatar {
  background: var(--bg-soft) center/cover no-repeat; border-radius: 10px; flex: none;
}
.srb-q-thumb { width: 72px; height: 64px; }
.srb-mcard-body, .srb-detail, .srb-block { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.srb-m-title { font-size: 14px; }
.srb-price { font-weight: 700; }
.srb-m-foot, .srb-id-line, .srb-meta-line { color: var(--muted); font-size: 12px; flex-wrap: wrap; }
.srb-m-foot { justify-content: space-between; }
.srb-pager { justify-content: space-between; color: var(--muted); font-size: 12px; padding-top: 4px; }
.srb-pager button { width: 28px; height: 28px; }
.srb-detail { padding: 14px; gap: 12px; position: relative; }
.srb-detail-h { display: flex; justify-content: space-between; gap: 8px; }
.srb-detail-tools { position: relative; flex-wrap: wrap; justify-content: flex-end; }
.srb-more-menu { position: absolute; top: 36px; inset-inline-end: 0; z-index: 6; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 6px; display: flex; flex-direction: column; min-width: 180px; box-shadow: 0 8px 24px rgba(15, 23, 42, .12); }
.srb-more-menu[hidden] { display: none; }
.srb-more-menu button { background: transparent; border: 0; color: inherit; text-align: start; font: inherit; padding: 8px; border-radius: 8px; cursor: pointer; }
.srb-pill { background: color-mix(in srgb, #f59e0b 18%, var(--surface)); color: var(--ink); font-weight: 600; }
.srb-pill-approved, .srb-pill-verified { background: color-mix(in srgb, #22c55e 18%, var(--surface)); }
.srb-pill-sold { background: color-mix(in srgb, #94a3b8 22%, var(--surface)); }
.srb-gallery { display: grid; grid-template-columns: 1.35fr .9fr; gap: 8px; }
.srb-photo, .srb-photo-empty, .srb-map-empty, .srb-map-frame { min-height: 92px; border-radius: 12px; }
.srb-photo:not(.has-img) { display: grid; place-items: center; color: var(--muted); font-size: 12px; text-align: center; padding: 8px; }
.srb-photo-main { min-height: 220px; grid-row: span 1; }
.srb-photo-empty, .srb-map-empty { display: grid; place-items: center; color: var(--muted); font-size: 13px; background: var(--bg-soft); padding: 12px; text-align: center; }
.srb-side { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.srb-photo-wrap { position: relative; }
.srb-photo-wrap .srb-photo { width: 100%; height: 106px; display: block; }
.srb-more-count { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(15, 23, 42, .45); color: #fff; font-weight: 700; border-radius: 12px; }
.srb-detail-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 10px; }
.srb-block { padding: 12px; gap: 8px; }
.srb-block-h { justify-content: space-between; }
.srb-block dl { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.srb-block dl div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 8px; font-size: 13px; }
.srb-block dt { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.srb-block dd { margin: 0; overflow-wrap: anywhere; }
.srb-map-frame { width: 100%; height: 160px; border: 0; background: var(--bg-soft); }
.srb-seller-row { align-items: flex-start; }
.srb-avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); }
.srb-ico { width: 16px; height: 16px; flex: none; }
.srb-bar { position: sticky; bottom: 8px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) auto; gap: 8px; margin-top: 4px; }
.srb-act { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 58px; padding: 8px 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; text-align: start; }
.srb-act-l { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; font-size: 13.5px; }
.srb-act-s { color: var(--muted); font-size: 11px; }
.srb-act.is-green { background: #178a4b; color: #fff; border-color: transparent; }
.srb-act.is-green .srb-act-s { color: rgba(255,255,255,.85); }
.srb-act.is-red { background: #e11d48; color: #fff; border-color: transparent; }
.srb-act.is-red .srb-act-s { color: rgba(255,255,255,.85); }
.srb-act-more { align-items: center; justify-content: center; min-width: 48px; }
.srb-dup-panel { font-size: 12.5px; }
.srb-empty { padding: 16px; }
@media (max-width: 1100px) {
  .srb-split, .srb-detail-grid, .srb-gallery, .srb-kpis { grid-template-columns: 1fr; }
  .srb-bar { grid-template-columns: 1fr 1fr; position: static; }
  .srb-photo-main { min-height: 180px; }
  .srb-head { flex-wrap: wrap; }
}

/* Approved lower workspace: queue / property presentation / private workflow.
   Header, four KPI cards, docks, theme and public pages are intentionally untouched. */
.srb-split { grid-template-columns: minmax(220px,.78fr) minmax(0,1.9fr) minmax(235px,.86fr); gap: 12px; }
.srb-split > * { min-width: 0; }
.srb-split > .srb-list, .srb-center, .srb-workflow { max-height: calc(100dvh - 242px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.srb-split > .srb-list { position: sticky; top: 12px; }
.srb-center { padding: 12px; background: color-mix(in srgb,var(--surface) 94%,transparent); }
.srb-workflow { display: flex; flex-direction: column; gap: 10px; position: sticky; top: 12px; }
.srb-workflow .srb-block, .srb-mode-body > .srb-block { border-radius: 12px; }
.srb-workflow p { margin: 4px 0; font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.srb-notes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.srb-note {
  border: 1px solid var(--lux-line, var(--line)); border-radius: 10px;
  background: var(--lux-raise, var(--bg-soft)); padding: 8px 10px; text-align: start;
}
.srb-note-meta {
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
  margin-bottom: 4px; flex-wrap: wrap;
}
.srb-note-author { font-size: 12px; font-weight: 650; color: var(--lux-ink, var(--ink)); }
.srb-note-date { font-size: 11px; color: var(--lux-muted, var(--muted)); white-space: nowrap; }
.srb-note-body { margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--lux-ink, var(--ink)); white-space: pre-wrap; }
html[dir="rtl"] .srb-workflow,
html[dir="rtl"] .srb-note,
html[dir="rtl"] .srb-block-h,
html[dir="rtl"] .srb-action-grid { text-align: start; }
html[dir="rtl"] .srb-note-meta { flex-direction: row-reverse; }
html[dir="rtl"] .srb-workflow-btn { text-align: start; }
.srb-preview-nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding-block-end: 12px; border-bottom: 1px solid var(--line); }
.srb-preview-nav .srb-tab { display: inline-flex; align-items: center; gap: 5px; padding: 8px 10px; }
.srb-preview-nav a { margin-inline-start: auto; text-decoration: none; font-size: 11px; }
.srb-mode-body { display: flex; flex-direction: column; gap: 12px; }
.srb-property-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.srb-property-head h2 { margin-block: 8px 5px; font-size: clamp(19px,1.5vw,26px); line-height: 1.25; font-family: var(--font-display,inherit); }
.srb-hero-price { font-size: clamp(21px,1.8vw,30px); line-height: 1.2; white-space: nowrap; }
.srb-center .srb-gallery { grid-template-columns: minmax(0,1.55fr) minmax(0,1fr); }
.srb-center .srb-gallery:has(> .srb-photo-empty) { grid-template-columns: 1fr; }
.srb-center .srb-gallery:has(.srb-side:empty) { grid-template-columns: 1fr; }
.srb-center .srb-side:empty { display: none; }
.srb-photo { position: relative; display: block; width: 100%; overflow: hidden; border: 1px solid var(--line); padding: 0; cursor: zoom-in; color: var(--muted); }
.srb-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.srb-photo-main { height: clamp(210px,22vw,340px); min-height: 210px; }
.srb-side .srb-photo { min-height: 80px; height: 100%; aspect-ratio: 1.25; }
.srb-photo-count { position: absolute; inset-inline-start: 8px; bottom: 8px; padding: 5px 8px; border-radius: 7px; background: #06101ed9; color: white; }
.srb-all-photos { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.srb-all-photos .srb-photo { height: 100px; }
.srb-videos { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.srb-videos video { display: block; width: 100%; max-height: 230px; border-radius: 9px; background: var(--bg-soft); }
.srb-description { white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; font-size: 13px; line-height: 1.7; color: var(--muted); }
.srb-center .srb-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.srb-center .srb-facts > div { display: flex; flex-direction: column; gap: 5px; border: 1px solid var(--line); border-radius: 9px; padding: 10px; }
.srb-center .srb-facts dt { color: var(--muted); font-size: 11px; }
.srb-center .srb-facts dd { font-size: 13px; font-weight: 550; }
.srb-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.srb-chips > span { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--line); border-radius: 20px; padding: 6px 9px; font-size: 11px; }
.srb-action-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
.srb-workflow-btn {
  border: 1px solid var(--line); border-radius: 8px; background: var(--bg-soft); color: var(--ink);
  font: inherit; font-size: 12px; font-weight: 600; min-height: 36px; padding: 8px 10px; cursor: pointer;
  letter-spacing: .01em;
}
.srb-workflow-btn.is-approve { background: #087f59; border-color: #10b98160; color: white; }
.srb-workflow-btn.is-publish { background: #075bc9; border-color: #3b82f660; color: white; }
.srb-workflow-btn.is-changes { background: #f4bb54; border-color: transparent; color: #241706; }
.srb-workflow-btn.is-reject { background: #bb263a; border-color: #ef444460; color: white; }
.srb-progress { list-style: none; padding: 8px 0 0; margin: 0; display: flex; justify-content: space-between; gap: 2px; }
.srb-progress li { display: flex; flex-direction: column; align-items: center; gap: 5px; text-align: center; color: var(--muted); font-size: 9px; flex: 1; }
.srb-progress li span { color: var(--line); font-size: 17px; }
.srb-progress .is-complete span { color: #caa351; }
.srb-timeline { padding: 0; margin: 0; list-style: none; }
.srb-timeline li { border-inline-start: 1px solid var(--line); padding: 0 0 13px 10px; padding-inline-start: 10px; padding-inline-end: 0; margin-inline-start: 4px; overflow-wrap: anywhere; }
.srb-event-top { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; }
.srb-event-top time, .srb-timeline small { color: var(--muted); font-size: 10px; }
.srb-timeline details { margin-block-start: 7px; font-size: 11px; }
.srb-timeline details dl > div { display: block; }
.srb-timeline del, .srb-timeline ins { display: block; text-decoration: none; }
.srb-timeline del { color: var(--muted); }
.srb-note-text { white-space: pre-wrap; }
.srb-notice { padding: 9px; margin: 0; border: 1px solid color-mix(in srgb,#caa351 45%,var(--line)); border-radius: 8px; background: color-mix(in srgb,#caa351 8%,var(--surface)); font-size: 12px; line-height: 1.6; }
.srb-avatar { object-fit: cover; }
.srb-workflow .srb-seller-row > div { min-width: 0; }
.srb-detail-empty { grid-column: 2 / -1; min-height: 180px; justify-content: center; align-items: center; color: var(--muted); }
.srb-edit { display: flex; flex-direction: column; gap: 12px; }
.srb-edit-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.srb-edit label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; min-width: 0; }
.srb-edit input, .srb-edit select, .srb-edit textarea { width: 100%; min-width: 0; color: var(--ink); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 8px; padding: 9px; font: inherit; box-sizing: border-box; }
.srb-edit input[type=checkbox] { width: 18px; height: 18px; }
.srb-edit textarea { resize: vertical; }
.srb-edit-wide { grid-column: 1 / -1; }
.srb-edit-actions { display: flex; justify-content: flex-end; gap: 8px; position: sticky; bottom: 0; padding: 10px; background: var(--surface); border-top: 1px solid var(--line); }
.srb-edit-error { border: 1px solid #db3d50; border-radius: 8px; padding: 10px; color: #ee6475; }
.srb-viewer-image { display: block; max-width: 100%; max-height: 75dvh; object-fit: contain; margin: auto; }
@media (max-width: 1320px) {
  .srb-split { grid-template-columns: minmax(210px,.7fr) minmax(0,1.7fr); }
  .srb-workflow { grid-column: 2; position: static; max-height: none; overflow: visible; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .srb-split > .srb-list { grid-row: span 2; }
  .srb-center { max-height: none; overflow: visible; }
}
@media (max-width: 850px) {
  .srb-split { grid-template-columns: 1fr; }
  .srb-split > .srb-list { position: static; grid-row: auto; max-height: 340px; }
  .srb-center, .srb-workflow, .srb-detail-empty { grid-column: 1; }
  .srb-workflow { grid-template-columns: 1fr; }
  .srb-mcard-btn { align-items: center; }
  .srb-property-head { flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .srb-center .srb-gallery, .srb-center .srb-facts, .srb-edit-grid, .srb-videos { grid-template-columns: 1fr; }
  .srb-center .srb-side { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .srb-edit-wide { grid-column: auto; }
  .srb-preview-nav a { margin-inline-start: 0; }
  .srb-list .srb-filters { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

/* Lower workspace — follow active Sun/Moon tokens (no forced dark lux shell). */
.srb-sell,
.srb-sell .srb-split,
.srb-split {
  --lux: var(--accent);
  --lux-ink: var(--ink);
  --lux-muted: var(--muted);
  --lux-line: var(--line);
  --lux-panel: var(--surface);
  --lux-raise: var(--surface-2);
  color: var(--ink);
}
.srb-split > .srb-list,
.srb-center,
.srb-workflow,
.srb-workflow .srb-block,
.srb-mode-body > .srb-block,
.srb-detail-empty {
  background: var(--lux-panel);
  border-color: var(--lux-line);
  color: var(--lux-ink);
}
.srb-split .srb-faint,
.srb-split .srb-workflow p,
.srb-center .srb-facts dt,
.srb-description,
.srb-event-top time,
.srb-timeline small { color: var(--lux-muted); }
.srb-list .srb-tab,
.srb-list .srb-filters select,
.srb-list .srb-search,
.srb-list .srb-pager button,
.srb-split .srb-text-btn {
  background: var(--lux-raise);
  color: var(--lux-ink);
  border-color: var(--lux-line);
}
.srb-list .srb-search input { color: var(--lux-ink); }
.srb-list .srb-tab.on { background: color-mix(in srgb, var(--lux) 18%, var(--lux-raise)); color: var(--lux); border-color: var(--lux); }
/* Command bar uses the same live theme tokens */
.srb-split .srb-cmd {
  --srb-cmd-ink: var(--ink);
  --srb-cmd-muted: var(--muted);
  --srb-cmd-line: var(--line);
  --srb-cmd-raise: var(--surface-2);
  --srb-cmd-accent: var(--accent);
}
.srb-mcard { background: var(--lux-raise); border-color: transparent; border-radius: 12px; }
.srb-mcard.is-on { outline: 1px solid var(--lux); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent); }
.srb-mcard-btn { padding: 7px; gap: 8px; }
.srb-q-thumb { width: 64px; height: 56px; border-radius: 8px; }
.srb-m-title { font-size: 13px; letter-spacing: -.01em; }
.srb-price, .srb-hero-price { color: var(--lux); font-weight: 650; letter-spacing: -.02em; }
.srb-pill { background: var(--accent-soft); color: var(--lux); }
.srb-preview-nav {
  background: var(--bg-soft);
  border: 1px solid var(--lux-line);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
}
.srb-preview-nav .srb-mode {
  border: 0; background: transparent; color: var(--lux-muted);
  border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 12.5px; font-weight: 600;
  cursor: pointer; letter-spacing: .02em;
}
.srb-preview-nav .srb-mode.on { background: var(--lux); color: var(--accent-ink); }
.srb-center .srb-gallery { gap: 6px; }
.srb-center .srb-photo { border-color: var(--line); border-radius: 14px; background: var(--bg-soft); }
.srb-center .srb-photo-main { border-radius: 16px; }
.srb-center .srb-facts > div { background: var(--lux-raise); border-color: var(--line); }
.srb-chips > span { background: var(--accent-soft); border-color: var(--lux-line); color: var(--lux-ink); }
.srb-workflow-btn { background: var(--lux-raise); color: var(--lux-ink); border-color: var(--lux-line); }
.srb-progress .is-complete { color: var(--lux); }
.srb-progress .is-complete span { color: var(--lux); }
.srb-timeline li { border-color: var(--lux-line); }
.srb-notice { border-color: var(--lux-line); background: var(--accent-soft); color: var(--lux-ink); }
.srb-map-frame { border-radius: 14px; }

/* Scoped Admin Sell media viewer — independent of the compact action modal. */
body.srb-viewer-open { overflow: hidden; }
.srb-fullscreen-viewer[hidden] { display: none !important; }
.srb-fullscreen-viewer {
  position: fixed; inset: 0; z-index: 2147483000; width: 100vw; height: 100dvh;
  background: rgba(5, 8, 13, .97); color: #faf6ee;
  display: grid; grid-template-columns: minmax(44px, 7vw) minmax(0,1fr) minmax(44px,7vw);
  grid-template-rows: 64px minmax(0,1fr); align-items: center; justify-items: center;
  padding: 8px max(8px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
  box-sizing: border-box; direction: ltr;
}
.srb-viewer-top { grid-column: 1/-1; grid-row: 1; width: 100%; display: flex; justify-content: center; align-items: center; position: relative; font: 600 13px/1.5 system-ui, sans-serif; color: #ddd3c3; }
.srb-viewer-top button { position: absolute; right: 6px; top: -2px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #c5af8655; background: #1d222b; color: white; font-size: 26px; cursor: pointer; }
.srb-viewer-stage { grid-column: 2; grid-row: 2; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 0; overflow: hidden; color: #ddd3c3; }
.srb-viewer-stage img, .srb-viewer-stage video { max-width: 100%; max-height: calc(100dvh - 90px); width: auto; height: auto; object-fit: contain; border-radius: 5px; }
.srb-viewer-stage video { width: min(100%, 1180px); background: black; }
.srb-viewer-arrow { grid-row: 2; width: 44px; height: 58px; border-radius: 14px; background: #1a2029; border: 1px solid #d4af6a55; color: #f8e2b7; font: 42px/1 system-ui, sans-serif; cursor: pointer; }
.srb-viewer-arrow[data-srb-viewer-prev] { grid-column: 1; }
.srb-viewer-arrow[data-srb-viewer-next] { grid-column: 3; }
.srb-viewer-arrow[hidden] { visibility: hidden; }
.srb-viewer-arrow:hover, .srb-viewer-top button:hover { background: #293340; }
.srb-video-expand { display: inline-flex; align-items: center; justify-content: center; margin-top: 7px; padding: 7px 10px; border-radius: 9px; border: 1px solid var(--lux-line,#c5af8655); background: var(--lux-raise,#1d222b); color: var(--lux-ink,#f8e2b7); font-size: 12px; font-weight: 600; line-height: 1.3; cursor: pointer; }
/* Existing edit contract preserved: grouping replaces the wall of raw inputs. */
.srb-edit-group { padding: 16px; background: var(--lux-raise, var(--bg-soft)); border: 1px solid var(--lux-line, var(--line)); border-radius: 15px; min-width: 0; }
.srb-edit-group h3, .srb-edit-group > summary { margin: 0 0 14px; font-size: 14px; font-weight: 700; color: var(--lux-ink, var(--ink)); }
.srb-edit-group > summary { cursor: pointer; margin-bottom: 0; }
.srb-edit-advanced[open] > summary { margin-bottom: 12px; }
.srb-edit-advanced .srb-faint { margin-bottom: 12px; line-height: 1.6; }
.srb-edit-group .srb-edit-grid { gap: 12px; }
.srb-edit-group label > span { font-weight: 600; line-height: 1.4; }
.srb-edit-group textarea { line-height: 1.55; }
.srb-center .srb-facts dd[dir="auto"], .srb-property-head h2 { overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .srb-fullscreen-viewer { grid-template-columns: 40px minmax(0,1fr) 40px; grid-template-rows: 54px minmax(0,1fr); padding: 4px; }
  .srb-viewer-arrow { width: 36px; height: 50px; font-size: 32px; }
  .srb-viewer-stage img, .srb-viewer-stage video { max-height: calc(100dvh - 75px); }
  .srb-edit-group { padding: 12px; }
}


/* ===== PHASE 1 • Original Darwesh Sell workspace — page-level scroll =====
   Scoped to Sell: four KPIs, logo, other admin modules and public pages unchanged.
   Reference annotation colors are not used in the application. */
.srb-sell .srb-split, .srb-split {
  display:grid;
  grid-template-columns: minmax(255px, .82fr) minmax(0, 1.95fr) minmax(275px, .92fr);
  grid-template-rows: auto minmax(0,1fr);
  gap: 12px; align-items:stretch;
  min-height: max(650px, calc(100dvh - 225px));
  overflow:visible;
}
.srb-split > .srb-decision-toolbar { grid-column: 1 / -1; grid-row:1; }
.srb-split > .srb-list { grid-column:1; grid-row:2; }
.srb-split > .srb-center, .srb-split > .srb-detail-empty { grid-column:2; grid-row:2; }
.srb-split > .srb-workflow { grid-column:3; grid-row:2; }
.srb-split > .srb-list, .srb-split > .srb-center, .srb-split > .srb-workflow {
  min-height:100%; height:auto; max-height:none !important; overflow:visible !important;
  position:static !important; align-self:stretch; box-sizing:border-box;
}
.srb-split > .srb-list { justify-content:flex-start; }
.srb-split > .srb-center { padding:14px; }
.srb-split > .srb-workflow { display:flex; flex-direction:column; }
.srb-decision-toolbar {
  display:flex; align-items:center; flex-wrap:wrap; gap:14px;
  background:var(--lux-panel,#141920); color:var(--lux-ink,#f6f1e7);
  border:1px solid var(--lux-line,rgba(212,175,106,.28)); border-radius:14px;
  padding:10px 14px; min-width:0;
}
.srb-decision-toolbar > strong { font-size:13px; white-space:nowrap; color:var(--lux,#d4af6a); }
.srb-decision-buttons { display:flex; flex-wrap:wrap; gap:8px; min-width:0; }
.srb-decision-buttons > button { min-height:34px; white-space:nowrap; }
.srb-decision-empty { color:var(--lux-muted,#b7ab99); font-size:12px; }
.srb-workflow .srb-block[hidden] { display:none !important; }
/* Card carousel: existing filters, bucket selections and page controls are untouched. */
.srb-list .srb-rail-controls { display:flex; justify-content:flex-end; align-items:center; gap:9px; margin-top:3px; }
.srb-rail-arrow { border:1px solid var(--lux-line,rgba(212,175,106,.28)); border-radius:9px; background:var(--lux-raise,#1c232e); color:var(--lux-ink,#f6f1e7); width:32px; height:30px; font-size:21px; cursor:pointer; line-height:1; }
.srb-rail-arrow:disabled {opacity:.35; cursor:not-allowed;}
.srb-rail-count { font:600 12px/1.2 system-ui,sans-serif; color:var(--lux-muted,#b7ab99); font-variant-numeric:tabular-nums; }
.srb-list .srb-cards { display:flex; flex-direction:row; flex-wrap:nowrap; gap:8px; width:100%; min-width:0; overflow-x:auto; overflow-y:hidden; scroll-snap-type:x mandatory; scrollbar-width:none; scroll-behavior:smooth; }
.srb-list .srb-cards::-webkit-scrollbar {display:none;}
.srb-list .srb-cards > .srb-mcard {flex:0 0 100%; min-width:0; max-width:100%; scroll-snap-align:start; }
.srb-list .srb-mcard-btn {align-items:flex-start;}
.srb-list .srb-m-title { white-space:normal; overflow-wrap:anywhere; }
/* The public view follows the existing website hierarchy, using only stored fields. */
.srb-center .srb-public-preview { display:flex; flex-direction:column; gap:17px; min-width:0; }
.srb-center .srb-gallery-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.srb-center .srb-gallery-heading h3 {margin:0; font-family:var(--font-display,inherit); color:var(--lux-ink,#f6f1e7); font-size:18px;}
.srb-center .srb-gallery-heading span {font-size:11px; color:var(--lux-muted,#b7ab99);}
.srb-center .srb-public-preview .srb-gallery {display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:8px;min-width:0;}
.srb-center .srb-public-preview .srb-gallery:has(.srb-side:empty) {grid-template-columns:1fr;}
.srb-center .srb-public-preview .srb-gallery .srb-photo-main {height:clamp(240px,29vw,450px);min-height:240px;}
.srb-center .srb-public-overview {display:grid;grid-template-columns:minmax(0,1fr) minmax(170px,.47fr);gap:12px;align-items:start;}
.srb-center .srb-public-title h2 {margin:9px 0;font-size:clamp(19px,1.6vw,27px);line-height:1.3;color:var(--lux-ink,#f6f1e7);font-family:var(--font-display,inherit);}
.srb-center .srb-public-title p {color:var(--lux-muted,#b7ab99);font-size:12px;}
.srb-center .srb-public-price {border:1px solid var(--lux-line,rgba(212,175,106,.28));border-radius:13px;padding:14px;background:var(--lux-raise,#1c232e);display:flex;flex-direction:column;gap:7px;}
.srb-center .srb-public-price strong {color:var(--lux,#d4af6a);font-size:clamp(19px,1.7vw,27px);letter-spacing:-.02em;}
.srb-center .srb-public-price small {font-size:11px;color:var(--lux-muted,#b7ab99);}
.srb-center .srb-public-section {padding:0 0 15px;border-bottom:1px solid var(--lux-line,rgba(212,175,106,.28));}
.srb-center .srb-public-section-head {display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px;}
.srb-center .srb-public-section-head h3 {margin:0;font:700 17px/1.4 var(--font-display,inherit);color:var(--lux-ink,#f6f1e7);}
.srb-edit-shortcut {border:1px solid var(--lux-line,rgba(212,175,106,.28));border-radius:9px;padding:6px 9px;background:var(--lux-raise,#1c232e);color:var(--lux,#d4af6a);font:600 11px/1.4 inherit;cursor:pointer;}
.srb-public-facts {display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:10px; margin:0;}
.srb-public-facts > div {padding:12px;background:var(--lux-raise,#1c232e);border:1px solid var(--lux-line,rgba(212,175,106,.28));border-radius:12px;min-width:0;}
.srb-public-facts dt {font-size:11px;color:var(--lux-muted,#b7ab99);margin-bottom:5px;}
.srb-public-facts dd {font-size:14px;font-weight:650;margin:0;overflow-wrap:anywhere;}
.srb-public-gallery-more {font-size:13px;color:var(--lux,#d4af6a);}
.srb-public-gallery-more summary {cursor:pointer;padding:8px;}
.srb-public-preview .srb-map-frame {height:clamp(240px,25vw,340px);}
.srb-public-preview .srb-public-map {display:flex;flex-direction:column;gap:10px;min-width:0;}
/* Live Tab map only: 50% width, scroll-lock until fullscreen, Darwesh markers. */
.srb-sell .srb-public-preview .srb-live-map-shell {
  position: relative;
  width: 50%;
  max-width: 50%;
  box-sizing: border-box;
  min-width: 0;
  border: 1px solid var(--lux-line, var(--line));
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-soft, var(--surface-2));
  margin-inline-end: auto;
}
.srb-sell .srb-public-preview .srb-live-map {
  width: 100%;
  height: clamp(240px, 25vw, 340px);
  min-height: 160px;
  touch-action: pan-y;
}
.srb-sell .srb-public-preview .srb-live-map.leaflet-container {
  pointer-events: none;
  font: inherit;
  background: var(--bg-soft, var(--surface-2));
}
.srb-sell .srb-public-preview .srb-live-map.srb-live-map-interactive {
  pointer-events: auto;
  touch-action: none;
}
.srb-sell .srb-public-preview .srb-live-map-fs {
  position: absolute;
  top: 8px;
  inset-inline-end: 8px;
  z-index: 500;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--lux-line, var(--line));
  background: color-mix(in srgb, var(--surface, #fff) 88%, transparent);
  color: var(--ink, #111);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 2px 10px #00000022;
}
.srb-sell .srb-public-preview .srb-live-map-shell.is-fs,
.srb-sell .srb-public-preview .srb-live-map-shell:fullscreen,
.srb-sell .srb-public-preview .srb-live-map-shell:-webkit-full-screen {
  width: 100%;
  max-width: none;
  height: 100%;
  border-radius: 0;
  margin: 0;
}
.srb-sell .srb-public-preview .srb-live-map-shell.is-fs .srb-live-map,
.srb-sell .srb-public-preview .srb-live-map-shell:fullscreen .srb-live-map,
.srb-sell .srb-public-preview .srb-live-map-shell:-webkit-full-screen .srb-live-map {
  height: 100%;
  min-height: 100%;
}
html.srb-live-map-fs-open { overflow: hidden; }
@media (max-width: 760px) {
  .srb-sell .srb-public-preview .srb-live-map-shell {
    width: 50%;
    max-width: 50%;
  }
}
.srb-public-preview .srb-description {font-size:13px;line-height:1.8;color:var(--lux-ink,#f6f1e7);}
.srb-back-to-cards,
.srb-view-property {
  background:transparent;border:1px solid var(--lux-line,rgba(212,175,106,.28));border-radius:99px;
  padding:7px 11px;color:var(--lux-muted,#b7ab99);font:600 11px/1.3 inherit;cursor:pointer;
  text-decoration:none; display:inline-flex; align-items:center; justify-content:center;
}
.srb-view-property:hover { color:var(--lux-ink, var(--ink)); border-color:var(--lux, var(--accent)); }
.srb-view-property.is-unpublished {
  cursor:default; opacity:.85; pointer-events:none; color:var(--muted);
}
/* Private sidebar occupies its column; verbose history stays fully available in Case File. */
.srb-workflow .srb-seller-row {padding:5px 0;gap:12px;}
.srb-workflow .srb-avatar {width:48px;height:48px;border:1px solid var(--lux-line,rgba(212,175,106,.28));}
.srb-workflow .srb-seller-identity {overflow-wrap:anywhere;}
.srb-workflow .srb-seller-identity > strong {font-size:13px;}
.srb-workflow .srb-timeline-compact > li:nth-child(n+4) {display:none;}
.srb-workflow .srb-block {overflow-wrap:anywhere;}
/* Kurdish/Arabic change only typography direction, not the positions of columns. */
html[dir="rtl"] .srb-split {direction:ltr;}
html[dir="rtl"] .srb-split > .srb-list, html[dir="rtl"] .srb-split > .srb-center, html[dir="rtl"] .srb-split > .srb-workflow {direction:rtl;}
html[dir="rtl"] .srb-list .srb-cards {direction:ltr;}
html[dir="rtl"] .srb-mcard {direction:rtl;}
@media (max-width:1100px) and (min-width:870px) {
  .srb-split {grid-template-columns:minmax(220px,.8fr) minmax(0,1.7fr) minmax(240px,.85fr);}
}
@media (max-width:869px) {
  .srb-split {display:flex;flex-direction:column;min-height:0;}
  .srb-split > .srb-list,.srb-split > .srb-center,.srb-split > .srb-workflow {min-height:0;width:100%;}
  .srb-split > .srb-decision-toolbar {order:0;width:100%;box-sizing:border-box;}
  .srb-split > .srb-list {order:1;}
  .srb-split > .srb-center {order:2;}
  .srb-split > .srb-workflow {order:3;}
  .srb-center .srb-public-overview {grid-template-columns:1fr;}
}
@media (max-width:540px) {
  .srb-center .srb-public-preview .srb-gallery {grid-template-columns:1fr;}
  .srb-center .srb-public-facts {grid-template-columns:repeat(2,minmax(0,1fr));}
  .srb-decision-toolbar {padding:9px;}
  .srb-decision-toolbar > strong {width:100%;}
}
/* Match the selector specificity of the desktop rule on narrow screens. */
@media (max-width: 869px) {
  .srb-sell .srb-split, .srb-split { display:flex; flex-direction:column; grid-template-columns:none; min-height:0; }
  .srb-split > .srb-list, .srb-split > .srb-center, .srb-split > .srb-workflow { height:auto; min-height:0; width:100%; }
}


/* DARWESH • approved 3-column Sell Admin Workspace.
   Full-width card rail -> decisions -> seller | live preview | sell form (desktop LTR).
   Restricted to Sell; KPI row, existing theme, dock, Map and other routes unchanged. */
.srb-sell .srb-split {
  display:grid !important;
  grid-template-columns: minmax(0,20%) minmax(0,50%) minmax(0,30%) !important;
  grid-template-rows: auto auto minmax(0,1fr);
  grid-template-areas: 'rail rail rail' 'decisions decisions decisions' 'seller preview form';
  gap:12px; align-items:start; min-height:0; overflow:visible;
}
.srb-sell .srb-split > .srb-list { grid-area:rail; position:relative !important; top:auto; width:100%; height:auto; min-height:0; max-height:none!important; overflow:visible!important; box-sizing:border-box; padding:12px; gap:10px; }
.srb-sell .srb-split > .srb-admin-form { grid-area:form; width:100%; max-height:none!important; overflow:visible!important; min-height:0; align-self:start; padding:12px; box-sizing:border-box; border-radius:16px; border:1px solid var(--lux-line, var(--line)); background:var(--lux-panel, var(--surface)); }
.srb-sell .srb-split > .srb-center, .srb-sell .srb-split > .srb-detail-empty { grid-area:preview; width:100%; max-height:none!important; overflow:visible!important; min-height:0; align-self:start; }
.srb-sell .srb-split > .srb-workflow { grid-area:seller; display:flex; flex-direction:column; gap:12px; width:100%; height:auto; max-height:none!important; overflow:visible!important; position:static!important; min-height:0; align-self:start; }
.srb-sell .srb-split:not(:has(> .srb-decision-toolbar)) {grid-template-rows:auto minmax(0,1fr);grid-template-areas:'rail rail rail' 'seller preview form';}
.srb-sell .srb-split > .srb-decision-toolbar {grid-area:decisions; display:block; width:100%; min-height:0; padding:10px; box-sizing:border-box; border-radius:16px; border:1px solid var(--lux-line); background:var(--lux-panel);}
.srb-sell .srb-decision-toolbar > strong, .srb-sell .srb-decision-empty {display:none;}
.srb-sell .srb-decision-buttons {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;width:100%;}
.srb-sell .srb-decision-buttons > .srb-workflow-btn {display:flex;justify-content:center;align-items:center;gap:10px;min-height:48px;width:100%;border-radius:12px;padding:11px 12px;font-size:clamp(12px,1vw,15px);font-weight:750;line-height:1.2;letter-spacing:0;white-space:normal;box-shadow:inset 0 1px 0 #ffffff23, 0 2px 8px #0000001c;transition:filter .15s ease,transform .15s ease;}
.srb-sell .srb-decision-buttons > .srb-workflow-btn:hover {filter:brightness(1.12);transform:translateY(-1px)}
.srb-sell .srb-decision-buttons > .srb-workflow-btn:focus-visible {outline:3px solid var(--lux,#d4af6a);outline-offset:3px}
.srb-sell .srb-decision-icon {font:800 21px/1 system-ui,sans-serif;flex:none}
.srb-sell .srb-decision-buttons .is-approve {background:linear-gradient(120deg,#075b46,#058460);color:#fff;border-color:#159d75;}
.srb-sell .srb-decision-buttons .is-changes {background:linear-gradient(120deg,#1b328d,#354ac2);color:#fff;border-color:#4965e1;}
.srb-sell .srb-decision-buttons .is-sold {background:linear-gradient(120deg,#88601d,#bb862f);color:#fff;border-color:#d5a654;}
.srb-sell .srb-decision-buttons .is-reject {background:linear-gradient(120deg,#8f2631,#bb2738);color:#fff;border-color:#d23b49;}
.srb-sell .srb-decision-buttons .is-publish {background:linear-gradient(120deg,#145d92,#147cbd);color:#fff;}
/* Legacy status chips / bulky filter row removed — Minimal Command Bar owns filtering chrome. */
.srb-sell .srb-list .srb-tabs,
.srb-sell .srb-list .srb-filters { display: none !important; }
.srb-sell .srb-list .srb-cards {display:flex;flex-flow:row nowrap;gap:10px;min-width:0;width:100%;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;scroll-behavior:smooth;padding:2px 2px 5px;box-sizing:border-box}
.srb-sell .srb-list .srb-cards::-webkit-scrollbar{display:none}
.srb-sell .srb-list .srb-cards > .srb-mcard {flex:0 0 clamp(235px,24%,375px);width:clamp(235px,24%,375px);max-width:calc(100% - 4px);scroll-snap-align:start;min-width:0;}
.srb-sell .srb-list .srb-mcard-btn {min-height:95px;align-items:center;}
.srb-sell .srb-list .srb-q-thumb {width:76px;height:76px;}
.srb-sell .srb-list .srb-m-title {font-size:13px;white-space:normal;}
.srb-sell .srb-list .srb-rail-controls {display:flex;justify-content:flex-end;align-items:center;gap:8px;order:9;margin-top:0;}
.srb-sell .srb-list .srb-rail-arrow {width:34px;height:30px;}
.srb-sell .srb-list .srb-pager {margin-top:0}
/* Profile portrait/phone/name/account details — real authorized values only. */
.srb-sell .srb-workflow .srb-block {padding:16px;border-radius:16px;gap:11px;}
.srb-sell .srb-workflow .srb-seller-row {display:grid;grid-template-columns:86px minmax(0,1fr);gap:14px;align-items:center;padding:7px 0;}
.srb-sell .srb-workflow .srb-avatar {width:86px;height:86px;border-radius:50%;object-fit:cover;border:2px solid var(--lux,#d4af6a);box-shadow:0 3px 16px #0004;background:linear-gradient(145deg,#12424a,#24374a);color:white;}
.srb-sell .srb-workflow .srb-avatar-initials {font:750 25px/1.2 system-ui,sans-serif}
.srb-sell .srb-workflow .srb-seller-identity {min-width:0;overflow-wrap:anywhere;}
.srb-sell .srb-workflow .srb-seller-identity > strong {display:block;font-size:16px;line-height:1.35;margin-bottom:6px;color:var(--lux-ink,#faf8f3);}
.srb-sell .srb-workflow .srb-seller-identity p {font-size:12px;line-height:1.4;margin:5px 0;}
.srb-sell .srb-workflow .srb-profile-missing {opacity:.65;}
.srb-sell .srb-workflow .srb-profile-link {justify-content:center;width:100%;margin-top:6px;min-height:37px;box-sizing:border-box;font-weight:700;border-radius:10px;}
.srb-sell .srb-workflow .srb-account-details {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:0;}
.srb-sell .srb-workflow .srb-account-details>div {display:flex;flex-direction:column;gap:3px;padding:10px;border:1px solid var(--lux-line,rgba(212,175,106,.2));border-radius:10px;background:var(--lux-raise,#1c232e);min-width:0;}
.srb-sell .srb-workflow .srb-account-details dt {font-size:11px;color:var(--lux-muted,#b7ab99);}
.srb-sell .srb-workflow .srb-account-details dd {font-size:12px;font-weight:650;margin:0;overflow-wrap:anywhere;}
.srb-sell .srb-workflow .srb-status-disclosure {border:1px solid var(--lux-line,rgba(212,175,106,.28));border-radius:12px;padding:10px;}
.srb-sell .srb-workflow .srb-status-disclosure summary {cursor:pointer;font-size:12px;font-weight:650;color:var(--lux-muted,#b7ab99);}
.srb-sell .srb-workflow .srb-status-disclosure .srb-block {margin-top:8px;}
/* Public preview + edit remain data-bound and scroll with the page. */
.srb-sell .srb-center .srb-public-preview .srb-gallery .srb-photo-main{height:clamp(270px,33vw,490px);}
.srb-sell .srb-center .srb-public-overview {margin-top:2px}
.srb-sell .srb-center .srb-public-section {padding-bottom:17px;}
.srb-sell .srb-center .srb-preview-nav {
  border-radius:13px;
  display:flex;
  justify-content:center;
  align-items:center;
  width:100%;
  box-sizing:border-box;
}
.srb-sell .srb-center .srb-preview-nav .srb-back-to-cards,
.srb-sell .srb-center .srb-preview-nav .srb-view-property {
  margin-inline:auto;
}
/* Keep desktop column order stable in Sorani, but text flows RTL. */
html[dir='rtl'] .srb-sell .srb-split {direction:ltr;}
html[dir='rtl'] .srb-sell .srb-split > .srb-list,
html[dir='rtl'] .srb-sell .srb-split > .srb-admin-form,
html[dir='rtl'] .srb-sell .srb-split > .srb-center,
html[dir='rtl'] .srb-sell .srb-split > .srb-workflow,
html[dir='rtl'] .srb-sell .srb-split > .srb-decision-toolbar {direction:rtl;}
html[dir='rtl'] .srb-sell .srb-list .srb-cards {direction:ltr;}
html[dir='rtl'] .srb-sell .srb-list .srb-mcard {direction:rtl;}
.srb-sell .srb-rail-tabs {
  display:grid; grid-template-columns:1fr 1fr; gap:6px; padding:4px; border-radius:12px;
  border:1px solid var(--lux-line, var(--line)); background:var(--lux-raise, var(--surface-2));
}
.srb-sell .srb-rail-tab {
  flex:1 1 auto; min-height:36px; padding:8px 10px; border-radius:9px; border:1px solid transparent;
  background:transparent; color:var(--lux-muted, var(--muted)); font:650 12.5px/1.2 inherit; cursor:pointer;
}
.srb-sell .srb-rail-tab.on,
.srb-sell .srb-rail-tab[aria-selected="true"] {
  color:var(--lux-ink, var(--ink)); background:var(--lux-panel, var(--surface));
  border-color:var(--lux-line, var(--line)); box-shadow:inset 0 1px 0 #ffffff14;
}
.srb-sell .srb-rail-tab:focus-visible { outline:2px solid var(--lux, var(--accent)); outline-offset:2px; }
.srb-sell .srb-rail-panel { display:flex; flex-direction:column; gap:10px; min-width:0; }
.srb-sell .srb-rail-panel[hidden] { display:none !important; }
/* Compact owner profile — Seller tab only (authorized Admin privateSeller). */
.srb-sell .srb-workflow .srb-owner-card {
  display:grid; grid-template-columns:64px minmax(0,1fr); gap:12px; align-items:center;
  padding:12px; border-radius:14px; border:1px solid var(--lux-line, var(--line));
  background:var(--lux-raise, var(--surface-2)); min-width:0; width:100%; box-sizing:border-box;
}
.srb-sell .srb-workflow .srb-owner-card .srb-seller-identity { min-width:0; }
.srb-sell .srb-workflow .srb-owner-card .srb-avatar {
  width:64px; height:64px; border-radius:14px; object-fit:cover;
}
.srb-sell .srb-workflow .srb-owner-card .srb-avatar-initials {
  display:grid; place-items:center; font-weight:700; font-size:18px;
}
.srb-sell .srb-workflow .srb-owner-name {
  display:block; font-size:14px; font-weight:650; line-height:1.3; margin:0 0 2px;
}
.srb-sell .srb-workflow .srb-owner-card .srb-profile-phone {
  margin:0 0 6px; font-size:12.5px; font-weight:500; color:var(--lux-ink, var(--ink));
}
.srb-sell .srb-workflow .srb-owner-card .srb-profile-missing { margin:0 0 6px; font-size:12px; }
.srb-sell .srb-workflow .srb-owner-uid {
  margin:8px 0 0; font-size:11px; color:var(--lux-muted, var(--muted)); overflow-wrap:anywhere;
}
.srb-sell .srb-workflow .srb-owner-uid span {
  font-weight:650; letter-spacing:.04em; text-transform:uppercase; margin-inline-end:4px;
}
.srb-sell .srb-hist-api-gap { margin:8px 0 0; font-size:11px; line-height:1.4; }
.srb-sell .srb-workflow > .srb-action-grid[hidden] { display:none !important; }
/* Seller Card must not host Request Status / Admin Actions / Notes chrome. */
.srb-sell .srb-workflow > .srb-status-disclosure,
.srb-sell .srb-workflow > .srb-secondary-decisions { display:none !important; }
.srb-sell .srb-admin-form .srb-onepage-edit { margin:0; }
.srb-sell .srb-admin-form .srb-edit-actions .btn.primary { min-width:140px; }
/* Original Standard Sell form embed — expands with page scroll (no internal iframe scroller). */
.srb-sell .srb-original-sell-wrap {
  display:flex; flex-direction:column; gap:10px; min-width:0; min-height:0;
  height:auto; align-self:start; overflow:visible; overflow-anchor:none;
}
.srb-sell .srb-original-sell-frame {
  display:block; width:100%; height:auto; min-height:0 !important;
  border:1px solid var(--lux-line, var(--line)); border-radius:12px;
  background:var(--lux-raise, var(--surface-2));
  overflow:hidden;
  overflow-anchor:none; /* prevent browser scroll-anchoring jumps on iframe height sync */
  align-self:start; /* do not stretch to sibling Live/Seller column height */
}
.srb-sell .srb-admin-form { overflow-anchor:none; }
.srb-sell .srb-original-sell-wrap.is-readonly .srb-original-sell-frame {
  opacity:.92; filter:saturate(.92);
}
.srb-sell .srb-original-sell-savebar {
  display:flex; flex-direction:column; align-items:stretch; gap:8px;
  padding:10px 0 0; margin:0; border:0; background:transparent; box-shadow:none;
}
.srb-sell .srb-original-sell-savebar .btn.primary {
  min-width:140px; align-self:stretch; width:100%; min-height:46px;
}
html[dir='rtl'] .srb-sell .srb-original-sell-savebar .btn.primary { text-align:center; }
.srb-sell .srb-original-sell-savebar .srb-edit-error {
  margin:0; font-size:12px; color:#e35d6a;
}
.srb-sell .srb-workflow .srb-action-grid[hidden] { display:none !important; }
.srb-sell .srb-sale-facts { margin:0; }
@media(max-width:1200px){
 .srb-sell .srb-split{grid-template-columns:minmax(0,20%) minmax(0,50%) minmax(0,30%)!important}
 .srb-sell .srb-list .srb-cards>.srb-mcard{flex-basis:clamp(225px,32%,355px)}
}
@media(max-width:1050px){
 .srb-sell .srb-split{
   grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
   grid-template-areas:'rail rail' 'decisions decisions' 'form preview' 'seller seller';
 }
 .srb-sell .srb-split:not(:has(>.srb-decision-toolbar)){grid-template-areas:'rail rail' 'form preview' 'seller seller';}
 .srb-sell .srb-list .srb-cards>.srb-mcard{flex-basis:clamp(225px,32%,355px)}
}
@media(max-width:760px){
 .srb-sell .srb-split{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-areas:'rail' 'decisions' 'form' 'preview' 'seller';grid-template-rows:auto auto auto auto auto;}
 .srb-sell .srb-split:not(:has(>.srb-decision-toolbar)){grid-template-areas:'rail' 'form' 'preview' 'seller';grid-template-rows:auto auto auto auto;}
 .srb-sell .srb-decision-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}
 .srb-sell .srb-list .srb-cards>.srb-mcard{flex-basis:clamp(240px,76%,350px)}
 .srb-sell .srb-split>.srb-list,.srb-sell .srb-split>.srb-admin-form,.srb-sell .srb-split>.srb-center,.srb-sell .srb-split>.srb-workflow{width:100%;}
}
@media(max-width:430px){
 .srb-sell .srb-decision-toolbar{padding:7px;}
 .srb-sell .srb-decision-buttons{gap:7px}
 .srb-sell .srb-decision-buttons>.srb-workflow-btn{min-height:44px;font-size:11.5px;padding:7px}
 .srb-sell .srb-workflow .srb-seller-row{grid-template-columns:65px minmax(0,1fr)}
 .srb-sell .srb-workflow .srb-avatar{height:65px;width:65px;}
 .srb-sell .srb-list .srb-cards>.srb-mcard{flex-basis:84%;}
}

.srb-sell .srb-secondary-decisions{border:1px solid var(--lux-line);border-radius:12px;padding:10px;color:var(--lux-ink);background:var(--lux-panel)}
.srb-sell .srb-secondary-decisions summary{font-size:12px;cursor:pointer;color:var(--lux-muted);font-weight:650}
.srb-sell .srb-secondary-decision-buttons{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.srb-sell .srb-secondary-decision-buttons>button{flex:1;min-width:120px}

/* DG_SELL_PHOTO_TOP_CARDS_V2 — VISUAL CARD STYLING ONLY.
   Photo-on-top layout based on the user's original reference.
   Scoped to existing Admin Sell carousel cards. No markup, data, status,
   event handlers, permissions, filters or navigation logic is changed. */
.srb-sell .srb-list .srb-mcard {
  overflow: hidden;
  border-radius: 15px;
  border: 1px solid var(--lux-line);
  background: var(--lux-raise);
  box-shadow: var(--shadow-sm);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.srb-sell .srb-list .srb-mcard:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  box-shadow: var(--shadow);
}
.srb-sell .srb-list .srb-mcard.is-on {
  outline: none;
  border-color: var(--lux);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent), var(--shadow-sm);
}
/* The existing whole-card click target remains untouched; only layout changes. */
.srb-sell .srb-list .srb-mcard-btn {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  padding: 0;
  gap: 0;
  text-align: start;
  overflow: visible;
}
.srb-sell .srb-list .srb-q-thumb {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2.15 / 1;
  min-height: 92px;
  max-height: 153px;
  flex: none;
  border-radius: 0;
  background-color: var(--bg-soft);
  background-size: cover;
  background-position: center;
  transition: filter .2s ease;
}
.srb-sell .srb-list .srb-mcard:hover .srb-q-thumb {filter: brightness(1.06)}
.srb-sell .srb-list .srb-mcard-body {
  flex: none;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  grid-template-areas: "heading price" "location location" "metadata metadata";
  column-gap: 10px;
  row-gap: 4px;
  width: 100%;
  min-width: 0;
  padding: 10px 11px 11px;
  overflow: visible;
  justify-content: initial;
  background: var(--lux-raise);
}
.srb-sell .srb-list .srb-m-top {
  grid-area: heading;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 5px;
  justify-content: flex-start;
  flex-wrap: nowrap;
}
.srb-sell .srb-list .srb-m-title {
  color: var(--lux-ink);
  font-size: 12px;
  font-weight: 760;
  line-height: 1.25;
  letter-spacing: -.015em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.srb-sell .srb-list .srb-m-top .srb-pill {
  position: absolute;
  inset-block-start: 7px;
  inset-inline-end: 7px;
  padding: 3px 7px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  color: var(--ink);
  border: 1px solid var(--line);
  font-size: 9px;
  line-height: 1.15;
  backdrop-filter: blur(7px);
  white-space: nowrap;
  max-width: 60%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.srb-sell .srb-list .srb-mcard {position: relative}
.srb-sell .srb-list .srb-price {
  grid-area: price;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 830;
  color: var(--lux, #d4af6a);
  white-space: nowrap;
  text-align: end;
  justify-self: end;
}
.srb-sell .srb-list .srb-mcard-body > small:not(.srb-m-foot) {
  grid-area: location;
  font-size: 10.5px;
  line-height: 1.3;
  color: var(--lux-muted,#b7ab99);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.srb-sell .srb-list .srb-mcard-body > .srb-m-foot {
  grid-area: metadata;
  display: flex;
  flex-wrap: nowrap;
  max-height: 16px;
  overflow: hidden;
  white-space: nowrap;
  font-size: 9px;
  line-height: 1.3;
  color: var(--lux-muted,#b7ab99);
  opacity: .83;
}
/* Preserve current 4-up desktop / 3-up laptop / 2-up tablet / 1-up phone rail sizes. */
@media(max-width:1250px) {
  .srb-sell .srb-list .srb-mcard-body {grid-template-columns:1fr;grid-template-areas:"heading" "price" "location" "metadata";}
  .srb-sell .srb-list .srb-price {justify-self:start;text-align:start;}
}
@media(max-width:520px) {
  .srb-sell .srb-list .srb-q-thumb {aspect-ratio:2 / 1;max-height:180px}
  .srb-sell .srb-list .srb-mcard-body {padding:11px 12px 12px}
  .srb-sell .srb-list .srb-m-title {font-size:13px}
  .srb-sell .srb-list .srb-price {font-size:16px}
}
/* End DG_SELL_PHOTO_TOP_CARDS_V2 */

/* Compact four-up rail; preserve existing selection and navigation controls. */
.srb-sell .srb-list .srb-cards>.srb-mcard{flex:0 0 clamp(195px,23.8%,330px);max-width:calc(100% - 3px);}
.srb-sell .srb-list .srb-rail-controls{justify-content:flex-end;}
.srb-sell .srb-list .srb-mcard-btn{align-items:stretch!important;}
.srb-sell .srb-list .srb-pager{display:none!important;}
.srb-sell .srb-list .srb-rail-controls{margin-top:4px;}
@media(max-width:900px){.srb-sell .srb-list .srb-cards>.srb-mcard{flex-basis:clamp(210px,39%,300px);}}
@media(max-width:560px){.srb-sell .srb-list .srb-cards>.srb-mcard{flex-basis:clamp(215px,85%,320px);}}


/* DG_SELL_CASE_V2 — meaningful private review, not a raw database field dump.
   All evidence and metadata still accessible, no backend/API changes. */
.srb-sell .srb-admin-case{display:flex;flex-direction:column;gap:14px;color:var(--lux-ink,#f1eee8);min-width:0}
.srb-sell .srb-case-hero{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid var(--lux-line,#514838);border-radius:16px;padding:18px 20px;background:linear-gradient(115deg,rgba(212,175,106,.13),rgba(44,73,84,.08) 60%,transparent)}
.srb-sell .srb-case-eyebrow{display:inline-block;color:var(--lux,#d4af6a);font-size:10px;font-weight:800;letter-spacing:.09em;margin-bottom:7px}
.srb-sell .srb-case-hero h2{font-size:clamp(18px,2vw,24px);line-height:1.25;margin:0 0 6px;font-weight:770}
.srb-sell .srb-case-hero p{margin:0;color:var(--lux-muted,#afa99e);font-size:12.5px;max-width:54ch;line-height:1.55}
.srb-sell .srb-case-badge{display:inline-flex;align-items:center;justify-content:center;padding:5px 9px;border-radius:999px;background:rgba(212,175,106,.11);border:1px solid rgba(212,175,106,.25);color:var(--lux,#e2bc79);font-size:11px;white-space:nowrap;font-weight:710}
.srb-sell .srb-case-badge.is-ok{background:rgba(22,163,113,.12);border-color:rgba(22,163,113,.32);color:#5ed9b0}
.srb-sell .srb-case-badge.is-muted{background:rgba(136,148,166,.10);border-color:rgba(136,148,166,.22);color:var(--lux-muted,#b6afa2)}
.srb-sell .srb-case-panel{border:1px solid var(--lux-line,rgba(212,175,106,.25));border-radius:15px;padding:16px 17px;background:var(--lux-panel,#141a24);display:flex;flex-direction:column;gap:12px;min-width:0}
.srb-sell .srb-case-panel-head{display:flex;justify-content:space-between;align-items:center;gap:10px;min-width:0}
.srb-sell .srb-case-panel-head h3{font-size:14px;font-weight:750;margin:0}
.srb-sell .srb-case-inline-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--lux-line,rgba(212,175,106,.30));border-radius:10px;background:var(--lux-raise,#1e2634);color:var(--lux-ink,#f6f1e8);font:inherit;font-size:11.5px;font-weight:680;min-height:32px;padding:7px 11px;cursor:pointer;max-width:100%;}
.srb-sell .srb-case-inline-btn:hover{border-color:var(--lux,#d4af6a)}
.srb-sell .srb-case-inline-btn:focus-visible{outline:2px solid var(--lux,#d4af6a);outline-offset:2px}
.srb-sell .srb-case-property{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px;border-radius:12px;background:var(--lux-raise,#1a2230);border:1px solid var(--lux-line,rgba(212,175,106,.20));min-width:0}
.srb-sell .srb-case-property-copy{display:flex;flex-direction:column;gap:4px;min-width:0}
.srb-sell .srb-case-property-copy strong{font-size:14px;overflow-wrap:anywhere}
.srb-sell .srb-case-property-copy span{font-size:11px;color:var(--lux-muted,#b4aa99)}
.srb-sell .srb-case-property-price{color:var(--lux,#d4af6a);font-size:18px;white-space:nowrap}
.srb-sell .srb-case-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.srb-sell .srb-case-metric{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px;padding:12px;border-radius:11px;background:var(--lux-raise,#1b2430);border:1px solid var(--lux-line,rgba(212,175,106,.20));min-width:0}
.srb-sell .srb-case-metric strong{font-size:19px;font-weight:760;line-height:1;color:var(--lux-ink,#f5f1eb)}
.srb-sell .srb-case-metric span{font-size:10.5px;color:var(--lux-muted,#ada79b)}
.srb-sell .srb-case-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.srb-sell .srb-case-facts>div{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:9px 11px;border:1px solid var(--lux-line,rgba(212,175,106,.16));border-radius:10px}
.srb-sell .srb-case-facts>div>span:first-child{color:var(--lux-muted,#afa99e);font-size:11px}
.srb-sell .srb-case-panel .srb-profile-card{display:flex;align-items:center;gap:14px;margin:2px 0 3px}
.srb-sell .srb-case-panel .srb-profile-card .srb-avatar{width:66px;height:66px;border-radius:50%;object-fit:cover;border:2px solid var(--lux,#d4af6a);flex:none;background:#154250;color:#fff}
.srb-sell .srb-case-panel .srb-profile-card .srb-seller-identity{min-width:0;flex:1;overflow-wrap:anywhere}
.srb-sell .srb-case-panel .srb-profile-card .srb-seller-identity strong{font-size:14px}
.srb-sell .srb-case-panel .srb-profile-card p{margin:4px 0;font-size:11px;color:var(--lux-muted,#afa99e)}
.srb-sell .srb-case-files{display:flex;flex-wrap:wrap;gap:7px;padding-top:9px;border-top:1px solid var(--lux-line,rgba(212,175,106,.17))}
.srb-sell .srb-case-file-list{display:flex;gap:7px;flex-wrap:wrap}
.srb-sell .srb-case-empty{font-size:12px;color:var(--lux-muted,#aaa9a5);margin:0;line-height:1.5}
.srb-sell .srb-case-review-note{background:rgba(210,153,68,.07);border:1px solid rgba(210,153,68,.2);border-radius:10px;padding:10px 12px}
.srb-sell .srb-case-review-note strong{font-size:11px}
.srb-sell .srb-case-review-note p{font-size:12px;line-height:1.6;white-space:pre-wrap;margin:4px 0 0}
.srb-sell .srb-case-panel .srb-notes{margin:0;padding:0;list-style:none}
.srb-sell .srb-case-panel .srb-note{padding:10px 12px;background:var(--lux-raise,#1a2230);border-radius:10px;min-width:0}
.srb-sell .srb-case-panel .srb-note-meta{display:flex;gap:8px;justify-content:space-between;align-items:center}
.srb-sell .srb-case-panel .srb-note-body{margin:6px 0 0;font-size:12px;line-height:1.5}
.srb-sell .srb-case-timeline{margin:0;list-style:none;padding-inline-start:18px;display:grid;gap:13px}
.srb-sell .srb-case-timeline .srb-event{position:relative;border-inline-start:2px solid rgba(212,175,106,.33);padding-inline-start:15px;padding-bottom:7px;min-width:0}
.srb-sell .srb-case-timeline .srb-event::before{content:"";position:absolute;inset-inline-start:-5px;top:5px;width:8px;height:8px;border-radius:50%;background:var(--lux,#d4af6a);box-shadow:0 0 0 3px var(--lux-panel,#141a24)}
.srb-sell .srb-case-timeline .srb-event-top{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}
.srb-sell .srb-case-timeline .srb-event-top strong{font-size:12.5px}
.srb-sell .srb-case-timeline .srb-event-top time{font-size:10.5px;color:var(--lux-muted,#aaa396)}
.srb-sell .srb-case-timeline .srb-event p{color:var(--lux-muted,#bdb3a6);font-size:12px;line-height:1.5;margin:5px 0}
.srb-sell .srb-event-technical{display:block;margin:7px 0 0;font-size:11px;color:var(--lux-muted,#aba397);overflow-wrap:anywhere}
.srb-sell .srb-event-technical summary{display:list-item;cursor:pointer;user-select:none;font-size:10.5px}
.srb-sell .srb-event-technical code{display:block;margin:7px 0 2px;overflow-wrap:anywhere;color:var(--lux-muted,#b4ab9f)}
.srb-sell .srb-event-technical dl{margin:6px 0;display:grid;gap:7px}
.srb-sell .srb-event-technical dl>div{display:flex;flex-wrap:wrap;gap:7px}
.srb-sell .srb-case-technical{border:1px solid var(--lux-line,rgba(212,175,106,.26));border-radius:12px;background:var(--lux-raise,#1a2230);padding:12px 14px}
.srb-sell .srb-case-technical>summary{cursor:pointer;color:var(--lux-muted,#bbb1a2);font-size:12px;font-weight:650}
.srb-sell .srb-case-technical>.srb-facts,.srb-sell .srb-case-technical>dl{margin-top:13px}
.srb-sell .srb-case-technical dd{overflow-wrap:anywhere}
/* Dense sidebar timeline: keep actor IDs collapsed, not exposed at every glance. */
.srb-sell .srb-workflow .srb-timeline-compact .srb-event-technical{display:none}
@media(max-width:900px){.srb-sell .srb-case-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){.srb-sell .srb-case-hero{padding:14px;align-items:flex-start;flex-wrap:wrap}.srb-sell .srb-case-property{align-items:flex-start;flex-direction:column}.srb-sell .srb-case-facts{grid-template-columns:1fr}.srb-sell .srb-case-panel{padding:13px}.srb-sell .srb-case-panel-head{flex-wrap:wrap}}
html[dir="rtl"] .srb-sell .srb-admin-case{direction:rtl;text-align:start}
/* End DG_SELL_CASE_V2 */

/* DG_ACTIONS_ALWAYS_VISIBLE_V1: layout-only slots, no permission changes. */
.srb-sell .srb-decision-buttons > .srb-workflow-btn:disabled {
  opacity:.48;
  filter:saturate(.6);
  cursor:not-allowed;
  box-shadow:inset 0 1px 0 #ffffff10;
}
.srb-sell .srb-decision-buttons > .srb-workflow-btn:disabled:hover {
  transform:none;
  filter:saturate(.6);
}
.srb-sell .srb-decision-buttons > .srb-workflow-btn:not(:disabled):hover {
  filter:brightness(1.12);
}

/* DG_ONEPAGE_EDIT_V1 — single continuous editor, no stepper / tabs inside.
   Only scoped to Admin Sell Edit; preserves input names, Save API & data. */
.srb-sell .srb-onepage-edit {gap:9px;min-width:0;}
.srb-sell .srb-onepage-head {padding:13px 15px;border:1px solid var(--lux-line);border-radius:13px;background:linear-gradient(105deg,var(--accent-soft),var(--surface-2));display:flex;align-items:center;justify-content:space-between;gap:10px;}
.srb-sell .srb-onepage-eyebrow {font-size:10px;font-weight:800;letter-spacing:.07em;color:var(--lux)}
.srb-sell .srb-onepage-head h2 {font-size:clamp(16px,1.7vw,21px);margin:5px 0;}
.srb-sell .srb-onepage-head p {margin:0;color:var(--lux-muted);font-size:11.5px;line-height:1.5}
.srb-sell .srb-onepage-toggle {flex:none;background:var(--lux-raise);color:var(--lux-ink);border:1px solid var(--lux-line);border-radius:10px;padding:8px 10px;min-height:36px;cursor:pointer;font:700 11.5px/1.2 inherit}
.srb-sell .srb-onepage-section {display:block;border:1px solid var(--lux-line);border-radius:13px;background:var(--lux-raise);overflow:hidden;padding:0;margin:0;}
.srb-sell .srb-onepage-section>summary {list-style:none;display:flex;gap:9px;align-items:center;min-height:43px;padding:7px 13px;cursor:pointer;color:var(--lux-ink);font-size:12.5px;font-weight:750}
.srb-sell .srb-onepage-section>summary::-webkit-details-marker{display:none}
.srb-sell .srb-onepage-section[open]>summary{border-bottom:1px solid var(--lux-line,rgba(212,175,106,.18));}
.srb-sell .srb-onepage-section>summary:hover{background:var(--accent-soft)}
.srb-sell .srb-onepage-mark {display:inline-grid;place-items:center;flex:none;width:28px;height:28px;border-radius:9px;background:var(--info-soft);color:var(--info);border:1px solid color-mix(in srgb, var(--info) 22%, transparent);font:800 16px/1 system-ui}
.srb-sell .srb-onepage-summary-meta{margin-inline-start:auto;color:var(--lux-muted);font-size:10px;font-weight:550}
.srb-sell .srb-section-visibility{display:inline-flex;align-items:center;gap:6px;margin-inline-start:8px;padding:4px 8px;border-radius:999px;border:1px solid var(--lux-line);background:var(--surface);color:var(--lux-muted);font-size:10px;font-weight:650;cursor:pointer;flex:none;}
.srb-sell .srb-section-visibility input{width:14px;height:14px;accent-color:var(--accent);cursor:pointer;}
.srb-sell .srb-section-visibility-admin{border-style:dashed;opacity:.9;cursor:default;}
.srb-sell .srb-onepage-section.is-public-hidden{border-color:rgba(201,120,60,.45);}
.srb-sell .srb-onepage-section.is-public-hidden>summary{background:rgba(160,90,30,.08);}
.srb-sell .srb-onepage-chevron {color:var(--lux,#dfc48b);font-size:18px;transition:transform .15s;}
.srb-sell .srb-onepage-section:not([open]) .srb-onepage-chevron {transform:rotate(90deg)}
.srb-sell .srb-onepage-section-body {padding:12px 14px 13px}
.srb-sell .srb-onepage-edit .srb-edit-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;}
.srb-sell .srb-onepage-edit .srb-edit-grid>label {gap:5px;font-size:11px;min-width:0;font-weight:650;}
.srb-sell .srb-onepage-edit .srb-edit-grid input:not([type=checkbox]),.srb-sell .srb-onepage-edit .srb-edit-grid select{height:35px;min-height:35px;padding:7px 9px;}
.srb-sell .srb-onepage-edit .srb-edit-grid textarea{min-height:61px;max-height:180px;padding:9px;}
.srb-sell .srb-onepage-edit .srb-edit-grid .srb-edit-wide {grid-column:span 3;}
.srb-sell .srb-onepage-edit .srb-edit-grid .srb-edit-boolean {display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:9px;padding-top:15px;}
.srb-sell .srb-onepage-edit .srb-edit-grid .srb-edit-boolean>span{order:2;}
.srb-sell .srb-onepage-edit .srb-edit-grid .srb-edit-boolean>input{width:18px;height:18px;order:1;flex:none;}
.srb-sell .srb-onepage-media-note {font-size:11.5px;line-height:1.6;color:var(--lux-muted);padding:9px 11px;background:var(--bg-soft);border:1px solid var(--lux-line);border-radius:9px;margin:0 0 9px;}
.srb-sell .srb-onepage-identity {display:flex;flex-direction:column;gap:9px;}
.srb-sell .srb-onepage-identity .srb-seller-row {display:flex;align-items:center;gap:12px;}
.srb-sell .srb-onepage-identity .srb-avatar{width:50px;height:50px;object-fit:cover;}
.srb-sell .srb-onepage-bottom {padding:12px;border:1px solid var(--lux-line,rgba(212,175,106,.22));border-radius:12px;display:flex;flex-direction:column;gap:7px;}
.srb-sell .srb-onepage-reason {display:flex;flex-direction:column;gap:6px;}
.srb-sell .srb-onepage-reason textarea {min-height:60px;}
.srb-sell .srb-onepage-footnote {margin:0;color:var(--lux-muted,#b4ac9a);font-size:11px;}
.srb-sell .srb-onepage-edit .srb-edit-actions{z-index:2;border:1px solid var(--lux-line,rgba(212,175,106,.22));border-radius:12px;gap:10px;}
.srb-sell .srb-onepage-edit :is(input,textarea,select,button):focus-visible,.srb-sell .srb-onepage-section>summary:focus-visible{outline:2px solid var(--lux,#d4af6a);outline-offset:2px;}
html[dir=rtl] .srb-sell .srb-onepage-edit{direction:rtl;}
@media(min-width:1600px){.srb-sell .srb-onepage-edit .srb-edit-grid{grid-template-columns:repeat(4,minmax(0,1fr));}.srb-sell .srb-onepage-edit .srb-edit-grid .srb-edit-wide{grid-column:span 4;}}
@media(max-width:1140px){.srb-sell .srb-onepage-edit .srb-edit-grid {grid-template-columns:repeat(2,minmax(0,1fr));}.srb-sell .srb-onepage-edit .srb-edit-grid .srb-edit-wide{grid-column:span 2;}}
@media(max-width:570px){.srb-sell .srb-onepage-head{align-items:flex-start;flex-direction:column;}.srb-sell .srb-onepage-edit .srb-edit-grid{grid-template-columns:minmax(0,1fr);}.srb-sell .srb-onepage-edit .srb-edit-grid .srb-edit-wide{grid-column:1;}.srb-sell .srb-onepage-section-body{padding:9px;}}

/* Read-only existing uploads gallery inside single admin edit form. */
.srb-sell .srb-onepage-media-library{display:grid;grid-template-columns:repeat(auto-fill,minmax(125px,1fr));gap:9px;margin:6px 0 14px;}
.srb-sell .srb-onepage-media-item{display:flex;flex-direction:column;align-items:stretch;gap:6px;min-width:0;padding:7px;border-radius:10px;border:1px solid var(--lux-line,rgba(212,175,106,.23));background:var(--lux-panel,#141a24);color:var(--lux-ink,#f7f4ed);cursor:pointer;font:650 11px/1.4 inherit;overflow-wrap:anywhere;}
.srb-sell .srb-onepage-media-item img,.srb-sell .srb-onepage-media-icon{height:74px;width:100%;object-fit:cover;border-radius:7px;display:grid;place-items:center;background:#233144;font:800 25px system-ui;color:#aac4ee;}
.srb-sell .srb-media-edit-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 12px;}
.srb-sell .srb-media-chip{position:relative;min-width:0;}
.srb-sell .srb-media-chip-remove{position:absolute;top:4px;inset-inline-end:4px;z-index:2;width:28px;height:28px;border:0;border-radius:8px;background:rgba(12,16,22,.82);color:#fff;cursor:pointer;font:700 16px/1 system-ui;}
.srb-sell .srb-media-chip-remove:hover,.srb-sell .srb-media-chip-remove:focus-visible{background:#c45b5b;}
.srb-sell .srb-media-paths-field{display:block;margin-top:8px;}
.srb-sell .srb-onepage-edit .srb-edit-actions{position:static;bottom:auto;margin-top:4px;}


/* DG EDIT POLISHED v2 — approved one-page design, desktop first.
   Scope: Edit property only; surfaces follow Sun/Moon tokens. */
.srb-sell .srb-onepage-edit{--edit-gold:var(--accent);--edit-edge:var(--line);gap:8px;}
.srb-sell .srb-onepage-head{padding:11px 14px;border-color:var(--edit-edge);background:linear-gradient(98deg,var(--accent-soft),var(--surface-2));}
.srb-sell .srb-onepage-head h2{font-size:17px;margin:2px 0 3px;letter-spacing:-.02em;}
.srb-sell .srb-onepage-eyebrow{font-size:9px;letter-spacing:.09em;}
.srb-sell .srb-onepage-head p{max-width:65ch;font-size:11px;line-height:1.35}
.srb-sell .srb-onepage-edit>.srb-notice{padding:8px 11px!important;margin:0!important;font-size:10.5px!important;line-height:1.4!important;}
.srb-sell .srb-onepage-section{background:var(--surface-2);border-color:var(--edit-edge);border-radius:10px;}
.srb-sell .srb-onepage-section>summary{min-height:39px;padding:5px 11px;gap:8px;font-size:12px;}
.srb-sell .srb-onepage-mark{width:25px;height:25px;border-radius:7px;font-size:14px;background:var(--info-soft);color:var(--info);}
.srb-sell .srb-onepage-summary-meta{color:var(--muted);font-size:10px;letter-spacing:.01em;}
.srb-sell .srb-onepage-section-body{padding:10px 11px 11px;}
.srb-sell .srb-onepage-edit .srb-edit-grid{gap:8px 10px;grid-template-columns:repeat(3,minmax(0,1fr));}
.srb-sell .srb-onepage-edit .srb-edit-grid>label{font-size:10.5px;font-weight:600;gap:4px;}
.srb-sell .srb-onepage-edit .srb-edit-grid input:not([type=checkbox]),
.srb-sell .srb-onepage-edit .srb-edit-grid select{height:34px;min-height:34px;border-radius:7px;font-size:12px;}
.srb-sell .srb-onepage-edit .srb-edit-grid textarea{min-height:45px;max-height:140px;border-radius:7px;font-size:12px;}
.srb-sell .srb-onepage-edit .srb-edit-grid label:has(textarea[name="description"]) textarea{min-height:62px;}
.srb-sell .srb-onepage-edit .srb-edit-boolean{padding-top:12px!important;}
.srb-sell .srb-onepage-edit .srb-edit-boolean input{accent-color:var(--accent);}
.srb-sell .srb-onepage-edit .srb-edit-advanced{background:var(--bg-soft);border:1px solid var(--edit-edge);border-radius:9px;margin-top:7px;overflow:hidden;}
.srb-sell .srb-onepage-edit .srb-edit-advanced>summary{padding:9px 11px;cursor:pointer;font-size:11px;color:var(--edit-gold);font-weight:700;}
.srb-sell .srb-onepage-edit .srb-edit-advanced>.srb-edit-grid{padding:10px 11px;border-top:1px solid var(--edit-edge);}
.srb-sell .srb-onepage-media-note{padding:7px 9px;margin:0 0 9px;font-size:10.5px;line-height:1.35;}
.srb-sell .srb-onepage-media-library{display:flex;gap:8px;overflow-x:auto;margin:0 0 4px;scrollbar-width:thin;}
.srb-sell .srb-onepage-media-item{flex:0 0 112px;max-width:112px;font-size:10px;}
.srb-sell .srb-onepage-media-item img,.srb-sell .srb-onepage-media-icon{height:68px;}
.srb-sell .srb-onepage-private .srb-onepage-identity{gap:5px;}
.srb-sell .srb-onepage-private .srb-onepage-media-note{margin:0;}
.srb-sell .srb-onepage-bottom{padding:9px 11px;gap:5px;}
.srb-sell .srb-onepage-reason textarea{min-height:46px;}
.srb-sell .srb-onepage-edit .srb-edit-actions{margin:0;padding:9px 11px;background:var(--surface);border:1px solid var(--line);}
.srb-sell .srb-onepage-edit .srb-edit-actions .primary{min-width:115px;}
/* Keep the dock in its original left-side location in both LTR/RTL. */
html[dir="rtl"] .srb-sell .srb-onepage-edit{direction:rtl;text-align:start;}
html[dir="rtl"] .srb-sell .srb-onepage-edit :is(input,textarea){text-align:start;}
html[dir="rtl"] .srb-sell .srb-onepage-summary-meta{margin-inline-start:auto;}
@media(min-width:1600px){.srb-sell .srb-onepage-edit .srb-edit-grid{grid-template-columns:repeat(4,minmax(0,1fr));}.srb-sell .srb-onepage-edit .srb-edit-grid .srb-edit-wide{grid-column:span 4;}}
@media(min-width:1100px) and (max-width:1599px){.srb-sell .srb-onepage-edit .srb-edit-grid{grid-template-columns:repeat(3,minmax(0,1fr));}.srb-sell .srb-onepage-edit .srb-edit-grid .srb-edit-wide{grid-column:span 3;}}
@media(max-width:1099px){.srb-sell .srb-onepage-edit .srb-edit-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.srb-sell .srb-onepage-edit .srb-edit-grid .srb-edit-wide{grid-column:span 2;}}
@media(max-width:580px){.srb-sell .srb-onepage-edit .srb-edit-grid{grid-template-columns:minmax(0,1fr);}.srb-sell .srb-onepage-edit .srb-edit-grid .srb-edit-wide{grid-column:1;}.srb-sell .srb-onepage-head{padding:11px;}}

/* In-place details swap — opacity only, no layout dance */
.srb-sell .srb-split > .srb-center,
.srb-sell .srb-split > .srb-workflow,
.srb-sell .srb-split > .srb-detail-empty,
.srb-sell .srb-split > .srb-detail {
  transition: opacity 180ms ease;
}
.srb-sell .srb-split > .srb-detail-fade-out {
  opacity: 0;
  pointer-events: none;
}
.srb-sell .srb-split > .srb-detail-fade-in {
  opacity: 0;
}
.srb-sell .srb-split > .srb-detail-fade-in.is-visible {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .srb-sell .srb-split > .srb-center,
  .srb-sell .srb-split > .srb-workflow,
  .srb-sell .srb-split > .srb-detail-empty,
  .srb-sell .srb-split > .srb-detail {
    transition: none !important;
  }
}

/* =============================================================================
 * DG_SELL_EXPLORER_ROWS_V1 — Design #2 compact listing rows
 * Full-width rows replace carousel / photo-top cards. Presentation only.
 * ============================================================================= */
.srb-sell .srb-list .srb-cards.srb-explorer {
  display: flex !important;
  flex-flow: column nowrap !important;
  gap: 6px !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 280px;
  min-height: 120px;
  max-height: min(70vh, 900px);
  resize: vertical;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  scroll-snap-type: none !important;
  scroll-behavior: auto !important;
  padding: 0 2px 2px 0 !important;
  box-sizing: border-box;
}
.srb-sell .srb-list .srb-cards.srb-explorer > .srb-mcard,
.srb-sell .srb-list .srb-cards.srb-explorer > .srb-xrow {
  flex: none !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  scroll-snap-align: none !important;
  position: relative;
  overflow: hidden;
  border-radius: 12px !important;
  border: 1px solid var(--line) !important;
  background: var(--surface) !important;
  box-shadow: none !important;
  outline: none !important;
  transition: none !important;
  transform: none !important;
}
.srb-sell .srb-list .srb-cards.srb-explorer > .srb-mcard:hover,
.srb-sell .srb-list .srb-cards.srb-explorer > .srb-mcard.is-on {
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line)) !important;
  box-shadow: none !important;
  outline: none !important;
  transform: none !important;
}
.srb-sell .srb-list .srb-cards.srb-explorer > .srb-mcard.is-on {
  background: color-mix(in srgb, var(--accent-soft) 70%, var(--surface)) !important;
  box-shadow: inset 3px 0 0 0 var(--accent) !important;
}
html[dir="rtl"] .srb-sell .srb-list .srb-cards.srb-explorer > .srb-mcard.is-on {
  box-shadow: inset -3px 0 0 0 var(--accent) !important;
}
.srb-sell .srb-list .srb-explorer .srb-xrow-btn,
.srb-sell .srb-list .srb-explorer .srb-mcard-btn {
  display: grid !important;
  grid-template-columns: 46px minmax(0, 1fr) auto auto 14px !important;
  align-items: center !important;
  gap: 8px 11px !important;
  width: 100% !important;
  min-height: 56px !important;
  height: auto !important;
  padding: 6px 12px 6px 7px !important;
  text-align: start !important;
  flex-direction: row !important;
  background: transparent !important;
  border: 0 !important;
  color: inherit !important;
  font: inherit !important;
  cursor: pointer;
}
html[dir="rtl"] .srb-sell .srb-list .srb-explorer .srb-xrow-btn {
  padding: 6px 7px 6px 12px !important;
}
.srb-sell .srb-list .srb-explorer .srb-xrow-cover,
.srb-sell .srb-list .srb-explorer .srb-q-thumb {
  display: grid !important;
  place-items: center !important;
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  min-height: 46px !important;
  max-width: 46px !important;
  max-height: 46px !important;
  aspect-ratio: 1 / 1 !important;
  flex: none !important;
  border-radius: 10px !important;
  background-color: color-mix(in srgb, var(--dock-platinum, #C5CCD6) 12%, transparent) !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  color: color-mix(in srgb, var(--dock-platinum, #C5CCD6) 80%, transparent);
  overflow: hidden;
  filter: none !important;
  transition: none !important;
}
.srb-sell .srb-list .srb-explorer .srb-xrow-cover.is-placeholder .srb-ico {
  width: 17px;
  height: 17px;
  opacity: 0.72;
}
.srb-sell .srb-list .srb-explorer .srb-xrow-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}
.srb-sell .srb-list .srb-explorer .srb-xrow-title {
  font-size: 13.5px;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.srb-sell .srb-list .srb-explorer .srb-xrow-sub {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: color-mix(in srgb, var(--ink) 58%, var(--muted));
  white-space: nowrap;
  overflow: hidden;
}
.srb-sell .srb-list .srb-explorer .srb-xrow-loc,
.srb-sell .srb-list .srb-explorer .srb-xrow-seller {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.srb-sell .srb-list .srb-explorer .srb-xrow-dot { opacity: 0.55; flex: none; }
.srb-sell .srb-list .srb-explorer .srb-xrow-status,
.srb-sell .srb-list .srb-explorer .srb-pill {
  position: static !important;
  inset: auto !important;
  justify-self: end;
  max-width: 118px;
  padding: 3px 8px !important;
  border-radius: 999px !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
  line-height: 1.2 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border: 1px solid transparent;
  backdrop-filter: none !important;
}
.srb-sell .srb-list .srb-explorer .srb-pill-pending {
  --srb-tone: #E5A83F;
  color: var(--srb-tone);
  background: color-mix(in srgb, var(--srb-tone) 14%, transparent);
  border-color: color-mix(in srgb, var(--srb-tone) 28%, transparent);
}
.srb-sell .srb-list .srb-explorer .srb-pill-verified {
  --srb-tone: #16B88A;
  color: var(--srb-tone);
  background: color-mix(in srgb, var(--srb-tone) 14%, transparent);
  border-color: color-mix(in srgb, var(--srb-tone) 28%, transparent);
}
.srb-sell .srb-list .srb-explorer .srb-pill-approved,
.srb-sell .srb-list .srb-explorer .srb-pill-published {
  --srb-tone: #438DE8;
  color: var(--srb-tone);
  background: color-mix(in srgb, var(--srb-tone) 14%, transparent);
  border-color: color-mix(in srgb, var(--srb-tone) 28%, transparent);
}
.srb-sell .srb-list .srb-explorer .srb-pill-sold {
  --srb-tone: #9D68DC;
  color: var(--srb-tone);
  background: color-mix(in srgb, var(--srb-tone) 14%, transparent);
  border-color: color-mix(in srgb, var(--srb-tone) 28%, transparent);
}
.srb-sell .srb-list .srb-explorer .srb-pill-changes_requested {
  --srb-tone: #E5A83F;
  color: var(--srb-tone);
  background: color-mix(in srgb, var(--srb-tone) 12%, transparent);
  border-color: color-mix(in srgb, var(--srb-tone) 24%, transparent);
}
.srb-sell .srb-list .srb-explorer .srb-pill-rejected,
.srb-sell .srb-list .srb-explorer .srb-pill-soft_deleted {
  --srb-tone: #C45B6A;
  color: var(--srb-tone);
  background: color-mix(in srgb, var(--srb-tone) 12%, transparent);
  border-color: color-mix(in srgb, var(--srb-tone) 24%, transparent);
}
.srb-sell .srb-list .srb-explorer .srb-xrow-price {
  justify-self: end;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: -0.015em;
  color: var(--ink);
  white-space: nowrap;
  min-width: 4.5rem;
  text-align: end;
}
.srb-sell .srb-list .srb-explorer .srb-xrow-chev {
  width: 7px;
  height: 7px;
  border-inline-end: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
  opacity: 0.4;
  justify-self: end;
  color: var(--muted, rgba(220, 226, 235, 0.62));
}
html[dir="rtl"] .srb-sell .srb-list .srb-explorer .srb-xrow-chev {
  transform: rotate(135deg);
}
/* Hide carousel chrome + pager — Explorer Rows scroll internally */
.srb-sell .srb-list:has(.srb-explorer) .srb-rail-controls,
.srb-sell .srb-list:has(.srb-explorer) .srb-pager { display: none !important; }
html[dir="rtl"] .srb-sell .srb-list .srb-cards.srb-explorer { direction: inherit; }
html[dir="rtl"] .srb-sell .srb-list .srb-explorer .srb-mcard { direction: rtl; }

@media (max-width: 900px) {
  .srb-sell .srb-list .srb-explorer .srb-xrow-btn,
  .srb-sell .srb-list .srb-explorer .srb-mcard-btn {
    grid-template-columns: 46px minmax(0, 1fr) auto 12px !important;
    grid-template-areas:
      "cover main status chev"
      "cover main price chev";
    row-gap: 2px !important;
    min-height: 56px !important;
  }
  .srb-sell .srb-list .srb-explorer .srb-xrow-cover { grid-area: cover; }
  .srb-sell .srb-list .srb-explorer .srb-xrow-main { grid-area: main; }
  .srb-sell .srb-list .srb-explorer .srb-xrow-status { grid-area: status; max-width: 100px; }
  .srb-sell .srb-list .srb-explorer .srb-xrow-price {
    grid-area: price;
    justify-self: start;
    text-align: start;
    font-size: 12.5px;
    min-width: 0;
  }
  .srb-sell .srb-list .srb-explorer .srb-xrow-chev { grid-area: chev; }
}
@media (max-width: 520px) {
  .srb-sell .srb-list .srb-explorer .srb-xrow-btn,
  .srb-sell .srb-list .srb-explorer .srb-mcard-btn {
    grid-template-columns: 44px minmax(0, 1fr) 10px !important;
    grid-template-areas:
      "cover main chev"
      "cover status chev"
      "cover price chev";
    min-height: 58px !important;
    padding: 6px 10px 6px 6px !important;
  }
  .srb-sell .srb-list .srb-explorer .srb-xrow-cover,
  .srb-sell .srb-list .srb-explorer .srb-q-thumb {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
  }
  .srb-sell .srb-list .srb-explorer .srb-xrow-title { font-size: 13px; }
  .srb-sell .srb-list .srb-explorer .srb-xrow-status {
    justify-self: start;
    max-width: 70%;
  }
}

/* =============================================================================
 * Minimal Command Bar — Standard Sell listing filters only
 * One compact horizontal row · Sun + Moon · RTL/LTR
 * ============================================================================= */
.srb-cmd {
  --srb-cmd-ink: var(--ink);
  --srb-cmd-muted: var(--muted);
  --srb-cmd-line: var(--line);
  --srb-cmd-raise: var(--surface-2);
  --srb-cmd-accent: var(--accent);
  display: block;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid var(--srb-cmd-line);
  background: var(--surface);
  color: var(--srb-cmd-ink);
  box-shadow: var(--shadow-sm);
}
.srb-cmd-row {
  display: grid;
  gap: 6px;
  min-width: 0;
  align-items: center;
}
.srb-cmd-row-inline {
  grid-template-columns:
    minmax(0, 1.55fr)
    minmax(0, 1.05fr)
    minmax(0, 1fr)
    minmax(0, 0.95fr)
    minmax(0, 0.95fr)
    minmax(0, 0.9fr)
    34px;
  grid-template-areas: "search status type deal loc price reset";
}
.srb-cmd-search,
.srb-cmd-field {
  display: flex;
  flex-direction: row;
  align-items: center;
  min-width: 0;
}
.srb-cmd-label { display: none !important; }
.srb-cmd-search {
  gap: 7px;
  height: 34px;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid var(--srb-cmd-line);
  background: var(--srb-cmd-raise);
  color: var(--srb-cmd-ink);
}
.srb-cmd-search .srb-ico {
  width: 14px;
  height: 14px;
  color: var(--srb-cmd-muted);
  flex: none;
}
.srb-cmd-search input {
  flex: 1;
  min-width: 0;
  height: 32px;
  border: 0;
  outline: none;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 12.5px;
}
.srb-cmd-search input::placeholder { color: var(--srb-cmd-muted); }
.srb-cmd-field select {
  width: 100%;
  min-width: 0;
  height: 34px;
  padding: 0 26px 0 10px;
  border-radius: 10px;
  border: 1px solid var(--srb-cmd-line);
  background: var(--srb-cmd-raise);
  color: var(--srb-cmd-ink);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--srb-cmd-muted) 50%),
    linear-gradient(135deg, var(--srb-cmd-muted) 50%, transparent 50%);
  background-position:
    calc(100% - 12px) 55%,
    calc(100% - 7px) 55%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  text-overflow: ellipsis;
}
html[dir="rtl"] .srb-cmd-field select {
  padding: 0 10px 0 26px;
  background-position: 12px 55%, 7px 55%;
}
.srb-cmd-field select:focus-visible,
.srb-cmd-search:focus-within {
  outline: 2px solid color-mix(in srgb, var(--srb-cmd-accent) 55%, transparent);
  outline-offset: 1px;
}
.srb-cmd-status { min-width: 0; }
.srb-cmd-reset {
  appearance: none;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  min-width: 34px;
  padding: 0;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--srb-cmd-muted);
  cursor: pointer;
}
.srb-cmd-reset .srb-ico {
  width: 15px;
  height: 15px;
}
.srb-cmd-reset.is-active {
  color: var(--srb-cmd-ink);
  border-color: var(--srb-cmd-line);
  background: color-mix(in srgb, var(--srb-cmd-accent) 10%, transparent);
}
.srb-cmd-reset:hover:not(:disabled),
.srb-cmd-reset:focus-visible:not(:disabled) {
  color: var(--srb-cmd-ink);
  border-color: var(--srb-cmd-line);
}
.srb-cmd-reset:disabled {
  opacity: 0.42;
  cursor: default;
}
.srb-sell .srb-list .srb-cmd { order: 0; }

.srb-cmd-row-inline .srb-cmd-search { grid-area: search; }
.srb-cmd-row-inline .srb-cmd-status { grid-area: status; }
.srb-cmd-row-inline .srb-cmd-field:nth-child(3) { grid-area: type; }
.srb-cmd-row-inline .srb-cmd-field:nth-child(4) { grid-area: deal; }
.srb-cmd-row-inline .srb-cmd-field:nth-child(5) { grid-area: loc; }
.srb-cmd-row-inline .srb-cmd-field:nth-child(6) { grid-area: price; }
.srb-cmd-row-inline .srb-cmd-reset { grid-area: reset; }

@media (max-width: 1180px) {
  .srb-cmd-row-inline {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) 34px;
    grid-template-areas:
      "search status type deal reset"
      "search loc price price reset";
  }
}
@media (max-width: 760px) {
  .srb-cmd { padding: 7px; }
  .srb-cmd-row-inline {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 34px;
    grid-template-areas:
      "search search reset"
      "status type reset"
      "deal loc reset"
      "price price reset";
  }
}
@media (max-width: 480px) {
  .srb-cmd-row-inline {
    grid-template-columns: minmax(0, 1fr) 34px;
    grid-template-areas:
      "search reset"
      "status reset"
      "type reset"
      "deal reset"
      "loc reset"
      "price reset";
  }
}

/* =============================================================================
 * Standard Sell theme bridge — remaining hard dark surfaces → Sun/Moon tokens
 * Semantic action/status colors intentionally unchanged.
 * ============================================================================= */
.srb-sell .srb-case-panel,
.srb-sell .srb-case-property,
.srb-sell .srb-case-metric,
.srb-sell .srb-case-note,
.srb-sell .srb-case-technical,
.srb-sell .srb-onepage-media-item,
.srb-sell .srb-workflow .srb-account-details > div {
  background: var(--surface-2) !important;
  border-color: var(--line) !important;
  color: var(--ink) !important;
}
.srb-sell .srb-case-hero {
  background: linear-gradient(115deg, var(--accent-soft), transparent 70%) !important;
  border-color: var(--line) !important;
  color: var(--ink) !important;
}
.srb-sell .srb-case-eyebrow,
.srb-sell .srb-case-property-price,
.srb-sell .srb-progress .is-complete,
.srb-sell .srb-progress .is-complete span {
  color: var(--accent) !important;
}
.srb-sell .srb-case-hero p,
.srb-sell .srb-case-property-copy span,
.srb-sell .srb-case-metric span,
.srb-sell .srb-case-facts > div > span:first-child,
.srb-sell .srb-case-empty,
.srb-sell .srb-case-timeline .srb-event-top time,
.srb-sell .srb-case-timeline .srb-event p,
.srb-sell .srb-workflow .srb-account-details dt,
.srb-sell .srb-workflow .srb-status-disclosure summary {
  color: var(--muted) !important;
}
.srb-sell .srb-case-inline-btn,
.srb-sell .srb-back-to-cards,
.srb-sell .srb-view-property,
.srb-sell .srb-edit-shortcut,
.srb-sell .srb-public-price,
.srb-sell .srb-public-facts > div {
  background: var(--surface-2) !important;
  border-color: var(--line) !important;
  color: var(--ink) !important;
}
.srb-sell .srb-workflow .srb-avatar {
  border-color: var(--accent) !important;
  background: var(--accent-soft) !important;
  color: var(--accent) !important;
  box-shadow: none !important;
}
.srb-sell .srb-onepage-media-item img,
.srb-sell .srb-onepage-media-icon {
  background: var(--bg-soft) !important;
  color: var(--info) !important;
}
.srb-sell .srb-case-timeline .srb-event::before {
  background: var(--accent) !important;
  box-shadow: 0 0 0 3px var(--surface) !important;
}
.srb-sell .srb-list .srb-explorer .srb-xrow-cover,
.srb-sell .srb-list .srb-explorer .srb-q-thumb {
  background-color: var(--bg-soft) !important;
  color: var(--muted) !important;
}
.srb-sell .srb-cmd-search,
.srb-sell .srb-cmd-field select {
  background: var(--surface-2) !important;
  color: var(--ink) !important;
  border-color: var(--line) !important;
}
.srb-sell input:not([type="checkbox"]):not([type="radio"]),
.srb-sell textarea,
.srb-sell select {
  background: var(--surface) !important;
  color: var(--ink) !important;
  border-color: var(--line) !important;
}
.srb-sell .srb-head,
.srb-sell .srb-kpis,
.srb-sell > .srb-head .srb-head-copy h1 {
  color: var(--ink);
}

/* Seller | History — stacked records (current + Sold Completion when present). */
.srb-sell .srb-submission-history {
  list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px;
}
.srb-sell .srb-hist-record {
  border: 1px solid var(--lux-line, var(--line));
  border-radius: 14px; padding: 12px; background: var(--lux-raise, var(--surface-2));
  cursor: pointer;
}
.srb-sell .srb-hist-record.is-on {
  border-color: var(--lux, var(--accent));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lux, var(--accent)) 35%, transparent);
}
.srb-sell .srb-hist-record:focus-visible {
  outline: 2px solid var(--lux, var(--accent)); outline-offset: 2px;
}
.srb-sell .srb-hist-top {
  display: grid; grid-template-columns: 88px minmax(0,1fr); gap: 12px; align-items: start;
}
.srb-sell .srb-hist-snap {
  margin: 4px 0 0; font-size: 11px; line-height: 1.35; color: var(--lux-muted, var(--muted));
}
.srb-sell .srb-hist-sold .srb-pill.is-sold {
  background: color-mix(in srgb, #c45c26 22%, transparent); color: var(--lux-ink, var(--ink));
}
.srb-sell .srb-sold-completion-form {
  display: flex; flex-direction: column; gap: 12px; min-width: 0;
}
.srb-sell .srb-sold-completion-form[hidden],
.srb-sell .srb-original-sell-wrap[hidden] {
  display: none !important;
}
.srb-sell .srb-sold-form-head h3 {
  margin: 0 0 4px; font-size: 16px; line-height: 1.3;
}
.srb-sell .srb-sold-form-head p { margin: 0; }
.srb-sell .srb-sold-actions {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.srb-sell .srb-sold-actions .btn { min-height: 40px; }
.srb-sell .srb-hist-selfie,
.srb-sell .srb-selfie-frame {
  width: 88px; min-height: 88px; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--lux-line, var(--line)); background: var(--bg-soft, var(--surface));
  display: flex; align-items: center; justify-content: center;
}
.srb-sell .srb-live-selfie-img,
.srb-sell .srb-selfie-open {
  display: block; width: 100%; height: 100%; object-fit: cover; border: 0; padding: 0;
  background: transparent; cursor: zoom-in;
}
.srb-sell .srb-selfie-unavailable,
.srb-sell .srb-hist-selfie.is-unavailable {
  margin: 0; padding: 8px; font-size: 11px; text-align: center; color: var(--muted);
}
.srb-sell .srb-hist-meta { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.srb-sell .srb-hist-id,
.srb-sell .srb-hist-uid { margin: 0; font-size: 11px; color: var(--muted); overflow-wrap: anywhere; }
html[dir='rtl'] .srb-sell .srb-hist-top { direction: rtl; }

.srb-selfie-lightbox {
  position: fixed; inset: 0; z-index: 12000; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
  background: rgba(6, 8, 12, 0.86); padding: 24px;
}
.srb-selfie-lightbox-img {
  max-width: min(92vw, 720px); max-height: min(78vh, 820px);
  border-radius: 14px; object-fit: contain; box-shadow: 0 18px 48px #0008;
}
.srb-selfie-lightbox-close {
  position: absolute; top: 16px; inset-inline-end: 16px;
  width: 40px; height: 40px; border-radius: 999px; border: 1px solid rgba(255,255,255,.28);
  background: rgba(20,24,32,.7); color: #fff; font-size: 22px; cursor: pointer;
}
.srb-selfie-lightbox-actions { display: flex; gap: 8px; }
.srb-selfie-download { min-width: 160px; }

/* Developments (New Sell) — full-viewport review (not the cramped Sell grid) */
.srb-projects.srb-sell {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  min-height: calc(100dvh - 108px);
  height: calc(100dvh - 108px);
}
.srb-projects > .srb-head,
.srb-projects > .srb-kpis {
  flex: 0 0 auto;
}
.srb-projects > .srb-kpis {
  gap: 8px;
}
.srb-projects > .srb-split {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  height: auto !important;
  display: grid !important;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1.15fr) minmax(0, 2.4fr) !important;
  grid-template-rows: minmax(0, 1fr) !important;
  grid-template-areas: 'rail history preview' !important;
  gap: 12px !important;
  align-items: stretch !important;
  align-content: stretch !important;
}
.srb-projects .srb-split > .srb-list {
  grid-area: rail !important;
  grid-column: auto !important;
  grid-row: auto !important;
  align-self: stretch !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: auto !important;
  position: static !important;
  top: auto !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
}
.srb-projects .srb-split > .srb-list .srb-cards,
.srb-projects .srb-split > .srb-list .srb-explorer {
  display: flex !important;
  flex-direction: column !important;
  flex-flow: column nowrap !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  gap: 8px !important;
  min-height: 0;
  flex: 1 1 auto;
  width: 100%;
  scroll-snap-type: none !important;
}
.srb-projects .srb-split > .srb-list .srb-cards > .srb-mcard,
.srb-projects .srb-split > .srb-list .srb-explorer > .srb-mcard {
  flex: 0 0 auto !important;
  width: 100% !important;
  max-width: none !important;
}
.srb-projects .srb-split > .srb-workflow {
  grid-area: history !important;
  grid-column: auto !important;
  grid-row: auto !important;
  align-self: stretch !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: auto !important;
  position: static !important;
  top: auto !important;
  width: 100% !important;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-sizing: border-box;
}
.srb-projects .srb-split > .prb-live-center,
.srb-projects .srb-split > .srb-center.prb-live-center,
.srb-projects .srb-split > .srb-detail-empty {
  grid-area: preview !important;
  grid-column: auto !important;
  grid-row: auto !important;
  align-self: stretch !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: hidden !important;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px !important;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-sizing: border-box;
}
.srb-projects .prb-live-label {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 2px 4px 0;
  flex: 0 0 auto;
}
.srb-projects .prb-live-frame {
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0b0d10;
  overflow: hidden;
}
@media (max-width: 1100px) {
  .srb-projects > .srb-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) !important;
    grid-template-areas:
      'rail rail'
      'history preview' !important;
    grid-template-rows: auto minmax(0, 1fr) !important;
  }
  .srb-projects .srb-split > .srb-list {
    max-height: 160px !important;
  }
}
@media (max-width: 780px) {
  .srb-projects.srb-sell {
    height: auto;
    min-height: 0;
  }
  .srb-projects > .srb-split {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
  }
  .srb-projects .srb-split > .srb-list,
  .srb-projects .srb-split > .srb-workflow,
  .srb-projects .srb-split > .prb-live-center {
    height: auto !important;
    max-height: none !important;
  }
  .srb-projects .prb-live-frame {
    min-height: 70vh;
  }
}
.srb-projects .prb-subhead {
  margin: 14px 0 8px;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}
.srb-projects .prb-history-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
}
.srb-projects .prb-hist-box {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 92%, var(--ink) 4%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.srb-projects .prb-hist-box-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 88%, var(--ink) 6%);
}
.srb-projects .prb-hist-box-head h4 {
  margin: 0;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
}
.srb-projects .prb-hist-box-meta {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}
.srb-projects .prb-hist-box-body {
  padding: 10px 12px 12px;
  min-height: 72px;
}
.srb-projects .prb-hist-box[data-hist-box="activity"] .prb-hist-box-body,
.srb-projects .prb-hist-box[data-hist-box="face"] .prb-hist-box-body {
  max-height: none;
  overflow: visible;
}
.srb-projects .prb-hist-empty {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  justify-content: center;
  min-height: 64px;
  padding: 8px 2px;
  color: var(--muted);
}
.srb-projects .prb-hist-empty strong {
  color: var(--ink);
  font-size: 13px;
}
.srb-projects .prb-hist-empty span {
  font-size: 12px;
}
.srb-projects .prb-history {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.srb-projects .prb-history-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  background: color-mix(in srgb, var(--surface) 90%, var(--ink) 3%);
}
.srb-projects .prb-history-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: baseline;
}
.srb-projects .prb-history-top time { font-size: 11px; color: var(--muted); }
.srb-projects .prb-change-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
}
.srb-projects .prb-change-list li {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 6px;
  align-items: start;
}
.srb-projects .prb-change-list del { opacity: .65; margin-inline-end: 4px; }
.srb-projects .prb-change-list ins { text-decoration: none; font-weight: 600; }
.srb-projects .prb-change-del del { color: #b42318; opacity: 1; }
.srb-projects .prb-change-add ins { color: #067647; }
.srb-projects .prb-selfie-card .srb-live-selfie-img,
.srb-projects .prb-hist-selfie .srb-live-selfie-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.srb-projects .prb-selfie-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.srb-projects .prb-selfie-card,
.srb-projects .prb-hist-selfie {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.srb-projects .prb-selfie-card .srb-selfie-frame,
.srb-projects .prb-hist-selfie .srb-selfie-frame {
  aspect-ratio: 3 / 4;
  max-height: 180px;
  border-radius: 10px;
  overflow: hidden;
  background: color-mix(in srgb, var(--surface) 80%, #000 12%);
  display: grid;
  place-items: center;
}
.srb-projects .prb-selfie-card figcaption,
.srb-projects .prb-hist-selfie code {
  font-size: 11px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow-wrap: anywhere;
}
.srb-projects .srb-rail-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}
.srb-projects .srb-rail-tab {
  flex: 1;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 10px;
  padding: 8px 10px;
  font: inherit;
  cursor: pointer;
}
.srb-projects .srb-rail-tab.on {
  border-color: color-mix(in srgb, var(--accent, #c6a46a) 55%, var(--line));
  background: color-mix(in srgb, var(--accent, #c6a46a) 16%, var(--surface));
}
.srb-projects .prb-preview { display: flex; flex-direction: column; gap: 14px; }
.srb-projects .prb-note-field { display: flex; flex-direction: column; gap: 6px; margin: 12px 0; font-size: 13px; }
.srb-projects .prb-note-field textarea {
  min-height: 88px; resize: vertical; border-radius: 10px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); padding: 10px 12px; font: inherit;
}
.srb-projects .prb-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.srb-projects .prb-actions .srb-workflow-btn { width: 100%; justify-content: center; }
.srb-projects .prb-overview { display: flex; flex-direction: column; gap: 10px; }
.srb-projects .prb-overview-item {
  border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: color-mix(in srgb, var(--surface) 88%, var(--ink) 4%);
}
.srb-projects .prb-overview-item p { margin: 6px 0 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.srb-projects .prb-type-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.srb-projects .prb-type-list li {
  display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px;
  border: 1px solid var(--line); border-radius: 10px;
}
.srb-projects .prb-prop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.srb-projects .prb-prop {
  border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px;
  background: color-mix(in srgb, var(--surface) 90%, var(--ink) 3%);
  display: flex; flex-direction: column; gap: 6px;
}
.srb-projects .prb-prop-top { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.srb-projects .prb-prop-photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.srb-projects .prb-prop-shot { aspect-ratio: 1; border-radius: 8px; min-height: 48px; }
.srb-projects .prb-docs { margin: 0; padding-inline-start: 18px; display: flex; flex-direction: column; gap: 6px; }
.srb-projects .srb-public-price { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.srb-projects .srb-public-price strong { font-size: 22px; }
.srb-projects .srb-public-price span { font-size: 12px; color: var(--muted); }
.srb-projects .srb-pill-pending_review,
.srb-projects .srb-pill-pending { background: color-mix(in srgb, #E09818 22%, var(--surface)); color: #C47E0A; }
.srb-projects .srb-pill-on_hold { background: color-mix(in srgb, #8E7348 18%, var(--surface)); color: #8E7348; }
.srb-projects .srb-pill-changes_requested { background: color-mix(in srgb, #2F63D8 16%, var(--surface)); color: #2F63D8; }
.srb-projects .srb-pill-draft { background: color-mix(in srgb, var(--muted) 16%, var(--surface)); color: var(--muted); }
