/* =====================================================================
   Apex Group listings: styles
   Brand colors come from the REMAX balloon (blue + red). Change them here.
   ===================================================================== */
:root {
  --ink: #16202E;
  --ink-2: #485364;
  --ink-3: #697385;
  --line: #DDE2E9;
  --line-2: #C7CED9;
  --bg: #F4F6F9;
  --paper: #FFFFFF;
  --blue: #003DA5;
  --blue-dark: #002B78;
  --blue-tint: #E8EEF8;
  --red: #DC1C2E;
  --red-ink: #A3121F;
  --red-tint: #FCE9EB;
  --amber: #855600;
  --amber-tint: #FDF1D6;
  --green: #1D6A43;
  --green-tint: #E2F2E8;
  --gray-tint: #EDF0F4;
  --navy: #0B1F44;
  --ig: #A61E5F;
  --ig-tint: #FBE8F1;
  --r-photo: 6px;
  --r-ctl: 8px;
  --r-panel: 12px;
  --r-modal: 16px;
  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --pop: 0 14px 44px rgba(11, 31, 68, .18), 0 2px 8px rgba(11, 31, 68, .08);
  --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23697385' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--ink);
  background: var(--paper); -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, dl, figure { margin: 0; }
ul, ol { padding: 0; }
img { max-width: 100%; }
a { color: var(--blue); }
button { font-family: inherit; }
input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
h1[tabindex="-1"]:focus { outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ic { width: 20px; height: 20px; flex: none; }
.muted { color: var(--ink-3); }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: 28px; padding-right: 28px; }
.boot { padding: 96px 24px; text-align: center; color: var(--ink-2); }
.boot p + p { margin-top: 8px; }
body.modal-open { overflow: hidden; }
body.has-demo { padding-bottom: 60px; }
body.is-busy::before {
  content: ""; position: fixed; z-index: 300; top: 0; left: 0; width: 40%; height: 3px;
  background: var(--red); animation: busy 1s ease-in-out infinite;
}
@keyframes busy { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(10px) scale(.99); } }

/* ---------- Brand lockup: balloon + REMAX REVEALTY / By APEX GROUP ---------- */
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; }
.site-head-in .brand { flex: 0 1 auto; }
.brand-name, .brand-sub { overflow: hidden; text-overflow: ellipsis; }
.brand-logo { display: block; height: 48px; width: auto; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.brand-name { font-weight: 800; font-stretch: 112%; font-size: 1.1875rem; letter-spacing: .03em; color: var(--blue); white-space: nowrap; }
.brand-sub { margin-top: 6px; font-size: .6875rem; font-weight: 700; letter-spacing: .05em; color: var(--red); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 18px; border: 1px solid transparent; border-radius: var(--r-ctl);
  font: 650 .9375rem/1 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn .ic { width: 18px; height: 18px; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-secondary:hover { border-color: var(--ink-3); }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: var(--gray-tint); color: var(--ink); }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { background: var(--red-ink); }
.btn.is-danger, .icon-btn.is-danger { color: var(--red-ink); }
.btn.is-danger:hover, .icon-btn.is-danger:hover { background: var(--red-tint); }
.btn-small { height: 36px; padding: 0 12px; font-size: .875rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: not-allowed; }
.btn.is-loading { color: transparent !important; }
.btn.is-loading .ic { opacity: 0; }
.btn.is-loading::after {
  content: ""; position: absolute; inset: 0; margin: auto; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff; animation: spin .7s linear infinite;
}
.btn-secondary.is-loading::after, .btn-ghost.is-loading::after { border-color: rgba(22, 32, 46, .2); border-top-color: var(--ink); }
.icon-btn {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: var(--r-ctl);
  background: transparent; color: var(--ink-2); cursor: pointer; text-decoration: none;
}
.icon-btn:hover { background: var(--gray-tint); color: var(--ink); }
.link-btn {
  padding: 4px 0; border: 0; background: none; color: var(--blue); cursor: pointer;
  font: 600 .9375rem var(--font); text-decoration: underline; text-underline-offset: 3px;
}
.link-btn.center { align-self: center; }
.link { font-weight: 600; font-size: .9375rem; text-decoration: none; }
.link:hover { text-decoration: underline; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

/* ---------- Form controls ---------- */
.field input:not([type=checkbox]):not([type=radio]), .field select, .field textarea,
.search-field input, .select-field select, .inline-form input, .copy-field, .copy-row input {
  width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: var(--r-ctl);
  background-color: #fff; transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; line-height: 1.5; }
select, .status-select { appearance: none; -webkit-appearance: none; background-image: var(--chevron); background-repeat: no-repeat; background-position: right 10px center; background-size: 16px; padding-right: 34px !important; cursor: pointer; }
.field input:focus, .field select:focus, .field textarea:focus, .search-field input:focus,
.select-field select:focus, .inline-form input:focus, .copy-row input:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 61, 165, .16);
}
.select-field select { width: auto; min-width: 150px; height: 44px; padding-top: 0; padding-bottom: 0; font-weight: 600; font-size: .9375rem; }
.select-field select:disabled { opacity: .5; cursor: not-allowed; }
.search-field { position: relative; display: block; }
.search-field .ic { position: absolute; left: 12px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.search-field input { padding-left: 38px; }
.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field > label, .field > legend { font-weight: 650; font-size: .9375rem; }
.field > legend { padding: 0; margin-bottom: 8px; }
.opt { margin-left: 4px; font-weight: 400; font-size: .8125rem; color: var(--ink-3); }
.field-help { font-size: .8125rem; color: var(--ink-3); }
.form-error { padding: 10px 12px; border-radius: var(--r-ctl); background: var(--red-tint); color: var(--red-ink); font-weight: 650; font-size: .9375rem; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.money-input { position: relative; }
.money-input > span { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--ink-3); font-weight: 650; pointer-events: none; }
.money-input input { padding-left: 26px !important; font-weight: 650; font-variant-numeric: tabular-nums; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 14px;
  border: 1px solid var(--line-2); border-radius: 999px; cursor: pointer; font-weight: 550;
}
.choice input { width: 16px; height: 16px; margin: 0; accent-color: var(--blue); }
.choice:has(input:checked) { border-color: var(--blue); background: var(--blue-tint); }
.choice:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }
.fine { font-size: .8125rem; color: var(--ink-3); }
.hint { margin-top: 14px; padding: 10px 12px; border-radius: var(--r-ctl); background: var(--gray-tint); color: var(--ink-2); font-size: .8125rem; }
.copy-row { display: flex; gap: 8px; }
.copy-row input { flex: 1; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .875rem; }
.copy-field { font-size: .875rem; }

/* Segmented control + tabs */
.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 10px; background: var(--gray-tint); }
.seg-btn { height: 38px; padding: 0 14px; border: 0; border-radius: 8px; background: transparent; color: var(--ink-2); font: 650 .875rem var(--font); cursor: pointer; }
.seg-btn[aria-pressed=true] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(11, 31, 68, .14); }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); }
.tab { margin-bottom: -1px; padding: 10px 14px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--ink-3); font: 650 .9375rem var(--font); cursor: pointer; }
.tab[aria-selected=true] { color: var(--blue); border-bottom-color: var(--blue); }
.modal .tabs { margin-bottom: 18px; }

/* Badges + pills */
.badge { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 6px; font-size: .8125rem; font-weight: 700; font-stretch: 100%; white-space: nowrap; }
.badge-active { background: var(--green-tint); color: var(--green); }
.badge-pending { background: var(--amber-tint); color: var(--amber); }
.badge-sold { background: var(--ink); color: #fff; }
.badge-inactive { background: var(--gray-tint); color: var(--ink-2); }
.pill { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: .75rem; font-weight: 750; white-space: nowrap; }
.pill-new { background: var(--red-tint); color: var(--red-ink); }
.pill-reviewed { background: var(--blue-tint); color: var(--blue); }
.pill-accepted, .pill-done { background: var(--green-tint); color: var(--green); }
.pill-declined { background: var(--gray-tint); color: var(--ink-2); }
.pill-todo { background: var(--amber-tint); color: var(--amber); }

/* Facts: 4 beds | 2.5 baths | 2,340 sq ft */
.facts { display: flex; flex-wrap: wrap; gap: 2px 17px; list-style: none; }
.facts li { position: relative; white-space: nowrap; }
.facts li + li::before { content: ""; position: absolute; left: -9px; top: 50%; width: 1px; height: .85em; background: var(--line-2); transform: translateY(-50%); }
.facts-lg { gap: 6px 25px; font-size: 1.0625rem; }
.facts-lg li + li::before { left: -13px; }

/* ---------- Public header + footer ---------- */
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(6px); }
.site-head-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 78px; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.nav-link { display: inline-flex; align-items: center; height: 40px; padding: 0 12px; border-radius: var(--r-ctl); color: var(--ink-2); font-weight: 650; font-size: .9375rem; text-decoration: none; }
.nav-link:hover { background: var(--gray-tint); color: var(--ink); }
.nav-link[aria-current=page], .nav-dash { color: var(--blue); }
.site-nav > .btn { margin-left: 6px; }
.site-main { min-height: 60vh; }
.site-foot { margin-top: 48px; border-top: 1px solid var(--line); background: var(--bg); }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 40px; padding-top: 32px; padding-bottom: 36px; font-size: .875rem; color: var(--ink-2); }
.foot-brand p + p { margin-top: 4px; }
.foot-name { color: var(--blue); font-weight: 800; font-stretch: 112%; letter-spacing: .03em; }
.foot-name span { margin-left: 6px; color: var(--red); font-size: .6875rem; letter-spacing: .05em; }
.foot-contact { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.foot-note { max-width: 440px; text-align: right; }

/* ---------- Home ---------- */
.intro { padding-top: 60px; padding-bottom: 30px; }
.display { max-width: 17ch; font-size: clamp(2.3rem, 1.3rem + 3.8vw, 4.4rem); font-weight: 800; font-stretch: 118%; line-height: 1.02; letter-spacing: -.018em; }
.lede { max-width: 58ch; margin-top: 18px; font-size: 1.125rem; color: var(--ink-2); }
.feature { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 44px; align-items: center; padding-top: 10px; padding-bottom: 56px; }
.feature-photo { display: block; border-radius: var(--r-photo); overflow: hidden; background: var(--gray-tint); }
.feature-photo img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.feature-kicker { color: var(--red); font-weight: 700; font-size: .9375rem; }
.price-xl { margin: 10px 0 14px; font-size: clamp(2.3rem, 1.6rem + 2.4vw, 3.6rem); font-weight: 800; font-stretch: 120%; line-height: 1; letter-spacing: -.012em; font-variant-numeric: tabular-nums; }
.feature-place { display: flex; flex-direction: column; font-size: 1.125rem; }
.feature-place span:first-child { font-weight: 650; }
.feature-place span:last-child { color: var(--ink-2); }
.feature .facts { margin: 14px 0 26px; color: var(--ink-2); }
.browse { padding-top: 32px; padding-bottom: 72px; border-top: 1px solid var(--line); }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 22px; }
.filters .search-field { flex: 1 1 260px; }
.count { margin-bottom: 18px; color: var(--ink-3); font-size: .875rem; font-weight: 600; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 44px 28px; }
.tile { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.tile-photo { position: relative; display: block; aspect-ratio: 4 / 3; margin-bottom: 14px; border-radius: var(--r-photo); overflow: hidden; background: var(--gray-tint); }
.tile-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tile-tag { position: absolute; left: 10px; top: 10px; padding: 5px 9px; border-radius: 6px; background: rgba(255, 255, 255, .95); color: var(--ink); font-size: .75rem; font-weight: 750; }
.tile-tag.tag-pending { background: var(--amber-tint); color: var(--amber); }
.tile-price { font-size: 1.5rem; font-weight: 800; font-stretch: 118%; line-height: 1.1; font-variant-numeric: tabular-nums; }
.tile-name { margin-top: 6px; font-weight: 650; }
.tile-city { color: var(--ink-2); font-size: .9375rem; }
.tile-facts { margin-top: 8px; color: var(--ink-2); font-size: .875rem; }
.tile:hover .tile-name { text-decoration: underline; text-underline-offset: 3px; }
.tile:focus-visible { outline-offset: 6px; border-radius: 4px; }

/* ---------- Listing page ---------- */
.page { padding-top: 28px; padding-bottom: 72px; }
.narrow { max-width: 780px; }
.page-title { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); font-weight: 800; font-stretch: 114%; line-height: 1.08; letter-spacing: -.01em; }
.page .lede { margin-bottom: 28px; }
.detail-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.back { display: inline-flex; align-items: center; gap: 4px; color: var(--ink-2); font-weight: 650; font-size: .9375rem; text-decoration: none; }
.back:hover { color: var(--ink); }
.back .ic { width: 18px; height: 18px; }
.staff-note { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 10px 14px; border-radius: var(--r-ctl); background: var(--amber-tint); color: var(--amber); font-weight: 650; font-size: .9375rem; }
.gallery-main { position: relative; border-radius: var(--r-photo); overflow: hidden; background: var(--navy); }
.gallery-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gallery-open img { display: block; width: 100%; aspect-ratio: 16 / 9; max-height: 70vh; object-fit: cover; }
.gal-nav {
  position: absolute; top: 50%; display: grid; place-items: center; width: 46px; height: 46px; transform: translateY(-50%);
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--ink); box-shadow: 0 2px 10px rgba(0, 0, 0, .22); cursor: pointer;
}
.gal-prev { left: 14px; }
.gal-next { right: 14px; }
.gal-count { position: absolute; right: 14px; bottom: 14px; padding: 5px 10px; border-radius: 999px; background: rgba(11, 31, 68, .74); color: #fff; font-size: .8125rem; font-weight: 650; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; padding-bottom: 4px; overflow-x: auto; }
.thumb { flex: 0 0 108px; padding: 0; border: 2px solid transparent; border-radius: 7px; overflow: hidden; background: none; opacity: .72; cursor: pointer; }
.thumb:hover { opacity: 1; }
.thumb[aria-current=true] { border-color: var(--blue); opacity: 1; }
.thumb img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.detail-cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; margin-top: 32px; }
.detail-title { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); font-weight: 800; font-stretch: 114%; line-height: 1.08; letter-spacing: -.01em; }
.detail-place { margin-top: 6px; color: var(--ink-2); font-size: 1.0625rem; }
.price-l { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 18px 0 12px; font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.4rem); font-weight: 800; font-stretch: 120%; line-height: 1.1; font-variant-numeric: tabular-nums; }
.price-l .badge { font-size: .8125rem; }
.detail-main .facts { color: var(--ink-2); }
.prose { max-width: 66ch; margin-top: 28px; }
.prose p { font-size: 1.0625rem; line-height: 1.68; }
.prose p + p { margin-top: 1em; }
.detail-main .h2 { margin: 38px 0 12px; font-size: 1.25rem; font-weight: 750; }
.highlights { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px 24px; list-style: none; }
.highlights li { position: relative; padding-left: 20px; }
.highlights li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 8px; height: 8px; border-radius: 2px; background: var(--red); }
.details { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0 24px; }
.details div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.details dt { font-size: .8125rem; color: var(--ink-3); }
.details dd { margin: 0; font-weight: 650; }
.ask { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 12px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-panel); background: #fff; box-shadow: 0 1px 2px rgba(11, 31, 68, .05); }
.ask-title { font-size: 1.125rem; font-weight: 750; }
.ask-note { color: var(--ink-2); font-size: .875rem; }
.ask-contact { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.ask-contact a { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; text-decoration: none; }
.ask-contact .ic { width: 18px; height: 18px; }

/* My offers + invite */
.my-offers { display: flex; flex-direction: column; gap: 10px; list-style: none; }
.mo { display: flex; align-items: center; gap: 16px; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-panel); background: #fff; }
.mo-img { flex: none; width: 92px; height: 69px; border-radius: 8px; object-fit: cover; }
.mo-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.mo-name { color: var(--ink); font-weight: 700; text-decoration: none; }
a.mo-name:hover { text-decoration: underline; }
.mo-what { font-weight: 600; }
.mo-date { color: var(--ink-3); font-size: .8125rem; }
.invite .btn-row { margin-top: 24px; }
.invite .hint { display: inline-block; }

/* Empty states */
.empty { display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 540px; margin: 0 auto; padding: 56px 20px; text-align: center; }
.empty-title { font-size: 1.25rem; font-weight: 750; }
.empty-body { color: var(--ink-2); }
.empty .btn { margin-top: 8px; }

/* ---------- Modal, lightbox, menus, toasts ---------- */
.modal-backdrop { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-start; justify-content: center; padding: 6vh 16px 24px; overflow-y: auto; background: rgba(11, 31, 68, .52); animation: fade .16s ease-out; }
.modal { width: min(560px, 100%); padding: 24px 28px 28px; border-radius: var(--r-modal); background: #fff; box-shadow: var(--pop); outline: none; animation: rise .18s ease-out; }
.modal-wide { width: min(780px, 100%); }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.modal-title { display: flex; align-items: center; gap: 10px; font-size: 1.375rem; font-weight: 800; font-stretch: 110%; line-height: 1.15; }
.modal-sub { margin-top: 4px; color: var(--ink-2); font-size: .9375rem; }
.modal-lede { margin-bottom: 18px; color: var(--ink-2); }
.modal-x { flex: none; margin: -6px -10px 0 0; }
.modal-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 22px; }
.modal .h3 { margin-top: 24px; }
.sent { display: flex; align-items: flex-start; gap: 14px; }
.sent-mark { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--green-tint); color: var(--green); }
.is-lightbox { align-items: center; padding: 0; background: rgba(5, 12, 26, .95); }
.is-lightbox .modal { width: 100%; max-width: none; padding: 0; background: transparent; box-shadow: none; }
.lb { position: relative; display: flex; align-items: center; justify-content: center; height: 100vh; }
.lb img { max-width: 94vw; max-height: 86vh; border-radius: 4px; object-fit: contain; }
.lb .modal-x { position: absolute; top: 16px; right: 16px; margin: 0; background: rgba(255, 255, 255, .14); color: #fff; }

.menu-wrap { position: relative; }
.menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 250px; padding: 6px; border: 1px solid var(--line); border-radius: var(--r-panel); background: #fff; box-shadow: var(--pop); }
.menu-who { display: flex; flex-direction: column; margin-bottom: 6px; padding: 10px 12px 12px; border-bottom: 1px solid var(--line); }
.menu-who-name { font-weight: 750; }
.menu-who-mail { color: var(--ink-2); font-size: .8125rem; overflow-wrap: anywhere; }
.menu-who-role { margin-top: 4px; color: var(--blue); font-size: .75rem; font-weight: 750; }
.menu-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 0; border-radius: var(--r-ctl); background: none; color: var(--ink); font: 550 .9375rem var(--font); text-align: left; text-decoration: none; cursor: pointer; }
.menu-item:hover { background: var(--gray-tint); }
.menu-item .ic { width: 18px; height: 18px; color: var(--ink-3); }
.avatar-btn { display: flex; align-items: center; gap: 8px; padding: 3px; border: 0; border-radius: 999px; background: none; color: var(--ink); font: 650 .9375rem var(--font); cursor: pointer; }
.avatar-btn:hover .avatar { box-shadow: 0 0 0 3px var(--blue-tint); }
.avatar-name { padding-right: 6px; }
.avatar { display: inline-grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--blue-tint); color: var(--blue); font-size: .8125rem; font-weight: 800; }
.bell { position: relative; }
.bell-count { position: absolute; top: 1px; right: 1px; display: grid; place-items: center; min-width: 19px; height: 19px; padding: 0 4px; border: 2px solid #fff; border-radius: 999px; background: var(--red); color: #fff; font-size: .6875rem; font-weight: 800; line-height: 1; }
.notif-panel { width: min(390px, calc(100vw - 24px)); max-height: 70vh; padding: 0; overflow-y: auto; }
.notif-head { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid var(--line); background: #fff; }
.notif-heading { font-weight: 750; }
.notif-head .link-btn { font-size: .8125rem; }
.notif-list { padding: 4px; list-style: none; }
.notif { position: relative; display: flex; flex-direction: column; gap: 2px; width: 100%; padding: 10px 12px 10px 24px; border: 0; border-radius: var(--r-ctl); background: none; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.notif:hover { background: var(--gray-tint); }
.notif.is-unread::before { content: ""; position: absolute; left: 9px; top: 17px; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.notif-title { font-weight: 650; font-size: .9375rem; color: var(--ink-2); }
.notif.is-unread .notif-title { color: var(--ink); font-weight: 750; }
.notif-body { color: var(--ink-2); font-size: .875rem; }
.notif-time { margin-top: 2px; color: var(--ink-3); font-size: .75rem; }
.notif-empty { padding: 18px; color: var(--ink-2); font-size: .9375rem; }

#toast-root { position: fixed; right: 24px; bottom: 24px; z-index: 200; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; width: min(400px, calc(100vw - 24px)); pointer-events: none; }
.has-demo #toast-root { bottom: 78px; }
.toast { width: 100%; padding: 12px 16px; border-radius: 10px; background: var(--navy); color: #fff; box-shadow: var(--pop); opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .2s; pointer-events: auto; }
.toast.is-in { opacity: 1; transform: none; }
.toast-msg { font-weight: 700; }
.toast-detail { margin-top: 2px; font-size: .875rem; opacity: .86; }
.toast-error { background: #8E1420; }

/* Demo bar */
.demo-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 10px 20px; background: var(--navy); color: #fff; font-size: .875rem; }
.demo-note strong { margin-right: 6px; padding: 2px 8px; border-radius: 4px; background: var(--red); font-weight: 800; }
.demo-note span { opacity: .85; }
.demo-who { display: flex; align-items: center; gap: 8px; margin-left: auto; font-weight: 600; }
.demo-who select { height: 36px; padding: 0 34px 0 10px; border: 0; border-radius: var(--r-ctl); background-color: #fff; color: var(--ink); font: 650 .875rem var(--font); }
.demo-reset { height: 36px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .35); border-radius: var(--r-ctl); background: transparent; color: #fff; font: 650 .875rem var(--font); cursor: pointer; }
.demo-reset:hover { background: rgba(255, 255, 255, .1); }

/* ---------- Dashboard frame ---------- */
.in-dash { background: var(--bg); }
.dash { display: grid; grid-template-columns: 264px minmax(0, 1fr); min-height: 100vh; }
.has-demo .dash { min-height: calc(100vh - 60px); }
.dash-side { position: sticky; top: 0; display: flex; flex-direction: column; height: 100vh; padding: 18px 14px; overflow-y: auto; background: var(--navy); color: #DDE5F2; }
.has-demo .dash-side { height: calc(100vh - 60px); }
.dash-brand { padding: 4px 6px 24px; }
.dash-side .brand { color: #fff; }
.dash-side .brand-logo { height: 52px; padding: 4px 5px; border-radius: 10px; background: #fff; }
.dash-side .brand-name { color: #fff; font-size: 1rem; }
.dash-side .brand-sub { color: #FF9EA7; }
.dnav { display: flex; flex-direction: column; gap: 2px; }
.dnav-link { position: relative; display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 12px; border-radius: 10px; color: #C3CEE1; font-weight: 650; text-decoration: none; }
.dnav-link:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.dnav-link[aria-current=page] { background: rgba(255, 255, 255, .11); color: #fff; }
.dnav-link[aria-current=page]::before { content: ""; position: absolute; left: -14px; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: var(--red); }
.dnav-count { display: grid; place-items: center; min-width: 22px; height: 22px; margin-left: auto; padding: 0 6px; border-radius: 999px; background: var(--red); color: #fff; font-size: .75rem; font-weight: 800; }
.dash-site-link { display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 12px; color: #C3CEE1; font-size: .875rem; font-weight: 650; text-decoration: none; }
.dash-site-link:hover { color: #fff; }
.dash-site-link .ic { width: 18px; height: 18px; }
.dash-body { min-width: 0; }
.dash-top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 36px; border-bottom: 1px solid var(--line); background: #fff; }
.dash-title { font-size: 1.5rem; font-weight: 800; font-stretch: 112%; line-height: 1.2; }
.dash-top-tools { display: flex; align-items: center; gap: 6px; }
.dash-main { max-width: 1240px; padding: 28px 36px 64px; }

.panel { margin-bottom: 20px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--r-panel); background: #fff; }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.panel .h2 { font-size: 1.125rem; font-weight: 750; }
.panel-empty { color: var(--ink-2); font-size: .9375rem; }
.h3 { margin: 22px 0 8px; font-size: .9375rem; font-weight: 750; }
.greet { margin-bottom: 18px; font-size: 1.25rem; font-weight: 700; }
.callout { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; margin-bottom: 20px; padding: 18px 20px; border-radius: var(--r-panel); background: var(--blue-tint); }
.callout-title { font-weight: 750; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; list-style: none; }
.stat { display: flex; flex-direction: column; gap: 6px; width: 100%; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-panel); background: #fff; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.stat:hover { border-color: var(--line-2); }
.stat-n { font-size: 2rem; font-weight: 800; font-stretch: 118%; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-l { display: flex; align-items: center; gap: 7px; color: var(--ink-2); font-size: .875rem; font-weight: 650; }
.stat-l::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.stat-active .stat-l::before { background: var(--green); }
.stat-pending .stat-l::before { background: #D99A10; }
.stat-sold .stat-l::before { background: var(--ink); }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 20px; align-items: start; }
.cols .panel { margin-bottom: 0; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 18px; }
.toolbar .search-field { flex: 1 1 240px; max-width: 380px; }
.toolbar .tabs { border-bottom: 0; }
.toolbar-gap { flex: 1; }
.legend { margin-top: 14px; color: var(--ink-3); font-size: .8125rem; line-height: 2.1; }

/* Tasks */
.tasks { display: flex; flex-direction: column; list-style: none; }
.task { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.task:first-child { border-top: 0; padding-top: 4px; }
.tasks-page .task { margin-bottom: 10px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-panel); background: #fff; }
.kind { display: inline-grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px; }
.kind .ic { width: 20px; height: 20px; }
.kind-ig { background: var(--ig-tint); color: var(--ig); }
.kind-fb { background: var(--blue-tint); color: var(--blue); }
.task-title { font-weight: 650; }
.task-title a { color: inherit; }
.task-meta { display: flex; flex-wrap: wrap; gap: 2px 14px; margin-top: 2px; color: var(--ink-3); font-size: .8125rem; }
.due { color: var(--amber); font-weight: 700; }
.due.is-late { color: var(--red-ink); }
.due.is-done { color: var(--green); }
.task-note { margin-top: 8px; padding: 8px 10px; border-left: 3px solid var(--line-2); border-radius: 6px; background: var(--bg); color: var(--ink-2); font-size: .9375rem; }
.task.is-done .task-title { color: var(--ink-2); }
.task-actions { display: flex; align-items: center; gap: 6px; }

/* Listings table */
.lrows { list-style: none; border: 1px solid var(--line); border-radius: var(--r-panel); overflow: hidden; background: #fff; }
.lrow { display: grid; grid-template-columns: 96px minmax(0, 1fr) 112px 132px 196px 122px; align-items: center; gap: 16px; padding: 12px 16px; border-top: 1px solid var(--line); }
.lrow-status .status-select { width: 100%; }
.lrow:first-child { border-top: 0; }
.lrow-photo img { display: block; width: 96px; height: 72px; border-radius: 6px; object-fit: cover; }
.lrow-name { color: var(--ink); font-weight: 700; text-decoration: none; }
.lrow-name:hover { text-decoration: underline; }
.lrow-sub { display: flex; flex-wrap: wrap; gap: 2px 12px; margin-top: 2px; color: var(--ink-3); font-size: .8125rem; }
.lrow-price { font-weight: 800; font-stretch: 112%; font-variant-numeric: tabular-nums; }
.lrow-social { display: flex; gap: 6px; }
.lrow-actions { display: flex; justify-content: flex-end; gap: 2px; }
.status-select { height: 36px; padding: 0 10px; border: 1px solid transparent; border-radius: var(--r-ctl); font: 700 .8125rem var(--font); }
.status-select.st-active { background-color: var(--green-tint); color: var(--green); }
.status-select.st-pending { background-color: var(--amber-tint); color: var(--amber); }
.status-select.st-sold { background-color: var(--ink); color: #fff; }
.status-select.st-inactive { background-color: var(--gray-tint); color: var(--ink-2); }
.soc { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 11px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; color: var(--ink-3); font: 700 .8125rem var(--font); cursor: pointer; }
.soc .ic { width: 16px; height: 16px; }
.soc.is-none:hover { border-color: var(--ink-3); color: var(--ink); }
.soc.is-open { border-color: #E9C77F; background: var(--amber-tint); color: var(--amber); }
.soc.is-done { border-color: #A6D4B8; background: var(--green-tint); color: var(--green); }
.soc .soc-check { width: 14px; height: 14px; }
.legend-chip { height: 26px; margin: 0 2px; padding: 0 8px; vertical-align: middle; cursor: default; }

/* Listing form */
.listing-form { gap: 0; max-width: 900px; }
.listing-form > .back { align-self: flex-start; margin-bottom: 14px; }
.listing-form .panel { margin-bottom: 18px; }
.form-panel { display: flex; flex-direction: column; gap: 16px; }
.is-land .home-only, .is-land .home-only-inline { display: none; }
.dropzone { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 28px 16px; border: 2px dashed var(--line-2); border-radius: var(--r-panel); background: var(--bg); color: var(--ink-2); text-align: center; cursor: pointer; }
.dropzone .ic { width: 28px; height: 28px; color: var(--blue); }
.dropzone.is-over { border-color: var(--blue); background: var(--blue-tint); }
.dropzone:focus-within { outline: 2px solid var(--blue); outline-offset: 2px; }
.dz-main { color: var(--ink); font-weight: 650; }
.dz-main u { color: var(--blue); }
.dz-help { font-size: .8125rem; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 12px; list-style: none; }
.photo-grid:empty { display: none; }
.ph { position: relative; border: 1px solid var(--line); border-radius: var(--r-ctl); overflow: hidden; background: var(--bg); }
.ph img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ph-cover { position: absolute; left: 8px; top: 8px; padding: 3px 8px; border-radius: 6px; background: var(--blue); color: #fff; font-size: .75rem; font-weight: 800; }
.ph-tools { display: flex; align-items: center; gap: 2px; padding: 4px; background: #fff; }
.ph-btn { display: inline-grid; place-items: center; min-width: 32px; height: 32px; padding: 0 6px; border: 0; border-radius: 6px; background: none; color: var(--ink-2); font: 650 .75rem var(--font); cursor: pointer; }
.ph-btn:hover { background: var(--gray-tint); color: var(--ink); }
.ph-btn .ic { width: 16px; height: 16px; }
.ph.is-uploading { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; aspect-ratio: 4 / 3; color: var(--ink-2); font-size: .8125rem; }
.spinner { width: 22px; height: 22px; border: 3px solid var(--line-2); border-top-color: var(--blue); border-radius: 50%; animation: spin .8s linear infinite; }
.form-foot { position: sticky; bottom: 0; z-index: 10; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px 0; border-top: 1px solid var(--line); background: rgba(244, 246, 249, .96); backdrop-filter: blur(4px); }
.has-demo .form-foot { bottom: 60px; }
.form-foot .form-error { flex-basis: 100%; }

/* Offers */
.offers { display: flex; flex-direction: column; gap: 10px; list-style: none; }
.offer { border: 1px solid var(--line); border-radius: var(--r-panel); background: #fff; }
.offer[open] { border-color: var(--line-2); box-shadow: 0 2px 10px rgba(11, 31, 68, .06); }
.offer-sum { display: grid; grid-template-columns: 84px minmax(0, 1.4fr) minmax(0, 1fr) 150px auto; align-items: center; gap: 16px; padding: 14px 18px; cursor: pointer; list-style: none; }
.offer-sum::-webkit-details-marker { display: none; }
.offer-sum small { display: block; margin-top: 2px; color: var(--ink-3); font-size: .8125rem; font-weight: 500; font-stretch: 100%; }
.offer-when, .offer-prop { font-weight: 650; }
.offer-who { font-weight: 600; }
.offer-amt { font-weight: 800; font-stretch: 112%; font-variant-numeric: tabular-nums; }
.offer-body { padding: 0 18px 18px; border-top: 1px solid var(--line); }
.kv { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 0 24px; margin-top: 6px; }
.kv div { padding: 10px 0; border-bottom: 1px solid var(--line); }
.kv .kv-wide { grid-column: 1 / -1; }
.kv dt { color: var(--ink-3); font-size: .8125rem; }
.kv dd { margin: 2px 0 0; overflow-wrap: anywhere; }
.offer-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.inline-label { display: flex; align-items: center; gap: 8px; font-size: .875rem; font-weight: 650; }
.inline-label select, .table select { height: 36px; padding: 0 34px 0 10px; border: 1px solid var(--line-2); border-radius: var(--r-ctl); background-color: #fff; font: 600 .875rem var(--font); }

/* Overview lists */
.mini-offers { list-style: none; }
.mini-offers a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: baseline; gap: 4px 12px; padding: 12px 0; border-top: 1px solid var(--line); color: inherit; text-decoration: none; }
.mini-offers li:first-child a { border-top: 0; padding-top: 4px; }
.mini-offers a:hover .mo-line { color: var(--ink); }
.mo-amount { font-weight: 800; font-stretch: 112%; font-variant-numeric: tabular-nums; }
.mo-line { overflow: hidden; color: var(--ink-2); font-size: .9375rem; text-overflow: ellipsis; white-space: nowrap; }
.mo-time { color: var(--ink-3); font-size: .8125rem; white-space: nowrap; }
.mini-tasks { list-style: none; }
.mini-tasks li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.mt-name { font-weight: 650; }
.mt-gap { flex: 1; }
.mt-note { flex-basis: 100%; color: var(--ink-2); font-size: .875rem; }

/* Team + people */
.people { list-style: none; }
.person { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.person:first-child { border-top: 0; }
.person-text { flex: 1; min-width: 0; }
.person-name { font-weight: 650; }
.person-mail { color: var(--ink-3); font-size: .8125rem; overflow-wrap: anywhere; }
.invite-box { margin-top: 20px; border-top: 1px solid var(--line); }
.invite-box .field-help { margin-top: 8px; }
.inline-form { display: flex; flex-wrap: wrap; gap: 8px; }
.inline-form input { flex: 1 1 240px; width: auto; }
.inline-form .form-error { flex-basis: 100%; }
.invites { margin-top: 12px; list-style: none; }
.invites li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 8px 0; border-top: 1px dashed var(--line-2); }
.inv-mail { font-weight: 650; }
.create-team > summary { display: flex; align-items: center; justify-content: space-between; cursor: pointer; list-style: none; }
.create-team > summary::-webkit-details-marker { display: none; }
.create-team > summary::after { content: "+"; color: var(--blue); font-size: 1.5rem; font-weight: 400; line-height: 1; }
.create-team[open] > summary::after { content: "\2212"; }
.form-narrow { max-width: 440px; margin-top: 14px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-panel); background: #fff; }
.table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.table th { padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--ink-3); font-size: .8125rem; font-weight: 650; text-align: left; white-space: nowrap; }
.table td { padding: 10px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.cell-person { display: flex; align-items: center; gap: 10px; font-weight: 650; white-space: nowrap; }
.cell-person .avatar { width: 30px; height: 30px; font-size: .75rem; }
.roles-help { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px 28px; margin-top: 22px; font-size: .875rem; }
.roles-help dt { font-weight: 750; }
.roles-help dd { margin: 2px 0 0; color: var(--ink-2); }

/* ---------- Smaller screens ---------- */
@media (max-width: 1100px) {
  .lrow { grid-template-columns: 84px minmax(0, 1fr) auto; grid-template-areas: "ph main main" "ph price status" "ph social actions"; row-gap: 8px; }
  .lrow-photo { grid-area: ph; align-self: start; }
  .lrow-photo img { width: 84px; height: 64px; }
  .lrow-main { grid-area: main; }
  .lrow-price { grid-area: price; }
  .lrow-status { grid-area: status; justify-self: end; }
  .lrow-social { grid-area: social; }
  .lrow-actions { grid-area: actions; justify-self: end; }
}
@media (max-width: 960px) {
  .feature { grid-template-columns: 1fr; gap: 22px; }
  .detail-cols { grid-template-columns: 1fr; gap: 32px; }
  .ask { position: static; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols { grid-template-columns: 1fr; }
  .offer-sum { grid-template-columns: minmax(0, 1fr) auto auto; }
  .offer-when, .offer-who { display: none; }
}
@media (max-width: 900px) {
  .dash { grid-template-columns: 1fr; }
  .dash-side, .has-demo .dash-side { position: sticky; top: 0; z-index: 35; flex-direction: row; align-items: center; gap: 10px; height: auto; padding: 8px 12px; overflow-x: auto; }
  .dash-brand { flex: none; padding: 0; }
  .dash-brand .brand-text { display: none; }
  .dash-side .brand-logo { height: 40px; }
  .dnav { flex-direction: row; }
  .dnav-link { height: 40px; padding: 0 10px; white-space: nowrap; }
  .dnav-link .ic { display: none; }
  .dnav-link[aria-current=page]::before { left: 10px; right: 10px; top: auto; bottom: 0; width: auto; height: 3px; border-radius: 3px 3px 0 0; }
  .dash-site-link { display: none; }
  .dash-top { position: static; padding: 14px 18px; }
  .dash-main { padding: 20px 18px 64px; }
}
@media (max-width: 640px) {
  .wrap { padding-left: 18px; padding-right: 18px; }
  .site-head-in { height: 66px; }
  .brand { gap: 9px; }
  .brand-logo { height: 40px; }
  .brand-name { font-size: .9375rem; }
  .brand-sub { margin-top: 4px; font-size: .625rem; }
  .hide-sm { display: none !important; }
  .nav-link { padding: 0 8px; }
  .intro { padding-top: 36px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .modal { padding: 20px 18px 22px; }
  .modal-backdrop { padding-top: 12px; }
  .filters .select-field { flex: 1 1 140px; }
  .filters .select-field select { width: 100%; min-width: 0; }
  .tiles { gap: 32px; }
  .gal-nav { width: 38px; height: 38px; }
  .demo-bar { flex-wrap: nowrap; gap: 8px; padding: 8px 12px; }
  .demo-who { flex: 1; min-width: 0; margin-left: 0; }
  .demo-who > span { display: none; }
  .demo-who select { width: 100%; min-width: 0; }
  .demo-reset { flex: none; }
  .nav-dash { display: none; }
  #toast-root { right: 50%; transform: translateX(50%); align-items: center; }
  .has-demo #toast-root { bottom: 70px; }
  .task { grid-template-columns: auto minmax(0, 1fr); }
  .task-actions { grid-column: 2; }
  .dash-title { font-size: 1.25rem; }
  .avatar-name { display: none; }
  .toolbar .search-field { max-width: none; flex-basis: 100%; }
  .foot-note { text-align: left; }
  .mo { align-items: flex-start; flex-wrap: wrap; }
  .lrow-social .soc span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
