
        :root {
            /* === NEW DESIGN SYSTEM === */
            --ink: #1a1a1a;
            --ink-light: #555;
            --ink-muted: #888;
            --surface: #faf9f7;
            --surface-warm: #f3f0eb;
            --surface-card: #ffffff;
            --accent: #c45d3e;
            --accent-hover: #a8472b;
            --accent-soft: rgba(196, 93, 62, 0.08);
            --border: #e5e0da;
            --border-focus: #c45d3e;
            --radius: 12px;
            --radius-sm: 8px;
            --radius-lg: 20px;
            --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
            --shadow-md: 0 4px 16px rgba(0,0,0,0.06), 0 2px 6px rgba(0,0,0,0.04);
            --shadow-lg: 0 12px 40px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
            --font-display: Arial, Helvetica, sans-serif;
            --font-body: Arial, Helvetica, sans-serif;
            --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

            /* === LEGACY ALIASES (for compatibility with rest of app) === */
            --black: #1a1a1a;
            --white: #ffffff;
            --cream: #faf9f7;
            --alert: #c45d3e;
            --alert-hover: #a8472b;
            --gray-100: #f3f0eb;
            --gray-200: #e5e0da;
            --gray-300: #d0c9c0;
            --gray-400: #9E9E9E;
            --gray-500: #757575;
            --gray-600: #555555;
            --gray-800: #1a1a1a;
            --red: #d94438;
            --green: #2e8b57;
            --blue: #3b6fc0;

            --shadow: var(--shadow-sm);
            --border-thick: 1.5px solid var(--border);
            --border-thin: 1px solid var(--border);

            /* === LEGACY GOLD === */
            --gold: #9E9E9E;
            --gold-light: #BDBDBD;

            /* === INK MODE TOKENS === */
            --ink-bg: #1a1a1a;
            --ink-bg-elevated: #2a2a2a;
            --ink-border: #3a3a3a;
            --ink-text-primary: #FFFFFF;
            --ink-text-secondary: #B0B0B0;
            --ink-text-muted: #707070;

            /* Semantic surface tokens */
            --color-bg-light: var(--surface);
            --color-bg-ink: var(--ink-bg);
            --color-text-primary-light: var(--ink);
            --color-text-primary-ink: var(--ink-text-primary);
            --color-text-secondary-ink: var(--ink-text-secondary);
            --color-accent-brand: var(--accent);

            /* === SPACING === */
            --space-tight: 0.5rem;
            --space-normal: 1rem;
            --space-generous: 2rem;
            --space-section: 3rem;

            /* === TYPOGRAPHY SCALE === */
            --text-xs: 0.75rem;
            --text-sm: 0.875rem;
            --text-base: 1rem;
            --text-lg: 1.125rem;
            --text-xl: 1.25rem;
            --text-2xl: 1.5rem;
            --line-height-tight: 1.25;
            --line-height-normal: 1.5;
            --line-height-relaxed: 1.625;

            /* === FONTS === */
            --font-mono: Arial, Helvetica, sans-serif;
            --font-sans: var(--font-body);

            /* === VISUAL HIERARCHY ROLES === */
            --btn-primary-bg: var(--ink);
            --btn-primary-text: var(--white);
            --btn-primary-hover: var(--accent);
            --btn-booking-bg: var(--accent);
            --btn-booking-text: var(--white);
            --btn-booking-hover: var(--accent-hover);
            --btn-supporting-bg: transparent;
            --btn-supporting-border: var(--border);
            --btn-supporting-text: var(--ink);
            --btn-supporting-hover-bg: var(--surface-warm);
            --surface-contextual-bg: var(--surface-card);
            --surface-contextual-border: var(--border);
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }

        /* Smooth scroll — only use explicit { behavior: 'smooth' } where needed.
           Global smooth-scroll causes competing animations on view transitions. */

        /* Selection highlight */
        ::selection {
            background: var(--accent-soft);
            color: var(--ink);
        }

        ::-moz-selection {
            background: var(--accent-soft);
            color: var(--ink);
        }

        /* Global focus-visible ring */
        :focus-visible {
            outline: none;
            box-shadow: 0 0 0 3px var(--accent-soft);
        }

        /* Utility classes */
        .hidden { display: none !important; }
        .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

        body {
            font-family: Arial, Helvetica, sans-serif;
            background: var(--surface);
            color: var(--ink);
            min-height: 100vh;
            line-height: 1.5;
            font-size: 0.95rem;
            -webkit-font-smoothing: antialiased;
        }

        h1, h2, h3 {
            letter-spacing: -0.01em;
            color: var(--ink);
            line-height: 1.2;
        }

        h1 {
            font-size: 2rem;
            font-weight: 700;
        }

        h2 {
            font-size: 1.5rem;
            font-weight: 600;
        }

        h3 {
            font-size: 1.1rem;
            font-weight: 600;
        }

        a {
            color: var(--accent);
            text-decoration: none;
        }

        input, select, textarea, button {
        }

        input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="submit"]):not([type="button"]),
        select,
        textarea {
            background: var(--surface);
            border: 1.5px solid transparent;
            border-radius: var(--radius);
            padding: 14px 16px;
            font-size: 15px;
            color: var(--ink);
            transition: all 0.2s ease;
        }

        input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="submit"]):not([type="button"]):focus,
        select:focus,
        textarea:focus {
            border-color: var(--border-focus);
            background: var(--surface-card);
            box-shadow: 0 0 0 3px var(--accent-soft);
            outline: none;
        }

        input::placeholder,
        textarea::placeholder {
            color: var(--ink-muted);
        }

        /* Monospace for data/numbers */
        .mono, code, .confidence-score, .hotel-price-tag, .rate-price {
        }

        /* Header */
        .site-header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 110;
            height: 64px;
            padding: 0 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: rgba(250, 249, 247, 0.85);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-bottom: 1px solid transparent;
            transition: border-color 0.3s ease;
        }

        .site-header.scrolled {
            border-bottom-color: var(--border);
        }

        .logo {
            font-size: 14px;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            cursor: pointer;
            text-decoration: none;
            color: var(--ink);
            text-transform: uppercase;
            letter-spacing: 0.02em;
        }

        .logo span { color: var(--accent); }

        .logo-icon {
            width: 32px;
            height: 32px;
            background: var(--ink);
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white);
            font-weight: 600;
        }

        /* Header actions container */
        .site-header > div {
            position: relative;
            z-index: 1;
            display: flex !important;
            align-items: center !important;
            gap: 0.75rem !important;
        }

        /* Ensure button container never interferes */
        #headerLoginBtn, #favoritesHeaderBtn, #userMenuContainer {
            flex-shrink: 0;
        }

        /* Header buttons */
        /* ==========================================
           HEADER BUTTON SYSTEM
           All header buttons share identical sizing.
           Variants express hierarchy via color only.
           ========================================== */

        .header-btn {
            height: 36px;
            padding: 0 16px;
            font-size: 0.6875rem;
            line-height: 1;

            display: inline-flex;
            align-items: center;
            justify-content: center;
            white-space: nowrap;
            gap: 6px;

            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.02em;
            border: 1.5px solid var(--accent);
            border-radius: 100px;

            cursor: pointer;
            transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
            text-decoration: none;
            position: relative;
            z-index: 10001;
        }

        /* VARIANT: Default (ghost/outline) */
        .header-btn--default {
            background: transparent;
            color: var(--accent);
            border-color: var(--accent);
        }

        .header-btn--default:hover {
            background: var(--accent);
            color: #FFFFFF;
        }

        .header-btn--default:active {
            background: var(--accent-hover);
            color: #FFFFFF;
        }

        /* VARIANT: Alert (filled accent) */
        .header-btn--alert {
            background: var(--accent);
            color: #FFFFFF;
            border-color: var(--accent);
        }

        .header-btn--alert:hover {
            background: var(--accent-hover);
            color: #FFFFFF;
            border-color: var(--accent-hover);
        }

        .header-btn--alert:active {
            background: var(--accent-hover);
            color: #FFFFFF;
        }

        /* STATE: Hidden */
        .header-btn.hidden {
            display: none !important;
            visibility: hidden !important;
            opacity: 0 !important;
            pointer-events: none !important;
        }

        /* STATE: Focus */
        .header-btn:focus {
            outline: 2px solid var(--accent);
            outline-offset: 2px;
        }

        /* ICONS (if present) */
        .header-btn svg {
            width: 14px;
            height: 14px;
            flex-shrink: 0;
        }

        /* LEGACY ALIASES (for backward compatibility) */
        .auth-btn {
            /* Header usage: delegate to .header-btn */
        }

        .shortlist-btn {
            /* Header usage: delegate to .header-btn */
        }

        /* Views */
        .view {
            display: none;
            min-height: 100vh;
        }

        .view.active {
            display: block;
        }

        /* Hero / Search View */
        .hero {
            min-height: auto;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            align-items: center;
            padding: 5rem 2rem 3rem;
            text-align: center;
            background: var(--surface);
        }

        .hero-badge {
            background: var(--accent-soft);
            color: var(--accent);
            padding: 0.5rem 1.25rem;
            font-size: 0.7rem;
            font-weight: 600;
            letter-spacing: 0.02em;
            text-transform: uppercase;
            margin-bottom: 2rem;
            border: none;
            border-radius: 100px;
        }

        .hero h1 {
            font-size: 2.5rem;
            font-weight: 700;
            line-height: 1.15;
            margin-bottom: 1.5rem;
            max-width: 800px;
            text-transform: none;
            letter-spacing: -0.02em;
            color: var(--ink);
        }

        .hero h1 em {
            font-style: italic;
            font-weight: 600;
            color: var(--accent);
            text-decoration: none;
        }

        .hero > p {
            font-size: 1.05rem;
            color: var(--ink-light);
            max-width: 500px;
            margin-bottom: 1.5rem;
            line-height: 1.6;
        }

        /* Hero Trust Bullets */
        .hero-trust-bullets {
            list-style: none;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 0.75rem 1.5rem;
            margin-bottom: 2.5rem;
            max-width: 700px;
            font-size: 0.8rem;
            color: var(--ink-light);
        }

        .hero-trust-bullets li {
            display: flex;
            align-items: center;
            gap: 0.4rem;
        }

        .hero-trust-bullets svg {
            width: 16px;
            height: 16px;
            color: var(--accent);
            flex-shrink: 0;
        }

        /* Hero Secondary CTA */
        .hero-secondary-cta {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            margin-top: 1.5rem;
            padding: 0.5rem 0;
            font-size: 0.85rem;
            font-weight: 500;
            color: var(--accent);
            text-decoration: none;
            border-bottom: 1px solid transparent;
            transition: color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
        }

        .hero-secondary-cta:hover {
            color: var(--accent-hover);
            border-bottom-color: var(--accent-hover);
        }

        .hero-secondary-cta svg {
            width: 16px;
            height: 16px;
        }

        /* Search Container */
        .search-container {
            background: var(--surface-card);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-md);
            padding: 2rem;
            width: 100%;
            max-width: 900px;
        }

        /* Search Type Toggle - HIDDEN (replaced by Command Bar) */
        .search-type-toggle {
            display: none;
        }

        .search-type-btn {
            display: none;
        }

        .search-type-btn.active {
            display: none;
        }

        .search-type-btn:hover:not(.active) {
            display: none;
        }

        .search-row {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .field {
            flex: 1;
            min-width: 150px;
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
            position: relative;
        }

        .field.destination { flex: 2; min-width: 250px; }

        .field label {
            font-size: 0.7rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.02em;
            color: var(--ink-light);
        }

        .field input, .field select {
            padding: 14px 16px;
            border: 1.5px solid var(--border);
            border-radius: var(--radius);
            font-size: 1rem;
            transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
            background: var(--surface);
        }

        .field input:focus, .field select:focus {
            outline: none;
            border-color: var(--border-focus);
            box-shadow: 0 0 0 3px var(--accent-soft);
            background: var(--surface-card);
        }

        .field input::placeholder {
            color: var(--ink-muted);
        }

        /* Autocomplete */
        .autocomplete-dropdown {
            display: none;
            position: absolute;
            top: calc(100% + 4px);
            left: 0;
            right: 0;
            background: var(--surface-card);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            box-shadow: var(--shadow-lg);
            max-height: 280px;
            overflow-y: auto;
            z-index: 1000;
        }

        .autocomplete-dropdown.visible {
            display: block;
        }

        .autocomplete-item {
            padding: 0.75rem 1rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 0.75rem;
            transition: background 0.15s var(--ease-out);
            border-bottom: 1px solid var(--border);
        }

        .autocomplete-item:last-child {
            border-bottom: none;
        }

        .autocomplete-item:hover,
        .autocomplete-item[aria-selected="true"] {
            background: var(--accent-soft);
            color: var(--ink);
        }

        .autocomplete-item:hover .address {
            color: var(--ink-muted);
        }

        .autocomplete-item .name {
            font-weight: 600;
            font-size: 0.875rem;
        }

        .autocomplete-item .address {
            font-size: 0.7rem;
            color: var(--ink-muted);
        }

        /* Buttons */
        .search-btn {
            padding: 1rem 2rem;
            background: var(--accent);
            color: #FFFFFF;
            border: 1.5px solid var(--accent);
            font-size: 0.875rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.02em;
            cursor: pointer;
            transition: all 0.2s var(--ease-out);
            align-self: flex-end;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            border-radius: var(--radius);
        }

        .search-btn:hover {
            background: var(--accent-hover);
            color: #FFFFFF;
        }

        .search-btn:disabled {
            opacity: 0.4;
            cursor: not-allowed;
            background: var(--ink-muted);
            border-color: var(--ink-muted);
        }

        .guest-row {
            display: flex;
            gap: 2rem;
            margin-top: 1.5rem;
            padding-top: 1.5rem;
            border-top: 1px solid var(--border);
            justify-content: center;
            flex-wrap: wrap;
        }

        .guest-control {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .guest-control span {
            font-size: 0.75rem;
            color: var(--ink);
            min-width: 55px;
            text-transform: uppercase;
            letter-spacing: 0.01em;
        }

        .guest-btn {
            width: 32px;
            height: 32px;
            border: 1.5px solid var(--border);
            border-radius: var(--radius-sm);
            background: var(--surface-card);
            cursor: pointer;
            font-size: 1.25rem;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.15s var(--ease-out);
        }

        .guest-btn:hover {
            background: var(--accent);
            color: #FFFFFF;
            border-color: var(--accent);
        }

        .guest-count {
            font-weight: 700;
            font-size: 1.125rem;
            min-width: 24px;
            text-align: center;
        }

        /* Error/Info Messages */
        .message {
            padding: 1rem;
            margin-top: 1rem;
            font-size: 0.875rem;
            display: none;
            border: 1px solid var(--border);
            border-radius: var(--radius);
        }

        .message.visible { display: block; }
        .message.error { background: #fef2f2; border-color: var(--red); color: var(--red); }
        .message.info { background: var(--surface); border-color: var(--border); color: var(--ink); }
        .message.success { background: #dcfce7; border-color: var(--green); color: var(--green); }

        /* === COMMAND BAR - Terminal-style Unified Search === */
        .command-bar-prompt {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            flex-wrap: wrap;
            padding: 1rem 0;
            border-bottom: 1px solid var(--border);
            margin-bottom: 1.5rem;
        }

        .prompt-symbol {
            font-size: 1.5rem;
            font-weight: 400;
            color: var(--accent);
        }

        .prompt-text {
            font-size: 1rem;
            color: var(--ink-muted);
            letter-spacing: 0.02em;
        }

        .command-vibe-wrapper {
            position: relative;
        }

        .command-vibe-select {
            font-size: 1rem;
            font-weight: 600;
            padding: 0.5rem 1rem;
            border: 1.5px solid var(--border);
            border-radius: var(--radius-sm);
            background: var(--surface-card);
            color: var(--ink);
            cursor: pointer;
            min-width: 180px;
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231a1a1a' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 0.75rem center;
            padding-right: 2.5rem;
            transition: border-color 0.2s var(--ease-out), color 0.2s;
        }

        .command-vibe-select.input-inactive {
            border: 1.5px solid var(--border);
            color: var(--ink-muted);
        }

        .command-vibe-select.input-inactive option:not(:first-child) {
            color: var(--ink);
        }

        .command-vibe-select:not(.input-inactive) {
            border-color: var(--accent);
            color: var(--ink);
        }

        .command-vibe-select:focus {
            outline: none;
            border-color: var(--accent);
            box-shadow: 0 0 0 3px var(--accent-soft);
        }

        .command-vibe-select:hover {
            background-color: var(--surface-warm);
        }

        .command-destination-wrapper {
            position: relative;
            flex: 1;
            min-width: 200px;
        }

        .command-destination-input {
            font-size: 1rem;
            font-weight: 600;
            padding: 0.5rem 1rem;
            border: 1.5px solid var(--border);
            border-radius: var(--radius-sm);
            background: var(--surface-card);
            color: var(--ink);
            width: 100%;
        }

        .command-destination-input:focus {
            outline: none;
            border-color: var(--accent);
            box-shadow: 0 0 0 3px var(--accent-soft);
        }

        .command-destination-input::placeholder {
            color: var(--ink-muted);
            font-weight: 400;
        }

        .command-date-row {
            display: flex;
            gap: 24px;
            flex-wrap: wrap;
            align-items: flex-end;
        }

        .command-field {
            flex: 1;
            min-width: 140px;
            display: flex;
            flex-direction: column;
            gap: 0.375rem;
        }

        .command-field label {
            font-size: 0.6875rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.02em;
            color: var(--ink-muted);
        }

        .command-field input[type="date"] {
            font-size: 0.875rem;
            padding: 0.625rem 0.75rem;
            border: 1.5px solid var(--border);
            border-radius: var(--radius-sm);
            background: var(--surface-card);
            height: 48px;
        }

        .command-field input[type="date"]:focus {
            outline: none;
            border-color: var(--accent);
            box-shadow: 0 0 0 3px var(--accent-soft);
        }

        .guests-field {
            min-width: 100px;
            flex: 0;
        }

        .guest-control-inline {
            display: flex;
            gap: 8px;
            align-items: center;
            border: none;
            background: transparent;
            height: 48px;
        }

        .guest-control-inline .guest-btn {
            width: 32px !important;
            height: 48px !important;
            border: none !important;
            background: transparent !important;
            font-size: 1.25rem;
            cursor: pointer;
            font-weight: 700;
            color: var(--ink);
            padding: 0;
            margin: 0;
            transition: color 0.2s var(--ease-out);
        }

        .guest-control-inline .guest-btn:hover {
            color: var(--accent);
        }

        .guest-number-box {
            width: 48px !important;
            height: 48px !important;
            min-width: 48px !important;
            border: 1.5px solid var(--border) !important;
            border-radius: var(--radius-sm) !important;
            font-size: 0.875rem;
            text-align: center;
            font-weight: 700;
            color: var(--ink);
            background: var(--surface-card) !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            margin: 0 !important;
            padding: 0 !important;
        }

        .execute-btn {
            flex: 0 !important;
            white-space: nowrap;
            padding: 0 1.5rem !important;
            height: 48px !important;
            border: 1.5px solid var(--ink) !important;
            margin-left: 20px !important;
            min-width: 140px !important;
            position: relative !important;
        }

        /* Quick Vibe Scroller - Horizontal tap-friendly */
        .quick-vibe-scroller {
            margin-top: 1.5rem;
            padding-top: 1.5rem;
            border-top: 1px solid var(--border);
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
        }

        .quick-vibe-scroller::-webkit-scrollbar {
            display: none;
        }

        .quick-vibe-scroller .vibe-chips {
            display: flex;
            gap: 8px;
            flex-wrap: nowrap;
            padding-bottom: 4px;
        }

        /* Vibe chips */
        .quick-vibe-scroller .vibe-chip {
            font-size: 0.75rem;
            font-weight: 500;
            padding: 0.5rem 1rem !important;
            border: 1.5px solid var(--border) !important;
            border-radius: 100px !important;
            background-color: var(--surface-card) !important;
            background: var(--surface-card) !important;
            color: var(--ink) !important;
            cursor: pointer;
            text-transform: none !important;
            letter-spacing: 0;
            white-space: nowrap;
            transition: all 0.2s var(--ease-out);
            display: flex !important;
            align-items: center;
            gap: 0.5rem;
        }

        .quick-vibe-scroller .vibe-chip:hover {
            border-color: var(--accent) !important;
            background: var(--accent-soft) !important;
        }

        .quick-vibe-scroller .vibe-chip.selected {
            background: var(--accent) !important;
            color: #FFFFFF !important;
            border-color: var(--accent) !important;
        }

        .quick-vibe-scroller .vibe-chip-image {
            width: 24px !important;
            height: 24px !important;
            border-radius: 50% !important;
            object-fit: cover;
            filter: grayscale(100%);
            opacity: 0.3 !important;
            mix-blend-mode: multiply;
        }

        .quick-vibe-scroller .vibe-chip.selected .vibe-chip-image {
            filter: grayscale(0%) brightness(2);
            opacity: 1 !important;
            mix-blend-mode: normal;
        }

        .quick-vibe-scroller .vibe-chip-label,
        .quick-vibe-scroller .vibe-chip span:not(.vibe-chip-image) {
            background: transparent !important;
            padding: 0;
            border-radius: 0;
            color: inherit !important;
        }

        .quick-vibe-scroller .vibe-chip.selected .vibe-chip-label,
        .quick-vibe-scroller .vibe-chip.selected span:not(.vibe-chip-image) {
            background: transparent !important;
            color: #FFFFFF !important;
        }

        /* ===========================================
         * EDITORIAL SEARCH BOX
         * =========================================== */

        /* Editorial search box is always visible */
        .searchbox-editorial { display: block; }

        /* Editorial title */
        .editorial-title {
            font-size: 0.8rem;
            font-weight: 500;
            text-transform: none;
            letter-spacing: 0;
            color: var(--ink-light);
            margin-bottom: 0.75rem;
        }

        /* Experience path buttons — compact pill row */
        .editorial-paths {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 0.5rem;
            margin-bottom: 1.25rem;
        }

        .editorial-path-btn {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            padding: 0.4rem 0.85rem;
            background: var(--surface);
            border: 1.5px solid var(--border);
            border-radius: 100px;
            font-size: 0.78rem;
            font-weight: 500;
            color: var(--ink-light);
            cursor: pointer;
            transition: all 0.2s var(--ease-out);
            text-decoration: none;
            white-space: nowrap;
        }

        .editorial-path-btn:hover {
            border-color: var(--accent);
            background: var(--accent-soft);
            color: var(--ink);
        }

        .editorial-path-btn:hover .editorial-path-icon {
            color: var(--accent);
        }

        .editorial-path-icon {
            flex-shrink: 0;
            width: 16px;
            height: 16px;
            color: var(--accent);
            transition: color 0.2s var(--ease-out);
        }

        .editorial-path-label {
            flex: 1;
        }

        .editorial-destination-wrapper {
            position: relative;
            min-width: 0;
        }

        .editorial-destination-wrapper label {
            display: block;
            font-size: 0.7rem;
            font-weight: 500;
            color: var(--ink-light);
            margin-bottom: 0.3rem;
        }

        /* Date fields — inline within the grid row */
        .editorial-date-row {
            display: contents;
        }

        .editorial-date-field {
            /* Each field is a direct grid child via display:contents on parent */
        }

        .editorial-date-field input[type="date"] {
            width: 100%;
            padding: 0.75rem 1rem;
            font-size: 0.875rem;
            border: 1.5px solid var(--border);
            border-radius: var(--radius);
            background: var(--surface);
            color: var(--ink);
            transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
            box-sizing: border-box;
        }

        .editorial-date-field input[type="date"]:focus {
            outline: none;
            border-color: var(--border-focus);
            box-shadow: 0 0 0 3px var(--accent-soft);
        }

        .editorial-destination-input {
            width: 100%;
            padding: 0.75rem 1rem;
            font-size: 0.875rem;
            border: 1.5px solid var(--border);
            border-radius: var(--radius);
            background: var(--surface);
            color: var(--ink);
            transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
        }

        .editorial-destination-input:focus {
            outline: none;
            border-color: var(--border-focus);
            box-shadow: 0 0 0 3px var(--accent-soft);
        }

        .editorial-destination-input::placeholder {
            color: var(--ink-muted);
        }

        .editorial-browse-btn {
            padding: 0.75rem 1.25rem;
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.04em;
            background: transparent;
            border: 1.5px solid var(--accent);
            border-radius: var(--radius);
            color: var(--accent);
            cursor: pointer;
            white-space: nowrap;
            transition: all 0.2s var(--ease-out);
        }

        .editorial-browse-btn:hover {
            background: var(--accent);
            color: #FFFFFF;
        }

        /* Selected state for feel pills */
        .editorial-path-btn.selected {
            background: var(--accent);
            color: #FFFFFF;
            border-color: var(--accent);
        }

        .editorial-path-btn.selected .editorial-path-icon {
            color: #FFFFFF;
        }

        /* Connector line between feel pills and search form */
        .editorial-connector {
            display: none;
        }

        /* Search form section — always visible */
        .editorial-secondary {
            padding-top: 0;
            border-top: none;
            transition: none;
        }

        .editorial-secondary .editorial-browse-label {
            display: none;
        }

        /* Search form — horizontal row on desktop */
        .editorial-destination-row {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr auto 1fr;
            gap: 0.5rem;
            align-items: end;
        }

        /* Consistent height for all search bar controls */
        .editorial-destination-input,
        .editorial-date-field input[type="date"],
        .guest-selector-trigger,
        .editorial-submit-btn {
            height: 44px;
            box-sizing: border-box;
        }

        @media (max-width: 768px) {
            .editorial-destination-row {
                grid-template-columns: 1fr;
            }
        }

        /* Brand filter row — secondary row below search bar */
        .brand-filter-row {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            margin-top: 0.6rem;
        }

        .brand-filter-row .brand-filter-label {
            font-size: 0.75rem;
            color: var(--ink-light);
            white-space: nowrap;
        }

        .brand-selector-wrapper {
            position: relative;
            display: inline-block;
        }

        .brand-selector-trigger {
            padding: 0.35rem 0.75rem;
            font-size: 0.78rem;
            border: 1.5px solid var(--border);
            border-radius: 100px;
            background: var(--surface);
            color: var(--ink);
            cursor: pointer;
            text-align: left;
            transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            white-space: nowrap;
        }

        .brand-selector-trigger:hover {
            border-color: var(--accent);
        }

        .brand-selector-trigger:focus {
            outline: none;
            border-color: var(--border-focus);
            box-shadow: 0 0 0 3px var(--accent-soft);
        }

        .brand-selector-trigger .brand-label {
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .brand-selector-trigger .brand-clear {
            flex-shrink: 0;
            width: 14px;
            height: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: var(--ink-muted);
            color: #fff;
            font-size: 0.6rem;
            line-height: 1;
            cursor: pointer;
        }

        .brand-selector-trigger .brand-clear:hover {
            background: var(--accent);
        }

        .brand-dropdown {
            display: none;
            position: absolute;
            top: calc(100% + 4px);
            left: 0;
            min-width: 280px;
            max-height: 340px;
            overflow-y: auto;
            background: var(--surface-card);
            border: 1.5px solid var(--border);
            border-radius: var(--radius);
            box-shadow: var(--shadow-lg);
            padding: 0;
            z-index: 100;
        }

        .brand-dropdown.open {
            display: block;
        }

        .brand-search-input {
            width: 100%;
            padding: 0.6rem 0.75rem;
            border: none;
            border-bottom: 1px solid var(--border);
            font-size: 0.82rem;
            background: transparent;
            color: var(--ink);
            outline: none;
            box-sizing: border-box;
        }

        .brand-search-input::placeholder {
            color: var(--ink-muted);
        }

        .brand-group-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0.5rem 0.75rem 0.25rem;
            font-size: 0.72rem;
            font-weight: 600;
            color: var(--ink-light);
            text-transform: uppercase;
            letter-spacing: 0.03em;
            cursor: pointer;
        }

        .brand-group-header:hover {
            color: var(--accent);
        }

        .brand-option {
            padding: 0.45rem 0.75rem 0.45rem 1.25rem;
            font-size: 0.82rem;
            cursor: pointer;
            color: var(--ink);
            transition: background 0.15s;
        }

        .brand-option:hover {
            background: var(--accent-soft);
        }

        .brand-option.group-select {
            padding-left: 0.75rem;
            font-weight: 600;
        }

        .brand-option.hidden {
            display: none;
        }

        .editorial-date-field label {
            display: block;
            font-size: 0.7rem;
            font-weight: 500;
            text-transform: none;
            letter-spacing: 0;
            color: var(--ink-light);
            margin-bottom: 0.3rem;
        }

        /* Guest selector */
        .guest-selector-wrapper {
            position: relative;
        }

        .guest-selector-wrapper label {
            display: block;
            font-size: 0.7rem;
            font-weight: 500;
            color: var(--ink-light);
            margin-bottom: 0.3rem;
        }

        .guest-selector-trigger {
            width: 100%;
            padding: 0.75rem 1rem;
            font-size: 0.875rem;
            border: 1.5px solid var(--border);
            border-radius: var(--radius);
            background: var(--surface);
            color: var(--ink);
            cursor: pointer;
            text-align: left;
            transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
        }

        .guest-selector-trigger:focus {
            outline: none;
            border-color: var(--border-focus);
            box-shadow: 0 0 0 3px var(--accent-soft);
        }

        .guest-dropdown {
            display: none;
            position: absolute;
            top: calc(100% + 4px);
            left: 0;
            right: 0;
            min-width: 240px;
            background: var(--surface-card);
            border: 1.5px solid var(--border);
            border-radius: var(--radius);
            box-shadow: var(--shadow-lg);
            padding: 0.75rem;
            z-index: 100;
        }

        .guest-dropdown.open {
            display: block;
        }

        .guest-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0.4rem 0;
        }

        .guest-row-label {
            font-size: 0.82rem;
            color: var(--ink);
        }

        .guest-row-controls {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .guest-row-controls button {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            border: 1.5px solid var(--border);
            background: var(--surface);
            font-size: 1rem;
            line-height: 1;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--ink);
            transition: all 0.15s;
        }

        .guest-row-controls button:hover {
            border-color: var(--accent);
            color: var(--accent);
        }

        .guest-row-controls span {
            font-size: 0.875rem;
            min-width: 1.5rem;
            text-align: center;
        }

        /* Submit button — full-width terracotta CTA */
        .editorial-submit-btn {
            width: 100%;
            padding: 0.75rem 1.5rem;
            font-size: 0.875rem;
            font-weight: 600;
            text-transform: none;
            letter-spacing: 0;
            border: 1.5px solid var(--accent);
            border-radius: var(--radius);
            cursor: pointer;
            white-space: nowrap;
            transition: all 200ms var(--ease-out);
            background: var(--accent);
            color: #FFFFFF;
        }

        .editorial-submit-btn:hover {
            background: var(--accent-hover);
        }

        /* Muted state: no destination yet (still clickable — shows inline error) */
        .editorial-submit-btn.muted {
            background: var(--accent);
            color: #FFFFFF;
            opacity: 0.6;
        }

        /* Primary state: ready to submit */
        .editorial-submit-btn.primary {
            background: var(--accent);
            color: #FFFFFF;
            border-color: var(--accent);
            cursor: pointer;
            opacity: 1;
        }

        .editorial-submit-btn.primary:hover {
            background: var(--accent-hover);
            color: #FFFFFF;
        }

        /* Disabled state: no feel selected */
        .editorial-submit-btn:disabled {
            background: var(--accent);
            border: 1.5px solid var(--accent);
            color: #FFFFFF;
            cursor: not-allowed;
            opacity: 0.4;
        }

        /* Helper microcopy */
        .editorial-microcopy {
            margin-top: 1rem;
            font-size: 0.7rem;
            color: var(--ink-muted);
            text-transform: none;
            letter-spacing: 0;
        }

        /* Trust badge — subtle pill near search */
        .trust-badge-inline {
            font-size: 0.65rem;
            font-weight: 600;
            padding: 0.35rem 0.85rem;
            border: none;
            border-radius: 100px;
            background: var(--sage-soft, #e8ede5);
            color: var(--sage, #6b7c6b);
            text-transform: none;
            letter-spacing: 0.02em;
            margin-bottom: 1.25rem;
        }

        .trust-badge-inline svg {
            display: none;
        }

        /* Destination inspiration cards */
        .destination-inspiration {
            max-width: 900px;
            margin: 0 auto;
            padding: 2rem 2rem 3rem;
        }

        .destination-inspiration h3 {
            font-size: 1rem;
            font-weight: 600;
            color: var(--ink);
            text-align: center;
            margin-bottom: 1.25rem;
        }

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

        @media (max-width: 768px) {
            .inspiration-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 480px) {
            .inspiration-grid {
                grid-template-columns: 1fr;
            }
        }

        .inspiration-card {
            position: relative;
            display: block;
            border-radius: 8px;
            overflow: hidden;
            cursor: pointer;
            height: 200px;
            transition: transform 0.2s, box-shadow 0.2s;
            text-decoration: none;
            color: inherit;
        }

        .inspiration-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
        }

        .inspiration-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s;
        }

        .inspiration-card:hover img {
            transform: scale(1.05);
        }


        .inspiration-card .inspiration-label {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 3rem 1rem 1rem;
            background: linear-gradient(transparent, rgba(0,0,0,0.65));
            pointer-events: none;
        }

        .inspiration-city {
            display: block;
            color: #fff;
            font-size: 1.3rem;
            font-weight: 700;
            line-height: 1.2;
        }

        .inspiration-country {
            display: block;
            color: rgba(255, 255, 255, 0.95);
            font-size: 0.85rem;
            font-weight: 400;
            margin-top: 0.15rem;
        }

        .inspiration-count {
            display: block;
            color: rgba(255, 255, 255, 0.75);
            font-size: 0.75rem;
            font-weight: 400;
            margin-top: 0.2rem;
        }

        /* Empty State - Mission Failure */
        .empty-state.mission-failure {
            text-align: center;
            padding: 4rem 2rem;
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            background: var(--surface-card);
            max-width: 500px;
            margin: 2rem auto;
        }

        .empty-state.mission-failure h3 {
            font-size: 1.5rem;
            font-weight: 400;
            text-transform: none;
            letter-spacing: -0.01em;
            margin-bottom: 0.5rem;
        }

        .empty-state.mission-failure p {
            font-size: 0.875rem;
            color: var(--ink-light);
        }

        /* Mobile Sticky Tactical Bar */
        @media (max-width: 768px) {
            .mobile-tactical-bar {
                position: fixed;
                bottom: 0;
                left: 0;
                right: 0;
                background: var(--surface-card);
                border-top: 1px solid var(--border);
                padding: 0.75rem;
                display: flex;
                gap: 0.5rem;
                z-index: 90;
                box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
            }

            .mobile-tactical-btn {
                flex: 1;
                font-size: 0.75rem;
                font-weight: 600;
                padding: 0.75rem;
                border: 1px solid var(--border);
                border-radius: var(--radius-sm);
                background: var(--surface-card);
                color: var(--ink);
                cursor: pointer;
                transition: all 0.2s var(--ease-out);
            }

            .mobile-tactical-btn:hover {
                background: var(--ink);
                color: #FFFFFF;
            }

            .results-section {
                padding-bottom: 5rem;
            }
        }

        /* Loading - Brutalist */
        .loading-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(250, 249, 247, 0.92);
            z-index: 1000;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            gap: 1.5rem;
        }

        .loading-overlay.visible {
            display: flex;
        }

        .spinner {
            width: 48px;
            height: 48px;
            border: 3px solid var(--border);
            border-top-color: var(--accent);
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
        }

        .loading-overlay p {
            font-size: 0.875rem;
            color: var(--ink-light);
        }

        @keyframes spin { to { transform: rotate(360deg); } }

        /* Results Section */
        .results-section {
            padding: 5rem 40px 3rem;
            max-width: 960px;
            margin: 0 auto;
        }

        .results-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
            flex-wrap: wrap;
            gap: 1rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid var(--border);
        }

        .results-header h2 {
            font-size: 1.35rem;
            font-weight: 400;
            text-transform: none;
            letter-spacing: -0.01em;
            color: var(--ink);
        }

        .results-header h2 strong {
            font-weight: 400;
            color: var(--accent);
        }

        .back-btn {
            font-size: 0.75rem;
            font-weight: 500;
            padding: 0.5rem 1rem;
            background: transparent;
            border: 1.5px solid var(--border);
            border-radius: var(--radius);
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.2s var(--ease-out);
            color: var(--ink-light);
        }

        .back-btn:hover {
            border-color: var(--accent);
            color: var(--accent);
        }

        .sort-select {
            font-size: 0.75rem;
            padding: 0.5rem 1rem;
            border: 1.5px solid var(--border);
            border-radius: var(--radius);
            cursor: pointer;
            background: var(--surface-card);
            color: var(--ink);
        }

        .hotel-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
            gap: 1.5rem;
        }

        /* === HOTEL CARD === */
        a.hotel-card-link {
            text-decoration: none;
            color: inherit;
            display: flex;
            flex-direction: column;
        }

        .hotel-card {
            background: var(--surface-card);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            overflow: hidden;
            transition: all 0.3s var(--ease-out);
            cursor: pointer;
            display: flex;
            flex-direction: column;
        }

        .hotel-card:hover {
            border-color: var(--accent);
            box-shadow: var(--shadow-md);
            transform: translateY(-2px);
        }

        .hotel-image {
            position: relative;
            height: 200px;
            background: var(--surface);
            overflow: hidden;
        }

        .hotel-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s var(--ease-out);
        }

        .hotel-card:hover .hotel-image img {
            transform: scale(1.03);
        }

        .hotel-badge {
            position: absolute;
            top: 12px;
            left: 12px;
            background: rgba(255, 255, 255, 0.92);
            color: var(--ink);
            padding: 0.3rem 0.75rem;
            font-size: 0.65rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.04em;
            border-radius: 100px;
            backdrop-filter: blur(8px);
        }

        .hotel-badge.refundable {
            background: rgba(220, 252, 231, 0.92);
            color: #166534;
        }

        .hotel-badge.price-below {
            background: rgba(123, 143, 107, 0.92);
            color: white;
            top: auto;
            bottom: 12px;
            left: 12px;
            text-transform: none;
        }

        .hotel-price-tag {
            position: absolute;
            bottom: 12px;
            right: 12px;
            background: rgba(26, 26, 26, 0.85);
            color: #FFFFFF;
            padding: 0.4rem 0.75rem;
            font-weight: 600;
            font-size: 1.125rem;
            border-radius: var(--radius-sm);
            backdrop-filter: blur(8px);
        }

        .hotel-price-tag small {
            font-weight: 400;
            font-size: 0.65rem;
            color: rgba(255, 255, 255, 0.6);
        }

        .price-tax-note {
            display: block;
            font-size: 0.55rem;
            font-weight: 400;
            color: rgba(255, 255, 255, 0.5);
            letter-spacing: 0.02em;
            margin-top: 1px;
        }

        .hotel-price-tag.price-on-request {
            font-size: 0.8rem;
            font-weight: 500;
            letter-spacing: 0;
            background: rgba(26, 26, 26, 0.7);
        }

        .price-transparency-badge {
            position: absolute;
            bottom: 8px;
            right: 12px;
            display: inline-flex;
            align-items: center;
            gap: 3px;
            font-size: 10px;
            font-weight: 500;
            color: rgba(255, 255, 255, 0.85);
            background: rgba(26, 26, 26, 0.55);
            padding: 2px 8px;
            border-radius: 4px;
            letter-spacing: 0.02em;
            line-height: 1.4;
        }

        .hotel-content { padding: 1rem 1.25rem 1.25rem; }

        .hotel-meta {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 0.5rem;
            flex-wrap: wrap;
        }

        .hotel-stars {
            color: var(--gold, #c4a35a);
            font-size: 0.7rem;
            letter-spacing: -0.02em;
        }

        .hotel-rating {
            background: var(--accent-soft);
            color: var(--accent);
            padding: 0.125rem 0.5rem;
            font-size: 0.7rem;
            font-weight: 600;
            border-radius: 100px;
        }

        .hotel-name {
            font-size: 1.1rem;
            font-weight: 400;
            margin-bottom: 0.25rem;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-transform: none;
            letter-spacing: -0.01em;
            color: var(--ink);
        }

        .hotel-location {
            font-size: 0.8rem;
            color: var(--ink-light);
            margin-bottom: 0.75rem;
        }

        .location-distance-badge {
            display: inline-block;
            font-size: 0.7rem;
            color: var(--ink-muted, #888);
            background: var(--bg-subtle, #f5f5f5);
            padding: 1px 6px;
            border-radius: 3px;
            margin-left: 4px;
            white-space: nowrap;
        }

        .hotel-tags {
            display: none;
        }

        .hotel-tag {
            display: none;
        }

        /* === TACTICAL CARD LAYOUT === */
        .tactical-card .hotel-content {
            padding: 1rem 1.25rem 1.25rem;
            display: flex;
            flex-direction: column;
            flex: 1;
        }

        .tactical-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 0.5rem;
        }

        .confidence-score {
            font-size: 0.65rem;
            font-weight: 600;
            color: var(--accent);
            letter-spacing: 0.04em;
        }

        .hotel-at-hotel-fee {
            font-size: 0.75rem;
            color: var(--ink-muted);
            margin: 0.125rem 0 0;
        }

        .hotel-facility-pills {
            display: flex;
            flex-wrap: wrap;
            gap: 0.35rem;
            margin: 0.5rem 0;
            padding: 0.5rem 0;
            border-top: 1px solid var(--border);
        }

        .facility-pill {
            font-size: 0.7rem;
            padding: 0.2rem 0.5rem;
            border-radius: 999px;
            background: var(--surface-hover, #f5f3f0);
            color: var(--ink-light, #666);
            white-space: nowrap;
        }

        .facility-pill.highlight {
            background: rgba(61, 139, 94, 0.1);
            color: #3d8b5e;
        }

        .facility-pill.caution {
            background: rgba(192, 84, 77, 0.1);
            color: #c0544d;
        }

        .tactical-actions {
            display: flex;
            gap: 0.5rem;
            margin-top: auto;
            padding-top: 0.75rem;
        }

        .tactical-actions .save-btn {
            font-size: 0.7rem;
            font-weight: 600;
            padding: 0.5rem 0.75rem;
            border: 1.5px solid var(--border);
            border-radius: var(--radius);
            background: var(--surface-card);
            color: var(--ink);
            cursor: pointer;
            position: static;
            width: auto;
            height: auto;
            transition: all 0.2s var(--ease-out);
        }

        .tactical-actions .save-btn.saved {
            background: var(--accent);
            color: #FFFFFF;
            border-color: var(--accent);
        }

        .tactical-actions .save-btn:hover {
            border-color: var(--accent);
            color: var(--accent);
        }

        .view-intel-btn {
            flex: 1;
            font-size: 0.7rem;
            font-weight: 600;
            padding: 0.5rem 0.75rem;
            border: 1.5px solid var(--accent);
            border-radius: var(--radius);
            background: var(--accent);
            color: #FFFFFF;
            cursor: pointer;
            transition: all 0.2s var(--ease-out);
        }

        .view-intel-btn:hover {
            background: var(--accent-hover);
            border-color: var(--accent-hover);
        }

        /* Hotel detail name — reset h1 to match former h2 sizing */
        .detail-name-heading {
            font-size: 1.5em; /* matches browser default h2 */
            margin: 0.83em 0; /* matches browser default h2 */
        }

        /* Hotel Detail View */
        .hotel-detail-view {
            padding: 6rem 2rem 3rem;
            max-width: 1200px;
            margin: 0 auto;
        }

        .hotel-detail-header {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
            margin-bottom: 2rem;
        }

        .hotel-detail-left {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        /* Hotel Fit Card (radar + score) */
        .hotel-fit-card {
            background: var(--surface-card, #fff);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            padding: 1.5rem;
            text-align: center;
            transition: opacity 0.4s ease;
        }

        .hotel-fit-card-title {
            font-size: 1rem;
            font-weight: 600;
            margin: 0 0 1rem;
            color: var(--ink);
        }

        .hotel-fit-card-loading {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-height: 200px;
            gap: 1rem;
        }

        .hotel-fit-spinner {
            width: 32px;
            height: 32px;
            border: 3px solid var(--border, #e5e2de);
            border-top-color: var(--accent, #c45d3e);
            border-radius: 50%;
            animation: fitSpin 0.8s linear infinite;
        }

        @keyframes fitSpin {
            to { transform: rotate(360deg); }
        }

        .hotel-fit-loading-text {
            font-size: 0.8rem;
            color: var(--ink-muted, #999);
            margin: 0;
        }

        .hotel-fit-error-text {
            font-size: 0.85rem;
            color: var(--ink-muted, #999);
            text-align: center;
            padding: 2rem 0;
            margin: 0;
        }

        .hotel-fit-card-radar {
            margin: 0 auto;
            transition: opacity 0.4s ease;
        }

        .hotel-fit-card-radar svg {
            display: block;
            margin: 0 auto;
            max-width: 100%;
            height: auto;
        }

        /* CTA card for users without TravelDNA */
        .hotel-fit-cta-card {
            background: var(--surface-card, #fff);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            padding: 1.5rem;
            text-align: center;
        }

        .hotel-fit-cta-text {
            font-size: 0.875rem;
            color: var(--ink-light);
            margin: 0.5rem 0 1rem;
            line-height: 1.5;
        }

        .hotel-fit-cta-btn {
            display: inline-block;
            background: var(--accent, #c45d3e);
            color: #fff;
            border: none;
            border-radius: var(--radius);
            padding: 0.625rem 1.5rem;
            font-size: 0.875rem;
            font-weight: 600;
            cursor: pointer;
            transition: opacity 0.2s;
        }

        .hotel-fit-cta-btn:hover {
            opacity: 0.9;
        }

        .hotel-fit-cta-time {
            display: block;
            font-size: 0.75rem;
            color: var(--ink-muted, #888);
            margin-top: 0.5rem;
        }

        @media (max-width: 768px) {
            .hotel-detail-header {
                grid-template-columns: 1fr;
            }
        }

        /* Photo Carousel */
        .hotel-gallery {
            position: relative;
            border-radius: var(--radius-lg);
            overflow: hidden;
            aspect-ratio: 16 / 10;
            max-height: 450px;
            background: var(--surface);
        }

        .hotel-gallery img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .carousel-container {
            position: relative;
            width: 100%;
            height: 100%;
        }

        .carousel-track {
            display: flex;
            height: 100%;
            transition: transform 0.3s ease-out;
        }

        .carousel-slide {
            flex: 0 0 100%;
            width: 100%;
            height: 100%;
            position: relative;
            cursor: pointer;
        }

        .carousel-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            pointer-events: none; /* Let clicks go through to slide */
        }

        .carousel-slide img.carousel-loading {
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .carousel-slide img.carousel-loaded {
            opacity: 1;
        }

        /* Carousel Controls */
        .carousel-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.9);
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10;
            opacity: 0;
            transition: opacity 0.2s ease, background 0.2s ease;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        }

        .hotel-gallery:hover .carousel-btn,
        .carousel-btn:focus {
            opacity: 1;
        }

        .carousel-btn:hover {
            background: #fff;
        }

        .carousel-btn:focus {
            outline: 2px solid var(--accent);
            outline-offset: 2px;
        }

        .carousel-btn:disabled {
            opacity: 0.3;
            cursor: not-allowed;
        }

        .carousel-btn svg {
            width: 20px;
            height: 20px;
            stroke: var(--ink);
        }

        .carousel-btn-prev {
            left: 12px;
        }

        .carousel-btn-next {
            right: 12px;
        }

        /* Carousel Counter */
        .carousel-counter {
            position: absolute;
            bottom: 12px;
            right: 12px;
            background: rgba(0, 0, 0, 0.6);
            color: #fff;
            padding: 4px 10px;
            border-radius: 100px;
            font-size: 0.75rem;
            z-index: 10;
            backdrop-filter: blur(8px);
        }

        /* Carousel Dots (alternative to counter for few images) */
        .carousel-dots {
            position: absolute;
            bottom: 12px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 6px;
            z-index: 10;
        }

        .carousel-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.5);
            border: none;
            padding: 0;
            cursor: pointer;
            transition: background 0.2s ease, transform 0.2s ease;
        }

        .carousel-dot:hover {
            background: rgba(255, 255, 255, 0.8);
        }

        .carousel-dot.active {
            background: #fff;
            transform: scale(1.2);
        }

        .carousel-dot:focus {
            outline: 2px solid var(--accent);
            outline-offset: 2px;
        }

        /* Placeholder */
        .carousel-placeholder {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--surface);
            color: var(--ink-muted);
        }

        .carousel-placeholder svg {
            width: 64px;
            height: 64px;
        }

        /* Mobile adjustments */
        @media (max-width: 768px) {
            .hotel-gallery {
                border-radius: var(--radius-sm);
                max-height: 300px;
            }

            .carousel-btn {
                width: 36px;
                height: 36px;
                opacity: 0.8;
            }

            .carousel-btn svg {
                width: 18px;
                height: 18px;
            }

            .carousel-btn-prev {
                left: 8px;
            }

            .carousel-btn-next {
                right: 8px;
            }
        }

        /* ========================================
           LIGHTBOX GALLERY
           ======================================== */
        .lightbox-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.95);
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.2s ease, visibility 0.2s ease;
        }

        .lightbox-overlay.open {
            opacity: 1;
            visibility: visible;
        }

        .lightbox-content {
            position: relative;
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        .lightbox-image-container {
            position: relative;
            max-width: 90vw;
            max-height: 80vh;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .lightbox-image-container img {
            max-width: 100%;
            max-height: 80vh;
            object-fit: contain;
            border-radius: var(--radius);
        }

        .lightbox-close {
            position: absolute;
            top: 16px;
            right: 16px;
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10;
            transition: background 0.2s ease;
        }

        .lightbox-close:hover {
            background: rgba(255, 255, 255, 0.2);
        }

        .lightbox-close:focus {
            outline: 2px solid var(--accent);
            outline-offset: 2px;
        }

        .lightbox-close svg {
            width: 24px;
            height: 24px;
            stroke: #fff;
        }

        .lightbox-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 56px;
            height: 56px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.2s ease;
        }

        .lightbox-nav:hover {
            background: rgba(255, 255, 255, 0.2);
        }

        .lightbox-nav:focus {
            outline: 2px solid var(--accent);
            outline-offset: 2px;
        }

        .lightbox-nav:disabled {
            opacity: 0.3;
            cursor: not-allowed;
        }

        .lightbox-nav svg {
            width: 28px;
            height: 28px;
            stroke: #fff;
        }

        .lightbox-prev {
            left: 16px;
        }

        .lightbox-next {
            right: 16px;
        }

        .lightbox-counter {
            position: absolute;
            bottom: 24px;
            left: 50%;
            transform: translateX(-50%);
            color: rgba(255, 255, 255, 0.8);
            font-size: 0.875rem;
            background: rgba(0, 0, 0, 0.5);
            padding: 8px 16px;
            border-radius: 20px;
        }

        .lightbox-caption {
            position: absolute;
            bottom: 70px;
            left: 50%;
            transform: translateX(-50%);
            color: rgba(255, 255, 255, 0.9);
            font-size: 0.875rem;
            text-align: center;
            max-width: 80%;
            background: rgba(0, 0, 0, 0.5);
            padding: 8px 16px;
            border-radius: 8px;
        }

        /* Lightbox thumbnails strip */
        .lightbox-thumbnails {
            position: absolute;
            bottom: 80px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 8px;
            max-width: 90vw;
            overflow-x: auto;
            padding: 8px;
            scrollbar-width: none;
        }

        .lightbox-thumbnails::-webkit-scrollbar {
            display: none;
        }

        .lightbox-thumb {
            flex-shrink: 0;
            width: 60px;
            height: 45px;
            border-radius: 4px;
            overflow: hidden;
            cursor: pointer;
            opacity: 0.5;
            transition: opacity 0.2s ease, transform 0.2s ease;
            border: 2px solid transparent;
        }

        .lightbox-thumb:hover {
            opacity: 0.8;
        }

        .lightbox-thumb.active {
            opacity: 1;
            border-color: #fff;
            transform: scale(1.05);
        }

        .lightbox-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* Mobile lightbox adjustments */
        @media (max-width: 768px) {
            .lightbox-nav {
                width: 48px;
                height: 48px;
            }

            .lightbox-nav svg {
                width: 24px;
                height: 24px;
            }

            .lightbox-prev {
                left: 8px;
            }

            .lightbox-next {
                right: 8px;
            }

            .lightbox-close {
                top: 8px;
                right: 8px;
            }

            .lightbox-thumbnails {
                bottom: 60px;
            }

            .lightbox-thumb {
                width: 50px;
                height: 38px;
            }
        }

        .hotel-info {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .hotel-info h1 {
            font-size: 2rem;
            font-weight: 600;
        }

        /* Hotel description with expand/collapse */
        .hotel-description-wrapper {
            position: relative;
        }

        .hotel-description {
            color: var(--ink-light);
            line-height: 1.7;
            margin-bottom: 1rem;
            font-size: 0.9375rem;
        }

        .hotel-description p {
            margin-bottom: 0.75rem;
        }

        .hotel-description p:last-child {
            margin-bottom: 0;
        }

        /* Collapsed state */
        .hotel-description-wrapper.collapsed .hotel-description {
            max-height: 7.5em;
            overflow: hidden;
            position: relative;
        }

        /* Fade effect at bottom when collapsed */
        .hotel-description-wrapper.collapsed .hotel-description::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 3em;
            background: linear-gradient(to bottom, transparent, var(--surface-card));
            pointer-events: none;
        }

        /* Expand/collapse button */
        .description-toggle-btn {
            display: inline-flex;
            align-items: center;
            gap: 0.375rem;
            padding: 0.375rem 0;
            background: none;
            border: none;
            color: var(--accent);
            font-size: 0.8rem;
            font-weight: 500;
            text-transform: none;
            letter-spacing: 0;
            cursor: pointer;
            text-decoration: none;
            transition: color 0.2s var(--ease-out);
        }

        .description-toggle-btn:hover {
            color: var(--accent-hover);
        }

        .description-toggle-btn:focus {
            outline: 2px solid var(--accent);
            outline-offset: 2px;
        }

        .description-toggle-icon {
            display: inline-block;
            transition: transform 0.2s;
            font-size: 0.6rem;
        }

        .description-toggle-btn[aria-expanded="true"] .description-toggle-icon {
            transform: rotate(180deg);
        }

        /* Hide toggle if description is short */
        .hotel-description-wrapper.short-text .description-toggle-btn {
            display: none;
        }

        .hotel-facilities {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .facility-tag {
            padding: 0.4rem 0.875rem;
            background: var(--surface-warm);
            border-radius: 100px;
            font-size: 0.8rem;
            color: var(--ink-light);
        }

        .weather-snippet {
            margin: 1.5rem 0;
            padding: 1rem 1.25rem;
            background: var(--linen);
            border-radius: 8px;
            border: 1px solid var(--sand-dark);
        }

        .weather-snippet-title {
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--ink);
            margin: 0 0 0.75rem 0;
            text-transform: uppercase;
            letter-spacing: 0.03em;
        }

        .weather-days {
            display: flex;
            gap: 0.5rem;
            overflow-x: auto;
            padding-bottom: 0.25rem;
            -webkit-overflow-scrolling: touch;
        }

        .weather-day {
            display: flex;
            flex-direction: column;
            align-items: center;
            min-width: 4.5rem;
            padding: 0.5rem;
            background: white;
            border-radius: 6px;
            border: 1px solid var(--sand);
        }

        .weather-day-name {
            font-size: 0.75rem;
            font-weight: 600;
            color: var(--ink);
        }

        .weather-day-date {
            font-size: 0.65rem;
            color: var(--ink-light);
            margin-bottom: 0.25rem;
        }

        .weather-day-icon {
            font-size: 1.5rem;
            margin: 0.15rem 0;
        }

        .weather-day-temp {
            display: flex;
            gap: 0.35rem;
            font-size: 0.75rem;
        }

        .temp-high {
            font-weight: 600;
            color: var(--ink);
        }

        .temp-low {
            color: var(--ink-light);
        }

        @media (max-width: 768px) {
            .weather-days {
                gap: 0.4rem;
            }
            .weather-day {
                min-width: 3.75rem;
                padding: 0.4rem;
            }
        }

        /* Room Types */
        .price-context-callout {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-top: 2rem;
            padding: 0.75rem 1rem;
            background: rgba(123, 143, 107, 0.1);
            border-left: 3px solid #7b8f6b;
            border-radius: 0 var(--radius) var(--radius) 0;
            color: #4a5e3a;
            font-size: 0.875rem;
            font-weight: 500;
        }

        .price-context-callout svg {
            flex-shrink: 0;
            stroke: #7b8f6b;
        }

        .room-types-section {
            margin-top: 2rem;
        }

        .room-types-section h2 {
            font-size: 1.5rem;
            font-weight: 400;
            margin-bottom: 1.5rem;
            color: var(--ink);
        }

        .room-group {
            background: var(--surface-card);
            border-radius: var(--radius-lg);
            overflow: hidden;
            margin-bottom: 1.5rem;
            border: 1px solid var(--border);
            box-shadow: var(--shadow-sm);
        }

        .room-group-header {
            display: flex;
            gap: 1.5rem;
            padding: 1.5rem;
            border-bottom: 1px solid var(--border);
        }

        .room-image {
            width: 200px;
            height: 150px;
            border-radius: var(--radius);
            overflow: hidden;
            flex-shrink: 0;
        }

        .room-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .room-info h3 {
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
            color: var(--ink);
        }

        .room-rates {
            padding: 1rem 1.5rem;
        }

        .rate-option {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 1rem;
            padding: 1rem;
            border: 1.5px solid var(--border);
            border-radius: var(--radius);
            margin-bottom: 0.75rem;
            transition: all 0.2s var(--ease-out);
            cursor: pointer;
        }

        .rate-option:hover {
            border-color: var(--accent);
            background: var(--accent-soft);
        }

        .rate-details {
            display: flex;
            flex-direction: column;
            gap: 0.25rem;
        }

        .rate-name {
            font-weight: 500;
            color: var(--ink);
        }

        .rate-board {
            font-size: 0.875rem;
            color: var(--ink-light);
        }

        .rate-cancellation {
            font-size: 0.75rem;
            padding: 0.25rem 0.625rem;
            border-radius: 100px;
        }

        .rate-cancellation.refundable {
            background: rgba(61, 139, 94, 0.1);
            color: #3d8b5e;
        }

        .rate-cancellation.non-refundable {
            background: rgba(192, 84, 77, 0.1);
            color: #c0544d;
        }

        .rate-price {
            text-align: right;
        }

        .rate-price .amount {
            font-size: 1.35rem;
            font-weight: 600;
            color: var(--ink);
        }

        .rate-price .per-night {
            font-size: 0.75rem;
            color: var(--ink-muted);
        }

        .book-rate-btn {
            width: auto;
            min-width: 100px;
            max-width: 140px;
            padding: 0.625rem 1.25rem;
            background: var(--ink);
            color: #FFFFFF;
            border: none;
            border-radius: var(--radius);
            font-size: 0.875rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s var(--ease-out);
            flex-shrink: 0;
        }

        .book-rate-btn:hover {
            background: var(--accent);
        }

        /* ========================================
           HOTEL TRAVELDNA CARD - Brutalist DNA Display
           ======================================== */

        .hotel-traveldna-card {
            background: var(--surface-card);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            padding: var(--space-generous);
            margin-bottom: 2rem;
            color: var(--ink);
            box-shadow: var(--shadow-sm);
        }

        .traveldna-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: var(--space-normal);
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .traveldna-title {
            font-size: 0.7rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.02em;
            color: var(--ink);
        }

        .traveldna-meta {
            font-size: 0.65rem;
            color: var(--ink-muted);
            letter-spacing: 0.04em;
        }

        .traveldna-code-row {
            display: flex;
            align-items: center;
            gap: var(--space-normal);
            margin-bottom: var(--space-tight);
            flex-wrap: wrap;
        }

        .traveldna-code-pill {
            font-size: 1.125rem;
            font-weight: 700;
            padding: 0.5rem 1rem;
            border: 1.5px solid var(--border);
            border-radius: var(--radius);
            background: var(--surface);
            color: var(--ink);
            letter-spacing: 0.15em;
            display: inline-flex;
            align-items: center;
        }

        /* Modifier letter (c/u) - secondary, visually subdued */
        .traveldna-modifier-letter {
            font-size: 0.6875rem; /* ~11px */
            font-weight: 600;
            color: var(--ink-muted);
            letter-spacing: 0.18em;
            font-variant-caps: all-small-caps;
            margin-left: 0.5rem;
        }

        /* Fallback for browsers without font-variant-caps support */
        @supports not (font-variant-caps: all-small-caps) {
            .traveldna-modifier-letter {
                font-size: 0.625rem; /* ~10px */
                text-transform: lowercase;
                letter-spacing: 0.2em;
            }
        }

        /* Screen reader only text for modifier meaning */
        .traveldna-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;
        }

        /* Legacy modifier class (kept for backward compat, now hidden) */
        .traveldna-modifier {
            display: none;
        }

        .traveldna-type-name {
            font-size: 1rem;
            font-weight: 600;
            color: var(--ink);
            margin-bottom: var(--space-tight);
        }

        .traveldna-confidence-row {
            display: flex;
            align-items: center;
            gap: var(--space-tight);
            font-size: 0.75rem;
            color: var(--ink-muted);
            position: relative;
        }

        .traveldna-confidence-label {
            display: inline-flex;
            align-items: center;
            gap: 0.25rem;
            cursor: help;
            border-bottom: 1px dashed var(--border);
            padding-bottom: 1px;
            transition: border-color 0.2s;
        }

        .traveldna-confidence-label:hover,
        .traveldna-confidence-label:focus {
            border-bottom-color: var(--ink);
            outline: none;
        }

        .traveldna-confidence-label[tabindex]:focus {
            border-bottom-color: var(--accent);
            outline: 2px solid var(--accent);
            outline-offset: 2px;
        }

        .traveldna-confidence-value {
            text-transform: uppercase;
            font-weight: 600;
            letter-spacing: 0.02em;
        }

        .traveldna-confidence-value.low { color: #c0544d; }
        .traveldna-confidence-value.medium { color: var(--ink-light); }
        .traveldna-confidence-value.high { color: var(--ink); }

        /* Confidence Popover */
        .traveldna-confidence-popover {
            position: absolute;
            top: calc(100% + 8px);
            left: 0;
            background: var(--surface-card);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: var(--space-normal);
            min-width: 280px;
            max-width: 320px;
            z-index: 1000;
            display: none;
            box-shadow: var(--shadow-lg);
        }

        .traveldna-confidence-popover.visible {
            display: block;
        }

        .traveldna-confidence-popover-content {
            font-size: 0.8rem;
            line-height: var(--line-height-relaxed);
            color: var(--ink);
        }

        /* Pending State - Skeleton Placeholder */
        .traveldna-pending {
            display: flex;
            flex-direction: column;
            gap: var(--space-normal);
        }

        .traveldna-pending-header {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .traveldna-pending-spinner {
            width: 16px;
            height: 16px;
            border: 2px solid var(--border);
            border-top-color: var(--accent);
            border-radius: 50%;
            animation: traveldna-spin 0.8s linear infinite;
            flex-shrink: 0;
        }

        @keyframes traveldna-spin {
            to { transform: rotate(360deg); }
        }

        .traveldna-pending-text {
            display: flex;
            flex-direction: column;
            gap: 0.25rem;
        }

        .traveldna-pending-message {
            font-size: 0.875rem;
            font-weight: 600;
            color: var(--ink);
        }

        .traveldna-pending-subtext {
            font-size: 0.75rem;
            color: var(--ink-muted);
        }

        /* Skeleton placeholder bars */
        .traveldna-skeleton {
            display: flex;
            flex-direction: column;
            gap: var(--space-tight);
        }

        .traveldna-skeleton-bar {
            height: 14px;
            background: var(--surface-warm);
            border-radius: var(--radius-sm);
            animation: traveldna-pulse 1.5s ease-in-out infinite;
        }

        .traveldna-skeleton-bar.code {
            width: 140px;
            height: 36px;
        }

        .traveldna-skeleton-bar.name {
            width: 180px;
            height: 18px;
            margin-top: 0.25rem;
        }

        .traveldna-skeleton-bar.confidence {
            width: 120px;
            height: 14px;
            margin-top: 0.25rem;
        }

        @keyframes traveldna-pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.5; }
        }

        /* Error State */
        .traveldna-error {
            display: flex;
            flex-direction: column;
            gap: var(--space-normal);
        }

        .traveldna-error-content {
            display: flex;
            flex-direction: column;
            gap: 0.375rem;
        }

        .traveldna-error-message {
            font-size: 0.875rem;
            font-weight: 600;
            color: var(--ink);
        }

        .traveldna-error-subtext {
            font-size: 0.75rem;
            color: var(--ink-muted);
        }

        .traveldna-retry-btn {
            align-self: flex-start;
            padding: 0.5rem 1rem;
            background: transparent;
            color: var(--accent);
            border: 1.5px solid var(--accent);
            border-radius: var(--radius);
            font-size: 0.75rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s var(--ease-out);
        }

        .traveldna-retry-btn:hover {
            background: var(--accent);
            color: #FFFFFF;
        }

        /* Mobile Responsive */
        @media (max-width: 768px) {
            .traveldna-code-pill {
                font-size: 1rem;
                padding: 0.375rem 0.75rem;
            }

            .traveldna-confidence-popover {
                position: fixed;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                min-width: auto;
                width: calc(100% - 2rem);
                max-width: 400px;
            }
        }

        /* ========================================
           TRAVELDNA COMPARISON - 2-Column Layout
           ======================================== */

        .traveldna-comparison {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: var(--space-normal);
            margin-bottom: 2rem;
        }

        @media (max-width: 1023px) {
            .traveldna-comparison {
                grid-template-columns: 1fr;
            }
        }

        .traveldna-comparison .hotel-traveldna-card {
            margin-bottom: 0;
        }

        /* User TravelDNA Card - Reuses hotel travelDna styles */
        .user-traveldna-card {
            background: var(--surface-card);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            padding: var(--space-generous);
            color: var(--ink);
            box-shadow: var(--shadow-sm);
        }

        .user-traveldna-card .traveldna-title {
            font-size: 0.7rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.02em;
            color: var(--ink);
            margin-bottom: var(--space-normal);
        }

        .user-traveldna-card .traveldna-code-row {
            display: flex;
            align-items: center;
            gap: var(--space-normal);
            margin-bottom: var(--space-tight);
            flex-wrap: wrap;
        }

        .user-traveldna-card .traveldna-code-pill {
            font-size: 1.125rem;
            font-weight: 700;
            padding: 0.5rem 1rem;
            border: 1.5px solid var(--border);
            border-radius: var(--radius);
            background: var(--surface);
            color: var(--ink);
            letter-spacing: 0.15em;
            display: inline-flex;
            align-items: center;
        }

        .user-traveldna-card .traveldna-modifier {
            font-size: 0.75rem;
            font-weight: 600;
            color: var(--ink-muted);
            letter-spacing: 0.15em;
            text-transform: uppercase;
            font-variant-caps: all-small-caps;
        }

        .user-traveldna-card .traveldna-type-name {
            font-size: 1rem;
            font-weight: 600;
            color: var(--ink);
            margin-bottom: var(--space-tight);
        }

        .user-traveldna-card .traveldna-confidence-row {
            display: flex;
            align-items: center;
            gap: var(--space-tight);
            font-size: 0.75rem;
            color: var(--ink-muted);
        }

        .user-traveldna-card .traveldna-confidence-value {
            text-transform: uppercase;
            letter-spacing: 0.02em;
            font-weight: 600;
        }

        .user-traveldna-card .traveldna-updated {
            font-size: 0.7rem;
            color: var(--ink-muted);
            margin-top: var(--space-tight);
        }

        /* User TravelDNA Empty State */
        .user-traveldna-empty {
            display: flex;
            flex-direction: column;
            gap: var(--space-normal);
        }

        .user-traveldna-empty-text {
            font-size: 0.85rem;
            color: var(--ink-light);
            line-height: 1.5;
        }

        .user-traveldna-cta {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0.75rem 1.25rem;
            background: var(--accent);
            color: #FFFFFF;
            border: 1.5px solid var(--accent);
            border-radius: var(--radius);
            font-size: 0.8rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s var(--ease-out);
            text-decoration: none;
            align-self: flex-start;
        }

        .user-traveldna-cta:hover {
            background: var(--accent-hover);
            border-color: var(--accent-hover);
        }

        .user-traveldna-link {
            font-size: 0.8rem;
            color: var(--accent);
            text-decoration: none;
            cursor: pointer;
            transition: color 0.2s;
        }

        .user-traveldna-link:hover {
            color: var(--accent-hover);
        }

        /* User TravelDNA Loading State */
        .user-traveldna-loading {
            display: flex;
            flex-direction: column;
            gap: var(--space-normal);
        }

        .user-traveldna-loading .traveldna-skeleton-bar {
            height: 1rem;
            background: var(--surface-warm);
            animation: traveldna-pulse 1.5s ease-in-out infinite;
        }

        .user-traveldna-loading .traveldna-skeleton-bar.code {
            width: 120px;
            height: 2.5rem;
        }

        .user-traveldna-loading .traveldna-skeleton-bar.name {
            width: 180px;
            height: 1.25rem;
        }

        .user-traveldna-loading .traveldna-skeleton-bar.confidence {
            width: 100px;
            height: 0.875rem;
        }

        @media (max-width: 768px) {
            .user-traveldna-card .traveldna-code-pill {
                font-size: 1rem;
                padding: 0.375rem 0.75rem;
            }
        }

        /* TravelDNA Compatibility Sentence */
        .traveldna-compatibility {
            font-size: 0.8rem;
            color: var(--ink-light);
            text-align: left;
            padding: 0;
            margin-top: calc(-1 * var(--space-normal) + 0.5rem);
            margin-bottom: var(--space-generous);
            line-height: 1.5;
        }

        .traveldna-compatibility-sentence {
            display: inline;
        }

        .traveldna-compatibility-modifier {
            display: inline;
            margin-left: 0.25em;
        }

        /* ========================================
           TRAVELDNA FIT SCORE & ALIGNMENT
           ======================================== */

        /* Fit Score Display - Prominent between cards */
        .traveldna-fit-container {
            background: var(--surface-card);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            padding: 28px 32px;
            margin-top: 24px;
            margin-bottom: var(--space-normal);
        }

        .traveldna-fit-header {
            display: flex;
            align-items: baseline;
            justify-content: space-between;
            gap: var(--space-tight);
            margin-bottom: var(--space-tight);
        }

        .traveldna-fit-label {
            font-size: 0.7rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.04em;
            color: var(--ink-muted);
        }

        .traveldna-fit-score-row {
            display: flex;
            align-items: baseline;
            gap: var(--space-tight);
        }

        .traveldna-fit-score {
            font-size: 1.75rem;
            font-weight: 600;
            color: var(--ink);
            line-height: 1;
        }

        .traveldna-fit-max {
            font-size: 0.875rem;
            color: var(--ink-muted);
        }

        .traveldna-fit-verdict {
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.03em;
            padding: 0.2rem 0.625rem;
            border-radius: 100px;
            border: none;
        }

        .traveldna-fit-verdict.excellent { color: #3d8b5e; background: rgba(61, 139, 94, 0.1); }
        .traveldna-fit-verdict.good { color: var(--ink-light); background: var(--surface-warm); }
        .traveldna-fit-verdict.mixed { color: #d97706; background: #fffbeb; }
        .traveldna-fit-verdict.low { color: #c0544d; background: rgba(192, 84, 77, 0.1); }
        .traveldna-fit-verdict.unavailable { color: var(--ink-muted); background: var(--surface-warm); }

        .traveldna-fit-subtext {
            font-size: 0.7rem;
            color: var(--ink-muted);
            margin-top: var(--space-tight);
        }

        .traveldna-fit-disclaimer {
            font-size: 0.7rem;
            color: #c0544d;
            margin-top: var(--space-tight);
            padding: 0.375rem 0.75rem;
            background: rgba(192, 84, 77, 0.06);
            border-left: 3px solid #c0544d;
            border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
        }

        /* Alignment Summary */
        .traveldna-alignment {
            margin-top: var(--space-tight);
            padding-top: var(--space-tight);
            border-top: 1px solid var(--border);
        }

        .traveldna-alignment-row {
            display: flex;
            flex-wrap: wrap;
            gap: var(--space-tight);
            font-size: 0.7rem;
            color: var(--ink-muted);
        }

        .traveldna-alignment-item {
            display: inline-flex;
            align-items: center;
            gap: 0.25rem;
        }

        .traveldna-alignment-item.aligned {
            color: #3d8b5e;
        }

        .traveldna-alignment-item.misaligned {
            color: #d97706;
        }

        .traveldna-alignment-label {
            color: var(--ink-muted);
        }

        .traveldna-alignment-axes {
            font-weight: 600;
        }

        /* "What you may not like" Cautions Section */
        .traveldna-cautions {
            background: var(--surface);
            border: 1px solid var(--border);
            border-left: 3px solid #d97706;
            border-radius: 0 var(--radius) var(--radius) 0;
            padding: var(--space-normal);
            margin-bottom: var(--space-normal);
        }

        .traveldna-cautions-header {
            font-size: 0.7rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.04em;
            color: #d97706;
            margin-bottom: var(--space-tight);
        }

        .traveldna-cautions-list {
            display: flex;
            flex-direction: column;
            gap: var(--space-tight);
        }

        .traveldna-caution-item {
            font-size: 0.8125rem;
            color: var(--ink-light);
            line-height: 1.4;
            padding-left: 1rem;
            position: relative;
        }

        .traveldna-caution-item::before {
            content: "•";
            position: absolute;
            left: 0;
            color: #d97706;
            font-weight: 700;
        }

        .traveldna-caution-item.traveldna-caution-info {
            display: flex;
            align-items: flex-start;
            gap: 0.375rem;
            padding-left: 0;
            color: var(--ink-light);
        }

        .traveldna-caution-item.traveldna-caution-info::before {
            content: none;
        }

        .traveldna-caution-item.traveldna-caution-info svg {
            flex-shrink: 0;
            margin-top: 0.1rem;
        }

        .traveldna-no-cautions {
            font-size: 0.8rem;
            color: #3d8b5e;
            display: flex;
            align-items: center;
            gap: 0.375rem;
        }

        .traveldna-no-cautions svg {
            width: 1rem;
            height: 1rem;
            flex-shrink: 0;
        }

        /* Refine CTA */
        .traveldna-fit-cta {
            font-size: 0.75rem;
            color: var(--accent);
            text-decoration: none;
            cursor: pointer;
            background: none;
            border: none;
            padding: 0;
            margin-top: var(--space-tight);
        }

        .traveldna-fit-cta:hover {
            color: var(--accent-hover);
        }

        /* Responsive adjustments */
        @media (max-width: 640px) {
            .traveldna-fit-container {
                padding: var(--space-tight);
            }

            .traveldna-fit-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 0.25rem;
            }

            .traveldna-fit-score {
                font-size: 1.5rem;
            }

            .traveldna-cautions {
                padding: var(--space-tight);
            }
        }

        /* ========================================
           TRAVELDNA COMPARISON WIDGETS
           Fit bar, radar chart, plain-language summary
           ======================================== */

        .fit-score-section {
            margin-top: 24px;
            padding: 28px 32px;
            background: var(--surface-card);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
        }

        .fit-score-header {
            display: flex;
            justify-content: space-between;
            align-items: baseline;
            margin-bottom: 20px;
        }

        .fit-score-label {
            font-size: 11px;
            font-weight: 600;
            letter-spacing: 0.01em;
            color: var(--ink-muted);
        }

        .fit-score-value {
            font-size: 36px;
            color: var(--ink);
        }

        .fit-bar-container {
            position: relative;
            margin-bottom: 20px;
            padding-top: 24px;
        }

        .fit-bar {
            height: 10px;
            background: linear-gradient(90deg,
                #e8c4b8 0%,
                #e5e0da 35%,
                #c8d8c4 65%,
                #8fb88a 100%);
            border-radius: 5px;
            position: relative;
        }

        .fit-bar-marker {
            position: absolute;
            top: -6px;
            transform: translateX(-50%);
            transition: left 0.8s var(--ease-out);
        }

        .fit-marker-dot {
            width: 22px;
            height: 22px;
            background: var(--ink);
            border: 3px solid var(--surface-card);
            border-radius: 50%;
            box-shadow: 0 1px 3px rgba(0,0,0,0.12);
        }

        .fit-bar-zones {
            position: relative;
            height: 16px;
            margin-bottom: 8px;
        }

        .fit-zone {
            font-size: 10px;
            font-weight: 500;
            color: var(--ink-muted);
            letter-spacing: 0.01em;
            text-transform: uppercase;
            position: absolute;
            transform: translateX(-50%);
        }

        .fit-verdict {
            font-size: 14px;
            color: var(--ink-light);
            line-height: 1.7;
            margin: 0;
        }

        .comparison-summary {
            margin-top: 20px;
            padding: 28px 32px;
            background: var(--surface-card);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
        }

        .comparison-text {
            font-size: 14px;
            line-height: 1.8;
            color: var(--ink-light);
            margin: 12px 0 0;
        }

        @media (max-width: 768px) {
            .fit-score-section,
            .comparison-summary {
                padding: 20px 16px;
            }

            .fit-score-value {
                font-size: 28px;
            }

            .fit-bar-zones {
                display: none;
            }
        }

        /* ========================================
           DNA LEGEND - TravelDNA Code Explanation
           ======================================== */

        /* Card inner layout: content + legend side-by-side on desktop */
        .traveldna-card-inner {
            display: grid;
            grid-template-columns: 1fr auto;
            gap: var(--space-normal);
            align-items: start;
        }

        .traveldna-card-content {
            min-width: 0; /* Prevent grid blowout */
        }

        /* DNA Legend column */
        .dna-legend {
            display: flex;
            flex-direction: column;
            gap: 0.25rem;
            padding-left: var(--space-normal);
            border-left: 1px solid var(--border);
        }

        .dna-legend-item {
            display: flex;
            align-items: baseline;
            gap: 0.375rem;
            font-size: 0.6875rem;
            color: var(--ink-muted);
            white-space: nowrap;
        }

        .dna-legend-key {
            font-weight: 700;
            color: var(--ink-light);
            min-width: 1.25em;
            text-align: right;
        }

        .dna-legend-sep {
            color: var(--border);
        }

        .dna-legend-label {
            font-weight: 400;
        }

        /* Modifier row - clearly secondary, grouped at bottom */
        .dna-legend-modifier {
            margin-top: 0.375rem;
            padding-top: 0.375rem;
            border-top: 1px dashed var(--border);
            color: var(--ink-light);
        }

        .dna-legend-modifier .dna-legend-key {
            font-size: 0.6rem;
            min-width: 1em;
            font-weight: 600;
            color: var(--ink-light);
        }

        .dna-legend-modifier .dna-legend-label {
            color: var(--ink-light);
        }

        .dna-legend-modifier-tag {
            font-size: 0.55rem;
            color: var(--ink-light);
            margin-left: 0.25rem;
            font-style: italic;
        }

        /* Mobile: hide legend by default, show disclosure */
        @media (max-width: 1023px) {
            .traveldna-card-inner {
                grid-template-columns: 1fr;
            }

            .dna-legend {
                display: none;
                padding-left: 0;
                border-left: none;
                padding-top: var(--space-tight);
                border-top: 1px solid var(--border);
                margin-top: var(--space-tight);
            }

            .dna-legend.expanded {
                display: flex;
            }

            .dna-legend-toggle {
                display: inline-flex;
                align-items: center;
                gap: 0.25rem;
                font-size: 0.6875rem;
                color: var(--ink-muted);
                background: none;
                border: none;
                padding: 0.25rem 0;
                margin-top: var(--space-tight);
                cursor: pointer;
                text-decoration: underline;
                text-underline-offset: 2px;
                transition: color 0.2s var(--ease-out);
            }

            .dna-legend-toggle:hover {
                color: var(--ink);
            }

            .dna-legend-toggle-icon {
                display: inline-block;
                transition: transform 0.2s;
            }

            .dna-legend-toggle[aria-expanded="true"] .dna-legend-toggle-icon {
                transform: rotate(180deg);
            }
        }

        /* Desktop: hide toggle button */
        @media (min-width: 1024px) {
            .dna-legend-toggle {
                display: none;
            }
        }

        /* ========================================
           REVIEW INSIGHTS MODULE - Decision-Grade UI
           ======================================== */

        .review-insights {
            background: var(--surface-card);
            border-radius: var(--radius-lg);
            border: 1px solid var(--border);
            padding: 0;
            margin-bottom: 2rem;
            box-shadow: var(--shadow-sm);
            overflow: hidden;
        }

        /* Trust Coverage Header */
        .insights-trust-header {
            padding: 1rem 1.5rem;
            background: var(--surface);
            border-bottom: 1px solid var(--border);
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            gap: 0.75rem;
        }

        .trust-meta {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 1rem;
            font-size: 0.75rem;
            color: var(--ink-muted);
        }

        .trust-meta-item {
            display: flex;
            align-items: center;
            gap: 0.375rem;
        }

        .trust-meta-item svg {
            width: 14px;
            height: 14px;
            opacity: 0.7;
        }

        .confidence-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.375rem;
            padding: 0.25rem 0.625rem;
            border-radius: 20px;
            font-size: 0.7rem;
            font-weight: 600;
            cursor: help;
        }

        .confidence-badge.high {
            background: #dcfce7;
            color: #166534;
        }

        .confidence-badge.medium {
            background: #fef9c3;
            color: #854d0e;
        }

        .confidence-badge.low {
            background: #fed7aa;
            color: #9a3412;
        }

        .confidence-badge svg {
            width: 12px;
            height: 12px;
        }

        .ai-source-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.25rem;
            font-size: 0.65rem;
            color: var(--ink-light);
            cursor: help;
        }

        .ai-source-badge svg {
            width: 12px;
            height: 12px;
        }

        /* Inline Disclosure Triggers */
        .disclosure-trigger {
            background: none;
            border: none;
            padding: 0;
            font: inherit;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
        }

        .disclosure-trigger:focus {
            outline: 2px solid var(--accent);
            outline-offset: 2px;
            border-radius: 4px;
        }

        .disclosure-trigger:focus:not(:focus-visible) {
            outline: none;
        }

        .disclosure-trigger .confidence-badge,
        .disclosure-trigger .ai-source-badge {
            cursor: pointer;
        }

        .disclosure-trigger[aria-expanded="true"] .confidence-badge,
        .disclosure-trigger[aria-expanded="true"] .ai-source-badge {
            opacity: 0.8;
        }

        /* Inline Disclosure Panel */
        .inline-disclosure-panel {
            display: none;
            background: var(--surface-card);
            border: 1px solid var(--border);
            border-radius: var(--radius-sm);
            padding: 1rem 1.25rem;
            margin-top: 0.75rem;
            font-size: 0.8rem;
            line-height: 1.6;
            color: var(--ink);
        }

        .inline-disclosure-panel.open {
            display: block;
        }

        .inline-disclosure-panel-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 0.5rem;
        }

        .inline-disclosure-panel-title {
            font-weight: 600;
            font-size: 0.8rem;
            color: var(--ink);
            margin: 0;
        }

        .inline-disclosure-panel-close {
            background: none;
            border: none;
            padding: 0.25rem;
            cursor: pointer;
            color: var(--ink-light);
            line-height: 1;
            font-size: 1.25rem;
            margin: -0.25rem -0.25rem 0 0;
        }

        .inline-disclosure-panel-close:hover {
            color: var(--ink);
        }

        .inline-disclosure-panel-body {
            color: var(--ink-muted);
        }

        .inline-disclosure-panel-body p {
            margin: 0;
        }

        .inline-disclosure-panel-body p + p {
            margin-top: 0.5rem;
        }

        .inline-disclosure-panel-meta {
            margin-top: 0.5rem;
            font-size: 0.7rem;
            color: var(--ink-light);
        }

        /* ========================================
           TRUST STRIP - Standardized trust indicator
           ======================================== */
        .trust-strip {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: var(--space-normal);
            padding: var(--space-normal) var(--space-generous);
            background: var(--surface-warm);
            border-bottom: 1px solid var(--border);
            font-size: var(--text-xs);
            color: var(--ink-muted);
        }

        .trust-strip-item {
            display: flex;
            align-items: center;
            gap: 0.375rem;
            white-space: nowrap;
        }

        .trust-strip-item svg {
            width: 14px;
            height: 14px;
            opacity: 0.7;
            flex-shrink: 0;
        }

        .trust-strip-divider {
            width: 1px;
            height: 16px;
            background: var(--border);
        }

        .trust-strip-explain {
            background: none;
            border: none;
            padding: 0.25rem 0.5rem;
            margin-left: auto;
            font-size: var(--text-xs);
            color: var(--ink-light);
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 0.25rem;
            border-radius: 100px;
            transition: all 0.2s var(--ease-out);
        }

        .trust-strip-explain:hover {
            color: var(--accent);
            background: var(--surface-warm);
        }

        .trust-strip-explain svg {
            width: 12px;
            height: 12px;
        }

        @media (max-width: 768px) {
            .trust-strip {
                padding: var(--space-tight) var(--space-normal);
                gap: var(--space-tight);
            }
            .trust-strip-divider {
                display: none;
            }
        }

        /* ========================================
           DECISION SUMMARY - One-line hotel verdict
           ======================================== */
        .decision-summary {
            display: flex;
            align-items: flex-start;
            gap: var(--space-tight);
            padding: var(--space-normal);
            background: #fffdf7;
            border: 1px solid #f5e6b8;
            border-radius: 8px;
            margin-bottom: var(--space-generous);
            font-size: var(--text-sm);
            line-height: var(--line-height-normal);
            color: var(--ink-light);
        }

        .decision-summary-icon {
            width: 20px;
            height: 20px;
            color: var(--gold);
            flex-shrink: 0;
            margin-top: 1px;
        }

        .decision-summary-text {
            flex: 1;
        }

        .decision-summary-text strong {
            color: var(--ink);
            font-weight: 600;
        }

        .decision-summary.low-confidence {
            background: #fffbeb;
            border-color: #fde68a;
        }

        .decision-summary.low-confidence .decision-summary-icon {
            color: #d97706;
        }

        .decision-summary-qualifier {
            font-size: var(--text-xs);
            color: var(--ink-muted);
            font-weight: 500;
            display: block;
            margin-bottom: 0.25rem;
        }

        /* ========================================
           PROGRESSIVE DISCLOSURE LIST
           ======================================== */
        .progressive-list {
            display: flex;
            flex-direction: column;
            gap: var(--space-tight);
        }

        .progressive-list-item {
            transition: opacity 0.2s;
        }

        .progressive-list-item.hidden {
            display: none;
        }

        .progressive-list-toggle {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.375rem;
            width: 100%;
            padding: var(--space-tight) var(--space-normal);
            margin-top: var(--space-tight);
            background: none;
            border: 1px solid var(--border);
            border-radius: var(--radius-sm);
            font-size: var(--text-xs);
            font-weight: 500;
            color: var(--ink-light);
            cursor: pointer;
            transition: all 0.2s var(--ease-out);
        }

        .progressive-list-toggle:hover {
            background: var(--surface-warm);
            border-color: var(--border);
            color: var(--ink);
        }

        .progressive-list-toggle:focus {
            outline: none;
            box-shadow: 0 0 0 3px var(--accent-soft);
        }

        .progressive-list-toggle:focus:not(:focus-visible) {
            outline: none;
        }

        .progressive-list-toggle svg {
            width: 14px;
            height: 14px;
            transition: transform 0.2s;
        }

        .progressive-list-toggle[aria-expanded="true"] svg {
            transform: rotate(180deg);
        }

        /* ========================================
           EMPTY/EDGE STATES
           ======================================== */
        .edge-state {
            display: flex;
            align-items: flex-start;
            gap: var(--space-normal);
            padding: var(--space-normal);
            border-radius: 8px;
            font-size: var(--text-sm);
            line-height: var(--line-height-normal);
        }

        .edge-state-icon {
            width: 20px;
            height: 20px;
            flex-shrink: 0;
            margin-top: 1px;
        }

        .edge-state-content h4 {
            font-size: var(--text-sm);
            font-weight: 600;
            margin-bottom: 0.25rem;
        }

        .edge-state-content p {
            margin: 0;
            color: inherit;
            opacity: 0.85;
        }

        /* Insufficient reviews */
        .edge-state.insufficient-data {
            background: var(--surface);
            border: 1px solid var(--border);
            color: var(--ink-light);
        }

        .edge-state.insufficient-data .edge-state-icon {
            color: var(--ink-muted);
        }

        /* Mixed feedback warning */
        .edge-state.mixed-feedback {
            background: #fffbeb;
            border: 1px solid #fde68a;
            color: #92400e;
        }

        .edge-state.mixed-feedback .edge-state-icon {
            color: #d97706;
        }

        /* Traveler type fallback */
        .edge-state.traveler-fallback {
            background: #f0f9ff;
            border: 1px solid #bae6fd;
            color: #0369a1;
        }

        .edge-state.traveler-fallback .edge-state-icon {
            color: #0284c7;
        }

        /* ========================================
           SAVE / COMPARE LATER BUTTON
           ======================================== */
        .save-btn {
            display: inline-flex;
            align-items: center;
            gap: 0.375rem;
            padding: 0.5rem 0.75rem;
            background: transparent;
            border: 1px solid var(--border);
            border-radius: 100px;
            font-size: var(--text-xs);
            font-weight: 500;
            color: var(--ink-muted);
            cursor: pointer;
            transition: all 0.2s var(--ease-out);
        }

        .save-btn:hover {
            background: var(--surface-warm);
            border-color: var(--accent);
            color: var(--ink);
        }

        .save-btn:focus {
            outline: 2px solid var(--accent);
            outline-offset: 2px;
        }

        .save-btn:focus:not(:focus-visible) {
            outline: none;
        }

        .save-btn svg {
            width: 14px;
            height: 14px;
        }

        .save-btn.saved {
            background: #fef9e7;
            border-color: var(--gold);
            color: var(--ink);
        }

        .save-btn.saved svg {
            fill: var(--gold);
            color: var(--gold);
        }

        /* Save button on hotel cards */
        .hotel-card .save-btn {
            position: absolute;
            top: 0.75rem;
            right: 0.75rem;
            background: var(--surface-card);
            box-shadow: var(--shadow-sm);
            z-index: 2;
        }

        .hotel-card .save-btn:hover {
            background: var(--surface-card);
            transform: scale(1.05);
        }

        /* Saved hotels counter in header */
        .saved-hotels-btn {
            display: inline-flex;
            align-items: center;
            gap: 0.375rem;
            padding: 0.5rem 0.75rem;
            background: transparent;
            border: 1px solid var(--border);
            border-radius: 100px;
            font-size: var(--text-xs);
            font-weight: 500;
            color: var(--ink-muted);
            cursor: pointer;
            transition: all 0.2s var(--ease-out);
        }

        .saved-hotels-btn:hover {
            background: var(--surface-warm);
            border-color: var(--accent);
        }

        .saved-hotels-btn svg {
            width: 14px;
            height: 14px;
        }

        .saved-hotels-btn .count {
            background: var(--gold);
            color: var(--ink);
            padding: 0.125rem 0.375rem;
            border-radius: 10px;
            font-size: 0.65rem;
            font-weight: 600;
        }

        .saved-hotels-btn.empty .count {
            display: none;
        }

        /* Traveler Type Toggle */
        .traveler-type-toggle {
            display: flex;
            gap: 0.25rem;
            padding: 0.25rem;
            background: var(--surface-warm);
            border-radius: var(--radius);
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
        }

        .traveler-type-toggle::-webkit-scrollbar {
            display: none;
        }

        .traveler-type-btn {
            padding: 0.5rem 0.75rem;
            border: none;
            background: transparent;
            border-radius: var(--radius-sm);
            font-size: 0.75rem;
            font-weight: 500;
            cursor: pointer;
            white-space: nowrap;
            transition: all 0.2s var(--ease-out);
            color: var(--ink-muted);
        }

        .traveler-type-btn:hover {
            color: var(--ink);
        }

        .traveler-type-btn.active {
            background: var(--surface-card);
            color: var(--ink);
            box-shadow: var(--shadow-sm);
        }

        /* Insights Content */
        .insights-content {
            padding: 1.5rem;
        }

        .insights-loading {
            text-align: center;
            padding: 3rem 2rem;
            color: var(--ink-muted);
        }

        .insights-loading.insights-progress {
            padding: 1rem 1.5rem;
            text-align: left;
            background: #eef4ff;
            color: #24426c;
            border-bottom: 1px solid var(--border);
        }

        .quiz-email-optin, .email-preferences-card {
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 20px;
            margin: 20px 0;
            background: #fff;
            text-align: left;
        }
        .quiz-email-optin label, .email-preferences-card label {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            padding: 8px 0;
            font-size: 15px;
            line-height: 1.5;
            font-weight: 600;
        }
        .quiz-email-optin input, .email-preferences-card input {
            flex: 0 0 20px;
            width: 20px;
            height: 20px;
            margin-top: 2px;
        }
        .quiz-email-optin p, .email-preferences-card p {
            font-size: 13px;
            line-height: 1.6;
            color: var(--ink-muted);
        }

        .insights-loading .spinner-small {
            width: 28px;
            height: 28px;
            border: 3px solid var(--border);
            border-top-color: var(--accent);
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto 1rem;
        }

        .insights-empty {
            text-align: center;
            padding: 3rem 2rem;
        }

        .insights-empty-icon {
            width: 48px;
            height: 48px;
            margin: 0 auto 1rem;
            color: var(--ink-muted);
        }

        .insights-empty h3 {
            font-size: 1.1rem;
            font-weight: 400;
            margin-bottom: 0.5rem;
            color: var(--ink);
        }

        .insights-empty p {
            font-size: 0.875rem;
            color: var(--ink-light);
        }

        .low-confidence-warning {
            display: flex;
            align-items: flex-start;
            gap: 0.75rem;
            padding: 0.875rem 1rem;
            background: #fffbeb;
            border: 1px solid #fde68a;
            border-radius: var(--radius);
            margin-bottom: 1.25rem;
            font-size: 0.8rem;
            color: #92400e;
        }

        .low-confidence-warning svg {
            width: 18px;
            height: 18px;
            flex-shrink: 0;
            margin-top: 0.125rem;
        }

        /* Quick Scores Block */
        .quick-scores-block {
            margin-bottom: 1.75rem;
            padding: 1.25rem;
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--radius);
        }

        .quick-scores-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1rem;
            margin-bottom: 0.5rem;
        }

        .quick-score-item {
            text-align: center;
            padding: 0.75rem;
            background: var(--surface-card);
            border: 1px solid var(--border);
            border-radius: var(--radius);
        }

        .quick-score-label {
            display: block;
            font-size: 0.7rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.04em;
            color: var(--ink-muted);
            margin-bottom: 0.25rem;
        }

        .quick-score-value {
            display: block;
            font-size: 1.5rem;
            font-weight: 600;
            color: var(--ink);
        }

        .quick-score-value.not-rated {
            font-size: 0.875rem;
            color: var(--ink-muted);
        }

        .quick-scores-note {
            font-size: 0.7rem;
            color: var(--ink-muted);
            text-align: center;
            margin: 0;
        }

        @media (max-width: 480px) {
            .quick-scores-grid {
                grid-template-columns: 1fr;
                gap: 0.5rem;
            }

            .quick-score-item {
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding: 0.5rem 0.75rem;
            }

            .quick-score-label {
                margin-bottom: 0;
            }

            .quick-score-value {
                font-size: 1.25rem;
            }
        }

        /* Best For / Fit Pillars Section */
        .fit-pillars-section {
            margin-bottom: 1.75rem;
        }

        .section-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 1rem;
        }

        .section-title {
            font-size: 1.1rem;
            font-weight: 400;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--ink);
        }

        .section-title svg {
            width: 18px;
            height: 18px;
            color: var(--accent);
        }

        .see-all-btn {
            font-size: 0.75rem;
            color: var(--accent);
            background: none;
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 0.25rem;
            padding: 0.25rem 0.5rem;
            border-radius: var(--radius-sm);
            transition: all 0.15s;
        }

        .see-all-btn:hover {
            color: var(--accent-hover);
            background: var(--accent-soft);
        }

        .see-all-btn svg {
            width: 14px;
            height: 14px;
            transition: transform 0.2s;
        }

        .see-all-btn.expanded svg {
            transform: rotate(180deg);
        }

        .fit-pillars-list {
            display: flex;
            flex-direction: column;
            gap: 0.625rem;
        }

        .fit-pillar-item {
            display: flex;
            align-items: center;
            gap: 0.875rem;
            padding: 0.875rem;
            border: 1px solid var(--border);
            border-radius: var(--radius);
            cursor: pointer;
            transition: all 0.2s var(--ease-out);
        }

        .fit-pillar-item:hover {
            border-color: var(--accent);
            background: var(--accent-soft);
        }

        .fit-pillar-item.active {
            border-color: var(--accent);
            background: var(--accent-soft);
        }

        .fit-pillar-icon {
            width: 36px;
            height: 36px;
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.125rem;
            background: var(--surface-warm);
            flex-shrink: 0;
        }

        .fit-pillar-content {
            flex: 1;
            min-width: 0;
        }

        .fit-pillar-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 0.375rem;
        }

        .fit-pillar-label {
            font-size: 0.875rem;
            font-weight: 600;
            color: var(--ink);
        }

        .fit-pillar-score {
            font-size: 0.8rem;
            font-weight: 600;
            color: var(--accent);
        }

        .fit-pillar-bar {
            height: 6px;
            background: var(--surface);
            border-radius: 3px;
            overflow: hidden;
            margin-bottom: 0.375rem;
        }

        .fit-pillar-bar-fill {
            height: 100%;
            background: var(--accent);
            border-radius: 3px;
            transition: width 0.4s var(--ease-out);
        }

        .fit-pillar-meta {
            font-size: 0.7rem;
            color: var(--ink-muted);
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .fit-pillar-meta span {
            display: flex;
            align-items: center;
            gap: 0.25rem;
        }

        .fit-pillars-collapsed {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
        }

        .fit-pillars-collapsed.expanded {
            max-height: 1000px;
        }

        /* Top Drivers Section */
        .drivers-section {
            margin-bottom: 1.5rem;
        }

        .drivers-tabs {
            display: flex;
            gap: 0.25rem;
            margin-bottom: 1rem;
            border-bottom: 1px solid var(--border);
        }

        .driver-tab {
            padding: 0.75rem 1rem;
            border: none;
            background: transparent;
            font-size: 0.875rem;
            font-weight: 500;
            cursor: pointer;
            color: var(--ink-muted);
            border-bottom: 2px solid transparent;
            margin-bottom: -1px;
            transition: all 0.2s var(--ease-out);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .driver-tab:hover {
            color: var(--ink);
        }

        .driver-tab.active {
            color: var(--ink);
            border-bottom-color: var(--accent);
        }

        .driver-tab .count {
            font-size: 0.7rem;
            padding: 0.125rem 0.5rem;
            background: var(--surface-warm);
            border-radius: 100px;
            color: var(--ink-muted);
        }

        .driver-tab.active .count {
            background: var(--accent);
            color: var(--white);
        }

        .drivers-list {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .driver-item {
            border: 1px solid var(--border);
            border-radius: var(--radius);
            overflow: hidden;
            transition: all 0.2s var(--ease-out);
        }

        .driver-item:hover {
            border-color: var(--accent);
        }

        .driver-item.positive .driver-item-header {
            border-left: 3px solid var(--green);
        }

        .driver-item.negative .driver-item-header {
            border-left: 3px solid var(--red);
        }

        .driver-item-header {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.875rem 1rem;
            cursor: pointer;
            background: var(--surface-card);
            transition: background 0.2s var(--ease-out);
        }

        .driver-item-header:hover {
            background: var(--surface-warm);
        }

        .driver-icon {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .driver-item.positive .driver-icon {
            background: #dcfce7;
            color: var(--green);
        }

        .driver-item.negative .driver-icon {
            background: #fef2f2;
            color: var(--red);
        }

        .driver-icon svg {
            width: 14px;
            height: 14px;
        }

        .driver-content {
            flex: 1;
            min-width: 0;
        }

        .driver-label {
            font-size: 0.875rem;
            font-weight: 500;
            margin-bottom: 0.25rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .driver-impact {
            font-size: 0.65rem;
            padding: 0.125rem 0.375rem;
            border-radius: 4px;
            font-weight: 600;
            text-transform: uppercase;
        }

        .driver-impact.high {
            background: #fef2f2;
            color: #dc2626;
        }

        .driver-impact.medium {
            background: #fef9c3;
            color: #854d0e;
        }

        .driver-impact.low {
            background: var(--surface-warm);
            color: var(--ink-muted);
        }

        .driver-meta {
            font-size: 0.75rem;
            color: var(--ink-light);
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
        }

        .driver-meta span {
            display: flex;
            align-items: center;
            gap: 0.25rem;
        }

        .driver-expand-icon {
            width: 20px;
            height: 20px;
            color: var(--ink-light);
            transition: transform 0.2s var(--ease-out);
            flex-shrink: 0;
        }

        .driver-item.expanded .driver-expand-icon {
            transform: rotate(180deg);
        }

        .driver-evidence {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
            background: var(--surface-warm);
        }

        .driver-item.expanded .driver-evidence {
            max-height: 500px;
        }

        .driver-evidence-content {
            padding: 1rem;
            border-top: 1px solid var(--border);
        }

        .evidence-title {
            font-size: 0.7rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.01em;
            color: var(--ink-light);
            margin-bottom: 0.75rem;
        }

        .evidence-quotes {
            display: flex;
            flex-direction: column;
            gap: 0.625rem;
        }

        .evidence-quote {
            padding: 0.75rem;
            background: var(--surface-card);
            border-radius: var(--radius-sm);
            border-left: 3px solid var(--border);
        }

        .driver-item.positive .evidence-quote {
            border-left-color: var(--green);
        }

        .driver-item.negative .evidence-quote {
            border-left-color: var(--red);
        }

        .evidence-quote-text {
            font-size: 0.8rem;
            font-style: italic;
            color: var(--ink);
            line-height: 1.6;
            margin-bottom: 0.5rem;
        }

        .evidence-quote-meta {
            font-size: 0.7rem;
            color: var(--ink-light);
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .evidence-skeleton {
            display: flex;
            flex-direction: column;
            gap: 0.625rem;
        }

        .skeleton-quote {
            height: 60px;
            background: linear-gradient(90deg, var(--surface-warm) 25%, var(--surface) 50%, var(--surface-warm) 75%);
            background-size: 200% 100%;
            animation: shimmer 1.5s infinite;
            border-radius: var(--radius-sm);
        }

        @keyframes shimmer {
            0% { background-position: 200% 0; }
            100% { background-position: -200% 0; }
        }

        .driver-view-all {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.375rem;
            padding: 0.625rem;
            font-size: 0.75rem;
            color: var(--ink-muted);
            background: none;
            border: none;
            border-top: 1px solid var(--border);
            cursor: pointer;
            width: 100%;
            transition: all 0.2s var(--ease-out);
        }

        .driver-view-all:hover {
            background: var(--surface-warm);
            color: var(--ink);
        }

        .driver-view-all svg {
            width: 14px;
            height: 14px;
        }

        .show-more-drivers {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.375rem;
            padding: 0.75rem;
            margin-top: 0.5rem;
            font-size: 0.8rem;
            color: var(--ink-muted);
            background: var(--surface-warm);
            border: 1px solid var(--border);
            border-radius: var(--radius-sm);
            cursor: pointer;
            width: 100%;
            transition: all 0.2s var(--ease-out);
        }

        .show-more-drivers:hover {
            background: var(--surface);
            color: var(--ink);
            border-color: var(--accent);
        }

        /* Active Filter Indicator */
        .active-filter-notice {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.625rem 0.875rem;
            background: #eff6ff;
            border: 1px solid #bfdbfe;
            border-radius: 8px;
            margin-bottom: 1rem;
            font-size: 0.8rem;
            color: #1e40af;
        }

        .active-filter-notice svg {
            width: 16px;
            height: 16px;
            flex-shrink: 0;
        }

        .clear-filter-btn {
            margin-left: auto;
            padding: 0.25rem 0.5rem;
            font-size: 0.7rem;
            background: var(--white);
            border: 1px solid #93c5fd;
            border-radius: 4px;
            cursor: pointer;
            color: #1e40af;
        }

        .clear-filter-btn:hover {
            background: #dbeafe;
        }

        /* Experiential Tags Section */
        .experiential-tags-section {
            margin-bottom: 1.75rem;
            padding-top: 1rem;
            border-top: 1px solid var(--border);
        }

        .experiential-tags-grid {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .tag-category-group {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .tag-category-label {
            font-size: 0.7rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.01em;
            color: var(--ink-light);
        }

        .tag-chips-row {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .tag-chip {
            display: inline-flex;
            align-items: center;
            gap: 0.375rem;
            padding: 0.375rem 0.75rem;
            font-size: 0.8rem;
            font-weight: 500;
            border-radius: 20px;
            cursor: default;
            transition: all 0.15s;
        }

        .tag-chip.positive {
            background: #ecfdf5;
            color: #047857;
            border: 1px solid #a7f3d0;
        }

        .tag-chip.negative {
            background: #fef2f2;
            color: #b91c1c;
            border: 1px solid #fecaca;
        }

        .tag-chip.neutral {
            background: var(--surface-warm);
            color: var(--ink);
            border: 1px solid var(--border);
        }

        .tag-chip svg {
            width: 14px;
            height: 14px;
            flex-shrink: 0;
        }

        /* Unfiltered Take Callout */
        .unfiltered-take-callout {
            margin-bottom: 1.75rem;
            padding: 1rem 1.25rem;
            background: linear-gradient(135deg, #fef9e7 0%, #fff8e1 100%);
            border: 1px solid var(--gold);
            border-left: 4px solid var(--gold);
            border-radius: 8px;
        }

        .unfiltered-take-header {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 0.625rem;
            font-size: 0.875rem;
            font-weight: 700;
            color: var(--ink);
        }

        .unfiltered-take-header svg {
            width: 18px;
            height: 18px;
            color: var(--gold);
        }

        .unfiltered-take-text {
            margin: 0;
            font-size: 0.9rem;
            line-height: 1.7;
            color: var(--ink);
            font-style: italic;
        }

        /* Tag Filter Bar (Search Results) */
        .tag-filter-bar {
            margin-bottom: 1.25rem;
            padding: 1rem;
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--radius);
        }

        .tag-filter-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 0.75rem;
        }

        .tag-filter-label {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.8rem;
            font-weight: 600;
            color: var(--ink);
            text-transform: uppercase;
            letter-spacing: 0.01em;
        }

        .tag-filter-label svg {
            width: 16px;
            height: 16px;
            color: var(--ink-light);
        }

        .tag-filter-clear {
            font-size: 0.75rem;
            color: var(--ink-muted);
            background: none;
            border: none;
            cursor: pointer;
            padding: 0.25rem 0.5rem;
            border-radius: 100px;
            transition: all 0.2s var(--ease-out);
        }

        .tag-filter-clear:hover {
            color: var(--accent);
            background: var(--surface-warm);
        }

        .tag-filter-scroller {
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            margin: 0 -0.5rem;
            padding: 0 0.5rem;
            scrollbar-width: thin;
        }

        .tag-filter-scroller::-webkit-scrollbar {
            height: 4px;
        }

        .tag-filter-scroller::-webkit-scrollbar-track {
            background: transparent;
        }

        .tag-filter-scroller::-webkit-scrollbar-thumb {
            background: var(--border);
            border-radius: 2px;
        }

        .tag-filter-chips {
            display: flex;
            gap: 0.5rem;
            padding-bottom: 0.5rem;
        }

        .tag-filter-chip {
            display: inline-flex;
            align-items: center;
            gap: 0.375rem;
            padding: 0.5rem 0.875rem;
            font-size: 0.8rem;
            font-weight: 500;
            white-space: nowrap;
            border-radius: 20px;
            cursor: pointer;
            transition: all 0.15s;
            background: var(--surface-card);
            color: var(--ink);
            border: 1px solid var(--border);
        }

        .tag-filter-chip:hover {
            border-color: var(--accent);
            background: var(--surface-warm);
        }

        .tag-filter-chip.selected {
            background: var(--ink);
            color: var(--white);
            border-color: var(--ink);
        }

        .tag-filter-chip.selected:hover {
            background: var(--accent);
        }

        .tag-filter-chip svg {
            width: 14px;
            height: 14px;
            flex-shrink: 0;
        }

        .tag-filter-chip.positive svg {
            color: #059669;
        }

        .tag-filter-chip.negative svg {
            color: #dc2626;
        }

        .tag-filter-chip.selected svg {
            color: currentColor;
        }

        .active-tag-filters {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-top: 0.75rem;
            padding-top: 0.75rem;
            border-top: 1px solid var(--border);
        }

        .active-tag-chip {
            display: inline-flex;
            align-items: center;
            gap: 0.375rem;
            padding: 0.375rem 0.625rem;
            font-size: 0.75rem;
            font-weight: 600;
            background: var(--ink);
            color: #FFFFFF;
            border-radius: var(--radius-sm);
        }

        .active-tag-chip button {
            background: none;
            border: none;
            color: rgba(255,255,255,0.6);
            cursor: pointer;
            padding: 0;
            font-size: 1rem;
            line-height: 1;
            margin-left: 0.25rem;
        }

        .active-tag-chip button:hover {
            color: var(--white);
        }

        /* No tag matches state */
        .no-tag-matches {
            text-align: center;
            padding: 3rem 1rem;
            color: var(--ink-muted);
        }

        .no-tag-matches h3 {
            margin-bottom: 0.5rem;
            color: var(--ink);
        }

        .no-tag-matches button {
            margin-top: 1rem;
        }

        /* Tag Landing Page */
        .tag-landing-page {
            max-width: 1200px;
            margin: 0 auto;
            padding: 2rem 1rem 4rem;
        }

        .tag-landing-header {
            text-align: center;
            margin-bottom: 2rem;
            padding-bottom: 2rem;
            border-bottom: 1px solid var(--border);
        }

        .tag-landing-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.375rem;
            padding: 0.375rem 0.75rem;
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.01em;
            border-radius: 4px;
            margin-bottom: 1rem;
        }

        .tag-landing-badge.positive {
            background: #ecfdf5;
            color: #047857;
        }

        .tag-landing-badge.negative {
            background: #fef2f2;
            color: #b91c1c;
        }

        .tag-landing-badge.neutral {
            background: var(--surface-warm);
            color: var(--ink);
        }

        .tag-landing-header h2 {
            font-size: 2rem;
            font-weight: 800;
            margin-bottom: 0.75rem;
        }

        .tag-landing-description {
            font-size: 1.1rem;
            color: var(--ink-muted);
            max-width: 600px;
            margin: 0 auto;
            line-height: 1.7;
        }

        .tag-landing-info {
            display: flex;
            justify-content: center;
            gap: 3rem;
            margin-bottom: 2rem;
        }

        .tag-info-item {
            text-align: center;
        }

        .tag-info-label {
            display: block;
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.01em;
            color: var(--ink-light);
            margin-bottom: 0.25rem;
        }

        .tag-info-value {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--ink);
        }

        .tag-landing-results {
            margin-bottom: 3rem;
        }

        .tag-loading {
            text-align: center;
            padding: 3rem 1rem;
            color: var(--ink-muted);
        }

        .tag-empty-state {
            text-align: center;
            padding: 3rem 1rem;
            background: var(--surface);
            border-radius: var(--radius);
        }

        .tag-empty-state p {
            margin-bottom: 1.5rem;
            color: var(--ink-muted);
        }

        .tag-related-tags {
            padding: 2rem;
            background: var(--surface);
            border-radius: var(--radius);
            margin-bottom: 2rem;
        }

        .tag-related-tags h3 {
            font-size: 1rem;
            font-weight: 700;
            margin-bottom: 1rem;
        }

        .tag-related-chips {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .tag-related-chip {
            display: inline-flex;
            align-items: center;
            gap: 0.375rem;
            padding: 0.5rem 1rem;
            font-size: 0.875rem;
            font-weight: 500;
            text-decoration: none;
            color: var(--ink);
            background: var(--surface-card);
            border: 1px solid var(--border);
            border-radius: 100px;
            transition: all 0.2s var(--ease-out);
        }

        .tag-related-chip:hover {
            border-color: var(--accent);
            background: var(--surface-warm);
        }

        .tag-landing-footer {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid var(--border);
        }

        @media (max-width: 768px) {
            .tag-landing-header h2 {
                font-size: 1.5rem;
            }

            .tag-landing-info {
                gap: 2rem;
            }
        }

        /* Compare Page */
        .compare-page {
            max-width: 1200px;
            margin: 0 auto;
            padding: 2rem 1rem 4rem;
        }

        .compare-page-header {
            text-align: center;
            margin-bottom: 2rem;
        }

        .compare-page-header h2 {
            font-size: 2rem;
            font-weight: 400;
            color: var(--ink);
            margin-bottom: 0.5rem;
        }

        .compare-subtitle {
            color: var(--ink-light);
            font-size: 1rem;
        }

        /* Pick Recommendations */
        .pick-recommendations {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.5rem;
            margin-bottom: 2rem;
        }

        .pick-card {
            padding: 1.5rem;
            border-radius: var(--radius-lg);
            border: 1px solid;
        }

        .pick-card.pick-a {
            background: rgba(61, 139, 94, 0.05);
            border-color: rgba(61, 139, 94, 0.2);
        }

        .pick-card.pick-b {
            background: rgba(59, 130, 246, 0.05);
            border-color: rgba(59, 130, 246, 0.2);
        }

        .pick-card-header {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.6875rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.02em;
            margin-bottom: 0.75rem;
        }

        .pick-card.pick-a .pick-card-header {
            color: #047857;
        }

        .pick-card.pick-b .pick-card-header {
            color: #1d4ed8;
        }

        .pick-card-hotel {
            font-size: 1.25rem;
            font-weight: 400;
            color: var(--ink);
            margin-bottom: 0.75rem;
        }

        .pick-card-reasons {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .pick-card-reasons li {
            font-size: 0.9375rem;
            color: var(--ink-light);
            padding: 0.25rem 0;
            padding-left: 1.25rem;
            position: relative;
        }

        .pick-card-reasons li::before {
            content: "✓";
            position: absolute;
            left: 0;
            color: currentColor;
        }

        .pick-card.pick-a .pick-card-reasons li::before {
            color: #10b981;
        }

        .pick-card.pick-b .pick-card-reasons li::before {
            color: #3b82f6;
        }

        /* Compare Grid */
        .compare-grid-section {
            margin-bottom: 2rem;
        }

        .compare-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1.5rem;
        }

        .compare-grid.hotels-3 {
            grid-template-columns: repeat(3, 1fr);
        }

        .compare-column {
            background: var(--surface-card);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            overflow: hidden;
        }

        .compare-column-header {
            position: relative;
        }

        .compare-column-header img {
            width: 100%;
            height: 180px;
            object-fit: cover;
        }

        .compare-column-header .price-badge {
            position: absolute;
            bottom: 0.75rem;
            right: 0.75rem;
            background: var(--ink);
            color: #FFFFFF;
            padding: 0.5rem 0.75rem;
            border-radius: var(--radius-sm);
            font-weight: 600;
            font-size: 1rem;
        }

        .compare-column-body {
            padding: 1.25rem;
        }

        .compare-column-body h3 {
            font-size: 1.125rem;
            font-weight: 400;
            color: var(--ink);
            margin-bottom: 0.5rem;
        }

        .compare-column-location {
            font-size: 0.875rem;
            color: var(--ink-light);
            margin-bottom: 1rem;
        }

        .compare-column-meta {
            display: flex;
            gap: 1rem;
            margin-bottom: 1rem;
            font-size: 0.875rem;
            color: var(--ink-muted);
        }

        .compare-column-meta span {
            display: flex;
            align-items: center;
            gap: 0.25rem;
        }

        .compare-column-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.375rem;
            margin-bottom: 1rem;
        }

        .compare-column-tag {
            font-size: 0.6875rem;
            padding: 0.25rem 0.5rem;
            border-radius: var(--radius-sm);
            font-weight: 500;
        }

        .compare-column-tag.positive {
            background: rgba(61, 139, 94, 0.1);
            color: #3d8b5e;
        }

        .compare-column-tag.negative {
            background: rgba(192, 84, 77, 0.1);
            color: #c0544d;
        }

        .compare-column-tag.neutral {
            background: var(--surface-warm);
            color: var(--ink-light);
        }

        .compare-column-cta {
            width: 100%;
            padding: 0.75rem;
            background: var(--ink);
            color: #FFFFFF;
            border: none;
            border-radius: var(--radius);
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s var(--ease-out);
        }

        .compare-column-cta:hover {
            background: var(--accent);
        }

        /* Compare Tags Section */
        .compare-tags-section {
            background: var(--surface);
            padding: 1.5rem;
            border-radius: var(--radius-lg);
            border: 1px solid var(--border);
            margin-bottom: 2rem;
        }

        .compare-tags-section h3 {
            font-size: 1.125rem;
            font-weight: 400;
            color: var(--ink);
            margin-bottom: 1rem;
        }

        .compare-tags-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1rem;
        }

        .compare-tags-column h4 {
            font-size: 0.875rem;
            font-weight: 600;
            margin-bottom: 0.75rem;
            color: var(--ink-light);
        }

        .compare-tags-list {
            display: flex;
            flex-wrap: wrap;
            gap: 0.375rem;
        }

        .compare-page-footer {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid var(--border);
            color: var(--ink-light);
        }

        .compare-page-footer a {
            color: var(--accent);
            font-weight: 600;
        }

        @media (max-width: 768px) {
            .pick-recommendations {
                grid-template-columns: 1fr;
            }

            .compare-grid {
                grid-template-columns: 1fr;
            }

            .compare-tags-grid {
                grid-template-columns: 1fr;
            }
        }

        /* =====================================================
           INTENT PAGE STYLES
           ===================================================== */
        .intent-page {
            max-width: 1000px;
            margin: 0 auto;
            padding: 2rem 1rem;
        }

        .intent-header {
            text-align: center;
            margin-bottom: 2rem;
        }

        .intent-badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 72px;
            height: 72px;
            background: var(--surface-warm);
            border-radius: 50%;
            margin-bottom: 1rem;
        }

        .intent-icon {
            font-size: 2rem;
        }

        .intent-title {
            font-size: 2rem;
            font-weight: 800;
            margin-bottom: 0.5rem;
            text-transform: uppercase;
            letter-spacing: -0.02em;
        }

        .intent-description {
            font-size: 1rem;
            color: var(--ink-light);
            max-width: 500px;
            margin: 0 auto;
        }

        .intent-city {
            font-size: 1.1rem;
            color: var(--ink-light);
            margin-top: 0.5rem;
        }

        .intent-city #intentCityName {
            font-weight: 600;
        }

        /* How We Rank Disclosure */
        .intent-ranking-disclosure {
            background: var(--surface);
            border-radius: 12px;
            margin-bottom: 2rem;
            overflow: hidden;
        }

        .disclosure-toggle {
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 1.25rem;
            background: none;
            border: none;
            font-size: 0.9rem;
            font-weight: 600;
            cursor: pointer;
            color: var(--ink-light);
        }

        .disclosure-toggle:hover {
            background: var(--surface-warm);
        }

        .disclosure-toggle svg {
            transition: transform 0.2s;
        }

        .disclosure-toggle.open svg {
            transform: rotate(180deg);
        }

        .disclosure-content {
            padding: 0 1.25rem 1.25rem;
            font-size: 0.875rem;
            color: var(--ink-light);
            line-height: 1.6;
        }

        .disclosure-content ol {
            padding-left: 1.25rem;
            margin: 0.75rem 0;
        }

        .disclosure-content li {
            margin-bottom: 0.5rem;
        }

        .disclosure-boost-tags,
        .disclosure-exclude-tags {
            font-size: 0.8rem;
            margin-top: 0.75rem;
        }

        .disclosure-boost-tags strong {
            color: #047857;
        }

        .disclosure-exclude-tags strong {
            color: #b91c1c;
        }

        .disclosure-link {
            display: inline-block;
            margin-top: 0.75rem;
            color: var(--accent);
            font-weight: 600;
            text-decoration: none;
        }

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

        /* Hotels Grid */
        .intent-hotels-section {
            margin-bottom: 3rem;
        }

        .intent-hotels-grid {
            display: grid;
            gap: 1.5rem;
        }

        .intent-loading {
            text-align: center;
            padding: 3rem;
        }

        .intent-loading .spinner {
            width: 40px;
            height: 40px;
            border: 3px solid var(--border);
            border-top-color: var(--gold);
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto 1rem;
        }

        .intent-no-results {
            text-align: center;
            padding: 3rem;
            background: var(--surface);
            border-radius: 12px;
        }

        .intent-no-results p {
            margin-bottom: 1rem;
            color: var(--ink-light);
        }

        /* Intent Hotel Card */
        .intent-hotel-card {
            display: grid;
            grid-template-columns: 200px 1fr auto;
            gap: 1.25rem;
            background: var(--surface-card);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            overflow: hidden;
            transition: all 0.2s var(--ease-out);
        }

        .intent-hotel-card:hover {
            box-shadow: var(--shadow-md);
        }

        .intent-hotel-image {
            width: 200px;
            height: 150px;
            object-fit: cover;
        }

        .intent-hotel-content {
            padding: 1rem 0;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .intent-hotel-rank {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 28px;
            height: 28px;
            background: var(--ink);
            color: var(--white);
            border-radius: 50%;
            font-size: 0.8rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }

        .intent-hotel-name {
            font-size: 1.1rem;
            font-weight: 400;
            margin-bottom: 0.25rem;
        }

        .intent-hotel-location {
            font-size: 0.85rem;
            color: var(--ink-muted);
            margin-bottom: 0.5rem;
        }

        .intent-hotel-meta {
            display: flex;
            gap: 1rem;
            font-size: 0.85rem;
            color: var(--ink-muted);
            margin-bottom: 0.5rem;
        }

        .intent-hotel-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.375rem;
        }

        .intent-hotel-tag {
            font-size: 0.7rem;
            padding: 0.2rem 0.5rem;
            border-radius: 100px;
            font-weight: 500;
        }

        .intent-hotel-tag.boost {
            background: rgba(61, 139, 94, 0.1);
            color: #3d8b5e;
            border: 1px solid rgba(61, 139, 94, 0.3);
        }

        .intent-hotel-tag.normal {
            background: var(--surface-warm);
            color: var(--ink-muted);
        }

        .intent-hotel-action {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: flex-end;
            padding: 1rem 1.25rem 1rem 0;
        }

        .intent-hotel-price {
            font-size: 1.25rem;
            font-weight: 700;
            margin-bottom: 0.25rem;
        }

        .intent-hotel-price-label {
            font-size: 0.75rem;
            color: var(--ink-light);
            margin-bottom: 0.75rem;
        }

        .intent-hotel-cta {
            padding: 0.5rem 1rem;
            background: var(--ink);
            color: var(--white);
            border: none;
            border-radius: 100px;
            font-size: 0.85rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s var(--ease-out);
        }

        .intent-hotel-cta:hover {
            background: var(--accent);
        }

        /* Other Intents Section */
        .intent-related-section {
            padding-top: 2rem;
            border-top: 1px solid var(--border);
        }

        .intent-related-section h3 {
            font-size: 1rem;
            font-weight: 700;
            margin-bottom: 1rem;
        }

        .intent-chips {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .intent-chip {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.5rem 1rem;
            background: var(--surface-card);
            border: 1px solid var(--border);
            border-radius: 100px;
            font-size: 0.85rem;
            font-weight: 500;
            cursor: pointer;
            text-decoration: none;
            color: var(--ink);
            transition: all 0.2s var(--ease-out);
        }

        .intent-chip:hover {
            background: var(--surface-warm);
            border-color: var(--accent);
        }

        .intent-chip.current {
            background: var(--ink);
            color: var(--white);
            border-color: var(--ink);
        }

        @media (max-width: 768px) {
            .intent-hotel-card {
                grid-template-columns: 1fr;
            }

            .intent-hotel-image {
                width: 100%;
                height: 180px;
            }

            .intent-hotel-content {
                padding: 0 1rem;
            }

            .intent-hotel-action {
                padding: 0 1rem 1rem;
                flex-direction: row;
                justify-content: space-between;
                align-items: center;
            }

            .intent-hotel-price-label {
                margin-bottom: 0;
            }
        }

        /* Legacy Tooltips - removed black bubble tooltips for Confidence/AI Summary,
           replaced with inline disclosure panels for trust-critical UI */

        /* Responsive adjustments for insights */
        @media (max-width: 768px) {
            .insights-trust-header {
                flex-direction: column;
                align-items: flex-start;
            }

            .traveler-type-toggle {
                width: 100%;
            }

            .trust-meta {
                width: 100%;
                justify-content: space-between;
            }

            .drivers-tabs {
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
            }

            .driver-tab {
                flex-shrink: 0;
            }

            .driver-meta {
                flex-direction: column;
                gap: 0.25rem;
            }
        }

        /* Legacy support - keep spinner for other uses */
        .spinner-small {
            width: 24px;
            height: 24px;
            border: 2px solid var(--border);
            border-top-color: var(--accent);
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto 0.5rem;
        }

        /* Reviews Section */
        .reviews-section {
            background: var(--surface-card);
            border-radius: var(--radius-lg);
            border: 1px solid var(--border);
            padding: 1.5rem;
            margin-bottom: 2rem;
            box-shadow: var(--shadow-sm);
        }

        .reviews-section h2 {
            font-size: 1.25rem;
            font-weight: 400;
            margin-bottom: 1rem;
            color: var(--ink);
        }

        .reviews-section h2 span {
            font-weight: 400;
            color: var(--ink-muted);
            font-size: 0.875rem;
        }

        .reviews-loading {
            text-align: center;
            padding: 2rem;
            color: var(--ink-muted);
        }

        .reviews-list {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .review-card {
            padding: 1.25rem;
            border: none;
            border-radius: var(--radius);
            background: var(--surface);
        }

        .review-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 0.75rem;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .review-author {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .review-avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: var(--accent-soft);
            color: var(--accent);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            font-size: 0.875rem;
        }

        .review-name {
            font-weight: 600;
            font-size: 0.875rem;
            color: var(--ink);
        }

        .review-meta {
            font-size: 0.7rem;
            color: var(--ink-muted);
        }

        .review-score {
            padding: 0.25rem 0.625rem;
            border-radius: 100px;
            font-weight: 600;
            font-size: 0.8rem;
        }

        .review-score.excellent { background: rgba(61, 139, 94, 0.1); color: #3d8b5e; }
        .review-score.good { background: #fef9c3; color: #854d0e; }
        .review-score.average { background: #fed7aa; color: #9a3412; }
        .review-score.poor { background: rgba(192, 84, 77, 0.1); color: #c0544d; }

        .review-content {
            font-size: 0.875rem;
            line-height: 1.7;
            color: var(--ink-light);
        }

        .review-content .pros {
            margin-bottom: 0.5rem;
        }

        .review-content .cons {
            color: var(--ink-muted);
        }

        .review-type-badge {
            font-size: 0.65rem;
            padding: 0.125rem 0.5rem;
            background: var(--surface-warm);
            border-radius: 100px;
            color: var(--ink-muted);
            margin-left: 0.5rem;
        }

        .load-more-btn {
            width: 100%;
            padding: 0.875rem;
            margin-top: 1rem;
            background: transparent;
            border: 1.5px solid var(--border);
            border-radius: var(--radius);
            font-size: 0.875rem;
            font-weight: 500;
            color: var(--ink-light);
            cursor: pointer;
            transition: all 0.2s var(--ease-out);
        }

        .load-more-btn:hover {
            border-color: var(--accent);
            color: var(--accent);
        }

        /* Checkout View */
        .checkout-view {
            padding: 6rem 2rem 3rem;
            max-width: 800px;
            margin: 0 auto;
        }

        .checkout-card {
            background: var(--surface-card);
            border-radius: var(--radius-lg);
            border: 1px solid var(--border);
            padding: 2rem;
            box-shadow: var(--shadow-sm);
            margin-bottom: 1.5rem;
        }

        .checkout-card h2 {
            font-size: 1.25rem;
            font-weight: 400;
            margin-bottom: 1.5rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid var(--border);
            color: var(--ink);
        }

        .booking-summary {
            display: flex;
            gap: 1.5rem;
            margin-bottom: 1.5rem;
        }

        .booking-summary img {
            width: 120px;
            height: 90px;
            border-radius: var(--radius);
            object-fit: cover;
        }

        .booking-summary-info h3 {
            font-size: 1.375rem;
            font-weight: 400;
            margin-bottom: 0.5rem;
            color: var(--ink);
        }

        .booking-summary-info p {
            font-size: 0.875rem;
            color: var(--ink-light);
        }

        .price-change-alert {
            margin: 0.75rem 0;
            padding: 0.75rem 1rem;
            border-radius: 6px;
            font-size: 0.85rem;
            line-height: 1.4;
        }

        .price-change-alert.price-increased {
            background: #FFF8F0;
            border: 1px solid #E8A87C;
            color: #8B4513;
        }

        .price-change-alert.price-decreased {
            background: #F0F8F0;
            border: 1px solid #7B8F6B;
            color: #3D5A3D;
        }

        .price-change-alert .original-price {
            text-decoration: line-through;
            opacity: 0.7;
        }

        .price-change-alert .new-price {
            font-weight: 700;
        }

        .price-breakdown {
            border-top: 1px solid var(--border);
            padding-top: 1rem;
            margin-top: 1rem;
        }

        .price-row {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.5rem;
            color: var(--ink-light);
        }

        .price-row.total {
            font-weight: 600;
            font-size: 1.25rem;
            padding-top: 0.5rem;
            border-top: 1px solid var(--border);
            margin-top: 0.5rem;
            color: var(--ink);
        }

        .form-group {
            margin-bottom: 1.25rem;
        }

        .form-group label {
            display: block;
            font-size: 0.6875rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.02em;
            color: var(--ink-muted);
            margin-bottom: 0.5rem;
        }

        .form-group input {
            width: 100%;
            padding: 0.875rem 1rem;
            background: var(--surface);
            border: 1.5px solid var(--border);
            border-radius: var(--radius);
            font-size: 1rem;
            color: var(--ink);
            transition: all 0.2s var(--ease-out);
        }

        .form-group input:focus {
            outline: none;
            border-color: var(--accent);
            box-shadow: 0 0 0 3px rgba(196, 93, 62, 0.1);
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
        }

        /* Payment Form */
        #payment-form-container {
            min-height: 150px;
        }

        .checkout-merchant-disclosure {
            display: flex;
            align-items: flex-start;
            gap: 0.5rem;
            font-size: 0.8rem;
            color: var(--ink-muted, #888);
            margin-top: 1rem;
            line-height: 1.5;
        }
        .checkout-merchant-disclosure svg {
            flex-shrink: 0;
            margin-top: 1px;
            color: var(--ink-light, #999);
        }

        .sandbox-notice {
            background: #fef3c7;
            border: 1px solid #fcd34d;
            color: #92400e;
            padding: 1rem;
            border-radius: var(--radius);
            margin-bottom: 1.5rem;
            font-size: 0.875rem;
        }

        .sandbox-notice strong {
            display: block;
            margin-bottom: 0.25rem;
        }

        /* LiteAPI Payment Button Styling */
        .lp-submit-button {
            width: 100%;
            padding: 1rem !important;
            background: var(--ink) !important;
            color: var(--white) !important;
            border: none !important;
            border-radius: var(--radius) !important;
            font-size: 1rem !important;
            font-weight: 600 !important;
            cursor: pointer !important;
            transition: all 0.2s var(--ease-out) !important;
            margin-top: 1rem !important;
        }

        .lp-submit-button:hover {
            background: var(--accent) !important;
        }

        /* Confirmation View */
        .confirmation-view {
            padding: 5rem 1.5rem 3rem;
            max-width: 640px;
            margin: 0 auto;
            text-align: center;
        }

        .confirm-icon {
            width: 72px;
            height: 72px;
            background: #3d8b5e;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.25rem;
        }
        .confirm-icon svg {
            width: 36px;
            height: 36px;
            color: white;
        }

        .confirmation-view h2 {
            font-size: 1.75rem;
            font-weight: 600;
            margin-bottom: 0.35rem;
            color: var(--ink);
        }

        .confirm-subtitle {
            color: var(--ink-muted);
            margin-bottom: 2rem;
            font-size: 0.95rem;
        }

        .confirm-reference-card {
            background: var(--surface-card);
            border: 2px solid var(--accent);
            border-radius: var(--radius-lg);
            padding: 1.25rem 1.5rem;
            margin-bottom: 1.5rem;
            text-align: left;
        }
        .confirm-ref-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.4rem 0;
        }
        .confirm-ref-row + .confirm-ref-row {
            border-top: 1px solid var(--border);
            margin-top: 0.4rem;
            padding-top: 0.8rem;
        }
        .confirm-ref-label {
            font-size: 0.8rem;
            color: var(--ink-light);
            text-transform: uppercase;
            letter-spacing: 0.03em;
        }
        .confirm-ref-value {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--accent);
            user-select: all;
            cursor: text;
            font-family: 'JetBrains Mono', monospace;
            letter-spacing: 0.02em;
        }

        .confirm-card {
            background: var(--surface-card);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            padding: 1.5rem;
            margin-bottom: 1rem;
            text-align: left;
        }
        .confirm-card-header {
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.04em;
            color: var(--ink-light);
            margin-bottom: 1rem;
        }

        .confirm-hotel-photo {
            width: 100%;
            height: 160px;
            object-fit: cover;
            border-radius: var(--radius);
            margin-bottom: 0.75rem;
        }
        .confirm-hotel-name {
            font-size: 1.15rem;
            font-weight: 600;
            color: var(--ink);
            margin-bottom: 0.25rem;
        }
        .confirm-hotel-addr {
            font-size: 0.85rem;
            color: var(--ink-light);
            margin-bottom: 1rem;
        }

        .confirm-details-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0.75rem;
        }
        .confirm-detail {
            display: flex;
            flex-direction: column;
            gap: 0.15rem;
        }
        .confirm-detail-label {
            font-size: 0.75rem;
            color: var(--ink-muted);
            text-transform: uppercase;
            letter-spacing: 0.03em;
        }
        .confirm-detail-value {
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--ink);
        }

        .confirm-price-rows {
            display: flex;
            flex-direction: column;
        }
        .confirm-price-row {
            display: flex;
            justify-content: space-between;
            padding: 0.5rem 0;
            font-size: 0.9rem;
            color: var(--ink);
            border-bottom: 1px solid var(--border);
        }
        .confirm-price-row:last-child {
            border-bottom: none;
        }
        .confirm-pay-at-hotel {
            color: var(--ink-light);
            font-style: italic;
        }
        .confirm-total-row {
            font-weight: 700;
            font-size: 1rem;
            border-top: 2px solid var(--ink);
            border-bottom: none;
            padding-top: 0.75rem;
            margin-top: 0.25rem;
        }

        .confirm-cancel-info {
            font-size: 0.9rem;
        }
        .confirm-refundable {
            color: #3d8b5e;
            font-weight: 500;
        }
        .confirm-non-refundable {
            color: var(--ink-muted);
            font-weight: 500;
        }

        .confirm-merchant-note {
            display: flex;
            align-items: flex-start;
            gap: 0.5rem;
            font-size: 0.8rem;
            color: var(--ink-muted);
            margin: 1rem 0 0.5rem;
            padding: 0.6rem 0.75rem;
            line-height: 1.5;
        }
        .confirm-merchant-note svg {
            flex-shrink: 0;
            margin-top: 1px;
            color: var(--ink-light);
        }

        .confirm-email-note {
            font-size: 0.85rem;
            color: var(--ink-light);
            margin: 0.75rem 0 1.25rem;
            padding: 0.75rem;
            background: #f5f5f0;
            border-radius: var(--radius);
        }

        .confirm-actions {
            display: flex;
            gap: 0.75rem;
            justify-content: center;
            margin-top: 1.5rem;
            flex-wrap: wrap;
        }
        .confirm-print-btn {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            padding: 0.75rem 1.25rem;
            background: var(--surface-card);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            font-size: 0.875rem;
            font-weight: 500;
            cursor: pointer;
            color: var(--ink);
        }
        .confirm-print-btn:hover {
            background: var(--bg-subtle, #f5f5f5);
        }
        .confirm-new-search-btn {
            padding: 0.75rem 1.5rem;
            background: var(--ink);
            color: var(--white);
            border: none;
            border-radius: var(--radius);
            font-size: 0.875rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s var(--ease-out);
        }

        .new-search-btn:hover {
            background: var(--accent);
        }

        /* Footer */
        footer {
            background: var(--ink);
            color: var(--white);
            padding: 2rem;
            text-align: center;
            border-top: none;
        }

        .footer-brand h3 {
            font-size: 1.125rem;
            font-weight: 400;
            margin-bottom: 0.5rem;
            color: var(--white);
            letter-spacing: normal;
        }
        .footer-brand h3 span { color: var(--accent); }

        .footer-copyright {
            color: rgba(255,255,255,0.7);
            font-size: 0.75rem;
            letter-spacing: normal;
            margin: 0.75rem 0 0.5rem 0;
            font-weight: 400;
        }

        .footer-links {
            color: rgba(255,255,255,0.5);
            font-size: 0.75rem;
            letter-spacing: normal;
            margin: 0;
        }

        .footer-link {
            color: var(--white);
            text-decoration: none;
            transition: color 0.15s;
            font-weight: 600;
            cursor: pointer;
        }

        .footer-link:hover {
            color: var(--accent);
        }

        .footer-separator {
            margin: 0 0.5rem;
            opacity: 0.5;
        }

        .footer-attribution {
            opacity: 0.7;
        }

        /* Empty State */
        .empty-state {
            text-align: center;
            padding: 4rem 2rem;
        }

        .empty-state h3 {
            font-size: 1.5rem;
            font-weight: 400;
            margin-bottom: 0.5rem;
            color: var(--ink);
        }

        .empty-state p {
            color: var(--ink-light);
        }

        /* Filters Panel — compact inline bar */
        .filters-panel {
            background: var(--surface);
            border-radius: var(--radius);
            border: 1px solid var(--border);
            padding: 0.5rem 0.75rem;
            margin-bottom: 1rem;
        }

        .filters-toggle {
            display: flex;
            align-items: center;
            justify-content: space-between;
            cursor: pointer;
            padding: 0;
        }

        .filters-toggle h3 {
            font-size: 0.8rem;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 0.375rem;
            color: var(--ink-light);
            margin: 0;
        }

        .filters-toggle h3 svg {
            width: 14px;
            height: 14px;
        }

        .filters-toggle .arrow {
            transition: transform 0.2s;
            width: 16px;
            height: 16px;
            color: var(--ink-muted);
        }

        .filters-toggle.open .arrow {
            transform: rotate(180deg);
        }

        .filters-content {
            display: none;
            padding-top: 0.75rem;
            border-top: 1px solid var(--border);
            margin-top: 0.5rem;
        }

        .filters-content.visible {
            display: block;
        }

        .filter-group {
            margin-bottom: 1.5rem;
        }

        .filter-group:last-child {
            margin-bottom: 0;
        }

        .filter-group label {
            display: block;
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.04em;
            color: var(--ink-muted);
            margin-bottom: 0.75rem;
        }

        .filter-row {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .price-inputs {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .price-inputs input {
            width: 100px;
            padding: 0.625rem;
            border: 1.5px solid var(--border);
            border-radius: var(--radius);
            font-size: 0.875rem;
        }

        .price-inputs input:focus {
            outline: none;
            border-color: var(--accent);
            box-shadow: 0 0 0 3px var(--accent-soft);
        }

        .price-inputs span {
            color: var(--ink-muted);
        }

        .star-filters {
            display: flex;
            gap: 0.5rem;
            flex-wrap: wrap;
        }

        .star-btn {
            padding: 0.5rem 1rem;
            border: 1.5px solid var(--border);
            background: var(--surface-card);
            border-radius: 100px;
            cursor: pointer;
            font-size: 0.875rem;
            transition: all 0.2s var(--ease-out);
            display: flex;
            align-items: center;
            gap: 0.25rem;
        }

        .star-btn:hover {
            border-color: var(--accent);
        }

        .star-btn.active {
            background: var(--accent);
            border-color: var(--accent);
            color: #FFFFFF;
        }

        .amenity-filters {
            display: flex;
            gap: 0.5rem;
            flex-wrap: wrap;
        }

        .amenity-btn {
            padding: 0.5rem 0.875rem;
            border: 1.5px solid var(--border);
            background: var(--surface-card);
            border-radius: 100px;
            cursor: pointer;
            font-size: 0.75rem;
            transition: all 0.2s var(--ease-out);
        }

        .amenity-btn:hover {
            border-color: var(--accent);
        }

        .amenity-btn.active {
            background: var(--accent);
            border-color: var(--accent);
            color: #FFFFFF;
        }

        .filter-actions {
            display: flex;
            gap: 1rem;
            margin-top: 1.5rem;
            padding-top: 1rem;
            border-top: 1px solid var(--border);
        }

        .apply-filters-btn {
            padding: 0.75rem 1.5rem;
            background: var(--gold);
            border: none;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
        }

        .apply-filters-btn:hover {
            background: var(--gold-light);
        }

        .clear-filters-btn {
            padding: 0.75rem 1.5rem;
            background: transparent;
            border: 2px solid var(--border);
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.2s;
        }

        .clear-filters-btn:hover {
            border-color: var(--border);
        }

        .active-filters {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-top: 0.75rem;
        }

        .active-filter-tag {
            display: flex;
            align-items: center;
            gap: 0.375rem;
            padding: 0.375rem 0.75rem;
            background: var(--gold);
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 500;
        }

        .active-filter-tag button {
            background: none;
            border: none;
            cursor: pointer;
            padding: 0;
            font-size: 1rem;
            line-height: 1;
            opacity: 0.7;
        }

        .active-filter-tag button:hover {
            opacity: 1;
        }

        /* Favorites */
        .favorite-btn {
            position: absolute;
            top: 0.75rem;
            right: 0.75rem;
            width: 36px;
            height: 36px;
            background: var(--white);
            border: none;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: var(--shadow);
            transition: all 0.2s;
            z-index: 10;
        }

        .favorite-btn:hover {
            transform: scale(1.1);
        }

        .favorite-btn svg {
            width: 20px;
            height: 20px;
            transition: all 0.2s;
        }

        .favorite-btn.active svg {
            fill: var(--red);
            stroke: var(--red);
        }

        .favorites-count {
            position: absolute;
            top: -4px;
            right: -4px;
            background: var(--red);
            color: white;
            font-size: 0.65rem;
            font-weight: 700;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .favorites-header-btn {
            position: relative;
            padding: 0.5rem 1rem;
            background: transparent;
            border: 2px solid var(--border);
            border-radius: var(--radius);
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.2s;
        }

        .favorites-header-btn:hover {
            border-color: var(--gold);
        }

        /* Compare Feature */
        .compare-checkbox {
            position: absolute;
            bottom: 0.75rem;
            left: 0.75rem;
            display: flex;
            align-items: center;
            gap: 0.375rem;
            background: var(--white);
            padding: 0.375rem 0.625rem;
            border-radius: 6px;
            font-size: 0.7rem;
            font-weight: 500;
            box-shadow: var(--shadow);
            cursor: pointer;
            z-index: 10;
        }

        .compare-checkbox input {
            width: 16px;
            height: 16px;
            cursor: pointer;
        }

        .compare-bar {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: var(--ink);
            color: #FFFFFF;
            padding: 1rem 2rem;
            display: none;
            align-items: center;
            justify-content: space-between;
            z-index: 200;
            box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
        }

        .compare-bar.visible {
            display: flex;
        }

        .compare-hotels {
            display: flex;
            gap: 1rem;
            align-items: center;
        }

        .compare-hotel-chip {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            background: rgba(255,255,255,0.1);
            padding: 0.5rem 0.75rem;
            border-radius: var(--radius-sm);
            font-size: 0.875rem;
        }

        .compare-hotel-chip img {
            width: 32px;
            height: 32px;
            border-radius: 4px;
            object-fit: cover;
        }

        .compare-hotel-chip button {
            background: none;
            border: none;
            color: rgba(255,255,255,0.5);
            cursor: pointer;
            font-size: 1.125rem;
            padding: 0;
            line-height: 1;
        }

        .compare-hotel-chip button:hover {
            color: #FFFFFF;
        }

        .compare-btn {
            padding: 0.75rem 1.5rem;
            background: var(--accent);
            color: #FFFFFF;
            border: none;
            border-radius: 100px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s var(--ease-out);
        }

        .compare-btn:hover {
            background: var(--gold-light);
        }

        .compare-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        /* Compare Modal */
        .compare-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(26, 26, 26, 0.4);
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
            z-index: 300;
            overflow-y: auto;
            padding: 2rem;
        }

        .compare-modal.visible {
            display: block;
        }

        .compare-modal-content {
            background: var(--surface-card);
            border-radius: var(--radius-lg);
            max-width: 1200px;
            margin: 0 auto;
            overflow: hidden;
            box-shadow: var(--shadow-lg);
        }

        .compare-modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1.5rem 2rem;
            border-bottom: 1px solid var(--border);
        }

        .compare-modal-header h2 {
            font-size: 1.5rem;
            font-weight: 400;
            color: var(--ink);
        }

        .compare-close-btn {
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            padding: 0.5rem;
            color: var(--ink-muted);
            border-radius: 50%;
            transition: all 0.2s var(--ease-out);
        }

        .compare-close-btn:hover {
            color: var(--ink);
            background: var(--surface-warm);
        }

        .compare-table {
            display: grid;
            grid-template-columns: 150px repeat(3, 1fr);
            width: 100%;
        }

        .compare-table.hotels-2 {
            grid-template-columns: 150px repeat(2, 1fr);
        }

        .compare-table.hotels-1 {
            grid-template-columns: 150px 1fr;
        }

        .compare-row {
            display: contents;
        }

        .compare-cell {
            padding: 1rem;
            border-bottom: 1px solid var(--border);
            display: flex;
            align-items: center;
        }

        .compare-cell.header {
            background: var(--surface-warm);
            font-weight: 600;
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.01em;
            color: var(--ink-muted);
        }

        .compare-hotel-header {
            flex-direction: column;
            gap: 0.75rem;
            text-align: center;
            padding: 1.5rem 1rem;
        }

        .compare-hotel-header img {
            width: 100%;
            height: 120px;
            object-fit: cover;
            border-radius: 8px;
        }

        .compare-hotel-header h3 {
            font-size: 1rem;
            line-height: 1.3;
        }

        .compare-hotel-header .price {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--gold);
        }

        .compare-cell.highlight {
            background: #fef9e7;
        }

        /* Share Button */
        .share-btn {
            padding: 0.5rem 1rem;
            background: transparent;
            border: 1.5px solid var(--border);
            border-radius: 100px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.2s var(--ease-out);
        }

        .share-btn:hover {
            border-color: var(--accent);
            color: var(--accent);
        }

        .share-dropdown {
            position: absolute;
            top: 100%;
            right: 0;
            background: var(--surface-card);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            box-shadow: var(--shadow-lg);
            padding: 0.5rem;
            display: none;
            z-index: 100;
            min-width: 180px;
        }

        .share-dropdown.visible {
            display: block;
        }

        .share-option {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.75rem;
            border-radius: var(--radius-sm);
            cursor: pointer;
            transition: background 0.15s;
            font-size: 0.875rem;
            width: 100%;
            border: none;
            background: none;
            text-align: left;
        }

        .share-option:hover {
            background: var(--surface-warm);
        }

        .toast {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            left: auto;
            transform: translateY(20px);
            background: var(--surface-card);
            color: var(--ink);
            padding: 1rem 1.5rem;
            border-radius: var(--radius);
            border-left: 3px solid var(--accent);
            box-shadow: var(--shadow-md);
            font-size: 0.875rem;
            z-index: 400;
            opacity: 0;
            transition: all 0.3s var(--ease-out);
        }

        .toast.visible {
            transform: translateX(-50%) translateY(0);
            opacity: 1;
        }

        /* ===========================================
           SAVE PREFERENCES PROMPT
           Subtle prompt after high-intent actions
           =========================================== */
        .save-prefs-prompt {
            position: fixed;
            bottom: 1.5rem;
            right: 1.5rem;
            max-width: 340px;
            background: var(--surface-card);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-lg);
            padding: 1.25rem;
            z-index: 450;
            opacity: 0;
            transform: translateY(20px);
            pointer-events: none;
            transition: all 0.3s var(--ease-out);
        }

        .save-prefs-prompt.visible {
            opacity: 1;
            transform: translateY(0);
            pointer-events: auto;
        }

        .save-prefs-prompt-header {
            display: flex;
            align-items: flex-start;
            gap: 0.75rem;
            margin-bottom: 1rem;
        }

        .save-prefs-prompt-icon {
            width: 36px;
            height: 36px;
            border-radius: var(--radius-sm);
            background: var(--surface-warm);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .save-prefs-prompt-icon svg {
            width: 18px;
            height: 18px;
            color: var(--accent);
        }

        .save-prefs-prompt-content {
            flex: 1;
        }

        .save-prefs-prompt-text {
            font-size: 0.875rem;
            color: var(--ink-light);
            line-height: 1.6;
            margin: 0;
        }

        .save-prefs-prompt-actions {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            justify-content: flex-end;
        }

        .save-prefs-prompt-dismiss {
            padding: 0.5rem 0.75rem;
            border: none;
            background: transparent;
            font-size: 0.8125rem;
            color: var(--ink-light);
            cursor: pointer;
            border-radius: var(--radius-sm);
            transition: all 0.2s var(--ease-out);
        }

        .save-prefs-prompt-dismiss:hover {
            color: var(--ink);
            background: var(--surface-warm);
        }

        .save-prefs-prompt-dismiss:focus-visible {
            outline: 2px solid var(--accent);
            outline-offset: 2px;
        }

        .save-prefs-prompt-cta {
            padding: 0.5rem 1rem;
            border: none;
            background: var(--ink);
            color: var(--white);
            font-size: 0.8125rem;
            font-weight: 500;
            border-radius: var(--radius);
            cursor: pointer;
            transition: all 0.2s var(--ease-out);
        }

        .save-prefs-prompt-cta:hover {
            background: var(--accent);
        }

        .save-prefs-prompt-cta:focus-visible {
            outline: 2px solid var(--border);
            outline-offset: 2px;
        }

        /* Mobile adjustments */
        @media (max-width: 480px) {
            .save-prefs-prompt {
                left: 1rem;
                right: 1rem;
                max-width: none;
                bottom: 1rem;
            }
        }

        /* ===========================================
           AUTH / LOGIN MODAL
           =========================================== */
        .auth-modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(26, 26, 26, 0.4);
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
            z-index: 10000;
            opacity: 0;
            transition: opacity 0.3s var(--ease-out);
            align-items: center;
            justify-content: center;
        }

        .auth-modal-overlay.visible {
            display: flex;
            opacity: 1;
        }

        .auth-modal {
            background: var(--surface-card);
            border-radius: var(--radius-lg);
            border: none;
            width: 100%;
            max-width: 420px;
            max-height: 90vh;
            overflow-y: auto;
            box-shadow: var(--shadow-lg);
            transform: translateY(20px);
            opacity: 0;
            transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
        }

        .auth-modal-overlay.visible .auth-modal {
            transform: translateY(0);
            opacity: 1;
        }

        .auth-modal-header {
            padding: 2.25rem 2.25rem 0;
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
        }

        .auth-modal-close {
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: transparent;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            font-size: 1.25rem;
            font-weight: 400;
            color: var(--ink-muted);
            transition: all 0.2s var(--ease-out);
        }

        .auth-modal-close:hover {
            background: var(--surface-warm);
            color: var(--ink);
        }

        .auth-modal-body {
            padding: 1.5rem 2.25rem 2.25rem;
        }

        .auth-modal-title {
            font-size: 1.5rem;
            font-weight: 400;
            color: var(--ink);
            text-transform: none;
            letter-spacing: normal;
            margin-bottom: 0.5rem;
        }

        .auth-modal-subtitle {
            font-size: 0.9375rem;
            color: var(--ink-light);
            line-height: 1.6;
            margin-bottom: 1.5rem;
        }

        /* Privacy notice */
        .auth-privacy-notice {
            background: var(--surface);
            border-radius: var(--radius-sm);
            padding: 0.875rem 1rem;
            margin-bottom: 1.5rem;
            font-size: 0.8125rem;
            color: var(--ink-muted);
            line-height: 1.6;
        }

        .auth-privacy-notice strong {
            color: var(--ink);
            display: block;
            margin-bottom: 0.25rem;
        }

        /* OAuth buttons (MODAL ONLY - not header) */
        .auth-providers {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            margin-bottom: 1.5rem;
        }

        .auth-modal-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.75rem;
            padding: 0.875rem 1rem;
            border: 1px solid var(--border);
            background: var(--surface-card);
            border-radius: var(--radius);
            font-size: 0.9375rem;
            font-weight: 500;
            color: var(--ink);
            cursor: pointer;
            transition: all 0.2s var(--ease-out);
            width: 100%;
        }

        .auth-modal-btn:hover {
            background: var(--surface-warm);
            border-color: var(--accent);
        }

        .auth-modal-btn:focus-visible {
            outline: 2px solid var(--accent);
            outline-offset: 2px;
        }

        .auth-modal-btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }

        .auth-modal-btn svg {
            width: 20px;
            height: 20px;
            flex-shrink: 0;
        }

        @font-face {
            font-family: 'Google Sans';
            font-style: normal;
            font-weight: 500;
            font-display: swap;
            src: url('/fonts/google-sans/google-sans-medium.ttf') format('truetype');
        }

        .auth-modal-btn--google {
            background: #fff;
            color: #1f1f1f;
            border-color: #747775;
            border-radius: 4px;
            font-family: 'Google Sans', Arial, sans-serif;
            font-size: 14px;
            letter-spacing: 0.25px;
            gap: 10px;
        }

        .auth-modal-btn--google img {
            flex-shrink: 0;
        }

        .auth-modal-btn--google:hover {
            background: #f2f2f2;
            border-color: #747775;
        }

        .auth-modal-btn--apple {
            background: var(--ink);
            color: #FFFFFF;
            border-color: var(--ink);
        }

        .auth-modal-btn--apple:hover {
            background: #333;
        }

        /* Divider */
        .auth-divider {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

        .auth-divider-line {
            flex: 1;
            height: 1px;
            background: var(--border);
        }

        .auth-divider-text {
            font-size: 0.75rem;
            color: var(--ink-light);
            text-transform: uppercase;
            letter-spacing: 0.01em;
        }

        /* Magic link form */
        .auth-magic-form {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .auth-label {
            font-size: 0.6875rem;
            font-weight: 600;
            letter-spacing: 0.01em;
            color: var(--ink-muted);
            margin-bottom: 0.375rem;
        }

        .auth-input {
            padding: 0.875rem 1rem;
            border: 1.5px solid var(--border);
            border-radius: var(--radius);
            font-size: 0.9375rem;
            color: var(--ink);
            background: var(--surface);
            transition: all 0.2s var(--ease-out);
            width: 100%;
        }

        .auth-input:focus {
            outline: none;
            border-color: var(--accent);
            box-shadow: 0 0 0 3px rgba(196, 93, 62, 0.1);
        }

        .auth-input::placeholder {
            color: var(--ink-light);
        }

        .auth-submit-btn {
            padding: 1rem;
            border: none;
            background: var(--ink);
            color: var(--white);
            font-size: 0.9375rem;
            font-weight: 600;
            text-transform: none;
            letter-spacing: normal;
            border-radius: var(--radius);
            cursor: pointer;
            transition: all 0.2s var(--ease-out);
            width: 100%;
        }

        .auth-submit-btn:hover {
            background: var(--accent);
        }

        .auth-submit-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        /* Privacy disclosure */
        .auth-disclosure {
            margin-top: 1.5rem;
            font-size: 0.8125rem;
        }

        .auth-disclosure summary {
            cursor: pointer;
            color: var(--ink-muted);
            text-decoration: none;
            user-select: none;
        }

        .auth-disclosure summary:hover {
            color: var(--accent);
        }

        .auth-disclosure p {
            margin-top: 0.75rem;
            padding: 0.75rem;
            background: var(--surface);
            border-left: 3px solid var(--accent);
            border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
            line-height: 1.7;
            color: var(--ink-light);
        }

        /* Magic link sent state */
        .auth-magic-sent {
            text-align: center;
            padding: 2rem 0;
        }

        .auth-magic-sent-icon {
            width: 64px;
            height: 64px;
            margin: 0 auto 1.5rem;
            background: rgba(196, 93, 62, 0.1);
            border: none;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .auth-magic-sent-icon svg {
            width: 32px;
            height: 32px;
            color: var(--accent);
            stroke-width: 2;
        }

        .auth-magic-sent h3 {
            font-size: 1.25rem;
            font-weight: 400;
            text-transform: none;
            letter-spacing: normal;
            margin-bottom: 1rem;
            color: var(--ink);
        }

        .auth-magic-sent p {
            font-size: 0.9375rem;
            color: var(--ink-light);
            line-height: 1.7;
            margin-bottom: 0.5rem;
        }

        .auth-magic-hint {
            font-size: 0.8125rem;
            color: var(--ink-light);
        }

        /* User menu (logged in state) */
        .user-menu-btn {
            /* MATCH HEADER BUTTON SIZE SPEC */
            height: 36px;
            padding: 0 10px 0 4px;

            /* LAYOUT */
            display: inline-flex;
            align-items: center;
            gap: 6px;

            /* DESIGN SYSTEM */
            border: 1.5px solid var(--border);
            background: var(--surface-card);
            border-radius: 100px;

            /* BEHAVIOR */
            cursor: pointer;
            transition: all 0.2s var(--ease-out);
            position: relative;
            z-index: 100;
        }

        .user-menu-btn:hover {
            background: var(--surface-warm);
            border-color: var(--accent);
        }

        .user-menu-btn:hover .user-menu-name,
        .user-menu-btn:hover .user-avatar-fallback {
            color: var(--ink) !important;
        }

        .user-avatar {
            width: 26px;
            height: 26px;
            border-radius: 50%;
            background: rgba(196, 93, 62, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            flex-shrink: 0;
        }

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

        .user-avatar-fallback {
            font-size: 0.6875rem;
            font-weight: 600;
            color: var(--accent);
        }

        .user-menu-name {
            font-size: 0.6875rem;
            font-weight: 600;
            text-transform: none;
            letter-spacing: normal;
            color: var(--ink);
            max-width: 100px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        /* User dropdown */
        .user-dropdown {
            position: absolute;
            top: calc(100% + 0.5rem);
            right: 0;
            min-width: 220px;
            background: var(--surface-card);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            box-shadow: var(--shadow-lg);
            opacity: 0;
            visibility: hidden;
            transform: translateY(-8px);
            transition: all 0.2s var(--ease-out);
            z-index: 9999 !important;
        }

        .user-dropdown.visible {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .user-dropdown-header {
            padding: 1rem;
            border-bottom: 1px solid var(--border);
        }

        .user-dropdown-email {
            font-size: 0.8125rem;
            color: var(--ink-muted);
            word-break: break-all;
        }

        .user-dropdown-item {
            display: flex;
            align-items: center;
            gap: 0.625rem;
            width: 100%;
            padding: 0.75rem 1rem;
            border: none;
            background: var(--surface-card);
            font-size: 0.8125rem;
            color: var(--ink) !important;
            cursor: pointer;
            transition: all 0.2s var(--ease-out);
            text-align: left;
            border-radius: var(--radius-sm);
        }

        .user-dropdown-item:hover {
            background: var(--surface-warm) !important;
            color: var(--accent) !important;
        }

        .user-dropdown-item:hover svg {
            color: var(--accent) !important;
        }

        .user-dropdown-item svg {
            width: 16px;
            height: 16px;
            color: var(--ink-light);
        }

        .user-dropdown-item.danger {
            color: var(--red);
        }

        .user-dropdown-item.danger svg {
            color: var(--red);
        }

        /* Sync status indicator */
        .sync-status {
            display: flex;
            align-items: center;
            gap: 0.375rem;
            font-size: 0.75rem;
            color: var(--ink-muted);
            padding: 0.5rem 1rem;
            border-top: 1px solid var(--surface-warm);
        }

        .sync-status-dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--green);
        }

        .sync-status-dot.syncing {
            background: var(--gold);
            animation: pulse 1s infinite;
        }

        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.5; }
        }

        /* Mobile adjustments */
        @media (max-width: 480px) {
            .auth-modal {
                margin: 1rem;
                max-width: calc(100% - 2rem);
            }

            .user-menu-name {
                display: none;
            }
        }

        /* Favorites View */
        .favorites-empty {
            text-align: center;
            padding: 4rem 2rem;
        }

        .favorites-empty svg {
            width: 64px;
            height: 64px;
            color: var(--border);
            margin-bottom: 1rem;
        }

        .favorites-empty h3 {
            font-size: 1.25rem;
            margin-bottom: 0.5rem;
        }

        .favorites-empty p {
            color: var(--ink-light);
            margin-bottom: 1.5rem;
        }

        /* Profile/Preferences Page */
        .profile-section {
            max-width: 600px;
            margin: 0 auto;
            padding: 2rem 1rem;
            overflow-anchor: none;
        }

        .profile-section * {
            overflow-anchor: none;
        }

        .profile-header {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 0.5rem;
        }

        .profile-title {
            font-size: 1.75rem;
            font-weight: 400;
            color: var(--ink);
        }

        .profile-intro {
            margin-bottom: 1.5rem;
            padding: 1rem;
            background: var(--surface);
            border-left: 3px solid var(--accent);
            border-radius: var(--radius-sm);
        }

        .profile-intro p {
            font-size: 0.9375rem;
            line-height: 1.7;
            color: var(--ink-light);
        }

        .profile-form {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }

        .profile-field {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }

        .profile-label {
            font-size: 0.6875rem;
            font-weight: 600;
            letter-spacing: 0.01em;
            color: var(--ink);
        }

        .profile-options {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
        }

        .profile-option {
            position: relative;
            cursor: pointer;
        }

        .profile-option input[type="radio"] {
            position: absolute;
            opacity: 0;
        }

        .profile-option span {
            display: inline-block;
            padding: 0.5rem 1rem;
            border: 1px solid var(--border);
            background: var(--surface-card);
            font-size: 0.8125rem;
            font-weight: 500;
            border-radius: var(--radius-sm);
            transition: all 0.2s var(--ease-out);
            color: var(--ink);
        }

        .profile-option input:checked + span {
            background: var(--ink);
            color: #FFFFFF;
            border-color: var(--ink);
        }

        .profile-option:hover span {
            background: var(--surface-warm);
        }

        .profile-option input:checked:hover + span {
            background: var(--ink);
        }

        .profile-checkboxes {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .profile-checkbox {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            cursor: pointer;
        }

        .profile-checkbox input[type="checkbox"] {
            width: 20px;
            height: 20px;
            border: 1.5px solid var(--border);
            border-radius: 4px;
            cursor: pointer;
            accent-color: var(--accent);
        }

        .profile-checkbox span {
            font-size: 0.9375rem;
            color: var(--ink);
        }

        .profile-actions {
            display: flex;
            gap: 1rem;
            margin-top: 1rem;
            padding-top: 2rem;
            border-top: 1px solid var(--border);
        }

        .profile-btn {
            flex: 1;
            padding: 0.875rem 1.5rem;
            font-size: 0.875rem;
            font-weight: 600;
            border: 1px solid var(--border);
            border-radius: var(--radius);
            cursor: pointer;
            transition: all 0.2s var(--ease-out);
        }

        .profile-btn-primary {
            background: var(--ink);
            color: #FFFFFF;
            border-color: var(--ink);
        }

        .profile-btn-primary:hover {
            background: var(--accent);
            border-color: var(--accent);
        }

        .profile-btn-secondary {
            background: var(--surface-card);
            color: var(--ink);
        }

        .profile-btn-secondary:hover {
            background: var(--surface-warm);
        }

        /* ===== MY BOOKINGS START ===== */
        .profile-bookings-section {
            margin-top: 3rem;
            padding-top: 2rem;
            border-top: 1px solid var(--border);
        }

        .profile-section-title {
            font-size: 1.25rem;
            font-weight: 400;
            color: var(--ink);
            margin: 0 0 1.5rem 0;
        }

        .bookings-tabs {
            display: flex;
            gap: 0;
            margin-bottom: 1.5rem;
            border-bottom: 2px solid var(--border);
        }

        .bookings-tab {
            padding: 0.75rem 1.5rem;
            background: none;
            border: none;
            font-size: 0.875rem;
            font-weight: 600;
            color: var(--ink-light);
            cursor: pointer;
            position: relative;
            transition: color 0.2s;
        }

        .bookings-tab::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            right: 0;
            height: 2px;
            background: transparent;
            transition: background 0.2s;
        }

        .bookings-tab.active {
            color: var(--ink);
        }

        .bookings-tab.active::after {
            background: var(--ink);
        }

        .bookings-tab:hover {
            color: var(--ink);
        }

        .profile-bookings-loading,
        .profile-bookings-empty,
        .profile-bookings-error {
            padding: 2rem;
            text-align: center;
            border: 1px solid var(--border);
            background: var(--surface);
            font-size: 0.9375rem;
            border-radius: var(--radius);
            color: var(--ink-light);
        }

        .profile-bookings-empty {
            padding: 3rem 2rem;
        }

        .profile-bookings-retry {
            margin-top: 1rem;
            padding: 0.75rem 1.5rem;
            background: var(--ink);
            color: #FFFFFF;
            border: none;
            border-radius: var(--radius);
            font-size: 0.875rem;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.2s var(--ease-out);
        }

        .profile-bookings-retry:hover {
            background: var(--accent);
        }

        .profile-bookings-list {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .booking-card {
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            background: var(--surface-card);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
        }

        .booking-card-top {
            display: flex;
            gap: 1rem;
            padding: 1.25rem;
        }

        .booking-card-photo {
            width: 80px;
            height: 80px;
            border-radius: var(--radius);
            object-fit: cover;
            flex-shrink: 0;
            background: var(--surface);
        }

        .booking-card-info {
            flex: 1;
            min-width: 0;
        }

        .booking-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 0.75rem;
            margin-bottom: 0.5rem;
        }

        .booking-hotel-info {
            flex: 1;
            min-width: 0;
        }

        .booking-hotel-name {
            font-size: 1rem;
            font-weight: 600;
            margin: 0 0 0.125rem 0;
            color: var(--ink);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .booking-hotel-address {
            font-size: 0.8125rem;
            color: var(--ink-light);
            margin: 0;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .booking-status {
            padding: 0.25rem 0.625rem;
            border: none;
            border-radius: 100px;
            font-size: 0.6875rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.04em;
            white-space: nowrap;
            flex-shrink: 0;
        }

        .booking-status.status-confirmed { background: rgba(61, 139, 94, 0.1); color: #3d8b5e; }
        .booking-status.status-pending { background: #FFF3E0; color: #e65100; }
        .booking-status.status-cancelled { background: rgba(192, 84, 77, 0.1); color: #c0544d; }
        .booking-status.status-completed { background: #E3F2FD; color: #1565C0; }
        .booking-status.status-failed { background: rgba(192, 84, 77, 0.1); color: #c0544d; }

        .booking-countdown {
            font-size: 0.75rem;
            font-weight: 600;
            color: var(--accent);
            margin: 0.25rem 0 0;
        }

        .booking-countdown.today {
            color: #3d8b5e;
        }

        .booking-details {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
            gap: 0.75rem;
            padding: 0 1.25rem;
        }

        .booking-detail-item {
            font-size: 0.8125rem;
        }

        .booking-detail-label {
            font-weight: 600;
            text-transform: uppercase;
            font-size: 0.6875rem;
            letter-spacing: 0.04em;
            color: var(--ink-muted);
            margin: 0 0 0.125rem 0;
        }

        .booking-detail-value {
            color: var(--ink);
            margin: 0;
        }

        .booking-ref-row {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.75rem 1.25rem;
            margin-top: 0.75rem;
            border-top: 1px solid var(--border);
            font-size: 0.75rem;
            color: var(--ink-muted);
        }

        .booking-ref-id {
            font-family: monospace;
            font-weight: 600;
            color: var(--ink);
            font-size: 0.8125rem;
        }

        .booking-ref-copy {
            background: none;
            border: none;
            color: var(--accent);
            font-size: 0.75rem;
            cursor: pointer;
            padding: 0;
            font-weight: 600;
        }

        .booking-ref-copy:hover { text-decoration: underline; }

        .booking-cancel-info {
            padding: 0.5rem 1.25rem 0;
            font-size: 0.75rem;
            color: #3d8b5e;
        }

        .booking-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            padding: 1rem 1.25rem;
        }

        .booking-action-btn {
            display: inline-flex;
            align-items: center;
            gap: 0.375rem;
            padding: 0.5rem 0.875rem;
            border: 1px solid var(--border);
            border-radius: var(--radius);
            background: var(--surface);
            color: var(--ink);
            font-size: 0.75rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.15s;
            white-space: nowrap;
        }

        .booking-action-btn:hover {
            border-color: var(--ink);
            background: var(--ink);
            color: #fff;
        }

        .booking-action-btn svg {
            width: 14px;
            height: 14px;
            flex-shrink: 0;
        }

        .booking-action-btn.cancel-btn {
            border-color: #c0544d;
            color: #c0544d;
        }

        .booking-action-btn.cancel-btn:hover {
            background: #c0544d;
            color: #fff;
        }

        /* Cancel dialog */
        .cancel-booking-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.5);
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1rem;
        }

        .cancel-booking-dialog {
            background: var(--surface-card);
            border-radius: var(--radius-lg);
            padding: 2rem;
            max-width: 440px;
            width: 100%;
            box-shadow: var(--shadow-lg);
        }

        .cancel-booking-dialog h3 {
            font-size: 1.125rem;
            font-weight: 600;
            margin: 0 0 1rem;
        }

        .cancel-booking-dialog p {
            font-size: 0.875rem;
            color: var(--ink-light);
            line-height: 1.5;
            margin: 0 0 0.75rem;
        }

        .cancel-booking-actions {
            display: flex;
            gap: 0.75rem;
            margin-top: 1.5rem;
        }

        .cancel-booking-btn {
            flex: 1;
            padding: 0.75rem 1rem;
            border-radius: var(--radius);
            font-size: 0.875rem;
            font-weight: 600;
            cursor: pointer;
            border: none;
            transition: opacity 0.15s;
        }

        .cancel-booking-back {
            background: var(--surface);
            border: 1px solid var(--border);
            color: var(--ink);
        }

        .cancel-booking-confirm {
            background: #c0544d;
            color: #fff;
        }

        .cancel-booking-btn:hover { opacity: 0.85; }
        .cancel-booking-btn:disabled { opacity: 0.5; cursor: not-allowed; }

        @media (max-width: 600px) {
            .booking-card-top { flex-direction: column; }
            .booking-card-photo { width: 100%; height: 140px; }
            .booking-details { grid-template-columns: 1fr 1fr; }
            .booking-actions { flex-direction: column; }
            .booking-action-btn { justify-content: center; }
        }
        /* ===== MY BOOKINGS END ===== */

        .profile-footer {
            margin-top: 2rem;
            padding-top: 2rem;
            border-top: 1px solid var(--border);
            text-align: center;
        }

        .profile-signout {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.875rem 1.5rem;
            border: 1px solid var(--border);
            background: transparent;
            font-size: 0.875rem;
            font-weight: 600;
            border-radius: var(--radius);
            cursor: pointer;
            transition: all 0.2s var(--ease-out);
            color: var(--ink);
        }

        .profile-signout:hover {
            background: var(--surface-warm);
            color: var(--accent);
        }

        .profile-signout svg {
            color: currentColor;
        }

        /* Profile TravelDNA Results Display */
        .profile-traveldna-results {
            margin: 0 0 1.5rem 0;
            padding: 1.5rem;
            background: var(--surface-card) !important;
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            color: var(--ink) !important;
        }

        .profile-traveldna-results-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
        }

        .profile-traveldna-results-title {
            font-size: 1.25rem;
            font-weight: 400;
            color: var(--ink) !important;
            margin: 0;
        }

        .profile-traveldna-retake {
            padding: 0.5rem 1rem;
            background: transparent;
            color: var(--accent) !important;
            border: 1px solid var(--border) !important;
            font-size: 0.8125rem;
            font-weight: 600;
            border-radius: 100px;
            cursor: pointer;
            transition: all 0.2s var(--ease-out);
        }

        .profile-traveldna-retake:hover {
            background: var(--surface-warm);
            border-color: var(--accent) !important;
        }

        .profile-traveldna-header-actions {
            display: flex;
            gap: 0.5rem;
        }

        .profile-traveldna-dna {
            padding: 1.5rem;
            border: 1px solid var(--border) !important;
            background: var(--surface) !important;
            border-radius: var(--radius);
            margin-bottom: 1rem;
            text-align: center;
            color: var(--ink) !important;
        }

        .profile-traveldna-dna-label {
            font-size: 0.6875rem;
            font-weight: 600;
            letter-spacing: 0.01em;
            color: var(--ink-muted) !important;
            margin-bottom: 0.75rem;
        }

        .profile-traveldna-dna-code-row {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.75rem;
            margin-bottom: 0.75rem;
            flex-wrap: wrap;
        }

        .profile-traveldna-type-code-pill {
            display: inline-block;
            font-size: 15px;
            font-weight: 400;
            letter-spacing: 0.02em;
            line-height: 1;
            padding: 6px 12px;
            border: 1px solid var(--border);
            background: var(--surface-card);
            color: var(--ink);
            border-radius: var(--radius-sm);
            white-space: nowrap;
        }

        .profile-traveldna-modifier {
            font-size: 11px;
            font-weight: 500;
            letter-spacing: 0.02em;
            color: var(--ink-muted) !important;
        }

        .profile-traveldna-type-name {
            font-size: 18px;
            font-weight: 400;
            line-height: 1.3;
            color: var(--ink) !important;
            margin-bottom: 0.75rem;
        }

        .profile-traveldna-privacy {
            font-size: 0.75rem;
            color: var(--ink-muted) !important;
            letter-spacing: 0.02em;
        }

        .profile-traveldna-confidence-hint {
            font-size: 0.75rem;
            color: var(--ink-muted);
            text-align: center;
            margin-bottom: 1rem;
            line-height: 1.5;
        }

        .profile-traveldna-narrative {
            margin-top: 1.5rem;
            padding-top: 1.5rem;
            border-top: 1px solid var(--border);
        }

        .profile-traveldna-tagline {
            font-size: 1.0625rem;
            font-weight: 500;
            font-style: italic;
            color: var(--ink);
            margin: 0 0 1rem 0;
            line-height: 1.4;
        }

        .profile-traveldna-story {
            font-size: 0.875rem;
            line-height: 1.75;
            color: var(--ink-light);
            margin-bottom: 1.25rem;
        }

        .profile-traveldna-story p {
            margin: 0 0 0.75rem 0;
        }

        .profile-traveldna-story p:last-child {
            margin-bottom: 0;
        }

        .profile-traveldna-advice {
            font-size: 0.8125rem;
            line-height: 1.6;
            color: var(--ink-muted);
            padding: 0.75rem 1rem;
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--radius-sm);
        }

        .profile-traveldna-advice strong {
            color: var(--ink);
            font-weight: 600;
        }

        .profile-traveldna-axes {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .profile-traveldna-axis {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .profile-traveldna-axis-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .profile-traveldna-axis-name {
            font-size: 0.6875rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.02em;
            color: var(--ink-muted) !important;
        }

        .profile-traveldna-axis-label {
            font-size: 0.875rem;
            font-weight: 600;
            color: var(--ink) !important;
        }

        .profile-traveldna-axis-bar {
            height: 6px;
            background: var(--surface);
            border: none;
            border-radius: 100px;
            position: relative;
            overflow: hidden;
        }

        .profile-traveldna-axis-fill {
            height: 100%;
            background: var(--accent);
            border-radius: 100px;
            transition: width 0.3s var(--ease-out);
        }

        /* Profile Quiz CTA Section */
        .profile-quiz-cta {
            margin-top: 3rem;
            padding: 1.5rem;
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            display: flex;
            gap: 1rem;
            overflow-anchor: none !important;
            scroll-margin: 0 !important;
            scroll-padding: 0 !important;
        }

        /* Profile TravelDNA CTA Section */
        .profile-traveldna-cta {
            margin: 0 0 1.5rem 0;
            padding: 1.5rem;
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            display: flex;
            gap: 1rem;
            overflow-anchor: none !important;
            scroll-margin: 0 !important;
            scroll-padding: 0 !important;
        }

        .profile-quiz-icon {
            flex-shrink: 0;
            width: 48px;
            height: 48px;
            background: rgba(196, 93, 62, 0.1);
            border: none;
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .profile-quiz-icon svg {
            width: 28px;
            height: 28px;
            color: var(--accent);
        }

        .profile-quiz-content {
            flex: 1;
        }

        .profile-quiz-title {
            font-size: 1.125rem;
            font-weight: 400;
            color: var(--ink);
            margin: 0 0 0.5rem 0;
        }

        .profile-quiz-description {
            font-size: 0.9375rem;
            color: var(--ink-light);
            line-height: 1.6;
            margin: 0 0 1rem 0;
        }

        .profile-quiz-btn {
            padding: 0.75rem 1.5rem;
            background: var(--accent);
            color: #FFFFFF;
            border: none;
            border-radius: 100px;
            font-size: 0.875rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s var(--ease-out);
        }

        .profile-quiz-btn:hover {
            background: var(--ink);
        }

        .profile-traveldna-icon {
            flex-shrink: 0;
            width: 48px;
            height: 48px;
            background: rgba(196, 93, 62, 0.1);
            border: none;
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .profile-traveldna-icon svg {
            width: 28px;
            height: 28px;
            color: var(--accent);
        }

        .profile-traveldna-content {
            flex: 1;
        }

        .profile-traveldna-title {
            font-size: 1.125rem;
            font-weight: 400;
            color: var(--ink);
            margin: 0 0 0.5rem 0;
        }

        .profile-traveldna-description {
            font-size: 0.9375rem;
            color: var(--ink-light);
            line-height: 1.6;
            margin: 0 0 1rem 0;
        }

        .profile-traveldna-btn {
            padding: 0.75rem 1.5rem;
            background: var(--accent);
            color: #FFFFFF;
            border: none;
            border-radius: 100px;
            font-size: 0.875rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s var(--ease-out);
        }

        .profile-traveldna-btn:hover {
            background: var(--ink);
        }

        @media (max-width: 768px) {
            .profile-quiz-cta {
                flex-direction: column;
                padding: 1.5rem;
                margin-top: 2rem;
            }

            .profile-quiz-icon {
                width: 40px;
                height: 40px;
            }

            .profile-traveldna-cta {
                flex-direction: column;
                padding: 1.5rem;
                margin-top: 1.5rem;
            }

            .profile-traveldna-icon {
                width: 40px;
                height: 40px;
            }

            .profile-quiz-icon svg {
                width: 24px;
                height: 24px;
            }

            .profile-quiz-title {
                font-size: 0.875rem;
            }

            .profile-quiz-description {
                font-size: 0.8125rem;
            }

            .profile-quiz-btn {
                width: 100%;
                font-size: 0.8125rem;
                padding: 0.75rem 1rem;
            }
        }

        /* ===========================================
           METHODOLOGY PAGE
           =========================================== */

        .methodology-page {
            max-width: 800px;
            margin: 0 auto;
            padding: 6rem 2rem 4rem;
        }

        .methodology-header {
            text-align: center;
            margin-bottom: 3rem;
            padding-bottom: 2rem;
            border-bottom: 1px solid var(--border);
        }

        .methodology-header h2 {
            font-size: clamp(2rem, 5vw, 3rem);
            font-weight: 400;
            letter-spacing: -0.02em;
            color: var(--ink);
            margin-bottom: 1rem;
        }

        .methodology-subtitle {
            font-size: 1.0625rem;
            color: var(--ink-light);
        }

        .methodology-section {
            margin-bottom: 2.5rem;
            padding: 2rem;
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            background: var(--surface-card);
        }

        .methodology-section.ink-mode {
            background: var(--surface-card);
            color: var(--ink);
            border-color: var(--border);
        }

        .methodology-section h2 {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            font-size: 1.375rem;
            font-weight: 400;
            color: var(--ink);
            margin-bottom: 1.5rem;
        }

        .methodology-section h2 svg {
            width: 24px;
            height: 24px;
            flex-shrink: 0;
        }

        .methodology-section.ink-mode h2 svg {
            color: var(--accent);
        }

        .methodology-bullets {
            list-style: none;
            margin: 0;
            padding: 0;
        }

        .methodology-bullets li {
            padding: 1rem 0;
            border-bottom: 1px solid var(--border);
            font-size: 0.9375rem;
            line-height: 1.7;
            color: var(--ink-light);
        }

        .methodology-bullets li:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }

        .methodology-bullets li strong {
            color: var(--accent);
        }

        .methodology-text {
            font-size: 0.9375rem;
            line-height: 1.8;
            color: var(--ink-light);
        }

        .methodology-section.ink-mode .methodology-text {
            color: var(--ink-light);
        }

        .methodology-text em {
            font-style: normal;
            color: var(--accent);
        }

        .evaluation-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 1.5rem;
        }

        .evaluation-item {
            padding: 1.25rem;
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--radius);
        }

        .evaluation-item h3 {
            font-size: 0.6875rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.02em;
            color: var(--accent);
            margin-bottom: 0.5rem;
        }

        .evaluation-item p {
            font-size: 0.875rem;
            line-height: 1.6;
            color: var(--ink-light);
            margin: 0;
        }

        .independence-statement {
            font-size: 0.9375rem;
            line-height: 1.8;
            color: var(--ink-light);
        }

        .independence-statement p {
            margin-bottom: 1rem;
        }

        .independence-statement p:last-child {
            margin-bottom: 0;
        }

        .independence-statement strong {
            color: var(--accent);
        }

        .methodology-footer {
            text-align: center;
            margin-top: 3rem;
            padding-top: 2rem;
            border-top: 1px solid var(--border);
        }

        .methodology-updated {
            font-size: 0.75rem;
            color: var(--ink-muted);
            text-transform: uppercase;
            letter-spacing: 0.02em;
            margin-bottom: 1.5rem;
        }

        .methodology-cta {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 1rem 2rem;
            background: var(--ink);
            color: #FFFFFF;
            border: none;
            border-radius: 100px;
            font-size: 0.875rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s var(--ease-out);
        }

        .methodology-cta:hover {
            background: var(--accent);
        }

        .methodology-cta svg {
            width: 18px;
            height: 18px;
        }

        @media (max-width: 768px) {
            .methodology-page {
                padding: 5rem 1rem 3rem;
            }

            .methodology-section {
                padding: 1.5rem;
            }

            .methodology-header h2 {
                font-size: 1.75rem;
            }

            .evaluation-grid {
                grid-template-columns: 1fr;
                gap: 1rem;
            }
        }

        /* ===========================================
           QUIZ MODAL
           =========================================== */

        .quiz-modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(26, 26, 26, 0.4);
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s var(--ease-out), visibility 0.3s var(--ease-out);
            padding: 1rem;
        }

        .quiz-modal-overlay.visible {
            opacity: 1;
            visibility: visible;
        }

        .quiz-modal {
            background: var(--surface-card);
            width: 100%;
            max-width: 600px;
            max-height: 90vh;
            overflow-y: auto;
            border: none;
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-lg);
            position: relative;
        }

        .quiz-modal-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1.5rem 2rem;
            border-bottom: 1px solid var(--border);
        }

        .quiz-progress {
            font-size: 0.875rem;
            font-weight: 600;
            letter-spacing: normal;
            color: var(--ink);
        }

        .quiz-modal-close {
            font-size: 1.5rem;
            line-height: 1;
            background: none;
            border: none;
            cursor: pointer;
            padding: 0;
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--ink-muted);
            border-radius: 50%;
            transition: all 0.2s var(--ease-out);
        }

        .quiz-modal-close:hover {
            color: var(--ink);
            background: var(--surface-warm);
        }

        .quiz-modal-body {
            padding: 2rem 1.5rem;
        }

        .quiz-question {
            margin-bottom: 2rem;
        }

        .quiz-prompt {
            font-size: 1.5rem;
            font-weight: 400;
            color: var(--ink);
            margin: 0 0 0.5rem 0;
            line-height: 1.3;
        }

        .quiz-description {
            font-size: 0.875rem;
            color: var(--ink-light);
            margin: 0 0 1.5rem 0;
        }

        .quiz-options {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }

        .quiz-option-btn {
            width: 100%;
            padding: 1rem 1.25rem;
            text-align: left;
            border: 1.5px solid var(--border);
            background: var(--surface-card);
            cursor: pointer;
            transition: all 0.2s var(--ease-out);
            font-size: 0.9375rem;
            font-weight: 500;
            color: var(--ink);
            border-radius: var(--radius);
        }

        .quiz-option-btn:hover {
            background: var(--surface-warm);
            border-color: var(--accent);
        }

        .quiz-option-btn.selected {
            background: var(--ink);
            color: var(--white);
            border-color: var(--ink);
        }

        .quiz-option-label {
            display: block;
            margin-bottom: 0.25rem;
        }

        .quiz-option-description {
            display: block;
            font-size: 0.8125rem;
            font-weight: 400;
            opacity: 0.7;
        }

        .quiz-navigation {
            display: flex;
            gap: 0.75rem;
            margin-top: 2rem;
            padding-top: 2rem;
            border-top: 1px solid var(--border);
        }

        .quiz-nav-btn {
            flex: 1;
            padding: 0.875rem 1.5rem;
            font-size: 0.875rem;
            font-weight: 600;
            text-transform: none;
            letter-spacing: normal;
            border: 1.5px solid var(--border);
            border-radius: var(--radius);
            cursor: pointer;
            transition: all 0.2s var(--ease-out);
        }

        .quiz-nav-btn:disabled {
            opacity: 0.3;
            cursor: not-allowed;
        }

        .quiz-nav-btn-back {
            background: var(--surface-card);
            color: var(--ink);
        }

        .quiz-nav-btn-back:hover:not(:disabled) {
            background: var(--surface-warm);
            border-color: var(--accent);
        }

        .quiz-nav-btn-next {
            background: var(--ink);
            color: var(--white);
            border-color: var(--ink);
        }

        .quiz-nav-btn-next:hover:not(:disabled) {
            background: var(--accent);
            border-color: var(--accent);
        }

        .quiz-nav-btn-secondary {
            background: var(--surface-card);
            color: var(--ink);
            flex: 1;
        }

        .quiz-nav-btn-secondary:hover:not(:disabled) {
            background: var(--surface-warm);
        }

        .quiz-results {
            padding: 1rem 0;
        }

        .quiz-results-header {
            margin-bottom: 2rem;
            padding-bottom: 2rem;
            border-bottom: 1px solid var(--border);
        }

        .quiz-results-title {
            font-size: 0.6875rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.02em;
            color: var(--ink-muted);
            margin: 0 0 0.75rem 0;
        }

        .quiz-results-archetype {
            font-size: 2rem;
            font-weight: 400;
            color: var(--ink);
            margin: 0 0 1rem 0;
        }

        .quiz-results-bullets {
            font-size: 0.9375rem;
            color: var(--ink-light);
            margin: 0;
            padding-left: 1.25rem;
            line-height: 1.8;
        }

        .quiz-results-bullets li {
            margin-bottom: 0.5rem;
        }

        .quiz-results-bullets li:last-child {
            margin-bottom: 0;
        }

        .quiz-results-hint {
            font-size: 0.8125rem;
            color: var(--ink-muted);
            margin: 0 0 0.75rem 0;
            font-style: italic;
        }

        .quiz-results-footer {
            margin-top: 1.5rem;
            padding-top: 1.5rem;
            border-top: 1px solid var(--border);
            text-align: center;
        }

        .quiz-retake-link {
            font-size: 0.875rem;
            color: var(--accent);
            text-decoration: none;
            transition: color 0.2s var(--ease-out);
        }

        .quiz-retake-link:hover {
            color: var(--ink);
            text-decoration: underline;
        }

        .quiz-results-section {
            margin-bottom: 2rem;
        }

        .quiz-results-section-title {
            font-size: 0.6875rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.02em;
            color: var(--ink);
            margin: 0 0 1rem 0;
        }

        .quiz-preference-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.75rem 0;
            border-bottom: 1px solid var(--border);
        }

        .quiz-preference-item:last-child {
            border-bottom: none;
        }

        .quiz-preference-label {
            font-size: 0.9375rem;
            color: var(--ink-light);
        }

        .quiz-preference-value {
            font-size: 0.9375rem;
            font-weight: 600;
            color: var(--ink);
            text-transform: capitalize;
        }

        .quiz-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .quiz-tag {
            padding: 0.375rem 0.75rem;
            border: 1px solid var(--border);
            background: var(--surface);
            font-size: 0.75rem;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 0.01em;
            border-radius: var(--radius-sm);
            color: var(--ink);
        }

        .quiz-confidence {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.5rem 1rem;
            border: 1px solid var(--border);
            background: var(--surface);
            font-size: 0.8125rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.01em;
            border-radius: 100px;
        }

        .quiz-confidence-high {
            background: var(--ink);
            color: #FFFFFF;
            border-color: var(--ink);
        }

        .quiz-confidence-medium {
            background: var(--accent);
            color: #FFFFFF;
            border-color: var(--accent);
        }

        .quiz-confidence-low {
            background: #FFFFFF;
            border-color: var(--border);
            color: var(--ink-muted);
        }

        .quiz-results-actions {
            display: flex;
            gap: 0.75rem;
            margin-top: 2rem;
            padding-top: 2rem;
            border-top: 1px solid var(--border);
        }

        /* Mobile adaptations */
        @media (max-width: 768px) {
            .quiz-modal-overlay {
                padding: 0;
                align-items: stretch;
            }

            .quiz-modal {
                max-width: 100%;
                max-height: 100%;
                height: 100vh;
                border-left: none;
                border-right: none;
            }

            .quiz-modal-header {
                padding: 1rem;
            }

            .quiz-modal-body {
                padding: 1.5rem 1rem;
            }

            .quiz-prompt {
                font-size: 1.25rem;
            }

            .quiz-option-btn {
                padding: 0.875rem 1rem;
            }

            .quiz-nav-btn {
                font-size: 0.8125rem;
                padding: 0.75rem 1rem;
            }

            .quiz-results-title {
                font-size: 1.5rem;
            }
        }

        /* ===========================================
           TRAVELDNA QUESTIONNAIRE MODAL
           =========================================== */

        .traveldna-modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(26, 26, 26, 0.4);
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 9998;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s var(--ease-out), visibility 0.3s var(--ease-out);
            padding: 1rem;
        }

        .traveldna-modal-overlay.visible {
            opacity: 1;
            visibility: visible;
        }

        .traveldna-modal {
            background: var(--surface-card);
            width: 100%;
            max-width: 700px;
            max-height: 90vh;
            overflow-y: auto;
            border: none;
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-lg);
            position: relative;
        }

        .traveldna-modal-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1.5rem 2rem;
            border-bottom: 1px solid var(--border);
            background: var(--surface-card);
        }

        .traveldna-progress {
            font-size: 0.875rem;
            font-weight: 600;
            letter-spacing: normal;
            color: var(--ink);
        }

        .traveldna-modal-close {
            font-size: 1.5rem;
            line-height: 1;
            background: none;
            border: none;
            cursor: pointer;
            padding: 0;
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--ink-muted);
            border-radius: 50%;
            transition: all 0.2s var(--ease-out);
        }

        .traveldna-modal-close:hover {
            color: var(--ink);
            background: var(--surface-warm);
        }

        .traveldna-modal-body {
            padding: 2rem;
        }

        .traveldna-question-text {
            font-size: 1.5rem;
            font-weight: 400;
            color: var(--ink);
            margin: 0 0 2rem 0;
            line-height: 1.3;
        }

        .traveldna-options {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            margin-bottom: 2rem;
        }

        .traveldna-option-btn {
            width: 100%;
            padding: 1rem 1.25rem;
            text-align: left;
            background: var(--surface-card);
            border: 1.5px solid var(--border);
            border-radius: var(--radius);
            font-size: 0.9375rem;
            color: var(--ink);
            cursor: pointer;
            transition: all 0.2s var(--ease-out);
            line-height: 1.5;
        }

        .traveldna-option-btn:hover {
            background: var(--surface-warm);
            border-color: var(--accent);
        }

        .traveldna-option-btn.selected {
            background: var(--ink);
            color: var(--white);
            border-color: var(--ink);
        }

        .traveldna-nav {
            display: flex;
            gap: 0.75rem;
            padding-top: 2rem;
            border-top: 1px solid var(--border);
        }

        .traveldna-nav-btn {
            flex: 1;
            padding: 0.875rem 1.5rem;
            font-size: 0.875rem;
            font-weight: 600;
            text-transform: none;
            letter-spacing: normal;
            cursor: pointer;
            transition: all 0.2s var(--ease-out);
            border: 1.5px solid var(--border);
            border-radius: var(--radius);
        }

        .traveldna-nav-btn-back {
            background: var(--surface-card);
            color: var(--ink);
        }

        .traveldna-nav-btn-back:hover {
            background: var(--surface-warm);
            border-color: var(--accent);
        }

        .traveldna-nav-btn-back:disabled {
            opacity: 0.3;
            cursor: not-allowed;
        }

        .traveldna-nav-btn-next {
            background: var(--ink);
            color: var(--white);
            border-color: var(--ink);
        }

        .traveldna-nav-btn-next:hover {
            background: var(--accent);
            border-color: var(--accent);
        }

        .traveldna-nav-btn-next:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .traveldna-nav-btn-secondary {
            background: var(--surface-card);
            color: var(--ink);
        }

        .traveldna-nav-btn-secondary:hover {
            background: var(--surface-warm);
        }

        /* Results screen */
        .traveldna-results {
            padding: 0;
        }

        .traveldna-results-title {
            font-size: 2rem;
            font-weight: 400;
            margin: 0 0 0.5rem 0;
            letter-spacing: -0.02em;
            color: var(--ink);
        }

        .traveldna-results-subtitle {
            font-size: 0.9375rem;
            color: var(--ink-light);
            margin: 0 0 2rem 0;
        }

        .traveldna-type-code {
            display: inline-block;
            padding: 0.75rem 1.5rem;
            background: var(--ink);
            color: #FFFFFF;
            font-size: 2.5rem;
            font-weight: 400;
            letter-spacing: 0.01em;
            border: none;
            border-radius: var(--radius-sm);
            margin-bottom: 2rem;
        }

        .traveldna-axis {
            margin-bottom: 1.5rem;
        }

        .traveldna-axis-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 0.5rem;
        }

        .traveldna-axis-name {
            font-size: 0.6875rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.02em;
            color: var(--ink);
        }

        .traveldna-axis-label {
            font-size: 0.875rem;
            font-weight: 600;
            color: var(--accent);
        }

        .traveldna-axis-bar {
            width: 100%;
            height: 6px;
            background: var(--surface);
            border: none;
            border-radius: 100px;
            position: relative;
        }

        .traveldna-axis-fill {
            position: absolute;
            left: 0;
            top: 0;
            height: 100%;
            background: var(--accent);
            border-radius: 100px;
            transition: width 0.5s var(--ease-out);
        }

        .traveldna-confidence {
            display: inline-block;
            padding: 0.5rem 1rem;
            border: 1px solid var(--border);
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.02em;
            margin-bottom: 2rem;
            border-radius: 100px;
        }

        .traveldna-confidence-high {
            background: var(--ink);
            color: #FFFFFF;
            border-color: var(--ink);
        }

        .traveldna-confidence-medium {
            background: var(--surface-warm);
            color: var(--ink);
            border-color: var(--border);
        }

        .traveldna-confidence-low {
            background: #FFFFFF;
            border-color: var(--border);
            color: var(--ink-muted);
        }

        .traveldna-results-actions {
            display: flex;
            gap: 0.75rem;
            margin-top: 2rem;
            padding-top: 2rem;
            border-top: 1px solid var(--border);
        }

        /* Mobile adaptations */
        @media (max-width: 768px) {
            .traveldna-modal-overlay {
                padding: 0;
                align-items: stretch;
            }

            .traveldna-modal {
                max-width: 100%;
                max-height: 100%;
                height: 100vh;
                border-left: none;
                border-right: none;
            }

            .traveldna-modal-header {
                padding: 1rem;
            }

            .traveldna-modal-body {
                padding: 1.5rem 1rem;
            }

            .traveldna-question-text {
                font-size: 1.25rem;
            }

            .traveldna-option-btn {
                padding: 0.875rem 1rem;
                font-size: 0.875rem;
            }

            .traveldna-nav-btn {
                padding: 0.75rem 1rem;
                font-size: 0.8125rem;
            }

            .traveldna-results-title {
                font-size: 1.5rem;
            }
        }

        /* ===========================================
           TOS LEGAL VAULT MODAL (INK MODE)
           =========================================== */

        .tos-modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(26, 26, 26, 0.4);
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10000;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s var(--ease-out), visibility 0.3s var(--ease-out);
            padding: 1rem;
        }

        .tos-modal-overlay.visible {
            opacity: 1;
            visibility: visible;
        }

        .tos-modal {
            background: var(--surface-card);
            color: var(--ink);
            width: 100%;
            max-width: 700px;
            max-height: 85vh;
            overflow-y: auto;
            border: none;
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-lg);
        }

        .tos-modal-header {
            padding: 2rem 2rem 1.5rem;
            border-bottom: 1px solid var(--border);
            background: var(--surface-card);
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
        }

        .tos-modal-header h2 {
            font-size: 1.5rem;
            font-weight: 400;
            letter-spacing: normal;
            color: var(--ink);
            margin: 0;
            text-transform: none;
        }

        .tos-modal-close {
            font-size: 0.8125rem;
            font-weight: 500;
            letter-spacing: normal;
            background: transparent;
            border: 1.5px solid var(--border);
            color: var(--ink-muted);
            cursor: pointer;
            padding: 0.5rem 1rem;
            border-radius: 100px;
            transition: all 0.2s var(--ease-out);
            white-space: nowrap;
        }

        .tos-modal-close:hover {
            background: var(--surface-warm);
            border-color: var(--accent);
            color: var(--accent);
        }

        .tos-modal-body {
            padding: 2rem;
        }

        .tos-section {
            margin-bottom: 2rem;
            padding-bottom: 2rem;
            border-bottom: 1px solid var(--border);
        }

        .tos-section:last-of-type {
            border-bottom: none;
            margin-bottom: 1rem;
        }

        .tos-section-title {
            font-size: 0.875rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.02em;
            color: var(--accent);
            margin: 0 0 1rem 0;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .tos-section-title svg {
            width: 18px;
            height: 18px;
            flex-shrink: 0;
        }

        .tos-text {
            font-size: 0.9375rem;
            line-height: 1.7;
            color: var(--ink-light);
            margin: 0;
        }

        .tos-footer {
            margin-top: 2rem;
            padding-top: 2rem;
            border-top: 1px solid var(--border);
            display: flex;
            justify-content: space-between;
            gap: 1rem;
        }

        .tos-effective-date,
        .tos-last-updated {
            font-size: 0.75rem;
            font-weight: 500;
            letter-spacing: normal;
            color: var(--ink-light);
            margin: 0;
        }

        /* Mobile adaptations for TOS */
        @media (max-width: 768px) {
            .tos-modal-overlay {
                padding: 0;
                align-items: stretch;
            }

            .tos-modal {
                max-width: 100%;
                max-height: 100%;
                height: 100vh;
                border-left: none;
                border-right: none;
            }

            .tos-modal-header {
                padding: 1rem;
                flex-direction: column;
                align-items: stretch;
                gap: 0.75rem;
            }

            .tos-modal-header h2 {
                font-size: 0.875rem;
            }

            .tos-modal-close {
                width: 100%;
                justify-content: center;
            }

            .tos-modal-body {
                padding: 1.5rem 1rem;
            }

            .tos-section {
                margin-bottom: 1.5rem;
                padding-bottom: 1.5rem;
            }

            .tos-section-title {
                font-size: 0.8125rem;
            }

            .tos-text {
                font-size: 0.75rem;
            }

            .tos-footer {
                flex-direction: column;
                gap: 0.5rem;
            }
        }

        /* Cookie Consent Banner */
        .cookie-banner {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            z-index: 99999;
            background: var(--surface-card);
            border-top: 1px solid var(--border);
            box-shadow: 0 -4px 24px rgba(0,0,0,0.15);
            padding: 1.25rem 2rem;
            display: none;
            align-items: center;
            justify-content: space-between;
            gap: 1.5rem;
            font-family: var(--font-body);
        }
        .cookie-banner.visible { display: flex; }
        .cookie-banner-text {
            font-size: 0.8125rem;
            line-height: 1.5;
            color: var(--ink-light);
            flex: 1;
        }
        .cookie-banner-text a {
            color: var(--accent);
            text-decoration: underline;
            text-underline-offset: 2px;
        }
        .cookie-banner-actions {
            display: flex;
            gap: 0.75rem;
            align-items: center;
            flex-shrink: 0;
        }
        .cookie-btn {
            font-family: var(--font-body);
            font-size: 0.8125rem;
            font-weight: 600;
            padding: 0.625rem 1.25rem;
            border-radius: 100px;
            cursor: pointer;
            transition: all 0.2s var(--ease-out);
            white-space: nowrap;
        }
        .cookie-btn-accept {
            background: var(--accent);
            color: #fff;
            border: none;
        }
        .cookie-btn-accept:hover { opacity: 0.85; }
        .cookie-btn-reject {
            background: var(--ink);
            color: #fff;
            border: none;
        }
        .cookie-btn-reject:hover { opacity: 0.85; }
        .cookie-banner-manage {
            font-size: 0.6875rem;
            color: var(--ink-muted);
            text-decoration: underline;
            text-underline-offset: 2px;
            cursor: pointer;
            background: none;
            border: none;
            font-family: var(--font-body);
            padding: 0;
        }
        .cookie-banner-manage:hover { color: var(--accent); }
        @media (max-width: 768px) {
            .cookie-banner {
                flex-direction: column;
                padding: 1rem 1.25rem;
                gap: 1rem;
            }
            .cookie-banner-actions {
                width: 100%;
                justify-content: stretch;
            }
            .cookie-btn { flex: 1; text-align: center; }
        }

        /* Privacy Policy View */
        .privacy-policy-content {
            max-width: 740px;
            margin: 0 auto;
            padding: 3rem 2rem 4rem;
        }
        .privacy-policy-content h1 {
            font-size: 1.5rem;
            font-weight: 400;
            letter-spacing: normal;
            margin: 0 0 0.5rem 0;
        }
        .privacy-policy-content .privacy-last-updated {
            font-size: 0.75rem;
            color: var(--ink-muted);
            margin: 0 0 2.5rem 0;
        }
        .privacy-policy-content h2 {
            font-size: 0.875rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.02em;
            color: var(--accent);
            margin: 2.5rem 0 1rem 0;
        }
        .privacy-policy-content p,
        .privacy-policy-content li {
            font-size: 0.9375rem;
            line-height: 1.7;
            color: var(--ink-light);
            margin: 0 0 0.75rem 0;
        }
        .privacy-policy-content ul {
            padding-left: 1.25rem;
            margin: 0 0 1rem 0;
        }
        .privacy-policy-content li { margin-bottom: 0.4rem; }
        .privacy-policy-content table {
            width: 100%;
            border-collapse: collapse;
            margin: 1rem 0;
            font-size: 0.8125rem;
        }
        .privacy-policy-content th,
        .privacy-policy-content td {
            text-align: left;
            padding: 0.625rem 0.75rem;
            border-bottom: 1px solid var(--border);
            color: var(--ink-light);
        }
        .privacy-policy-content th {
            font-weight: 600;
            color: var(--ink);
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.02em;
        }
        @media (max-width: 768px) {
            .privacy-policy-content { padding: 2rem 1.25rem 3rem; }
            .privacy-policy-content h1 { font-size: 1.25rem; }
        }

        /* Mobile Responsive Improvements */
        @media (max-width: 768px) {
            .site-header {
                padding: 1rem 1.5rem;
            }

            .logo {
                font-size: 1.25rem;
            }

            .logo-icon {
                width: 28px;
                height: 28px;
                font-size: 0.875rem;
            }

            .favorites-header-btn {
                padding: 0.375rem 0.75rem;
                font-size: 0.75rem;
            }

            .hero {
                padding: 5rem 1rem 3rem;
            }

            .hero h1 {
                font-size: 2rem;
            }

            .hero-trust-bullets {
                flex-direction: column;
                align-items: center;
                gap: 0.5rem;
                font-size: 0.75rem;
            }

            .hero-secondary-cta {
                margin-top: 1rem;
                font-size: 0.75rem;
            }

            .search-container {
                padding: 1.25rem;
            }

            .search-row {
                flex-direction: column;
            }

            .field {
                min-width: 100%;
            }

            .search-btn {
                width: 100%;
                justify-content: center;
            }

            .guest-row {
                justify-content: space-around;
                gap: 1rem;
            }

            .results-header {
                flex-direction: column;
                align-items: flex-start;
            }

            .results-header > div:last-child {
                align-self: flex-end;
            }

            .hotel-grid {
                grid-template-columns: 1fr;
            }

            .filters-panel {
                padding: 0.5rem 0.625rem;
            }

            .filter-row {
                flex-direction: column;
            }

            .price-inputs {
                flex-wrap: wrap;
            }

            .price-inputs input {
                flex: 1;
                min-width: 80px;
            }

            .compare-bar {
                flex-direction: column;
                gap: 1rem;
                padding: 1rem;
            }

            .compare-hotels {
                flex-wrap: wrap;
                justify-content: center;
            }

            .compare-hotel-chip {
                font-size: 0.75rem;
            }

            .compare-hotel-chip img {
                width: 24px;
                height: 24px;
            }

            .compare-modal {
                padding: 1rem;
            }

            .compare-table {
                overflow-x: auto;
                display: block;
            }

            .compare-row {
                display: flex;
                min-width: max-content;
            }

            .compare-cell {
                min-width: 120px;
                flex-shrink: 0;
            }

            .compare-cell.header {
                min-width: 100px;
            }

            .hotel-detail-header {
                grid-template-columns: 1fr;
            }

            .hotel-gallery {
                height: 250px;
            }

            .room-group-header {
                flex-direction: column;
            }

            .room-image {
                width: 100%;
                height: 180px;
            }

            .rate-option {
                flex-direction: column;
                gap: 1rem;
                text-align: center;
            }

            .rate-price {
                text-align: center;
            }

            .book-rate-btn {
                width: 100%;
                max-width: none;
            }

            .checkout-view {
                padding: 5rem 1rem 2rem;
            }

            .booking-summary {
                flex-direction: column;
            }

            .booking-summary img {
                width: 100%;
                height: 150px;
            }

            .form-row {
                grid-template-columns: 1fr;
            }

            .share-dropdown {
                right: auto;
                left: 0;
            }

            .radar-container {
                max-width: 100%;
            }

            .pros-cons-grid {
                grid-template-columns: 1fr;
            }
        }

        /* Touch-friendly improvements */
        @media (hover: none) {
            .hotel-card:hover {
                transform: none;
            }

            .hotel-card:active {
                transform: scale(0.98);
            }

            .favorite-btn:active {
                transform: scale(1.2);
            }

            button:active {
                opacity: 0.8;
            }

            /* Profile page mobile */
        .profile-section {
            padding: 2rem 1.5rem 6rem;
            max-width: 800px;
            margin: 0 auto;
        }

            .profile-actions {
                flex-direction: column;
            }
        }

        /* Ensure touch targets are at least 44px */
        .guest-btn,
        .favorite-btn,
        .star-btn,
        .amenity-btn {
            min-height: 44px;
            min-width: 44px;
        }

        /* ===========================================
           PART 5: COMPREHENSIVE MOBILE POLISH
           =========================================== */

        @media (max-width: 768px) {
            /* iOS input zoom fix */
            input, select, textarea {
                font-size: 16px !important;
            }

            /* Header: compact on mobile */
            .site-header {
                padding: 0 1rem;
                height: 56px;
            }

            .header-btn {
                height: 32px;
                padding: 0 10px;
                font-size: 0.6rem;
            }

            .logo {
                font-size: 12px;
            }

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

            /* Hero: mobile padding */
            .hero {
                padding: 100px 20px 60px;
                min-height: auto;
            }

            .hero h1 {
                font-size: clamp(1.75rem, 7vw, 2.5rem);
            }

            .hero > p {
                font-size: 0.9375rem;
            }

            /* Search card: mobile */
            .search-container {
                padding: 1.25rem;
                margin: 0 0 2rem 0;
            }

            .command-vibe-select {
                min-width: 100%;
            }

            .command-destination-wrapper {
                min-width: 100%;
            }

            /* Hotel detail: full-width stacked */
            .drivers-tabs {
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
                scrollbar-width: none;
                -ms-overflow-style: none;
                flex-wrap: nowrap;
            }

            .drivers-tabs::-webkit-scrollbar {
                display: none;
            }

            .driver-tab {
                white-space: nowrap;
                flex-shrink: 0;
            }

            /* Booking flow: mobile */
            .booking-form-section {
                padding: 1rem;
            }

            .lp-submit-button {
                min-height: 48px !important;
                width: 100% !important;
            }

            /* Quiz: mobile padding */
            .quiz-results {
                padding: 0.5rem 0;
            }

            .quiz-results-archetype {
                font-size: 1.5rem;
            }

            /* Compare: stack on mobile */
            .compare-grid {
                grid-template-columns: 1fr !important;
            }

            .compare-grid.hotels-3 {
                grid-template-columns: 1fr !important;
            }

            /* TravelDNA trust: prevent overflow */
            .traveldna-trust-callout {
                min-width: 0;
            }

            .traveldna-flow {
                flex-direction: column;
            }

            /* General: prevent horizontal overflow */
            body {
                overflow-x: hidden;
            }

            .methodology-page {
                padding: 80px 1rem 3rem;
            }

            .methodology-section {
                padding: 1.25rem;
            }

            /* Reduce vertical padding for sections */
            section {
                padding-top: 3rem;
                padding-bottom: 3rem;
            }

            /* Ensure no text smaller than 12px */
            .dna-legend-item,
            .dna-legend-modifier .dna-legend-key,
            .dna-legend-modifier-tag {
                font-size: 0.75rem;
            }

            /* Touch targets for all interactive elements */
            button, a, [role="button"], .clickable {
                min-height: 44px;
                touch-action: manipulation; /* Prevent double-tap zoom without blocking scroll */
            }

            /* Small buttons exemption (badges, chips) */
            .active-tag-chip button,
            .compare-hotel-chip button {
                min-height: auto;
            }
        }

        /* Very small screens */
        @media (max-width: 380px) {
            .site-header {
                padding: 0 0.75rem;
            }

            .header-btn {
                padding: 0 8px;
                font-size: 0.55rem;
            }

            .hero h1 {
                font-size: 1.5rem;
            }

            .search-container {
                padding: 1rem;
            }
        }

        /* ========================================
           HOMEPAGE REDESIGN - Elevated UX
           ======================================== */

        /* Value Proposition Line */
        .value-prop-line {
            font-size: 1rem;
            color: var(--ink-light);
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }

        .value-prop-line strong {
            color: var(--ink);
        }

        /* Trust Badge (No Sponsored) */
        .trust-badge-inline {
            display: inline-flex;
            align-items: center;
            gap: 0.375rem;
            padding: 0.375rem 0.75rem;
            background: #f0fdf4;
            border: 1px solid #bbf7d0;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 500;
            color: #166534;
        }

        .trust-badge-inline svg {
            width: 14px;
            height: 14px;
        }

        /* How We Rank Button */
        .how-we-rank-btn {
            display: inline-flex;
            align-items: center;
            gap: 0.375rem;
            padding: 0.5rem 1rem;
            background: transparent;
            border: 1px solid var(--border);
            border-radius: 100px;
            font-size: 0.75rem;
            font-weight: 500;
            color: var(--ink-muted);
            cursor: pointer;
            transition: all 0.2s var(--ease-out);
            margin-top: 0.75rem;
        }

        .how-we-rank-btn:hover {
            border-color: var(--accent);
            color: var(--accent);
        }

        .how-we-rank-btn svg {
            width: 14px;
            height: 14px;
        }

        /* How We Rank Drawer */
        .drawer-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(26, 26, 26, 0.4);
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
            z-index: 500;
            opacity: 0;
            transition: opacity 0.3s var(--ease-out);
        }

        .drawer-overlay.visible {
            display: block;
            opacity: 1;
        }

        .drawer {
            position: fixed;
            right: 0;
            top: 0;
            bottom: 0;
            width: 100%;
            max-width: 420px;
            background: var(--surface-card);
            z-index: 501;
            transform: translateX(100%);
            transition: transform 0.3s var(--ease-out);
            display: flex;
            flex-direction: column;
            box-shadow: var(--shadow-lg);
        }

        .drawer.visible {
            transform: translateX(0);
        }

        .drawer-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1.5rem 2rem;
            border-bottom: 1px solid var(--border);
        }

        .drawer-header h2 {
            font-size: 1.25rem;
            font-weight: 400;
            color: var(--ink);
        }

        .drawer-close {
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--surface-warm);
            border: none;
            border-radius: 50%;
            cursor: pointer;
            font-size: 1.25rem;
            color: var(--ink-muted);
            transition: all 0.2s var(--ease-out);
        }

        .drawer-close:hover {
            background: var(--surface);
            color: var(--ink);
        }

        .drawer-content {
            flex: 1;
            overflow-y: auto;
            padding: 1.5rem;
        }

        .drawer-section {
            margin-bottom: 1.5rem;
        }

        .drawer-section h3 {
            font-size: 0.875rem;
            font-weight: 600;
            margin-bottom: 0.75rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--ink);
        }

        .drawer-section h3 svg {
            width: 18px;
            height: 18px;
            color: var(--accent);
        }

        .drawer-list {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 0.625rem;
        }

        .drawer-list li {
            display: flex;
            align-items: flex-start;
            gap: 0.625rem;
            font-size: 0.875rem;
            color: var(--ink-light);
            line-height: 1.6;
        }

        .drawer-list li svg {
            width: 16px;
            height: 16px;
            flex-shrink: 0;
            margin-top: 0.125rem;
            color: var(--green);
        }

        .drawer-disclaimer {
            padding: 1rem;
            background: var(--surface);
            border-radius: var(--radius-sm);
            font-size: 0.8rem;
            color: var(--ink-light);
            line-height: 1.6;
        }

        .drawer-disclaimer strong {
            color: var(--ink);
        }

        .drawer-footer {
            padding: 1.5rem 2rem;
            background: var(--surface);
            border-top: 1px solid var(--border);
        }

        .drawer-footer a {
            font-size: 0.875rem;
            color: var(--accent);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 0.375rem;
        }

        .drawer-footer a:hover {
            text-decoration: underline;
        }

        /* ===========================================
           PREFERENCES EDITOR DRAWER
           =========================================== */
        .pref-drawer-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(26, 26, 26, 0.4);
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
            z-index: 500;
            opacity: 0;
            transition: opacity 0.3s var(--ease-out);
        }

        .pref-drawer-overlay.visible {
            display: block;
            opacity: 1;
        }

        .pref-drawer {
            position: fixed;
            right: 0;
            top: 0;
            bottom: 0;
            width: 100%;
            max-width: 380px;
            background: var(--surface-card);
            z-index: 501;
            transform: translateX(100%);
            transition: transform 0.3s var(--ease-out);
            display: flex;
            flex-direction: column;
            box-shadow: var(--shadow-lg);
        }

        .pref-drawer.visible {
            transform: translateX(0);
        }

        .pref-drawer-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1.25rem 1.5rem;
            border-bottom: 1px solid var(--border);
        }

        .pref-drawer-header h2 {
            font-size: 1.125rem;
            font-weight: 400;
            color: var(--ink);
        }

        .pref-drawer-close {
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--surface-warm);
            border: none;
            border-radius: 50%;
            cursor: pointer;
            font-size: 1.125rem;
            color: var(--ink-muted);
            transition: all 0.2s var(--ease-out);
        }

        .pref-drawer-close:hover {
            background: var(--surface);
            color: var(--ink);
        }

        .pref-drawer-close:focus-visible {
            outline: 2px solid var(--accent);
            outline-offset: 2px;
        }

        .pref-drawer-content {
            flex: 1;
            overflow-y: auto;
            padding: 1.5rem;
        }

        .pref-field {
            margin-bottom: 1.75rem;
        }

        .pref-field:last-child {
            margin-bottom: 0;
        }

        .pref-field-label {
            display: block;
            font-size: 0.8125rem;
            font-weight: 500;
            color: var(--ink);
            margin-bottom: 0.625rem;
        }

        /* Segmented control for preferences */
        .pref-segmented {
            display: flex;
            background: var(--surface-warm);
            border-radius: var(--radius-sm);
            padding: 3px;
            gap: 2px;
        }

        .pref-segmented-btn {
            flex: 1;
            padding: 0.5rem 0.5rem;
            border: 1px solid transparent;
            background: transparent;
            border-radius: 6px;
            font-size: 0.75rem;
            font-weight: 400;
            cursor: pointer;
            transition: all 0.2s var(--ease-out);
            color: var(--ink-muted);
            display: flex;
            align-items: center;
            justify-content: center;
            white-space: nowrap;
            min-height: 34px;
        }

        .pref-segmented-btn:hover:not(.active) {
            color: var(--ink);
            background: rgba(255,255,255,0.5);
        }

        .pref-segmented-btn:focus-visible {
            outline: 2px solid var(--accent);
            outline-offset: 1px;
        }

        .pref-segmented-btn.active {
            background: var(--surface-card);
            color: var(--ink);
            font-weight: 500;
            border-color: var(--border);
            box-shadow: var(--shadow-sm);
        }

        /* Compact two-row segmented for more options */
        .pref-segmented.wrap {
            flex-wrap: wrap;
        }

        .pref-segmented.wrap .pref-segmented-btn {
            flex: 1 1 calc(50% - 2px);
            min-width: calc(50% - 2px);
        }

        /* Three-column layout for shorter options */
        .pref-segmented.three-col .pref-segmented-btn {
            flex: 1 1 calc(33.33% - 2px);
            min-width: calc(33.33% - 2px);
        }

        .pref-drawer-footer {
            padding: 1rem 1.5rem;
            border-top: 1px solid var(--border);
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: var(--surface);
        }

        .pref-reset-btn {
            padding: 0.5rem 0.875rem;
            border: none;
            background: transparent;
            font-size: 0.8125rem;
            color: var(--ink-light);
            cursor: pointer;
            transition: color 0.2s var(--ease-out);
            display: flex;
            align-items: center;
            gap: 0.375rem;
        }

        .pref-reset-btn:hover {
            color: var(--accent);
        }

        .pref-reset-btn:focus-visible {
            outline: 2px solid var(--accent);
            outline-offset: 2px;
        }

        .pref-reset-btn svg {
            width: 14px;
            height: 14px;
        }

        .pref-done-btn {
            padding: 0.5rem 1rem;
            border: none;
            background: var(--ink);
            color: var(--white);
            font-size: 0.8125rem;
            font-weight: 500;
            border-radius: var(--radius);
            cursor: pointer;
            transition: all 0.2s var(--ease-out);
        }

        .pref-done-btn:hover {
            background: var(--ink);
        }

        .pref-done-btn:focus-visible {
            outline: 2px solid var(--border);
            outline-offset: 2px;
        }

        /* Preferences trigger button in results header */
        .pref-trigger-btn {
            display: flex;
            align-items: center;
            gap: 0.375rem;
            padding: 0.5rem 0.75rem;
            border: 1px solid var(--border);
            background: var(--white);
            border-radius: 8px;
            font-size: 0.8125rem;
            color: var(--ink-light);
            cursor: pointer;
            transition: all 0.15s;
        }

        .pref-trigger-btn:hover {
            border-color: var(--border);
            color: var(--ink);
        }

        .pref-trigger-btn:focus-visible {
            outline: 2px solid var(--border);
            outline-offset: 2px;
        }

        .pref-trigger-btn svg {
            width: 16px;
            height: 16px;
        }

        .pref-trigger-btn .pref-count {
            display: none;
            background: var(--ink);
            color: var(--white);
            font-size: 0.6875rem;
            font-weight: 600;
            padding: 0.125rem 0.375rem;
            border-radius: 10px;
            min-width: 18px;
            text-align: center;
        }

        .pref-trigger-btn.has-prefs .pref-count {
            display: inline-block;
        }

        .pref-trigger-btn.has-prefs {
            border-color: var(--border);
            color: var(--ink);
        }

        /* Mobile adjustments */
        @media (max-width: 600px) {
            .pref-drawer {
                max-width: 100%;
            }

            .pref-segmented-btn {
                font-size: 0.7rem;
                padding: 0.5rem 0.25rem;
            }

            .pref-segmented.wrap .pref-segmented-btn {
                flex: 1 1 calc(50% - 2px);
            }
        }

        /* ===========================================
           PERSONALIZATION ANNOTATIONS
           Subtle signals that preferences are applied
           =========================================== */

        /* Container for all annotations on a hotel card */
        .pref-annotations {
            display: flex;
            flex-direction: column;
            gap: 0.25rem;
            margin-top: 0.5rem;
            padding-top: 0.5rem;
            border-top: 1px solid var(--surface-warm);
        }

        .pref-annotations:empty {
            display: none;
        }

        /* Individual annotation item */
        .pref-annotation {
            display: flex;
            align-items: flex-start;
            gap: 0.375rem;
            font-size: 0.75rem;
            line-height: 1.4;
            color: var(--ink-muted);
        }

        .pref-annotation svg {
            width: 12px;
            height: 12px;
            flex-shrink: 0;
            margin-top: 0.125rem;
        }

        /* Positive annotations (matches) */
        .pref-annotation.match {
            color: var(--ink-light);
        }

        .pref-annotation.match svg {
            color: var(--green);
        }

        /* Caution annotations (potential mismatches) */
        .pref-annotation.caution {
            color: var(--ink-muted);
        }

        .pref-annotation.caution svg {
            color: var(--gold);
        }

        /* Annotations in hotel detail page */
        .pref-annotations-detail {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
            margin-top: 0.75rem;
            padding: 0.75rem 1rem;
            background: var(--surface);
            border-radius: 8px;
        }

        .pref-annotations-detail:empty {
            display: none;
        }

        .pref-annotations-detail .pref-annotation {
            font-size: 0.8125rem;
            background: var(--white);
            padding: 0.375rem 0.625rem;
            border-radius: 6px;
            border: 1px solid var(--border);
        }

        .pref-annotations-detail .pref-annotation.match {
            border-color: rgba(22, 163, 74, 0.2);
            background: rgba(22, 163, 74, 0.05);
        }

        .pref-annotations-detail .pref-annotation.caution {
            border-color: rgba(201, 162, 39, 0.2);
            background: rgba(201, 162, 39, 0.05);
        }

        /* Inline annotations (for decision summary area) */
        .pref-annotation-inline {
            display: inline-flex;
            align-items: center;
            gap: 0.25rem;
            font-size: 0.8125rem;
            color: var(--ink-muted);
            margin-left: 0.5rem;
        }

        .pref-annotation-inline svg {
            width: 14px;
            height: 14px;
        }

        .pref-annotation-inline.match svg {
            color: var(--green);
        }

        .pref-annotation-inline.caution svg {
            color: var(--gold);
        }

        /* Search Mode Cards */
        .search-mode-cards {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

        @media (max-width: 600px) {
            .search-mode-cards {
                grid-template-columns: 1fr;
            }
        }

        .search-mode-card {
            padding: 1.25rem;
            border: 2px solid var(--border);
            border-radius: 12px;
            background: var(--white);
            cursor: pointer;
            transition: all 0.2s;
            text-align: left;
        }

        .search-mode-card:hover {
            border-color: var(--border);
        }

        .search-mode-card.active {
            border-color: var(--gold);
            background: #fffdf7;
        }

        .search-mode-card-header {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 0.5rem;
        }

        /* Search mode icons - monochrome outline style, neutral and consistent */
        .search-mode-icon {
            width: 36px;
            height: 36px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--surface-warm);
            color: var(--ink-light);
        }

        .search-mode-icon svg {
            width: 18px;
            height: 18px;
        }

        .search-mode-card.active .search-mode-icon {
            background: var(--border);
            color: var(--ink-light);
        }

        .search-mode-card h3 {
            font-size: 1rem;
            font-weight: 600;
            margin: 0;
        }

        .search-mode-card p {
            font-size: 0.8rem;
            color: var(--ink-light);
            margin: 0;
            line-height: 1.4;
        }

        .search-mode-indicator {
            width: 20px;
            height: 20px;
            border: 2px solid var(--border);
            border-radius: 50%;
            margin-left: auto;
            position: relative;
            flex-shrink: 0;
        }

        .search-mode-card.active .search-mode-indicator {
            border-color: var(--gold);
            background: var(--gold);
        }

        .search-mode-card.active .search-mode-indicator::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 8px;
            height: 8px;
            background: var(--white);
            border-radius: 50%;
        }

        /* Vibe Search Enhancements */
        .vibe-search-form {
            display: none;
        }

        .vibe-search-form.active {
            display: block;
        }

        .destination-search-form {
            display: none;
        }

        .destination-search-form.active {
            display: block;
        }

        .vibe-hint {
            font-size: 0.8rem;
            color: var(--ink-muted);
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.375rem;
        }

        .vibe-hint svg {
            width: 14px;
            height: 14px;
        }

        .vibe-picker {
            margin-bottom: 1.25rem;
        }

        .vibe-picker-label {
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.01em;
            color: var(--ink-light);
            margin-bottom: 0.75rem;
            display: flex;
            align-items: center;
            gap: 0.375rem;
        }

        .vibe-picker-label .required {
            color: var(--red);
        }

        /* Vibe chips - photo-based design matching category cards */
        .vibe-chips {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            padding-bottom: 4px;
        }

        .vibe-chip {
            padding: 0.5rem 1rem !important;
            border: 1px solid var(--border) !important;
            border-radius: var(--radius-sm) !important;
            background-color: var(--surface-card) !important;
            background: var(--surface-card) !important;
            color: var(--ink) !important;
            font-size: 0.8125rem !important;
            font-weight: 500 !important;
            cursor: pointer;
            transition: all 0.2s var(--ease-out);
            display: flex !important;
            align-items: center;
            gap: 0.5rem;
            min-height: 44px;
        }

        .vibe-chip:hover {
            border-color: var(--ink);
            background: var(--surface-warm) !important;
        }

        .vibe-chip:focus {
            outline: none;
            box-shadow: 0 0 0 3px var(--accent-soft);
        }

        .vibe-chip:focus:not(:focus-visible) {
            box-shadow: none;
        }

        .vibe-chip:focus-visible {
            box-shadow: 0 0 0 3px var(--accent-soft);
        }

        .vibe-chip.selected {
            border-color: var(--ink) !important;
            background: var(--ink) !important;
            color: #FFFFFF !important;
        }

        .vibe-chip-image {
            width: 24px !important;
            height: 24px !important;
            border-radius: 4px !important;
            object-fit: cover;
            flex-shrink: 0;
            filter: grayscale(100%);
            opacity: 0.15 !important;
            mix-blend-mode: multiply;
        }

        .vibe-chip.selected .vibe-chip-image {
            filter: grayscale(0%) invert(1);
            opacity: 1 !important;
            mix-blend-mode: normal;
        }

        .vibe-chip-label {
            color: var(--ink) !important;
            text-shadow: none !important;
            background: transparent !important;
            padding: 0;
            border-radius: 0;
        }

        .vibe-chip.selected .vibe-chip-label {
            color: #FFFFFF !important;
            font-weight: 600;
            text-shadow: none !important;
            background: transparent !important;
        }

        /* ==========================================
           VIBE PREVIEW POPOVER
           Professional hover/focus preview with zero layout shift
           ========================================== */

        .vibe-preview-popover {
            position: fixed;
            z-index: 10000;
            pointer-events: none;
            opacity: 0;
            transform: translateY(-4px);
            transition: opacity 0.15s ease-out, transform 0.15s ease-out;
            will-change: opacity, transform;
        }

        .vibe-preview-popover.visible {
            pointer-events: auto;
            opacity: 1;
            transform: translateY(0);
        }

        .vibe-preview-popover.below {
            transform: translateY(4px);
        }

        .vibe-preview-popover.below.visible {
            transform: translateY(0);
        }

        .vibe-preview-content {
            width: 240px;
            background: var(--surface-card);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            box-shadow: var(--shadow-lg);
            overflow: hidden;
        }

        .vibe-preview-image {
            width: 100%;
            height: 140px;
            object-fit: cover;
            display: block;
            border-bottom: 1px solid var(--border);
        }

        .vibe-preview-info {
            padding: 12px;
        }

        .vibe-preview-title {
            font-size: 1rem;
            font-weight: 400;
            color: var(--ink);
            margin-bottom: 4px;
        }

        .vibe-preview-description {
            font-size: 0.8125rem;
            color: var(--ink-light);
            line-height: 1.5;
        }

        /* Mobile: no hover, use tap-to-preview */
        @media (max-width: 768px) {
            .vibe-preview-popover {
                display: none;
            }
        }

        .search-context-label {
            font-size: 0.75rem;
            color: var(--ink-muted);
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
            gap: 0.25rem;
        }

        .search-context-label strong {
            color: var(--gold);
        }

        /* Credibility Band - Brutalist */
        .credibility-band {
            display: flex;
            justify-content: center;
            gap: 2rem;
            padding: 1.5rem 2rem;
            margin: 2rem auto;
            max-width: 900px;
            flex-wrap: wrap;
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            background: var(--surface-card);
            box-shadow: var(--shadow-sm);
        }

        .credibility-stat {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.75rem;
            color: var(--ink);
        }

        .credibility-stat-icon {
            width: 32px;
            height: 32px;
            background: var(--accent-soft);
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .credibility-stat-icon svg {
            width: 14px;
            height: 14px;
            color: var(--accent);
        }

        .credibility-stat-text strong {
            display: block;
            font-size: 0.875rem;
            color: var(--ink);
            font-weight: 600;
        }

        .credibility-stat-text span {
            font-size: 0.65rem;
            text-transform: uppercase;
            letter-spacing: 0.04em;
            color: var(--ink-muted);
        }

        /* === INK MODE SECTIONS === */
        /* Full-width ink band for trust/methodology messaging */
        .ink-section {
            background: var(--ink);
            color: #f0ede8;
            padding: 4rem 2rem;
            margin: 0;
            width: 100vw;
            margin-left: calc(-50vw + 50%);
        }

        .ink-section-inner {
            max-width: 900px;
            margin: 0 auto;
            text-align: center;
        }

        .ink-section h2 {
            font-size: 1.75rem;
            font-weight: 400;
            color: #f0ede8;
            margin-bottom: 1rem;
        }

        .ink-section p {
            color: rgba(240, 237, 232, 0.7);
            font-size: 0.95rem;
            line-height: 1.6;
            margin-bottom: 0.5rem;
        }

        .ink-section .accent {
            color: var(--accent);
        }

        /* Ink section with pillars (for methodology) */
        .ink-pillars {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.5rem;
            margin-top: 2.5rem;
            text-align: left;
        }

        @media (max-width: 768px) {
            .ink-pillars {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }

            .ink-section {
                padding: 3rem 1.5rem;
            }

            .ink-section h2 {
                font-size: 1.35rem;
            }
        }

        .ink-pillar {
            padding: 1.5rem;
            background: rgba(255, 255, 255, 0.05);
            border-radius: var(--radius);
            border: 1px solid rgba(255, 255, 255, 0.08);
        }

        .ink-pillar h3 {
            font-size: 0.875rem;
            font-weight: 600;
            color: #f0ede8;
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .ink-pillar h3 svg {
            width: 16px;
            height: 16px;
            color: var(--accent);
        }

        .ink-pillar p {
            font-size: 0.8rem;
            color: rgba(240, 237, 232, 0.6);
            line-height: 1.5;
            margin: 0;
        }

        /* Enhanced Category Cards */

        /* ========================================
           TRAVELDNA EXPLAINER (Homepage)
           ======================================== */

        .traveldna-explainer {
            background: var(--surface-card);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-sm);
            padding: 2.5rem;
            margin: 2rem auto;
            max-width: 800px;
            text-align: left;
        }

        .traveldna-explainer-header {
            margin-bottom: 1.5rem;
        }

        .traveldna-explainer-header h3 {
            font-size: 1.35rem;
            font-weight: 400;
            margin-bottom: 0.5rem;
            color: var(--ink);
        }

        .traveldna-explainer-header p {
            font-size: 0.875rem;
            color: var(--ink-light);
            line-height: 1.6;
        }

        .traveldna-flow {
            display: flex;
            gap: 1.5rem;
            margin-bottom: 1.5rem;
            flex-wrap: wrap;
        }

        .traveldna-flow-step {
            flex: 1;
            min-width: 200px;
        }

        .traveldna-flow-number {
            font-size: 0.7rem;
            font-weight: 700;
            color: var(--accent);
            margin-bottom: 0.5rem;
            letter-spacing: 0.02em;
            text-transform: uppercase;
        }

        .traveldna-flow-title {
            font-size: 0.875rem;
            font-weight: 600;
            margin-bottom: 0.375rem;
            color: var(--ink);
        }

        .traveldna-flow-desc {
            font-size: 0.8125rem;
            color: var(--ink-light);
            line-height: 1.5;
        }

        .traveldna-explainer-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 1.5rem;
            padding-top: 1.5rem;
            border-top: 1px solid var(--border);
            flex-wrap: wrap;
        }

        .traveldna-cta-btn {
            font-size: 0.8rem;
            font-weight: 600;
            padding: 0.75rem 1.5rem;
            background: var(--accent);
            color: #FFFFFF;
            border: 1.5px solid var(--accent);
            border-radius: var(--radius);
            cursor: pointer;
            transition: all 0.2s var(--ease-out);
            text-transform: uppercase;
            letter-spacing: 0.04em;
        }

        .traveldna-cta-btn:hover {
            background: var(--accent-hover);
            border-color: var(--accent-hover);
        }

        .traveldna-cta-btn svg {
            width: 14px;
            height: 14px;
            margin-right: 0.5rem;
            vertical-align: middle;
        }

        .traveldna-trust-callout {
            flex: 1;
            min-width: 200px;
        }

        .traveldna-trust-title {
            font-size: 0.7rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.02em;
            color: var(--ink-muted);
            margin-bottom: 0.625rem;
        }

        .traveldna-trust-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .traveldna-trust-list li {
            font-size: 0.8rem;
            color: var(--ink-light);
            padding-left: 1rem;
            position: relative;
            margin-bottom: 0.375rem;
            line-height: 1.4;
        }

        .traveldna-trust-list li:before {
            content: "›";
            position: absolute;
            left: 0;
            color: var(--accent);
            font-weight: 700;
        }

        @media (max-width: 768px) {
            .traveldna-flow {
                flex-direction: column;
                gap: 1.25rem;
            }

            .traveldna-explainer-footer {
                flex-direction: column;
                align-items: stretch;
            }

            .traveldna-cta-btn {
                width: 100%;
                text-align: center;
            }
        }

        /* Insight Preview Teaser */
        .insight-teaser {
            background: var(--surface-card);
            border-radius: var(--radius-lg);
            border: 1px solid var(--border);
            padding: 2rem;
            margin: 2rem auto;
            max-width: 600px;
            box-shadow: var(--shadow-sm);
            text-align: center;
        }

        .insight-teaser-header {
            margin-bottom: 1rem;
        }

        .insight-teaser-header h3 {
            font-size: 1rem;
            font-weight: 400;
            margin-bottom: 0.25rem;
            color: var(--ink);
        }

        .insight-teaser-header p {
            font-size: 0.75rem;
            color: var(--ink-muted);
        }

        .insight-teaser-mock {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 0.75rem;
        }

        .insight-teaser-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.625rem 1rem;
            background: var(--surface-warm);
            border-radius: 100px;
            font-size: 0.8rem;
        }

        .insight-teaser-item svg {
            width: 14px;
            height: 14px;
            color: var(--accent);
            flex-shrink: 0;
        }

        .insight-teaser-item strong {
            font-weight: 500;
            color: var(--ink);
        }

        /* ========================================
           PRICE STYLE SELECTOR
           ======================================== */

        .price-style-section {
            margin: 1.25rem 0;
            padding: 1rem 0;
            border-top: 1px solid var(--border);
        }

        .price-style-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 0.75rem;
        }

        .price-style-label {
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.01em;
            color: var(--ink-light);
            display: flex;
            align-items: center;
            gap: 0.375rem;
        }

        .price-style-label .optional {
            font-weight: 400;
            text-transform: none;
            color: var(--border);
            font-size: 0.7rem;
        }

        .price-style-help {
            position: relative;
            display: inline-flex;
        }

        .price-style-help-btn {
            width: 18px;
            height: 18px;
            border-radius: 50%;
            border: 1px solid var(--border);
            background: var(--white);
            color: var(--ink-muted);
            font-size: 0.65rem;
            cursor: help;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.15s;
        }

        .price-style-help-btn:hover {
            border-color: var(--border);
            color: var(--ink-light);
        }

        .price-style-tooltip {
            position: absolute;
            bottom: calc(100% + 8px);
            right: 0;
            width: 220px;
            padding: 0.625rem 0.875rem;
            background: var(--ink);
            color: #FFFFFF;
            font-size: 0.75rem;
            line-height: 1.5;
            border-radius: var(--radius-sm);
            z-index: 100;
            opacity: 0;
            visibility: hidden;
            transition: all 0.15s;
            pointer-events: none;
        }

        .price-style-tooltip::after {
            content: '';
            position: absolute;
            top: 100%;
            right: 12px;
            border: 6px solid transparent;
            border-top-color: var(--ink);
        }

        .price-style-help:hover .price-style-tooltip,
        .price-style-help:focus-within .price-style-tooltip {
            opacity: 1;
            visibility: visible;
        }

        /* Segmented Control - Refined for professional, analytical feel
           Before: Emoji icons + playful styling. After: Text-only, neutral, trust-oriented. */
        .price-style-control {
            display: flex;
            background: var(--surface-warm);
            border-radius: 8px;
            padding: 3px;
            gap: 2px;
        }

        .price-style-btn {
            flex: 1;
            padding: 0.5rem 0.75rem;
            border: 1px solid transparent;
            background: transparent;
            border-radius: 6px;
            font-size: 0.8rem;
            font-weight: 400;
            cursor: pointer;
            transition: background 0.15s, color 0.15s, border-color 0.15s, font-weight 0.15s;
            color: var(--ink-light);
            display: flex;
            align-items: center;
            justify-content: center;
            white-space: nowrap;
            min-height: 36px;
        }

        .price-style-btn:hover:not(.active) {
            color: var(--ink-light);
            background: var(--white);
        }

        .price-style-btn:focus {
            outline: 2px solid var(--border);
            outline-offset: 1px;
        }

        .price-style-btn:focus:not(:focus-visible) {
            outline: none;
        }

        .price-style-btn:focus-visible {
            outline: 2px solid var(--border);
            outline-offset: 1px;
        }

        .price-style-btn.active {
            background: var(--white);
            color: var(--ink);
            font-weight: 500;
            border-color: var(--border);
            box-shadow: 0 1px 2px rgba(0,0,0,0.05);
        }

        /* Clear button for price style */
        .price-style-clear {
            padding: 0.375rem 0.625rem;
            border: none;
            background: transparent;
            font-size: 0.7rem;
            color: var(--ink-muted);
            cursor: pointer;
            transition: all 0.15s;
            border-radius: 4px;
        }

        .price-style-clear:hover {
            color: var(--ink-light);
            background: var(--surface-warm);
        }

        /* Inline variant for vibe mode */
        .price-style-inline {
            margin-top: 1rem;
            padding-top: 1rem;
            border-top: 1px solid var(--border);
        }

        .price-style-inline .price-style-header {
            margin-bottom: 0.625rem;
        }

        /* Expanded results notice */
        .expanded-results-notice {
            display: none;
            align-items: center;
            gap: 0.5rem;
            padding: 0.75rem 1rem;
            background: #eff6ff;
            border: 1px solid #bfdbfe;
            border-radius: 8px;
            margin-bottom: 1rem;
            font-size: 0.8rem;
            color: #1e40af;
        }

        .expanded-results-notice.visible {
            display: flex;
        }

        .expanded-results-notice svg {
            width: 16px;
            height: 16px;
            flex-shrink: 0;
        }

        /* Active price style indicator in results */
        .active-price-style-tag {
            display: inline-flex;
            align-items: center;
            gap: 0.375rem;
            padding: 0.375rem 0.75rem;
            background: var(--surface-warm);
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 500;
            color: var(--ink-light);
            margin-left: 0.5rem;
        }

        .active-price-style-tag button {
            background: none;
            border: none;
            cursor: pointer;
            padding: 0;
            font-size: 1rem;
            line-height: 1;
            color: var(--ink-muted);
        }

        .active-price-style-tag button:hover {
            color: var(--ink);
        }

        /* Mobile responsive */
        @media (max-width: 600px) {
            .price-style-control {
                flex-wrap: nowrap;
            }

            .price-style-btn {
                padding: 0.5rem 0.625rem;
                font-size: 0.75rem;
                min-height: 40px; /* Tap-friendly target */
            }

            .price-style-tooltip {
                width: 180px;
                right: -50px;
            }

            .price-style-tooltip::after {
                right: 60px;
            }
        }

        /* Mobile adjustments for homepage */
        @media (max-width: 600px) {
            .hero {
                padding: 5rem 1rem 3rem;
            }

            .hero h1 {
                font-size: 2rem;
            }

            .value-prop-line {
                flex-direction: column;
                gap: 0.75rem;
            }

            .credibility-band {
                gap: 1rem;
            }

            .credibility-stat {
                width: 100%;
                max-width: 200px;
            }


            .insight-teaser-mock {
                flex-direction: column;
                align-items: center;
            }

            /* Vibe chips mobile - maintain touch targets */
            .vibe-chip {
                padding: 0.5rem 0.75rem;
                font-size: 0.7rem;
            }

            .vibe-chip-image {
                width: 24px;
                height: 24px;
            }
        }
        /* === PRINT STYLES === */
        @media print {
            header, .loading-overlay, .confirm-actions, .confirm-print-btn,
            .confirm-new-search-btn, noscript { display: none !important; }
            .view { display: none !important; }
            #confirmationView { display: block !important; }
            .confirmation-view {
                padding: 0 !important;
                max-width: 100% !important;
            }
            .confirm-card, .confirm-reference-card {
                break-inside: avoid;
                border-color: #ccc !important;
            }
            .confirm-icon { background: #3d8b5e !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
            .confirm-email-note { background: #f0f0f0 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
        }
.property-review-highlight { margin-top: 16px; }
.quote-translation-note { display: block; margin-top: 5px; color: var(--ink-muted); }
.quote-original { margin-top: 6px; font-size: 0.8rem; }
.quote-original summary { color: var(--brand-blue, #0057e7); cursor: pointer; }
.quote-original p { overflow-wrap: anywhere; }
