:root {
    --bg: #F0FDF4;
    --bg-2: #FFF7ED;
    --surface: #FFFFFF;
    --surface-2: #FAFAFE;
    --border: rgba(30, 27, 46, 0.08);
    --border-strong: rgba(30, 27, 46, 0.12);
    --text: #1E1B2E;
    --text-muted: #6B7280;
    --text-faint: #9CA3AF;
    --violet: #047857;
    --violet-soft: #D1FAE5;
    --pink: #EC4899;
    --sky: #0EA5E9;
    --coral: #F97316;
    --green: #10B981;
    --shadow-sm: 0 2px 8px rgba(30, 27, 46, 0.04);
    --shadow: 0 8px 32px rgba(124, 58, 237, 0.08);
    --shadow-lg: 0 20px 60px rgba(124, 58, 237, 0.14);
    --radius: 24px;
    --radius-md: 18px;
    --radius-sm: 14px;
    --nav-height: 76px;
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --gradient: linear-gradient(135deg, #047857 0%, #0EA5E9 55%, #F97316 100%);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    min-height: 100dvh;
    overflow-x: hidden;
    overscroll-behavior-y: none;
}

/* PWA — offline bar */
.offline-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: calc(8px + var(--safe-top)) 16px 8px;
    background: #FEF3C7;
    color: #B45309;
    font-size: 13px;
    font-weight: 600;
    border-bottom: 1px solid #FDE68A;
}
.offline-bar[hidden] { display: none !important; }
.offline-bar i { width: 16px; height: 16px; }

/* PWA — install banner */
.install-banner {
    position: fixed;
    bottom: calc(var(--nav-height) + var(--safe-bottom) + 16px);
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 400px;
    z-index: 150;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--text);
    color: #fff;
    border-radius: 18px;
    box-shadow: 0 16px 48px rgba(30, 27, 46, 0.28);
}
.install-banner[hidden] { display: none !important; }
.install-banner__text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.install-banner__text strong { font-size: 14px; font-weight: 700; }
.install-banner__text span { font-size: 12px; opacity: 0.75; font-weight: 500; }
.install-banner__btn {
    flex-shrink: 0;
    padding: 9px 16px;
    border: none;
    border-radius: 10px;
    background: var(--gradient);
    color: #fff;
    font-family: var(--font);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}
.install-banner__close {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border: none;
    background: rgba(255,255,255,0.12);
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
}
.install-banner__close i { width: 16px; height: 16px; }

@media (display-mode: standalone) {
    .install-banner { display: none !important; }
}

/* Lucide icon sizing */
i[data-lucide], svg.lucide {
    width: 20px;
    height: 20px;
    stroke-width: 1.75;
    flex-shrink: 0;
}

.app-shell {
    position: relative;
    max-width: 520px;
    margin: 0 auto;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

.mesh {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.55;
}
.mesh--1 { width: 280px; height: 280px; background: #DDD6FE; top: -60px; right: -40px; }
.mesh--2 { width: 240px; height: 240px; background: #FBCFE8; bottom: 140px; left: -70px; }
.mesh--3 { width: 200px; height: 200px; background: #BAE6FD; top: 40%; right: -50px; }

/* Top bar */
.top-bar {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: calc(14px + var(--safe-top)) 20px 14px;
    background: rgba(245, 242, 255, 0.82);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-bottom: 1px solid var(--border);
}
.top-bar__brand { display: flex; align-items: center; gap: 12px; }
.top-bar__logo {
    width: 46px; height: 46px;
    display: grid; place-items: center;
    background: var(--gradient);
    border-radius: 15px;
    color: #fff;
    box-shadow: 0 8px 20px rgba(4, 120, 87, 0.28);
}
.top-bar__logo i { width: 22px; height: 22px; }
.top-bar__title { font-size: 18px; font-weight: 800; letter-spacing: -0.4px; }
.top-bar__subtitle { font-size: 12px; color: var(--text-muted); margin-top: 2px; font-weight: 500; }

.icon-btn {
    width: 42px; height: 42px;
    display: grid; place-items: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 13px;
    color: var(--text);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: transform 0.15s, box-shadow 0.2s, border-color 0.2s;
}
.icon-btn:hover { border-color: var(--border-strong); box-shadow: var(--shadow); }
.icon-btn:active { transform: scale(0.92); }

/* Main */
.main-content {
    flex: 1;
    position: relative;
    z-index: 1;
    padding: 18px 20px calc(var(--nav-height) + var(--safe-bottom) + 20px);
    overflow-y: auto;
}

.view { display: none; animation: rise 0.35s cubic-bezier(0.22, 1, 0.36, 1); }
.view--active { display: block; }

@keyframes rise {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero */
.hero-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: var(--shadow-lg);
}
.hero-card__mesh {
    position: absolute; inset: 0;
    background: var(--gradient);
}
.hero-card__mesh::after {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.25) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.15) 0%, transparent 40%);
}
.hero-card__inner {
    position: relative;
    padding: 28px 24px 30px;
    color: #fff;
}
.hero-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 10px;
}
.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}
.pill--glass {
    background: rgba(255,255,255,0.22);
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(8px);
}
.hero-card__days {
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -2px;
    opacity: 0.95;
    text-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.hero-card__days:empty { display: none; }
.hero-card__title {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 6px;
}
.hero-card__countdown {
    font-size: 14px;
    opacity: 0.92;
    font-weight: 500;
    margin-bottom: 18px;
}
.hero-card__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.28);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}
.hero-badge i { width: 15px; height: 15px; }

/* Sections */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.section-header h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.2px;
}
.section-header h3 i { width: 16px; height: 16px; color: var(--violet); }
.section-header__date { font-size: 12px; color: var(--text-muted); font-weight: 500; }

/* Cards */
.card-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 30px; }

.pickup-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 16px 16px 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.15s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}
.pickup-card::before {
    content: '';
    position: absolute;
    left: 0; top: 12px; bottom: 12px;
    width: 4px;
    border-radius: 0 4px 4px 0;
    background: var(--card-accent, var(--violet));
}
.pickup-card:active { transform: scale(0.985); }
.pickup-card__icon {
    width: 50px; height: 50px;
    display: grid; place-items: center;
    border-radius: 15px;
    flex-shrink: 0;
    margin-left: 4px;
    color: var(--card-accent, var(--violet));
}
.pickup-card__icon i { width: 22px; height: 22px; }
.pickup-card__body { flex: 1; min-width: 0; }
.pickup-card__label { font-size: 15px; font-weight: 700; letter-spacing: -0.2px; }
.pickup-card__meta { font-size: 13px; color: var(--text-muted); margin-top: 3px; line-height: 1.4; }
.pickup-card__date {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-align: right;
    white-space: nowrap;
    background: var(--surface-2);
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 32px 24px;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    background: var(--surface);
    border-radius: var(--radius-md);
    border: 1.5px dashed var(--border-strong);
}
.empty-state i { width: 28px; height: 28px; color: var(--violet); opacity: 0.5; }

/* Calendar */
.calendar-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}
.calendar-nav__title {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.4px;
}

.calendar-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}
.legend-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    padding: 6px 12px;
    background: var(--surface);
    border-radius: 100px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.legend-chip i { width: 13px; height: 13px; }
.legend-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }

.calendar-sheet {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 12px;
    box-shadow: var(--shadow);
    margin-bottom: 16px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}
.cal-head {
    text-align: center;
    font-size: 10px;
    font-weight: 700;
    color: var(--text-faint);
    padding: 8px 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.cal-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    background: transparent;
    color: var(--text);
    transition: background 0.15s, transform 0.1s, color 0.15s;
    font-family: var(--font);
}
.cal-day:hover { background: var(--violet-soft); }
.cal-day:active { transform: scale(0.9); }
.cal-day--other { color: var(--text-faint); opacity: 0.45; }
.cal-day--today {
    background: var(--violet-soft);
    color: var(--violet);
    font-weight: 800;
    box-shadow: inset 0 0 0 2px var(--violet);
}
.cal-day--selected {
    background: var(--gradient);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 6px 16px rgba(124, 58, 237, 0.35);
}
.cal-day--selected .cal-dot { background: #fff !important; }
.cal-dots { display: flex; flex-wrap: wrap; gap: 2px; height: auto; min-height: 5px; justify-content: center; max-width: calc(100% - 4px); }
.cal-dot { width: 4px; height: 4px; border-radius: 50%; flex-shrink: 0; }
.cal-dot--combo {
    width: 8px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(135deg, #0369A1 0 50%, #047857 50% 100%);
}

.day-detail {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 18px;
    min-height: 80px;
    box-shadow: var(--shadow-sm);
}
.day-detail__empty {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    padding: 12px;
}
.day-detail__empty i { width: 18px; height: 18px; color: var(--violet); }
.day-detail__title { font-size: 15px; font-weight: 700; margin-bottom: 14px; letter-spacing: -0.2px; }

/* Timeline */
.filter-chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 18px;
    scrollbar-width: none;
}
.filter-chips::-webkit-scrollbar { display: none; }
.filter-chip {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font);
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-muted);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s;
}
.filter-chip i { width: 15px; height: 15px; }
.filter-chip--active {
    background: var(--gradient);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.3);
}

.timeline { display: flex; flex-direction: column; }
.timeline-month {
    font-size: 12px;
    font-weight: 800;
    color: var(--violet);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 22px 0 12px;
    position: sticky;
    top: 0;
    background: linear-gradient(var(--bg) 70%, transparent);
    z-index: 2;
}
.timeline-item {
    display: flex;
    gap: 14px;
    padding: 10px 0;
}
.timeline-date {
    width: 52px;
    text-align: center;
    flex-shrink: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 10px 6px;
    box-shadow: var(--shadow-sm);
    align-self: flex-start;
}
.timeline-date__day { font-size: 24px; font-weight: 800; line-height: 1; color: var(--violet); }
.timeline-date__month { font-size: 10px; color: var(--text-muted); text-transform: uppercase; font-weight: 700; margin-top: 2px; }
.timeline-body { flex: 1; }

/* Settings */
.settings-group {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}
.settings-group__head {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
}
.settings-group__icon {
    width: 44px; height: 44px;
    display: grid; place-items: center;
    background: var(--gradient);
    border-radius: 14px;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(124, 58, 237, 0.25);
}
.settings-group__icon--soft {
    background: var(--violet-soft);
    color: var(--violet);
    box-shadow: none;
}
.settings-group h3 {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.3px;
}
.settings-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
    line-height: 1.5;
    font-weight: 500;
}
.settings-group--muted {
    background: transparent;
    border-style: dashed;
    box-shadow: none;
}
.settings-group--muted p {
    font-size: 12px;
    color: var(--text-faint);
    line-height: 1.7;
    font-weight: 500;
}
.settings-group--muted a { color: var(--violet); font-weight: 600; text-decoration: none; }

.toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 4px;
}
.toggle {
    appearance: none;
    width: 52px; height: 32px;
    background: #E5E7EB;
    border-radius: 100px;
    position: relative;
    cursor: pointer;
    transition: background 0.25s;
    flex-shrink: 0;
}
.toggle::after {
    content: '';
    position: absolute;
    width: 26px; height: 26px;
    background: #fff;
    border-radius: 50%;
    top: 3px; left: 3px;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.toggle:checked { background: var(--violet); }
.toggle:checked::after { transform: translateX(20px); }

.field { display: block; margin: 18px 0; }
.field__label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 8px;
}
.field__input {
    width: 100%;
    padding: 15px 16px;
    background: var(--surface-2);
    border: 1.5px solid var(--border);
    border-radius: 14px;
    color: var(--text);
    font-family: var(--font);
    font-size: 16px;
    font-weight: 500;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.field__input:focus {
    border-color: var(--violet);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
}
.field__input::placeholder { color: var(--text-faint); }

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 14px;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.2s;
    margin-top: 10px;
}
.btn i { width: 18px; height: 18px; }
.btn:active { transform: scale(0.97); }
.btn--primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.3);
}
.btn--primary:hover { box-shadow: 0 12px 32px rgba(124, 58, 237, 0.38); }
.btn--ghost {
    background: var(--surface);
    color: var(--text-muted);
    border: 1.5px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.status-banner {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 500;
    display: none;
}
.status-banner--show { display: block; }
.status-banner--ok { background: #D1FAE5; color: #047857; border: 1px solid #A7F3D0; }
.status-banner--warn { background: #FEF3C7; color: #B45309; border: 1px solid #FDE68A; }
.status-banner--error { background: #FEE2E2; color: #B91C1C; border: 1px solid #FECACA; }

.type-guide { display: flex; flex-direction: column; gap: 10px; }
.type-guide-item {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 14px;
    background: var(--surface-2);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}
.type-guide-item__icon {
    width: 44px; height: 44px;
    display: grid; place-items: center;
    border-radius: 13px;
    flex-shrink: 0;
}
.type-guide-item__icon i { width: 20px; height: 20px; }
.type-guide-item__label { font-size: 14px; font-weight: 700; letter-spacing: -0.2px; }
.type-guide-item__tip { font-size: 12px; color: var(--text-muted); margin-top: 3px; line-height: 1.4; }

/* Bottom nav — floating pill */
.bottom-nav {
    position: fixed;
    bottom: calc(12px + var(--safe-bottom));
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 400px;
    display: flex;
    justify-content: space-around;
    padding: 6px 8px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(24px) saturate(1.5);
    -webkit-backdrop-filter: blur(24px) saturate(1.5);
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(30, 27, 46, 0.12), 0 2px 8px rgba(30, 27, 46, 0.06);
    z-index: 100;
}
.bottom-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 8px 14px;
    background: none;
    border: none;
    color: var(--text-faint);
    font-family: var(--font);
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 14px;
    transition: color 0.2s, background 0.2s, transform 0.15s;
    -webkit-user-select: none;
    user-select: none;
    flex: 1;
}
.bottom-nav__item i { width: 22px; height: 22px; }
.bottom-nav__item--active {
    color: var(--violet);
    background: var(--violet-soft);
}
.bottom-nav__item:active { transform: scale(0.9); }

/* Toast */
.toast {
    position: fixed;
    bottom: calc(var(--nav-height) + var(--safe-bottom) + 20px);
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: var(--text);
    color: #fff;
    padding: 13px 22px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    z-index: 200;
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s;
    pointer-events: none;
    white-space: nowrap;
    max-width: calc(100% - 40px);
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 0 12px 40px rgba(30, 27, 46, 0.25);
}
.toast--show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Acknowledge banner */
.ack-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    border: 1px solid #FCD34D;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}
.ack-banner[hidden] { display: none !important; }
.ack-banner__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    background: #fff;
    border-radius: 14px;
    color: #B45309;
}
.ack-banner__icon i { width: 22px; height: 22px; }
.ack-banner__body { flex: 1; min-width: 0; }
.ack-banner__body strong { display: block; font-size: 15px; margin-bottom: 2px; }
.ack-banner__body p { font-size: 13px; color: #92400E; margin: 0; }
.ack-banner__types {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}
.ack-banner__types .hero-badge {
    font-size: 11px;
    padding: 4px 8px;
    background: rgba(255,255,255,0.7);
}
.btn--ack {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: #047857;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    font-family: inherit;
}
.btn--ack i { width: 16px; height: 16px; }

/* Notification type chips */
.notify-type-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}
.notify-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1.5px solid var(--border-strong);
    background: var(--surface);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}
.notify-chip i { width: 14px; height: 14px; }
.notify-chip__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.notify-chip--active {
    border-color: var(--violet);
    background: var(--violet-soft);
    color: var(--violet);
}
.settings-desc--spaced { margin-top: 12px; margin-bottom: 8px; }

/* Desktop */
@media (min-width: 768px) {
    body { background: linear-gradient(160deg, var(--bg) 0%, var(--bg-2) 100%); }
    .app-shell { max-width: 980px; padding: 28px; }
    .top-bar {
        position: relative;
        border-radius: var(--radius);
        margin-bottom: 24px;
        border: 1px solid var(--border);
        box-shadow: var(--shadow);
    }
    .bottom-nav {
        position: relative;
        transform: none;
        left: auto;
        margin: 0 auto;
        width: 100%;
        max-width: 420px;
    }
    .main-content { padding-bottom: 28px; }
    #view-home.view--active {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 28px;
        align-content: start;
    }
    #view-home .hero-card { grid-column: 1 / -1; }
    #view-home .ack-banner { grid-column: 1 / -1; }
    #view-home .section-header:nth-of-type(1),
    #view-home #tomorrow-list { grid-column: 1; }
    #view-home .section-header:nth-of-type(2),
    #view-home #upcoming-list { grid-column: 2; }
    .toast { bottom: 40px; }
}
