@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/manrope-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/manrope-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 400 900; font-display: swap; src: url('/fonts/sourcesans3-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 400 900; font-display: swap; src: url('/fonts/sourcesans3-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --head: 'Manrope', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --body: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --navy: #0e2a47;
  --navy-2: #183a5c;
  --yellow: #f4b400;
  --yellow-hover: #dca200;
  --teal: #087f6b;
  --coral: #ef6a5b;
  --ink: #172230;
  --muted: #667487;
  --line: #dfe4ea;
  --soft-line: #eaedf1;
  --surface: #ffffff;
  --soft: #f6f7f9;
  --success: #087f5b;
  --danger: #be2e2e;
  --shadow: 0 16px 40px rgba(14, 42, 71, .10);
  --radius: 14px;
  --shell: min(1180px, calc(100vw - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--soft); font: 16.5px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
body.dialog-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
button, select { cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible { outline: 3px solid rgba(244, 180, 0, .45); outline-offset: 2px; }
button[disabled] { opacity: .55; cursor: not-allowed; }
img { display: block; max-width: 100%; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 1000; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 16px; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1em; height: 1em; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.14em; }
.view { display: none; }
.view.active { display: block; }
.desktop-only { display: inline-flex; }
[hidden] { display: none !important; }

.top-note { min-height: 34px; background: var(--navy); color: #dbe7f1; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 6px 20px; font-size: 13px; }
.top-note span { color: var(--navy); background: var(--yellow); padding: 1px 8px; border-radius: 30px; font-weight: 800; }
.top-note p { margin: 0; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; box-shadow: 0 2px 12px rgba(14, 42, 71, .04); }
.header-main { min-height: 74px; display: grid; grid-template-columns: auto minmax(360px, 1fr) auto; align-items: center; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 9px; border: 0; padding: 0; background: transparent; white-space: nowrap; }
.brand-symbol { width: 39px; height: 39px; border-radius: 10px; display: grid; place-items: center; background: var(--yellow); color: var(--navy); font: 800 21px var(--head); transform: rotate(-3deg); }
.brand-word { color: var(--navy); font: 800 24px var(--head); letter-spacing: -1.4px; }
.brand-word b { color: var(--teal); }
.header-search { height: 44px; display: grid; grid-template-columns: minmax(180px, 1fr) 155px auto; border: 1px solid #cdd4dd; border-radius: 9px; overflow: hidden; background: #fff; }
.header-search label { min-width: 0; display: flex; align-items: center; gap: 8px; padding: 0 12px; }
.header-search label + label { border-left: 1px solid var(--line); }
.header-search .icon { color: var(--muted); font-size: 18px; }
.header-search input, .header-search select { min-width: 0; width: 100%; height: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); }
.header-search button { border: 0; min-width: 72px; padding: 0 18px; color: var(--navy); background: var(--yellow); font-weight: 800; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.plain-button, .text-button { border: 0; background: transparent; font-weight: 700; }
.plain-button { padding: 10px 8px; color: var(--navy); }
.plain-button:hover, .text-button:hover { color: var(--teal); }
.primary-button .icon, .secondary-button .icon { font-size: 17px; }
.primary-button, .secondary-button, .danger-button { min-height: 43px; border-radius: 8px; padding: 9px 17px; border: 1px solid transparent; display: inline-flex; align-items: center; justify-content: center; gap: 7px; font-weight: 800; text-decoration: none; transition: .18s ease; }
.primary-button { background: var(--yellow); color: var(--navy); }
.primary-button:hover { background: var(--yellow-hover); transform: translateY(-1px); }
.secondary-button { background: #fff; border-color: #bdc7d2; color: var(--navy); }
.secondary-button:hover { border-color: var(--navy); }
.danger-button { background: var(--danger); color: #fff; }
.primary-button.full, .secondary-button.full, .danger-button.full { width: 100%; }
.primary-button.large, .secondary-button.large { min-height: 51px; padding: 12px 22px; }
.primary-button.small, .secondary-button.small { min-height: 38px; padding: 7px 13px; font-size: 14px; }
.category-nav { height: 42px; display: flex; align-items: center; gap: 3px; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); }
.category-nav::-webkit-scrollbar { display: none; }
.category-nav button { height: 100%; padding: 0 14px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: #46566a; font-size: 14px; font-weight: 700; white-space: nowrap; }
.category-nav button:hover, .category-nav button.active { color: var(--navy); border-color: var(--yellow); }

.hero { background: linear-gradient(117deg, #0e2a47 0%, #12395e 65%, #0b6a61 130%); color: #fff; overflow: hidden; }
.hero-inner { min-height: 450px; display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 70px; padding-block: 66px; position: relative; }
.hero-inner::after { content: ''; width: 320px; height: 320px; border: 70px solid rgba(244,180,0,.09); border-radius: 50%; position: absolute; right: -170px; top: -120px; }
.eyebrow { display: inline-block; color: var(--yellow); font: 800 12px var(--head); letter-spacing: 1.6px; }
.eyebrow.dark { color: var(--teal); }
.hero h1 { margin: 12px 0 17px; max-width: 690px; font: 800 clamp(37px, 5vw, 62px)/1.08 var(--head); letter-spacing: -3.2px; }
.hero h1 em { color: var(--yellow); font-style: normal; }
.hero-copy > p { margin: 0; max-width: 630px; color: #d8e2ec; font-size: 20px; }
.hero-actions { margin-top: 29px; display: flex; gap: 12px; }
.hero .secondary-button { color: #fff; border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.06); }
.trust-row { margin-top: 33px; display: flex; flex-wrap: wrap; gap: 16px; color: #c4d2df; font-size: 14px; }
.trust-row span { display: inline-flex; align-items: center; gap: 6px; }
.trust-row .icon { color: var(--yellow); stroke-width: 3; font-size: 14px; }
.hero-panel { position: relative; z-index: 1; background: #fff; color: var(--ink); border-radius: 16px; padding: 23px; box-shadow: 0 28px 60px rgba(0,0,0,.25); transform: rotate(1deg); }
.hero-panel-head { display: flex; align-items: center; gap: 9px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #19a974; box-shadow: 0 0 0 5px rgba(25,169,116,.12); }
.hero-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); padding: 21px 0; }
.hero-stat-grid div { padding: 0 10px; text-align: center; border-right: 1px solid var(--line); }
.hero-stat-grid div:last-child { border: 0; }
.hero-stat-grid strong { display: block; color: var(--navy); font: 800 25px var(--head); }
.hero-stat-grid span { color: var(--muted); font-size: 12px; }
.hero-example { width: 100%; display: flex; align-items: center; gap: 13px; padding: 15px; background: var(--soft); border: 1px solid transparent; border-radius: 11px; color: var(--ink); text-align: left; transition: .18s ease; }
.hero-example:hover { border-color: var(--line); background: #fff; box-shadow: 0 8px 20px rgba(14,42,71,.08); }
.hero-empty { margin: 18px 0; padding: 14px 15px; border-radius: 11px; background: #fff8e6; color: #5d4d1a; font-size: 15px; line-height: 1.45; }
.hero-empty b { display: block; color: var(--navy); font: 800 16px var(--head); margin-bottom: 2px; }
.hero-example > span { flex: 0 0 auto; }
.hero-example div { min-width: 0; }
.hero-example small, .hero-example b, .hero-example div span { display: block; }
.hero-example small { color: var(--coral); font-weight: 800; font-size: 11px; letter-spacing: .6px; }
.hero-example b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-example div span { color: var(--muted); font-size: 13px; }

.quick-categories { padding-block: 56px 45px; }
.section-title { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 23px; }
.section-title.centered { justify-content: center; text-align: center; }
.section-title h2, .market-head h2 { margin: 4px 0 0; color: var(--navy); font: 800 30px/1.2 var(--head); letter-spacing: -1.4px; }
.text-button { color: var(--teal); padding: 7px 0; display: inline-flex; align-items: center; gap: 5px; }
.text-button .icon { transition: transform .18s ease; }
.text-button[aria-expanded="true"] .icon { transform: rotate(-90deg); }
.category-cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 11px; }
.category-card { min-height: 124px; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 16px; text-align: left; display: flex; flex-direction: column; justify-content: space-between; transition: .18s ease; }
.category-card:hover, .category-card.active { border-color: var(--teal); box-shadow: 0 8px 24px rgba(14,42,71,.09); transform: translateY(-2px); }
.category-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; font-size: 20px; font-weight: 800; background: #e9f5f2; color: var(--teal); }
.category-icon.teal { background: #e6f4f6; color: #0d7182; }
.category-icon.coral { background: #fff0ed; color: var(--coral); }
.category-icon.blue { background: #eaf1fb; color: #356aa0; }
.category-icon.gold { background: #fff5d8; color: #a87000; }
.category-icon.purple { background: #f1ecfa; color: #7951a8; }
.category-icon.green { background: #eaf7e8; color: #47853f; }
.category-card b { color: var(--navy); font: 700 15px var(--head); }
.category-card small { display: block; margin-top: 1px; color: var(--muted); font-size: 13px; }
.category-cards:not(.expanded) .category-card.more { display: none; }

.market { padding-bottom: 65px; scroll-margin-top: 125px; }
.market-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.market-head p { margin: 3px 0 0; color: var(--muted); }
.quick-tabs { display: flex; gap: 5px; overflow-x: auto; }
.quick-tabs.panel-tabs { margin-bottom: 16px; }
.quick-tabs button { min-height: 37px; border: 1px solid var(--line); border-radius: 30px; background: #fff; color: #4f5d6d; padding: 7px 14px; font-weight: 700; white-space: nowrap; }
.quick-tabs button.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.market-layout { display: grid; grid-template-columns: 242px minmax(0, 1fr); gap: 28px; padding-top: 22px; align-items: start; }
.filter-panel { background: #fff; border: 1px solid var(--line); border-radius: 11px; padding: 18px; position: sticky; top: 135px; }
.filter-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 17px; }
.filter-title h3 { margin: 0; color: var(--navy); font: 800 18px var(--head); }
.filter-title button { border: 0; background: transparent; color: var(--teal); font-size: 13px; font-weight: 700; }
.field { display: grid; gap: 7px; margin-bottom: 15px; }
.field > span, .field legend { color: #3a4859; font-weight: 700; font-size: 14px; }
.field input, .field select, .field textarea { width: 100%; min-height: 43px; border: 1px solid #cdd5df; border-radius: 7px; background: #fff; color: var(--ink); padding: 9px 11px; outline: 0; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(8,127,107,.1); }
.field small { color: var(--muted); text-align: right; }
.field fieldset, fieldset.field { border: 0; padding: 0; margin: 0 0 16px; row-gap: 0; }
.field legend { margin-bottom: 7px; }
.check { display: flex; align-items: center; gap: 9px; padding: 4px 0; color: #4d5a6a; cursor: pointer; }
.check input, .terms-check input { width: 17px; height: 17px; min-height: 0; margin: 0; padding: 0; flex: 0 0 auto; accent-color: var(--teal); }
.check.emphasis { margin: 2px 0 16px; font-weight: 700; }
.price-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.listing-toolbar { min-height: 39px; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 11px; color: var(--muted); font-size: 14px; }
.listing-toolbar label { display: flex; align-items: center; gap: 8px; }
.listing-toolbar select { min-height: 36px; border: 1px solid var(--line); border-radius: 7px; padding: 4px 8px; background: #fff; }
.filter-toggle { display: none; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 7px; background: #fff; padding: 7px 12px; font-weight: 700; color: var(--navy); }
.filter-close { display: none; }
.active-filters { min-width: 0; flex: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.filter-chip { display: inline-flex; align-items: center; gap: 5px; min-height: 30px; border: 1px solid #c5e1dc; border-radius: 30px; background: #eaf4f3; color: #0b5f52; padding: 3px 8px 3px 11px; font-size: 13px; font-weight: 700; }
.filter-chip .icon { font-size: 13px; stroke-width: 2.5; }
.filter-chip:hover { border-color: var(--teal); }
.chip-clear { border: 0; background: transparent; color: var(--muted); font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; padding: 3px 4px; }
.listing-list { display: grid; gap: 12px; }
.listing-area { min-width: 0; }
.listing-card { width: 100%; display: grid; grid-template-columns: 82px minmax(0, 1fr) auto; gap: 17px; align-items: center; border: 1px solid var(--line); border-radius: 11px; background: #fff; padding: 17px; text-align: left; transition: .16s ease; }
.listing-card:hover { border-color: #aeb9c5; box-shadow: 0 7px 22px rgba(14,42,71,.08); transform: translateY(-1px); }
.listing-visual { width: 82px; height: 82px; border-radius: 10px; background: #eaf4f3; color: var(--teal); display: grid; place-items: center; font-size: 30px; }
.listing-visual .icon { stroke-width: 1.8; }
.listing-visual[data-tone="coral"] { background: #fff0ed; color: var(--coral); }
.listing-visual[data-tone="blue"] { background: #eaf1fb; color: #356aa0; }
.listing-visual[data-tone="gold"] { background: #fff5d8; color: #a87000; }
.listing-visual[data-tone="purple"] { background: #f1ecfa; color: #7951a8; }
.listing-visual[data-tone="green"] { background: #eaf7e8; color: #47853f; }
.listing-visual[data-tone="teal"] { background: #e6f4f6; color: #0d7182; }
.listing-main { min-width: 0; }
.listing-labels { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 4px; }
.pill { display: inline-flex; align-items: center; min-height: 21px; border-radius: 4px; padding: 2px 7px; background: #eef2f6; color: #506070; font-size: 11px; font-weight: 800; }
.pill.urgent { background: #fff0ed; color: #c64234; }
.pill.online { background: #e9f5f2; color: #076f5e; }
.pill.featured { background: #fff5d8; color: #926600; }
.pill.new { background: #e7f5ee; color: var(--success); }
.listing-main h3 { margin: 0; color: var(--navy); font: 800 18px/1.35 var(--head); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.listing-main > p { margin: 6px 0; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.listing-meta { display: flex; gap: 13px; flex-wrap: wrap; color: #536174; font-size: 13px; }
.listing-meta span { display: inline-flex; align-items: center; gap: 5px; }
.listing-meta .icon { color: #8794a5; font-size: 14px; }
.listing-side { min-width: 145px; align-self: stretch; display: flex; flex-direction: column; align-items: end; justify-content: space-between; }
.save-button { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); font-size: 17px; transition: .16s ease; }
.save-button:hover { border-color: var(--coral); color: var(--coral); }
.save-button.saved { background: #fff0ed; border-color: #f6b9b1; color: var(--coral); }
.save-button.saved .icon { fill: currentColor; }
.card-open-button { border: 0; background: transparent; color: var(--navy); padding: 5px 0; font-size: 12px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.listing-price { color: var(--navy); text-align: right; }
.listing-price strong { display: block; font: 800 21px var(--head); }
.listing-price span { color: var(--muted); font-size: 12px; }
.empty-state, .error-state { min-height: 270px; display: grid; place-items: center; align-content: center; text-align: center; padding: 35px; border: 1px dashed #c9d1da; border-radius: 12px; background: #fff; }
.empty-state > span, .error-state > span { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: #e9f5f2; color: var(--teal); font-size: 25px; }
.error-state > span { background: #fdeceb; color: var(--danger); }
.empty-state .primary-button, .empty-state .secondary-button { margin-top: 16px; }
.empty-state.welcome { border-style: solid; border-color: #ebcf75; background: linear-gradient(180deg, #fffaf0, #fff); }
.empty-state.welcome > span { background: #fff5d8; color: #a87000; }
.skeleton-card { pointer-events: none; }
.skeleton-card .listing-visual, .skeleton-line { background: linear-gradient(90deg, #eef1f4 25%, #f7f8fa 50%, #eef1f4 75%); background-size: 200% 100%; animation: shimmer 1.3s linear infinite; }
.skeleton-line { display: block; height: 12px; border-radius: 6px; margin: 9px 0; }
.skeleton-line.wide { width: 70%; height: 16px; }
.skeleton-line.mid { width: 92%; }
.skeleton-line.short { width: 40%; }
@keyframes shimmer { to { background-position: -200% 0; } }
.empty-state h2, .error-state h2 { margin: 13px 0 3px; color: var(--navy); font: 800 21px var(--head); }
.empty-state p, .error-state p { max-width: 100%; margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.load-more { margin: 18px auto 0; }

.how-it-works { padding: 65px 0; background: #fff; border-block: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 980px; margin: 0 auto; }
.steps article { position: relative; border: 1px solid var(--line); border-radius: 13px; padding: 25px; }
.steps article > span { position: absolute; right: 18px; top: 15px; color: #e2e7ed; font: 800 30px var(--head); }
.step-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: var(--navy); color: var(--yellow); font-size: 22px; }
.steps h3 { margin: 18px 0 7px; color: var(--navy); font: 800 18px var(--head); }
.steps p { margin: 0; color: var(--muted); }
.safety { margin-block: 45px; background: #eaf4f3; border: 1px solid #c5e1dc; border-radius: 14px; padding: 26px 29px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.safety > div { display: flex; align-items: center; gap: 18px; }
.safety-icon { flex: 0 0 auto; width: 57px; height: 57px; display: grid; place-items: center; background: var(--teal); color: #fff; border-radius: 50%; font-size: 26px; }
.safety h2 { margin: 3px 0; color: var(--navy); font: 800 22px var(--head); }
.safety p { margin: 0; color: #536677; }

.site-footer { background: var(--navy); color: #bfcddd; padding-top: 49px; padding-bottom: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 55px; }
.footer-brand .brand-word { color: #fff; }
.footer-grid p { max-width: 310px; }
.footer-grid h3 { margin: 4px 0 13px; color: #fff; font: 700 15px var(--head); }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: start; gap: 7px; }
.footer-grid button { border: 0; padding: 2px 0; background: transparent; color: #bfcddd; }
.footer-grid button:hover { color: var(--yellow); }
.footer-bottom { display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.13); margin-top: 37px; padding-top: 18px; font-size: 13px; }
.mobile-nav { display: none; }

.dashboard-view, .messages-view, .admin-view { min-height: 720px; padding: 46px 0 80px; }
.page-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.page-head h1 { margin: 4px 0 2px; color: var(--navy); font: 800 34px var(--head); letter-spacing: -1.6px; }
.page-head p { margin: 0; color: var(--muted); }
.page-head-actions { display: flex; align-items: center; gap: 9px; flex: 0 0 auto; }
.logout-button { color: var(--danger); border-color: #e4b8b8; }
.logout-button:hover { color: #fff; border-color: var(--danger); background: var(--danger); }
.account-banner { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: #fff5d8; border: 1px solid #ebcf75; border-radius: 11px; padding: 17px 20px; margin-bottom: 19px; }
.account-banner strong { color: var(--navy); }
.account-banner p { margin: 1px 0 0; color: #6d5a1b; }
.account-banner > div:last-child { display: flex; gap: 8px; }
.dashboard-stats, .admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; margin-bottom: 20px; }
.metric-card { background: #fff; border: 1px solid var(--line); border-radius: 11px; padding: 18px; }
.metric-card span { color: var(--muted); font-size: 14px; }
.metric-card strong { display: block; color: var(--navy); font: 800 28px var(--head); }
.metric-card small { color: var(--teal); }
.dashboard-layout, .admin-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 20px; align-items: start; }
.dashboard-nav { background: #fff; border: 1px solid var(--line); border-radius: 11px; padding: 8px; display: grid; gap: 3px; }
.dashboard-nav button { min-height: 42px; border: 0; border-radius: 7px; background: transparent; text-align: left; padding: 8px 11px; color: #546274; font-weight: 700; }
.dashboard-nav button:hover, .dashboard-nav button.active { color: var(--navy); background: #eef3f6; }
.dashboard-nav button.active { box-shadow: inset 3px 0 var(--yellow); }
.dashboard-nav .dashboard-admin-link { margin-top: 5px; color: var(--teal); border-top: 1px solid var(--line); border-radius: 0 0 7px 7px; }
.dashboard-panel { min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 11px; padding: 22px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 18px; }
.panel-head h2 { margin: 0; color: var(--navy); font: 800 22px var(--head); }
.panel-head p { margin: 2px 0 0; color: var(--muted); }
.manage-list { display: grid; gap: 9px; }
.manage-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 15px; align-items: center; border: 1px solid var(--soft-line); border-radius: 9px; padding: 13px; }
.manage-row h3 { margin: 0; color: var(--navy); font: 700 16px var(--head); }
.manage-row p { margin: 3px 0 0; color: var(--muted); font-size: 14px; }
.manage-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: end; }
.mini-button { min-height: 33px; border: 1px solid var(--line); border-radius: 6px; background: #fff; padding: 5px 9px; color: var(--navy); font-size: 13px; font-weight: 700; }
.mini-button:hover { border-color: var(--navy); }
.mini-button.danger { color: var(--danger); }
.mini-button.good { color: var(--success); }
.status-badge { display: inline-block; border-radius: 30px; padding: 2px 8px; background: #eef2f6; color: #536174; font-size: 11px; font-weight: 800; }
.status-badge.active, .status-badge.accepted, .status-badge.resolved { background: #e7f5ee; color: var(--success); }
.status-badge.open, .status-badge.pending, .status-badge.reviewing { background: #fff5d8; color: #8c6200; }
.status-badge.expired { background: #fff3d9; color: #8a4b08; }
.status-badge.removed, .status-badge.blocked, .status-badge.rejected { background: #fdeceb; color: var(--danger); }
.profile-summary { display: grid; grid-template-columns: auto 1fr; gap: 17px; align-items: center; margin-bottom: 22px; }
.avatar { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: var(--yellow); font: 800 21px var(--head); }
.profile-summary h2 { margin: 0; color: var(--navy); font: 800 21px var(--head); }
.profile-summary p { margin: 2px 0 0; color: var(--muted); }
.setting-list { display: grid; gap: 8px; }
.setting-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; border: 1px solid var(--soft-line); border-radius: 8px; padding: 13px; }
.setting-row b, .setting-row small { display: block; }
.setting-row small { color: var(--muted); }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
.plan-card { border: 1px solid var(--line); border-radius: 11px; padding: 17px; position: relative; }
.plan-card.recommended { border-color: var(--teal); box-shadow: 0 0 0 2px rgba(8,127,107,.1); }
.plan-card .recommend { position: absolute; top: -10px; right: 12px; background: var(--teal); color: #fff; border-radius: 20px; padding: 2px 8px; font-size: 10px; font-weight: 800; }
.plan-card h3 { margin: 0; color: var(--navy); font: 800 18px var(--head); }
.plan-card .plan-price { margin: 7px 0; color: var(--navy); font: 800 25px var(--head); }
.plan-card ul { margin: 11px 0 17px; padding-left: 19px; color: var(--muted); font-size: 14px; }
.demo-note { margin-top: 14px; background: #f4f1fa; border-radius: 8px; padding: 12px; color: #675580; font-size: 14px; }

.messaging { min-height: 570px; display: grid; grid-template-columns: 330px minmax(0, 1fr); border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.conversation-list { border-right: 1px solid var(--line); overflow-y: auto; }
.conversation-item { width: 100%; display: flex; gap: 11px; align-items: center; padding: 14px; border: 0; border-bottom: 1px solid var(--soft-line); background: #fff; text-align: left; }
.conversation-item:hover, .conversation-item.active { background: #f0f5f6; }
.conversation-item .avatar { width: 42px; height: 42px; flex: 0 0 auto; display: grid; color: var(--yellow); font-size: 14px; }
.conversation-item div { min-width: 0; }
.conversation-item b, .conversation-item span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conversation-item span { color: var(--muted); font-size: 13px; }
.conversation-item div { flex: 1; }
.conversation-item time { flex: 0 0 auto; align-self: start; margin-top: 2px; color: var(--muted); font-size: 12px; }
.message-pane { min-width: 0; display: flex; flex-direction: column; }
.chat-head { min-height: 67px; display: flex; align-items: center; gap: 11px; padding: 12px 17px; border-bottom: 1px solid var(--line); }
.chat-head .avatar { width: 44px; height: 44px; flex: 0 0 auto; font-size: 15px; }
.chat-head h2 { margin: 0; color: var(--navy); font: 800 17px var(--head); }
.chat-head p { margin: 1px 0 0; color: var(--muted); font-size: 13px; }
.chat-listing { border: 0; background: transparent; padding: 0; color: var(--teal); font-size: 13px; font-weight: 700; text-align: left; }
.chat-listing:hover { text-decoration: underline; }
.chat-listing[disabled] { color: var(--muted); opacity: 1; cursor: default; text-decoration: none; }
.messages { flex: 1; min-height: 370px; max-height: 470px; overflow-y: auto; padding: 19px; background: #f7f8fa; display: flex; flex-direction: column; gap: 9px; }
.message-bubble { max-width: min(72%, 510px); align-self: start; background: #fff; border: 1px solid var(--line); border-radius: 4px 13px 13px 13px; padding: 9px 12px; }
.message-bubble.mine { align-self: end; background: #e6f3f0; border-color: #badbd4; border-radius: 13px 4px 13px 13px; }
.message-bubble p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.message-bubble time { display: block; color: var(--muted); font-size: 11px; margin-top: 3px; text-align: right; }
.message-form { display: flex; gap: 9px; padding: 13px; border-top: 1px solid var(--line); }
.message-form .primary-button .icon { font-size: 16px; }
.message-form input { flex: 1; min-width: 0; border: 1px solid #cdd5df; border-radius: 8px; padding: 9px 12px; }
.message-form input:focus { border-color: var(--teal); outline: 0; box-shadow: 0 0 0 3px rgba(8,127,107,.1); }
.admin-badge { border-radius: 30px; padding: 5px 11px; background: #eaf4f3; color: var(--teal); font-weight: 800; font-size: 13px; }
.data-table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; min-width: 650px; }
.data-table th, .data-table td { border-bottom: 1px solid var(--soft-line); padding: 11px 9px; text-align: left; vertical-align: middle; }
.data-table th { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .5px; }
.data-table td { font-size: 14px; }
.data-table strong { color: var(--navy); }
.table-actions { display: flex; gap: 5px; }

.dialog { width: fit-content; max-width: none; margin: auto; padding: 0; border: 0; background: transparent; overflow: visible; }
.dialog::backdrop { background: rgba(6, 21, 35, .66); backdrop-filter: blur(2px); }
.dialog-card { width: min(620px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; border-radius: 14px; padding: 28px; box-shadow: var(--shadow); position: relative; }
.dialog.compact .dialog-card, .dialog-card.compact { width: min(470px, calc(100vw - 32px)); }
.dialog.wide .dialog-card { width: min(710px, calc(100vw - 32px)); }
.dialog-card > h2 { margin: 5px 0 4px; color: var(--navy); font: 800 26px/1.25 var(--head); letter-spacing: -1px; }
.dialog-card > p { margin: 0 0 19px; color: var(--muted); }
.dialog-close { position: absolute; right: 13px; top: 13px; width: 37px; height: 37px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--navy); font-size: 22px; line-height: 1; z-index: 2; }
.dialog-close:hover { background: var(--soft); }
.centered { text-align: center; }
.auth-logo { display: flex; justify-content: center; margin-bottom: 13px; }
.auth-name-fields, .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.terms-check { display: flex; gap: 9px; align-items: flex-start; margin: 9px 0 16px; color: #526173; font-size: 14px; }
.auth-switch { display: flex; justify-content: center; gap: 5px; border-top: 1px solid var(--soft-line); margin-top: 18px; padding-top: 17px; color: var(--muted); }
.auth-switch button { border: 0; background: transparent; color: var(--teal); font-weight: 800; }
.forgot-button { display: block; margin: 8px auto 0; }
.secure-note, .notice { margin-top: 17px; border-radius: 8px; padding: 11px 13px; background: #eef3f6; color: #58697a; font-size: 13.5px; }
.secure-note .icon { color: var(--teal); }
.notice.safe { background: #eaf4f3; color: #426861; }
.success-mark .icon { font-size: 27px; }
.success-mark, .warning-mark { width: 61px; height: 61px; display: grid; place-items: center; border-radius: 50%; margin: 0 auto 13px; background: #e7f5ee; color: var(--success); font-size: 26px; }
.warning-mark { background: #fdeceb; color: var(--danger); font: 800 26px var(--head); }
.money-input { position: relative; }
.money-input input { padding-right: 42px; }
.money-input b { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.choice-row { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.choice-row label { display: block; }
.choice-row input { position: absolute; opacity: 0; pointer-events: none; }
.choice-row span { display: block; border: 1px solid var(--line); border-radius: 8px; padding: 11px; }
.choice-row b, .choice-row small { display: block; }
.choice-row small { color: var(--muted); }
.choice-row input:checked + span { border-color: var(--teal); box-shadow: 0 0 0 2px rgba(8,127,107,.11); background: #f6fbfa; }
.dialog-actions { margin-top: 21px; display: flex; justify-content: end; gap: 9px; }
.simulation-label { display: inline-block; margin-bottom: 8px; border-radius: 20px; padding: 4px 9px; background: #f1ecfa; color: #75519e; font-size: 11px; font-weight: 800; letter-spacing: .6px; }
.demo-card { min-height: 130px; display: flex; flex-direction: column; justify-content: space-between; border-radius: 12px; padding: 17px; color: #fff; background: linear-gradient(135deg, var(--navy), #176659); box-shadow: 0 15px 30px rgba(14,42,71,.2); }
.demo-card span, .demo-card small { color: #c9d8e5; }
.demo-card b { font: 700 20px var(--head); letter-spacing: 1px; }
.payment-summary { display: flex; align-items: center; justify-content: space-between; margin: 19px 0; padding: 12px 0; border-block: 1px solid var(--line); }
.payment-summary strong { color: var(--navy); font: 800 23px var(--head); }
.detail-dialog .detail-card { width: min(780px, calc(100vw - 32px)); padding: 0; }
.detail-cover { min-height: 160px; padding: 27px; color: #fff; background: linear-gradient(120deg, var(--navy), var(--teal)); display: flex; align-items: end; border-radius: 14px 14px 0 0; position: relative; }
.detail-cover .dialog-close { top: 14px; right: 14px; }
.detail-cover h2 { margin: 7px 0 0; color: #fff; font: 800 28px/1.25 var(--head); max-width: 620px; }
.detail-cover .listing-labels { margin: 0; }
.detail-body { padding: 25px; display: grid; grid-template-columns: minmax(0, 1fr) 225px; gap: 27px; }
.detail-description h3, .detail-sidebar h3 { margin: 0 0 8px; color: var(--navy); font: 800 17px var(--head); }
.detail-description > p { margin: 0; color: #455467; white-space: pre-wrap; overflow-wrap: anywhere; }
.detail-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 22px 0; }
.detail-fact { background: var(--soft); border-radius: 8px; padding: 11px; }
.detail-fact span, .detail-fact b { display: block; }
.detail-fact span { color: var(--muted); font-size: 12px; }
.detail-fact b { color: var(--navy); }
.detail-profile { display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--line); margin-top: 21px; padding-top: 17px; }
.detail-profile .avatar { width: 43px; height: 43px; flex: 0 0 auto; display: grid; color: var(--yellow); font-size: 14px; }
.detail-profile b, .detail-profile span { display: block; }
.detail-profile span { color: var(--muted); font-size: 13px; }
.detail-sidebar { border-left: 1px solid var(--line); padding-left: 22px; }
.detail-price { margin-bottom: 17px; }
.detail-price strong { display: block; color: var(--navy); font: 800 28px var(--head); }
.detail-price span { color: var(--muted); font-size: 13px; }
.detail-actions { display: grid; gap: 8px; }
.report-link { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; background: transparent; color: var(--muted); padding: 8px; font-size: 13px; }
.report-link:hover { color: var(--danger); }
.detail-facts .icon { color: var(--teal); margin-right: 4px; }
.info-content { color: #455467; }
.info-content h3 { margin: 18px 0 4px; color: var(--navy); font: 800 17px var(--head); }
.info-content p { margin: 0 0 11px; }
.filter-backdrop { display: none; }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 100; max-width: 390px; display: flex; align-items: center; gap: 11px; padding: 13px 17px; border-radius: 10px; background: var(--navy); color: #fff; box-shadow: var(--shadow); opacity: 0; transform: translateY(15px); pointer-events: none; transition: .2s ease; }
.toast.show { opacity: 1; transform: translateY(0); }
.toast.error span { color: #ff8f84; }
.toast span { color: var(--yellow); font-weight: 800; }
.toast p { margin: 0; }
.money-hint { margin: -6px 0 14px; color: var(--muted); font-size: 13px; }

@media (max-width: 1050px) {
  .header-main { grid-template-columns: auto 1fr auto; gap: 15px; }
  .header-search { grid-template-columns: 1fr auto; }
  .header-search .location-input { display: none; }
  .header-actions .desktop-only { display: none; }
  .category-cards { grid-template-columns: repeat(3, 1fr); }
  .hero-inner { gap: 35px; }
  .footer-grid { gap: 30px; }
}

@media (max-width: 780px) {
  :root { --shell: min(100% - 28px, 680px); }
  body { padding-bottom: 66px; }
  .top-note { font-size: 12px; }
  .top-note p { display: none; }
  .site-header { position: relative; }
  .header-main { min-height: 62px; grid-template-columns: auto 1fr; column-gap: 12px; row-gap: 0; }
  .brand-symbol { width: 34px; height: 34px; font-size: 18px; }
  .brand-word { font-size: 22px; }
  .header-search { grid-column: 1 / -1; grid-row: 2; height: 44px; margin-bottom: 11px; grid-template-columns: 1fr auto; }
  .header-search input { font-size: 16px; }
  .header-search button { min-width: 0; padding: 0 16px; }
  .header-actions { justify-content: end; }
  .header-actions .primary-button { display: none; }
  .header-actions .plain-button { display: inline-flex; }
  .header-actions .plain-button.desktop-only { display: none; }
  .category-nav { height: 39px; overflow-x: auto; margin-right: 0; width: 100%; padding-inline: 14px; }
  .hero-inner { min-height: auto; display: block; padding-block: 48px 42px; }
  .hero h1 { font-size: clamp(35px, 10vw, 48px); letter-spacing: -2.3px; }
  .hero-copy > p { font-size: 18px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .trust-row { gap: 7px 14px; }
  .hero-panel { margin-top: 34px; transform: none; }
  .quick-categories { padding-block: 39px 33px; }
  .section-title { align-items: center; }
  .section-title h2, .market-head h2 { font-size: 25px; }
  .category-cards { grid-template-columns: repeat(2, 1fr); }
  .category-card { min-height: 112px; }
  .market-head { display: block; }
  .quick-tabs { margin-top: 16px; padding-bottom: 3px; }
  .market-layout { display: block; }
  .filter-panel { display: none; position: fixed; z-index: 80; left: 0; top: 0; bottom: 0; width: min(320px, 88vw); border-radius: 0; overflow-y: auto; padding-top: 22px; }
  .filter-title { gap: 10px; }
  .filter-title h3 { margin-right: auto; }
  .filter-title .filter-close { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--navy); font-size: 18px; }
  .filter-panel.open { display: block; }
  .filter-backdrop.open { display: block; position: fixed; inset: 0; z-index: 79; background: rgba(6,21,35,.6); }
  .filter-toggle { display: inline-flex; }
  .listing-toolbar { flex-wrap: wrap; }
  .active-filters { order: 3; flex-basis: 100%; }
  .active-filters > span:only-child { display: none; }
  .listing-card { grid-template-columns: 62px minmax(0, 1fr); padding: 13px; gap: 12px; }
  .listing-visual { width: 62px; height: 67px; font-size: 22px; }
  .listing-side { grid-column: 1 / -1; min-width: 0; flex-direction: row; align-items: center; gap: 14px; border-top: 1px solid var(--soft-line); padding-top: 10px; }
  .listing-side .listing-price { order: 1; margin-right: auto; }
  .listing-side .card-open-button { order: 2; }
  .listing-side .save-button { order: 3; }
  .listing-price { text-align: left; }
  .listing-price strong { font-size: 18px; }
  .listing-main > p { display: none; }
  .listing-main h3 { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .how-it-works { padding: 48px 0; }
  .steps { grid-template-columns: 1fr; }
  .safety { display: block; padding: 21px; }
  .safety > div { align-items: flex-start; }
  .safety .secondary-button { width: 100%; margin-top: 19px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .site-footer { padding-bottom: 34px; }
  .footer-bottom { display: block; }
  .mobile-nav { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; height: 66px; display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -5px 20px rgba(14,42,71,.08); }
  .mobile-nav button { position: relative; border: 0; background: transparent; color: #667487; font-size: 11px; font-weight: 700; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; }
  .mobile-nav .icon { font-size: 21px; margin-bottom: 2px; }
  .mobile-nav button.active { color: var(--navy); }
  .mobile-nav .mobile-create span { width: 46px; height: 46px; margin-top: -24px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); color: var(--navy); border: 4px solid #fff; box-shadow: 0 4px 12px rgba(14,42,71,.18); }
  .mobile-nav .mobile-create .icon { font-size: 22px; margin: 0; stroke-width: 2.6; }
  .dashboard-view, .messages-view, .admin-view { padding: 32px 0 50px; }
  .page-head { align-items: center; }
  .page-head h1 { font-size: 28px; }
  .page-head-actions { align-self: center; }
  .dashboard-stats, .admin-stats { grid-template-columns: 1fr 1fr; }
  .dashboard-layout, .admin-layout { display: block; }
  .dashboard-nav { display: flex; overflow-x: auto; margin-bottom: 12px; }
  .dashboard-nav button { flex: 0 0 auto; white-space: nowrap; }
  .dashboard-nav button.active { box-shadow: inset 0 -3px var(--yellow); }
  .dashboard-panel { padding: 16px; }
  .plan-grid { grid-template-columns: 1fr; }
  .account-banner { display: block; }
  .account-banner > div:last-child { margin-top: 12px; flex-wrap: wrap; }
  .messaging { display: block; min-height: 570px; }
  .conversation-list { max-height: 230px; border-right: 0; border-bottom: 1px solid var(--line); }
  .message-pane { min-height: 380px; }
  .manage-row { display: block; }
  .manage-actions { justify-content: start; margin-top: 10px; }
  .detail-body { grid-template-columns: 1fr; }
  .detail-sidebar { border-left: 0; border-top: 1px solid var(--line); padding: 20px 0 0; }
  .dialog-card { padding: 23px 18px; }
  .auth-name-fields, .form-grid { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 460px) {
  .message-form .primary-button span { display: none; }
  .message-form .primary-button { padding-inline: 14px; }
  .top-note { min-height: 29px; }
  .header-main { min-height: 57px; }
  .brand-word { font-size: 20px; }
  .header-actions .plain-button { font-size: 14px; }
  .hero-inner { padding-block: 40px 36px; }
  .hero h1 { font-size: 36px; }
  .hero-stat-grid strong { font-size: 20px; }
  .hero-panel { padding: 18px; }
  .category-cards { gap: 8px; }
  .category-card { padding: 13px; }
  .listing-meta span:nth-child(3) { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-grid > div:first-child { grid-column: auto; }
  .page-head .primary-button { display: none; }
  .page-head-actions .logout-button { min-height: 39px; padding: 7px 11px; white-space: nowrap; }
  .dashboard-stats, .admin-stats { gap: 8px; }
  .metric-card { padding: 13px; }
  .metric-card strong { font-size: 23px; }
  .dashboard-panel { margin-inline: -4px; }
  .detail-cover { min-height: 145px; padding: 21px; }
  .detail-cover h2 { font-size: 23px; }
  .detail-body { padding: 19px; }
  .detail-facts { gap: 7px; }
  .toast { left: 14px; right: 14px; bottom: 79px; }
}

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