:root {
  --navy: #00244e;
  --navy-deep: #001a38;
  --navy-soft: #0a3a6e;
  --green: #01b976;
  --green-dark: #00a066;
  --green-soft: #e8faf2;
  --ink: #0f2744;
  --muted: #5b6f86;
  --line: #e4ebf3;
  --surface: #ffffff;
  --surface-soft: #f5f8fc;
  --sand: #f3efe6;
  --shadow: 0 8px 22px rgba(0, 36, 78, 0.07);
  --shadow-soft: 0 4px 14px rgba(0, 36, 78, 0.05);
  --radius: 12px;
  --radius-sm: 9px;
  --radius-pill: 999px;
  --container: 1080px;

  /* Premium kompakt tipografi */
  --font: "Manrope", "Segoe UI", sans-serif;
  --fs-xs: 10px;
  --fs-body: 11px;
  --fs-ui: 11px;
  --fs-card: 12px;
  --fs-price: 13px;
  --fs-brand: 13px;
  --fs-h: 17px;
  --fs-hero: 28px;
  --lh-tight: 1.25;
  --lh-body: 1.55;
  --tracking: -0.01em;
  --tracking-tight: -0.025em;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 11px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: 500;
  letter-spacing: var(--tracking);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(1, 185, 118, 0.08), transparent 55%),
    radial-gradient(900px 420px at 95% 0%, rgba(0, 36, 78, 0.06), transparent 50%),
    linear-gradient(180deg, #ffffff 0%, var(--surface-soft) 48%, #ffffff 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

#main {
  flex: 1 0 auto;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font);
  font-weight: 750;
  letter-spacing: var(--tracking-tight);
  line-height: var(--lh-tight);
  color: var(--navy);
}

h1,
h2 {
  font-size: var(--fs-h);
}

h3 {
  font-size: var(--fs-card);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
  letter-spacing: inherit;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.text-green {
  color: var(--green);
}

.icon {
  width: 14px;
  height: 14px;
  display: block;
  flex-shrink: 0;
}

.icon-sm {
  width: 12px;
  height: 12px;
}

.icon-xs {
  width: 11px;
  height: 11px;
}

.icon-lg {
  width: 28px;
  height: 28px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(228, 235, 243, 0.9);
}

.header-inner {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  height: 26px;
  width: auto;
  max-height: 26px;
  max-width: 140px;
  object-fit: contain;
  object-position: left center;
}

.btn-label-short {
  display: none;
}

.brand-mark {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.brand-text {
  font-size: var(--fs-brand);
  font-weight: 800;
  letter-spacing: var(--tracking-tight);
  line-height: 1;
}

.brand-name {
  color: var(--navy);
}

.brand-tld {
  color: var(--green);
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.nav-main a,
.nav-main .nav-link {
  color: var(--navy);
  font-size: var(--fs-ui);
  font-weight: 600;
  opacity: 0.88;
  transition: opacity 0.2s ease, color 0.2s ease;
  text-decoration: none;
}

.nav-main a:hover,
.nav-main a.is-active,
.nav-main .nav-link:hover,
.nav-main .nav-link.is-active {
  opacity: 1;
  color: var(--green-dark);
}

.nav-drawer__head,
.nav-drawer__user,
.nav-drawer__foot,
.nav-link__ico,
.nav-link__chevron,
.nav-drawer__chevron {
  display: none;
}

.nav-drawer__links {
  display: contents;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.header-alerts {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
}

.header-icon-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.header-icon-btn:hover {
  background: var(--green-soft);
  border-color: rgba(1, 185, 118, 0.35);
  color: var(--green-dark);
}

.header-icon-btn__badge {
  position: absolute;
  top: -0.2rem;
  right: -0.2rem;
  min-width: 1.05rem;
  height: 1.05rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  background: #e11d48;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.05rem;
  text-align: center;
  box-shadow: 0 0 0 2px #fff;
  font-style: normal;
}

.header-icon-btn.has-badge {
  border-color: rgba(225, 29, 72, 0.22);
}

.btn-login {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--navy);
  font-weight: 600;
  font-size: var(--fs-ui);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  border: 0;
  border-radius: 7px;
  padding: 0.35rem 0.65rem;
  font-size: var(--fs-ui);
  font-weight: 700;
  letter-spacing: var(--tracking);
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 4px 10px rgba(1, 185, 118, 0.22);
}

.btn-primary:hover {
  background: var(--green-dark);
}

.btn-navy {
  background: var(--navy);
  color: #fff;
}

.btn-navy:hover {
  background: var(--navy-soft);
}

.btn-sm {
  padding: 0.28rem 0.55rem;
  font-size: var(--fs-xs);
  border-radius: 6px;
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--line);
  box-shadow: none;
}

.btn-ghost:hover {
  background: var(--surface-soft);
}

.nav-toggle {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  z-index: 130;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  display: block;
  background: var(--navy);
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
}

.nav-toggle span:nth-child(1) {
  transform: translateY(-7px);
}

.nav-toggle span:nth-child(2) {
  transform: scaleX(1);
}

.nav-toggle span:nth-child(3) {
  transform: translateY(7px);
}

.site-header.is-open .nav-toggle span:nth-child(1),
body.is-nav-open .nav-toggle span:nth-child(1) {
  transform: rotate(45deg);
}

.site-header.is-open .nav-toggle span:nth-child(2),
body.is-nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.site-header.is-open .nav-toggle span:nth-child(3),
body.is-nav-open .nav-toggle span:nth-child(3) {
  transform: rotate(-45deg);
}

.nav-main__mobile-actions {
  display: none;
}

.nav-backdrop {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  padding: 2.4rem 0 1.5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(1, 185, 118, 0.07), transparent 42%),
    linear-gradient(180deg, rgba(0, 36, 78, 0.04), transparent 58%);
  pointer-events: none;
}

.hero-bg .grid-fade {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(0, 36, 78, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 36, 78, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at 30% 20%, #000 20%, transparent 70%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(28px);
  animation: orbFloat 10s ease-in-out infinite;
}

.orb-a {
  width: 220px;
  height: 220px;
  top: -40px;
  left: 8%;
  background: rgba(1, 185, 118, 0.18);
}

.orb-b {
  width: 180px;
  height: 180px;
  right: 12%;
  top: 20%;
  background: rgba(0, 36, 78, 0.12);
  animation-delay: -3s;
}

.orb-c {
  width: 140px;
  height: 140px;
  left: 42%;
  bottom: 0;
  background: rgba(1, 185, 118, 0.1);
  animation-delay: -6s;
}

@keyframes orbFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(12px, -16px, 0) scale(1.06);
  }
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.75rem;
  align-items: start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.7rem;
  padding: 0.28rem 0.55rem;
  border-radius: var(--radius-pill);
  border: 1px solid #d7efe5;
  background: rgba(255, 255, 255, 0.8);
  color: var(--navy);
  font-size: var(--fs-xs);
  font-weight: 700;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(1, 185, 118, 0.55);
  animation: pulse 1.8s ease-out infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 8px rgba(1, 185, 118, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(1, 185, 118, 0);
  }
}

.hero-title {
  margin: 0;
  color: var(--navy);
  font-size: clamp(24px, 3.2vw, var(--fs-hero));
  line-height: 1.18;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.text-shine {
  background: linear-gradient(110deg, #01b976 0%, #00d48a 40%, #01b976 70%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 4s linear infinite;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

.hero-subtitle {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: var(--fs-body);
  font-weight: 500;
  max-width: 46ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.9rem;
}

.hero-stage {
  position: relative;
}

.hero-stage__glow {
  position: absolute;
  inset: 8% 6% auto 6%;
  height: 55%;
  background: radial-gradient(circle, rgba(1, 185, 118, 0.16), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}

.hero-float {
  margin-top: 0.65rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1px solid #d9f3e8;
  color: var(--navy);
  font-size: var(--fs-xs);
  font-weight: 700;
  box-shadow: var(--shadow-soft);
  animation: floatY 3.4s ease-in-out infinite;
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.search-bar {
  margin-top: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 0.18rem 0.18rem 0.18rem 0.7rem;
  box-shadow: var(--shadow);
}

.search-bar__icon {
  color: var(--muted);
}

.search-bar input {
  flex: 1;
  border: 0;
  outline: none;
  background: transparent;
  min-width: 0;
  color: var(--navy);
  font-size: var(--fs-body);
  font-weight: 500;
}

.search-bar input::placeholder {
  color: #8aa0b8;
  font-weight: 500;
}

.search-bar__submit {
  border-radius: var(--radius-pill);
  padding: 0.32rem 0.75rem;
}

.category-pills {
  margin-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.65rem;
  border: 1px solid #d7e2ee;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--navy);
  font-weight: 650;
  font-size: var(--fs-ui);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.category-pill:hover {
  border-color: var(--green);
  background: var(--green-soft);
  transform: translateY(-1px);
}

.hero-listings {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding-top: 0.15rem;
}

.hero-listings__note {
  margin: 0 0 0.15rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted, #5b6b7c);
}

.hero-empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 1rem 1.05rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px dashed rgba(1, 185, 118, 0.35);
  border-radius: var(--radius);
}

.hero-empty p {
  margin: 0;
  color: var(--ink, #00244e);
  font-weight: 600;
}

.hero-empty .btn {
  margin-right: 0.25rem;
}

/* Cards */
.listing-card {
  background: #fff;
  border: 1px solid rgba(228, 235, 243, 0.95);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.listing-card--compact {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.7rem 0.8rem;
}

.listing-card--feature {
  position: relative;
  min-height: 148px;
  padding: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.listing-card--feature:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.listing-card__fav {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
}

.listing-card__link {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.9rem;
  height: 100%;
  padding: 0.9rem;
  color: inherit;
  text-decoration: none;
}

a.listing-card--compact {
  color: inherit;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

a.listing-card--compact:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.listing-card__icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, var(--green-soft), #f3fbf7);
  color: var(--navy);
  border: 1px solid #d9f3e8;
}

.listing-card__title {
  margin: 0;
  color: var(--navy);
  font-size: var(--fs-card);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  line-height: 1.35;
}

.listing-card__meta {
  margin-top: 0.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: 500;
}

.listing-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
}

.listing-card__aside {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}

.listing-card__price {
  margin: 0.25rem 0 0;
  color: var(--green);
  font-size: var(--fs-price);
  font-weight: 800;
  letter-spacing: var(--tracking-tight);
}

.listing-card--compact .listing-card__price {
  margin: 0;
  font-size: var(--fs-price);
}

.badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  color: var(--green-dark);
  font-size: var(--fs-xs);
  font-weight: 700;
}

.badge-verified__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: inline-grid;
  place-items: center;
}

.badge-verified__dot .icon {
  width: 8px;
  height: 8px;
}

.listing-card__top {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
}

.listing-card__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.55rem;
}

.listing-card__footer .listing-card__meta {
  margin-top: 0;
}

/* Sections */
.section {
  padding: 1.5rem 0 2rem;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.section-kicker {
  margin: 0 0 0.25rem;
  color: var(--green-dark);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-head h2 {
  margin: 0;
  color: var(--navy);
  font-size: var(--fs-h);
  font-weight: 800;
  letter-spacing: var(--tracking-tight);
}

.section-link {
  color: var(--green-dark);
  font-weight: 700;
  font-size: var(--fs-ui);
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}

/* Home richer sections */
.ticker {
  border: 0;
  background: linear-gradient(90deg, #0b6b4f 0%, #01b976 48%, #0a8f62 100%);
  overflow: hidden;
  mask-image: none;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  padding: 0.85rem 0;
  animation: ticker 48s linear infinite;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0 1.1rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  white-space: nowrap;
  font-size: 12px;
  color: #fff;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.ticker-item:hover {
  opacity: 0.92;
}

.ticker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b8ffd9;
  box-shadow: 0 0 0 3px rgba(184, 255, 217, 0.22);
  flex-shrink: 0;
}

.ticker-text {
  color: #fff;
  font-weight: 650;
}

.ticker-item strong {
  color: #fff;
  font-weight: 750;
}

.ticker-item span {
  color: #fff;
  font-weight: 650;
}

.ticker-item em {
  color: rgba(255, 255, 255, 0.85);
  font-style: normal;
  font-weight: 600;
}

.section-stats {
  padding-top: 1.4rem;
  padding-bottom: 0.4rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
}

.stat-card {
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
}

.stat-value {
  display: block;
  color: var(--navy);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat-label {
  display: block;
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: 650;
}

.path-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.path-card {
  position: relative;
  overflow: hidden;
  padding: 1.05rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.path-card--buyer {
  background:
    linear-gradient(160deg, rgba(1, 185, 118, 0.08), transparent 55%),
    #fff;
}

.path-card--seller {
  background:
    linear-gradient(160deg, rgba(0, 36, 78, 0.07), transparent 55%),
    #fff;
}

.path-card__icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--green-soft);
  color: var(--navy);
  margin-bottom: 0.55rem;
}

.path-card--seller .path-card__icon {
  background: rgba(0, 36, 78, 0.08);
}

.path-card h3 {
  margin: 0 0 0.35rem;
  font-size: var(--fs-h);
}

.path-card > p {
  margin: 0 0 0.55rem;
  color: var(--muted);
  font-size: var(--fs-body);
}

.path-card ul {
  margin: 0 0 0.8rem;
  padding-left: 1rem;
  color: var(--navy-soft);
  font-size: var(--fs-body);
}

.path-card li + li {
  margin-top: 0.2rem;
}

.category-rich-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
}

.category-rich {
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.category-rich:hover {
  transform: translateY(-2px);
  border-color: #cfe9dd;
  box-shadow: var(--shadow);
}

.category-rich__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem;
  align-items: center;
  margin-bottom: 0.55rem;
}

.category-rich__icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--green-soft);
  color: var(--navy);
}

.category-rich__head strong {
  display: block;
  color: var(--navy);
  font-size: var(--fs-card);
}

.category-rich__head small {
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: 600;
}

.category-rich__subs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.category-rich__subs a {
  padding: 0.22rem 0.45rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--navy-soft);
  font-size: var(--fs-xs);
  font-weight: 650;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.category-rich__subs a:hover,
.category-rich__subs a.more {
  border-color: #c7edd9;
  background: var(--green-soft);
  color: var(--green-dark);
}

.listings-subs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  flex: 1 1 100%;
}

.sub-pill {
  padding: 0.24rem 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: 650;
}

.sub-pill.is-active,
.sub-pill:hover {
  border-color: var(--green);
  background: var(--green-soft);
  color: var(--navy);
}

.process-grid,
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}

.trust-grid {
  grid-template-columns: repeat(4, 1fr);
}

.process-card,
.trust-card {
  position: relative;
  padding: 0.95rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.process-card {
  background: linear-gradient(180deg, #fff, #f8fafc);
}

.process-card__num {
  position: absolute;
  top: 0.75rem;
  right: 0.8rem;
  color: rgba(0, 36, 78, 0.12);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.process-card__icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: #f3efe6;
  color: var(--navy);
  margin-bottom: 0.55rem;
}

.process-card h3,
.trust-card h3 {
  margin: 0 0 0.3rem;
  font-size: var(--fs-card);
}

.process-card p,
.trust-card p {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-body);
}

.trust-card .icon {
  margin-bottom: 0.45rem;
  color: var(--green-dark);
}

.section-cta {
  padding-bottom: 2.2rem;
}

.cta-banner {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.3rem;
  border-radius: 16px;
  background:
    radial-gradient(500px 180px at 90% 20%, rgba(1, 185, 118, 0.28), transparent 55%),
    linear-gradient(135deg, #00244e, #013564 55%, #024b3a);
  color: #fff;
  box-shadow: 0 16px 36px rgba(0, 36, 78, 0.22);
}

.cta-banner .section-kicker {
  color: rgba(1, 185, 118, 0.95);
}

.cta-banner h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(18px, 2.2vw, 22px);
}

.cta-banner p {
  margin: 0.3rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--fs-body);
}

.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  position: relative;
  z-index: 1;
}

.btn-ghost-light {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.14);
}

.cta-banner__orb {
  position: absolute;
  width: 180px;
  height: 180px;
  right: -30px;
  bottom: -60px;
  border-radius: 50%;
  background: rgba(1, 185, 118, 0.22);
  filter: blur(8px);
  animation: orbFloat 8s ease-in-out infinite;
}

/* Footer */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  background: #f3f6fa;
  overflow-x: clip;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(180px, 0.9fr) minmax(0, 2.1fr);
  gap: 1.75rem 2rem;
  padding: 1.6rem 0 1.25rem;
  align-items: start;
}

.footer-brand-block {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-width: 0;
}

.footer-tagline {
  margin: 0;
  max-width: 26ch;
  color: var(--muted);
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.45;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.footer-social a:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.footer-apps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.store-badge:hover {
  opacity: 0.9;
  color: #fff;
}

.store-badge small {
  font-size: 10px;
  font-weight: 700;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  min-width: 0;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}

.footer-col h3 {
  margin: 0 0 0.2rem;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--navy);
}

.footer-col a {
  color: var(--muted);
  font-size: var(--fs-body);
  font-weight: 550;
  width: fit-content;
  max-width: 100%;
  line-height: 1.4;
  transition: color 0.15s ease;
  overflow-wrap: anywhere;
}

.footer-col a:hover {
  color: var(--green-dark);
}

.footer-bar {
  border-top: 1px solid rgba(228, 235, 243, 0.95);
  background: rgba(255, 255, 255, 0.65);
}

.footer-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 44px;
  padding: 0.45rem 0;
}

.footer-bar__left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1rem;
  min-width: 0;
}

.footer-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--navy);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-decoration: none;
}

.footer-contact:hover {
  color: var(--green-dark);
}

.footer-contact__icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
  flex-shrink: 0;
}

.footer-lang__select-wrap {
  display: inline-flex;
  align-items: center;
}
.footer-lang__select {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  font-size: var(--fs-xs);
  font-weight: 700;
  cursor: pointer;
  min-height: 32px;
}
.footer-lang__select:focus {
  outline: 2px solid var(--green);
  outline-offset: 1px;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.footer-lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  font-size: var(--fs-xs);
  font-weight: 700;
  cursor: default;
}

.footer-lang__flag {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 14px;
  border-radius: 3px;
  background: #e8eef5;
  font-size: 8px;
  font-weight: 800;
}

.footer-bottom {
  border-top: 1px solid rgba(228, 235, 243, 0.95);
  background: #eef2f7;
}

.footer-bottom__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
}

.footer-bottom__meta {
  min-width: 0;
  flex: 1;
}

.footer-bottom p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.45;
}

.footer-bottom a {
  color: var(--green-dark);
  font-weight: 700;
}

.etbis-card {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  padding: 0.25rem 0.4rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--navy);
  text-decoration: none;
}

.etbis-card:hover {
  border-color: rgba(1, 185, 118, 0.4);
  color: var(--navy);
}

.etbis-card__qr {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 4px;
  background: #fff;
}

.etbis-card__qr img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.etbis-card__text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

.etbis-card__text strong {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.etbis-card__text span {
  font-size: 9px;
  font-weight: 650;
  color: var(--muted);
}

/* Cookie management */
.cookie-fab {
  position: fixed;
  left: 14px;
  bottom: 14px;
  z-index: 80;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.cookie-fab:hover {
  transform: translateY(-1px);
  border-color: #c8d8e8;
  box-shadow: var(--shadow);
}

.cookie-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 26, 56, 0.35);
  backdrop-filter: blur(2px);
}

.cookie-dialog {
  position: fixed;
  left: 14px;
  bottom: 56px;
  z-index: 95;
  width: min(360px, calc(100vw - 28px));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 36, 78, 0.16);
  padding: 0.9rem;
}

.cookie-dialog__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.cookie-dialog__head h2 {
  margin: 0;
  font-size: var(--fs-h);
}

.cookie-dialog__head p {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: 1.45;
}

.cookie-dialog__close {
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--navy);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
}

.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 0.8rem;
}

.cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-soft);
  cursor: pointer;
}

.cookie-option strong {
  display: block;
  color: var(--navy);
  font-size: var(--fs-ui);
  font-weight: 750;
}

.cookie-option small {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: var(--fs-xs);
  line-height: 1.4;
}

.cookie-option input[type="checkbox"] {
  width: 14px;
  height: 14px;
  accent-color: var(--green);
  flex-shrink: 0;
}

.cookie-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
}

/* Content / legal pages */
.content-hero {
  padding: 1.5rem 0 0.2rem;
}

.content-hero .container {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(1, 185, 118, 0.06), transparent 45%),
    #fff;
  box-shadow: var(--shadow-soft);
}

.content-eyebrow {
  margin: 0 0 0.35rem;
  color: var(--green-dark);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.content-hero h1 {
  margin: 0;
  font-size: clamp(20px, 2.4vw, 24px);
  letter-spacing: -0.03em;
}

.content-lead {
  margin: 0.45rem 0 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: var(--fs-body);
}

.content-meta {
  margin: 0.45rem 0 0;
  color: var(--navy-soft);
  font-size: var(--fs-xs);
  font-weight: 600;
}

.content-section {
  padding: 0.9rem 0 2.2rem;
}

.prose-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
}

/* Toc yoksa (yasal doküman şablonu) tek sütun — dar sütuna sıkışmayı önler */
.prose-layout:not(:has(.content-toc)),
.prose-layout:has(> .prose:only-child),
.prose-layout--solo {
  grid-template-columns: minmax(0, 1fr);
}

.prose-layout > .prose:only-child {
  grid-column: 1 / -1;
  width: 100%;
  max-width: none;
}

.content-toc {
  position: sticky;
  top: 64px;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.content-toc h2 {
  margin: 0 0 0.25rem;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.content-toc a {
  color: var(--muted);
  font-size: var(--fs-body);
  font-weight: 600;
  padding: 0.28rem 0.4rem;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}

.content-toc a:hover {
  color: var(--green-dark);
  background: var(--green-soft);
}

.prose {
  padding: 1.1rem 1.2rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  min-height: 320px;
}

.prose h2 {
  margin: 1.35rem 0 0.45rem;
  font-size: var(--fs-h);
  scroll-margin-top: 72px;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(228, 235, 243, 0.95);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 0.85rem 0 0.3rem;
  font-size: var(--fs-card);
}

.prose p,
.prose li {
  color: #31485f;
  font-size: var(--fs-body);
  line-height: 1.65;
}

.prose p {
  margin: 0 0 0.65rem;
}

.prose ul,
.prose ol {
  margin: 0 0 0.75rem;
  padding-left: 1.15rem;
}

.prose li + li {
  margin-top: 0.28rem;
}

.prose a {
  color: var(--green-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose .simple-table {
  background: var(--surface-soft);
}

.prose .simple-table th {
  background: #eef5f1;
}

.callout {
  margin-top: 1.1rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid #d9f3e8;
  border-radius: 12px;
  background: var(--green-soft);
}

.callout p {
  margin: 0 0 0.55rem;
  color: var(--navy);
}

.simple-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.6rem 0 0.9rem;
  font-size: var(--fs-body);
}

.simple-table th,
.simple-table td {
  border: 1px solid var(--line);
  padding: 0.45rem 0.55rem;
  text-align: left;
  vertical-align: top;
}

.simple-table th {
  background: var(--surface-soft);
  color: var(--navy);
  font-weight: 750;
}

.contact-grid,
.auth-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.25rem;
  align-items: start;
}

.panel-form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0.95rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.panel-form h2 {
  margin: 0 0 0.15rem;
  font-size: var(--fs-h);
}

.panel-form label {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  color: var(--navy);
  font-size: var(--fs-xs);
  font-weight: 700;
}

.panel-form input,
.panel-form select,
.panel-form textarea,
.soft-select__trigger,
.soft-select__search {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.45rem 0.55rem;
  color: var(--navy);
  font-size: var(--fs-body);
  font-weight: 500;
  background: #fff;
}

.panel-form input:focus,
.panel-form select:focus,
.panel-form textarea:focus,
.soft-select__trigger:focus,
.soft-select__search:focus,
.soft-select.is-open .soft-select__trigger {
  outline: 2px solid rgba(1, 185, 118, 0.25);
  border-color: var(--green);
}

/* Soft searchable select */
.soft-select {
  position: relative;
  width: 100%;
}

.soft-select__native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.soft-select__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.soft-select__value {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.soft-select__chevron {
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: transform 0.2s ease;
}

.soft-select.is-open .soft-select__chevron {
  transform: rotate(180deg);
}

.soft-select.is-disabled .soft-select__trigger {
  opacity: 0.55;
  cursor: not-allowed;
  background: #f4f7fa;
}

.soft-select.is-invalid .soft-select__trigger {
  border-color: #d64545;
  outline: 2px solid rgba(214, 69, 69, 0.18);
}

.soft-select__panel {
  position: absolute;
  z-index: 60;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.4rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(0, 36, 78, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top center;
  pointer-events: none;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s ease;
}

.soft-select.is-open .soft-select__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.soft-select__search {
  width: 100%;
  padding: 0.42rem 0.55rem;
  border-radius: 8px;
}

.soft-select__list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 220px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.soft-select__option {
  padding: 0.42rem 0.55rem;
  border-radius: 8px;
  color: var(--navy);
  font-size: var(--fs-body);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
}

.soft-select__option:hover,
.soft-select__option.is-active {
  background: rgba(1, 185, 118, 0.1);
}

.soft-select__option.is-selected {
  background: rgba(1, 185, 118, 0.16);
  color: var(--navy);
  font-weight: 750;
}

.soft-select__option.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.soft-select__empty {
  padding: 0.55rem;
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-align: center;
}

.form-row {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 0.55rem;
}

.check-row {
  flex-direction: row !important;
  align-items: flex-start;
  gap: 0.45rem !important;
  font-weight: 500 !important;
  color: var(--muted) !important;
  font-size: var(--fs-xs) !important;
}

.check-row input {
  margin-top: 0.1rem;
  accent-color: var(--green);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: 500;
}

/* Listings page — Sahibinden-style sidebar + table */
.listings-page {
  padding: 0.85rem 0 2rem;
  background: #f3f6fa;
}

.listings-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: 600;
}

.listings-breadcrumb a {
  color: var(--navy);
  text-decoration: none;
}

.listings-breadcrumb a:hover {
  color: var(--green-dark);
}

.listings-layout {
  display: grid;
  grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
}

.listings-sidebar__backdrop {
  display: none;
}

.listings-sidebar__panel {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  position: sticky;
  top: 0.75rem;
  max-height: calc(100vh - 1.5rem);
}

.listings-sidebar__head,
.listings-sidebar__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.8rem 0.85rem;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}

.listings-sidebar__foot {
  border-bottom: 0;
  border-top: 1px solid var(--line);
}

.listings-sidebar__head h1 {
  margin: 0;
  font-size: 1rem;
  color: var(--navy);
}

.listings-sidebar__head p {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 11px;
}

.listings-sidebar__close {
  display: none;
}

.listings-sidebar__body {
  flex: 1;
  overflow: auto;
  padding: 0.7rem 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.listings-side-block {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.listings-side-block h2 {
  margin: 0;
  color: var(--navy);
  font-size: var(--fs-xs);
  font-weight: 800;
}

.listings-attr-filters__hint {
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
}

.listings-side-block label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
}

.listings-side-block input,
.listings-side-block select,
.listings-side-block .soft-select__trigger {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0.4rem 0.5rem;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--navy);
  background: #fff;
}

.listings-side-block .check-row {
  flex-direction: row !important;
  align-items: center;
  gap: 0.4rem !important;
  font-weight: 500 !important;
  color: var(--muted) !important;
}

.listings-cat-block {
  padding: 0.65rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8fafc;
  gap: 0.5rem;
}

.listings-cat-search {
  position: relative;
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 0.35rem !important;
}

.listings-cat-search .icon {
  position: absolute;
  left: 0.55rem;
  color: var(--muted);
  pointer-events: none;
}

.listings-cat-search input {
  width: 100%;
  padding-left: 1.7rem !important;
  border-radius: 8px !important;
  background: #fff !important;
}

.listings-cat-scroll {
  max-height: 16.5rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 0.15rem;
  margin-right: -0.1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.listings-cat-scroll::-webkit-scrollbar {
  width: 6px;
}

.listings-cat-scroll::-webkit-scrollbar-thumb {
  background: #c5d0db;
  border-radius: 999px;
}

.listings-cat-tree,
.listings-cat-tree ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.listings-cat-tree {
  padding: 0.25rem;
}

.listings-cat-tree ul {
  margin: 0.2rem 0 0.35rem 0.7rem;
  padding-left: 0.45rem;
  border-left: 1px solid var(--line);
}

.listings-cat-tree [data-cat-item][hidden] {
  display: none;
}

.listings-cat-tree a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  padding: 0.35rem 0.4rem;
  border-radius: 7px;
  color: var(--navy);
  text-decoration: none;
  font-size: var(--fs-xs);
  font-weight: 650;
}

.listings-cat-tree a span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-width: 0;
}

.listings-cat-tree em {
  color: var(--muted);
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
}

.listings-cat-tree a:hover,
.listings-cat-tree a.is-active {
  background: var(--green-soft);
  color: var(--green-dark);
}

.listings-cat-tree a.is-active em {
  color: var(--green-dark);
}

.listings-cat-empty {
  margin: 0;
  padding: 0.85rem 0.6rem;
  text-align: center;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
}

.listings-currency-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.25rem;
}

.listings-currency-tabs label {
  display: grid !important;
  place-items: center;
  min-height: 2rem;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  cursor: pointer;
}

.listings-currency-tabs input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.listings-currency-tabs label.is-active {
  border-color: var(--green);
  background: var(--green-soft);
  color: var(--green-dark);
}

.listings-budget-range {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.35rem;
  align-items: center;
}

.listings-budget-range span {
  color: var(--muted);
  font-weight: 700;
}

.listings-main {
  min-width: 0;
}

.listings-main__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.listings-main__head h2 {
  margin: 0;
  color: var(--navy);
  font-size: 1.05rem;
}

.listings-main__head p {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.listings-main__tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.listings-filter-toggle {
  display: none;
  gap: 0.3rem;
}

.listings-filter-count {
  display: inline-grid;
  place-items: center;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.listings-search {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.listings-search input {
  width: min(14rem, 42vw);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.38rem 0.55rem;
  font-size: var(--fs-xs);
}

.listings-sort select {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.38rem 0.5rem;
  font-size: var(--fs-xs);
  font-weight: 650;
  color: var(--navy);
  background: #fff;
}

.listings-table {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.listings-table__head,
.listings-row {
  display: grid;
  grid-template-columns: 120px minmax(180px, 2.2fr) 0.9fr 0.9fr 0.8fr 0.9fr 0.75fr 40px;
  gap: 0.55rem;
  align-items: center;
  padding: 0.55rem 0.7rem;
}

.listings-table__head {
  background: #eef3f8;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.listings-table__head span:first-child {
  visibility: hidden;
}

.listings-row {
  border-bottom: 1px solid #edf1f5;
  text-decoration: none;
  color: inherit;
  transition: background 0.14s ease;
  padding: 0;
}

.listings-row__main {
  display: grid;
  grid-template-columns: 120px minmax(180px, 2.2fr) 0.9fr 0.9fr 0.8fr 0.9fr 0.75fr;
  gap: 0.55rem;
  align-items: center;
  padding: 0.55rem 0.15rem 0.55rem 0.7rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  grid-column: 1 / -2;
}

.listings-row__fav {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 0.45rem;
  grid-column: -2 / -1;
}

.listing-fav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  text-decoration: none;
  transition: color 0.14s ease, border-color 0.14s ease, background 0.14s ease;
}

.listing-fav-btn:hover,
.listing-fav-btn.is-on {
  color: #e11d48;
  border-color: #fecdd3;
  background: #fff1f2;
}

.detail-hero__title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.detail-hero__title-row .detail-title {
  margin: 0;
  flex: 1;
  min-width: 0;
}

.detail-fav-btn {
  flex-shrink: 0;
}

.listings-row:last-child {
  border-bottom: 0;
}

.listings-row:hover {
  background: #f7fbf9;
}

.listings-row.is-featured {
  background: var(--green-soft);
}

.listings-row.is-featured:hover {
  background: #dff5ea;
}

.listings-row__icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--chip, var(--green)) 16%, #fff);
  color: var(--navy);
}

.listings-row__thumb {
  width: 120px;
  height: 90px;
  border-radius: 4px;
  overflow: hidden;
  background: #f1f4f8;
  border: 1px solid #e4eaf1;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.listings-row__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.listings-row__thumb.is-empty {
  background: #f5f7fa;
}

.listings-row__thumb-empty {
  width: 64%;
  height: auto;
  max-width: 72px;
  opacity: 0.95;
}

.listings-row__title {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.listings-row__title strong {
  color: #0b4f9c;
  font-size: var(--fs-body);
  font-weight: 750;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.listings-row:hover .listings-row__title strong {
  text-decoration: underline;
}

.listings-row__title small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  align-items: center;
}

.listings-row__tag {
  display: inline-flex;
  padding: 0.08rem 0.35rem;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-style: normal;
  font-size: 9px;
  font-weight: 800;
}

.listings-row__tag--hot {
  background: #ffe8e0;
  color: #b24520;
}

.listings-row__cat,
.listings-row__date,
.listings-row__loc,
.listings-row__days {
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: 650;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.listings-row__budget {
  color: #b24520;
  font-size: var(--fs-body);
  font-weight: 800;
  white-space: nowrap;
}

.listings-row__days {
  color: var(--navy);
  font-weight: 750;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin: 1.25rem 0 0.25rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.pagination__pages {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
}

.pagination__btn,
.pagination__page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-height: 2rem;
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-decoration: none;
}

.pagination__page {
  min-width: 2rem;
  padding-inline: 0.45rem;
}

.pagination__btn:hover,
.pagination__page:hover {
  border-color: rgba(1, 185, 118, 0.45);
  background: var(--green-soft);
}

.pagination__page.is-current {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.pagination__btn.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.pagination__ellipsis {
  min-width: 1.5rem;
  text-align: center;
  color: var(--muted);
  font-weight: 700;
}

.pagination__arrow-next {
  transform: scaleX(-1);
}

@media (max-width: 640px) {
  .pagination {
    justify-content: center;
  }

  .pagination__btn span {
    display: none;
  }
}

body.is-filter-open {
  overflow: hidden;
}

@media (max-width: 1100px) {
  .listings-table__head,
  .listings-row {
    grid-template-columns: 108px minmax(160px, 2fr) 0.9fr 0.85fr 0.85fr;
  }

  .listings-row__main {
    grid-template-columns: 108px minmax(160px, 2fr) 0.9fr 0.85fr 0.85fr;
  }

  .listings-row__thumb {
    width: 108px;
    height: 81px;
  }

  .listings-table__head span:nth-child(3),
  .listings-table__head span:nth-child(7),
  .listings-row__cat,
  .listings-row__days {
    display: none;
  }
}

@media (max-width: 900px) {
  .listings-layout {
    grid-template-columns: 1fr;
  }

  .listings-filter-toggle {
    display: inline-flex;
  }

  .listings-sidebar {
    position: fixed;
    inset: 0;
    z-index: 80;
    pointer-events: none;
  }

  .listings-sidebar.is-open {
    pointer-events: auto;
  }

  .listings-sidebar__backdrop {
    display: block;
    position: absolute;
    inset: 0;
    background: rgba(0, 36, 78, 0.42);
    opacity: 0;
    transition: opacity 0.2s ease;
  }

  .listings-sidebar.is-open .listings-sidebar__backdrop {
    opacity: 1;
  }

  .listings-sidebar__panel {
    position: absolute;
    top: 0;
    left: 0;
    width: min(22rem, 92vw);
    height: 100%;
    max-height: none;
    border-radius: 0;
    transform: translateX(-105%);
    transition: transform 0.22s ease;
    box-shadow: 12px 0 40px rgba(0, 36, 78, 0.18);
  }

  .listings-sidebar.is-open .listings-sidebar__panel {
    transform: translateX(0);
  }

  .listings-sidebar__close {
    display: inline-flex;
  }
}

@media (max-width: 720px) {
  .listings-table__head {
    display: none;
  }

  .listings-table__body {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
  }

  .listings-row {
    grid-template-columns: 1fr 40px;
    padding: 0;
    background: #fff;
    border: 1px solid rgba(228, 235, 243, 0.95);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 36, 78, 0.04);
    overflow: hidden;
  }

  .listings-row__main {
    grid-column: 1;
    grid-template-columns: 96px 1fr auto;
    grid-template-areas:
      'thumb title budget'
      'thumb loc date';
    gap: 0.2rem 0.55rem;
    padding: 0.7rem 0.35rem 0.7rem 0.7rem;
  }

  .listings-row__fav {
    grid-column: 2;
    align-self: start;
    padding: 0.55rem 0.45rem 0 0;
  }

  .listings-row__thumb {
    grid-area: thumb;
    width: 96px;
    height: 72px;
    border-radius: 8px;
  }

  .listings-row__icon { grid-area: thumb; }
  .listings-row__title { grid-area: title; }
  .listings-row__budget { grid-area: budget; align-self: start; }
  .listings-row__loc { grid-area: loc; }
  .listings-row__date { grid-area: date; text-align: right; }
  .listings-row__cat,
  .listings-row__days {
    display: none;
  }

  .listings-main__tools {
    width: 100%;
  }

  .listings-search {
    flex: 1;
  }

  .listings-search input {
    width: 100%;
  }
}

.listings-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  flex: 1 1 100%;
}

.category-pill.is-active {
  border-color: var(--green);
  background: var(--green-soft);
}


.empty-state {
  padding: 1.5rem;
  border: 1px dashed var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.8);
  text-align: center;
}

.empty-state h2 {
  margin: 0 0 0.35rem;
  font-size: var(--fs-h);
}

.empty-state p {
  margin: 0 0 0.75rem;
  color: var(--muted);
}

.error-page {
  padding: 4rem 0;
}

.error-page__inner {
  text-align: center;
  max-width: 320px;
}

.error-page__inner img {
  margin: 0 auto 0.75rem;
  width: 36px;
  height: 36px;
}

.error-page h1 {
  color: var(--navy);
  margin: 0 0 0.35rem;
  font-size: var(--fs-h);
}

.error-page p {
  color: var(--muted);
  margin: 0 0 0.9rem;
  font-size: var(--fs-body);
}

/* Motion */
.reveal-up {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}

.reveal-up.is-inview {
  opacity: 1;
  transform: translateY(0);
}

.page-home .listing-card--feature {
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.page-home .listing-card--compact {
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.page-home .listing-card--compact:hover,
.page-home .listing-card--feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-up,
  .reveal-up.is-inview {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .orb,
  .pulse-dot,
  .text-shine,
  .hero-float,
  .ticker-track,
  .cta-banner__orb {
    animation: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .listing-grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-actions .btn-login span {
    display: none;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 1.35rem;
    padding: 1.35rem 0 1.1rem;
  }

  .footer-tagline {
    max-width: none;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem 1.25rem;
  }

  .prose-layout,
  .contact-grid,
  .auth-grid,
  .path-grid,
  .process-grid,
  .trust-grid,
  .category-rich-grid {
    grid-template-columns: 1fr 1fr;
  }

  .prose-layout:not(:has(.content-toc)),
  .prose-layout:has(> .prose:only-child),
  .prose-layout--solo {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .content-toc {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.45rem 0.75rem;
  }
}

@media (max-width: 640px) {
  .footer-main {
    gap: 1.15rem;
    padding: 1.15rem 0 1rem;
  }

  .footer-brand-block {
    gap: 0.75rem;
  }

  .footer-social a {
    width: 36px;
    height: 36px;
  }

  .footer-apps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
    width: 100%;
  }

  .store-badge {
    justify-content: center;
    min-height: 40px;
    width: 100%;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(228, 235, 243, 0.95);
  }

  .footer-col {
    gap: 0.4rem;
  }

  .footer-col h3 {
    margin-bottom: 0.15rem;
    font-size: 11px;
  }

  .footer-col a {
    font-size: 0.86rem;
    padding: 0.12rem 0;
  }

  .footer-bar__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    padding: 0.7rem 0;
    min-height: 0;
  }

  .footer-bar__left {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.45rem;
    width: 100%;
  }

  .footer-contact {
    width: 100%;
    min-height: 40px;
    padding: 0.35rem 0.55rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
  }

  .footer-lang {
    width: 100%;
  }

  .footer-lang__btn {
    width: 100%;
    justify-content: center;
    min-height: 40px;
  }

  .footer-bottom__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 0.85rem 0 1rem;
  }

  .footer-bottom p {
    font-size: 11px;
    line-height: 1.5;
  }

  .etbis-card {
    width: 100%;
    justify-content: flex-start;
    min-height: 48px;
    padding: 0.45rem 0.55rem;
  }

  .path-grid,
  .process-grid,
  .trust-grid,
  .category-rich-grid {
    grid-template-columns: 1fr;
  }

  .listing-card--compact {
    grid-template-columns: auto 1fr;
  }

  .listing-card__aside {
    grid-column: 2;
    align-items: flex-start;
    text-align: left;
  }

  .search-bar {
    flex-wrap: wrap;
    border-radius: 12px;
    padding: 0.55rem;
  }

  .search-bar__submit {
    width: 100%;
  }

  .header-actions .btn-primary {
    padding: 0.4rem 0.65rem;
    gap: 0.3rem;
    white-space: nowrap;
  }

  .auth-shell {
    grid-template-columns: 1fr;
  }

  .auth-brand {
    min-height: auto;
    padding: 1.15rem 1.1rem 1rem;
  }

  .auth-brand__art {
    width: min(46%, 220px);
    right: -2%;
    top: 55%;
    opacity: 0.85;
  }

  .auth-brand__copy {
    max-width: 70%;
  }

  .auth-brand__copy h1 {
    font-size: 1.45rem;
  }

  .auth-main {
    padding: 0.85rem 0.85rem 1.5rem;
  }
}

/* Header user */
.header-user {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--navy);
  font-size: var(--fs-ui);
  font-weight: 700;
}

.header-account {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.2rem 0.35rem 0.2rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  font-size: var(--fs-ui);
  font-weight: 700;
  text-decoration: none;
  background: #fff;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.header-account:hover {
  background: var(--surface-soft);
  border-color: rgba(0, 36, 78, 0.18);
}

.header-account__avatar {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  overflow: hidden;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--navy);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
}

.header-account__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Auth page */
.page-auth {
  min-height: 100vh;
  background: #eef2f6;
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.auth-brand {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.75rem 2rem 1.5rem;
  color: #fff;
  background:
    radial-gradient(ellipse 70% 55% at 18% 88%, rgba(1, 185, 118, 0.35), transparent 60%),
    radial-gradient(ellipse 55% 45% at 78% 18%, rgba(1, 140, 120, 0.22), transparent 55%),
    linear-gradient(155deg, #021a28 0%, #043447 42%, #025c4a 100%);
}

.auth-brand__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.auth-brand__art {
  position: absolute;
  right: -6%;
  top: 42%;
  transform: translateY(-42%);
  width: min(58%, 520px);
  height: auto;
  max-height: 78%;
  object-fit: contain;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.35));
  opacity: 0.98;
}

.auth-brand__logo,
.auth-brand__copy,
.auth-brand__foot {
  position: relative;
  z-index: 1;
}

.auth-brand__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: #fff;
  width: fit-content;
}

.auth-brand__logo img {
  border-radius: 999px;
  box-shadow: 0 0 0 2px rgba(1, 185, 118, 0.35);
}

.auth-brand__name {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.auth-brand__tld {
  font-weight: 800;
  font-size: 1.15rem;
  color: #01b976;
  letter-spacing: -0.03em;
}

.auth-brand__copy {
  max-width: 28rem;
  padding-bottom: 2rem;
}

.auth-brand__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 650;
}

.auth-brand__dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #01b976;
  box-shadow: 0 0 0 3px rgba(1, 185, 118, 0.28);
}

.auth-brand__copy h1 {
  margin: 1rem 0 0;
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: #fff;
}

.auth-brand__copy h1 span {
  color: #01b976;
}

.auth-brand__lead {
  margin: 0.85rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
  line-height: 1.55;
  max-width: 34ch;
}

.auth-points {
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.auth-points li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.92rem;
  font-weight: 650;
}

.auth-points__ico {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  flex-shrink: 0;
}

.auth-brand__foot {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 550;
}

.auth-brand__foot img {
  border-radius: 999px;
  opacity: 0.9;
}

.auth-main {
  display: grid;
  place-items: center;
  padding: 1.75rem 1.25rem;
  background: #eef2f6;
}

.auth-card {
  width: min(100%, 420px);
  background: #fff;
  border: 1px solid #e6ebf1;
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(15, 35, 55, 0.1);
  padding: 1.35rem 1.35rem 1.15rem;
}

.auth-tabs {
  display: flex;
  gap: 1.25rem;
  border-bottom: 1px solid #e8eef4;
  margin-bottom: 1.15rem;
}

.auth-tab {
  position: relative;
  padding: 0.35rem 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 750;
  color: #8a97a8;
  text-decoration: none;
}

.auth-tab.is-active {
  color: #0b1f33;
}

.auth-tab.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: #01b976;
}

.auth-alert {
  margin-bottom: 0.85rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 650;
}

.auth-alert--error {
  background: #fff1f1;
  border: 1px solid #f0c7c7;
  color: #8f1f1f;
}

.auth-alert--success {
  background: #eafaf2;
  border: 1px solid #c7edd9;
  color: #0b6b45;
}

.auth-form {
  display: grid;
  gap: 0.85rem;
}

.auth-form__intro h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: #0b1f33;
  letter-spacing: -0.03em;
}

.auth-form__intro p {
  margin: 0.35rem 0 0.25rem;
  color: #6b7c8f;
  font-size: 0.92rem;
  line-height: 1.45;
}

.auth-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.auth-field__label {
  color: #243447;
  font-size: 0.82rem;
  font-weight: 750;
}

.auth-field .optional {
  color: #8a97a8;
  font-weight: 550;
}

.auth-field__control {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-field__ico {
  position: absolute;
  left: 0.75rem;
  display: grid;
  place-items: center;
  color: #8a97a8;
  pointer-events: none;
  z-index: 1;
}

.auth-field__control input {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.72rem 0.85rem;
  color: #0b1f33;
  font-size: 0.95rem;
  font-weight: 550;
  background: #f5f7fa;
}

.auth-field__control.password-field input {
  padding-right: 4.2rem;
}

.auth-field__control input:focus {
  outline: none;
  border-color: #01b976;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(1, 185, 118, 0.15);
}

.label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.auth-link {
  color: #01b976;
  font-size: 0.8rem;
  font-weight: 750;
  text-decoration: none;
}

.auth-link:hover {
  text-decoration: underline;
}

.password-field .password-toggle {
  position: absolute;
  right: 0.45rem;
  border: 0;
  background: transparent;
  color: #6b7c8f;
  font-size: 0.78rem;
  font-weight: 750;
  padding: 0.35rem 0.45rem;
  cursor: pointer;
  border-radius: 6px;
}

.password-field .password-toggle:hover {
  color: #0b1f33;
  background: rgba(0, 0, 0, 0.04);
}

.auth-form__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.auth-remember {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #243447;
  cursor: pointer;
}

.auth-remember input {
  width: 16px;
  height: 16px;
  accent-color: #01b976;
}

.auth-form__session {
  color: #8a97a8;
  font-size: 0.75rem;
  font-weight: 550;
}

.auth-submit {
  width: 100%;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.15rem;
  padding: 0.82rem 1rem;
  border-radius: 10px;
  font-size: 0.98rem;
  font-weight: 800;
  background: #01b976;
  border-color: #01b976;
}

.auth-submit:hover {
  filter: brightness(0.96);
}

.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.65rem;
  color: #8a97a8;
  font-size: 0.8rem;
  font-weight: 650;
  margin: 0.15rem 0;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  height: 1px;
  background: #e5ebf2;
}

.auth-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.72rem 1rem;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #243447;
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration: none;
  transition: background 0.14s ease, border-color 0.14s ease;
}

.auth-google:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.auth-secure {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0.15rem 0 0;
  color: #8a97a8;
  font-size: 0.75rem;
  font-weight: 600;
  width: 100%;
}

.auth-secure .icon {
  color: #94a3b8;
}

.auth-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid #eef2f6;
}

.auth-legal a {
  color: #8a97a8;
  font-size: 0.75rem;
  font-weight: 650;
  text-decoration: none;
}

.auth-legal a:hover {
  color: #01b976;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: #475569;
  font-weight: 550;
  line-height: 1.4;
}

.check-row input {
  margin-top: 0.15rem;
  accent-color: #01b976;
}

.check-row a {
  color: #01b976;
  font-weight: 700;
}

/* legacy form inputs still used on 2FA etc. */
.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"],
.auth-form input[type="tel"] {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.72rem 0.85rem;
  color: #0b1f33;
  font-size: 0.95rem;
  font-weight: 550;
  background: #f5f7fa;
}

.auth-form > label:not(.auth-field):not(.check-row):not(.auth-remember) {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  color: #243447;
  font-size: 0.82rem;
  font-weight: 750;
}

/* SweetAlert — ParanKadar */
.pk-swal {
  font-family: 'Manrope', sans-serif !important;
  border-radius: 16px !important;
  padding: 1.35rem 1.2rem 1.15rem !important;
  box-shadow: 0 18px 48px rgba(0, 36, 78, 0.22) !important;
  border: 1px solid rgba(0, 36, 78, 0.08);
  width: min(22rem, calc(100vw - 2rem)) !important;
}

.pk-swal__title {
  color: var(--navy) !important;
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
}

.pk-swal__text {
  color: var(--muted) !important;
  font-size: var(--fs-body) !important;
  font-weight: 550 !important;
}

.pk-swal__icon {
  margin-top: 0.2rem !important;
  border-color: rgba(1, 185, 118, 0.35) !important;
  color: var(--green) !important;
}

.swal2-icon.swal2-success {
  border-color: rgba(1, 185, 118, 0.35) !important;
  color: var(--green) !important;
}

.swal2-icon.swal2-success [class^='swal2-success-line'] {
  background-color: var(--green) !important;
}

.swal2-icon.swal2-success .swal2-success-ring {
  border-color: rgba(1, 185, 118, 0.35) !important;
}

.swal2-icon.swal2-error {
  border-color: rgba(180, 45, 45, 0.35) !important;
  color: #b42d2d !important;
}

.pk-swal__btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 7.5rem;
  margin: 0.35rem 0 0 !important;
  padding: 0.55rem 1.1rem !important;
  border: 0 !important;
  border-radius: 9px !important;
  font-family: inherit !important;
  font-size: var(--fs-ui) !important;
  font-weight: 750 !important;
  cursor: pointer;
  box-shadow: none !important;
}

.pk-swal__btn--ok {
  background: var(--green) !important;
  color: #fff !important;
}

.pk-swal__btn--ok:hover {
  background: var(--green-dark) !important;
}

.pk-swal__btn--danger {
  background: #b42d2d !important;
  color: #fff !important;
}

.pk-swal__btn--danger:hover {
  background: #912424 !important;
}

.pk-swal__btn--warn {
  background: #d97706 !important;
  color: #fff !important;
}

.pk-swal__btn--warn:hover {
  background: #b45309 !important;
}

.pk-swal__btn--ghost {
  background: #eef2f6 !important;
  color: var(--navy) !important;
  margin-right: 0.35rem !important;
}

.pk-swal__btn--ghost:hover {
  background: #e2e8ef !important;
}

.swal2-actions {
  gap: 0.35rem !important;
}

.swal2-container.swal2-center > .swal2-popup {
  grid-column: 2;
  grid-row: 2;
}

/* Account panel */
.page-account {
  background: #f3f6fa;
}

.account-shell {
  padding: 1rem 0 2rem;
}

.account-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
}

.account-sidebar {
  position: sticky;
  top: 64px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  padding: 0.85rem;
}

.account-sidebar__user {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  padding: 0.35rem 0.25rem 0.9rem;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.account-sidebar__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: #eef3f8;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--line);
  color: var(--muted);
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.account-sidebar__avatar:hover {
  box-shadow: 0 0 0 1px rgba(1, 185, 118, 0.45);
  color: var(--green-dark);
}

.account-sidebar__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-sidebar__avatar-icon {
  width: 28px;
  height: 28px;
}

.account-sidebar__meta {
  min-width: 0;
  width: 100%;
}

.account-sidebar__user strong {
  display: block;
  color: var(--navy);
  font-size: var(--fs-card);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-sidebar__user small {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: var(--fs-xs);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-nav-group {
  margin-bottom: 0.7rem;
}

.account-nav-group p {
  margin: 0 0 0.25rem;
  color: var(--navy);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.account-nav-group a,
.account-nav-link {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.5rem;
  border-radius: 8px;
  color: var(--muted);
  font-size: var(--fs-body);
  font-weight: 650;
}

.account-nav-link > span {
  flex: 1;
  min-width: 0;
}

.account-nav-badge {
  display: inline-grid;
  place-items: center;
  min-width: 1.2rem;
  height: 1.2rem;
  padding: 0 0.3rem;
  margin-left: auto;
  border-radius: 999px;
  background: #e24a3b;
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
}

.account-nav-link.has-badge {
  color: var(--navy);
}

.account-nav-icon {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  opacity: 0.9;
}

.account-nav-group a:hover,
.account-nav-group a.is-active {
  background: var(--green-soft);
  color: var(--navy);
}

.account-nav-group a.is-active .account-nav-icon {
  color: var(--green-dark);
}

.account-logout {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.35rem;
  color: #8f1f1f;
  font-size: var(--fs-xs);
  font-weight: 700;
}

.account-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
}

.account-alert {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid #f0e0b0;
  background: #fff8e8;
  color: var(--navy);
}

.account-alert p {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: var(--fs-body);
}

.account-alert .btn {
  margin-left: auto;
}

.account-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.55rem;
}

.account-stat {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.account-stat strong {
  display: block;
  color: var(--navy);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.account-stat span {
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: 650;
}

.account-panel {
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.account-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}

.account-panel__head h2,
.account-cta-panel h2 {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.account-panel__head a:not(.btn) {
  color: var(--green-dark);
  font-size: var(--fs-xs);
  font-weight: 750;
}

.account-panel__head .btn-primary {
  color: #fff;
}

.account-panel__head .btn-primary:hover {
  color: #fff;
}

.account-cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  background:
    linear-gradient(135deg, rgba(1, 185, 118, 0.08), transparent 50%),
    #fff;
}

.account-cta-panel p {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: var(--fs-body);
}

.account-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.account-empty {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-body);
}

.notify-page__lead {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: 600;
}

.notify-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.notify-summary__item {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: #eef3f8;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.notify-summary__item strong {
  color: var(--navy);
  font-size: 0.95rem;
}

.notify-summary__item.is-hot {
  background: #ffe8e0;
  color: #b24520;
}

.notify-summary__item.is-hot strong {
  color: #b24520;
}

.notify-empty {
  display: grid;
  place-items: center;
  gap: 0.35rem;
  text-align: center;
  padding: 2.4rem 1.25rem;
  border: 1px dashed var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, #f7fafc 0%, #fff 70%);
  color: var(--muted);
}

.notify-empty .icon {
  color: var(--green);
  margin-bottom: 0.15rem;
}

.notify-empty h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.05rem;
}

.notify-empty p {
  margin: 0 0 0.55rem;
  max-width: 26rem;
  font-size: var(--fs-xs);
  line-height: 1.45;
}

.notify-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.notify-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: start;
  padding: 0.75rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.notify-item.is-unread {
  background: #f7fbf9;
  border-color: #c7edd9;
}

.notify-item.is-read {
  opacity: 0.92;
}

.notify-item__icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: #eef3f8;
  color: var(--navy);
  flex-shrink: 0;
}

.notify-item.tone-message .notify-item__icon {
  background: #e8f1ff;
  color: #0b4f9c;
}

.notify-item.tone-offer .notify-item__icon {
  background: #fff3e4;
  color: #b24520;
}

.notify-item.tone-success .notify-item__icon {
  background: var(--green-soft);
  color: var(--green-dark);
}

.notify-item.tone-danger .notify-item__icon {
  background: #ffe8e0;
  color: #b24520;
}

.notify-item.tone-favorite .notify-item__icon {
  background: #ffe8f0;
  color: #c23a6b;
}

.notify-item__body {
  min-width: 0;
}

.notify-item__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
  margin-bottom: 0.2rem;
}

.notify-item__type {
  display: inline-flex;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  background: #eef3f8;
  color: var(--navy);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.notify-item__top time {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.notify-item__body strong {
  display: block;
  color: var(--navy);
  font-size: var(--fs-body);
  line-height: 1.3;
}

.notify-item.is-unread .notify-item__body strong {
  font-weight: 800;
}

.notify-item__body p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.notify-item__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  flex-shrink: 0;
}

.notify-item__dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #e24a3b;
}

.notify-item__arrow {
  transform: scaleX(-1);
}

@media (max-width: 640px) {
  .notify-item {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .notify-item__actions {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
  }
}

.account-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.account-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-soft);
}

.account-list li.is-unread {
  border-color: #c7edd9;
  background: var(--green-soft);
}

.account-list strong {
  display: block;
  color: var(--navy);
  font-size: var(--fs-body);
}

.account-list small {
  color: var(--muted);
  font-size: var(--fs-xs);
}

.account-list span {
  color: var(--green-dark);
  font-size: var(--fs-body);
  font-weight: 800;
  white-space: nowrap;
}

.account-offer {
  align-items: flex-start !important;
}

.my-listings {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.my-listing-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0.9rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.my-listing-card.is-featured {
  border-color: #cdeedf;
  box-shadow: 0 0 0 1px rgba(1, 185, 118, 0.08);
}
.my-listing-card__thumb {
  flex: 0 0 120px;
  width: 120px;
  height: 90px;
  align-self: flex-start;
  border-radius: 8px;
  overflow: hidden;
  background: #f1f4f8;
  border: 1px solid #e4eaf0;
  display: grid;
  place-items: center;
  text-decoration: none;
}
.my-listing-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.my-listing-card__thumb.is-empty {
  background: #f6f8fb;
}
.my-listing-card__thumb-empty {
  width: 64px;
  height: 48px;
}
.my-listing-card__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.my-listing-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
}

.my-listing-card__heading {
  min-width: 0;
  flex: 1;
}

.my-listing-card__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
}

.my-listing-card__title-row h3 {
  margin: 0;
  font-size: var(--fs-card);
  line-height: 1.25;
}

.my-listing-card__title-row a {
  color: var(--navy);
  text-decoration: none;
}

.my-listing-card__title-row a:hover {
  color: var(--green-dark);
}

.my-listing-card__status {
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: #eef2f7;
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  white-space: nowrap;
}

.my-listing-card__status.is-active {
  background: var(--green-soft);
  color: var(--green-dark);
}

.my-listing-card__status.is-paused {
  background: #fff6e8;
  color: #9a6b1f;
}

.my-listing-card__status.is-closed,
.my-listing-card__status.is-withdrawn {
  background: #f3f4f6;
  color: #6b7280;
}

.my-listing-card__status.is-pending {
  background: #fff6e8;
  color: #9a6b1f;
}

.my-listing-card__status.is-accepted {
  background: var(--green-soft);
  color: var(--green-dark);
}

.my-listing-card__status.is-rejected {
  background: #fee2e2;
  color: #b91c1c;
}

.my-listing-card__tag {
  display: inline-flex;
  align-items: center;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 10px;
  font-style: normal;
  font-weight: 750;
  white-space: nowrap;
}
.my-listing-card__tag.is-hot {
  background: #fff6e8;
  color: #9a6b1f;
}
.my-listing-card__tag.is-pending {
  background: #eef2f7;
  color: #5b6b7c;
}

/* —— Saved searches —— */
.saved-search-create {
  margin-bottom: 1.15rem;
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, #f7fbf9 0%, #fff 42%);
}
.saved-search-create__head h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 750;
}
.saved-search-create__head p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.4;
}
.saved-search-create__form {
  margin-top: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.saved-search-create__form input,
.saved-search-create__form select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.55rem 0.7rem;
  font: inherit;
  font-size: var(--fs-body);
  font-weight: 500;
  color: var(--navy);
  background: #fff;
}
.saved-search-create__form input:focus,
.saved-search-create__form select:focus {
  outline: 2px solid rgba(1, 185, 118, 0.25);
  border-color: var(--green);
}
.saved-search-create__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 0.75rem;
}
.saved-search-create__cat {
  grid-column: 1 / -1;
}
.saved-search-create__actions {
  display: flex;
  justify-content: flex-end;
}
.saved-search-create__actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.saved-searches {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.saved-search {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 0.8rem;
  align-items: start;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(15, 39, 68, 0.03);
}
.saved-search__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eef6f2;
  color: var(--green-dark);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.saved-search__icon .icon {
  width: 18px;
  height: 18px;
}
.saved-search__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.saved-search__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}
.saved-search__heading {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
}
.saved-search__heading h3 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.3;
  color: var(--navy);
}
.saved-search__heading h3 a {
  color: inherit;
  text-decoration: none;
}
.saved-search__heading h3 a:hover {
  color: var(--green-dark);
}
.saved-search__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.14rem 0.5rem;
  border-radius: 999px;
  background: #eef2f7;
  color: #5b6b7c;
  font-size: 10px;
  font-weight: 750;
  white-space: nowrap;
}
.saved-search__badge.is-on {
  background: var(--green-soft);
  color: var(--green-dark);
}
.saved-search__date {
  flex-shrink: 0;
  color: var(--muted);
  font-size: 0.78rem;
  white-space: nowrap;
}
.saved-search__chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.saved-search__chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  max-width: 100%;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: #f3f7fb;
  border: 1px solid #e4eaf0;
  font-size: 0.78rem;
  line-height: 1.2;
}
.saved-search__chips span {
  color: var(--muted);
  font-weight: 650;
}
.saved-search__chips strong {
  color: var(--navy);
  font-weight: 750;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 18rem;
}
.saved-search__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}
.saved-search__actions form {
  margin: 0;
  display: inline-flex;
}
.saved-search__actions .btn {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}
.saved-search__actions .btn .icon,
.saved-search__actions .btn svg {
  display: inline-block;
  flex: 0 0 auto;
}

@media (max-width: 720px) {
  .saved-search-create__grid {
    grid-template-columns: 1fr;
  }
  .saved-search {
    grid-template-columns: 40px minmax(0, 1fr);
  }
  .saved-search__top {
    flex-direction: column;
    gap: 0.35rem;
  }
  .saved-search__actions .btn {
    flex: 1 1 calc(50% - 0.4rem);
    justify-content: center;
  }
}

/* —— Favorite sellers —— */
.fav-sellers {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.fav-seller {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(15, 39, 68, 0.03);
}
.fav-seller__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  background: #e8eef4;
  border: 1px solid #e4eaf0;
  display: grid;
  place-items: center;
  text-decoration: none;
  color: var(--navy);
  font-weight: 800;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.fav-seller__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fav-seller__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.fav-seller__info h3 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.3;
  color: var(--navy);
}
.fav-seller__info h3 a {
  color: inherit;
  text-decoration: none;
}
.fav-seller__info h3 a:hover {
  color: var(--green-dark);
}
.fav-seller__rating {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin-top: 0.35rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: #f3f7fb;
  border: 1px solid #e4eaf0;
  font-size: 0.82rem;
  color: #5b6b7c;
}
.fav-seller__stars {
  display: inline-flex;
  gap: 0.06rem;
  color: #c9d3dd;
  line-height: 1;
  font-size: 0.95rem;
}
.fav-seller__stars .is-on {
  color: #e6a700;
}
.fav-seller__rating strong {
  color: var(--navy);
  font-weight: 800;
}
.fav-seller__meta {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.4;
}
.fav-seller__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}
.fav-seller__actions form {
  margin: 0;
  display: inline-flex;
}
.fav-seller__actions .btn {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}
.fav-seller__actions .btn .icon,
.fav-seller__actions .btn svg {
  display: inline-block;
  flex: 0 0 auto;
}

@media (max-width: 560px) {
  .fav-seller {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 0.7rem;
  }
  .fav-seller__avatar {
    width: 56px;
    height: 56px;
    font-size: 1.1rem;
  }
  .fav-seller__actions .btn {
    flex: 1 1 calc(50% - 0.4rem);
    justify-content: center;
  }
}

/* —— Inbox-style offer cards —— */
.inbox-offers {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.inbox-offer {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  box-shadow: 0 1px 0 rgba(15, 39, 68, 0.03);
}
.inbox-offer.is-accepted {
  border-color: #cdeedf;
}
.inbox-offer.is-rejected,
.inbox-offer.is-withdrawn {
  opacity: 0.92;
}
.inbox-offer__row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
}
.inbox-offer__media {
  width: 96px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  background: #f1f4f8;
  border: 1px solid #e4eaf0;
  display: grid;
  place-items: center;
  text-decoration: none;
}
.inbox-offer__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.inbox-offer__media.is-empty {
  background: #f6f8fb;
}
.inbox-offer__media svg {
  width: 48px;
  height: 36px;
}
.inbox-offer__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.inbox-offer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem 1rem;
  align-items: start;
}
.inbox-offer__heading {
  min-width: 0;
}
.inbox-offer__heading h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
  color: var(--navy);
  font-weight: 750;
}
.inbox-offer__heading h3 a {
  color: inherit;
  text-decoration: none;
}
.inbox-offer__heading h3 a:hover {
  color: var(--green-dark);
}
.inbox-offer__meta {
  margin: 0.28rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}
.inbox-offer__msg {
  margin: 0.35rem 0 0;
  color: #243447;
  font-size: 0.86rem;
  line-height: 1.4;
}
.inbox-offer__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  flex-shrink: 0;
  text-align: right;
}
.inbox-offer__price {
  color: var(--green-dark);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  white-space: nowrap;
}
.inbox-offer__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.16rem 0.5rem;
  border-radius: 999px;
  background: #eef2f7;
  color: #5b6b7c;
  font-size: 10px;
  font-weight: 750;
  white-space: nowrap;
}
.inbox-offer.is-pending .inbox-offer__badge {
  background: #fff6e8;
  color: #9a6b1f;
}
.inbox-offer.is-accepted .inbox-offer__badge {
  background: var(--green-soft);
  color: var(--green-dark);
}
.inbox-offer.is-rejected .inbox-offer__badge,
.inbox-offer.is-withdrawn .inbox-offer__badge {
  background: #fee2e2;
  color: #b91c1c;
}
.inbox-offer__from {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  background: #f6f9fc;
  border: 1px solid #e8eef5;
}
.inbox-offer__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #dfe7f0;
  color: var(--navy);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.82rem;
}
.inbox-offer__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.inbox-offer__from-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.inbox-offer__from-text strong {
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 750;
}
.inbox-offer__from-text strong a {
  color: inherit;
  text-decoration: none;
}
.inbox-offer__from-text strong a:hover {
  color: var(--green-dark);
}
.inbox-offer__from-text span {
  color: #243447;
  font-size: 0.84rem;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.inbox-offer__from-text span.is-muted {
  color: var(--muted);
}
.inbox-offer__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}
.inbox-offer__actions form {
  margin: 0;
  display: inline-flex;
}
.inbox-offer__actions .btn {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}
.inbox-offer__actions .btn .icon,
.inbox-offer__actions .btn svg {
  display: inline-block;
  flex: 0 0 auto;
}

@media (max-width: 720px) {
  .inbox-offer__row {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 0.7rem;
  }
  .inbox-offer__media {
    width: 72px;
    height: 72px;
  }
  .inbox-offer__top {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }
  .inbox-offer__aside {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-align: left;
  }
  .inbox-offer__actions .btn {
    flex: 1 1 calc(50% - 0.4rem);
    justify-content: center;
  }
}

.offer-card__seller {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 0.15rem 0 0.85rem;
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  background: #f6f9fc;
  border: 1px solid #e8eef5;
}

.offer-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: #e2eaf3;
  color: var(--navy);
  font-weight: 800;
}

.offer-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.offer-card__seller-copy {
  min-width: 0;
}

.offer-card__seller-copy strong {
  display: block;
  color: var(--navy);
  font-size: 0.92rem;
}

.offer-card__seller-copy strong a {
  color: inherit;
  text-decoration: none;
}

.offer-card__seller-copy strong a:hover {
  color: var(--green-dark);
}

.offer-card__seller-copy p {
  margin: 0.2rem 0 0;
  color: var(--navy);
  font-size: 0.86rem;
  line-height: 1.4;
}

.offer-card__seller-copy p.is-muted {
  color: var(--muted);
}

.my-listing-card__meta {
  margin: 0.28rem 0 0;
  color: var(--muted);
  font-size: var(--fs-xs);
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  align-items: center;
}

.my-listing-card__budget {
  margin: 0;
  flex-shrink: 0;
  color: var(--green-dark);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.my-listing-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0.55rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.my-listing-metrics > div {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  padding: 0 0.65rem;
  border-right: 1px solid var(--line);
  min-width: 0;
}

.my-listing-metrics > div:first-child {
  padding-left: 0;
}

.my-listing-metrics > div:last-child {
  border-right: 0;
  padding-right: 0;
}

.my-listing-metrics dt {
  margin: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  line-height: 1.2;
  min-width: 0;
}
.my-listing-metrics dt > span {
  display: inline;
  overflow: hidden;
  text-overflow: ellipsis;
}
.my-listing-metrics dt .icon,
.my-listing-metrics dt svg {
  width: 0.92rem;
  height: 0.92rem;
  flex: 0 0 auto;
  display: inline-block;
  vertical-align: middle;
  color: #8fa0b0;
}
.my-listing-metrics .is-accent dt .icon,
.my-listing-metrics .is-accent dt svg {
  color: var(--green-dark);
}

.my-listing-metrics dd {
  margin: 0;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.1;
}

.my-listing-metrics .is-accent dd {
  color: var(--green-dark);
}

.my-listing-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.my-listing-card__actions form {
  margin: 0;
  display: inline-flex;
}

.my-listing-card__actions .btn {
  min-width: 5.5rem;
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  white-space: nowrap;
}
.my-listing-card__actions .btn .icon,
.my-listing-card__actions .btn svg {
  display: inline-block;
  flex: 0 0 auto;
}

@media (max-width: 720px) {
  .my-listing-card {
    flex-direction: column;
    gap: 0.75rem;
  }

  .my-listing-card__thumb {
    width: 100%;
    flex-basis: auto;
    height: 140px;
  }

  .my-listing-card__top {
    flex-direction: column;
    gap: 0.35rem;
  }

  .my-listing-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 0.55rem;
  }

  .my-listing-metrics > div {
    border-right: 0;
    padding: 0;
  }

  .my-listing-metrics > div:nth-child(1),
  .my-listing-metrics > div:nth-child(2),
  .my-listing-metrics > div:nth-child(4),
  .my-listing-metrics > div:nth-child(5) {
    padding-right: 0.5rem;
  }

  .my-listing-card__actions .btn {
    flex: 1 1 calc(50% - 0.4rem);
    min-width: 0;
  }
}

.account-offer__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
}

.account-offer__amount {
  color: var(--green-dark);
  font-size: var(--fs-body);
  font-weight: 800;
  white-space: nowrap;
}

.account-inline-form {
  margin-bottom: 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem;
  background: #fff;
}

.fav-search-form {
  margin-bottom: 1.25rem;
}

.fav-search-form .btn {
  margin-top: 0.25rem;
}

.chat-page__lead {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: 600;
}

.chat-page__count {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: #eef3f8;
  color: var(--navy);
  font-size: 11px;
  font-weight: 750;
}

.chat-empty-card,
.chat-thread__placeholder {
  display: grid;
  place-items: center;
  gap: 0.35rem;
  text-align: center;
  padding: 2.5rem 1.25rem;
  border: 1px dashed var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, #f7fafc 0%, #fff 70%);
  color: var(--muted);
}

.chat-empty-card .icon,
.chat-thread__placeholder .icon {
  color: var(--green);
  opacity: 0.9;
  margin-bottom: 0.25rem;
}

.chat-empty-card h3,
.chat-thread__placeholder h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.05rem;
}

.chat-empty-card p,
.chat-thread__placeholder p {
  margin: 0 0 0.55rem;
  max-width: 28rem;
  font-size: var(--fs-xs);
  line-height: 1.45;
}

.chat-page {
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.chat-layout {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: 0;
  height: min(68vh, 640px);
  max-height: min(68vh, 640px);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  min-width: 0;
  max-width: 100%;
}

.chat-list-pane {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  background: #f5f8fb;
  min-height: 0;
}

.chat-list-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.7rem 0.75rem;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.chat-list-search .icon {
  position: absolute;
  left: 1.15rem;
  color: var(--muted);
  pointer-events: none;
}

.chat-list-search input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 0.45rem 0.6rem 0.45rem 1.85rem;
  background: #f8fafc;
  color: var(--navy);
  font-size: var(--fs-xs);
  font-weight: 600;
}

.chat-list {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.45rem;
  overflow: auto;
  flex: 1;
  min-height: 0;
}

.chat-list__empty {
  margin: 0;
  padding: 1rem 0.75rem;
  text-align: center;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
}

.chat-list__item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 0.55rem;
  align-items: start;
  padding: 0.6rem 0.55rem;
  border-radius: 10px;
  color: inherit;
  text-decoration: none;
  border: 1px solid transparent;
}

.chat-list__item:hover {
  background: rgba(255, 255, 255, 0.9);
}

.chat-list__item.is-active {
  background: #fff;
  border-color: rgba(1, 185, 118, 0.35);
  box-shadow: 0 1px 0 rgba(0, 36, 78, 0.04);
}

.chat-list__item.is-unread .chat-list__top strong {
  font-weight: 800;
}

.chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: color-mix(in srgb, var(--green) 18%, #fff);
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 800;
  flex-shrink: 0;
}

.chat-avatar--md {
  width: 42px;
  height: 42px;
}

.chat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat-list__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.chat-list__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.45rem;
}

.chat-list__top strong {
  color: var(--navy);
  font-size: var(--fs-body);
  font-weight: 750;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-list__top time {
  flex-shrink: 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.chat-list__listing {
  color: var(--green-dark);
  font-size: 10px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-list__preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}

.chat-list__preview em {
  min-width: 0;
  color: var(--muted);
  font-style: normal;
  font-size: 11px;
  font-weight: 550;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-list__item.is-unread .chat-list__preview em {
  color: var(--navy);
  font-weight: 700;
}

.chat-list__badge {
  display: inline-grid;
  place-items: center;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  background: #e24a3b;
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  flex-shrink: 0;
}

.chat-thread {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-height: 100%;
  background: #fff;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
}

.chat-thread__placeholder {
  margin: auto;
  border: 0;
  background: transparent;
  max-width: 22rem;
}

.chat-thread__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid var(--line);
  background: #fff;
  flex-shrink: 0;
  min-width: 0;
  overflow: hidden;
}

.chat-thread__who {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.chat-thread__who > div {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.chat-thread__head > .btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

.chat-back {
  display: none;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  color: var(--navy);
  background: #f3f6fa;
  flex-shrink: 0;
}

.chat-back:hover {
  background: var(--green-soft);
  color: var(--green-dark);
}

.chat-thread__who strong {
  display: block;
  color: var(--navy);
  font-size: var(--fs-body);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-thread__who small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-role {
  display: inline-flex;
  padding: 0.05rem 0.35rem;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 10px;
  font-weight: 800;
}

.chat-thread__messages {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  background:
    radial-gradient(circle at top left, rgba(1, 185, 118, 0.06), transparent 40%),
    linear-gradient(180deg, #f3f7fa 0%, #f8fafc 100%);
}

.chat-thread__hint {
  align-self: center;
  max-width: 22rem;
  margin: 0.5rem 0 0.75rem;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  text-align: center;
}

.chat-bubble {
  max-width: min(78%, 34rem);
  align-self: flex-start;
  padding: 0.55rem 0.7rem 0.4rem;
  border-radius: 14px 14px 14px 5px;
  background: #fff;
  border: 1px solid #e4ebf2;
  box-shadow: 0 1px 2px rgba(0, 36, 78, 0.04);
}

.chat-bubble.is-mine {
  align-self: flex-end;
  border-radius: 14px 14px 5px 14px;
  background: #e8f8f0;
  border-color: #c7edd9;
}

.chat-bubble p {
  margin: 0;
  color: var(--navy);
  font-size: var(--fs-body);
  line-height: 1.4;
  white-space: pre-wrap;
  word-break: break-word;
}

.chat-bubble small {
  display: block;
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
  text-align: right;
}

.chat-compose {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  align-items: end;
  padding: 0.7rem 0.8rem;
  border-top: 1px solid var(--line);
  background: #fff;
  flex-shrink: 0;
}

.chat-compose textarea {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.65rem 0.75rem;
  resize: none;
  min-height: 44px;
  max-height: 140px;
  font: inherit;
  color: var(--navy);
  background: #f8fafc;
  line-height: 1.35;
}

.chat-compose textarea:focus {
  outline: none;
  border-color: rgba(1, 185, 118, 0.55);
  background: #fff;
}

.chat-compose__send {
  gap: 0.35rem;
  min-height: 44px;
}

@media (max-width: 900px) {
  .chat-layout {
    grid-template-columns: 1fr;
    height: min(72vh, 620px);
    max-height: min(72vh, 620px);
  }

  .chat-list-pane {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    min-height: 0;
    overflow: hidden;
  }

  .chat-layout.has-thread .chat-list-pane {
    display: none;
  }

  .chat-layout.has-thread .chat-back {
    display: grid;
  }

  .chat-thread {
    height: 100%;
    min-height: 0;
  }

  .chat-compose__send span {
    display: none;
  }
}

.profile-avatar-row {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  margin-bottom: 0.35rem;
}

.profile-avatar-wrap {
  position: relative;
  width: 88px;
  height: 88px;
  flex-shrink: 0;
}

.profile-avatar-preview {
  width: 88px;
  height: 88px;
  border-radius: 999px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-size: 1.55rem;
  font-weight: 800;
  border: 1px solid var(--line);
}

.profile-avatar-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-form label.profile-avatar-upload {
  position: absolute;
  right: -2px;
  bottom: -2px;
  z-index: 2;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: var(--green);
  color: #fff;
  border: 2px solid #fff;
  box-shadow: 0 4px 10px rgba(0, 36, 78, 0.18);
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease;
}

.account-form label.profile-avatar-upload:hover {
  background: var(--green-dark);
  transform: scale(1.05);
}

.account-form label.profile-avatar-upload:focus-within {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.account-form label.profile-avatar-upload .icon {
  width: 0.95rem;
  height: 0.95rem;
}

.profile-avatar-fields {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.profile-avatar-fields__title {
  color: var(--navy);
  font-size: var(--fs-xs);
  font-weight: 700;
}

/* —— Avatar crop modal —— */
body.avatar-crop-open {
  overflow: hidden;
}

.avatar-crop-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.avatar-crop-modal[hidden] {
  display: none !important;
}

.avatar-crop-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 22, 38, 0.55);
}

.avatar-crop-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: min(92vh, 760px);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1rem 1rem 1.1rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #dce3eb;
  box-shadow: 0 24px 60px rgba(8, 22, 38, 0.28);
}

.avatar-crop-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.avatar-crop-modal__head h3 {
  margin: 0;
  color: var(--navy, #0b1f33);
  font-size: 1.05rem;
  font-weight: 800;
}

.avatar-crop-modal__head p {
  margin: 0.25rem 0 0;
  color: #627d98;
  font-size: 0.82rem;
  line-height: 1.4;
}

.avatar-crop-modal__x {
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: #eef2f6;
  color: #243447;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.avatar-crop-modal__stage {
  position: relative;
  width: 100%;
  height: min(52vh, 360px);
  background: #111827;
  border-radius: 10px;
  overflow: hidden;
}

.avatar-crop-modal__stage img {
  display: block;
  max-width: 100%;
}

.avatar-crop-modal .cropper-view-box,
.avatar-crop-modal .cropper-face {
  border-radius: 50%;
}

.avatar-crop-modal .cropper-view-box {
  outline: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.85);
}

.avatar-crop-modal .cropper-modal {
  background: rgba(0, 0, 0, 0.55);
}

.avatar-crop-modal__tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.avatar-crop-modal__zoom {
  flex: 1 1 180px;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  color: #243447;
  font-size: 0.78rem;
  font-weight: 700;
}

.avatar-crop-modal__zoom input[type='range'] {
  width: 100%;
  accent-color: var(--green, #01b976);
}

.avatar-crop-modal__rotate {
  display: flex;
  gap: 0.4rem;
}

.avatar-crop-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.55rem;
  padding-top: 0.15rem;
}

@media (max-width: 540px) {
  .avatar-crop-modal__dialog {
    padding: 0.85rem;
  }

  .avatar-crop-modal__actions {
    flex-direction: column-reverse;
  }

  .avatar-crop-modal__actions .btn {
    width: 100%;
  }
}

.account-form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.account-form__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.35rem;
}

.account-form__actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.location-fields {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.phone-field__row {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.45rem;
  align-items: stretch;
}

.phone-field .soft-select {
  min-width: 0;
  width: 5.5rem;
  position: relative;
  z-index: 2;
}

.phone-field .soft-select.is-open {
  z-index: 20;
}

.phone-field .soft-select__trigger {
  width: 100%;
  min-height: 2.35rem;
  padding-inline: 0.45rem 0.35rem;
}

.phone-field .soft-select__value {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.phone-field .soft-select__panel {
  min-width: 16rem;
  width: max-content;
  max-width: min(22rem, 80vw);
}

.phone-field__number {
  min-width: 0;
  width: 100%;
}

.auth-form .phone-field--auth {
  width: 100%;
}

.auth-form .phone-field__row {
  grid-template-columns: 5.75rem 1fr;
}

.auth-form .phone-field .soft-select__trigger,
.auth-form .phone-field__number {
  min-height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-size: var(--fs-body);
  font-weight: 500;
  color: var(--navy);
}

.auth-form .phone-field__number {
  padding: 0.65rem 0.85rem;
}

.auth-form .phone-field .soft-select__panel {
  z-index: 40;
}

@media (max-width: 640px) {
  .phone-field__row {
    grid-template-columns: 1fr;
  }

  .auth-form .phone-field__row {
    grid-template-columns: 5.75rem 1fr;
  }
}

.account-form label {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  color: var(--navy);
  font-size: var(--fs-xs);
  font-weight: 700;
}

.account-field {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  width: 100%;
  min-width: 0;
}

.account-field > label,
.account-field > span:first-child {
  display: block;
  margin: 0;
  color: var(--navy);
  font-size: var(--fs-xs);
  font-weight: 700;
}

label.account-field {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.account-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]),
.account-form textarea,
.account-form select,
.account-form .soft-select__trigger,
.account-form .soft-select__search {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.55rem 0.7rem;
  font-size: var(--fs-body);
  font-weight: 500;
  font-family: inherit;
  color: var(--navy);
  background: #fff;
  line-height: 1.45;
}

.account-form textarea {
  min-height: 7.5rem;
  resize: vertical;
  display: block;
}

.account-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]):focus,
.account-form textarea:focus,
.account-form select:focus {
  outline: 2px solid rgba(1, 185, 118, 0.25);
  border-color: var(--green);
}

/* Security page */
.sec-page {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-family: var(--font);
  font-size: var(--fs-body);
}

.sec-page__head h2 {
  margin: 0;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.sec-page__head p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: 600;
  line-height: 1.4;
}

.sec-ico-wrap {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #eef3f8;
  color: var(--navy);
}

.sec-ico-wrap--brand {
  background: var(--green-soft);
  color: var(--green-dark);
}

.sec-ico-wrap--warn {
  background: #fff1d6;
  color: #9a5b00;
}

.sec-ico {
  width: 18px !important;
  height: 18px !important;
  display: block;
  flex-shrink: 0;
}

.sec-ico--btn {
  width: 14px !important;
  height: 14px !important;
}

.sec-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.sec-overview__item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.sec-overview__item.is-ok {
  border-color: #c7edd9;
  background: #f5fbf8;
}

.sec-overview__item.is-ok .sec-ico-wrap {
  background: var(--green-soft);
  color: var(--green-dark);
}

.sec-overview__item.is-warn {
  border-color: #f0d4b0;
  background: #fffaf2;
}

.sec-overview__item.is-warn .sec-ico-wrap {
  background: #ffe8d0;
  color: #b24520;
}

.sec-overview__text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.sec-overview__label {
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.sec-overview__text strong {
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  word-break: break-word;
}

.sec-badge {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 0.1rem;
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  background: #eef3f8;
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.sec-badge.is-ok {
  background: var(--green-soft);
  color: var(--green-dark);
}

.sec-badge.is-warn {
  background: #ffe8d6;
  color: #b24520;
}

.sec-block {
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.sec-block--warn {
  border-color: #f0d4b0;
  background: #fffaf2;
}

.sec-block__title {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
}

.sec-block--warn .sec-block__title {
  border-bottom-color: #f0d4b0;
}

.sec-block__title h3 {
  margin: 0 0 0.15rem;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.sec-block__title p {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: 600;
  line-height: 1.4;
}

.sec-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green-dark);
}

.sec-alert strong {
  display: block;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
}

.sec-alert span {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: 600;
  line-height: 1.4;
}

.sec-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.85rem;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: #f7fafc;
}

.sec-cta strong {
  display: block;
  color: var(--navy);
  margin-bottom: 0.15rem;
  font-size: 12px;
  font-weight: 700;
}

.sec-cta p {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: 600;
  line-height: 1.4;
}

.sec-setup {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sec-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.sec-steps li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  background: #f5f8fb;
  color: var(--navy);
  font-size: var(--fs-xs);
  font-weight: 700;
  line-height: 1.35;
}

.sec-steps b {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: #fff;
  font-size: 10px;
  flex-shrink: 0;
}

.sec-setup__body {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
}

.sec-qr {
  margin: 0;
  text-align: center;
}

.sec-qr img {
  display: block;
  width: 180px;
  height: 180px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 0.4rem;
}

.sec-qr figcaption {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.sec-manual {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  min-width: 0;
}

.sec-manual code {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #f5f8fb;
  color: var(--navy);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: var(--fs-body);
  font-weight: 700;
  letter-spacing: 0.04em;
  word-break: break-all;
}

.sec-form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.sec-form__note {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: 600;
  line-height: 1.45;
}

.sec-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.sec-form label {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

.sec-form label > span {
  color: var(--navy);
  font-size: var(--fs-xs);
  font-weight: 700;
}

.sec-form input {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.45rem 0.55rem;
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: 500;
  color: var(--navy);
  background: #fff;
}

.sec-form input:focus {
  outline: none;
  border-color: rgba(1, 185, 118, 0.55);
}

.sec-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sec-backup {
  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

.sec-backup code {
  display: block;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  border: 1px solid #f0d4b0;
  background: #fff;
  color: var(--navy);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: var(--fs-body);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
}

.auth-2fa-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.65rem;
  background: var(--green-soft);
  color: var(--green-dark);
}

.auth-2fa-icon .icon,
.auth-2fa-icon .sec-ico {
  width: 24px !important;
  height: 24px !important;
}

@media (max-width: 760px) {
  .sec-overview,
  .sec-form__grid,
  .sec-setup__body,
  .sec-steps,
  .sec-backup {
    grid-template-columns: 1fr;
  }

  .sec-qr img {
    margin: 0 auto;
  }
}

@media (max-width: 960px) {
  .account-layout,
  .account-stats,
  .account-grid-2 {
    grid-template-columns: 1fr;
  }

  .account-sidebar {
    position: static;
  }

  .account-cta-panel,
  .account-alert {
    flex-direction: column;
    align-items: flex-start;
  }

  .account-alert .btn {
    margin-left: 0;
  }
}

/* —— İlan oluştur: adım adım kategori —— */
.create-wizard {
  padding: 1.1rem 1.15rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.create-wizard__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.create-wizard__title {
  margin: 0;
  font-size: var(--fs-h);
  color: var(--navy);
}

.create-wizard__crumb {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: var(--fs-xs);
}

.create-wizard__tips {
  color: #2f80ed;
  font-size: var(--fs-xs);
  font-weight: 700;
  white-space: nowrap;
}

.create-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.create-step {
  border: 1px solid var(--line);
  background: #f7f9fc;
  color: var(--muted);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  cursor: pointer;
}

.create-step.is-active {
  background: rgba(1, 185, 118, 0.12);
  border-color: rgba(1, 185, 118, 0.45);
  color: var(--navy);
}

.create-step:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.create-panel {
  display: none;
}

.create-panel.is-active {
  display: block;
}

.create-panel__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.cat-pick-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
}

.cat-pick {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  min-height: 118px;
  padding: 1rem 0.55rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 36, 78, 0.05);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.cat-pick:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--cat-accent) 55%, var(--line));
  box-shadow: 0 10px 22px rgba(0, 36, 78, 0.08);
}

.cat-pick__bar {
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: var(--cat-accent);
}

.cat-pick__icon {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--cat-accent) 16%, #fff);
  color: var(--cat-accent);
}

.cat-pick__icon .icon {
  width: 22px;
  height: 22px;
}

.cat-pick__name {
  text-align: center;
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
}

.create-or {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
  margin: 1.15rem 0 0.9rem;
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: 700;
}

.create-or::before,
.create-or::after {
  content: '';
  height: 1px;
  background: var(--line);
}

.create-search h3 {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.5rem;
  font-size: var(--fs-body);
  color: var(--navy);
}

.create-search input[type='search'] {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  font-size: var(--fs-body);
  color: var(--navy);
}

.create-search__hint {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: var(--fs-xs);
}

.create-search__results {
  margin-top: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.create-search__item {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
  padding: 0.65rem 0.8rem;
  color: var(--navy);
  font-size: var(--fs-xs);
  font-weight: 650;
  cursor: pointer;
}

.create-search__item:last-child {
  border-bottom: 0;
}

.create-search__item:hover {
  background: #f4f8f6;
}

.subcat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.subcat-item {
  text-align: left;
  border: 1px solid var(--line);
  border-left: 3px solid var(--cat-accent, var(--green));
  border-radius: 10px;
  background: #fff;
  padding: 0.7rem 0.8rem;
  color: var(--navy);
  font-size: var(--fs-xs);
  font-weight: 700;
  cursor: pointer;
}

.subcat-item:hover {
  background: #f7fbf9;
}

.create-form {
  border: 0;
  box-shadow: none;
  padding: 0;
}

.create-form__section {
  margin: 0.4rem 0 0;
  font-size: var(--fs-body);
  color: var(--navy);
}

.create-form .field-hint,
.field-hint {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted, #627d98);
  font-size: 0.8rem;
  font-weight: 550;
  line-height: 1.4;
}

.attr-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 0.35rem;
}

.attr-unit {
  color: var(--muted);
  font-weight: 600;
}

.attr-optional {
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
}

.attr-optional-note {
  grid-column: 1 / -1;
  margin: 0 0 0.15rem;
}

.listing-duration-info {
  margin: 0.35rem 0 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: #f0f7f4;
  border: 1px solid #d5ebe1;
}

.listing-duration-info__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--navy);
}

.listing-duration-info__row strong {
  font-size: 1.05rem;
  font-weight: 800;
  color: #01b976;
}

.listing-duration-info .form-note {
  margin: 0.45rem 0 0;
}

.attr-field {
  display: contents;
}

.attr-other {
  grid-column: span 1;
}

.attr-other[hidden] {
  display: none !important;
}

.attr-other label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

@media (max-width: 960px) {
  .cat-pick-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .subcat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .create-wizard__head {
    flex-direction: column;
  }

  .cat-pick-grid,
  .subcat-grid,
  .attr-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* —— İlan detay —— */
.detail-page {
  padding: 1.1rem 0 2.2rem;
}

.detail-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.9rem;
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: 600;
}

.detail-breadcrumb a {
  color: var(--navy-soft);
}

.detail-breadcrumb a:hover {
  color: var(--green-dark);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(240px, 0.75fr);
  gap: 1rem;
  align-items: start;
}

.detail-main {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.detail-hero,
.detail-panel,
.detail-cta-card,
.detail-buyer-card,
.detail-safe-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}

.detail-hero {
  padding: 1rem 1.1rem 1.05rem;
}

.detail-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.55rem;
}

.detail-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--chip, var(--green)) 14%, #fff);
  color: var(--navy);
  font-size: 10px;
  font-weight: 750;
}

.detail-chip--muted {
  background: #eef2f7;
  color: var(--muted);
}

.detail-title {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.25;
}

.detail-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: 600;
}

.detail-meta-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.detail-panel {
  padding: 0.95rem 1.05rem;
}

.detail-panel h2,
.detail-buyer-card h2,
.detail-safe-card h2,
.detail-related__head h2 {
  margin: 0 0 0.55rem;
  font-size: var(--fs-card);
}

.detail-panel__lead {
  margin: -0.2rem 0 0.7rem;
  color: var(--muted);
  font-size: var(--fs-xs);
}

.detail-panel--soft {
  background: #f7fbf9;
}

.detail-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0;
}

.detail-summary > div {
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  background: var(--surface-soft);
}

.detail-summary dt {
  margin: 0 0 0.15rem;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.detail-summary dd {
  margin: 0;
  color: var(--navy);
  font-size: var(--fs-body);
  font-weight: 750;
}

.detail-summary__budget {
  color: var(--green) !important;
  font-size: var(--fs-price) !important;
}

.detail-attrs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

.detail-attr {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.detail-attr span {
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: 650;
}

.detail-attr strong {
  color: var(--navy);
  font-size: var(--fs-body);
  font-weight: 750;
  text-align: right;
}

.detail-description {
  margin: 0;
  color: var(--ink);
  font-size: var(--fs-body);
  line-height: 1.65;
  white-space: pre-wrap;
}

.detail-empty {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-body);
}

.detail-steps {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink);
  font-size: var(--fs-body);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.detail-aside {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: sticky;
  top: 72px;
}

.detail-cta-card,
.detail-buyer-card,
.detail-safe-card {
  padding: 0.95rem;
}

.detail-cta-card__label {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.detail-cta-card__price {
  margin: 0.25rem 0 0.35rem;
  color: var(--green);
  font-size: 1.35rem;
  font-weight: 800;
}

.detail-cta-card__note,
.detail-cta-card__ok {
  margin: 0 0 0.75rem;
  font-size: var(--fs-xs);
  font-weight: 600;
}

.detail-cta-card__note {
  color: var(--muted);
}

.detail-cta-card__ok {
  color: var(--green-dark);
}

.btn-block {
  width: 100%;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.4rem;
}

.detail-cta-card .btn-block .icon {
  flex-shrink: 0;
}

.detail-buyer {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.detail-buyer__avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  overflow: hidden;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
}

.detail-buyer__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detail-buyer strong {
  display: block;
  color: var(--navy);
  font-size: var(--fs-body);
}

.detail-buyer__fullname {
  display: block;
  margin-top: 0.08rem;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
}

.detail-buyer small {
  display: block;
  margin-top: 0.12rem;
  color: var(--muted);
  font-size: 10px;
}

.detail-buyer__hint,
.detail-safe-card ul {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: var(--fs-xs);
  line-height: 1.45;
}

.detail-safe-card ul {
  padding-left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.detail-related {
  margin-top: 1.4rem;
}

.detail-related__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.detail-related__head a {
  color: var(--green-dark);
  font-size: var(--fs-xs);
  font-weight: 750;
}

.listing-grid--related {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-offer-wrap {
  max-width: 920px;
}

.detail-offer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 1rem;
  align-items: start;
}

.detail-offer-attrs {
  list-style: none;
  margin: 0.7rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.detail-offer-attrs li {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: var(--fs-xs);
}

.detail-offer-attrs span {
  color: var(--muted);
}

.detail-offer-attrs strong {
  color: var(--navy);
}

@media (max-width: 900px) {
  .detail-layout,
  .detail-offer-grid,
  .listing-grid--related {
    grid-template-columns: 1fr;
  }

  .detail-aside {
    position: static;
  }
}

@media (max-width: 640px) {
  .detail-summary,
  .detail-attrs {
    grid-template-columns: 1fr;
  }

  .detail-title {
    font-size: 1.25rem;
  }
}

/* —— İlan detay (classified / sahibinden-benzeri) —— */
.detail-page--classified {
  padding-top: 0.85rem;
  overflow-x: clip;
}

body.page-listing-detail {
  overflow-x: clip;
}

.detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.detail-head__main {
  min-width: 0;
  flex: 1;
}

.detail-head__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.45rem;
}

.detail-chip--featured {
  background: var(--green-soft);
  color: var(--green-dark);
}

.detail-page--classified .detail-title {
  margin: 0;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  line-height: 1.25;
  font-weight: 800;
  color: #0b1f33;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.detail-head__tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  flex-shrink: 0;
}

.detail-tool-form {
  margin: 0;
}

.detail-tool {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.42rem 0.7rem;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  background: #fff;
  color: #334e68;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.detail-tool:hover,
.detail-tool.is-on {
  border-color: #fecdd3;
  color: #e11d48;
  background: #fff1f2;
}

.detail-tool.is-copied {
  border-color: #01b976;
  color: #017a4f;
  background: #e8faf2;
}

.detail-top {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 0.78fr);
  gap: 0.85rem;
  align-items: start;
  margin-bottom: 1rem;
  min-width: 0;
}

.detail-media,
.detail-info,
.detail-page--classified .detail-aside > * {
  background: #fff;
  border: 1px solid #dce3eb;
  border-radius: 4px;
  min-width: 0;
  max-width: 100%;
}

.detail-media {
  padding: 0.55rem;
}

.detail-media__stage {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #f0f3f6;
  overflow: hidden;
}

.detail-media__stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detail-media__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2.4rem;
  border: 0;
  background: rgba(11, 31, 51, 0.55);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.detail-media__nav--prev { left: 0; }
.detail-media__nav--next { right: 0; }

.detail-media__thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.35rem;
  margin-top: 0.45rem;
}

.detail-media__thumb {
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 2px solid transparent;
  background: #eef2f6;
  overflow: hidden;
  cursor: pointer;
}

.detail-media__thumb.is-active {
  border-color: #01b976;
}

.detail-media__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detail-media__badge {
  position: absolute;
  left: 0.55rem;
  top: 0.55rem;
  z-index: 2;
  padding: 0.28rem 0.55rem;
  border-radius: 4px;
  background: rgba(11, 31, 51, 0.78);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.01em;
  line-height: 1.2;
  pointer-events: none;
}

.detail-media__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.45rem;
  font-size: 0.78rem;
  font-weight: 650;
  color: #627d98;
}

.detail-media__meta a {
  color: #0b6bcb;
  text-decoration: none;
}

.detail-media__notice {
  margin: 0.55rem 0 0;
  padding: 0.55rem 0.65rem;
  border-radius: 4px;
  border: 1px solid #d7e8df;
  background: #f3faf6;
  color: #245c45;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.45;
}

.detail-media__empty {
  display: grid;
  place-items: center;
  gap: 0.45rem;
  min-height: 240px;
  color: #829ab1;
  font-size: 0.88rem;
  font-weight: 650;
}

.detail-info {
  padding: 0.85rem 0.95rem 1rem;
}

.detail-info__price {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid #e6ebf0;
  margin-bottom: 0.65rem;
}

.detail-info__price-label {
  margin: 0 0 0.15rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #829ab1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.detail-info__price-value {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 800;
  color: #0b6bcb;
  line-height: 1.1;
}

.detail-info__verified {
  font-size: 0.75rem;
  font-weight: 750;
  color: #017a4f;
  background: #e8faf2;
  border-radius: 999px;
  padding: 0.28rem 0.55rem;
}

.detail-info__note {
  font-size: 0.75rem;
  font-weight: 650;
  color: #829ab1;
}

.detail-info__location {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.detail-info__location a {
  color: #0b6bcb;
  text-decoration: none;
}

.detail-info__location a:hover {
  text-decoration: underline;
}

.detail-specs {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
  table-layout: fixed;
}

.detail-specs th,
.detail-specs td {
  padding: 0.42rem 0.2rem;
  border-bottom: 1px solid #eef1f4;
  vertical-align: top;
  text-align: left;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.detail-specs th {
  width: 42%;
  color: #486581;
  font-weight: 700;
}

.detail-specs td {
  color: #0b1f33;
  font-weight: 650;
}

.detail-specs__id {
  color: #c81e1e !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em;
}

.detail-report-link,
.detail-report-inline {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #627d98;
}

.detail-report-link:hover,
.detail-report-inline summary:hover {
  color: #c81e1e;
}

.detail-report-inline summary {
  cursor: pointer;
  list-style: none;
}

.detail-report-inline summary::-webkit-details-marker {
  display: none;
}

.detail-report {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.55rem;
}

.detail-report label {
  display: grid;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #486581;
}

.detail-report select,
.detail-report textarea {
  width: 100%;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  padding: 0.45rem 0.55rem;
  font: inherit;
}

.detail-page--classified .detail-aside {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: sticky;
  top: 5.5rem;
  min-width: 0;
}

.detail-seller-card,
.detail-page--classified .detail-cta-card,
.detail-page--classified .detail-safe-card {
  padding: 0.9rem;
  border-radius: 4px;
  box-shadow: none;
  min-width: 0;
  max-width: 100%;
}

.detail-seller-card__top {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  min-width: 0;
}

.detail-seller-card__label {
  margin: 0 0 0.15rem;
  font-size: 0.7rem;
  font-weight: 750;
  color: #829ab1;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.detail-seller-card strong {
  display: block;
  font-size: 1rem;
  color: #0b1f33;
}

.detail-seller-card strong a {
  color: inherit;
  text-decoration: none;
}

.detail-seller-card strong a:hover {
  color: #01b976;
}

.detail-seller-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.85rem;
  margin: 0.65rem 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
}

.detail-seller-card__links a,
.detail-seller-card__links button {
  color: #0b6bcb;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.detail-tabs {
  background: #fff;
  border: 1px solid #dce3eb;
  border-radius: 4px;
  margin-bottom: 1.25rem;
  overflow: hidden;
  min-width: 0;
  max-width: 100%;
}

.detail-tabs__nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  border-bottom: 1px solid #e6ebf0;
  background: #f7f9fb;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.detail-tabs__btn {
  appearance: none;
  border: 0;
  background: transparent;
  flex: 0 0 auto;
  padding: 0.85rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 750;
  color: #486581;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
}

.detail-tabs__btn.is-active {
  color: #0b1f33;
  background: #fff;
  border-bottom-color: var(--green);
}

.detail-tabs__panel {
  display: none;
  padding: 1.1rem 1.15rem 1.25rem;
}

.detail-tabs__panel.is-active {
  display: block;
}

.detail-tabs__panel h2 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
}

.detail-page--classified .detail-map {
  width: 100%;
  max-width: 100%;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #e6ebf0;
  min-height: 280px;
}

.detail-page--classified .detail-map iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 280px;
  border: 0;
}

@media (max-width: 1100px) {
  .detail-top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .detail-page--classified .detail-aside {
    grid-column: 1 / -1;
    position: static;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-width: 0;
  }
}

@media (max-width: 960px) {
  .detail-page--classified {
    overflow-x: clip;
  }

  .detail-page--classified > .container {
    width: min(100% - 1.25rem, var(--container));
    max-width: 100%;
  }

  .detail-head {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .detail-head__tools {
    flex-shrink: 1;
    width: 100%;
  }

  .detail-head__tools .detail-tool {
    flex: 1 1 auto;
    justify-content: center;
  }

  .detail-top,
  .detail-page--classified .detail-aside {
    grid-template-columns: minmax(0, 1fr);
  }

  .detail-page--classified .detail-aside {
    grid-column: auto;
  }

  .detail-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem 0.35rem;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .detail-page--classified .detail-title {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .detail-info__price {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .detail-info__price-value {
    font-size: clamp(1.2rem, 7vw, 1.55rem);
    overflow-wrap: anywhere;
  }

  .detail-media__thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .detail-tool span {
    display: none;
  }

  .detail-tabs__panel {
    padding: 0.9rem 0.85rem 1.05rem;
  }

  .detail-seller-card__top {
    min-width: 0;
  }

  .detail-seller-card__top > div:last-child {
    min-width: 0;
  }

  .detail-cta-card__price {
    overflow-wrap: anywhere;
  }

  .detail-attrs {
    grid-template-columns: minmax(0, 1fr);
  }

  .listing-grid--related {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .detail-head {
    flex-direction: column;
  }

  .detail-top {
    grid-template-columns: minmax(0, 1fr);
  }

  .detail-page--classified .detail-aside {
    grid-template-columns: minmax(0, 1fr);
  }

  .detail-media__thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .detail-tool span {
    display: none;
  }
}

/* ========== Mobile — full responsive overrides (cascade-safe) ========== */
body.is-nav-open {
  overflow: hidden;
  touch-action: none;
}

.simple-table-wrap,
.prose,
.content-body {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.simple-table {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 960px) {
  .path-grid,
  .process-grid,
  .trust-grid,
  .category-rich-grid,
  .prose-layout,
  .contact-grid,
  .auth-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-header {
    z-index: 100;
  }

  .header-inner {
    position: relative;
    z-index: 130;
    gap: 0.55rem;
    min-height: 52px;
  }

  .brand-logo {
    height: 24px;
    max-height: 24px;
    max-width: 120px;
  }

  .header-actions {
    gap: 0.4rem;
    margin-left: auto;
  }

  .header-account > span:first-child {
    display: none;
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 10080;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(8, 22, 38, 0.52);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
    cursor: pointer;
  }

  body.is-nav-open .nav-backdrop,
  .site-header.is-open .nav-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-main {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    z-index: 10090;
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: min(340px, 90vw);
    margin: 0;
    padding: 0;
    max-height: none;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background:
      linear-gradient(180deg, #ffffff 0%, #f7faf8 48%, #ffffff 100%);
    border: 0;
    border-radius: 18px 0 0 18px;
    box-shadow: -24px 0 60px rgba(0, 36, 78, 0.28);
    transform: translate3d(105%, 0, 0);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.32s;
  }

  body.is-nav-open .nav-main,
  .site-header.is-open .nav-main {
    transform: translate3d(0, 0, 0);
    visibility: visible;
    pointer-events: auto;
  }

  .nav-toggle {
    z-index: 50;
  }

  .nav-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1rem 0.85rem;
    border-bottom: 1px solid rgba(228, 235, 243, 0.95);
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 2;
  }

  .nav-drawer__brand {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
  }

  .nav-drawer__brand img {
    display: block;
    height: 22px;
    width: auto;
  }

  .nav-drawer__brand span {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #829ab1;
  }

  .nav-drawer__close {
    width: 2.35rem;
    height: 2.35rem;
    border: 1px solid #d9e2ec;
    border-radius: 12px;
    background: #fff;
    color: #0b1f33;
    display: inline-grid;
    place-items: center;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(11, 31, 51, 0.06);
    transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
  }

  .nav-drawer__close:hover,
  .nav-drawer__close:active {
    background: #f5f8fc;
    border-color: #01b976;
    transform: scale(0.97);
  }

  .nav-drawer__user {
    display: flex !important;
    align-items: center;
    gap: 0.7rem;
    margin: 0.9rem 0.9rem 0.35rem;
    padding: 0.75rem;
    border-radius: 14px;
    background: linear-gradient(135deg, #e8faf2 0%, #f3fbf8 55%, #fff 100%);
    border: 1px solid #d7eee3;
    text-decoration: none;
    color: inherit;
  }

  .nav-drawer__avatar {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    overflow: hidden;
    background: #0b1f33;
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    flex-shrink: 0;
  }

  .nav-drawer__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .nav-drawer__user-meta {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
  }

  .nav-drawer__user-meta strong {
    font-size: 0.92rem;
    color: #0b1f33;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-drawer__user-meta small {
    font-size: 0.74rem;
    color: #627d98;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-drawer__chevron {
    display: block !important;
    color: #829ab1;
  }

  .nav-drawer__links {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.75rem 0.9rem 0.35rem;
  }

  .nav-main .nav-link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin: 0;
    padding: 0.82rem 0.8rem;
    border: 1px solid transparent;
    border-radius: 12px;
    background: #fff;
    color: #0b1f33;
    font-size: 0.95rem;
    font-weight: 750;
    opacity: 1;
    box-shadow: 0 1px 0 rgba(11, 31, 51, 0.03);
  }

  .nav-main .nav-link.is-active,
  .nav-main .nav-link:hover {
    color: #017a4f;
    background: #eefaf4;
    border-color: #d4efe3;
  }

  .nav-link__ico {
    display: grid !important;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 10px;
    background: #f1f5f9;
    color: #0b1f33;
    flex-shrink: 0;
  }

  .nav-main .nav-link.is-active .nav-link__ico,
  .nav-main .nav-link:hover .nav-link__ico {
    background: #d9f5e8;
    color: #017a4f;
  }

  .nav-link__label {
    flex: 1;
    min-width: 0;
  }

  .nav-link__chevron {
    display: block !important;
    color: #a0aec0;
    flex-shrink: 0;
  }

  .nav-main__mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin: auto 0.9rem 0;
    padding: 0.85rem 0 0.35rem;
  }

  .nav-main__mobile-actions .btn {
    width: 100%;
    min-height: 46px;
    justify-content: center;
    gap: 0.4rem;
    border-radius: 12px;
    font-weight: 800;
  }

  .nav-drawer__foot {
    display: block;
    margin: 0.55rem 1rem 1.1rem;
    color: #829ab1;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
  }

  .hero-cta .btn,
  .hero-cta a {
    flex: 1 1 auto;
    justify-content: center;
  }

  .listings-main__tools {
    flex-wrap: wrap;
    gap: 0.45rem;
  }

  .listings-search input {
    width: 100%;
    min-width: 0;
    max-width: none;
  }

  .create-wizard__tips {
    white-space: normal;
  }

  .account-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 1.25rem, var(--container));
  }

  :root {
    --fs-hero: 24px;
    --fs-h: 16px;
  }

  .brand-logo {
    height: 22px;
    max-height: 22px;
    max-width: 108px;
  }

  .header-actions .btn-primary .btn-label-full {
    display: none;
  }

  .header-actions .btn-primary .btn-label-short {
    display: inline;
  }

  .header-actions .btn-primary {
    padding: 0.38rem 0.55rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .stat-value {
    font-size: 18px;
  }

  .search-bar {
    flex-wrap: wrap;
    border-radius: 12px;
    padding: 0.5rem;
    gap: 0.4rem;
  }

  .search-bar__submit {
    width: 100%;
    justify-content: center;
  }

  .form-row,
  .panel-form .form-row {
    grid-template-columns: 1fr;
  }

  .auth-shell {
    grid-template-columns: 1fr !important;
    min-height: auto;
  }

  .auth-brand {
    min-height: auto !important;
    padding: 1.15rem 1.1rem 1rem !important;
  }

  .auth-brand__art {
    width: min(46%, 220px) !important;
    right: -2% !important;
    top: 55% !important;
    opacity: 0.85;
  }

  .auth-brand__copy {
    max-width: 70% !important;
    padding-bottom: 0.5rem !important;
  }

  .auth-brand__copy h1 {
    font-size: 1.45rem !important;
  }

  .auth-brand__lead {
    font-size: 0.88rem !important;
  }

  .auth-points {
    gap: 0.4rem !important;
  }

  .auth-points li {
    font-size: 0.82rem !important;
  }

  .auth-main {
    padding: 0.85rem 0.85rem 1.5rem !important;
  }

  .auth-card {
    padding: 1.1rem !important;
    width: 100%;
  }

  .auth-form__meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .cat-pick-grid,
  .subcat-grid,
  .attr-grid {
    grid-template-columns: 1fr 1fr;
  }

  .create-steps {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0.4rem;
    padding-bottom: 0.25rem;
  }

  .create-steps > * {
    flex: 0 0 auto;
  }

  .account-list li,
  .account-offer {
    flex-wrap: wrap;
    gap: 0.45rem;
  }

  .account-list__meta,
  .account-offer__amount {
    white-space: normal;
  }

  .my-listing-actions,
  .account-offer__actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .footer-apps,
  .footer-social {
    flex-wrap: wrap;
  }

  .cta-banner {
    padding: 1rem;
  }

  .detail-actions,
  .detail-summary {
    flex-wrap: wrap;
  }

  .btn,
  .btn-primary,
  .btn-login {
    min-height: 36px;
  }

  input,
  select,
  textarea,
  .soft-select__trigger {
    font-size: 16px !important; /* iOS zoom prevent */
  }
}

@media (max-width: 400px) {
  .stats-grid,
  .account-stats {
    grid-template-columns: 1fr;
  }

  .cat-pick-grid,
  .subcat-grid,
  .attr-grid {
    grid-template-columns: 1fr;
  }

  .header-actions .btn-login {
    padding: 0.25rem;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem 0.7rem;
  }

  .footer-col a {
    font-size: 0.82rem;
  }
}

/* —— Admin —— */
.page-admin { background: #f4f6f8; min-height: 100vh; }
.admin-topbar {
  background: #0b1f33;
  color: #fff;
  padding: 0.85rem 0;
  margin-bottom: 1.5rem;
}
.admin-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.admin-topbar .brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  text-decoration: none;
}
.admin-topbar__badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #01b976;
  color: #052816;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
}
.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}
.admin-nav a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}
.admin-nav a:hover,
.admin-nav a.is-active { color: #01b976; }
.admin-main { padding-bottom: 3rem; }
.admin-page__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.admin-page__head h1 {
  margin: 0;
  font-size: 1.55rem;
  color: #0b1f33;
}
.admin-page__head p { margin: 0.25rem 0 0; color: #5b6b7c; }
.admin-search {
  display: flex;
  gap: 0.5rem;
  flex-wrap: nowrap;
  align-items: center;
  margin-left: auto;
}
.admin-search input,
.admin-search select {
  border: 1px solid #d5dde6;
  border-radius: 8px;
  padding: 0.45rem 0.7rem;
  font: inherit;
  background: #fff;
  height: 2.15rem;
  box-sizing: border-box;
}
.admin-search input[type="search"] {
  width: 13.5rem;
  min-width: 11rem;
}
.admin-search .soft-select {
  width: 10.5rem !important;
  min-width: 10.5rem !important;
  max-width: 11.5rem !important;
  flex: 0 0 auto;
}
.admin-search .soft-select__trigger,
.admin-search .soft-select__search {
  height: 2.15rem;
  border: 1px solid #d5dde6;
  border-radius: 8px;
  padding: 0 0.7rem;
  font: inherit;
  font-size: 0.9rem;
  background: #fff;
  box-sizing: border-box;
}
.admin-search .soft-select__panel {
  min-width: 100%;
  z-index: 40;
}
.admin-search--toolbar .btn,
.admin-search .btn {
  flex: 0 0 auto;
  height: 2.15rem;
  white-space: nowrap;
}
@media (max-width: 900px) {
  .admin-search {
    width: 100%;
    margin-left: 0;
    flex-wrap: wrap;
  }
  .admin-search input[type="search"] {
    flex: 1 1 12rem;
    width: auto;
    min-width: 0;
  }
}
.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}
.admin-stat {
  background: #fff;
  border: 1px solid #e4eaf0;
  border-radius: 12px;
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.admin-stat span { color: #5b6b7c; font-size: 0.85rem; font-weight: 600; }
.admin-stat strong { font-size: 1.6rem; color: #0b1f33; }
.admin-stat a { font-size: 0.85rem; color: #01b976; font-weight: 700; text-decoration: none; }
.admin-stat--warn { border-color: #f0c36a; background: #fffaf0; }
.admin-quick { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.admin-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.admin-filters a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  color: #3d4f63;
  background: #fff;
  border: 1px solid #d5dde6;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
}
.admin-filters a.is-active {
  background: #0b1f33;
  border-color: #0b1f33;
  color: #fff;
}
.admin-table-wrap {
  overflow-x: auto;
  background: #fff;
  border: 1px solid #e4eaf0;
  border-radius: 12px;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.admin-table th,
.admin-table td {
  text-align: left;
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid #eef2f6;
  vertical-align: top;
}
.admin-table th {
  background: #f7f9fb;
  color: #5b6b7c;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table a { color: #0b1f33; font-weight: 700; text-decoration: none; }
.admin-table a:hover { color: #01b976; }
.admin-muted {
  display: block;
  color: #7a8a9a;
  font-size: 0.78rem;
  margin-top: 0.15rem;
}
.admin-inline-form,
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}
.admin-inline-form select,
.admin-inline-form input[type="text"] {
  border: 1px solid #d5dde6;
  border-radius: 6px;
  padding: 0.3rem 0.45rem;
  font: inherit;
  max-width: 140px;
}
.admin-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  background: #eef2f6;
  color: #3d4f63;
}
.admin-pill--ok { background: #e5f8ef; color: #0a7a4a; }
.admin-pill--warn { background: #fff3d6; color: #8a5a00; }
.admin-pill--danger { background: #fde8e6; color: #b42318; }
.admin-empty { color: #5b6b7c; padding: 1rem 0; }
.admin-messages { display: grid; gap: 0.85rem; }
.admin-message {
  background: #fff;
  border: 1px solid #e4eaf0;
  border-radius: 12px;
  padding: 1rem 1.1rem;
}
.admin-message header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.65rem;
}
.admin-message header > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}
.admin-message time { color: #7a8a9a; font-size: 0.8rem; }
.admin-message p {
  margin: 0 0 0.75rem;
  white-space: pre-wrap;
  color: #243447;
  line-height: 1.5;
}

/* —— Seller profile —— */
.seller-page { padding: 2rem 0 3.5rem; }
.seller-hero {
  position: relative;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #e4eaf0;
  border-radius: 16px;
  padding: 1.4rem 1.5rem;
  margin-bottom: 1.75rem;
}
.seller-hero__avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  background: #e8eef4;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 1.8rem;
  font-weight: 800;
  color: #0b1f33;
}
.seller-hero__avatar img { width: 100%; height: 100%; object-fit: cover; }
.seller-hero__meta {
  flex: 1 1 auto;
  min-width: 0;
}
.seller-hero__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}
.seller-hero__identity {
  min-width: 0;
  flex: 1 1 auto;
}
.seller-hero__meta h1 { margin: 0 0 0.35rem; font-size: 1.55rem; color: #0b1f33; }
.seller-hero__mod {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: flex-start;
  justify-content: flex-end;
  flex-shrink: 0;
  margin-left: auto;
}
.seller-hero__report {
  position: relative;
}
.seller-hero__report > summary {
  cursor: pointer;
  list-style: none;
}
.seller-hero__report > summary::-webkit-details-marker { display: none; }
.seller-hero__report-form {
  position: absolute;
  right: 0;
  top: calc(100% + 0.35rem);
  z-index: 5;
  display: grid;
  gap: 0.45rem;
  min-width: 240px;
  padding: 0.75rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(15, 39, 68, 0.12);
}
.seller-hero__report-form select,
.seller-hero__report-form textarea {
  width: 100%;
  font-size: 0.86rem;
}
.seller-hero__alias {
  margin: -0.1rem 0 0.35rem;
  color: #7b8b9c;
  font-size: 0.86rem;
  font-weight: 600;
}
.seller-hero__sub { margin: 0; color: #5b6b7c; font-size: 0.92rem; }
.seller-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.85rem;
  margin-top: 0.55rem;
}
.seller-hero__bio { margin: 0.75rem 0 0; color: #243447; line-height: 1.55; max-width: 52ch; }
.seller-hero__fav { margin: 0; }
.seller-hero__fav .btn { white-space: nowrap; }

@media (max-width: 640px) {
  .seller-hero__top {
    flex-direction: column;
    align-items: stretch;
  }
  .seller-hero__mod {
    justify-content: flex-end;
    order: -1;
    align-self: flex-end;
    max-width: 100%;
  }
}

.seller-rating-badge {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem 0.65rem;
  margin: 0.15rem 0 0.55rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: #f3f7fb;
  border: 1px solid #e4eaf0;
  color: #243447;
  font-size: 0.9rem;
}
.seller-rating-badge.has-rate {
  padding-right: 0.35rem;
}
.seller-rating-badge.is-rating {
  border-radius: 14px;
  gap: 0.5rem 0.55rem;
}
.seller-rating-badge__view {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem 0.65rem;
}
.seller-rating-badge__stars {
  display: inline-flex;
  flex-direction: row;
  gap: 0.08rem;
  letter-spacing: 0.02em;
  color: #c9d3dd;
  font-size: 1rem;
  line-height: 1;
}
.seller-rating-badge__stars.is-interactive {
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 0.12rem;
}
.seller-rating-badge__stars .is-on,
.seller-ratings__score .is-on {
  color: #e6a700;
}
.seller-rating-badge__input.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.seller-rating-badge__star-label {
  cursor: pointer;
  color: #c9d3dd;
  font-size: 1.2rem;
  line-height: 1;
  transition: color 0.12s ease, transform 0.12s ease;
  user-select: none;
}
.seller-rating-badge__star-label:hover,
.seller-rating-badge__star-label:hover ~ .seller-rating-badge__star-label,
.seller-rating-badge__input:checked + .seller-rating-badge__star-label,
.seller-rating-badge__input:checked ~ .seller-rating-badge__star-label {
  color: #e6a700;
}
.seller-rating-badge__star-label:hover {
  transform: scale(1.12);
}
.seller-rating-badge strong {
  font-weight: 800;
  color: #0b1f33;
}
.seller-rating-badge__view > span:last-child {
  color: #5b6b7c;
  font-size: 0.84rem;
}
.seller-rating-badge__rate-btn {
  appearance: none;
  border: 0;
  margin: 0;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: var(--navy, #0b1f33);
  color: #fff;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 1.2;
  white-space: nowrap;
}
.seller-rating-badge__rate-btn:hover {
  filter: brightness(1.08);
}
.seller-rating-badge__form {
  display: none;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem 0.55rem;
}
.seller-rating-badge.is-rating .seller-rating-badge__view,
.seller-rating-badge.is-rating .seller-rating-badge__rate-btn {
  display: none;
}
.seller-rating-badge.is-rating .seller-rating-badge__form {
  display: inline-flex;
}
.seller-rating-badge__form[hidden] {
  display: none !important;
}

.seller-ratings {
  background: #fff;
  border: 1px solid #e4eaf0;
  border-radius: 16px;
  padding: 1.15rem 1.35rem 1.25rem;
  margin-bottom: 1.75rem;
}
.seller-ratings__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  margin-bottom: 0.85rem;
}
.seller-ratings__head h2 {
  margin: 0;
  font-size: 1.15rem;
  color: #0b1f33;
}
.seller-ratings__head p {
  margin: 0;
  color: #5b6b7c;
  font-size: 0.9rem;
}
.seller-ratings__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.seller-ratings__list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding-top: 0.75rem;
  border-top: 1px solid #eef2f6;
}
.seller-ratings__list li:first-child {
  border-top: 0;
  padding-top: 0;
}
.seller-ratings__score {
  display: inline-flex;
  gap: 0.12rem;
  flex-shrink: 0;
  color: #c9d3dd;
  letter-spacing: 0.02em;
  font-size: 0.95rem;
  line-height: 1.2;
  margin-top: 0.15rem;
}
.seller-ratings__star {
  fill: none;
  stroke: #c9d3dd;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.seller-ratings__star.is-on {
  fill: var(--green);
  stroke: var(--green);
}
.seller-ratings__comment {
  margin: 0.35rem 0 0;
  color: #243447;
  line-height: 1.45;
  white-space: pre-wrap;
}
.seller-ratings__flash {
  margin: 0 0 0.85rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  font-size: 0.9rem;
}
.seller-ratings__flash.is-ok {
  background: var(--green-soft);
  color: var(--green-dark);
  border: 1px solid #cdeedf;
}
.seller-ratings__flash.is-err {
  background: #fff1f2;
  color: #be123c;
  border: 1px solid #fecdd3;
}
.seller-ratings__feed {
  display: grid;
  gap: 1rem;
}
.seller-ratings__compose {
  margin: 0;
  padding: 1rem 1.05rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(15, 39, 68, 0.03);
}
.seller-ratings__compose.is-edit {
  border-color: #cfe8dc;
  background: linear-gradient(180deg, #f7fcf9 0%, #fff 48%);
}
.seller-ratings__compose-head {
  margin: 0 0 0.75rem;
}
.seller-ratings__compose-head h3 {
  margin: 0;
  font-size: 1.02rem;
  color: #0b1f33;
}
.seller-ratings__compose-meta {
  margin: 0.25rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  color: #7b8b9c;
  font-size: 0.82rem;
}
.seller-ratings__edited {
  color: #5b6b7c;
  font-weight: 600;
}
.seller-rate-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.75rem;
  align-items: flex-start;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.seller-rate-form textarea {
  flex: 1 1 100%;
  min-height: 4.5rem;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
}
.seller-rate-form__copy {
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.seller-rate-form__copy strong {
  color: var(--ink);
  font-size: 0.95rem;
}
.seller-rate-form__copy span {
  color: var(--muted);
  font-size: 0.82rem;
}
.seller-ratings__list strong {
  display: block;
  color: #0b1f33;
  font-size: 0.95rem;
}
.seller-ratings__list small {
  color: #7b8b9c;
  font-size: 0.8rem;
}
.seller-ratings__list p {
  margin: 0.3rem 0 0;
  color: #243447;
  line-height: 1.45;
  font-size: 0.92rem;
}
.seller-ratings__empty {
  margin: 0;
  color: #7b8b9c;
  font-size: 0.92rem;
}

.seller-listings h2 { margin: 0 0 1rem; font-size: 1.2rem; color: #0b1f33; }
.seller-listings__table {
  background: #fff;
  border: 1px solid #e4eaf0;
  border-radius: 14px;
  overflow: hidden;
}

/* —— Listing gallery —— */
.detail-map-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.detail-map-panel__head h2 {
  margin: 0;
}

.detail-map {
  margin-top: 12px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line, #e5e7eb);
  background: #f3f4f6;
  aspect-ratio: 16 / 10;
  min-height: 240px;
}

.detail-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 240px;
  border: 0;
}

.detail-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.65rem;
  margin: 0 0 1.25rem;
}

.detail-gallery__item {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e4eaf0;
  aspect-ratio: 4 / 3;
  background: #f4f6f8;
}
.detail-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.account-panel--danger {
  margin-top: 1.25rem;
  border-color: #f3c0bb;
}

/* —— Admin panel (subdomain shell) —— */
.ap-body {
  margin: 0;
  min-height: 100vh;
  background: #eef2f6;
  font-family: Manrope, system-ui, sans-serif;
  color: #0b1f33;
}
.ap-shell {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 100vh;
}
.ap-sidebar {
  background: linear-gradient(180deg, #061526 0%, #0b1f33 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1rem 1.5rem;
  position: sticky;
  top: 0;
  height: 100vh;
}
.ap-sidebar__brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.5rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 1rem;
}
.ap-sidebar__brand img {
  height: 22px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.ap-sidebar__badge {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: #01b976;
  color: #042816;
  padding: 0.18rem 0.4rem;
  border-radius: 4px;
}
.ap-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}
.ap-nav__link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  transition: background .15s, color .15s;
}
.ap-nav__link:hover { background: rgba(255,255,255,0.06); color: #fff; }
.ap-nav__link.is-active {
  background: rgba(1,185,118,0.16);
  color: #01b976;
}
.ap-nav__ico { opacity: 0.7; font-size: 0.85rem; width: 1.1rem; text-align: center; }
.ap-sidebar__foot {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.ap-nav__logout {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.85);
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}
.ap-nav__logout:hover { border-color: #01b976; color: #01b976; }
.ap-nav__site {
  color: rgba(255,255,255,0.55);
  font-size: 0.8rem;
  text-decoration: none;
  padding: 0.35rem 0.75rem;
}
.ap-nav__site:hover { color: #01b976; }
.ap-main { min-width: 0; display: flex; flex-direction: column; }
.ap-top {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.4rem 1.25rem;
  min-height: 52px;
  background: #fff;
  border-bottom: 1px solid #e4eaf0;
  position: sticky;
  top: 0;
  z-index: 5;
}
.ap-top__title { font-weight: 700; flex: 1; }
.ap-top__user { color: #5b6b7c; font-size: 0.88rem; font-weight: 600; }
.ap-menu-btn {
  display: none;
  background: #0b1f33;
  color: #fff;
  border: 0;
  border-radius: 8px;
  width: 2.2rem;
  height: 2.2rem;
  cursor: pointer;
}
.ap-content { padding: 1.5rem; }
.ap-page__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}
.ap-page__head h1 { margin: 0; font-size: 1.5rem; }
.ap-page__head p { margin: 0.3rem 0 0; color: #5b6b7c; }
.ap-back {
  display: inline-block;
  color: #5b6b7c;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.ap-back:hover { color: #01b976; }
.ap-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.ap-panel {
  background: #fff;
  border: 1px solid #e4eaf0;
  border-radius: 14px;
  padding: 1.1rem 1.2rem;
}
.ap-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.ap-panel__head h2 { margin: 0; font-size: 1rem; }
.ap-panel__head a { color: #01b976; font-weight: 700; font-size: 0.85rem; text-decoration: none; }
.ap-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.ap-list li {
  padding-bottom: 0.65rem;
  border-bottom: 1px solid #eef2f6;
}
.ap-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.ap-list small { display: block; color: #7a8a9a; margin-top: 0.2rem; font-size: 0.8rem; }
.ap-dl { margin: 0; display: grid; gap: 0.65rem; }
.ap-dl > div { display: grid; grid-template-columns: 120px 1fr; gap: 0.5rem; }
.ap-dl dt { color: #7a8a9a; font-size: 0.82rem; font-weight: 600; }
.ap-dl dd { margin: 0; font-weight: 600; word-break: break-word; }
.ap-form-stack { display: grid; gap: 0.75rem; }
.ap-form-stack label { display: grid; gap: 0.3rem; font-weight: 600; font-size: 0.88rem; }
.ap-form-stack input,
.ap-form-stack select,
.ap-form-stack textarea {
  border: 1px solid #d5dde6;
  border-radius: 8px;
  padding: 0.55rem 0.7rem;
  font: inherit;
  background: #fff;
}
.ap-hr { border: 0; border-top: 1px solid #eef2f6; margin: 1rem 0; }

/* Settings */
.ap-settings {
  background: #fff;
  border: 1px solid #e4eaf0;
  border-radius: 16px;
  overflow: hidden;
}
.ap-settings__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 0.75rem 0.85rem;
  background: #f7f9fb;
  border-bottom: 1px solid #e4eaf0;
}
.ap-settings__tabs a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  color: #3d4f63;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
}
.ap-settings__tabs a:hover { background: #fff; }
.ap-settings__tabs a.is-active {
  background: #0b1f33;
  color: #fff;
}
.ap-settings__body { padding: 1.35rem 1.4rem 1.6rem; }
.ap-settings-form { max-width: 640px; display: grid; gap: 1rem; }
.ap-settings-form--test {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px dashed #d5dde6;
}
.ap-settings-form__intro h2 { margin: 0 0 0.35rem; font-size: 1.15rem; }
.ap-settings-form__intro p { margin: 0; color: #5b6b7c; font-size: 0.92rem; line-height: 1.45; }
.ap-field { display: grid; gap: 0.35rem; font-weight: 600; font-size: 0.88rem; }
.ap-field input,
.ap-field textarea,
.ap-field select {
  border: 1px solid #d5dde6;
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
  font: inherit;
  background: #fff;
}
.ap-field .soft-select__trigger,
.ap-field .soft-select__search,
.ap-pay .soft-select__trigger,
.ap-pay .soft-select__search,
.pk-admin-support .soft-select__trigger,
.pk-admin-support .soft-select__search {
  border: 1px solid #d5dde6;
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
  font: inherit;
  font-weight: 500;
  background: #fff;
  color: #0b1f33;
  width: 100%;
}
.ap-field .soft-select__trigger:focus,
.ap-field .soft-select__search:focus,
.ap-field .soft-select.is-open .soft-select__trigger,
.ap-pay .soft-select__trigger:focus,
.ap-pay .soft-select__search:focus,
.ap-pay .soft-select.is-open .soft-select__trigger,
.pk-admin-support .soft-select__trigger:focus,
.pk-admin-support .soft-select__search:focus,
.pk-admin-support .soft-select.is-open .soft-select__trigger {
  outline: 2px solid rgba(1, 185, 118, 0.25);
  border-color: #01b976;
}
.ap-field--inline .soft-select { width: 100%; }
.ap-pay-card__fields .ap-field--inline select,
.ap-field--inline .soft-select__trigger {
  width: 100%;
}
.ap-field textarea { resize: vertical; min-height: 96px; }
.ap-field--sm { max-width: 120px; }
.ap-fields-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.ap-switch {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  border: 1px solid #e4eaf0;
  border-radius: 12px;
  background: #fafbfc;
  cursor: pointer;
}
.ap-switch input { margin-top: 0.2rem; width: 1.05rem; height: 1.05rem; }
.ap-switch span { display: grid; gap: 0.2rem; }
.ap-switch strong { font-size: 0.92rem; }
.ap-switch small { color: #5b6b7c; font-weight: 500; line-height: 1.4; }
.ap-switch.is-on { border-color: #9ad9bc; background: #f2fbf6; }
.ap-settings-form__actions { display: flex; gap: 0.6rem; padding-top: 0.25rem; }
.ap-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.ap-info-list li {
  display: grid;
  gap: 0.25rem;
  padding: 0.85rem 1rem;
  background: #f7f9fb;
  border-radius: 10px;
}
.ap-info-list strong { font-size: 0.82rem; color: #5b6b7c; text-transform: uppercase; letter-spacing: 0.03em; }
.ap-info-list code {
  background: #eef2f6;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  font-size: 0.85rem;
}
.ap-info-list a { color: #01b976; font-weight: 700; }

/* Admin login */
.ap-login-page {
  margin: 0;
  min-height: 100vh;
  font-family: Manrope, system-ui, sans-serif;
  background:
    radial-gradient(ellipse 70% 50% at 15% 20%, rgba(1,185,118,.18), transparent 55%),
    linear-gradient(155deg, #061526 0%, #0b1f33 50%, #122a40 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.ap-login { width: 100%; max-width: 420px; }
.ap-login__card {
  background: #fff;
  border-radius: 18px;
  padding: 1.75rem 1.6rem 1.85rem;
  box-shadow: 0 24px 60px rgba(0,0,0,.28);
}
.ap-login__brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}
.ap-login__brand img { height: 26px; width: auto; }
.ap-login__brand span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #01b976;
  background: #e5f8ef;
  padding: 0.3rem 0.55rem;
  border-radius: 6px;
}
.ap-login h1 { margin: 0 0 0.25rem; font-size: 1.45rem; color: #0b1f33; }
.ap-login__hint { margin: 0 0 1.1rem; color: #5b6b7c; font-size: 0.9rem; }
.ap-login__form { display: grid; gap: 0.85rem; }
.ap-login__form label { display: grid; gap: 0.3rem; font-weight: 600; font-size: 0.88rem; color: #243447; }
.ap-login__form input {
  border: 1px solid #d5dde6;
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  font: inherit;
}
.ap-login__submit { width: 100%; margin-top: 0.25rem; padding: 0.75rem 1rem; }

@media (max-width: 960px) {
  .ap-shell { grid-template-columns: 1fr; }
  .ap-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(280px, 86vw);
    z-index: 40;
    transform: translateX(-105%);
    transition: transform .2s ease;
  }
  .ap-sidebar.is-open { transform: translateX(0); box-shadow: 12px 0 40px rgba(0,0,0,.35); }
  .ap-menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .ap-grid-2 { grid-template-columns: 1fr; }
  .ap-fields-row { grid-template-columns: 1fr; }
  .ap-content { padding: 1.1rem; }
}

/* Admin icons & avatar */
.ap-ico {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: block;
}
.ap-nav__link,
.ap-nav__logout,
.ap-nav__site,
.ap-menu-btn,
.ap-top__user,
.btn {
  gap: 0.4rem;
}
.ap-nav__link,
.ap-nav__logout,
.ap-nav__site {
  display: inline-flex;
  align-items: center;
}
.ap-settings__tabs a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.ap-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(145deg, #01b976, #0a3a6e);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.ap-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ap-avatar--sm { width: 34px; height: 34px; font-size: 0.8rem; }
.ap-avatar--xl { width: 88px; height: 88px; font-size: 1.6rem; }
.ap-top__user {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
  padding: 0.12rem 0.25rem 0.12rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
}
.ap-top__user:hover { border-color: #01b976; }
.ap-top__user-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.15;
}
.ap-top__user-meta strong { font-size: 0.78rem; color: var(--navy); }
.ap-top__user-meta small { font-size: 0.64rem; color: var(--muted); font-weight: 600; }
.ap-sidebar__me {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  background: rgba(255,255,255,0.05);
  margin-bottom: 0.45rem;
}
.ap-sidebar__me:hover { background: rgba(1,185,118,0.15); }
.ap-sidebar__me-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.2;
}
.ap-sidebar__me-meta strong {
  font-size: 0.82rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ap-sidebar__me-meta small {
  opacity: 0.65;
  font-size: 0.7rem;
}
.ap-profile-avatar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  margin-bottom: 0.75rem;
}
.ap-avatar-upload-btn { cursor: pointer; }
.ap-nav__logout {
  display: inline-flex;
  width: 100%;
  justify-content: flex-start;
}
@media (max-width: 720px) {
  .ap-top__user-meta { display: none; }
}


/* Admin sidebar polish */
.ap-nav__link .ap-ico {
  width: 18px;
  height: 18px;
  opacity: 0.85;
}
.ap-nav__link.is-active .ap-ico {
  opacity: 1;
  color: #01b976;
}
.ap-nav__link {
  border: 1px solid transparent;
}
.ap-nav__link.is-active {
  border-color: rgba(1,185,118,0.28);
  box-shadow: inset 3px 0 0 #01b976;
  border-radius: 10px;
}
.ap-nav__logout,
.ap-nav__site {
  display: inline-flex !important;
  align-items: center;
  gap: 0.5rem;
}
.ap-top__user .ap-avatar {
  width: 30px;
  height: 30px;
  font-size: 0.72rem;
}
.ap-settings__tabs a .ap-ico { width: 15px; height: 15px; }

.ap-top {
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.92);
}
.ap-top__title {
  font-size: 0.88rem;
  color: #5b6b7c;
  font-weight: 650;
  line-height: 1.2;
}

/* Admin dashboard pro */
.ap-content { padding: 1.35rem 1.6rem 2rem; }
.ap-page__head h1 { letter-spacing: -0.02em; }
.ap-panel {
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(11, 31, 51, 0.04);
}


.dash-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
  padding: 1.35rem 1.4rem;
  border-radius: 18px;
  background:
    radial-gradient(1200px 280px at 100% -20%, rgba(1,185,118,0.18), transparent 55%),
    linear-gradient(135deg, #0b1f33 0%, #123354 55%, #0d2a44 100%);
  color: #fff;
}
.dash-hero__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: capitalize;
  opacity: 0.7;
}
.dash-hero h1 {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  letter-spacing: -0.03em;
}
.dash-hero__text p:last-child {
  margin: 0.45rem 0 0;
  max-width: 36rem;
  color: rgba(255,255,255,0.72);
  font-size: 0.92rem;
  line-height: 1.45;
}
.dash-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.dash-hero__actions .btn {
  background: #fff;
  color: #0b1f33;
  border: 0;
}
.dash-hero__actions .btn-ghost {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
}
.dash-hero__actions .btn-primary { background: #01b976; color: #fff; }
.dash-badge {
  display: inline-grid;
  place-items: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: #0b1f33;
  color: #fff;
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 800;
}
.dash-badge--soft { background: rgba(255,255,255,0.22); }

.dash-alerts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}
.dash-alert {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid #e4eaf0;
  background: #fff;
  transition: border-color .15s, transform .15s;
}
.dash-alert:hover {
  border-color: #01b976;
  transform: translateY(-1px);
}
.dash-alert .ap-ico { margin-top: 0.15rem; color: #5b6b7c; }
.dash-alert strong { display: block; font-size: 0.9rem; color: #0b1f33; }
.dash-alert span { display: block; margin-top: 0.2rem; font-size: 0.8rem; color: #5b6b7c; line-height: 1.4; }
.dash-alert--warn { border-color: #f0c36a; background: #fffaf0; }
.dash-alert--warn .ap-ico { color: #b7791f; }
.dash-alert--info { border-color: #9ec5e8; background: #f3f9ff; }
.dash-alert--info .ap-ico { color: #2b6cb0; }
.dash-alert--danger { border-color: #f0a8a0; background: #fff5f4; }
.dash-alert--danger .ap-ico { color: #b42318; }

.dash-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.15rem;
}
.dash-kpi {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid #e4eaf0;
  border-radius: 16px;
  padding: 1rem 1.05rem;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.dash-kpi:hover {
  border-color: #b7e4cf;
  box-shadow: 0 10px 28px rgba(11, 31, 51, 0.06);
  transform: translateY(-1px);
}
.dash-kpi__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.dash-kpi__icon .ap-ico { width: 18px; height: 18px; }
.dash-kpi__icon--navy { background: #e8eef5; color: #0b1f33; }
.dash-kpi__icon--green { background: #e5f8ef; color: #0a7a4a; }
.dash-kpi__icon--blue { background: #eaf3ff; color: #2b6cb0; }
.dash-kpi__icon--amber { background: #fff3d6; color: #8a5a00; }
.dash-kpi__body { min-width: 0; display: grid; gap: 0.15rem; }
.dash-kpi__body span {
  font-size: 0.78rem;
  font-weight: 700;
  color: #5b6b7c;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.dash-kpi__body strong {
  font-size: 1.55rem;
  letter-spacing: -0.03em;
  color: #0b1f33;
  line-height: 1.1;
}
.dash-kpi__body small {
  color: #7a8a9a;
  font-size: 0.75rem;
  font-weight: 600;
}
.dash-kpi--accent { border-color: #f0c36a; background: linear-gradient(180deg, #fffdf7, #fff); }

.dash-mid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.dash-panel__sub {
  margin: 0.2rem 0 0;
  color: #7a8a9a;
  font-size: 0.8rem;
  font-weight: 600;
}
.dash-panel__ico { color: #9aa8b6; }
.dash-charts { display: grid; gap: 1.1rem; }
.dash-chart__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.55rem;
}
.dash-chart__meta strong { font-size: 0.9rem; }
.dash-chart__meta span {
  font-size: 0.8rem;
  font-weight: 800;
  color: #01b976;
}
.dash-bars {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.45rem;
  align-items: end;
  height: 110px;
  padding: 0.35rem 0.2rem 0;
}
.dash-bar {
  display: grid;
  grid-template-rows: 1fr auto;
  height: 100%;
  align-items: end;
  gap: 0.35rem;
}
.dash-bar span {
  display: block;
  width: 100%;
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, #01b976, #0a8f5c);
  min-height: 8px;
}
.dash-bars--alt .dash-bar span {
  background: linear-gradient(180deg, #3b82f6, #1d4ed8);
}
.dash-bar em {
  font-style: normal;
  font-size: 0.65rem;
  font-weight: 700;
  color: #8a98a8;
  text-align: center;
  text-transform: uppercase;
}

.dash-quick {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}
.dash-quick a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: #0b1f33;
  font-weight: 700;
  font-size: 0.86rem;
  padding: 0.75rem 0.8rem;
  border-radius: 12px;
  border: 1px solid #e8eef3;
  background: #f8fafc;
  transition: border-color .15s, background .15s;
}
.dash-quick a:hover {
  border-color: #01b976;
  background: #f2fbf6;
  color: #0a7a4a;
}
.dash-quick .ap-ico { color: #5b6b7c; }
.dash-quick a:hover .ap-ico { color: #01b976; }

.dash-system {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed #e4eaf0;
}
.dash-system__item {
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  background: #f7f9fb;
  border: 1px solid transparent;
}
.dash-system__item span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #7a8a9a;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.dash-system__item strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.92rem;
}
.dash-system__item.is-on { background: #f2fbf6; border-color: #cdeedc; }
.dash-system__item.is-on strong { color: #0a7a4a; }
.dash-system__item.is-off { background: #fff5f4; border-color: #f3c0bb; }
.dash-system__item.is-off strong { color: #b42318; }

.dash-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.dash-feed {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.15rem;
}
.dash-feed li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.15rem;
  border-bottom: 1px solid #eef2f6;
}
.dash-feed li:last-child { border-bottom: 0; }
.dash-feed__main { min-width: 0; }
.dash-feed__main strong {
  display: block;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dash-feed__main small {
  display: block;
  margin-top: 0.18rem;
  color: #7a8a9a;
  font-size: 0.76rem;
  font-weight: 600;
}
.dash-feed__person {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  flex: 1;
}
.dash-empty {
  display: grid;
  place-items: center;
  gap: 0.45rem;
  padding: 1.6rem 0.5rem;
  color: #7a8a9a;
  text-align: center;
}
.dash-empty .ap-ico { width: 22px; height: 22px; opacity: 0.55; }
.dash-empty p { margin: 0; font-size: 0.88rem; font-weight: 600; }

@media (max-width: 1100px) {
  .dash-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-mid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .dash-grid { grid-template-columns: 1fr; }
  .ap-grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .dash-kpis { grid-template-columns: 1fr; }
  .dash-quick { grid-template-columns: 1fr; }
  .dash-hero { padding: 1.1rem 1rem; }
}


/* Admin payment settings */
.ap-settings-form--wide { max-width: none; }
.ap-pay { gap: 1.15rem; }
.ap-pay__hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  border-radius: 16px;
  background:
    linear-gradient(135deg, #0b1f33 0%, #123049 55%, #0f3a5c 100%);
  color: #fff;
}
.ap-pay__hero h2 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.ap-pay__hero p {
  margin: 0;
  color: rgba(255,255,255,0.72);
  font-size: 0.9rem;
  line-height: 1.45;
  max-width: 40rem;
}
.ap-pay__brands {
  display: flex;
  gap: 0.45rem;
  flex-shrink: 0;
}
.ap-pay__brands img {
  height: 28px;
  width: auto;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
}
.ap-pay__global {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(14rem, 0.7fr);
  gap: 0.85rem;
  align-items: stretch;
  padding: 0.95rem 1.05rem;
  border: 1px solid #e4eaf0;
  border-radius: 14px;
  background: #fff;
}
.ap-pay__global .ap-switch { margin: 0; }
.ap-field--inline {
  display: grid;
  gap: 0.35rem;
  margin: 0;
}
.ap-field--inline span {
  font-size: 0.78rem;
  font-weight: 750;
  color: #5b6b7c;
}
.ap-field--inline select {
  width: 100%;
  border: 1px solid #dbe3ec;
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
  font: inherit;
  background: #fff;
}
.ap-pay-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.ap-pay-card {
  border: 1px solid #e4eaf0;
  border-radius: 16px;
  padding: 0;
  background: #fff;
  display: grid;
  gap: 0;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(11, 31, 51, 0.04);
}
.ap-pay-card.is-enabled {
  box-shadow: 0 10px 28px rgba(1, 185, 118, 0.08);
}
.ap-pay-card--iyzico {
  border-top: 3px solid #1A4CFF;
}
.ap-pay-card--paytr {
  border-top: 3px solid #FF6A00;
}
.ap-pay-card__head {
  padding: 1rem 1.1rem 0.85rem;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  border-bottom: 1px solid #eef2f6;
}
.ap-pay-card__brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.ap-pay-card__brand img {
  height: 32px;
  width: auto;
  border-radius: 9px;
  display: block;
}
.ap-pay-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  justify-content: flex-end;
}
.ap-pay-card__desc {
  margin: 0.65rem 0 0;
  color: #5b6b7c;
  font-size: 0.84rem;
  line-height: 1.4;
}
.ap-pay-card__toggles {
  display: grid;
  gap: 0.55rem;
  padding: 0.9rem 1.1rem;
  background: #fbfcfd;
  border-bottom: 1px solid #eef2f6;
}
.ap-pay-card__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
}
.ap-pay-card__fields .ap-field { margin: 0; }
.ap-pay-card__fields .ap-field--full { grid-column: 1 / -1; }
.ap-pay-card__fields .ap-field span em {
  font-style: normal;
  font-weight: 600;
  color: #9aa8b5;
}
.ap-pay-urls {
  display: grid;
  gap: 0.55rem;
  margin: 0 1.1rem 1.1rem;
  padding: 0.8rem 0.9rem;
  background: #f4f7fa;
  border: 1px dashed #d5dde6;
  border-radius: 12px;
}
.ap-pay-urls__row {
  display: grid;
  gap: 0.2rem;
}
.ap-pay-urls strong {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #7a8a9a;
}
.ap-pay-urls code {
  font-size: 0.76rem;
  word-break: break-all;
  color: #0b1f33;
  background: #fff;
  border: 1px solid #e4eaf0;
  border-radius: 8px;
  padding: 0.4rem 0.55rem;
  display: block;
}
@media (max-width: 980px) {
  .ap-pay__hero { flex-direction: column; }
  .ap-pay__global { grid-template-columns: 1fr; }
  .ap-pay-grid { grid-template-columns: 1fr; }
  .ap-pay-card__fields { grid-template-columns: 1fr; }
}

/* Admin SEO settings */
.ap-seo__global {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1rem;
  margin-bottom: 1.25rem;
  padding: 1rem 1.05rem;
  background: #f6f9fb;
  border: 1px solid #e4eaf0;
  border-radius: 14px;
}
.ap-seo__global .ap-field:nth-child(2) { grid-column: 1 / -1; }
.ap-seo__pages {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
}
.ap-seo__page {
  border: 1px solid #e4eaf0;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.ap-seo__page > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
}
.ap-seo__page > summary::-webkit-details-marker { display: none; }
.ap-seo__page > summary strong { font-weight: 700; color: #0b1f33; }
.ap-seo__page > summary code {
  font-size: 0.72rem;
  color: #6b7c8f;
  background: #f3f6f9;
  border-radius: 6px;
  padding: 0.2rem 0.45rem;
}
.ap-seo__page-body {
  display: grid;
  gap: 0.75rem;
  padding: 0 1rem 1rem;
  border-top: 1px solid #eef2f6;
  padding-top: 0.9rem;
}
@media (max-width: 820px) {
  .ap-seo__global { grid-template-columns: 1fr; }
  .ap-seo__global .ap-field:nth-child(2) { grid-column: auto; }
}


/* Premium pricing */
.pk-premium {
  padding-bottom: 3.5rem;
  background:
    radial-gradient(900px 320px at 10% -10%, rgba(1,185,118,0.10), transparent 55%),
    radial-gradient(700px 280px at 95% 0%, rgba(11,31,51,0.06), transparent 50%),
    #f4f7fa;
}
.pk-premium__hero {
  padding: 2.4rem 0 2rem;
  background:
    linear-gradient(135deg, #061526 0%, #0b1f33 48%, #0f2f4d 100%);
  color: #fff;
  margin-bottom: 1.75rem;
}
.pk-premium__hero-inner { max-width: 44rem; }
.pk-premium__brand {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.pk-premium__brand span {
  color: #01b976;
  font-weight: 800;
}
.pk-premium__hero h1 {
  margin: 0;
  font-size: clamp(1.7rem, 3.4vw, 2.35rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
  max-width: 18ch;
  color: #fff;
}
.pk-premium__lead {
  margin: 0.75rem 0 0;
  max-width: 34rem;
  color: rgba(255,255,255,0.72);
  font-size: 1rem;
  line-height: 1.5;
}
.pk-premium__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.1rem;
}
.pk-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}
.pk-chip--ok {
  background: rgba(1,185,118,0.18);
  border-color: rgba(1,185,118,0.35);
  color: #8dffc9;
}
.pk-chip--link {
  text-decoration: none;
  background: #01b976;
  border-color: #01b976;
  color: #fff;
}
.pk-chip--link:hover { filter: brightness(1.05); }
.pk-premium__body { padding-top: 0.25rem; }
.pk-premium__notice {
  margin-bottom: 1.25rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: #fff8e8;
  border: 1px solid #f0d59a;
  color: #7a5a10;
  font-weight: 650;
  font-size: 0.9rem;
}
.pk-premium__section { margin-bottom: 2.25rem; }
.pk-premium__section-head {
  margin-bottom: 1rem;
}
.pk-premium__section-head h2 {
  margin: 0;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: #0b1f33;
}
.pk-premium__section-head p {
  margin: 0.3rem 0 0;
  color: #5b6b7c;
  font-size: 0.92rem;
}
.pk-plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.pk-plan {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.35rem 1.3rem 1.25rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #e4eaf0;
  box-shadow: 0 8px 28px rgba(11, 31, 51, 0.05);
}
.pk-plan--accent {
  border-color: rgba(1,185,118,0.35);
  background: linear-gradient(180deg, #f3fbf7 0%, #fff 42%);
}
.pk-plan__audience {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #01b976;
}
.pk-plan__top h3 {
  margin: 0.35rem 0 0;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: #0b1f33;
}
.pk-plan__top p {
  margin: 0.45rem 0 0;
  color: #5b6b7c;
  font-size: 0.92rem;
  line-height: 1.45;
}
.pk-plan__price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  padding-top: 0.15rem;
  border-top: 1px solid #eef2f6;
}
.pk-plan__price strong {
  font-size: 2rem;
  letter-spacing: -0.04em;
  color: #0b1f33;
  line-height: 1;
}
.pk-plan__price span {
  color: #7a8a9a;
  font-weight: 700;
  font-size: 0.88rem;
}
.pk-plan__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
  flex: 1;
}
.pk-plan__list li {
  position: relative;
  padding-left: 1.35rem;
  color: #3d4f63;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
}
.pk-plan__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: #01b976;
  box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px #01b976;
}
.pk-plan__cta .btn {
  width: 100%;
  justify-content: center;
}
.pk-addon-grid {
  display: grid;
  gap: 0.75rem;
}
.pk-addon {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.05rem 1.15rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e4eaf0;
}
.pk-addon__copy h3 {
  margin: 0;
  font-size: 1.05rem;
  color: #0b1f33;
}
.pk-addon__copy p {
  margin: 0.3rem 0 0;
  color: #5b6b7c;
  font-size: 0.88rem;
  line-height: 1.4;
}
.pk-addon__copy ul {
  margin: 0.45rem 0 0;
  padding-left: 1.05rem;
  color: #3d4f63;
  font-size: 0.84rem;
  font-weight: 600;
}
.pk-addon__buy {
  display: grid;
  gap: 0.55rem;
  justify-items: end;
  text-align: right;
}
.pk-addon__price strong {
  display: block;
  font-size: 1.15rem;
  color: #0b1f33;
}
.pk-addon__price small {
  color: #7a8a9a;
  font-weight: 650;
}
.pk-compare {
  overflow: auto;
  border-radius: 14px;
  border: 1px solid #e4eaf0;
  background: #fff;
}
.pk-compare table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}
.pk-compare th,
.pk-compare td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid #eef2f6;
  font-size: 0.9rem;
}
.pk-compare th {
  background: #0b1f33;
  color: #fff;
  font-weight: 750;
}
.pk-compare td:first-child { font-weight: 700; color: #0b1f33; }
.pk-compare tr:last-child td { border-bottom: 0; }
.pk-compare tbody tr:nth-child(even) td { background: #f8fafc; }

.pk-premium--checkout { background: #f4f7fa; padding-top: 1.5rem; }
.pk-checkout { max-width: 32rem; }
.pk-checkout__back {
  display: inline-block;
  margin-bottom: 0.85rem;
  color: #5b6b7c;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
}
.pk-checkout__back:hover { color: #01b976; }
.pk-checkout__card {
  background: #fff;
  border: 1px solid #e4eaf0;
  border-radius: 18px;
  padding: 1.4rem 1.35rem 1.45rem;
  box-shadow: 0 10px 30px rgba(11,31,51,0.06);
}
.pk-checkout__head h1 {
  margin: 0.3rem 0 0;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}
.pk-checkout__head p {
  margin: 0.45rem 0 0;
  color: #5b6b7c;
  line-height: 1.45;
}
.pk-checkout__price {
  margin-top: 0.9rem;
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
}
.pk-checkout__price strong {
  font-size: 1.7rem;
  letter-spacing: -0.03em;
  color: #0b1f33;
}
.pk-checkout__price small { color: #7a8a9a; font-weight: 700; }
.pk-checkout__listing {
  margin: 1rem 0;
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  background: #f7f9fb;
  border: 1px solid #e8eef3;
}
.pk-checkout__listing span {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #7a8a9a;
}
.pk-checkout__listing strong {
  display: block;
  margin-top: 0.25rem;
  color: #0b1f33;
}
.pk-checkout__form { display: grid; gap: 0.85rem; margin-top: 0.35rem; }
.pk-checkout__field { display: grid; gap: 0.35rem; font-weight: 700; font-size: 0.88rem; }
.pk-checkout__field select {
  border: 1px solid #d5dde6;
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  font: inherit;
  background: #fff;
}
.pk-checkout__form .btn { justify-content: center; }

.premium-status-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.pk-mem-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.25rem;
}
.pk-mem-plan {
  padding: 1rem 1.05rem;
  border-radius: 14px;
  border: 1px solid #e4eaf0;
  background: #fff;
  display: grid;
  gap: 0.55rem;
}
.pk-mem-plan h3 { margin: 0; font-size: 1rem; }
.pk-mem-plan p { margin: 0; color: #5b6b7c; font-size: 0.85rem; line-height: 1.4; }
.pk-mem-plan__price { font-weight: 800; color: #0b1f33; }

@media (max-width: 820px) {
  .pk-plan-grid,
  .pk-mem-plans,
  .premium-status-grid { grid-template-columns: 1fr; }
  .pk-addon {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .pk-addon__buy {
    justify-items: start;
    text-align: left;
    width: 100%;
  }
  .pk-addon__buy .btn { width: 100%; justify-content: center; }
  .pk-premium__hero h1 { max-width: none; }
}

}


/* Admin pager: [info] ............ [‹][1][›] [10/sayfa] */
.admin-table-wrap > .ap-table-pager {
  margin: 0;
  padding: 0.7rem 0.9rem;
  border-top: 1px solid #eef2f6;
  border-radius: 0 0 12px 12px;
  background: #fff;
}
.ap-table-pager {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  box-sizing: border-box;
  margin-top: 0.85rem;
  padding: 0.55rem 0;
}
.ap-table-pager__info {
  margin: 0 auto 0 0;
  padding-right: 1.25rem;
  color: #7a8a9a;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
}
.ap-table-pager__info strong {
  color: #0b1f33;
  font-weight: 800;
}
.ap-table-pager__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.4rem;
  border-radius: 8px;
  border: 1px solid #e4eaf0;
  background: #f3f5f7;
  color: #5b6b7c;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 750;
  line-height: 1;
  flex: 0 0 auto;
}
.ap-table-pager__btn:hover {
  color: #0b1f33;
  background: #eef2f6;
}
.ap-table-pager__btn.is-active {
  background: #0b1f33;
  border-color: #0b1f33;
  color: #fff;
}
.ap-table-pager__btn.is-disabled {
  opacity: 0.35;
  pointer-events: none;
}
.ap-table-pager__dots {
  color: #8a98a8;
  font-weight: 700;
  padding: 0 0.2rem;
  flex: 0 0 auto;
}
.ap-table-pager__limit {
  margin: 0 0 0 0.55rem;
  flex: 0 0 auto;
  width: 7.5rem;
}
.ap-table-pager__limit .soft-select {
  width: 7.5rem !important;
  min-width: 7.5rem !important;
  max-width: 7.5rem !important;
}
.ap-table-pager__limit select,
.ap-table-pager__limit .soft-select__trigger,
.ap-table-pager__limit .soft-select__search {
  height: 2rem;
  width: 100%;
  border: 1px solid #e4eaf0;
  border-radius: 8px;
  padding: 0 0.55rem;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  color: #0b1f33;
  background: #fff;
  box-sizing: border-box;
}
.ap-table-pager__limit .soft-select__panel {
  right: 0;
  left: auto;
  width: 7.5rem;
  min-width: 7.5rem;
  z-index: 60;
}
@media (max-width: 640px) {
  .ap-table-pager {
    flex-wrap: wrap;
  }
  .ap-table-pager__info {
    width: 100%;
    padding-right: 0;
    margin-bottom: 0.25rem;
  }
}

/* Admin top bar actions + account menu */
.ap-top__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-left: auto;
}
.ap-top__quick {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.ap-top__quick a {
  text-decoration: none;
  color: #5b6b7c;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
}
.ap-top__quick a:hover { background: #f2f5f8; color: #0b1f33; }
.ap-top__quick a.is-active {
  background: #e8eef5;
  color: #0b1f33;
}
.ap-top__site {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  color: #0b1f33;
  font-size: 0.82rem;
  font-weight: 750;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  border: 1px solid #dbe3ec;
  background: #fff;
  white-space: nowrap;
}
.ap-top__site:hover {
  border-color: #01b976;
  color: #0a7a4a;
}
.ap-top__site .ap-ico { width: 14px; height: 14px; }
.ap-account { position: relative; }
.ap-top__user {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
  padding: 0.12rem 0.25rem 0.12rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--line, #dbe3ec);
  background: #fff;
  cursor: pointer;
  font: inherit;
}
.ap-top__user:hover,
.ap-account.is-open .ap-top__user {
  border-color: #01b976;
}
.ap-account__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.45rem);
  width: min(15.5rem, calc(100vw - 1.5rem));
  background: #fff;
  border: 1px solid #e4eaf0;
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(11, 31, 51, 0.14);
  padding: 0.45rem;
  z-index: 40;
}
.ap-account__head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.55rem 0.65rem;
  margin-bottom: 0.2rem;
  border-bottom: 1px solid #eef2f6;
}
.ap-account__head strong {
  display: block;
  font-size: 0.86rem;
  color: #0b1f33;
}
.ap-account__head small {
  display: block;
  margin-top: 0.1rem;
  color: #7a8a9a;
  font-size: 0.72rem;
  font-weight: 650;
}
.ap-account__menu a,
.ap-account__logout {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.55rem 0.6rem;
  border-radius: 9px;
  border: 0;
  background: transparent;
  color: #0b1f33;
  text-decoration: none;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}
.ap-account__menu a:hover { background: #f4f7fa; }
.ap-account__menu .ap-ico { width: 15px; height: 15px; color: #5b6b7c; }
.ap-account__sep {
  height: 1px;
  background: #eef2f6;
  margin: 0.3rem 0.35rem;
}
.ap-account__logout { color: #b42318; }
.ap-account__logout:hover { background: #fff5f4; }
.ap-account__logout .ap-ico { color: #b42318; }
.ap-sidebar__foot { display: none; }
@media (max-width: 1100px) {
  .ap-top__quick { display: none; }
}
@media (max-width: 720px) {
  .ap-top__site span { display: none; }
  .ap-top__user-meta { display: none; }
}


/* Support ticketing — user + admin */
.pk-support__lead { color: var(--muted, #5b6b7c); margin: 0.25rem 0 0; font-size: 0.9rem; }
.pk-support__lead a { color: #0a7a4a; font-weight: 700; }
.pk-support__filters {
  display: flex; gap: 0.35rem; flex-wrap: wrap; margin: 0.85rem 0 1rem;
}
.pk-support__filters a {
  text-decoration: none; color: #5b6b7c; font-weight: 700; font-size: 0.82rem;
  padding: 0.35rem 0.7rem; border-radius: 999px; border: 1px solid #e4eaf0; background: #fff;
}
.pk-support__filters a.is-active,
.pk-support__filters a:hover { border-color: #01b976; color: #0a7a4a; background: #f2fbf7; }
.pk-support__compose,
.pk-support__reply {
  display: grid; gap: 0.75rem; padding: 1rem; border: 1px solid #e4eaf0;
  border-radius: 16px; background: linear-gradient(180deg, #fbfcfd, #f5f8fb);
  margin-bottom: 1.1rem;
}
.pk-support__compose-head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.pk-support__compose-head h3 { margin: 0; font-size: 1rem; }
.pk-support__compose label,
.pk-support__reply label,
.pk-admin-support__reply label,
.pk-admin-support__side label {
  display: grid; gap: 0.35rem; font-size: 0.82rem; font-weight: 700; color: #3d4d5c;
}
.pk-support__compose input,
.pk-support__compose select,
.pk-support__compose textarea,
.pk-support__reply textarea,
.pk-admin-support__reply textarea,
.pk-admin-support__side select {
  width: 100%; border: 1px solid #dbe3ec; border-radius: 10px; padding: 0.65rem 0.75rem;
  font: inherit; background: #fff; color: #0b1f33;
}
.pk-support__compose-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.pk-support__empty {
  text-align: center; padding: 2.5rem 1rem; border: 1px dashed #d5dee8; border-radius: 16px;
  background: #fafcfe;
}
.pk-support__empty h3 { margin: 0.6rem 0 0.35rem; }
.pk-support__empty p { color: #5b6b7c; max-width: 28rem; margin: 0 auto 1rem; }
.pk-support__list { display: grid; gap: 0.65rem; }
.pk-support__card {
  display: block; text-decoration: none; color: inherit; padding: 0.95rem 1rem;
  border: 1px solid #e4eaf0; border-radius: 14px; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.pk-support__card:hover { border-color: #01b976; box-shadow: 0 8px 24px rgba(11,31,51,.06); }
.pk-support__card.is-waiting { border-color: #f0c36a; background: #fffcf5; }
.pk-support__card-top { display: flex; justify-content: space-between; gap: 0.75rem; }
.pk-support__card-top strong { color: #0b1f33; }
.pk-support__card-top time,
.pk-support__card p { color: #5b6b7c; font-size: 0.84rem; }
.pk-support__card p { margin: 0.45rem 0 0; }
.pk-support__card-meta { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.45rem; }
.pk-pill {
  display: inline-flex; align-items: center; font-size: 0.7rem; font-weight: 750;
  padding: 0.18rem 0.5rem; border-radius: 999px; background: #eef2f6; color: #3d4d5c;
}
.pk-pill--ok { background: #e8f8f0; color: #0a7a4a; }
.pk-pill--warn { background: #fff4e0; color: #9a6700; }
.pk-pill--info { background: #e8f1ff; color: #1d4f91; }
.pk-pill--danger { background: #ffe8e6; color: #b42318; }
.pk-pill--muted { background: #f3f5f7; color: #7a8a9a; }
.pk-pill--premium { background: linear-gradient(90deg, #0b1f33, #16324d); color: #f6d98b; }
.pk-support__back { display: inline-block; text-decoration: none; color: #5b6b7c; font-weight: 700; font-size: 0.82rem; margin-bottom: 0.35rem; }
.pk-support__back:hover { color: #0a7a4a; }
.pk-support__head-actions { display: flex; gap: 0.4rem; }
.pk-support__thread {
  display: grid; gap: 0.75rem; padding: 1rem; border: 1px solid #e4eaf0; border-radius: 16px;
  background: #f7fafc; min-height: 12rem; margin-bottom: 1rem;
}
.pk-support__system {
  display: flex; justify-content: center; gap: 0.55rem; flex-wrap: wrap;
  font-size: 0.78rem; color: #7a8a9a; text-align: center;
}
.pk-support__system span {
  background: #fff; border: 1px solid #e4eaf0; border-radius: 999px; padding: 0.3rem 0.7rem;
}
.pk-support__bubble {
  max-width: min(34rem, 92%); padding: 0.75rem 0.9rem; border-radius: 14px;
  background: #fff; border: 1px solid #e4eaf0;
}
.pk-support__bubble.is-mine { justify-self: end; background: #e8f8f0; border-color: #c8ebd9; }
.pk-support__bubble.is-staff { justify-self: start; background: #fff; }
.pk-support__bubble.is-internal {
  justify-self: stretch; max-width: none; background: #fff8e8; border-color: #f0d9a0;
  border-style: dashed;
}
.pk-support__bubble header {
  display: flex; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.35rem;
  font-size: 0.75rem; color: #7a8a9a;
}
.pk-support__bubble header strong { color: #0b1f33; }
.pk-support__bubble p { margin: 0; white-space: pre-wrap; line-height: 1.5; color: #0b1f33; font-size: 0.92rem; }
.pk-support__closed-note {
  padding: 0.85rem 1rem; border-radius: 12px; background: #f3f5f7; color: #5b6b7c; font-weight: 600;
}
.pk-support-cta ul { margin: 0.5rem 0 1rem; padding-left: 1.1rem; color: #3d4d5c; }
.pk-support-cta .btn { margin-right: 0.4rem; margin-bottom: 0.35rem; }
.contact-forms { display: grid; gap: 1rem; }
.pk-admin-support__stats {
  display: flex; flex-wrap: wrap; gap: 0.65rem; align-items: center; font-size: 0.84rem; color: #5b6b7c;
}
.pk-admin-support__stats strong { color: #0b1f33; }
.pk-admin-support__stats .is-premium strong { color: #0a7a4a; }
.pk-admin-support__toolbar {
  display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: space-between; align-items: center;
  margin-bottom: 1rem;
}
.pk-admin-support__search { display: flex; gap: 0.4rem; }
.pk-admin-support__search input {
  border: 1px solid #dbe3ec; border-radius: 10px; padding: 0.45rem 0.7rem; min-width: 14rem; font: inherit;
}
.pk-admin-support__list { display: grid; gap: 0.55rem; }
.pk-admin-support__row {
  display: flex; justify-content: space-between; gap: 1rem; text-decoration: none; color: inherit;
  padding: 0.9rem 1rem; border: 1px solid #e4eaf0; border-radius: 14px; background: #fff;
}
.pk-admin-support__row:hover { border-color: #01b976; }
.pk-admin-support__row.needs-staff { border-left: 3px solid #f0a000; }
.pk-admin-support__row.is-premium { background: linear-gradient(90deg, #f7fffb, #fff); }
.pk-admin-support__title { display: flex; gap: 0.55rem; align-items: baseline; flex-wrap: wrap; }
.pk-admin-support__title span { color: #7a8a9a; font-size: 0.78rem; font-weight: 700; }
.pk-admin-support__main p { margin: 0.35rem 0; color: #5b6b7c; font-size: 0.88rem; }
.pk-admin-support__meta { display: flex; flex-wrap: wrap; gap: 0.3rem; align-items: center; font-size: 0.82rem; color: #5b6b7c; }
.pk-admin-support__row time { color: #7a8a9a; font-size: 0.78rem; white-space: nowrap; }
.pk-admin-support__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 18rem; gap: 1rem; align-items: start;
}
.pk-admin-support__side .ap-panel { margin-bottom: 0.75rem; padding: 0.9rem 1rem; }
.pk-admin-support__side h3 { margin: 0 0 0.65rem; font-size: 0.92rem; }
.pk-admin-support__side label { margin-bottom: 0.65rem; }
.pk-admin-support__reply {
  display: grid; gap: 0.7rem; padding: 1rem; border: 1px solid #e4eaf0; border-radius: 14px; background: #fff;
}
.pk-admin-support__reply-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; align-items: end;
}
.pk-check { display: flex !important; align-items: center; gap: 0.45rem; font-weight: 650 !important; }
.pk-admin-support__sla { font-weight: 750; color: #3d4d5c; }
.pk-admin-support__sla.is-premium { color: #0a7a4a; }
@media (max-width: 980px) {
  .pk-admin-support__grid { grid-template-columns: 1fr; }
  .pk-admin-support__reply-row { grid-template-columns: 1fr; }
}

/* Admin nav badges + notifications */
.ap-nav__link {
  position: relative;
}
.ap-nav__link span { flex: 1; min-width: 0; }
.ap-nav__badge {
  display: inline-grid;
  place-items: center;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.28rem;
  margin-left: auto;
  border-radius: 999px;
  background: #e24a3b;
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 0 0 2px rgba(11, 31, 51, 0.35);
}
.ap-nav__link.has-badge {
  color: #fff;
}
.ap-top__bell {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 10px;
  color: #0b1f33;
  background: #f3f6f9;
  border: 1px solid #e4eaf0;
  text-decoration: none;
}
.ap-top__bell:hover { background: #e8f8f0; color: #01b976; border-color: #c8ebd9; }
.ap-top__bell .ap-ico { width: 16px; height: 16px; }
.ap-top__bell-badge {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  min-width: 1rem;
  height: 1rem;
  padding: 0 0.22rem;
  border-radius: 999px;
  background: #e24a3b;
  color: #fff;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  display: grid;
  place-items: center;
  line-height: 1;
  box-shadow: 0 0 0 2px #fff;
}
.ap-notify__summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 0.9rem;
}
.ap-notify__summary span {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: #f3f6f9;
  border: 1px solid #e4eaf0;
  color: #5b6b7c;
  font-size: 0.78rem;
  font-weight: 650;
}
.ap-notify__summary span strong { color: #0b1f33; font-weight: 800; }
.ap-notify__summary span.is-hot {
  background: #ffe8e6;
  border-color: #f5c2bc;
  color: #b42318;
}
.ap-notify__summary span.is-hot strong { color: #b42318; }
.ap-notify__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.ap-notify__item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: start;
  padding: 0.85rem 0.95rem;
  border: 1px solid #e4eaf0;
  border-radius: 14px;
  background: #fff;
}
.ap-notify__item.is-unread {
  border-color: rgba(1, 185, 118, 0.35);
  background: linear-gradient(180deg, #f4fcf8, #fff);
}
.ap-notify__item.is-read { opacity: 0.86; }
.ap-notify__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #f3f6f9;
  color: #0b1f33;
}
.ap-notify__item.tone-offer .ap-notify__icon { background: #fff4e0; color: #9a6700; }
.ap-notify__item.tone-message .ap-notify__icon { background: #e8f8f0; color: #0a7a4a; }
.ap-notify__item.tone-info .ap-notify__icon { background: #e8f1ff; color: #1d4f91; }
.ap-notify__icon .ap-ico { width: 16px; height: 16px; }
.ap-notify__body { min-width: 0; }
.ap-notify__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.2rem;
}
.ap-notify__top em {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 800;
  color: #7a8a9a;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ap-notify__top time {
  font-size: 0.72rem;
  color: #8a98a8;
  font-weight: 650;
  white-space: nowrap;
}
.ap-notify__body strong {
  display: block;
  color: #0b1f33;
  font-size: 0.92rem;
  font-weight: 750;
}
.ap-notify__body p {
  margin: 0.25rem 0 0;
  color: #5b6b7c;
  font-size: 0.84rem;
  line-height: 1.45;
}
.ap-notify__actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.ap-notify__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #01b976;
  box-shadow: 0 0 0 3px rgba(1, 185, 118, 0.18);
}
.ap-empty {
  display: grid;
  place-items: center;
  gap: 0.35rem;
  padding: 2.5rem 1rem;
  text-align: center;
  color: #7a8a9a;
  border: 1px dashed #e4eaf0;
  border-radius: 14px;
  background: #fafbfc;
}
.ap-empty .ap-ico { width: 22px; height: 22px; opacity: 0.55; }
.ap-empty p { margin: 0; font-weight: 700; color: #0b1f33; }
.ap-empty small { font-size: 0.82rem; }
@media (max-width: 720px) {
  .ap-notify__item {
    grid-template-columns: 32px minmax(0, 1fr);
  }
  .ap-notify__actions {
    grid-column: 2;
    justify-content: flex-end;
  }
}

/* Admin user list + edit */
.ap-user-cell {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}
.ap-user-cell__meta {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}
.ap-user-cell__meta small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-table--users td { vertical-align: middle; }
.ap-user-edit__avatar {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.35rem;
}
.ap-user-edit__avatar > div {
  display: grid;
  gap: 0.4rem;
}
.ap-check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem 0.75rem;
}
.ap-check {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  font-weight: 650;
  color: #0b1f33;
}
.ap-check input { width: 15px; height: 15px; accent-color: #01b976; }
.ap-user-edit__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1rem;
  padding-top: 0.25rem;
}
.ap-user-edit__head-meta { display: none; }
@media (min-width: 900px) {
  .ap-user-edit__head-meta { display: block; }
}
@media (max-width: 820px) {
  .ap-check-grid { grid-template-columns: 1fr; }
}

/* —— Anasayfa vitrin / kategori browse —— */
.home-browse {
  padding-top: 1.25rem;
  padding-bottom: 2rem;
  background: #f7f9fc;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.home-browse__layout {
  display: grid;
  grid-template-columns: minmax(220px, 260px) 1fr;
  gap: 1.25rem;
  align-items: start;
}
.home-browse__cats {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 0.75rem 1rem;
  position: sticky;
  top: 4.5rem;
  max-height: calc(100vh - 5.5rem);
  overflow: auto;
}
.home-browse__cats-title {
  margin: 0 0 0.65rem;
  font-size: var(--fs-sm);
  font-weight: 800;
  color: var(--navy);
}
.home-cat-tree {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.home-cat-tree__root {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
  padding: 0.15rem 0.2rem;
}
.home-cat-tree__label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}
.home-cat-tree__label strong {
  font-size: var(--fs-sm);
  font-weight: 800;
  color: var(--navy);
}
.home-cat-tree__root em,
.home-cat-tree__subs em {
  font-style: normal;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
}
.home-cat-tree__subs {
  list-style: none;
  margin: 0.2rem 0 0 1.55rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}
.home-cat-tree__subs a {
  display: flex;
  justify-content: space-between;
  gap: 0.35rem;
  text-decoration: none;
  color: #334155;
  font-size: 12px;
  font-weight: 600;
  padding: 0.12rem 0;
}
.home-cat-tree__subs a:hover,
.home-cat-tree__root:hover strong {
  color: var(--green-dark, #018a5a);
}
.home-cat-tree__more {
  color: #0b4f9c !important;
  font-weight: 750 !important;
}
.home-browse__cats-all {
  margin-top: 0.85rem;
  width: 100%;
  justify-content: center;
}
.home-browse__main {
  min-width: 0;
}
.home-browse__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.home-browse__head h2,
.home-browse__head h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
}
.home-browse__head a {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: #0b4f9c;
  text-decoration: none;
  white-space: nowrap;
}
.home-browse__head a:hover { text-decoration: underline; }
.home-browse__head--sub {
  margin-top: 1.35rem;
  margin-bottom: 0.55rem;
}
.vitrin-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.55rem 0.45rem;
}
.vitrin-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.vitrin-card__media {
  aspect-ratio: 1;
  border-radius: 6px;
  overflow: hidden;
  background: #eef2f6;
  border: 1px solid #e4eaf1;
  display: grid;
  place-items: center;
}
.vitrin-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vitrin-card__media.is-empty { background: #f5f7fa; }
.vitrin-card__empty {
  width: 55%;
  max-width: 64px;
  opacity: 0.9;
}
.vitrin-card__title {
  font-size: 11px;
  font-weight: 700;
  color: #0b4f9c;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.vitrin-card:hover .vitrin-card__title { text-decoration: underline; }
.vitrin-card.is-featured .vitrin-card__media {
  box-shadow: inset 0 0 0 2px var(--green);
}
.home-strip__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(110px, 1fr);
  gap: 0.45rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  scrollbar-width: thin;
}
.empty-state--compact {
  padding: 1.5rem;
  text-align: center;
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: 12px;
}
@media (max-width: 1200px) {
  .vitrin-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .home-browse__layout { grid-template-columns: 1fr; }
  .home-browse__cats {
    display: none !important;
  }
  .vitrin-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .vitrin-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* —— Paran AI floating button —— */
.paran-ai-fab {
  position: fixed !important;
  right: 1.1rem !important;
  bottom: 1.1rem !important;
  left: auto !important;
  top: auto !important;
  z-index: 1100 !important;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0.85rem;
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  overflow: visible;
  box-shadow: none;
  transition: transform 0.16s ease;
}
.paran-ai-fab:hover {
  transform: translateY(-2px);
}
.paran-ai-fab:focus-visible {
  outline: 3px solid rgba(1, 185, 118, 0.4);
  outline-offset: 3px;
}
.paran-ai-fab__core {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 0.35rem;
  border-radius: inherit;
  background: #fff;
  border: 1px solid rgba(11, 31, 51, 0.08);
  box-shadow: 0 8px 18px rgba(11, 31, 51, 0.14);
  overflow: hidden;
  transition: background 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.paran-ai-fab__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  user-select: none;
}
.paran-ai-fab__sparks {
  position: absolute;
  inset: -0.55rem;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.paran-ai-fab__spark {
  position: absolute;
  color: #01b976;
  filter: drop-shadow(0 0 4px rgba(1, 185, 118, 0.75));
  opacity: 0;
}
.paran-ai-fab__spark--1 { top: 0; right: 0.15rem; }
.paran-ai-fab__spark--2 { top: 0.45rem; left: 0; }
.paran-ai-fab__spark--3 { bottom: 0.1rem; right: 0; }
.paran-ai-fab__spark--4 { bottom: 0.35rem; left: 0.2rem; color: #7dff5a; }

.paran-ai-fab.is-open .paran-ai-fab__core {
  background: #06281c;
  border-color: rgba(1, 185, 118, 0.5);
  box-shadow:
    0 0 0 2px rgba(1, 185, 118, 0.25),
    0 0 16px rgba(1, 185, 118, 0.4),
    0 8px 18px rgba(11, 31, 51, 0.2);
}
.paran-ai-fab.is-open .paran-ai-fab__sparks {
  opacity: 1;
  transform: scale(1);
}
.paran-ai-fab.is-open .paran-ai-fab__spark {
  opacity: 1;
  animation: paran-ai-spark 1.1s ease-in-out infinite;
}
.paran-ai-fab.is-open .paran-ai-fab__spark--2 { animation-delay: 0.15s; }
.paran-ai-fab.is-open .paran-ai-fab__spark--3 { animation-delay: 0.3s; }
.paran-ai-fab.is-open .paran-ai-fab__spark--4 { animation-delay: 0.45s; }

@keyframes paran-ai-spark {
  0%, 100% { transform: scale(0.7) rotate(0deg); opacity: 0.55; }
  50% { transform: scale(1.15) rotate(18deg); opacity: 1; }
}

@media (max-width: 640px) {
  .paran-ai-fab {
    right: 0.9rem !important;
    bottom: 0.9rem !important;
    width: 2.55rem;
    height: 2.55rem;
    border-radius: 0.75rem;
  }
}

/* —— Paran AI modal —— */
.paran-ai-overlay {
  position: fixed;
  inset: 0;
  z-index: 1090;
  background: rgba(8, 24, 48, 0.48);
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}
.paran-ai-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.paran-ai-modal {
  width: min(560px, 100%);
  max-height: min(86vh, 720px);
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(8, 24, 48, 0.28);
  display: flex;
  flex-direction: column;
}
.paran-ai-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
}
.paran-ai-modal__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 800;
  color: var(--navy);
}
.paran-ai-modal__brand .ai-mark {
  color: #01b976;
  font-style: italic;
  letter-spacing: -0.02em;
}
.paran-ai-modal__beta {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: #eef2f6;
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
}
.paran-ai-modal__close {
  border: 0;
  background: transparent;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1;
}
.paran-ai-modal__close:hover { background: #f1f5f9; color: var(--navy); }
.paran-ai-modal__body { padding: 1rem; display: flex; flex-direction: column; gap: 0.85rem; }
.paran-ai-intro {
  display: flex;
  gap: 0.75rem;
  padding: 0.85rem;
  background: #f4f7fb;
  border-radius: 12px;
}
.paran-ai-intro__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #01b976, #0b4f9c);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 12px;
}
.paran-ai-intro p { margin: 0; font-size: var(--fs-sm); color: #334155; line-height: 1.45; }
.paran-ai-examples { margin: 0; padding-left: 1.1rem; font-size: 12px; color: #475569; }
.paran-ai-examples li { margin: 0.25rem 0; }
.paran-ai-examples button {
  border: 0;
  background: none;
  color: #0b4f9c;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  text-align: left;
  padding: 0;
}
.paran-ai-examples button:hover { text-decoration: underline; }
.paran-ai-form {
  display: flex;
  gap: 0.45rem;
  align-items: flex-end;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.45rem;
  background: #fff;
}
.paran-ai-form textarea {
  flex: 1;
  border: 0;
  resize: none;
  min-height: 52px;
  max-height: 120px;
  font: inherit;
  padding: 0.35rem 0.45rem;
  outline: none;
}
.paran-ai-form button[type="submit"] {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 0;
  background: #0b4f9c;
  color: #fff;
  cursor: pointer;
  font-size: 1.1rem;
}
.paran-ai-form button[type="submit"]:disabled { opacity: 0.55; cursor: wait; }
.paran-ai-disclaimer {
  margin: 0;
  font-size: 11px;
  color: var(--muted);
  text-align: center;
}
.paran-ai-results { display: flex; flex-direction: column; gap: 0.45rem; }
.paran-ai-result {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 0.55rem;
  align-items: center;
  text-decoration: none;
  color: inherit;
  padding: 0.4rem;
  border-radius: 10px;
  border: 1px solid var(--line);
}
.paran-ai-result:hover { background: #f8fafc; }
.paran-ai-result img,
.paran-ai-result__ph {
  width: 56px;
  height: 56px;
  border-radius: 6px;
  object-fit: cover;
  background: #eef2f6;
}
.paran-ai-result__ph { display: grid; place-items: center; color: var(--muted); font-size: 10px; }
.paran-ai-result strong {
  display: block;
  font-size: 13px;
  color: #0b4f9c;
  line-height: 1.3;
}
.paran-ai-result small { color: var(--muted); font-size: 11px; }
.paran-ai-result__budget { font-weight: 800; color: #b24520; font-size: 13px; white-space: nowrap; }
.paran-ai-error { color: #b91c1c; font-size: 13px; margin: 0; }
.paran-ai-status { color: var(--muted); font-size: 13px; margin: 0; }
.paran-ai-actions { display: flex; justify-content: flex-end; }
.header-ai-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid #cfe8dc;
  background: #f0fbf6;
  color: #018a5a;
  font-weight: 750;
  font-size: 12px;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
}
.header-ai-btn:hover { background: #e3f7ee; }
.header-ai-btn .ai-mark { font-style: italic; }

.hero-ai-hint {
  margin: 0.55rem 0 0;
}
.hero-ai-hint .header-ai-btn {
  font-size: 13px;
  padding: 0.4rem 0.8rem;
}

.ap-ai-status {
  margin: 0 0 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  background: #f1f5f9;
  color: #334155;
  font-size: 0.9rem;
  line-height: 1.45;
}
.ap-ai-status--ok {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.ap-ai-status--warn {
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
}
.ap-ai-steps {
  margin: 0 0 1.1rem;
  padding: 0.75rem 0.75rem 0.75rem 1.5rem;
  background: #fff;
  border: 1px solid var(--line, #e5e7eb);
  border-radius: 10px;
  color: #475569;
  font-size: 0.88rem;
  line-height: 1.5;
}
.ap-ai-steps li { margin: 0.2rem 0; }
.ap-field__hint {
  display: block;
  margin-top: 0.35rem;
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 550;
}

.create-ai-panel {
  margin: 0 0 1.25rem;
  padding: 1.1rem 1.15rem 1rem;
  background: linear-gradient(180deg, #f0fbf6 0%, #fff 55%);
  border: 1px solid #cfe8dc;
  border-radius: 14px;
}
.create-ai-panel__eyebrow {
  margin: 0 0 0.2rem;
  font-size: 12px;
  font-weight: 800;
  color: #018a5a;
}
.create-ai-panel__eyebrow .ai-mark { font-style: italic; }
.create-ai-panel h2 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  color: var(--navy);
}
.create-ai-panel p {
  margin: 0;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.45;
}
.create-ai-form {
  margin-top: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.create-ai-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  font: inherit;
  resize: vertical;
  min-height: 88px;
}
.create-ai-form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}
.create-ai-form__hint {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}
.create-ai-status {
  margin: 0;
  font-size: 0.9rem;
  color: #065f46;
  font-weight: 650;
}
.create-ai-status.is-error { color: #b91c1c; }
.create-ai-examples {
  margin-top: 0.65rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.create-ai-examples button {
  border: 1px solid #dbe4ee;
  background: #fff;
  color: #0b4f9c;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  cursor: pointer;
  text-align: left;
}
.create-ai-examples button:hover { background: #f8fafc; }

/* Enrichment: save search + offer rating + phone verify */
.listings-save-search {
  display: flex;
  justify-content: center;
  padding: 0.65rem 0.85rem 0.9rem;
  border-top: 1px solid var(--line);
}
.listings-save-search--guest {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}
.listings-attr-range {
  margin-top: 0.35rem;
}
.offer-rate-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.75rem;
  align-items: center;
  width: 100%;
  margin-top: 0.45rem;
}
.offer-rate-form input[type="text"] {
  min-height: 2.25rem;
  font-size: 0.85rem;
  flex: 1 1 12rem;
  max-width: 18rem;
}
.star-rating {
  display: inline-flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 0.2rem;
  align-items: center;
  position: relative;
  padding: 0.15rem 0.2rem;
  border-radius: 10px;
  background: #f3f7fb;
  border: 1px solid var(--line);
}
.star-rating__input.sr-only,
.star-rating__input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.star-rating__label {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem;
  line-height: 0;
  border-radius: 6px;
  transition: transform 0.12s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.star-rating__svg {
  display: block;
  width: 1.65rem;
  height: 1.65rem;
  fill: none;
  stroke: #b7c4d2;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: fill 0.12s ease, stroke 0.12s ease;
}
/* Hover / checked: self + lower stars (DOM siblings after, which are lower scores) */
.star-rating__label:hover .star-rating__svg,
.star-rating__label:hover ~ .star-rating__label .star-rating__svg,
.star-rating__input:checked + .star-rating__label .star-rating__svg,
.star-rating__input:checked ~ .star-rating__label .star-rating__svg {
  fill: var(--green);
  stroke: var(--green);
}
.star-rating__label:hover {
  transform: scale(1.08);
}
.star-rating__input:focus-visible + .star-rating__label {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}
.phone-verify {
  margin: 0.35rem 0 0.85rem;
}
.phone-verify__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: flex-end;
}
.phone-verify__code {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}
.listing-edit-images__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}
.listing-edit-images__grid li {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: flex-start;
}
.listing-edit-images__grid img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.form-note--ok {
  color: var(--green, #01b976);
}

/* ===== Account home (/hesabim) ===== */
.ah-home {
  display: grid;
  gap: 1rem;
}

.ah-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(1, 185, 118, 0.08), transparent 42%),
    linear-gradient(180deg, #fff 0%, var(--surface-soft) 100%);
  box-shadow: var(--shadow-soft);
}

.ah-hero__eyebrow {
  margin: 0 0 0.2rem;
  color: var(--green-dark);
  font-size: var(--fs-xs);
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ah-hero__copy h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
}

.ah-hero__copy p {
  margin: 0;
  max-width: 42ch;
  color: var(--muted);
}

.ah-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  flex-shrink: 0;
}

.ah-alerts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.ah-alert {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-soft);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

a.ah-alert:hover {
  border-color: rgba(0, 36, 78, 0.22);
  box-shadow: var(--shadow);
}

.ah-alert > .icon {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  padding: 0.4rem;
  border-radius: 10px;
  background: var(--surface-soft);
  color: var(--navy);
}

.ah-alert.is-warn > .icon {
  background: #fff6e8;
  color: #b86a00;
}

.ah-alert.is-info > .icon {
  background: #eef5ff;
  color: #1a5bb8;
}

.ah-alert strong {
  display: block;
  color: var(--navy);
  font-size: var(--fs-card);
}

.ah-alert p {
  margin: 0.1rem 0 0;
  color: var(--muted);
  font-size: var(--fs-xs);
}

.ah-alert__chevron {
  margin-left: auto;
  color: var(--muted);
  opacity: 0.7;
}

.ah-kpis {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.55rem;
}

.ah-kpi {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-soft);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.ah-kpi:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 36, 78, 0.2);
  box-shadow: var(--shadow);
}

.ah-kpi__icon {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 11px;
  flex-shrink: 0;
  color: var(--navy);
  background: var(--surface-soft);
}

.ah-kpi__icon .icon {
  width: 1.15rem;
  height: 1.15rem;
}

.ah-kpi__icon.is-navy { background: #e8eef6; color: var(--navy); }
.ah-kpi__icon.is-amber { background: #fff4e5; color: #b86a00; }
.ah-kpi__icon.is-green { background: var(--green-soft); color: var(--green-dark); }
.ah-kpi__icon.is-blue { background: #eaf2ff; color: #1a5bb8; }
.ah-kpi__icon.is-rose { background: #ffeef2; color: #c23a5c; }
.ah-kpi__icon.is-violet { background: #f1ecff; color: #5b3db8; }

.ah-kpi__body {
  min-width: 0;
  display: grid;
  gap: 0.15rem;
}

.ah-kpi__body strong {
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.ah-kpi__body span {
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: 650;
  line-height: 1.25;
}

.ah-quick {
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.ah-quick h2 {
  margin: 0 0 0.7rem;
  font-size: var(--fs-h);
}

.ah-quick__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.45rem;
}

.ah-quick__grid a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 5.1rem;
  padding: 0.65rem 0.4rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
  color: var(--navy);
  text-decoration: none;
  font-size: var(--fs-xs);
  font-weight: 700;
  text-align: center;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.ah-quick__grid a:hover {
  background: #fff;
  border-color: rgba(0, 36, 78, 0.22);
  transform: translateY(-1px);
}

.ah-quick__grid .icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--navy-soft);
}

.ah-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.ah-panel {
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.ah-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}

.ah-panel__title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.ah-panel__title .icon {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--navy-soft);
}

.ah-panel__title h2 {
  margin: 0;
  font-size: var(--fs-h);
}

.ah-panel__head > a {
  color: var(--navy-soft);
  font-size: var(--fs-xs);
  font-weight: 750;
  text-decoration: none;
}

.ah-panel__head > a:hover {
  color: var(--green-dark);
}

.ah-feed {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.ah-feed li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.45rem;
  border-radius: 11px;
  transition: background 0.12s ease;
}

.ah-feed li:hover {
  background: var(--surface-soft);
}

.ah-feed__thumb {
  display: grid;
  place-items: center;
  width: 56px;
  height: 42px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--muted);
}

.ah-feed__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ah-feed__thumb.is-empty {
  color: var(--muted);
}

.ah-feed__main {
  min-width: 0;
}

.ah-feed__main strong {
  display: block;
  font-size: var(--fs-card);
  font-weight: 750;
  line-height: 1.25;
}

.ah-feed__main strong a {
  color: var(--navy);
  text-decoration: none;
}

.ah-feed__main strong a:hover {
  color: var(--green-dark);
}

.ah-feed__main small {
  display: block;
  margin-top: 0.12rem;
  color: var(--muted);
  font-size: var(--fs-xs);
}

.ah-feed__price {
  color: var(--navy);
  font-size: var(--fs-price);
  font-weight: 800;
  white-space: nowrap;
}

.ah-empty {
  display: grid;
  justify-items: start;
  gap: 0.55rem;
  padding: 1rem 0.35rem 0.5rem;
  color: var(--muted);
}

.ah-empty.is-inline {
  grid-template-columns: auto 1fr auto;
  align-items: center;
  justify-items: stretch;
  padding: 0.55rem 0.2rem;
}

.ah-empty .icon {
  color: var(--muted);
  opacity: 0.75;
}

.ah-empty p {
  margin: 0;
  font-size: var(--fs-ui);
}

.ah-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.45rem;
}

.ah-chips li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
}

.ah-chips .icon {
  margin-top: 0.1rem;
  color: var(--navy-soft);
}

.ah-chips strong {
  display: block;
  color: var(--navy);
  font-size: var(--fs-card);
}

.ah-chips small {
  display: block;
  margin-top: 0.12rem;
  color: var(--muted);
  font-size: var(--fs-xs);
}

@media (max-width: 1100px) {
  .ah-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ah-quick__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .ah-hero {
    flex-direction: column;
    align-items: stretch;
  }

  .ah-alerts,
  .ah-split {
    grid-template-columns: 1fr;
  }

  .ah-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ah-quick__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ah-empty.is-inline {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}

@media (max-width: 520px) {
  .ah-kpis {
    grid-template-columns: 1fr;
  }

  .ah-quick__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ah-feed li {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .ah-feed__price {
    grid-column: 2;
  }
}

/* ===== Account polish batch ===== */
.account-panel__lead {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: 600;
}

.account-panel__lead a {
  color: var(--navy-soft);
  font-weight: 750;
  text-decoration: none;
}

.account-panel__lead a:hover {
  color: var(--green-dark);
}

.account-empty-card {
  display: grid;
  place-items: center;
  gap: 0.4rem;
  text-align: center;
  padding: 2.2rem 1.2rem;
  border: 1px dashed var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, #f7fafc 0%, #fff 70%);
  color: var(--muted);
}

.account-empty-card.is-compact {
  padding: 1.1rem 0.85rem;
  place-items: start;
  text-align: left;
  justify-items: start;
}

.account-empty-card .icon {
  color: var(--green);
  margin-bottom: 0.1rem;
}

.account-empty-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.05rem;
}

.account-empty-card p {
  margin: 0;
  max-width: 36ch;
  font-size: var(--fs-ui);
}

.account-empty-card .btn {
  margin-top: 0.35rem;
}

.inbox-offer.is-featured {
  border-color: rgba(1, 185, 118, 0.35);
  background: linear-gradient(180deg, #f3fcf8 0%, #fff 55%);
}

.inbox-offer.is-featured .inbox-offer__badge {
  background: var(--green-soft);
  color: var(--green-dark);
}

.phone-verify {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-soft);
}

.phone-verify__head {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.7rem;
}

.phone-verify__head .icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  padding: 0.4rem;
  border-radius: 10px;
  background: #fff;
  color: var(--navy);
  border: 1px solid var(--line);
}

.phone-verify__head strong {
  display: block;
  color: var(--navy);
  font-size: var(--fs-card);
}

.phone-verify__head .form-note {
  margin: 0.15rem 0 0;
}

.listing-edit-images {
  margin-top: 1.35rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.listing-edit-images__head {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
}

.listing-edit-images__head .icon {
  width: 2rem;
  height: 2rem;
  padding: 0.4rem;
  border-radius: 10px;
  background: var(--surface-soft);
  color: var(--navy);
  border: 1px solid var(--line);
}

.listing-edit-images__head h3 {
  margin: 0;
  font-size: var(--fs-h);
}

.listing-edit-images__head .form-note {
  margin: 0.15rem 0 0;
}

.listing-edit-images__upload {
  display: grid;
  gap: 0.65rem;
  max-width: 28rem;
}

.listing-duration-info__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.listing-duration-info__row span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.ap-panel__title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

.ap-panel__title h3 {
  margin: 0;
  font-size: var(--fs-h);
}

.ap-panel__title .icon {
  color: var(--navy-soft);
}

.pk-membership .ap-dl > div {
  grid-template-columns: minmax(140px, 1.2fr) auto;
  align-items: center;
}

.pk-membership .ap-dl dt {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.pk-membership .ap-dl dd.is-on {
  color: var(--green-dark);
}

.pk-membership .ap-dl dd.is-off {
  color: var(--muted);
}

.pk-membership .ap-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.pk-membership .ap-list .icon {
  margin-top: 0.15rem;
  color: var(--green-dark);
}

.pk-mem-plan__icon {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 10px;
  background: var(--green-soft);
  color: var(--green-dark);
}

.pk-support__back {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.pk-support__closed-note {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
