/* D.M.E dashboard (CMS) prototype. Operate-mode UI: scanability and clear state. */

@font-face { font-family: 'Outfit'; src: url('../assets/fonts/outfit.woff2') format('woff2'); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Saira'; src: url('../assets/fonts/saira.woff2') format('woff2'); font-weight: 500 700; font-style: normal; font-display: swap; }

:root {
  --ink: #112B2C;
  --ink-hover: #22504F;
  --ws: #F3F4F0;
  --panel: #FFFFFF;
  --line: #E1E4DE;
  --line-soft: #ECEEE9;
  --field: #D3D8D0;
  --field-bg: #F7F8F4;
  --track: #EEF0EB;
  --muted: #4F6160;
  --muted-2: #5B6B69;
  --sel: #FBF5E6;
  --hover: #F6F7F3;
  --gold: #E2B65A;
  --focus: #C8901C;
  --danger: #A8261D;
  --danger-hover: #8C1F17;
  --dme-error: #A8261D;
  color-scheme: light;
  accent-color: var(--ink);
  scrollbar-color: #B7C0BC var(--ws);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ws); color: var(--ink);
  font-family: 'Outfit', 'Segoe UI', system-ui, sans-serif; font-size: 15px; line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
::selection { background: #F6E7C4; color: var(--ink); }
a { color: var(--ink); }
a:hover { color: var(--ink-hover); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }
h1, h2, h3, p { margin: 0; }
.tnum, .num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }

/* Focus: gold ring with a dark inner ring, so it reads on white and on the dark sidebar. */
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; box-shadow: 0 0 0 2px var(--ink); }
:focus:not(:focus-visible) { outline: none; }
h1:focus-visible, h2:focus-visible { box-shadow: none; outline-offset: 4px; border-radius: 4px; }

/* ---------- shell ---------- */
.shell { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 100vh; }

.side {
  background: var(--ink); color: #E6E0D2;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
  padding: 24px 16px 80px; display: flex; flex-direction: column; gap: 32px;
  scrollbar-color: rgba(242, 235, 221, 0.25) transparent;
}
.side ::selection { background: var(--gold); color: var(--ink); }
.side :focus-visible { box-shadow: none; }
.side-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; padding: 0 8px; min-height: 44px; text-decoration: none; border-radius: 8px; }
.brand img { width: 36px; height: 28px; display: block; }
.wordmark { font-family: 'Saira', sans-serif; font-weight: 700; letter-spacing: 0.12em; font-size: 15px; color: var(--gold); white-space: nowrap; }
.menu-btn {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  border: 1px solid rgba(242, 235, 221, 0.18); border-radius: 8px; background: transparent; color: #F2EBDD;
}
.menu-btn .dme-i { width: 22px; height: 22px; }
.side-body { display: flex; flex-direction: column; gap: 32px; flex: 1; }

.nav { display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.nav a {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  height: 44px; padding: 0 12px; border-radius: 8px; color: #C9D3D1; text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}
.nav a:hover { background: rgba(242, 235, 221, 0.07); color: #F7F1E6; }
.nav a[aria-current="page"] { background: rgba(226, 182, 90, 0.16); color: #F7F1E6; font-weight: 600; }
.nav-badge {
  min-width: 24px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--gold); color: var(--ink);
  font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; font-variant-numeric: tabular-nums;
}

.side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
.lang-btn {
  display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 12px; border-radius: 8px;
  border: 1px solid rgba(242, 235, 221, 0.16); background: transparent; color: #C9D3D1; font-size: 14px; text-align: left;
  transition: background-color 160ms ease, color 160ms ease;
}
.lang-btn .dme-i { width: 18px; height: 18px; }
.lang-btn:hover { background: rgba(242, 235, 221, 0.07); color: #F7F1E6; }
.user { display: flex; align-items: center; gap: 10px; padding: 12px 8px; border-top: 1px solid rgba(242, 235, 221, 0.12); font-size: 14px; }
.user > div { display: flex; flex-direction: column; }
.avatar { width: 34px; height: 34px; border-radius: 999px; background: var(--gold); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; font-weight: 600; flex: none; }
.user-n { color: #F2EBDD; }
.user-r { color: #A9B8B6; font-size: 12px; }
.reset-btn {
  width: 100%; height: 44px; padding: 0 12px; border: 0; border-radius: 8px; background: transparent;
  color: #A9B8B6; font-size: 14px; text-align: left; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(169, 184, 182, 0.5);
}
.reset-btn:hover { color: #F2EBDD; background: rgba(242, 235, 221, 0.07); }
.reset-confirm { display: flex; flex-direction: column; gap: 12px; padding: 12px; border-radius: 10px; background: rgba(242, 235, 221, 0.07); border: 1px solid rgba(242, 235, 221, 0.14); }
.reset-confirm p { font-size: 13px; line-height: 1.45; color: #E6E0D2; }

/* ---------- main + header ---------- */
.main { display: flex; flex-direction: column; min-width: 0; padding-bottom: 72px; }
.top {
  min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 28px; background: var(--panel); border-bottom: 1px solid var(--line);
}
.top h1 { font-size: 22px; font-weight: 600; letter-spacing: -0.005em; }
.top-tools { display: flex; gap: 10px; align-items: center; }
.meta { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.search { position: relative; }
.search > .dme-i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.search input {
  height: 44px; width: 260px; max-width: 40vw; padding: 0 14px 0 38px; border: 1px solid var(--field); border-radius: 8px;
  font-size: 15px; background: var(--field-bg);
}
.search input::placeholder { color: #6A7977; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px;
  border: 1px solid transparent; border-radius: 8px; background: var(--ink); color: #F5F6F2;
  font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap;
  transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1), background-color 160ms ease, border-color 160ms ease;
}
.btn .dme-i { width: 18px; height: 18px; }
.btn:hover { background: var(--ink-hover); color: #F5F6F2; }
.btn:active { transform: scale(0.97); }
.btn--sec { background: var(--panel); color: var(--ink); border-color: var(--field); }
.btn--sec:hover { background: var(--hover); color: var(--ink); border-color: #BCC3BA; }
.btn--danger { background: var(--danger); color: #FFFFFF; }
.btn--danger:hover { background: var(--danger-hover); color: #FFFFFF; }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #EBC673; color: var(--ink); }
.btn--ghost-dark { background: transparent; color: #F2EBDD; border-color: rgba(242, 235, 221, 0.28); }
.btn--ghost-dark:hover { background: rgba(242, 235, 221, 0.08); color: #FFFFFF; }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.work-wrap { padding: 24px 28px; display: flex; flex-direction: column; gap: 16px; }
.work { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 24px; align-items: start; }
.work--single { grid-template-columns: minmax(0, 1fr); }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.lst { overflow: hidden; }

.flash {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 4px 4px 4px 16px; background: #E7F0E9; border: 1px solid #C3D8C9; border-radius: 10px; color: #1C4A2D; font-size: 14px;
}
.flash[hidden] { display: none; }
.flash p { display: flex; align-items: center; gap: 10px; }
.flash p .dme-i { width: 18px; height: 18px; }
.flash-x { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 8px; background: transparent; color: #1C4A2D; flex: none; }
.flash-x:hover { background: rgba(28, 74, 45, 0.08); }
.flash-x .dme-i { width: 18px; height: 18px; }

/* ---------- chips + table ---------- */
.chips { display: flex; gap: 8px; padding: 14px 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.chip {
  position: relative; height: 36px; padding: 0 12px; border-radius: 999px; border: 0; background: var(--track); color: var(--ink);
  font-size: 14px; display: inline-flex; align-items: center; gap: 6px;
  transition: background-color 160ms ease, color 160ms ease;
}
.chip::after { content: ''; position: absolute; inset: -4px 0; }
.chip .n { font-variant-numeric: tabular-nums; color: var(--muted); }
.chip:hover { background: #E3E6E0; }
.chip[aria-pressed="true"] { background: var(--ink); color: #F5F6F2; font-weight: 600; }
.chip[aria-pressed="true"] .n { color: #D3DCDA; }

.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.tbl--leads { min-width: 720px; }
.work--leads { grid-template-columns: minmax(0, 1fr) 360px; }
.tbl th {
  text-align: left; color: var(--muted); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  font-weight: 600; padding: 12px 8px; white-space: nowrap;
}
.tbl td { padding: 10px 8px; border-top: 1px solid var(--line-soft); vertical-align: middle; }
.tbl th:first-child, .tbl td:first-child { padding-left: 16px; }
.tbl th:last-child, .tbl td:last-child { padding-right: 16px; }
.tbl tbody tr { transition: background-color 160ms ease; cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .tbl tbody tr:hover { background: var(--hover); } }
.tbl tbody tr.is-sel, .tbl tbody tr.is-sel:hover { background: var(--sel); }
.price { font-weight: 600; white-space: nowrap; }
.row-btn {
  display: flex; align-items: center; gap: 12px; background: transparent; border: 0; padding: 0; color: var(--ink);
  text-align: left; min-height: 44px; border-radius: 6px;
}
.row-btn img { width: 64px; height: 46px; object-fit: cover; border-radius: 6px; display: block; flex: none; background: var(--track); }
.rt { display: flex; flex-direction: column; gap: 2px; }
.rt-t { font-weight: 600; }
.rt-a { color: var(--muted-2); font-size: 13px; }
.row-btn--text { font-weight: 600; }
.row-btn:hover .rt-t, .row-btn--text:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact-cell { display: block; margin-top: -6px; color: var(--muted-2); font-size: 13px; }
.contact-cell span { display: block; white-space: nowrap; }
.tbl--leads td:first-child { white-space: nowrap; }
.cell-link { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 3px; }

.badge { display: inline-flex; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.badge--sale { background: #112B2C; color: #F5F6F2; }
.badge--rent { background: #F6E7C4; color: #5E4209; }
.badge--pending { background: #E3E8F4; color: #253A6B; }
.badge--sold { background: #E6E8E3; color: #3F4A49; }
.badge--l-new { background: #F6E7C4; color: #5E4209; }
.badge--l-contacted { background: #E3E8F4; color: #253A6B; }
.badge--l-closed { background: #E6E8E3; color: #3F4A49; }

.empty { padding: 48px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.empty h3 { font-size: 17px; font-weight: 600; }
.empty p { color: var(--muted); max-width: 42ch; }
.empty .row-actions { margin-top: 6px; justify-content: center; }

/* ---------- editor ---------- */
.ed { padding: 22px; display: flex; flex-direction: column; gap: 18px; }
.ed-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ed-head h2 { font-size: 18px; font-weight: 600; }
.save { font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; }
.save .dme-i { width: 16px; height: 16px; color: #2C6B42; }
#ed-body, .lead-body { display: flex; flex-direction: column; gap: 18px; }
.ed .empty { padding: 32px 8px; }

.cover { position: relative; }
.cover img { width: 100%; height: 160px; object-fit: cover; border-radius: 8px; display: block; background: var(--track); }
.cover-btn { position: absolute; right: 10px; bottom: 10px; box-shadow: 0 2px 8px rgba(17, 43, 44, 0.18); padding: 0 14px; font-size: 14px; }

.picker { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.picker[hidden] { display: none; }
.ph {
  position: relative; padding: 0; border: 2px solid transparent; border-radius: 9px; background: none;
  aspect-ratio: 4 / 3; min-height: 44px; overflow: hidden; transition: border-color 160ms ease, transform 160ms cubic-bezier(0.23, 1, 0.32, 1);
}
.ph:active { transform: scale(0.97); }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 6px; }
.ph:hover { border-color: #BCC3BA; }
.ph[aria-pressed="true"] { border-color: var(--ink); }
.tick { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 999px; background: var(--ink); color: #FFFFFF; display: none; align-items: center; justify-content: center; }
.tick .dme-i { width: 14px; height: 14px; }
.ph[aria-pressed="true"] .tick { display: inline-flex; }

.seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; background: var(--track); padding: 4px; border-radius: 10px; }
.seg--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.seg button {
  position: relative; height: 38px; padding: 0 6px; border: 0; border-radius: 7px; font-size: 13px; font-weight: 600;
  background: transparent; color: var(--muted);
  transition: background-color 160ms ease, color 160ms ease, transform 160ms cubic-bezier(0.23, 1, 0.32, 1);
}
.seg button::after { content: ''; position: absolute; inset: -4px 0; }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: #FFFFFF; color: var(--ink); box-shadow: 0 1px 3px rgba(17, 43, 44, 0.18); }
.seg button[aria-pressed="true"]:focus-visible { box-shadow: 0 0 0 2px var(--ink); }
.seg button:active { transform: scale(0.97); }

fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 6px; font-size: 13px; font-weight: 600; }
.fld { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fld > label, .lbl { font-size: 13px; font-weight: 600; }
.opt { font-weight: 400; color: var(--muted); }
.hint { font-size: 13px; color: var(--muted); }
.in {
  height: 44px; width: 100%; min-width: 0; padding: 0 12px; border: 1px solid var(--field); border-radius: 8px;
  font-size: 15px; background: #FFFFFF; transition: border-color 160ms ease;
}
.in:hover { border-color: #BCC3BA; }
textarea.in { height: auto; min-height: 120px; padding: 10px 12px; resize: vertical; line-height: 1.5; }
select.in { padding-right: 8px; }
.in--sm { width: auto; min-width: 128px; font-size: 14px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: end; }
.dme-field-error { font-size: 13px; }

.invest { border: 1px solid var(--line); border-radius: 10px; padding: 14px; display: flex; flex-direction: column; gap: 14px; background: #FAFBF8; }
.invest-head { display: flex; flex-direction: column; gap: 2px; }
.invest h3 { font-size: 14px; font-weight: 600; }
.invest p { font-size: 13px; color: var(--muted); }
.yield { display: flex; gap: 28px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.yield strong { display: block; font-size: 22px; font-weight: 600; color: var(--ink); line-height: 1.2; }

.checks { display: flex; flex-direction: column; }
.check { display: flex; align-items: center; gap: 10px; font-size: 15px; min-height: 44px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 0; accent-color: var(--ink); flex: none; }

.gp { border-top: 1px solid var(--line); padding-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.serp { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; font-family: Arial, sans-serif; }
.serp-u { font-size: 12px; color: #3C4043; overflow-wrap: anywhere; }
.serp-t { font-size: 18px; color: #1A0DAB; line-height: 1.3; }
.serp-d { font-size: 13px; color: #4D5156; line-height: 1.5; }

.views { display: flex; flex-direction: column; gap: 8px; }
.view-links { display: flex; flex-wrap: wrap; gap: 8px; }
.view-links a {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 1px solid var(--field); border-radius: 8px;
  text-decoration: none; font-size: 14px; font-weight: 500; transition: background-color 160ms ease, border-color 160ms ease;
}
.view-links a:hover { background: var(--hover); border-color: #BCC3BA; }
.view-links .dme-i { width: 16px; height: 16px; color: var(--muted); }

.danger-zone { border-top: 1px solid var(--line); padding-top: 14px; }
.btn-del { background: none; border: 0; color: var(--danger); font-weight: 600; height: 44px; padding: 0 2px; border-radius: 6px; }
.btn-del:hover { text-decoration: underline; text-underline-offset: 3px; }
.confirm { background: #FBEDEB; border: 1px solid #EFC7C2; border-radius: 10px; padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.confirm p { font-size: 14px; color: #5A1712; }

/* ---------- new listing ---------- */
.newf { padding: 24px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 32px; max-width: 1040px; }
.newf .col { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.nf-cover { width: 100%; height: 200px; object-fit: cover; border-radius: 8px; display: block; margin-bottom: 12px; background: var(--track); }
.newf .picker { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.form-actions { grid-column: 1 / -1; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; border-top: 1px solid var(--line); padding-top: 18px; }
.form-err { flex-basis: 100%; color: var(--danger); font-size: 14px; font-weight: 500; }
.form-err[hidden] { display: none; }

/* ---------- leads ---------- */
.msg { white-space: pre-wrap; overflow-wrap: anywhere; background: var(--field-bg); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; line-height: 1.5; }
.dl { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 10px 16px; margin: 0; font-size: 14px; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; overflow-wrap: anywhere; }
.dl dd a { text-underline-offset: 3px; }
.empty-leads { padding: 40px 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; max-width: 760px; }
.empty-leads h2 { font-size: 20px; font-weight: 600; }
.empty-leads p { color: var(--muted); max-width: 60ch; }
.empty-leads .view-links { margin-top: 6px; }
.empty-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--track); display: inline-flex; align-items: center; justify-content: center; color: var(--ink); }
.empty-icon .dme-i { width: 24px; height: 24px; }

/* ---------- placeholder sections ---------- */
.ph-view { padding: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; max-width: 760px; }
.ph-view--wide { max-width: none; }
.ph-view h2 { font-size: 20px; font-weight: 600; }
.ph-view p { color: var(--muted); max-width: 64ch; }
.tag { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; background: #E3E8F4; color: #253A6B; font-size: 12px; font-weight: 600; }
.media-grid { list-style: none; margin: 8px 0; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.media-grid figure { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.media-grid img { width: 100%; aspect-ratio: 3 / 2; height: auto; object-fit: cover; border-radius: 8px; display: block; background: var(--track); }
.media-grid figcaption { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.mg-n { font-weight: 600; }
.mg-u { color: var(--muted); font-size: 13px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .side { position: sticky; top: 0; z-index: 60; height: auto; overflow: visible; padding: 0 16px; gap: 0; }
  .side-top { height: 64px; }
  .brand { padding: 0; }
  .menu-btn { display: inline-flex; }
  .side-body { display: none; }
  .side[data-open="true"] .side-body {
    display: flex; position: fixed; top: 64px; left: 0; right: 0; bottom: 0; overflow-y: auto;
    background: var(--ink); padding: 16px 16px 88px; gap: 24px; border-top: 1px solid rgba(242, 235, 221, 0.12);
  }
  .work, .work--leads { grid-template-columns: minmax(0, 1fr); }
  .newf { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .top { flex-wrap: wrap; padding: 14px 16px; gap: 12px; }
  .top-tools { width: 100%; }
  .search { flex: 1; min-width: 0; }
  .search input { width: 100%; max-width: none; }
  .work-wrap { padding: 16px; }
  .ed { padding: 16px; }
  .newf { padding: 16px; }
  .ph-view, .empty-leads { padding: 24px 16px; }
  .dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .dl dd { margin-bottom: 10px; }
}
@media (max-width: 440px) {
  .seg--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .picker, .newf .picker { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .top-tools .btn { padding: 0 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* phones: the price rides in the row so it is visible without side-scrolling */
.rt-p { display: none; }
@media (max-width: 720px) { .rt-p { display: block; font-weight: 600; font-size: 13px; color: var(--ink); margin-top: 2px; } }
