@import '_content/VanAn.UI.Platform/VanAn.UI.Platform.bundle.scp.css';

/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-c24qkvvizw] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-c24qkvvizw] {
    flex: 1;
}

.sidebar[b-c24qkvvizw] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-c24qkvvizw] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-c24qkvvizw]  a, .top-row[b-c24qkvvizw]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-c24qkvvizw]  a:hover, .top-row[b-c24qkvvizw]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-c24qkvvizw]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-c24qkvvizw] {
        justify-content: space-between;
    }

    .top-row[b-c24qkvvizw]  a, .top-row[b-c24qkvvizw]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-c24qkvvizw] {
        flex-direction: row;
    }

    .sidebar[b-c24qkvvizw] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-c24qkvvizw] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-c24qkvvizw]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-c24qkvvizw], article[b-c24qkvvizw] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-c24qkvvizw] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-c24qkvvizw] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-svspxcdla7] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-svspxcdla7] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-svspxcdla7] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-svspxcdla7] {
    font-size: 1.1rem;
}

.bi[b-svspxcdla7] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-svspxcdla7] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-svspxcdla7] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-svspxcdla7] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-svspxcdla7] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-svspxcdla7] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-svspxcdla7] {
        padding-bottom: 1rem;
    }

    .nav-item[b-svspxcdla7]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-svspxcdla7]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-svspxcdla7]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-svspxcdla7] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-svspxcdla7] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-svspxcdla7] {
        display: none;
    }

    .nav-scrollable[b-svspxcdla7] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/ProductQuickView.razor.rz.scp.css */
/* SF-W2 (B3): quick-view modal content — big media on top, info + actions below. */
.qv-media[b-qhg8caxl6r] {
    margin: -1rem -1rem 1rem;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    aspect-ratio: 16 / 9;
}

.qv-media img[b-qhg8caxl6r] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.qv-media-fallback[b-qhg8caxl6r] {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #d97706;
}

.qv-desc[b-qhg8caxl6r] {
    color: #4b5563;
    line-height: 1.6;
    margin: 0 0 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.qv-price[b-qhg8caxl6r] {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--store-accent-color, #ff5e62);
    margin-bottom: 1.1rem;
}

.qv-actions[b-qhg8caxl6r] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}
/* /Components/StoreNav.razor.rz.scp.css */
/* SF-W1: sticky glass navbar — sticks when scrolled past the hero. */

.store-nav[b-ac50nycu49] {
    position: sticky;
    top: 0;
    z-index: 1040; /* below .vanan-ai-widget (1050) */
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.store-nav-inner[b-ac50nycu49] {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.6rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.store-nav-brand[b-ac50nycu49] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.95rem;
    color: #1f2937;
    min-width: 0;
}

.store-nav-logo[b-ac50nycu49] {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.store-nav-name[b-ac50nycu49] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.store-nav-links[b-ac50nycu49] {
    display: flex;
    gap: 0.25rem;
    overflow-x: auto;
    scrollbar-width: none;
    flex: 1;
    min-width: 0;
}
.store-nav-links[b-ac50nycu49]::-webkit-scrollbar { display: none; }

.store-nav-link[b-ac50nycu49] {
    white-space: nowrap;
    font-size: 0.85rem;
    font-weight: 600;
    color: #6b7280;
    text-decoration: none;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    transition: all 0.2s ease;
}

.store-nav-link:hover[b-ac50nycu49] {
    color: var(--store-accent-color, #ff5e62);
    background: rgba(0, 0, 0, 0.04);
}

.store-nav-cta[b-ac50nycu49] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--store-accent-gradient, linear-gradient(135deg, #ff9966, #ff5e62));
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    text-decoration: none;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 576px) {
    .store-nav-inner[b-ac50nycu49] { padding: 0.5rem 0.75rem; gap: 0.5rem; }
    .store-nav-name[b-ac50nycu49] { max-width: 110px; }
    .store-nav-cta-text[b-ac50nycu49] { display: none; }
}
/* /Components/StoreSearchBar.razor.rz.scp.css */
/* SF-W2 (A2): semantic search bar — glassy pill input, centered result block. */
.store-search[b-3wivoeapfj] {
    max-width: 720px;
    margin: 0 auto 3rem;
}

.store-search-box[b-3wivoeapfj] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 999px;
    padding: 0.35rem 0.35rem 0.35rem 1.1rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.store-search-box:focus-within[b-3wivoeapfj] {
    border-color: var(--store-accent-color, #ff5e62);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
}

.store-search-icon[b-3wivoeapfj] {
    color: #9ca3af;
    font-size: 1.05rem;
    flex: 0 0 auto;
}

.store-search-input[b-3wivoeapfj] {
    flex: 1 1 auto;
    min-width: 0;
    border: none;
    outline: none;
    font-size: 1rem;
    background: transparent;
    color: #1f2937;
}

.store-search-input[b-3wivoeapfj]::placeholder {
    color: #9ca3af;
}

.store-search-btn[b-3wivoeapfj] {
    flex: 0 0 auto;
    border: none;
    border-radius: 999px;
    padding: 0.55rem 1.4rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: #fff;
    background: var(--store-accent-gradient, linear-gradient(135deg, #ff9966, #ff5e62));
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 68px;
    min-height: 38px;
}

.store-search-btn:hover:not(:disabled)[b-3wivoeapfj] {
    transform: translateY(-1px);
}

.store-search-btn:disabled[b-3wivoeapfj] {
    opacity: 0.55;
    cursor: default;
}

/* ── SF-W3: voice mic ───────────────────────────────────────────────── */
.store-search-mic[b-3wivoeapfj] {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: #f3f4f6;
    color: #6b7280;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.store-search-mic:hover:not(:disabled)[b-3wivoeapfj] {
    background: #e5e7eb;
    color: #374151;
}

.store-search-mic:disabled[b-3wivoeapfj] {
    opacity: 0.55;
    cursor: default;
}

.store-search-mic.listening[b-3wivoeapfj] {
    background: #fee2e2;
    color: #dc2626;
    animation: store-mic-pulse-b-3wivoeapfj 1.2s ease-in-out infinite;
}

@keyframes store-mic-pulse-b-3wivoeapfj {
    0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.35); }
    50% { box-shadow: 0 0 0 7px rgba(220, 38, 38, 0); }
}

.store-search-voice-error[b-3wivoeapfj] {
    margin: 0.5rem 0 0;
    padding: 0 1.1rem;
    color: #dc2626;
    font-size: 0.85rem;
}

@media (prefers-reduced-motion: reduce) {
    .store-search-mic.listening[b-3wivoeapfj] { animation: none; }
}

/* ── Result block ─────────────────────────────────────────────────── */
.store-search-result[b-3wivoeapfj] {
    margin-top: 1.25rem;
    background: #fff;
    border: 1px solid #f3f4f6;
    border-radius: 18px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    animation: store-search-fade-b-3wivoeapfj 0.3s ease;
}

@keyframes store-search-fade-b-3wivoeapfj {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}

.store-search-answer[b-3wivoeapfj] {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #1f2937;
    white-space: pre-line;
}

.store-search-empty[b-3wivoeapfj] {
    margin: 0;
    color: #9ca3af;
    font-style: italic;
}

.store-search-products[b-3wivoeapfj] {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 1rem;
}

.store-search-product[b-3wivoeapfj] {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    background: #f9fafb;
    border: 1px solid #f3f4f6;
    border-radius: 14px;
    padding: 0.6rem 0.9rem;
}

.store-search-product img[b-3wivoeapfj] {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    object-fit: cover;
    flex: 0 0 auto;
}

.store-search-product-info[b-3wivoeapfj] {
    flex: 1 1 auto;
    min-width: 0;
}

.store-search-product-name[b-3wivoeapfj] {
    font-weight: 600;
    font-size: 0.95rem;
    color: #1f2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.store-search-product-price[b-3wivoeapfj] {
    color: var(--store-accent-color, #ff5e62);
    font-weight: 700;
    font-size: 0.9rem;
}

.store-search-add[b-3wivoeapfj] {
    flex: 0 0 auto;
    border: none;
    border-radius: 999px;
    padding: 0.45rem 0.95rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    background: var(--store-accent-gradient, linear-gradient(135deg, #ff9966, #ff5e62));
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

.store-search-add:hover[b-3wivoeapfj] {
    transform: translateY(-1px);
}

.store-search-ask[b-3wivoeapfj] {
    margin-top: 1rem;
}

@media (prefers-reduced-motion: reduce) {
    .store-search-result[b-3wivoeapfj] { animation: none; }
}

@media (max-width: 576px) {
    .store-search[b-3wivoeapfj] { margin-bottom: 2rem; }
    .store-search-product[b-3wivoeapfj] { flex-wrap: wrap; }
}
/* /Pages/Onboard.razor.rz.scp.css */
/* Self-serve onboarding wizard (P1 — 2026-11-09) — port từ OcrOnboardingWizard.razor.css
   (ShopERP Track A). Class ocr-* giữ nguyên; input đổi sang Bootstrap form-control/form-select. */

.onboard-wizard[b-oewqb5ghui] {
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ocr-wizard-steps[b-oewqb5ghui] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: #64748b;
}

.ocr-step[b-oewqb5ghui] {
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    white-space: nowrap;
}

.ocr-step.active[b-oewqb5ghui] {
    background: #2563eb;
    color: #fff;
    font-weight: 600;
}

.ocr-step.done[b-oewqb5ghui] {
    background: #dcfce7;
    color: #166534;
}

.ocr-step-sep[b-oewqb5ghui] {
    color: #94a3b8;
}

.ocr-case-cards[b-oewqb5ghui] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.ocr-case-card[b-oewqb5ghui] {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem;
    text-align: left;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.ocr-case-card:hover[b-oewqb5ghui] {
    border-color: #93c5fd;
}

.ocr-case-card.selected[b-oewqb5ghui] {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.ocr-case-title[b-oewqb5ghui] {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
    color: #0f172a;
}

.ocr-case-desc[b-oewqb5ghui] {
    font-size: 0.85rem;
    color: #64748b;
}

.ocr-wizard-actions[b-oewqb5ghui] {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    margin-top: 0.5rem;
}

.ocr-section[b-oewqb5ghui] {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: #fff;
}

.ocr-section h4[b-oewqb5ghui] {
    margin: 0;
    font-size: 1rem;
    color: #0f172a;
}

.ocr-file-input[b-oewqb5ghui] {
    display: block;
    padding: 0.5rem;
    border: 1px dashed #94a3b8;
    border-radius: 8px;
    background: #f8fafc;
    max-width: 100%;
}

.ocr-capture-row[b-oewqb5ghui] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.ocr-capture-row .ocr-file-input[b-oewqb5ghui] {
    flex: 1;
    min-width: 200px;
}

.ocr-camera-overlay[b-oewqb5ghui] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1rem;
}

.ocr-camera-modal[b-oewqb5ghui] {
    background: #0f172a;
    border-radius: 14px;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    width: min(480px, 100%);
    max-height: 92vh;
}

.ocr-camera-header[b-oewqb5ghui] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    font-size: 0.95rem;
    gap: 0.5rem;
}

.ocr-camera-count[b-oewqb5ghui] {
    background: #2563eb;
    color: #fff;
    border-radius: 999px;
    padding: 0.15rem 0.6rem;
    font-size: 0.8rem;
}

.ocr-camera-close[b-oewqb5ghui] {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.2rem 0.5rem;
}

.ocr-camera-video[b-oewqb5ghui] {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 10px;
    background: #000;
}

.ocr-camera-actions[b-oewqb5ghui] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.ocr-hint[b-oewqb5ghui] {
    font-size: 0.8rem;
    color: #64748b;
}

.ocr-busy[b-oewqb5ghui] {
    color: #2563eb;
    font-weight: 600;
    font-size: 0.9rem;
}

.ocr-req[b-oewqb5ghui] {
    color: #dc2626;
}

.ocr-form[b-oewqb5ghui] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.75rem;
}

.ocr-form label[b-oewqb5ghui] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
}

.ocr-conf[b-oewqb5ghui] {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.1rem 0.4rem;
    border-radius: 999px;
    width: fit-content;
}

.ocr-conf-high[b-oewqb5ghui] {
    background: #dcfce7;
    color: #166534;
}

.ocr-conf-low[b-oewqb5ghui] {
    background: #fef3c7;
    color: #92400e;
}

.ocr-product-table[b-oewqb5ghui] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.ocr-product-table th[b-oewqb5ghui],
.ocr-product-table td[b-oewqb5ghui] {
    border: 1px solid #e2e8f0;
    padding: 0.4rem;
    text-align: left;
}

.ocr-price[b-oewqb5ghui] {
    width: 140px;
}

.ocr-remove-btn[b-oewqb5ghui] {
    background: none;
    border: none;
    color: #dc2626;
    cursor: pointer;
    font-size: 1rem;
    padding: 0.2rem 0.5rem;
}

.ocr-gps-info[b-oewqb5ghui] {
    font-size: 0.95rem;
    color: #0f172a;
}

.ocr-map[b-oewqb5ghui] {
    height: 260px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    width: 100%;
}

.ocr-review-table[b-oewqb5ghui] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.ocr-review-table td[b-oewqb5ghui] {
    border-bottom: 1px solid #f1f5f9;
    padding: 0.45rem 0.25rem;
    vertical-align: top;
}

.ocr-review-table td:first-child[b-oewqb5ghui] {
    color: #64748b;
    width: 40%;
}

.ocr-photo-grid[b-oewqb5ghui] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 0.5rem;
}

.ocr-photo-thumb[b-oewqb5ghui] {
    margin: 0;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    background: #f8fafc;
}

.ocr-photo-thumb img[b-oewqb5ghui] {
    width: 100%;
    height: 80px;
    object-fit: cover;
    display: block;
}

.ocr-photo-thumb figcaption[b-oewqb5ghui] {
    font-size: 0.7rem;
    text-align: center;
    padding: 0.2rem;
    color: #475569;
}

.ocr-cloud-ocr[b-oewqb5ghui] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.25rem;
}

.hkd-helper[b-oewqb5ghui] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hkd-suggestion[b-oewqb5ghui] {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    color: #1e40af;
}

.hkd-manual summary[b-oewqb5ghui] {
    cursor: pointer;
}

/* ── Responsive mobile-first ── */
@media (max-width: 640px) {
    .onboard-wizard[b-oewqb5ghui] {
        padding: 0.5rem 0;
    }

    .ocr-wizard-steps[b-oewqb5ghui] {
        font-size: 0.72rem;
        gap: 0.2rem;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.25rem;
    }

    .ocr-step[b-oewqb5ghui] {
        padding: 0.2rem 0.45rem;
        white-space: nowrap;
    }

    .ocr-case-cards[b-oewqb5ghui] {
        grid-template-columns: 1fr;
    }

    .ocr-case-card[b-oewqb5ghui] {
        padding: 1rem;
    }

    .ocr-form[b-oewqb5ghui] {
        grid-template-columns: 1fr;
    }

    .ocr-section[b-oewqb5ghui] {
        padding: 0.75rem;
    }

    .ocr-capture-row[b-oewqb5ghui] {
        flex-direction: column;
        align-items: stretch;
    }

    .ocr-capture-row .ocr-file-input[b-oewqb5ghui] {
        min-width: 100%;
        font-size: 0.95rem;
    }

    .ocr-wizard-actions[b-oewqb5ghui] {
        flex-direction: column-reverse;
    }

    .ocr-wizard-actions .btn[b-oewqb5ghui] {
        width: 100%;
        min-height: 44px;   /* touch target */
    }

    .ocr-map[b-oewqb5ghui] {
        height: 200px;
    }

    .ocr-product-table[b-oewqb5ghui] {
        font-size: 0.8rem;
    }

    .ocr-price[b-oewqb5ghui] {
        width: 100px;
    }

    .ocr-camera-overlay[b-oewqb5ghui] {
        padding: 0;
        align-items: stretch;
    }

    .ocr-camera-modal[b-oewqb5ghui] {
        width: 100%;
        max-height: 100vh;
        border-radius: 0;
        justify-content: space-between;
    }

    .ocr-camera-video[b-oewqb5ghui] {
        aspect-ratio: auto;
        flex: 1;
        min-height: 0;
    }

    .ocr-camera-actions .btn[b-oewqb5ghui] {
        flex: 1;
        min-height: 48px;
    }
}
