@layer reset, tokens, base, components, utilities, responsive;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
  body, h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
  ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
  img, picture, svg { display: block; max-width: 100%; }
  button, input, textarea, select { font: inherit; }
  button, [role="button"] { cursor: pointer; }
}

@layer tokens {
  :root {
    --navy-950: #052a35;
    --navy-900: #083344;
    --navy-800: #0b4657;
    --navy-700: #155e75;
    --teal-700: #0f766e;
    --teal-600: #0d9488;
    --teal-500: #14b8a6;
    --teal-300: #5eead4;
    --teal-100: #ccfbf1;
    --sand-50: #fbfcf9;
    --sand-100: #f4f7f5;
    --sand-200: #e7efec;
    --ink-950: #102a33;
    --ink-800: #29434b;
    --ink-600: #5d7077;
    --ink-500: #71858b;
    --white: #ffffff;
    --coral-600: #e45a3d;
    --coral-500: #f26b4a;
    --amber-500: #f59e0b;
    --green-600: #16a34a;
    --red-600: #dc2626;
    --blue-600: #2563eb;
    --line: #dce7e4;
    --line-strong: #c3d5d0;
    --shadow-xs: 0 1px 2px rgba(5, 42, 53, .05);
    --shadow-sm: 0 6px 18px rgba(5, 42, 53, .07);
    --shadow-md: 0 18px 40px rgba(5, 42, 53, .11);
    --shadow-lg: 0 30px 70px rgba(5, 42, 53, .16);
    --radius-sm: .65rem;
    --radius-md: 1rem;
    --radius-lg: 1.4rem;
    --radius-xl: 2rem;
    --container: 1180px;
    --header-height: 76px;
    --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  }
}

@layer base {
  body {
    min-height: 100vh;
    color: var(--ink-950);
    background: var(--sand-50);
    font-family: var(--font-sans);
    line-height: 1.55;
    text-rendering: optimizeLegibility;
  }
  a { color: inherit; text-decoration: none; }
  button { border: 0; }
  h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -.025em; }
  h1 { font-size: clamp(2.25rem, 6vw, 5rem); }
  h2 { font-size: clamp(1.65rem, 3vw, 2.55rem); }
  h3 { font-size: 1.18rem; }
  p { color: var(--ink-600); }
  :focus-visible { outline: 3px solid rgba(20,184,166,.38); outline-offset: 3px; }
  ::selection { background: var(--teal-300); color: var(--navy-950); }
  .container { width: min(var(--container), calc(100% - 2rem)); margin-inline: auto; }
  .skip-link {
    position: fixed; z-index: 9999; top: .75rem; left: .75rem;
    transform: translateY(-150%);
    padding: .75rem 1rem; color: white; background: var(--navy-900); border-radius: .5rem;
  }
  .skip-link:focus { transform: translateY(0); }
}

@layer components {
  /* Header */
  .site-header {
    position: sticky; z-index: 100; top: 0; height: var(--header-height);
    background: color-mix(in srgb, var(--sand-50) 92%, transparent);
    border-bottom: 1px solid rgba(195,213,208,.75);
    backdrop-filter: blur(18px);
  }
  .header-inner { height: 100%; display: flex; align-items: center; gap: 1.5rem; }
  .brand { display: inline-flex; align-items: center; gap: .72rem; min-width: max-content; }
  .brand-mark {
    width: 44px; aspect-ratio: 1; display: grid; place-items: center;
    border-radius: 14px; color: var(--teal-300); background: var(--navy-900);
    box-shadow: 0 7px 18px rgba(8,51,68,.22);
  }
  .brand-mark svg { width: 28px; fill: currentColor; }
  .brand-mark svg circle:last-child { fill: var(--navy-900); }
  .brand strong { display: block; color: var(--navy-900); font-size: 1.05rem; letter-spacing: -.02em; }
  .brand small { display: block; color: var(--ink-500); font-size: .68rem; line-height: 1.2; }
  .desktop-nav { display: flex; align-items: center; gap: .2rem; margin-left: auto; }
  .desktop-nav a {
    padding: .7rem .85rem; color: var(--ink-600); font-size: .9rem; font-weight: 650;
    border-radius: .7rem; transition: .2s ease;
  }
  .desktop-nav a:hover, .desktop-nav a.active { color: var(--navy-900); background: var(--sand-200); }
  .header-actions { display: flex; align-items: center; gap: .55rem; }
  .mobile-menu-button { display: none; width: 42px; height: 42px; flex-direction: column; justify-content: center; gap: 4px; }
  .mobile-menu-button span { width: 20px; height: 2px; background: var(--navy-900); border-radius: 999px; }
  .mobile-menu {
    position: fixed; inset: var(--header-height) 0 auto; padding: .6rem 0 1rem;
    background: var(--sand-50); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
  }
  .mobile-menu .container { display: grid; gap: .15rem; }
  .mobile-menu a { padding: .9rem; border-radius: .75rem; font-weight: 700; }
  .mobile-menu a:hover { background: var(--sand-200); }
  #mobile-auth-actions { display: grid; gap: .5rem; margin-top: .5rem; padding-top: .8rem; border-top: 1px solid var(--line); }

  /* Buttons */
  .button {
    min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .72rem 1rem; border-radius: .78rem; font-weight: 750; font-size: .9rem;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
    white-space: nowrap;
  }
  .button:hover { transform: translateY(-1px); }
  .button:active { transform: translateY(0); }
  .button:disabled { cursor: not-allowed; opacity: .55; transform: none; }
  .button-primary { color: white; background: var(--navy-900); box-shadow: 0 8px 18px rgba(8,51,68,.18); }
  .button-primary:hover { background: var(--navy-800); box-shadow: 0 12px 24px rgba(8,51,68,.24); }
  .button-accent { color: var(--navy-950); background: var(--teal-300); }
  .button-accent:hover { background: #83f3df; }
  .button-coral { color: white; background: var(--coral-500); }
  .button-coral:hover { background: var(--coral-600); }
  .button-secondary { color: var(--navy-900); background: white; border: 1px solid var(--line-strong); }
  .button-secondary:hover { background: var(--sand-100); }
  .button-ghost { color: var(--navy-800); background: transparent; }
  .button-ghost:hover { background: var(--sand-200); }
  .button-danger { color: var(--red-600); background: #fff1f2; border: 1px solid #fecdd3; }
  .button-sm { min-height: 36px; padding: .5rem .72rem; font-size: .8rem; border-radius: .62rem; }
  .button-wide { width: 100%; }
  .icon-button {
    display: inline-grid; place-items: center; border-radius: .7rem; background: transparent;
    color: var(--ink-600); transition: .2s ease;
  }
  .icon-button:hover { color: var(--navy-900); background: var(--sand-200); }
  .icon { width: 1.1em; height: 1.1em; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

  /* Hero */
  .hero {
    position: relative; overflow: hidden; min-height: 650px; display: grid; align-items: center;
    background:
      radial-gradient(circle at 82% 25%, rgba(94,234,212,.28), transparent 29%),
      radial-gradient(circle at 70% 90%, rgba(242,107,74,.15), transparent 24%),
      linear-gradient(135deg, #effaf7 0%, #f9fbf6 52%, #eef6f6 100%);
  }
  .hero::before {
    content: ""; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(8,51,68,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(8,51,68,.035) 1px, transparent 1px);
    background-size: 44px 44px; mask-image: linear-gradient(to right, #000, transparent 68%);
  }
  .hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 4rem; align-items: center; padding: 5.5rem 0; }
  .eyebrow {
    display: inline-flex; align-items: center; gap: .48rem; width: max-content;
    padding: .42rem .72rem; color: var(--teal-700); background: rgba(204,251,241,.65);
    border: 1px solid rgba(94,234,212,.65); border-radius: 999px; font-size: .77rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: .07em;
  }
  .eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--teal-500); box-shadow: 0 0 0 5px rgba(20,184,166,.13); }
  .hero-copy h1 { max-width: 760px; margin-top: 1.2rem; color: var(--navy-950); }
  .hero-copy h1 span { color: var(--teal-700); }
  .hero-copy > p { max-width: 620px; margin-top: 1.3rem; font-size: 1.08rem; }
  .hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }
  .trust-row { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; margin-top: 2rem; }
  .trust-item { display: flex; align-items: center; gap: .5rem; color: var(--ink-600); font-size: .82rem; font-weight: 650; }
  .trust-item .icon { color: var(--teal-700); }
  .hero-visual { position: relative; min-height: 500px; }
  .photo-collage { position: absolute; inset: 0; }
  .photo-card {
    position: absolute; overflow: hidden; border: 7px solid white; border-radius: 1.5rem;
    background: linear-gradient(135deg, #99f6e4, #0f766e); box-shadow: var(--shadow-lg);
  }
  .photo-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,42,53,.58), transparent 54%); }
  .photo-card.large { width: 68%; height: 77%; right: 0; top: 4%; transform: rotate(2deg); }
  .photo-card.small { width: 48%; height: 49%; left: 0; bottom: 0; transform: rotate(-4deg); }
  .photo-art { position: absolute; inset: 0; overflow: hidden; }
  .photo-art .sun { position: absolute; width: 100px; height: 100px; border-radius: 50%; background: #ffd38a; right: 13%; top: 12%; box-shadow: 0 0 70px rgba(255,211,138,.85); }
  .photo-art .sea { position: absolute; inset: 55% 0 0; background: linear-gradient(#1fa8ad, #0b6678); }
  .photo-art .shore { position: absolute; width: 120%; height: 36%; left: -10%; bottom: -11%; border-radius: 50% 50% 0 0; background: #f4d8aa; transform: rotate(-4deg); }
  .photo-art .person { position: absolute; width: 70px; height: 180px; left: 45%; bottom: 13%; z-index: 2; }
  .photo-art .person::before { content: ""; position: absolute; width: 42px; height: 42px; left: 13px; border-radius: 50%; background: #5c352d; }
  .photo-art .person::after { content: ""; position: absolute; width: 70px; height: 142px; top: 38px; border-radius: 40% 40% 20% 20%; background: var(--coral-500); clip-path: polygon(38% 0,62% 0,100% 100%,0 100%); }
  .city-art { background: linear-gradient(#a7e7ee 0 54%, #1b8993 54%); }
  .city-art .building { position: absolute; bottom: 31%; width: 20%; border-radius: 4px 4px 0 0; }
  .city-art .b1 { height: 45%; left: 6%; background: #ffd38a; }
  .city-art .b2 { height: 56%; left: 27%; background: #f18f70; }
  .city-art .b3 { height: 40%; left: 48%; background: #d8f0c0; }
  .city-art .b4 { height: 62%; left: 69%; background: #8bd0e4; }
  .city-art .building::before { content: ""; position: absolute; inset: 13% 18%; background: repeating-linear-gradient(90deg,#fff 0 11%,transparent 11% 33%), repeating-linear-gradient(#fff 0 10%,transparent 10% 29%); opacity: .8; }
  .floating-card {
    position: absolute; z-index: 5; min-width: 210px; padding: .9rem 1rem; background: rgba(255,255,255,.93);
    border: 1px solid rgba(255,255,255,.7); border-radius: 1rem; box-shadow: var(--shadow-md); backdrop-filter: blur(12px);
  }
  .floating-card.booking { top: 1%; left: -5%; }
  .floating-card.rating { right: -4%; bottom: 7%; }
  .floating-card strong { display: block; color: var(--navy-900); font-size: .85rem; }
  .floating-card span { color: var(--ink-500); font-size: .72rem; }
  .floating-card .mini-row { display: flex; align-items: center; gap: .6rem; }
  .floating-card .mini-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: .72rem; background: var(--teal-100); color: var(--teal-700); }

  /* Sections and cards */
  .section { padding: 5.5rem 0; }
  .section-muted { background: var(--sand-100); border-block: 1px solid var(--line); }
  .section-dark { color: white; background: var(--navy-950); }
  .section-dark p { color: #bcd2d8; }
  .section-header { max-width: 720px; margin-bottom: 2.2rem; }
  .section-header.center { margin-inline: auto; text-align: center; }
  .section-header .eyebrow { margin-bottom: 1rem; }
  .section-header h2 { color: var(--navy-950); }
  .section-dark .section-header h2 { color: white; }
  .section-header p { margin-top: .85rem; font-size: 1rem; }
  .cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
  .card {
    position: relative; padding: 1.25rem; background: white; border: 1px solid var(--line);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-xs); transition: .2s ease;
  }
  .card.hoverable:hover { transform: translateY(-4px); border-color: #afd7cf; box-shadow: var(--shadow-md); }
  .card-icon { width: 48px; height: 48px; display: grid; place-items: center; color: var(--teal-700); background: var(--teal-100); border-radius: .95rem; }
  .card h3 { margin-top: 1rem; color: var(--navy-900); }
  .card p { margin-top: .55rem; font-size: .9rem; }
  .card-link { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem; color: var(--teal-700); font-weight: 750; font-size: .84rem; }
  .destination-card { overflow: hidden; padding: 0; }
  .destination-cover { height: 190px; position: relative; overflow: hidden; background: linear-gradient(135deg,#bae6fd,#14b8a6); }
  .destination-cover::before { content: ""; position: absolute; width: 140%; height: 50%; left: -20%; bottom: -20%; border-radius: 50%; background: #fff2d3; }
  .destination-cover::after { content: ""; position: absolute; width: 38%; height: 54%; right: 8%; bottom: 16%; background: #f97360; box-shadow: -80px 20px 0 #fed084,-150px 2px 0 #8bd9d1; clip-path: polygon(15% 0,85% 0,100% 100%,0 100%); }
  .destination-body { padding: 1.2rem; }
  .destination-meta { display: flex; align-items: center; justify-content: space-between; margin-top: .8rem; color: var(--ink-500); font-size: .78rem; }
  .photographer-card { padding: 0; overflow: hidden; }
  .photographer-header { position: relative; height: 130px; background: linear-gradient(135deg,var(--navy-900),var(--teal-600)); }
  .avatar {
    width: 78px; height: 78px; display: grid; place-items: center; border: 5px solid white; border-radius: 50%;
    color: white; background: var(--coral-500); font-size: 1.3rem; font-weight: 850; box-shadow: var(--shadow-sm);
  }
  .photographer-card .avatar { position: absolute; left: 1.2rem; bottom: -35px; }
  .photographer-body { padding: 2.75rem 1.2rem 1.2rem; }
  .photographer-body .rating { display: flex; align-items: center; gap: .35rem; color: var(--amber-500); font-size: .82rem; }
  .tag-row { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .8rem; }
  .tag { padding: .3rem .52rem; border-radius: 999px; color: var(--ink-600); background: var(--sand-100); border: 1px solid var(--line); font-size: .7rem; font-weight: 700; }
  .price { color: var(--navy-900); font-weight: 850; }
  .price small { color: var(--ink-500); font-weight: 600; }

  /* Forms */
  .form-card { padding: clamp(1.1rem,3vw,2rem); background: white; border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow-sm); }
  .form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
  .field { display: grid; gap: .42rem; }
  .field.full { grid-column: 1 / -1; }
  .field label, .field > span:first-child { color: var(--ink-800); font-size: .79rem; font-weight: 750; }
  .field small { color: var(--ink-500); font-size: .7rem; }
  .input, .select, .textarea {
    width: 100%; min-height: 46px; padding: .72rem .82rem; color: var(--ink-950); background: white;
    border: 1px solid var(--line-strong); border-radius: .75rem; transition: border .2s, box-shadow .2s;
  }
  .textarea { min-height: 110px; resize: vertical; }
  .input:hover, .select:hover, .textarea:hover { border-color: #93b9b2; }
  .input:focus, .select:focus, .textarea:focus { outline: 0; border-color: var(--teal-500); box-shadow: 0 0 0 4px rgba(20,184,166,.12); }
  .input[aria-invalid="true"], .select[aria-invalid="true"] { border-color: var(--red-600); }
  .input-group { position: relative; }
  .input-group .input { padding-left: 2.6rem; }
  .input-group .icon { position: absolute; left: .85rem; top: 50%; transform: translateY(-50%); color: var(--ink-500); }
  .checkbox { display: flex; align-items: flex-start; gap: .65rem; font-size: .82rem; color: var(--ink-600); }
  .checkbox input { width: 18px; height: 18px; margin-top: .12rem; accent-color: var(--teal-700); }
  .field-error { color: var(--red-600); font-size: .72rem; }
  .form-divider { height: 1px; margin: 1.4rem 0; background: var(--line); }
  .form-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .65rem; margin-top: 1.25rem; }
  .role-selector { display: grid; grid-template-columns: repeat(3,1fr); gap: .75rem; }
  .role-option { position: relative; }
  .role-option input { position: absolute; opacity: 0; pointer-events: none; }
  .role-option label {
    min-height: 130px; display: flex; flex-direction: column; gap: .5rem; padding: 1rem;
    border: 1px solid var(--line-strong); border-radius: 1rem; background: white; cursor: pointer; transition: .2s ease;
  }
  .role-option label:hover { border-color: var(--teal-500); transform: translateY(-2px); }
  .role-option input:checked + label { border-color: var(--teal-600); background: #effcf8; box-shadow: 0 0 0 3px rgba(20,184,166,.12); }
  .role-option .role-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: .75rem; background: var(--sand-200); color: var(--navy-800); }
  .role-option strong { color: var(--navy-900); }
  .role-option small { color: var(--ink-500); line-height: 1.35; }
  .captcha-box { min-height: 72px; display: flex; align-items: center; padding: .7rem; border: 1px dashed var(--line-strong); border-radius: .8rem; background: var(--sand-100); }
  .honeypot { position: absolute !important; left: -99999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }

  /* Auth */
  .auth-shell { min-height: calc(100vh - var(--header-height)); display: grid; grid-template-columns: .85fr 1.15fr; }
  .auth-aside {
    position: relative; overflow: hidden; padding: clamp(2rem,5vw,5rem); color: white; background:
      radial-gradient(circle at 25% 20%, rgba(94,234,212,.25), transparent 26%),
      linear-gradient(145deg,var(--navy-950),var(--navy-800));
  }
  .auth-aside::after { content: ""; position: absolute; width: 520px; height: 520px; right: -250px; bottom: -240px; border: 70px solid rgba(94,234,212,.1); border-radius: 50%; }
  .auth-aside-content { position: sticky; top: calc(var(--header-height) + 3rem); max-width: 470px; }
  .auth-aside h1 { margin-top: 1.2rem; font-size: clamp(2.3rem,5vw,4rem); }
  .auth-aside p { margin-top: 1rem; color: #c5dadd; }
  .auth-points { display: grid; gap: .8rem; margin-top: 2rem; }
  .auth-point { display: flex; align-items: flex-start; gap: .7rem; }
  .auth-point .mini-icon { flex: 0 0 auto; width: 32px; height: 32px; display: grid; place-items: center; border-radius: .65rem; color: var(--teal-300); background: rgba(255,255,255,.09); }
  .auth-main { padding: clamp(2rem,5vw,5rem); background: var(--sand-50); }
  .auth-main-inner { max-width: 760px; margin-inline: auto; }
  .auth-heading p { margin-top: .55rem; }
  .auth-form { margin-top: 1.5rem; }

  /* Search and filters */
  .page-hero { padding: 4.5rem 0 3.5rem; background: linear-gradient(180deg,#eefaf7,var(--sand-50)); border-bottom: 1px solid var(--line); }
  .page-hero h1 { font-size: clamp(2.3rem,5vw,4.2rem); }
  .page-hero p { max-width: 700px; margin-top: 1rem; font-size: 1.02rem; }
  .filter-bar {
    display: grid; grid-template-columns: 1.2fr repeat(3,1fr) auto; gap: .65rem; padding: .9rem;
    background: white; border: 1px solid var(--line); border-radius: 1.1rem; box-shadow: var(--shadow-sm);
  }
  .filter-bar .input, .filter-bar .select { min-height: 44px; }
  .results-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 2rem 0 1rem; }
  .result-count { color: var(--ink-600); font-size: .85rem; }

  /* Dashboard */
  .dashboard-shell { min-height: calc(100vh - var(--header-height)); display: grid; grid-template-columns: 260px minmax(0,1fr); background: var(--sand-100); }
  .dashboard-sidebar {
    position: sticky; top: var(--header-height); height: calc(100vh - var(--header-height));
    overflow-y: auto; padding: 1rem .8rem; color: white; background: var(--navy-950);
  }
  .sidebar-company {
    display: flex; align-items: center; gap: .7rem; padding: .7rem; margin-bottom: 1rem;
    border: 1px solid rgba(255,255,255,.09); border-radius: .85rem; background: rgba(255,255,255,.05);
  }
  .sidebar-company .avatar { width: 38px; height: 38px; border: 0; font-size: .8rem; background: var(--teal-600); }
  .sidebar-company strong { display: block; font-size: .82rem; }
  .sidebar-company small { display: block; color: #9db9c0; font-size: .67rem; }
  .sidebar-nav { display: grid; gap: .2rem; }
  .sidebar-group-label { padding: .9rem .75rem .35rem; color: #6f969e; font-size: .65rem; font-weight: 850; text-transform: uppercase; letter-spacing: .11em; }
  .sidebar-nav a {
    display: flex; align-items: center; gap: .68rem; padding: .72rem .75rem;
    color: #bcd1d6; border-radius: .72rem; font-size: .82rem; font-weight: 680; transition: .18s ease;
  }
  .sidebar-nav a:hover { color: white; background: rgba(255,255,255,.06); }
  .sidebar-nav a.active { color: var(--navy-950); background: var(--teal-300); }
  .sidebar-nav .icon { width: 18px; }
  .dashboard-main { min-width: 0; padding: 1.5rem; }
  .dashboard-topbar { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.35rem; }
  .dashboard-topbar h1 { font-size: clamp(1.7rem,3vw,2.35rem); }
  .dashboard-topbar p { margin-top: .35rem; font-size: .87rem; }
  .dashboard-actions { display: flex; flex-wrap: wrap; gap: .55rem; }
  .metric-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
  .metric-card { padding: 1.1rem; background: white; border: 1px solid var(--line); border-radius: 1rem; box-shadow: var(--shadow-xs); }
  .metric-head { display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
  .metric-head .mini-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: .75rem; color: var(--teal-700); background: var(--teal-100); }
  .metric-label { color: var(--ink-500); font-size: .74rem; font-weight: 700; }
  .metric-value { margin-top: .8rem; color: var(--navy-900); font-size: 1.75rem; font-weight: 850; letter-spacing: -.04em; }
  .metric-foot { margin-top: .3rem; color: var(--ink-500); font-size: .68rem; }
  .dashboard-grid { display: grid; grid-template-columns: 1.55fr .85fr; gap: 1rem; margin-top: 1rem; }
  .panel { min-width: 0; padding: 1.1rem; background: white; border: 1px solid var(--line); border-radius: 1rem; box-shadow: var(--shadow-xs); }
  .panel-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
  .panel-header h2 { font-size: 1.08rem; color: var(--navy-900); }
  .panel-header p { margin-top: .25rem; font-size: .75rem; }
  .panel-actions { display: flex; gap: .45rem; }
  .quick-actions { display: grid; grid-template-columns: repeat(2,1fr); gap: .7rem; }
  .quick-action { display: flex; align-items: center; gap: .65rem; padding: .8rem; border: 1px solid var(--line); border-radius: .8rem; transition: .18s ease; }
  .quick-action:hover { border-color: var(--teal-500); background: #f4fffc; }
  .quick-action .mini-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: .65rem; color: var(--teal-700); background: var(--teal-100); }
  .quick-action strong { display: block; color: var(--navy-900); font-size: .77rem; }
  .quick-action small { display: block; color: var(--ink-500); font-size: .65rem; }
  .dashboard-mobile-toggle { display: none; }

  /* Tables and lists */
  .table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: .85rem; }
  .data-table { width: 100%; border-collapse: collapse; min-width: 660px; }
  .data-table th { padding: .7rem .8rem; text-align: left; color: var(--ink-500); background: var(--sand-100); border-bottom: 1px solid var(--line); font-size: .66rem; text-transform: uppercase; letter-spacing: .06em; }
  .data-table td { padding: .8rem; border-bottom: 1px solid var(--line); color: var(--ink-800); font-size: .79rem; vertical-align: middle; }
  .data-table tbody tr:last-child td { border-bottom: 0; }
  .data-table tbody tr:hover td { background: #fbfefd; }
  .table-main { color: var(--navy-900); font-weight: 750; }
  .table-sub { display: block; margin-top: .16rem; color: var(--ink-500); font-size: .68rem; }
  .status {
    display: inline-flex; align-items: center; gap: .35rem; width: max-content; padding: .3rem .55rem;
    border-radius: 999px; font-size: .66rem; font-weight: 800; text-transform: capitalize;
  }
  .status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
  .status-success, .status-paid, .status-active, .status-approved, .status-confirmed { color: #137333; background: #e9f8ee; }
  .status-warning, .status-pending, .status-awaiting_payment, .status-pending_payment, .status-processing { color: #9a6700; background: #fff7d6; }
  .status-danger, .status-failed, .status-cancelled, .status-closed, .status-rejected { color: #b42318; background: #fff0ee; }
  .status-info, .status-preview_ready, .status-open, .status-inventory { color: #175cd3; background: #eff8ff; }
  .list { display: grid; gap: .65rem; }
  .list-item { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem; border: 1px solid var(--line); border-radius: .8rem; }
  .list-item-main { display: flex; align-items: center; gap: .7rem; min-width: 0; }
  .list-item-main .mini-icon { flex: 0 0 auto; width: 36px; height: 36px; display: grid; place-items: center; border-radius: .65rem; color: var(--teal-700); background: var(--teal-100); }
  .list-item strong { display: block; overflow: hidden; color: var(--navy-900); font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
  .list-item small { display: block; color: var(--ink-500); font-size: .66rem; }
  .tabs { display: flex; gap: .3rem; overflow-x: auto; padding-bottom: .2rem; margin-bottom: 1rem; }
  .tab { min-height: 38px; padding: .55rem .78rem; border-radius: .65rem; color: var(--ink-600); background: transparent; font-size: .76rem; font-weight: 750; white-space: nowrap; }
  .tab:hover { background: var(--sand-100); }
  .tab.active { color: white; background: var(--navy-900); }

  /* Alerts, states, modal */
  .alert { display: flex; gap: .7rem; padding: .85rem 1rem; border-radius: .85rem; border: 1px solid; font-size: .8rem; }
  .alert .icon { flex: 0 0 auto; margin-top: .1rem; }
  .alert-info { color: #175cd3; background: #eff8ff; border-color: #b2ddff; }
  .alert-success { color: #137333; background: #ecfdf3; border-color: #abefc6; }
  .alert-warning { color: #93370d; background: #fffaeb; border-color: #fedf89; }
  .alert-danger { color: #b42318; background: #fef3f2; border-color: #fecdca; }
  .empty-state { padding: 3rem 1.5rem; text-align: center; border: 1px dashed var(--line-strong); border-radius: 1rem; background: var(--sand-50); }
  .empty-state .empty-icon { width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto 1rem; border-radius: 1rem; color: var(--teal-700); background: var(--teal-100); }
  .empty-state h3 { color: var(--navy-900); }
  .empty-state p { max-width: 430px; margin: .5rem auto 0; font-size: .82rem; }
  .empty-state .button { margin-top: 1rem; }
  .skeleton { overflow: hidden; position: relative; background: #e8efed; border-radius: .5rem; }
  .skeleton::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg,transparent,rgba(255,255,255,.68),transparent); animation: shimmer 1.35s infinite; }
  @keyframes shimmer { to { transform: translateX(100%); } }
  .page-loader { position: fixed; z-index: 150; top: calc(var(--header-height) + .75rem); left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: .5rem; padding: .55rem .8rem; color: white; background: var(--navy-900); border-radius: 999px; box-shadow: var(--shadow-md); font-size: .74rem; }
  .spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.35); border-top-color: white; border-radius: 50%; animation: spin .7s linear infinite; }
  @keyframes spin { to { transform: rotate(360deg); } }
  .toast-region { position: fixed; z-index: 300; right: 1rem; bottom: 1rem; display: grid; gap: .55rem; width: min(380px,calc(100% - 2rem)); }
  .toast { display: flex; align-items: flex-start; gap: .7rem; padding: .85rem; background: white; border: 1px solid var(--line); border-left: 4px solid var(--teal-600); border-radius: .8rem; box-shadow: var(--shadow-md); animation: toast-in .2s ease; }
  .toast.toast-error { border-left-color: var(--red-600); }
  .toast.toast-warning { border-left-color: var(--amber-500); }
  .toast strong { display: block; color: var(--navy-900); font-size: .78rem; }
  .toast p { margin-top: .2rem; font-size: .72rem; }
  @keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }
  .modal-root:not(:empty) { position: fixed; z-index: 250; inset: 0; display: grid; place-items: center; padding: 1rem; background: rgba(5,42,53,.58); backdrop-filter: blur(5px); }
  .modal { width: min(720px,100%); max-height: min(86vh,850px); overflow-y: auto; background: white; border-radius: 1.2rem; box-shadow: var(--shadow-lg); }
  .modal-header { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; background: white; border-bottom: 1px solid var(--line); }
  .modal-header h2 { font-size: 1.15rem; }
  .modal-body { padding: 1.2rem; }
  .modal-footer { display: flex; justify-content: flex-end; gap: .6rem; padding: 1rem 1.2rem; border-top: 1px solid var(--line); }

  /* Gallery */
  .gallery-claim-shell { min-height: 620px; display: grid; place-items: center; padding: 4rem 0; background: radial-gradient(circle at 50% 10%,rgba(94,234,212,.24),transparent 35%),var(--sand-50); }
  .gallery-claim-card { width: min(560px,100%); padding: clamp(1.25rem,4vw,2.3rem); background: white; border: 1px solid var(--line); border-radius: 1.6rem; box-shadow: var(--shadow-md); text-align: center; }
  .gallery-claim-icon { width: 76px; height: 76px; display: grid; place-items: center; margin: 0 auto 1rem; border-radius: 1.3rem; color: var(--teal-700); background: var(--teal-100); }
  .gallery-claim-card p { margin-top: .6rem; }
  .gallery-claim-card form { display: grid; gap: .8rem; margin-top: 1.3rem; text-align: left; }
  .gallery-summary { display: grid; grid-template-columns: 1.3fr repeat(3,.7fr); gap: .8rem; margin-bottom: 1.2rem; }
  .gallery-summary-card { padding: 1rem; background: white; border: 1px solid var(--line); border-radius: .9rem; }
  .gallery-summary-card small { display: block; color: var(--ink-500); font-size: .68rem; }
  .gallery-summary-card strong { display: block; margin-top: .25rem; color: var(--navy-900); }
  .photo-grid { columns: 4 230px; column-gap: .8rem; }
  .gallery-photo { position: relative; overflow: hidden; break-inside: avoid; margin-bottom: .8rem; border-radius: .9rem; background: #dde8e5; box-shadow: var(--shadow-xs); }
  .gallery-photo img { width: 100%; min-height: 170px; object-fit: cover; }
  .gallery-photo-overlay { position: absolute; inset: auto 0 0; display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .75rem; color: white; background: linear-gradient(transparent,rgba(5,42,53,.85)); }
  .gallery-photo-overlay span { overflow: hidden; font-size: .72rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }

  /* Footer */
  .site-footer { padding: 4rem 0 1.3rem; color: #bdd0d4; background: var(--navy-950); }
  .footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3,1fr); gap: 2rem; }
  .brand-footer strong { color: white; }
  .brand-footer small { color: #8eabb1; }
  .footer-copy { max-width: 420px; margin-top: 1rem; color: #9fb8be; font-size: .85rem; }
  .footer-grid section { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; }
  .footer-grid h2 { margin-bottom: .45rem; color: white; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
  .footer-grid section > a:not(.brand) { color: #abc1c6; font-size: .8rem; }
  .footer-grid section > a:hover { color: var(--teal-300); }
  .footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.2rem; margin-top: 2rem; border-top: 1px solid rgba(255,255,255,.08); color: #789aa2; font-size: .7rem; }
  .status-dot { display: inline-flex; align-items: center; gap: .4rem; }
  .status-dot i { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74,222,128,.13); }
}

@layer utilities {
  .hidden { display: none !important; }
  .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
  .muted { color: var(--ink-500); }
  .text-sm { font-size: .8rem; }
  .text-xs { font-size: .7rem; }
  .text-center { text-align: center; }
  .text-right { text-align: right; }
  .mt-1 { margin-top: .5rem; }
  .mt-2 { margin-top: 1rem; }
  .mt-3 { margin-top: 1.5rem; }
  .mb-1 { margin-bottom: .5rem; }
  .mb-2 { margin-bottom: 1rem; }
  .stack { display: grid; gap: 1rem; }
  .cluster { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
  .between { justify-content: space-between; }
  .grow { flex: 1; }
  .nowrap { white-space: nowrap; }
  .code { padding: .16rem .36rem; border-radius: .35rem; color: var(--navy-800); background: var(--sand-200); font-family: ui-monospace,SFMono-Regular,Menlo,monospace; font-size: .76em; }
  .divider { height: 1px; background: var(--line); }
  .two-col { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
  .three-col { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
  .danger-text { color: var(--red-600); }
  .success-text { color: var(--green-600); }
  .pre-wrap { white-space: pre-wrap; overflow-wrap: anywhere; }
}

@layer responsive {
  @media (max-width: 1040px) {
    .desktop-nav { display: none; }
    .mobile-menu-button { display: flex; }
    .header-actions .button-secondary { display: none; }
    .hero-grid { gap: 2rem; }
    .cards-grid { grid-template-columns: repeat(2,1fr); }
    .metric-grid { grid-template-columns: repeat(2,1fr); }
    .dashboard-grid { grid-template-columns: 1fr; }
    .filter-bar { grid-template-columns: repeat(2,1fr); }
    .filter-bar .button { grid-column: 2; }
    .footer-grid { grid-template-columns: 1.5fr repeat(2,1fr); }
    .footer-grid section:last-child { grid-column: 2 / -1; }
  }

  @media (max-width: 820px) {
    :root { --header-height: 68px; }
    .brand small { display: none; }
    .brand-mark { width: 40px; border-radius: 12px; }
    .hero { min-height: auto; }
    .hero-grid { grid-template-columns: 1fr; padding: 4rem 0 3rem; }
    .hero-visual { min-height: 430px; max-width: 620px; width: 100%; margin-inline: auto; }
    .auth-shell { grid-template-columns: 1fr; }
    .auth-aside { min-height: auto; padding-block: 3rem; }
    .auth-aside-content { position: relative; top: auto; }
    .auth-aside h1 { font-size: 2.6rem; }
    .auth-main { padding-block: 2.5rem; }
    .dashboard-shell { display: block; }
    .dashboard-sidebar {
      position: fixed; z-index: 180; top: var(--header-height); bottom: 0; left: 0; width: 280px; height: auto;
      transform: translateX(-102%); transition: transform .25s ease; box-shadow: var(--shadow-lg);
    }
    .dashboard-sidebar.open { transform: translateX(0); }
    .dashboard-mobile-toggle { display: inline-flex; }
    .dashboard-main { padding: 1rem; }
    .gallery-summary { grid-template-columns: repeat(2,1fr); }
    .gallery-summary-card:first-child { grid-column: 1 / -1; }
    .footer-grid { grid-template-columns: repeat(2,1fr); }
    .footer-grid section:first-child { grid-column: 1 / -1; }
    .footer-grid section:last-child { grid-column: auto; }
  }

  @media (max-width: 620px) {
    .container { width: min(100% - 1.2rem,var(--container)); }
    .header-actions .button { min-height: 38px; padding: .55rem .72rem; }
    .header-actions .button span { display: none; }
    .section { padding: 3.7rem 0; }
    .hero-grid { padding-top: 3rem; }
    .hero-copy > p { font-size: .96rem; }
    .hero-actions { display: grid; grid-template-columns: 1fr; }
    .trust-row { display: grid; gap: .6rem; }
    .hero-visual { min-height: 355px; }
    .floating-card { min-width: 165px; padding: .7rem; }
    .photo-card.large { width: 73%; height: 75%; }
    .photo-card.small { width: 51%; height: 48%; }
    .cards-grid, .two-col, .three-col { grid-template-columns: 1fr; }
    .role-selector { grid-template-columns: 1fr; }
    .role-option label { min-height: auto; flex-direction: row; align-items: center; }
    .form-grid { grid-template-columns: 1fr; }
    .field.full { grid-column: auto; }
    .filter-bar { grid-template-columns: 1fr; }
    .filter-bar .button { grid-column: auto; }
    .results-header { align-items: flex-start; flex-direction: column; }
    .metric-grid { grid-template-columns: 1fr 1fr; gap: .7rem; }
    .metric-card { padding: .85rem; }
    .metric-value { font-size: 1.45rem; }
    .dashboard-topbar { flex-direction: column; }
    .dashboard-actions { width: 100%; }
    .dashboard-actions .button { flex: 1; }
    .quick-actions { grid-template-columns: 1fr; }
    .gallery-summary { grid-template-columns: 1fr 1fr; }
    .photo-grid { columns: 2 150px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-grid section:first-child, .footer-grid section:last-child { grid-column: auto; }
    .footer-bottom { align-items: flex-start; flex-direction: column; }
  }

  @media (max-width: 390px) {
    .brand strong { font-size: .92rem; }
    .header-actions .button { padding-inline: .6rem; }
    .metric-grid { grid-template-columns: 1fr; }
    .photo-grid { columns: 1; }
  }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  }
}

/* v1.1 registration reliability and onboarding controls */
.page-loader[hidden] { display: none !important; }
.captcha-box { overflow: visible; min-height: 92px; }
.captcha-stack { align-items: flex-start; }
.captcha-widget { width: 100%; max-width: 100%; overflow-x: auto; overflow-y: hidden; padding-bottom: .2rem; }
.captcha-widget iframe { max-width: 100%; }

.multi-select { position: relative; width: 100%; }
.multi-select summary {
  min-height: 46px; display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: .72rem .82rem; color: var(--ink-950); background: white; border: 1px solid var(--line-strong);
  border-radius: .75rem; cursor: pointer; list-style: none;
}
.multi-select summary::-webkit-details-marker { display: none; }
.multi-select summary .icon { color: var(--teal-700); }
.multi-select[open] summary { border-color: var(--teal-500); box-shadow: 0 0 0 3px rgba(20,184,166,.12); }
.multi-select-menu {
  position: absolute; z-index: 35; top: calc(100% + .35rem); left: 0; right: 0; display: grid; gap: .2rem;
  max-height: 260px; overflow: auto; padding: .55rem; background: white; border: 1px solid var(--line-strong);
  border-radius: .8rem; box-shadow: var(--shadow-md);
}
.multi-select-menu label { display: flex; align-items: center; gap: .65rem; padding: .55rem .6rem; border-radius: .58rem; cursor: pointer; font-size: .82rem; }
.multi-select-menu label:hover { background: var(--sand-100); }
.multi-select-menu input { width: 17px; height: 17px; accent-color: var(--teal-700); }

.image-picker { border: 1px solid var(--line-strong); border-radius: 1rem; overflow: hidden; background: var(--sand-100); }
.image-picker-dropzone {
  display: flex; align-items: center; gap: 1rem; min-height: 120px; padding: 1.2rem; cursor: pointer;
  border: 2px dashed #9bc9c1; border-radius: .95rem; background: linear-gradient(135deg,rgba(204,251,241,.46),rgba(255,255,255,.8));
}
.image-picker-dropzone:hover { border-color: var(--teal-600); background: var(--teal-100); }
.image-picker-dropzone > span:last-child { display: grid; gap: .25rem; }
.image-picker-dropzone strong { color: var(--navy-900); }
.image-picker-dropzone small { color: var(--ink-500); }
.image-picker-icon { width: 52px; height: 52px; flex: 0 0 auto; display: grid; place-items: center; color: var(--teal-700); background: white; border-radius: .85rem; box-shadow: var(--shadow-xs); }
.image-picker-icon .icon { width: 25px; height: 25px; }
.image-picker-preview { display: grid; grid-template-columns: 140px 1fr; gap: 1rem; align-items: center; padding: .8rem; background: white; }
.image-picker-preview img { width: 140px; height: 104px; object-fit: cover; border-radius: .7rem; background: #dfe9e7; }
.image-picker-preview > div { display: grid; gap: .35rem; justify-items: start; min-width: 0; }
.image-picker-preview strong { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--navy-900); }
.image-picker-preview small { color: var(--ink-500); }

.geo-location-field {
  display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: .85rem; padding: .9rem;
  background: linear-gradient(135deg,#f0fdfa,#fff); border: 1px solid #a7d8cf; border-radius: .9rem;
}
.geo-location-field > span:nth-child(2) { display: grid; gap: .16rem; min-width: 0; }
.geo-location-field strong { color: var(--navy-900); }
.geo-location-field small { color: var(--ink-500); }
.geo-location-icon { width: 42px; height: 42px; display: grid; place-items: center; color: var(--teal-700); background: white; border-radius: .72rem; box-shadow: var(--shadow-xs); }

.geo-picker-modal { width: min(980px, calc(100vw - 2rem)); max-height: min(92vh, 860px); }
.geo-picker-modal .modal-header { align-items: flex-start; }
.geo-picker-modal .modal-header p { margin-top: .25rem; }
.geo-picker-body { display: grid; gap: .8rem; }
.geo-map-shell { width: 100%; min-height: 470px; border: 1px solid var(--line-strong); border-radius: 1rem; overflow: hidden; background: #dfe9e7; }
.geo-map-canvas { position: relative; width: 100%; height: 470px; overflow: hidden; touch-action: none; cursor: crosshair; background-color: #dfe9e7; background-image: linear-gradient(rgba(8,51,68,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(8,51,68,.06) 1px,transparent 1px); background-size: 32px 32px; }
.geo-map-canvas:focus { outline: 3px solid rgba(20,184,166,.3); outline-offset: -3px; }
.geo-map-tiles,.geo-map-overlays { position: absolute; inset: 0; pointer-events: none; }
.geo-map-tile { position: absolute; width: 256px; height: 256px; user-select: none; -webkit-user-drag: none; }
.geo-map-circle { position: absolute; transform: translate(-50%,-50%); border-radius: 50%; pointer-events: none; }
.geo-map-circle-reserved { background: rgba(225,29,72,.14); border: 2px solid rgba(190,18,60,.72); }
.geo-map-circle-selected { background: rgba(13,148,136,.2); border: 3px solid #0f766e; box-shadow: 0 0 0 5px rgba(20,184,166,.16); }
.geo-map-controls { position: absolute; z-index: 4; top: .7rem; right: .7rem; display: grid; overflow: hidden; border: 1px solid rgba(8,51,68,.18); border-radius: .65rem; box-shadow: var(--shadow-sm); }
.geo-map-controls button { width: 42px; height: 40px; color: var(--navy-900); background: rgba(255,255,255,.96); font-size: 1.35rem; font-weight: 800; }
.geo-map-controls button + button { border-top: 1px solid var(--line); }
.geo-map-attribution { position: absolute; z-index: 4; right: .4rem; bottom: .35rem; padding: .15rem .3rem; color: var(--ink-600); background: rgba(255,255,255,.88); border-radius: .25rem; font-size: .58rem; }
.geo-map-attribution a { color: var(--teal-800); }
.geo-map-legend { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; color: var(--ink-600); font-size: .75rem; font-weight: 700; }
.geo-map-legend span { display: inline-flex; align-items: center; gap: .4rem; }
.legend-dot { width: 14px; height: 14px; border-radius: 50%; }
.legend-dot.reserved { background: rgba(225,29,72,.16); border: 2px solid rgba(190,18,60,.72); }
.legend-dot.selected { background: rgba(13,148,136,.22); border: 2px solid #0f766e; }
.geo-picker-summary { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .6rem; }
.geo-picker-summary > div { min-width: 0; padding: .65rem .75rem; background: var(--sand-100); border: 1px solid var(--line); border-radius: .7rem; }
.geo-picker-summary small,.geo-picker-summary strong { display: block; }
.geo-picker-summary small { color: var(--ink-500); font-size: .67rem; }
.geo-picker-summary strong { margin-top: .16rem; overflow: hidden; color: var(--navy-900); font-size: .82rem; text-overflow: ellipsis; }

@media (max-width: 680px) {
  .image-picker-preview { grid-template-columns: 1fr; }
  .image-picker-preview img { width: 100%; height: 180px; }
  .geo-location-field { grid-template-columns: auto 1fr; }
  .geo-location-field .button { grid-column: 1 / -1; width: 100%; }
  .geo-picker-modal { width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; }
  .geo-picker-modal .modal-body { padding: .8rem; }
  .geo-picker-modal .modal-footer { align-items: stretch; flex-direction: column; }
  .geo-picker-modal .modal-footer > .cluster,.geo-picker-modal .modal-footer > button { width: 100%; }
  .geo-picker-modal .modal-footer .button { flex: 1; }
  .geo-map-shell,.geo-map-canvas { min-height: 48dvh; height: 48dvh; }
  .geo-picker-summary { grid-template-columns: 1fr 1fr; }
  .geo-picker-summary > div:last-child { grid-column: 1 / -1; }
  .multi-select-menu { position: static; margin-top: .35rem; box-shadow: none; }
}

/* Core v0.6 country and attraction catalog enhancements */
.destination-flag {
  position: absolute; z-index: 3; top: 1rem; left: 1rem; display: grid; place-items: center;
  min-width: 48px; min-height: 48px; padding: .4rem .65rem; border-radius: 1rem;
  background: rgba(255,255,255,.9); box-shadow: var(--shadow-sm); font-size: 1.7rem;
}
.attraction-preview-card {
  display: grid; grid-template-columns: minmax(220px, 36%) 1fr; overflow: hidden;
  background: white; border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow-sm);
}
.attraction-preview-media {
  min-height: 220px; display: grid; place-items: center; color: white; background-color: var(--teal-700);
  background-position: center; background-size: cover;
}
.attraction-preview-media svg { width: 52px; height: 52px; }
.attraction-preview-body { padding: clamp(1.2rem, 3vw, 2rem); }
.attraction-preview-body h3 { margin-top: .8rem; color: var(--navy-900); font-size: clamp(1.35rem, 2.5vw, 2rem); }
.attraction-preview-body p { margin-top: .7rem; }
.attraction-preview-body small { display: block; margin-top: 1rem; color: var(--ink-500); }
@media (max-width: 720px) {
  .attraction-preview-card { grid-template-columns: 1fr; }
  .attraction-preview-media { min-height: 190px; }
}
