/* Source: /static/css/style.css */
/* --- CORE VARIABLES --- */
        :root {
            --primary: #cc0000; --primary-hover: #a30000; --primary-light: rgba(204,0,0,0.1);
            --success: #27ae60; --warning: #febb02; --radius: 20px;
            --diia-bg: #D4F4E4; --diia-text: #000; --bankid-bg: #1A3A8F; --bankid-text: #fff;
            --bg-main: #f4f6f9; --bg-card: #ffffff; --bg-modal: #ffffff; --bg-input: #fafafa;
            --text-main: #111111; --text-muted: #666666; --border: #eeeeee;
            --shadow: 0 10px 40px rgba(0,0,0,0.08); --glass-bg: rgba(255,255,255,0.85);
            --ai-grad: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
        }

        [data-theme="dark"] {
            --bg-main: #121212; --bg-card: #1e1e1e; --bg-modal: #1c1c1e; --bg-input: #2a2a2a;
            --text-main: #f5f5f5; --text-muted: #aaaaaa; --border: #333333;
            --shadow: 0 10px 40px rgba(0,0,0,0.5); --glass-bg: rgba(20,20,20,0.85);
            --diia-bg: #1e3a2b; --diia-text: #fff;
        }

        * { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
        :root { --nr-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; }
        body { font-family: var(--nr-font); margin: 0; background: var(--bg-main); color: var(--text-main); overflow-x: hidden; padding-bottom: 80px; line-height: 1.5; transition: background-color 0.3s, color 0.3s; overscroll-behavior-y: contain; }
        button, input, select, textarea { font: inherit; }
        body.is-tg-app { padding-bottom: 0; }
        button:focus-visible, input:focus-visible, select:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(204,0,0,0.2) !important; }

        /* Skeleton Animation */
        .skeleton { background: linear-gradient(90deg, var(--bg-input) 25%, var(--border) 50%, var(--bg-input) 75%); background-size: 200% 100%; animation: skeleton-loading 1.5s infinite; border-radius: 12px; }
        @keyframes skeleton-loading { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

        /* --- GLOBAL PROGRESS & PTR --- */
        #nprogress { position: fixed; top: 0; left: 0; width: 0%; height: 3px; background: var(--primary); z-index: 10000; transition: width 0.2s, opacity 0.4s; box-shadow: 0 0 10px var(--primary); opacity: 0; pointer-events: none; }
        body.is-tg-app #nprogress { display: none; }

        #ptr-indicator { position: absolute; top: -50px; left: 0; width: 100%; height: 50px; display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--text-muted); transition: transform 0.2s; z-index: 999; }
        .ptr-spinner { width: 24px; height: 24px; border: 3px solid var(--border); border-top-color: var(--primary); border-radius: 50%; animation: spin 0.8s linear infinite; display: none; }
        @keyframes spin { to { transform: rotate(360deg); } }

        /* --- HEADER & NAV --- */
        header { background: #111; padding: 12px 20px; position: sticky; top: 0; z-index: 1000; border-bottom: 3px solid var(--primary); box-shadow: 0 4px 20px rgba(0,0,0,0.4); }
        body.is-tg-app header { display: none; }
        .top-bar { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
        .logo { height: 38px; cursor: pointer; transition: 0.2s; } .logo:active { transform: scale(0.95); }
        #app-splash { position:fixed; inset:0; z-index:10000; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; background:var(--bg-main); color:var(--text-main); transition:opacity .22s ease, visibility .22s ease; }
        #app-splash.is-hidden { opacity:0; visibility:hidden; pointer-events:none; }
        .app-splash-mark { width:52px; height:52px; border-radius:16px; display:grid; place-items:center; background:var(--primary); color:#fff; font-weight:900; box-shadow:0 8px 22px rgba(204,0,0,.28); }
        #app-splash span { color:var(--text-muted); font-size:14px; }
        .header-actions { display: flex; align-items: center; gap: 10px; }
        .icon-btn { background: rgba(255,255,255,0.1); border: none; font-size: 16px; padding: 6px 10px; border-radius: 12px; cursor: pointer; transition: 0.3s; color: white; font-weight: bold; }
        .icon-btn:hover { background: rgba(255,255,255,0.2); }

        .desktop-nav { display: flex; gap: 8px; margin-top: 15px; justify-content: center; max-width: 1200px; margin: auto; flex-wrap: wrap;}
        .desktop-nav a { color: #fff; text-decoration: none; font-weight: 700; font-size: 12px; padding: 10px 18px; border-radius: 10px; transition: 0.3s; background: rgba(255,255,255,0.05); text-transform: uppercase; cursor: pointer; }
        .desktop-nav a.active, .desktop-nav a:hover { background: var(--primary); }
        .badge { background: #fff; color: var(--primary); padding: 2px 6px; border-radius: 6px; margin-left: 5px; font-size: 10px; }
        .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; }

        .mobile-nav { display: none; position: fixed; bottom: 0; left: 0; width: 100%; background: var(--glass-bg); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); box-shadow: 0 -5px 20px rgba(0,0,0,0.1); z-index: 1001; padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid var(--border); transition: 0.3s; }
        body.is-tg-app .mobile-nav { display: none !important; }
        .mobile-nav-inner { display: flex; justify-content: space-around; padding: 12px 5px; }
        .mobile-nav a, .mobile-nav button { flex: 1; min-width: 0; padding: 0; border: 0; background: transparent; text-align: center; color: var(--text-muted); text-decoration: none; font: inherit; font-size: 10px; font-weight: bold; display: flex; flex-direction: column; align-items: center; gap: 4px; transition: 0.3s; cursor: pointer; }
        .mobile-nav a.active, .mobile-nav button.active { color: var(--primary); }
        .mobile-nav a span.icon, .mobile-nav button span.icon { font-size: 22px; filter: grayscale(1); opacity: 0.5; transition: 0.3s; }
        .mobile-nav a.active span.icon, .mobile-nav button.active span.icon { filter: grayscale(0); opacity: 1; transform: translateY(-2px); }

        /* --- LAYOUT & COMPONENTS --- */
        .page { display: none; padding: 20px 15px; max-width: 1200px; margin: 0 auto; min-height: calc(100vh - 150px); animation: fadeScale 0.4s cubic-bezier(0.1, 0.9, 0.2, 1); }
        .page.active { display: block; }
        @keyframes fadeScale { from { opacity: 0; transform: translateY(15px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }

        /* Social Proof Toast */
        .sp-toast { position: fixed; bottom: 100px; left: 20px; background: var(--glass-bg); backdrop-filter: blur(10px); border-radius: 16px; padding: 12px 16px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow); z-index: 999; transform: translateX(-150%); transition: 0.5s cubic-bezier(0.1, 0.9, 0.2, 1); border-left: 4px solid var(--primary); color: var(--text-main); font-size: 13px; max-width: 320px; border: 1px solid var(--border); }
        .sp-toast.show { transform: translateX(0); }
        body.is-tg-app .sp-toast { bottom: 20px; }

        /* Compare Bar */
        .compare-bar { position: fixed; bottom: -100px; left: 50%; transform: translateX(-50%); background: var(--dark); color: white; padding: 15px 25px; border-radius: 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; z-index: 1005; box-shadow: 0 10px 40px rgba(0,0,0,0.4); transition: 0.4s; width: 90%; max-width: 400px; }
        .compare-bar.show { bottom: 90px; }
        body.is-tg-app .compare-bar.show { bottom: 20px; }

        /* Stories */
        .stories-bar { display: flex; gap: 15px; overflow-x: auto; padding: 5px 0 20px; scrollbar-width: none; }
        .stories-bar::-webkit-scrollbar { display: none; }
        .story { display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; flex-shrink: 0; transition: 0.2s; }
        .story-img-wrap { width: 68px; height: 68px; border-radius: 50%; padding: 3px; background: linear-gradient(45deg, var(--warning), var(--primary)); display: flex; align-items: center; justify-content: center; }
        .story-img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: var(--bg-card); border: 2px solid var(--bg-main); transition: 0.3s; }
        .story:active .story-img { transform: scale(0.9); }
        .story-title { font-size: 11px; font-weight: 700; color: var(--text-main); width: 68px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

        /* Search Box */
        .search-container { position: sticky; top: 10px; z-index: 995; margin-bottom: 25px; transition: 0.3s; }
        .desktop-nav .nav-favs, .desktop-nav .nav-services, .desktop-nav .nav-terms, .desktop-nav .nav-about { display: none; }
        .journey-hero { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 18px 22px; margin: 0 0 14px; border-radius: 14px; color: #fff; background: linear-gradient(120deg, #171b23 0%, #2a303c 55%, #4a1518 100%); box-shadow: 0 8px 20px rgba(21,16,18,.1); }
        .journey-hero h1 { margin: 3px 0 6px; font-size: clamp(24px, 3vw, 34px); line-height: 1.1; letter-spacing: -1px; }
        .journey-hero p:not(.eyebrow) { max-width: 620px; margin: 0; color: rgba(255,255,255,.78); }
        .eyebrow { margin: 0; color: #ffb2b2; font-size: 11px; font-weight: 900; letter-spacing: .11em; }
        .journey-actions { display: grid; grid-template-columns: repeat(3, minmax(130px, 1fr)); gap: 10px; width: min(100%, 490px); }
        .journey-action { padding: 13px 14px; border: 1px solid rgba(255,255,255,.28); border-radius: 12px; color: #fff; background: rgba(255,255,255,.08); font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; transition: transform .2s, background .2s; }
        .journey-action:hover { transform: translateY(-2px); background: rgba(255,255,255,.18); }
        .journey-action.primary { border-color: #fff; color: #111; background: #fff; }
        body.is-tg-app .search-container { top: 10px; }
        header.scrolled ~ main .search-container { top: 75px; }
        .search-box { background: var(--bg-card); padding: 15px; border-radius: var(--radius); display: flex; flex-wrap: wrap; gap: 12px; box-shadow: var(--shadow); border: 1px solid var(--border); transition: 0.3s; align-items: center; }
        .search-container.stuck .search-box { padding: 10px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); background: var(--glass-bg); backdrop-filter: blur(10px); }

        .floating-group { position: relative; flex: 1; min-width: 150px; display: flex; align-items: center; }
        .floating-input { width: 100%; padding: 20px 15px 10px; border: 1px solid var(--border); border-radius: 12px; font-size: 14px; outline: none; transition: 0.3s; background: var(--bg-input); color: var(--text-main); font-weight: 600; font-family: inherit; }
        .floating-label { position: absolute; left: 15px; top: 16px; color: var(--text-muted); font-size: 14px; transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1); pointer-events: none; }
        .floating-input:focus { border-color: var(--primary); background: var(--bg-card); box-shadow: 0 0 0 4px rgba(204,0,0,0.08); }
        .floating-input:focus ~ .floating-label, .floating-input:not(:placeholder-shown) ~ .floating-label, .floating-input.has-value ~ .floating-label { top: 6px; font-size: 10px; color: var(--primary); font-weight: 800; text-transform: uppercase; }

        .mic-btn { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: transparent; border: none; font-size: 18px; cursor: pointer; color: var(--text-muted); padding: 5px; transition: 0.3s; z-index: 5; }
        .mic-btn:hover { color: var(--primary); transform: translateY(-50%) scale(1.1); }
        .mic-btn.recording { color: var(--primary); animation: pulse 1s infinite; }
        .search-clear-btn { position: absolute; right: 42px; top: 50%; z-index: 5; transform: translateY(-50%); border: 0; color: var(--text-muted); background: transparent; cursor: pointer; font-size: 22px; line-height: 1; }

        .quick-dates { display: flex; gap: 8px; margin-top: -5px; padding-left: 5px; margin-bottom: 5px; overflow-x: auto; scrollbar-width: none; }
        .quick-dates span { font-size: 11px; background: var(--bg-input); border: 1px solid var(--border); padding: 4px 10px; border-radius: 12px; cursor: pointer; font-weight: bold; color: var(--text-muted); transition: 0.3s; white-space: nowrap; }
        .quick-dates span:hover { background: var(--primary-light); color: var(--primary); border-color: var(--primary); }

        .btn-icon { position: relative; background: var(--bg-input); border: 1px solid var(--border); border-radius: 12px; padding: 15px; cursor: pointer; font-size: 18px; display: flex; align-items: center; justify-content: center; transition: 0.3s; color: var(--text-main); }
        .btn-icon:hover { background: var(--primary); color: white; border-color: var(--primary); }

        .controls-bar { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 25px; }
        .filter-btn { background: var(--bg-card); border: 1px solid var(--border); color: var(--text-muted); padding: 10px 18px; border-radius: 20px; cursor: pointer; font-weight: 700; font-size: 13px; transition: 0.3s; box-shadow: 0 2px 5px rgba(0,0,0,0.02); }
        .filter-btn.active, .filter-btn:hover { background: var(--text-main); color: var(--bg-main); border-color: var(--text-main); transform: translateY(-2px); }

        /* Map */
        #map-wrapper { position: relative; margin-bottom: 25px; display: block; }
        #map { height: 250px; width: 100%; border-radius: var(--radius); z-index: 1; border: 1px solid var(--border); box-shadow: var(--shadow); filter: var(--map-filter); transition: 0.3s; }
        @media (min-width: 1100px) {
            #page-fleet #map-wrapper { float:right; width:38%; margin:0 0 24px 24px; position:sticky; top:18px; }
            #page-fleet #map { height:calc(100vh - 56px); min-height:520px; }
            #page-fleet #fleet-grid { min-height:520px; }
            #page-fleet .view-toggle { display:none; }
        }
        [data-theme="dark"] { --map-filter: invert(90%) hue-rotate(180deg) brightness(85%) contrast(85%); }
        .btn-search-area { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); z-index: 1000; background: var(--dark); color: white; border: none; padding: 10px 20px; border-radius: 20px; font-weight: bold; font-size: 13px; cursor: pointer; box-shadow: 0 4px 15px rgba(0,0,0,0.3); display: none; animation: dropDown 0.3s ease; }
        .marker-cluster-custom { background-color: var(--primary-light); border-radius: 50%; }
        .marker-cluster-custom div { background-color: var(--primary); color: white; border-radius: 50%; width: 30px; height: 30px; margin: 5px; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 14px; box-shadow: 0 2px 8px rgba(204,0,0,0.4); }
        .map-price-marker { background: var(--bg-card); border: 2px solid var(--text-main); border-radius: 20px; padding: 4px 10px; font-weight: 800; font-size: 13px; color: var(--text-main); box-shadow: 0 4px 10px rgba(0,0,0,0.3); transition: 0.3s; white-space: nowrap; text-align: center; }
        .map-price-marker::after { content: ''; position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%); border-width: 6px 6px 0; border-style: solid; border-color: var(--text-main) transparent transparent transparent; transition: 0.3s; }
        .map-price-marker.active { background: var(--primary); color: white; border-color: var(--primary); transform: scale(1.15); z-index: 1000 !important; }
        .map-price-marker.active::after { border-color: var(--primary) transparent transparent transparent; }

        /* View Toggle */
        .view-toggle { position: fixed; bottom: 100px; left: 50%; transform: translateX(-50%); background: var(--dark); color: white; padding: 12px 24px; border-radius: 30px; font-weight: bold; font-size: 14px; cursor: pointer; z-index: 998; box-shadow: 0 8px 20px rgba(0,0,0,0.3); display: flex; align-items: center; gap: 8px; transition: 0.3s; border: 1px solid rgba(255,255,255,0.1); display: none;}
        .view-toggle:hover { background: #333; transform: translateX(-50%) scale(1.05); }
        body.is-tg-app .view-toggle { bottom: 30px; }
        body.map-view-active { overflow: hidden; }
        body.map-view-active #map-wrapper { display: block; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: 800; border-radius: 0; margin: 0; }
        body.map-view-active #map { height: 100%; border-radius: 0; border: none; }
        body.map-view-active .search-container, body.map-view-active .controls-bar { z-index: 900; position: relative; }
        body.map-view-active #stories-bar { display: none; }
        body.map-view-active .cars-grid { position: fixed; bottom: 150px; left: 0; width: 100vw; z-index: 900; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 15px; gap: 15px; pointer-events: auto; scrollbar-width: none; }
        body.map-view-active.is-tg-app .cars-grid { bottom: 80px; }
        body.map-view-active .cars-grid::-webkit-scrollbar { display: none; }
        body.map-view-active .card { flex: 0 0 85%; max-width: 320px; scroll-snap-align: center; margin: 0; box-shadow: 0 15px 30px rgba(0,0,0,0.2); }

        /* Cards */
        .cars-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; }
        .empty-catalog-hint { margin: 9px 0 14px; font-size: 13px; }
        .empty-catalog-reset { padding: 10px 15px; border: 0; border-radius: 9px; color: #fff; background: var(--primary); font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
        .card { background: var(--bg-card); border-radius: var(--radius); padding: 15px; box-shadow: var(--shadow); transition: 0.4s cubic-bezier(0.1, 0.9, 0.2, 1); cursor: pointer; display: flex; flex-direction: column; position: relative; border: 2px solid transparent; }
        .card.reveal { opacity: 0; transform: translateY(30px); } .card.reveal.active { opacity: 1; transform: translateY(0); }
        .card:hover, .card.highlight { transform: translateY(-8px); border-color: var(--primary); }
        .card.card-unavailable { cursor: not-allowed; opacity: .78; }
        .card.card-unavailable:hover { transform: none; border-color: transparent; }

        .card-img-box { position: relative; height: 190px; background: var(--bg-input); border-radius: 12px; overflow: hidden; margin-bottom: 15px; display: flex; align-items: center; justify-content: center; }
        .card-img { width: 100%; height: 100%; object-fit: contain; padding: 10px; transition: transform 0.5s, opacity 0.4s; opacity: 0; }
        .card-img.loaded { opacity: 1; }
        .card:hover .card-img { transform: scale(1.05); }

        .card-actions { position: absolute; top: 12px; right: 12px; display: flex; gap: 8px; z-index: 2; }
        .act-btn { background: var(--glass-bg); border: none; border-radius: 50%; width: 35px; height: 35px; font-size: 16px; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 10px rgba(0,0,0,0.15); color: var(--text-muted); transition: 0.3s; backdrop-filter: blur(4px); }
        .act-btn.active { color: var(--primary); }
        .act-btn.active-cmp { background: var(--dark); color: #fff; }
        .act-btn:active { transform: scale(0.8); }

        .verified-tag { position: absolute; top: 12px; left: 12px; background: var(--success); color: #fff; padding: 5px 10px; border-radius: 8px; font-size: 10px; font-weight: 800; z-index: 2; box-shadow: 0 2px 8px rgba(39,174,96,0.3); }

        .price-total { border-top: 1px solid var(--border); margin-top: auto; padding-top: 15px; display: flex; justify-content: space-between; align-items: center; }
        .card-terms { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 2px 0 12px; font-size: 11px; color: var(--text-muted); }
        .card-terms span { padding: 6px 8px; border-radius: 8px; background: var(--bg-input); line-height: 1.25; }
        .price-total small { display: block; margin-bottom: 3px; color: var(--text-muted); font-size: 11px; font-weight: 700; }
        .card-total-price { display: block; color: var(--primary); font-size: 21px; font-weight: 900; line-height: 1.1; }
        .card-daily-price { color: var(--text-muted); font-size: 11px; font-weight: 600; }
        .card-rating { margin: 0 0 9px; color: #b57900; font-size: 12px; font-weight: 800; }
        .availability-pill { display: flex; align-items: flex-start; gap: 8px; margin: 2px 0 12px; padding: 8px 9px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg-input); color: var(--text-muted); font-size: 11px; line-height: 1.25; }
        .availability-pill > span { display: grid; flex: 0 0 auto; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: #8a8a8a; color: #fff; font-weight: 900; }
        .availability-pill b, .availability-pill small { display: block; }
        .availability-pill small { margin-top: 1px; color: inherit; }
        .availability-pill.available { border-color: rgba(39,174,96,.35); background: rgba(39,174,96,.08); color: #19703d; }
        .availability-pill.available > span { background: var(--success); }
        .availability-pill.unavailable { border-color: rgba(204,0,0,.3); background: rgba(204,0,0,.07); color: #a30000; }
        .availability-pill.unavailable > span { background: var(--primary); }
        .card-book-btn { width: 100%; margin-top: 14px; padding: 12px 14px; border: 0; border-radius: 10px; color: #fff; background: var(--primary); cursor: pointer; font: inherit; font-size: 13px; font-weight: 800; transition: background .2s, transform .2s; }
        .price-savings { margin-top: 10px; padding: 7px 9px; border-radius: 8px; color: #17663a; background: rgba(39,174,96,.1); font-size: 11px; font-weight: 800; }
        .catalog-load-error { grid-column: 1/-1; display: grid; gap: 10px; justify-items: center; padding: 56px 20px; color: var(--text-muted); text-align: center; }
        .catalog-load-error strong { color: var(--text-main); font-size: 18px; }
        .catalog-load-error button { padding: 10px 18px; border: 0; border-radius: 9px; color: #fff; background: var(--primary); cursor: pointer; font: inherit; font-weight: 800; }
        #offline-banner { position: fixed; top: 0; left: 50%; z-index: 1200; transform: translateX(-50%); width: min(92vw, 560px); padding: 9px 14px; border-radius: 0 0 10px 10px; color: #7a4b00; background: #fff3cd; box-shadow: var(--shadow); font-size: 12px; font-weight: 800; text-align: center; }
        .card-date-suggestion { width: 100%; margin-top: 10px; padding: 10px 12px; border: 1px solid rgba(204,0,0,.28); border-radius: 10px; color: #9f1d1d; background: #fff7f7; cursor: pointer; font: inherit; font-size: 12px; font-weight: 800; }
        .card-date-suggestion:hover { background: #feeaea; }
        .card-book-btn:hover { background: var(--primary-hover); transform: translateY(-1px); }
        .card-book-btn:disabled { color: var(--text-muted); background: var(--bg-input); cursor: not-allowed; }
        .price-total > div:nth-child(2) { display: none; }
        .price-breakdown { display: grid; gap: 7px; margin: -8px 0 16px; padding: 13px 15px; border: 1px solid var(--border); border-radius: 12px; color: var(--text-muted); font-size: 12px; background: var(--bg-card); }
        .price-breakdown div { display: flex; justify-content: space-between; gap: 14px; }
        .price-breakdown b { color: var(--text-main); white-space: nowrap; }
        .price-breakdown .deposit-note { padding-top: 9px; margin-top: 2px; border-top: 1px solid var(--border); }
        .checkout-assurance { margin: -6px 0 18px; color: var(--text-muted); font-size: 11px; line-height: 1.4; }
        .server-quote { margin: -7px 0 15px; color: var(--text-muted); font-size: 11px; line-height: 1.35; }
        .server-quote.ok { color: var(--success); font-weight: 800; }
        .server-quote.error { color: var(--primary); font-weight: 800; }
        .trust-panel { margin: 0 0 20px; padding: 15px; border: 1px solid rgba(39,174,96,.28); border-radius: 16px; background: linear-gradient(135deg, rgba(39,174,96,.09), var(--bg-card)); }
        .trust-panel-title { display: flex; align-items: center; gap: 9px; color: var(--text-main); }
        .trust-panel-title > span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: rgba(39,174,96,.15); }
        .trust-panel-title small { display: block; margin-top: 1px; color: var(--text-muted); font-size: 11px; }
        .trust-list { display: grid; gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
        .trust-list li { display: flex; align-items: flex-start; gap: 9px; font-size: 12px; }
        .trust-list li > span { flex: 0 0 auto; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; color: #fff; background: var(--success); font-size: 11px; font-weight: 900; }
        .trust-list b { display: block; color: var(--text-main); }
        .trust-list small { display: block; margin-top: 1px; color: var(--text-muted); line-height: 1.3; }
        .partner-bookings { margin: 0 0 20px; padding: 15px; border: 1px solid rgba(204,0,0,.18); border-radius: 14px; background: linear-gradient(135deg, rgba(204,0,0,.06), var(--bg-card)); }
        .partner-bookings-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 10px; }
        .partner-bookings-title small { display: block; margin-top: 2px; color: var(--text-muted); font-size: 11px; }
        .partner-bookings-title > span { color: var(--text-muted); font-size: 11px; text-align: right; }
        .partner-booking-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--border); }
        .partner-booking-row b, .partner-booking-row small { display: block; }
        .partner-booking-row small { margin-top: 2px; color: var(--text-muted); font-size: 11px; }
        .partner-booking-row a { flex: 0 0 auto; padding: 7px 9px; border: 1px solid var(--border); border-radius: 8px; color: var(--primary); background: var(--bg-card); font-size: 12px; font-weight: 800; text-decoration: none; }

        /* Profile & Dashboards */
        .partner-switch-container { display: flex; background: var(--bg-input); border-radius: 12px; padding: 5px; margin-bottom: 25px; border: 1px solid var(--border); }
        .p-switch { flex: 1; text-align: center; padding: 10px; border-radius: 8px; font-weight: bold; cursor: pointer; color: var(--text-muted); transition: 0.3s; font-size: 14px; }
        .p-switch.active { background: var(--bg-card); color: var(--primary); box-shadow: 0 2px 8px rgba(0,0,0,0.1); }

        .loyalty-badge { display: inline-flex; align-items: center; gap: 5px; background: rgba(254,187,2,0.15); color: var(--warning); padding: 5px 12px; border-radius: 12px; font-size: 12px; font-weight: 900; border: 1px solid rgba(254,187,2,0.3); margin-top: 5px; }

        .auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 20px; }
        .auth-pending-note { margin: 9px 0 0; color: var(--text-muted); font-size: 11px; line-height: 1.4; }
        .verification-notice { display:grid; gap:5px; margin-top:20px; padding:14px 15px; border:1px solid var(--border); border-radius:12px; background:var(--bg-input); color:var(--text-muted); font-size:13px; line-height:1.45; }
        .verification-notice b { color:var(--text-main); font-size:14px; }
        .auth-btn { width: 100%; border: none; padding: 15px; border-radius: 12px; font-size: 14px; font-weight: bold; cursor: pointer; transition: 0.3s; display: flex; align-items: center; justify-content: center; gap: 10px; }
        .diia-btn { background: var(--dark); color: #fff; }
        .diia-btn.verified { background: var(--diia-bg); color: var(--diia-text); pointer-events: none; border: 1px solid var(--success); }
        .bankid-btn { background: var(--bankid-bg); color: var(--bankid-text); }

        .referral-card { background: linear-gradient(135deg, var(--primary), #ff4081); padding: 25px; border-radius: var(--radius); color: white; margin-bottom: 25px; position: relative; overflow: hidden; box-shadow: 0 10px 30px rgba(204,0,0,0.3); }
        .btn-qr { background: var(--primary-light); color: var(--primary); padding: 12px; border-radius: 12px; border: none; font-weight: bold; width: 100%; cursor: pointer; margin-top: 15px; transition: 0.3s; display: flex; justify-content: center; align-items: center; gap: 8px; }

        .crm-chart-container { display: flex; align-items: flex-end; gap: 5px; height: 60px; margin-top: 15px; padding-bottom: 5px; border-bottom: 1px solid var(--border); }
        .crm-bar { flex: 1; background: var(--primary-light); border-radius: 4px 4px 0 0; position: relative; transition: 0.3s; }
        .crm-bar:hover { background: var(--primary); }

        /* Modals & Booking */
        .modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 2000; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 15px; }
        .modal-body { background: var(--bg-modal); width: 100%; max-width: 1100px; max-height: 90vh; border-radius: 28px; display: flex; overflow: hidden; position: relative; box-shadow: 0 25px 50px rgba(0,0,0,0.4); transform: translateY(50px) scale(0.98); transition: transform 0.4s cubic-bezier(0.1, 0.9, 0.2, 1); }
        .modal.show { opacity: 1; } .modal.show .modal-body { transform: translateY(0) scale(1); }

        .m-left { flex: 1.4 1 0; min-width: 0; padding: 40px; overflow-y: auto; border-right: 1px solid var(--border); scroll-behavior: smooth; }
        .m-right { flex: 1 1 0; min-width: 0; padding: 40px; padding-bottom: 30px; background: var(--bg-input); overflow-y: auto; display: flex; flex-direction: column; position: relative; min-height: 0; }
        .btn-close { position: absolute; top: 15px; right: 20px; font-size: 32px; cursor: pointer; color: var(--text-muted); z-index: 100; transition: 0.3s; line-height: 1; }
        .btn-close:hover { color: var(--primary); }

        .swipe-gallery-wrapper { position: relative; height: 280px; margin-bottom: 20px; background: var(--bg-input); border-radius: 20px; overflow: hidden; border: 1px solid var(--border); }
        .swipe-gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; height: 100%; scroll-behavior: smooth; }
        .swipe-gallery::-webkit-scrollbar { display: none; }
        .swipe-gallery img { flex: 0 0 100%; height: 100%; object-fit: contain; scroll-snap-align: center; padding: 15px; pointer-events: none; opacity: 0; transition: opacity 0.4s; }
        .swipe-gallery img.loaded { opacity: 1; }
        .gallery-dots { display: flex; justify-content: center; gap: 6px; position: absolute; bottom: 15px; width: 100%; z-index: 10; pointer-events: none; }
        .gallery-dot { width: 8px; height: 8px; background: rgba(150,150,150,0.5); border-radius: 50%; transition: 0.3s; }
        .gallery-dot.active { background: var(--primary); width: 20px; border-radius: 4px; }

        .gal-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: var(--glass-bg); border: 1px solid var(--border); color: var(--text-main); width: 35px; height: 35px; border-radius: 50%; cursor: pointer; display: none; align-items: center; justify-content: center; z-index: 20; box-shadow: 0 2px 8px rgba(0,0,0,0.1); font-weight: bold; }
        .gal-arrow:hover { background: var(--text-main); color: var(--bg-main); }
        .gal-arrow.left { left: 10px; } .gal-arrow.right { right: 10px; }
        @media (hover: hover) { .swipe-gallery-wrapper:hover .gal-arrow { display: flex; } }

        .damage-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
        .damage-tag { background: #ffebee; color: #c0392b; padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: bold; border: 1px solid #fadbd8; }
        [data-theme="dark"] .damage-tag { background: rgba(204,0,0,0.2); border-color: rgba(204,0,0,0.3); color: #ff6b6b; }

        .btn-hold { position: relative; overflow: hidden; width: 100%; background: var(--primary); color: #fff; padding: 18px; border: none; border-radius: 16px; font-size: 16px; font-weight: 800; cursor: pointer; margin-top: 20px; margin-bottom: 20px; box-shadow: 0 8px 25px rgba(204,0,0,0.25); text-transform: uppercase; user-select: none; -webkit-user-select: none; touch-action: manipulation; display: flex; align-items: center; justify-content: center; text-align: center; min-height: 60px; }
        .btn-hold::before { content: ''; position: absolute; top: 0; left: 0; height: 100%; width: 0; background: rgba(0,0,0,0.2); transition: width 0s; z-index: 1; }
        .btn-hold.holding::before { width: 100%; transition: width 1.5s linear; }
        .btn-hold span { position: relative; z-index: 2; }
        .btn-hold:disabled { background: var(--text-muted); cursor: not-allowed; box-shadow: none; transform: none; }

        .btn-primary { width: 100%; background: var(--primary); color: #fff; padding: 18px; border: none; border-radius: 16px; font-size: 16px; font-weight: 800; cursor: pointer; transition: 0.3s; margin-top: auto; box-shadow: 0 8px 25px rgba(204,0,0,0.25); text-transform: uppercase; position: relative; overflow: hidden; }
        .btn-primary:active:not(:disabled) { transform: scale(0.96); }

        .success-overlay { position: absolute; inset: 0; background: var(--bg-modal); z-index: 100; display: none; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
        .checkmark-circle { width: 80px; height: 80px; border-radius: 50%; border: 4px solid var(--success); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; animation: scaleUp 0.5s cubic-bezier(0.1, 0.9, 0.2, 1); }
        .checkmark-circle::after { content: '✓'; font-size: 40px; color: var(--success); }
        .btn-calendar { background: #4285F4; color: white; border: none; padding: 12px 20px; border-radius: 12px; font-weight: bold; cursor: pointer; margin-top: 20px; display: flex; align-items: center; gap: 8px; box-shadow: 0 4px 10px rgba(66, 133, 244, 0.3); }

        /* COMPARE MODAL */
        body.modal-open { overflow: hidden; overscroll-behavior: none; }
        #compareModal { overscroll-behavior: contain; }
        #compareModal .modal-body { max-width: 1000px; max-height:82vh; padding:30px; flex-direction:column; overflow:hidden; overscroll-behavior:contain; }
        #compareModal .table-responsive { flex:1; min-height:0; overflow:auto; overscroll-behavior:contain; -webkit-overflow-scrolling:touch; touch-action:pan-x pan-y; }
        .compare-table { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: 14px; }
        .compare-table th, .compare-table td { padding: 12px; border-bottom: 1px solid var(--border); text-align: center; min-width: 145px; }
        .compare-table th { position:sticky; left:0; z-index:2; color: var(--text-muted); font-weight:700; text-align: left; min-width: 150px; background:var(--bg-modal); }
        .compare-img { width: 100px; height: 60px; object-fit: contain; border-radius: 8px; background: var(--bg-input); }
        .compare-price { color:var(--primary); font-size:16px; }
        .compare-scroll-hint { margin:10px 0 0; color:var(--text-muted); font-size:12px; text-align:center; }
        .compare-bar button:disabled { cursor:not-allowed; opacity:.48; filter:grayscale(.35); }
        .client-profile-summary { display:grid; grid-template-columns:repeat(auto-fit,minmax(120px,1fr)); gap:8px; margin-top:15px; }
        .client-profile-summary > div { display:grid; gap:2px; padding:12px 10px; text-align:center; border:1px solid var(--border); border-radius:12px; background:var(--bg-input); }
        .client-profile-summary b { color:var(--primary); font-size:20px; }
        .client-profile-summary span { color:var(--text-muted); font-size:11px; font-weight:700; }
        .client-booking-head, .client-booking-meta { display:flex; justify-content:space-between; align-items:center; gap:10px; }
        .client-booking-name { min-width:0; overflow-wrap:anywhere; }
        .client-booking-dates { min-width:0; overflow-wrap:anywhere; }
        .client-login-prompt { display:grid; gap:8px; margin-top:15px; padding:16px; border:1px solid color-mix(in srgb, var(--primary) 26%, var(--border)); border-radius:12px; background:color-mix(in srgb, var(--primary) 7%, var(--bg-card)); }
        .client-login-prompt span { color:var(--text-muted); font-size:13px; line-height:1.45; }
        .client-login-prompt button { justify-self:start; border:0; border-radius:9px; padding:10px 13px; background:var(--primary); color:#fff; font-weight:800; cursor:pointer; }

        @keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
        .shake { animation: shake 0.3s ease-in-out; border-color: var(--primary) !important; color: var(--primary) !important; }
        @keyframes scaleUp { from { transform: scale(0); } to { transform: scale(1); } }

        #toast-box { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 9999; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
        .toast { background: var(--text-main); color: var(--bg-main); padding: 14px 28px; border-radius: 30px; font-size: 14px; font-weight: bold; box-shadow: var(--shadow); animation: dropDown 0.3s cubic-bezier(0.1, 0.9, 0.2, 1); }
        @keyframes dropDown { from { transform: translateY(-30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

        .swipe-indicator { display: none; width: 40px; height: 5px; background: var(--border); border-radius: 3px; margin: 10px auto 20px; }

        /* Page Content Stylings */
        .text-content { line-height: 1.8; font-size: 16px; color: var(--text-muted); }
        .text-content h2 { color: var(--text-main); font-size: 28px; margin-bottom: 20px; border-bottom: 2px solid var(--primary); padding-bottom: 10px; display: inline-block;}
        .text-content h3 { color: var(--text-main); font-size: 20px; margin-top: 30px; }

        @media (max-width: 850px) {
            body { padding-bottom:calc(76px + env(safe-area-inset-bottom)); }
            .journey-hero { display: block; padding: 16px; margin-top: 0; }
            .journey-actions { grid-template-columns: 1fr; width: 100%; margin-top: 18px; }
            .journey-action { text-align: left; }
            .desktop-nav { display: none; }
            .mobile-nav { display: block; }
            .modal { align-items: flex-end; padding: 0; }
            .modal-body { flex-direction: column; border-radius: 28px 28px 0 0; max-height: 94vh; transform: translateY(100%); width: 100%; box-shadow: 0 -10px 40px rgba(0,0,0,0.2); }
            .modal.show .modal-body { transform: translateY(0); }
            .swipe-indicator { display: block; }
            .m-left { padding: 0 20px 20px; border-right: none; border-bottom: 1px solid var(--border); }
            .m-right { padding: 20px; background: var(--bg-modal); }
            .btn-close { display: none; }
            .btn-hold { position: sticky; bottom: 0; z-index: 10; margin-top: 20px; }
            #map { height: 300px; }
            .search-box { grid-template-columns: 1fr 1fr; }
            #f-search-group { grid-column: 1 / -1; }
            #filtersModal .modal-body { max-height: 85vh; padding: 25px; }
            .compare-bar { width: 95%; font-size: 13px; padding: 12px 20px; }
            #compareModal .modal-body { max-height:88dvh; padding:20px 16px 18px; }
            .compare-table { font-size:13px; margin-top:10px; }
            .compare-table th, .compare-table td { min-width:132px; padding:10px 8px; }
            .compare-table th { min-width:116px; }
            .compare-img { width:86px; height:54px; }
            .client-profile-summary { gap:6px; }
            .client-profile-summary > div { padding:10px 6px; }
            .client-booking-head, .client-booking-meta { align-items:flex-start; }
            .client-booking-meta { flex-direction:column; }
        }

/* Мобільне розширене меню */
.mobile-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    border-bottom: 1px solid var(--border);
}
.mobile-menu-item:last-child { border-bottom: none; }
.mobile-menu-item:active { background: var(--bg-input); }
.mobile-more-menu { position:fixed; bottom:calc(64px + env(safe-area-inset-bottom)); left:0; right:0; z-index:999; max-height:calc(100dvh - 120px); overflow-y:auto; padding:10px 0; background:var(--bg-card); border-top:1px solid var(--border); box-shadow:0 -8px 24px rgba(0,0,0,.12); }
.site-footer { max-width:1180px; margin:28px auto 0; padding:18px 20px; color:var(--text-muted); font-size:12px; text-align:center; }

/* Фіксована панель пошуку - прибираємо position:sticky на мобільному */
@media (max-width: 768px) {
    /* Прибираємо sticky з header та search на мобільному */
    header {
        position: relative !important;
        top: auto !important;
    }
    .search-container {
        position: relative !important;
        top: auto !important;
    }
    .search-filter-bar {
        position: relative !important;
        top: auto !important;
        z-index: auto !important;
    }
    .btn-hold {
        position: relative !important;
        bottom: auto !important;
    }

    /* Фільтри категорій - текст на кнопках */
    .filter-btn {
        color: var(--text-main) !important;
        background: var(--bg-card) !important;
    }
    .filter-btn.active {
        color: white !important;
        background: var(--primary) !important;
    }

    /* Primary booking controls meet the 48px touch-target recommendation. */
    .filter-btn,
    .act-btn,
    .card-book-btn,
    #bookingModal .floating-input,
    #bookingModal select {
        min-height: 48px;
    }
    .act-btn { min-width: 48px; min-height: 48px; }
    .filter-btn { min-width: 48px; display: inline-flex; align-items: center; justify-content: center; }
}

/* Narrow phones: prevent two-column controls and cards from overflowing. */
@media (max-width: 480px) {
    body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
    header { padding-left: 12px; padding-right: 12px; }
    .top-bar { gap: 8px; }
    .header-actions { gap: 4px; min-width: 0; flex-shrink: 1; }
    .header-actions > * { flex-shrink: 1; }
    #user-badge { display: inline-block; max-width: 82px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-left: 8px !important; padding-right: 8px !important; }
    #user-badge { max-width:52px; }
    #curr-switch { width:68px; min-width:68px; padding-left:5px !important; padding-right:5px !important; font-size:12px; }
    .lang-switch { padding-left:6px !important; padding-right:6px !important; }
    #theme-btn { padding-left:8px; padding-right:8px; }
    #btn-logout { min-width:36px; width:36px; padding-left:0 !important; padding-right:0 !important; font-size:0 !important; }
    #btn-logout::after { content:'↪'; font-size:16px; line-height:1; }
    .cars-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .card { min-width: 0; }
    .card-terms, .auth-grid { grid-template-columns: minmax(0, 1fr); }
    .search-box { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 12px; }
    #f-search-group { grid-column: auto; }
    .controls-bar { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
    .filter-btn { flex: 0 0 auto; }
    #m-rental-conditions { grid-template-columns: minmax(0, 1fr) !important; }
    #bookingModal [style*="grid-template-columns:1fr 1fr"],
    #addCarModal [style*="grid-template-columns:1fr 1fr"],
    #filtersModal [style*="grid-template-columns:1fr 1fr"] { grid-template-columns: minmax(0, 1fr) !important; }
    .m-left, .m-right { padding-left: 16px; padding-right: 16px; }
.modal-body { max-height: 96vh; }
}

.field-hint { margin: -4px 2px 12px; color: var(--text-muted); font-size: 12px; line-height: 1.35; }
.booking-phone-group { display: grid; gap: 6px; }
.booking-phone-label { position: static !important; display: block; color: var(--text-muted); font-size: 12px; font-weight: 800; transform: none !important; pointer-events: auto; }
.booking-phone-input { width: 100%; box-sizing: border-box; min-height: 58px; padding: 17px 14px !important; border: 1px solid var(--border); border-radius: 14px; outline: none; background: var(--bg-card); color: var(--text-main); font: inherit; font-size: 17px; }
.booking-phone-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(204,0,0,.12); }
.maps-link { width: 100%; margin: -2px 0 13px; padding: 10px 12px; border: 1px solid rgba(66,133,244,.35); border-radius: 10px; color: #185abc; background: #f1f6ff; cursor: pointer; font: inherit; font-size: 12px; font-weight: 800; }
.compare-controls { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 12px; }
.compare-controls select { flex: 1 1 220px; min-width: 0; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; color: var(--text-main); background: var(--bg-card); font: inherit; }
.compare-controls button { padding: 10px 12px; border: 0; border-radius: 10px; color: #fff; background: var(--primary); cursor: pointer; font: inherit; font-weight: 800; }
.compare-controls button:disabled { opacity: .5; cursor: not-allowed; }
.compare-remove { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; min-height: 28px; margin: 7px 0 0; padding: 4px 7px; border: 1px solid rgba(204,0,0,.25); border-radius: 8px; color: var(--primary); background: var(--bg-card); cursor: pointer; font: inherit; font-size: 12px; font-weight: 800; }
.compare-choose { display:inline-flex; align-items:center; justify-content:center; margin:7px 4px 0 0; padding:5px 8px; border:0; border-radius:8px; background:var(--primary); color:#fff; cursor:pointer; font:inherit; font-size:12px; font-weight:800; }
.photo-viewer { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; padding: 18px; background: rgba(0,0,0,.94); }
.photo-viewer[hidden] { display: none; }
.photo-viewer img { max-width: 100%; max-height: calc(100dvh - 92px); object-fit: contain; }
.photo-viewer-close, .photo-viewer-nav { position: absolute; border: 0; color: #fff; background: rgba(0,0,0,.55); cursor: pointer; }
.photo-viewer-close { top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; font-size: 30px; line-height: 1; }
.photo-viewer-nav { top: 50%; width: 42px; height: 52px; transform: translateY(-50%); font-size: 26px; }
.photo-viewer-nav.left { left: 12px; border-radius: 0 12px 12px 0; }
.photo-viewer-nav.right { right: 12px; border-radius: 12px 0 0 12px; }
.photo-viewer-counter { position: absolute; bottom: 16px; margin: 0; padding: 6px 10px; border-radius: 999px; color: #fff; background: rgba(0,0,0,.55); font-size: 12px; }
.swipe-gallery img { pointer-events: auto; cursor: zoom-in; }

/* A browser side panel can leave a desktop tab narrower than the general
   mobile breakpoint. Keep checkout usable instead of letting two panes force
   a horizontal scrollbar. */
@media (max-width: 980px) and (min-width: 851px) {
    #bookingModal { align-items: flex-end; padding: 0; }
    #bookingModal .modal-body { flex-direction: column; width: 100%; max-height: 94vh; border-radius: 28px 28px 0 0; transform: translateY(100%); }
    #bookingModal.show .modal-body { transform: translateY(0); }
    #bookingModal .m-left { flex: 1 1 auto; padding: 0 20px 20px; border-right: 0; border-bottom: 1px solid var(--border); }
    #bookingModal .m-right { flex: 1 1 auto; padding: 20px; background: var(--bg-modal); }
}

/* Telegram Web App can provide a dark text variable with a light form surface. */
body.is-tg-app .story-title {
    color: #1f2937 !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .8);
}

body.is-tg-app .floating-input {
    color: #1f2937 !important;
    -webkit-text-fill-color: #1f2937;
    color-scheme: light;
}

body.is-tg-app .floating-input::placeholder {
    color: #6b7280;
}

/* Android WebView renders date/time parts separately from the input itself. */
body.is-tg-app input.floating-input[type="date"],
body.is-tg-app input.floating-input[type="time"] {
    color: #1f2937 !important;
    -webkit-text-fill-color: #1f2937 !important;
}

body.is-tg-app input.floating-input[type="date"]::-webkit-datetime-edit,
body.is-tg-app input.floating-input[type="date"]::-webkit-datetime-edit-fields-wrapper,
body.is-tg-app input.floating-input[type="date"]::-webkit-datetime-edit-text,
body.is-tg-app input.floating-input[type="date"]::-webkit-datetime-edit-month-field,
body.is-tg-app input.floating-input[type="date"]::-webkit-datetime-edit-day-field,
body.is-tg-app input.floating-input[type="date"]::-webkit-datetime-edit-year-field,
body.is-tg-app input.floating-input[type="time"]::-webkit-datetime-edit,
body.is-tg-app input.floating-input[type="time"]::-webkit-datetime-edit-fields-wrapper,
body.is-tg-app input.floating-input[type="time"]::-webkit-datetime-edit-text,
body.is-tg-app input.floating-input[type="time"]::-webkit-datetime-edit-hour-field,
body.is-tg-app input.floating-input[type="time"]::-webkit-datetime-edit-minute-field,
body.is-tg-app input.floating-input[type="time"]::-webkit-datetime-edit-ampm-field {
    color: #1f2937 !important;
    -webkit-text-fill-color: #1f2937 !important;
}

body.is-tg-app .booking-phone-input { color: #111827 !important; -webkit-text-fill-color: #111827 !important; background: #f8fafc !important; }

/* Telegram may expose a dark app palette while CarMisto is displayed on a
   light surface. Keep all text and native controls readable in that case. */
body.is-tg-app {
    --bg-main: #f4f6f9 !important;
    --bg-card: #ffffff !important;
    --bg-modal: #ffffff !important;
    --bg-input: #f8fafc !important;
    --text-main: #111827 !important;
    --text-muted: #4b5563 !important;
    --border: #dbe1ea !important;
    color: #111827 !important;
    font-family: var(--nr-font);
}

body.is-tg-app input,
body.is-tg-app select,
body.is-tg-app textarea {
    color: #111827 !important;
    background-color: #f8fafc !important;
    -webkit-text-fill-color: #111827 !important;
    color-scheme: light !important;
}

body.is-tg-app .floating-label {
    color: #4b5563 !important;
}

body.is-tg-app .floating-input.has-value ~ .floating-label,
body.is-tg-app .floating-input:focus ~ .floating-label {
    color: #b91c1c !important;
}

body.is-tg-app input[type="date"]::-webkit-calendar-picker-indicator,
body.is-tg-app input[type="time"]::-webkit-calendar-picker-indicator {
    opacity: 1;
    filter: none;
}

/* Marketplace FAQ */
.marketplace-faq {
    margin: 56px 0 18px;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-card);
    box-shadow: var(--shadow);
}
.marketplace-faq__intro { max-width: 780px; }
.marketplace-faq h2 { margin: 0 0 10px; font-size: clamp(24px, 3vw, 32px); line-height: 1.18; }
.marketplace-faq__intro > p:last-child { margin: 0; color: var(--text-muted); }
.marketplace-faq__items { margin-top: 22px; display: grid; gap: 10px; }
.marketplace-faq details { border: 1px solid var(--border); border-radius: 12px; background: var(--bg-input); }
.marketplace-faq summary { cursor: pointer; padding: 15px 48px 15px 16px; position: relative; font-weight: 750; list-style: none; }
.marketplace-faq summary::-webkit-details-marker { display: none; }
.marketplace-faq summary::after { content: '+'; position: absolute; right: 17px; top: 10px; color: var(--primary); font-size: 24px; font-weight: 400; }
.marketplace-faq details[open] summary::after { content: '−'; }
.marketplace-faq details p { margin: 0; padding: 0 16px 16px; color: var(--text-muted); line-height: 1.55; }
@media (max-width: 600px) {
    .marketplace-faq { margin-top: 38px; padding: 22px 16px; border-radius: 16px; }
    .marketplace-faq summary { padding-left: 14px; }
    .marketplace-faq details p { padding-left: 14px; padding-right: 14px; }
}


/* Source: /static/css/components.css */
/* === components.css === */
/* --- FABS --- */
        .fab-container { position: fixed; bottom: 90px; right: 20px; display: flex; flex-direction: column; gap: 15px; z-index: 998; }
        body.is-tg-app .fab-container { bottom: 20px; }
        .fab { width: 55px; height: 55px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; box-shadow: 0 5px 20px rgba(0,0,0,0.3); cursor: pointer; transition: 0.3s; border: none; text-decoration: none; }
        .fab-support { background: var(--dark); color: #fff; border: 2px solid var(--border); }
        .fab-ai { background: var(--ai-grad); color: #fff; border: 2px solid #fff; animation: pulse 2s infinite; }
        .fab:hover { transform: scale(1.1); }
        @keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(79, 172, 254, 0.7); } 70% { box-shadow: 0 0 0 15px rgba(79, 172, 254, 0); } 100% { box-shadow: 0 0 0 0 rgba(79, 172, 254, 0); } }

        /* --- LAYOUT & COMPONENTS --- */
        .page { display: none; padding: 20px 15px; max-width: 1200px; margin: 0 auto; min-height: calc(100vh - 150px); animation: fadeScale 0.4s cubic-bezier(0.1, 0.9, 0.2, 1); }
        .page.active { display: block; }
        @keyframes fadeScale { from { opacity: 0; transform: translateY(15px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }

        /* Social Proof Toast */
        .sp-toast { position: fixed; bottom: 100px; left: 20px; background: var(--glass-bg); backdrop-filter: blur(10px); border-radius: 16px; padding: 12px 16px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow); z-index: 999; transform: translateX(-150%); transition: 0.5s cubic-bezier(0.1, 0.9, 0.2, 1); border-left: 4px solid var(--primary); color: var(--text-main); font-size: 13px; max-width: 320px; border: 1px solid var(--border); }
        .sp-toast.show { transform: translateX(0); }
        body.is-tg-app .sp-toast { bottom: 20px; }

        /* Compare Bar */
        .compare-bar { position: fixed; bottom: -100px; left: 50%; transform: translateX(-50%); background: var(--dark); color: white; padding: 15px 25px; border-radius: 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; z-index: 1005; box-shadow: 0 10px 40px rgba(0,0,0,0.4); transition: 0.4s; width: 90%; max-width: 400px; }
        .compare-bar.show { bottom: 90px; }
        body.is-tg-app .compare-bar.show { bottom: 20px; }

        /* Stories */
        .stories-bar { display: flex; gap: 15px; overflow-x: auto; padding: 5px 0 20px; scrollbar-width: none; }
        .stories-bar::-webkit-scrollbar { display: none; }
        .story { display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; flex-shrink: 0; transition: 0.2s; }
        .story-img-wrap { width: 68px; height: 68px; border-radius: 50%; padding: 3px; background: linear-gradient(45deg, var(--warning), var(--primary)); display: flex; align-items: center; justify-content: center; }
        .story-img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: var(--bg-card); border: 2px solid var(--bg-main); transition: 0.3s; }
        .story:active .story-img { transform: scale(0.9); }
        .story-title { font-size: 11px; font-weight: 700; color: var(--text-main); width: 68px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

        /* Search Box */
        .search-container { position: sticky; top: 10px; z-index: 995; margin-bottom: 25px; transition: 0.3s; }
        body.is-tg-app .search-container { top: 10px; }
        header.scrolled ~ main .search-container { top: 75px; }
        .search-box { background: var(--bg-card); padding: 15px; border-radius: var(--radius); display: flex; flex-wrap: wrap; gap: 12px; box-shadow: var(--shadow); border: 1px solid var(--border); transition: 0.3s; align-items: center; }
        .search-container.stuck .search-box { padding: 10px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); background: var(--glass-bg); backdrop-filter: blur(10px); }

        .floating-group { position: relative; flex: 1; min-width: 150px; display: flex; align-items: center; }
        .floating-input { width: 100%; padding: 20px 15px 10px; border: 1px solid var(--border); border-radius: 12px; font-size: 14px; outline: none; transition: 0.3s; background: var(--bg-input); color: var(--text-main); font-weight: 600; font-family: inherit; }
        .floating-label { position: absolute; left: 15px; top: 16px; color: var(--text-muted); font-size: 14px; transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1); pointer-events: none; }
        .floating-input:focus { border-color: var(--primary); background: var(--bg-card); box-shadow: 0 0 0 4px rgba(204,0,0,0.08); }
        .floating-input:focus ~ .floating-label, .floating-input:not(:placeholder-shown) ~ .floating-label, .floating-input.has-value ~ .floating-label { top: 6px; font-size: 10px; color: var(--primary); font-weight: 800; text-transform: uppercase; }

        .mic-btn { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: transparent; border: none; font-size: 18px; cursor: pointer; color: var(--text-muted); padding: 5px; transition: 0.3s; z-index: 5; }
        .mic-btn:hover { color: var(--primary); transform: translateY(-50%) scale(1.1); }
        .mic-btn.recording { color: var(--primary); animation: pulse 1s infinite; }

        .quick-dates { display: flex; gap: 8px; margin-top: -5px; padding-left: 5px; margin-bottom: 5px; overflow-x: auto; scrollbar-width: none; }
        .quick-dates span { font-size: 11px; background: var(--bg-input); border: 1px solid var(--border); padding: 4px 10px; border-radius: 12px; cursor: pointer; font-weight: bold; color: var(--text-muted); transition: 0.3s; white-space: nowrap; }
        .quick-dates span:hover { background: var(--primary-light); color: var(--primary); border-color: var(--primary); }

        .btn-icon { background: var(--bg-input); border: 1px solid var(--border); border-radius: 12px; padding: 15px; cursor: pointer; font-size: 18px; display: flex; align-items: center; justify-content: center; transition: 0.3s; color: var(--text-main); }
        .btn-icon:hover { background: var(--primary); color: white; border-color: var(--primary); }

        .controls-bar { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 25px; }
        .filter-btn { background: var(--bg-card); border: 1px solid var(--border); color: var(--text-muted); padding: 10px 18px; border-radius: 20px; cursor: pointer; font-weight: 700; font-size: 13px; transition: 0.3s; box-shadow: 0 2px 5px rgba(0,0,0,0.02); }
        .filter-btn.active, .filter-btn:hover { background: var(--text-main); color: var(--bg-main); border-color: var(--text-main); transform: translateY(-2px); }

        /* Map */
        #map-wrapper { position: relative; margin-bottom: 25px; display: block; }
        #map { height: 400px; width: 100%; border-radius: var(--radius); z-index: 1; border: 1px solid var(--border); box-shadow: var(--shadow); filter: var(--map-filter); transition: 0.3s; }
        [data-theme="dark"] { --map-filter: invert(90%) hue-rotate(180deg) brightness(85%) contrast(85%); }
        .btn-search-area { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); z-index: 1000; background: var(--dark); color: white; border: none; padding: 10px 20px; border-radius: 20px; font-weight: bold; font-size: 13px; cursor: pointer; box-shadow: 0 4px 15px rgba(0,0,0,0.3); display: none; animation: dropDown 0.3s ease; }
        .marker-cluster-custom { background-color: var(--primary-light); border-radius: 50%; }
        .marker-cluster-custom div { background-color: var(--primary); color: white; border-radius: 50%; width: 30px; height: 30px; margin: 5px; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 14px; box-shadow: 0 2px 8px rgba(204,0,0,0.4); }
        .map-price-marker { background: var(--bg-card); border: 2px solid var(--text-main); border-radius: 20px; padding: 4px 10px; font-weight: 800; font-size: 13px; color: var(--text-main); box-shadow: 0 4px 10px rgba(0,0,0,0.3); transition: 0.3s; white-space: nowrap; text-align: center; }
        .map-price-marker::after { content: ''; position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%); border-width: 6px 6px 0; border-style: solid; border-color: var(--text-main) transparent transparent transparent; transition: 0.3s; }
        .map-price-marker.active { background: var(--primary); color: white; border-color: var(--primary); transform: scale(1.15); z-index: 1000 !important; }
        .map-price-marker.active::after { border-color: var(--primary) transparent transparent transparent; }

        /* View Toggle */
        .view-toggle { position: fixed; bottom: 100px; left: 50%; transform: translateX(-50%); background: var(--dark); color: white; padding: 12px 24px; border-radius: 30px; font-weight: bold; font-size: 14px; cursor: pointer; z-index: 998; box-shadow: 0 8px 20px rgba(0,0,0,0.3); display: flex; align-items: center; gap: 8px; transition: 0.3s; border: 1px solid rgba(255,255,255,0.1); display: none;}
        .view-toggle:hover { background: #333; transform: translateX(-50%) scale(1.05); }
        body.is-tg-app .view-toggle { bottom: 30px; }
        body.map-view-active { overflow: hidden; }
        body.map-view-active #map-wrapper { display: block; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: 800; border-radius: 0; margin: 0; }
        body.map-view-active #map { height: 100%; border-radius: 0; border: none; }
        body.map-view-active .search-container, body.map-view-active .controls-bar { z-index: 900; position: relative; }
        body.map-view-active #stories-bar { display: none; }
        body.map-view-active .cars-grid { position: fixed; bottom: 150px; left: 0; width: 100vw; z-index: 900; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 15px; gap: 15px; pointer-events: auto; scrollbar-width: none; }
        body.map-view-active.is-tg-app .cars-grid { bottom: 80px; }
        body.map-view-active .cars-grid::-webkit-scrollbar { display: none; }
        body.map-view-active .card { flex: 0 0 85%; max-width: 320px; scroll-snap-align: center; margin: 0; box-shadow: 0 15px 30px rgba(0,0,0,0.2); }

        /* Cards */
        .cars-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; }
        .card { background: var(--bg-card); border-radius: var(--radius); padding: 15px; box-shadow: var(--shadow); transition: 0.4s cubic-bezier(0.1, 0.9, 0.2, 1); cursor: pointer; display: flex; flex-direction: column; position: relative; border: 2px solid transparent; }
        .card.reveal { opacity: 0; transform: translateY(30px); } .card.reveal.active { opacity: 1; transform: translateY(0); }
        .card:hover, .card.highlight { transform: translateY(-8px); border-color: var(--primary); }

        .card-img-box { position: relative; height: 190px; background: var(--bg-input); border-radius: 12px; overflow: hidden; margin-bottom: 15px; display: flex; align-items: center; justify-content: center; }
        .card-img { width: 100%; height: 100%; object-fit: contain; padding: 10px; transition: transform 0.5s, opacity 0.4s; opacity: 0; }
        .card-img.loaded { opacity: 1; }
        .card:hover .card-img { transform: scale(1.05); }

        .card-actions { position: absolute; top: 12px; right: 12px; display: flex; gap: 8px; z-index: 2; }
        .act-btn { background: var(--glass-bg); border: none; border-radius: 50%; width: 35px; height: 35px; font-size: 16px; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 10px rgba(0,0,0,0.15); color: var(--text-muted); transition: 0.3s; backdrop-filter: blur(4px); }
        .act-btn.active { color: var(--primary); }
        .act-btn.active-cmp { background: var(--dark); color: #fff; }
        .act-btn:active { transform: scale(0.8); }

        .verified-tag { position: absolute; top: 12px; left: 12px; background: var(--success); color: #fff; padding: 5px 10px; border-radius: 8px; font-size: 10px; font-weight: 800; z-index: 2; box-shadow: 0 2px 8px rgba(39,174,96,0.3); }

        .price-total { border-top: 1px solid var(--border); margin-top: auto; padding-top: 15px; display: flex; justify-content: space-between; align-items: center; }
        .card-terms { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 2px 0 12px; font-size: 11px; color: var(--text-muted); }
        .card-terms span { padding: 6px 8px; border-radius: 8px; background: var(--bg-input); line-height: 1.25; }
        .price-total small { display: block; margin-bottom: 3px; color: var(--text-muted); font-size: 11px; font-weight: 700; }
        .card-total-price { display: block; color: var(--primary); font-size: 21px; font-weight: 900; line-height: 1.1; }
        .card-daily-price { color: var(--text-muted); font-size: 11px; font-weight: 600; }
        .price-total > div:nth-child(2) { display: none; }
        .price-breakdown { display: grid; gap: 7px; margin: -8px 0 16px; padding: 13px 15px; border: 1px solid var(--border); border-radius: 12px; color: var(--text-muted); font-size: 12px; background: var(--bg-card); }
        .price-breakdown div { display: flex; justify-content: space-between; gap: 14px; }
        .price-breakdown b { color: var(--text-main); white-space: nowrap; }
        .price-breakdown .deposit-note { padding-top: 9px; margin-top: 2px; border-top: 1px solid var(--border); }
        .checkout-assurance { margin: -6px 0 18px; color: var(--text-muted); font-size: 11px; line-height: 1.4; }

        /* Profile & Dashboards */
        .partner-switch-container { display: flex; background: var(--bg-input); border-radius: 12px; padding: 5px; margin-bottom: 25px; border: 1px solid var(--border); }
        .p-switch { flex: 1; text-align: center; padding: 10px; border-radius: 8px; font-weight: bold; cursor: pointer; color: var(--text-muted); transition: 0.3s; font-size: 14px; }
        .p-switch.active { background: var(--bg-card); color: var(--primary); box-shadow: 0 2px 8px rgba(0,0,0,0.1); }

        .loyalty-badge { display: inline-flex; align-items: center; gap: 5px; background: rgba(254,187,2,0.15); color: var(--warning); padding: 5px 12px; border-radius: 12px; font-size: 12px; font-weight: 900; border: 1px solid rgba(254,187,2,0.3); margin-top: 5px; }

        .auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 20px; }
        .auth-btn { width: 100%; border: none; padding: 15px; border-radius: 12px; font-size: 14px; font-weight: bold; cursor: pointer; transition: 0.3s; display: flex; align-items: center; justify-content: center; gap: 10px; }
        .diia-btn { background: var(--dark); color: #fff; }
        .diia-btn.verified { background: var(--diia-bg); color: var(--diia-text); pointer-events: none; border: 1px solid var(--success); }
        .bankid-btn { background: var(--bankid-bg); color: var(--bankid-text); }

        .referral-card { background: linear-gradient(135deg, var(--primary), #ff4081); padding: 25px; border-radius: var(--radius); color: white; margin-bottom: 25px; position: relative; overflow: hidden; box-shadow: 0 10px 30px rgba(204,0,0,0.3); }
        .btn-qr { background: var(--primary-light); color: var(--primary); padding: 12px; border-radius: 12px; border: none; font-weight: bold; width: 100%; cursor: pointer; margin-top: 15px; transition: 0.3s; display: flex; justify-content: center; align-items: center; gap: 8px; }

        .crm-chart-container { display: flex; align-items: flex-end; gap: 5px; height: 60px; margin-top: 15px; padding-bottom: 5px; border-bottom: 1px solid var(--border); }
        .crm-bar { flex: 1; background: var(--primary-light); border-radius: 4px 4px 0 0; position: relative; transition: 0.3s; }
        .crm-bar:hover { background: var(--primary); }

        /* --- LAYOUT & COMPONENTS --- */
        .page { display: none; padding: 20px 15px; max-width: 1200px; margin: 0 auto; min-height: calc(100vh - 150px); animation: fadeScale 0.4s cubic-bezier(0.1, 0.9, 0.2, 1); }
        .page.active { display: block; }
        @keyframes fadeScale { from { opacity: 0; transform: translateY(15px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }

        /* Social Proof Toast */
        .sp-toast { position: fixed; bottom: 100px; left: 20px; background: var(--glass-bg); backdrop-filter: blur(10px); border-radius: 16px; padding: 12px 16px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow); z-index: 999; transform: translateX(-150%); transition: 0.5s cubic-bezier(0.1, 0.9, 0.2, 1); border-left: 4px solid var(--primary); color: var(--text-main); font-size: 13px; max-width: 320px; border: 1px solid var(--border); }
        .sp-toast.show { transform: translateX(0); }
        body.is-tg-app .sp-toast { bottom: 20px; }

        /* Compare Bar */
        .compare-bar { position: fixed; bottom: -100px; left: 50%; transform: translateX(-50%); background: var(--dark); color: white; padding: 15px 25px; border-radius: 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; z-index: 1005; box-shadow: 0 10px 40px rgba(0,0,0,0.4); transition: 0.4s; width: 90%; max-width: 400px; }
        .compare-bar.show { bottom: 90px; }
        body.is-tg-app .compare-bar.show { bottom: 20px; }

        /* Stories */
        .stories-bar { display: flex; gap: 15px; overflow-x: auto; padding: 5px 0 20px; scrollbar-width: none; }
        .stories-bar::-webkit-scrollbar { display: none; }
        .story { display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; flex-shrink: 0; transition: 0.2s; }
        .story-img-wrap { width: 68px; height: 68px; border-radius: 50%; padding: 3px; background: linear-gradient(45deg, var(--warning), var(--primary)); display: flex; align-items: center; justify-content: center; }
        .story-img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: var(--bg-card); border: 2px solid var(--bg-main); transition: 0.3s; }
        .story:active .story-img { transform: scale(0.9); }
        .story-title { font-size: 11px; font-weight: 700; color: var(--text-main); width: 68px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

        /* Search Box */
        .search-container { position: sticky; top: 10px; z-index: 995; margin-bottom: 25px; transition: 0.3s; }
        body.is-tg-app .search-container { top: 10px; }
        header.scrolled ~ main .search-container { top: 75px; }
        .search-box { background: var(--bg-card); padding: 15px; border-radius: var(--radius); display: flex; flex-wrap: wrap; gap: 12px; box-shadow: var(--shadow); border: 1px solid var(--border); transition: 0.3s; align-items: center; }
        .search-container.stuck .search-box { padding: 10px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); background: var(--glass-bg); backdrop-filter: blur(10px); }

        .floating-group { position: relative; flex: 1; min-width: 150px; display: flex; align-items: center; }
        .floating-input { width: 100%; padding: 20px 15px 10px; border: 1px solid var(--border); border-radius: 12px; font-size: 14px; outline: none; transition: 0.3s; background: var(--bg-input); color: var(--text-main); font-weight: 600; font-family: inherit; }
        .floating-label { position: absolute; left: 15px; top: 16px; color: var(--text-muted); font-size: 14px; transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1); pointer-events: none; }
        .floating-input:focus { border-color: var(--primary); background: var(--bg-card); box-shadow: 0 0 0 4px rgba(204,0,0,0.08); }
        .floating-input:focus ~ .floating-label, .floating-input:not(:placeholder-shown) ~ .floating-label, .floating-input.has-value ~ .floating-label { top: 6px; font-size: 10px; color: var(--primary); font-weight: 800; text-transform: uppercase; }

        .mic-btn { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: transparent; border: none; font-size: 18px; cursor: pointer; color: var(--text-muted); padding: 5px; transition: 0.3s; z-index: 5; }
        .mic-btn:hover { color: var(--primary); transform: translateY(-50%) scale(1.1); }
        .mic-btn.recording { color: var(--primary); animation: pulse 1s infinite; }

        .quick-dates { display: flex; gap: 8px; margin-top: -5px; padding-left: 5px; margin-bottom: 5px; overflow-x: auto; scrollbar-width: none; }
        .quick-dates span { font-size: 11px; background: var(--bg-input); border: 1px solid var(--border); padding: 4px 10px; border-radius: 12px; cursor: pointer; font-weight: bold; color: var(--text-muted); transition: 0.3s; white-space: nowrap; }
        .quick-dates span:hover { background: var(--primary-light); color: var(--primary); border-color: var(--primary); }

        .btn-icon { background: var(--bg-input); border: 1px solid var(--border); border-radius: 12px; padding: 15px; cursor: pointer; font-size: 18px; display: flex; align-items: center; justify-content: center; transition: 0.3s; color: var(--text-main); }
        .btn-icon:hover { background: var(--primary); color: white; border-color: var(--primary); }

        .controls-bar { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 25px; }
        .filter-btn { background: var(--bg-card); border: 1px solid var(--border); color: var(--text-muted); padding: 10px 18px; border-radius: 20px; cursor: pointer; font-weight: 700; font-size: 13px; transition: 0.3s; box-shadow: 0 2px 5px rgba(0,0,0,0.02); }
        .filter-btn.active, .filter-btn:hover { background: var(--text-main); color: var(--bg-main); border-color: var(--text-main); transform: translateY(-2px); }

        /* Map */
        #map-wrapper { position: relative; margin-bottom: 25px; display: block; }
        #map { height: 400px; width: 100%; border-radius: var(--radius); z-index: 1; border: 1px solid var(--border); box-shadow: var(--shadow); filter: var(--map-filter); transition: 0.3s; }
        [data-theme="dark"] { --map-filter: invert(90%) hue-rotate(180deg) brightness(85%) contrast(85%); }
        .btn-search-area { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); z-index: 1000; background: var(--dark); color: white; border: none; padding: 10px 20px; border-radius: 20px; font-weight: bold; font-size: 13px; cursor: pointer; box-shadow: 0 4px 15px rgba(0,0,0,0.3); display: none; animation: dropDown 0.3s ease; }
        .marker-cluster-custom { background-color: var(--primary-light); border-radius: 50%; }
        .marker-cluster-custom div { background-color: var(--primary); color: white; border-radius: 50%; width: 30px; height: 30px; margin: 5px; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 14px; box-shadow: 0 2px 8px rgba(204,0,0,0.4); }
        .map-price-marker { background: var(--bg-card); border: 2px solid var(--text-main); border-radius: 20px; padding: 4px 10px; font-weight: 800; font-size: 13px; color: var(--text-main); box-shadow: 0 4px 10px rgba(0,0,0,0.3); transition: 0.3s; white-space: nowrap; text-align: center; }
        .map-price-marker::after { content: ''; position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%); border-width: 6px 6px 0; border-style: solid; border-color: var(--text-main) transparent transparent transparent; transition: 0.3s; }
        .map-price-marker.active { background: var(--primary); color: white; border-color: var(--primary); transform: scale(1.15); z-index: 1000 !important; }
        .map-price-marker.active::after { border-color: var(--primary) transparent transparent transparent; }

        /* View Toggle */
        .view-toggle { position: fixed; bottom: 100px; left: 50%; transform: translateX(-50%); background: var(--dark); color: white; padding: 12px 24px; border-radius: 30px; font-weight: bold; font-size: 14px; cursor: pointer; z-index: 998; box-shadow: 0 8px 20px rgba(0,0,0,0.3); display: flex; align-items: center; gap: 8px; transition: 0.3s; border: 1px solid rgba(255,255,255,0.1); display: none;}
        .view-toggle:hover { background: #333; transform: translateX(-50%) scale(1.05); }
        body.is-tg-app .view-toggle { bottom: 30px; }
        body.map-view-active { overflow: hidden; }
        body.map-view-active #map-wrapper { display: block; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: 800; border-radius: 0; margin: 0; }
        body.map-view-active #map { height: 100%; border-radius: 0; border: none; }
        body.map-view-active .search-container, body.map-view-active .controls-bar { z-index: 900; position: relative; }
        body.map-view-active #stories-bar { display: none; }
        body.map-view-active .cars-grid { position: fixed; bottom: 150px; left: 0; width: 100vw; z-index: 900; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 15px; gap: 15px; pointer-events: auto; scrollbar-width: none; }
        body.map-view-active.is-tg-app .cars-grid { bottom: 80px; }
        body.map-view-active .cars-grid::-webkit-scrollbar { display: none; }
        body.map-view-active .card { flex: 0 0 85%; max-width: 320px; scroll-snap-align: center; margin: 0; box-shadow: 0 15px 30px rgba(0,0,0,0.2); }

        /* Cards */
        .cars-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; }
        .card { background: var(--bg-card); border-radius: var(--radius); padding: 15px; box-shadow: var(--shadow); transition: 0.4s cubic-bezier(0.1, 0.9, 0.2, 1); cursor: pointer; display: flex; flex-direction: column; position: relative; border: 2px solid transparent; }
        .card.reveal { opacity: 0; transform: translateY(30px); } .card.reveal.active { opacity: 1; transform: translateY(0); }
        .card:hover, .card.highlight { transform: translateY(-8px); border-color: var(--primary); }

        .card-img-box { position: relative; height: 190px; background: var(--bg-input); border-radius: 12px; overflow: hidden; margin-bottom: 15px; display: flex; align-items: center; justify-content: center; }
        .card-img { width: 100%; height: 100%; object-fit: contain; padding: 10px; transition: transform 0.5s, opacity 0.4s; opacity: 0; }
        .card-img.loaded { opacity: 1; }
        .card:hover .card-img { transform: scale(1.05); }

        .card-actions { position: absolute; top: 12px; right: 12px; display: flex; gap: 8px; z-index: 2; }
        .act-btn { background: var(--glass-bg); border: none; border-radius: 50%; width: 35px; height: 35px; font-size: 16px; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 10px rgba(0,0,0,0.15); color: var(--text-muted); transition: 0.3s; backdrop-filter: blur(4px); }
        .act-btn.active { color: var(--primary); }
        .act-btn.active-cmp { background: var(--dark); color: #fff; }
        .act-btn:active { transform: scale(0.8); }

        .verified-tag { position: absolute; top: 12px; left: 12px; background: var(--success); color: #fff; padding: 5px 10px; border-radius: 8px; font-size: 10px; font-weight: 800; z-index: 2; box-shadow: 0 2px 8px rgba(39,174,96,0.3); }

        .price-total { border-top: 1px solid var(--border); margin-top: auto; padding-top: 15px; display: flex; justify-content: space-between; align-items: center; }

        /* Profile & Dashboards */
        .partner-switch-container { display: flex; background: var(--bg-input); border-radius: 12px; padding: 5px; margin-bottom: 25px; border: 1px solid var(--border); }
        .p-switch { flex: 1; text-align: center; padding: 10px; border-radius: 8px; font-weight: bold; cursor: pointer; color: var(--text-muted); transition: 0.3s; font-size: 14px; }
        .p-switch.active { background: var(--bg-card); color: var(--primary); box-shadow: 0 2px 8px rgba(0,0,0,0.1); }

        .loyalty-badge { display: inline-flex; align-items: center; gap: 5px; background: rgba(254,187,2,0.15); color: var(--warning); padding: 5px 12px; border-radius: 12px; font-size: 12px; font-weight: 900; border: 1px solid rgba(254,187,2,0.3); margin-top: 5px; }

        .auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 20px; }
        .auth-btn { width: 100%; border: none; padding: 15px; border-radius: 12px; font-size: 14px; font-weight: bold; cursor: pointer; transition: 0.3s; display: flex; align-items: center; justify-content: center; gap: 10px; }
        .diia-btn { background: var(--dark); color: #fff; }
        .diia-btn.verified { background: var(--diia-bg); color: var(--diia-text); pointer-events: none; border: 1px solid var(--success); }
        .bankid-btn { background: var(--bankid-bg); color: var(--bankid-text); }

        .referral-card { background: linear-gradient(135deg, var(--primary), #ff4081); padding: 25px; border-radius: var(--radius); color: white; margin-bottom: 25px; position: relative; overflow: hidden; box-shadow: 0 10px 30px rgba(204,0,0,0.3); }
        .btn-qr { background: var(--primary-light); color: var(--primary); padding: 12px; border-radius: 12px; border: none; font-weight: bold; width: 100%; cursor: pointer; margin-top: 15px; transition: 0.3s; display: flex; justify-content: center; align-items: center; gap: 8px; }

        .crm-chart-container { display: flex; align-items: flex-end; gap: 5px; height: 60px; margin-top: 15px; padding-bottom: 5px; border-bottom: 1px solid var(--border); }
        .crm-bar { flex: 1; background: var(--primary-light); border-radius: 4px 4px 0 0; position: relative; transition: 0.3s; }
        .crm-bar:hover { background: var(--primary); }


.marketplace-proof{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0 24px}.marketplace-proof>div,.marketplace-proof>a{display:flex;flex-direction:column;gap:6px;padding:16px;border:1px solid var(--border);border-radius:14px;background:var(--bg-card);box-shadow:var(--shadow);color:var(--text-main);text-decoration:none}.marketplace-proof>a{background:var(--primary);border-color:var(--primary);color:#fff}.marketplace-proof span{font-size:12px;line-height:1.45;color:var(--text-muted)}.marketplace-proof>a span{color:rgba(255,255,255,.9)}.booking-steps{margin:12px 0 16px;padding:13px 15px;border:1px solid var(--border);border-radius:12px;background:var(--bg-input);font-size:12px;line-height:1.45}.booking-steps b{display:block;margin-bottom:4px}.booking-steps ol{margin:6px 0 0;padding-left:20px}.booking-steps li+li{margin-top:3px}
@media(max-width:900px){.marketplace-proof{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.marketplace-proof{grid-template-columns:1fr}.marketplace-proof>div,.marketplace-proof>a{padding:14px}}


/* Source: /static/css/header-refresh.css */
/* Public header: a compact, single-line navigation bar.
   It keeps the catalogue in view instead of spending the first screen on chrome. */
@media (min-width: 851px) {
  body:not(.is-tg-app) #main-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    min-height: 56px;
    padding: 5px clamp(18px, 3vw, 48px);
    border-bottom-width: 2px;
    background: #20242c;
    box-shadow: 0 4px 14px rgba(28, 33, 42, .14);
  }

  body:not(.is-tg-app) #main-header .top-bar { display: contents; }
  body:not(.is-tg-app) #main-header .top-bar > :first-child {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    display: flex;
    align-items: center;
  }
  body:not(.is-tg-app) #main-header .logo {
    display: block;
    width: 42px;
    height: 34px;
    object-fit: cover;
    border-radius: 9px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .25);
  }
  body:not(.is-tg-app) #main-header .header-actions {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    gap: 7px;
    min-width: max-content;
  }
  /* Language, currency, theme and account actions are one component on every
     public route.  Do not let a page-specific stylesheet turn one of them
     into plain text or a differently sized control. */
  body:not(.is-tg-app) #main-header .base-language-switch,
  body:not(.is-tg-app) #main-header .shared-language-switch,
  body:not(.is-tg-app) #main-header .currency-switch,
  body:not(.is-tg-app) #main-header .icon-btn,
  body:not(.is-tg-app) #main-header #user-badge {
    box-sizing:border-box;
    min-height:32px;
    border:1px solid rgba(255,255,255,.08);
    border-radius:10px;
    background:rgba(255,255,255,.10);
    color:#fff;
    font-weight:800;
  }
  body:not(.is-tg-app) #main-header .base-language-switch { display:flex; align-items:center; gap:5px; padding:0 12px; color:rgba(255,255,255,.52); font-size:11px; white-space:nowrap; }
  body:not(.is-tg-app) #main-header .base-language-switch a { color:rgba(255,255,255,.66); text-decoration:none; }
  body:not(.is-tg-app) #main-header .base-language-switch a[aria-current="page"] { color:#fff; }
  body:not(.is-tg-app) #main-header .shared-language-switch { display:flex; align-items:center; gap:5px; padding:0 12px !important; font-size:11px !important; }
  body:not(.is-tg-app) #main-header .shared-language-switch button { color:rgba(255,255,255,.66) !important; background:none !important; border:0 !important; font:inherit !important; padding:0 !important; cursor:pointer; }
  body:not(.is-tg-app) #main-header .shared-language-switch button.active { color:#fff !important; }
  body:not(.is-tg-app) #main-header .currency-switch { padding:0 28px 0 11px !important; outline:none; cursor:pointer; appearance:auto; }
  body:not(.is-tg-app) #main-header .currency-switch option { color:#171113; background:#fff; }
  body:not(.is-tg-app) #main-header #user-badge { display:inline-flex; align-items:center; padding:0 13px !important; }
  body:not(.is-tg-app) #main-header .desktop-nav {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 5px;
    max-width: none;
    margin: 0;
    min-width: 0;
    overflow: hidden;
  }
  body:not(.is-tg-app) #main-header .desktop-nav a {
    padding: 6px 9px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: transparent;
    color: rgba(255, 255, 255, .84);
    font-size: 11px;
    letter-spacing: .015em;
  }
  body:not(.is-tg-app) #main-header .desktop-nav a.active {
    border-color: rgba(230, 35, 35, .55);
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(204, 0, 0, .22);
  }
  body:not(.is-tg-app) #main-header .desktop-nav a:hover:not(.active) {
    background: rgba(255,255,255,.09);
    color: #fff;
  }
  body:not(.is-tg-app) #main-header .header-actions .icon-btn { padding:0 11px; }
}

@media (min-width: 851px) and (max-width: 1170px) {
  body:not(.is-tg-app) #main-header { grid-template-columns: 68px auto 232px; padding-inline: 14px; }
  body:not(.is-tg-app) #main-header .logo { width: 38px; height: 32px; }
  body:not(.is-tg-app) #main-header .desktop-nav { gap: 2px; }
  body:not(.is-tg-app) #main-header .desktop-nav a { padding: 7px 8px; font-size: 10px; }
  body:not(.is-tg-app) #main-header .header-actions { gap: 4px; }
  body:not(.is-tg-app) #main-header #user-badge { max-width: 72px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-inline: 9px !important; }
  /* Keep locale switching discoverable on medium desktop widths. The home
     shell uses .lang-switch.shared-language-switch while server-rendered
     pages use .base-language-switch, so hiding .lang-switch removed the only
     visible language control from the tablet/laptop layout. */
  body:not(.is-tg-app) #main-header .base-language-switch,
  body:not(.is-tg-app) #main-header .shared-language-switch { display:flex !important; padding-inline:6px !important; }
  body:not(.is-tg-app) #main-header .currency-switch { min-width:62px; padding-inline:6px 18px !important; }
  body:not(.is-tg-app) #main-header .icon-btn { padding-inline:7px; }
}


@media (max-width: 850px) {
  #main-header { padding-block: 7px; border-bottom-width: 2px; }
  #main-header .logo { height: 30px; width: 36px; object-fit: cover; border-radius: 8px; }
  #main-header .base-language-switch { display:flex; align-items:center; gap:3px; color:rgba(255,255,255,.65); font-size:11px; font-weight:800; white-space:nowrap; }
  #main-header .base-language-switch a { color:rgba(255,255,255,.72); text-decoration:none; }
  #main-header .base-language-switch a[aria-current="page"] { color:#fff; }
}


/* Source: /static/css/public-pages.css */
/* Shared presentation for public information pages.
   Business, promotions and news intentionally use the same visual grammar as
   the marketplace instead of behaving like separate microsites. */
.public-page{max-width:1040px;margin:18px auto 48px;padding:0 20px;font-family:var(--nr-font)}
.public-page__hero{padding:18px 22px;border-radius:14px;background:linear-gradient(120deg,#171b23 0%,#2a303c 55%,#4a1518 100%);color:#fff;box-shadow:0 8px 20px rgba(21,16,18,.1)}
.public-page__eyebrow{margin:0 0 7px;color:#ffb1aa;font-size:11px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}
.public-page__hero h1{max-width:720px;margin:0;font-size:clamp(24px,2.8vw,34px);line-height:1.1;letter-spacing:-.04em}
.public-page__hero p{max-width:700px;margin:7px 0 0;color:#f3e8e6;font-size:14px;line-height:1.45}
.public-page__hero-action{display:inline-flex;align-items:center;justify-content:center;min-height:36px;margin-top:12px;padding:0 14px;border:0;border-radius:9px;background:#fff;color:#171113;font:900 13px/1 var(--nr-font);text-decoration:none;white-space:nowrap;cursor:pointer}
.public-page__section-nav{display:flex;gap:9px;flex-wrap:wrap;margin:18px 0}
.public-page__section-nav a,.public-page__section-nav button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 15px;border:1px solid var(--border);border-radius:12px;background:var(--bg-card);color:var(--text-main);font:800 13px/1 var(--nr-font);text-decoration:none;cursor:pointer}
.public-page__section-nav a[aria-current="page"],.public-page__section-nav button[aria-selected="true"]{border-color:var(--primary);background:var(--primary);color:#fff;box-shadow:0 6px 14px rgba(204,0,0,.18)}
.public-page__grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:16px}
.public-page__card{grid-column:span 12;padding:20px;border:1px solid var(--border);border-radius:15px;background:var(--bg-card);box-shadow:0 8px 22px rgba(15,23,42,.05)}
.public-page__card--feature{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(230px,.75fr);gap:28px;align-items:center}
.public-page__card h2{margin:0 0 9px;font-size:clamp(23px,3vw,34px);line-height:1.14;letter-spacing:-.025em}
.public-page__card p{margin:0;color:var(--text-muted);font-size:15px;line-height:1.6}
.public-page__facts{padding:21px;border-radius:15px;background:linear-gradient(145deg,color-mix(in srgb,var(--primary) 9%,var(--bg-card)),var(--bg-input))}
.public-page__facts strong{display:block;margin-bottom:8px;font-size:17px}.public-page__facts span{display:block;color:var(--text-muted);font-size:14px;line-height:1.5}
.public-page__overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}.public-page__overview-item{min-height:88px;padding:14px 16px;border:1px solid var(--border);border-radius:13px;background:var(--bg-card);text-align:left;color:var(--text-main);font:inherit;cursor:pointer;box-shadow:0 5px 15px rgba(15,23,42,.04)}.public-page__overview-item:hover{border-color:color-mix(in srgb,var(--primary) 45%,var(--border));transform:translateY(-1px)}.public-page__overview-item strong{display:block;margin-bottom:5px;font-size:15px}.public-page__overview-item span{display:block;color:var(--text-muted);font-size:12px;line-height:1.4}.public-page__overview-item[aria-selected="true"]{border-color:var(--primary);box-shadow:0 6px 16px rgba(204,0,0,.1)}
.business-apply-dialog{width:min(560px,calc(100vw - 32px));border:0;border-radius:20px;padding:0;background:var(--bg-card);color:var(--text-main);box-shadow:0 24px 70px rgba(0,0,0,.3)}.business-apply-dialog::backdrop{background:rgba(14,18,24,.56);backdrop-filter:blur(3px)}.business-apply-dialog__body{padding:26px}.business-apply-dialog__top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.business-apply-dialog h2{margin:0;font-size:25px}.business-apply-dialog p{color:var(--text-muted);line-height:1.5}.business-apply-dialog__close{width:36px;height:36px;border:1px solid var(--border);border-radius:10px;background:var(--bg-input);font-size:22px;cursor:pointer}.business-apply-dialog .public-page__lead-form{margin-top:16px}
.business-affiliate-details{margin-top:18px;padding:15px 17px;border-left:3px solid var(--primary);border-radius:0 12px 12px 0;background:var(--bg-input)}.business-affiliate-details strong{display:block;font-size:15px}.business-affiliate-details p{margin:7px 0 0!important;font-size:14px!important}
.public-page-dialog{width:min(540px,calc(100vw - 32px));border:0;border-radius:18px;padding:0;background:var(--bg-card);color:var(--text-main);box-shadow:0 24px 70px rgba(0,0,0,.3)}.public-page-dialog::backdrop{background:rgba(14,18,24,.56);backdrop-filter:blur(3px)}.public-page-dialog__body{padding:24px}.public-page-dialog__top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.public-page-dialog h2{margin:0;font-size:23px}.public-page-dialog p{color:var(--text-muted);line-height:1.5}.public-page-dialog__close{width:34px;height:34px;border:1px solid var(--border);border-radius:9px;background:var(--bg-input);font-size:21px;cursor:pointer}.public-page-dialog .public-page__lead-form{margin-top:15px}.public-page-dialog select{width:100%;box-sizing:border-box;border:1px solid var(--border);border-radius:10px;background:var(--bg-input);color:var(--text-main);font:inherit;padding:11px 12px}
.public-page__lead-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-top:20px}.public-page__lead-form label{display:grid;gap:6px;color:var(--text-main);font-size:13px;font-weight:800}.public-page__lead-form input,.public-page__lead-form textarea{width:100%;box-sizing:border-box;border:1px solid var(--border);border-radius:10px;background:var(--bg-input);color:var(--text-main);font:inherit;padding:11px 12px}.public-page__lead-form textarea,.public-page__lead-form .public-page__lead-wide{grid-column:1/-1}.public-page__lead-consent{display:flex!important;grid-column:1/-1;align-items:flex-start;gap:9px;font-weight:500!important;line-height:1.45}.public-page__lead-consent input{width:16px!important;min-width:16px;margin:2px 0 0;padding:0}.public-page__lead-submit{justify-self:start;min-height:44px;border:0;border-radius:10px;background:var(--primary);color:#fff;font:900 14px/1 var(--nr-font);padding:0 17px;cursor:pointer}.public-page__lead-submit:disabled{opacity:.65;cursor:wait}.public-page__lead-status{grid-column:1/-1;min-height:20px;margin:0;color:var(--text-muted);font-size:13px;font-weight:700}
.public-page__list{margin:18px 0 0;padding:0;list-style:none}.public-page__list li{padding:10px 0;border-top:1px solid var(--border);font-weight:700}.public-page__list li::before{content:'✓';margin-right:10px;color:var(--primary)}
.public-page__entry{display:grid;grid-template-columns:112px minmax(0,1fr);gap:18px;align-items:start}.public-page__entry time{padding-top:4px;color:var(--primary);font-size:12px;font-weight:900;line-height:1.35;text-transform:uppercase}.public-page__entry h2{font-size:21px}.public-page__empty{text-align:center;padding:38px 22px}.public-page__empty p{margin:0 auto;max-width:560px}.public-page__empty a{display:inline-flex;margin-top:16px}
.public-page--integrated{margin-top:20px}.public-business-grid{margin-top:16px}.public-business-grid .public-business-card{grid-column:span 4;min-height:220px}.public-business-card .public-page__hero-action{margin-top:18px}.public-business-card__actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:18px}.public-business-card__actions .public-page__hero-action{margin-top:0}.public-business-card__details{background:var(--bg-input);color:var(--text-main);border:1px solid var(--border)}.public-business-card--affiliate{border-color:color-mix(in srgb,var(--primary) 38%,var(--border))}.public-business-card--affiliate .business-affiliate-details{margin-top:16px}.public-page--integrated .public-page__hero{background:linear-gradient(118deg,#141417 0%,#321311 55%,#710000 100%)}
.affiliate-page{padding-bottom:40px}.affiliate-page__hero{background:radial-gradient(circle at 82% 22%,rgba(244,194,72,.28),transparent 26%),linear-gradient(120deg,#0e1d37 0%,#193e54 52%,#15725e 100%)}.affiliate-page__actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}.affiliate-page__text-action{border:1px solid rgba(255,255,255,.44);border-radius:10px;background:transparent;color:#fff;font:800 14px/1 var(--nr-font);padding:13px 17px;cursor:pointer}.affiliate-page__promise{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0 38px}.affiliate-page__promise article{display:grid;gap:7px;padding:18px;border:1px solid var(--border);border-radius:14px;background:var(--bg-card);box-shadow:var(--shadow)}.affiliate-page__promise b{font-size:15px;color:var(--text-main)}.affiliate-page__promise span{color:var(--text-muted);font-size:14px;line-height:1.45}.affiliate-page__section{margin-top:42px}.affiliate-page__section-heading{max-width:740px;margin-bottom:18px}.affiliate-page__section-heading h2{margin:0;font-size:clamp(25px,4vw,38px);letter-spacing:-.03em}.affiliate-page__steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.affiliate-page__steps article{position:relative;padding:23px 20px 18px;border:1px solid var(--border);border-radius:16px;background:var(--bg-card)}.affiliate-page__steps i{display:grid;place-items:center;width:31px;height:31px;border-radius:50%;background:var(--primary);color:#fff;font:bold 14px/1 var(--nr-font);font-style:normal}.affiliate-page__steps h3,.affiliate-page__tools h3{margin:16px 0 8px;font-size:19px}.affiliate-page__steps p,.affiliate-page__tools p{margin:0;color:var(--text-muted);line-height:1.5}.affiliate-page__tools .public-page__card{grid-column:span 4;min-height:155px}.affiliate-page__audience-grid{display:flex;flex-wrap:wrap;gap:10px}.affiliate-page__audience-grid span{padding:12px 15px;border:1px solid var(--border);border-radius:99px;background:var(--bg-card);font-weight:750}.affiliate-page__faq{max-width:920px}.affiliate-page__faq details{border-top:1px solid var(--border);padding:18px 0}.affiliate-page__faq details:last-child{border-bottom:1px solid var(--border)}.affiliate-page__faq summary{cursor:pointer;font-weight:850;font-size:17px;list-style:none;display:flex;justify-content:space-between;gap:12px}.affiliate-page__faq summary::-webkit-details-marker{display:none}.affiliate-page__faq summary::after{content:'+';color:var(--primary);font-size:23px;line-height:.8}.affiliate-page__faq details[open] summary::after{content:'−'}.affiliate-page__faq p{max-width:760px;margin:13px 0 0;color:var(--text-muted);line-height:1.55}.affiliate-page__closing{display:flex;align-items:center;justify-content:space-between;gap:28px;margin-top:44px;padding:30px;border-radius:18px;background:linear-gradient(118deg,#160e0e,#5d0808);color:#fff}.affiliate-page__closing h2{margin:0;font-size:30px}.affiliate-page__closing p:not(.public-page__eyebrow){max-width:720px;margin:9px 0 0;color:rgba(255,255,255,.8);line-height:1.5}.affiliate-page__closing .public-page__hero-action{white-space:nowrap}
@media(max-width:720px){.public-page{margin-top:14px;padding:0 14px}.public-page__hero{padding:16px;border-radius:14px}.public-page__hero p{font-size:14px}.public-page__hero-action{margin-top:12px;width:100%;box-sizing:border-box}.public-page__section-nav{flex-wrap:nowrap;overflow-x:auto;padding-bottom:3px}.public-page__section-nav a,.public-page__section-nav button{flex:0 0 auto}.public-page__card{padding:20px;border-radius:15px}.public-page__card--feature{grid-template-columns:1fr;gap:18px}.public-business-grid .public-business-card,.affiliate-page__tools .public-page__card{grid-column:span 12}.public-page__entry{grid-template-columns:1fr;gap:7px}.public-page__entry time{padding:0}.public-page__lead-form{grid-template-columns:1fr}.public-page__overview{grid-template-columns:1fr}.public-page__overview-item{min-height:auto}.affiliate-page__promise,.affiliate-page__steps{grid-template-columns:1fr}.affiliate-page__closing{display:block}.affiliate-page__closing .public-page__hero-action{width:100%;margin-top:18px}.business-apply-dialog__body{padding:21px}}

/* Affiliate acquisition details: keep the promise concrete without inventing
   traffic, earnings or partner results. */
.affiliate-page__hero-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr);gap:24px;align-items:stretch}.affiliate-page__hero-copy{min-width:0}.affiliate-page__hero-panel{display:flex;flex-direction:column;justify-content:center;gap:10px;padding:20px;border:1px solid rgba(255,255,255,.2);border-radius:15px;background:rgba(255,255,255,.1);backdrop-filter:blur(5px)}.affiliate-page__panel-label,.affiliate-page__card-kicker{margin:0;color:#ffb9b2;font-size:10px;font-weight:900;letter-spacing:.09em;text-transform:uppercase}.affiliate-page__hero-panel strong{font-size:21px;line-height:1.18}.affiliate-page__hero-panel span{color:rgba(255,255,255,.78);font-size:13px;line-height:1.48}.affiliate-page__hero-panel ul{display:grid;gap:6px;margin:3px 0 0;padding:0;list-style:none;color:#fff;font-size:12px;font-weight:750}.affiliate-page__hero-panel li::before{content:'✓';margin-right:7px;color:#ffd2cd}.affiliate-page__earnings-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.9fr);gap:14px}.affiliate-page__formula-card,.affiliate-page__calculator{display:flex;flex-direction:column;gap:13px}.affiliate-page__formula-card h3,.affiliate-page__calculator h3{margin:0;font-size:22px;line-height:1.18}.affiliate-page__formula{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap;margin:4px 0 0;padding:14px;border-radius:12px;background:var(--bg-input);text-align:center}.affiliate-page__formula span{padding:8px 10px;border:1px solid var(--border);border-radius:9px;background:var(--bg-card);font-size:12px;font-weight:850}.affiliate-page__formula b{color:var(--primary);font-size:18px}.affiliate-page__formula-note{margin:0!important;color:var(--text-muted);font-size:13px!important;line-height:1.5}.affiliate-page__calculator{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start}.affiliate-page__calculator>div:first-child{grid-column:1/-1}.affiliate-page__calculator label{display:grid;gap:6px;color:var(--text-main);font-size:12px;font-weight:850}.affiliate-page__calculator input{width:100%;box-sizing:border-box;padding:10px 11px;border:1px solid var(--border);border-radius:9px;background:var(--bg-input);color:var(--text-main);font:inherit}.affiliate-page__calculator-result{grid-column:1/-1;display:grid;gap:4px;margin-top:2px;padding:14px 15px;border-radius:12px;background:linear-gradient(135deg,color-mix(in srgb,var(--primary) 8%,var(--bg-card)),var(--bg-input))}.affiliate-page__calculator-result span{color:var(--text-muted);font-size:12px;font-weight:800}.affiliate-page__calculator-result strong{color:var(--primary);font-size:28px;line-height:1}.affiliate-page__calculator-result small{color:var(--text-muted);font-size:11px;line-height:1.4}.affiliate-page__section-heading>p:last-child{max-width:760px;margin-top:10px;color:var(--text-muted);font-size:15px;line-height:1.55}.affiliate-page__dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.affiliate-page__dashboard-card{grid-column:auto!important}.affiliate-page__dashboard-card h3{margin:0 0 10px;font-size:20px}.affiliate-page__dashboard-card--accent{background:linear-gradient(145deg,color-mix(in srgb,var(--primary) 6%,var(--bg-card)),var(--bg-input));border-color:color-mix(in srgb,var(--primary) 25%,var(--border))}.affiliate-page__check-list{display:grid;gap:10px;margin:0;padding:0;list-style:none}.affiliate-page__check-list li{position:relative;padding-left:24px;color:var(--text-muted);font-size:14px;line-height:1.45}.affiliate-page__check-list li::before{content:'✓';position:absolute;left:0;top:0;color:var(--primary);font-weight:900}
.public-page .affiliate-page__hero.marketplace-hero{display:block!important;min-height:0!important;padding:30px 32px!important;background:radial-gradient(circle at 82% 18%,rgba(244,194,72,.25),transparent 27%),linear-gradient(120deg,#0e1d37 0%,#193e54 52%,#15725e 100%)!important;color:#fff!important}.public-page .affiliate-page__hero.marketplace-hero h1{color:#fff!important}.public-page .affiliate-page__hero.marketplace-hero .public-page__eyebrow{display:block!important;color:#ffb9b2!important}.public-page .affiliate-page__hero.marketplace-hero .affiliate-page__hero-copy>p:not(.public-page__eyebrow){color:rgba(255,255,255,.83)!important}.affiliate-page__hero-panel strong{color:#fff}.public-page .affiliate-page__hero.marketplace-hero .affiliate-page__hero-panel .affiliate-page__panel-label{color:#ffb9b2!important}
.public-page .public-page__hero :is(h1,h2){color:#fff!important}.public-page :is(.affiliate-page__promise article,.affiliate-page__steps article,.affiliate-page__tools .public-page__card,.affiliate-page__dashboard-card,.partner-page__route-card,.partner-page__benefit-card,.partner-page__quality-note){border-radius:16px;box-shadow:var(--shadow)}
@media(max-width:900px){.affiliate-page__hero-grid,.affiliate-page__earnings-grid{grid-template-columns:1fr}.affiliate-page__hero-panel{min-height:0}.affiliate-page__dashboard-grid{grid-template-columns:1fr}}
@media(max-width:720px){.public-page .affiliate-page__hero.marketplace-hero{padding:22px 18px!important}.affiliate-page__hero-grid{gap:18px}.affiliate-page__hero-panel{padding:16px}.affiliate-page__hero-panel strong{font-size:19px}.affiliate-page__earnings-grid{gap:10px}.affiliate-page__calculator{grid-template-columns:1fr}.affiliate-page__calculator>div:first-child,.affiliate-page__calculator-result{grid-column:1}.affiliate-page__formula{justify-content:flex-start}.affiliate-page__formula span{flex:1 1 100%;text-align:left}.affiliate-page__formula b{display:none}.affiliate-page__dashboard-grid{gap:10px}}

/* Partner acquisition page: a conversion-focused, transparent entry point for suppliers. */
.partner-page{max-width:1120px;padding-bottom:52px}
.partner-page__hero{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(255px,.65fr);gap:24px;align-items:stretch;padding:30px 32px;background:radial-gradient(circle at 88% 12%,rgba(220,26,31,.34),transparent 30%),linear-gradient(120deg,#151922 0%,#252b38 58%,#5c1115 100%)}
.partner-page__hero-copy{min-width:0}.partner-page__hero h1{max-width:760px;font-size:clamp(30px,4.2vw,48px)}.partner-page__hero p{max-width:760px;font-size:16px}.partner-page__hero-actions{display:flex;align-items:center;gap:13px;flex-wrap:wrap;margin-top:18px}.partner-page__hero-actions .public-page__hero-action{margin-top:0}.partner-page__hero-link{display:inline-flex;align-items:center;min-height:42px;padding:0 14px;border:1px solid rgba(255,255,255,.36);border-radius:10px;color:#fff;font-size:13px;font-weight:850;text-decoration:none}.partner-page__hero-link:hover{background:rgba(255,255,255,.1)}.partner-page__hero-note{margin-top:18px!important;color:rgba(255,255,255,.73)!important;font-size:12px!important}.partner-page__hero-panel{display:flex;flex-direction:column;justify-content:center;gap:10px;min-height:190px;padding:22px;border:1px solid rgba(255,255,255,.2);border-radius:16px;background:rgba(255,255,255,.1);backdrop-filter:blur(5px)}.partner-page__panel-label{color:#ffb1aa;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.partner-page__hero-panel strong{font-size:22px;line-height:1.15}.partner-page__hero-panel span:not(.partner-page__panel-label){color:rgba(255,255,255,.78);font-size:13px;line-height:1.45}.partner-page__hero-panel a{margin-top:5px;color:#fff;font-size:13px;font-weight:850;text-decoration:none}
.partner-page__routes,.partner-page__benefits,.partner-page__process,.partner-page__requirements,.partner-page__faq{margin-top:44px}.partner-page__section-heading{max-width:780px;margin-bottom:18px}.partner-page__section-heading h2{margin:0;font-size:clamp(25px,3.4vw,38px);line-height:1.12;letter-spacing:-.03em}.partner-page__section-heading>p:last-child{margin:10px 0 0;color:var(--text-muted);font-size:15px;line-height:1.55}.partner-page__route-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.partner-page__route-card{display:flex;flex-direction:column;align-items:flex-start;min-height:250px;padding:21px;border:1px solid var(--border);border-radius:16px;background:var(--bg-card);box-shadow:var(--shadow)}.partner-page__route-card--active{border-color:color-mix(in srgb,var(--primary) 46%,var(--border));box-shadow:0 10px 25px rgba(204,0,0,.1)}.partner-page__route-card--management{background:linear-gradient(145deg,var(--bg-card),color-mix(in srgb,var(--primary) 6%,var(--bg-card)))}.partner-page__route-number{color:var(--primary);font:900 12px/1 var(--nr-font);letter-spacing:.08em}.partner-page__route-card h3{margin:16px 0 8px;font-size:21px;letter-spacing:-.02em}.partner-page__route-card p{margin:0;color:var(--text-muted);font-size:14px;line-height:1.52}.partner-page__text-button{margin-top:auto;padding:15px 0 0;border:0;background:transparent;color:var(--primary);font:900 13px/1.3 var(--nr-font);cursor:pointer}.partner-page__text-button span{padding-left:4px}
.partner-page__benefit-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.partner-page__benefit-card{padding:18px;border:1px solid var(--border);border-radius:14px;background:var(--bg-card)}.partner-page__benefit-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:color-mix(in srgb,var(--primary) 10%,var(--bg-input));color:var(--primary);font-size:18px;font-weight:900}.partner-page__benefit-card h3{margin:14px 0 7px;font-size:16px}.partner-page__benefit-card p{margin:0;color:var(--text-muted);font-size:13px;line-height:1.5}
.partner-page__steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:0;list-style:none;counter-reset:partner-step}.partner-page__steps li{position:relative;display:flex;gap:12px;padding:0 16px 0 0}.partner-page__steps li:not(:last-child)::after{content:'';position:absolute;top:17px;right:13px;width:calc(100% - 42px);height:1px;background:var(--border);transform:translateX(50%)}.partner-page__steps li>span{position:relative;z-index:1;display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:50%;background:var(--primary);color:#fff;font:900 13px/1 var(--nr-font)}.partner-page__steps h3{margin:2px 0 7px;font-size:16px}.partner-page__steps p{margin:0;color:var(--text-muted);font-size:13px;line-height:1.5}
.partner-page__requirements{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);gap:16px}.partner-page__requirements-card{display:block}.partner-page__requirements-card h2{margin-top:0}.partner-page__quality-note{padding:22px;border:1px solid color-mix(in srgb,var(--primary) 28%,var(--border));border-radius:15px;background:color-mix(in srgb,var(--primary) 5%,var(--bg-card))}.partner-page__quality-badge{display:inline-flex;padding:6px 8px;border-radius:6px;background:var(--primary);color:#fff;font-size:10px;font-weight:900;letter-spacing:.08em}.partner-page__quality-note h3{margin:15px 0 8px;font-size:20px}.partner-page__quality-note p{margin:0;color:var(--text-muted);font-size:14px;line-height:1.55}.partner-page__quality-note a{display:inline-block;margin-top:16px;color:var(--primary);font-size:13px;font-weight:850;text-decoration:none}
.partner-page__faq{max-width:900px}.partner-page__faq details{padding:17px 0;border-top:1px solid var(--border)}.partner-page__faq details:last-child{border-bottom:1px solid var(--border)}.partner-page__faq summary{display:flex;justify-content:space-between;gap:16px;cursor:pointer;list-style:none;font-size:16px;font-weight:850}.partner-page__faq summary::-webkit-details-marker{display:none}.partner-page__faq summary::after{content:'+';color:var(--primary);font-size:22px;line-height:.8}.partner-page__faq details[open] summary::after{content:'−'}.partner-page__faq details p{max-width:760px;margin:11px 0 0;color:var(--text-muted);font-size:14px;line-height:1.55}
.partner-page__closing{display:flex;align-items:center;justify-content:space-between;gap:26px;margin-top:46px;padding:27px 30px;border-radius:17px;background:linear-gradient(118deg,#170e0e,#610b0d);color:#fff}.partner-page__closing h2{margin:0;font-size:clamp(24px,3.5vw,34px);line-height:1.12}.partner-page__closing p:not(.public-page__eyebrow){max-width:700px;margin:9px 0 0;color:rgba(255,255,255,.78);line-height:1.5}.partner-page__closing .public-page__hero-action{flex:0 0 auto;white-space:nowrap}
.public-page .partner-page__closing h2{color:#fff!important}
.partner-page__dialog{width:min(680px,calc(100vw - 28px));max-height:calc(100vh - 28px);overflow:auto}.partner-page__dialog .public-page-dialog__body{padding:26px}.partner-page__progress{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 12px;align-items:center;margin-top:20px}.partner-page__progress-track{grid-column:1/-1;display:block;height:5px;overflow:hidden;border-radius:999px;background:var(--border)}.partner-page__progress-track i{display:block;width:33.333%;height:100%;border-radius:inherit;background:var(--primary);transition:width .2s ease}.partner-page__progress strong{font-size:12px}.partner-page__progress>span:last-child{color:var(--text-muted);font-size:12px}.partner-page__form{display:block;margin-top:17px}.partner-page__form-step{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.partner-page__choice-fieldset{grid-column:1/-1;margin:0;padding:0;border:0}.partner-page__choice-fieldset legend{margin-bottom:9px;color:var(--text-main);font-size:13px;font-weight:850}.partner-page__choice-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.partner-page__choice{display:flex!important;grid-template-columns:none!important;align-items:flex-start;gap:8px;padding:12px;border:1px solid var(--border);border-radius:11px;background:var(--bg-input);cursor:pointer}.partner-page__choice:has(input:checked){border-color:var(--primary);box-shadow:0 0 0 2px color-mix(in srgb,var(--primary) 13%,transparent)}.partner-page__choice input{width:16px!important;min-width:16px;margin:2px 0 0;padding:0}.partner-page__choice span{display:grid;gap:3px}.partner-page__choice b{font-size:13px}.partner-page__choice small{color:var(--text-muted);font-size:11px;line-height:1.3}.partner-page__form-step label{display:grid;gap:6px;color:var(--text-main);font-size:13px;font-weight:800}.partner-page__form-step select{width:100%;box-sizing:border-box;border:1px solid var(--border);border-radius:10px;background:var(--bg-input);color:var(--text-main);font:inherit;padding:11px 12px}.partner-page__form-step .partner-consent{display:flex!important;grid-column:1/-1}.partner-page__form-actions{display:flex;align-items:center;justify-content:space-between;grid-column:1/-1;gap:10px;margin-top:4px}.partner-page__back{min-height:44px;padding:0 14px;border:1px solid var(--border);border-radius:10px;background:var(--bg-input);color:var(--text-main);font:850 13px/1 var(--nr-font);cursor:pointer}.partner-page__next{margin-top:4px}.partner-page__summary{grid-column:1/-1;display:grid;gap:4px;padding:13px 14px;border:1px solid color-mix(in srgb,var(--primary) 24%,var(--border));border-radius:11px;background:color-mix(in srgb,var(--primary) 5%,var(--bg-input))}.partner-page__summary strong{font-size:13px}.partner-page__summary span{color:var(--text-muted);font-size:12px;line-height:1.45}.partner-page__honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
@media(max-width:900px){.partner-page__hero{grid-template-columns:1fr}.partner-page__benefit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.partner-page__steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 12px}.partner-page__steps li:not(:last-child)::after{display:none}.partner-page__requirements{grid-template-columns:1fr}}
@media(max-width:720px){.partner-page{padding-bottom:32px}.partner-page__hero{padding:22px 18px}.partner-page__hero h1{font-size:31px}.partner-page__hero-actions{display:grid;gap:9px}.partner-page__hero-actions .public-page__hero-action,.partner-page__hero-link{width:100%;box-sizing:border-box}.partner-page__hero-panel{min-height:0;padding:17px}.partner-page__routes,.partner-page__benefits,.partner-page__process,.partner-page__requirements,.partner-page__faq{margin-top:32px}.partner-page__route-grid,.partner-page__benefit-grid,.partner-page__steps{grid-template-columns:1fr}.partner-page__route-card{min-height:0}.partner-page__steps{gap:18px}.partner-page__steps li{padding-right:0}.partner-page__closing{display:block;margin-top:32px;padding:23px 20px}.partner-page__closing .public-page__hero-action{width:100%;margin-top:18px}.partner-page__dialog .public-page-dialog__body{padding:20px}.partner-page__form-step,.partner-page__choice-list{grid-template-columns:1fr}.partner-page__form-step .partner-page__choice-fieldset,.partner-page__form-step .partner-page__lead-wide,.partner-page__form-step .partner-consent,.partner-page__form-actions{grid-column:1/-1}.partner-page__form-actions{position:sticky;bottom:0;padding-top:10px;background:var(--bg-card)}}


/* Source: /static/css/breadcrumbs.css */
.site-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    max-width: 1240px;
    margin: 18px auto 0;
    padding: 0 20px;
    color: var(--text-muted, #667085);
    font-size: 13px;
    line-height: 1.45;
}

.site-breadcrumbs__link,
.site-breadcrumbs__current {
    overflow-wrap: anywhere;
}

.site-breadcrumbs__link {
    color: var(--primary, #c9161d);
    font-weight: 850;
    text-decoration: none;
}

.site-breadcrumbs__link:hover,
.site-breadcrumbs__link:focus-visible {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.site-breadcrumbs__current {
    color: var(--text-main, #17202a);
    font-weight: 750;
}

.site-breadcrumbs__separator {
    color: var(--text-muted, #667085);
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
}

body.standalone-page .site-breadcrumbs {
    max-width: none;
    margin: 0 0 24px;
    padding: 0;
}

@media (max-width: 720px) {
    .site-breadcrumbs {
        gap: 5px;
        margin-top: 14px;
        padding: 0 14px;
        font-size: 12px;
    }

    body.standalone-page .site-breadcrumbs {
        margin-bottom: 18px;
        padding: 0;
    }
}
