:root{--ink:#0f172a;--muted:#64748b;--brand:#2563eb;--brand-dark:#1e3a8a;--brand-light:#3b82f6;--brand-soft:#dbeafe;--brand-ice:#eff6ff;--surface:#fff;--bg:#f8fafc;--line:#dbe4ef;--shadow:0 14px 34px rgba(15,23,42,.08)}
*{box-sizing:border-box}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:var(--bg)}a{color:var(--brand);font-weight:700;text-decoration:none}a:hover{text-decoration:underline}
.header{background:linear-gradient(135deg,#1e3a8a,#2563eb);color:white;padding:22px 0}.container{max-width:1120px;margin:0 auto;padding:0 20px}.nav{display:flex;gap:18px;flex-wrap:wrap;margin-top:12px}.nav a{color:white}.nav-message-link{display:inline-flex;align-items:center;gap:6px}.nav-count-badge{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:#f97316;color:#fff;font-size:12px;font-weight:700;line-height:1}
.hero{padding:34px 0}.hero h1{font-size:44px;margin:0 0 10px}.hero p{max-width:760px;font-size:18px;line-height:1.5;color:#dbeafe}
.card{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:20px;box-shadow:0 8px 22px rgba(0,0,0,.06);margin:18px 0}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px}
label{font-weight:700;display:inline-block;margin-bottom:6px}input,select,textarea{width:100%;max-width:520px;padding:11px;border:1px solid var(--line);border-radius:10px;font-size:15px;background:white}textarea{min-height:130px}
button,.button{background:var(--brand);color:white;border:0;border-radius:999px;padding:11px 18px;font-weight:700;cursor:pointer;display:inline-block}button:hover,.button:hover{background:var(--brand-dark);text-decoration:none}button.secondary{background:#dbeafe;color:#1e40af}button.secondary:hover{background:#bfdbfe}
fieldset{border:1px solid var(--line);border-radius:14px;padding:16px;background:#ffffff}.result-card{display:grid;grid-template-columns:160px 1fr;gap:16px}.result-img,.placeholder-img{width:160px;height:120px;border-radius:12px;object-fit:cover;background:#eaf2ff;display:flex;align-items:center;justify-content:center;color:var(--muted);font-size:13px}.meta{color:var(--muted);font-size:14px}.pagination{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:20px 0}.badge{display:inline-block;padding:4px 8px;border-radius:999px;background:#dbeafe;color:#1e40af;font-size:12px;font-weight:700}
.map-wrap{position:relative;height:420px;border-radius:18px;overflow:hidden;background:linear-gradient(180deg,#b3e5fc,#e0f7fa);border:1px solid var(--line)}.map-svg{width:100%;height:100%;display:block}.marker{position:absolute;width:14px;height:14px;background:#d84315;border:2px solid white;border-radius:50%;transform:translate(-50%,-50%);box-shadow:0 2px 8px rgba(0,0,0,.35)}.map-note{position:absolute;left:16px;bottom:16px;background:rgba(255,255,255,.92);padding:10px 12px;border-radius:12px;color:var(--muted);font-size:13px}
.footer{margin-top:42px;padding:24px 0;background:#eff6ff;color:#334155}.footer small{color:#5f6f76}.hint{background:#f8fafc;border:1px dashed var(--line);border-radius:12px;padding:12px}.table-like{overflow:auto}.table-like pre{white-space:pre;min-width:900px}
@media(max-width:640px){.hero h1{font-size:32px}.result-card{grid-template-columns:1fr}.result-img,.placeholder-img{width:100%;height:180px}}

.form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.form-group {
  flex: 1;
  min-width: 240px;
}
.action-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.message-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  background: #ffffff;
  margin: 14px 0;
}
.status-pill {
  display: inline-block;
  border-radius: 999px;
  padding: 5px 10px;
  background: var(--brand-soft);
  color: #1e40af;
  font-size: 12px;
  font-weight: 700;
}
.empty-state {
  text-align: center;
  padding: 34px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  background: #ffffff;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
}
.stat {
  background: #f7fbfa;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
}
.stat strong {
  display: block;
  font-size: 24px;
}
.advert-funnel-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: 10px;
  margin: 14px 0;
}
.advert-funnel-stat {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
}
.advert-funnel-stat strong {
  display: block;
  color: var(--brand-dark);
  font-size: 20px;
}
.advert-funnel-stat span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.analytics-chart-legend {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 8px 0 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin-right: 5px;
}
.legend-dot.views { background: #2563eb; }
.legend-dot.clicks { background: #0f766e; }
.legend-dot.contacts { background: #f97316; }
.analytics-bar-chart {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(26px, 1fr));
  gap: 8px;
  align-items: end;
  min-height: 190px;
  padding: 12px 0 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}
.analytics-day-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.analytics-bar-stack {
  width: 100%;
  max-width: 34px;
  height: 140px;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 2px;
}
.analytics-bar-segment {
  width: 8px;
  min-height: 2px;
  border-radius: 5px 5px 0 0;
}
.analytics-bar-segment.views { background: #2563eb; }
.analytics-bar-segment.clicks { background: #0f766e; }
.analytics-bar-segment.contacts { background: #f97316; }
.analytics-day-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
}
.priority-home-section {
  margin-top: 6px;
  margin-bottom: 28px;
}

.file-import-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.file-import-row input[type="file"] {
  max-width: 420px;
}
.advert-hero {
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr;
  gap: 24px;
  align-items: start;
}
.advert-main-image {
  width: 100%;
  min-height: 280px;
  object-fit: cover;
  border-radius: 18px;
  background: #dcebea;
}
.advert-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin: 16px 0;
}
.fact {
  background: #f7fbfa;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
}
.fact small {
  display: block;
  color: var(--muted);
  margin-bottom: 4px;
}
.city-hint {
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}
@media(max-width:760px){
  .advert-hero { grid-template-columns: 1fr; }
}

.interactive-map {
  height: 520px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 8px 22px rgba(0,0,0,0.06);
}
.leaflet-popup-content strong {
  color: var(--ink);
}

/* Step 5.16 */
.leaflet-container { width: 100%; height: 100%; }
.interactive-map {
  width: 100%;
  height: 560px;
  min-height: 560px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 8px 22px rgba(0,0,0,0.06);
  background: #dcebea;
}
.form-row.three-col .form-group { min-width: 220px; }
.message-advert {
  background: #f7fbfa;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 12px;
}
.message-body { font-size: 16px; line-height: 1.5; white-space: pre-line; background: #f8fafc; border: 1px solid var(--line); border-radius: 12px; padding: 12px; }

/* Step 5.17 */
.file-import-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.file-import-row input[type="file"] {
  max-width: 420px;
}

/* Step 5.18 */
.image-gallery{display:grid;grid-template-columns:1fr;gap:12px}
.image-thumbs{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.image-thumb{width:100%;height:96px;object-fit:cover;border-radius:12px;border:1px solid var(--line);background:#eaf2ff}
.bulk-import-top{border:2px solid var(--brand)}
.file-import-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.file-import-row input[type="file"]{max-width:420px}
@media(max-width:760px){.image-thumbs{grid-template-columns:1fr 1fr}}

/* Step 5.19 */
.image-gallery{display:grid;grid-template-columns:1fr;gap:12px}
.image-thumbs{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.image-thumb{width:100%;height:96px;object-fit:cover;border-radius:12px;border:1px solid var(--line);background:#eaf2ff}

/* Step 5.21 */
.image-thumb-button {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  border-radius: 12px;
}
.image-thumb-button.selected,
.image-thumb-button:focus {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}

/* Step 6.6 facets */
.search-layout{display:grid;grid-template-columns:280px 1fr;gap:20px;align-items:start}
.facet-list{list-style:none;padding:0;margin:0}
.facet-list li{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-bottom:1px solid var(--line)}
.facet-count{color:var(--muted);font-size:13px}
.facet-pager{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:8px 0 18px}.facet-page-button{font-size:12px;padding:7px 10px;box-shadow:none}.facet-page-button:disabled{opacity:.45;cursor:not-allowed}
.search-engine-badge{display:inline-block;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:700;background:#eef7ff;color:#145078}
@media(max-width:900px){.search-layout{grid-template-columns:1fr}}

/* Step 6.7 */
.image-thumb-button{border:0;background:transparent;padding:0;cursor:pointer;border-radius:12px}
.image-thumb-button.selected,.image-thumb-button:focus{outline:3px solid var(--brand);outline-offset:2px}

button:disabled{opacity:.5;cursor:not-allowed}

/* Step 6.14 */
.advert-list-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
}
.advert-list-action {
  justify-self: end;
  white-space: nowrap;
}
@media(max-width:760px){
  .advert-list-row { grid-template-columns: 1fr; }
  .advert-list-action { justify-self: start; }
}

/* Step 6.20 seller profiles */
.seller-hero{display:grid;grid-template-columns:120px 1fr;gap:22px;align-items:start}
.seller-avatar{width:112px;height:112px;border-radius:24px;object-fit:cover;border:1px solid var(--line);background:#eaf2ff}
.seller-avatar-placeholder{display:flex;align-items:center;justify-content:center;font-size:42px;font-weight:700;color:#1e40af;background:#dbeafe}
.seller-stats{margin-top:14px;max-width:520px}
.advert-list-row{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:center}
@media(max-width:720px){.seller-hero,.advert-list-row{grid-template-columns:1fr}.seller-avatar{width:96px;height:96px}}

/* Step 6.21 marketplace homepage + Tropical Fish Search branding */
.site-header{background:rgba(255,255,255,.96);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:50;backdrop-filter:blur(10px)}
.nav-shell{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:10px;padding-bottom:10px}.brand-link{display:flex;align-items:center;gap:10px;color:var(--ink);text-decoration:none}.brand-link:hover{text-decoration:none}.brand-logo{height:44px;width:auto;display:block}.brand-text{font-weight:800;letter-spacing:-.02em}.site-header .nav{margin-top:0;align-items:center}.site-header .nav a{color:var(--ink);font-size:14px}.site-header .nav .nav-cta{background:var(--brand);color:#fff;border-radius:999px;padding:8px 14px}.site-header .nav .nav-cta:hover{background:var(--brand-dark);text-decoration:none}
.marketplace-hero{background:radial-gradient(circle at 80% 0%,rgba(59,130,246,.22),transparent 30%),linear-gradient(135deg,#0f172a 0%,#1e3a8a 48%,#2563eb 100%);color:#fff;padding:62px 0 48px;overflow:hidden}.hero-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.75fr);gap:34px;align-items:center}.launch-pill{display:inline-flex;border:1px solid rgba(255,255,255,.32);background:rgba(255,255,255,.12);border-radius:999px;padding:7px 12px;font-size:13px;font-weight:800;margin-bottom:16px}.hero-copy h1{font-size:56px;line-height:1.02;letter-spacing:-.045em;margin:0 0 16px;max-width:820px}.hero-copy p{font-size:19px;line-height:1.55;color:#dbeafe;max-width:760px;margin:0 0 22px}.hero-search{display:grid;grid-template-columns:1fr 240px auto;gap:10px;background:#fff;border-radius:22px;padding:12px;box-shadow:0 18px 45px rgba(0,0,0,.22);align-items:end}.hero-search label{color:var(--muted);font-size:12px;margin:0 0 5px}.hero-search input{border:0;background:#f8fafc;max-width:none}.hero-search button{height:46px}.popular-searches{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:16px;color:#dbeafe}.popular-searches a{color:#fff;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.22);border-radius:999px;padding:7px 10px;font-size:13px}.popular-searches a:hover{text-decoration:none;background:rgba(255,255,255,.2)}
.hero-panel{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);border-radius:30px;padding:24px;box-shadow:0 18px 50px rgba(0,0,0,.18)}.hero-logo{display:block;width:100%;max-width:260px;margin:0 auto 18px;background:white;border-radius:22px;padding:12px}.trust-card{background:#fff;color:var(--ink);border-radius:22px;padding:18px;box-shadow:0 10px 28px rgba(0,0,0,.12)}.trust-card p{color:var(--muted);margin:6px 0 0;line-height:1.45}.mini-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:12px}.mini-stats div{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.18);border-radius:18px;padding:13px;text-align:center}.mini-stats strong{display:block;font-size:24px}.mini-stats span{font-size:12px;color:#dbeafe}.marketplace-main{padding-top:28px}.category-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:-52px;margin-bottom:24px;position:relative;z-index:2}.category-strip a{background:#fff;border:1px solid var(--line);border-radius:20px;padding:18px;box-shadow:0 14px 34px rgba(0,0,0,.10);display:flex;flex-direction:column;gap:5px;color:var(--ink);text-decoration:none}.category-strip a:hover{transform:translateY(-2px);text-decoration:none}.category-strip span{font-size:26px}.category-strip small{color:var(--muted);font-weight:400}.section-heading{display:flex;justify-content:space-between;gap:20px;align-items:end;margin:26px 0 16px}.section-heading h2{font-size:30px;letter-spacing:-.025em;margin:0 0 4px}.section-heading p{color:var(--muted);margin:0;line-height:1.45}.section-heading.compact{align-items:start;margin:0 0 14px}.button.secondary{background:#dbeafe;color:#1e40af}.button.secondary:hover{background:#bfdbfe}.listing-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.listing-card{background:#fff;border:1px solid var(--line);border-radius:22px;overflow:hidden;box-shadow:0 10px 28px rgba(0,0,0,.06)}.listing-image-wrap{height:190px;position:relative;background:#eaf2ff}.listing-image{width:100%;height:100%;object-fit:cover}.listing-placeholder{height:100%;display:flex;align-items:center;justify-content:center;color:var(--muted)}.listing-badge{position:absolute;top:12px;left:12px;background:#fff;color:var(--brand-dark);border-radius:999px;padding:6px 10px;font-size:12px;font-weight:800}.listing-body{padding:16px}.listing-body h3{margin:0 0 8px;font-size:19px;line-height:1.25}.marketplace-split{display:grid;grid-template-columns:.85fr 1.15fr;gap:18px;margin-top:30px}.seller-callout{background:linear-gradient(180deg,#fff,#eff6ff)}.clean-list{padding-left:20px;line-height:1.9}.map-card{margin:18px 0}.home-map{height:360px;border-radius:18px;overflow:hidden;border:1px solid var(--line);background:#eaf2ff}.footer-grid{display:grid;grid-template-columns:1fr auto;gap:20px;align-items:center}.footer-logo{height:54px;width:auto;background:#fff;border-radius:14px;padding:6px}
@media(max-width:960px){.hero-grid,.marketplace-split{grid-template-columns:1fr}.hero-copy h1{font-size:44px}.hero-search{grid-template-columns:1fr}.category-strip,.listing-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.nav-shell{align-items:flex-start}.brand-text{display:none}.brand-logo{height:38px}.site-header .nav{gap:10px}.hero-copy h1{font-size:34px}.marketplace-hero{padding:40px 0}.category-strip,.listing-grid{grid-template-columns:1fr;margin-top:0}.mini-stats{grid-template-columns:1fr}.section-heading{align-items:flex-start;flex-direction:column}.footer-grid{grid-template-columns:1fr}.hero-search-field.short input{width:100%}}


/* Step 6.22 blue brand polish: marketplace listings + seller pages */
.card{box-shadow:var(--shadow);border-color:var(--line)}
button,.button{background:var(--brand);box-shadow:0 8px 20px rgba(37,99,235,.18)}
button:hover,.button:hover{background:var(--brand-dark)}
.button.secondary,.btn-secondary{background:var(--brand-ice);color:var(--brand-dark);box-shadow:none;border:1px solid #bfdbfe}
.button.secondary:hover,.btn-secondary:hover{background:#dbeafe;color:var(--brand-dark)}
.badge,.status-pill{background:var(--brand-soft);color:#1e40af;border:1px solid #bfdbfe}
.badge.featured,.listing-badge.featured{background:#fff7ed;color:#c2410c;border-color:#fed7aa}
.badge.verified{background:#eef2ff;color:#3730a3;border-color:#c7d2fe}
.site-header .nav .nav-cta{background:var(--brand);box-shadow:0 8px 20px rgba(37,99,235,.16)}
.site-header .nav .nav-cta:hover{background:var(--brand-dark)}
.marketplace-hero{background:radial-gradient(circle at 80% 0%,rgba(59,130,246,.24),transparent 31%),linear-gradient(135deg,#0f172a 0%,#1e3a8a 48%,#2563eb 100%)}
.hero-copy p,.popular-searches,.mini-stats span{color:#dbeafe}.hero-search input{background:#f8fafc}.hero-search button{background:var(--brand)}
.category-strip a:hover,.listing-card:hover,.seller-advert-card:hover{transform:translateY(-2px);box-shadow:0 18px 42px rgba(15,23,42,.12)}
.listing-grid{align-items:stretch}.listing-card{position:relative;display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:24px;overflow:hidden;box-shadow:var(--shadow);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.listing-card:hover{border-color:#bfdbfe}.listing-image-wrap{height:205px;background:linear-gradient(135deg,#eff6ff,#dbeafe)}.listing-placeholder{color:#64748b;font-weight:700}.listing-badge{background:#fff;color:var(--brand-dark);border:1px solid #bfdbfe;box-shadow:0 8px 18px rgba(15,23,42,.1)}.listing-body{display:flex;flex-direction:column;gap:10px;flex:1;padding:18px}.listing-body h3{font-size:20px;margin:0}.listing-meta{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.listing-summary{color:var(--muted);line-height:1.45;margin:0}.listing-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:6px}.listing-location{color:var(--muted);font-size:14px}.listing-price{font-weight:900;color:var(--ink)}
.result-card{grid-template-columns:190px 1fr;gap:20px;align-items:stretch;border-radius:24px;overflow:hidden;padding:0}.result-card .result-img,.result-card .placeholder-img{width:190px;height:100%;min-height:170px;border-radius:0}.result-card>div:last-child{padding:18px}.result-card h2{margin-top:0}.result-card p{line-height:1.45}
.seller-profile-shell{padding-top:28px}.seller-hero-card{padding:0;overflow:hidden;border-radius:28px;background:#fff}.seller-cover{height:150px;background:radial-gradient(circle at 88% 20%,rgba(56,189,248,.35),transparent 24%),linear-gradient(135deg,#0f172a,#1e3a8a 55%,#2563eb)}.seller-hero{grid-template-columns:140px 1fr;gap:24px;padding:0 28px 28px;margin-top:-58px}.seller-avatar{width:132px;height:132px;border-radius:32px;border:5px solid #fff;background:#eaf2ff;box-shadow:0 16px 34px rgba(15,23,42,.16)}.seller-avatar-placeholder{font-size:54px;color:var(--brand-dark);background:linear-gradient(135deg,#eff6ff,#dbeafe)}.seller-title-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.seller-title-row h1{font-size:38px;line-height:1.05;letter-spacing:-.035em;margin:0}.seller-badges{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.seller-bio{font-size:17px;line-height:1.55;max-width:760px;color:#334155}.seller-stats{max-width:660px}.seller-stats .stat{background:#f8fafc;border-color:#dbe4ef}.seller-stats .stat strong{color:var(--brand-dark)}.seller-actions{margin-top:16px}.seller-section{margin-top:22px}.seller-section-head{display:flex;justify-content:space-between;align-items:end;gap:18px;margin-bottom:14px}.seller-section-head h2{font-size:30px;letter-spacing:-.025em;margin:0}.seller-advert-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:18px}.seller-advert-card{background:#fff;border:1px solid var(--line);border-radius:24px;overflow:hidden;box-shadow:var(--shadow);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;display:flex;flex-direction:column}.seller-advert-card:hover{border-color:#bfdbfe}.seller-advert-image{height:185px;background:linear-gradient(135deg,#eff6ff,#dbeafe);position:relative}.seller-advert-image img{width:100%;height:100%;object-fit:cover}.seller-advert-placeholder{height:100%;display:flex;align-items:center;justify-content:center;color:var(--muted);font-weight:700}.seller-advert-body{padding:17px;display:flex;flex-direction:column;gap:10px;flex:1}.seller-advert-body h3{margin:0;font-size:20px;line-height:1.25}.seller-advert-body .action-row{margin-top:auto}.seller-profile-edit-card{border-radius:28px}.profile-preview-panel{background:linear-gradient(135deg,#eff6ff,#fff);border:1px solid #bfdbfe;border-radius:22px;padding:18px;margin-bottom:18px}.form-group input:focus,.form-group textarea:focus,input:focus,select:focus,textarea:focus{outline:3px solid rgba(37,99,235,.18);border-color:#93c5fd}.advert-hero{border-radius:28px}.advert-main-image{background:#eaf2ff}.fact{background:#f8fafc}.fact strong{color:var(--ink)}
@media(max-width:760px){.seller-hero{grid-template-columns:1fr;margin-top:-46px;padding:0 18px 22px}.seller-avatar{width:108px;height:108px;border-radius:26px}.seller-title-row h1{font-size:30px}.seller-section-head{align-items:flex-start;flex-direction:column}.result-card{grid-template-columns:1fr}.result-card .result-img,.result-card .placeholder-img{width:100%;height:210px}.result-card>div:last-child{padding:16px}.listing-footer{align-items:flex-start;flex-direction:column}}

/* Step 6.23 refinements */
.brand-logo,.footer-logo{height:105px;width:auto;background:#fff;border-radius:16px;padding:6px;box-shadow:0 8px 18px rgba(15,23,42,.08)}
.brand-link{gap:0}.site-header .nav{align-items:center}.site-header .nav .nav-user{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-size:14px;max-width:220px}.site-header .nav .nav-user-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ink);font-weight:700}.site-header .nav .nav-user a{font-weight:700}.nav-menu{position:relative;display:inline-flex}.nav-menu-button{border:0;background:transparent;color:var(--ink);font:inherit;font-size:14px;padding:0;cursor:pointer}.nav-menu-button::after{content:"";display:inline-block;margin-left:6px;border-left:4px solid transparent;border-right:4px solid transparent;border-top:5px solid currentColor;vertical-align:middle}.nav-menu-panel{position:absolute;top:calc(100% + 10px);right:0;display:none;min-width:170px;padding:8px;background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:0 18px 40px rgba(15,23,42,.14);z-index:80}.nav-menu:hover .nav-menu-panel,.nav-menu:focus-within .nav-menu-panel{display:grid;gap:4px}.site-header .nav .nav-menu-panel a{display:block;padding:8px 10px;border-radius:6px;white-space:nowrap}.site-header .nav .nav-menu-panel a:hover{background:#f8fafc;text-decoration:none}.footer-logo{display:block}
.import-example-scroll{max-width:100%;overflow-x:auto;border-radius:12px;background:#f8fafc;border:1px solid var(--line)}
.import-example-scroll .csv-example,.csv-example{white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere;min-width:0;margin:0;padding:14px;line-height:1.45;font-size:13px;background:transparent}
.import-progress-message{margin:12px 0 0;font-weight:700;color:var(--brand-dark)}
.map-advert-row{display:flex;align-items:center;justify-content:space-between;gap:18px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px 18px;margin:12px 0;box-shadow:0 8px 20px rgba(15,23,42,.05)}
.map-advert-detail{min-width:0}.map-advert-detail strong{font-size:17px}.map-advert-button{white-space:nowrap;margin-left:auto}.search-admin-steps ol{padding-left:22px;line-height:1.65}.search-admin-steps li{margin-bottom:10px}.fish-group-grid .card{margin:0}
.page-size-form{display:inline-flex;align-items:center;gap:6px}.page-size-form select{width:auto;min-width:70px;padding:6px 28px 6px 10px}
.keyword-suggest{position:relative;max-width:520px}.keyword-suggest input{max-width:none}.keyword-suggestions{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:60;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 16px 34px rgba(15,23,42,.14);overflow:hidden}.keyword-suggestion{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;border:0;border-radius:0;background:#fff;color:var(--ink);box-shadow:none;padding:10px 12px;text-align:left}.keyword-suggestion:hover,.keyword-suggestion.active{background:var(--brand-ice);color:var(--ink);text-decoration:none}.keyword-suggestion span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.keyword-suggestion small{color:var(--muted);font-weight:700;white-space:nowrap}
@media(max-width:760px){.brand-logo,.footer-logo{height:84px}.map-advert-row{align-items:flex-start;flex-direction:column}.map-advert-button{margin-left:0;width:100%;text-align:center}}

/* Step 6.26: seller hero title contrast and stronger logo sizing */
.seller-title-row h1{color:#fff;background:rgba(15,23,42,.42);border-radius:16px;padding:8px 12px;text-shadow:0 3px 10px rgba(0,0,0,.55);box-shadow:0 10px 24px rgba(15,23,42,.16)}
.seller-cover{position:relative}
.seller-cover::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(15,23,42,.18),rgba(15,23,42,.42))}

/* Step 6.27 facet results action alignment */
.facet-summary-row,
.facet-result-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.facet-summary-row p:last-child,
.facet-result-detail p:last-child {
  margin-bottom: 0;
}

.facet-summary-actions,
.facet-result-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .facet-summary-row,
  .facet-result-row {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .facet-summary-actions,
  .facet-result-actions {
    justify-self: stretch;
    width: 100%;
  }

  .facet-summary-actions .button,
  .facet-result-actions .button {
    width: 100%;
    text-align: center;
  }
}


/* Step 6.29: seller title visibility fix. The seller name now lives inside the gradient cover, not on the white card body. */
.seller-cover{position:relative;display:flex;align-items:flex-end;min-height:190px;padding:28px;background:radial-gradient(circle at 88% 20%,rgba(56,189,248,.35),transparent 24%),linear-gradient(135deg,#0f172a,#1e3a8a 55%,#2563eb);overflow:hidden}
.seller-cover::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(15,23,42,.10),rgba(15,23,42,.62))}
.seller-cover-content{position:relative;z-index:1;max-width:850px;color:#fff}
.seller-cover-kicker{margin:0 0 6px;color:#dbeafe;font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.seller-cover-content h1{margin:0;font-size:44px;line-height:1.05;letter-spacing:-.04em;color:#fff;text-shadow:0 4px 16px rgba(0,0,0,.55)}
.seller-cover-content p{margin:8px 0 0;color:#e0f2fe;font-weight:700}
.seller-hero{margin-top:-50px}
.seller-title-row h1{color:var(--ink);background:transparent;padding:0;text-shadow:none;box-shadow:none}
@media(max-width:760px){.seller-cover{min-height:170px;padding:22px}.seller-cover-content h1{font-size:34px}.seller-hero{margin-top:-42px}}


/* Step 6.31 featured listing polish */
.featured-card{border-color:#2563eb!important;box-shadow:0 16px 42px rgba(37,99,235,.16)!important;position:relative}
.badge.featured,.listing-badge.featured{background:#2563eb;color:#fff;border-color:#1d4ed8;box-shadow:0 10px 22px rgba(37,99,235,.22)}
.admin-table-wrap{overflow-x:auto}.admin-table{width:100%;border-collapse:collapse}.admin-table th,.admin-table td{padding:12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:middle}.admin-table th{font-size:13px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted)}.inline-form{display:inline-block;margin:0}.inline-form button{white-space:nowrap}


/* Step 6.32: seller promotion request controls */
.inline-form { display: inline-flex; align-items: center; margin: 0; }
.inline-form button { margin: 0; }
.action-row .inline-form { display: inline-flex; }

.code-sample {
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
  background: #0f172a;
  color: #e0f2fe;
  border-radius: 14px;
  padding: 1rem;
  font-size: 0.9rem;
}

/* Step 6.36 */
.admin-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin:0 0 16px}.admin-toolbar select{width:auto;min-width:90px}.contact-method-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}.contact-method{border:1px solid var(--line);border-radius:16px;padding:16px;background:#fff}.contact-method h3{margin-top:0}.contact-preferences-panel{border:1px solid var(--line);border-radius:16px;padding:16px;margin:18px 0;background:#f8fafc}.map-filter-card{margin-bottom:18px}.map-filter-form .form-row{align-items:end}.checkbox-filter{align-self:center;display:flex;align-items:center;gap:8px;font-weight:700}.form-actions-inline{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.contact-action-row{margin-top:14px}.contact-action-row .button,.contact-action-row button{min-height:43px}

/* Side page controls */
.side-page-nav{position:fixed;inset:50% 18px auto 18px;transform:translateY(-50%);z-index:20;pointer-events:none}
.side-page-link{position:absolute;display:flex;align-items:center;justify-content:center;min-width:86px;height:48px;padding:0 14px;border-radius:8px;background:#fff;color:var(--brand-dark);border:1px solid var(--line);box-shadow:0 12px 28px rgba(15,23,42,.16);font-weight:800;text-decoration:none;pointer-events:auto}
.side-page-link:hover{text-decoration:none;background:#eff6ff;border-color:#bfdbfe}
.side-page-link.previous{left:0}
.side-page-link.next{right:0}
@media(max-width:1180px){.side-page-nav{display:none}}
