﻿
* { box-sizing: border-box; }
html { font-size: 15px; -webkit-text-size-adjust: 100%; }
body.ma-body {
    margin: 0;
    font-family: 'Inter', system-ui, sans-serif;
    background: #f4f5f2;
    color: #4a5248;
    line-height: 1.6;
    min-height: 100dvh;
}
[x-cloak] { display: none !important; }

/* Mobile-first: full viewport on phones; centred column on wider screens (desktop preview) */
.ma-screen {
    width: 100%;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    max-width: 32rem;
    margin: 0 auto;
    background: #f4f5f2;
}
@media (min-width: 33rem) {
    .ma-screen {
        box-shadow: 0 0 0 1px #dde0da;
    }
}
.scroll-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.scroll-body--tab-root {
    padding-top: calc(12px + env(safe-area-inset-top, 0));
}

/* Header */
.app-header {
    background: #f4f5f2;
    padding: calc(8px + env(safe-area-inset-top, 0)) 16px 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    border-bottom: 1px solid #dde0da;
}
.app-header.transparent { background: transparent; border: none; position: absolute; top: 0; left: 0; right: 0; z-index: 50; }
.back-btn {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,0.92);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; color: #1e3d28; text-decoration: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.app-title { font-size: 17px; font-weight: 600; color: #1e3d28; }
.app-title-sub { font-size: 11px; color: #7a8578; font-weight: 500; }
.app-header-logo { display: flex; align-items: center; gap: 8px; flex: 1; }
.app-header-logo-dot { width: 10px; height: 10px; border-radius: 50%; background: #4a7c59; }
.app-header-logo-name { font-size: 16px; font-weight: 600; color: #1e3d28; }
.app-avatar {
    width: 32px; height: 32px; border-radius: 50%;
    background: #ddeee4; color: #1e3d28;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 600; text-decoration: none;
}

.tab-strip { display: flex; padding: 0 16px; border-bottom: 1px solid #dde0da; gap: 4px; background: #f4f5f2; }
.tab-strip-item {
    padding: 12px 14px; font-size: 13px; font-weight: 500; color: #7a8578;
    text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.tab-strip-item.active { color: #1e3d28; font-weight: 600; border-bottom-color: #4a7c59; }

.tab-bar {
    background: #fff; border-top: 1px solid #dde0da;
    padding: 8px 8px calc(16px + env(safe-area-inset-bottom, 0));
    display: flex; flex-shrink: 0;
}
.tab { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; text-decoration: none; color: #7a8578; }
.tab.active { color: #1e3d28; }
.tab--disabled { opacity: 0.45; cursor: default; }
.tab-icon { font-size: 20px; }
.tab-label { font-size: 10px; font-weight: 600; }

.mini-player {
    background: #1e3d28; padding: 10px 14px;
    display: flex; align-items: center; gap: 12px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.mini-player-play {
    width: 32px; height: 32px; border-radius: 50%;
    background: #4a7c59; color: #fff; border: none;
    display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.mini-player-info { flex: 1; min-width: 0; }
.mini-player-title { font-size: 12px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-player-sub { font-size: 10px; color: rgba(255,255,255,0.6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-player-close { background: none; border: none; color: rgba(255,255,255,0.5); font-size: 18px; cursor: pointer; }

/* Login */
.ma-screen--login { max-width: none; }
.login-body {
    flex: 1;
    display: grid;
    grid-template-rows: 1fr 2fr 1fr;
    min-height: 100dvh;
    padding: calc(24px + env(safe-area-inset-top, 0)) 28px calc(24px + env(safe-area-inset-bottom, 0));
    background: linear-gradient(180deg, #f4f5f2 0%, #e8efe8 100%);
}
.login-logo-dot { width: 14px; height: 14px; border-radius: 50%; background: #4a7c59; flex-shrink: 0; }
.login-logo-name { font-size: 22px; font-weight: 600; color: #1e3d28; letter-spacing: -0.3px; }
.login-brand-center {
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
}
.login-brand-logo {
    width: min(220px, 72vw);
    height: auto;
    max-height: 56px;
    object-fit: contain;
}
.login-brand-fallback {
    display: flex;
    align-items: center;
    gap: 12px;
}
.login-brand-fallback .login-logo-dot { width: 18px; height: 18px; }
.login-brand-fallback .login-logo-name { font-size: 26px; }
.login-hero {
    grid-row: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.login-tagline { font-size: 12px; font-weight: 600; color: #4a7c59; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }
.login-title { font-size: 26px; font-weight: 600; color: #1e3d28; line-height: 1.15; margin: 0 0 8px; }
.login-subtitle { font-size: 14px; margin: 0 0 32px; line-height: 1.5; }
.login-form { display: flex; flex-direction: column; gap: 12px; }
.login-input { background: #fff; border: 1px solid #dde0da; border-radius: 10px; padding: 14px 16px; font-size: 15px; font-family: inherit; width: 100%; }
.login-btn { background: #4a7c59; color: #fff; padding: 14px; border-radius: 10px; font-size: 15px; font-weight: 600; border: none; cursor: pointer; margin-top: 8px; }

/* Journeys */
.ma-page-intro { padding: 4px 16px 4px; }
.ma-eyebrow { font-size: 11px; font-weight: 600; color: #4a7c59; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 4px; }
.ma-h1 { font-size: 22px; font-weight: 600; color: #1e3d28; line-height: 1.15; margin: 0; }
.journeys-list { padding: 12px 16px 24px; display: flex; flex-direction: column; gap: 14px; }
.j-card { background: #fff; border: 1px solid #dde0da; border-radius: 14px; overflow: hidden; text-decoration: none; color: inherit; display: block; }
.j-card-photo { height: 140px; background-size: cover; background-position: center; position: relative; display: flex; align-items: flex-end; padding: 12px; }
.j-card-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.5) 100%); }
.j-card-badge { position: relative; z-index: 1; font-size: 10px; font-weight: 600; padding: 3px 9px; border-radius: 4px; text-transform: uppercase; }
.j-card-body { padding: 14px 16px; }
.j-card-name { font-size: 17px; font-weight: 600; color: #1e3d28; margin-bottom: 4px; }
.j-card-tagline { font-size: 13px; margin-bottom: 10px; }
.j-card-meta { display: flex; gap: 14px; font-size: 12px; color: #7a8578; flex-wrap: wrap; }

.badge-in { background: #ddeee4; color: #1e3d28; }
.badge-draft { background: #f5e8c0; color: #4a3000; }
.badge-saved { background: #d8e8f5; color: #1c3150; }

.hero-img {
    min-height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
    padding-top: calc(56px + env(safe-area-inset-top, 0));
}
.hero-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, transparent 35%, transparent 50%, rgba(0,0,0,0.55) 100%); }
.hero-content { position: relative; z-index: 1; color: #fff; }
.hero-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.85); }
.hero-name { font-size: 22px; font-weight: 600; color: #fff; margin: 4px 0 6px; line-height: 1.15; }
.hero-meta { font-size: 12px; color: rgba(255,255,255,0.85); display: flex; gap: 8px; flex-wrap: wrap; }

.jo-stats { background: #fff; padding: 16px; display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid #dde0da; }
.jo-stat { text-align: center; }
.jo-stat-val { font-size: 18px; font-weight: 600; color: #1e3d28; }
.jo-stat-lbl { font-size: 10px; color: #7a8578; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 4px; }

.jo-days { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.day-card { background: #fff; border: 1px solid #dde0da; border-radius: 12px; padding: 14px; text-decoration: none; color: inherit; display: block; }
.day-card--merged { border-left: 3px solid #4a7c59; }
.day-num { font-size: 11px; font-weight: 600; color: #1e3d28; background: #ddeee4; padding: 3px 10px; border-radius: 4px; }
.day-date { font-size: 12px; color: #7a8578; margin-left: 8px; }
.day-name { font-size: 15px; font-weight: 600; color: #2a2e28; margin: 8px 0; }
.day-meta-row { font-size: 11px; color: #7a8578; margin-bottom: 10px; }
.day-stops-row { display: flex; gap: 6px; flex-wrap: wrap; }
.day-stop-pill { font-size: 11px; padding: 2px 8px; background: #f4f5f2; border-radius: 3px; color: #4a5248; }
.day-stop-pill.overnight { background: #f2f9f5; color: #1e3d28; font-weight: 600; }

.jo-map-wrap { padding: 16px; }
.jo-map, .dv-map, .poi-mini-map { background: #e8ece6; border-radius: 12px; overflow: hidden; border: 1px solid #dde0da; }
.jo-map { height: 320px; }
.dv-map { height: 200px; }
.poi-mini-map { height: 220px; margin-bottom: 16px; }
.td-facts-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.td-facts-badges .dv-cat-tag { font-size: 11px; padding: 4px 10px; border-radius: 4px; }
.td-facts-text { font-size: 14px; line-height: 1.6; color: #3a4a42; margin: 0; }
.ev-charger-section .td-section-title { margin-bottom: 12px; }
.ev-detail-cards { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.ev-detail-card { background: #fff; border: 1px solid #dde0da; border-radius: 10px; padding: 12px 14px; }
.ev-detail-card--muted { background: #f9faf8; }
.ev-detail-lbl { font-size: 10px; text-transform: uppercase; color: #7a8578; letter-spacing: 0.06em; font-weight: 600; margin-bottom: 4px; }
.ev-detail-val { font-size: 14px; color: #2a2e28; font-weight: 500; line-height: 1.45; }
.ev-detail-text { margin: 0 0 8px; font-size: 13px; line-height: 1.55; color: #4a5248; }
.ev-detail-link { display: inline-block; margin-top: 6px; font-size: 13px; font-weight: 600; color: #4a7c59; text-decoration: none; word-break: break-word; }
.ev-detail-footer { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.ev-last-synced { margin: 4px 0 0; font-size: 12px; color: #7a8578; }
.ev-plug-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 4px; }
.ev-plug-card {
    display: flex; flex-direction: row; flex-wrap: nowrap; gap: 12px; align-items: flex-start;
    background: #fff; border: 1px solid #dde0da; border-radius: 10px; padding: 12px;
}
.ev-plug-icon-wrap {
    flex: 0 0 56px; width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    background: #f4f5f2; border-radius: 8px; border: 1px solid #e8ece6;
}
.ev-plug-icon { display: block; width: 48px; height: 48px; max-width: 100%; object-fit: contain; }
.ev-plug-body { flex: 1 1 auto; min-width: 0; }
.ev-plug-title-row { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.ev-plug-qty { font-size: 13px; font-weight: 700; color: #4a7c59; }
.ev-plug-title { margin: 0; font-size: 14px; font-weight: 600; color: #2a2e28; line-height: 1.3; }
.ev-plug-formal { margin: 2px 0 0; font-size: 11px; color: #7a8578; }
.ev-plug-meta { margin: 4px 0 0; font-size: 12px; color: #4a5248; line-height: 1.4; }

/* Day view */
.dv-summary { background: #fff; padding: 14px 16px; border-bottom: 1px solid #dde0da; display: flex; gap: 24px; }
.dv-sum-val { font-size: 16px; font-weight: 600; color: #1e3d28; }
.dv-sum-lbl { font-size: 11px; color: #7a8578; }
.dv-stops { padding: 16px; position: relative; }
.dv-stops::before { content: ''; position: absolute; left: 32px; top: 24px; bottom: 24px; width: 2px; background: #b8ddc8; }
.dv-stop { display: flex; gap: 14px; padding-bottom: 16px; position: relative; }
.dv-stop-dot { width: 14px; height: 14px; border-radius: 50%; background: #4a7c59; border: 3px solid #fff; margin-top: 16px; margin-left: 10px; flex-shrink: 0; z-index: 1; }
.dv-stop.overnight .dv-stop-dot { background: #c49020; }
.dv-stop-card { flex: 1; background: #fff; border: 1px solid #dde0da; border-radius: 10px; overflow: hidden; color: inherit; display: block; }
.dv-stop-card-main { display: block; text-decoration: none; color: inherit; }
.dv-ev-links { border-top: 1px solid #f4f5f2; padding: 6px 8px 8px; display: flex; flex-direction: column; gap: 4px; }
.dv-ev-link {
    display: flex; align-items: center; gap: 8px; padding: 8px 10px;
    background: #f2f9f5; border: 1px solid #b8ddc8; border-radius: 8px;
    text-decoration: none; color: #1e3d28; font-size: 12px; font-weight: 600;
}
.dv-ev-link-icon { flex-shrink: 0; }
.dv-ev-link-text { flex: 1; min-width: 0; line-height: 1.35; }
.dv-ev-link-chev { color: #4a7c59; flex-shrink: 0; }
.ma-inline-link { color: #4a7c59; font-weight: 600; font-size: 14px; text-decoration: none; }
.dv-stop.overnight .dv-stop-card { background: #f2f9f5; border-color: #b8ddc8; }
.dv-stop-photo-wrap { position: relative; }
.dv-stop-photo { height: 100px; background-size: cover; background-position: center; }
.dv-stop-kind-pill {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 10px; font-weight: 600; letter-spacing: 0.04em;
    text-transform: uppercase; padding: 3px 8px; border-radius: 4px; line-height: 1.2;
}
.dv-stop-kind-pill-icon { font-size: 11px; line-height: 1; }
.dv-stop-kind-pill-label { line-height: 1.2; }
.dv-stop-kind-pill--overlay {
    position: absolute; top: 8px; left: 8px; z-index: 1;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}
.dv-stop-kind-pill--town { background: #f2f9f5; color: #1e3d28; border: 1px solid #b8ddc8; }
.dv-stop-kind-pill--poi { background: #d8e8f5; color: #1c3150; border: 1px solid #a8c8e8; }
.dv-stop-kind-pill--flight { background: #eef4fc; color: #1c3150; border: 1px solid #b8cfe8; text-transform: none; letter-spacing: 0; }
.dv-stop-kind-pill--overnight { background: #f5e8c0; color: #4a3000; text-transform: none; letter-spacing: 0; }
.dv-stop-body { padding: 10px 12px 12px; }
.dv-stop-name { font-size: 14px; font-weight: 600; color: #2a2e28; }
.dv-stop-desc { font-size: 12px; margin-top: 4px; }
.dv-stop-meta { font-size: 10px; color: #7a8578; margin-top: 6px; }
.dv-stop-tag-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 4px; }

.ma-day-nav { padding: 4px 16px 24px; display: flex; gap: 10px; }
.ma-day-nav--next-only { justify-content: flex-end; }
.ma-day-nav--prev-only { justify-content: flex-start; }
.ma-day-nav--next-only .ma-day-nav-btn,
.ma-day-nav--prev-only .ma-day-nav-btn { flex: 0 1 auto; min-width: 140px; }
.ma-day-nav-btn {
    flex: 1; padding: 12px; border-radius: 10px; background: #fff;
    border: 1px solid #dde0da; text-align: center; font-size: 13px; font-weight: 600;
    text-decoration: none; color: #1e3d28;
}
.ma-day-nav-btn--primary { color: #1e3d28; }

/* Town / POI */
.td-hero { min-height: 260px; background-size: cover; background-position: center; position: relative; }
.td-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, transparent 30%, transparent 60%, rgba(0,0,0,0.7) 100%); }
.td-hero-overlay { position: absolute; bottom: 16px; left: 16px; right: 16px; color: #fff; z-index: 1; }
.td-hero-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.td-hero-name { font-size: 26px; font-weight: 600; color: #fff; margin-top: 4px; line-height: 1.1; }
.td-hero-tagline { font-size: 14px; font-style: italic; margin-top: 6px; }
.td-hero.td-hero--compact { min-height: 0; height: auto; background-size: cover; background-position: center; }
.td-hero.td-hero--compact::after { background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.2) 100%); }
.td-hero.td-hero--compact .td-hero-overlay { position: relative; padding: calc(50px + env(safe-area-inset-top, 0)) 16px 14px; color: #fff; z-index: 1; }
.td-hero.td-hero--compact .td-hero-name { font-size: 22px; }
.td-hero.td-hero--compact.td-hero--photo { min-height: 120px; }
.td-hero.td-hero--compact.td-hero--photo::after { background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.2) 55%, rgba(0,0,0,0.45) 100%); }
.td-hero.td-hero--compact.ev-hero::after { background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.35) 100%); }
.td-body { padding: 16px; }
.td-narration { background: #f2f9f5; border-left: 3px solid #2d6a4f; border-radius: 0 10px 10px 0; padding: 14px 16px; margin-bottom: 16px; }
.td-narration-lbl { font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #2d6a4f; margin-bottom: 8px; }
.td-audio-player { background: #fff; border-radius: 8px; padding: 10px 12px; display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.td-audio-play { width: 38px; height: 38px; border-radius: 50%; background: #4a7c59; color: #fff; border: none; cursor: pointer; }
.td-audio-bar { height: 4px; background: #dde0da; border-radius: 2px; position: relative; cursor: pointer; }
.td-audio-fill { position: absolute; top: 0; left: 0; height: 100%; background: #4a7c59; border-radius: 2px; }
.td-audio-times { display: flex; justify-content: space-between; font-size: 10px; color: #7a8578; margin-top: 4px; }
.td-narration-text { font-size: 14px; font-style: italic; line-height: 1.65; }
.td-section { margin-bottom: 22px; }
.td-section-title { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #4a7c59; margin-bottom: 10px; padding-bottom: 6px; border-bottom: 1px solid #dde0da; }
.td-gallery { display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; }
.td-gallery-item { width: 180px; height: 130px; background-size: cover; background-position: center; border-radius: 8px; flex-shrink: 0; }
.td-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.td-info { background: #fff; border: 1px solid #dde0da; border-radius: 8px; padding: 10px 12px; }
.td-info-lbl { font-size: 10px; text-transform: uppercase; color: #7a8578; letter-spacing: 0.06em; font-weight: 600; }
.td-info-val { font-size: 13px; color: #2a2e28; font-weight: 500; }
.td-poi-list { display: flex; flex-direction: column; gap: 8px; }
.td-poi { background: #fff; border: 1px solid #dde0da; border-radius: 10px; padding: 10px; display: flex; gap: 12px; align-items: center; text-decoration: none; color: inherit; }
.td-poi-photo { width: 64px; height: 64px; border-radius: 8px; background-size: cover; background-position: center; flex-shrink: 0; }
.td-poi-name { font-size: 13px; font-weight: 600; color: #2a2e28; }
.td-poi-sub { font-size: 11px; color: #7a8578; }
.td-poi-chev { color: #b8c0b6; }

.dv-cat-tag { font-size: 9px; font-weight: 600; padding: 2px 6px; border-radius: 3px; }
.cat-wild { background: #ddeee4; color: #1e3d28; }
.cat-deep { background: #f5ddd6; color: #5c1f0f; }
.cat-legends { background: #f5e8c0; color: #4a3000; }
.cat-good { background: #d8e8f5; color: #1c3150; }
.cat-creative { background: #e8e0f5; color: #3a2560; }
.cat-working { background: #e8ede5; color: #2a3a28; }
.chip { font-size: 9px; font-weight: 600; padding: 2px 6px; border-radius: 3px; text-transform: uppercase; }
.chip-drivepast { background: #d8e8f5; color: #1c3150; }

/* Pack list */
.pl-header { background: #fff; padding: 14px 16px; border-bottom: 1px solid #dde0da; }
.pl-progress { display: flex; gap: 18px; margin-bottom: 10px; }
.pl-progress-val { font-size: 18px; font-weight: 600; color: #1e3d28; }
.pl-progress-lbl { font-size: 10px; color: #7a8578; text-transform: uppercase; }
.pl-tabs { display: flex; gap: 6px; background: #f4f5f2; border-radius: 8px; padding: 3px; }
.pl-tab { flex: 1; text-align: center; padding: 6px 8px; font-size: 12px; font-weight: 600; color: #7a8578; text-decoration: none; border-radius: 6px; }
.pl-tab.active { background: #fff; color: #1e3d28; box-shadow: 0 1px 2px rgba(0,0,0,0.06); }
.pl-categories { padding: 12px 16px; display: flex; flex-direction: column; gap: 14px; }
.pl-cat { background: #fff; border: 1px solid #dde0da; border-radius: 10px; overflow: hidden; }
.pl-cat-head { padding: 10px 14px; display: flex; justify-content: space-between; background: #f9faf8; border-bottom: 1px solid #f4f5f2; }
.pl-cat-name { font-size: 13px; font-weight: 600; color: #1e3d28; }
.pl-cat-count { font-size: 11px; color: #7a8578; }
.pl-item { padding: 10px 14px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid #f4f5f2; }
.pl-item.packed .pl-item-name { color: #7a8578; text-decoration: line-through; }
.pl-check, .pl-buy { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #b8c0b6; background: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0; }
.pl-check.checked { background: #4a7c59; border-color: #4a7c59; color: #fff; }
.pl-buy { border-radius: 5px; border-color: #c49020; }
.pl-buy.checked { background: #c49020; color: #fff; }
.pl-item-name { flex: 1; font-size: 14px; }
.pl-qty { display: flex; align-items: center; gap: 8px; }
.pl-qty-btn { width: 22px; height: 22px; border-radius: 5px; background: #f4f5f2; border: none; cursor: pointer; }
.pl-add { width: 100%; padding: 10px 14px; display: flex; align-items: center; gap: 8px; color: #4a7c59; font-size: 13px; font-weight: 500; background: #f9faf8; border: none; border-top: 1px dashed #b8ddc8; cursor: pointer; }
.pl-shopping { padding: 12px 16px; }
.pl-shop-card { background: #fff; border: 1px solid #dde0da; border-radius: 10px; overflow: hidden; }
.pl-shop-head { padding: 12px 14px; background: #f5e8c0; }
.pl-shop-title { font-size: 13px; font-weight: 600; color: #4a3000; }
.pl-shop-sub { font-size: 11px; color: #4a3000; opacity: 0.7; }
.pl-shop-item { padding: 10px 14px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid #f4f5f2; }
.pl-shop-name { font-size: 13px; font-weight: 500; }
.pl-shop-cat { font-size: 11px; color: #7a8578; }

/* Account */
.acct-body { padding: 20px 16px; }
.acct-card { background: #fff; border: 1px solid #dde0da; border-radius: 12px; padding: 18px; margin-bottom: 14px; }
.acct-avatar-row { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.acct-avatar { width: 56px; height: 56px; border-radius: 50%; background: #ddeee4; color: #1e3d28; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 600; }
.acct-name { font-size: 16px; font-weight: 600; color: #1e3d28; }
.acct-email { font-size: 12px; color: #7a8578; }
.acct-row { padding: 12px 0; display: flex; justify-content: space-between; border-bottom: 1px solid #f4f5f2; }
.acct-logout { width: 100%; background: #fff; border: 1px solid #f5d4c0; border-radius: 12px; padding: 14px; color: #c4552f; font-size: 14px; font-weight: 600; cursor: pointer; }

.ma-empty, .ma-alert { margin: 16px; padding: 14px; border-radius: 10px; font-size: 14px; }
.ma-alert--error { background: #fff5f0; border: 1px solid #f5d4c0; color: #5c1f0f; }
.ma-toast {
    position: fixed; bottom: calc(80px + env(safe-area-inset-bottom, 0)); left: 50%;
    transform: translateX(-50%); background: #1e3d28; color: #fff;
    padding: 10px 16px; border-radius: 8px; font-size: 13px; z-index: 200;
    max-width: 90%;
}
