        :root {
            --bg: #f6f7fb;
            --card: #ffffff;
            --text: #0f172a;
            --muted: #475569;
            --border: #e2e8f0;
            --shadow: 0 10px 30px rgba(2, 6, 23, 0.08);
            --accent: #2563eb;
            --accent-2: #1d4ed8;
            --danger: #b42318;
            --success: #15803d;
            --warning: #b45309;
            --info: #1d4ed8;
            --tone-info-bg: rgba(37, 99, 235, 0.08);
            --tone-info-border: rgba(37, 99, 235, 0.35);
            --tone-info-text: #1d4ed8;
            --tone-success-bg: rgba(21, 128, 61, 0.10);
            --tone-success-border: rgba(21, 128, 61, 0.42);
            --tone-success-text: #166534;
            --tone-error-bg: rgba(180, 35, 24, 0.08);
            --tone-error-border: rgba(180, 35, 24, 0.35);
            --tone-error-text: #b42318;
            --tone-warn-bg: rgba(180, 83, 9, 0.10);
            --tone-warn-border: rgba(180, 83, 9, 0.34);
            --tone-warn-text: #9a3412;
            --ui-zoom-scale: 1;
        }

        body.is-dark {
            --bg: #0b1220;
            --card: #0f172a;
            --text: #e2e8f0;
            --muted: #94a3b8;
            --border: rgba(148, 163, 184, 0.18);
            --shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
            --accent: #60a5fa;
            --accent-2: #93c5fd;
            --danger: #fb7185;
            --success: #4ade80;
            --warning: #fdba74;
            --info: #93c5fd;
            --tone-info-bg: rgba(96, 165, 250, 0.18);
            --tone-info-border: rgba(147, 197, 253, 0.42);
            --tone-info-text: #bfdbfe;
            --tone-success-bg: rgba(74, 222, 128, 0.16);
            --tone-success-border: rgba(74, 222, 128, 0.42);
            --tone-success-text: #86efac;
            --tone-error-bg: rgba(251, 113, 133, 0.14);
            --tone-error-border: rgba(251, 113, 133, 0.36);
            --tone-error-text: #fda4af;
            --tone-warn-bg: rgba(251, 191, 36, 0.14);
            --tone-warn-border: rgba(251, 191, 36, 0.36);
            --tone-warn-text: #fde68a;
        }

        body.is-dark .modal-backdrop { background: rgba(0, 0, 0, 0.72); }
        body.is-dark button { background: rgba(15, 23, 42, 0.92); border-color: rgba(148, 163, 184, 0.22); color: var(--text); }
        body.is-dark button:hover { background: rgba(15, 23, 42, 1); border-color: rgba(148, 163, 184, 0.32); }
        body.is-dark .text-input, body.is-dark .place-row input { background: rgba(15, 23, 42, 0.92); border-color: rgba(148, 163, 184, 0.22); color: var(--text); }
        body.is-dark .control-select { background: rgba(15, 23, 42, 0.92); border-color: rgba(148, 163, 184, 0.22); color: var(--text); }
        body.is-dark .icon-btn { background: rgba(15, 23, 42, 0.92); border-color: rgba(148, 163, 184, 0.20); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25); }
        body.is-dark .icon-btn:hover { background: rgba(15, 23, 42, 1); border-color: rgba(148, 163, 184, 0.30); }
        body.is-dark .pill { background: rgba(15, 23, 42, 0.92); }
        body.is-dark .price-card { background: var(--card); }
        body.is-dark .acct-pane { background: var(--card); }
        body.is-dark .acc { background: var(--card); }
        body.is-dark .acc-head { background: rgba(148, 163, 184, 0.06); }
        body.is-dark .acc-head:hover { background: rgba(148, 163, 184, 0.10); }
        body.is-dark .acc-body { background: var(--card); }
        body.is-dark .acct-tabs { background: rgba(148, 163, 184, 0.06); }
        body.is-dark .history-head { background: rgba(148, 163, 184, 0.06); }
        body.is-dark .hours-box { background: rgba(148, 163, 184, 0.06); color: var(--text); }
        body.is-dark #pushMsg, body.is-dark #notifMsg, body.is-dark #notifEventsMsg, body.is-dark #supportMsg { background: rgba(15, 23, 42, 0.92); }
        body.is-dark .notif-event { border-color: rgba(148, 163, 184, 0.22); background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.92)); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28); }
        body.is-dark .notif-event.unread { border-color: rgba(96, 165, 250, 0.55); box-shadow: 0 12px 32px rgba(96, 165, 250, 0.18); }
        body.is-dark .notif-event-price-line { color: var(--text); }
        body.is-dark .notif-event-time-line { color: var(--muted); }
        body.is-dark .loc-icon path { stroke: var(--text); }
        body.is-dark #detailNotifStationBtn { color: rgba(226, 232, 240, 0.88); border-color: rgba(148, 163, 184, 0.24); background: linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(2, 6, 23, 0.96)); }
        body.is-dark #detailNotifStationBtn[aria-pressed="true"] { background: linear-gradient(180deg, rgba(20, 83, 45, 0.32), rgba(2, 6, 23, 0.95)); border-color: rgba(74, 222, 128, 0.44); box-shadow: 0 12px 24px rgba(74, 222, 128, 0.14); color: #86efac; }
        body.is-dark #detailNotifStationBtn[aria-pressed="true"]::after { border-color: #0f172a; color: #0f172a; background: #86efac; }
        body.is-dark #tankie-toast { border-color: rgba(148, 163, 184, 0.3); background: rgba(15, 23, 42, 0.96); color: var(--text); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45); }

        html { height: 100%; background: var(--bg); overscroll-behavior-y: none; }
        * { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
        body {
            margin: 0;
            min-height: 100vh;
            min-height: 100dvh;
            background: var(--bg);
            color: var(--text);
            font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
            overflow-x: hidden;
            overscroll-behavior-y: none;
            -webkit-text-size-adjust: 100%;
        }
        a { color: var(--accent); text-decoration: none; touch-action: manipulation; }
        a:hover { text-decoration: underline; }
        button, input, select, textarea { touch-action: manipulation; }
        .container {
            width: min(1120px, calc(100% / var(--ui-zoom-scale)));
            max-width: none;
            min-height: 100dvh;
            margin: 0 auto;
            padding:
                max(18px, env(safe-area-inset-top))
                max(18px, env(safe-area-inset-right))
                calc(44px + env(safe-area-inset-bottom))
                max(18px, env(safe-area-inset-left));
            zoom: var(--ui-zoom-scale);
        }
        .topbar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; margin-bottom: 14px; }
        .topbar-right { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; justify-self: stretch; }
        .topbar-title { display: flex; align-items: center; justify-content: flex-start; gap: 10px; }
        .brand-home { display: flex; align-items: center; gap: 10px; color: inherit; }
        .brand-home:hover { text-decoration: none; }
        .brand { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; letter-spacing: -0.02em; font-size: 26px; line-height: 1; margin: 0; }
        .brand span { display: inline-block; }
        .brand-text { background: linear-gradient(90deg, #ff3d00 0%, #ff00c8 28%, #6d28d9 58%, #00c2ff 80%, #00d084 100%); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: 0 0 1px rgba(15, 23, 42, 0.35); }
        .brand-dot { color: #0f172a; font-weight: 800; }
        .brand-logo { width: 56px; height: 56px; border-radius: 14px; display: block; }
        .brand-logo--inline { width: 54px; height: 54px; border-radius: 16px; display: block; }
        .title { margin: 0; font-size: 22px; letter-spacing: -0.01em; }
        .subtitle { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
        .card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); }
        .card-header { padding: 14px 16px; border-bottom: 1px solid var(--border); display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
        .card-title { margin: 0; font-size: 14px; color: #0b1220; font-weight: 650; }
        .card-body { padding: 16px; }
        button { padding: 8px 10px; font-size: 13px; font-weight: 500; border-radius: 10px; border: 1px solid var(--border); background: #fff; color: var(--text); cursor: pointer; transition: opacity .18s ease; }
        button:hover { border-color: #cbd5e1; background: #f8fafc; }
        button:disabled { opacity: 0.55; cursor: not-allowed; }
        .place-row { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; width: 100%; }
        .place-row input { flex: 1 1 auto; min-width: 0; width: 420px; padding: 10px 12px; font-size: 14px; border-radius: 12px; border: 1px solid var(--border); background: #fff; color: var(--text); height: 44px; }
        .place-row input:focus-visible { border-color: rgba(37, 99, 235, 0.55); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12); }
        .place-row button { white-space: nowrap; height: 44px; display: inline-flex; align-items: center; justify-content: center; }
        .text-input { width: 100%; padding: 10px 12px; font-size: 14px; border-radius: 12px; border: 1px solid var(--border); background: #fff; color: var(--text); height: 44px; }
        .text-input:focus-visible { border-color: rgba(37, 99, 235, 0.55); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12); }
        .icon-btn { width: 40px; height: 40px; padding: 0; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.92); border: 1px solid rgba(15, 23, 42, 0.12); box-shadow: 0 10px 20px rgba(2, 6, 23, 0.05); position: relative; color: var(--text); }
        .icon-btn:hover { border-color: rgba(15, 23, 42, 0.18); background: rgba(248, 250, 252, 0.95); }
        .icon-btn svg { width: 16px; height: 16px; }
        .icon-btn .dot { position: absolute; right: 6px; top: 6px; width: 10px; height: 10px; border-radius: 999px; border: 2px solid #fff; background: transparent; box-shadow: none; opacity: 0; transform: scale(0.8); transition: opacity .2s ease, transform .2s ease, background-color .2s ease; }
        .icon-btn.is-on .dot { opacity: 1; transform: scale(1); background: var(--success); box-shadow: 0 0 0 4px rgba(21, 128, 61, 0.16); }
        .icon-btn.is-on.has-notifs .dot { width: auto; height: 18px; min-width: 18px; padding: 0 5px; border-radius: 99px; background: var(--danger); color: #fff; font-size: 10px; font-weight: 800; display: flex; align-items: center; justify-content: center; top: -6px; right: -6px; box-shadow: 0 0 0 2px var(--card); line-height: 1; }

        .dropdown-item .detail-icon { transition: transform 0.2s ease, filter 0.2s ease; }
        .dropdown-item:hover .detail-icon { transform: scale(1.1); filter: brightness(1.1); }
        .icon-clr-orange { color: #ff3d00 !important; }
        .icon-clr-pink { color: #ff00c8 !important; }
        .icon-clr-purple { color: #6d28d9 !important; }
        .icon-clr-blue { color: #00c2ff !important; }
        .icon-clr-green { color: #00d084 !important; }
        body.is-dark .icon-clr-orange { color: #ff5e26 !important; }
        body.is-dark .icon-clr-pink { color: #ff40d6 !important; }
        body.is-dark .icon-clr-purple { color: #9d66ff !important; }
        body.is-dark .icon-clr-blue { color: #5cdbff !important; }
        body.is-dark .icon-clr-green { color: #40ffb0 !important; }

        .notif-days { display: flex; flex-wrap: nowrap; gap: 6px 10px; margin-top: 8px; justify-content: center; width: 100%; }
        .notif-days .remember { margin: 0; flex: 0 0 auto; white-space: nowrap; }
        .notif-schedule-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 4px; }
        .notif-schedule-item { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 8px; background: var(--bg); border: 1px solid var(--border); border-radius: 12px; cursor: pointer; transition: all .15s ease; user-select: none; }
        .notif-schedule-item:hover { border-color: var(--accent); background: rgba(37, 99, 235, 0.04); }
        .notif-schedule-item input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; }
        .notif-schedule-check { width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--border); background: var(--card); display: flex; align-items: center; justify-content: center; transition: all .15s ease; flex-shrink: 0; }
        .notif-schedule-item input:checked + .notif-schedule-check { border-color: var(--accent); background: var(--accent); }
        .notif-schedule-item input:checked + .notif-schedule-check::after { content: "\2713"; color: #fff; font-size: 13px; font-weight: 700; }
        .notif-schedule-label { font-size: 12px; font-weight: 700; color: var(--text); }
        .notif-schedule-time { font-size: 10px; color: var(--muted); font-weight: 500; }
        .hamburger-dropdown { display: flex; width: max-content; max-width: min(92vw, 220px); }
        .hamburger-dropdown.view-hidden { display: none !important; }
        .dropdown-item:hover { background-color: var(--border) !important; }
        .notif-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 6px; margin-top: 6px; align-items: stretch; }
        .notif-row.notif-row-time { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
        .notif-row.notif-row-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
        .notif-row.notif-row-alarms { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
        .notif-row.notif-row-alarms .notif-field:first-child { grid-column: 1 / -1; }
        .notif-row.notif-row-time .notif-field { gap: 4px; }
        .notif-row.notif-row-time input[type="time"] { width: 100%; max-width: 100%; min-width: 0; height: 40px !important; min-height: 40px; padding: 9px 10px !important; font-size: 13px !important; line-height: 1.2; border-radius: 10px; -webkit-appearance: none; appearance: none; }
        .notif-field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
        .notif-field.notif-field-card { overflow: hidden; }
        .notif-label { font-size: 11px; color: var(--muted); font-weight: 650; }
        .notif-label.notif-label-drop { color: var(--success); }
        .notif-label.notif-label-rise { color: var(--danger); }
        .acct-pane#acctPaneNotifs .text-input { height: 40px; padding: 9px 10px; font-size: 13px; border-radius: 10px; }
        .acct-pane#acctPaneNotifs .control-select { height: 40px; padding: 9px 10px; font-size: 13px; border-radius: 10px; }
        .acct-pane#acctPaneNotifs button { padding: 9px 10px; font-size: 13px; border-radius: 10px; height: 40px; }
        .acct-actions.btn-eq { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
        .acct-actions.btn-eq button { width: 100%; }
        .notif-title { font-weight: 850; font-size: 15px; text-align: center; letter-spacing: -0.01em; margin-top: 4px; margin-bottom: 4px; }
        .notif-desc { font-size: 13px; color: var(--muted); text-align: center; margin-bottom: 16px; line-height: 1.4; }
        .acc { border: 1px solid var(--border); border-radius: 12px; background: var(--card); overflow: hidden; box-shadow: var(--shadow); }
        .acc-head { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 12px; background: rgba(248, 250, 252, 0.65); border: none; cursor: pointer; }
        .acc-head:hover { background: rgba(248, 250, 252, 0.95); }
        .acc-title { font-weight: 850; font-size: 13px; letter-spacing: -0.01em; display: inline-flex; align-items: center; gap: 6px; }
        .acc-chevron { font-size: 11px; color: var(--muted); transition: transform .18s ease; transform: rotate(0deg); }
        .acc-head[aria-expanded="true"] .acc-chevron { transform: rotate(180deg); }
        .acc-badge { font-size: 11px; font-weight: 750; padding: 4px 8px; border-radius: 999px; border: 1px solid rgba(2, 6, 23, 0.10); background: var(--card); color: var(--muted); white-space: nowrap; }
        .acc-badge.ok { color: var(--success); border-color: rgba(22, 101, 52, 0.25); background: rgba(22, 101, 52, 0.06); }
        .acc-badge.bad { color: var(--danger); border-color: rgba(176, 0, 32, 0.25); background: rgba(176, 0, 32, 0.06); }
        .acc-badge.warn { color: var(--warning); border-color: rgba(154, 52, 18, 0.25); background: rgba(154, 52, 18, 0.06); }
        .acc-body { padding: 10px 12px 12px; border-top: 1px solid var(--border); background: var(--card); }
        .acc-hint { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
        @media (max-width: 680px) {
            .notif-row.notif-row-time { grid-template-columns: 1fr 1fr; gap: 6px; }
            .notif-row.notif-row-compact { gap: 6px; }
            .notif-row.notif-row-alarms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
            .notif-row.notif-row-alarms .notif-field:first-child { grid-column: 1 / -1; }
            .notif-row.notif-row-time .notif-field { min-width: 0; }
            .notif-row.notif-row-time input[type="time"] { width: 100%; min-width: 0; height: 28px !important; min-height: 28px; padding: 2px 6px !important; font-size: 10px !important; border-radius: 8px; }
            .notif-row.notif-row-time .notif-label { font-size: 10px; }
        }
        @media (max-width: 460px) {
            .acct-actions.btn-eq { grid-template-columns: 1fr; }
            #acctPaneNotifSettings .acct-actions.btn-eq { grid-template-columns: 1fr 1fr; }
            .notif-row { grid-template-columns: 1fr; }
            #acctPaneNotifSettings .notif-row.notif-row-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
            #acctPaneNotifSettings .notif-row.notif-row-alarms { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
            #acctPaneNotifSettings .notif-row.notif-row-alarms .notif-field:first-child { grid-column: 1 / -1; }
            .notif-row.notif-row-time { grid-template-columns: 1fr 1fr; gap: 5px; }
            .notif-row.notif-row-time input[type="time"] { height: 26px !important; min-height: 26px; padding: 1px 5px !important; font-size: 10px !important; border-radius: 8px; }
            .notif-days { flex-wrap: nowrap; gap: 4px; padding-bottom: 2px; justify-content: center; width: 100%; }
            .notif-days .remember { flex: 0 0 auto; white-space: nowrap; font-size: 11px; gap: 3px; margin: 0; }
            .notif-days .remember input { width: 14px; height: 14px; }
            #acctPaneNotifSettings .notif-title { font-size: 14px; }
            #acctPaneNotifSettings .muted { font-size: 10px !important; }
            #acctPaneNotifSettings .notif-field.notif-field-compact { padding: 9px 10px !important; border-radius: 10px !important; gap: 4px; }
            #acctPaneNotifSettings .notif-field.notif-field-compact .notif-label { font-size: 11px !important; line-height: 1.15; margin-bottom: 4px !important; }
            #acctPaneNotifSettings .notif-field.notif-field-compact .control-select { width: 100%; min-width: 0; max-width: 100%; height: 34px; min-height: 34px; padding: 6px 8px !important; padding-right: 24px !important; font-size: 12px !important; border-radius: 8px; }
            #acctPaneNotifSettings #notifMsg { min-height: 32px; padding: 7px 8px; font-size: 11px; border-radius: 9px; }
        }
        .notif-event { padding: 12px; border: 1px solid rgba(148, 163, 184, 0.38); border-radius: 12px; background: linear-gradient(180deg, #ffffff, #f8fafc); cursor: pointer; box-shadow: 0 8px 20px rgba(2, 6, 23, 0.05); }
        .notif-event.unread { border-color: rgba(37, 99, 235, 0.45); box-shadow: 0 10px 24px rgba(37, 99, 235, 0.12); }
        .notif-event-body { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
        .notif-event-content { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }
        .notif-event-logo { width: 36px; height: 36px; padding: 2px; border-radius: 10px; border: 1px solid rgba(2, 6, 23, 0.1); box-shadow: 0 4px 10px rgba(2, 6, 23, 0.06); }
        .notif-event-logo.logo-placeholder { font-size: 15px; }
        .notif-event-title { font-weight: 750; font-size: 13px; letter-spacing: -0.01em; }
        .notif-event-sub { font-size: 12px; color: var(--muted); margin-top: 6px; display: flex; flex-direction: column; gap: 5px; }
        .notif-event-price-line { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; color: #334155; font-weight: 600; }
        .notif-event-time-line { color: #64748b; font-size: 11px; font-weight: 600; letter-spacing: 0.01em; }
        .notif-event-place-line { color: var(--muted); font-size: 11px; line-height: 1.35; }
        .notif-delta { display: inline-flex; align-items: center; border-radius: 999px; padding: 2px 8px; font-size: 11px; line-height: 1.2; font-weight: 750; border: 1px solid transparent; }
        .notif-delta.down { color: #166534; background: rgba(22, 163, 74, 0.12); border-color: rgba(22, 101, 52, 0.35); }
        .notif-delta.up { color: #9a3412; background: rgba(249, 115, 22, 0.12); border-color: rgba(154, 52, 18, 0.35); }
        .notif-events { display: flex; flex-direction: column; gap: 8px; }
        .notif-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
        #acctPaneNotifs #notifClearAllBtn { height: 32px !important; min-height: 32px; padding: 6px 10px !important; font-size: 12px !important; border-radius: 10px !important; }
        .notif-event-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
        .notif-del-btn { width: 24px; height: 24px !important; min-height: 24px; padding: 0 !important; font-size: 14px !important; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; line-height: 1; }
        .push-btn-on { border-color: var(--tone-success-border) !important; background: var(--tone-success-bg) !important; color: var(--tone-success-text) !important; font-weight: 500; }
        .push-btn-off { border-color: var(--tone-error-border) !important; background: var(--tone-error-bg) !important; color: var(--tone-error-text) !important; font-weight: 500; }
        #pushEnableBtn, #pushDisableBtn { white-space: nowrap; font-size: 12px; }
        #pushMsg { text-align: center; border: 1px solid var(--border); background: #fff; border-radius: 10px; padding: 8px 10px; min-height: 36px; display: flex; align-items: center; justify-content: center; }
        #pushMsg.push-note-info { border-color: var(--tone-info-border); background: var(--tone-info-bg); color: var(--tone-info-text); }
        #pushMsg.push-note-success { border-color: var(--tone-success-border); background: var(--tone-success-bg); color: var(--tone-success-text); font-weight: 650; }
        #pushMsg.push-note-error { border-color: var(--tone-error-border); background: var(--tone-error-bg); color: var(--tone-error-text); }
        #pushMsg.push-note-warn { border-color: var(--tone-warn-border); background: var(--tone-warn-bg); color: var(--tone-warn-text); }
        #notifMsg, #notifEventsMsg { text-align: center; border: 1px solid var(--border); background: #fff; border-radius: 10px; padding: 8px 10px; min-height: 36px; display: flex; align-items: center; justify-content: center; }
        #notifMsg.notif-note-info, #notifEventsMsg.notif-note-info { border-color: var(--tone-info-border); background: var(--tone-info-bg); color: var(--tone-info-text); }
        #notifMsg.notif-note-success, #notifEventsMsg.notif-note-success { border-color: var(--tone-success-border); background: var(--tone-success-bg); color: var(--tone-success-text); font-weight: 650; }
        #notifMsg.notif-note-error, #notifEventsMsg.notif-note-error { border-color: var(--tone-error-border); background: var(--tone-error-bg); color: var(--tone-error-text); }
        #notifMsg.notif-note-warn, #notifEventsMsg.notif-note-warn { border-color: var(--tone-warn-border); background: var(--tone-warn-bg); color: var(--tone-warn-text); }
        #supportMessage { height: auto; min-height: 148px; line-height: 1.45; border-radius: 12px; padding: 12px; }
        #supportMessage::placeholder { color: #64748b; }
        #supportMsg { text-align: center; border: 1px solid var(--border); background: #fff; border-radius: 10px; padding: 9px 10px; min-height: 40px; display: flex; align-items: center; justify-content: center; font-size: 12px; }
        #supportMsg.support-note-info { border-color: var(--tone-info-border); background: var(--tone-info-bg); color: var(--tone-info-text); }
        #supportMsg.support-note-success { border-color: var(--tone-success-border); background: var(--tone-success-bg); color: var(--tone-success-text); font-weight: 650; }
        #supportMsg.support-note-error { border-color: var(--tone-error-border); background: var(--tone-error-bg); color: var(--tone-error-text); }
        #supportMsg.support-note-warn { border-color: var(--tone-warn-border); background: var(--tone-warn-bg); color: var(--tone-warn-text); }
        .notif-tools { justify-content: flex-end; gap: 6px; margin-top: 6px; }
        .notif-tool-btn { height: 32px !important; padding: 6px 8px !important; font-size: 12px !important; border-radius: 8px !important; display: inline-flex; align-items: center; gap: 5px; }
        .notif-station-chips { display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px; }
        .notif-station-chip { display: inline-flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 10px; border: 1px solid rgba(15, 23, 42, 0.12); background: var(--bg); border-radius: 12px; box-shadow: 0 2px 6px rgba(0,0,0,0.04); color: var(--text); font-size: 12px; font-weight: 600; max-width: 100%; box-sizing: border-box; }
        .notif-station-chip > span { min-width: 0; flex: 1 1 auto; }
        .notif-station-chip.none { border: none; color: var(--muted); font-weight: 550; background: transparent; box-shadow: none; font-size: 13px; margin: auto; }
        .notif-station-chip-remove { width: 24px; height: 24px; border-radius: 8px; border: 1px solid var(--border); background: var(--app-bg); color: var(--muted); font-size: 13px; cursor: pointer; line-height: 1; display: inline-flex; align-items: center; justify-content: center; padding: 0; flex: 0 0 auto; transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease; }
        .notif-station-chip-remove:hover { border-color: var(--text); background: var(--bg); color: var(--text); }
        .notif-station-chip-remove:active { transform: translateY(1px); }
        #acctPaneNotifSettings { min-height: 0; overflow: hidden; }
        #acctPaneNotifSettings > div { display: flex; flex-direction: column; min-height: 0; flex: 1 1 auto; }
        #acctPaneNotifSettings .acc { display: flex; flex-direction: column; min-height: 0; flex: 1 1 auto; }
        #notifAccBody { min-height: 0; overflow: auto; overscroll-behavior: contain; }
        #acctPaneNotifs { min-height: 0; overflow: hidden; }
        #acctPaneNotifs > div { display: flex; flex-direction: column; min-height: 0; flex: 1 1 auto; }
        #acctPaneNotifs .notif-events { flex: 1 1 auto; min-height: 0; overflow: auto; padding-right: 2px; overscroll-behavior: contain; }
        #acctPaneNotifSettings #notifSelectedChips {
            max-height: 154px;
            overflow-y: auto;
            overflow-x: hidden;
            align-content: flex-start;
            justify-content: flex-start;
        }
        #acctPaneNotifSettings #notifSelectedChips .notif-station-chip { width: 100%; }
        #pushMsg:empty { display: none; }
        #notifMsg:empty { display: none; }
        #notifEventsMsg:empty { display: none; }
        #supportMsg:empty { display: none; }
        .detail-icon { width: 20px; height: 20px; display: block; }
        #detailNotifStationBtn { color: #334155; border-color: rgba(15, 23, 42, 0.16); background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.94)); transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease; position: relative; overflow: visible; }
        #detailNotifStationBtn svg { transition: transform 0.2s ease; }
        #detailNotifStationBtn[aria-pressed="true"] { color: var(--success); border-color: rgba(21, 128, 61, 0.46); background: linear-gradient(180deg, rgba(240, 253, 244, 0.98), rgba(220, 252, 231, 0.9)); box-shadow: 0 12px 24px rgba(21, 128, 61, 0.16); }
        #detailNotifStationBtn[aria-pressed="true"]::after { content: "✓"; position: absolute; right: -4px; top: -4px; width: 17px; height: 17px; border-radius: 999px; border: 2px solid #fff; background: var(--success); color: #fff; font-size: 11px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 6px 14px rgba(21, 128, 61, 0.28); }
        #detailNotifStationBtn[aria-pressed="true"] svg { transform: translateY(-0.5px); }
        #tankie-toast { position: fixed; top: 18px; left: 50%; transform: translateX(-50%) translateY(-14px); max-width: min(420px, calc(100vw - 24px)); min-height: 44px; padding: 8px 14px; border-radius: 14px; border: 1px solid var(--tone-info-border); background: var(--card); color: var(--text); box-shadow: 0 16px 36px rgba(2, 6, 23, 0.18); display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; z-index: 15000; opacity: 0; pointer-events: none; transition: opacity .24s ease, transform .24s ease, border-color .2s ease, background-color .2s ease; }
        #tankie-toast.is-show { opacity: 1; transform: translateX(-50%) translateY(0); }
        #tankie-toast .toast-icon { width: 20px; height: 20px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 900; border: 1px solid transparent; flex: 0 0 auto; }
        #tankie-toast .toast-text { line-height: 1.25; }
        #tankie-toast.is-success { border-color: var(--tone-success-border); background: linear-gradient(180deg, var(--card), rgba(220, 252, 231, 0.66)); }
        #tankie-toast.is-success .toast-icon { background: var(--success); color: #fff; }
        #tankie-toast.is-error { border-color: var(--tone-error-border); background: linear-gradient(180deg, var(--card), rgba(254, 226, 226, 0.66)); }
        #tankie-toast.is-error .toast-icon { background: var(--danger); color: #fff; }
        #tankie-toast.is-warn { border-color: var(--tone-warn-border); background: linear-gradient(180deg, var(--card), rgba(254, 243, 199, 0.72)); }
        #tankie-toast.is-warn .toast-icon { background: var(--warning); color: #fff; }
        #tankie-toast.is-info { border-color: var(--tone-info-border); background: linear-gradient(180deg, var(--card), rgba(219, 234, 254, 0.72)); }
        #tankie-toast.is-info .toast-icon { background: var(--info); color: #fff; }
        .loc-btn { width: 40px; height: 40px; padding: 0; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.92); border: 1px solid rgba(15, 23, 42, 0.12); box-shadow: 0 10px 20px rgba(2, 6, 23, 0.05); }
        .loc-btn:hover { border-color: rgba(15, 23, 42, 0.18); background: rgba(248, 250, 252, 0.95); }
        .loc-btn:active { transform: translateY(1px); }
        .loc-icon { width: 18px; height: 18px; }
        .loc-icon path { stroke: #0f172a; }
        .control-select { padding: 10px 12px; font-size: 14px; border-radius: 12px; border: 1px solid var(--border); background: #fff; color: var(--text); cursor: pointer; height: 44px; }
        .control-select:focus-visible { border-color: rgba(37, 99, 235, 0.55); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12); }
        .control-select.km { width: 92px; padding-left: 10px; padding-right: 10px; }
        .control-select.view { min-width: 110px; }
        .view-tools { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; position: relative; }
        .view-tools-menu { gap: 7px; justify-content: flex-start; align-items: center; }
        .toolbar-btn { width: 40px; height: 40px; padding: 0; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 0; }
        .toolbar-btn-icon { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; flex: 0 0 auto; }
        .toolbar-btn svg { width: 16px; height: 16px; }
        .toolbar-btn-zoom { width: auto; min-width: 76px; padding: 0 10px; gap: 7px; }
        .zoom-badge { font-size: 11px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
        .toolbar-sep { color: rgba(100, 116, 139, 0.62); font-size: 15px; font-weight: 700; line-height: 1; user-select: none; }
        .menu-view-row { cursor: default; justify-content: flex-start; width: auto; }
        .controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; }
        .search-guide { width: min(680px, 100%); margin: 6px auto 0; border-radius: 14px; border: 1px solid rgba(37, 99, 235, 0.32); background: linear-gradient(180deg, rgba(239, 246, 255, 0.86), rgba(255, 255, 255, 0.96)); color: #1d4ed8; text-align: center; box-shadow: 0 10px 24px rgba(37, 99, 235, 0.14); padding: 10px 12px 11px; }
        .search-guide-arrow { font-size: 24px; line-height: 1; font-weight: 900; color: #1d4ed8; animation: searchGuideArrowBounce 0.95s ease-in-out infinite; }
        .search-guide-lines { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-top: 5px; }
        .search-guide-line { font-size: 12px; font-weight: 700; letter-spacing: 0.01em; }
        @keyframes searchGuideArrowBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
        @keyframes searchGuideGlow { 0%, 100% { box-shadow: 0 10px 24px rgba(37, 99, 235, 0.14); } 50% { box-shadow: 0 12px 28px rgba(37, 99, 235, 0.24); } }
        .status { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 13px; color: var(--muted); text-align: left; }
        .status-lines { display: flex; flex-direction: column; gap: 2px; }
        .status-sub { font-size: 11px; opacity: 0.75; margin-left: 6px; }
        .notice { margin-top: 12px; border-radius: 14px; border: 1px solid rgba(226, 232, 240, 0.95); background: rgba(248, 250, 252, 0.8); padding: 10px 12px; font-size: 13px; color: var(--muted); box-shadow: 0 10px 20px rgba(2, 6, 23, 0.05); text-align: center; }
        .notice.error { border-color: rgba(176, 0, 32, 0.25); background: rgba(176, 0, 32, 0.06); color: var(--danger); }
        .live-dot { width: 10px; height: 10px; border-radius: 999px; background: var(--success); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.35); animation: livePulse 1.2s ease-out infinite; flex: 0 0 auto; }
        .notice.error .live-dot { background: var(--danger); box-shadow: none; animation: none; }
        .notice.loading .live-dot { background: transparent; border: 2px solid rgba(37, 99, 235, 0.28); border-top-color: #2563eb; animation: spin 0.9s linear infinite; box-shadow: none; }
        .notice[data-source="cache"]:not(.loading):not(.error) .live-dot { background: var(--success); box-shadow: none; animation: none; }
        .notice[data-network="offline"]:not(.error) { border-color: var(--tone-warn-border); background: var(--tone-warn-bg); color: var(--tone-warn-text); }
        .notice[data-network="offline"]:not(.error) .live-dot { background: var(--warning); box-shadow: none; animation: none; }
        .status-badge { display: inline-flex; align-items: center; padding: 1px 4px; border-radius: 4px; border: 1px solid rgba(148, 163, 184, 0.40); background: transparent; color: #94a3b8; font-size: 9px; font-weight: 650; text-transform: uppercase; letter-spacing: 0.05em; margin-left: 2px; }
        .status-badge.live { border-color: rgba(34, 197, 94, 0.40); color: #16a34a; }
        .status-badge.offline { border-color: rgba(154, 52, 18, 0.30); color: var(--tone-warn-text); }
        @keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.35); } 70% { box-shadow: 0 0 0 10px rgba(22, 163, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); } }
        @media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } .search-guide-arrow { animation: none; } .search-guide { animation: none; } }
        .list-wrap { border-radius: 12px; border: 1px solid var(--border); background: #fff; overflow: hidden; }
        .list-item { position: relative; padding: 14px 16px; border-bottom: 1px solid var(--border); cursor: pointer; transition: background 0.15s; }
        .list-item:last-child { border-bottom: none; }
        .list-item:hover { background: rgba(2, 6, 23, 0.03); }
        .list-item.is-closed { background: linear-gradient(180deg, rgba(176, 0, 32, 0.08), rgba(255, 255, 255, 0.92)); border-bottom-color: rgba(176, 0, 32, 0.14); filter: blur(0.5px) grayscale(0.5); transition: filter 0.2s ease, background 0.15s; }
        .list-item.is-closed:hover { background: linear-gradient(180deg, rgba(176, 0, 32, 0.11), rgba(255, 255, 255, 0.92)); filter: blur(0px) grayscale(0); }
        .list-item.is-closed .item-title { color: #9a3412; }
        .list-item.is-closed .item-prices { border-color: rgba(176, 0, 32, 0.22); background: linear-gradient(180deg, rgba(255, 241, 242, 0.85), rgba(255, 255, 255, 0.95)); }
        .list-item.is-closed .list-logo { filter: grayscale(0.85) saturate(0.8) contrast(0.95); opacity: 0.7; }
        .item-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
        .item-title-group { flex: 1; }
        .item-title { font-weight: 650; color: var(--text); font-size: 15px; display: flex; align-items: center; gap: 8px; }
        .item-address { color: var(--muted); font-size: 13px; margin-top: 4px; }
        .item-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
        .item-actions { display: flex; align-items: center; gap: 8px; }
        .item-dist { font-size: 13px; font-weight: 600; color: var(--muted); }
        .item-prices { margin-top: 4px; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(37, 99, 235, 0.20); background: linear-gradient(180deg, rgba(239, 246, 255, 0.75), rgba(255, 255, 255, 0.95)); font-size: 15px; color: var(--text); font-weight: 500; display: flex; flex-wrap: wrap; gap: 10px; align-items: baseline; }
        .item-insight { display: grid; gap: 3px; max-width: 100%; padding: 0; margin-top: 8px; }
        .item-insight-chart-wrap { width: min(210px, 100%); height: 46px; padding: 3px 6px; border-radius: 10px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.94)); border: 1px solid rgba(203, 213, 225, 0.95); box-shadow: inset 0 1px 0 rgba(255,255,255,0.65); overflow: hidden; opacity: 0.98; }
        .item-insight-chart { width: 100%; height: 40px; display: block; }
        .item-insight-hours { display: none; }
        .item-insight-hour { position: absolute; top: 0; color: rgba(100, 116, 139, 0.72); font-size: 8px; font-weight: 700; line-height: 1; text-align: center; font-variant-numeric: tabular-nums; transform: translateX(-50%); white-space: nowrap; }
        .item-insight-legend { width: min(420px, 100%); display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; padding: 2px 0 0; color: rgba(100, 116, 139, 0.84); font-size: 8px; font-weight: 700; line-height: 1.2; }
        .item-insight-legend-item { display: inline-flex; align-items: center; gap: 5px; min-width: 0; white-space: nowrap; }
        .item-insight-legend-swatch { width: 10px; height: 6px; border-radius: 999px; display: inline-block; flex: 0 0 auto; }
        .item-insight-legend-swatch.down { background: rgba(34, 197, 94, 0.85); }
        .item-insight-legend-swatch.neutral { background: rgba(29, 78, 216, 0.82); }
        .item-insight-legend-swatch.up { background: rgba(239, 68, 68, 0.80); }
        .item-insight.is-hidden { display: none; }
        @media (max-width: 640px) {
            .item-insight-hours { width: 100%; }
            .item-insight-legend { width: 100%; gap: 5px; font-size: 7px; padding-top: 1px; }
            .item-insight-legend-item { gap: 4px; }
            .item-insight-legend-swatch { width: 9px; height: 5px; }
        }
        .price-sep { color: var(--border); }
        .price-label { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; }
        .price-val { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 900; font-size: 24px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1; }
        .price-val.up { color: var(--danger); }
        .price-val.down { color: var(--success); }
        .price-last { font-size: 0.72em; vertical-align: baseline; position: relative; top: -0.35em; font-weight: 800; letter-spacing: 0.01em; margin-left: 0.5px; }
        .price-delta { font-size: 12px; font-weight: 650; font-variant-numeric: tabular-nums; }
        .price-delta.up { color: var(--danger); }
        .price-delta.down { color: var(--success); }
        .price-delta .delta-time { color: var(--muted); font-weight: 600; font-size: 0.82em; font-style: normal; opacity: 0.7; margin-left: 2px; }
        .delta .delta-time { color: var(--muted); font-weight: 600; font-size: 0.82em; font-style: normal; opacity: 0.7; margin-left: 3px; }
        .price-delta, .price-sep { white-space: nowrap; }

        .top3-row { margin-bottom: 12px; border: 1px solid var(--border); border-radius: 14px; background: rgba(248, 250, 252, 0.75); padding: 10px 12px; }
        .top3-toggle { width: 100%; border: 1px solid rgba(148, 163, 184, 0.45); background: #fff; border-radius: 12px; padding: 10px 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; text-align: left; }
        .top3-toggle:hover { background: #f8fafc; border-color: rgba(100, 116, 139, 0.55); }
        .top3-toggle-main { display: flex; align-items: center; gap: 8px; min-width: 0; }
        .top3-toggle-title { font-size: 13px; font-weight: 800; color: var(--text); }
        .top3-toggle-sub { font-size: 12px; color: var(--muted); }
        .top3-toggle-arrow { font-size: 12px; color: var(--muted); transition: transform .18s ease; }
        .top3-toggle[aria-expanded="true"] .top3-toggle-arrow { transform: rotate(180deg); }
        .top3-body { margin-top: 10px; }
        .top3-head { font-size: 12px; color: var(--muted); margin: 0 0 10px; display: flex; justify-content: space-between; gap: 10px; }
        .top3-cards { display: flex; gap: 10px; flex-wrap: wrap; }
        .top3-card { flex: 1 1 240px; min-width: 220px; border: 1px solid rgba(226, 232, 240, 0.95); background: #fff; border-radius: 14px; padding: 10px 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; box-shadow: 0 10px 20px rgba(2, 6, 23, 0.05); cursor: pointer; text-align: left; }
        .top3-card:hover { border-color: rgba(148, 163, 184, 0.65); background: #f8fafc; }
        .top3-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
        .top3-rank { width: 28px; height: 28px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-weight: 850; font-size: 12px; color: #0b1220; border: 1px solid rgba(2, 6, 23, 0.10); background: linear-gradient(135deg, rgba(2, 6, 23, 0.02), rgba(2, 6, 23, 0.06)); flex: 0 0 auto; }
        .top3-rank.r1 { border-color: rgba(245, 158, 11, 0.35); background: linear-gradient(135deg, rgba(245, 158, 11, 0.10), rgba(245, 158, 11, 0.25)); }
        .top3-rank.r2 { border-color: rgba(148, 163, 184, 0.55); background: linear-gradient(135deg, rgba(148, 163, 184, 0.10), rgba(148, 163, 184, 0.28)); }
        .top3-rank.r3 { border-color: rgba(217, 119, 6, 0.35); background: linear-gradient(135deg, rgba(217, 119, 6, 0.10), rgba(217, 119, 6, 0.22)); }
        .top3-name { font-weight: 700; font-size: 13px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 320px; }
        .top3-sub { font-size: 12px; color: var(--muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .top3-right { text-align: right; }
        .top3-price { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 900; font-size: 21px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; color: #0b1220; }

        .price-marker { background: transparent; border: none; }
        .price-badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px 4px 4px; border-radius: 999px; border: 1px solid rgba(2, 6, 23, 0.10); background: rgba(255, 255, 255, 0.92); box-shadow: 0 6px 14px rgba(2, 6, 23, 0.10); color: #0b1220; font-weight: 850; font-size: 12px; line-height: 1; white-space: nowrap; }
        .price-badge .unit { font-weight: 650; color: #475569; font-size: 10px; margin-left: 2px; }
        .price-badge .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--accent); box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.12); flex: 0 0 auto; }
        .price-badge .price-delta { font-size: 11px; font-weight: 750; margin-left: 2px; }
        .marker-logo { width: 28px; height: 28px; min-width: 28px; border-radius: 999px; padding: 1px; border: 1px solid rgba(2, 6, 23, 0.10); box-shadow: 0 4px 10px rgba(2, 6, 23, 0.10); }
        .marker-logo.logo-placeholder { font-size: 14px; display: inline-flex; align-items: center; justify-content: center; }
        .marker-title { font-weight: 750; font-size: 12px; margin: 0 2px; max-width: 110px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
        .marker-price { font-weight: 850; font-size: 12px; }

        .station-logo { object-fit: contain; background: #fff; flex: 0 0 auto; display: block; }
        .list-logo { width: 44px; height: 44px; padding: 1px; border-radius: 8px; border: 1px solid rgba(2, 6, 23, 0.1); }
        .top3-logo { width: 34px; height: 34px; padding: 1px; border-radius: 6px; border: 1px solid rgba(2, 6, 23, 0.1); }
        .detail-logo { width: 56px; height: 56px; padding: 2px; border-radius: 10px; border: 1px solid rgba(2, 6, 23, 0.1); }
        .logo-placeholder { display: inline-flex; align-items: center; justify-content: center; font-weight: 800; color: var(--muted); background: #f1f5f9; border: 1px solid var(--border); }
        .list-logo.logo-placeholder { font-size: 16px; }
        .top3-logo.logo-placeholder { font-size: 13px; }
        .detail-logo.logo-placeholder { font-size: 20px; }

        .map-wrap { border-radius: 12px; border: 1px solid var(--border); overflow: hidden; }
        #map { width: 100%; height: 520px; background: #e2e8f0; }
        .view-hidden { display: none !important; }
        .muted { color: var(--muted); font-size: 12px; }
        .center { text-align: center; }
        .mono { font-variant-numeric: tabular-nums; }
        .pill { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; font-size: 12px; border: 1px solid var(--border); background: #fff; color: var(--muted); }
        .pill-dot { width: 8px; height: 8px; border-radius: 999px; background: #94a3b8; }
        .pill.open { border-color: rgba(22, 101, 52, 0.25); background: rgba(22, 101, 52, 0.07); color: var(--success); }
        .pill.open .pill-dot { background: #22c55e; }
        .pill.closed { border-color: rgba(176, 0, 32, 0.38); background: rgba(176, 0, 32, 0.10); color: var(--danger); font-weight: 750; }
        .pill.closed .pill-dot { background: #ef4444; }
        .pill.unknown { border-color: rgba(148, 163, 184, 0.5); background: rgba(148, 163, 184, 0.12); color: #334155; }
        .pill.unknown .pill-dot { background: #64748b; }
        .right { text-align: right; }
        .footer { margin-top: 14px; font-size: 12px; color: var(--muted); text-align: center; }
        .footer-short { display: none; }
        .header-right { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: nowrap; }
        body.ui-zoom-110 .card-header,
        body.ui-zoom-120 .card-header { align-items: flex-start; }
        body.ui-zoom-110 .header-right,
        body.ui-zoom-120 .header-right { flex-wrap: wrap; justify-content: flex-end; row-gap: 8px; }
        body.ui-zoom-110 #summary,
        body.ui-zoom-120 #summary { flex: 1 1 100%; text-align: right; }
        body.ui-zoom-110 .control-select.fuel,
        body.ui-zoom-120 .control-select.fuel { min-width: 148px; }
        body.ui-zoom-110 .control-select.view,
        body.ui-zoom-120 .control-select.view { min-width: 128px; }
        .modal-backdrop { position: fixed; inset: 0; z-index: 5000; background: rgba(15, 23, 42, 0.55); display: flex; align-items: center; justify-content: center; padding: 18px; overflow-y: auto; overflow-x: hidden; }
        .modal { width: min(420px, 100%); background: var(--card); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: visible; margin: auto; padding-bottom: 20px; }
        .modal-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--border); flex: 0 0 auto; }
        .modal-title { font-weight: 750; font-size: 16px; margin: 0; }
        .modal-sub { margin-top: 4px; color: var(--muted); font-size: 13px; white-space: pre-line; }
        .detail-state-pill { pointer-events: none; }
        #detailSub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        #detailBackdrop .modal { width: min(980px, 100%); max-width: 980px; }
        #detailBackdrop.is-station-closed .modal-header { background: linear-gradient(180deg, rgba(176, 0, 32, 0.06), rgba(255, 255, 255, 0.98)); }
        #detailBackdrop.is-station-closed .hours-box { border-color: rgba(176, 0, 32, 0.24); background: rgba(255, 241, 242, 0.72); }
        #detailBackdrop.is-station-closed .price-card { filter: grayscale(0.45) saturate(0.9); opacity: 0.88; }
        #detailBackdrop .icon-btn { width: 40px; height: 40px; border-radius: 12px; }
        #detailBackdrop .icon-btn svg { width: 17px; height: 17px; }
        #detailClose { font-size: 20px; line-height: 1; }
        .hours-box { display: block; margin-top: 8px; padding: 8px 10px; border-radius: 12px; border: 1px solid rgba(148, 163, 184, 0.45); background: rgba(248, 250, 252, 0.75); color: #334155; }
        .hours-title { color: var(--muted); font-size: 12px; }
        .hours-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 6px; }
        .hours-day { flex: 1 1 auto; min-width: 0; }
        .hours-time { flex: 0 0 auto; white-space: nowrap; font-variant-numeric: tabular-nums; }
        .modal-body { padding: 16px; display: flex; flex-direction: column; gap: 12px; flex: 1 1 auto; min-height: 0; -webkit-overflow-scrolling: touch; overflow: visible; }
        .close-btn { border-radius: 10px; padding: 7px 10px; font-size: 13px; font-weight: 500; }
        .nav-btn { border-color: rgba(37, 99, 235, 0.35); background: rgba(37, 99, 235, 0.08); font-weight: 500; }
        .nav-btn:hover { border-color: rgba(37, 99, 235, 0.55); background: rgba(37, 99, 235, 0.12); }
        .fav-btn { border: 1px solid var(--border); background: #fff; border-radius: 12px; padding: 6px 10px; font-size: 12px; cursor: pointer; }
        .fav-btn:hover { background: #f8fafc; border-color: #cbd5e1; }
        .fav-btn.is-on { border-color: rgba(37, 99, 235, 0.55); background: rgba(37, 99, 235, 0.08); }
        .title-row { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
        .star { font-size: 14px; line-height: 1; }
        .price-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
        .price-grid.one-fuel { grid-template-columns: 1fr; }
        .price-card { border: 1px solid var(--border); border-radius: 14px; padding: 12px; background: #fff; }
        .price-name { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; }
        .price-value { font-family: "Plus Jakarta Sans", sans-serif; margin-top: 6px; font-weight: 850; font-size: 24px; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
        .price-meta { margin-top: 6px; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 12px; }
        .delta { font-weight: 700; font-variant-numeric: tabular-nums; flex: 0 0 auto; white-space: nowrap; text-align: right; }
        .delta.up { color: var(--danger); }
        .delta.down { color: var(--success); }
.spark { width: 100%; height: 92px; display: block; margin-top: 10px; touch-action: none; }
.price-grid.one-fuel .spark { height: 220px; max-width: 560px; margin-left: auto; margin-right: auto; }
        .price-grid.charts-hidden .spark { display: none; }
        body.sparks-hidden .item-insight { display: none !important; }
        body.sparks-hidden .spark { display: none !important; }
        .spark-legend { display: none; margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.35; }
        .price-grid.one-fuel .spark-legend { display: block; }
        .history { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
        .history-head { padding: 10px 12px; border-bottom: 1px solid var(--border); background: #f8fafc; color: var(--muted); font-size: 12px; display: flex; justify-content: space-between; gap: 10px; }
        .history-head-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
        .history-toggle-btn { border: 1px solid rgba(148, 163, 184, 0.4); background: #fff; color: var(--text); border-radius: 999px; padding: 5px 10px; font-size: 11px; font-weight: 800; line-height: 1; cursor: pointer; white-space: nowrap; }
        .history-toggle-btn:hover { border-color: rgba(37, 99, 235, 0.45); background: rgba(37, 99, 235, 0.08); }
        .history-toggle-btn[aria-pressed="true"] { border-color: rgba(37, 99, 235, 0.38); background: rgba(37, 99, 235, 0.1); color: #1d4ed8; }
.history-body { max-height: 220px; overflow: auto; }
.history-body.one-fuel { max-height: none; overflow: visible; padding: 12px; display: flex; flex-direction: column; gap: 12px; }
.history-row { display: grid; grid-template-columns: 90px 1fr 1fr 1fr; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--border); font-size: 13px; }
        .history-row.is-gap { opacity: 0.65; font-style: italic; background-color: #f8fafc; font-size: 12px; }
        .history-row:last-child { border-bottom: none; }
        .history-body.one-fuel .history-row { grid-template-columns: 90px 1fr 120px; }
        .history-body.one-fuel .history-row-change { grid-template-columns: 1fr auto; align-items: center; gap: 12px; }
        .history-msg { color: var(--text); line-height: 1.35; display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px; }
        .history-time { color: var(--muted); font-weight: 700; font-variant-numeric: tabular-nums; }
        .history-change-badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 2px 8px; font-size: 11px; line-height: 1.2; font-weight: 800; border: 1px solid transparent; font-variant-numeric: tabular-nums; white-space: nowrap; }
        .history-change-badge.down { color: #166534; background: rgba(22, 163, 74, 0.12); border-color: rgba(22, 101, 52, 0.35); }
        .history-change-badge.up { color: #9a3412; background: rgba(249, 115, 22, 0.12); border-color: rgba(154, 52, 18, 0.35); }
.history-price-chip { display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid rgba(148, 163, 184, 0.4); background: rgba(248, 250, 252, 0.9); color: var(--text); padding: 5px 10px; font-size: 13px; font-weight: 850; font-variant-numeric: tabular-nums; white-space: nowrap; }
.detail-chart-empty { padding: 4px 2px; }
.detail-summary-bar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.detail-summary-stat { border: 1px solid rgba(148, 163, 184, 0.22); border-radius: 12px; background: linear-gradient(180deg, rgba(248, 250, 252, 0.92), rgba(255, 255, 255, 0.98)); padding: 10px 11px; display: flex; flex-direction: row; align-items: baseline; justify-content: space-between; gap: 6px; min-width: 0; }
.detail-summary-stat.is-min { border-color: rgba(34, 197, 94, 0.22); background: linear-gradient(180deg, rgba(240, 253, 244, 0.92), rgba(255, 255, 255, 0.98)); }
.detail-summary-stat.is-max { border-color: rgba(239, 68, 68, 0.22); background: linear-gradient(180deg, rgba(254, 242, 242, 0.92), rgba(255, 255, 255, 0.98)); }
.detail-summary-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: #64748b; font-weight: 800; }
.detail-summary-value { font-size: 13px; color: var(--text); font-weight: 850; font-variant-numeric: tabular-nums; line-height: 1.2; }
.detail-summary-value .price-unit { font-size: 0.78em; color: var(--muted); }
.detail-event-strip { display: flex; flex-wrap: wrap; gap: 8px; }
.detail-event-empty { padding: 2px 0; }
.detail-event-chip { border: 1px solid rgba(148, 163, 184, 0.28); background: #fff; border-radius: 999px; padding: 8px 12px; display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-size: 12px; font-weight: 800; font-variant-numeric: tabular-nums; cursor: pointer; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background-color .18s ease; box-shadow: 0 4px 12px rgba(2, 6, 23, 0.05); }
.detail-event-chip:hover { transform: translateY(-1px); border-color: rgba(37, 99, 235, 0.32); box-shadow: 0 8px 18px rgba(37, 99, 235, 0.12); }
.detail-event-chip.is-active { border-color: rgba(37, 99, 235, 0.45); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12), 0 10px 20px rgba(37, 99, 235, 0.16); }
.detail-event-chip.is-down { background: linear-gradient(180deg, rgba(240, 253, 244, 0.92), rgba(255, 255, 255, 0.98)); }
.detail-event-chip.is-up { background: linear-gradient(180deg, rgba(254, 242, 242, 0.92), rgba(255, 255, 255, 0.98)); }
.detail-event-time { color: #334155; }
.detail-event-delta { white-space: nowrap; }
.detail-event-chip.is-down .detail-event-delta { color: #15803d; }
.detail-event-chip.is-up .detail-event-delta { color: #dc2626; }
        .kpi { color: var(--muted); font-size: 12px; }
        .acct-brand { display: flex; align-items: center; justify-content: flex-start; gap: 12px; min-width: 0; flex: 1 1 auto; text-align: left; }
        .acct-brand-logo { width: 44px; height: 44px; border-radius: 14px; display: block; flex: 0 0 auto; background: #fff; border: 1px solid rgba(37, 99, 235, 0.22); box-shadow: 0 10px 18px rgba(2, 6, 23, 0.08); }
        .acct-brand-text { min-width: 0; text-align: left; }
        #acctBackdrop .modal {
            max-width: 480px;
            width: 100%;
            max-height: min(860px, calc(100dvh - 20px));
            border-color: rgba(148, 163, 184, 0.35);
            box-shadow: 0 24px 60px rgba(2, 6, 23, 0.26);
            overflow: hidden;
        }
        #acctBackdrop .modal-header { position: relative; padding: 16px 16px 12px 12px; background: linear-gradient(180deg, rgba(37, 99, 235, 0.08), rgba(255, 255, 255, 0.98) 72%); display: flex; align-items: flex-start; justify-content: flex-start; }
        #acctBackdrop #acctClose { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border: none !important; background: transparent !important; box-shadow: none !important; color: var(--muted); z-index: 10; display: flex; align-items: center; justify-content: center; }
        #acctBackdrop #acctClose:hover { background: transparent !important; color: var(--text); }
        #acctBackdrop #acctClose svg { width: 20px; height: 20px; }
        #acctBackdrop .hamburger-menu { position: absolute; top: 14px; left: 10px; z-index: 10; }
        #acctBackdrop .acct-brand { display: flex; flex-direction: row; align-items: center; justify-content: flex-start; text-align: left; width: 100%; padding: 0; margin: 0; gap: 12px; }
        #acctBackdrop .acct-brand-logo { width: 38px; height: 38px; border-radius: 12px; display: block; flex-shrink: 0; }
        #acctBackdrop .acct-brand-text { flex: 1; text-align: center; min-width: 0; margin-right: 50px; }
        #acctBackdrop .acct-brand-text .modal-title { font-size: 19px; font-weight: 850; letter-spacing: -0.01em; line-height: 1.05; }
        #acctBackdrop .acct-brand-text .modal-sub { margin-top: 2px; font-size: 12px; color: var(--text); opacity: 0.8; line-height: 1.2; }
        #acctBackdrop .acct-brand-text .acct-subline { display: flex; flex-wrap: wrap; justify-content: center; width: 100%; margin: 6px auto 0; gap: 6px; }
        #acctBackdrop .modal-body {
            gap: 16px;
            padding: 20px;
            min-height: 0;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
            flex: 1 1 auto;
        }
        .acct-form-row { display: flex; flex-direction: column; gap: 14px; }
        #onboardBackdrop.modal-backdrop { background: radial-gradient(900px 500px at 50% 10%, rgba(37, 99, 235, 0.22), rgba(15, 23, 42, 0.66)); }
        #onboardBackdrop .modal { max-width: 520px; border-color: rgba(37, 99, 235, 0.38); box-shadow: 0 24px 70px rgba(37, 99, 235, 0.2), 0 10px 26px rgba(2, 6, 23, 0.18); overflow: hidden; }
        #onboardBackdrop .modal-header { position: relative; padding: 18px 16px 14px; background: linear-gradient(180deg, rgba(37, 99, 235, 0.12), rgba(255, 255, 255, 0.98) 72%); display: flex; align-items: center; justify-content: flex-start; }
        #onboardBackdrop #onboardCloseBtn { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border: none !important; background: transparent !important; box-shadow: none !important; color: var(--muted); display: flex; align-items: center; justify-content: center; }
        #onboardBackdrop #onboardCloseBtn:hover { background: transparent !important; color: var(--text); }
        #onboardBackdrop #onboardCloseBtn svg { width: 20px; height: 20px; }
        #onboardBackdrop .acct-brand { align-items: center; justify-content: flex-start; text-align: left; width: 100%; padding-right: 40px; margin-right: 0; gap: 12px; display: flex; }
        #onboardBackdrop .acct-brand-logo { width: 48px; height: 48px; border-radius: 15px; }
        #onboardBackdrop .acct-brand-text { width: auto; text-align: left; }
        #onboardBackdrop .acct-brand-text .modal-title { font-size: 19px; font-weight: 850; letter-spacing: -0.01em; margin: 0; }
        #onboardBackdrop .acct-brand-text .modal-sub { margin-top: 2px; font-size: 12px; color: #475569; }
        #onboardBackdrop .onboard-body { padding-top: 14px; gap: 14px; }
        .onboard-list { display: grid; gap: 12px; }
        .onboard-item { display: flex; gap: 16px; align-items: flex-start; border: 1px solid rgba(148, 163, 184, 0.36); border-radius: 12px; padding: 12px 14px; background: linear-gradient(180deg, rgba(248, 250, 252, 0.82), rgba(255, 255, 255, 1)); }
        .onboard-icon { flex: 0 0 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: var(--tone-info-bg); border-radius: 12px; font-size: 22px; border: 1px solid var(--tone-info-border); }
        .onboard-content { flex: 1; min-width: 0; }
        .onboard-item-title { font-size: 15px; font-weight: 800; color: var(--text); margin-bottom: 3px; }
        .onboard-item-text { font-size: 13.5px; line-height: 1.45; color: var(--muted); }
        .onboard-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 4px; }

        #tankie-loader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--bg); display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 9999; transition: opacity 0.4s ease, visibility 0.4s; }
        #tankie-loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
        .loader-content { display: flex; flex-direction: column; align-items: center; gap: 24px; }
        .loader-logo { width: 84px; height: 84px; border-radius: 20px; box-shadow: 0 12px 30px rgba(0,0,0,0.12); animation: loader-pulse 2s infinite ease-in-out; }
        .loader-spinner { width: 32px; height: 32px; border: 3px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: loader-spin 0.8s infinite linear; }
        @keyframes loader-spin { to { transform: rotate(360deg); } }
        @keyframes loader-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.05); opacity: 0.9; } }
        .onboard-actions .close-btn { min-height: 36px; min-width: 96px; }
        .acct-tabs { display: flex; gap: 8px; padding: 6px; border: 1px solid var(--border); border-radius: 14px; background: rgba(248, 250, 252, 0.75); }
        .acct-tabs button { flex: 1 1 0; }
        .acct-pane { border: 1px solid var(--border); border-radius: 14px; padding: 14px; background: #fff; min-height: 200px; display: flex; flex-direction: column; }
        #acctBackdrop .acct-tabs { padding: 5px; border-radius: 12px; background: rgba(248, 250, 252, 0.9); margin-bottom: 4px; border: 1px solid var(--border); }
        #acctBackdrop .acct-tabs .close-btn { border-radius: 10px; font-weight: 750; color: var(--muted); height: 42px; transition: all 0.2s; }
        #acctBackdrop .acct-tabs .close-btn.is-active { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2); }
        #acctBackdrop .acct-pane {
            border: none;
            border-radius: 0;
            background: transparent;
            min-height: 0;
            overflow: visible;
        }
        #acctBackdrop .acct-form-input { width: 100%; padding: 14px; border-radius: 12px; border: 1px solid rgba(148, 163, 184, 0.4); background: var(--app-bg); color: var(--text); font-size: 15px; transition: all 0.2s; margin-bottom: 4px; }
        #acctBackdrop .acct-form-input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1); outline: none; background: #fff; }
        #acctBackdrop .acct-submit-btn { width: 100%; padding: 14px; border-radius: 12px; background: var(--accent); color: #fff; font-weight: 800; font-size: 16px; border: none; cursor: pointer; transition: all 0.2s; margin-top: 12px; box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3); }
        #acctBackdrop .acct-submit-btn:hover { opacity: 0.9; transform: translateY(-1px); }
        #acctBackdrop .acct-submit-btn:active { transform: translateY(0) scale(0.98); }
        #acctBackdrop .acct-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }
        #acctBackdrop .acct-pane:not(.view-hidden) { flex: 1 1 auto; }
        #acctBackdrop .acct-pane-shell { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
        #acctBackdrop .text-input { border-color: rgba(148, 163, 184, 0.5); }
        #acctBackdrop .nav-btn { min-height: 36px; font-weight: 500; }
        #acctPaneHistory { min-height: 0; }
        .acct-history-wrap { display: flex; flex-direction: column; gap: 10px; min-height: 0; flex: 1 1 auto; }
        .acct-history-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
        .acct-history-controls { display: grid; grid-template-columns: 1fr; gap: 8px; margin-bottom: 8px; }
        .acct-history-inline-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
        .acct-history-controls .control-select { min-width: 0; width: 100%; font-size: 14px; padding: 10px 14px; border-radius: 12px; background: rgba(248, 250, 252, 0.9); border: 1px solid rgba(148, 163, 184, 0.4); box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02); transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; }
        .acct-history-controls .control-select:focus-visible { background: #fff; border-color: rgba(37, 99, 235, 0.5); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1); }
        .acct-history-list { border: none; background: transparent; min-height: 140px; max-height: 440px; overflow: auto; padding: 4px 2px; display: flex; flex-direction: column; gap: 8px; box-shadow: none; }
        #acctPaneHistory { overflow: hidden; }
        #acctPaneHistory .acct-history-wrap { min-height: 0; flex: 1 1 auto; }
        #acctPaneHistory .acct-history-list { flex: 1 1 auto; min-height: 0; max-height: none; }
        #acctPaneNotifs,
        #acctPaneNotifSettings,
        #acctPaneHistory,
        #acctPaneSupport { min-height: 0; overflow: hidden; }
        #acctPaneNotifSettings > div,
        #acctPaneSupport > div { display: flex; flex-direction: column; min-height: 0; flex: 1 1 auto; }
        #acctPaneNotifs .acct-pane-shell,
        #acctPaneNotifSettings .acct-pane-shell,
        #acctPaneHistory .acct-history-wrap,
        #acctPaneSupport .acct-pane-shell { min-height: 0; flex: 1 1 auto; }
        #notifAccBody { flex: 1 1 auto; }
        #acctPaneNotifs .notif-actions,
        #acctPaneNotifs #notifEventsMsg,
        #acctPaneHistory .acct-history-top,
        #acctPaneHistory .acct-history-controls,
        #acctPaneHistory #acctHistoryHint,
        #acctPaneSupport .acct-actions,
        #acctPaneSupport #supportMsg { flex: 0 0 auto; }
        #acctPaneSupport #supportMessage { flex: 1 1 auto; min-height: 220px; max-height: none; }
        .acct-history-day-card { border: 1px solid rgba(148, 163, 184, 0.22); border-radius: 12px; background: #fff; padding: 10px 12px; display: flex; flex-direction: column; box-shadow: 0 2px 6px rgba(2, 6, 23, 0.03); transition: transform 0.2s, box-shadow 0.2s; position: relative; }
        .acct-history-day-card:hover { box-shadow: 0 4px 12px rgba(2, 6, 23, 0.05); border-color: rgba(148, 163, 184, 0.35); }
        .acct-history-day-toggle { width: 100%; border: 0; background: transparent; padding: 0; margin: 0; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; }
        .acct-history-day-head { display: flex; flex-direction: column; gap: 4px; }
        .acct-history-day-label { font-size: 13px; font-weight: 700; color: var(--text); text-transform: capitalize; letter-spacing: -0.01em; }
        .acct-history-day-meta { font-size: 11px; color: var(--muted); font-weight: 500; display: flex; align-items: center; gap: 6px; }
        .acct-history-day-right { display: flex; align-items: center; gap: 10px; }
        .acct-history-low-chip { font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; color: #166534; background: rgba(34, 197, 94, 0.1); padding: 4px 8px; border-radius: 6px; display: flex; align-items: center; gap: 6px; }
        .acct-history-day-arrow { font-size: 14px; color: var(--muted); transition: transform .2s ease; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; background: rgba(241, 245, 249, 0.8); border-radius: 50%; border: 1px solid rgba(148, 163, 184, 0.15); flex-shrink: 0; }
        .acct-history-day-toggle[aria-expanded="true"] .acct-history-day-arrow { transform: rotate(180deg); background: rgba(226, 232, 240, 0.9); color: var(--text); }
        .acct-history-day-details { display: none; flex-direction: column; gap: 10px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed rgba(148, 163, 184, 0.2); }
        .acct-history-day-toggle[aria-expanded="true"] + .acct-history-day-details { display: flex; }
        .acct-history-day-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
        .acct-history-stat { border: 1px solid rgba(148, 163, 184, 0.15); border-radius: 8px; background: rgba(248, 250, 252, 0.5); padding: 8px; display: flex; align-items: center; justify-content: space-between; gap: 6px; }
        .acct-history-stat.high { border-color: rgba(239, 68, 68, 0.2); background: rgba(254, 226, 226, 0.3); }
        .acct-history-stat.high .acct-history-stat-k { color: #b91c1c; }
        .acct-history-stat.high .acct-history-stat-v { color: #991b1b; }
        .acct-history-stat-k { font-size: 11px; color: #64748b; font-weight: 600; display: flex; flex-direction: column; gap: 2px; }
        .acct-history-stat-v { font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--text); }
        .acct-history-stat-sub { font-size: 10px; color: var(--muted); font-weight: 500; }
        .acct-history-empty { padding: 24px 16px; text-align: center; background: #fff; border-radius: 12px; border: 1px dashed rgba(148, 163, 184, 0.4); }
        .acct-history-region-card { border: 1px solid rgba(148, 163, 184, 0.22); border-radius: 12px; background: linear-gradient(180deg, rgba(248, 250, 252, 0.92), rgba(255, 255, 255, 0.98)); padding: 10px 12px; margin-bottom: 4px; display: flex; flex-direction: column; gap: 7px; box-shadow: 0 2px 8px rgba(2, 6, 23, 0.04); }
        .acct-history-region-title { font-size: 10px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #64748b; }
        .acct-history-region-station { font-size: 13px; font-weight: 700; letter-spacing: -0.01em; color: var(--text); }
        .acct-history-region-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
        .acct-history-region-stat { border: 1px solid rgba(148, 163, 184, 0.18); border-radius: 10px; background: rgba(255, 255, 255, 0.86); padding: 7px 8px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
        .acct-history-region-stat.is-primary { border-color: rgba(34, 197, 94, 0.24); background: rgba(240, 253, 244, 0.92); }
        .acct-history-region-stat-label { font-size: 10px; font-weight: 700; color: #64748b; line-height: 1.15; }
        .acct-history-region-stat-value { font-size: 13px; font-weight: 800; color: var(--text); line-height: 1.15; font-variant-numeric: tabular-nums; white-space: nowrap; }
        .acct-history-region-stat-value .price-int { font-size: 1em; }
        .acct-history-region-stat-value .price-sep,
        .acct-history-region-stat-value .price-dec { font-size: 0.92em; }
        .acct-history-region-stat-value .price-unit { font-size: 0.78em; color: var(--muted); font-weight: 700; margin-left: 3px; }
        .acct-history-global-card { background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(37, 99, 235, 0.12)); border: 1px solid rgba(37, 99, 235, 0.2); }
        .acct-history-global-title { color: #1d4ed8; }
        .acct-history-global-stat { background: #fff; border: 1px solid rgba(148, 163, 184, 0.2); }
        .acct-history-global-stat.stat-min { border-color: rgba(34, 197, 94, 0.3); }
        .acct-history-global-stat.stat-max { border-color: rgba(239, 68, 68, 0.3); }
        .global-stat-min { color: #15803d; }
        .global-stat-max { color: #b91c1c; }
        .acct-actions { display: flex; gap: 10px; align-items: center; justify-content: flex-end; margin-top: 10px; }
        .acct-msg { margin-top: 10px; color: var(--muted); font-size: 12px; }
        .acct-msg.error { color: var(--danger); }
        .acct-msg.loading { color: #1d4ed8; }
        .is-loading { opacity: 0.75; pointer-events: none; }
        .spin { display: inline-block; width: 12px; height: 12px; border-radius: 999px; border: 2px solid rgba(37, 99, 235, 0.28); border-top-color: #2563eb; margin-right: 6px; vertical-align: -2px; animation: spin 0.9s linear infinite; }
        @keyframes spin { to { transform: rotate(360deg); } }

        .page-loader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--bg); z-index: 99999; display: flex; align-items: center; justify-content: center; transition: opacity 0.3s ease, visibility 0.3s ease; }
        .page-loader.hidden { opacity: 0; visibility: hidden; }

        .acct-hint { margin-top: 10px; color: var(--muted); font-size: 12px; line-height: 1.35; text-align: center; }
        .remember { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
        .remember input { width: 16px; height: 16px; }
        .acct-subline { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
        .acct-brand-text .acct-subline { justify-content: center; width: max-content; max-width: 100%; margin: 6px auto 0; }
        .acct-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; border: 1px solid var(--border); background: #fff; color: var(--muted); text-decoration: none; white-space: nowrap; flex-shrink: 0; }
        .acct-badge:hover, .acct-badge:active, .acct-badge:focus, .acct-badge:focus-visible { text-decoration: none; }
        .acct-badge.ok { border-color: rgba(22,101,52,.42); background: rgba(22,101,52,.08); color: var(--success); box-shadow: 0 0 0 3px rgba(22,101,52,.08); font-weight: 600; }
        .acct-badge.bad { border-color: rgba(176,0,32,.25); background: rgba(176,0,32,.06); color: var(--danger); }
        .acct-badge.admin { border-color: rgba(30,64,175,.35); background: rgba(37,99,235,.10); color: #1d4ed8; box-shadow: 0 0 0 3px rgba(37,99,235,.08); font-weight: 700; }
        @media (max-width: 980px) {
            .container {
                padding-top: max(12px, env(safe-area-inset-top));
                padding-right: max(14px, env(safe-area-inset-right));
                padding-bottom: calc(34px + env(safe-area-inset-bottom));
                padding-left: max(14px, env(safe-area-inset-left));
            }
            .topbar { grid-template-columns: 1fr auto; grid-template-areas: "title acct" "search search"; align-items: stretch; gap: 10px; }
            .topbar-title { grid-area: title; }
            .topbar-right { grid-area: search; }
            .hamburger-menu { grid-area: acct; justify-self: end; align-self: start; }
            .topbar-right { justify-content: stretch; }
            .controls { justify-content: stretch; }
            .topbar {
                position: relative;
                top: 0;
                z-index: 10;
                margin-bottom: 14px;
                padding: 0;
                background: transparent;
                border: none;
                box-shadow: none;
                -webkit-backdrop-filter: none;
                backdrop-filter: none;
            }
            .brand-logo--inline { width: 46px; height: 46px; border-radius: 14px; }
            .place-row { flex: 1; }
            .place-row input { flex: 1; width: 100%; font-size: 16px; }
            .control-select { flex: 1; min-width: 0; }
            .control-select.km { flex: 0 0 auto; width: 86px; }
            .control-select.view { min-width: 120px; }
            .control-select.fuel { min-width: 170px; }
            #summary { display: none; }
            .header-right { gap: 8px; justify-content: space-between; }
            .item-prices { font-size: 16px; padding: 9px 10px; }
            .price-val { font-size: 22px; }

            #map { height: 440px; }
            .price-grid { grid-template-columns: 1fr; }
            .modal-backdrop { padding: 0; align-items: flex-end; }
            .modal { width: 100%; border-radius: 18px 18px 0 0; border-left: none; border-right: none; border-bottom: none; display: flex; flex-direction: column; overflow: visible; margin-top: auto; margin-bottom: 0; padding-bottom: 30px; }
            .modal-body { padding: 12px; padding-bottom: calc(12px + env(safe-area-inset-bottom)); min-height: 0; overflow: visible; }
            #acctBackdrop.modal-backdrop {
                padding:
                    max(14px, env(safe-area-inset-top))
                    max(10px, env(safe-area-inset-right))
                    calc(14px + env(safe-area-inset-bottom))
                    max(10px, env(safe-area-inset-left));
                align-items: center;
            }
            #acctBackdrop .modal {
                width: 100%;
                height: calc(100dvh - max(28px, calc(env(safe-area-inset-top) + env(safe-area-inset-bottom) + 28px)));
                min-height: calc(100dvh - max(28px, calc(env(safe-area-inset-top) + env(safe-area-inset-bottom) + 28px)));
                max-height: calc(100dvh - max(28px, calc(env(safe-area-inset-top) + env(safe-area-inset-bottom) + 28px)));
                border-radius: 24px;
                border-left: 1px solid rgba(148, 163, 184, 0.35);
                border-right: 1px solid rgba(148, 163, 184, 0.35);
                border-bottom: 1px solid rgba(148, 163, 184, 0.35);
                margin: auto;
                padding-bottom: 0;
            }
            #acctBackdrop .modal-body { overflow: hidden; }
            #acctBackdrop .acct-pane { padding: 12px; }
            .hours-row { flex-wrap: wrap; }
            .hours-time { width: 100%; }
.history-body { max-height: 160px; }
.history-body.one-fuel { padding: 10px; gap: 10px; }
.history-row { padding: 9px 10px; gap: 8px; font-size: 12px; }
            .history-body.one-fuel .history-row { grid-template-columns: 74px 1fr 92px; }
            .history-body.one-fuel .history-row-change { grid-template-columns: 1fr auto; gap: 8px; }
.history-price-chip { padding: 4px 8px; font-size: 12px; }
.detail-summary-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.detail-event-chip { width: 100%; justify-content: space-between; }
            .price-value { font-size: 22px; }
            .acct-history-controls { grid-template-columns: 1fr; gap: 7px; }
            .acct-history-inline-controls { gap: 7px; }
            #acctPaneNotifs .acct-pane-shell,
            #acctPaneNotifSettings .acct-pane-shell,
            #acctPaneHistory .acct-history-wrap,
            #acctPaneSupport .acct-pane-shell { min-height: clamp(360px, calc(100dvh - 240px), 520px); }
            #acctPaneNotifs .notif-events,
            #acctPaneHistory .acct-history-list,
            #acctPaneSupport #supportMessage { min-height: 0; }
            .acct-history-list { max-height: none; min-height: 0; }
            .acct-history-region-meta { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
            .acct-history-day-summary { grid-template-columns: 1fr; gap: 6px; }
            .acct-history-low-chip { grid-column: 1 / -1; }
            .acct-history-day-stats { grid-template-columns: 1fr; gap: 5px; }
        }

        @media (max-width: 520px) {
            #acctBackdrop.modal-backdrop {
                padding:
                    max(18px, env(safe-area-inset-top))
                    max(8px, env(safe-area-inset-right))
                    calc(18px + env(safe-area-inset-bottom))
                    max(8px, env(safe-area-inset-left));
            }
            #acctBackdrop .modal {
                height: auto;
                min-height: 0;
                max-height: calc(100dvh - max(24px, calc(env(safe-area-inset-top) + env(safe-area-inset-bottom) + 24px)));
                border-radius: 20px;
            }
            #acctBackdrop .modal-header { padding: 12px 14px 8px; }
            #acctBackdrop #acctClose { top: 8px; right: 8px; width: 30px; height: 30px; }
            #acctBackdrop .acct-brand { display: flex; flex-direction: row; align-items: center; justify-content: flex-start; text-align: left; width: 100%; padding: 0; margin: 0; gap: 10px; }
            #acctBackdrop .acct-brand-logo { width: 32px; height: 32px; border-radius: 9px; display: block; flex-shrink: 0; }
            #acctBackdrop .acct-brand-text { flex: 1; text-align: center; min-width: 0; margin-right: 42px; }
            #acctBackdrop .acct-brand-text .modal-title { font-size: 16px; }
            #acctBackdrop .acct-brand-text .modal-sub { margin-top: 1px; font-size: 11px; }
            #acctBackdrop .acct-brand-text .acct-subline { margin-top: 5px; gap: 5px; }
            #acctBackdrop .modal-body { gap: 8px; padding: 12px; padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
            #acctBackdrop .acct-pane { padding: 0; border-radius: 0; }
            .acct-form-row { gap: 10px; }
            #acctBackdrop .acct-tabs { margin-bottom: 8px; padding: 4px; }
            #acctBackdrop .acct-tabs .close-btn { height: 36px; font-size: 13px; }
            #acctBackdrop .acct-form-input { padding: 10px 12px; font-size: 14px; margin-bottom: 8px; }
            #acctBackdrop .acct-submit-btn { padding: 12px; font-size: 15px; margin-top: 4px; }
            .container {
                padding-top: max(10px, env(safe-area-inset-top));
                padding-right: max(12px, env(safe-area-inset-right));
                padding-bottom: calc(28px + env(safe-area-inset-bottom));
                padding-left: max(12px, env(safe-area-inset-left));
            }
            .brand { font-size: 22px; }
            .brand-logo--inline { width: 42px; height: 42px; border-radius: 14px; }
            .topbar {
                top: 0;
                gap: 8px;
                padding: 0;
                border-radius: 0;
            }
            .place-row { flex-wrap: wrap; }
            .place-row input { flex: 1 1 100%; }
            .loc-btn { flex: 0 0 auto; }
            .toolbar-btn { width: 38px; height: 38px; border-radius: 11px; }
            .toolbar-btn-zoom { min-width: 66px; padding: 0 8px; }
            .zoom-badge { font-size: 10px; }
            .view-tools-menu { gap: 6px; }
            .menu-view-row { gap: 8px; }
            .control-select.km { width: 96px; }
            #placeBtn { flex: 1 1 auto; }
            #acctBackdrop .hamburger-menu { top: 12px; left: 6px; }
            #onboardBackdrop .acct-brand-logo { width: 56px; height: 56px; border-radius: 16px; }
            #acctBackdrop .acct-brand-text .modal-title, #onboardBackdrop .acct-brand-text .modal-title { font-size: 17px; }
            #acctBackdrop .acct-badge { padding: 3px 8px; font-size: 11px; gap: 5px; }
            #onboardBackdrop .onboard-actions { flex-direction: column; }
            #onboardBackdrop .onboard-actions .close-btn { width: 100%; justify-content: center; }
            #map { height: 380px; }
            #map { height: 380px; }
            #acctPaneHistory .acct-history-top .muted { font-size: 11px; }
            #acctPaneHistory .acct-history-controls { gap: 6px; margin-bottom: 6px; }
            #acctPaneHistory .acct-history-inline-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
            #acctPaneHistory .acct-history-controls .control-select { min-width: 0; width: 100%; max-width: 100%; height: 36px; min-height: 36px; padding: 7px 10px !important; padding-right: 26px !important; font-size: 12px; border-radius: 10px; }
            #acctPaneHistory #acctHistoryStation { font-size: 12px; }
            #acctPaneHistory #acctHistoryHint { font-size: 11px; line-height: 1.3; }
            #acctPaneHistory .acct-history-region-card { padding: 9px 10px; gap: 6px; }
            #acctPaneHistory .acct-history-region-title { font-size: 9px; letter-spacing: 0.05em; }
            #acctPaneHistory .acct-history-region-station { font-size: 12px; }
            #acctPaneHistory .acct-history-region-meta { gap: 5px; }
            #acctPaneHistory .acct-history-region-stat { padding: 6px 7px; border-radius: 9px; }
            #acctPaneHistory .acct-history-region-stat-label { font-size: 9px; }
            #acctPaneHistory .acct-history-region-stat-value { font-size: 12px; }
            #acctPaneHistory .acct-history-region-stat-value .price-unit { font-size: 0.74em; }
            #acctPaneNotifSettings #notifSelectedChips { max-height: 132px; }
            #acctPaneNotifs .acct-pane-shell,
            #acctPaneNotifSettings .acct-pane-shell,
            #acctPaneHistory .acct-history-wrap,
            #acctPaneSupport .acct-pane-shell { min-height: clamp(390px, calc(100dvh - 250px), 540px); }
            #acctPaneNotifs .notif-events,
            #acctPaneHistory .acct-history-list,
            #acctPaneSupport #supportMessage { min-height: 0; }
            .acct-history-day-card { padding: 8px 9px; }
            .acct-history-day-label { font-size: 12px; }
            .acct-history-day-delta { font-size: 10px; }
            .acct-history-day-meta { font-size: 10px; }
            .top3-card { min-width: 0; flex: 1 1 100%; }
            .item-header { align-items: flex-start; padding-right: 44px; }
            .item-meta { position: absolute; top: 10px; right: 12px; align-items: flex-end; gap: 2px; }
            .item-dist { font-size: 10px; font-weight: 700; opacity: 0.8; }
            .item-actions { display: flex; align-items: center; gap: 4px; }
            .item-actions .pill { display: none; }
            .item-address { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; margin-top: 2px; }
            .item-prices { margin-top: 4px; }
            .list-item.is-closed { opacity: 0.85; }
            .price-val { font-size: 20px; }
            .price-meta { flex-wrap: wrap; align-items: flex-start; row-gap: 4px; }
            .price-meta .kpi { flex: 1 1 auto; min-width: 0; }
            .price-meta .delta { margin-left: auto; font-size: 12px; }
            .top3-toggle { padding: 9px 10px; }
            .top3-toggle-title { font-size: 12px; }
            .top3-toggle-sub { font-size: 11px; }
            .status-sub { display: block; margin-left: 0; margin-top: 2px; }
            .footer { font-size: 11px; opacity: 0.72; white-space: nowrap; }
            .footer-full { display: none; }
            .footer-short { display: inline; }
            #hamburgerDropdown {
                width: min(260px, calc(100vw - 24px));
                min-width: 0 !important;
                max-height: calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 92px);
                overflow: auto;
                -webkit-overflow-scrolling: touch;
                right: -4px !important;
                left: auto !important;
            }
            #tankie-toast { top: 10px; max-width: calc(100vw - 14px); padding: 8px 11px; font-size: 12px; }
        }

        @media (display-mode: standalone) {
            .container {
                padding-top: max(10px, env(safe-area-inset-top));
                padding-bottom: calc(24px + env(safe-area-inset-bottom));
            }
        }

        body.is-dark .topbar {
            background: rgba(11, 18, 32, 0.86);
            border-color: rgba(148, 163, 184, 0.18);
            box-shadow: 0 18px 38px rgba(0, 0, 0, 0.32);
        }

        body.is-dark .place-row input, body.is-dark .text-input, body.is-dark .control-select { background: rgba(15, 23, 42, 0.92); border-color: rgba(148, 163, 184, 0.22); color: var(--text); }
        body.is-dark .place-row input::placeholder, body.is-dark .text-input::placeholder { color: rgba(148, 163, 184, 0.82); }
        body.is-dark button { background: rgba(15, 23, 42, 0.92); border-color: rgba(148, 163, 184, 0.22); color: var(--text); }
        body.is-dark button:hover { background: rgba(15, 23, 42, 1); border-color: rgba(148, 163, 184, 0.32); }
        body.is-dark .icon-btn, body.is-dark .loc-btn { background: rgba(15, 23, 42, 0.92); border-color: rgba(148, 163, 184, 0.20); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25); }
        body.is-dark .icon-btn:hover, body.is-dark .loc-btn:hover { background: rgba(15, 23, 42, 1); border-color: rgba(148, 163, 184, 0.30); }
        body.is-dark .pill { background: rgba(15, 23, 42, 0.92); border-color: rgba(148, 163, 184, 0.18); }
        body.is-dark .search-guide { border-color: rgba(96, 165, 250, 0.30); background: linear-gradient(180deg, rgba(30, 58, 138, 0.32), rgba(15, 23, 42, 0.92)); color: rgba(191, 219, 254, 0.95); box-shadow: 0 10px 24px rgba(96, 165, 250, 0.12); }
        body.is-dark .search-guide-arrow { color: rgba(191, 219, 254, 0.95); }
        body.is-dark .search-guide-line { color: rgba(191, 219, 254, 0.95); }
        body.is-dark .notice { border-color: rgba(148, 163, 184, 0.22); background: rgba(15, 23, 42, 0.72); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25); }
        body.is-dark .notice.error { background: rgba(251, 113, 133, 0.08); border-color: rgba(251, 113, 133, 0.22); }
        body.is-dark .status-badge { border-color: rgba(148, 163, 184, 0.28); color: rgba(148, 163, 184, 0.92); }
        body.is-dark .status-badge.live { border-color: rgba(74, 222, 128, 0.38); color: rgba(74, 222, 128, 0.95); }
        body.is-dark .status-sub { opacity: 0.9; }

        body.is-dark .list-wrap { background: rgba(15, 23, 42, 0.92); border-color: rgba(148, 163, 184, 0.18); }
        body.is-dark .list-item { border-bottom-color: rgba(148, 163, 184, 0.14); }
        body.is-dark .list-item:hover { background: rgba(148, 163, 184, 0.06); }
        body.is-dark .list-item.is-closed { background: linear-gradient(180deg, rgba(251, 113, 133, 0.10), rgba(15, 23, 42, 0.92)); border-bottom-color: rgba(251, 113, 133, 0.12); filter: blur(0.5px) grayscale(0.5); }
        body.is-dark .list-item.is-closed:hover { background: linear-gradient(180deg, rgba(251, 113, 133, 0.13), rgba(15, 23, 42, 0.92)); filter: blur(0px) grayscale(0); }
        body.is-dark .list-item.is-closed::after { background: rgba(2, 6, 23, 0.45); }
        body.is-dark .acct-history-list { background: rgba(15, 23, 42, 0.86); border-color: rgba(148, 163, 184, 0.2); }
        body.is-dark .acct-history-day-card { background: rgba(15, 23, 42, 0.94); border-color: rgba(148, 163, 184, 0.24); }
        body.is-dark .acct-history-day-toggle { background: transparent; border-color: transparent; }
        body.is-dark .acct-history-stat { background: rgba(15, 23, 42, 0.92); border-color: rgba(148, 163, 184, 0.2); }
        body.is-dark .acct-history-day-meta { color: rgba(148, 163, 184, 0.9); }
        body.is-dark .acct-history-empty { background: rgba(15, 23, 42, 0.92); border-color: rgba(148, 163, 184, 0.2); }
        body.is-dark .acct-history-region-card { background: linear-gradient(180deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.88)); border-color: rgba(148, 163, 184, 0.24); box-shadow: none; }
        body.is-dark .acct-history-region-title { color: rgba(148, 163, 184, 0.86); }
        body.is-dark .acct-history-region-stat { background: rgba(15, 23, 42, 0.88); border-color: rgba(148, 163, 184, 0.2); }
        body.is-dark .acct-history-region-stat.is-primary { background: rgba(20, 83, 45, 0.18); border-color: rgba(74, 222, 128, 0.22); }
        body.is-dark .acct-history-region-stat-label { color: rgba(148, 163, 184, 0.9); }
        body.is-dark .acct-history-region-stat-value .price-unit { color: rgba(148, 163, 184, 0.9); }
        body.is-dark .acct-history-global-card { background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(15, 23, 42, 0.6)); border-color: rgba(96, 165, 250, 0.3); }
        body.is-dark .acct-history-global-title { color: #60a5fa; }
        body.is-dark .acct-history-global-stat { background: rgba(15, 23, 42, 0.92); border-color: rgba(148, 163, 184, 0.22); }
        body.is-dark .acct-history-global-stat.stat-min { border-color: rgba(34, 197, 94, 0.25); background: rgba(34, 197, 94, 0.05); }
        body.is-dark .acct-history-global-stat.stat-max { border-color: rgba(239, 68, 68, 0.25); background: rgba(239, 68, 68, 0.05); }
        body.is-dark .global-stat-min { color: #4ade80; }
        body.is-dark .global-stat-max { color: #f87171; }
        body.is-dark .acct-history-day-label { background: rgba(30, 41, 59, 0.8); color: rgba(226, 232, 240, 0.9); }
        body.is-dark .acct-history-low-chip { background: rgba(34, 197, 94, 0.15); border-color: rgba(34, 197, 94, 0.25); color: #4ade80; }
body.is-dark .history-price-chip { background: rgba(30, 41, 59, 0.8); border-color: rgba(148, 163, 184, 0.25); color: var(--text); }
body.is-dark .detail-summary-stat { background: linear-gradient(180deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.88)); border-color: rgba(148, 163, 184, 0.22); }
body.is-dark .detail-summary-stat.is-min { background: linear-gradient(180deg, rgba(20, 83, 45, 0.16), rgba(15, 23, 42, 0.9)); border-color: rgba(74, 222, 128, 0.2); }
body.is-dark .detail-summary-stat.is-max { background: linear-gradient(180deg, rgba(127, 29, 29, 0.16), rgba(15, 23, 42, 0.9)); border-color: rgba(248, 113, 113, 0.2); }
body.is-dark .detail-summary-label { color: rgba(148, 163, 184, 0.88); }
body.is-dark .detail-summary-value .price-unit { color: rgba(148, 163, 184, 0.88); }
body.is-dark .detail-event-chip { background: rgba(15, 23, 42, 0.92); border-color: rgba(148, 163, 184, 0.22); color: var(--text); box-shadow: none; }
body.is-dark .detail-event-chip.is-down { background: linear-gradient(180deg, rgba(20, 83, 45, 0.16), rgba(15, 23, 42, 0.94)); }
body.is-dark .detail-event-chip.is-up { background: linear-gradient(180deg, rgba(127, 29, 29, 0.16), rgba(15, 23, 42, 0.94)); }
body.is-dark .detail-event-chip.is-active { box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.14); border-color: rgba(96, 165, 250, 0.42); }
body.is-dark .detail-event-time { color: rgba(226, 232, 240, 0.9); }
        body.is-dark .acct-history-day-arrow { background: rgba(30, 41, 59, 0.8); }
        body.is-dark .acct-history-day-toggle[aria-expanded="true"] .acct-history-day-arrow { background: rgba(51, 65, 85, 0.9); color: var(--text); }
        body.is-dark .notif-events { background: rgba(15, 23, 42, 0.86); border-color: rgba(148, 163, 184, 0.22); }
        body.is-dark .notif-settings-body { background: var(--card); }
        body.is-dark .notif-days { background: rgba(15, 23, 42, 0.92); border-color: rgba(148, 163, 184, 0.22); }
        body.is-dark .notif-day::before { color: rgba(148, 163, 184, 0.8); }
        body.is-dark .notif-day:checked::before { color: var(--text); background: rgba(96, 165, 250, 0.3); border-color: rgba(96, 165, 250, 0.5); }
        body.is-dark .notif-row-time { border-top-color: rgba(148, 163, 184, 0.22); }
        body.is-dark .notif-field { border-color: rgba(148, 163, 184, 0.22); }
        body.is-dark .acct-history-controls .control-select { background: rgba(15, 23, 42, 0.92); border-color: rgba(148, 163, 184, 0.22); color: var(--text); }
        body.is-dark .acct-history-controls .control-select:focus-visible { background: rgba(15, 23, 42, 1); border-color: rgba(96, 165, 250, 0.5); }
        body.is-dark #acctBackdrop .modal-header { background: linear-gradient(180deg, rgba(37, 99, 235, 0.08), rgba(15, 23, 42, 0.98) 72%); border-bottom-color: rgba(148, 163, 184, 0.22); }
        body.is-dark #acctBackdrop .acct-pane { background: var(--card); border-color: var(--border); }
        body.is-dark #acctBackdrop .acct-tabs { background: rgba(148, 163, 184, 0.06); }
        body.is-dark #acctBackdrop .text-input { border-color: rgba(148, 163, 184, 0.22); }
        body.is-dark #acctBackdrop #acctClose { background: transparent !important; color: rgba(148, 163, 184, 0.9); }
        body.is-dark #acctBackdrop #acctClose:hover { background: transparent !important; color: var(--text); }
        
        body.is-dark #onboardBackdrop .modal-header { background: linear-gradient(180deg, rgba(37, 99, 235, 0.08), rgba(15, 23, 42, 0.98) 72%); }
        body.is-dark #onboardBackdrop #onboardCloseBtn { background: transparent !important; color: rgba(148, 163, 184, 0.9); }
        body.is-dark #onboardBackdrop #onboardCloseBtn:hover { background: transparent !important; color: var(--text); }
        body.is-dark .onboard-item { background: rgba(15, 23, 42, 0.86); border-color: rgba(148, 163, 184, 0.22); }
        body.is-dark .onboard-item-text { color: rgba(148, 163, 184, 0.9); }
        body.is-dark #onboardBackdrop .acct-brand-text .modal-sub { color: rgba(148, 163, 184, 0.9); }
        body.is-dark #acctBackdrop .acct-brand-logo { background: transparent; border-color: rgba(148, 163, 184, 0.3); }
        body.is-dark .hamburger-dropdown { background: rgba(15, 23, 42, 0.98); border-color: rgba(148, 163, 184, 0.22); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); }
        body.is-dark .hamburger-dropdown .dropdown-item { color: var(--text); }
        body.is-dark .hamburger-dropdown .dropdown-item:hover { background: rgba(148, 163, 184, 0.1); }
        body.is-dark .hamburger-dropdown .dropdown-item#logoutBtn { color: #f87171; }
        body.is-dark #detailBackdrop.is-station-closed .hours-box { border-color: rgba(251, 113, 133, 0.28); background: rgba(159, 18, 57, 0.16); }
        body.is-dark #detailBackdrop.is-station-closed .price-card { opacity: 0.84; }
        body.is-dark .list-item.is-closed .item-title { color: rgba(253, 186, 116, 0.95); }
        body.is-dark .item-prices { border-color: rgba(96, 165, 250, 0.22); background: linear-gradient(180deg, rgba(30, 58, 138, 0.18), rgba(2, 6, 23, 0.32)); }
        body.is-dark .list-item.is-closed .item-prices { border-color: rgba(251, 113, 133, 0.18); background: linear-gradient(180deg, rgba(159, 18, 57, 0.18), rgba(2, 6, 23, 0.32)); }
        body.is-dark .price-sep { color: rgba(148, 163, 184, 0.25); }
        body.is-dark .item-insight-chart-wrap { background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.92)); border-color: rgba(148, 163, 184, 0.22); box-shadow: inset 0 1px 0 rgba(148, 163, 184, 0.08); }
        body.is-dark .item-insight-chart { background: transparent; color: rgba(226, 232, 240, 0.92); }
        body.is-dark .item-insight-hour { color: rgba(148, 163, 184, 0.76); }
        body.is-dark .item-insight-legend { color: rgba(148, 163, 184, 0.84); }

        body.is-dark .top3-row { background: rgba(148, 163, 184, 0.06); border-color: rgba(148, 163, 184, 0.18); }
        body.is-dark .top3-toggle { background: rgba(15, 23, 42, 0.92); border-color: rgba(148, 163, 184, 0.22); }
        body.is-dark .top3-toggle:hover { background: rgba(15, 23, 42, 1); border-color: rgba(148, 163, 184, 0.32); }
        body.is-dark .top3-card { background: rgba(15, 23, 42, 0.92); border-color: rgba(148, 163, 184, 0.18); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.22); }
        body.is-dark .top3-card:hover { border-color: rgba(148, 163, 184, 0.28); background: rgba(15, 23, 42, 1); }
        body.is-dark .top3-rank { color: var(--text); border-color: rgba(148, 163, 184, 0.18); background: linear-gradient(135deg, rgba(148, 163, 184, 0.06), rgba(148, 163, 184, 0.10)); }

        #themeToggleBtn.theme-btn { width: 36px; height: 36px; padding: 0; border: 1px solid var(--border); background: #fff; box-shadow: none; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; color: var(--text); margin: 0; }
        #themeToggleBtn.theme-btn:hover { background: #f8fafc; border-color: #cbd5e1; }
        body.is-dark #themeToggleBtn.theme-btn { background: rgba(15, 23, 42, 0.92); border-color: rgba(148, 163, 184, 0.22); }
        body.is-dark #themeToggleBtn.theme-btn:hover { background: rgba(15, 23, 42, 1); border-color: rgba(148, 163, 184, 0.32); }
        #themeToggleBtn.theme-btn:active { transform: translateY(1px); }
        #themeToggleBtn.theme-btn svg { width: 16px; height: 16px; }
        #themeToggleBtn.is-on { color: var(--accent); }

        body.is-dark input:-webkit-autofill,
        body.is-dark input:-webkit-autofill:hover,
        body.is-dark input:-webkit-autofill:focus,
        body.is-dark textarea:-webkit-autofill,
        body.is-dark textarea:-webkit-autofill:hover,
        body.is-dark textarea:-webkit-autofill:focus,
        body.is-dark select:-webkit-autofill,
        body.is-dark select:-webkit-autofill:hover,
        body.is-dark select:-webkit-autofill:focus {
            -webkit-text-fill-color: var(--text);
            box-shadow: 0 0 0px 1000px rgba(15, 23, 42, 0.92) inset;
            caret-color: var(--text);
        }

html.page-admin { --bg:#f6f7fb; --card:#fff; --text:#0f172a; --muted:#475569; --border:#e2e8f0; --shadow:0 10px 30px rgba(2,6,23,.08); --danger:#b00020; --success:#166534; --accent:#2563eb; }
html.page-admin * { box-sizing: border-box; }
html.page-admin body { margin: 0; background: var(--bg); color: var(--text); font-family: 'Plus Jakarta Sans', sans-serif; }
html.page-admin .wrap { max-width: 1120px; margin: 0 auto; padding: 18px 18px 44px; }
html.page-admin .card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
html.page-admin .topbar { display:flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--border); }
html.page-admin .brand { display:flex; align-items: center; gap: 12px; min-width: 0; }
html.page-admin .brand-logo { width: 44px; height: 44px; border-radius: 14px; display:block; }
html.page-admin .brand-title { font-weight: 850; letter-spacing: -0.01em; margin: 0; font-size: 16px; }
html.page-admin .brand-sub { color: var(--muted); font-size: 12px; margin-top: 2px; }
html.page-admin .right { display:flex; align-items: center; gap: 10px; }
html.page-admin .muted { color: var(--muted); font-size: 12px; }
html.page-admin .content { padding: 12px 14px; display: grid; gap: 10px; }
html.page-admin .grid { display: grid; gap: 10px; }
html.page-admin .stats { display:grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 6px; }
html.page-admin .stat { border: 1px solid var(--border); border-radius: 12px; background: rgba(248, 250, 252, 0.75); padding: 7px 9px; display: flex; flex-direction: column; justify-content: center; }
html.page-admin .stat-k { color: var(--muted); font-size: 10px; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.page-admin .stat-v { font-weight: 900; font-size: 16px; margin-top: 1px; }
html.page-admin .filters { display:flex; gap: 6px; flex-wrap: wrap; align-items: center; border: 1px solid var(--border); border-radius: 12px; padding: 6px; background: #fff; }
html.page-admin .field { flex: 1 1 170px; min-width: 130px; }
        html.page-admin .input { width: 100%; padding: 6px 10px; font-size: 13px; border-radius: 10px; border: 1px solid var(--border); background: #fff; color: var(--text); height: 34px; }
        html.page-admin .input:focus-visible { border-color: rgba(37, 99, 235, 0.55); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12); }
        html.page-admin .select { width: 100%; padding: 6px 10px; font-size: 13px; border-radius: 10px; border: 1px solid var(--border); background: #fff; color: var(--text); height: 34px; }
        html.page-admin .btn { padding: 5px 9px; font-size: 12px; border-radius: 10px; border: 1px solid var(--border); background: #fff; color: var(--text); text-decoration: none; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; height: 34px; white-space: nowrap; font-weight: 600; transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease; }
        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }
        .list-item[role="button"]:focus-visible,
        .notif-event[role="button"]:focus-visible {
            outline: 2px solid rgba(37, 99, 235, 0.65);
            outline-offset: 2px;
        }
html.page-admin .btn[disabled] { opacity: .45; cursor: not-allowed; background: #e5e7eb; border-color: #cbd5e1; color: #64748b; }
html.page-admin .btn[disabled]:hover { background: #e5e7eb; border-color: #cbd5e1; }
html.page-admin .btn:hover { background: #f8fafc; border-color: #cbd5e1; box-shadow: 0 2px 4px rgba(2,6,23,.03); }
html.page-admin .btn:active { transform: translateY(1px); }
html.page-admin .btn.primary { border-color: rgba(37,99,235,.35); background: rgba(37,99,235,.08); color: #1d4ed8; }
html.page-admin .btn.primary:hover { border-color: rgba(37,99,235,.55); background: rgba(37,99,235,.12); box-shadow: 0 2px 6px rgba(37,99,235,.1); }
html.page-admin .btn.danger { border-color: rgba(176,0,32,.25); background: rgba(176,0,32,.06); color: var(--danger); }
html.page-admin .btn.danger:hover { border-color: rgba(176,0,32,.35); background: rgba(176,0,32,.09); }
html.page-admin .btn.ok { border-color: rgba(22,101,52,.25); background: rgba(22,101,52,.06); color: var(--success); }
html.page-admin .btn.ok:hover { border-color: rgba(22,101,52,.35); background: rgba(22,101,52,.09); }
html.page-admin .users { display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
html.page-admin .user { border: 1px solid var(--border); border-radius: 14px; background: #fff; padding: 12px; display:flex; flex-direction: column; gap: 10px; }
html.page-admin .user-head { display:flex; gap: 10px; align-items: baseline; justify-content: space-between; }
html.page-admin .user-email { font-weight: 800; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.page-admin .user-id { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
html.page-admin .pills { display:flex; gap: 8px; flex-wrap: wrap; }
html.page-admin .pill { display:inline-flex; align-items:center; gap: 6px; padding: 2px 10px; border-radius: 999px; font-size: 12px; border: 1px solid var(--border); background: #fff; color: var(--muted); }
html.page-admin .pill-dot { width: 8px; height: 8px; border-radius: 999px; background: #94a3b8; }
html.page-admin .pill.ok { border-color: rgba(22,101,52,.25); background: rgba(22,101,52,.06); color: var(--success); }
html.page-admin .pill.ok .pill-dot { background: #22c55e; }
html.page-admin .pill.bad { border-color: rgba(176,0,32,.25); background: rgba(176,0,32,.06); color: var(--danger); }
html.page-admin .pill.bad .pill-dot { background: #ef4444; }
html.page-admin .meta { display:grid; grid-template-columns: 1fr 1fr; gap: 8px; color: var(--muted); font-size: 12px; }
html.page-admin .meta b { color: var(--text); font-weight: 700; }
html.page-admin .actions { display:flex; gap: 6px; align-items: center; justify-content: flex-end; flex-wrap: nowrap; }
html.page-admin .actions form { margin: 0; }
html.page-admin .actions .btn { width: auto; height: 34px; padding: 6px 8px; font-size: 11px; border-radius: 10px; }
html.page-admin .table { width: 100%; border-collapse: collapse; }
html.page-admin .table th, html.page-admin .table td { padding: 6px 8px; border-bottom: 1px solid var(--border); text-align: left; font-size: 12px; vertical-align: middle; white-space: nowrap; }
html.page-admin .table th { color: var(--muted); font-size: 11px; }
html.page-admin .table-actions { display:flex; gap: 4px; flex-wrap: nowrap; justify-content: flex-end; }
html.page-admin .table-actions form { margin: 0; }
html.page-admin .table-actions .btn { height: 30px; padding: 5px 8px; font-size: 11px; border-radius: 10px; }
html.page-admin .btn.warn { border-color: rgba(154, 52, 18, 0.25); background: rgba(154, 52, 18, 0.06); color: #9a3412; }
html.page-admin .badge { display:inline-flex; align-items:center; gap: 6px; padding: 2px 10px; border-radius: 999px; font-size: 12px; border: 1px solid var(--border); background: #fff; color: var(--muted); }
html.page-admin .badge.ok { border-color: rgba(22,101,52,.25); background: rgba(22,101,52,.06); color: var(--success); }
html.page-admin .badge.bad { border-color: rgba(176,0,32,.25); background: rgba(176,0,32,.06); color: var(--danger); }
html.page-admin .badge.neutral { border-color: rgba(148,163,184,.55); background: rgba(148,163,184,.10); color: #334155; }
html.page-admin .layout-toggle { display:flex; gap: 8px; padding: 6px; border: 1px solid var(--border); border-radius: 14px; background: rgba(248, 250, 252, 0.75); }
html.page-admin .layout-toggle a { text-decoration: none; }
html.page-admin .layout-toggle .btn { width: auto; }
html.page-admin .msg { padding: 10px 12px; border-bottom: 1px solid var(--border); background: rgba(22,101,52,.06); color: var(--success); }
html.page-admin .msg.err { background: rgba(176,0,32,.06); color: var(--danger); }
html.page-admin .api-test { border: 1px solid var(--border); border-radius: 12px; background: #fff; padding: 0; display: flex; flex-direction: column; overflow: hidden; }
html.page-admin .api-test-head { display:flex; align-items:center; justify-content: space-between; gap: 8px; padding: 10px 12px; background: rgba(248, 250, 252, 0.4); border-bottom: 1px solid var(--border); }
        html.page-admin .api-test-title { font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 8px; }
        html.page-admin .api-test-body { padding: 12px; }
html.page-admin .api-test-status { font-size: 12px; color: var(--muted); white-space: pre-wrap; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; background: #f8fafc; padding: 8px; border-radius: 8px; border: 1px solid var(--border); }
html.page-admin .api-test-status.ok { color: var(--success); }
html.page-admin .api-test-status.err { color: var(--danger); }
html.page-admin #paywall-wrap .api-test-head { background: linear-gradient(180deg, rgba(37,99,235,.09), rgba(37,99,235,.03)); }
html.page-admin #paywall-wrap .api-test-body { background: rgba(248, 250, 252, 0.55); }
html.page-admin .settings-toggle-form { display: grid; gap: 10px; border: 1px solid var(--border); border-radius: 10px; background: #fff; padding: 10px; }
html.page-admin .setting-toggle, .setting-toggle { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; cursor: pointer; }
html.page-admin .setting-toggle input[type="checkbox"], .setting-toggle input[type="checkbox"] { width: 18px; height: 18px; margin: 0; accent-color: #2563eb; cursor: pointer; }
html.page-admin .settings-note { border: 1px solid var(--border); border-radius: 10px; background: #f8fafc; color: var(--muted); font-size: 12px; line-height: 1.45; padding: 8px 10px; }
html.page-admin #paywall-save-btn { justify-content: center; font-weight: 700; }
html.page-admin .push-test-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
html.page-admin .push-test-card { border: 1px solid var(--border); border-radius: 10px; background: rgba(248, 250, 252, 0.5); padding: 12px; display: grid; gap: 10px; height: 100%; align-content: start; }
html.page-admin .push-test-card-title { font-weight: 750; font-size: 13px; }
html.page-admin .push-test-form { display: grid; gap: 8px; margin: 0; }
html.page-admin .push-form-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: end; }
html.page-admin .push-field { display: grid; gap: 6px; min-width: 0; }
html.page-admin .push-field-wide { grid-column: span 2; }
html.page-admin .push-label { color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; }
html.page-admin .push-field > .input,
html.page-admin .push-field > .select,
html.page-admin .push-field > .btn,
html.page-admin .push-field > button.btn { width: 100%; min-height: 44px; box-sizing: border-box; }
html.page-admin .push-field > .btn,
html.page-admin .push-field > button.btn { justify-content: center; }
html.page-admin .push-test-card.is-legacy { display: none; }
html.page-admin .admin-notif-primary { background: linear-gradient(180deg, rgba(37,99,235,.10), rgba(255,255,255,.98)); border-color: rgba(37,99,235,.18); box-shadow: 0 14px 36px rgba(37,99,235,.08); }
html.page-admin .admin-notif-monitor-card { background: linear-gradient(180deg, rgba(15,118,110,.08), rgba(255,255,255,.98)); border-color: rgba(15,118,110,.16); box-shadow: 0 14px 30px rgba(15,118,110,.07); }
html.page-admin .admin-notif-primary .push-test-card-title,
html.page-admin .admin-notif-monitor-card .push-test-card-title { font-size: 15px; }
html.page-admin .admin-notif-primary .muted,
html.page-admin .admin-notif-monitor-card .muted { line-height: 1.5; }
html.page-admin .admin-notif-scenario-row { grid-template-columns: minmax(220px, 1fr) minmax(0, 2fr); align-items: stretch; }
html.page-admin .admin-notif-hidden { display: none !important; }
html.page-admin .admin-notif-primary .push-test-form,
html.page-admin .admin-notif-monitor-card { gap: 10px; }
html.page-admin .admin-notif-primary #admin-notif-submit-btn { justify-content: center; font-weight: 800; min-height: 42px; }
html.page-admin .admin-notif-primary .settings-note,
html.page-admin .admin-notif-monitor-card .settings-note { background: rgba(255,255,255,.72); min-height: 44px; display: flex; align-items: center; }
html.page-admin .admin-notif-check-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
html.page-admin .admin-notif-check { min-height: 44px; border: 1px solid var(--border); border-radius: 10px; background: rgba(255,255,255,.78); padding: 10px 12px; display: flex; align-items: center; gap: 10px; cursor: pointer; }
html.page-admin .admin-notif-check input[type="checkbox"] { width: 18px; height: 18px; margin: 0; flex: 0 0 auto; accent-color: #2563eb; }
html.page-admin .admin-notif-check .push-label { margin: 0; font-size: 12px; letter-spacing: 0.01em; }
html.page-admin .admin-notif-monitor-actions { grid-template-columns: minmax(0, 1.3fr) minmax(180px, .85fr) minmax(180px, .85fr); }
html.page-admin .admin-notif-stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
html.page-admin .admin-notif-stat-box { border: 1px solid var(--border); border-radius: 10px; background: #fff; padding: 8px 10px; display: grid; gap: 4px; }
html.page-admin .admin-notif-stat-box b { font-size: 16px; font-weight: 800; color: var(--text); }
html.page-admin .admin-monitor-log { min-height: 170px; max-height: 260px; overflow: auto; border: 1px solid var(--border); border-radius: 10px; background: #fff; padding: 8px; display: grid; gap: 6px; }
html.page-admin .admin-monitor-row { display: flex; align-items: flex-start; gap: 8px; color: var(--muted); font-size: 12px; line-height: 1.4; }
html.page-admin .admin-monitor-row.is-ok { color: var(--success); }
html.page-admin .admin-monitor-dot { width: 8px; height: 8px; border-radius: 999px; background: currentColor; margin-top: 4px; flex: 0 0 auto; opacity: .85; }
html.page-admin .admin-notif-monitor-card .api-test-status { background: rgba(255,255,255,.78); }
@media (max-width: 980px) {
html.page-admin .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
html.page-admin .users { grid-template-columns: 1fr; }
html.page-admin .meta { grid-template-columns: 1fr; }
html.page-admin .push-test-grid { grid-template-columns: 1fr; }
html.page-admin .push-form-row,
html.page-admin .admin-notif-scenario-row,
html.page-admin .admin-notif-monitor-actions,
html.page-admin .admin-notif-check-row { grid-template-columns: 1fr; }
html.page-admin .push-field-wide { grid-column: auto; }
html.page-admin .admin-notif-stats-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
html.page-admin .push-test-card { padding: 10px; }
html.page-admin .push-test-form { gap: 10px; }
html.page-admin .admin-notif-stats-grid { grid-template-columns: 1fr; }
html.page-admin .table-wrap { border-radius: 0; border-left: none; border-right: none; margin: 0 -16px; }
html.page-admin .table thead { display: none; }
html.page-admin .table, html.page-admin .table tbody, html.page-admin .table tr, html.page-admin .table td { display: block; width: 100%; }
html.page-admin .table tr { border-bottom: 1px solid var(--border); padding: 12px; position: relative; }
html.page-admin .table td { border-bottom: none; padding: 4px 0; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
html.page-admin .table td::before { content: attr(data-label); color: var(--muted); font-size: 11px; font-weight: 600; text-transform: uppercase; }
html.page-admin .table td:first-child { display: none; }
html.page-admin .table td.cell-primary { font-weight: 800; font-size: 14px; padding-bottom: 8px; display: block; }
html.page-admin .table td.cell-primary::before { display: none; }
html.page-admin .table-actions { flex-wrap: wrap; justify-content: flex-start; margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--border); }
}

html.page-voorwaarden { color-scheme: light; }
html.page-voorwaarden body { margin: 0; font-family: 'Plus Jakarta Sans', sans-serif; background: #f8fafc; color: #0f172a; }
html.page-voorwaarden .wrap { max-width: 760px; margin: 0 auto; padding: 24px 16px 36px; }
html.page-voorwaarden .card { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 18px 16px; box-shadow: 0 10px 20px rgba(2, 6, 23, 0.05); }
html.page-voorwaarden h1 { margin: 0 0 12px; font-size: 24px; }
html.page-voorwaarden h2 { margin: 18px 0 8px; font-size: 18px; }
html.page-voorwaarden p, html.page-voorwaarden li { line-height: 1.55; color: #334155; }
html.page-voorwaarden ul { margin: 8px 0 0 18px; padding: 0; }
html.page-voorwaarden .top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
html.page-voorwaarden a.btn { display: inline-flex; align-items: center; justify-content: center; height: 38px; padding: 0 12px; border-radius: 10px; border: 1px solid #cbd5e1; background: #fff; color: #0f172a; text-decoration: none; font-size: 14px; }
html.page-voorwaarden a.btn:hover { background: #f8fafc; }
html.page-voorwaarden .muted { color: #64748b; font-size: 13px; }
@media (max-width: 560px) {
html.page-voorwaarden .wrap { padding: 14px 10px 24px; }
html.page-voorwaarden .top { flex-direction: column; align-items: stretch; gap: 8px; }
html.page-voorwaarden h1 { font-size: 21px; }
html.page-voorwaarden a.btn { width: 100%; }
html.page-voorwaarden .card { border-radius: 12px; padding: 14px 12px; }
}

html.page-make-admin-hash body { font-family: 'Plus Jakarta Sans', sans-serif; margin: 0; padding: 18px; background: #f6f7fb; color: #0f172a; }
html.page-make-admin-hash .card { max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 16px; }
html.page-make-admin-hash .row { margin-top: 12px; }
html.page-make-admin-hash label { display: block; font-weight: 650; margin-bottom: 6px; }
html.page-make-admin-hash input, html.page-make-admin-hash textarea { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid #e2e8f0; border-radius: 12px; font-size: 14px; }
html.page-make-admin-hash button { padding: 10px 12px; border-radius: 12px; border: 1px solid #e2e8f0; background: #fff; cursor: pointer; font-size: 14px; }
html.page-make-admin-hash .msg { margin-top: 10px; font-size: 13px; color: #475569; }
html.page-make-admin-hash .err { color: #b00020; }
html.page-make-admin-hash .hint { margin-top: 10px; font-size: 12px; color: #475569; line-height: 1.4; }
html.page-make-admin-hash code { background: #f1f5f9; padding: 2px 6px; border-radius: 8px; }
@media (max-width: 560px) {
html.page-make-admin-hash body { padding: 12px; }
html.page-make-admin-hash .card { border-radius: 12px; padding: 12px; }
html.page-make-admin-hash button { width: 100%; }
}
