:root {
            --bg: #0f172a;
            --panel: #111827;
            --accent: #f4d35e;
            --accent-dark: #d0b24e;
            --muted: #94a3b8;
            --text: #e2e8f0;
            --card: #0b1222;
            --border: #1f2937;
            --panel-border-strong: #334155;
            --topo-bg: url('/static/panels/topo-bg-invert.png?v=6');
        }
        * { box-sizing: border-box; }
        .no-select { user-select: none; }
        body {
            margin: 0;
            background: var(--bg);
            color: var(--text);
            font-family: "Segoe UI Variable Text", "Aptos", "Inter", system-ui, -apple-system, sans-serif;
            background-image:
                linear-gradient(rgba(255,255,255,0.42), rgba(255,255,255,0.42)),
                radial-gradient(1200px 800px at 15% -10%, rgba(255,255,255,0.06), transparent 60%),
                radial-gradient(1000px 700px at 85% -20%, rgba(255,255,255,0.05), transparent 65%),
                var(--topo-bg);
            background-repeat: no-repeat, no-repeat, no-repeat, repeat;
            background-position: center, top left, top right, center;
            background-size: cover, cover, cover, 760px 760px;
            background-attachment: fixed;
            min-height: 100vh;
        }
        button, input, select, textarea { font-family: inherit; }
        body.theme-light {
            background-image:
                linear-gradient(rgba(255,255,255,0.88), rgba(255,255,255,0.88)),
                radial-gradient(1200px 800px at 15% -10%, rgba(15,23,42,0.035), transparent 60%),
                radial-gradient(1000px 700px at 85% -20%, rgba(15,23,42,0.03), transparent 65%),
                var(--topo-bg);
            background-size: cover, cover, cover, 760px 760px;
        }
        header {
            position: relative;
            display: grid;
            grid-template-columns: auto auto minmax(380px, 1fr) auto;
            align-items: center;
            gap: 14px;
            padding: 10px 16px 12px;
            border-bottom: 1px solid #1f2937;
            background: rgba(11, 18, 34, 0.14);
            backdrop-filter: blur(3px) saturate(1.02);
            -webkit-backdrop-filter: blur(3px) saturate(1.02);
            min-height: 106px;
            box-shadow: 0 10px 24px rgba(2, 6, 23, 0.24);
            z-index: 7000;
            isolation: isolate;
        }
        header img.logo {
            height: 132px;
            width: auto;
            user-select: none;
            filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35));
        }
        .brand-link {
            display: inline-flex;
            align-items: center;
            gap: 12px;
            color: inherit;
            text-decoration: none;
            min-width: 0;
        }
        .brand-link:hover .title-wrap h1 { color: #fbbf24; }
        header .title-wrap {
            align-self: center;
            min-width: 0;
            padding: 2px 4px;
            border: none;
            background: transparent;
            box-shadow: none;
            display: flex;
            align-items: center;
            min-height: 100%;
        }
        header .title-wrap h1 { display: none; }
        header .title-wrap p {
            margin: 0;
            color: #fff;
            font-size: 17px;
            font-weight: 600;
            letter-spacing: 0.02em;
            text-shadow: none;
            line-height: 1.2;
        }
        .season-wrap {
            display: flex;
            flex-direction: column;
            gap: 6px;
            padding: 9px 11px;
            border: 2px solid var(--panel-border-strong);
            border-radius: 13px;
            background: linear-gradient(150deg, rgba(11, 18, 34, 0.54), rgba(11, 18, 34, 0.2));
            box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
            margin-left: 0;
            min-width: 0;
        }
        body:not(.force-mobile) .season-wrap {
            padding: 12px 14px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 24px;
            background:
                linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)),
                linear-gradient(145deg, rgba(9, 16, 30, 0.42), rgba(20, 31, 52, 0.22));
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 14px 24px rgba(3, 8, 20, 0.14);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
        }
        body.theme-light:not(.force-mobile) .season-wrap {
            border-color: rgba(148, 163, 184, 0.26);
            background:
                linear-gradient(180deg, rgba(255,255,255,0.78), rgba(255,255,255,0.56)),
                linear-gradient(145deg, rgba(255,255,255,0.26), rgba(226, 234, 245, 0.2));
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.62), 0 14px 24px rgba(15, 23, 42, 0.07);
        }
        .season-switch.header-switch {
            display: flex;
            justify-content: space-between;
            flex-wrap: nowrap;
            gap: 8px;
            width: 100%;
            align-items: center;
        }
        .season-switch .season-actions {
            margin-left: 6px;
            display: inline-flex;
            align-items: center;
            gap: 0;
        }
        .header-switch .season-btn {
            padding: 10px 12px;
        }
        .type-multi { display: flex; gap: 6px; flex-wrap: wrap; }
        .panel-count {
            margin-top: 0;
            font-size: 17px;
            color: var(--text);
            font-weight: 650;
            letter-spacing: 0.01em;
            padding: 0;
            border: 0;
            background: transparent;
            box-shadow: none;
            text-shadow: 0 1px 1px rgba(0,0,0,0.25);
            line-height: 1.05;
            white-space: nowrap;
            font-family: "Sora", "Avenir Next", "Segoe UI", "Inter", sans-serif;
            border-radius: 0;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }
        .panel-count .count-label {
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            opacity: 0.8;
        }
        .type-multi, .season-wrap, .panel-list { overflow: visible; }
        .panel-list, .season-wrap { position: relative; }
        .panel-list {
            position: relative;
            min-width: 260px;
            max-width: 540px;
            overflow-x: hidden;
        }
        #desktop-filters-slot { display: none; }
        .panel-list * { max-width: 100%; }
        .panel-collapse {
            position: relative;
            top: 0;
            left: 0;
            width: 28px;
            height: 28px;
            border-radius: 8px;
            border: 1px solid rgba(148,163,184,0.35);
            background: rgba(2,6,23,0.7);
            color: #cfe9ff;
            font-weight: 900;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 31;
            margin: 0 0 8px 8px;
        }
        .panel-collapse:hover { background: #2f5f7c; color: #ffffff; }
        .panel-resizer {
            position: absolute;
            top: 0;
            right: 0;
            width: 12px;
            height: 100%;
            cursor: col-resize;
            z-index: 30;
        }
        .panel-resizer::before {
            content: "";
            position: absolute;
            top: 0;
            right: 2px;
            width: 2px;
            height: 100%;
            background: rgba(148,163,184,0.35);
        }
        .menu-toggle-show {
            position: fixed;
            left: 8px;
            top: 50%;
            transform: translateY(-50%);
            width: 26px;
            height: 40px;
            border-radius: 10px;
            background: #284b61;
            color: #cfe9ff;
            border: 1px solid #233746;
            box-shadow: 0 10px 18px rgba(0,0,0,0.35);
            display: none;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-weight: 900;
            z-index: 1200;
        }
        .theme-light .menu-toggle-show {
            background: #3f6f8c;
            color: #e8f4ff;
            border-color: #2f566e;
            box-shadow: 0 10px 18px rgba(15,23,42,0.2);
        }
        .layout { transition: grid-template-columns 220ms ease; }
        .layout.menu-collapsed .menu-toggle-show { display: flex; }
        .layout.menu-collapsed .panel-list { display: none !important; }
        .layout .panel-list { transition: opacity 180ms ease, transform 180ms ease; }
        .layout .panel-list.panel-opening {
            opacity: 0;
            transform: translateX(-14px);
            animation: panelIn 220ms ease forwards;
        }
        @keyframes panelIn {
            from { opacity: 0; transform: translateX(-14px); }
            to { opacity: 1; transform: translateX(0); }
        }
        .panel-resizer::after {
            content: "||";
            position: absolute;
            top: 50%;
            right: 2px;
            transform: translateY(-50%);
            font-size: 11px;
            font-weight: 900;
            color: rgba(148,163,184,0.8);
            background: rgba(2,6,23,0.8);
            border: 1px solid rgba(148,163,184,0.35);
            border-radius: 8px;
            padding: 6px 4px;
        }
        .panel-list {
            padding-top: 44px;
            min-width: 260px;
            max-width: 540px;
            overflow-x: hidden;
        }
        .panel-list > .panel-card.search-wrap { margin-top: 0 !important; }
        .panel-card { overflow-x: hidden; }
        .type-toggle {
            padding: 6px 10px;
            border-radius: 10px;
            border: 1px solid #1f2937;
            font-weight: 700;
            cursor: pointer;
            opacity: 0.25;
            color: var(--text);
            position: relative;
            transition: opacity 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
        }
        .type-toggle:hover { opacity: 0.7; transform: translateY(-1px); }
        .type-toggle[data-type="hiking"] { background: #f4d35e; color: #0f172a; }
        .type-toggle[data-type="mountain"] { background: #f4d35e; color: #b91c1c; }
        .type-toggle[data-type="alpine"] { background: #6a9ad8; color: #fff; }
        .type-toggle[data-type="winter_hiking"] { background: #e07acb; color: #fff; }
        .type-toggle[data-type="raquette"] { background: #e07acb; color: #fff; }
        .type-toggle[data-type="skirando"] { background: #e07acb; color: #0f172a; }
        .type-toggle[data-type="footroute"] { background: #22c55e; color: #ffffff; }
        .type-toggle[data-type="wheelchair"] { background: #ffffff; color: #0f172a; border-color: #cbd5e1; }
        .type-toggle[data-type="nordic"] { background: #8fd3ff; color: #0f172a; }
        .type-toggle.active {
            opacity: 1;
            outline: none;
            box-shadow: 0 0 0 1px #1f2937;
        }
        .header-actions {
            display: flex;
            align-items: center;
            gap: 8px;
            justify-content: flex-end;
            margin-left: 0;
            padding: 0;
            border-radius: 0;
            border: none;
            background: transparent;
            position: relative;
            z-index: 1301;
        }
        body:not(.force-mobile) #panel-count { display: inline-flex; justify-content: flex-start; margin-bottom: 0; margin-right: 0; }
        body:not(.force-mobile) #open-submit { margin-right: 0; }
        .header-actions > #panel-count {
            margin-right: 0;
        }
        .header-actions .header-btn,
        .header-actions .view-toggle {
            pointer-events: auto;
            touch-action: manipulation;
            position: relative;
            z-index: 1302;
        }
        .view-toggle {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 6px 10px;
            border-radius: 999px;
            border: 1px solid var(--border);
            background: var(--card);
            color: var(--text);
            font-weight: 700;
            cursor: pointer;
        }
        #filter-toggle { display: none; }
        body.force-mobile #filter-toggle { display: inline-flex; }
        .view-toggle:hover { background: #1f2937; color: #fbbf24; }
        .theme-light .view-toggle {
            background: #f9fbff;
            border-color: #d5dbe6;
            color: #0f172a;
        }
        .theme-light .view-toggle:hover { background: #eef2f7; color: #0f172a; }
        .theme-switch {
            position: relative;
            width: 120px;
            height: 30px;
            border-radius: 999px;
            border: 1px solid #1f2937;
            background: #0b1222;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 2px;
            cursor: pointer;
            font-size: 11px;
            font-weight: 700;
            color: var(--text);
            overflow: hidden;
        }
        .theme-switch::before {
            content: "";
            position: absolute;
            top: 2px;
            left: 2px;
            width: 56px;
            height: 26px;
            border-radius: 999px;
            background: var(--accent);
            transition: transform 0.2s ease;
        }
        .theme-switch.dark::before {
            transform: translateX(58px);
        }
        .theme-switch span {
            position: relative;
            z-index: 1;
            width: 50%;
            text-align: center;
        }
        .theme-switch.dark .label-dark,
        .theme-switch:not(.dark) .label-light {
            color: #0f172a;
        }
        .header-actions .primary-cta {
            background: #f4d35e;
            color: #0f172a;
            border: 1px solid #dcb13c;
            box-shadow: 0 2px 0 rgba(0,0,0,0.15);
        }
        .header-actions .primary-cta:hover {
            background: #eac14b;
            color: #0b1222;
        }
        .header-btn {
            background: #0b1222;
            color: var(--text);
            border: 1px solid #1f2937;
            border-radius: 12px;
            padding: 10px 14px;
            font-weight: 700;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: background 0.15s, color 0.15s, transform 0.15s, box-shadow 0.15s;
            white-space: nowrap;
            text-decoration: none;
            box-shadow: 0 4px 12px rgba(2, 6, 23, 0.18);
        }
        .lang-select {
            background: #0b1222;
            color: var(--text);
            border: 1px solid #1f2937;
            border-radius: 10px;
            padding: 6px 8px;
            font-weight: 700;
        }
        .duration-format-select {
            min-width: 132px;
            background: #0b1222;
            color: var(--text);
            border: 1px solid #1f2937;
            border-radius: 10px;
            padding: 6px 8px;
            font-weight: 700;
        }
        body.theme-light .duration-format-select {
            background: rgba(255, 255, 255, 0.96);
            color: #0f172a;
            -webkit-text-fill-color: #0f172a;
            border-color: rgba(148, 163, 184, 0.36);
        }
        body.theme-light .lang-select {
            background: rgba(255, 255, 255, 0.96) !important;
            color: #0f172a !important;
            -webkit-text-fill-color: #0f172a !important;
            border: 1px solid rgba(148, 163, 184, 0.36) !important;
            width: 68px !important;
            min-width: 68px !important;
            height: 34px !important;
            line-height: 34px !important;
            padding: 0 28px 0 12px !important;
            border-radius: 14px !important;
            appearance: none !important;
            -webkit-appearance: none !important;
        }
        body:not(.force-mobile) .header-btn,
        body:not(.force-mobile) .settings-toggle {
            border-radius: 18px;
            border-color: rgba(255, 255, 255, 0.1);
            background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
            box-shadow: 0 12px 18px rgba(3, 8, 20, 0.14), inset 0 1px 0 rgba(255,255,255,0.08);
            min-height: 48px;
        }
        body.theme-light:not(.force-mobile) .header-btn,
        body.theme-light:not(.force-mobile) .settings-toggle {
            border-color: rgba(148, 163, 184, 0.26);
            background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(244,247,251,0.82));
            box-shadow: 0 12px 18px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255,255,255,0.74);
        }
        body.ui-v3:not(.force-mobile) .header-btn:hover,
        body.ui-v3:not(.force-mobile) .settings-toggle:hover {
            transform: translateY(-1px);
            box-shadow: 0 16px 26px rgba(2, 6, 23, 0.2), inset 0 1px 0 rgba(255,255,255,0.1);
            filter: brightness(1.03);
        }
        .header-btn:hover { background: #1f2937; color: #fbbf24; transform: translateY(-1px); box-shadow: 0 8px 18px rgba(2, 6, 23, 0.26); }
        .header-btn:visited,
        .header-btn:focus,
        .header-btn:active {
            text-decoration: none;
        }
        .user-menu { position: relative; }
        .user-toggle {
            background: #0b1222;
            color: var(--text);
            border: 1px solid #1f2937;
            border-radius: 12px;
            padding: 10px 14px;
            font-weight: 700;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 6px;
            text-transform: lowercase;
        }
        .user-toggle:hover { background: #1f2937; color: #fbbf24; }
        .user-caret { font-size: 12px; opacity: 0.8; margin-left: 2px; }
        .user-dropdown {
            position: absolute;
            right: 0;
            top: calc(100% + 6px);
            min-width: 180px;
            background: #0f172a;
            border: 1px solid #1f2937;
            border-radius: 14px;
            box-shadow: 0 16px 36px rgba(0,0,0,0.38);
            display: none;
            flex-direction: column;
            z-index: 2000;
            margin-top: 4px;
            padding: 8px 0;
        }
        .user-dropdown a {
            padding: 10px 14px;
            color: var(--text);
            text-decoration: none;
            display: block;
        }
        .user-dropdown a:hover {
            background: #1f2937;
            color: #fbbf24;
        }
        .user-dropdown .dropdown-btn {
            width: 100%;
            text-align: left;
            border: none;
            background: transparent;
            color: var(--text);
            padding: 10px 14px;
            font-weight: 700;
            cursor: pointer;
        }
        .user-dropdown .dropdown-btn:hover {
            background: #1f2937;
            color: #fbbf24;
        }
        .settings-menu {
            position: relative;
            display: inline-flex;
            align-items: center;
            z-index: 7100;
        }
        .settings-toggle {
            width: 40px;
            height: 36px;
            border-radius: 12px;
            border: 1px solid var(--border);
            background: var(--card);
            color: var(--text);
            font-weight: 900;
            font-size: 20px;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 8px 16px rgba(0,0,0,0.25);
        }
        body:not(.force-mobile) .settings-toggle {
            width: 52px;
            height: 48px;
            font-size: 22px;
        }
        .settings-panel {
            position: absolute;
            right: 0;
            top: calc(100% + 6px);
            min-width: 220px;
            background: var(--card);
            border: 1px solid var(--border);
            border-radius: 12px;
            box-shadow: 0 12px 28px rgba(0,0,0,0.35);
            padding: 12px;
            display: none;
            flex-direction: column;
            gap: 10px;
            z-index: 7200;
        }
        .settings-panel .settings-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 8px;
            min-height: 38px;
        }
        .settings-panel .settings-divider {
            height: 1px;
            background: rgba(244, 211, 94, 0.62);
            margin: 2px 0 0;
        }
        .settings-panel .settings-row.links-only {
            justify-content: flex-start;
            min-height: 0;
        }
        .settings-panel .text-link {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            width: 100%;
            color: var(--text);
            text-decoration: none;
            padding: 8px 0;
            font-weight: 400;
            font-size: 16px;
            letter-spacing: 0.01em;
            background: transparent;
            border: none;
            cursor: pointer;
            transition: color 0.16s ease, transform 0.16s ease;
        }
        .settings-panel .text-link::after {
            content: "\2197";
            font-size: 15px;
            opacity: 1;
            color: #f4d35e;
            font-weight: 800;
            transform: translateY(1px);
            transition: transform 0.16s ease, opacity 0.16s ease;
        }
        .settings-panel .text-link:hover {
            color: #fbbf24;
            transform: translateX(1px);
        }
        .settings-panel .text-link:hover::after {
            opacity: 1;
            transform: translate(1px, 0);
        }
        .settings-panel .settings-title {
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            font-weight: 400;
            color: var(--muted);
            padding-bottom: 10px;
            border-bottom: 1px solid rgba(244, 211, 94, 0.62);
        }
        body:not(.theme-light) .settings-panel .settings-title {
            color: #eef2f7;
        }
        body:not(.theme-light) .settings-panel .settings-row > span {
            color: rgba(248, 250, 252, 0.96);
            font-weight: 400;
        }
        body:not(.theme-light) .settings-panel .text-link {
            color: #f8fafc;
        }
        .theme-light .settings-toggle {
            background: #f9fbff;
            border-color: #d5dbe6;
            color: #0f172a;
            box-shadow: 0 8px 16px rgba(15, 23, 42, 0.12);
        }
        .theme-light .settings-panel .settings-row > span,
        .theme-light .settings-panel .settings-title,
        .theme-light .settings-panel .text-link {
            color: #0f172a;
            font-weight: 400;
        }
        /* Settings menu open/close animation */
        .settings-panel {
            display: flex;
            opacity: 0;
            transform: translateY(-8px) scale(0.98);
            visibility: hidden;
            pointer-events: none;
            transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
        }
        .settings-panel.open {
            opacity: 1;
            transform: translateY(0) scale(1);
            visibility: visible;
            pointer-events: auto;
        }
        body.ui-v3:not(.force-mobile) .settings-panel {
            top: calc(100% + 8px);
            min-width: 320px;
            padding: 16px 16px 14px;
            border-radius: 24px;
            border: 1px solid rgba(255, 255, 255, 0.08);
            background:
                linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.08)),
                linear-gradient(150deg, rgba(7, 14, 28, 0.76), rgba(18, 29, 48, 0.6));
            box-shadow: 0 24px 40px rgba(3, 8, 20, 0.24), inset 0 1px 0 rgba(255,255,255,0.08);
            backdrop-filter: blur(18px) saturate(1.08);
            -webkit-backdrop-filter: blur(18px) saturate(1.08);
            gap: 12px;
        }
        body.ui-v3.theme-light:not(.force-mobile) .settings-panel {
            border-color: rgba(148, 163, 184, 0.22);
            background:
                linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,0.88)),
                linear-gradient(150deg, rgba(255,255,255,0.54), rgba(226, 234, 245, 0.36));
            box-shadow: 0 22px 36px rgba(15, 23, 42, 0.1), inset 0 1px 0 rgba(255,255,255,0.74);
        }
        body.ui-v3:not(.force-mobile) .settings-panel .settings-title {
            padding-bottom: 12px;
            margin-bottom: 2px;
            letter-spacing: 0.16em;
        }
        body.ui-v3:not(.force-mobile) .settings-panel .settings-row {
            min-height: 40px;
            gap: 12px;
        }
        body.ui-v3:not(.force-mobile) .settings-panel .settings-divider {
            margin-top: 2px;
            background: rgba(244, 211, 94, 0.56);
        }
        body.ui-v3:not(.force-mobile) .settings-panel .text-link {
            padding: 9px 0;
            font-size: 17px;
            letter-spacing: 0;
        }
        .view-switch {
            position: relative;
            width: 120px;
            height: 30px;
            border-radius: 999px;
            border: 1px solid var(--border);
            background: var(--card);
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 2px;
            cursor: pointer;
            font-size: 11px;
            font-weight: 700;
            color: var(--text);
            overflow: hidden;
        }
        .view-switch::before {
            content: "";
            position: absolute;
            top: 2px;
            left: 2px;
            width: 56px;
            height: 26px;
            border-radius: 999px;
            background: var(--accent);
            transition: transform 0.2s ease;
        }
        .view-switch.mobile::before {
            transform: translateX(58px);
        }
        .view-switch span {
            position: relative;
            z-index: 1;
            width: 50%;
            text-align: center;
        }
        .view-switch.mobile .label-mobile,
        .view-switch:not(.mobile) .label-desktop {
            color: #0f172a;
        }
        .theme-light .view-switch {
            background: #f9fbff;
            border-color: #d5dbe6;
        }
        /* Modal pour soumettre un panneau */
    #submitModal {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        inset: 0;
        background: rgba(0,0,0,0.65);
        display: none;
            align-items: center;
            justify-content: center;
            z-index: 11000;
        }
        #submitModal:target { display: flex; }
        #submitModal .modal-content {
            background:
                linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.94)),
                var(--topo-bg);
            background-size: cover, 220px 220px;
            background-repeat: no-repeat, repeat;
            border: 1px solid #1f2937;
            border-radius: 12px;
            padding: 16px;
            width: min(960px, 96vw);
            max-height: 92vh;
            display: flex;
            flex-direction: column;
            overflow-y: auto;
            box-shadow: 0 20px 60px rgba(0,0,0,0.5);
        }
        @media (min-width: 701px) {
            #submitModal {
                align-items: flex-start;
                box-sizing: border-box;
                padding: calc(env(safe-area-inset-top, 0px) + 12px) 16px 12px;
            }
            #submitModal .modal-content {
                min-width: min(620px, 96vw);
                min-height: 420px;
                max-width: calc(100vw - 32px);
                max-height: calc(100vh - env(safe-area-inset-top, 0px) - 24px);
                resize: both;
                overflow: auto;
            }
            #submitModal .modal-content.is-location-step {
                height: min(760px, calc(100vh - env(safe-area-inset-top, 0px) - 28px));
            }
            #submitModal .modal-content.is-confirm-step {
                width: min(1180px, calc(100vw - 32px));
                min-width: min(900px, 96vw);
            }
            #submitModal .modal-actions {
                position: sticky;
                bottom: -16px;
                z-index: 5;
                margin: 10px -16px -16px;
                padding: 10px 16px 16px;
                border-top: 1px solid rgba(148, 163, 184, 0.16);
                background: linear-gradient(180deg, rgba(15, 23, 42, 0), rgba(15, 23, 42, 0.96) 34%, rgba(15, 23, 42, 0.98));
            }
            #submitModal .modal-header {
                cursor: move;
                user-select: none;
                margin: -16px -16px 0;
                padding: 16px 58px 10px 16px;
                border-radius: 12px 12px 0 0;
            }
            #submitModal .modal-header button,
            #submitModal .modal-header a {
                cursor: pointer;
                user-select: auto;
            }
        }
    #submitModal h3 { margin: 0 0 12px; }
        #submitModal .modal-content { position: relative; }
        .modal-header { display: flex; flex-direction: column; gap: 10px; }
        .modal-close {
            position: absolute;
            top: 14px;
            right: 16px;
            border: 1px solid rgba(248, 113, 113, 0.62);
            background: rgba(127, 29, 29, 0.72);
            color: #fee2e2;
            border-radius: 999px;
            width: 34px;
            height: 34px;
            font-weight: 800;
            cursor: pointer;
            box-shadow: 0 8px 18px rgba(127, 29, 29, 0.22);
        }
        .modal-close:hover,
        .modal-close:focus-visible {
            background: #b91c1c;
            border-color: rgba(254, 202, 202, 0.9);
            color: #ffffff;
        }
        .modal-stepper { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; align-items: center; }
        .modal-step {
            position: relative;
            border: 1px solid var(--border);
            background: rgba(15, 23, 42, 0.58);
            color: #cbd5e1;
            border-radius: 999px;
            padding: 6px 12px;
            font-weight: 600;
            font-size: 12px;
            cursor: pointer;
            transition: all .18s ease;
            text-align: center;
        }
        .modal-step:not(:last-child)::after {
            content: "";
            position: absolute;
            right: -11px;
            top: 50%;
            transform: translateY(-50%);
            width: 10px;
            height: 2px;
            border-radius: 999px;
            background: rgba(148, 163, 184, 0.75);
            pointer-events: none;
        }
        .modal-step.active {
            background: rgba(244, 211, 94, 0.28);
            border-color: rgba(244, 211, 94, 0.62);
            color: #f8fafc;
            box-shadow: none;
        }
        .theme-light .modal-step.active {
            color: #111827 !important;
        }
        .submit-step { display: none; }
        .submit-step.active { display: block; }
        @media (min-width: 701px) {
            #submitModal .modal-content.is-location-step .submit-step[data-step="2"].active {
                display: flex;
                flex: 1 1 auto;
                min-height: 0;
            }
            #submitModal .modal-content.is-location-step .submit-step[data-step="2"].active > .modal-row {
                flex: 1 1 auto;
                min-height: 0;
            }
        }
        .modal-row { display: flex; gap: 8px; }
        .modal-row .field { flex: 1; }
        .modal-field { width: 100%; padding: 8px 10px; border-radius: 10px; border: 1px solid #1f2937; background: #0b1222; color: var(--text); }
        .modal-field::placeholder { color: #6b7280; }
        #submitModal textarea { min-height: 90px; resize: vertical; }
        #submitModal .dest-row textarea { min-height: 44px; height: 48px; resize: none; }
        #submitModal .submit-step[data-step="3"] #sub-contact {
            margin-top: 16px;
        }
        .modal-actions { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
        .modal-actions-right { display: flex; gap: 8px; align-items: center; }
        .modal-actions .modal-btn { flex: 0 0 auto; }
        #sub-next { border: 1px solid #22c55e; box-shadow: 0 0 0 1px rgba(34,197,94,0.35); }
        @media (max-width: 700px) {
            .modal-actions { flex-direction: column; align-items: stretch; }
            .modal-actions .modal-btn { width: 100%; justify-content: center; }
            .modal-actions-right { width: 100%; justify-content: flex-end; }
            #submitModal .modal-content {
                width: min(92vw, 740px);
                max-height: 94vh;
            }
            #submit-map {
                height: 300px !important;
            }
        }
        #submit-map {
            position: relative;
            flex: 1 1 auto;
            min-height: 360px;
            z-index: 1;
            overflow: hidden;
            cursor: crosshair;
            pointer-events: auto !important;
            touch-action: none;
        }
        #submit-map .leaflet-container,
        #submit-map .leaflet-pane,
        #submit-map .leaflet-map-pane,
        #submit-map .leaflet-tile-pane,
        #submit-map .leaflet-overlay-pane,
        #submit-map .leaflet-marker-pane,
        #submit-map .leaflet-shadow-pane,
        #submit-map .leaflet-control-container {
            pointer-events: auto !important;
        }
        #submit-map .leaflet-control-container {
            z-index: 1201 !important;
        }
        .modal-btn {
            border: 1px solid #1f2937;
            background: #111827;
            color: var(--text);
            padding: 8px 12px;
            border-radius: 10px;
            cursor: pointer;
            font-weight: 700;
        }
        .modal-btn.primary { background: #22c55e; color: #0f172a; border-color: #16a34a; }
        .modal-btn.primary:hover { background: #16a34a; }
        .modal-btn:hover { background: #1f2937; }
        .modal-btn[disabled] {
            opacity: 0.7;
            cursor: wait;
            pointer-events: none;
        }
        .modal-btn.primary.is-loading {
            background: linear-gradient(180deg, #86efac, #4ade80);
            border-color: #22c55e;
            color: #14532d;
        }
    #submit-status { font-size: 13px; color: var(--muted); margin-top: 6px; }
    #submit-status:empty { display: none; }
        .dest-row { display: grid; grid-template-columns: 0.78fr 0.28fr 0.24fr 0.55fr 32px; gap: 6px; align-items: center; margin-bottom: 6px; }
        .dest-row input, .dest-row select, .dest-row textarea { width: 100%; padding: 6px 8px; border-radius: 8px; border: 1px solid var(--border); background: var(--card); color: var(--text); }
        .dest-row textarea { resize: none; min-height: 44px; height: 48px; }
        .row-del {
            border: 1px solid #1f2937;
            background: #111827;
            color: #ef4444;
            border-radius: 8px;
            padding: 0;
            cursor: pointer;
            width: 32px;
            height: 32px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            line-height: 1;
            font-weight: 700;
        }
        .row-del:hover { background: #1f2937; }
        .file-btn { border: 1px solid #1f2937; background: #111827; color: #e5e7eb; border-radius: 10px; padding: 6px 8px; cursor: pointer; width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; line-height: 1; }
        .file-btn:hover { background: #1f2937; }
        .file-name { display: none; }
        .desktop-mode .file-name { display: inline-block; }
        .dest-row .dest-emoji { min-width: 78px; text-align: left; }
        .thumb-preview { display: none; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
        #submit-photo-preview { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 8px; }
        .thumb-preview img { width: 70px; height: 70px; object-fit: cover; border-radius: 8px; border: 1px solid #1f2937; }
        .menu-toggle-show:hover { }
        .error-border { border: 1px solid #ef4444 !important; box-shadow: 0 0 0 1px #ef4444; }
        .rotate-btn { border: 1px solid #1f2937; background: #111827; color: #fbbf24; border-radius: 8px; padding: 6px 8px; cursor: pointer; }
        .rotate-btn:hover { background: #1f2937; }
        .locate-btn { background: #ffffff; color: #0f172a; border: 1px solid #cbd5e1; border-radius: 6px; width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; }
        .locate-btn:hover { background: #f1f5f9; }

        .layout {
            display: grid;
            grid-template-columns: minmax(320px, 420px) 1fr;
            gap: 16px;
            padding: 16px 20px;
            min-height: calc(100vh - 100px);
            align-items: start;
            position: relative;
            isolation: isolate;
        }
        .layout::before {
            content: "";
            position: absolute;
            inset: 0;
            pointer-events: none;
            z-index: 0;
            background:
                radial-gradient(105% 82% at 14% 14%, rgba(244, 211, 94, 0.16), rgba(244, 211, 94, 0) 56%),
                radial-gradient(96% 76% at 88% 10%, rgba(128, 175, 255, 0.15), rgba(128, 175, 255, 0) 58%),
                radial-gradient(88% 72% at 52% 112%, rgba(89, 131, 190, 0.12), rgba(89, 131, 190, 0) 60%),
                linear-gradient(145deg, rgba(9, 19, 34, 0.94), rgba(18, 32, 54, 0.9) 42%, rgba(34, 52, 81, 0.86) 100%),
                linear-gradient(rgba(255,255,255,0.03), rgba(255,255,255,0.03)),
                url('/static/panels/topo-bg-invert.png?v=6');
            background-size: cover, cover, cover, cover, cover, 820px 820px;
            background-blend-mode: screen, screen, soft-light, normal, normal, screen;
        }
        body.theme-light .layout::before {
            background:
                radial-gradient(102% 82% at 12% 14%, rgba(244, 211, 94, 0.13), rgba(244, 211, 94, 0) 56%),
                radial-gradient(94% 74% at 88% 10%, rgba(149, 186, 235, 0.15), rgba(149, 186, 235, 0) 58%),
                linear-gradient(180deg, rgba(247, 249, 253, 0.96) 0%, rgba(237, 242, 248, 0.94) 44%, rgba(221, 230, 241, 0.92) 100%),
                linear-gradient(rgba(255,255,255,0.26), rgba(255,255,255,0.26)),
                url('/static/panels/topo-bg.png?v=6');
            background-size: cover, cover, cover, cover, 900px 900px;
            background-blend-mode: soft-light, soft-light, normal, normal, multiply;
        }
        body.theme-dark .layout::before {
            background:
                radial-gradient(105% 82% at 14% 14%, rgba(244, 211, 94, 0.16), rgba(244, 211, 94, 0) 56%),
                radial-gradient(96% 76% at 88% 10%, rgba(128, 175, 255, 0.15), rgba(128, 175, 255, 0) 58%),
                radial-gradient(88% 72% at 52% 112%, rgba(89, 131, 190, 0.12), rgba(89, 131, 190, 0) 60%),
                linear-gradient(145deg, rgba(9, 19, 34, 0.94), rgba(18, 32, 54, 0.9) 42%, rgba(34, 52, 81, 0.86) 100%),
                linear-gradient(rgba(255,255,255,0.03), rgba(255,255,255,0.03)),
                url('/static/panels/topo-bg-invert.png?v=6');
            background-size: cover, cover, cover, cover, cover, 820px 820px;
            background-blend-mode: screen, screen, soft-light, normal, normal, screen;
        }
        .layout > * {
            position: relative;
            z-index: 1;
        }
        /* Sidebar V5: SaaS light card layout */
        .panel-list.sidebar-saas {
            background: transparent !important;
            border: 0 !important;
            box-shadow: none !important;
            position: relative;
            isolation: isolate;
        }
        body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas {
            padding: 18px;
            border-radius: 28px;
            border: 1px solid rgba(255, 255, 255, 0.08) !important;
            background:
                linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03)),
                linear-gradient(145deg, rgba(6, 12, 24, 0.38), rgba(18, 29, 48, 0.2)) !important;
            box-shadow: 0 28px 46px rgba(3, 8, 20, 0.22), inset 0 1px 0 rgba(255,255,255,0.08) !important;
            backdrop-filter: blur(18px) saturate(1.08);
            -webkit-backdrop-filter: blur(18px) saturate(1.08);
            overflow: auto;
            max-height: calc(100vh - 132px);
        }
        body.theme-light:not(.force-mobile) .panel-list.sidebar-saas {
            border-color: rgba(148, 163, 184, 0.26) !important;
            background:
                linear-gradient(180deg, rgba(255,255,255,0.82), rgba(255,255,255,0.62)),
                linear-gradient(145deg, rgba(255,255,255,0.3), rgba(226, 234, 245, 0.22)) !important;
            box-shadow: 0 24px 40px rgba(15, 23, 42, 0.09), inset 0 1px 0 rgba(255,255,255,0.7) !important;
        }
        body.ui-v3:not(.force-mobile) .sidebar-saas .saas-card,
        body.ui-v3:not(.force-mobile) .sidebar-saas .saas-hero,
        body.ui-v3:not(.force-mobile) .sidebar-saas .panel-box {
            background:
                linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.03)),
                linear-gradient(155deg, rgba(8, 14, 26, 0.44), rgba(12, 22, 40, 0.24)) !important;
            border: 1px solid rgba(255, 255, 255, 0.08) !important;
            border-radius: 22px !important;
            box-shadow: 0 16px 28px rgba(2, 6, 23, 0.2), inset 0 1px 0 rgba(255,255,255,0.08) !important;
            backdrop-filter: blur(12px) saturate(1.06);
            -webkit-backdrop-filter: blur(12px) saturate(1.06);
        }
        body.theme-light:not(.force-mobile) .sidebar-saas .saas-card,
        body.theme-light:not(.force-mobile) .sidebar-saas .saas-hero,
        body.theme-light:not(.force-mobile) .sidebar-saas .panel-box {
            background:
                linear-gradient(180deg, rgba(255,255,255,0.9), rgba(250, 252, 255, 0.82)),
                linear-gradient(155deg, rgba(255,255,255,0.3), rgba(230, 237, 246, 0.18)) !important;
            border-color: rgba(148, 163, 184, 0.2) !important;
            box-shadow: 0 16px 28px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255,255,255,0.78) !important;
        }
        body.ui-v3:not(.force-mobile) .sidebar-saas .saas-search {
            padding: 16px;
            margin-bottom: 14px;
        }
        body.ui-v3:not(.force-mobile) .sidebar-saas .search-wrap label {
            color: #f8fbff !important;
            font-size: 13px;
            font-weight: 700;
            letter-spacing: 0.18em;
            text-transform: uppercase;
            letter-spacing: 0;
            margin: 0 0 14px 0;
            padding: 0 0 12px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        }
        body.ui-v3:not(.force-mobile) .sidebar-saas .saas-search #search-label {
            color: inherit !important;
            font-size: 13px !important;
            font-weight: 700 !important;
            letter-spacing: 0.18em !important;
            text-transform: uppercase !important;
        }
        body.ui-v3:not(.force-mobile) .sidebar-saas .search-wrap input {
            background: rgba(2, 6, 23, 0.42) !important;
            border: 1px solid rgba(255, 255, 255, 0.08) !important;
            color: #e2e8f0 !important;
            border-radius: 16px !important;
            min-height: 50px;
            padding-inline: 16px !important;
        }
        body.theme-light:not(.force-mobile) .sidebar-saas .search-wrap input {
            background: rgba(255,255,255,0.86) !important;
            border-color: rgba(148, 163, 184, 0.2) !important;
        }
        body.ui-v3:not(.force-mobile) .sidebar-saas .search-wrap button {
            border-radius: 16px !important;
            font-weight: 700 !important;
            min-height: 50px;
            padding-inline: 18px !important;
        }
        body.ui-v3:not(.force-mobile) .sidebar-saas .saas-hero {
            padding: 18px;
            margin-bottom: 14px;
            position: relative;
        }
        body.ui-v3:not(.force-mobile) .sidebar-saas .saas-hero-top {
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto;
            gap: 14px;
            align-items: flex-start;
        }
        body.ui-v3:not(.force-mobile) .sidebar-saas .saas-hero-top > :first-child {
            min-width: 0;
        }
        body.ui-v3:not(.force-mobile) .sidebar-saas #detail-title {
            margin: 0 0 6px 0;
            font-size: 24px !important;
            font-weight: 800;
            letter-spacing: -0.035em;
            color: #f7fbff;
            line-height: 1.02;
        }
        body.ui-v3:not(.force-mobile) .sidebar-saas .hero-info-title {
            margin: 0 0 12px 0;
            padding: 0 0 12px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            font-size: 13px;
            letter-spacing: 0.16em;
            text-transform: uppercase;
            color: rgba(232, 237, 245, 0.7);
            font-weight: 700;
            white-space: nowrap;
        }
        body.ui-v3:not(.force-mobile) .sidebar-saas .meta-line {
            color: #d2dceb !important;
            font-size: 14px;
            margin-bottom: 8px;
            display: grid;
            grid-template-columns: 24px minmax(0, max-content);
            align-items: center;
            column-gap: 8px;
            justify-content: start;
        }
        body.ui-v3:not(.force-mobile) .sidebar-saas .meta-emoji {
            width: 24px;
            text-align: center;
            font-size: 16px;
            line-height: 1;
        }
        body.ui-v3:not(.force-mobile) .sidebar-saas .meta-text {
            display: inline-block;
            white-space: nowrap;
            min-width: 0;
        }
        body.ui-v3:not(.force-mobile) .sidebar-saas .saas-icon-actions {
            display: flex;
            gap: 8px;
            flex: 0 0 auto;
            flex-wrap: nowrap;
            align-self: start;
        }
        body.ui-v3:not(.force-mobile) .sidebar-saas .hero-bottom-actions {
            display: flex;
            justify-content: flex-end;
            margin-top: 8px;
        }
        body.ui-v3:not(.force-mobile) .sidebar-saas .icon-ghost {
            width: 38px;
            height: 38px;
            border-radius: 14px;
            border: 1px solid rgba(255, 255, 255, 0.08);
            background: rgba(51, 65, 85, 0.48);
            color: #e2e8f0;
            font-size: 17px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
        }
        body.ui-v3:not(.force-mobile) .sidebar-saas #report-toggle.icon-ghost {
            width: 38px !important;
            height: 38px !important;
            min-height: 38px !important;
            border-radius: 14px !important;
            font-size: 17px !important;
            padding: 0 !important;
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.08) !important;
        }
        body.ui-v3:not(.force-mobile) .sidebar-saas .saas-card {
            padding: 20px;
            margin-bottom: 16px;
        }
        .panel-placeholder-card {
            position: relative;
            overflow: hidden;
            display: grid;
            justify-items: center;
            gap: 14px;
            text-align: center;
            color: #e2e8f0;
            background:
                linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03)),
                linear-gradient(145deg, rgba(9, 16, 30, 0.78), rgba(18, 31, 53, 0.5)) !important;
            border: 1px solid rgba(255, 255, 255, 0.08) !important;
            box-shadow: 0 24px 42px rgba(2, 6, 23, 0.22), inset 0 1px 0 rgba(255,255,255,0.08);
        }
.panel-placeholder-ornament {
    position: absolute;
    inset: -18% auto auto 56%;
            width: 240px;
            height: 240px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(251, 191, 36, 0.28) 0%, rgba(251, 191, 36, 0.08) 38%, transparent 72%);
            pointer-events: none;
            filter: blur(8px);
        }
        .panel-placeholder-kicker {
            position: relative;
            z-index: 1;
            display: inline-flex;
            align-items: center;
            min-height: 30px;
            padding: 0 14px;
            border-radius: 999px;
            border: 1px solid rgba(251, 191, 36, 0.28);
            background: rgba(15, 23, 42, 0.34);
            color: #fde68a;
            font-size: 11px;
            font-weight: 800;
            letter-spacing: 0.14em;
            text-transform: uppercase;
        }
        .panel-placeholder-card p {
            position: relative;
            z-index: 1;
            margin: 0;
            max-width: 460px;
            color: rgba(226, 232, 240, 0.82);
            font-size: 16px;
            line-height: 1.5;
        }
        body.ui-v3:not(.force-mobile) .panel-placeholder-card {
            padding: 26px 24px;
            border-radius: 28px !important;
            margin-bottom: 18px;
}
body.ui-v3.theme-light .panel-placeholder-card {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.74)),
        linear-gradient(145deg, rgba(255,255,255,0.34), rgba(226, 234, 245, 0.24)) !important;
            border-color: rgba(148, 163, 184, 0.2) !important;
            box-shadow: 0 20px 34px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255,255,255,0.72);
        }
        body.ui-v3.theme-light .panel-placeholder-card p {
            color: #475569;
}
body.ui-v3.theme-light .panel-placeholder-kicker {
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #0f172a;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-transform: none;
}
body.ui-v3.theme-light .panel-placeholder-ornament {
    display: none;
}
body.ui-v3.theme-light #panel-placeholder {
    text-align: left;
    justify-items: stretch;
}
body.ui-v3.theme-light #panel-placeholder .panel-placeholder-kicker {
    display: block;
    width: 100%;
    margin: 0 0 14px 0;
    padding: 0 0 12px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.28);
}
body.ui-v3.theme-light #panel-placeholder p {
    max-width: none;
}
        body.ui-v3:not(.force-mobile) .sidebar-saas .saas-card h4 {
            margin: 0 0 14px 0;
            padding: 0 0 12px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            font-size: 13px;
            letter-spacing: 0.18em;
            text-transform: uppercase;
            color: rgba(232, 237, 245, 0.7);
        }
        body.ui-v3:not(.force-mobile) .sidebar-saas .info-line {
            display: flex;
            gap: 10px;
            align-items: center;
            color: #cbd5e1;
            padding: 10px 0;
            border-bottom: 1px solid rgba(148, 163, 184, 0.24);
            font-size: 15px;
        }
        body.ui-v3:not(.force-mobile) .sidebar-saas .info-line:last-child {
            border-bottom: 0;
        }
        body.ui-v3:not(.force-mobile) .sidebar-saas #detail-dests .dest-table {
            margin-top: 0 !important;
            border: 0 !important;
            box-shadow: none !important;
            border-radius: 18px !important;
            overflow: hidden !important;
        }
        body.ui-v3:not(.force-mobile) .sidebar-saas #detail-dests .dest-table col.col-time {
            width: 32% !important;
        }
        body.ui-v3:not(.force-mobile) .sidebar-saas #detail-dests .dest-table col.col-type {
            width: 14% !important;
        }
        body.ui-v3:not(.force-mobile) .sidebar-saas #detail-dests .dest-table th,
        body.ui-v3:not(.force-mobile) .sidebar-saas #detail-dests .dest-table td {
            background: rgba(11, 18, 34, 0.34) !important;
            border-color: rgba(148, 163, 184, 0.24) !important;
            padding: 11px 12px !important;
        }
        body.ui-v3:not(.force-mobile) .sidebar-saas #detail-dests .dest-table td.col-dest,
        body.ui-v3:not(.force-mobile) .sidebar-saas #detail-dests .dest-table td.col-time {
            color: #cbd5e1 !important;
        }
        body.ui-v3:not(.force-mobile) .sidebar-saas .thumbs img {
            width: 96px !important;
            height: 96px !important;
            border-radius: 18px !important;
            border: 1px solid #dbe4ef !important;
            box-shadow: 0 12px 22px rgba(2, 6, 23, 0.16);
        }
        body.ui-v3:not(.force-mobile) .sidebar-saas .thumbs {
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
            align-items: flex-start;
        }
        body.ui-v3:not(.force-mobile) .sidebar-saas #detail-photo-add {
            width: 96px;
            height: 96px;
            padding: 0 !important;
            border-radius: 18px !important;
            border: 1px dashed rgba(255, 255, 255, 0.16) !important;
            background: rgba(51, 65, 85, 0.36) !important;
            color: #e2e8f0 !important;
            font-size: 28px !important;
            font-weight: 400 !important;
            line-height: 1 !important;
            display: inline-flex !important;
            align-items: center;
            justify-content: center;
            margin: 0 !important;
            position: static !important;
            top: auto !important;
            transform: none !important;
            align-self: flex-start !important;
        }
        body.ui-v3:not(.force-mobile) .sidebar-saas .saas-actions {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            margin-top: 10px;
        }
        body.ui-v3:not(.force-mobile) .sidebar-saas #report-toggle,
        body.ui-v3:not(.force-mobile) .sidebar-saas #contact-toggle {
            width: 100%;
            justify-content: center;
            min-height: 48px;
            border-radius: 16px;
            border: 1px solid rgba(255, 255, 255, 0.08) !important;
            background: rgba(51, 65, 85, 0.42) !important;
            color: #e2e8f0 !important;
            font-weight: 600 !important;
            letter-spacing: 0.01em;
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
        }
        body.ui-v3:not(.force-mobile) .sidebar-saas .saas-forms {
            display: grid;
            gap: 10px;
            margin-top: 12px;
        }
        body.ui-v3:not(.force-mobile) .sidebar-saas #report-form,
        body.ui-v3:not(.force-mobile) .sidebar-saas #contact-body {
            border: 1px solid rgba(255, 255, 255, 0.08);
            background: rgba(6, 12, 24, 0.24);
            border-radius: 18px;
            padding: 14px;
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
        }
        .map-column {
            display: flex;
            flex-direction: column;
            gap: 12px;
            align-items: flex-start;
            position: relative;
        }
        #map {
            height: calc(100vh - 160px);
            min-height: 70vh;
            width: 100%;
            border-radius: 12px;
            overflow: hidden;
            border: 1px solid #1f2937;
        }
        body:not(.force-mobile) .map-column {
            padding: 12px;
            border-radius: 34px;
            border: 1px solid rgba(255, 255, 255, 0.08);
            background:
                linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)),
                linear-gradient(150deg, rgba(6, 12, 24, 0.28), rgba(18, 29, 48, 0.16));
            box-shadow: 0 30px 52px rgba(3, 8, 20, 0.24), inset 0 1px 0 rgba(255,255,255,0.08);
            backdrop-filter: blur(18px) saturate(1.08);
            -webkit-backdrop-filter: blur(18px) saturate(1.08);
            overflow: hidden;
        }
        body:not(.force-mobile) .map-column::before {
            content: "";
            position: absolute;
            inset: 0;
            border-radius: inherit;
            pointer-events: none;
            background:
                radial-gradient(420px 180px at 12% 0%, rgba(244, 211, 94, 0.12), transparent 72%),
                radial-gradient(520px 220px at 100% 100%, rgba(128, 175, 255, 0.12), transparent 74%);
            opacity: 0.9;
        }
        body.theme-light:not(.force-mobile) .map-column {
            border-color: rgba(148, 163, 184, 0.24);
            background:
                linear-gradient(180deg, rgba(255,255,255,0.84), rgba(255,255,255,0.62)),
                linear-gradient(150deg, rgba(255,255,255,0.28), rgba(226, 234, 245, 0.2));
            box-shadow: 0 26px 44px rgba(15, 23, 42, 0.09), inset 0 1px 0 rgba(255,255,255,0.72);
        }
        body:not(.force-mobile) #map {
            border-radius: 26px;
            border: 1px solid rgba(255, 255, 255, 0.08);
            box-shadow:
                0 18px 34px rgba(2, 6, 23, 0.2),
                inset 0 1px 0 rgba(255,255,255,0.08);
        }
        body.theme-light:not(.force-mobile) #map {
            border-color: rgba(148, 163, 184, 0.2);
            box-shadow:
                0 18px 30px rgba(15, 23, 42, 0.08),
                inset 0 1px 0 rgba(255,255,255,0.62);
        }
        body:not(.force-mobile) .map-search-control {
            padding: 10px;
            border-radius: 18px;
            border-color: rgba(255, 255, 255, 0.08);
            background:
                linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)),
                linear-gradient(150deg, rgba(7, 14, 28, 0.42), rgba(17, 28, 48, 0.24));
            box-shadow: 0 16px 28px rgba(2, 6, 23, 0.22), inset 0 1px 0 rgba(255,255,255,0.08);
            backdrop-filter: blur(14px) saturate(1.08);
            -webkit-backdrop-filter: blur(14px) saturate(1.08);
        }
        body.theme-light:not(.force-mobile) .map-search-control {
            border-color: rgba(148, 163, 184, 0.24);
            background:
                linear-gradient(180deg, rgba(255,255,255,0.88), rgba(255,255,255,0.7)),
                linear-gradient(150deg, rgba(255,255,255,0.28), rgba(226, 234, 245, 0.18));
            box-shadow: 0 16px 28px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255,255,255,0.72);
        }
        body:not(.force-mobile) .map-locate-control button,
        body:not(.force-mobile) .map-search-toggle {
            width: 38px;
            height: 38px;
            border-radius: 12px;
            border-color: rgba(255, 255, 255, 0.08);
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
        }
        body.theme-light:not(.force-mobile) .map-locate-control button,
        body.theme-light:not(.force-mobile) .map-search-toggle {
            border-color: rgba(148, 163, 184, 0.24);
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.72);
        }
        .map-search-control {
            background: rgba(15, 23, 42, 0.45);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 8px;
            display: flex;
            gap: 6px;
            align-items: center;
            box-shadow: 0 6px 18px rgba(0,0,0,0.25);
            margin: 0;
            backdrop-filter: blur(4px);
        }
        .map-search-control.is-collapsed {
            background: transparent;
            border-color: transparent;
            box-shadow: none;
            padding: 0;
        }
        .leaflet-top.leaflet-left .map-search-control {
            position: absolute;
            top: 0;
            left: 52px;
            z-index: 1000;
        }
        .theme-light .map-search-control {
            background: rgba(255, 255, 255, 0.5);
        }
        .map-search-control input {
            width: 220px;
            background: rgba(255, 255, 255, 0.85);
            color: var(--text);
            border: 1px solid var(--border);
            border-radius: 8px;
            padding: 6px 8px;
        }
        #map-search-input {
            background: rgba(255, 255, 255, 0.9) !important;
            color: #111827 !important;
            caret-color: #111827 !important;
        }
        #map-search-input::placeholder {
            color: rgba(15, 23, 42, 0.5) !important;
        }
        .map-search-control.is-collapsed input,
        .map-search-control.is-collapsed #map-search-btn,
        .map-search-control.is-collapsed #map-search-msg {
            display: none;
        }
        .map-search-toggle {
            width: 32px;
            height: 32px;
            border-radius: 8px;
            border: 1px solid var(--border);
            background: rgba(255,255,255,0.6);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            color: #0f172a;
        }
        .theme-dark .map-search-toggle {
            background: rgba(255,255,255,0.92);
            color: #0f172a;
        }
        .map-locate-control {
            margin-top: 4px;
        }
        .map-locate-control button {
            width: 34px;
            height: 34px;
            border-radius: 8px;
            border: 1px solid var(--border);
            background: rgba(255,255,255,0.85);
            color: #0f172a;
            font-weight: 800;
            cursor: pointer;
        }
        .theme-dark .map-locate-control button {
            background: rgba(255,255,255,0.92);
            color: #0f172a;
        }
        .map-locate-control button.loading {
            opacity: 0.6;
            pointer-events: none;
        }
        .theme-dark .map-search-control input,
        .theme-dark #map-search-input {
            background: rgba(255, 255, 255, 0.9);
            color: #111827 !important;
            caret-color: #111827;
        }
        .theme-dark .map-search-control input::placeholder,
        .theme-dark #map-search-input::placeholder {
            color: rgba(15, 23, 42, 0.5);
        }
        .map-search-control button {
            background: #f4d35e;
            color: #111827;
            border: 1px solid #d0b24e;
            border-radius: 8px;
            padding: 6px 10px;
            cursor: pointer;
            font-weight: 700;
        }
        .map-search-control button:hover { filter: brightness(0.97); }
        .map-search-control .map-search-toggle {
            background: rgba(255,255,255,0.6);
            border-color: var(--border);
            color: #0f172a;
        }
        .theme-dark .map-search-control .map-search-toggle {
            background: rgba(255,255,255,0.92);
            border-color: var(--border);
            color: #0f172a;
        }
        .map-search-control .map-search-msg {
            font-size: 11px;
            color: var(--muted);
            margin-left: 4px;
            white-space: nowrap;
        }
        body:not(.force-mobile) .panel-list {
            background: linear-gradient(155deg, rgba(11, 18, 34, 0.72), rgba(11, 18, 34, 0.5));
            border: 1px solid rgba(148, 163, 184, 0.24);
            border-radius: 18px;
            padding: 10px 10px 14px;
            overflow: auto;
            max-height: calc(100vh - 132px);
            position: relative;
            box-shadow: 0 14px 30px rgba(2, 6, 23, 0.26);
            backdrop-filter: blur(3px);
            scrollbar-width: thin;
        }
        body:not(.force-mobile) .panel-card {
            background: var(--card);
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 14px;
            box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
            overflow: visible;
        }
        body:not(.force-mobile) .panel-box {
            border: 1px solid rgba(100, 116, 139, 0.52);
            border-radius: 14px;
            padding: 12px;
            margin-bottom: 14px;
            box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
            background: linear-gradient(160deg, rgba(11, 18, 34, 0.74), rgba(11, 18, 34, 0.5));
        }

        body:not(.force-mobile) .search-wrap { margin-bottom: 14px; position: relative; }
        body:not(.force-mobile) .search-wrap label {
            display: block;
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: #9fb0c6;
            margin-bottom: 6px;
            font-weight: 700;
        }
        body:not(.force-mobile) .search-row { display: flex; gap: 8px; align-items: center; flex-wrap: nowrap; }
        body:not(.force-mobile) .search-wrap input {
            flex: 1 1 auto;
            min-width: 0;
            padding: 10px 12px 10px 34px;
            border-radius: 10px;
            border: 1px solid rgba(71, 85, 105, 0.72);
            background: linear-gradient(150deg, rgba(11, 18, 34, 0.92), rgba(11, 18, 34, 0.78));
            color: var(--text);
            font-weight: 500;
            transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
            background-image: radial-gradient(circle at 14px 50%, rgba(148,163,184,0.8) 0 2px, transparent 3px);
            background-repeat: no-repeat;
        }
        body:not(.force-mobile) .search-wrap input:focus {
            outline: none;
            border-color: rgba(250, 204, 21, 0.7);
            box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.18);
        }
        body:not(.force-mobile) .search-wrap button {
            padding: 9px 13px;
            border-radius: 10px;
            border: 1px solid #1f2937;
            background: var(--accent);
            color: #1f2937;
            font-weight: 800;
            cursor: pointer;
            flex: 0 0 auto;
            transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.14s ease;
        }
        body:not(.force-mobile) .search-wrap button:hover {
            background: var(--accent-dark);
            color: #0b1222;
            transform: translateY(-1px);
            box-shadow: 0 8px 16px rgba(2, 6, 23, 0.26);
        }
        body:not(.force-mobile) .search-btn-clear {
            width: 32px;
            height: 32px;
            padding: 0 !important;
            min-width: 32px;
            border-radius: 999px !important;
            border: 1px solid #b91c1c !important;
            background: #dc2626 !important;
            color: #fff !important;
            font-weight: 900;
            display: none;
            align-items: center;
            justify-content: center;
        }
        body:not(.force-mobile) .search-results { margin-top: 10px; display: flex; flex-direction: column; gap: 7px; }
        body:not(.force-mobile) .search-item {
            padding: 9px 11px;
            border-radius: 10px;
            border: 1px solid rgba(71, 85, 105, 0.62);
            background: linear-gradient(150deg, rgba(11, 18, 34, 0.9), rgba(11, 18, 34, 0.76));
            cursor: pointer;
            transition: transform 0.14s ease, border-color 0.14s ease, box-shadow 0.14s ease;
        }
        body:not(.force-mobile) .search-item:hover {
            border-color: rgba(250, 204, 21, 0.55);
            transform: translateY(-1px);
            box-shadow: 0 8px 14px rgba(2, 6, 23, 0.22);
        }
        .search-item strong { display: block; }

        body:not(.force-mobile) .panel-card h3 { margin: 0 0 10px; font-size: 18px; display: flex; align-items: center; gap: 8px; }
        .panel-meta { color: var(--muted); font-size: 13px; margin-bottom: 8px; }
        .meta-line { margin: 2px 0; }

        .path-legend { display: flex; gap: 12px; flex-wrap: nowrap; margin: 14px 0 6px; justify-content: center; }
        .legend-pill {
            display: inline-flex; align-items: center; justify-content: center; gap: 8px;
            padding: 6px 10px; border-radius: 10px; font-size: 12px; font-weight: 700;
            min-width: 0; line-height: 1.1; flex: 0 0 auto; text-align: center; white-space: nowrap;
            background: transparent; border: 1px solid transparent; color: var(--text);
        }
        .legend-dot { width: 12px; height: 12px; border-radius: 999px; display: inline-block; }
        .legend-pill.type-hiking .legend-dot { background: #f4d35e; }
        .legend-pill.type-mountain .legend-dot { background: #b91c1c; }
        .legend-pill.type-alpine .legend-dot { background: #6a9ad8; }
        .legend-pill.type-winter_hiking .legend-dot { background: #e07acb; }
        .legend-pill.type-raquette .legend-dot { background: #e07acb; }
        .legend-pill.type-skirando .legend-dot { background: #e07acb; }
        .legend-pill.type-footroute .legend-dot { background: #22c55e; }
        .legend-pill.type-wheelchair .legend-dot { background: #ffffff; border: 1px solid #cbd5e1; }
        .legend-pill.type-nordic .legend-dot { background: #8fd3ff; }

        body:not(.force-mobile) .dest-table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 10px 0 0; table-layout: fixed; }
        body:not(.force-mobile) .dest-table th,
        body:not(.force-mobile) .dest-table td {
            padding: 8px 10px;
            font-size: 14px;
            text-align: left;
            border: 1px solid rgba(71, 85, 105, 0.52);
            background: rgba(11, 18, 34, 0.48);
        }
        body:not(.force-mobile) .dest-table th { color: var(--muted); font-weight: 600; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
        body:not(.force-mobile) .dest-table td { font-weight: 700; }
        body:not(.force-mobile) .dest-table tr:first-child th:first-child { border-top-left-radius: 10px; }
        body:not(.force-mobile) .dest-table tr:first-child th:last-child { border-top-right-radius: 10px; }
        body:not(.force-mobile) .dest-table tr:last-child td:first-child { border-bottom-left-radius: 10px; }
        body:not(.force-mobile) .dest-table tr:last-child td:last-child { border-bottom-right-radius: 10px; }
        .dest-line2 { font-size: 0.85em; opacity: 0.85; font-weight: 600; display: block; }
        .dest-table .col-dest { width: 63%; }
        .dest-table .col-time { width: 24%; }
        .dest-table .col-type { width: 13%; max-width: 80px; white-space: nowrap; text-align: center; position: relative; }
        body:not(.force-mobile) .dest-heading { text-align: left; font-size: 11px; letter-spacing: 0.08em; color: #9fb0c6; margin-bottom: 8px; text-transform: uppercase; font-weight: 700; }
        .type-hiking { color: #f4d35e; }
        .type-mountain { color: #b91c1c; }
        .type-alpine { color: #6a9ad8; }
        .type-winter_hiking { color: #e07acb; }
        .type-raquette { color: #e07acb; }
        .type-skirando { color: #e07acb; }
        .type-footroute { color: #22c55e; }
        .type-wheelchair { color: #0f172a; }
        .type-nordic { color: #8fd3ff; }
        .type-dot { width: 12px; height: 12px; border-radius: 999px; display: inline-block; background: currentColor; margin-right: 8px; }
        .type-hint-mobile {
            position: absolute;
            right: calc(100% + 8px);
            top: 50%;
            transform: translateY(-50%);
            background: rgba(11, 18, 34, 0.95);
            color: #e2e8f0;
            border: 1px solid rgba(244, 211, 94, 0.75);
            border-radius: 8px;
            padding: 5px 8px;
            font-size: 11px;
            line-height: 1.2;
            white-space: normal;
            text-align: center;
            max-width: 120px;
            min-width: 84px;
            z-index: 20;
            pointer-events: none;
            box-shadow: 0 6px 16px rgba(2, 6, 23, 0.35);
        }
        /* Click-only layer chooser: stable layout, no hover-expand glitches */
        .leaflet-control-layers.rs-click-only {
            position: relative;
            overflow: visible;
            padding: 0 !important;
            background: #fff !important;
            border-radius: 4px !important;
            box-shadow: 0 1px 5px rgba(0, 0, 0, 0.65) !important;
        }
        .leaflet-control-layers.rs-click-only:hover {
            background: #fff !important;
        }
        .leaflet-control-layers.rs-click-only.leaflet-control-layers-expanded {
            padding: 0 !important;
            background: #fff !important;
            box-shadow: 0 1px 5px rgba(0, 0, 0, 0.65) !important;
        }
        .leaflet-control-layers.rs-click-only .leaflet-control-layers-toggle {
            display: block !important;
            opacity: 1 !important;
            background-color: #fff !important;
            width: 36px !important;
            height: 36px !important;
            border-radius: 10px !important;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230f172a' d='M12 3 3 7.5l9 4.5 9-4.5L12 3Zm-7.5 7.2V15L12 19l7.5-4v-4.8L12 14 4.5 10.2Zm0 5.3V20L12 24l7.5-4v-4.5L12 20 4.5 15.5Z'/%3E%3C/svg%3E") !important;
            background-repeat: no-repeat !important;
            background-position: center !important;
            background-size: 18px 18px !important;
            position: relative;
        }
        .leaflet-control-layers.rs-click-only .leaflet-control-layers-toggle::before { content: none !important; }
        .leaflet-control-layers.rs-click-only .leaflet-control-layers-list {
            display: none !important;
            position: absolute !important;
            top: calc(100% + 6px) !important;
            right: 0 !important;
            z-index: 1400 !important;
            background: #fff !important;
            border: 1px solid rgba(15, 23, 42, 0.2) !important;
            border-radius: 8px !important;
            padding: 8px 10px !important;
            box-shadow: 0 10px 20px rgba(2, 6, 23, 0.2) !important;
            white-space: nowrap !important;
        }
        .leaflet-control-layers.rs-click-only.rs-click-open .leaflet-control-layers-list {
            display: block !important;
        }
        .leaflet-left .leaflet-control-layers.rs-click-only .leaflet-control-layers-list {
            left: 0 !important;
            right: auto !important;
        }
        .leaflet-control-layers.rs-click-only.rs-click-open .leaflet-control-layers-toggle {
            display: block !important;
        }
        .leaflet-control-layers .leaflet-control-layers-list,
        .leaflet-control-layers .leaflet-control-layers-list label,
        .leaflet-control-layers .leaflet-control-layers-list span {
            color: #0f172a !important;
        }
        .leaflet-top.leaflet-right .leaflet-control-layers.rs-click-only {
            margin-top: 12px !important;
            margin-right: 12px !important;
            display: block !important;
            visibility: visible !important;
            opacity: 1 !important;
            width: 0 !important;
            height: 0 !important;
            border: 0 !important;
            box-shadow: none !important;
            background: transparent !important;
        }
        .leaflet-top.leaflet-right .leaflet-control-layers.rs-click-only .leaflet-control-layers-toggle {
            display: none !important;
        }
        .randosign-layer-toggle-wrap {
            margin-top: 12px !important;
            margin-right: 12px !important;
            border: 0 !important;
            background: transparent !important;
            box-shadow: none !important;
        }
        .randosign-layer-toggle {
            width: 38px;
            height: 38px;
            border: 1px solid rgba(15, 23, 42, 0.18);
            border-radius: 12px;
            background: rgba(255,255,255,0.96);
            box-shadow: 0 10px 18px rgba(15, 23, 42, 0.2);
            cursor: pointer;
            position: relative;
        }
        .randosign-layer-toggle span,
        .randosign-layer-toggle::before,
        .randosign-layer-toggle::after {
            content: "";
            position: absolute;
            left: 9px;
            right: 9px;
            height: 4px;
            border-radius: 4px;
            background: #0f172a;
        }
        .randosign-layer-toggle span { top: 10px; }
        .randosign-layer-toggle::before { top: 17px; opacity: 0.8; }
        .randosign-layer-toggle::after { top: 24px; opacity: 0.6; }
        .randosign-layer-toggle:hover {
            transform: translateY(-1px);
            box-shadow: 0 14px 22px rgba(15, 23, 42, 0.24);
        }
        .theme-light .randosign-layer-toggle {
            background: rgba(255,255,255,0.98);
        }
        .map-layer-floating-toggle {
            position: fixed;
            top: 164px;
            right: 18px;
            min-width: 92px;
            height: 42px;
            padding: 0 14px;
            border: 1px solid rgba(245, 158, 11, 0.34);
            border-radius: 13px;
            background: linear-gradient(180deg, rgba(251, 191, 36, 0.98), rgba(245, 158, 11, 0.94));
            color: #111827;
            font-weight: 800;
            letter-spacing: 0.01em;
            box-shadow: 0 14px 28px rgba(15, 23, 42, 0.26);
            cursor: pointer;
            z-index: 9000;
        }
        .map-layer-floating-toggle:hover {
            transform: translateY(-1px);
            box-shadow: 0 18px 32px rgba(15, 23, 42, 0.3);
        }
        .map-layer-floating-menu {
            position: fixed;
            top: 214px;
            right: 18px;
            width: 240px;
            padding: 12px;
            border: 1px solid rgba(148, 163, 184, 0.18);
            border-radius: 16px;
            background:
                linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,0.92));
            box-shadow: 0 18px 34px rgba(15, 23, 42, 0.24);
            z-index: 9001;
            display: block !important;
        }
        #map-layer-floating-menu .map-layer-menu-title {
            margin: 0 0 8px;
            color: #475569;
            font-size: 11px;
            font-weight: 800;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            display: block;
        }
        #map-layer-floating-menu .map-layer-menu-options {
            display: flex;
            flex-direction: column;
            gap: 8px;
            margin-bottom: 12px;
        }
        #map-layer-floating-menu .map-layer-option {
            width: 100%;
            min-height: 40px;
            padding: 10px 12px;
            border: 1px solid rgba(148, 163, 184, 0.18);
            border-radius: 12px;
            background: #ffffff;
            color: #0f172a;
            text-align: left;
            font-weight: 700;
            cursor: pointer;
            display: block !important;
            font-size: 14px;
            line-height: 1.25;
            white-space: normal;
            overflow: visible;
            opacity: 1 !important;
            visibility: visible !important;
        }
        #map-layer-floating-menu .map-layer-option.is-active {
            border-color: rgba(245, 158, 11, 0.34);
            background: linear-gradient(180deg, rgba(251, 191, 36, 0.96), rgba(245, 158, 11, 0.92));
            color: #111827;
        }
        body.force-mobile .map-layer-floating-toggle {
            top: calc(env(safe-area-inset-top, 0px) + 128px);
            right: 10px;
            min-width: 84px;
            height: 38px;
            padding: 0 12px;
            font-size: 13px;
        }
        body.force-mobile .map-layer-floating-menu {
            top: calc(env(safe-area-inset-top, 0px) + 176px);
            right: 10px;
            width: min(240px, calc(100vw - 20px));
        }
        body.theme-light .map-layer-floating-toggle {
            background: rgba(255,255,255,0.98);
        }
        .badge-hiking, .badge-mountain, .badge-alpine, .badge-raquette, .badge-skirando {
            display: block;
            padding: 4px 8px;
            border-radius: 8px;
            font-weight: 700;
            color: #0f172a;
            margin-bottom: 4px;
        }
        .badge-hiking { background: #f4d35e; color: #0f172a; }
        .badge-mountain { background: #f4d35e; color: #b91c1c; }
        .badge-alpine { background: #6a9ad8; color: #fff; }
        .badge-winter_hiking { background: #e07acb; color: #fff; }
        .badge-raquette { background: #e07acb; color: #fff; }
        .badge-skirando { background: #e07acb; color: #0f172a; }
        .badge-footroute { background: #22c55e; color: #ffffff; }
        .badge-wheelchair { background: #ffffff; color: #0f172a; border: 1px solid #cbd5e1; }
        .badge-nordic { background: #8fd3ff; color: #0f172a; }

        body:not(.force-mobile) .season-switch {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            margin-top: 2px;
        }
        body:not(.force-mobile) .season-switch.header-switch > div:first-child {
            display: inline-flex !important;
            align-items: center;
            gap: 6px !important;
            background: rgba(15, 23, 42, 0.48);
            border: 1px solid rgba(148, 163, 184, 0.16);
            border-radius: 18px;
            padding: 4px;
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
        }
        body:not(.force-mobile) .season-btn {
            padding: 7px 12px;
            border-radius: 14px;
            border: 1px solid transparent;
            background: transparent;
            color: #cbd5e1;
            font-weight: 700;
            cursor: pointer;
            box-shadow: none;
            font-size: 13px;
            min-height: 36px;
            transition: transform 0.14s ease, background 0.14s ease, color 0.14s ease, border-color 0.14s ease;
        }
        body:not(.force-mobile) .season-btn:hover { transform: translateY(-1px); background: rgba(148,163,184,0.12); color: #f8fafc; }
        .season-btn.active {
            background: var(--accent) !important;
            color: #111827 !important;
            border-color: var(--accent-dark) !important;
            box-shadow: 0 0 0 2px rgba(250, 204, 21, 0.35), 0 6px 14px rgba(2, 6, 23, 0.35) !important;
        }
        body.theme-dark:not(.force-mobile) .season-btn {
            border-color: rgba(148, 163, 184, 0.32);
            background: rgba(15, 23, 42, 0.3);
            color: #dbe3ef;
        }
        body.theme-dark:not(.force-mobile) .season-btn.active {
            border-color: #f4d35e !important;
            background: #f4d35e !important;
            color: #111827 !important;
            box-shadow: 0 0 0 2px rgba(244, 211, 94, 0.42), 0 8px 16px rgba(2, 6, 23, 0.42) !important;
        }
        body:not(.force-mobile) .type-multi {
            display: grid;
            gap: 8px;
            margin-top: 8px;
        }
        body:not(.force-mobile) .type-multi > div {
            display: flex !important;
            flex-wrap: wrap;
            gap: 6px !important;
            align-items: stretch;
            margin-top: 0 !important;
        }
        body:not(.force-mobile) .type-toggle {
            min-height: 36px;
            width: auto;
            min-width: 118px;
            border-radius: 14px;
            text-align: center;
            opacity: 0.72;
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
            font-size: 13px;
            transition: opacity 0.14s ease, transform 0.14s ease, box-shadow 0.14s ease, filter 0.14s ease;
        }
        body:not(.force-mobile) .type-toggle:hover {
            opacity: 0.92;
            transform: translateY(-1px);
            filter: saturate(1.05);
        }
        body:not(.force-mobile) .type-toggle.active {
            opacity: 1;
            box-shadow: 0 10px 18px rgba(2, 6, 23, 0.2), inset 0 1px 0 rgba(255,255,255,0.12);
        }

        body:not(.force-mobile) .photos-section { margin-top: 16px; border-top: 1px solid rgba(71, 85, 105, 0.62); padding-top: 12px; }
        body:not(.force-mobile) .photos-heading { text-align: left; font-size: 11px; letter-spacing: 0.08em; color: #9fb0c6; margin-bottom: 8px; text-transform: uppercase; font-weight: 700; }
        body:not(.force-mobile) .thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; align-items: flex-start; }
        body:not(.force-mobile) .thumbs img {
            width: 74px;
            height: 74px;
            object-fit: cover;
            border-radius: 10px;
            cursor: pointer;
            border: 1px solid rgba(71, 85, 105, 0.62);
            box-shadow: 0 6px 12px rgba(2, 6, 23, 0.22);
            transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease;
        }
        body:not(.force-mobile) .thumbs img:hover {
            border-color: rgba(250, 204, 21, 0.7);
            transform: translateY(-1px);
            box-shadow: 0 10px 18px rgba(2, 6, 23, 0.3);
        }

        body:not(.force-mobile) .report-section { margin-top: 16px; border-top: 1px solid rgba(71, 85, 105, 0.62); padding-top: 12px; }
        .report-heading { text-align: center; font-size: 13px; letter-spacing: 0.4px; color: var(--muted); margin-bottom: 8px; text-transform: uppercase; }
        .report-toggle {
            cursor: pointer;
            color: var(--accent);
            font-weight: 700;
            text-align: center;
            margin-bottom: 6px;
            display: inline-block;
            padding: 6px 12px;
            border: 1px solid var(--accent);
            border-radius: 10px;
            background: #0b1222;
        }
        .report-toggle:hover {
            background: var(--accent);
            color: #0f172a;
        }
        body:not(.force-mobile) #detail-photo-add,
        body:not(.force-mobile) #report-toggle,
        body:not(.force-mobile) #contact-toggle {
            border-radius: 10px !important;
            border-color: rgba(71, 85, 105, 0.72) !important;
            background: linear-gradient(140deg, rgba(11, 18, 34, 0.94), rgba(11, 18, 34, 0.78));
            box-shadow: 0 6px 12px rgba(2, 6, 23, 0.22);
            transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease, color 0.14s ease;
        }
        body:not(.force-mobile) #detail-photo-add:hover,
        body:not(.force-mobile) #report-toggle:hover,
        body:not(.force-mobile) #contact-toggle:hover {
            transform: translateY(-1px);
            border-color: rgba(250, 204, 21, 0.55) !important;
            box-shadow: 0 10px 18px rgba(2, 6, 23, 0.28);
        }
        body:not(.force-mobile) .subsection + .subsection {
            margin-top: 20px;
            padding-top: 12px;
            border-top: 1px dashed rgba(71, 85, 105, 0.5);
        }
        .report-form { display: none; }
        .report-form textarea {
            width: 100%; min-height: 80px; background: #0b1222; border: 1px solid #1f2937;
            border-radius: 8px; color: var(--text); padding: 8px 10px; resize: vertical;
        }
        .panel-popup {
            max-width: min(720px, calc(100vw - 88px));
            width: fit-content;
            box-sizing: border-box;
            padding: 12px;
            border: 0;
            border-radius: 0;
            background: transparent;
            box-shadow: none;
            backdrop-filter: none;
        }
        .panel-popup-top {
            display: block;
            gap: 14px;
            margin-bottom: 10px;
            padding: 12px 14px;
            border-radius: 16px;
            border: 1px solid rgba(148, 163, 184, 0.12);
            background: transparent;
            width: fit-content;
            max-width: 100%;
        }
        .panel-popup-header {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            justify-content: center;
            gap: 6px;
            min-width: 0;
            flex: 1;
        }
        .panel-popup-kicker {
            font-size: 10px;
            font-weight: 800;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            color: #fde68a;
            display: inline-flex;
            align-items: center;
            min-height: 24px;
            padding: 0 10px;
            border-radius: 999px;
            background: rgba(15, 23, 42, 0.34);
            border: 1px solid rgba(148, 163, 184, 0.18);
        }
        .panel-popup-title {
            font-size: 19px;
            font-weight: 800;
            letter-spacing: -0.02em;
            color: #f8fafc;
            text-align: left;
            text-wrap: balance;
            line-height: 1.08;
        }
        .panel-popup-meta-row {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            align-items: center;
        }
        body:not(.force-mobile) .panel-popup-meta-row {
            flex-wrap: nowrap;
        }
        .panel-popup-alt {
            color: #e2e8f0;
            font-size: 11px;
            text-align: left;
            margin: 0;
            display: inline-flex;
            align-items: center;
            gap: 5px;
            border-radius: 999px;
            padding: 2px 8px;
            background: rgba(15, 23, 42, 0.65);
            border: 1px solid rgba(148, 163, 184, 0.28);
        }
        .panel-popup-count {
            color: #cbd5e1;
            font-size: 11px;
            text-align: left;
            display: inline-flex;
            align-items: center;
            gap: 5px;
            border-radius: 999px;
            padding: 2px 8px;
            background: rgba(59, 130, 246, 0.18);
            border: 1px solid rgba(96, 165, 250, 0.2);
        }
        .panel-popup .popup-photo-open {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            border: 1px solid rgba(217, 119, 6, 0.34);
            background: linear-gradient(180deg, #fde68a, #fbbf24);
            color: #92400e;
            border-radius: 999px;
            padding: 2px 8px;
            cursor: pointer;
            font-size: 11px;
            font-weight: 700;
            line-height: 1.1;
            position: relative;
            z-index: 1302;
            pointer-events: auto;
            touch-action: manipulation;
            box-shadow: none;
            transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease;
            text-decoration: none;
        }
        .panel-popup .popup-photo-open:hover {
            transform: translateY(-1px);
            box-shadow: 0 8px 16px rgba(217, 119, 6, 0.18);
            border-color: rgba(180, 83, 9, 0.48);
        }
        .popup-dests-wrap {
            border-radius: 16px;
            border: 1px solid rgba(148, 163, 184, 0.12);
            background: transparent;
            padding: 10px 10px 8px;
            width: fit-content;
            max-width: 100%;
            box-sizing: border-box;
        }
        .popup-dests-wrap-scroll {
            position: relative;
        }
        body:not(.force-mobile) .popup-dests-wrap-scroll::before,
        body:not(.force-mobile) .popup-dests-wrap-scroll::after {
            content: "";
            position: absolute;
            top: 34px;
            bottom: 22px;
            width: 34px;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.16s ease;
            z-index: 2;
        }
        body:not(.force-mobile) .popup-dests-wrap-scroll::before {
            left: 10px;
            background: linear-gradient(90deg, rgba(15, 23, 42, 0.78), rgba(15, 23, 42, 0));
        }
        body:not(.force-mobile) .popup-dests-wrap-scroll::after {
            right: 10px;
            background: linear-gradient(90deg, rgba(15, 23, 42, 0), rgba(15, 23, 42, 0.78));
        }
        body:not(.force-mobile) .popup-dests-wrap-scroll.is-scrollable:not(.is-scroll-start)::before,
        body:not(.force-mobile) .popup-dests-wrap-scroll.is-scrollable:not(.is-scroll-end)::after {
            opacity: 1;
        }
        body:not(.force-mobile).theme-light .popup-dests-wrap-scroll::before {
            background: linear-gradient(90deg, rgba(225, 231, 240, 0.92), rgba(225, 231, 240, 0));
        }
        body:not(.force-mobile).theme-light .popup-dests-wrap-scroll::after {
            background: linear-gradient(90deg, rgba(225, 231, 240, 0), rgba(225, 231, 240, 0.92));
        }
        .popup-dests-title {
            margin-bottom: 8px;
            padding: 0 2px;
            color: #cbd5e1;
            font-size: 11px;
            font-weight: 800;
            letter-spacing: 0.1em;
            text-transform: uppercase;
        }
        .popup-dests {
            display: grid;
            grid-auto-flow: column;
            grid-auto-columns: max-content;
            width: max-content;
            gap: 10px;
            align-items: start;
            overflow-x: auto;
            overflow-y: hidden;
            padding: 2px 1px 4px;
            max-width: min(900px, calc(100vw - 80px));
            scrollbar-width: thin;
            -webkit-overflow-scrolling: touch;
        }
        body:not(.force-mobile) .popup-dests {
            cursor: auto;
            overscroll-behavior-x: contain;
            overscroll-behavior-y: none;
            padding-bottom: 10px;
        }
        body:not(.force-mobile) .popup-dests.popup-dests-multi-cols {
            display: flex;
            align-items: flex-start;
            width: max-content;
            max-width: 100%;
        }
        body:not(.force-mobile) .popup-dests.popup-dests-many-cols {
            max-width: min(var(--popup-three-cols-width, 682px), calc(100vw - 96px));
        }
        body:not(.force-mobile) .panel-popup.panel-popup-multi-cols {
            width: fit-content;
            max-width: calc(100vw - 48px);
        }
        body:not(.force-mobile) .panel-popup.panel-popup-multi-cols .panel-popup-top {
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
        }
        body:not(.force-mobile) .panel-popup.panel-popup-multi-cols .popup-dests-wrap {
            width: fit-content;
            max-width: 100%;
        }
        body:not(.force-mobile) .popup-dests::-webkit-scrollbar {
            height: 10px;
        }
        body:not(.force-mobile) .popup-dests::-webkit-scrollbar-thumb {
            background: rgba(148, 163, 184, 0.55);
            border-radius: 999px;
        }
        body:not(.force-mobile) .popup-dests::-webkit-scrollbar-track {
            background: rgba(15, 23, 42, 0.12);
            border-radius: 999px;
        }
        .popup-dest-col { padding-left: 0; list-style: none; margin: 0; min-width: 220px; width: max-content; }
        .popup-dest-col li { text-align: left; display: grid; grid-template-columns: max-content auto; column-gap: 12px; row-gap: 2px; align-items: start; width: max-content; min-width: 100%; }
        .popup-dest-col li.panel-popup-dest {
            margin-bottom: 6px;
            border-radius: 13px;
            padding: 8px 12px;
            font-weight: 700;
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
            border: 1px solid rgba(255, 255, 255, 0.14);
        }
        .popup-dest-col li.panel-popup-dest.badge-hiking,
        .popup-dest-col li.panel-popup-dest.badge-footroute,
        .popup-dest-col li.panel-popup-dest.badge-wheelchair,
        .popup-dest-col li.panel-popup-dest.badge-winter_hiking,
        .popup-dest-col li.panel-popup-dest.badge-raquette,
        .popup-dest-col li.panel-popup-dest.badge-skirando,
        .popup-dest-col li.panel-popup-dest.badge-nordic {
            clip-path: polygon(0 0, 95% 0, 100% 50%, 95% 100%, 0 100%);
        }
        .popup-dest-col li.panel-popup-dest.badge-mountain {
            clip-path: polygon(0 0, 95% 0, 100% 50%, 95% 100%, 0 100%);
            background:
                linear-gradient(180deg, #ffffff 0 34%, #dc2626 34% 66%, #ffffff 66% 100%) right / 36px 100% no-repeat,
                linear-gradient(180deg, #f6d65f, #f0bf36) !important;
            color: #111827 !important;
            padding-right: 42px !important;
            border-color: #e9b12a !important;
        }
        .popup-dest-col li.panel-popup-dest.badge-alpine {
            clip-path: polygon(0 0, 95% 0, 100% 50%, 95% 100%, 0 100%);
            background:
                linear-gradient(180deg, #ffffff 0 34%, #2563eb 34% 66%, #ffffff 66% 100%) right / 36px 100% no-repeat,
                linear-gradient(180deg, #7fb0ee, #5f93da) !important;
            color: #eff6ff !important;
            padding-right: 42px !important;
            border-color: #4c81cc !important;
        }
        .popup-dest-col .dest-line1 {
            white-space: nowrap;
            overflow-wrap: normal;
            word-break: keep-all;
        }
        .popup-dest-col .dest-line2 {
            font-size: 0.8em;
            grid-column: 1 / -1;
            white-space: nowrap;
            overflow-wrap: normal;
            word-break: keep-all;
        }
        .popup-dest-col .dest-time { justify-self: end; white-space: nowrap; font-weight: 700; }
        .leaflet-popup,
        .leaflet-popup-content,
        .leaflet-popup-content-wrapper {
            max-width: none;
        }
        .leaflet-popup-content {
            width: max-content;
        }
        body:not(.force-mobile) .leaflet-popup-content-wrapper,
        body:not(.force-mobile) .leaflet-popup-content {
            width: max-content !important;
        }
        body:not(.force-mobile) .leaflet-popup-content-wrapper {
            max-height: min(78vh, 720px);
            overflow-x: hidden;
            overflow-y: auto;
        }
        body:not(.force-mobile) .leaflet-popup-content {
            max-height: min(78vh, 720px);
            overflow: visible;
        }
        body:not(.force-mobile) .panel-popup {
            max-height: calc(min(78vh, 720px) - 24px);
            overflow-x: hidden;
            overflow-y: auto;
        }
        .leaflet-container .leaflet-top,
        .leaflet-container .leaflet-bottom {
            z-index: 1200 !important;
        }
        .leaflet-container .leaflet-control-container,
        .leaflet-container .leaflet-control {
            z-index: 1201 !important;
        }
        .leaflet-control-layers-expanded .leaflet-control-layers-list {
            z-index: 1202 !important;
        }
        /* Keep panel popups above Leaflet controls (+/-/layers/search) */
        .leaflet-container .leaflet-pane.leaflet-popup-pane {
            z-index: 7600 !important;
        }
        .leaflet-container .leaflet-popup {
            z-index: 7601 !important;
        }
        .leaflet-container .leaflet-popup-content-wrapper {
            background: transparent !important;
            padding: 0 !important;
            border-radius: 22px;
            overflow: hidden;
            border: 1px solid rgba(148, 163, 184, 0.2);
            box-shadow: 0 20px 36px rgba(2, 6, 23, 0.24);
        }
        .leaflet-container .leaflet-popup-content-wrapper,
        .leaflet-container .leaflet-popup-tip {
            background: rgba(15, 23, 42, 0.94) !important;
            background-image: none !important;
            background-size: auto !important;
            background-repeat: no-repeat !important;
            background-color: rgba(15, 23, 42, 0.94) !important;
        }
        .leaflet-container .leaflet-popup-content {
            background: transparent !important;
            background-color: transparent !important;
            border-radius: 12px;
            color: var(--text);
            margin: 0 !important;
        }
        .leaflet-container .leaflet-popup-close-button {
            color: #ef4444 !important;
            font-weight: 900;
            font-size: 22px !important;
            opacity: 0.95;
        }
        .leaflet-container .leaflet-popup-close-button:hover {
            color: #f87171 !important;
            opacity: 1;
        }
        .marker-cluster-small,
        .marker-cluster-medium,
        .marker-cluster-large {
            background-color: rgba(250, 204, 21, 0.45) !important;
        }
        .marker-cluster-small div,
        .marker-cluster-medium div,
        .marker-cluster-large div {
            background-color: #facc15 !important;
            color: #0f172a !important;
            font-weight: 800;
        }
        .theme-light .leaflet-container .leaflet-popup-content-wrapper,
        .theme-light .leaflet-container .leaflet-popup-tip {
            background: rgba(255, 255, 255, 0.96) !important;
            background-image: none !important;
            background-size: auto !important;
            background-repeat: no-repeat !important;
            background-color: rgba(255, 255, 255, 0.96) !important;
        }
        .theme-light .panel-popup {
            background: transparent;
            border-color: transparent;
        }
        .theme-light .panel-popup-title {
            color: #0f172a;
        }
        .theme-light .panel-popup-top,
        .theme-light .popup-dests-wrap {
            background: transparent;
            border-color: rgba(148, 163, 184, 0.14);
        }
        .theme-light .popup-dest-col li.panel-popup-dest {
            border-color: rgba(148, 163, 184, 0.34);
            box-shadow: inset 0 0 0 1px rgba(71, 85, 105, 0.16);
        }
        .theme-light .popup-dests-title {
            color: #334155 !important;
            font-weight: 900;
        }
        .theme-light .panel-popup-alt,
        .theme-light .panel-popup-count {
            color: #1e293b !important;
            background: #cbd5e1 !important;
            border: 1px solid #94a3b8 !important;
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.45);
        }
        .theme-light .panel-popup-alt {
            color: #0f172a !important;
            background: #b8c4d4 !important;
            border: 1px solid #7c8da3 !important;
        }
        .theme-light .panel-popup .popup-photo-open {
            color: #92400e;
            background: linear-gradient(180deg, #fde68a, #fbbf24);
            border-color: rgba(217, 119, 6, 0.34);
        }
        .theme-light .panel-popup .popup-photo-open:hover {
            border-color: rgba(180, 83, 9, 0.48);
            box-shadow: 0 8px 16px rgba(217, 119, 6, 0.18);
        }
        .report-email {
            width: 100%;
            background: #0b1222;
            border: 1px solid #1f2937;
            border-radius: 8px;
            color: var(--text);
            padding: 8px 10px;
            margin-top: 6px;
        }
        .report-actions { display: flex; justify-content: flex-end; margin-top: 8px; gap: 8px; }
        .report-btn-submit {
            padding: 8px 12px; border-radius: 8px; border: 1px solid #1f2937;
            background: #22c55e; color: #0b1222; font-weight: 700; cursor: pointer;
        }
        .report-btn-submit:hover { background: #16a34a; }
        .report-status { font-size: 12px; color: var(--muted); margin-top: 4px; }

        /* Confirmation overlay after submission */
        #submitConfirm {
            position: fixed;
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
            inset: 0;
            display: none;
            align-items: center;
            justify-content: center;
            background: rgba(0,0,0,0.65);
            z-index: 12000;
        }
        #submitConfirm .confirm-box {
            background: #0f172a;
            border: 1px solid #1f2937;
            border-radius: 12px;
            padding: 18px;
            width: min(420px, 90vw);
            box-shadow: 0 20px 60px rgba(0,0,0,0.5);
            text-align: center;
            color: var(--text);
        }
        #submitConfirm .confirm-actions {
            display: flex;
            gap: 10px;
            justify-content: center;
            margin-top: 14px;
        }
        #submitConfirm button {
            padding: 8px 12px;
            border-radius: 10px;
            border: 1px solid #1f2937;
            cursor: pointer;
            font-weight: 700;
        }
        #submitConfirm .primary { background: #22c55e; color: #0f172a; border-color: #16a34a; }
        #submitConfirm .secondary { background: #111827; color: var(--text); }
        .theme-light #submitConfirm .confirm-box {
            background: #ffffff;
            border: 1px solid #d5dbe6;
            color: #0f172a;
            box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
        }
        .theme-light #submitConfirm button {
            border-color: #d5dbe6;
            color: #0f172a;
        }
        .theme-light #submitConfirm .secondary {
            background: #f9fbff;
        }

        /* Lightbox */
        #lightboxOverlay {
            display: none;
            position: fixed;
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
            inset: 0;
            background: rgba(0,0,0,0.85);
            z-index: 20000;
            align-items: center;
            justify-content: center;
            overscroll-behavior: contain;
            touch-action: auto;
        }
        #lightboxOverlay img {
            max-width: 90vw;
            max-height: 90vh;
            border-radius: 10px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.6);
            transform-origin: center center;
            user-select: none;
            -webkit-user-drag: none;
            cursor: grab;
            position: relative;
            z-index: 1;
        }
        #lightboxOverlay img.dragging { cursor: grabbing; }
        #lightboxOverlay .close-btn {
            position: absolute;
            top: 16px;
            right: 20px;
            font-size: 32px;
            color: #fff;
            cursor: pointer;
            font-weight: 700;
            line-height: 1;
            z-index: 21010;
        }
        #lightboxOverlay .counter {
            position: absolute;
            top: 16px;
            left: 20px;
            color: #fff;
            font-weight: 700;
            font-size: 16px;
            line-height: 1;
            background: rgba(0,0,0,0.45);
            border-radius: 999px;
            padding: 6px 10px;
            user-select: none;
            z-index: 21010;
        }
        #lightboxOverlay .controls {
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            display: flex;
            justify-content: space-between;
            padding: 0 24px;
            color: #fff;
            font-size: 32px;
            pointer-events: none;
            z-index: 21005;
        }
        #lightboxOverlay .controls span {
            pointer-events: auto;
            background: rgba(0,0,0,0.45);
            padding: 8px 12px;
            border-radius: 10px;
            user-select: none;
        }
        #floatViewer {
            position: fixed;
            left: 50%;
            top: 120px;
            transform: translateX(-50%);
            width: auto;
            height: auto;
            max-width: 95vw;
            max-height: 90vh;
            background: rgba(12, 18, 32, 0.96);
            border: 1px solid #1f2937;
            border-radius: 12px;
            display: none;
            flex-direction: column;
            z-index: 19000;
            resize: both;
            overflow: hidden;
            box-shadow: 0 18px 40px rgba(0,0,0,0.45);
        }
        #floatViewer .float-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 8px 10px;
            cursor: move;
            user-select: none;
            border-bottom: 1px solid rgba(148,163,184,0.2);
            color: #e5e7eb;
            font-weight: 600;
        }
        #floatViewer .float-close {
            background: transparent;
            border: none;
            color: #e5e7eb;
            font-size: 20px;
            cursor: pointer;
        }
        #floatViewer .float-body {
            flex: 1;
            position: relative;
            overflow: hidden;
            padding: 0;
            background: #0f172a;
        }
        #floatViewer .float-canvas {
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%) scale(1);
            transform-origin: center;
            cursor: grab;
        }
        #floatViewer .float-canvas.dragging {
            cursor: grabbing;
        }
        #floatViewer img {
            display: block;
            max-width: none;
            max-height: none;
            user-select: none;
            -webkit-user-drag: none;
        }
        #floatViewer .float-controls {
            position: absolute;
            right: 10px;
            bottom: 10px;
            display: flex;
            gap: 6px;
        }
        #floatViewer .float-controls button {
            border: 1px solid rgba(255,255,255,0.25);
            background: rgba(15,23,42,0.8);
            color: #fff;
            width: 30px;
            height: 30px;
            border-radius: 999px;
            cursor: pointer;
        }


        .subsection {
            border: 4px solid rgba(255,255,255,0.35);
            border-radius: 10px;
            padding: 14px;
            margin-bottom: 16px;
            background: rgba(255,255,255,0.05);
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
        }
        .theme-light .subsection {
            border-color: var(--panel-border-strong);
            background: #f8fafc;
            box-shadow: inset 0 1px 0 rgba(15,23,42,0.06);
        }
        .sub-heading {
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 0.4px;
            color: var(--muted);
            margin: 0 0 6px;
            text-align: left;
        }
        .subsection + .subsection { margin-top: 16px; }
        /* Light theme refinement (Swiss clean) */
        .theme-light {
            --bg: #f5f7fb;
            --panel: #ffffff;
            --accent: #f4d35e;
            --accent-dark: #e6c24d;
            --muted: #556070;
            --text: #0f172a;
            --card: rgba(255, 255, 255, 0.72);
            --border: #d5dbe6;
            --panel-border-strong: #c6cfdd;
            --topo-bg: url('/static/panels/topo-bg.png?v=6');
        }
        .theme-light header {
            background: rgba(255, 255, 255, 0.14);
            border-bottom: 1px solid #d5dbe6;
            box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
        }
        .theme-light header .title-wrap {
            background: transparent;
            border: none;
            box-shadow: none;
        }
        .theme-light header .title-wrap p {
            color: #000;
            text-shadow: none;
        }
        .theme-light .header-actions {
            background: linear-gradient(140deg, rgba(255, 255, 255, 0.82), rgba(248, 250, 252, 0.64));
            border-color: #d5dbe6;
        }
        .theme-light .season-wrap {
            background: linear-gradient(140deg, rgba(255, 255, 255, 0.78), rgba(248, 250, 252, 0.62));
            border-color: #c6cfdd;
        }
        .theme-light .season-wrap,
        .theme-light .panel-list,
        .theme-light .panel-box,
        .theme-light .panel-card {
            background: rgba(255, 255, 255, 0.72);
            border-color: #d5dbe6;
            box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
            backdrop-filter: blur(6px);
        }
        .theme-light .panel-list { border: 1px solid #d5dbe6; }
        .theme-light .panel-box { border-color: #c6cfdd; }
        .theme-light .search-wrap input,
        .theme-light .search-item {
            background: #f8fafc;
            color: #0f172a;
            border-color: #d5dbe6;
        }
        .theme-light .season-btn {
            background: #f9fbff;
            border-color: #d5dbe6;
            color: #0f172a;
        }
        .theme-light .season-btn.active {
            background: #f4d35e;
            border-color: #dcb13c;
            color: #0f172a;
            box-shadow: 0 0 0 2px rgba(220, 177, 60, 0.35);
        }
        .theme-light .type-toggle { border-color: #d5dbe6; }
        .theme-light .theme-switch { border-color: #d5dbe6; background: #f9fbff; }
        .theme-light .header-btn { background: #f9fbff; border-color: #d5dbe6; color: #0f172a; }
        body.theme-light:not(.force-mobile) .search-wrap label { color: #64748b; }
        body.theme-light:not(.force-mobile) .search-wrap input {
            background: linear-gradient(150deg, rgba(255,255,255,0.95), rgba(248,250,252,0.9));
            border-color: #d5dbe6;
            color: #0f172a;
        }
        body.theme-light:not(.force-mobile) .search-item {
            background: linear-gradient(150deg, rgba(255,255,255,0.95), rgba(248,250,252,0.9));
            border-color: #d5dbe6;
            color: #0f172a;
        }
        body.theme-light:not(.force-mobile) .season-switch.header-switch > div:first-child {
            background: rgba(255,255,255,0.86);
            border-color: #d5dbe6;
        }
        body.theme-light:not(.force-mobile) .season-btn { color: #334155; }
        body.theme-light:not(.force-mobile) .season-btn:hover { background: rgba(148,163,184,0.14); color: #0f172a; }
        body.theme-light:not(.force-mobile) .dest-table th,
        body.theme-light:not(.force-mobile) .dest-table td {
            background: rgba(255,255,255,0.9);
            border-color: #d5dbe6;
            color: #0f172a;
        }
        body.theme-light:not(.force-mobile) .dest-table td.type-hiking { color: #f4d35e !important; }
        body.theme-light:not(.force-mobile) .dest-table td.type-mountain { color: #b91c1c !important; }
        body.theme-light:not(.force-mobile) .dest-table td.type-alpine { color: #6a9ad8 !important; }
        body.theme-light:not(.force-mobile) .dest-table td.type-winter_hiking { color: #e07acb !important; }
        body.theme-light:not(.force-mobile) .dest-table td.type-raquette { color: #e07acb !important; }
        body.theme-light:not(.force-mobile) .dest-table td.type-skirando { color: #e07acb !important; }
        body.theme-light:not(.force-mobile) .dest-table td.type-footroute { color: #22c55e !important; }
        body.theme-light:not(.force-mobile) .dest-table td.type-wheelchair { color: #0f172a !important; }
        body.theme-light:not(.force-mobile) .dest-table td.type-nordic { color: #8fd3ff !important; }
        body.theme-light:not(.force-mobile) .dest-heading,
        body.theme-light:not(.force-mobile) .photos-heading {
            color: #64748b;
        }
        body.theme-light:not(.force-mobile) .thumbs img {
            border-color: #cbd5e1;
            box-shadow: 0 6px 12px rgba(15, 23, 42, 0.12);
        }
        body.theme-light:not(.force-mobile) #detail-photo-add,
        body.theme-light:not(.force-mobile) #report-toggle,
        body.theme-light:not(.force-mobile) #contact-toggle {
            background: linear-gradient(140deg, rgba(255,255,255,0.96), rgba(248,250,252,0.9));
            border-color: #d5dbe6 !important;
            color: #0f172a;
            box-shadow: 0 6px 12px rgba(15, 23, 42, 0.12);
        }
        .theme-light #map { border-color: #c6cfdd; }
        .theme-light .header-actions select,
        .theme-light .user-toggle {
            background: #f9fbff !important;
            border: 1px solid #d5dbe6 !important;
            color: #0f172a !important;
        }
        .theme-light .user-dropdown {
            background: #f9fbff;
            border: 1px solid #d5dbe6;
            box-shadow: 0 10px 16px rgba(15, 23, 42, 0.12);
        }
        .theme-light #contact-message,
        .theme-light #contact-email {
            background: #f8fafc !important;
            color: #0f172a !important;
            border: 1px solid #d5dbe6 !important;
        }
        .theme-light #contact-send {
            background: #22c55e !important;
            border: 1px solid #16a34a !important;
            color: #0f172a !important;
        }
        .theme-light #submitModal .modal-content {
            background:
                linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.94)),
                var(--topo-bg);
            background-size: cover, 220px 220px;
            background-repeat: no-repeat, repeat;
            border: 1px solid #d5dbe6;
            box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
        }
        @media (min-width: 701px) {
            .theme-light #submitModal .modal-actions {
                border-top-color: rgba(148, 163, 184, 0.28);
                background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.96) 34%, rgba(255, 255, 255, 0.98));
            }
        }
        .theme-light .submit-review-contact {
            background: rgba(248, 250, 252, 0.78);
            border-color: rgba(148, 163, 184, 0.34);
        }
        .theme-light #submitModal .modal-field,
        .theme-light #submitModal textarea,
        .theme-light #submitModal select,
        .theme-light #submitModal input[type="file"] {
            background: #f8fafc;
            color: #0f172a;
            border: 1px solid #d5dbe6;
        }
        .theme-light #submitModal .modal-btn,
        .theme-light #submitModal .rotate-btn {
            background: #f9fbff;
            color: #0f172a;
            border: 1px solid #d5dbe6;
        }
        .theme-light #submitModal .modal-btn.primary {
            background: #22c55e;
            color: #0f172a;
            border: 1px solid #16a34a;
        }
        .theme-light .row-del {
            background: #f8fafc;
            border-color: #d5dbe6;
            color: #dc2626;
        }
        .theme-light .file-btn {
            background: #f8fafc;
            border-color: #d5dbe6;
            color: #0f172a;
        }
        .theme-light .file-name { display: none; }
        .theme-light .desktop-mode .file-name { display: inline-block; color: #334155; }
        .theme-light .header-actions .primary-cta {
            background: #f4d35e;
            border-color: #dcb13c;
            color: #0f172a;
            box-shadow: 0 2px 0 rgba(0,0,0,0.12);
        }
        body.theme-light:not(.force-mobile) .panel-list {
            background: linear-gradient(155deg, rgba(255, 255, 255, 0.86), rgba(248, 250, 252, 0.72));
            border: 1px solid #d5dbe6;
            box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
        }
        .theme-light .season-wrap {
            box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
        }

        /* Desktop left menu redesign */
        body.ui-v3:not(.force-mobile) .panel-list {
            border-radius: 22px;
            padding: 14px 14px 16px;
            border: 1px solid rgba(148, 163, 184, 0.28);
            background: linear-gradient(160deg, rgba(8, 14, 27, 0.74), rgba(10, 18, 34, 0.62));
            box-shadow: 0 20px 44px rgba(2, 6, 23, 0.34);
            backdrop-filter: blur(10px) saturate(1.08);
            -webkit-backdrop-filter: blur(10px) saturate(1.08);
        }
        body.ui-v3:not(.force-mobile) .panel-list .panel-card {
            border-radius: 16px;
            border: 1px solid rgba(148, 163, 184, 0.22);
            background: linear-gradient(170deg, rgba(12, 20, 36, 0.78), rgba(10, 18, 32, 0.64));
            box-shadow: 0 10px 24px rgba(2, 6, 23, 0.24);
            padding: 14px 14px 13px;
        }
        body.ui-v3:not(.force-mobile) .panel-list .panel-box {
            border-radius: 14px;
            border: 1px solid rgba(148, 163, 184, 0.3);
            background: linear-gradient(165deg, rgba(15, 23, 42, 0.58), rgba(15, 23, 42, 0.36));
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
            padding: 12px;
        }
        body.ui-v3:not(.force-mobile) .panel-list .panel-card h3 {
            margin-bottom: 11px;
            font-size: 17px;
            letter-spacing: 0.01em;
        }
        body.ui-v3:not(.force-mobile) .panel-list .search-wrap label,
        body.ui-v3:not(.force-mobile) .panel-list .dest-heading,
        body.ui-v3:not(.force-mobile) .panel-list .photos-heading {
            color: #9fb1c9;
            font-size: 10px;
            letter-spacing: 0.12em;
            font-weight: 800;
        }
        body.ui-v3:not(.force-mobile) .panel-list .search-row {
            gap: 7px;
        }
        body.ui-v3:not(.force-mobile) .panel-list .search-wrap input {
            border-radius: 12px;
            border: 1px solid rgba(148, 163, 184, 0.34);
            background: linear-gradient(160deg, rgba(9, 15, 28, 0.88), rgba(8, 14, 26, 0.72));
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
        }
        body.ui-v3:not(.force-mobile) .panel-list .search-wrap input:focus {
            border-color: rgba(250, 204, 21, 0.68);
            box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.07);
        }
        body.ui-v3:not(.force-mobile) .panel-list .search-wrap button {
            border-radius: 12px;
            border-color: rgba(217, 119, 6, 0.84);
            box-shadow: 0 8px 18px rgba(2, 6, 23, 0.24);
        }
        body.ui-v3:not(.force-mobile) .panel-list .search-item {
            border-radius: 11px;
            border: 1px solid rgba(148, 163, 184, 0.34);
            background: linear-gradient(165deg, rgba(13, 20, 35, 0.86), rgba(10, 17, 31, 0.7));
        }
        body.ui-v3:not(.force-mobile) .panel-list .dest-table {
            border-spacing: 0;
            overflow: hidden;
            border-radius: 12px;
        }
        body.ui-v3:not(.force-mobile) .panel-list .dest-table th,
        body.ui-v3:not(.force-mobile) .panel-list .dest-table td {
            background: rgba(13, 21, 37, 0.56);
            border-color: rgba(148, 163, 184, 0.3);
        }
        body.ui-v3:not(.force-mobile) .panel-list .dest-table th {
            background: rgba(15, 23, 42, 0.72);
            color: #b8c5d8;
        }
        body.ui-v3:not(.force-mobile) .panel-list .thumbs img {
            border-radius: 12px;
            border: 1px solid rgba(148, 163, 184, 0.38);
            box-shadow: 0 8px 18px rgba(2, 6, 23, 0.25);
        }
        body.ui-v3:not(.force-mobile) .panel-list #detail-photo-add,
        body.ui-v3:not(.force-mobile) .panel-list #report-toggle,
        body.ui-v3:not(.force-mobile) .panel-list #contact-toggle {
            border-radius: 12px !important;
            border-color: rgba(148, 163, 184, 0.42) !important;
            background: linear-gradient(160deg, rgba(12, 20, 36, 0.9), rgba(10, 16, 30, 0.75));
        }

        body.ui-v3.theme-light:not(.force-mobile) .panel-list {
            border-color: #cdd7e5;
            background: linear-gradient(160deg, rgba(255, 255, 255, 0.84), rgba(248, 250, 252, 0.72));
            box-shadow: 0 18px 36px rgba(15, 23, 42, 0.14);
        }
        body.ui-v3.theme-light:not(.force-mobile) .panel-list .panel-card {
            border-color: #d4ddeb;
            background: linear-gradient(170deg, rgba(255, 255, 255, 0.9), rgba(247, 250, 253, 0.8));
            box-shadow: 0 10px 20px rgba(15, 23, 42, 0.1);
        }
        body.ui-v3.theme-light:not(.force-mobile) .panel-list .panel-box {
            border-color: #d3dce9;
            background: linear-gradient(165deg, rgba(255, 255, 255, 0.86), rgba(248, 250, 252, 0.78));
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
        }
        body.ui-v3.theme-light:not(.force-mobile) .panel-list .search-wrap label,
        body.ui-v3.theme-light:not(.force-mobile) .panel-list .dest-heading,
        body.ui-v3.theme-light:not(.force-mobile) .panel-list .photos-heading {
            color: #64748b;
        }
        body.ui-v3.theme-light:not(.force-mobile) .panel-list .search-wrap input {
            border-color: #d1d9e6;
            background: linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(246, 249, 252, 0.92));
            color: #0f172a;
        }
        body.ui-v3.theme-light:not(.force-mobile) .panel-list .search-item {
            border-color: #d2dbe8;
            background: linear-gradient(165deg, rgba(255, 255, 255, 0.94), rgba(247, 250, 253, 0.9));
            color: #0f172a;
        }
        body.ui-v3.theme-light:not(.force-mobile) .panel-list .dest-table th,
        body.ui-v3.theme-light:not(.force-mobile) .panel-list .dest-table td {
            border-color: #d1dae8;
            background: rgba(255, 255, 255, 0.86);
        }
        body.ui-v3.theme-light:not(.force-mobile) .panel-list .dest-table th {
            background: rgba(241, 245, 249, 0.95);
            color: #64748b;
        }
        body.ui-v3.theme-light:not(.force-mobile) .panel-list #detail-photo-add,
        body.ui-v3.theme-light:not(.force-mobile) .panel-list #report-toggle,
        body.ui-v3.theme-light:not(.force-mobile) .panel-list #contact-toggle {
            border-color: #d0d8e5 !important;
            background: linear-gradient(160deg, rgba(255, 255, 255, 0.94), rgba(246, 249, 252, 0.92));
            color: #0f172a;
        }

        /* Force-mobile final overrides (keep map fullscreen) */
        body.force-mobile,
        body.force-mobile .layout {
            height: 100vh;
            overflow: hidden;
        }
        body.force-mobile header { position: fixed; z-index: 1405; }
        body.force-mobile .panel-list { z-index: 1100; }
        .mobile-panel-toggle {
            display: none;
            position: fixed;
            right: 14px;
            bottom: 18px;
            z-index: 1200;
            background: var(--card);
            color: var(--text);
            border: 1px solid var(--border);
            border-radius: 999px;
            padding: 10px 14px;
            font-weight: 700;
            box-shadow: 0 10px 22px rgba(0,0,0,0.25);
        }
        .mobile-sheet-handle {
            display: none;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 10px 0 8px;
            cursor: pointer;
        }
        .mobile-sheet-handle span {
            display: inline-block;
            width: 58px;
            height: 6px;
            border-radius: 999px;
            background: rgba(148, 163, 184, 0.9);
            box-shadow: 0 1px 0 rgba(255,255,255,0.12);
        }
        .theme-dark .mobile-sheet-handle span {
            background: rgba(248, 250, 252, 0.7);
        }
        body.force-mobile .layout {
            display: block;
            grid-template-columns: 1fr;
            gap: 0;
            padding: 0;
            height: 100vh;
            isolation: auto !important;
        }
        body.force-mobile #map {
            position: fixed !important;
            top: 0 !important;
            left: 0 !important;
            right: 0 !important;
            bottom: 0 !important;
            width: 100vw !important;
            max-width: 100vw !important;
            height: 100dvh !important;
            min-height: 100dvh !important;
            border-radius: 0 !important;
            border: none !important;
            z-index: 900;
            background: #0b1222;
        }
        body.force-mobile .panel-list {
            position: fixed;
            left: 50%;
            right: auto;
            top: 96px;
            bottom: calc(env(safe-area-inset-bottom, 0px) + 8px);
            width: min(860px, calc(100vw - 16px));
            border-radius: 18px;
            background: linear-gradient(155deg, rgba(11, 18, 34, 0.9), rgba(11, 18, 34, 0.76));
            border: 1px solid rgba(148, 163, 184, 0.4);
            box-shadow: 0 20px 42px rgba(0,0,0,0.42);
            backdrop-filter: blur(8px);
            padding: 0 10px 12px;
            transform: translateX(-50%);
            transition:
                transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.24s ease,
                border-color 0.24s ease,
                height 0.24s cubic-bezier(0.22, 1, 0.36, 1),
                max-height 0.24s cubic-bezier(0.22, 1, 0.36, 1);
            z-index: 1308;
            overflow-y: auto;
            overscroll-behavior: contain;
            -webkit-overflow-scrolling: touch;
            scroll-padding-top: 12px;
            scroll-padding-bottom: 30vh;
        }
        body.force-mobile .panel-list.mobile-collapsed {
            top: auto !important;
            bottom: calc(env(safe-area-inset-bottom, 0px) + 8px) !important;
            transform: translateX(-50%) translateY(calc(100% - 24px));
            background: rgba(248, 250, 252, 0.9);
            border: 1px solid rgba(148, 163, 184, 0.72);
            box-shadow: 0 10px 20px rgba(15, 23, 42, 0.2);
            padding: 0;
            height: 42px !important;
            max-height: 42px !important;
            overflow: hidden !important;
        }
        .theme-dark body.force-mobile .panel-list.mobile-collapsed {
            background: rgba(10, 16, 30, 0.82);
            border: 1px solid rgba(148, 163, 184, 0.35);
            box-shadow: 0 10px 22px rgba(0,0,0,0.35);
        }
        body.force-mobile .panel-list.mobile-collapsed > :not(.mobile-sheet-handle) {
            opacity: 0;
            pointer-events: none;
            height: 0;
            margin: 0;
            padding: 0;
            overflow: hidden;
        }
        body.force-mobile #submitModal .dest-row {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
        }
        body.force-mobile #submitModal .dest-row .dest-name {
            flex: 1 1 100%;
        }
        body.force-mobile #submitModal .dest-row {
            display: grid;
            grid-template-columns: 82px minmax(0, 1fr) 78px;
            grid-template-areas:
                "name name emoji"
                "duration type del";
            row-gap: 6px;
            column-gap: 6px;
            padding-bottom: 10px;
            margin-bottom: 10px;
            border-bottom: 1px solid rgba(148, 163, 184, 0.28);
        }
        body.force-mobile #submitModal .dest-row .dest-name { grid-area: name; }
        body.force-mobile #submitModal .dest-row .dest-emoji { grid-area: emoji; min-width: 78px; width: 78px; justify-self: end; }
        body.force-mobile #submitModal .dest-row .dest-duration { grid-area: duration; min-width: 40px; }
        body.force-mobile #submitModal .dest-row .dest-type { grid-area: type; min-width: 0; width: 100%; }
        body.force-mobile #submitModal .dest-row .dest-del { grid-area: del; justify-self: flex-end; }
        body.force-mobile .mobile-panel-toggle,
        body.force-mobile .mobile-sheet-handle { display: flex; }
        body.force-mobile .mobile-panel-toggle { z-index: 1204; }
        body.force-mobile .panel-resizer { display: none !important; }
        body.force-mobile .panel-collapse { display: none !important; }
        body.force-mobile .menu-toggle-show { display: none !important; }
        body.force-mobile .leaflet-top.leaflet-left { margin-top: var(--mobile-header-offset, 86px); }
        body.force-mobile .leaflet-top.leaflet-right { margin-top: var(--mobile-header-offset, 86px); }
        body.force-mobile .map-search-control {
            max-width: calc(100vw - 122px);
        }
        body.force-mobile .map-search-control input {
            width: min(46vw, 170px);
        }
        body.force-mobile .map-search-control.is-collapsed {
            max-width: none;
        }
        body.force-mobile .leaflet-popup-content {
            overflow-y: auto;
            overflow-x: hidden;
            max-height: min(68vh, 520px);
        }

        body.force-mobile header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1205;
            display: grid;
            grid-template-columns: auto minmax(0, 1fr) auto;
            grid-template-areas:
                "brand title actions"
                "filters filters filters";
            gap: 6px 8px;
            padding: calc(env(safe-area-inset-top, 0px) + 6px) 10px 7px;
            min-height: auto;
            align-items: center;
            background:
                linear-gradient(rgba(11, 18, 34, 0.68), rgba(11, 18, 34, 0.68)),
                var(--topo-bg);
            background-repeat: no-repeat, repeat;
            background-size: cover, 260px 260px;
            overflow: visible;
            isolation: isolate;
        }
        body.force-mobile header img.logo { height: 56px; order: 0; grid-area: brand; }
        body.force-mobile .title-wrap {
            order: 0;
            grid-area: title;
            min-width: 0;
            display: grid;
            grid-template-columns: minmax(0, 1fr);
            align-items: center;
            column-gap: 6px;
            border-radius: 0;
            padding: 2px 4px;
            border: none;
            background: transparent;
            box-shadow: none;
            align-self: center;
        }
        body.force-mobile .title-wrap h1 { font-size: 18px; line-height: 1.05; }
        body.force-mobile .title-wrap p {
            grid-column: 1;
            font-size: 11px;
            margin: 2px 0 0 0;
            color: #000;
            text-shadow: none;
            line-height: 1.05;
            display: block;
            overflow: visible;
            text-wrap: balance;
        }
        body.force-mobile .title-wrap #panel-count {
            grid-column: 1;
            align-self: start;
            justify-self: start;
            margin: 2px 0 0 0;
        }
        body.theme-light.force-mobile .title-wrap p {
            color: #000;
            text-shadow: none;
        }
        body.force-mobile .header-actions {
            order: 0;
            grid-area: actions;
            width: auto;
            display: flex;
            flex-wrap: nowrap;
            gap: 4px 6px;
            align-items: center;
            justify-content: flex-end;
            margin-left: auto;
            margin-top: 0;
            padding: 2px 1px 3px 6px;
            border-radius: 10px;
            border: 1px solid rgba(148,163,184,0.22);
            background: rgba(11, 18, 34, 0.38);
            justify-self: end;
            align-self: end;
            position: relative;
            transform: translateY(5px);
            margin-right: -2px;
        }
        body.force-mobile .header-actions > #panel-count {
            position: static;
            margin: 0;
            padding: 0 !important;
            border: 0 !important;
            background: transparent !important;
            box-shadow: none !important;
            pointer-events: none;
            font-size: 11px;
            line-height: 1;
            white-space: nowrap;
            z-index: 5;
        }
        body.ui-v3.theme-dark.force-mobile .title-wrap p {
            color: #ffffff !important;
            text-shadow: none !important;
        }
        body.ui-v3.theme-dark.force-mobile .header-actions > #panel-count,
        body.ui-v3.theme-dark.force-mobile .header-actions > #panel-count .count-label,
        body.ui-v3.theme-dark.force-mobile .header-actions > #panel-count .count-value {
            color: #ffffff !important;
            text-shadow: none !important;
        }
        body.ui-v3.theme-dark.force-mobile .header-actions > #panel-count .count-icon {
            filter: drop-shadow(0 1px 1px rgba(0,0,0,0.45)) !important;
        }
        body.force-mobile #filter-toggle {
            height: 32px;
            min-height: 32px;
            padding: 0 10px;
            font-size: 12px;
            line-height: 1;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }
        body.force-mobile #open-submit {
            height: 32px;
            min-height: 32px;
            padding: 0 10px;
            font-size: 12px;
            max-width: none;
            white-space: nowrap;
            line-height: 1;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }
        body.force-mobile #settings-toggle {
            height: 32px;
            min-height: 32px;
            width: 40px;
            padding: 0;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }
        body.force-mobile .season-wrap {
            order: 1;
            grid-area: filters;
            width: 100%;
            display: none;
            border-radius: 16px;
            margin-top: 2px;
            padding: 10px 10px 12px;
        }
        body.force-mobile .season-wrap .type-multi {
            margin-top: 10px;
            padding-top: 10px;
            border-top: 1px solid rgba(244, 211, 94, 0.62);
        }
        body.force-mobile .season-wrap .header-switch > div {
            display: grid !important;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 6px !important;
            width: 100%;
        }
        body.force-mobile .season-wrap .type-multi > div {
            display: grid !important;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 8px !important;
            width: 100%;
            margin-top: 0 !important;
        }
        body.force-mobile .season-wrap .type-multi > div + div {
            margin-top: 8px !important;
        }
        body.force-mobile .season-wrap .season-btn,
        body.force-mobile .season-wrap .type-toggle {
            width: 100%;
            justify-content: center;
            min-height: 44px;
            padding: 6px 10px;
            border-radius: 18px;
            font-size: 13px;
            line-height: 1.15;
        }
        body.force-mobile .season-wrap .type-toggle[data-type="footroute"] {
            grid-column: 2;
        }
        body.force-mobile .season-wrap .type-toggle[data-type="wheelchair"] {
            grid-column: 1 / span 2;
            justify-self: center;
            width: min(180px, 100%);
        }
        body.force-mobile .panel-count {
            font-size: 12px;
            padding: 1px 4px;
            margin-top: 0;
            border-radius: 8px;
            line-height: 1;
        }
        body.force-mobile #panel-count {
            display: none !important;
        }
        body.force-mobile .panel-count .count-icon { width: 12px; height: 14px; }
        body.force-mobile .panel-count .count-label { display: inline; }
        body.force-mobile .panel-count .count-value {
            font-weight: 650;
        }
        body.force-mobile.filters-open .season-wrap { display: block; }
        body.force-mobile #filter-toggle-mobile { margin-left: 0; }
        body:not(.force-mobile) header {
            grid-template-columns: auto 1fr auto;
            align-items: center;
            row-gap: 0;
        }
        body:not(.force-mobile) header > .brand-link {
            grid-column: 1 / 2;
        }
        body:not(.force-mobile) header > .header-actions {
            grid-column: 3 / 4;
        }
        body:not(.force-mobile) header > .season-wrap {
            position: absolute;
            justify-self: auto;
        }
        body:not(.force-mobile) .season-wrap {
            width: fit-content;
            max-width: min(760px, 55vw);
            overflow: hidden;
            transform-origin: center center;
            transition: max-height 260ms ease, opacity 220ms ease, transform 220ms ease, margin 220ms ease, padding 220ms ease;
            max-height: 260px;
            opacity: 1;
            margin-top: 0;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 7200;
            box-shadow: 0 12px 28px rgba(2, 6, 23, 0.36);
        }
        body:not(.force-mobile) .season-wrap .header-switch,
        body:not(.force-mobile) .season-wrap .type-multi {
            width: fit-content;
            max-width: min(760px, 55vw);
        }
        body:not(.force-mobile) .season-wrap .type-multi {
            padding-top: 10px;
            border-top: 1px solid rgba(244, 211, 94, 0.62);
        }
        body:not(.force-mobile) .season-wrap.is-collapsed {
            max-height: 0;
            opacity: 0;
            transform: translate(-50%, -50%) scale(0.98);
            margin: 0 !important;
            padding-top: 0 !important;
            padding-bottom: 0 !important;
            pointer-events: none;
        }
        body:not(.force-mobile) .type-toggle {
            padding: 6px 11px;
            min-height: 30px;
            font-size: 14px;
            white-space: nowrap;
            max-width: none;
            overflow: visible;
            text-overflow: clip;
        }
        body.ui-v3:not(.force-mobile) .season-wrap {
            padding: 16px 18px;
            border-radius: 28px;
            border-color: rgba(255, 255, 255, 0.08);
            background:
                linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)),
                linear-gradient(145deg, rgba(9, 16, 30, 0.46), rgba(20, 31, 52, 0.24));
            box-shadow: 0 24px 42px rgba(3, 8, 20, 0.24), inset 0 1px 0 rgba(255,255,255,0.08);
            backdrop-filter: blur(18px) saturate(1.08);
            -webkit-backdrop-filter: blur(18px) saturate(1.08);
        }
        body.ui-v3.theme-dark:not(.force-mobile) .season-wrap {
            border-width: 1px;
        }
        body.ui-v3.theme-light:not(.force-mobile) .season-wrap {
            border-color: rgba(148, 163, 184, 0.22);
            background:
                linear-gradient(180deg, rgba(255,255,255,0.88), rgba(255,255,255,0.68)),
                linear-gradient(145deg, rgba(255,255,255,0.26), rgba(226, 234, 245, 0.18));
            box-shadow: 0 20px 36px rgba(15, 23, 42, 0.1), inset 0 1px 0 rgba(255,255,255,0.74);
        }
        body.ui-v3:not(.force-mobile) .season-wrap .header-switch {
            gap: 10px;
            align-items: center;
        }
        body.ui-v3:not(.force-mobile) .season-wrap .type-multi {
            gap: 8px;
            padding-top: 14px;
            margin-top: 12px;
            border-top: 1px solid rgba(244, 211, 94, 0.5);
        }
        body.ui-v3:not(.force-mobile) .header-switch .season-btn,
        body.ui-v3:not(.force-mobile) .type-toggle {
            min-height: 36px;
            padding: 8px 14px;
            border-radius: 14px;
            border: 1px solid rgba(255, 255, 255, 0.08);
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
        }
        body.ui-v3.theme-light:not(.force-mobile) .header-switch .season-btn,
        body.ui-v3.theme-light:not(.force-mobile) .type-toggle {
            border-color: rgba(148, 163, 184, 0.2);
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.72);
        }
        body.ui-v3:not(.force-mobile) #filter-toggle {
            display: inline-flex !important;
        }
        body.ui-v3:not(.force-mobile) #desktop-filters-slot {
            display: grid;
            grid-template-columns: auto 1fr auto;
            align-items: center;
            column-gap: 10px;
            row-gap: 10px;
            margin: 0 0 14px 0;
            min-height: 36px;
        }
        body.ui-v3:not(.force-mobile) .panel-collapse {
            margin: 0;
            width: 34px;
            height: 34px;
            border-radius: 12px;
            flex: 0 0 auto;
            order: 1;
        }
        body.ui-v3:not(.force-mobile) #desktop-filters-slot #filter-toggle {
            min-height: 36px;
            padding: 0 14px;
            border-radius: 16px;
            order: 2;
            justify-self: center;
            margin: 0;
        }
        body.ui-v3:not(.force-mobile) #desktop-filters-slot #panel-count {
            order: 3;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            justify-self: end;
            min-width: 168px;
            text-align: right;
            margin: 0;
            line-height: 1;
            border: 0 !important;
            background: transparent !important;
            box-shadow: none !important;
            outline: 0 !important;
            backdrop-filter: none !important;
            -webkit-backdrop-filter: none !important;
        }
        body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas .season-wrap {
            order: 4;
            grid-column: 1 / -1;
            position: relative;
            top: auto;
            left: auto;
            transform: none;
            width: 100%;
            max-width: none;
            max-height: 520px;
            opacity: 1;
            margin: 0 0 14px 0;
            z-index: 1;
            border: 0.75px solid rgba(244, 211, 94, 0.68);
            overflow: auto;
        }
        body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas .season-wrap.is-collapsed {
            max-height: 0;
            overflow: hidden;
            opacity: 0;
            transform: translateY(-6px);
            margin: 0;
            padding-top: 0;
            padding-bottom: 0;
            border-width: 0;
            pointer-events: none;
        }
        @media (max-width: 1280px) {
            header {
                grid-template-columns: auto auto 1fr;
                row-gap: 8px;
            }
            .header-actions {
                grid-column: 1 / -1;
                justify-content: flex-end;
                width: fit-content;
                margin-left: auto;
            }
        }
        @media (max-width: 900px) {
            header { min-height: 72px; }
            header img.logo { height: 88px; }
            .layout {
                grid-template-columns: 1fr;
                gap: 0;
                padding: 8px 8px 0;
            }
            #map {
                height: calc(100vh - 86px);
                min-height: auto;
                border-radius: 12px;
            }
            .panel-list {
                position: fixed;
                left: 8px;
                right: 8px;
                bottom: 8px;
                max-height: 70vh;
                border-radius: 16px;
                background: var(--card);
                border: 1px solid var(--border);
                box-shadow: 0 18px 36px rgba(0,0,0,0.35);
                padding: 0 10px 10px;
                transition: transform 0.25s ease;
                z-index: 1100;
            }
            .panel-list.mobile-collapsed {
                transform: translateY(calc(100% - 72px));
            }
            .mobile-panel-toggle {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                gap: 6px;
            }
            .mobile-sheet-handle {
                display: flex;
                min-height: 42px;
            }
            .mobile-sheet-handle span {
                width: 52px;
                height: 6px;
                border-radius: 999px;
                background: rgba(148, 163, 184, 0.95);
                box-shadow: 0 0 0 1px rgba(255,255,255,0.16);
            }
            .panel-list.mobile-collapsed {
                border-color: rgba(148, 163, 184, 0.82);
                box-shadow: 0 14px 28px rgba(0,0,0,0.45);
            }
        }
        @media (max-width: 900px) and (orientation: landscape) {
            body.force-mobile #submitModal {
                align-items: flex-start;
                padding-top: calc(env(safe-area-inset-top, 0px) + 64px);
                padding-bottom: 8px;
            }
            body.force-mobile #submitModal .modal-content {
                max-height: calc(100dvh - (env(safe-area-inset-top, 0px) + 76px));
            }
            body.force-mobile header {
                grid-template-columns: auto 1fr auto;
                grid-template-areas: "brand title actions";
                gap: 8px;
                padding: calc(env(safe-area-inset-top, 0px) + 4px) 8px 4px;
                align-items: center;
                min-height: 52px;
                background:
                    linear-gradient(rgba(11, 18, 34, 0.68), rgba(11, 18, 34, 0.68)),
                    var(--topo-bg);
                background-repeat: no-repeat, repeat;
                background-size: cover, 260px 260px;
            }
            body.force-mobile header img.logo {
                height: 40px;
                flex: 0 0 auto;
            }
            body.force-mobile .title-wrap {
                order: 0;
                min-width: 0;
                max-width: calc(100vw - 220px);
                padding: 4px 6px;
                border-radius: 8px;
            }
            body.force-mobile .title-wrap h1 {
                font-size: 15px;
                line-height: 1.1;
                margin: 0;
            }
            body.force-mobile .title-wrap p {
                font-size: 9px;
                line-height: 1.1;
                margin: 0;
                opacity: 1;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
                color: #000;
                text-shadow: none;
            }
            body.force-mobile .header-actions {
                order: 0;
                width: auto;
                margin-left: auto;
                flex: 0 0 auto;
                display: flex;
                flex-wrap: nowrap;
                align-items: center;
                justify-content: flex-end;
                gap: 5px;
                flex-shrink: 0;
            }
            body.force-mobile #filter-toggle,
            body.force-mobile #open-submit,
            body.force-mobile #settings-toggle {
                margin: 0;
                white-space: nowrap;
            }
            body.force-mobile #open-submit {
                max-width: none;
                padding: 5px 8px;
                font-size: 11px;
            }
            body.force-mobile .season-wrap {
                display: none !important;
                position: fixed;
                top: calc(env(safe-area-inset-top, 0px) + 54px);
                left: calc(env(safe-area-inset-left, 0px) + 64px);
                right: calc(env(safe-area-inset-right, 0px) + 64px);
                width: auto;
                max-height: min(44vh, 260px);
                overflow: auto;
                z-index: 1206;
                border-radius: 14px;
                border-width: 1px;
                box-shadow: 0 14px 28px rgba(0,0,0,0.38);
                background: linear-gradient(155deg, rgba(11, 18, 34, 0.94), rgba(11, 18, 34, 0.84));
                padding: 10px;
            }
            body.theme-light.force-mobile .season-wrap {
                background: linear-gradient(155deg, rgba(255,255,255,0.96), rgba(248,250,252,0.92));
                border-color: #cbd5e1;
                box-shadow: 0 12px 24px rgba(15,23,42,0.18);
            }
            body.theme-light.force-mobile header {
                background:
                    linear-gradient(rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.86)),
                    var(--topo-bg);
                background-repeat: no-repeat, repeat;
                background-size: cover, 520px 520px;
            }
            body.theme-dark.force-mobile header {
                background:
                    linear-gradient(rgba(11, 18, 34, 0.72), rgba(11, 18, 34, 0.72)),
                    var(--topo-bg);
                background-repeat: no-repeat, repeat;
                background-size: cover, 520px 520px;
            }
            body.force-mobile.filters-open .season-wrap {
                display: block !important;
            }
            body.ui-v3.force-mobile .season-wrap {
                top: var(--mobile-header-offset, 86px) !important;
                left: 50% !important;
                right: auto !important;
                width: min(760px, calc(100vw - 16px)) !important;
                max-width: calc(100vw - 16px) !important;
                max-height: min(52vh, 420px) !important;
                transform: translateX(-50%) !important;
                padding: 10px !important;
                border-radius: 24px !important;
                border: 1px solid rgba(255, 255, 255, 0.08) !important;
                background:
                    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)),
                    linear-gradient(145deg, rgba(9, 16, 30, 0.78), rgba(17, 29, 49, 0.62)) !important;
                box-shadow: 0 20px 38px rgba(2, 6, 23, 0.24), inset 0 1px 0 rgba(255,255,255,0.08) !important;
            }
            body.ui-v3.force-mobile .season-wrap .header-switch > div {
                grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
                gap: 8px !important;
                padding: 4px !important;
                border-radius: 18px !important;
                background: rgba(15, 23, 42, 0.46) !important;
                border: 1px solid rgba(148, 163, 184, 0.16) !important;
            }
            body.ui-v3.force-mobile .season-wrap .type-multi > div {
                grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
                gap: 10px !important;
            }
            body.ui-v3.force-mobile .season-wrap .season-btn,
            body.ui-v3.force-mobile .season-wrap .type-toggle {
                min-height: 48px !important;
                padding: 8px 12px !important;
                font-size: 14px !important;
                white-space: normal !important;
                overflow: hidden !important;
                text-overflow: clip !important;
                text-align: center !important;
                border-radius: 18px !important;
                border: 1px solid rgba(148, 163, 184, 0.16) !important;
                box-shadow: inset 0 1px 0 rgba(255,255,255,0.08) !important;
            }
            body.force-mobile .leaflet-top.leaflet-left,
            body.force-mobile .leaflet-top.leaflet-right {
                margin-top: var(--mobile-header-offset, 46px);
            }
            body.force-mobile .panel-list {
                left: 50%;
                right: auto;
                width: min(760px, calc(100vw - 16px));
                max-height: min(72vh, 500px);
                transform: translateX(-50%);
            }
            body.force-mobile .panel-list.mobile-collapsed {
                transform: translateX(-50%) translateY(calc(100% - 34px));
            }
            body.force-mobile .mobile-sheet-handle {
                min-height: 24px;
            }
            body.force-mobile .mobile-sheet-handle span {
                width: 44px;
                height: 5px;
            }
            body.force-mobile .leaflet-popup-content {
                max-height: min(68vh, 520px);
                overflow-y: auto;
                overflow-x: hidden;
            }
        }
    
        /* force-mobile map override */
        body.force-mobile #map {
            height: 100svh !important;
            min-height: 100svh !important;
            width: 100vw !important;
        }

    
        body.force-mobile #map.leaflet-container { width: 100vw !important; height: 100dvh !important; }
        body.force-mobile #map { width: 100vw !important; height: 100dvh !important; }
        body.force-mobile .map-column { width: 100vw !important; height: 100dvh !important; }
        body.force-mobile .panel-card {
            border-radius: 14px;
            padding: 12px;
            box-shadow: 0 10px 22px rgba(0,0,0,0.26);
        }
        body.force-mobile .panel-box {
            border-width: 1px;
            border-color: rgba(148,163,184,0.34);
            background: linear-gradient(160deg, rgba(11,18,34,0.86), rgba(11,18,34,0.68));
        }
        body.force-mobile .search-wrap label {
            font-size: 11px;
            letter-spacing: 0.08em;
            font-weight: 700;
            margin-bottom: 6px;
        }
        body.force-mobile .panel-list.sidebar-saas #search-label {
            font-size: 16px !important;
            font-weight: 800 !important;
            letter-spacing: 0 !important;
            text-transform: none !important;
        }
        body.force-mobile .search-row {
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto auto;
            gap: 6px;
            align-items: center;
        }
        body.force-mobile .search-wrap input {
            min-height: 40px;
            border-radius: 11px;
            border: 1px solid rgba(148,163,184,0.4);
            background: rgba(11,18,34,0.84);
            padding: 9px 10px;
            font-size: 16px;
            color: var(--text);
        }
        body.force-mobile .search-wrap button {
            min-height: 40px;
            border-radius: 11px;
            padding: 0 10px;
            font-weight: 800;
            white-space: nowrap;
        }
        body.force-mobile .search-btn-clear {
            width: 34px;
            min-width: 34px;
            height: 40px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 11px !important;
            border: 1px solid #b91c1c !important;
            background: #dc2626 !important;
            color: #fff !important;
            font-weight: 900 !important;
        }
        body.force-mobile .search-results {
            margin-top: 8px;
            max-height: min(34vh, 260px);
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
            overscroll-behavior: contain;
            padding-right: 2px;
        }
        body.force-mobile .search-item {
            border-radius: 10px;
            border: 1px solid rgba(148,163,184,0.38);
            background: rgba(11,18,34,0.82);
            padding: 9px 10px;
        }
        body.force-mobile #panel-detail h3 {
            font-size: 22px;
            margin-bottom: 8px !important;
            line-height: 1.15;
        }
        body.force-mobile .panel-meta {
            font-size: 14px;
            margin-bottom: 6px;
            line-height: 1.35;
        }
        body.force-mobile .panel-list.sidebar-saas .meta-line {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        body.force-mobile .panel-list.sidebar-saas .meta-emoji {
            width: auto;
            min-width: 20px;
            text-align: center;
        }
        body.force-mobile .panel-list.sidebar-saas .meta-text {
            display: inline-block;
        }
        body.force-mobile .dest-table th,
        body.force-mobile .dest-table td {
            font-size: 13px;
            padding: 8px 8px;
            text-align: left !important;
        }
        body.force-mobile .dest-table .col-type {
            text-align: left !important;
        }
        body.force-mobile .thumbs {
            gap: 8px;
        }
        body.force-mobile .thumbs img {
            width: 76px;
            height: 76px;
            border-radius: 10px;
            border: 1px solid rgba(148,163,184,0.4);
        }
        body.force-mobile #detail-photo-add,
        body.force-mobile #report-toggle,
        body.force-mobile #contact-toggle {
            min-height: 40px;
            border-radius: 11px !important;
            font-weight: 800;
        }
        body.force-mobile #lightboxOverlay {
            background: rgba(2, 6, 23, 0.93);
            z-index: 23000 !important;
        }
        body.force-mobile #lightboxOverlay .counter {
            top: calc(env(safe-area-inset-top, 0px) + 8px);
            left: 10px;
            z-index: 23010;
            padding: 7px 11px;
            font-size: 15px;
        }
        body.force-mobile #lightboxOverlay .close-btn {
            top: calc(env(safe-area-inset-top, 0px) + 8px);
            right: 10px;
            z-index: 23010;
            background: rgba(2,6,23,0.6);
            border: 1px solid rgba(148,163,184,0.34);
            border-radius: 10px;
            width: 36px;
            height: 36px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            line-height: 1;
        }
        body.force-mobile #lightboxOverlay .controls {
            bottom: calc(env(safe-area-inset-bottom, 0px) + 8px);
            top: auto;
            padding: 0 10px;
            z-index: 23008;
        }
        body.force-mobile #lightboxOverlay .controls span {
            padding: 8px 11px;
            border-radius: 11px;
            border: 1px solid rgba(148,163,184,0.34);
            background: rgba(2,6,23,0.6);
        }
        body.theme-light.force-mobile .panel-list {
            background: linear-gradient(160deg, rgba(255,255,255,0.92), rgba(248,250,252,0.85));
            border-color: #cbd5e1;
            box-shadow: 0 16px 32px rgba(15,23,42,0.16);
        }
        body.theme-light.force-mobile .panel-box {
            background: linear-gradient(160deg, rgba(255,255,255,0.95), rgba(248,250,252,0.9));
            border-color: #d5dbe6;
        }
        body.theme-light.force-mobile .search-wrap input,
        body.theme-light.force-mobile .search-item {
            background: #ffffff;
            border-color: #d5dbe6;
            color: #0f172a;
        }
        body.theme-light.force-mobile .search-wrap label {
            color: #64748b;
        }
        body.theme-light.force-mobile .title-wrap {
            border: none !important;
            background: transparent !important;
            box-shadow: none !important;
            padding: 2px 4px !important;
        }
        .seo-home-content {
            max-width: 1220px;
            margin: 14px auto 24px;
            padding: 14px 16px;
            background: rgba(11, 18, 34, 0.78);
            border: 1px solid rgba(148, 163, 184, 0.26);
            border-radius: 12px;
            color: var(--text);
        }
        .seo-home-content h1 {
            margin: 0 0 8px;
            font-size: 1.25rem;
            line-height: 1.25;
        }
        .seo-home-content p {
            margin: 0;
            color: var(--muted);
            line-height: 1.55;
        }
        .seo-home-content a {
            color: #7dd3fc;
            text-decoration: none;
        }
        .seo-home-content a:hover { text-decoration: underline; }
        .theme-light .seo-home-content {
            background: rgba(255, 255, 255, 0.88);
            border-color: #cbd5e1;
            color: #0f172a;
        }
        .theme-light .seo-home-content p { color: #334155; }

        /* V3 preview only: Glass Topo Pro */
        body.ui-v3 .panel-list,
        body.ui-v3 .season-wrap,
        body.ui-v3 .panel-box,
        body.ui-v3 .panel-card,
        body.ui-v3 .map-search-control {
            backdrop-filter: blur(12px) saturate(1.08);
            -webkit-backdrop-filter: blur(12px) saturate(1.08);
        }
        body.ui-v3 header {
            background: rgba(11, 18, 34, 0.14) !important;
        }
        body.ui-v3.theme-light header {
            background: rgba(255, 255, 255, 0.14) !important;
        }
        body.ui-v3.force-mobile header {
            background:
                linear-gradient(rgba(11, 18, 34, 0.74), rgba(11, 18, 34, 0.74)),
                var(--topo-bg) !important;
            background-repeat: no-repeat, repeat !important;
            background-size: cover, 520px 520px !important;
        }
        body.ui-v3.theme-light.force-mobile header {
            background:
                linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)),
                var(--topo-bg) !important;
            background-repeat: no-repeat, repeat !important;
            background-size: cover, 520px 520px !important;
        }
        body.ui-v3 header {
            border-bottom-color: rgba(148, 163, 184, 0.34);
            box-shadow: 0 16px 38px rgba(2, 6, 23, 0.34);
        }
        body.ui-v3 .title-wrap h1 {
            letter-spacing: 0.6px;
            text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
        }
        body.ui-v3 .header-actions .header-btn,
        body.ui-v3 .header-actions .view-toggle,
        body.ui-v3 .settings-toggle {
            border-color: rgba(148, 163, 184, 0.45);
            box-shadow: 0 8px 18px rgba(2, 6, 23, 0.28);
            transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
        }
        body.ui-v3 .header-actions .header-btn:hover,
        body.ui-v3 .header-actions .view-toggle:hover,
        body.ui-v3 .settings-toggle:hover {
            transform: translateY(-1px);
            border-color: rgba(250, 204, 21, 0.65);
            box-shadow: 0 12px 26px rgba(2, 6, 23, 0.34);
        }
        body.ui-v3 .type-toggle.active {
            transform: translateY(-1px);
            box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28), 0 10px 20px rgba(2, 6, 23, 0.34);
        }
        body.ui-v3 .panel-popup {
            border-color: rgba(250, 204, 21, 0.42);
            box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
        }
        body.ui-v3 .leaflet-marker-icon {
            filter: drop-shadow(0 6px 14px rgba(2, 6, 23, 0.35));
        }
        body.ui-v3 .panel-list {
            box-shadow: 0 18px 38px rgba(2, 6, 23, 0.32);
        }
        body.ui-v3.theme-light header,
        body.ui-v3.theme-light .panel-list,
        body.ui-v3.theme-light .season-wrap,
        body.ui-v3.theme-light .panel-box,
        body.ui-v3.theme-light .panel-card {
            box-shadow: 0 14px 32px rgba(15, 23, 42, 0.14);
        }

        /* Final desktop sidebar skin (forced) */
        body.ui-v3:not(.force-mobile) .panel-list {
            border-radius: 24px !important;
            padding: 16px !important;
            border: 1px solid rgba(148, 163, 184, 0.34) !important;
            background: linear-gradient(180deg, rgba(4, 10, 22, 0.92), rgba(7, 14, 28, 0.84)) !important;
            box-shadow: 0 22px 52px rgba(2, 6, 23, 0.46) !important;
            backdrop-filter: blur(14px) saturate(1.12) !important;
            -webkit-backdrop-filter: blur(14px) saturate(1.12) !important;
        }
        body.ui-v3:not(.force-mobile) .panel-list .panel-card {
            border-radius: 18px !important;
            border: 1px solid rgba(148, 163, 184, 0.26) !important;
            background: linear-gradient(180deg, rgba(10, 18, 34, 0.92), rgba(9, 16, 30, 0.82)) !important;
            box-shadow: 0 12px 28px rgba(2, 6, 23, 0.34) !important;
            padding: 14px !important;
            margin-bottom: 12px !important;
        }
        body.ui-v3:not(.force-mobile) .panel-list .panel-box {
            border-radius: 14px !important;
            border: 1px solid rgba(148, 163, 184, 0.32) !important;
            background: rgba(10, 18, 32, 0.72) !important;
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
            padding: 12px !important;
        }
        body.ui-v3:not(.force-mobile) .panel-list .panel-card h3 {
            margin: 0 0 12px !important;
            padding: 0 0 8px !important;
            border-bottom: 1px solid rgba(148, 163, 184, 0.24) !important;
            font-size: 18px !important;
            letter-spacing: 0.02em !important;
            color: #f8fafc !important;
        }
        body.ui-v3:not(.force-mobile) .panel-list .search-wrap label,
        body.ui-v3:not(.force-mobile) .panel-list .dest-heading,
        body.ui-v3:not(.force-mobile) .panel-list .photos-heading {
            color: #94a3b8 !important;
            font-size: 10px !important;
            letter-spacing: 0.13em !important;
            font-weight: 800 !important;
            text-transform: uppercase !important;
        }
        body.ui-v3:not(.force-mobile) .panel-list .search-wrap input {
            border-radius: 12px !important;
            border: 1px solid rgba(148, 163, 184, 0.4) !important;
            background: rgba(5, 10, 20, 0.9) !important;
            color: #e2e8f0 !important;
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
        }
        body.ui-v3:not(.force-mobile) .panel-list .search-wrap input:focus {
            border-color: rgba(250, 204, 21, 0.74) !important;
            box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.16) !important;
        }
        body.ui-v3:not(.force-mobile) .panel-list .search-wrap button {
            border-radius: 12px !important;
            min-height: 38px !important;
            font-weight: 900 !important;
        }
        body.ui-v3:not(.force-mobile) .panel-list .search-item {
            border-radius: 12px !important;
            border: 1px solid rgba(148, 163, 184, 0.34) !important;
            background: rgba(12, 20, 34, 0.82) !important;
        }
        body.ui-v3:not(.force-mobile) .panel-list .dest-table {
            border-radius: 12px !important;
            overflow: hidden !important;
        }
        body.ui-v3:not(.force-mobile) .panel-list .dest-table th,
        body.ui-v3:not(.force-mobile) .panel-list .dest-table td {
            border-color: rgba(148, 163, 184, 0.34) !important;
            background: rgba(10, 18, 32, 0.72) !important;
        }
        body.ui-v3:not(.force-mobile) .panel-list .dest-table th {
            background: rgba(15, 23, 42, 0.86) !important;
            color: #9fb0c6 !important;
        }
        body.ui-v3:not(.force-mobile) .panel-list .thumbs img {
            width: 82px !important;
            height: 82px !important;
            border-radius: 12px !important;
            border: 1px solid rgba(148, 163, 184, 0.42) !important;
        }
        body.ui-v3:not(.force-mobile) .panel-list #detail-photo-add,
        body.ui-v3:not(.force-mobile) .panel-list #report-toggle,
        body.ui-v3:not(.force-mobile) .panel-list #contact-toggle {
            border-radius: 12px !important;
            border: 1px solid rgba(148, 163, 184, 0.42) !important;
            background: rgba(8, 14, 26, 0.92) !important;
            color: #e2e8f0 !important;
            font-weight: 800 !important;
            min-height: 40px !important;
        }
        body.ui-v3.theme-light:not(.force-mobile) .panel-list {
            border-color: #cfd8e6 !important;
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 249, 252, 0.9)) !important;
            box-shadow: 0 20px 40px rgba(15, 23, 42, 0.16) !important;
        }
        body.ui-v3.theme-light:not(.force-mobile) .panel-list .panel-card {
            border-color: #d4ddeb !important;
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 253, 0.94)) !important;
            box-shadow: 0 10px 20px rgba(15, 23, 42, 0.1) !important;
        }
        body.ui-v3.theme-light:not(.force-mobile) .panel-list .panel-box {
            border-color: #d3dce9 !important;
            background: rgba(250, 252, 255, 0.95) !important;
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65) !important;
        }
        body.ui-v3.theme-light:not(.force-mobile) .panel-list .panel-card h3 {
            color: #0f172a !important;
            border-bottom-color: rgba(148, 163, 184, 0.36) !important;
        }
        body.ui-v3.theme-light:not(.force-mobile) .panel-list .search-wrap label,
        body.ui-v3.theme-light:not(.force-mobile) .panel-list .dest-heading,
        body.ui-v3.theme-light:not(.force-mobile) .panel-list .photos-heading {
            color: #64748b !important;
        }
        body.ui-v3.theme-light:not(.force-mobile) .panel-list .search-wrap input {
            border-color: #ced7e4 !important;
            background: #ffffff !important;
            color: #0f172a !important;
        }
        body.ui-v3.theme-light:not(.force-mobile) .panel-list .search-item {
            border-color: #d1dae7 !important;
            background: #ffffff !important;
            color: #0f172a !important;
        }
        body.ui-v3.theme-light:not(.force-mobile) .panel-list .dest-table th,
        body.ui-v3.theme-light:not(.force-mobile) .panel-list .dest-table td {
            border-color: #d1dae8 !important;
            background: #ffffff !important;
        }
        body.ui-v3.theme-light:not(.force-mobile) .panel-list .dest-table th {
            background: #f3f7fc !important;
            color: #64748b !important;
        }
        body.ui-v3.theme-light:not(.force-mobile) .panel-list #detail-photo-add,
        body.ui-v3.theme-light:not(.force-mobile) .panel-list #report-toggle,
        body.ui-v3.theme-light:not(.force-mobile) .panel-list #contact-toggle {
            border-color: #d0d8e5 !important;
            background: #ffffff !important;
            color: #0f172a !important;
        }

        /* FINAL OVERRIDE: keep sidebar-saas container premium on desktop */
        body.ui-v3:not(.force-mobile) .layout > .panel-list.sidebar-saas {
            outline: 0 !important;
        }
        /* FINAL DESKTOP POLISH: search block stays in the premium system */
        body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas .saas-search {
            background:
                linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.03)),
                linear-gradient(155deg, rgba(8, 14, 26, 0.44), rgba(12, 22, 40, 0.24)) !important;
            border: 1px solid rgba(255, 255, 255, 0.08) !important;
            box-shadow: 0 16px 28px rgba(2, 6, 23, 0.2), inset 0 1px 0 rgba(255,255,255,0.08) !important;
        }
        body.ui-v3.theme-light:not(.force-mobile) .panel-list.sidebar-saas .saas-search {
            background:
                linear-gradient(180deg, rgba(255,255,255,0.92), rgba(250,252,255,0.84)),
                linear-gradient(155deg, rgba(255,255,255,0.28), rgba(230, 237, 246, 0.18)) !important;
            border-color: rgba(148, 163, 184, 0.18) !important;
            box-shadow: 0 16px 28px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255,255,255,0.78) !important;
        }
        body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas #search-label {
            font-size: 13px !important;
            font-weight: 700 !important;
            letter-spacing: 0.18em !important;
            text-transform: uppercase !important;
        }
        /* FINAL VISUAL TUNING (uniform blocks + readable inputs) */
        body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas {
            --sb-card-bg:
                linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.03)),
                linear-gradient(155deg, rgba(8, 14, 26, 0.44), rgba(12, 22, 40, 0.24));
            --sb-card-border: rgba(255, 255, 255, 0.08);
            --sb-input-bg: rgba(2, 6, 23, 0.42);
            --sb-input-border: rgba(255, 255, 255, 0.08);
            --sb-input-text: #f8fafc;
        }
        body.ui-v3.theme-light:not(.force-mobile) .panel-list.sidebar-saas {
            --sb-card-bg:
                linear-gradient(180deg, rgba(255,255,255,0.9), rgba(250, 252, 255, 0.82)),
                linear-gradient(155deg, rgba(255,255,255,0.3), rgba(230, 237, 246, 0.18));
            --sb-card-border: rgba(148, 163, 184, 0.2);
            --sb-input-bg: rgba(255,255,255,0.86);
            --sb-input-border: rgba(148, 163, 184, 0.2);
            --sb-input-text: #0f172a;
        }
        body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas .saas-card,
        body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas .saas-hero,
        body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas .panel-box,
        body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas #report-form,
        body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas #contact-body {
            background: var(--sb-card-bg) !important;
            border: 1px solid var(--sb-card-border) !important;
            box-shadow: 0 16px 28px rgba(2, 6, 23, 0.2), inset 0 1px 0 rgba(255,255,255,0.08) !important;
            backdrop-filter: blur(12px) saturate(1.06) !important;
            -webkit-backdrop-filter: blur(12px) saturate(1.06) !important;
            border-radius: 22px !important;
        }
        body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas .search-wrap input,
        body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas #report-message,
        body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas #report-email,
        body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas #contact-message,
        body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas #contact-email {
            background: var(--sb-input-bg) !important;
            border: 1px solid var(--sb-input-border) !important;
            color: var(--sb-input-text) !important;
        }
        body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas .search-wrap input::placeholder,
        body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas #report-message::placeholder,
        body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas #report-email::placeholder,
        body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas #contact-message::placeholder,
        body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas #contact-email::placeholder {
            color: rgba(248, 250, 252, 0.72) !important;
            opacity: 1 !important;
        }
        body.ui-v3.theme-light:not(.force-mobile) .panel-list.sidebar-saas .search-wrap input::placeholder,
        body.ui-v3.theme-light:not(.force-mobile) .panel-list.sidebar-saas #report-message::placeholder,
        body.ui-v3.theme-light:not(.force-mobile) .panel-list.sidebar-saas #report-email::placeholder,
        body.ui-v3.theme-light:not(.force-mobile) .panel-list.sidebar-saas #contact-message::placeholder,
        body.ui-v3.theme-light:not(.force-mobile) .panel-list.sidebar-saas #contact-email::placeholder {
            color: rgba(15, 23, 42, 0.58) !important;
        }
        body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas .search-wrap input:focus,
        body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas #report-message:focus,
        body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas #report-email:focus,
        body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas #contact-message:focus,
        body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas #contact-email:focus {
            outline: none !important;
            border-color: #f59e0b !important;
            box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.22) !important;
        }
        body.ui-v3:not(.force-mobile) .layout > .panel-list.sidebar-saas {
            background:
                linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03)),
                linear-gradient(145deg, rgba(6, 12, 24, 0.38), rgba(18, 29, 48, 0.2)) !important;
            border: 1px solid rgba(255, 255, 255, 0.08) !important;
            box-shadow: 0 28px 46px rgba(3, 8, 20, 0.22), inset 0 1px 0 rgba(255,255,255,0.08) !important;
            backdrop-filter: blur(18px) saturate(1.08) !important;
            -webkit-backdrop-filter: blur(18px) saturate(1.08) !important;
        }
        body.ui-v3.theme-light:not(.force-mobile) .layout > .panel-list.sidebar-saas {
            background:
                linear-gradient(180deg, rgba(255,255,255,0.84), rgba(255,255,255,0.66)),
                linear-gradient(145deg, rgba(255,255,255,0.3), rgba(226, 234, 245, 0.22)) !important;
            border-color: rgba(148, 163, 184, 0.24) !important;
            box-shadow: 0 24px 40px rgba(15, 23, 42, 0.09), inset 0 1px 0 rgba(255,255,255,0.72) !important;
        }
body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas .saas-hero {
    padding: 24px !important;
    background:
        radial-gradient(circle at top right, rgba(251, 191, 36, 0.08), transparent 32%),
        linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)),
        linear-gradient(155deg, rgba(8, 14, 26, 0.52), rgba(12, 22, 40, 0.28)) !important;
}
body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas #detail-title {
    font-size: 32px !important;
    line-height: 1.02 !important;
    margin-bottom: 10px !important;
    font-weight: 800 !important;
    letter-spacing: -0.04em !important;
    text-wrap: balance;
    word-break: normal !important;
    overflow-wrap: normal !important;
}
body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas .saas-hero-top {
    display: flex !important;
    flex-direction: column;
    align-items: start !important;
    gap: 18px !important;
}
body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas .saas-hero-top > :first-child {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    max-width: 100%;
}
body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas .hero-info-title,
body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas .saas-card h4,
body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas #search-label {
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: 0.16em !important;
    text-transform: uppercase !important;
    margin-bottom: 14px !important;
    padding-bottom: 12px !important;
}
body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas .meta-line {
    font-size: 15px !important;
}
        body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas .saas-card h4,
        body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas .hero-info-title,
        body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas #search-label {
            border-bottom-color: rgba(255, 255, 255, 0.08) !important;
        }
        body.ui-v3.theme-light:not(.force-mobile) .panel-list.sidebar-saas .saas-card h4,
        body.ui-v3.theme-light:not(.force-mobile) .panel-list.sidebar-saas .hero-info-title,
        body.ui-v3.theme-light:not(.force-mobile) .panel-list.sidebar-saas #search-label {
            border-bottom-color: rgba(148, 163, 184, 0.18) !important;
        }
body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas .saas-actions {
    margin-top: 14px !important;
    gap: 12px !important;
}
body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas .saas-icon-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 10px !important;
    width: 100%;
    align-content: start;
}
body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas .icon-ghost {
    width: 62px !important;
    height: 56px !important;
    border-radius: 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)),
        rgba(30, 41, 59, 0.54) !important;
    border: 1px solid rgba(148, 163, 184, 0.18) !important;
    box-shadow: 0 12px 22px rgba(2, 6, 23, 0.16), inset 0 1px 0 rgba(255,255,255,0.06) !important;
}
body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas .icon-ghost:hover {
    transform: translateY(-1px);
    border-color: rgba(251, 191, 36, 0.26) !important;
    box-shadow: 0 16px 26px rgba(2, 6, 23, 0.22), inset 0 1px 0 rgba(255,255,255,0.08) !important;
}
body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas #report-toggle.icon-ghost {
    width: 62px !important;
    height: 56px !important;
    background:
        linear-gradient(180deg, rgba(251, 191, 36, 0.96), rgba(245, 158, 11, 0.9)) !important;
    color: #111827 !important;
    border-color: rgba(245, 158, 11, 0.34) !important;
}
body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas #report-toggle,
body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas #contact-toggle {
    min-height: 50px !important;
    border-radius: 16px !important;
    justify-content: center !important;
            background: rgba(51, 65, 85, 0.42) !important;
        }
        body.ui-v3.theme-light:not(.force-mobile) .panel-list.sidebar-saas #report-toggle,
        body.ui-v3.theme-light:not(.force-mobile) .panel-list.sidebar-saas #contact-toggle {
            background: rgba(255,255,255,0.92) !important;
            color: #334155 !important;
        }
body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas .thumbs {
    gap: 14px !important;
    margin-top: 4px !important;
}
body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas #panel-photos-section,
body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas #panel-dests-section,
body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas #panel-contact-section,
body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas #panel-placeholder {
    padding: 22px !important;
}
body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas .saas-search {
    padding: 22px !important;
}
body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas .search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 10px;
    align-items: center;
}
body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas .search-wrap input {
    min-height: 62px !important;
    border-radius: 18px !important;
    font-size: 16px !important;
    padding: 0 18px !important;
}
body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas .search-wrap button {
    min-height: 54px !important;
    border-radius: 18px !important;
    padding: 0 18px !important;
    font-weight: 800 !important;
}
body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas .search-results {
    margin-top: 14px !important;
    gap: 10px !important;
}
body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas .search-item {
    padding: 14px 16px !important;
    border-radius: 18px !important;
}
body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas #detail-dests .dest-list-modern {
    gap: 10px !important;
}
body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas #detail-dests .dest-item-modern {
    padding: 12px 14px !important;
    border-radius: 18px !important;
}
body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas #detail-dests .dest-item-name {
    font-size: 15px !important;
    font-weight: 800 !important;
}
body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas #detail-dests .dest-item-time {
    font-size: 14px !important;
}
body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas #contact-toggle,
body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas #report-submit,
body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas #contact-send {
    font-weight: 800 !important;
}
        /* Mobile card delimiters for sidebar-saas */
        body.force-mobile .panel-list.sidebar-saas {
            padding: 10px 14px 14px !important;
        }
        body.force-mobile .panel-list.sidebar-saas .saas-search,
        body.force-mobile .panel-list.sidebar-saas .saas-hero,
        body.force-mobile .panel-list.sidebar-saas .saas-card,
        body.force-mobile .panel-list.sidebar-saas #report-form,
        body.force-mobile .panel-list.sidebar-saas #contact-body {
            margin: 0 0 10px 0 !important;
            padding: 12px !important;
            border-radius: 14px !important;
            border: 1px solid rgba(148, 163, 184, 0.32) !important;
            box-shadow: 0 4px 14px rgba(2, 6, 23, 0.2), inset 0 1px 0 rgba(255,255,255,0.06) !important;
        }
        body.force-mobile .panel-list.sidebar-saas .saas-card h4,
        body.force-mobile .panel-list.sidebar-saas .hero-info-title,
        body.force-mobile .panel-list.sidebar-saas #search-label {
            padding-bottom: 8px !important;
            margin-bottom: 8px !important;
            border-bottom: 1px solid rgba(148, 163, 184, 0.28) !important;
        }
        body.force-mobile .panel-list.sidebar-saas .saas-card h4 {
            margin-top: 0 !important;
        }
        body.force-mobile .panel-list.sidebar-saas .saas-search #search-label {
            display: block;
            margin-top: 0 !important;
        }
        body.force-mobile .panel-list.sidebar-saas .saas-forms {
            gap: 8px !important;
            margin-top: 2px !important;
        }
        body.force-mobile .panel-list.sidebar-saas .saas-card {
            margin-bottom: 8px !important;
        }
        body.force-mobile .panel-list.sidebar-saas .thumbs {
            gap: 8px !important;
            align-items: flex-start !important;
        }
        body.force-mobile .panel-list.sidebar-saas #detail-thumbs {
            display: flex;
            gap: 8px;
            align-items: flex-start;
            flex-wrap: wrap;
        }
        body.force-mobile .panel-list.sidebar-saas #detail-photo-add {
            width: 76px !important;
            height: 76px !important;
            min-width: 76px !important;
            min-height: 76px !important;
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            padding: 0 !important;
            line-height: 1 !important;
            border-radius: 12px !important;
            margin: 0 !important;
            align-self: flex-start !important;
            position: static !important;
            top: auto !important;
            transform: none !important;
            vertical-align: top !important;
            box-sizing: border-box !important;
        }
        body.force-mobile .panel-list.sidebar-saas #report-toggle {
            width: auto !important;
            min-width: 30px !important;
            height: 30px !important;
            min-height: 30px !important;
            padding: 0 8px !important;
            gap: 6px !important;
            border-radius: 10px !important;
            font-size: 14px !important;
        }
        body.force-mobile .panel-list.sidebar-saas #report-toggle .report-mobile-label {
            display: inline !important;
            font-size: 12px;
            font-weight: 700;
            line-height: 1;
        }
        body.force-mobile .panel-list.sidebar-saas #detail-nav-btn .nav-mobile-label {
            display: none !important;
        }
        body:not(.force-mobile) .panel-list.sidebar-saas #report-toggle .report-mobile-label {
            display: none !important;
        }
        body:not(.force-mobile) .panel-list.sidebar-saas #detail-nav-btn .nav-mobile-label {
            display: none !important;
        }
        /* Mobile-only backdrop behind menu for readability over map */
        body.force-mobile .panel-list.sidebar-saas {
            background: #050c18 !important;
            border: 1px solid rgba(148, 163, 184, 0.42) !important;
            box-shadow: 0 16px 32px rgba(2, 6, 23, 0.52) !important;
            backdrop-filter: none !important;
            -webkit-backdrop-filter: none !important;
        }
        .mobile-panel-shell {
            display: contents;
        }
        body.ui-v3.force-mobile .panel-list.sidebar-saas {
            background: transparent !important;
            background-color: transparent !important;
            border: 0 !important;
            box-shadow: none !important;
            backdrop-filter: none !important;
            -webkit-backdrop-filter: none !important;
        }
        body.ui-v3.force-mobile .mobile-panel-shell {
            display: block;
            background: rgba(5, 10, 18, 0.9) !important;
            background-color: rgba(5, 10, 18, 0.9) !important;
            border: 2px solid rgba(244, 211, 94, 0.92) !important;
            border-radius: 22px !important;
            box-shadow: 0 18px 34px rgba(2, 6, 23, 0.58), inset 0 0 0 1px rgba(244, 211, 94, 0.2) !important;
            padding: 10px 0 12px !important;
            margin: 0 8px 0 !important;
            isolation: isolate !important;
        }
        body.ui-v3.force-mobile .panel-list.sidebar-saas .saas-search,
        body.ui-v3.force-mobile .panel-list.sidebar-saas .saas-hero,
        body.ui-v3.force-mobile .panel-list.sidebar-saas .saas-card,
        body.ui-v3.force-mobile .panel-list.sidebar-saas #report-form,
        body.ui-v3.force-mobile .panel-list.sidebar-saas #contact-body {
            background: #050c18 !important;
            background-image: none !important;
            border-color: rgba(244, 211, 94, 0.86) !important;
        }
        body.ui-v3.theme-dark.force-mobile #panel-detail,
        body.ui-v3.force-mobile:not(.theme-light) #panel-detail {
            background: transparent !important;
            background-image: none !important;
            border: 0 !important;
            border-radius: 0 !important;
            padding: 0 !important;
            margin: 0 0 12px !important;
            box-shadow: none !important;
            display: grid !important;
            gap: 12px !important;
        }
        body.ui-v3.theme-dark.force-mobile #panel-detail > .saas-hero,
        body.ui-v3.theme-dark.force-mobile #panel-detail > .saas-card,
        body.ui-v3.force-mobile:not(.theme-light) #panel-detail > .saas-hero,
        body.ui-v3.force-mobile:not(.theme-light) #panel-detail > .saas-card {
            margin: 0 8px !important;
        }
        body.ui-v3.theme-dark.force-mobile #panel-detail > .saas-hero,
        body.ui-v3.theme-dark.force-mobile #panel-detail > .saas-card,
        body.ui-v3.force-mobile:not(.theme-light) #panel-detail > .saas-hero,
        body.ui-v3.force-mobile:not(.theme-light) #panel-detail > .saas-card {
            background: #050c18 !important;
        }
        body.theme-light.force-mobile .panel-list.sidebar-saas {
            background:
                linear-gradient(180deg, rgba(248, 250, 252, 0.95), rgba(241, 245, 249, 0.92)) !important;
            border: 1px solid rgba(203, 213, 225, 0.9) !important;
            box-shadow: 0 14px 28px rgba(15, 23, 42, 0.2) !important;
        }
        body.ui-v3.theme-light.force-mobile .panel-list.sidebar-saas {
            background: transparent !important;
            border: 0 !important;
            background-color: transparent !important;
        }
        body.ui-v3.theme-light.force-mobile .mobile-panel-shell {
            background:
                linear-gradient(180deg, rgba(248, 250, 252, 0.9), rgba(241, 245, 249, 0.86)) !important;
            border: 1px solid rgba(203, 213, 225, 0.94) !important;
            background-color: rgba(248, 250, 252, 0.9) !important;
        }
        body.ui-v3.theme-light.force-mobile .panel-list.sidebar-saas .saas-search,
        body.ui-v3.theme-light.force-mobile .panel-list.sidebar-saas .saas-hero,
        body.ui-v3.theme-light.force-mobile .panel-list.sidebar-saas .saas-card,
        body.ui-v3.theme-light.force-mobile .panel-list.sidebar-saas #report-form,
        body.ui-v3.theme-light.force-mobile .panel-list.sidebar-saas #contact-body {
            background: rgba(255, 255, 255, 0.96) !important;
            border-color: rgba(244, 211, 94, 0.86) !important;
        }
        /* ===== Requested polish pass ===== */
        /* 1) Mobile: more breathing room between altitude / coords / date */
        body.force-mobile .panel-list.sidebar-saas .meta-line {
            display: flex !important;
            align-items: center !important;
            gap: 10px !important;
            margin: 8px 0 !important;
            line-height: 1.35 !important;
        }

        /* 2) Remove gray container behind Filter / +Panneau / ... on mobile */
        body.force-mobile .header-actions {
            background: transparent !important;
            border: 0 !important;
            box-shadow: none !important;
            backdrop-filter: none !important;
            -webkit-backdrop-filter: none !important;
        }

        /* 3) Stronger card contours (desktop + mobile) */
        body.ui-v3 .panel-list.sidebar-saas .saas-search,
        body.ui-v3 .panel-list.sidebar-saas .saas-hero,
        body.ui-v3 .panel-list.sidebar-saas .saas-card,
        body.ui-v3 .panel-list.sidebar-saas #report-form,
        body.ui-v3 .panel-list.sidebar-saas #contact-body {
            border: 1px solid rgba(244, 211, 94, 0.82) !important;
            box-shadow: 0 8px 20px rgba(2, 6, 23, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.07) !important;
        }
        body.ui-v3.theme-light .panel-list.sidebar-saas .saas-search,
        body.ui-v3.theme-light .panel-list.sidebar-saas .saas-hero,
        body.ui-v3.theme-light .panel-list.sidebar-saas .saas-card,
        body.ui-v3.theme-light .panel-list.sidebar-saas #report-form,
        body.ui-v3.theme-light .panel-list.sidebar-saas #contact-body {
            border: 1px solid rgba(244, 211, 94, 0.86) !important;
        }
        body.ui-v3:not(.theme-light):not(.force-mobile) .panel-list.sidebar-saas .saas-search,
        body.ui-v3:not(.theme-light):not(.force-mobile) .panel-list.sidebar-saas .saas-hero,
        body.ui-v3:not(.theme-light):not(.force-mobile) .panel-list.sidebar-saas .saas-card,
        body.ui-v3:not(.theme-light):not(.force-mobile) .panel-list.sidebar-saas #report-form,
        body.ui-v3:not(.theme-light):not(.force-mobile) .panel-list.sidebar-saas #contact-body {
            border: 0.75px solid rgba(244, 211, 94, 0.62) !important;
            outline: 0 !important;
            box-shadow: 0 10px 22px rgba(2, 6, 23, 0.24) !important;
        }
        body.ui-v3.theme-dark .panel-list.sidebar-saas .saas-search,
        body.ui-v3.theme-dark .panel-list.sidebar-saas .saas-hero,
        body.ui-v3.theme-dark .panel-list.sidebar-saas .saas-card,
        body.ui-v3.theme-dark .panel-list.sidebar-saas #report-form,
        body.ui-v3.theme-dark .panel-list.sidebar-saas #contact-body {
            border: 1px solid rgba(244, 211, 94, 0.62) !important;
            box-shadow: 0 10px 22px rgba(2, 6, 23, 0.24) !important;
        }

        /* 4) Fine separator line between destinations (desktop + mobile) */
        body.ui-v3 .panel-list.sidebar-saas #detail-dests .dest-table tbody tr + tr td {
            border-top: 1px solid rgba(148, 163, 184, 0.22) !important;
        }

        /* 5) Panel submission (mobile): move + - locate layers controls up */
        body.force-mobile #submit-map .leaflet-top.leaflet-left,
        body.force-mobile #submit-map .leaflet-top.leaflet-right {
            margin-top: 8px !important;
        }

        /* 6) Uniform yellow accent buttons across the site */
        body.ui-v3 .search-wrap button,
        body.ui-v3 #filter-toggle,
        body.ui-v3 #settings-toggle,
        body.ui-v3 #open-submit,
        body.ui-v3 .modal-btn,
        body.ui-v3 .modal-btn.primary,
        body.ui-v3 #report-submit,
        body.ui-v3 #report-send,
        body.ui-v3 #contact-send,
        body.ui-v3 #dest-add,
        body.ui-v3 #photo-add {
            background: #f4d35e !important;
            border-color: #d0b24e !important;
            color: #111827 !important;
        }
        body.ui-v3 .photo-input-row {
            flex-wrap: wrap;
        }
        body.ui-v3 .photo-source-actions {
            align-items: center;
            gap: 8px;
        }
        body.ui-v3 .photo-source-btn {
            min-height: 42px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            border-radius: 8px;
            border: 1px solid rgba(244, 211, 94, 0.46);
            background: rgba(15, 23, 42, 0.88);
            color: #f8fafc;
            cursor: pointer;
            padding: 0 12px;
            font-size: 13px;
            font-weight: 700;
            line-height: 1;
            box-shadow: none;
        }
        body.ui-v3 .photo-source-svg {
            width: 18px;
            height: 18px;
            flex: 0 0 auto;
            fill: none;
            stroke: #f4d35e;
            stroke-width: 1.9;
            stroke-linecap: round;
            stroke-linejoin: round;
        }
        body.ui-v3 .photo-source-label {
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        body.ui-v3 .photo-source-btn:hover {
            border-color: rgba(244, 211, 94, 0.78);
            background: rgba(30, 41, 59, 0.96);
        }
        body.ui-v3 .photo-source-btn:focus-visible {
            outline: 2px solid #f4d35e;
            outline-offset: 2px;
        }
        body.ui-v3.theme-light .photo-source-btn {
            background: #ffffff;
            border-color: rgba(17, 24, 39, 0.24);
            color: #111827;
        }
        body.ui-v3.theme-light .photo-source-btn:hover {
            background: #f8fafc;
            border-color: rgba(17, 24, 39, 0.46);
        }
        body.ui-v3.force-mobile .photo-source-actions {
            display: flex;
            width: 100%;
        }
        body.ui-v3.force-mobile .photo-source-btn {
            flex: 1 1 0;
            min-width: 0;
        }
        body.ui-v3 .theme-switch::before,
        body.ui-v3 .view-switch::before {
            background: #f4d35e !important;
        }
        body.ui-v3 #settings-toggle {
            background: #0b1222 !important;
            color: #f4d35e !important;
            border-color: #d0b24e !important;
        }
        body.ui-v3.theme-light #settings-toggle {
            background: #ffffff !important;
            color: #111827 !important;
            border-color: #111827 !important;
        }
        body.ui-v3 #report-toggle {
            background: #f4d35e !important;
            color: #111827 !important;
            border-color: #d0b24e !important;
        }
        body.ui-v3:not(.force-mobile) #report-toggle.icon-ghost {
            background: #f4d35e !important;
            color: #111827 !important;
            border: 1px solid #d0b24e !important;
            box-shadow: 0 2px 0 rgba(0,0,0,.16) !important;
        }
        body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas #report-toggle.icon-ghost {
            background: #f4d35e !important;
            color: #111827 !important;
            border: 1px solid #d0b24e !important;
            box-shadow: 0 2px 0 rgba(0,0,0,.16) !important;
        }
        body.ui-v3.theme-dark #panel-placeholder {
            color: #f8fafc !important;
        }
        body.ui-v3.theme-dark #panel-placeholder,
        body.ui-v3.theme-dark #panel-placeholder * {
            color: #ffffff !important;
        }
        body.ui-v3:not(.theme-light) #panel-placeholder,
        body.ui-v3:not(.theme-light) #panel-placeholder * {
            color: #ffffff !important;
        }
        body.ui-v3 .search-wrap button:hover,
        body.ui-v3 #filter-toggle:hover,
        body.ui-v3 #settings-toggle:hover,
        body.ui-v3 #open-submit:hover,
        body.ui-v3 .modal-btn:hover,
        body.ui-v3 .modal-btn.primary:hover,
        body.ui-v3 #report-submit:hover,
        body.ui-v3 #report-send:hover,
        body.ui-v3 #contact-send:hover,
        body.ui-v3 #dest-add:hover,
        body.ui-v3 #photo-add:hover {
            background: #e8c850 !important;
            border-color: #c4a741 !important;
            color: #0f172a !important;
        }
        body.ui-v3 #settings-toggle:hover {
            background: #17223a !important;
            color: #f4d35e !important;
        }
        body.ui-v3.theme-light #settings-toggle:hover {
            background: #f8fafc !important;
            color: #0f172a !important;
            border-color: #0f172a !important;
        }
        body.ui-v3 .panel-list.sidebar-saas .thumbs img,
        body.ui-v3 .panel-list.sidebar-saas #detail-photo-add {
            border: 1px solid rgba(244, 211, 94, 0.75) !important;
        }
        /* Keep mobile close handle visible while scrolling the bottom sheet */
        body.force-mobile .panel-list.sidebar-saas {
            padding-left: 0 !important;
            padding-right: 0 !important;
        }
        body.force-mobile .panel-list.sidebar-saas > :not(.mobile-sheet-handle) {
            margin-left: 0 !important;
            margin-right: 0 !important;
        }
        body.force-mobile .mobile-panel-shell > .saas-search,
        body.force-mobile .mobile-panel-shell > #panel-placeholder,
        body.force-mobile .mobile-panel-shell > #panel-contact-section {
            margin-left: 10px !important;
            margin-right: 10px !important;
        }
        body.force-mobile .mobile-panel-shell > .saas-search {
            width: auto !important;
            max-width: 100% !important;
            box-sizing: border-box !important;
        }
        body.force-mobile .mobile-sheet-handle {
            position: sticky;
            top: 0;
            z-index: 12;
            left: 0;
            right: 0;
            background: var(--bg);
            background-image:
                linear-gradient(rgba(255,255,255,0.42), rgba(255,255,255,0.42)),
                radial-gradient(1200px 800px at 15% -10%, rgba(255,255,255,0.06), transparent 60%),
                radial-gradient(1000px 700px at 85% -20%, rgba(255,255,255,0.05), transparent 65%),
                var(--topo-bg);
            background-repeat: no-repeat, no-repeat, no-repeat, repeat;
            background-position: center, top left, top right, center;
            background-size: cover, cover, cover, 760px 760px;
            border-bottom: 0;
            width: 100%;
            margin: 0;
            padding: 8px 10px 7px;
            box-sizing: border-box;
            overflow: hidden;
            pointer-events: auto;
        }
        body.theme-light.force-mobile .mobile-sheet-handle {
            background: #f8fafc;
            background-image:
                linear-gradient(rgba(255,255,255,0.88), rgba(255,255,255,0.88)),
                radial-gradient(1200px 800px at 15% -10%, rgba(15,23,42,0.035), transparent 60%),
                radial-gradient(1000px 700px at 85% -20%, rgba(15,23,42,0.03), transparent 65%),
                var(--topo-bg);
            background-repeat: no-repeat, no-repeat, no-repeat, repeat;
            background-position: center, top left, top right, center;
            background-size: cover, cover, cover, 760px 760px;
            border-bottom: 0;
        }
        body.force-mobile .mobile-sheet-handle span {
            background: #f4d35e !important;
            box-shadow: 0 1px 0 rgba(15,23,42,0.18);
            border: 1px solid #0f172a;
            transition: transform .14s ease, box-shadow .14s ease;
            width: 44px;
            height: 5px;
        }
        body.force-mobile .mobile-sheet-handle:hover span {
            transform: translateY(-1px);
            box-shadow: 0 5px 12px rgba(2,6,23,.24);
        }
        body.force-mobile .panel-list.sidebar-saas {
            overflow-x: hidden !important;
            overflow-y: auto !important;
            padding-top: 0 !important;
        }
        body.force-mobile .panel-list.mobile-collapsed .mobile-sheet-handle { margin-bottom: 0 !important; }
        body.force-mobile .settings-row.settings-account-row,
        body.force-mobile #detail-admin-link {
            display: none !important;
        }
        .install-app-banner {
            position: fixed;
            left: 50%;
            top: calc(env(safe-area-inset-top, 0px) + 118px);
            transform: translateX(-50%);
            z-index: 20040;
            display: none;
            align-items: center;
            gap: 10px;
            width: min(calc(100vw - 24px), 420px);
            padding: 10px 12px;
            border-radius: 16px;
            border: 1px solid rgba(244, 211, 94, 0.9);
            background: rgba(11, 18, 34, 0.94);
            color: #f8fafc;
            box-shadow: 0 14px 28px rgba(2, 6, 23, 0.28);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
        }
        .install-app-banner.show {
            display: flex;
        }
        .install-app-copy {
            min-width: 0;
            flex: 1;
        }
        .install-app-copy strong {
            display: block;
            font-size: 14px;
            line-height: 1.15;
            margin-bottom: 2px;
            font-weight: 700;
        }
        .install-app-copy span {
            display: block;
            font-size: 12px;
            line-height: 1.3;
            color: rgba(226, 232, 240, 0.88);
        }
        .install-app-action,
        .install-app-dismiss {
            appearance: none;
            border: 0;
            border-radius: 999px;
            cursor: pointer;
            font: inherit;
        }
        .install-app-action {
            padding: 9px 14px;
            background: #f4d35e;
            color: #111827;
            font-weight: 700;
            white-space: nowrap;
            box-shadow: 0 2px 0 rgba(0,0,0,0.18);
        }
        .install-app-dismiss {
            width: 32px;
            height: 32px;
            background: rgba(255,255,255,0.08);
            color: #f8fafc;
            font-size: 18px;
            line-height: 1;
        }
        body.theme-light .install-app-banner {
            background: rgba(244, 247, 251, 0.96);
            color: #0f172a;
            border-color: rgba(208, 178, 78, 0.92);
            box-shadow: 0 14px 28px rgba(15, 23, 42, 0.14);
        }
        body.theme-light .install-app-copy span {
            color: rgba(15, 23, 42, 0.7);
        }
        body.theme-light .install-app-dismiss {
            background: rgba(15, 23, 42, 0.08);
            color: #0f172a;
        }
        @media (min-width: 901px) {
            .install-app-banner {
                top: calc(env(safe-area-inset-top, 0px) + 22px);
                left: auto;
                right: 22px;
                transform: none;
                width: 360px;
            }
        }
        /* Report form must stay visually inside the Informations block */
        .saas-hero #report-form {
            margin-top: 10px !important;
            border: 0 !important;
            outline: 0 !important;
            border-top: 1px solid rgba(148, 163, 184, 0.35) !important;
            border-radius: 0 !important;
            background: transparent !important;
            box-shadow: none !important;
            padding: 10px 0 0 !important;
        }
        body.ui-v3:not(.theme-light) .saas-hero #report-form {
            border-top-color: rgba(244, 211, 94, 0.32) !important;
        }
        body.force-mobile .mobile-panel-toggle {
            background: #f4d35e !important;
            color: #111827 !important;
            border: 1px solid #111827 !important;
            box-shadow: 0 10px 22px rgba(0,0,0,0.25), 0 2px 0 rgba(0,0,0,0.18) !important;
            transition: transform .14s ease, box-shadow .14s ease;
        }
        body.force-mobile .mobile-panel-toggle:hover {
            transform: translateY(-1px);
            box-shadow: 0 14px 28px rgba(0,0,0,0.28), 0 2px 0 rgba(0,0,0,0.18) !important;
        }
        @keyframes rsPanelLiftIn {
            from {
                opacity: 0;
                transform: translateY(12px) scale(0.988);
            }
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }
        body.ui-v3 .panel-list.sidebar-saas .saas-search,
        body.ui-v3 .panel-list.sidebar-saas .saas-hero,
        body.ui-v3 .panel-list.sidebar-saas .saas-card,
        body.ui-v3 .panel-list.sidebar-saas #report-form,
        body.ui-v3 .panel-list.sidebar-saas #contact-body,
        body.ui-v3 .panel-list.sidebar-saas #panel-placeholder {
            transition:
                background-color 0.2s ease,
                border-color 0.2s ease,
                box-shadow 0.22s ease,
                opacity 0.22s ease,
                transform 0.22s ease;
            transform-origin: center top;
        }
        body.ui-v3 .panel-list.sidebar-saas .rs-panel-enter {
            animation: rsPanelLiftIn 0.26s cubic-bezier(0.22, 1, 0.36, 1) both;
            animation-delay: var(--panel-enter-delay, 0ms);
            will-change: opacity, transform;
        }
        @media (prefers-reduced-motion: reduce) {
            body.ui-v3 .panel-list.sidebar-saas .saas-search,
            body.ui-v3 .panel-list.sidebar-saas .saas-hero,
            body.ui-v3 .panel-list.sidebar-saas .saas-card,
            body.ui-v3 .panel-list.sidebar-saas #report-form,
            body.ui-v3 .panel-list.sidebar-saas #contact-body,
            body.ui-v3 .panel-list.sidebar-saas #panel-placeholder,
            body.ui-v3 .panel-list.sidebar-saas .rs-panel-enter {
                transition: none !important;
                animation: none !important;
            }
        }
        body.ui-v3.theme-dark .panel-list.sidebar-saas #panel-placeholder,
        body.ui-v3.theme-dark .panel-list.sidebar-saas #panel-placeholder *,
        body.ui-v3.theme-dark .panel-list.sidebar-saas #detail-title,
        body.ui-v3.theme-dark .panel-list.sidebar-saas .meta-line,
        body.ui-v3.theme-dark .panel-list.sidebar-saas .info-line,
        body.ui-v3.theme-dark .panel-list.sidebar-saas #detail-alt,
        body.ui-v3.theme-dark .panel-list.sidebar-saas #detail-meta,
        body.ui-v3.theme-dark .panel-list.sidebar-saas #detail-date {
            color: #ffffff !important;
        }
        .theme-light #submitModal .modal-step.active,
        body.theme-light #submitModal .modal-step.active {
            background: rgba(244, 211, 94, 0.34) !important;
            border-color: rgba(208, 178, 78, 0.72) !important;
            color: #111827 !important;
        }
        .theme-light #submitModal .modal-step.active span,
        body.theme-light #submitModal .modal-step.active span {
            color: #111827 !important;
        }
        .panel-count {
            font-family: "Segoe UI Variable Display", "Manrope", "Sora", "Avenir Next", "Inter", sans-serif !important;
        }
        .panel-count .count-emoji {
            font-size: 1.52em;
            line-height: 1;
            display: inline-block;
            transform: translateY(1px);
        }
        .panel-count .count-icon {
            width: 20px;
            height: 24px;
            display: inline-block;
            object-fit: contain;
            transform: translateY(1px);
        }
        .panel-count .count-value {
            line-height: 1;
        }
        body.force-mobile .panel-count .count-label {
            display: none;
        }
        body.ui-v3:not(.theme-light) .panel-count {
            color: #f8fbff !important;
            text-shadow: 0 1px 0 rgba(0,0,0,0.55) !important;
            background: transparent !important;
            border: 0 !important;
            border-radius: 0 !important;
            padding: 0 !important;
            backdrop-filter: none !important;
            -webkit-backdrop-filter: none !important;
        }
        body.ui-v3:not(.theme-light) .panel-count .count-icon {
            filter: drop-shadow(0 1px 1px rgba(0,0,0,0.55));
        }
        body.ui-v3.theme-light .panel-count {
            color: #0f172a !important;
            text-shadow: none !important;
        }
        /* Submission form spacing + labels alignment */
        #submitModal .coord-labels {
            display: grid !important;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 8px !important;
            align-items: center;
        }
        #submitModal .coord-labels > span { line-height: 1.2; padding-left: 10px; }
        #submitModal .coord-fields {
            display: grid !important;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 8px !important;
        }
        body.force-mobile #submitModal .submit-step[data-step="1"] #photo-preview + div {
            margin-top: 14px !important;
        }
        body.force-mobile #submitModal .submit-step[data-step="3"] .modal-row:first-of-type {
            margin-top: 12px !important;
        }
        body.force-mobile #submitModal .submit-step[data-step="3"] #sub-contact {
            margin-top: 18px !important;
        }
        /* Dark readability in sidebar cards */
        body.ui-v3.theme-dark .panel-list.sidebar-saas .saas-hero,
        body.ui-v3.theme-dark .panel-list.sidebar-saas .saas-hero * {
            color: #ffffff !important;
        }
        /* ===== Desktop modernization pass ===== */
        body.ui-v3.theme-dark:not(.force-mobile) {
            background-color: #182234 !important;
            background-image:
                radial-gradient(1000px 500px at 82% -90px, rgba(244, 211, 94, 0.24), rgba(244, 211, 94, 0) 58%),
                radial-gradient(900px 420px at 8% 16%, rgba(153, 201, 255, 0.15), rgba(153, 201, 255, 0) 62%),
                linear-gradient(165deg, rgba(8, 16, 34, 0.92), rgba(26, 41, 64, 0.88)),
                var(--topo-bg);
            background-size: cover, cover, cover, 980px 980px;
            background-attachment: fixed, fixed, fixed, fixed;
        }
        body.ui-v3:not(.force-mobile) .panel-list .search-wrap h4,
        body.ui-v3:not(.force-mobile) .panel-list .dest-heading,
        body.ui-v3:not(.force-mobile) .panel-list .photos-heading {
            text-transform: none !important;
            letter-spacing: 0.02em !important;
        }
        body.ui-v3:not(.force-mobile) .panel-list .search-wrap h4 {
            font-size: 31px;
            font-weight: 700;
        }
        body.ui-v3:not(.force-mobile).desktop-compact .panel-list.sidebar-saas {
            gap: 10px !important;
        }
        body.ui-v3:not(.force-mobile).desktop-compact .panel-list.sidebar-saas .saas-search,
        body.ui-v3:not(.force-mobile).desktop-compact .panel-list.sidebar-saas .saas-hero,
        body.ui-v3:not(.force-mobile).desktop-compact .panel-list.sidebar-saas .saas-card {
            padding: 12px 14px !important;
        }
        body.ui-v3:not(.force-mobile).desktop-compact .panel-list.sidebar-saas .saas-title {
            font-size: 13px !important;
            margin-bottom: 8px !important;
        }
        body.ui-v3:not(.force-mobile).desktop-compact .panel-list.sidebar-saas #detail-title {
            font-size: 24px !important;
            margin-bottom: 4px !important;
        }
        body.ui-v3:not(.force-mobile).desktop-compact .panel-list.sidebar-saas .meta-line {
            margin: 4px 0 !important;
        }
        body.ui-v3:not(.force-mobile) #detail-dests .dest-list-modern {
            display: flex;
            flex-direction: column;
            gap: 8px;
            margin-top: 10px;
        }
        body.ui-v3:not(.force-mobile) #detail-dests .dest-item-modern {
            display: grid;
            grid-template-columns: auto 1fr auto;
            gap: 10px;
            align-items: center;
            padding: 9px 12px;
            border-radius: 12px;
            border: 1px solid rgba(148, 163, 184, 0.24);
            background: rgba(15, 23, 42, 0.28);
        }
        body.ui-v3.theme-light:not(.force-mobile) #detail-dests .dest-item-modern {
            background: rgba(255, 255, 255, 0.74);
            border-color: rgba(148, 163, 184, 0.28);
        }
        body.ui-v3:not(.force-mobile) #detail-dests .dest-item-name {
            font-weight: 700;
            color: var(--text);
            min-width: 0;
        }
        body.ui-v3:not(.force-mobile) #detail-dests .dest-item-time {
            font-weight: 700;
            color: var(--muted);
            white-space: nowrap;
        }
        body.ui-v3.theme-dark:not(.force-mobile) #detail-dests .dest-item-time {
            color: #ffffff !important;
            font-weight: 800;
            text-shadow: 0 1px 0 rgba(2, 6, 23, 0.35);
        }
        body.ui-v3.theme-dark .header-actions .header-btn,
        body.ui-v3.theme-dark .header-actions .view-toggle,
        body.ui-v3.theme-dark .settings-toggle,
        body.ui-v3.theme-dark .season-btn,
        body.ui-v3.theme-dark .type-toggle {
            box-shadow: 0 10px 20px rgba(2, 6, 23, 0.42), 0 0 0 1px rgba(255, 255, 255, 0.22) !important;
        }
        body.ui-v3:not(.force-mobile) #detail-dests .dest-item-type {
            width: 12px;
            height: 20px;
            border-radius: 999px;
            border: 1px solid rgba(255,255,255,0.45);
            box-shadow: 0 0 0 1px rgba(2,6,23,0.35);
            justify-self: start;
        }
        body.ui-v3:not(.force-mobile) #detail-dests .dest-item-type.type-hiking { background:#f4d35e; }
        body.ui-v3:not(.force-mobile) #detail-dests .dest-item-type.type-mountain { background:#d64545; }
        body.ui-v3:not(.force-mobile) #detail-dests .dest-item-type.type-alpine { background:#6a9ad8; }
        body.ui-v3:not(.force-mobile) #detail-dests .dest-item-type.type-footroute { background:#22c55e; }
        body.ui-v3:not(.force-mobile) #detail-dests .dest-item-type.type-wheelchair { background:#ffffff; }
        body.ui-v3:not(.force-mobile) #detail-dests .dest-item-type.type-winter_hiking { background:#e07acb; }
        body.ui-v3:not(.force-mobile) #detail-dests .dest-item-type.type-raquette { background:#e07acb; }
        body.ui-v3:not(.force-mobile) #detail-dests .dest-item-type.type-skirando { background:#e07acb; }
        body.ui-v3:not(.force-mobile) #detail-dests .dest-item-type.type-nordic { background:#8fd3ff; }
        body.ui-v3.force-mobile #detail-dests .dest-list-modern {
            display: flex;
            flex-direction: column;
            gap: 8px;
            margin-top: 8px;
        }
        body.ui-v3.force-mobile #detail-dests .dest-item-modern {
            display: grid;
            grid-template-columns: auto 1fr auto;
            gap: 16px;
            align-items: center;
            position: relative;
            padding: 10px 12px;
            border-radius: 12px;
            border: 1px solid rgba(244, 211, 94, 0.52);
            background: rgba(10, 18, 34, 0.9);
        }
        body.ui-v3.theme-dark.force-mobile #panel-dests-section,
        body.ui-v3.force-mobile:not(.theme-light) #panel-dests-section {
            background: #050c18 !important;
            background-image: none !important;
        }
        body.ui-v3.theme-dark.force-mobile #detail-dests,
        body.ui-v3.force-mobile:not(.theme-light) #detail-dests {
            background: #050c18 !important;
            background-image: none !important;
            border-radius: 14px;
            padding: 8px;
        }
        body.ui-v3.theme-dark.force-mobile #detail-dests .dest-list-modern,
        body.ui-v3.force-mobile:not(.theme-light) #detail-dests .dest-list-modern {
            background: #050c18 !important;
            background-image: none !important;
            border-radius: 12px;
            padding: 2px;
        }
        body.ui-v3.theme-dark.force-mobile #detail-dests .dest-item-modern,
        body.ui-v3.force-mobile:not(.theme-light) #detail-dests .dest-item-modern {
            background: #050c18 !important;
            background-image: none !important;
        }
        body.ui-v3.theme-light.force-mobile #detail-dests .dest-item-modern {
            background: rgba(255, 255, 255, 0.94);
            border-color: rgba(208, 178, 78, 0.72);
        }
        body.ui-v3.force-mobile #detail-dests .dest-item-name {
            font-weight: 700;
            font-size: 14px;
            min-width: 0;
            color: var(--text);
        }
        body.ui-v3.force-mobile #detail-dests .dest-item-time {
            font-weight: 750;
            font-size: 14px;
            white-space: nowrap;
            color: #f8fafc;
        }
        body.ui-v3.theme-light.force-mobile #detail-dests .dest-item-time {
            color: #0f172a;
        }
        body.ui-v3.force-mobile #detail-dests .dest-item-type {
            width: 12px;
            height: 20px;
            border-radius: 999px;
            border: 1px solid rgba(255,255,255,0.45);
            box-shadow: 0 0 0 1px rgba(2,6,23,0.3);
            justify-self: start;
            position: relative;
            cursor: pointer;
            touch-action: manipulation;
        }
        body.ui-v3.force-mobile #detail-dests .dest-type-hint {
            position: absolute;
            left: 10px;
            bottom: calc(100% + 6px);
            transform: none;
            background: rgba(11, 18, 34, 0.96);
            color: #e2e8f0;
            border: 1px solid rgba(244, 211, 94, 0.75);
            border-radius: 8px;
            padding: 5px 8px;
            font-size: 11px;
            line-height: 1.2;
            white-space: nowrap;
            z-index: 12;
            box-shadow: 0 6px 16px rgba(2, 6, 23, 0.35);
            pointer-events: none;
        }
        body.ui-v3.theme-light.force-mobile #detail-dests .dest-type-hint {
            background: rgba(255, 255, 255, 0.96);
            color: #0f172a;
            border-color: rgba(208, 178, 78, 0.78);
        }
        body.ui-v3.force-mobile #detail-dests .dest-item-type.type-hiking { background:#f4d35e; }
        body.ui-v3.force-mobile #detail-dests .dest-item-type.type-mountain { background:#d64545; }
        body.ui-v3.force-mobile #detail-dests .dest-item-type.type-alpine { background:#6a9ad8; }
        body.ui-v3.force-mobile #detail-dests .dest-item-type.type-footroute { background:#22c55e; }
        body.ui-v3.force-mobile #detail-dests .dest-item-type.type-wheelchair { background:#ffffff; }
        body.ui-v3.force-mobile #detail-dests .dest-item-type.type-winter_hiking { background:#e07acb; }
        body.ui-v3.force-mobile #detail-dests .dest-item-type.type-raquette { background:#e07acb; }
        body.ui-v3.force-mobile #detail-dests .dest-item-type.type-skirando { background:#e07acb; }
        body.ui-v3.force-mobile #detail-dests .dest-item-type.type-nordic { background:#8fd3ff; }
        /* Final desktop background override (subtle outside header) */
        body.ui-v3.theme-dark:not(.force-mobile) {
            background:
                radial-gradient(920px 560px at 8% 10%, rgba(244, 211, 94, 0.16), transparent 58%),
                radial-gradient(1020px 680px at 88% 6%, rgba(128, 175, 255, 0.16), transparent 58%),
                radial-gradient(760px 520px at 52% 104%, rgba(89, 131, 190, 0.12), transparent 60%),
                linear-gradient(145deg, #091322 0%, #122036 42%, #223451 100%),
                linear-gradient(rgba(255,255,255,0.035), rgba(255,255,255,0.035)),
                url('/static/panels/topo-bg-invert.png?v=6') !important;
            background-size: cover, cover, cover, cover, cover, 820px 820px !important;
            background-blend-mode: screen, screen, soft-light, normal, normal, screen;
            background-attachment: fixed, fixed, fixed, fixed, fixed, fixed !important;
        }
        body.ui-v3.theme-light:not(.force-mobile) {
            background:
                radial-gradient(920px 560px at 10% 12%, rgba(244, 211, 94, 0.14), transparent 58%),
                radial-gradient(980px 620px at 86% 8%, rgba(149, 186, 235, 0.16), transparent 60%),
                linear-gradient(180deg, #f7f9fd 0%, #edf2f8 44%, #dde6f1 100%),
                linear-gradient(rgba(255,255,255,0.28), rgba(255,255,255,0.28)),
                url('/static/panels/topo-bg.png?v=6') !important;
            background-size: cover, cover, cover, cover, 900px 900px !important;
            background-blend-mode: soft-light, soft-light, normal, normal, multiply;
            background-attachment: fixed, fixed, fixed, fixed, fixed !important;
        }
        /* Lighter typography on desktop (less heavy/bold) */
        body.ui-v3:not(.force-mobile) #open-submit,
        body.ui-v3:not(.force-mobile) .panel-list .search-wrap button {
            font-weight: 550 !important;
            letter-spacing: 0.01em !important;
        }
        body.ui-v3:not(.force-mobile) #open-submit {
            max-width: 168px;
            white-space: normal !important;
            line-height: 1.15;
            text-align: center;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }
        body.ui-v3:not(.force-mobile) #detail-dests .dest-item-name,
        body.ui-v3:not(.force-mobile) #detail-dests .dest-item-time,
        body.ui-v3:not(.force-mobile) .dest-table td,
        body.ui-v3:not(.force-mobile) .popup-dest-col .dest-time {
            font-weight: 550 !important;
        }
        body.ui-v3:not(.force-mobile) #contact-toggle {
            font-weight: 600 !important;
        }
        /* Light mode: left-menu collapse/show buttons should not look dark */
        body.ui-v3.theme-light .panel-collapse,
        body.ui-v3.theme-light .menu-toggle-show {
            background: #eef2f7 !important;
            color: #475569 !important;
            border-color: #cbd5e1 !important;
            box-shadow: 0 6px 14px rgba(15, 23, 42, 0.12) !important;
        }
        body.ui-v3.theme-light .panel-collapse:hover,
        body.ui-v3.theme-light .menu-toggle-show:hover {
            background: #e2e8f0 !important;
            color: #334155 !important;
            border-color: #bfc9d8 !important;
        }
        body.ui-v3.theme-light .panel-resizer::before {
            background: rgba(148, 163, 184, 0.45) !important;
        }
        body.ui-v3.theme-light .panel-resizer::after {
            color: #64748b !important;
            background: #eef2f7 !important;
            border-color: #cbd5e1 !important;
            box-shadow: 0 6px 14px rgba(15, 23, 42, 0.12) !important;
        }
        /* Contact button: less bold and softer in light mode */
        body.ui-v3:not(.force-mobile) #contact-toggle {
            font-weight: 400 !important;
        }
        body.ui-v3.theme-light #contact-toggle {
            color: #475569 !important;
        }
        /* Header count: compact stat pill in desktop actions */
        body.ui-v3:not(.force-mobile) header .title-wrap {
            display: flex;
            align-items: center;
            align-self: center;
            min-height: 100%;
            padding-bottom: 0;
        }
        body.ui-v3:not(.force-mobile) .panel-count {
            padding: 0 !important;
            border-radius: 0 !important;
            border: 0 !important;
            background: transparent !important;
            box-shadow: none !important;
            text-shadow: none !important;
            font-weight: 520 !important;
            cursor: default !important;
            user-select: none;
            pointer-events: none;
        }
        body.ui-v3:not(.force-mobile) .header-actions {
            display: flex;
            flex-wrap: nowrap;
            align-items: center;
            justify-content: flex-end;
            column-gap: 10px;
            position: static;
            align-self: center;
            padding-top: 0;
            z-index: 10;
            background: transparent !important;
            border: 0 !important;
            box-shadow: none !important;
            backdrop-filter: none !important;
            -webkit-backdrop-filter: none !important;
        }
        body.ui-v3:not(.force-mobile) .panel-count .count-label {
            font-size: 10px !important;
            font-weight: 700 !important;
            letter-spacing: 0.18em !important;
            text-transform: uppercase !important;
            opacity: 0.72;
        }
        body.ui-v3:not(.force-mobile) .panel-count .count-value {
            font-size: 16px !important;
            font-weight: 800 !important;
        }
        body.ui-v3.theme-dark:not(.force-mobile) .panel-list.sidebar-saas .saas-search,
        body.ui-v3.theme-dark:not(.force-mobile) .panel-list.sidebar-saas .saas-hero,
        body.ui-v3.theme-dark:not(.force-mobile) .panel-list.sidebar-saas .saas-card,
        body.ui-v3.theme-dark:not(.force-mobile) .panel-list.sidebar-saas #report-form,
        body.ui-v3.theme-dark:not(.force-mobile) .panel-list.sidebar-saas #contact-body {
            border: 0.75px solid rgba(244, 211, 94, 0.62) !important;
            outline: 0 !important;
            box-shadow: 0 10px 22px rgba(2, 6, 23, 0.24) !important;
        }
        /* Final background override: pure CSS topo, high visibility, no image files */
        body.ui-v3 {
            --topo-bg: none !important;
        }
        body.ui-v3.theme-dark.force-mobile {
            background:
                linear-gradient(165deg, #56606f 0%, #677181 58%, #758091 100%),
                repeating-radial-gradient(980px 700px at 20% 42%, rgba(226, 232, 240, 0.28) 0 2px, rgba(226, 232, 240, 0) 2px 18px),
                repeating-radial-gradient(1120px 820px at 76% 64%, rgba(203, 213, 225, 0.22) 0 2px, rgba(203, 213, 225, 0) 2px 20px) !important;
            background-size: cover, cover, cover !important;
            background-attachment: fixed, fixed, fixed !important;
        }
        body.ui-v3.theme-light.force-mobile {
            background:
                linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%),
                repeating-radial-gradient(980px 700px at 20% 42%, rgba(100, 116, 139, 0.22) 0 2px, rgba(100, 116, 139, 0) 2px 18px),
                repeating-radial-gradient(1120px 820px at 76% 64%, rgba(100, 116, 139, 0.16) 0 2px, rgba(100, 116, 139, 0) 2px 20px) !important;
            background-size: cover, cover, cover !important;
            background-attachment: fixed, fixed, fixed !important;
        }
        /* Remove sheet overlays that hide body background */
        body.ui-v3.theme-dark:not(.force-mobile) .panel-list.sidebar-saas {
            background: transparent !important;
            backdrop-filter: none !important;
            -webkit-backdrop-filter: none !important;
        }
        body.ui-v3.theme-light:not(.force-mobile) .panel-list.sidebar-saas {
            background: transparent !important;
        }
        /* Final mobile bottom-sheet reset: one shell + five identical cards */
        body.ui-v3.force-mobile .panel-list.sidebar-saas {
            background: #6f7786 !important;
            background-image: none !important;
            border: 2px solid rgba(244, 211, 94, 0.96) !important;
            box-shadow: none !important;
            backdrop-filter: none !important;
            -webkit-backdrop-filter: none !important;
            padding: 0 !important;
        }
        body.ui-v3.force-mobile .mobile-panel-shell {
            display: block !important;
            margin: 0 !important;
            padding: 0 !important;
            border-radius: 0 !important;
            background: #6f7786 !important;
            background-image: none !important;
            border: 0 !important;
            box-shadow: none !important;
            backdrop-filter: none !important;
            -webkit-backdrop-filter: none !important;
        }
        body.ui-v3.force-mobile .mobile-panel-shell {
            display: grid !important;
            gap: 10px !important;
        }
        body.ui-v3.theme-dark.force-mobile .mobile-panel-shell,
        body.ui-v3.force-mobile:not(.theme-light) .mobile-panel-shell {
            background: #6f7786 !important;
            background-image: none !important;
            border: 0 !important;
            box-shadow: none !important;
        }
        body.ui-v3.theme-light.force-mobile .mobile-panel-shell {
            background: rgba(210, 217, 228, 0.84) !important;
            background-image: none !important;
            border: 0 !important;
            box-shadow: none !important;
        }
        body.ui-v3.force-mobile .mobile-panel-shell > #panel-detail {
            background: transparent !important;
            border: 0 !important;
            box-shadow: none !important;
            padding: 0 !important;
            margin: 0 !important;
            display: grid !important;
            gap: 10px !important;
        }
        body.ui-v3.force-mobile .panel-list.mobile-empty .mobile-panel-shell > #panel-detail {
            display: none !important;
        }
        body.ui-v3.force-mobile .mobile-panel-shell > .saas-search,
        body.ui-v3.force-mobile .mobile-panel-shell > #panel-placeholder,
        body.ui-v3.force-mobile .mobile-panel-shell > #panel-contact-section,
        body.ui-v3.force-mobile .mobile-panel-shell > #panel-detail > .saas-hero,
        body.ui-v3.force-mobile .mobile-panel-shell > #panel-detail > .saas-card {
            width: auto !important;
            max-width: none !important;
            margin: 0 10px !important;
            padding: 14px !important;
            border-radius: 18px !important;
            border-width: 1.5px !important;
            border-style: solid !important;
            border-color: rgba(244, 211, 94, 0.84) !important;
            box-sizing: border-box !important;
            backdrop-filter: none !important;
            -webkit-backdrop-filter: none !important;
        }
        body.ui-v3.force-mobile .mobile-panel-shell > #panel-detail > #panel-info-section,
        body.ui-v3.force-mobile .mobile-panel-shell > #panel-detail > #panel-photos-section,
        body.ui-v3.force-mobile .mobile-panel-shell > #panel-detail > #panel-dests-section {
            margin-left: 10px !important;
            margin-right: 10px !important;
        }
        body.ui-v3.force-mobile .mobile-panel-shell > #panel-contact-section {
            margin-bottom: 10px !important;
            position: relative !important;
            z-index: 6 !important;
            pointer-events: auto !important;
        }
        body.ui-v3.force-mobile .mobile-panel-shell > #panel-detail {
            position: relative !important;
            z-index: 1 !important;
        }
        body.ui-v3.force-mobile #contact-toggle,
        body.ui-v3.force-mobile #contact-body {
            position: relative !important;
            z-index: 7 !important;
            pointer-events: auto !important;
            touch-action: manipulation !important;
        }
        body.ui-v3.force-mobile .saas-icon-actions {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }
        body.ui-v3.theme-dark.force-mobile #detail-share-btn,
        body.ui-v3.force-mobile:not(.theme-light) #detail-share-btn {
            background: rgba(51, 65, 85, 0.75) !important;
            color: #e2e8f0 !important;
            border: 1px solid rgba(148, 163, 184, 0.5) !important;
        }
        body.ui-v3.theme-dark.force-mobile .mobile-panel-shell > .saas-search,
        body.ui-v3.theme-dark.force-mobile .mobile-panel-shell > #panel-placeholder,
        body.ui-v3.theme-dark.force-mobile .mobile-panel-shell > #panel-contact-section,
        body.ui-v3.theme-dark.force-mobile .mobile-panel-shell > #panel-detail > .saas-hero,
        body.ui-v3.theme-dark.force-mobile .mobile-panel-shell > #panel-detail > .saas-card,
        body.ui-v3.force-mobile:not(.theme-light) .mobile-panel-shell > .saas-search,
        body.ui-v3.force-mobile:not(.theme-light) .mobile-panel-shell > #panel-placeholder,
        body.ui-v3.force-mobile:not(.theme-light) .mobile-panel-shell > #panel-contact-section,
        body.ui-v3.force-mobile:not(.theme-light) .mobile-panel-shell > #panel-detail > .saas-hero,
        body.ui-v3.force-mobile:not(.theme-light) .mobile-panel-shell > #panel-detail > .saas-card {
            background: #0b1730 !important;
            border: 1px solid rgba(244, 211, 94, 0.84) !important;
            box-shadow: 0 8px 18px rgba(2, 6, 23, 0.28) !important;
        }
        body.ui-v3.theme-light.force-mobile .mobile-panel-shell > .saas-search,
        body.ui-v3.theme-light.force-mobile .mobile-panel-shell > #panel-placeholder,
        body.ui-v3.theme-light.force-mobile .mobile-panel-shell > #panel-contact-section,
        body.ui-v3.theme-light.force-mobile .mobile-panel-shell > #panel-detail > .saas-hero,
        body.ui-v3.theme-light.force-mobile .mobile-panel-shell > #panel-detail > .saas-card {
            background: rgba(255, 255, 255, 0.94) !important;
            border: 1px solid rgba(203, 213, 225, 0.92) !important;
            box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12) !important;
        }
        body.ui-v3.theme-light.force-mobile .mobile-panel-shell > .season-wrap,
        body.ui-v3.theme-light.force-mobile .mobile-panel-shell > .saas-search,
        body.ui-v3.theme-light.force-mobile .mobile-panel-shell > #panel-placeholder,
        body.ui-v3.theme-light.force-mobile .mobile-panel-shell > #panel-contact-section,
        body.ui-v3.theme-light.force-mobile .mobile-panel-shell > #panel-detail > .saas-hero,
        body.ui-v3.theme-light.force-mobile .mobile-panel-shell > #panel-detail > .saas-card {
            border: 1px solid rgba(244, 211, 94, 0.88) !important;
            box-shadow: 0 8px 18px rgba(15, 23, 42, 0.1) !important;
        }
        body.ui-v3.force-mobile .mobile-panel-shell > .saas-search #search-label,
        body.ui-v3.force-mobile .mobile-panel-shell > #panel-detail > .saas-hero .hero-info-title,
        body.ui-v3.force-mobile .mobile-panel-shell > #panel-detail > .saas-card h4 {
            display: block !important;
            margin: 0 0 10px 0 !important;
            padding: 0 0 10px 0 !important;
            border-bottom: 1px solid rgba(148, 163, 184, 0.28) !important;
        }
        body.ui-v3.force-mobile .mobile-panel-shell > #panel-detail > .saas-hero,
        body.ui-v3.force-mobile .mobile-panel-shell > #panel-detail > .saas-card {
            margin-left: 0 !important;
            margin-right: 0 !important;
        }
        body.ui-v3.force-mobile .mobile-panel-shell .search-wrap input,
        body.ui-v3.force-mobile .mobile-panel-shell #contact-message,
        body.ui-v3.force-mobile .mobile-panel-shell #contact-email,
        body.ui-v3.force-mobile .mobile-panel-shell #report-message,
        body.ui-v3.force-mobile .mobile-panel-shell #report-email {
            background: rgba(15, 23, 42, 0.78) !important;
            border: 1px solid rgba(148, 163, 184, 0.34) !important;
            color: #f8fafc !important;
        }
        body.ui-v3.force-mobile .mobile-panel-shell .search-wrap input::placeholder,
        body.ui-v3.force-mobile .mobile-panel-shell #contact-message::placeholder,
        body.ui-v3.force-mobile .mobile-panel-shell #contact-email::placeholder,
        body.ui-v3.force-mobile .mobile-panel-shell #report-message::placeholder,
        body.ui-v3.force-mobile .mobile-panel-shell #report-email::placeholder {
            color: rgba(226, 232, 240, 0.82) !important;
            opacity: 1 !important;
        }
        body.ui-v3.theme-light.force-mobile header,
        body.ui-v3.theme-light.force-mobile header .title-wrap p,
        body.ui-v3.theme-light.force-mobile #settings-title,
        body.ui-v3.theme-light.force-mobile .settings-panel .settings-title,
        body.ui-v3.theme-light.force-mobile .settings-panel .text-link,
        body.ui-v3.theme-light.force-mobile .panel-list.sidebar-saas #panel-placeholder,
        body.ui-v3.theme-light.force-mobile .panel-list.sidebar-saas #panel-placeholder *,
        body.ui-v3.theme-light.force-mobile .panel-list.sidebar-saas .hero-info-title,
        body.ui-v3.theme-light.force-mobile .panel-list.sidebar-saas .saas-card h4,
        body.ui-v3.theme-light.force-mobile .panel-list.sidebar-saas .meta-line,
        body.ui-v3.theme-light.force-mobile .panel-list.sidebar-saas #detail-title {
            color: #0f172a !important;
        }
        body.ui-v3.theme-light.force-mobile .settings-panel .settings-row > span {
            color: #0f172a !important;
            font-weight: 400 !important;
        }
        body.ui-v3.force-mobile header {
            z-index: 20020 !important;
        }
        body.ui-v3.force-mobile .settings-menu,
        body.ui-v3.force-mobile .header-actions,
        body.ui-v3.force-mobile .settings-toggle {
            position: relative;
            z-index: 20025 !important;
        }
        body.ui-v3.force-mobile .settings-panel {
            z-index: 20030 !important;
            padding: 14px !important;
            border-radius: 18px !important;
            border: 1px solid rgba(15, 23, 42, 0.28) !important;
            box-shadow: 0 16px 34px rgba(15, 23, 42, 0.24) !important;
            right: -8px !important;
        }
        body.ui-v3.force-mobile .settings-panel .settings-title {
            font-size: 12px !important;
            font-weight: 400 !important;
            letter-spacing: 0.1em !important;
            margin-bottom: 2px !important;
            color: #eef2f7 !important;
            padding-bottom: 10px !important;
            border-bottom: 1px solid rgba(244, 211, 94, 0.62) !important;
        }
        body.ui-v3.force-mobile .settings-panel .settings-row {
            min-height: 42px !important;
            gap: 10px !important;
        }
        body.ui-v3.force-mobile .settings-panel .settings-row > span {
            color: rgba(248, 250, 252, 0.96) !important;
            font-weight: 600 !important;
        }
        body.ui-v3.force-mobile .settings-panel .settings-divider {
            margin: 4px 0 2px !important;
            background: rgba(244, 211, 94, 0.62) !important;
        }
        body.ui-v3.force-mobile .settings-panel .text-link {
            padding: 10px 2px !important;
            font-size: 15px !important;
            font-weight: 400 !important;
            border-bottom: 1px solid rgba(244, 211, 94, 0.62) !important;
            color: #f8fafc !important;
        }
        body.ui-v3.force-mobile .settings-panel .text-link:last-child {
            border-bottom: 0 !important;
        }
        body.ui-v3.force-mobile .settings-panel .text-link::after {
            opacity: 1 !important;
            color: #f4d35e !important;
            text-shadow: 0 0 0.5px rgba(15, 23, 42, 0.22) !important;
            font-size: 15px !important;
            font-weight: 800 !important;
        }
        body.ui-v3.force-mobile .settings-panel select,
        body.ui-v3.force-mobile .settings-panel .user-toggle {
            background: #10203c !important;
            border: 1px solid rgba(109, 130, 165, 0.32) !important;
            color: #f8fafc !important;
            min-height: 34px !important;
            height: 34px !important;
            border-radius: 14px !important;
            box-sizing: border-box !important;
        }
        body.ui-v3.force-mobile #settings-panel select {
            width: 68px !important;
            min-width: 68px !important;
            padding: 0 28px 0 12px !important;
            line-height: 34px !important;
            appearance: none !important;
            -webkit-appearance: none !important;
            background-repeat: no-repeat !important;
            background-position: right 10px center !important;
            background-size: 11px 7px !important;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
        }
        body.ui-v3.force-mobile #settings-panel #duration-format-select {
            width: 112px !important;
            min-width: 112px !important;
        }
        body.ui-v3.force-mobile .settings-panel .user-toggle {
            min-width: 96px !important;
            padding: 0 12px !important;
        }
        body.ui-v3.force-mobile .settings-panel .user-caret {
            font-size: 0 !important;
            width: 12px !important;
            height: 8px !important;
            margin-left: 6px !important;
            opacity: 1 !important;
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
        }
        body.ui-v3.force-mobile .settings-panel .user-caret::before {
            content: "";
            width: 11px;
            height: 7px;
            display: block;
            background-repeat: no-repeat;
            background-position: center;
            background-size: 11px 7px;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
        }
        body.ui-v3.theme-light.force-mobile .settings-panel select,
        body.ui-v3.theme-light.force-mobile .settings-panel .user-toggle {
            background: rgba(255, 255, 255, 0.96) !important;
            color: #0f172a !important;
            -webkit-text-fill-color: #0f172a !important;
            text-shadow: none !important;
            caret-color: #0f172a !important;
            color-scheme: light !important;
            border: 1px solid rgba(148, 163, 184, 0.36) !important;
        }
        body.ui-v3.theme-light.force-mobile #settings-panel select {
            opacity: 1 !important;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%230f172a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
        }
        body.ui-v3.theme-light.force-mobile .settings-panel select option {
            color: #0f172a !important;
            background: #ffffff !important;
        }
        body.ui-v3.theme-light.force-mobile #settings-panel form select,
        body.ui-v3.theme-light.force-mobile #settings-panel form select *,
        body.ui-v3.theme-light.force-mobile #user-toggle,
        body.ui-v3.theme-light.force-mobile #user-toggle *,
        body.ui-v3.theme-light.force-mobile .user-toggle,
        body.ui-v3.theme-light.force-mobile .user-toggle * {
            color: #0f172a !important;
            -webkit-text-fill-color: #0f172a !important;
            fill: #0f172a !important;
            stroke: #0f172a !important;
        }
        body.ui-v3.theme-light.force-mobile .settings-panel .user-caret::before {
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%230f172a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
        }
        body.ui-v3.force-mobile .settings-toggle {
            border-color: rgba(15, 23, 42, 0.38) !important;
            box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18) !important;
        }
        body.ui-v3.force-mobile .mobile-panel-shell > .saas-search {
            margin-top: 8px !important;
        }
        body.ui-v3.force-mobile .panel-list.sidebar-saas .search-wrap input,
        body.ui-v3.force-mobile .panel-list.sidebar-saas #contact-message,
        body.ui-v3.force-mobile .panel-list.sidebar-saas #contact-email,
        body.ui-v3.force-mobile .panel-list.sidebar-saas #report-message,
        body.ui-v3.force-mobile .panel-list.sidebar-saas #report-email {
            background: #1c2b4a !important;
            color: #f8fafc !important;
            border: 1px solid rgba(148, 163, 184, 0.38) !important;
        }
        body.ui-v3.theme-light.force-mobile .panel-list.sidebar-saas .search-wrap input,
        body.ui-v3.theme-light.force-mobile .panel-list.sidebar-saas #contact-message,
        body.ui-v3.theme-light.force-mobile .panel-list.sidebar-saas #contact-email,
        body.ui-v3.theme-light.force-mobile .panel-list.sidebar-saas #report-message,
        body.ui-v3.theme-light.force-mobile .panel-list.sidebar-saas #report-email {
            background: rgba(255, 255, 255, 0.96) !important;
            color: #0f172a !important;
            border: 1px solid rgba(148, 163, 184, 0.32) !important;
        }
        body.ui-v3.force-mobile .panel-list.sidebar-saas .search-wrap input::placeholder,
        body.ui-v3.force-mobile .panel-list.sidebar-saas #contact-message::placeholder,
        body.ui-v3.force-mobile .panel-list.sidebar-saas #contact-email::placeholder,
        body.ui-v3.force-mobile .panel-list.sidebar-saas #report-message::placeholder,
        body.ui-v3.force-mobile .panel-list.sidebar-saas #report-email::placeholder {
            color: rgba(241, 245, 249, 0.86) !important;
            opacity: 1 !important;
        }
        body.ui-v3.theme-light.force-mobile .panel-list.sidebar-saas .search-wrap input::placeholder,
        body.ui-v3.theme-light.force-mobile .panel-list.sidebar-saas #contact-message::placeholder,
        body.ui-v3.theme-light.force-mobile .panel-list.sidebar-saas #contact-email::placeholder,
        body.ui-v3.theme-light.force-mobile .panel-list.sidebar-saas #report-message::placeholder,
        body.ui-v3.theme-light.force-mobile .panel-list.sidebar-saas #report-email::placeholder {
            color: rgba(15, 23, 42, 0.5) !important;
        }
        body.ui-v3.force-mobile #search-btn {
            font-weight: 400 !important;
        }
        body.ui-v3.force-mobile .panel-list.sidebar-saas #report-form,
        body.ui-v3.force-mobile .panel-list.sidebar-saas #contact-body {
            margin-top: 10px !important;
        }
        /* Final visual alignment with About / Guestbook */
        body.ui-v3:not(.force-mobile) {
            background:
                radial-gradient(1200px 800px at 16% -10%, rgba(244, 211, 94, 0.08), transparent 60%),
                radial-gradient(1000px 760px at 86% -18%, rgba(96, 165, 250, 0.08), transparent 62%),
                linear-gradient(180deg, #1a2638 0%, #162236 100%) !important;
            background-attachment: fixed !important;
        }
        body.ui-v3.theme-light:not(.force-mobile) {
            background:
                linear-gradient(rgba(255,255,255,0.88), rgba(255,255,255,0.88)),
                radial-gradient(1200px 800px at 15% -10%, rgba(15,23,42,0.035), transparent 60%),
                radial-gradient(1000px 700px at 85% -20%, rgba(15,23,42,0.03), transparent 65%),
                linear-gradient(180deg, #f8fafc 0%, #eef3f8 100%) !important;
            background-attachment: fixed !important;
        }
        body.ui-v3:not(.force-mobile) header {
            margin: 16px 20px 0 !important;
            padding: 12px 20px !important;
            min-height: 88px !important;
            border: 1px solid rgba(255, 255, 255, 0.08) !important;
            border-radius: 30px !important;
            background:
                linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)),
                linear-gradient(145deg, rgba(7, 14, 28, 0.42), rgba(16, 28, 48, 0.22)) !important;
            box-shadow: 0 28px 46px rgba(3, 8, 20, 0.24), inset 0 1px 0 rgba(255,255,255,0.08) !important;
            backdrop-filter: blur(18px) saturate(1.08) !important;
            -webkit-backdrop-filter: blur(18px) saturate(1.08) !important;
            overflow: visible !important;
        }
        body.ui-v3.theme-light:not(.force-mobile) header {
            border-color: rgba(148, 163, 184, 0.26) !important;
            background:
                linear-gradient(180deg, rgba(255,255,255,0.82), rgba(255,255,255,0.62)),
                linear-gradient(145deg, rgba(255,255,255,0.3), rgba(226, 234, 245, 0.22)) !important;
            box-shadow: 0 24px 40px rgba(15, 23, 42, 0.09), inset 0 1px 0 rgba(255,255,255,0.62) !important;
        }
        body.ui-v3:not(.force-mobile) header::before {
            content: "";
            position: absolute;
            inset: 0;
            border-radius: inherit;
            pointer-events: none;
            background:
                radial-gradient(420px 120px at 14% 0%, rgba(244, 211, 94, 0.12), transparent 70%),
                radial-gradient(520px 180px at 88% 0%, rgba(128, 175, 255, 0.12), transparent 72%);
            opacity: 0.9;
        }
        body.ui-v3:not(.force-mobile) header img.logo {
            height: 112px !important;
            filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.28)) !important;
        }
        body.ui-v3:not(.force-mobile) header .title-wrap {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            justify-content: center;
            min-height: 100%;
        }
        body.ui-v3:not(.force-mobile) header .title-wrap p {
            color: rgba(226, 232, 240, 0.88) !important;
            font-size: 15px !important;
            font-weight: 500 !important;
            line-height: 1.2 !important;
            letter-spacing: normal !important;
            display: block;
            min-height: 0;
            max-width: 560px;
            white-space: normal !important;
        }
        body.ui-v3.theme-light:not(.force-mobile) header .title-wrap p {
            color: #334155 !important;
        }
        body.ui-v3:not(.force-mobile) .header-actions {
            margin-left: auto !important;
            display: flex !important;
            align-items: center !important;
            gap: 10px !important;
            justify-content: flex-end !important;
            align-self: center !important;
            background: transparent !important;
            border: 0 !important;
            box-shadow: none !important;
            padding: 0 !important;
        }
        body.ui-v3:not(.force-mobile) .header-btn,
        body.ui-v3:not(.force-mobile) .settings-toggle {
            min-height: 58px !important;
            border-radius: 22px !important;
            box-shadow: 0 12px 24px rgba(2,6,23,0.22), inset 0 1px 0 rgba(255,255,255,0.05) !important;
        }
        body.ui-v3:not(.force-mobile) .settings-toggle {
            width: 58px;
            height: 58px;
            font-size: 28px;
        }
        body.ui-v3:not(.force-mobile) .settings-menu {
            position: relative;
            z-index: 2100;
        }
        body.ui-v3:not(.force-mobile) .settings-panel {
            top: calc(100% + 10px) !important;
            width: min(368px, calc(100vw - 44px)) !important;
            min-width: 368px !important;
            padding: 16px 18px !important;
            border-radius: 28px !important;
            box-shadow: 0 24px 42px rgba(2, 6, 23, 0.28) !important;
            z-index: 2200 !important;
            background:
                linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05)),
                linear-gradient(145deg, rgba(7, 14, 28, 0.74), rgba(16, 28, 48, 0.58)) !important;
        }
        body.ui-v3.theme-light:not(.force-mobile) .settings-panel {
            background:
                linear-gradient(180deg, rgba(255,255,255,0.94), rgba(255,255,255,0.88)),
                linear-gradient(145deg, rgba(255,255,255,0.46), rgba(226, 234, 245, 0.32)) !important;
        }
        body.ui-v3.force-mobile {
            background:
                radial-gradient(960px 640px at 18% -8%, rgba(244, 211, 94, 0.12), transparent 58%),
                radial-gradient(820px 620px at 84% -16%, rgba(96, 165, 250, 0.1), transparent 60%),
                linear-gradient(180deg, #657082 0%, #6f7786 100%) !important;
            background-attachment: fixed !important;
        }
        body.ui-v3.theme-light.force-mobile {
            background:
                linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9)),
                radial-gradient(960px 640px at 18% -8%, rgba(15,23,42,0.045), transparent 58%),
                radial-gradient(820px 620px at 84% -16%, rgba(15,23,42,0.035), transparent 60%),
                linear-gradient(180deg, #f8fafc 0%, #eef3f8 100%) !important;
            background-attachment: fixed !important;
        }
    body.ui-v3.force-mobile header,
    body.ui-v3.force-mobile .settings-panel,
    body.ui-v3.force-mobile .settings-toggle {
        background:
            linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.06)),
            linear-gradient(145deg, rgba(7, 14, 28, 0.82), rgba(16, 28, 48, 0.68)) !important;
        border-color: rgba(255,255,255,0.08) !important;
        box-shadow: 0 18px 30px rgba(2,6,23,0.22), inset 0 1px 0 rgba(255,255,255,0.06) !important;
        backdrop-filter: blur(18px) saturate(1.08) !important;
        -webkit-backdrop-filter: blur(18px) saturate(1.08) !important;
    }
    body.ui-v3.theme-light.force-mobile header,
    body.ui-v3.theme-light.force-mobile .settings-panel,
    body.ui-v3.theme-light.force-mobile .settings-toggle {
        background:
            linear-gradient(180deg, rgba(255,255,255,0.94), rgba(255,255,255,0.9)),
            linear-gradient(145deg, rgba(255,255,255,0.58), rgba(226, 234, 245, 0.42)) !important;
        border-color: rgba(148, 163, 184, 0.24) !important;
        box-shadow: 0 16px 28px rgba(15,23,42,0.12), inset 0 1px 0 rgba(255,255,255,0.72) !important;
    }
        body.ui-v3.force-mobile .mobile-panel-shell {
            background: transparent !important;
            box-shadow: none !important;
        }
        body.ui-v3.force-mobile .mobile-panel-shell > .season-wrap,
        body.ui-v3.force-mobile .mobile-panel-shell > .saas-search,
        body.ui-v3.force-mobile .mobile-panel-shell > #panel-placeholder,
        body.ui-v3.force-mobile .mobile-panel-shell > #panel-contact-section,
        body.ui-v3.force-mobile .mobile-panel-shell > #panel-detail > .saas-hero,
        body.ui-v3.force-mobile .mobile-panel-shell > #panel-detail > .saas-card {
            background:
                linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)),
                linear-gradient(145deg, rgba(7, 14, 28, 0.46), rgba(16, 28, 48, 0.28)) !important;
            border: 1px solid rgba(255, 255, 255, 0.08) !important;
            box-shadow: 0 20px 34px rgba(2,6,23,0.2), inset 0 1px 0 rgba(255,255,255,0.06) !important;
        }
        body.ui-v3.theme-light.force-mobile .mobile-panel-shell > .season-wrap,
        body.ui-v3.theme-light.force-mobile .mobile-panel-shell > .saas-search,
        body.ui-v3.theme-light.force-mobile .mobile-panel-shell > #panel-placeholder,
        body.ui-v3.theme-light.force-mobile .mobile-panel-shell > #panel-contact-section,
        body.ui-v3.theme-light.force-mobile .mobile-panel-shell > #panel-detail > .saas-hero,
        body.ui-v3.theme-light.force-mobile .mobile-panel-shell > #panel-detail > .saas-card {
            background:
                linear-gradient(180deg, rgba(246,248,252,0.96), rgba(239,243,249,0.9)),
                linear-gradient(145deg, rgba(255,255,255,0.18), rgba(226, 234, 245, 0.22)) !important;
            border: 1px solid rgba(148, 163, 184, 0.22) !important;
            box-shadow: 0 16px 28px rgba(15,23,42,0.1), inset 0 1px 0 rgba(255,255,255,0.72) !important;
        }
        body.ui-v3.force-mobile .settings-panel .settings-title,
        body.ui-v3.force-mobile .mobile-panel-shell > .saas-search #search-label,
        body.ui-v3.force-mobile .mobile-panel-shell > #panel-detail > .saas-hero .hero-info-title,
        body.ui-v3.force-mobile .mobile-panel-shell > #panel-detail > .saas-card h4 {
            border-bottom-color: rgba(244, 211, 94, 0.62) !important;
        }

.search-feedback {
    margin-top: 8px;
    font-size: 12px;
    color: var(--muted);
    line-height: 1.35;
}
.search-item-meta {
    display: block;
    margin-top: 3px;
    font-size: 11px;
    color: var(--muted);
}
.submit-step-note {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.35;
    margin-bottom: 8px;
}
.submit-review,
.submit-duplicates,
.confirm-details {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(244, 211, 94, 0.18);
    background: rgba(15, 23, 42, 0.48);
}
.submit-review {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
}
.submit-review-visual {
    grid-template-columns: 1fr;
}
.submit-review-title {
    grid-column: 1 / -1;
    margin-bottom: 0 !important;
}
.submit-review-layout {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) minmax(360px, 1.1fr);
    gap: 14px;
    align-items: center;
}
.submit-review-photos {
    display: grid;
    gap: 10px;
    min-width: 0;
}
.submit-review-photo-stage {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.34);
}
.submit-review-photo-stage img,
.submit-review-photo-empty {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.submit-review-photo-empty {
    display: grid;
    place-items: center;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}
.submit-review-photo-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 44px;
    border: 1px solid rgba(244, 211, 94, 0.42);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
    color: #f8fafc;
    font-size: 26px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
}
.submit-review-photo-nav.prev {
    left: 10px;
}
.submit-review-photo-nav.next {
    right: 10px;
}
.submit-review-photo-nav:disabled {
    opacity: 0.32;
    cursor: default;
}
.submit-review-photo-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--text);
}
.submit-review-contact {
    display: grid;
    gap: 4px;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.28);
}
.submit-review-contact span {
    overflow-wrap: anywhere;
}
.submit-review-popup-preview {
    min-width: 0;
    overflow-x: auto;
}
.submit-review-popup-preview .panel-popup {
    width: 100%;
    max-width: 100%;
    padding: 0;
}
.submit-review-popup-preview .panel-popup-top,
.submit-review-popup-preview .popup-dests-wrap {
    width: 100%;
}
.submit-review-popup-preview .popup-dests {
    max-width: 100%;
}
.submit-review-wide {
    grid-column: 1 / -1;
}
.submit-review-dests {
    display: grid;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.submit-review-dests li {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: var(--text);
    line-height: 1.25;
}
.submit-review-dests li.muted {
    color: var(--muted);
}
.submit-review-title,
.submit-review-photo-meta strong,
.submit-review-contact strong,
.submit-duplicates > strong,
.confirm-details > strong {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin-bottom: 4px;
}
.submit-review-photo-meta span,
.submit-review-contact span,
.submit-duplicates li,
.confirm-details > span {
    display: block;
    color: var(--text);
}
.submit-duplicates {
    border-color: rgba(248, 113, 113, 0.24);
    background: rgba(127, 29, 29, 0.16);
}
.submit-duplicates ul {
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}
.submit-duplicates li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 10px;
    border: 1px solid rgba(248, 113, 113, 0.18);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.24);
}
.submit-duplicates li > div {
    min-width: 0;
}
.submit-duplicates li strong {
    margin-bottom: 3px;
    color: var(--text);
    letter-spacing: 0;
    text-transform: none;
    font-size: 13px;
}
.submit-duplicates li span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.3;
}
.duplicate-view {
    flex: 0 0 auto;
    border: 1px solid rgba(244, 211, 94, 0.34);
    border-radius: 999px;
    padding: 6px 10px;
    color: #f8fafc;
    background: rgba(244, 211, 94, 0.12);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}
@media (max-width: 560px) {
    .modal-stepper {
        gap: 5px;
    }
    .modal-step {
        padding: 6px 5px;
        font-size: 10px;
    }
    .modal-step:not(:last-child)::after {
        display: none;
    }
    .submit-review {
        grid-template-columns: 1fr;
    }
    .submit-duplicates li {
        align-items: flex-start;
        flex-direction: column;
    }
    .duplicate-view {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}
@media (max-width: 760px) {
    .submit-review-layout {
        grid-template-columns: 1fr;
        align-items: stretch;
    }
    .submit-review-popup-preview .panel-popup {
        width: 100%;
    }
    .submit-review-popup-preview .popup-dests {
        width: 100%;
    }
}
.confirm-box {
    border: 1px solid rgba(244, 211, 94, 0.26);
    box-shadow: 0 28px 60px rgba(2, 6, 23, 0.36);
}

/* Visual refresh v15 */
body.ui-v3 header {
    overflow: visible;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    font-family: "Inter", system-ui, -apple-system, sans-serif;
    background:
        radial-gradient(420px 180px at 16% 0%, rgba(251, 191, 36, 0.16), transparent 72%),
        radial-gradient(520px 220px at 84% 8%, rgba(56, 189, 248, 0.12), transparent 74%),
        linear-gradient(180deg, rgba(9, 15, 28, 0.9), rgba(12, 19, 35, 0.78));
    box-shadow: 0 18px 38px rgba(2, 6, 23, 0.3);
    backdrop-filter: blur(20px) saturate(1.08);
    -webkit-backdrop-filter: blur(20px) saturate(1.08);
}
body.ui-v3.theme-light header {
    background:
        radial-gradient(420px 180px at 16% 0%, rgba(251, 191, 36, 0.18), transparent 72%),
        radial-gradient(520px 220px at 84% 8%, rgba(59, 130, 246, 0.1), transparent 74%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(242, 247, 252, 0.92));
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.1);
}
body.ui-v3 header::before {
    content: "";
    position: absolute;
    inset: auto -12% -60% 22%;
    height: 180px;
    background: linear-gradient(90deg, rgba(251, 191, 36, 0.15), rgba(56, 189, 248, 0.05), transparent 72%);
    transform: rotate(-4deg);
    pointer-events: none;
}
body.ui-v3 header img.logo {
    height: 138px;
    filter: drop-shadow(0 16px 24px rgba(15, 23, 42, 0.32));
}
body.ui-v3 header .title-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 8px 0;
}
body.ui-v3 header .title-wrap p {
    color: rgba(226, 232, 240, 0.88);
    font-size: 15px;
    font-weight: 500;
    max-width: 560px;
}
body.ui-v3.theme-light header .title-wrap p {
    color: #334155;
}
.title-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(251, 191, 36, 0.32);
    background: rgba(15, 23, 42, 0.22);
    color: #fde68a;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
body.ui-v3.theme-light .title-kicker {
    background: rgba(255, 255, 255, 0.74);
    color: #92400e;
    border-color: rgba(217, 119, 6, 0.2);
}
.brand-name {
    font-family: "Sora", "Avenir Next", "Segoe UI Variable Display", sans-serif;
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 800;
    line-height: 0.96;
    letter-spacing: -0.04em;
    color: #f8fafc;
    text-shadow: 0 10px 24px rgba(2, 6, 23, 0.34);
}
body.ui-v3.theme-light .brand-name {
    color: #0f172a;
    text-shadow: none;
}
.title-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.title-pills span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(15, 23, 42, 0.34);
    color: rgba(226, 232, 240, 0.88);
    font-size: 12px;
    font-weight: 650;
}
body.ui-v3.theme-light .title-pills span {
    background: rgba(255, 255, 255, 0.82);
    color: #334155;
    border-color: rgba(148, 163, 184, 0.18);
}
body.ui-v3 .header-actions {
    position: relative;
    z-index: 7605;
    font-family: "Inter", system-ui, -apple-system, sans-serif;
}
body.ui-v3 .settings-menu {
    position: relative;
    z-index: 7610;
}
body.ui-v3 .settings-panel {
    z-index: 7620 !important;
    font-family: "Inter", system-ui, -apple-system, sans-serif;
}
body.ui-v3:not(.force-mobile) .header-actions .primary-cta {
    min-height: 46px;
    padding: 0 18px;
    border-radius: 16px;
    border-color: rgba(245, 158, 11, 0.34);
    background:
        linear-gradient(180deg, rgba(251, 191, 36, 0.96), rgba(245, 158, 11, 0.92)),
        linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
    color: #111827;
    white-space: nowrap;
    text-wrap: nowrap;
    line-height: 1;
    flex: 0 0 auto;
    align-self: center;
    box-shadow: 0 16px 28px rgba(245, 158, 11, 0.2);
}
body.ui-v3:not(.force-mobile) .header-actions .primary-cta:hover {
    color: #111827;
    box-shadow: 0 20px 34px rgba(245, 158, 11, 0.28);
}
body.ui-v3.force-mobile .header-actions .primary-cta {
    min-height: 42px;
    padding: 0 14px;
    border-radius: 18px;
}
body.ui-v3:not(.force-mobile) .layout {
    gap: 18px;
    padding: 16px 18px 12px;
}
body.ui-v3:not(.force-mobile) .layout::before {
    inset: 10px;
    border-radius: 30px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)),
        linear-gradient(135deg, rgba(15, 23, 42, 0.22), rgba(15, 23, 42, 0.04));
    border: 1px solid rgba(148, 163, 184, 0.12);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
body.ui-v3:not(.force-mobile) .layout > .panel-list.sidebar-saas {
    padding-top: 30px;
}
body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas .saas-search,
body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas .saas-hero,
body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas .saas-card,
body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas #panel-placeholder,
body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas .season-wrap {
    border-radius: 28px !important;
    border: 1px solid rgba(148, 163, 184, 0.14) !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)),
        linear-gradient(145deg, rgba(9, 16, 30, 0.56), rgba(17, 29, 47, 0.36)) !important;
    box-shadow: 0 22px 38px rgba(2, 6, 23, 0.2), inset 0 1px 0 rgba(255,255,255,0.06) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
body.ui-v3.theme-light:not(.force-mobile) .panel-list.sidebar-saas .saas-search,
body.ui-v3.theme-light:not(.force-mobile) .panel-list.sidebar-saas .saas-hero,
body.ui-v3.theme-light:not(.force-mobile) .panel-list.sidebar-saas .saas-card,
body.ui-v3.theme-light:not(.force-mobile) .panel-list.sidebar-saas #panel-placeholder,
body.ui-v3.theme-light:not(.force-mobile) .panel-list.sidebar-saas .season-wrap {
    background:
        linear-gradient(180deg, rgba(246,248,252,0.96), rgba(239,243,249,0.9)),
        linear-gradient(145deg, rgba(255,255,255,0.18), rgba(226, 234, 245, 0.22)) !important;
    border-color: rgba(148, 163, 184, 0.18) !important;
    box-shadow: 0 20px 34px rgba(15, 23, 42, 0.1), inset 0 1px 0 rgba(255,255,255,0.72) !important;
}
body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas .season-wrap {
    border: 1px solid rgba(244, 211, 94, 0.56) !important;
}
body.ui-v3.theme-light:not(.force-mobile) .panel-list.sidebar-saas .season-wrap {
    border: 1px solid rgba(224, 184, 45, 0.6) !important;
}
body.ui-v3 .panel-count {
    padding: 10px 14px;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.34);
    border: 1px solid rgba(148, 163, 184, 0.14);
}
body.ui-v3.theme-light .panel-count {
    background: rgba(255, 255, 255, 0.76);
}
body.ui-v3 .search-feedback,
body.ui-v3 .submit-step-note {
    color: #a8b6ca;
}
body.ui-v3.theme-light .search-feedback,
body.ui-v3.theme-light .submit-step-note {
    color: #64748b;
}
body.ui-v3 .search-results {
    gap: 10px;
}
body.ui-v3 .search-item {
    border-radius: 22px !important;
    border: 1px solid rgba(96, 165, 250, 0.12) !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015)),
        linear-gradient(145deg, rgba(15, 23, 42, 0.88), rgba(17, 24, 39, 0.76)) !important;
    box-shadow: 0 14px 24px rgba(2, 6, 23, 0.14);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
body.ui-v3 .search-item:hover {
    transform: translateY(-1px);
    border-color: rgba(251, 191, 36, 0.28) !important;
    box-shadow: 0 18px 28px rgba(2, 6, 23, 0.2);
}
body.ui-v3.theme-light .search-item {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.94)),
        linear-gradient(145deg, rgba(255,255,255,0.22), rgba(226, 234, 245, 0.14)) !important;
}
body.ui-v3:not(.force-mobile) #map {
    border-radius: 30px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow:
        0 28px 48px rgba(2, 6, 23, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    overflow: hidden;
}
body.ui-v3 .seo-home-content {
    max-width: 1180px;
    margin: 10px auto 28px;
    padding: 18px 22px 26px;
    border-radius: 24px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03)),
        linear-gradient(145deg, rgba(8, 15, 29, 0.5), rgba(16, 28, 48, 0.28));
    box-shadow: 0 18px 32px rgba(2, 6, 23, 0.16);
}
body.ui-v3.theme-light .seo-home-content {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.94), rgba(255,255,255,0.82)),
        linear-gradient(145deg, rgba(255,255,255,0.24), rgba(226, 234, 245, 0.16));
    border-color: rgba(148, 163, 184, 0.16);
}
body.ui-v3 #submitModal .modal-content,
body.ui-v3 #submitConfirm .confirm-box {
    border-radius: 30px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.03)),
        linear-gradient(145deg, rgba(7, 14, 28, 0.94), rgba(16, 28, 48, 0.82));
    box-shadow: 0 34px 72px rgba(2, 6, 23, 0.38), inset 0 1px 0 rgba(255,255,255,0.06);
}
body.ui-v3.theme-light #submitModal .modal-content,
body.ui-v3.theme-light #submitConfirm .confirm-box {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,255,255,0.9)),
        linear-gradient(145deg, rgba(255,255,255,0.26), rgba(226, 234, 245, 0.18));
    border-color: rgba(148, 163, 184, 0.18);
    box-shadow: 0 28px 56px rgba(15, 23, 42, 0.14), inset 0 1px 0 rgba(255,255,255,0.8);
}
.confirm-details-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
}
@media (max-width: 920px) {
    .title-pills {
        display: none;
    }
    .title-kicker {
        font-size: 10px;
        letter-spacing: 0.1em;
    }
    .brand-name {
        font-size: 30px;
    }
    .confirm-details-grid {
        grid-template-columns: 1fr;
    }
}

/* Header reset + panel/card/map polish v16 */
body.ui-v3 header .title-wrap h1 {
    display: block;
    margin: 0;
    font-family: "Sora", "Avenir Next", "Segoe UI Variable Display", sans-serif;
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 0.98;
    color: #f8fafc;
    text-shadow: 0 10px 24px rgba(2, 6, 23, 0.34);
}
body.ui-v3.theme-light header .title-wrap h1 {
    color: #0f172a;
    text-shadow: none;
}
body.ui-v3 header .title-wrap h1.brand-name {
    display: block !important;
    font-size: clamp(28px, 3vw, 42px);
}
body.ui-v3 header img.logo {
    height: 118px;
}
.title-kicker {
    display: inline-flex;
}
.brand-name {
    display: block !important;
}
.title-pills {
    display: none !important;
}
body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas .saas-hero {
    position: relative;
    overflow: hidden;
}
body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas .saas-hero::after {
    content: "";
    position: absolute;
    inset: auto -18% -32% auto;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.14), transparent 68%);
    pointer-events: none;
}
.detail-summary {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    margin: 10px 0 12px;
    color: #c6d3e4;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.01em;
}
body.ui-v3.theme-light .detail-summary {
    color: #475569;
}
.detail-summary-pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    white-space: nowrap;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(15, 23, 42, 0.28);
}
body.ui-v3.theme-light .detail-summary-pill {
    background: rgba(255, 255, 255, 0.82);
}
.detail-summary-sep {
    color: rgba(148, 163, 184, 0.8);
    font-size: 15px;
    line-height: 1;
}
body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas #detail-title {
    font-size: 30px !important;
    line-height: 1.02 !important;
    margin-bottom: 2px !important;
}
body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas .meta-line {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    grid-template-columns: none !important;
    column-gap: 0 !important;
    gap: 10px !important;
    width: max-content !important;
    max-width: max-content !important;
    padding: 8px 14px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.24);
    border: 1px solid rgba(148, 163, 184, 0.1);
    margin: 6px 0;
    white-space: nowrap;
}
body.ui-v3.theme-light:not(.force-mobile) .panel-list.sidebar-saas .meta-line {
    background: rgba(255, 255, 255, 0.76);
}
body.ui-v3 .panel-list.sidebar-saas .thumbs {
    gap: 14px !important;
}
body.ui-v3 .panel-list.sidebar-saas .thumbs a,
body.ui-v3 .panel-list.sidebar-saas #detail-photo-add {
    position: relative;
    overflow: hidden;
    border-radius: 18px !important;
}
body.ui-v3 .panel-list.sidebar-saas .thumbs img {
    width: 86px !important;
    height: 86px !important;
    border-radius: 18px !important;
    box-shadow: 0 14px 24px rgba(2, 6, 23, 0.18);
    transition: transform 180ms ease, box-shadow 180ms ease;
}
body.ui-v3 .panel-list.sidebar-saas .thumbs a:hover img {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 18px 30px rgba(2, 6, 23, 0.24);
}
body.ui-v3 .panel-list.sidebar-saas #detail-dests .dest-item-modern {
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)),
        linear-gradient(145deg, rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.38));
    box-shadow: 0 10px 18px rgba(2, 6, 23, 0.12);
}
body.ui-v3.theme-light .panel-list.sidebar-saas #detail-dests .dest-item-modern {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.9)),
        linear-gradient(145deg, rgba(255,255,255,0.22), rgba(226, 234, 245, 0.16));
}
.panel-marker-wrap {
    background: transparent;
    border: 0;
}
.panel-marker {
    position: relative;
    width: 34px;
    height: 44px;
    filter: drop-shadow(0 12px 16px rgba(15, 23, 42, 0.28));
}
.panel-marker-sign {
    position: absolute;
    top: 3px;
    left: 6px;
    width: 22px;
    height: 14px;
    border-radius: 5px;
    background: linear-gradient(180deg, #fde68a, #fbbf24);
    border: 1px solid #b45309;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.38);
}
.panel-marker-sign::after {
    content: "";
    position: absolute;
    inset: 3px 5px auto auto;
    width: 10px;
    height: 2px;
    border-radius: 999px;
    background: rgba(146, 64, 14, 0.8);
    box-shadow: 0 4px 0 rgba(146, 64, 14, 0.8);
}
.panel-marker-post {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 4px;
    height: 21px;
    border-radius: 999px;
    background: linear-gradient(180deg, #475569, #1e293b);
}
.panel-marker-base {
    position: absolute;
    bottom: 2px;
    left: 10px;
    width: 14px;
    height: 5px;
    border-radius: 999px;
    background: #334155;
}
.panel-cluster-wrap {
    background: transparent;
    border: 0;
}
.panel-cluster {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    font-family: "Sora", "Avenir Next", sans-serif;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: -0.03em;
    box-shadow: 0 10px 16px rgba(15, 23, 42, 0.18), inset 0 1px 0 rgba(255,255,255,0.22);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.panel-cluster-small {
    background: radial-gradient(circle at 30% 30%, rgba(251, 191, 36, 0.94), rgba(245, 158, 11, 0.88));
}
.panel-cluster-medium {
    background: radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.94), rgba(37, 99, 235, 0.88));
}
.panel-cluster-large {
    background: radial-gradient(circle at 30% 30%, rgba(14, 165, 233, 0.94), rgba(8, 145, 178, 0.88));
}
.leaflet-popup-content-wrapper {
    border-radius: 22px;
    box-shadow: 0 20px 36px rgba(2, 6, 23, 0.24);
}
.panel-popup {
    min-width: 240px;
}
.panel-popup-title {
    font-size: 18px;
    line-height: 1.1;
}
@media (max-width: 900px) {
    .panel-placeholder-card {
        padding: 22px 18px;
        border-radius: 24px !important;
        gap: 12px;
    }
    .panel-placeholder-ornament {
        inset: -10% auto auto 48%;
        width: 180px;
        height: 180px;
    }
    .panel-placeholder-card p {
        font-size: 14px;
    }
}
body.ui-v3.force-mobile .leaflet-popup-content-wrapper {
    border-radius: 18px;
    width: auto !important;
    min-width: min(82vw, 280px) !important;
    max-width: min(88vw, 360px) !important;
}
body.ui-v3.force-mobile .leaflet-popup-content {
    width: auto !important;
    min-width: min(82vw, 280px) !important;
    max-width: 94vw !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    max-height: none !important;
    overflow: visible !important;
}
body.ui-v3.force-mobile .panel-popup {
    min-width: min(82vw, 280px);
    width: fit-content;
    max-width: 94vw;
    padding: 10px;
    box-sizing: border-box;
}
body.ui-v3.force-mobile .leaflet-popup-content-wrapper {
    max-height: none !important;
}
body.ui-v3.force-mobile .leaflet-container .leaflet-popup-close-button {
    top: 8px !important;
    right: 8px !important;
    width: 26px !important;
    height: 26px !important;
    line-height: 22px !important;
    font-size: 22px !important;
    padding: 0 !important;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.28);
}
body.ui-v3.force-mobile .panel-popup-top {
    padding: 10px 12px;
    width: 100%;
    max-width: 100%;
}
body.ui-v3.force-mobile .panel-popup-header {
    gap: 8px;
}
body.ui-v3.force-mobile .panel-popup-title {
    font-size: 16px;
    line-height: 1.05;
    text-wrap: pretty;
    word-break: break-word;
}
body.ui-v3.force-mobile .panel-popup-meta-row {
    gap: 6px;
}
body.ui-v3.force-mobile .panel-popup-alt,
body.ui-v3.force-mobile .panel-popup-count {
    font-size: 10px;
    padding: 3px 8px;
}
body.ui-v3.force-mobile .popup-dests-wrap {
    padding: 8px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
body.ui-v3.force-mobile .popup-dests-title {
    margin-bottom: 6px;
    font-size: 10px;
}
body.ui-v3.force-mobile .popup-dests {
    display: block;
    width: 100%;
    max-width: none;
    max-height: min(42vh, 320px);
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0;
    box-sizing: border-box;
}
body.ui-v3.force-mobile .popup-dest-col,
body.ui-v3.force-mobile .popup-dest-col.popup-dest-col-single {
    min-width: 0;
    width: 100%;
}
body.ui-v3.force-mobile .popup-dest-col li.panel-popup-dest {
    margin-bottom: 8px;
    padding: 8px 10px;
    border-radius: 12px;
    width: max-content;
    min-width: 100%;
    box-sizing: border-box;
}
body.ui-v3.force-mobile .popup-dest-col li {
    grid-template-columns: max-content auto;
    column-gap: 6px;
    row-gap: 2px;
    align-items: start;
}
body.ui-v3.force-mobile .popup-dest-col .dest-name {
    min-width: 0;
    overflow-wrap: anywhere;
}
body.ui-v3.force-mobile .popup-dest-col .dest-time {
    justify-self: end;
    white-space: nowrap;
    font-size: 0.95em;
}
body.ui-v3.force-mobile header {
    grid-template-columns: 60px minmax(0, 1fr) auto !important;
    grid-template-areas: "brand title actions" !important;
    gap: 8px !important;
    padding: calc(var(--mobile-safe-top, 0px) + 6px) 8px 6px !important;
    min-height: 68px !important;
    align-items: center !important;
    overflow: visible !important;
}
body.ui-v3.force-mobile.app-standalone {
    --mobile-safe-top: env(safe-area-inset-top, 0px);
}
body.ui-v3.force-mobile header::before {
    inset: 0 0 0 30% !important;
    height: auto !important;
    transform: none !important;
    border-radius: inherit !important;
}
body.ui-v3.force-mobile header img.logo {
    height: 56px !important;
    width: 56px !important;
    object-fit: contain;
    filter: drop-shadow(0 8px 14px rgba(15, 23, 42, 0.26));
}
body.ui-v3.force-mobile .title-wrap {
    max-width: none !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 2px !important;
}
body.ui-v3.force-mobile .title-kicker,
body.ui-v3.force-mobile .brand-name,
body.ui-v3.force-mobile .title-pills {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}
body.ui-v3.force-mobile .title-wrap h1 {
    display: none !important;
}
body.ui-v3.force-mobile .title-wrap h1.brand-name {
    display: none !important;
}
body.ui-v3.force-mobile .title-wrap p {
    margin: 0 !important;
    font-size: 12px !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;
    color: #f8fafc !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    display: block !important;
    max-width: 140px;
}
body.ui-v3.force-mobile .title-wrap #panel-count {
    display: none !important;
}
body.ui-v3.theme-light.force-mobile .title-wrap p {
    color: #0f172a !important;
}
body.ui-v3.force-mobile .header-actions {
    transform: none !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    gap: 6px !important;
    align-self: center !important;
}
@media (max-width: 390px) {
    body.ui-v3.force-mobile header {
        grid-template-columns: 52px minmax(0, 1fr) auto !important;
        gap: 6px !important;
        padding-left: 6px !important;
        padding-right: 6px !important;
    }
    body.ui-v3.force-mobile header img.logo {
        height: 48px !important;
        width: 48px !important;
    }
    body.ui-v3.force-mobile .title-wrap p {
        font-size: 11px !important;
        line-height: 1.1 !important;
        max-width: 118px;
    }
    body.ui-v3.force-mobile #open-submit,
    body.ui-v3.force-mobile #settings-toggle {
        height: 32px !important;
        min-height: 32px !important;
    }
    body.ui-v3.force-mobile #open-submit {
        padding: 0 8px !important;
        font-size: 11px !important;
    }
}
body.ui-v3.force-mobile #filter-toggle,
body.ui-v3.force-mobile #open-submit,
body.ui-v3.force-mobile #settings-toggle {
    height: 34px !important;
    min-height: 34px !important;
}
body.ui-v3.force-mobile #open-submit {
    padding: 0 10px !important;
    font-size: 12px !important;
}
body.ui-v3.force-mobile #filter-toggle {
    display: none !important;
}
@media (max-width: 390px) {
    body.ui-v3.force-mobile header {
        grid-template-columns: 46px minmax(0, 1fr) auto !important;
        gap: 4px !important;
        padding-top: calc(var(--mobile-safe-top, 0px) + 4px) !important;
        padding-bottom: 4px !important;
        padding-left: 6px !important;
        padding-right: 6px !important;
        min-height: 56px !important;
    }
    body.ui-v3.force-mobile header img.logo {
        height: 42px !important;
        width: 42px !important;
    }
    body.ui-v3.force-mobile .title-wrap p {
        font-size: 10px !important;
        line-height: 1.05 !important;
        max-width: 104px !important;
    }
    body.ui-v3.force-mobile .header-actions {
        gap: 4px !important;
        transform: none !important;
    }
    body.ui-v3.force-mobile #open-submit,
    body.ui-v3.force-mobile #settings-toggle {
        height: 30px !important;
        min-height: 30px !important;
    }
    body.ui-v3.force-mobile #open-submit {
        padding: 0 7px !important;
        font-size: 10px !important;
    }
}
body.ui-v3:not(.force-mobile) #mobile-filters-card {
    display: none !important;
}
body.ui-v3.force-mobile #mobile-filters-card {
    display: grid;
    gap: 12px;
    width: auto !important;
    max-width: none !important;
    margin: 0 10px !important;
    padding: 14px !important;
    border-radius: 18px !important;
    border-width: 1.5px !important;
    border-style: solid !important;
    border-color: rgba(244, 211, 94, 0.84) !important;
    box-sizing: border-box !important;
}
body.ui-v3.force-mobile #panel-count-mobile {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    line-height: 1.1;
    background: transparent !important;
    box-shadow: none !important;
}
body.ui-v3.force-mobile #panel-count-mobile .count-label,
body.ui-v3.force-mobile #panel-count-mobile .count-value {
    font-size: 15px;
    font-weight: 800;
}
body.ui-v3.force-mobile #panel-count-mobile .count-icon {
    width: 15px;
    height: 18px;
}
body.ui-v3.force-mobile #filter-toggle-mobile {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    min-height: 42px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(148, 163, 184, 0.18) !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)),
        linear-gradient(145deg, rgba(17, 24, 39, 0.84), rgba(30, 41, 59, 0.72)) !important;
    color: #f8fafc !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 10px 18px rgba(15, 23, 42, 0.14) !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 12px !important;
    font-weight: 800 !important;
}
body.ui-v3.force-mobile #mobile-filters-body {
    display: none;
}
body.ui-v3.force-mobile.filters-open #mobile-filters-body {
    display: block;
}
body.ui-v3.force-mobile #mobile-filters-body > .season-wrap {
    position: static !important;
    inset: auto !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: none;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}
body.ui-v3.force-mobile.filters-open #mobile-filters-body > .season-wrap {
    display: block !important;
}
body.ui-v3.force-mobile #mobile-filters-body > .season-wrap .type-multi {
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
}
body.ui-v3.force-mobile #mobile-filters-body > .season-wrap .type-toggle {
    opacity: 0.9;
}
body.ui-v3.force-mobile #mobile-filters-body > .season-wrap .type-toggle.active {
    opacity: 1;
    box-shadow: 0 10px 18px rgba(2, 6, 23, 0.22), inset 0 1px 0 rgba(255,255,255,0.12) !important;
}
body.ui-v3.force-mobile #mobile-filters-body > .season-wrap .season-btn {
    background: transparent !important;
    color: rgba(226, 232, 240, 0.82) !important;
}
body.ui-v3.force-mobile #mobile-filters-body > .season-wrap .season-btn.active {
    background: linear-gradient(180deg, rgba(251, 191, 36, 0.96), rgba(245, 158, 11, 0.9)) !important;
    color: #111827 !important;
    border-color: rgba(245, 158, 11, 0.42) !important;
    box-shadow: 0 10px 18px rgba(245, 158, 11, 0.2) !important;
}

/* Filter polish v2 */
body.ui-v3 .season-wrap {
    --filter-surface: rgba(15, 23, 42, 0.44);
    --filter-border: rgba(148, 163, 184, 0.16);
    --filter-text: rgba(226, 232, 240, 0.82);
    --filter-muted: rgba(226, 232, 240, 0.68);
}
body.ui-v3.theme-light .season-wrap {
    --filter-surface: rgba(255, 255, 255, 0.72);
    --filter-border: rgba(148, 163, 184, 0.18);
    --filter-text: #334155;
    --filter-muted: #475569;
}
body.ui-v3 .season-switch.header-switch > div:first-child {
    background: var(--filter-surface) !important;
    border: 1px solid var(--filter-border) !important;
    border-radius: 18px !important;
    padding: 4px !important;
    gap: 4px !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08) !important;
}
body.ui-v3 .season-btn {
    min-height: 36px !important;
    padding: 7px 12px !important;
    border-radius: 14px !important;
    border: 1px solid transparent !important;
    background: transparent !important;
    color: var(--filter-muted) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em;
    box-shadow: none !important;
    transition: background 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease !important;
}
body.ui-v3 .season-btn:hover {
    background: rgba(148, 163, 184, 0.12) !important;
    color: var(--filter-text) !important;
}
body.ui-v3 .season-btn.active {
    background: rgba(248, 250, 252, 0.94) !important;
    color: #0f172a !important;
    border-color: rgba(255, 255, 255, 0.42) !important;
    box-shadow: 0 10px 18px rgba(2, 6, 23, 0.16), inset 0 1px 0 rgba(255,255,255,0.85) !important;
}
body.ui-v3.theme-light .season-btn.active {
    background: #0f172a !important;
    color: #f8fafc !important;
    border-color: rgba(15, 23, 42, 0.18) !important;
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.12) !important;
}
body.ui-v3 .type-multi {
    gap: 10px !important;
}
body.ui-v3 .type-toggle {
    --chip-bg-active: rgba(51, 65, 85, 0.92);
    --chip-text-active: #f8fafc;
    min-height: 40px !important;
    border-radius: 16px !important;
    border: 1px solid var(--filter-border) !important;
    background: rgba(15, 23, 42, 0.18) !important;
    color: var(--filter-muted) !important;
    opacity: 1 !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease !important;
}
body.ui-v3 .type-toggle:hover {
    transform: translateY(-1px);
    background: rgba(30, 41, 59, 0.28) !important;
    color: var(--filter-text) !important;
    box-shadow: 0 10px 18px rgba(2, 6, 23, 0.12), inset 0 1px 0 rgba(255,255,255,0.08) !important;
    filter: none !important;
}
body.ui-v3 .type-toggle.active {
    background: var(--chip-bg-active) !important;
    color: var(--chip-text-active) !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
    box-shadow: 0 12px 20px rgba(2, 6, 23, 0.18), inset 0 1px 0 rgba(255,255,255,0.16) !important;
}
body.ui-v3 .type-toggle[data-type="hiking"] {
    --chip-bg-active: linear-gradient(180deg, rgba(250, 204, 21, 0.96), rgba(245, 158, 11, 0.92));
    --chip-text-active: #111827;
}
body.ui-v3 .type-toggle[data-type="mountain"] {
    --chip-bg-active: linear-gradient(180deg, rgba(251, 191, 36, 0.96), rgba(245, 158, 11, 0.92));
    --chip-text-active: #7f1d1d;
}
body.ui-v3 .type-toggle[data-type="alpine"] {
    --chip-bg-active: linear-gradient(180deg, rgba(96, 165, 250, 0.96), rgba(59, 130, 246, 0.92));
    --chip-text-active: #eff6ff;
}
body.ui-v3 .type-toggle[data-type="footroute"] {
    --chip-bg-active: linear-gradient(180deg, rgba(52, 211, 153, 0.96), rgba(34, 197, 94, 0.92));
    --chip-text-active: #f0fdf4;
}
body.ui-v3 .type-toggle[data-type="wheelchair"] {
    --chip-bg-active: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 249, 0.94));
    --chip-text-active: #2563eb;
}
body.ui-v3 .type-toggle[data-type="winter_hiking"] {
    --chip-bg-active: linear-gradient(180deg, rgba(232, 121, 249, 0.94), rgba(217, 70, 239, 0.9));
    --chip-text-active: #fff7fb;
}
body.ui-v3 .type-toggle[data-type="raquette"] {
    --chip-bg-active: linear-gradient(180deg, rgba(244, 114, 182, 0.94), rgba(217, 70, 239, 0.9));
    --chip-text-active: #fff7fb;
}
body.ui-v3 .type-toggle[data-type="skirando"] {
    --chip-bg-active: linear-gradient(180deg, rgba(249, 168, 212, 0.96), rgba(236, 72, 153, 0.9));
    --chip-text-active: #1f2937;
}
body.ui-v3 .type-toggle[data-type="nordic"] {
    --chip-bg-active: linear-gradient(180deg, rgba(125, 211, 252, 0.96), rgba(56, 189, 248, 0.92));
    --chip-text-active: #082f49;
}
body.ui-v3.force-mobile #filter-toggle-mobile {
    justify-content: flex-start;
    padding: 0 16px !important;
    letter-spacing: 0.04em !important;
    text-transform: none !important;
    position: relative;
}
body.ui-v3.force-mobile #filter-toggle-mobile::after {
    content: "";
    margin-left: auto;
    width: 10px;
    height: 10px;
    border-right: 2px solid rgba(226, 232, 240, 0.68);
    border-bottom: 2px solid rgba(226, 232, 240, 0.68);
    transform: rotate(45deg) translateY(-1px);
}
body.ui-v3.force-mobile.filters-open #filter-toggle-mobile::after {
    transform: rotate(225deg) translateY(-1px);
}
body.ui-v3.force-mobile #mobile-filters-body > .season-wrap {
    padding-top: 2px !important;
}
body.ui-v3.force-mobile #mobile-filters-body > .season-wrap .season-switch > div:first-child {
    margin-bottom: 10px;
}
/* Filter polish v3: functional, modern, restrained */
body.ui-v3 .season-wrap {
    --filter-shell: rgba(15, 23, 42, 0.3);
    --filter-stroke: rgba(148, 163, 184, 0.16);
    --filter-chip: rgba(255, 255, 255, 0.04);
    --filter-chip-hover: rgba(255, 255, 255, 0.08);
    --filter-chip-active: rgba(248, 250, 252, 0.94);
    --filter-text-main: rgba(226, 232, 240, 0.86);
    --filter-text-muted: rgba(226, 232, 240, 0.72);
    --filter-text-active: #0f172a;
}
body.ui-v3.theme-light .season-wrap {
    --filter-shell: rgba(255, 255, 255, 0.72);
    --filter-stroke: rgba(148, 163, 184, 0.18);
    --filter-chip: rgba(15, 23, 42, 0.04);
    --filter-chip-hover: rgba(15, 23, 42, 0.07);
    --filter-chip-active: #0f172a;
    --filter-text-main: #334155;
    --filter-text-muted: #475569;
    --filter-text-active: #f8fafc;
}
body.ui-v3 .season-switch.header-switch > div:first-child {
    position: relative;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    background: var(--filter-shell) !important;
    border: 1px solid var(--filter-stroke) !important;
    border-radius: 16px !important;
    padding: 3px !important;
    gap: 0 !important;
    box-shadow: none !important;
    isolation: isolate;
}
body.ui-v3 .season-switch.header-switch > div:first-child::before {
    content: "";
    position: absolute;
    top: 3px;
    bottom: 3px;
    left: 3px;
    width: calc((100% - 6px) / 3);
    border-radius: 13px;
    background: rgba(248, 250, 252, 0.96);
    box-shadow: 0 8px 16px rgba(2, 6, 23, 0.14);
    transform: translateX(calc(var(--season-index, 0) * 100%));
    transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 0;
}
body.ui-v3 .season-switch.header-switch > div:first-child:not(.has-active-season)::before {
    opacity: 0;
}
body.ui-v3.theme-light .season-switch.header-switch > div:first-child::before {
    background: #0f172a;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.1);
}
body.ui-v3 .season-btn {
    min-height: 34px !important;
    padding: 6px 12px !important;
    border-radius: 12px !important;
    border: 1px solid transparent !important;
    background: transparent !important;
    color: var(--filter-text-muted) !important;
    font-size: 13px !important;
    font-weight: 650 !important;
    box-shadow: none !important;
    transform: none !important;
    position: relative;
    z-index: 1;
}
body.ui-v3 .season-btn:hover {
    color: var(--filter-text-main) !important;
}
body.ui-v3 .season-btn.active {
    background: transparent !important;
    color: var(--filter-text-active) !important;
    border-color: transparent !important;
    box-shadow: none !important;
}
body.ui-v3 .type-multi {
    gap: 8px !important;
}
body.ui-v3 .type-toggle {
    min-height: 38px !important;
    border-radius: 14px !important;
    border: 1px solid rgba(148, 163, 184, 0.26) !important;
    background: var(--filter-chip) !important;
    color: var(--filter-text-muted) !important;
    opacity: 1 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
    transform: none !important;
    clip-path: polygon(0 0, 89% 0, 100% 50%, 89% 100%, 0 100%);
}
body.ui-v3 .type-toggle:hover {
    background: var(--filter-chip-hover) !important;
    color: var(--filter-text-main) !important;
    box-shadow: none !important;
    transform: none !important;
}
body.ui-v3 .type-toggle.active {
    background: var(--filter-chip-active) !important;
    color: var(--filter-text-active) !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
    box-shadow: none !important;
    clip-path: polygon(0 0, 89% 0, 100% 50%, 89% 100%, 0 100%);
}
body.ui-v3 .type-toggle[data-type="hiking"],
body.ui-v3 .type-toggle[data-type="mountain"],
body.ui-v3 .type-toggle[data-type="alpine"],
body.ui-v3 .type-toggle[data-type="footroute"],
body.ui-v3 .type-toggle[data-type="wheelchair"],
body.ui-v3 .type-toggle[data-type="winter_hiking"],
body.ui-v3 .type-toggle[data-type="raquette"],
body.ui-v3 .type-toggle[data-type="skirando"],
body.ui-v3 .type-toggle[data-type="nordic"] {
    --chip-bg-active: unset;
    --chip-text-active: unset;
}
body.ui-v3.force-mobile #filter-toggle-mobile {
    min-height: 40px !important;
    border-radius: 14px !important;
    border: 1px solid var(--filter-stroke) !important;
    background: var(--filter-shell) !important;
    color: var(--filter-text-main) !important;
    box-shadow: none !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
}
body.ui-v3.force-mobile #filter-toggle-mobile::after {
    border-right-color: var(--filter-text-muted) !important;
    border-bottom-color: var(--filter-text-muted) !important;
}
body.ui-v3.force-mobile #mobile-filters-body > .season-wrap .type-multi {
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid var(--filter-stroke);
}
/* Filter polish v4: keep panel-type colors, but cleaner */
body.ui-v3 .type-toggle {
    color: rgba(226, 232, 240, 0.9) !important;
}
body.ui-v3 .type-toggle[data-type="hiking"] {
    background: rgba(250, 204, 21, 0.14) !important;
    border-color: rgba(250, 204, 21, 0.34) !important;
    color: #fde68a !important;
}
body.ui-v3 .type-toggle[data-type="mountain"] {
    background:
        linear-gradient(180deg, #ffffff 0 34%, #dc2626 34% 66%, #ffffff 66% 100%) right / 14% 100% no-repeat,
        rgba(251, 191, 36, 0.14) !important;
    border-color: rgba(251, 191, 36, 0.34) !important;
    color: #fcd34d !important;
    padding-right: 19% !important;
}
body.ui-v3 .type-toggle[data-type="alpine"] {
    background:
        linear-gradient(180deg, #ffffff 0 34%, #2563eb 34% 66%, #ffffff 66% 100%) right / 14% 100% no-repeat,
        rgba(96, 165, 250, 0.14) !important;
    border-color: rgba(96, 165, 250, 0.34) !important;
    color: #bfdbfe !important;
    padding-right: 19% !important;
}
body.ui-v3 .type-toggle[data-type="footroute"] {
    background: rgba(52, 211, 153, 0.14) !important;
    border-color: rgba(52, 211, 153, 0.34) !important;
    color: #bbf7d0 !important;
}
body.ui-v3 .type-toggle[data-type="wheelchair"] {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(226, 232, 240, 0.26) !important;
    color: #e2e8f0 !important;
}
body.ui-v3 .type-toggle[data-type="winter_hiking"] {
    background: rgba(232, 121, 249, 0.14) !important;
    border-color: rgba(232, 121, 249, 0.3) !important;
    color: #f5d0fe !important;
}
body.ui-v3 .type-toggle[data-type="raquette"] {
    background: rgba(244, 114, 182, 0.14) !important;
    border-color: rgba(244, 114, 182, 0.3) !important;
    color: #fbcfe8 !important;
}
body.ui-v3 .type-toggle[data-type="skirando"] {
    background: rgba(236, 72, 153, 0.14) !important;
    border-color: rgba(236, 72, 153, 0.3) !important;
    color: #f9a8d4 !important;
}
body.ui-v3 .type-toggle[data-type="nordic"] {
    background: rgba(56, 189, 248, 0.14) !important;
    border-color: rgba(56, 189, 248, 0.32) !important;
    color: #bae6fd !important;
}
body.ui-v3 .type-toggle.active[data-type="hiking"] {
    background: linear-gradient(180deg, #f8d85f, #f4c842) !important;
    border-color: #f1c232 !important;
    color: #1f2937 !important;
}
body.ui-v3 .type-toggle.active[data-type="mountain"] {
    background:
        linear-gradient(180deg, #ffffff 0 34%, #dc2626 34% 66%, #ffffff 66% 100%) right / 16% 100% no-repeat,
        linear-gradient(180deg, #f6d65f, #f0bf36) !important;
    border-color: #e9b12a !important;
    color: #111827 !important;
    padding-right: 21% !important;
}
body.ui-v3 .type-toggle.active[data-type="alpine"] {
    background:
        linear-gradient(180deg, #ffffff 0 34%, #2563eb 34% 66%, #ffffff 66% 100%) right / 16% 100% no-repeat,
        linear-gradient(180deg, #7fb0ee, #5f93da) !important;
    border-color: #4c81cc !important;
    color: #eff6ff !important;
    padding-right: 21% !important;
}
body.ui-v3.theme-light .type-toggle {
    border-color: rgba(100, 116, 139, 0.62) !important;
    box-shadow: inset 0 0 0 1px rgba(100, 116, 139, 0.16) !important;
    color: #334155 !important;
}
body.ui-v3.theme-dark .type-toggle {
    border-color: rgba(148, 163, 184, 0.28) !important;
}
body.ui-v3.theme-light .type-toggle[data-type="hiking"] {
    background: rgba(250, 204, 21, 0.28) !important;
    color: #7c5a00 !important;
}
body.ui-v3.theme-light .type-toggle[data-type="mountain"] {
    background:
        linear-gradient(180deg, #ffffff 0 34%, #ef4444 34% 66%, #ffffff 66% 100%) right / 13.6% 100% no-repeat,
        rgba(251, 191, 36, 0.28) !important;
    color: #8a5b00 !important;
    border-color: rgba(180, 138, 22, 0.62) !important;
    padding-right: 19% !important;
    box-shadow: inset 0 0 0 1px rgba(100, 116, 139, 0.42), 0 0 0 1px rgba(100, 116, 139, 0.32) !important;
}
body.ui-v3.theme-light .type-toggle[data-type="alpine"] {
    background:
        linear-gradient(180deg, #ffffff 0 34%, #2563eb 34% 66%, #ffffff 66% 100%) right / 13.6% 100% no-repeat,
        rgba(96, 165, 250, 0.24) !important;
    color: #315f9f !important;
    border-color: rgba(76, 129, 204, 0.68) !important;
    padding-right: 19% !important;
    box-shadow: inset 0 0 0 1px rgba(100, 116, 139, 0.42), 0 0 0 1px rgba(100, 116, 139, 0.32) !important;
}
body.ui-v3.theme-light .type-toggle[data-type="footroute"] {
    background: rgba(52, 211, 153, 0.24) !important;
    color: #166b52 !important;
}
body.ui-v3.theme-light .type-toggle[data-type="wheelchair"] {
    background: rgba(255, 255, 255, 0.9) !important;
    color: #475569 !important;
}
body.ui-v3.theme-light .type-toggle[data-type="winter_hiking"],
body.ui-v3.theme-light .type-toggle[data-type="raquette"] {
    background: rgba(232, 121, 249, 0.24) !important;
    color: #9d3da8 !important;
}
body.ui-v3.theme-light .type-toggle[data-type="skirando"] {
    background: rgba(236, 72, 153, 0.22) !important;
    color: #9d255f !important;
}
body.ui-v3.theme-light .type-toggle[data-type="nordic"] {
    background: rgba(56, 189, 248, 0.24) !important;
    color: #156b97 !important;
}
body.ui-v3.theme-light .type-toggle.active[data-type="hiking"] {
    background: linear-gradient(180deg, #f8d85f, #f4c842) !important;
    border-color: #f1c232 !important;
    color: #1f2937 !important;
}
body.ui-v3.theme-light .type-toggle.active[data-type="mountain"] {
    background:
        linear-gradient(180deg, #ffffff 0 34%, #dc2626 34% 66%, #ffffff 66% 100%) right / 13.6% 100% no-repeat,
        linear-gradient(180deg, #f6d65f, #f0bf36) !important;
    border-color: #e9b12a !important;
    color: #111827 !important;
    padding-right: 19% !important;
    box-shadow: inset 0 0 0 1px rgba(100, 116, 139, 0.42), 0 0 0 1px rgba(100, 116, 139, 0.32) !important;
}
body.ui-v3.theme-light .type-toggle.active[data-type="alpine"] {
    background:
        linear-gradient(180deg, #ffffff 0 34%, #2563eb 34% 66%, #ffffff 66% 100%) right / 13.6% 100% no-repeat,
        linear-gradient(180deg, #7fb0ee, #5f93da) !important;
    border-color: #4c81cc !important;
    color: #eff6ff !important;
    padding-right: 19% !important;
    box-shadow: inset 0 0 0 1px rgba(100, 116, 139, 0.42), 0 0 0 1px rgba(100, 116, 139, 0.32) !important;
}
body.ui-v3.theme-light .type-toggle.active[data-type="footroute"] {
    background: linear-gradient(180deg, #34d399, #22c55e) !important;
    border-color: #16a34a !important;
    color: #f0fdf4 !important;
}
body.ui-v3.theme-light .type-toggle.active[data-type="wheelchair"] {
    background: linear-gradient(180deg, #ffffff, #eef2f7) !important;
    border-color: #cbd5e1 !important;
    color: #2563eb !important;
}
body.ui-v3.theme-light .type-toggle.active[data-type="winter_hiking"] {
    background: linear-gradient(180deg, #e89aee, #d96fe6) !important;
    border-color: #c94fd7 !important;
    color: #fff7fb !important;
}
body.ui-v3.theme-light .type-toggle.active[data-type="raquette"] {
    background: linear-gradient(180deg, #ea8ed8, #d96ac4) !important;
    border-color: #c854b1 !important;
    color: #fff7fb !important;
}
body.ui-v3.theme-light .type-toggle.active[data-type="skirando"] {
    background: linear-gradient(180deg, #ea89c6, #d965af) !important;
    border-color: #c94d9c !important;
    color: #1f2937 !important;
}
body.ui-v3.theme-light .type-toggle.active[data-type="nordic"] {
    background: linear-gradient(180deg, #9fd7fb, #79c2f1) !important;
    border-color: #58b0e8 !important;
    color: #082f49 !important;
}
body.ui-v3 .type-toggle.active[data-type="footroute"] {
    background: linear-gradient(180deg, #34d399, #22c55e) !important;
    border-color: #16a34a !important;
    color: #f0fdf4 !important;
}
body.ui-v3 .type-toggle.active[data-type="wheelchair"] {
    background: linear-gradient(180deg, #ffffff, #eef2f7) !important;
    border-color: #cbd5e1 !important;
    color: #2563eb !important;
}
body.ui-v3 .type-toggle.active[data-type="winter_hiking"] {
    background: linear-gradient(180deg, #e89aee, #d96fe6) !important;
    border-color: #c94fd7 !important;
    color: #fff7fb !important;
}
body.ui-v3 .type-toggle.active[data-type="raquette"] {
    background: linear-gradient(180deg, #ea8ed8, #d96ac4) !important;
    border-color: #c854b1 !important;
    color: #fff7fb !important;
}
body.ui-v3 .type-toggle.active[data-type="skirando"] {
    background: linear-gradient(180deg, #ea89c6, #d965af) !important;
    border-color: #c94d9c !important;
    color: #1f2937 !important;
}
body.ui-v3 .type-toggle.active[data-type="nordic"] {
    background: linear-gradient(180deg, #9fd7fb, #79c2f1) !important;
    border-color: #58b0e8 !important;
    color: #082f49 !important;
}

/* Unified sidebar card base: single layer, no overlays */
body.ui-v3 .panel-list.sidebar-saas {
    --menu-base-bg: #0b1730;
    --menu-base-border: rgba(244, 211, 94, 0.84);
    --menu-base-shadow: 0 10px 20px rgba(2, 6, 23, 0.22);
}
body.ui-v3.theme-light .panel-list.sidebar-saas {
    --menu-base-bg: #f1f5f9;
    --menu-base-border: rgba(244, 211, 94, 0.88);
    --menu-base-shadow: 0 10px 20px rgba(15, 23, 42, 0.1);
}
body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas > .season-wrap,
body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas > .saas-search,
body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas > #panel-placeholder,
body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas > #panel-contact-section,
body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas > #panel-detail > .saas-hero,
body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas > #panel-detail > .saas-card,
body.ui-v3.force-mobile .mobile-panel-shell > #mobile-filters-card,
body.ui-v3.force-mobile .mobile-panel-shell > .saas-search,
body.ui-v3.force-mobile .mobile-panel-shell > #panel-placeholder,
body.ui-v3.force-mobile .mobile-panel-shell > #panel-contact-section,
body.ui-v3.force-mobile .mobile-panel-shell > #panel-detail > .saas-hero,
body.ui-v3.force-mobile .mobile-panel-shell > #panel-detail > .saas-card {
    background: var(--menu-base-bg) !important;
    background-image: none !important;
    border: 1px solid var(--menu-base-border) !important;
    box-shadow: var(--menu-base-shadow) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
body.ui-v3.force-mobile #mobile-filters-body > .season-wrap {
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
}
body.ui-v3 .panel-list.sidebar-saas > #panel-placeholder,
body.ui-v3.force-mobile .mobile-panel-shell > #panel-placeholder {
    border: 1px solid rgba(244, 211, 94, 0.88) !important;
    outline: 1px solid rgba(244, 211, 94, 0.62) !important;
    outline-offset: -1px !important;
}
body.ui-v3 .panel-list.sidebar-saas > .season-wrap,
body.ui-v3.force-mobile .mobile-panel-shell > #mobile-filters-card {
    border: 1px solid rgba(244, 211, 94, 0.88) !important;
}
body.ui-v3 .panel-placeholder-card {
    justify-items: stretch !important;
    text-align: left !important;
    gap: 0 !important;
}
body.ui-v3 .panel-placeholder-ornament {
    display: none !important;
}
body.ui-v3 .panel-placeholder-kicker {
    display: block !important;
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 0 14px 0 !important;
    padding: 0 0 12px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #f7fbff !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    letter-spacing: -0.03em !important;
    text-transform: none !important;
}
body.ui-v3.theme-light .panel-placeholder-kicker {
    border-bottom-color: rgba(148, 163, 184, 0.28) !important;
    color: #0f172a !important;
}
body.ui-v3 .panel-placeholder-card p {
    max-width: none !important;
    color: rgba(226, 232, 240, 0.82) !important;
}
body.ui-v3.theme-light .panel-placeholder-card p {
    color: #475569 !important;
}
body.ui-v3 .panel-list.sidebar-saas #panel-placeholder,
body.ui-v3.force-mobile .mobile-panel-shell #panel-placeholder {
    min-height: 0 !important;
    align-items: initial !important;
    justify-content: initial !important;
    text-align: left !important;
    background: var(--menu-base-bg) !important;
    background-image: none !important;
    border: 1px solid rgba(244, 211, 94, 0.9) !important;
    outline: 0 !important;
    box-shadow: var(--menu-base-shadow), inset 0 0 0 1px rgba(244, 211, 94, 0.72) !important;
}
body.ui-v3 .panel-list.sidebar-saas #panel-placeholder > #panel-placeholder-kicker,
body.ui-v3.force-mobile .mobile-panel-shell #panel-placeholder > #panel-placeholder-kicker {
    margin: 0 0 12px 0 !important;
    padding: 0 0 10px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(148, 163, 184, 0.28) !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: inherit !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
}
body.ui-v3 .panel-list.sidebar-saas #panel-placeholder > #panel-placeholder-copy,
body.ui-v3.force-mobile .mobile-panel-shell #panel-placeholder > #panel-placeholder-copy {
    margin: 0 !important;
    max-width: none !important;
}

/* Canonical placeholder card style (no overlays, all modes) */
.panel-list.sidebar-saas #panel-placeholder {
    text-align: left !important;
    border: 2px solid #f4d35e !important;
    background-image: none !important;
}
.panel-list.sidebar-saas #panel-placeholder #panel-placeholder-kicker {
    text-align: left !important;
}

/* Absolute final guard: same base card border for placeholder */
.panel-list.sidebar-saas #panel-placeholder,
.panel-list.sidebar-saas .mobile-panel-shell #panel-placeholder {
    border: 2px solid #f4d35e !important;
    outline: 2px solid #f4d35e !important;
    outline-offset: -2px !important;
    box-shadow: inset 0 0 0 2px #f4d35e !important;
    background-image: none !important;
}

/* Final light-mode left panel readability (flat, no overlays) */
body.ui-v3.theme-light .panel-list.sidebar-saas,
body.ui-v3.theme-light .panel-list.sidebar-saas .mobile-panel-shell {
    background: #e2e8f0 !important;
    background-image: none !important;
}
body.ui-v3.theme-light .panel-list.sidebar-saas .saas-search,
body.ui-v3.theme-light .panel-list.sidebar-saas .saas-hero,
body.ui-v3.theme-light .panel-list.sidebar-saas .saas-card,
body.ui-v3.theme-light .panel-list.sidebar-saas #report-form,
body.ui-v3.theme-light .panel-list.sidebar-saas #contact-body,
body.ui-v3.theme-light .panel-list.sidebar-saas #panel-placeholder,
body.ui-v3.theme-light .panel-list.sidebar-saas .season-wrap {
    background: #eef2f7 !important;
    background-image: none !important;
    border: 1px solid rgba(244, 211, 94, 0.88) !important;
    box-shadow: none !important;
}
body.ui-v3.theme-light .panel-list.sidebar-saas #panel-detail,
body.ui-v3.theme-light .panel-list.sidebar-saas #panel-detail * {
    opacity: 1 !important;
}
body.ui-v3.theme-light .panel-list.sidebar-saas #detail-title,
body.ui-v3.theme-light .panel-list.sidebar-saas .hero-info-title,
body.ui-v3.theme-light .panel-list.sidebar-saas .saas-card h4,
body.ui-v3.theme-light .panel-list.sidebar-saas #search-label,
body.ui-v3.theme-light .panel-list.sidebar-saas .meta-line,
body.ui-v3.theme-light .panel-list.sidebar-saas .info-line,
body.ui-v3.theme-light .panel-list.sidebar-saas #panel-placeholder-kicker,
body.ui-v3.theme-light .panel-list.sidebar-saas #panel-placeholder-copy,
body.ui-v3.theme-light .panel-list.sidebar-saas .search-feedback,
body.ui-v3.theme-light .panel-list.sidebar-saas #detail-summary,
body.ui-v3.theme-light .panel-list.sidebar-saas #detail-dests .dest-item-name,
body.ui-v3.theme-light .panel-list.sidebar-saas #detail-dests .dest-item-time {
    color: #334155 !important;
}
body.ui-v3.theme-light .panel-list.sidebar-saas #detail-title {
    color: #0f172a !important;
}
body.ui-v3.theme-light .panel-list.sidebar-saas #dest-heading {
    color: #334155 !important;
}
body.ui-v3 .panel-list.sidebar-saas .hero-info-title,
body.ui-v3 .panel-list.sidebar-saas #info-heading {
    display: block !important;
    width: 100% !important;
}
body.ui-v3 .panel-list.sidebar-saas .saas-hero-top > :first-child {
    width: 100% !important;
}
body.ui-v3:not(.theme-light) .panel-list.sidebar-saas #dest-heading,
body.ui-v3.theme-dark .panel-list.sidebar-saas #dest-heading {
    color: #f8fafc !important;
}
body.ui-v3:not(.theme-light) .panel-list.sidebar-saas #photos-heading,
body.ui-v3.theme-dark .panel-list.sidebar-saas #photos-heading {
    color: #f8fafc !important;
}
body.ui-v3.theme-light .panel-list.sidebar-saas .search-wrap input,
body.ui-v3.theme-light .panel-list.sidebar-saas #contact-message,
body.ui-v3.theme-light .panel-list.sidebar-saas #contact-email,
body.ui-v3.theme-light .panel-list.sidebar-saas #report-message,
body.ui-v3.theme-light .panel-list.sidebar-saas #report-email {
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid #cbd5e1 !important;
}
body.ui-v3.theme-light .panel-list.sidebar-saas .search-wrap input::placeholder,
body.ui-v3.theme-light .panel-list.sidebar-saas #contact-message::placeholder,
body.ui-v3.theme-light .panel-list.sidebar-saas #contact-email::placeholder,
body.ui-v3.theme-light .panel-list.sidebar-saas #report-message::placeholder,
body.ui-v3.theme-light .panel-list.sidebar-saas #report-email::placeholder {
    color: #64748b !important;
    opacity: 1 !important;
}

/* Align standalone mobile cards with the rest of the bottom sheet. */
body.ui-v3.force-mobile .mobile-panel-shell > #route-explorer,
body.ui-v3.force-mobile .mobile-panel-shell > #panel-explorer-base {
    width: auto !important;
    max-width: none !important;
    margin: 0 10px !important;
    box-sizing: border-box !important;
}

/* SwitzerlandMobility route badges in details and popups */
body.ui-v3 #detail-dests .dest-item-main {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
body.ui-v3 #detail-dests .dest-item-main .dest-item-name {
    min-width: 0;
}
body.ui-v3 .footroute-level-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 20px;
    border-radius: 999px;
    padding: 2px 7px;
    margin-left: 6px;
    border: 1px solid rgba(20, 83, 45, 0.2);
    background: rgba(220, 252, 231, 0.96);
    color: #14532d;
    font-size: 10px;
    font-weight: 850;
    line-height: 1;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    white-space: nowrap;
}
body.ui-v3 #detail-dests .footroute-level-badge {
    margin-left: 0;
}
body.ui-v3 .footroute-level-badge.footroute-national {
    background: #dcfce7;
    color: #14532d;
}
body.ui-v3 .footroute-level-badge.footroute-regional {
    background: #d1fae5;
    color: #065f46;
}
body.ui-v3 .footroute-level-badge.footroute-local {
    background: #ecfdf5;
    color: #047857;
}
body.ui-v3 .footroute-level-badge.is-active,
body.ui-v3 .dest-item-modern.is-footroute-highlight .footroute-level-badge,
body.ui-v3 .panel-popup-dest.is-footroute-highlight .footroute-level-badge {
    background: #052e16;
    border-color: rgba(187, 247, 208, 0.72);
    color: #bbf7d0;
}
body.ui-v3 #detail-dests .dest-item-modern.is-footroute-highlight {
    border-color: rgba(34, 197, 94, 0.92) !important;
    box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.34), 0 12px 22px rgba(2, 6, 23, 0.18) !important;
}
body.ui-v3 .popup-dest-col li.panel-popup-dest.is-footroute-highlight {
    border-color: rgba(187, 247, 208, 0.95) !important;
    box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.34), 0 10px 20px rgba(2, 6, 23, 0.2) !important;
}
body.ui-v3 #detail-dests .dest-item-modern.is-filter-match {
    border-color: rgba(250, 204, 21, 0.86) !important;
    box-shadow: 0 0 0 2px rgba(250, 204, 21, 0.34), 0 10px 22px rgba(2, 6, 23, 0.2) !important;
}
body.ui-v3 #detail-dests .dest-item-modern.is-filter-match .dest-item-name,
body.ui-v3 .popup-dest-col li.panel-popup-dest.is-filter-match .dest-line1 {
    font-weight: 900;
}
body.ui-v3 #detail-dests .dest-list-modern.has-destination-filter .dest-item-modern:not(.is-filter-match) {
    opacity: 0.72;
    filter: grayscale(0.08) saturate(0.86);
}
body.ui-v3 .popup-dests.has-destination-filter .popup-dest-col li.panel-popup-dest:not(.is-filter-match) {
    opacity: 0.68;
    filter: grayscale(0.08) saturate(0.84);
}
body.ui-v3 .popup-dest-col li.panel-popup-dest.is-filter-match {
    opacity: 1;
    filter: none;
}

/* Dedicated SwitzerlandMobility route explorer */
body.ui-v3 .route-explorer-card {
    display: grid;
    gap: 10px;
}
body.ui-v3 .route-explorer-card.is-collapsed {
    gap: 0;
}
body.ui-v3 #route-explorer-heading {
    margin: 0;
}
body.ui-v3 .route-explorer-toggle {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 34px;
    border: 0;
    background: transparent;
    color: var(--text);
    padding: 0;
    text-align: left;
    cursor: pointer;
}
body.ui-v3 .route-explorer-toggle:focus-visible {
    outline: 2px solid rgba(34, 197, 94, 0.75);
    outline-offset: 4px;
    border-radius: 6px;
}
body.ui-v3 .route-explorer-caret {
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.16s ease;
}
body.ui-v3 .route-explorer-card.is-collapsed .route-explorer-caret {
    transform: rotate(-45deg);
}
body.ui-v3 .route-explorer-body {
    display: grid;
    gap: 10px;
}
body.ui-v3 .route-explorer-body[hidden] {
    display: none !important;
}
body.ui-v3 .swissmobile-icon {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
    border-radius: 0;
    border: 0;
    background: url("swissmobile-logo.svg") center / contain no-repeat;
    box-shadow: none;
    position: relative;
}
body.ui-v3 .route-explorer-levels {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}
body.ui-v3 .route-level-toggle,
body.ui-v3 .route-clear-btn {
    min-height: 34px;
    border-radius: 8px;
    border: 1px solid rgba(52, 211, 153, 0.32);
    background: rgba(52, 211, 153, 0.11);
    color: #bbf7d0;
    font-size: clamp(10px, 1.35vw, 12px);
    font-weight: 750;
    line-height: 1.1;
    padding: 7px 6px;
    cursor: pointer;
    white-space: nowrap;
    min-width: 0;
}
body.ui-v3 .route-level-toggle:hover,
body.ui-v3 .route-clear-btn:hover {
    background: rgba(52, 211, 153, 0.18);
}
body.ui-v3 .route-level-toggle.active {
    background: linear-gradient(180deg, #34d399, #22c55e);
    border-color: #16a34a;
    color: #052e16;
}
body.ui-v3 .route-canton-label {
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
body.ui-v3 .route-canton-select {
    min-height: 38px;
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, 0.34);
    background: rgba(15, 23, 42, 0.62);
    color: var(--text);
    padding: 6px 10px;
    font-weight: 700;
}
body.ui-v3 .route-explorer-list {
    display: grid;
    gap: 8px;
    max-height: min(38vh, 360px);
    overflow: auto;
    padding-right: 2px;
}
body.ui-v3 .route-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px;
    gap: 8px;
    align-items: stretch;
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: rgba(15, 23, 42, 0.28);
    padding: 8px;
}
body.ui-v3 .route-item.active {
    border-color: rgba(34, 197, 94, 0.92);
    box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.34);
}
body.ui-v3 .route-select-btn {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 4px 8px;
    align-items: center;
    min-width: 0;
    border: 0;
    background: transparent;
    color: var(--text);
    text-align: left;
    padding: 0;
    cursor: pointer;
}
body.ui-v3 .route-number {
    grid-row: span 2;
    align-self: center;
    min-width: 44px;
    border-radius: 8px;
    background: #22c55e;
    color: #052e16;
    font-size: 12px;
    font-weight: 900;
    padding: 6px 7px;
    text-align: center;
}
body.ui-v3 .route-title {
    min-width: 0;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    line-height: 1.15;
    font-size: 13px;
    font-weight: 850;
}
body.ui-v3 .route-meta {
    min-width: 0;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    line-height: 1.25;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
}
body.ui-v3 .route-swissmobile-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid rgba(244, 211, 94, 0.7);
    background: rgba(244, 211, 94, 0.16);
    color: #f8e7a1;
    width: 40px;
    min-height: 40px;
    padding: 0;
    font-size: 11px;
    font-weight: 850;
    text-decoration: none;
    white-space: nowrap;
}
body.ui-v3 .route-swissmobile-link .swissmobile-icon {
    width: 24px;
    height: 24px;
}
body.ui-v3 .route-explorer-active {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    border-radius: 8px;
    border: 1px solid rgba(34, 197, 94, 0.52);
    background: rgba(34, 197, 94, 0.12);
    color: var(--text);
    padding: 8px;
    font-size: 12px;
    font-weight: 800;
}
body.ui-v3 .route-geometry-status {
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
}
body.ui-v3 .route-explorer-active[hidden] {
    display: none !important;
}
body.ui-v3 .route-explorer-empty {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.35;
}
body.ui-v3.theme-light .route-level-toggle,
body.ui-v3.theme-light .route-clear-btn {
    background: rgba(52, 211, 153, 0.18);
    border-color: rgba(22, 163, 74, 0.44);
    color: #166b52;
}
body.ui-v3.theme-light .route-level-toggle.active {
    background: linear-gradient(180deg, #34d399, #22c55e);
    border-color: #16a34a;
    color: #052e16;
}
body.ui-v3.theme-light .route-canton-select,
body.ui-v3.theme-light .route-item {
    background: rgba(255, 255, 255, 0.92);
    color: #0f172a;
}
body.ui-v3.theme-light .route-swissmobile-link {
    color: #5f4a00;
    background: rgba(244, 211, 94, 0.24);
}
body.ui-v3.force-mobile .route-explorer-levels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
body.ui-v3.force-mobile .route-item {
    grid-template-columns: minmax(0, 1fr);
}
body.ui-v3.force-mobile .route-swissmobile-link {
    min-height: 34px;
}

/* Final cluster badges: color by volume + premium typography */
.leaflet-container .marker-cluster {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
.leaflet-container .marker-cluster div {
    width: 38px !important;
    height: 38px !important;
    margin: 0 !important;
    border-radius: 999px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: "Sora", "Avenir Next", "Segoe UI Variable Display", sans-serif !important;
    font-weight: 800 !important;
    font-size: 12px !important;
    letter-spacing: -0.02em !important;
    color: #0b1220 !important;
    border: 1px solid rgba(15, 23, 42, 0.25) !important;
    box-shadow: 0 10px 20px rgba(2, 6, 23, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
}
.leaflet-container .marker-cluster-small div {
    background: radial-gradient(circle at 30% 30%, #fde68a 0%, #facc15 58%, #f59e0b 100%) !important;
}
.leaflet-container .marker-cluster-medium div {
    background: radial-gradient(circle at 30% 30%, #93c5fd 0%, #60a5fa 56%, #2563eb 100%) !important;
    color: #f8fafc !important;
}
.leaflet-container .marker-cluster-large div {
    background: radial-gradient(circle at 30% 30%, #c4b5fd 0%, #a78bfa 56%, #7c3aed 100%) !important;
    color: #f8fafc !important;
}

/* Explorer card: rebuilt from base (single layer, no overlays) */
body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas > #panel-explorer-base,
body.ui-v3.force-mobile .mobile-panel-shell > #panel-explorer-base {
    display: block;
    margin: 0 0 16px 0;
    padding: 20px;
    border-radius: 24px;
    background: var(--menu-base-bg, #0b1730);
    background-image: none;
    border: 1px solid rgba(244, 211, 94, 0.88);
    box-shadow: var(--menu-base-shadow, none);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    text-align: left;
}
body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas > #panel-explorer-base > #panel-explorer-title,
body.ui-v3.force-mobile .mobile-panel-shell > #panel-explorer-base > #panel-explorer-title {
    margin: 0 0 12px 0;
    padding: 0 0 10px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.28);
    font-size: 13px;
    line-height: 1.2;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
    color: #f8fafc;
}
body.ui-v3:not(.force-mobile) .panel-list.sidebar-saas > #panel-explorer-base > #panel-explorer-copy,
body.ui-v3.force-mobile .mobile-panel-shell > #panel-explorer-base > #panel-explorer-copy {
    margin: 0;
    color: rgba(226, 232, 240, 0.9);
    font-size: 16px;
    line-height: 1.55;
}
body.ui-v3.theme-light:not(.force-mobile) .panel-list.sidebar-saas > #panel-explorer-base,
body.ui-v3.theme-light.force-mobile .mobile-panel-shell > #panel-explorer-base {
    background: #eef2f7;
    border-color: rgba(244, 211, 94, 0.88);
    box-shadow: none;
}
body.ui-v3.theme-light:not(.force-mobile) .panel-list.sidebar-saas > #panel-explorer-base > #panel-explorer-title,
body.ui-v3.theme-light.force-mobile .mobile-panel-shell > #panel-explorer-base > #panel-explorer-title {
    color: #0f172a;
    border-bottom-color: rgba(148, 163, 184, 0.35);
}
body.ui-v3.theme-light:not(.force-mobile) .panel-list.sidebar-saas > #panel-explorer-base > #panel-explorer-copy,
body.ui-v3.theme-light.force-mobile .mobile-panel-shell > #panel-explorer-base > #panel-explorer-copy {
    color: #475569;
}

/* Canonical light-mode surfaces: flat, opaque, no overlays */
html body.ui-v3.theme-light .panel-list.sidebar-saas,
html body.ui-v3.theme-light .panel-list.sidebar-saas .mobile-panel-shell {
    background: #e7ecf3 !important;
    background-image: none !important;
}
html body.ui-v3.theme-light .panel-list.sidebar-saas #mobile-filters-body > .season-wrap,
html body.ui-v3.theme-light .panel-list.sidebar-saas .season-wrap,
html body.ui-v3.theme-light .panel-list.sidebar-saas .panel-box.search-wrap.saas-search,
html body.ui-v3.theme-light .panel-list.sidebar-saas #panel-detail > #panel-info-section,
html body.ui-v3.theme-light .panel-list.sidebar-saas #panel-detail > #panel-photos-section,
html body.ui-v3.theme-light .panel-list.sidebar-saas #panel-detail > #panel-dests-section,
html body.ui-v3.theme-light .panel-list.sidebar-saas #panel-contact-section,
html body.ui-v3.theme-light .mobile-panel-shell > #mobile-filters-body > .season-wrap,
html body.ui-v3.theme-light .mobile-panel-shell > .panel-box.search-wrap.saas-search,
html body.ui-v3.theme-light .mobile-panel-shell > #panel-detail > #panel-info-section,
html body.ui-v3.theme-light .mobile-panel-shell > #panel-detail > #panel-photos-section,
html body.ui-v3.theme-light .mobile-panel-shell > #panel-detail > #panel-dests-section,
html body.ui-v3.theme-light .mobile-panel-shell > #panel-contact-section {
    background: #e1e7f0 !important;
    background-color: #e1e7f0 !important;
    background-image: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
    opacity: 1 !important;
}
html body.ui-v3.theme-light .leaflet-container .leaflet-popup-content-wrapper,
html body.ui-v3.theme-light .leaflet-container .leaflet-popup-tip,
html body.ui-v3.theme-light .panel-popup-top,
html body.ui-v3.theme-light .popup-dests-wrap {
    background: #e1e7f0 !important;
    background-color: #e1e7f0 !important;
    background-image: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
    opacity: 1 !important;
}
html body.ui-v3.theme-light .panel-list.sidebar-saas #panel-explorer-base,
html body.ui-v3.theme-light .mobile-panel-shell > #panel-explorer-base {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    border: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
html body.ui-v3.theme-light .panel-list.sidebar-saas .saas-hero::after,
html body.ui-v3.theme-light .mobile-panel-shell .saas-hero::after {
    content: none !important;
    display: none !important;
}
html body.ui-v3.theme-light .panel-list.sidebar-saas .season-wrap,
html body.ui-v3.theme-light .mobile-panel-shell #mobile-filters-body > .season-wrap {
    --filter-shell: #e1e7f0 !important;
    background: #e1e7f0 !important;
    background-color: #e1e7f0 !important;
    background-image: none !important;
    border: 1px solid rgba(100, 116, 139, 0.35) !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    opacity: 1 !important;
}
html body.ui-v3.theme-light .panel-list.sidebar-saas .season-wrap .header-switch,
html body.ui-v3.theme-light .panel-list.sidebar-saas .season-wrap .type-multi,
html body.ui-v3.theme-light .mobile-panel-shell #mobile-filters-body > .season-wrap .header-switch,
html body.ui-v3.theme-light .mobile-panel-shell #mobile-filters-body > .season-wrap .type-multi,
html body.ui-v3.theme-light .panel-list.sidebar-saas .season-wrap .season-switch.header-switch > div:first-child,
html body.ui-v3.theme-light .mobile-panel-shell #mobile-filters-body > .season-wrap .season-switch.header-switch > div:first-child {
    background: #e1e7f0 !important;
    background-color: #e1e7f0 !important;
    background-image: none !important;
    box-shadow: none !important;
    border-color: rgba(100, 116, 139, 0.45) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
html body.ui-v3.theme-light.force-mobile .mobile-panel-shell > #mobile-filters-card,
html body.ui-v3.theme-light.force-mobile .mobile-panel-shell > #mobile-filters-body,
html body.ui-v3.theme-light.force-mobile .mobile-panel-shell > #mobile-filters-body > .season-wrap {
    background: #e1e7f0 !important;
    background-color: #e1e7f0 !important;
    background-image: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
html body.ui-v3.theme-light.force-mobile .mobile-panel-shell #mobile-filters-body > .season-wrap .season-btn {
    color: #334155 !important;
}
html body.ui-v3.theme-light.force-mobile .mobile-panel-shell #mobile-filters-body > .season-wrap .season-btn:hover {
    color: #1e293b !important;
}
html body.ui-v3.theme-light.force-mobile .mobile-panel-shell #mobile-filters-body > .season-wrap .season-btn.active {
    color: #111827 !important;
}

/* Keep the submission modal clear of mobile browser chrome. */
@media (max-width: 700px) {
    body.force-mobile #submitModal {
        z-index: 30000 !important;
        align-items: flex-start !important;
        justify-content: center !important;
        box-sizing: border-box !important;
        padding:
            calc(env(safe-area-inset-top, 0px) + 8px)
            8px
            calc(env(safe-area-inset-bottom, 0px) + 96px) !important;
        overflow: hidden !important;
    }
    body.force-mobile #submitModal .modal-content {
        width: min(92vw, 740px) !important;
        max-height: 100% !important;
        margin: 0 !important;
        overscroll-behavior: contain;
    }
    body.force-mobile #submitModal .modal-header {
        padding-top: 14px !important;
    }
    body.force-mobile #submitModal .modal-actions {
        position: sticky;
        bottom: -16px;
        z-index: 5;
        margin: 10px -16px -16px;
        padding:
            10px
            16px
            calc(env(safe-area-inset-bottom, 0px) + 18px);
        border-top: 1px solid rgba(148, 163, 184, 0.16);
        background: linear-gradient(180deg, rgba(15, 23, 42, 0), rgba(15, 23, 42, 0.96) 34%, rgba(15, 23, 42, 0.98));
    }
    body.force-mobile.theme-light #submitModal .modal-actions {
        border-top-color: rgba(148, 163, 184, 0.28);
        background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.96) 34%, rgba(255, 255, 255, 0.98));
    }
}
