        * { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }



        @keyframes rotate-gradient {
            to {
                --gradient-angle: 360deg;
            }
        }


        body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans Devanagari', sans-serif; background: #f0f0f0; color: #212121; overflow-x: hidden; touch-action: manipulation; }
        #app { max-width: 480px; margin: 0 auto; min-height: 100vh; position: relative; background: #fff; }

        /* Desktop/laptop preview: frame the phone-width app as a floating panel instead of a stretched cutoff screenshot */
        @media (min-width: 600px) {
            body { background: linear-gradient(135deg, #e3f4f5 0%, #eef2f5 45%, #eaf1fb 100%); padding: 40px 0; }
            #app { border-radius: 20px; box-shadow: 0 24px 60px rgba(0,0,0,0.18); overflow: hidden; min-height: calc(100vh - 80px); }
        }
        .screen { display: none; min-height: 100vh; position: relative; }
        .screen.active { display: flex; flex-direction: column; }
        
        /* Accessibility: visible focus ring */
        *:focus-visible { outline: 3px solid #C41E3A; outline-offset: 2px; }

        /* Accessibility: skip-to-content link */
        .skip-link {
            position: absolute; left: -9999px; top: 0; z-index: 10000;
            background: #C41E3A; color: #fff; padding: 12px 20px; font-weight: 700;
            border-radius: 0 0 8px 0; text-decoration: none;
        }
        .skip-link:focus { left: 0; }

        /* Accessibility: floating toolbar */
        .a11y-toggle-btn {
            position: fixed; right: 14px; bottom: 14px; z-index: 9000;
            width: 48px; height: 48px; border-radius: 50%; border: none;
            background: #212121; color: #fff; font-size: 1.3rem;
            box-shadow: 0 4px 14px rgba(0,0,0,0.35); cursor: pointer;
            display: flex; align-items: center; justify-content: center;
        }
        .a11y-panel {
            position: fixed; right: 14px; bottom: 70px; z-index: 9000;
            background: #fff; border-radius: 14px; padding: 14px;
            box-shadow: 0 8px 28px rgba(0,0,0,0.3); width: 220px; display: none;
        }
        .a11y-panel.open { display: block; }
        .a11y-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
        .a11y-row:last-child { margin-bottom: 0; }
        .a11y-label { font-size: 0.82rem; font-weight: 600; color: #212121; }
        .a11y-steppers { display: flex; gap: 6px; }
        .a11y-steppers button, .a11y-switch {
            min-width: 40px; min-height: 40px; border-radius: 8px; border: 1px solid #ccc;
            background: #f5f5f5; font-weight: 700; cursor: pointer; font-size: 0.95rem;
        }
        .a11y-switch[aria-pressed="true"] { background: #C41E3A; color: #fff; border-color: #C41E3A; }

        html.a11y-contrast body { background: #000 !important; color: #fff !important; }
        html.a11y-contrast #app { background: #000 !important; }
        html.a11y-contrast * { text-shadow: none !important; }
        html.a11y-contrast a, html.a11y-contrast button:not(.a11y-switch):not(.a11y-steppers button) { border: 1px solid #fff !important; }

        html.a11y-reduce-motion *, html.a11y-reduce-motion *::before, html.a11y-reduce-motion *::after {
            animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
            transition-duration: 0.001ms !important; scroll-behavior: auto !important;
        }

        /* Install nudge toast (Task: post-success install prompt) */
        .install-nudge {
            display: none;
            position: fixed;
            left: 12px; right: 12px; bottom: 12px;
            max-width: 456px; margin: 0 auto;
            background: #1B5E20;
            color: #fff;
            border-radius: 14px;
            padding: 14px 14px 14px 16px;
            box-shadow: 0 8px 24px rgba(0,0,0,0.35);
            z-index: 1600;
            align-items: center;
            gap: 12px;
            animation: install-nudge-up 0.25s ease-out;
        }
        .install-nudge.visible { display: flex; }
        @keyframes install-nudge-up { from { transform: translateY(16px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
        .install-nudge-icon { font-size: 1.6rem; flex-shrink: 0; }
        .install-nudge-text { flex: 1; font-size: 0.85rem; font-weight: 600; line-height: 1.3; }
        .install-nudge-btn {
            flex-shrink: 0; background: #fff; color: #1B5E20; border: none;
            border-radius: 10px; padding: 9px 14px; font-weight: 700; font-size: 0.85rem;
            cursor: pointer;
        }
        .install-nudge-close {
            flex-shrink: 0; background: none; border: none; color: #fff;
            opacity: 0.8; font-size: 1.1rem; cursor: pointer; padding: 4px;
        }

        /* Offline indicator banner */
        #offline-banner {
            display: none;
            position: fixed;
            top: 0; left: 0; right: 0;
            background: #C41E3A;
            color: white;
            text-align: center;
            padding: 8px;
            font-size: 0.85rem;
            font-weight: 600;
            z-index: 2000;
        }
        #offline-banner.visible { display: block; }
        
        /* Loading spinner overlay */
        .loading-overlay {
            display: none;
            position: fixed;
            top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(255,255,255,0.85);
            z-index: 1500;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            gap: 12px;
        }
        .loading-overlay.active { display: flex; }
        .spinner {
            width: 48px; height: 48px;
            border: 4px solid #eee;
            border-top-color: #C41E3A;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
        }
        @keyframes spin { to { transform: rotate(360deg); } }
        .loading-text { color: #555; font-size: 0.95rem; font-weight: 600; }

        /* Home Screen */
        #home-screen { align-items: center; justify-content: flex-start; padding: 24px; text-align: center; padding-top: 40px; overflow: hidden; }
        /* Soft brand-tinted hero backdrop behind the logo/title block, kept behind
           the static content via the position:relative-parent + negative-z-index trick
           (a positioned ::before with z-index:-1 still paints under static siblings). */
        #home-screen::before {
            content: ""; position: absolute; top: 0; left: 0; right: 0; height: 300px;
            background: radial-gradient(120% 100% at 50% 0%, #fdeeea 0%, #fff 72%);
            z-index: -1;
        }
        .home-logo { width: 80px; height: 80px; border-radius: 20px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; box-shadow: 0 8px 30px rgba(196,30,58,0.35); overflow: hidden; }
        .home-logo img { width: 100%; height: 100%; object-fit: cover; }
        .home-title { font-size: 2rem; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 8px; position: relative; }
        .home-title::after {
            content: ""; display: block; width: 44px; height: 3px; margin: 8px auto 0;
            background: #C41E3A; border-radius: 2px;
        }
        .home-tagline { color: #555; font-size: 0.95rem; line-height: 1.6; margin-bottom: 8px; max-width: 340px; }
        .tagline-banner { background: none; box-shadow: none; border-radius: 0; color: #1B5E20; padding: 0; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 20px; text-align: center; line-height: 1.5; }
        .how-it-works { display: flex; align-items: center; justify-content: center; gap: 6px; margin-bottom: 22px; padding: 14px 8px; background: #fff; border-radius: 14px; border: 1px solid #eee; counter-reset: hiw; }
        .hiw-step { display: flex; flex-direction: column; align-items: center; flex: 1; min-width: 0; position: relative; counter-increment: hiw; }
        .hiw-step::before { content: counter(hiw); position: absolute; top: -6px; left: calc(50% + 9px); width: 15px; height: 15px; line-height: 15px; text-align: center; border-radius: 50%; background: #1B5E20; color: #fff; font-size: 0.55rem; font-weight: 800; }
        .hiw-icon { font-size: 1.35rem; margin-bottom: 4px; }
        .hiw-label { font-size: 0.72rem; font-weight: 700; color: #212121; white-space: nowrap; }
        .hiw-desc { font-size: 0.62rem; color: #595959; text-align: center; margin-top: 2px; line-height: 1.3; }
        .hiw-arrow { color: #ccc; font-size: 1rem; flex-shrink: 0; }

/* ===== Home Action Grid ===== */
.action-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
    max-width: 340px;
    margin-bottom: 16px;
}
.action-grid .action-card.card-tools {
    grid-column: span 2;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    min-height: auto;
    padding: 16px;
}
.action-card-tools-text { flex: 1; min-width: 0; }
.action-card-title-row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.action-card-title-row .action-card-title { margin-bottom: 0; }
.action-card-badge {
    background: #C41E3A;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 2px 7px;
    border-radius: 20px;
    animation: handy-badge-pulse 1.8s ease-in-out infinite;
}
@keyframes handy-badge-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(0.94); }
}
.action-card {
-webkit-appearance: none;
    appearance: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
        padding: 16px 14px;
    min-height: 150px;
    justify-content: space-between;
    border-radius: 16px;
    border: 1.5px solid #eee;
    background: #fff;
    box-shadow: 0 4px 0 rgba(0,0,0,0.1), 0 6px 14px rgba(0,0,0,0.08);
    cursor: pointer;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    transition: transform 0.08s ease, box-shadow 0.08s ease;
}
.action-card:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(0,0,0,0.1), 0 2px 6px rgba(0,0,0,0.06); }
.action-card-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin-bottom: 10px;
}
.action-card-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 6px;
    line-height: 1.35;
}
.action-card-desc {
    font-size: 0.7rem;
    color: #595959;
    line-height: 1.5;
}


/* ===== Liquid Metal Shine (vanilla CSS version) ===== */
.action-card-metal {
    position: relative;
    overflow: hidden;
    color: #fff;
    border: none;
}
.action-card-metal::after {
    content: "";
    position: absolute;
    top: 0; left: -150%;
    width: 80%; height: 100%;
    background: linear-gradient(
        100deg,
        transparent 20%,
        rgba(255,255,255,0.05) 35%,
        rgba(255,255,255,0.55) 48%,
        rgba(255,255,255,0.05) 65%,
        transparent 80%
    );
    animation: metal-sweep 3.5s ease-in-out infinite;
    pointer-events: none;
}
@keyframes metal-sweep {
    0%   { left: -150%; }
    50%  { left: 150%; }
    100% { left: 150%; }
}


.action-card-metal.card-lpg {
    background: linear-gradient(135deg, #C41E3A 0%, #8e1729 100%);
}
.action-card-metal.card-lpg .action-card-icon { background: rgba(255,255,255,0.18); color: #fff; }
.action-card-metal.card-lpg .action-card-title { color: #fff; }
.action-card-metal.card-lpg .action-card-desc { color: rgba(255,255,255,0.85); }


.action-card-metal.card-primary {
    background: linear-gradient(135deg, #1B5E20 0%, #0d3d10 100%);
}
.action-card-metal.card-primary .action-card-icon { background: rgba(255,255,255,0.18); color: #fff; }
.action-card-metal.card-primary .action-card-title { color: #fff; }
.action-card-metal.card-primary .action-card-desc { color: rgba(255,255,255,0.85); }


.action-card-metal.card-primary::after {
    animation-delay: 1.2s;
}


/* ===== Homepage International Escalation Spotlight Banner ===== */
.intl-spotlight-banner {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    max-width: 340px;
    margin: 0 auto 18px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    text-align: left;
    padding: 16px;
    border: none;
    border-radius: 18px;
    background: linear-gradient(135deg, #0f766e 0%, #1e3a8a 100%);
    box-shadow: 0 4px 0 rgba(0,0,0,0.12), 0 8px 20px rgba(15,23,42,0.22);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    animation: install-nudge-up 0.4s ease-out backwards;
    animation-delay: 0.05s;
    transition: transform 0.08s ease, box-shadow 0.08s ease;
}
.intl-spotlight-banner:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(0,0,0,0.12), 0 3px 8px rgba(15,23,42,0.18); }
.intl-spotlight-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.16);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.intl-spotlight-icon::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.4);
    animation: intl-spotlight-pulse 2.4s ease-out infinite;
}
@keyframes intl-spotlight-pulse {
    0% { transform: scale(0.85); opacity: 0.8; }
    70% { transform: scale(1.3); opacity: 0; }
    100% { transform: scale(1.3); opacity: 0; }
}
.intl-spotlight-body { flex: 1; min-width: 0; }
.intl-spotlight-eyebrow {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.78);
    background: rgba(255,255,255,0.14);
    padding: 2px 7px;
    border-radius: 20px;
    margin-bottom: 6px;
}
.intl-spotlight-title { display: block; font-size: 0.9rem; font-weight: 700; color: #fff; line-height: 1.35; margin-bottom: 4px; }
.intl-spotlight-desc { display: block; font-size: 0.72rem; color: rgba(255,255,255,0.85); line-height: 1.5; margin-bottom: 8px; }
.intl-spotlight-cta { display: block; font-size: 0.74rem; font-weight: 700; color: #fff; }

.action-card.card-reports {
    background: #eef5fc;
    border-color: #d3e6f8;
}
.action-card.card-reports .action-card-icon { background: rgba(21,101,192,0.14); color: #1565c0; }

.action-card.card-dashboard {
    background: #f5eefc;
    border-color: #e4d3f8;
}
.action-card.card-dashboard .action-card-icon { background: rgba(106,27,154,0.14); color: #6a1b9a; }

.action-card.card-tools {
    background: #e6f7f9;
    border-color: #bfe9ec;
}
.action-card.card-tools .action-card-icon { background: rgba(0,131,143,0.14); color: #00838f; }
.action-card.card-tools .action-card-icon.action-card-icon--bloom { background: rgba(196,30,58,0.12); }

/* Tools screen */
.tools-screen-body { padding: 4px 16px 32px; }
.tool-section-title {
    font-size: 0.72rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase;
    color: #00838f; margin: 22px 4px 10px;
}
.tool-section-title:first-child { margin-top: 6px; }
.tool-menu-card {
    display: flex; align-items: center; gap: 14px; width: 100%;
    background: #fff; border: 1.5px solid #eee; border-radius: 16px;
    padding: 16px; margin-bottom: 14px; text-align: left; cursor: pointer;
    box-shadow: 0 3px 12px rgba(0,131,143,0.08);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.tool-menu-card:active { transform: scale(0.97); box-shadow: 0 1px 4px rgba(0,131,143,0.1); }
.tool-menu-card--hub { border-left: 4px solid #e53935; }
.tool-menu-icon {
    font-size: 1.5rem; flex-shrink: 0; width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 14px; background: linear-gradient(135deg, #00acc1 0%, #005662 100%);
    box-shadow: 0 4px 10px rgba(0,86,98,0.25);
}
.tool-menu-icon--live { background: linear-gradient(135deg, #0288d1 0%, #01579b 100%); box-shadow: 0 4px 10px rgba(1,87,155,0.25); }
.tool-menu-icon--safety { background: linear-gradient(135deg, #e53935 0%, #b71c1c 100%); box-shadow: 0 4px 10px rgba(183,28,28,0.25); }
.tool-menu-icon--action { background: linear-gradient(135deg, #ffa726 0%, #e65100 100%); box-shadow: 0 4px 10px rgba(230,81,0,0.25); }
.tool-menu-title-row { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.tool-menu-title { display: block; font-weight: 700; color: #005662; font-size: 0.95rem; }
.tool-menu-badge {
    display: inline-block; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.03em;
    text-transform: uppercase; padding: 2px 8px; border-radius: 20px; flex-shrink: 0;
    background: #e6f7f9; color: #006064;
}
.tool-menu-badge--muted { background: #eee; color: #5a5a5a; }
.tool-menu-badge--action { background: #fff3e0; color: #8a4b00; }
.tool-menu-desc { display: block; font-size: 0.78rem; color: #666; margin-top: 2px; }
.tool-menu-arrow { margin-left: auto; color: #ccc; font-size: 1.1rem; flex-shrink: 0; }

/* Rhododendron bloom: Handy Tools category launcher */
.action-card-icon--bloom { background: rgba(196,30,58,0.1); }
.bloom-wrap { display: flex; flex-direction: column; align-items: center; padding: 10px 0 18px; }
.bloom-center { margin-bottom: 6px; filter: drop-shadow(0 4px 8px rgba(196,30,58,0.35)); }
.bloom-petals { display: flex; gap: 12px; width: 100%; }
.bloom-petal {
    -webkit-appearance: none; appearance: none; border: none; cursor: pointer;
    background: transparent; --petal-top: #ff7a93; --petal-bottom: #7a0f24;
    flex: 1; position: relative; aspect-ratio: 10 / 13; min-height: 96px;
    padding: 0; transition: transform 0.15s ease;
    filter: drop-shadow(0 5px 9px rgba(196,30,58,0.35));
    animation: bloom-in 0.4s ease-out backwards;
}
.bloom-petal:nth-child(2) { animation-delay: 0.08s; }
.bloom-petal:nth-child(3) { animation-delay: 0.16s; }
.bloom-petal:active { transform: scale(0.94); }
.bloom-petal[aria-expanded="true"] { --petal-top: #ffd54f; --petal-bottom: #e65100; filter: drop-shadow(0 5px 9px rgba(230,81,0,0.4)); }
.bloom-petal-shape { position: absolute; inset: 0; width: 100%; height: 100%; }
.bloom-petal-content {
    position: absolute; inset: 0; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 5px; padding: 6px 4px 14px;
    color: #fff;
}
.bloom-petal-icon { flex-shrink: 0; }
.bloom-petal-label { font-size: 0.73rem; font-weight: 700; letter-spacing: 0.01em; text-align: center; line-height: 1.2; }
.bloom-group[hidden] { display: none; }
.bloom-group:not([hidden]) { animation: bloom-group-unfurl 0.3s ease-out; }
@keyframes bloom-in { from { transform: scale(0) rotate(-30deg); opacity: 0; } to { transform: scale(1) rotate(0); opacity: 1; } }
@keyframes bloom-group-unfurl { from { opacity: 0; transform: translateY(-8px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (prefers-reduced-motion: reduce) {
    .bloom-petal, .bloom-group:not([hidden]) { animation: none !important; }
}
.tools-tip-card {
    display: flex; align-items: flex-start; gap: 10px; margin-top: 8px;
    padding: 14px 16px; border-radius: 14px; background: #f1fbfc;
    border: 1.5px dashed #b2ebf2; color: #00707c; font-size: 0.8rem; line-height: 1.5;
}
.ad-slot {
    margin-top: 20px; padding-top: 16px; border-top: 1px solid #eee;
}
/* Google reserves layout space for an auto-format ad before it knows the
   slot won't fill; once it flags data-ad-status="unfilled" collapse the
   whole slot (label + placeholder space) instead of leaving a blank block. */
.ad-slot:has(ins[data-ad-status="unfilled"]) {
    margin-top: 0; padding-top: 0; border-top: none; display: none;
}
.ad-slot-label {
    font-size: 0.65rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
    color: #707070; text-align: center; margin-bottom: 8px;
}
.ad-slot-placeholder {
    min-height: 90px; border-radius: 12px; background: #fafafa; border: 1.5px dashed #ddd;
    color: #707070; font-size: 0.8rem; display: flex; align-items: center; justify-content: center;
}
/* Once loadAd() swaps the placeholder for a real <ins>, AdSense hasn't sized it yet
   (no data-ad-status attribute), so it renders at 0 height until the ad script resolves
   — reserve the same space with a shimmer so the page doesn't collapse then jump. */
.ad-slot ins.adsbygoogle:not([data-ad-status]) {
    display: block; min-height: 90px; border-radius: 12px;
    background: linear-gradient(90deg, #f5f5f5 25%, #ececec 37%, #f5f5f5 63%);
    background-size: 400% 100%; animation: ad-skeleton-shimmer 1.4s ease infinite;
}
@keyframes ad-skeleton-shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.tool-tabs {
    display: flex; gap: 6px; margin-bottom: 18px; background: #eef6f7;
    border-radius: 12px; padding: 4px;
}
.tool-tab {
    flex: 1; padding: 10px; border-radius: 10px; border: none;
    background: transparent; color: #567; font-weight: 600; font-size: 0.85rem; cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.tool-tab.active { background: #00838f; color: #fff; box-shadow: 0 3px 10px rgba(0,131,143,0.35); }
.tool-label { display: block; font-size: 0.8rem; color: #666; font-weight: 600; margin-bottom: 8px; }
.tool-date-input, .tool-select {
    width: 100%; padding: 12px; border-radius: 10px; border: 1.5px solid #ddd;
    font-size: 0.95rem; background: #fff; transition: border-color 0.15s ease;
}
.tool-date-input:focus, .tool-select:focus { border-color: #00838f; }
.tool-bs-input-row { display: flex; gap: 8px; align-items: center; }
.currency-input-row { display: flex; gap: 8px; align-items: center; margin-bottom: 10px; }
.currency-input-row .tool-select { min-width: 0; }
.tool-swap-btn {
    background: linear-gradient(135deg, #00acc1 0%, #005662 100%); color: #fff; border: none; border-radius: 50%;
    width: 38px; height: 38px; flex-shrink: 0; font-size: 1.05rem; cursor: pointer;
    box-shadow: 0 3px 8px rgba(0,86,98,0.3); transition: transform 0.2s ease;
}
.tool-swap-btn:active { transform: rotate(180deg) scale(0.95); }
.tool-result-box {
    margin-top: 18px; padding: 22px 18px; text-align: center;
    background: linear-gradient(135deg, #00acc1 0%, #00636e 100%);
    border-radius: 16px; color: #fff; font-size: 1.25rem; font-weight: 800;
    min-height: 24px; line-height: 1.5; box-shadow: 0 8px 22px rgba(0,131,143,0.28);
}
.tool-result-box:empty { background: #eef6f7; box-shadow: none; }
.metal-calc-step-row {
    display: flex; justify-content: space-between; gap: 10px;
    text-align: left; font-size: 0.82rem; font-weight: 500;
    padding: 4px 0; border-bottom: 1px solid rgba(255,255,255,0.18);
}
.metal-calc-step-row:last-of-type { border-bottom: none; }
.metal-calc-sources {
    text-align: left; font-size: 0.8rem; font-weight: 400;
    margin: 4px 0 0; padding-left: 18px; line-height: 1.5;
}
.unit-ref-card {
    margin-top: 18px; padding: 14px 16px; border-radius: 14px;
    background: #f8fefe; border: 1.5px solid #e0f4f6;
}
.unit-ref-title {
    font-size: 0.68rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase;
    color: #006064; margin-bottom: 8px;
}
.unit-ref-row {
    display: flex; justify-content: space-between; gap: 10px; font-size: 0.8rem;
    color: #456; padding: 7px 0; border-bottom: 1px dashed #e0f0f1;
}
.unit-ref-row:last-child { border-bottom: none; }
.unit-ref-row b { color: #005662; }

/* Land Area Measurer */
.land-warn-card {
    display: flex; align-items: flex-start; gap: 10px; margin-bottom: 16px;
    padding: 14px 16px; border-radius: 14px; background: #fff8e1;
    border: 1.5px solid #ffe082; color: #8a6100; font-size: 0.82rem; line-height: 1.55; font-weight: 600;
}
.land-how-list { margin-bottom: 4px; }
.land-how-step {
    display: flex; align-items: flex-start; gap: 12px; padding: 10px 2px;
    font-size: 0.86rem; color: #445; line-height: 1.5;
}
.land-how-num {
    flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
    background: linear-gradient(135deg, #00acc1 0%, #005662 100%); color: #fff;
    font-weight: 800; font-size: 0.8rem; display: flex; align-items: center; justify-content: center;
}
.land-primary-btn {
    width: 100%; padding: 16px; border: none; border-radius: 14px; cursor: pointer;
    background: linear-gradient(135deg, #00acc1 0%, #00636e 100%); color: #fff;
    font-size: 1rem; font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 8px;
    box-shadow: 0 8px 20px rgba(0,131,143,0.3); transition: transform 0.15s ease;
    margin-bottom: 10px;
}
.land-primary-btn:active { transform: scale(0.97); }
.land-finish-btn {
    width: 100%; padding: 16px; border: none; border-radius: 14px; cursor: pointer;
    background: linear-gradient(135deg, #43a047 0%, #1b5e20 100%); color: #fff;
    font-size: 1rem; font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 8px;
    box-shadow: 0 8px 20px rgba(27,94,32,0.3); transition: transform 0.15s ease, opacity 0.15s ease;
}
.land-finish-btn:active { transform: scale(0.97); }
.land-finish-btn:disabled { opacity: 0.4; box-shadow: none; cursor: not-allowed; }
.land-error-card {
    margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: #ffebee;
    border: 1.5px solid #ffcdd2; color: #c62828; font-size: 0.8rem; text-align: center; font-weight: 600;
}
.land-status-row { display: flex; gap: 8px; margin-bottom: 10px; }
.land-chip {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
    padding: 9px; border-radius: 10px; font-size: 0.8rem; font-weight: 700;
}
.land-chip-ok { background: #e8f5e9; color: #2e7d32; }
.land-chip-warn { background: #fff8e1; color: #ef6c00; }
.land-chip-bad { background: #ffebee; color: #c62828; }
.land-chip-neutral { background: #eef6f7; color: #00707c; }
.land-speed-banner {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px; margin-bottom: 10px; border-radius: 12px; background: #c62828; color: #fff;
    font-weight: 700; font-size: 0.85rem; animation: land-pulse 0.9s ease-in-out infinite;
}
@keyframes land-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.75; } }
.land-accuracy-hint {
    padding: 10px 14px; margin-bottom: 10px; border-radius: 12px;
    font-size: 0.8rem; font-weight: 700; text-align: center; line-height: 1.5;
}
.land-accuracy-hint-warn { background: #fff8e1; color: #ef6c00; border: 1.5px solid #ffe082; }
.land-accuracy-hint-bad { background: #ffebee; color: #c62828; border: 1.5px solid #ffcdd2; }
.land-closure-note { color: #00838f; font-weight: 700; }
.land-canvas {
    width: 100%; aspect-ratio: 1 / 1; border-radius: 16px; background: #f4fbfb;
    border: 1.5px solid #e0f0f1; margin-bottom: 14px; display: block;
}
#land-result-canvas { aspect-ratio: 3 / 2; }
.land-action-row { display: flex; gap: 8px; margin-bottom: 10px; }
.land-secondary-btn {
    flex: 1; padding: 12px; border-radius: 12px; cursor: pointer;
    background: #fff; border: 1.5px solid #ddd; color: #567; font-weight: 700; font-size: 0.82rem;
    display: flex; align-items: center; justify-content: center; gap: 6px;
}
.land-secondary-btn:active { background: #f5f5f5; }

.customs-section {
    background: #fff; border: 1.5px solid #eee; border-radius: 16px;
    padding: 16px; margin-bottom: 14px; box-shadow: 0 3px 12px rgba(0,131,143,0.06);
}
.customs-section-title {
    margin: 0 0 10px; font-size: 0.85rem; font-weight: 800; color: #005662;
    text-transform: uppercase; letter-spacing: 0.03em;
}
.customs-item-list { margin: 0; padding: 0; list-style: none; }
.customs-item-list li {
    position: relative; padding: 6px 0 6px 20px; font-size: 0.88rem;
    color: #444; line-height: 1.4; border-top: 1px solid #f4f4f4;
}
.customs-item-list li:first-child { border-top: none; }
.customs-item-list li::before {
    content: '•'; position: absolute; left: 4px; color: #00acc1; font-weight: 800;
}
.customs-item-list.no-bullet li { padding-left: 4px; }
.customs-item-list.no-bullet li::before { content: none; }
.cpr-step-list { display: flex; flex-direction: column; gap: 10px; }
.cpr-step-card { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid #f4f4f4; }
.cpr-step-card:first-child { border-top: none; padding-top: 0; }
.cpr-step-badge {
    position: relative; flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%;
    background: #e0f7fa; color: #00838f; display: flex; align-items: center; justify-content: center;
}
.cpr-step-num {
    position: absolute; bottom: -3px; right: -3px; width: 18px; height: 18px; border-radius: 50%;
    background: #00838f; color: #fff; font-size: 0.65rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center; border: 2px solid #fff;
}
.cpr-step-text h4 { margin: 2px 0 4px; font-size: 0.92rem; color: #222; }
.cpr-step-text p { margin: 0; font-size: 0.85rem; color: #555; line-height: 1.5; }
.familyplan-check-row {
    display: flex; align-items: center; gap: 10px; padding: 10px 4px;
    border-top: 1px solid #f4f4f4; font-size: 0.9rem; color: #444; cursor: pointer;
}
.familyplan-check-row:first-child { border-top: none; }
.familyplan-check-row input[type="checkbox"] { width: 18px; height: 18px; flex-shrink: 0; }
.customs-footer {
    text-align: center; font-size: 0.75rem; color: #707070; margin-top: 8px; line-height: 1.6;
}
.customs-footer a { color: #00838f; font-weight: 700; }
.customs-disclaimer {
    color: #b71c1c; background: #fff3f3; border: 1px solid #ffd9d9;
    border-radius: 10px; padding: 8px 12px; margin-top: 8px;
}

.customs-intro { font-size: 0.9rem; color: #555; line-height: 1.6; margin: 0 0 16px; }

.intl-category-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.intl-category-list .tool-menu-card { animation: install-nudge-up 0.35s ease backwards; }
.intl-category-list .tool-menu-card:nth-child(1) { animation-delay: 0.03s; }
.intl-category-list .tool-menu-card:nth-child(2) { animation-delay: 0.06s; }
.intl-category-list .tool-menu-card:nth-child(3) { animation-delay: 0.09s; }
.intl-category-list .tool-menu-card:nth-child(4) { animation-delay: 0.12s; }
.intl-category-list .tool-menu-card:nth-child(5) { animation-delay: 0.15s; }
.intl-category-list .tool-menu-card:nth-child(6) { animation-delay: 0.18s; }
.intl-followup-link { width: 100%; }

.intl-channels { animation: install-nudge-up 0.35s ease; }
.intl-channel-card {
    background: #f8fdfe; border: 1.5px solid #dff3f5; border-radius: 12px;
    padding: 12px 14px; margin-bottom: 10px; transition: border-color 0.15s, transform 0.15s;
}
.intl-channel-card:hover { border-color: #00acc1; transform: translateY(-1px); }
.intl-channel-name { font-weight: 700; font-size: 0.9rem; color: #005662; margin-bottom: 4px; }
.intl-channel-note { font-size: 0.82rem; color: #607d8b; line-height: 1.5; margin: 4px 0 8px; }
.intl-channel-check { display: flex; align-items: center; gap: 10px; }
.intl-channel-check input { width: 20px; height: 20px; accent-color: #00838f; flex-shrink: 0; }
a.intl-channel-link { display: inline-block; width: auto; max-width: none; padding: 8px 16px; font-size: 0.82rem; text-decoration: none; }
#international-escalation-form-screen .success-icon { animation: bloom-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
.field-required { color: #c41e3a; font-weight: 700; }
.field-optional { color: #888; font-weight: 400; font-size: 0.82em; }
.intl-whistleblower-disclaimer {
    display: flex; gap: 8px; align-items: flex-start;
    background: #fff8e1; border: 1px solid #ffe082; border-radius: 10px;
    padding: 10px 12px; margin: -6px 0 14px; font-size: 0.78rem; color: #7a5c00; line-height: 1.5;
}
.intl-formonly-notice {
    background: #e0f7fa; border: 1px solid #80deea; color: #00595e;
    border-radius: 10px; padding: 10px 12px; margin: 0 0 14px; font-size: 0.85rem; line-height: 1.5;
}

/* Reserves the banner's typical height before JS fills it in, so the fetch
   completing doesn't push the toolbar/tabs/station list down (high CLS). */
#flood-personal-banner { min-height: 90px; }
.flood-banner {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 14px 16px; border-radius: 14px; margin-bottom: 14px;
    font-size: 0.85rem; line-height: 1.5; font-weight: 600;
}
.flood-banner-icon { font-size: 1.3rem; flex-shrink: 0; }
.flood-banner-text { flex: 1; }
.flood-banner-body { flex: 1; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.flood-banner-cta {
    background: none; border: 1.5px solid currentColor; border-radius: 8px;
    cursor: pointer; font-size: 0.78rem; font-weight: 700; color: inherit;
    padding: 4px 10px;
}
.flood-banner-close {
    background: none; border: none; cursor: pointer; font-size: 0.9rem;
    color: inherit; opacity: 0.6; flex-shrink: 0; padding: 0 2px;
}
.flood-banner-high { background: #fff3f3; border: 1.5px solid #ffb3b3; color: #b71c1c; }
.flood-banner-soft { background: #fff8e1; border: 1.5px solid #ffe082; color: #8d6e00; }
.flood-banner-clear { background: #f1fbfc; border: 1.5px solid #b2ebf2; color: #00707c; }
#flood-locate-btn { margin-bottom: 14px; }
.flood-updated-note { text-align: center; font-size: 0.72rem; color: #707070; margin: -6px 0 16px; }

.flood-toolbar { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.flood-search-box {
    display: flex; align-items: center; gap: 8px; padding: 10px 12px;
    background: #f4fafb; border: 1.5px solid #e0edee; border-radius: 12px;
    color: #789; transition: border-color 0.15s ease;
}
.flood-search-box:focus-within { border-color: #00acc1; }
.flood-search-box svg { width: 17px; height: 17px; flex-shrink: 0; }
.flood-search-box input {
    flex: 1; min-width: 0; border: none; background: none;
    font-size: 0.85rem; color: #222;
}
.flood-search-box input:focus:not(:focus-visible) { outline: none; }
.flood-search-clear {
    display: flex; align-items: center; justify-content: center;
    width: 20px; height: 20px; border-radius: 50%; border: none; background: #dceff1;
    color: #567; font-size: 0.95rem; line-height: 1; cursor: pointer; flex-shrink: 0;
}
.flood-sort-group { display: flex; gap: 6px; overflow-x: auto; -ms-overflow-style: none; scrollbar-width: none; }
.flood-sort-group::-webkit-scrollbar { display: none; }
.flood-sort-btn {
    flex-shrink: 0; display: flex; align-items: center; gap: 4px;
    padding: 6px 12px; border-radius: 20px; border: 1.5px solid #e0edee;
    background: #fff; color: #678; font-weight: 700; font-size: 0.72rem;
    text-transform: uppercase; letter-spacing: 0.02em; cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.flood-sort-btn.active { background: #00838f; border-color: #00838f; color: #fff; }
.flood-sort-arrow { font-size: 0.8rem; }

.flood-empty-state { text-align: center; color: #707070; padding: 28px 16px; font-size: 0.85rem; }

.flood-station-card {
    display: flex; align-items: center; gap: 12px;
    padding: 13px 14px; border-radius: 14px; background: #fff; border: 1.5px solid #eee;
    margin-bottom: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.flood-station-card:hover { transform: translateY(-1px); box-shadow: 0 5px 14px rgba(0,0,0,0.06); }
.flood-station-card.warn { border-color: #ffe082; background: #fffdf5; }
.flood-station-card.danger { border-color: #ffb3b3; background: #fff8f8; }
.flood-station-icon {
    flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; background: #e8f5e9;
}
.flood-station-card.warn .flood-station-icon { background: #fff3cf; }
.flood-station-card.danger .flood-station-icon { background: #ffe3e3; }
.flood-station-card.info .flood-station-icon { background: #e0f4f6; }
.flood-station-body { flex: 1; min-width: 0; }
.flood-station-name { display: block; font-weight: 700; color: #222; font-size: 0.88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.flood-station-meta { display: block; font-size: 0.72rem; color: #707070; margin-top: 2px; }
.flood-station-badge {
    display: inline-block; font-size: 0.65rem; font-weight: 800; text-transform: uppercase;
    letter-spacing: 0.03em; padding: 3px 8px; border-radius: 8px; margin-top: 5px;
}
.flood-station-badge.ok { background: #e8f5e9; color: #1B5E20; }
.flood-station-badge.warn { background: #fff8e1; color: #8d6e00; }
.flood-station-badge.danger { background: #ffebee; color: #b71c1c; }
.flood-station-badge.info { background: #e0f4f6; color: #00707c; }
.flood-station-value {
    text-align: right; font-size: 0.92rem; color: #005662; font-weight: 800;
    flex-shrink: 0; white-space: nowrap; font-variant-numeric: tabular-nums;
}



.btn-emergency {
    width: 100%;
    max-width: 320px;
    padding: 14px;
    background: linear-gradient(135deg, #b71c1c 0%, #7f0000 100%);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 14px;
    box-shadow: 0 4px 15px rgba(183,28,28,0.35);
}
.btn-emergency:active { transform: scale(0.97); }

.emergency-modal-box {
    max-height: 80vh;
    overflow-y: auto;
}
.emergency-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 4px;
}
.emergency-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    background: #fff5f5;
    border: 1px solid #ffcdd2;
    border-radius: 10px;
    text-decoration: none;
    color: #212121;
    font-size: 0.88rem;
    transition: background 0.15s;
}
.emergency-row:active {
    background: #ffe0e0;
}
.emergency-row strong {
    color: #C41E3A;
    font-size: 1rem;
    font-weight: 800;
    margin-left: 12px;
    white-space: nowrap;
}


.impact-panel {
    width: 100%;
    max-width: 320px;
    background: linear-gradient(180deg, #fff 0%, #f7fbf7 100%);
    border: 1.5px solid #cfe8d1;
    border-radius: 16px;
    padding: 16px 18px;
    margin-bottom: 22px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(27,94,32,0.08);
}
.impact-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #1B5E20;
    margin-bottom: 6px;
}
.impact-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #2E7D32;
    box-shadow: 0 0 0 rgba(46,125,50,0.5);
    animation: impact-pulse 1.8s infinite;
}
@keyframes impact-pulse {
    0% { box-shadow: 0 0 0 0 rgba(46,125,50,0.5); }
    70% { box-shadow: 0 0 0 6px rgba(46,125,50,0); }
    100% { box-shadow: 0 0 0 0 rgba(46,125,50,0); }
}
.impact-total {
    font-size: 2.1rem;
    font-weight: 800;
    color: #1B5E20;
    line-height: 1.1;
}
.impact-total-label {
    font-size: 0.78rem;
    color: #707070;
    margin-bottom: 14px;
}
.impact-breakdown {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.impact-stat {
    background: #fafafa;
    border-radius: 10px;
    padding: 8px 4px;
    border-top: 2px solid transparent;
    transition: transform 0.15s ease;
}
.impact-stat:hover { transform: translateY(-2px); }
.impact-stat-icon {
    font-size: 0.85rem;
    line-height: 1;
    margin-bottom: 2px;
}
.impact-stat-count {
    font-size: 1rem;
    font-weight: 700;
    color: #C41E3A;
}
.impact-stat-label {
    font-size: 0.62rem;
    color: #595959;
    margin-top: 2px;
    line-height: 1.3;
}
.impact-stat--citizen { border-top-color: #C41E3A; }
.impact-stat--lpg { border-top-color: #E65100; }
.impact-stat--lpg .impact-stat-count { color: #E65100; }
.impact-stat--intl { border-top-color: #00838f; }
.impact-stat--intl .impact-stat-count { color: #00838f; }
.impact-panel.loading .impact-total,
.impact-panel.loading .impact-breakdown { opacity: 0.35; }


@property --gradient-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@property --gradient-angle-offset {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

/* ===== Primary (Green) Button ===== */
        .btn-primary { 
            width: 100%; 
            max-width: 320px; 
            padding: 16px; 
            color: white; 
            background: transparent; /* Background moved to ::after to allow border animation */
            border: none; 
            border-radius: 360px; 
            font-size: 1.1rem; 
            font-weight: 600; 
            cursor: pointer; 
            margin-bottom: 14px; 
            box-shadow: 0 4px 15px rgba(27,94,32,0.25); 
            position: relative;
            isolation: isolate; /* Crucial: Keeps the spinning background behind the text */
            overflow: hidden;
        }

.btn-primary:active { transform: scale(0.97); }
.btn-primary:active::before { animation-duration: 1s; }

/* The Spinning Light Effect */
                .btn-primary::before {
            content: "";
            position: absolute;
            top: -50%; left: -50%; width: 200%; height: 200%;
            background: conic-gradient(
                from var(--gradient-angle),
                transparent,
                rgba(255,255,255,0.85) 8%,
                #66BB6A 16%,
                rgba(255,255,255,0.85) 24%,
                transparent 32%
            );
            animation: gradient-spin 3s linear infinite;
            z-index: -2;
        }

/* The Original Green Background (inset by 2px to reveal the spinning border) */
        .btn-primary::after {
            content: "";
            position: absolute;
            inset: 2px; /* This creates the 2px border thickness */
            background: #1B5E20; /* Your original color */
            border-radius: 360px;
            z-index: -1;
        }

        .btn-secondary { 
            width: 100%; 
            max-width: 320px; 
            padding: 14px; 
            background: #ffffff; 
            color: #444; 
            border: 1.5px solid #e8e8e8; 
            border-radius: 360px; 
            font-size: 1rem; 
            font-weight: 600; 
            cursor: pointer; 
            margin-bottom: 14px; 
            box-shadow: 0 2px 8px rgba(0,0,0,0.04);
        }
.btn-secondary:active { transform: scale(0.97); background: #f5f5f5; }

        /* ===== Danger (Red) Button ===== */
        .btn-danger { 
            width: 100%; 
            max-width: 320px; 
            padding: 16px; 
            color: white; 
            background: transparent; /* Background moved to ::after to allow border animation */
            border: none; 
            border-radius: 360px; 
            font-size: 1.05rem; 
            font-weight: 700; 
            cursor: pointer; 
            margin-bottom: 14px; 
            box-shadow: 0 6px 20px rgba(196,30,58,0.3); 
            position: relative;
            isolation: isolate;
            overflow: hidden;
        }

.btn-danger:active { transform: scale(0.97); }
.btn-danger:active::before { animation-duration: 1s; }

/* The Spinning Light Effect */
                .btn-danger::before {
            content: "";
            position: absolute;
            top: -50%; left: -50%; width: 200%; height: 200%;
            background: conic-gradient(
                from var(--gradient-angle),
                transparent,
                rgba(255,255,255,0.9) 8%,
                #EF5350 16%,
                rgba(255,255,255,0.9) 24%,
                transparent 32%
            );
            animation: gradient-spin 3s linear infinite;
            z-index: -2;
        }

/* The Original Red Background (inset by 2px to reveal the spinning border) */
        .btn-danger::after {
            content: "";
            position: absolute;
            inset: 2px; /* This creates the 2px border thickness */
            background: linear-gradient(135deg, #C41E3A 0%, #b71c1c 100%); /* Your original gradient */
            border-radius: 360px;
            z-index: -1;
        }

                /* The Animation Engine */
        @keyframes gradient-spin {
            to { --gradient-angle: 360deg; }
        }

        @keyframes card-spin {
            100% { transform: rotate(360deg); }
        }


        .lang-toggle { position: absolute; top: 16px; right: 16px; background: #f5f5f5; border: none; padding: 8px 14px; border-radius: 20px; font-size: 0.85rem; cursor: pointer; font-weight: 600; }
        #install-btn { display: none; width: 100%; max-width: 320px; padding: 14px; background: #C41E3A; color: white; border: none; border-radius: 14px; font-size: 1rem; font-weight: 600; cursor: pointer; margin-bottom: 14px; }
        .version-tag { margin-top: 4px; font-size: 0.7rem; color: #C41E3A; font-weight: 700; background: #ffebee; padding: 4px 12px; border-radius: 12px; display: inline-block; }
        .footer-note { margin-top: 12px; font-size: 0.75rem; color: #666; }

        /* Sector Screen */
                #sector-screen { padding: 0 20px 100px; }
        .sector-header { font-size: 1.3rem; font-weight: 700; margin-bottom: 20px; text-align: center; }
        .sector-card { background: #fff; border: 2px solid #eee; border-radius: 16px; padding: 20px; margin-bottom: 12px; cursor: pointer; display: flex; align-items: center; gap: 14px; transition: all 0.2s; }
        .sector-card:active { transform: scale(0.98); border-color: #C41E3A; }
        .sector-icon { font-size: 2.2rem; }
        .sector-name { font-size: 1.05rem; font-weight: 600; }
        .sector-desc { font-size: 0.82rem; color: #707070; margin-top: 3px; }

        /* Camera Screen */
        #camera-screen { background: #000; padding: 0; overflow: hidden; align-items: center; justify-content: center; }
        #video-preview { width: 100%; height: auto; max-height: 70vh; object-fit: contain; display: block; }
        #camera-fallback { display: none; width: 100%; height: auto; min-height: 60vh; flex-direction: column; align-items: center; justify-content: center; color: white; padding: 24px; text-align: center; }
        #gps-status { position: absolute; top: 16px; left: 68px; right: 16px; background: rgba(0,0,0,0.75); color: white; padding: 10px 14px; border-radius: 10px; font-size: 0.82rem; z-index: 10; backdrop-filter: blur(4px); line-height: 1.5; }
        #capture-btn { position: absolute; bottom: 60px; left: 50%; transform: translateX(-50%); width: 76px; height: 76px; border-radius: 50%; background: rgba(255,255,255,0.3); border: 4px solid white; cursor: pointer; z-index: 10; }
        #capture-btn::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 56px; height: 56px; border-radius: 50%; background: white; }
        #capture-btn:active::after { background: #ffcccc; }
        .back-btn { position: absolute; top: 16px; right: 16px; z-index: 15; background: rgba(0,0,0,0.5); color: white; border: none; width: 40px; height: 40px; border-radius: 50%; font-size: 1.2rem; cursor: pointer; display: flex; align-items: center; justify-content: center; }

        /* Review Screen */
        #review-screen { padding: 16px; padding-bottom: 100px; background: #f8f8f8; }
        .review-image { width: 100%; max-height: 40vh; object-fit: contain; border-radius: 12px; margin-bottom: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
        .info-card { background: white; padding: 14px; border-radius: 12px; margin-bottom: 16px; font-size: 0.88rem; line-height: 1.6; border-left: 4px solid #C41E3A; }
        label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.92rem; }
                select, textarea, input[type="text"], input[type="number"], input[type="tel"], input[type="date"] { width: 100%; padding: 13px 14px; border: 1.5px solid #e5e5e5; border-radius: 12px; font-size: 0.95rem; font-family: inherit; margin-bottom: 16px; background: #fafafa; transition: border-color 0.15s, background 0.15s; }
        textarea { min-height: 90px; resize: none; }
        select:focus, textarea:focus, input:focus { border-color: #C41E3A; background: #fff; }
        select:focus:not(:focus-visible), textarea:focus:not(:focus-visible), input:focus:not(:focus-visible) { outline: none; }
        .urgent-check { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; padding: 12px; background: #fff3f3; border-radius: 10px; border: 1px solid #ffcdd2; }
        .urgent-check input { width: 20px; height: 20px; accent-color: #C41E3A; }
        .intl-whistleblower-toggle { background: #f3e8ff; border-color: #d6b8fb; }
        .intl-whistleblower-toggle input { accent-color: #7b1fa2; }
        .emergency-banner { display: none; background: #ffebee; border: 2px solid #C41E3A; border-radius: 12px; padding: 16px; margin-bottom: 16px; color: #b71c1c; }
        .emergency-banner .emergency-title { font-weight: 700; font-size: 1rem; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
        .emergency-banner .emergency-text { font-size: 0.88rem; line-height: 1.6; margin-bottom: 10px; }
        .emergency-banner .emergency-number { display: inline-block; background: #C41E3A; color: white; padding: 8px 16px; border-radius: 8px; font-weight: 700; font-size: 1.1rem; text-decoration: none; }
        .bottom-bar { position: fixed; bottom: 0; left: 0; right: 0; max-width: 480px; margin: 0 auto; background: white; padding: 12px 16px; border-top: 1px solid #eee; z-index: 100; }

        /* Send Screen */
        #send-screen { align-items: center; justify-content: center; padding: 24px; text-align: center; background: #f8f8f8; }
        .send-box { background: white; padding: 32px 24px; border-radius: 20px; width: 100%; max-width: 340px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
        .send-icon { font-size: 3.5rem; margin-bottom: 16px; }
        .report-id { background: #f5f5f5; padding: 10px 16px; border-radius: 8px; font-family: monospace; font-size: 0.9rem; margin: 12px 0; display: inline-block; border: 1px dashed #ccc; }
.sent-to-tags {
    display: none;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin: 12px 0;
}
.sent-to-tags.visible { display: flex; }
.sent-to-label {
    width: 100%;
    font-size: 0.7rem;
    font-weight: 600;
    color: #707070;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 2px;
}
.sent-to-tag {
    font-size: 0.78rem;
    font-weight: 600;
    color: #1565c0;
    background: #e3f2fd;
    padding: 4px 10px;
    border-radius: 20px;
}

        .share-btn { width: 100%; padding: 14px; margin-bottom: 10px; border-radius: 12px; border: none; font-size: 1rem; font-weight: 600; cursor: pointer; }
        .share-btn.send { background: #1B5E20; color: white; }
        .share-btn.confirm { background: #1B5E20; color: white; }
        .share-btn.retry { background: #f5f5f5; color: #555; border: 2px solid #ddd; }
        .share-btn.back { background: #f5f5f5; color: #555; }
        .anon-note { font-size: 0.8rem; color: #707070; margin-top: 16px; line-height: 1.5; }
        .confirm-box { display: none; background: #e8f5e9; border: 2px solid #1B5E20; border-radius: 12px; padding: 16px; margin-bottom: 16px; }
        .confirm-box p { font-size: 0.9rem; color: #1B5E20; font-weight: 600; margin-bottom: 12px; }

        /* History Screen */
        #history-screen { padding: 16px; padding-bottom: 80px; background: #f8f8f8; min-height: 100vh; }
        .history-header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; padding-top: 8px; }
        .history-item { background: white; border-radius: 14px; padding: 14px; margin-bottom: 12px; display: flex; gap: 12px; align-items: center; box-shadow: 0 2px 8px rgba(0,0,0,0.04); cursor: pointer; }
        .history-thumb { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; background: #ddd; flex-shrink: 0; }
        .history-info { flex: 1; }
        .history-id { font-family: monospace; font-size: 0.78rem; color: #707070; }
        .history-sector { font-weight: 600; font-size: 0.95rem; margin-top: 2px; }
        .history-date { font-size: 0.8rem; color: #707070; margin-top: 4px; }
        .follow-up-badge { background: #C41E3A; color: white; font-size: 0.7rem; padding: 4px 10px; border-radius: 20px; font-weight: 600; }
        .follow-up-locked { background: #ccc; color: white; font-size: 0.7rem; padding: 4px 10px; border-radius: 20px; }
        .empty-state { text-align: center; padding: 80px 20px; color: #707070; }

        /* Blocker Screen */
        #blocker-screen { align-items: center; justify-content: center; padding: 24px; text-align: center; background: #fff; }
        .blocker-box { background: #fff8e1; padding: 32px; border-radius: 20px; border: 2px solid #ffcc80; max-width: 340px; }

        /* LPG Screens */
                #lpg-home-screen { padding: 0 20px 20px; align-items: center; }
        .lpg-header { text-align: center; margin-bottom: 24px; }
        .lpg-header h2 { font-size: 1.4rem; color: #C41E3A; margin-bottom: 8px; }
        .lpg-header p { color: #666; font-size: 0.9rem; }
        .lpg-tagline { background: #e8f5e9; color: #1B5E20; padding: 10px 16px; border-radius: 10px; font-size: 0.85rem; font-weight: 600; margin-bottom: 24px; text-align: center; border-left: 4px solid #1B5E20; }
        .lpg-explainer { display: flex; gap: 12px; align-items: flex-start; background: #fff8e1; border: 1px solid #ffe082; border-radius: 12px; padding: 14px 16px; margin-bottom: 20px; text-align: left; }
        .lpg-explainer-icon { font-size: 1.3rem; line-height: 1; flex-shrink: 0; }
        .lpg-explainer p { margin: 0; font-size: 0.85rem; line-height: 1.55; color: #5d4a00; }
                .lpg-tabs { display: flex; gap: 4px; margin-bottom: 24px; width: 100%; max-width: 320px; background: #f0f0f0; border-radius: 14px; padding: 4px; }
        .lpg-tab { flex: 1; padding: 12px; border: none; border-radius: 10px; background: transparent; text-align: center; cursor: pointer; font-weight: 600; font-size: 0.9rem; color: #666666; transition: all 0.2s; }
        .lpg-tab.active { background: #fff; color: #C41E3A; }
        .lpg-form { width: 100%; max-width: 320px; }
                .form-group { margin-bottom: 16px; }
        .form-group label { font-size: 0.82rem; font-weight: 600; margin-bottom: 8px; display: block; color: #666; text-transform: uppercase; letter-spacing: 0.02em; }

        .form-group label .required { color: #C41E3A; }
        .form-group label .optional { color: #707070; font-weight: 400; font-size: 0.8rem; }

.form-section-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #C41E3A;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 24px 0 14px;
    padding-bottom: 8px;
    border-bottom: 1.5px solid #f0f0f0;
}
.form-section-header:first-of-type { margin-top: 8px; }
.form-section-header svg { width: 16px; height: 16px; flex-shrink: 0; }

.brand-row-v2 {
    background: #fff;
    border: 1.5px solid #eee;
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 10px;
}
.brand-row-v2-select { margin-bottom: 10px !important; }
.brand-row-v2-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
}
.brand-qty-box {
    text-align: center;
    background: #fafafa;
    border-radius: 10px;
    padding: 8px 4px;
}
.brand-qty-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 4px;
}
.brand-qty-box.full .brand-qty-label { color: #2e7d32; }
.brand-qty-box.half .brand-qty-label { color: #ef6c00; }
.brand-qty-box.empty .brand-qty-label { color: #707070; }
.brand-qty-box input {
    width: 100%;
    text-align: center;
    padding: 6px 2px !important;
    margin-bottom: 0 !important;
    border: none !important;
    background: transparent !important;
    font-size: 1.1rem !important;
    font-weight: 700;
}
.brand-row-remove {
    display: block;
    margin: 8px auto 0;
}






        .form-row { display: flex; gap: 10px; }
        .form-row .form-group { flex: 1; }
        .hint-text { font-size: 0.78rem; color: #707070; margin-top: -12px; margin-bottom: 12px; }
        .validation-error { color: #C41E3A; font-size: 0.85rem; margin-top: -10px; margin-bottom: 12px; display: none; }
        .gps-box { background: #e3f2fd; border: 1px solid #90caf9; border-radius: 10px; padding: 12px; margin-bottom: 16px; font-size: 0.85rem; color: #1565c0; }
        .gps-box.error { background: #ffebee; border-color: #ef9a9a; color: #c62828; }
.gps-box.gps-retry, #gps-status.gps-retry {
    cursor: pointer;
    text-decoration: underline;
    text-decoration-style: dotted;
}


        .photo-preview { width: 100%; height: 180px; border: 2px dashed #ccc; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; overflow: hidden; background: #f5f5f5; cursor: pointer; }
        .photo-preview img { width: 100%; height: 100%; object-fit: cover; }
        .photo-preview .placeholder { color: #707070; font-size: 0.9rem; text-align: center; }
        .stock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
        .summary-box { background: #f5f5f5; border-radius: 10px; padding: 14px; margin-bottom: 16px; font-size: 0.9rem; }
        .summary-box .sum-row { display: flex; justify-content: space-between; margin-bottom: 6px; }
        .summary-box .sum-row.total { border-top: 1px solid #ddd; padding-top: 6px; margin-top: 6px; font-weight: 700; }
        .duplicate-warning { display: none; background: #fff3e0; border: 2px solid #ff9800; border-radius: 12px; padding: 16px; margin-bottom: 16px; }
        .duplicate-warning h4 { color: #e65100; margin-bottom: 8px; font-size: 1rem; }
        .duplicate-warning p { color: #666; font-size: 0.88rem; margin-bottom: 12px; }
        .btn-warning { background: #ff9800; color: white; border: none; padding: 10px 20px; border-radius: 8px; font-weight: 600; cursor: pointer; margin-right: 8px; }
        .btn-cancel { background: #f5f5f5; color: #555; border: 1px solid #ddd; padding: 10px 20px; border-radius: 8px; font-weight: 600; cursor: pointer; }

        /* Success Screen */
        #lpg-success-screen { align-items: center; justify-content: center; padding: 24px; text-align: center; background: #f8f8f8; }
        .success-box { background: white; padding: 40px 24px; border-radius: 20px; width: 100%; max-width: 340px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
        .success-icon { font-size: 4rem; margin-bottom: 16px; }
        .success-tagline { color: #1B5E20; font-weight: 600; font-size: 0.95rem; margin-top: 12px; padding: 10px; background: #e8f5e9; border-radius: 8px; }

        /* Modal */
        .modal-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.6); z-index: 2100; align-items: center; justify-content: center; padding: 20px; overflow-y: auto; }
        .modal-overlay.active { display: flex; }
        .modal-box { background: white; border-radius: 16px; padding: 24px; max-width: 340px; width: 100%; max-height: 80vh; overflow-y: auto; }
        .modal-box h3 { margin-bottom: 12px; font-size: 1.1rem; }
        .modal-box p { color: #666; font-size: 0.9rem; margin-bottom: 16px; line-height: 1.5; }
        .modal-actions { display: flex; gap: 10px; }
        .modal-actions button { flex: 1; padding: 12px; border-radius: 10px; border: none; font-weight: 600; cursor: pointer; }
        .modal-actions .btn-confirm { background: #C41E3A; color: white; }
        .modal-actions .btn-cancel-modal { background: #f5f5f5; color: #555; }

/* ===== Unified Back Button + Header Row ===== */
.back-btn {
    background: #fff;
    color: #444;
    border: 1.5px solid #eee;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    transition: all 0.15s ease;
    flex-shrink: 0;
}
.back-btn svg { width: 20px; height: 20px; }
.back-btn:active {
    transform: scale(0.93);
    background: #f5f5f5;
    border-color: #C41E3A;
    box-shadow: 0 0 0 4px rgba(196,30,58,0.35), 0 2px 6px rgba(0,0,0,0.06);
}
.back-btn:hover {
    border-color: #C41E3A;
    color: #C41E3A;
}

/* Standard header row: back button + title side by side, never overlapping */
.screen-header-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
}
.screen-header-row h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #212121;
}

/* Per-screen language override toggle (long-content screens only, e.g. customs detail).
   .back-btn is absolutely positioned top:16px/right:16px site-wide, so this sits just
   left of it at the same absolute anchor rather than in flex flow (which it would overlap). */
.screen-lang-toggle {
    position: absolute;
    top: 16px;
    right: 64px;
    background: #e0f7fa;
    color: #006064;
    border: none;
    padding: 7px 13px;
    border-radius: 16px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.problem-search-wrap {
    position: relative;
    margin-bottom: 16px;
}
.problem-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #707070;
    pointer-events: none;
}
.problem-search-input {
    width: 100%;
    padding: 14px 14px 14px 42px;
    border: 1.5px solid #e5e5e5;
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: inherit;
    background: #fafafa;
}
.problem-search-input:focus {
    border-color: #C41E3A;
    background: #fff;
}
.problem-search-input:focus:not(:focus-visible) {
    outline: none;
}
.problem-result-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border: 1.5px solid #eee;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.15s;
}
.problem-result-card:active {
    transform: scale(0.98);
    border-color: #C41E3A;
    background: #fff8f8;
}
.problem-result-main { font-size: 0.92rem; font-weight: 600; color: #212121; }
.problem-result-sector { font-size: 0.75rem; color: #707070; margin-top: 2px; }
.problem-result-arrow { color: #ccc; flex-shrink: 0; margin-left: 8px; }



.back-btn-overlay {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 15;
    background: rgba(0,0,0,0.55);
    border-color: rgba(255,255,255,0.2);
    color: #fff;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.back-btn-overlay:active {
    background: rgba(0,0,0,0.75);
    border-color: #C41E3A;
    box-shadow: 0 0 0 4px rgba(196,30,58,0.45);
}
.back-btn-overlay:hover {
    border-color: rgba(255,255,255,0.4);
    color: #fff;
}

/* ===== C3: Capture Button Sizing ===== */
#capture-btn {
    width: 64px;
    height: 64px;
    bottom: 48px;
    border-width: 3px;
}
#capture-btn::after {
    width: 44px;
    height: 44px;
}

/* ===== C3: Generate Report Button Centering ===== */
.bottom-bar {
    display: flex;
    justify-content: center;
    padding: 12px 16px;
}
.bottom-bar .btn-primary {
    max-width: 280px;
    margin: 0 auto;
    padding: 14px 18px;
    width: 100%;
}

/* ===== C2: Clickable Distinction ===== */
.sector-card {
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.2s ease;
}
.sector-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transform: translateY(-1px);
}
.sector-card:active {
    transform: scale(0.98);
    border-color: #C41E3A;
}

.history-item {
    transition: all 0.15s;
}
.history-item:active {
    transform: scale(0.98);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.lpg-tab:active {
    transform: scale(0.96);
}
.lpg-tab.active {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* ===== C5: Home Screen Visual Hierarchy ===== */
#home-screen {
    padding-top: 32px;
}
#home-screen .btn-primary,
#home-screen .btn-danger {
    transition: transform 0.15s, box-shadow 0.15s;
}
#home-screen .btn-primary:active,
#home-screen .btn-danger:active { transform: scale(0.97); }

#home-screen .btn-secondary {
    background: #fff;
    border: 1.5px solid #e8e8e8;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.15s;
}
#home-screen .btn-secondary:active {
    background: #f5f5f5;
    transform: scale(0.98);
    border-color: #ddd;
}

/* Divider between primary and secondary actions */
.home-divider {
    width: 100%;
    max-width: 320px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ddd, transparent);
    margin: 8px 0;
}
    
/* ===== SEARCHABLE SELECT DROPDOWN ===== */
.searchable-select-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 16px;
}
.searchable-select-trigger {
    width: 100%;
    padding: 14px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    background: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 50px;
}
.searchable-select-trigger:focus-visible {
    outline: 3px solid #C41E3A;
    outline-offset: 2px;
}
.searchable-select-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    max-height: 280px;
    overflow-y: auto;
    z-index: 500;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.searchable-select-dropdown.active {
    display: block;
}
.searchable-select-search {
    width: 100%;
    padding: 12px 14px;
    border: none;
    border-bottom: 1px solid #eee;
    font-size: 1rem;
    font-family: inherit;
    position: sticky;
    top: 0;
    background: white;
    z-index: 1;
}
.searchable-select-search:focus:not(:focus-visible) {
    outline: none;
}
.searchable-select-group {
    padding: 10px 14px;
    font-weight: 700;
    background: #f8f8f8;
    color: #1565c0; /* Uses a nice blue to distinguish from clickable options */
    font-size: 0.85rem;
    border-bottom: 1px solid #eee;
    border-top: 1px solid #eee;
    pointer-events: none; /* Ensures users can't click the category title */
}

/* Optional: Make the group headers sticky so they stay visible while scrolling through that group! */
.searchable-select-group {
    position: sticky;
    top: 45px; /* Sits right below the sticky search bar */
    z-index: 1;
}
.searchable-select-option {
    padding: 12px 14px;
    cursor: pointer;
    font-size: 0.95rem;
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.15s;
}
.searchable-select-option:last-child {
    border-bottom: none;
}
.searchable-select-option:hover,
.searchable-select-option.highlighted {
    background: #ffebee;
    color: #C41E3A;
}
.searchable-select-option.selected {
    background: #C41E3A;
    color: white;
}
.searchable-select-option[data-noresult] {
    color: #707070;
    cursor: default;
    background: transparent !important;
}

/* Static content pages: About / Privacy / How It Works */
.doc-page { max-width: 640px; margin: 0 auto; min-height: 100vh; background: #fff; }
.doc-header { background: #C41E3A; color: #fff; padding: 28px 24px; text-align: center; }
.doc-header .doc-logo { width: 56px; height: 56px; border-radius: 14px; margin: 0 auto 12px; overflow: hidden; }
.doc-header .doc-logo img { width: 100%; height: 100%; object-fit: cover; }
.doc-header h1 { font-size: 1.5rem; margin-bottom: 4px; }
.doc-header p { opacity: 0.9; font-size: 0.9rem; }
.doc-nav { display: flex; gap: 16px; justify-content: center; padding: 14px 20px; border-bottom: 1px solid #eee; flex-wrap: wrap; }
.doc-nav a { color: #C41E3A; text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.doc-nav a:hover { text-decoration: underline; }
.doc-lang-toggle { background: #f5f5f5; border: none; padding: 6px 14px; border-radius: 16px; font-size: 0.82rem; cursor: pointer; font-weight: 600; color: #333; }
.doc-content { padding: 28px 24px; line-height: 1.7; color: #333; }
.doc-content h2 { font-size: 1.15rem; color: #212121; margin: 28px 0 10px; }
.doc-content h2:first-child { margin-top: 0; }
.doc-content p { margin-bottom: 14px; }
.doc-content ul, .doc-content ol { margin: 0 0 14px 22px; }
.doc-content li { margin-bottom: 8px; }
.doc-content .doc-updated { font-size: 0.82rem; color: #666; margin-bottom: 24px; }
.doc-footer { padding: 20px 24px 32px; text-align: center; border-top: 1px solid #eee; }
.doc-footer a { color: #C41E3A; font-weight: 700; text-decoration: none; }



