/* /Components/Layout/FeedbackWidget.razor.rz.scp.css */
/* ---------- floating action button ---------- */
.fbw-fab[b-o515m7axg4] {
    position: fixed; right: 22px; bottom: 22px; z-index: 1400;
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--toyota-red, #eb0a1e); color: #fff; border: 0; cursor: pointer;
    padding: 12px 16px; border-radius: 999px; font-weight: 700; font-size: 0.86rem;
    box-shadow: 0 8px 24px rgba(var(--toyota-red-rgb, 235,10,30), 0.42);
    transition: transform .14s ease, box-shadow .14s ease;
}
.fbw-fab:hover[b-o515m7axg4] { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(var(--toyota-red-rgb, 235,10,30), 0.5); }
.fbw-fab i[b-o515m7axg4] { font-size: 1rem; }
@media (max-width: 640px) { .fbw-fab-text[b-o515m7axg4] { display: none; } .fbw-fab[b-o515m7axg4] { padding: 14px; right: 16px; bottom: 16px; } }

/* ---------- floating draggable panel (no blocking backdrop) ---------- */
.fbw-panel[b-o515m7axg4] {
    position: fixed; top: 74px; left: 50%; transform: translateX(-50%);
    width: calc(100% - 32px); max-width: 560px; max-height: 86vh; overflow-y: auto;
    z-index: 1500;
    background: var(--surface, #fff); color: var(--text-strong, #16181d);
    border: 1px solid var(--border, #e5e7eb); border-radius: 16px;
    box-shadow: 0 24px 70px rgba(0,0,0,.45);
    animation: fbw-pop-b-o515m7axg4 .16s cubic-bezier(.2,.8,.2,1);
}
.fbw-panel.dragging[b-o515m7axg4] { animation: none; box-shadow: 0 30px 84px rgba(0,0,0,.55); }
@keyframes fbw-pop-b-o515m7axg4 { from { opacity: 0; transform: translateX(-50%) translateY(10px) scale(.98); } to { opacity: 1; transform: translateX(-50%); } }

.fbw-head[b-o515m7axg4] { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px 20px 10px; }
.fbw-drag[b-o515m7axg4] { cursor: move; user-select: none; -webkit-user-select: none; }
.fbw-grip[b-o515m7axg4] { color: var(--text-muted, #b3b8c0); font-size: 0.82rem; }
.fbw-head h3[b-o515m7axg4] { margin: 0; font-size: 1.12rem; font-weight: 800; display: flex; align-items: center; gap: 9px; }
.fbw-head h3 i[b-o515m7axg4] { color: var(--toyota-red, #eb0a1e); }
.fbw-head p[b-o515m7axg4] { margin: 4px 0 0; font-size: 0.82rem; color: var(--text-muted, #6b7280); }
.fbw-x[b-o515m7axg4] { background: none; border: 0; cursor: pointer; color: var(--text-muted, #9ca3af); font-size: 1.05rem; padding: 4px; }
.fbw-x:hover[b-o515m7axg4] { color: var(--toyota-red, #eb0a1e); }

.fbw-body[b-o515m7axg4] { padding: 6px 20px 4px; display: flex; flex-direction: column; gap: 14px; }
.fbw-row2[b-o515m7axg4] { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fbw-fg[b-o515m7axg4] { display: flex; flex-direction: column; gap: 6px; }
.fbw-fg label[b-o515m7axg4] { font-size: 0.78rem; font-weight: 700; letter-spacing: .02em; }
.fbw-fg .req[b-o515m7axg4] { color: var(--toyota-red, #eb0a1e); }
.fbw-input[b-o515m7axg4] {
    width: 100%; box-sizing: border-box; padding: 10px 12px; font-size: 0.9rem;
    border: 1px solid var(--border, #d1d5db); border-radius: 9px;
    background: var(--surface-2, #f9fafb); color: var(--text-strong, #16181d);
}
.fbw-input:focus[b-o515m7axg4] { outline: none; border-color: var(--toyota-red, #eb0a1e); box-shadow: 0 0 0 3px rgba(var(--toyota-red-rgb,235,10,30),.12); }
.fbw-ta[b-o515m7axg4] { resize: vertical; min-height: 88px; font-family: inherit; line-height: 1.5; }

/* Paste zone — the primary path (reliable, pixel-perfect). */
.fbw-paste-zone[b-o515m7axg4] {
    display: flex; align-items: center; gap: 12px; padding: 12px 14px;
    border: 1.5px dashed rgba(var(--toyota-red-rgb, 235,10,30), 0.4); border-radius: 11px;
    background: rgba(var(--toyota-red-rgb, 235,10,30), 0.04);
}
.fbw-paste-zone > i[b-o515m7axg4] { font-size: 1.2rem; color: var(--toyota-red, #eb0a1e); }
.fbw-paste-txt[b-o515m7axg4] { display: flex; flex-direction: column; gap: 1px; }
.fbw-paste-txt strong[b-o515m7axg4] { font-size: 0.84rem; font-weight: 700; color: var(--text-strong, #16181d); }
.fbw-paste-txt span[b-o515m7axg4] { font-size: 0.74rem; color: var(--text-muted, #6b7280); display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.fbw-paste-txt kbd[b-o515m7axg4] {
    background: var(--surface, #fff); border: 1px solid var(--border, #d1d5db); border-bottom-width: 2px;
    border-radius: 4px; padding: 0 5px; font-size: 0.68rem; font-family: inherit; color: var(--text-strong, #16181d);
}

/* Styled "attach file" button — the native file input is hidden via ::deep (CSS isolation
   doesn't reach the <InputFile>-rendered <input> without it, which is why "Choose files" showed). */
.fbw-attach-btn[b-o515m7axg4] {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
    margin-top: 8px; width: 100%; box-sizing: border-box;
    background: var(--surface-2, #f4f5f7); color: var(--text-strong, #374151);
    border: 1px solid var(--border, #d1d5db); border-radius: 10px;
    padding: 9px 14px; font-size: 0.82rem; font-weight: 600;
    transition: border-color .12s ease, background .12s ease, color .12s ease;
}
.fbw-attach-btn:hover[b-o515m7axg4] { border-color: var(--toyota-red, #eb0a1e); color: var(--toyota-red, #eb0a1e); background: rgba(var(--toyota-red-rgb, 235,10,30), 0.05); }
.fbw-attach-btn[b-o515m7axg4]  input[type=file] { display: none !important; }

.fbw-thumbs[b-o515m7axg4] { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.fbw-thumb[b-o515m7axg4] { position: relative; width: 84px; height: 60px; border-radius: 8px; overflow: hidden; border: 1px solid var(--border, #e5e7eb); background: #000; }
.fbw-thumb img[b-o515m7axg4] { width: 100%; height: 100%; object-fit: cover; }
.fbw-thumb.file[b-o515m7axg4] { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: var(--surface-2, #f4f4f5); color: var(--text-muted, #6b7280); font-size: 0.62rem; padding: 4px; }
.fbw-thumb.file span[b-o515m7axg4] { max-width: 76px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fbw-thumb button[b-o515m7axg4] { position: absolute; top: 2px; right: 2px; width: 18px; height: 18px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(0,0,0,.6); color: #fff; font-size: 0.6rem; display: flex; align-items: center; justify-content: center; }

.fbw-error[b-o515m7axg4] { color: #b42318; background: #fef3f2; border: 1px solid #fecdca; border-radius: 8px; padding: 8px 12px; font-size: 0.8rem; }
.fbw-done[b-o515m7axg4] { color: #15803d; background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.3); border-radius: 8px; padding: 9px 12px; font-size: 0.84rem; display: flex; align-items: center; gap: 8px; }

.fbw-foot[b-o515m7axg4] { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px 18px; }
.fbw-link[b-o515m7axg4] { font-size: 0.8rem; color: var(--text-muted, #6b7280); text-decoration: none; font-weight: 600; }
.fbw-link:hover[b-o515m7axg4] { color: var(--toyota-red, #eb0a1e); }
.fbw-submit[b-o515m7axg4] {
    display: inline-flex; align-items: center; gap: 8px; background: var(--toyota-red, #eb0a1e); color: #fff;
    border: 0; cursor: pointer; padding: 11px 20px; border-radius: 10px; font-weight: 700; font-size: 0.88rem;
}
.fbw-submit:disabled[b-o515m7axg4] { opacity: .5; cursor: not-allowed; }

@media (max-width: 640px) { .fbw-row2[b-o515m7axg4] { grid-template-columns: 1fr; } }
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-obxr09thhw] {
    position: relative;
    display: flex;
    height: 100vh;
    overflow: hidden;
    background-color: var(--body-bg);
    color: var(--text-primary);
}

/*
   NavMenu owns the whole shell (sidebar, rail collapse, mobile top bar, drawer,
   scrim) and renders its state classes on its own root elements. This wrapper is
   therefore neutralised with display: contents so the fixed-position elements
   inside NavMenu are positioned against the viewport instead of a transformed /
   sized ancestor. The effective sidebar width is published on .page as
   --current-sidebar-w by NavMenu's global style block (via :has()):
     desktop expanded  -> var(--sidebar-w)   (268px)
     desktop rail      -> var(--sidebar-w-rail) (76px)
     mobile/tablet     -> 0px (top bar + drawer instead)
*/
.nav-container[b-obxr09thhw] {
    display: contents;
}

main[b-obxr09thhw] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
    position: relative;
    margin-left: var(--current-sidebar-w, 0px);
    transition: margin-left var(--dur-med) var(--ease);
}

.content[b-obxr09thhw] {
    flex: 1;
    padding: 0rem;
    overflow-y: auto;
    position: relative;
    background-color: var(--body-bg);
    transition: padding var(--dur-med) var(--ease);
}

/* Desktop (≥1024px): clear the fixed top bar that NavMenu renders over the
   content area (mirrors NavMenu's mobile clearance for its fixed mobile bar). */
@media (min-width: 1024px) {
    .content[b-obxr09thhw] {
        padding-top: var(--topbar-h);
    }
}

    .content[b-obxr09thhw]::-webkit-scrollbar {
        width: 8px;
    }

    .content[b-obxr09thhw]::-webkit-scrollbar-track {
        background: transparent;
    }

    .content[b-obxr09thhw]::-webkit-scrollbar-thumb {
        background: var(--scroll-thumb);
        border-radius: 4px;
    }

        .content[b-obxr09thhw]::-webkit-scrollbar-thumb:hover {
            background: var(--scroll-thumb-hover);
        }

/* Blazor Error UI */
#blazor-error-ui[b-obxr09thhw] {
    background-color: var(--content-bg);
    color: var(--text-primary);
    bottom: 0;
    box-shadow: 0 -2px 8px var(--shadow-color);
    display: none;
    left: 0;
    padding: 1rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    border-top: 2px solid var(--primary-color);
}

.theme-dark #blazor-error-ui[b-obxr09thhw] {
    background-color: var(--sidebar-bg);
}

#blazor-error-ui .dismiss[b-obxr09thhw] {
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--text-primary);
    padding: 0.5rem;
    border-radius: 0.375rem;
    transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}

    #blazor-error-ui .dismiss:hover[b-obxr09thhw] {
        background-color: var(--nav-hover);
        color: var(--primary-color);
    }
/* /Components/Pages/Components/QuickEditVehicle.razor.rz.scp.css */
/*
    Quick edit panel, on the vehicle summary card.

    Scoped to the component so it cannot reach the rest of the page. It reads the same custom
    properties the quote page uses (--toyota-red, --surface-1/2, --text-primary/secondary/muted,
    --border-color, --sp-*, --radius-*, --dur-fast, --ease) so it inherits the console theme in both
    light and dark without restating a palette.

    The whole visual language rests on one distinction: fields that move the premium wear the red
    RE-PRICES badge and a red left edge, fields that do not are plain. A consultant should be able to
    tell, without reading a word, which half of the form is safe.
*/

.qev[b-odcskwr07i] {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows var(--dur-fast, 160ms) var(--ease, ease);
}

.qev-open[b-odcskwr07i] {
    grid-template-rows: 1fr;
}

.qev-panel[b-odcskwr07i] {
    overflow: hidden;
    min-height: 0;
    margin-top: var(--sp-3, 12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md, 10px);
    background: var(--surface-1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

/* ── the test-lead stop ──────────────────────────────────────────────────── */
.qev-locked[b-odcskwr07i] {
    display: flex;
    gap: var(--sp-3, 12px);
    align-items: flex-start;
    padding: var(--sp-4, 16px);
    background: var(--warning-surface, rgba(245, 158, 11, 0.08));
    color: var(--warning-fg, #92400e);
    font-size: 0.82rem;
    line-height: 1.5;
}

.qev-locked i[b-odcskwr07i] {
    font-size: 1rem;
    margin-top: 2px;
}

.qev-locked div[b-odcskwr07i] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* ── tabs ────────────────────────────────────────────────────────────────── */
.qev-tabs[b-odcskwr07i] {
    display: flex;
    gap: 2px;
    padding: var(--sp-2, 8px) var(--sp-2, 8px) 0;
    border-bottom: 1px solid var(--border-color);
    background: var(--surface-2);
    border-radius: var(--radius-md, 10px) var(--radius-md, 10px) 0 0;
    overflow-x: auto;
}

.qev-tab[b-odcskwr07i] {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 14px;
    border: 0;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    white-space: nowrap;
    cursor: pointer;
    border-radius: var(--radius-sm, 6px) var(--radius-sm, 6px) 0 0;
    border-bottom: 2px solid transparent;
    transition: color var(--dur-fast, 160ms) var(--ease, ease),
                border-color var(--dur-fast, 160ms) var(--ease, ease);
}

.qev-tab:hover[b-odcskwr07i] {
    color: var(--text-primary);
}

.qev-tab.is-active[b-odcskwr07i] {
    color: var(--text-primary);
    border-bottom-color: var(--toyota-red);
    background: var(--surface-1);
}

.qev-tab i[b-odcskwr07i] {
    font-size: 0.8rem;
    opacity: 0.75;
}

.qev-tab-dot[b-odcskwr07i] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: var(--radius-full, 999px);
    background: var(--toyota-red);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 1;
}

/* ── body ────────────────────────────────────────────────────────────────── */
.qev-body[b-odcskwr07i] {
    padding: var(--sp-4, 16px);
}

.qev-hint[b-odcskwr07i] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 var(--sp-3, 12px);
    font-size: 0.76rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.qev-hint i[b-odcskwr07i] {
    opacity: 0.7;
}

.qev-hint-safe[b-odcskwr07i] {
    color: var(--success-fg, #15803d);
}

.qev-hint-rates[b-odcskwr07i] {
    color: var(--toyota-red);
}

.qev-grid[b-odcskwr07i] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: var(--sp-3, 12px);
}

.qev-field[b-odcskwr07i] {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

/* The red edge is the at-a-glance signal. It has to survive a colour-blind reader, so the badge
   carries the same message in words. */
.qev-field-rates[b-odcskwr07i] {
    padding-left: 9px;
    border-left: 2px solid rgba(var(--toyota-red-rgb, 235, 10, 30), 0.45);
}

.qev-label[b-odcskwr07i] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.qev-badge[b-odcskwr07i] {
    padding: 1px 5px;
    border-radius: var(--radius-sm, 4px);
    background: rgba(var(--toyota-red-rgb, 235, 10, 30), 0.1);
    color: var(--toyota-red);
    font-size: 0.56rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.qev-badge-inline[b-odcskwr07i] {
    display: inline-block;
    vertical-align: middle;
}

.qev-input[b-odcskwr07i] {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm, 6px);
    background: var(--surface-1);
    color: var(--text-primary);
    font-size: 0.82rem;
    font-family: inherit;
    transition: border-color var(--dur-fast, 160ms) var(--ease, ease),
                box-shadow var(--dur-fast, 160ms) var(--ease, ease);
}

.qev-input:focus[b-odcskwr07i] {
    outline: none;
    border-color: var(--toyota-red);
    box-shadow: 0 0 0 3px rgba(var(--toyota-red-rgb, 235, 10, 30), 0.12);
}

.qev-input[b-odcskwr07i]::placeholder {
    color: var(--text-muted);
    opacity: 0.65;
}

/* ── what is pending ─────────────────────────────────────────────────────── */
.qev-pending[b-odcskwr07i] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: var(--sp-3, 12px) var(--sp-4, 16px);
    border-top: 1px solid var(--border-color);
    background: var(--surface-2);
    font-size: 0.76rem;
}

.qev-pending-group[b-odcskwr07i] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
}

.qev-pending-head[b-odcskwr07i] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 700;
    font-size: 0.68rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}

.qev-safe-fg[b-odcskwr07i] {
    color: var(--success-fg, #15803d);
}

.qev-rates-fg[b-odcskwr07i] {
    color: var(--toyota-red);
}

.qev-pending-list[b-odcskwr07i] {
    color: var(--text-secondary);
}

/* ── the price movement ──────────────────────────────────────────────────── */
.qev-quote[b-odcskwr07i] {
    padding: var(--sp-4, 16px);
    border-top: 1px solid var(--border-color);
    background: var(--surface-1);
}

.qev-quote-figures[b-odcskwr07i] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--sp-4, 16px);
}

.qev-quote-was[b-odcskwr07i],
.qev-quote-new[b-odcskwr07i] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.qev-quote-was span[b-odcskwr07i],
.qev-quote-new span[b-odcskwr07i] {
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.qev-quote-was strong[b-odcskwr07i] {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: line-through;
    text-decoration-thickness: 1px;
}

.qev-quote-new strong[b-odcskwr07i] {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.qev-quote-arrow[b-odcskwr07i] {
    color: var(--text-muted);
    opacity: 0.5;
}

.qev-quote-delta[b-odcskwr07i] {
    margin-left: auto;
    padding: 5px 11px;
    border-radius: var(--radius-full, 999px);
    font-size: 0.76rem;
    font-weight: 700;
    white-space: nowrap;
}

.is-up .qev-quote-delta[b-odcskwr07i] {
    background: rgba(var(--toyota-red-rgb, 235, 10, 30), 0.1);
    color: var(--toyota-red);
}

.is-down .qev-quote-delta[b-odcskwr07i] {
    background: var(--success-surface, rgba(34, 197, 94, 0.12));
    color: var(--success-fg, #15803d);
}

.is-flat .qev-quote-delta[b-odcskwr07i] {
    background: var(--surface-2);
    color: var(--text-muted);
}

.qev-quote-note[b-odcskwr07i] {
    display: flex;
    gap: 7px;
    margin: var(--sp-3, 12px) 0 0;
    font-size: 0.76rem;
    line-height: 1.5;
    color: var(--warning-fg, #92400e);
}

/* ── messages ────────────────────────────────────────────────────────────── */
.qev-error[b-odcskwr07i],
.qev-warn[b-odcskwr07i] {
    display: flex;
    gap: 8px;
    margin: 0;
    padding: var(--sp-3, 12px) var(--sp-4, 16px);
    border-top: 1px solid var(--border-color);
    font-size: 0.78rem;
    line-height: 1.5;
}

.qev-error[b-odcskwr07i] {
    background: var(--danger-surface, rgba(239, 68, 68, 0.08));
    color: var(--danger-fg, #b91c1c);
}

.qev-warn[b-odcskwr07i] {
    background: var(--warning-surface, rgba(245, 158, 11, 0.08));
    color: var(--warning-fg, #92400e);
}

/* ── actions ─────────────────────────────────────────────────────────────── */
.qev-actions[b-odcskwr07i] {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: var(--sp-2, 8px);
    padding: var(--sp-3, 12px) var(--sp-4, 16px);
    border-top: 1px solid var(--border-color);
    background: var(--surface-2);
    border-radius: 0 0 var(--radius-md, 10px) var(--radius-md, 10px);
}

.qev-btn[b-odcskwr07i] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 15px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm, 6px);
    font-size: 0.79rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background var(--dur-fast, 160ms) var(--ease, ease),
                border-color var(--dur-fast, 160ms) var(--ease, ease),
                opacity var(--dur-fast, 160ms) var(--ease, ease);
}

.qev-btn:disabled[b-odcskwr07i] {
    opacity: 0.5;
    cursor: not-allowed;
}

.qev-btn-ghost[b-odcskwr07i] {
    border-color: var(--border-color);
    background: var(--surface-1);
    color: var(--text-secondary);
}

.qev-btn-ghost:hover:not(:disabled)[b-odcskwr07i] {
    border-color: var(--border-strong, var(--border-color));
    color: var(--text-primary);
}

.qev-btn-primary[b-odcskwr07i] {
    background: var(--toyota-red);
    color: #fff;
}

.qev-btn-primary:hover:not(:disabled)[b-odcskwr07i] {
    filter: brightness(1.08);
}

.qev-btn-price[b-odcskwr07i] {
    border-color: var(--toyota-red);
    background: transparent;
    color: var(--toyota-red);
}

.qev-btn-price:hover:not(:disabled)[b-odcskwr07i] {
    background: rgba(var(--toyota-red-rgb, 235, 10, 30), 0.08);
}

/* ── narrow screens ──────────────────────────────────────────────────────── */
@media (max-width: 640px) {
    .qev-grid[b-odcskwr07i] {
        grid-template-columns: 1fr;
    }

    .qev-actions[b-odcskwr07i] {
        justify-content: stretch;
    }

    .qev-btn[b-odcskwr07i] {
        flex: 1 1 auto;
        justify-content: center;
    }

    .qev-quote-delta[b-odcskwr07i] {
        margin-left: 0;
    }
}
/* /Components/Pages/Feedback.razor.rz.scp.css */
.fb-page[b-sr3hlgzb93] {
    max-width: 1100px;
    margin: 0 auto;
    padding: clamp(12px, 2vw, 28px);
    color: var(--text-strong, #16181d);
}

/* ---------- header ---------- */
.fb-header[b-sr3hlgzb93] {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
    margin-bottom: 18px;
}
.fb-title[b-sr3hlgzb93] {
    margin: 0 0 4px; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.01em;
    display: flex; align-items: center; gap: 10px;
}
.fb-title i[b-sr3hlgzb93] { color: var(--toyota-red, #eb0a1e); }
.fb-sub[b-sr3hlgzb93] { margin: 0; max-width: 640px; color: var(--text-muted, #6b7280); font-size: 0.9rem; line-height: 1.5; }

.fb-new-btn[b-sr3hlgzb93] {
    flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px;
    background: var(--toyota-red, #eb0a1e); color: #fff; border: 0; cursor: pointer;
    padding: 11px 18px; border-radius: 10px; font-weight: 700; font-size: 0.9rem;
    box-shadow: 0 6px 18px rgba(var(--toyota-red-rgb, 235,10,30), 0.28);
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.fb-new-btn:hover[b-sr3hlgzb93] { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(var(--toyota-red-rgb, 235,10,30), 0.36); }
.fb-new-btn.is-active[b-sr3hlgzb93] { background: #454b54; box-shadow: none; }

/* ---------- stat strip ---------- */
.fb-stats[b-sr3hlgzb93] { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 18px; }
.fb-stat[b-sr3hlgzb93] {
    display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
    background: var(--surface, #fff); border: 1px solid var(--border, #e5e7eb);
    border-radius: 12px; padding: 12px 14px; cursor: pointer; text-align: left;
    transition: border-color .12s ease, transform .12s ease, box-shadow .12s ease;
}
.fb-stat:hover[b-sr3hlgzb93] { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,0,0,.06); }
.fb-stat.sel[b-sr3hlgzb93] { border-color: var(--toyota-red, #eb0a1e); box-shadow: 0 0 0 1px var(--toyota-red, #eb0a1e) inset; }
.fb-stat-n[b-sr3hlgzb93] { font-size: 1.5rem; font-weight: 800; line-height: 1; }
.fb-stat-l[b-sr3hlgzb93] { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted, #6b7280); font-weight: 700; }

/* ---------- new-issue form ---------- */
.fb-form[b-sr3hlgzb93] {
    background: var(--surface, #fff); border: 1px solid var(--border, #e5e7eb);
    border-radius: 14px; padding: 18px; margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
    animation: fb-slide-b-sr3hlgzb93 .18s ease;
}
@keyframes fb-slide-b-sr3hlgzb93 { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.fb-form-grid[b-sr3hlgzb93] { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fb-fg[b-sr3hlgzb93] { display: flex; flex-direction: column; gap: 6px; }
.fb-span2[b-sr3hlgzb93] { grid-column: 1 / -1; }
.fb-fg label[b-sr3hlgzb93] { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em; color: var(--text-strong, #16181d); }
.fb-fg .req[b-sr3hlgzb93] { color: var(--toyota-red, #eb0a1e); }
.fb-hint[b-sr3hlgzb93] { font-weight: 500; color: var(--text-muted, #9ca3af); font-size: 0.72rem; margin-left: 6px; }
.fb-input[b-sr3hlgzb93] {
    width: 100%; box-sizing: border-box; padding: 10px 12px; font-size: 0.9rem;
    border: 1px solid var(--border, #d1d5db); border-radius: 9px;
    background: var(--surface-2, #f9fafb); color: var(--text-strong, #16181d);
    transition: border-color .12s ease, box-shadow .12s ease;
}
.fb-input:focus[b-sr3hlgzb93] { outline: none; border-color: var(--toyota-red, #eb0a1e); box-shadow: 0 0 0 3px rgba(var(--toyota-red-rgb, 235,10,30), 0.12); }
.fb-textarea[b-sr3hlgzb93] { resize: vertical; min-height: 96px; font-family: inherit; line-height: 1.5; }

.fb-drop[b-sr3hlgzb93] {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
    border: 2px dashed var(--border, #d1d5db); border-radius: 12px; padding: 20px;
    cursor: pointer; color: var(--text-muted, #6b7280); font-size: 0.85rem; text-align: center;
    transition: border-color .12s ease, background .12s ease;
}
.fb-drop:hover[b-sr3hlgzb93] { border-color: var(--toyota-red, #eb0a1e); background: rgba(var(--toyota-red-rgb, 235,10,30), 0.03); }
.fb-drop i[b-sr3hlgzb93] { font-size: 1.4rem; color: var(--toyota-red, #eb0a1e); }
.fb-file-input[b-sr3hlgzb93] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
/* CSS isolation doesn't reach the <InputFile>-rendered <input>; ::deep hides the native "Choose files". */
.fb-drop[b-sr3hlgzb93]  input[type=file] { display: none !important; }
.fb-pending[b-sr3hlgzb93] { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.fb-pill[b-sr3hlgzb93] {
    display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px;
    background: rgba(var(--toyota-red-rgb, 235,10,30), 0.08); color: var(--toyota-red, #eb0a1e);
    font-size: 0.78rem; font-weight: 600;
}
.fb-pill button[b-sr3hlgzb93] { background: none; border: 0; color: inherit; cursor: pointer; padding: 0; display: inline-flex; }

.fb-error[b-sr3hlgzb93] { margin-top: 12px; color: #b42318; background: #fef3f2; border: 1px solid #fecdca; border-radius: 8px; padding: 8px 12px; font-size: 0.82rem; }
.fb-form-actions[b-sr3hlgzb93] { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.fb-context[b-sr3hlgzb93] { font-size: 0.76rem; color: var(--text-muted, #9ca3af); display: inline-flex; align-items: center; gap: 6px; }
.fb-submit[b-sr3hlgzb93] {
    display: inline-flex; align-items: center; gap: 8px; background: var(--toyota-red, #eb0a1e); color: #fff;
    border: 0; cursor: pointer; padding: 11px 20px; border-radius: 10px; font-weight: 700; font-size: 0.9rem;
}
.fb-submit:disabled[b-sr3hlgzb93] { opacity: 0.5; cursor: not-allowed; }

/* ---------- list ---------- */
.fb-empty[b-sr3hlgzb93] { text-align: center; color: var(--text-muted, #9ca3af); padding: 48px 0; font-size: 0.95rem; }
.fb-empty i[b-sr3hlgzb93] { margin-right: 8px; }
.fb-list[b-sr3hlgzb93] { display: flex; flex-direction: column; gap: 12px; }

.fb-card[b-sr3hlgzb93] {
    background: var(--surface, #fff); border: 1px solid var(--border, #e5e7eb);
    border-radius: 13px; overflow: hidden; border-left: 4px solid var(--border, #e5e7eb);
    transition: box-shadow .12s ease, border-color .12s ease;
}
.fb-card:hover[b-sr3hlgzb93] { box-shadow: 0 6px 20px rgba(0,0,0,.07); }
.fb-card.status-open[b-sr3hlgzb93] { border-left-color: #eab308; }
.fb-card.status-in-progress[b-sr3hlgzb93] { border-left-color: #3b82f6; }
.fb-card.status-resolved[b-sr3hlgzb93] { border-left-color: #22c55e; }
.fb-card.status-won-t-fix[b-sr3hlgzb93] { border-left-color: #9ca3af; }

.fb-card-head[b-sr3hlgzb93] { display: flex; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer; }
.fb-card-main[b-sr3hlgzb93] { flex: 1; min-width: 0; }
.fb-card-titlerow[b-sr3hlgzb93] { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fb-card-title[b-sr3hlgzb93] { font-weight: 700; font-size: 0.95rem; }
.fb-card-meta[b-sr3hlgzb93] { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 5px; font-size: 0.76rem; color: var(--text-muted, #9ca3af); align-items: center; }
.fb-caret[b-sr3hlgzb93] { color: var(--text-muted, #9ca3af); flex-shrink: 0; }

.fb-chip[b-sr3hlgzb93] { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.03em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; }
.cat[b-sr3hlgzb93] { background: rgba(99,102,241,.12); color: #4f46e5; }
.cat-bug[b-sr3hlgzb93] { background: rgba(239,68,68,.12); color: #dc2626; }
.cat-ui[b-sr3hlgzb93] { background: rgba(168,85,247,.12); color: #9333ea; }
.cat-feature[b-sr3hlgzb93] { background: rgba(34,197,94,.12); color: #16a34a; }
.cat-data[b-sr3hlgzb93] { background: rgba(245,158,11,.14); color: #d97706; }
.pri-high[b-sr3hlgzb93] { background: rgba(245,158,11,.16); color: #d97706; }
.pri-blocker[b-sr3hlgzb93] { background: rgba(239,68,68,.16); color: #dc2626; }

.fb-status[b-sr3hlgzb93] { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; }
.fb-status .dot[b-sr3hlgzb93] { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st-open[b-sr3hlgzb93] { color: #b8860b; } .st-in-progress[b-sr3hlgzb93] { color: #2563eb; } .st-resolved[b-sr3hlgzb93] { color: #16a34a; } .st-won-t-fix[b-sr3hlgzb93] { color: #6b7280; }

.fb-card-body[b-sr3hlgzb93] { padding: 0 16px 16px; border-top: 1px solid var(--border, #f1f1f4); }
.fb-desc[b-sr3hlgzb93] { white-space: pre-wrap; line-height: 1.6; font-size: 0.9rem; margin: 14px 0; color: var(--text-strong, #16181d); }

.fb-media[b-sr3hlgzb93] { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin: 12px 0; }
.fb-media-item[b-sr3hlgzb93] { display: flex; flex-direction: column; gap: 4px; }
.fb-media-item img[b-sr3hlgzb93], .fb-media-item video[b-sr3hlgzb93] { width: 100%; height: 150px; object-fit: cover; border-radius: 9px; border: 1px solid var(--border, #e5e7eb); background: #000; }
.fb-media-item img[b-sr3hlgzb93] { cursor: zoom-in; }
.fb-media-name[b-sr3hlgzb93] { font-size: 0.7rem; color: var(--text-muted, #9ca3af); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fb-file[b-sr3hlgzb93] { display: inline-flex; align-items: center; gap: 6px; color: var(--toyota-red, #eb0a1e); font-size: 0.85rem; text-decoration: none; }

.fb-resolution[b-sr3hlgzb93] { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0; padding: 10px 12px; border-radius: 9px; background: rgba(34,197,94,.08); border: 1px solid rgba(34,197,94,.25); font-size: 0.85rem; line-height: 1.5; }
.fb-resolution i[b-sr3hlgzb93] { color: #16a34a; margin-top: 2px; }

.fb-card-actions[b-sr3hlgzb93] { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.fb-statusbtns[b-sr3hlgzb93] { display: flex; flex-wrap: wrap; gap: 6px; }
.fb-sbtn[b-sr3hlgzb93] { border: 1px solid var(--border, #d1d5db); background: var(--surface-2, #f9fafb); color: var(--text-muted, #6b7280); border-radius: 8px; padding: 5px 11px; font-size: 0.78rem; font-weight: 700; cursor: pointer; transition: all .12s ease; }
.fb-sbtn:hover[b-sr3hlgzb93] { border-color: var(--text-muted, #9ca3af); }
.fb-sbtn.cur.st-open[b-sr3hlgzb93] { background: #b8860b; color: #fff; border-color: #b8860b; }
.fb-sbtn.cur.st-in-progress[b-sr3hlgzb93] { background: #2563eb; color: #fff; border-color: #2563eb; }
.fb-sbtn.cur.st-resolved[b-sr3hlgzb93] { background: #16a34a; color: #fff; border-color: #16a34a; }
.fb-sbtn.cur.st-won-t-fix[b-sr3hlgzb93] { background: #6b7280; color: #fff; border-color: #6b7280; }
.fb-noterow[b-sr3hlgzb93] { display: flex; gap: 8px; }
.fb-note[b-sr3hlgzb93] { flex: 1; }
.fb-notebtn[b-sr3hlgzb93], .fb-del[b-sr3hlgzb93] { border: 1px solid var(--border, #d1d5db); background: var(--surface-2, #f9fafb); border-radius: 8px; padding: 0 12px; cursor: pointer; color: var(--text-muted, #6b7280); }
.fb-del:hover[b-sr3hlgzb93] { color: #dc2626; border-color: #fca5a5; }

@media (max-width: 640px) {
    .fb-form-grid[b-sr3hlgzb93] { grid-template-columns: 1fr; }
    .fb-span2[b-sr3hlgzb93] { grid-column: 1; }
    .fb-stats[b-sr3hlgzb93] { grid-template-columns: repeat(2, 1fr); }
    .fb-header[b-sr3hlgzb93] { flex-direction: column; }
}
