        :root {
            --brand: #d9482b;
            --brand-soft: rgba(217, 72, 43, 0.08);
            --nav-bg: rgba(255, 255, 255, 0.95);
            --card-border: #edf2f7;
            --muted: #64748b;
            --heading: #0f172a;
        }

        body.dark-mode {
            --nav-bg: rgba(15, 23, 42, 0.95);
            --card-border: #334155;
            --muted: #94a3b8;
            --heading: #f8fafc;
        }

        body {
            background-color: var(--bs-body-bg);
            transition: background-color .3s;
        }

        body.dark-mode {
            background-color: #1e293b !important;
            color: #f1f5f9 !important;
        }

        /* ── Navbar ── */
        .epaper-navbar {
            background: var(--nav-bg);
            border-bottom: 1px solid var(--card-border);
            position: sticky;
            top: 0;
            z-index: 999;
            backdrop-filter: blur(8px);
            box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
        }

        .logo img {
            height: 34px;
            object-fit: contain;
        }

        .nav-action {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 6px 14px;
            border-radius: 50px;
            border: 1px solid var(--card-border);
            background: transparent;
            color: inherit;
            font-size: .82rem;
            font-weight: 600;
            cursor: pointer;
            transition: all .2s;
            white-space: nowrap;
            text-decoration: none;
        }

        .nav-action i {
            color: var(--brand);
            font-size: .9rem;
        }

        .nav-action:hover {
            background: var(--brand-soft);
            border-color: var(--brand);
            color: var(--brand);
        }

        .nav-action:hover i {
            color: var(--brand);
        }

        .profile-dropdown {
            right: 0;
            top: calc(100% + 10px);
            width: 240px;
            background: var(--bs-body-bg);
            border: 1px solid var(--card-border);
            border-radius: 14px;
            box-shadow: 0 16px 30px rgba(0, 0, 0, .12);
            z-index: 9999;
            padding: .4rem 0;
        }

        body.dark-mode .profile-dropdown {
            background: #1e293b;
        }

        .dropdown-link,
        .toggle-item {
            display: flex;
            align-items: center;
            gap: .65rem;
            padding: .45rem .85rem;
            font-size: .875rem;
            font-weight: 500;
            color: inherit;
            text-decoration: none;
            transition: .15s;
            border-radius: 8px;
        }

        .dropdown-link i,
        .toggle-item i {
            width: 18px;
            color: var(--muted);
        }

        .dropdown-link:hover {
            color: var(--brand);
            background: var(--brand-soft);
        }

        .switch {
            margin-left: auto;
            position: relative;
            width: 42px;
            height: 22px;
            display: inline-block;
        }

        .switch input {
            display: none;
        }

        .slider {
            position: absolute;
            inset: 0;
            background: #cbd5e1;
            border-radius: 22px;
            cursor: pointer;
            transition: .25s;
        }

        .slider:before {
            content: "";
            position: absolute;
            height: 16px;
            width: 16px;
            left: 3px;
            bottom: 3px;
            background: #fff;
            border-radius: 50%;
            transition: .25s;
        }

        .switch input:checked+.slider {
            background: #0f172a;
        }

        .switch input:checked+.slider:before {
            transform: translateX(20px);
        }

        /* ── Cards ── */
        .epaper-card {
            border-radius: 16px;
            overflow: hidden;
            border: 1px solid var(--card-border);
            transition: transform .22s, box-shadow .22s;
            height: 100%;
            text-decoration: none;
            color: inherit;
            display: flex;
            flex-direction: column;
        }

        .epaper-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 26px rgba(0, 0, 0, .09);
            color: inherit;
        }

        body.dark-mode .epaper-card {
            background: #0f172a;
            border-color: #334155;
        }

        .epaper-thumb {
            width: 100%;
            height: 195px;
            object-fit: cover;
            background: #f1f5f9;
        }

        .epaper-placeholder {
            height: 195px;
            background: linear-gradient(135deg, #1e293b, #b91c1c);
            color: #fff;
            font-size: 2.5rem;
        }

        .share-btn {
            position: absolute;
            top: 10px;
            right: 10px;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            border: none;
            background: rgba(0, 0, 0, .45);
            backdrop-filter: blur(4px);
            color: #fff;
            font-size: .85rem;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: background .2s;
            z-index: 5;
        }

        .share-btn:hover {
            background: var(--brand);
        }

        .epaper-body {
            padding: .85rem 1rem 1.1rem;
            flex: 1;
        }

        .epaper-title {
            font-weight: 700;
            font-size: .97rem;
            color: var(--heading);
            margin-bottom: .35rem;
        }

        .epaper-meta {
            font-size: .78rem;
            color: var(--muted);
            margin-top: auto;
        }

        .section-heading {
            font-weight: 700;
            font-size: 1.3rem;
            color: var(--heading);
        }

        .section-heading i {
            color: var(--brand);
        }

        /* ── State Cards — circle style ── */
        .state-card {
            border: 2px solid var(--card-border);
            border-radius: 16px;
            cursor: pointer;
            transition: all .18s;
            overflow: hidden;
            position: relative;
            background: var(--bs-body-bg);
            text-align: center;
            padding: 10px 6px 8px;
        }

        body.dark-mode .state-card {
            background: #1e293b;
            border-color: #334155;
        }

        .state-card:hover {
            border-color: var(--brand);
        }

        .state-card.selected {
            border-color: var(--brand);
            background: var(--brand-soft);
        }

        /* circle image */
        .state-avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            object-fit: cover;
            margin: 0 auto 6px;
            border: 2px solid var(--card-border);
            display: block;
            background: #f1f5f9;
            transition: border-color .18s;
        }

        .state-card.selected .state-avatar {
            border-color: var(--brand);
        }

        .state-avatar-placeholder {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            margin: 0 auto 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, #1e293b, #b91c1c);
            color: #fff;
            font-size: 1.3rem;
            border: 2px solid transparent;
            transition: border-color .18s;
        }

        .state-card.selected .state-avatar-placeholder {
            border-color: var(--brand);
        }

        /* check badge — overlaps circle */
        .state-card .check-badge {
            position: absolute;
            top: 8px;
            right: 8px;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: var(--brand);
            color: #fff;
            font-size: .6rem;
            display: none;
            align-items: center;
            justify-content: center;
        }

        .state-card.selected .check-badge {
            display: flex;
        }

        .state-card .state-label {
            font-size: .75rem;
            font-weight: 600;
        }

        .city-chip {
            border: 2px solid var(--card-border);
            border-radius: 50px;
            padding: 6px 16px;
            font-size: .82rem;
            font-weight: 600;
            cursor: pointer;
            transition: all .18s;
            background: var(--bs-body-bg);
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        body.dark-mode .city-chip {
            background: #1e293b;
            border-color: #334155;
        }

        .city-chip:hover {
            border-color: var(--brand);
        }

        .city-chip.selected {
            border-color: var(--brand);
            background: var(--brand-soft);
            color: var(--brand);
        }

        .city-chip i {
            font-size: .65rem;
            display: none;
        }

        .city-chip.selected i {
            display: inline;
        }

        .step-dot {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            border: 2px solid #cbd5e1;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: .75rem;
            font-weight: 700;
            color: var(--muted);
        }

        .step-dot.active {
            border-color: var(--brand);
            background: var(--brand);
            color: #fff;
        }

        .step-dot.done {
            border-color: var(--brand);
            color: var(--brand);
        }

        .step-line {
            flex: 1;
            height: 2px;
            background: #cbd5e1;
        }

        .step-line.done {
            background: var(--brand);
        }

        /* Load More */
        #loadMoreBtn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 30px;
            border-radius: 50px;
            border: 2px solid var(--brand);
            background: transparent;
            color: var(--brand);
            font-size: .9rem;
            font-weight: 700;
            cursor: pointer;
            transition: all .22s;
        }

        #loadMoreBtn:hover {
            background: var(--brand);
            color: #fff;
        }

        #loadMoreBtn:disabled {
            opacity: .55;
            cursor: not-allowed;
        }

        body.dark-mode #loadMoreBtn {
            color: var(--brand);
        }

        #viewMoreBtn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 30px;
            border-radius: 50px;
            border: 2px solid var(--brand);
            background: transparent;
            color: var(--brand);
            font-size: .9rem;
            font-weight: 700;
            cursor: pointer;
            transition: all .22s;
        }

        #viewMoreBtn:hover {
            background: var(--brand);
            color: #fff;
        }

        #viewMoreBtn:disabled {
            opacity: .55;
            cursor: not-allowed;
        }

        body.dark-mode #viewMoreBtn {
            color: var(--brand);
        }

        @media (max-width: 576px) {
            .nav-action span {
                display: none;
            }

            .nav-action {
                padding: 7px 9px;
            }
        }
