    [x-cloak] {
        display: none !important;
    }

    html {
        scroll-behavior: smooth;
    }

    body {
        background: #f8fafc;
    }

    .card {
        background: white;
        border: 1px solid #e2e8f0;
        border-radius: 20px;
        box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03), 0 8px 24px rgba(15, 23, 42, 0.04);
    }

    .input {
        width: 100%;
        border-radius: 14px;
        border: 1px solid #cbd5e1;
        background: white;
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
        line-height: 1.25rem;
        color: #0f172a;
        outline: none;
        transition: border-color .2s ease, box-shadow .2s ease;
    }

    .input:focus {
        border-color: #000;
        box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.06);
    }

    .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 14px;
        padding: 0.875rem 1.25rem;
        font-weight: 600;
        transition: all .2s ease;
    }

    .btn-primary {
        background: #000;
        color: white;
    }

    .btn-primary:hover {
        background: #111;
    }

    .btn-secondary {
        background: white;
        color: #0f172a;
        border: 1px solid #cbd5e1;
    }

    .btn-secondary:hover {
        background: #f8fafc;
    }

    .btn-disabled {
        background: #e2e8f0;
        color: #94a3b8;
        cursor: not-allowed;
    }

    .step-panel {
        animation: fadeInUp .22s ease;
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(8px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .chip {
        border-radius: 9999px;
        border: 1px solid #cbd5e1;
        background: white;
        padding: 0.5rem 0.875rem;
        font-size: 0.875rem;
        color: #334155;
        transition: all .2s ease;
    }

    .chip-active {
        background: #000;
        color: white;
        border-color: #000;
    }

    .map-grid {
        background-image:
            linear-gradient(to right, rgba(148, 163, 184, .14) 1px, transparent 1px),
            linear-gradient(to bottom, rgba(148, 163, 184, .14) 1px, transparent 1px);
        background-size: 36px 36px;
    }

    .action-row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .action-row--single {
        display: flex;
        justify-content: flex-end;
    }

    @media (max-width: 640px) {
        .mobile-sticky-actions {
            position: sticky;
            bottom: 0;
            background: rgba(248, 250, 252, .94);
            backdrop-filter: blur(10px);
            border-top: 1px solid #e2e8f0;
            padding-top: 1rem;
            margin-top: 1.5rem;
        }
    }






    /* error styles */

    .page-error-container {
        min-height: 60vh;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 40px;
    }

    .page-error-card {
        max-width: 500px;
        text-align: center;
        padding: 40px;
        border-radius: 12px;
        background: #ffffff;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    }

    .page-error-icon {
        font-size: 48px;
        margin-bottom: 15px;
    }

    .page-error-card h2 {
        margin-bottom: 10px;
    }

    .page-error-card p {
        color: #666;
        margin-bottom: 25px;
    }

    .page-error-actions {
        display: flex;
        justify-content: center;
        gap: 12px;
    }

    .btn-retry {
        background: #2563eb;
        color: white;
        border: none;
        padding: 10px 18px;
        border-radius: 6px;
        cursor: pointer;
    }

    .btn-home {
        background: #e5e7eb;
        color: #333;
        padding: 10px 18px;
        border-radius: 6px;
        text-decoration: none;
    }


    /* leaflet marker */
    .custom-marker {
        width: 20px;
        height: 20px;
        background: white;
        border: 2px solid #cbd5e1;
        border-radius: 50%;
        position: relative;
    }

    .custom-marker::after {
        content: "";
        position: absolute;
        bottom: -8px;
        left: 50%;
        transform: translateX(-50%);
        border-width: 8px 6px 0 6px;
        border-style: solid;
        border-color: #cbd5e1 transparent transparent transparent;
    }