/* /Components/Common/Footer.razor.rz.scp.css */
.footer[b-b5ubxkeido] {
    max-width: 960px;
    margin: 3rem auto 0;
    padding: 1.25rem 1rem 1.5rem;
    border-top: 1px solid var(--color-border);
    font-size: 0.825rem;
    color: var(--color-text-muted);
}

    .footer a[b-b5ubxkeido] {
        color: var(--color-text-muted);
        text-decoration: none;
        transition: color 0.15s ease;
    }

        .footer a:hover[b-b5ubxkeido] {
            color: var(--color-accent);
        }
/* /Components/Common/Header.razor.rz.scp.css */
.header[b-z8awnnvk1k] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.25rem;
    height: var(--header-height);
    background-color: var(--color-header-bg);
    color: var(--color-header-text);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow-sm);
}

.btn-toggle-sidebar[b-z8awnnvk1k] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    color: var(--color-header-text);
    border-radius: var(--radius);
    padding: 0;
    transition: background-color 0.2s ease;
    flex-shrink: 0;
}

    .btn-toggle-sidebar:hover[b-z8awnnvk1k] {
        background-color: rgba(255, 255, 255, 0.1);
    }

    .btn-toggle-sidebar.active[b-z8awnnvk1k] {
        background-color: rgba(255, 255, 255, 0.08);
    }

.app-title[b-z8awnnvk1k] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 0.75rem;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--color-header-text) !important;
    text-decoration: none !important;
    opacity: 0.95;
    transition: opacity 0.15s ease;
}

    .app-title[b-z8awnnvk1k]::before {
        content: '';
        display: inline-block;
        width: 6px;
        height: 6px;
        background-color: var(--color-accent);
        border-radius: 50%;
        flex-shrink: 0;
    }

    .app-title:hover[b-z8awnnvk1k] {
        opacity: 1;
    }

/* ── ヘッダー右側: ユーザーエリア ──────────────────────────── */

.header-user[b-z8awnnvk1k] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.header-user__name[b-z8awnnvk1k] {
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-btn[b-z8awnnvk1k] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    padding: 0 0.75rem;
    border-radius: var(--radius);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.15s ease, opacity 0.15s ease;
    white-space: nowrap;
    line-height: 1;
}

.header-btn--login[b-z8awnnvk1k] {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: rgba(255, 255, 255, 0.9);
}

    .header-btn--login:hover[b-z8awnnvk1k] {
        background-color: rgba(255, 255, 255, 0.12);
        border-color: rgba(255, 255, 255, 0.55);
    }

.header-btn--logout[b-z8awnnvk1k] {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.55);
}

    .header-btn--logout:hover[b-z8awnnvk1k] {
        color: rgba(255, 255, 255, 0.85);
        background-color: rgba(255, 255, 255, 0.08);
    }
/* /Components/Common/SideBar.razor.rz.scp.css */
/* ── Sidebar ─────────────────────────────────── */
.sidebar[b-goobu4fv0v] {
    width: var(--sidebar-width);
    background-color: var(--color-sidebar-bg);
    border-right: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    overflow-x: hidden;
    position: fixed;
    top: var(--header-height);
    left: 0;
    z-index: 999;
    height: calc(100vh - var(--header-height));
    transform: translateX(-100%);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

    .sidebar.show[b-goobu4fv0v] {
        transform: translateX(0);
    }

    .sidebar .nav[b-goobu4fv0v] {
        padding: 0.625rem 0;
    }

    .sidebar .nav-link[b-goobu4fv0v] {
        display: flex;
        align-items: center;
        gap: 0.625rem;
        padding: 0.65rem 1.25rem;
        font-size: 0.9375rem;
        font-weight: 500;
        color: var(--color-text-primary);
        text-decoration: none;
        background-color: transparent;
        border: none;
        border-left: 3px solid transparent;
        transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
        line-height: 1.5;
        white-space: nowrap;
    }

        .sidebar .nav-link:hover[b-goobu4fv0v] {
            color: var(--color-accent);
            background-color: rgba(59, 130, 246, 0.06);
            border-left-color: rgba(59, 130, 246, 0.35);
        }

        .sidebar .nav-link.active[b-goobu4fv0v] {
            color: var(--color-accent);
            background-color: rgba(59, 130, 246, 0.08);
            border-left-color: var(--color-accent);
            font-weight: 600;
        }

/* ── Nav Divider & Section Label ─────────────── */
.sidebar .nav-divider[b-goobu4fv0v] {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: 0.5rem 1rem;
}

.sidebar .nav-section-label[b-goobu4fv0v] {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    padding: 0.25rem 1.25rem 0.125rem;
    margin: 0;
}

/* ── Overlay ─────────────────────────────────── */
.overlay[b-goobu4fv0v] {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--color-overlay);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 998;
}

.fade-in[b-goobu4fv0v] {
    animation: fadeIn-b-goobu4fv0v 0.25s ease forwards;
}

@keyframes fadeIn-b-goobu4fv0v {
    from { opacity: 0; }
    to   { opacity: 1; }
}
/* /Components/SearchPaints/ColorChip.razor.rz.scp.css */
/* ── Color chip ──────────────────────────────── */
.color-chip[b-rc62wp6t04] {
    display: block;
    background-color: var(--base-color);
    width: var(--chip-size);
    height: var(--chip-size);
    min-width: var(--chip-size);
    min-height: var(--chip-size);
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.color-chip--default[b-rc62wp6t04] {
    --chip-size: 52px;
}

.color-chip--filter[b-rc62wp6t04],
.color-chip--list[b-rc62wp6t04] {
    --chip-size: 40px;
}

.color-chip--hero[b-rc62wp6t04] {
    --chip-size: 80px;
}

    .color-chip.color-chip--interactive[b-rc62wp6t04] {
        cursor: pointer;
    }

    .color-chip.color-chip--interactive:hover[b-rc62wp6t04] {
        transform: scale(1.15);
        box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12), var(--shadow-sm);
    }

    .color-chip.selected[b-rc62wp6t04] {
        box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12), 0 0 0 2px #ffffff, 0 0 0 4px var(--color-accent);
    }

/* ── Effect modifiers ────────────────────────── */
.metallic-chip[b-rc62wp6t04] {
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--base-color) 55%, white) 0%,
        var(--base-color) 50%,
        color-mix(in srgb, var(--base-color) 65%, black) 100%
    );
}

.pearl-chip[b-rc62wp6t04] {
    background: radial-gradient(
        circle at 35% 35%,
        color-mix(in srgb, var(--base-color) 35%, white),
        var(--base-color)
    );
}

.fluorescent-chip[b-rc62wp6t04] {
    filter: saturate(1.6) brightness(1.1);
    box-shadow:
        inset 0 0 0 1px rgba(0, 0, 0, 0.08),
        0 0  6px 1px color-mix(in srgb, var(--base-color) 80%, transparent),
        0 0 14px 3px color-mix(in srgb, var(--base-color) 45%, transparent),
        0 0 26px 6px color-mix(in srgb, var(--base-color) 20%, transparent);
}

/* クリア系：チェッカーボード＋半透明カラーオーバーレイ */
.clear-chip[b-rc62wp6t04] {
    position: relative;
    background-color: white !important;
    overflow: hidden;
}

.clear-chip[b-rc62wp6t04]::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background-image:
        linear-gradient(45deg, #c8c8c8 25%, transparent 25%),
        linear-gradient(-45deg, #c8c8c8 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #c8c8c8 75%),
        linear-gradient(-45deg, transparent 75%, #c8c8c8 75%);
    background-size: 8px 8px;
    background-position: 0 0, 0 4px, 4px -4px, -4px 0;
    background-color: white;
}

.clear-chip[b-rc62wp6t04]::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background-color: color-mix(in srgb, var(--base-color) 55%, transparent);
}

/* ── Skeleton ────────────────────────────────── */
.color-chip-skeleton[b-rc62wp6t04] {
    background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s ease infinite;
}
/* /Components/SearchPaints/ColorChipSelector.razor.rz.scp.css */
/* ── Color chip selector container ───────────── */
.color-chip-box[b-7s62p62e4g] {
    /* wrapper; no additional styling needed */
}

.color-chip-container[b-7s62p62e4g] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
/* /Components/SearchPaints/FilterResultList.razor.rz.scp.css */
/* ── Loading skeletons ───────────────────────── */
.frl-loading[b-0buqs1rk4l] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 6px;
}

.frl-skeleton[b-0buqs1rk4l] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
}

.frl-skeleton__chip[b-0buqs1rk4l] {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s ease infinite;
}

.frl-skeleton__body[b-0buqs1rk4l] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.frl-skeleton__line[b-0buqs1rk4l] {
    height: 11px;
    border-radius: 4px;
    background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s ease infinite;
}

.frl-skeleton__line--name[b-0buqs1rk4l] { width: 52%; }
.frl-skeleton__line--sub[b-0buqs1rk4l]  { width: 30%; }

.frl-skeleton__badges[b-0buqs1rk4l] {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.frl-skeleton__badge[b-0buqs1rk4l] {
    width: 48px;
    height: 18px;
    border-radius: 20px;
    background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s ease infinite;
}

/* ── Empty state ─────────────────────────────── */
.frl-empty[b-0buqs1rk4l] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4rem 1rem;
    text-align: center;
    gap: 0.5rem;
}

.frl-empty__icon[b-0buqs1rk4l] {
    color: var(--color-text-muted);
    opacity: 0.5;
    margin-bottom: 0.375rem;
}

.frl-empty__title[b-0buqs1rk4l] {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin: 0;
}

.frl-empty__sub[b-0buqs1rk4l] {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin: 0;
}

/* ── Initial (pre-search) state ──────────────── */
.frl-initial[b-0buqs1rk4l] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4rem 1rem;
    text-align: center;
    gap: 0.5rem;
}

.frl-initial__icon[b-0buqs1rk4l] {
    color: var(--color-text-muted);
    opacity: 0.4;
    margin-bottom: 0.375rem;
}

.frl-initial__title[b-0buqs1rk4l] {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin: 0;
}

.frl-initial__sub[b-0buqs1rk4l] {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin: 0;
}

/* ── Result header ───────────────────────────── */
.frl-header[b-0buqs1rk4l] {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.625rem;
    border-bottom: 1px solid var(--color-border);
}

.frl-count[b-0buqs1rk4l] {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

    .frl-count strong[b-0buqs1rk4l] {
        font-size: 1.0625rem;
        font-weight: 700;
        color: var(--color-text-primary);
    }

.frl-page-indicator[b-0buqs1rk4l] {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

/* ── List ────────────────────────────────────── */
.frl-list[b-0buqs1rk4l] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 6px;
}

/* ── Pagination ──────────────────────────────── */
.frl-pagination[b-0buqs1rk4l] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
}

.frl-page-btn[b-0buqs1rk4l] {
    padding: 0.4rem 1.125rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-muted);
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease;
}

    .frl-page-btn:hover:not(:disabled)[b-0buqs1rk4l] {
        border-color: var(--color-accent);
        color: var(--color-accent);
    }

    .frl-page-btn:disabled[b-0buqs1rk4l] {
        opacity: 0.35;
        cursor: not-allowed;
    }

.frl-page-pos[b-0buqs1rk4l] {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    min-width: 64px;
    text-align: center;
}
/* /Components/SearchPaints/FilterSearchPanel.razor.rz.scp.css */
/* ── Panel container ──────────────────────────── */
.fsp[b-feffg18gro] {
    display: flex;
    flex-direction: column;
}

.fsp-heading[b-feffg18gro] {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
}

/* ── Section ─────────────────────────────────── */
.fsp-section[b-feffg18gro] {
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
}

.fsp-section-label[b-feffg18gro] {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 0.625rem;
}

/* ── Hint box ────────────────────────────────── */
.fsp-hint-box[b-feffg18gro] {
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
}

.fsp-hint[b-feffg18gro] {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.5;
}

/* ── Sort select ─────────────────────────────── */
.fsp-select[b-feffg18gro] {
    display: block;
    width: auto;
    padding: 0.35rem 2.25rem 0.35rem 0.75rem;
    font-size: 0.875rem;
    color: var(--color-text-primary);
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%2394a3b8' d='M5 7L0 2h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.65rem center;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

    .fsp-select:focus[b-feffg18gro] {
        outline: none;
        border-color: var(--color-accent);
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
    }

/* ── Actions ─────────────────────────────────── */
.fsp-actions[b-feffg18gro] {
    display: flex;
    gap: 0.625rem;
    padding-top: 1.25rem;
}

.fsp-btn-search[b-feffg18gro] {
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    background-color: var(--color-accent);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background-color 0.15s ease;
}

    .fsp-btn-search:hover:not(:disabled)[b-feffg18gro] {
        background-color: var(--color-accent-hover);
    }

    .fsp-btn-search:disabled[b-feffg18gro] {
        opacity: 0.55;
        cursor: not-allowed;
    }

.fsp-btn-reset[b-feffg18gro] {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-muted);
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease;
}

    .fsp-btn-reset:hover[b-feffg18gro] {
        border-color: var(--color-text-muted);
        color: var(--color-text-primary);
    }

/* ── Child content ───────────────────────────── */
.fsp-child[b-feffg18gro] {
    padding-top: 1rem;
}
/* /Components/SearchPaints/PaintResultCard.razor.rz.scp.css */
/* ── Card ────────────────────────────────────── */
.prc[b-0z4a19qgo9] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: background-color 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease;
    text-align: left;
    width: 100%;
    color: inherit;
    text-decoration: none;
}

    .prc:hover[b-0z4a19qgo9] {
        background-color: rgba(59, 130, 246, 0.03);
        border-color: var(--color-accent);
        box-shadow: var(--shadow-sm);
    }

    .prc:hover .prc-arrow[b-0z4a19qgo9] {
        color: var(--color-accent);
        transform: translateX(3px);
    }

/* ── Color chip ──────────────────────────────── */
.prc-chip[b-0z4a19qgo9] {
    flex-shrink: 0;
}

/* ── Main body ───────────────────────────────── */
.prc-body[b-0z4a19qgo9] {
    flex: 1;
    min-width: 0;
}

.prc-name[b-0z4a19qgo9] {
    margin: 0 0 3px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.prc-sub[b-0z4a19qgo9] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.prc-brand[b-0z4a19qgo9] {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.prc-model[b-0z4a19qgo9] {
    flex-shrink: 0;
    padding: 1px 6px;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
    font-size: 0.6875rem;
    color: var(--color-text-primary);
    background: var(--color-border);
    border-radius: 3px;
}

/* ── Badges ──────────────────────────────────── */
.prc-badges[b-0z4a19qgo9] {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.prc-badge[b-0z4a19qgo9] {
    padding: 2px 8px;
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--color-text-muted);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    white-space: nowrap;
}

/* ── Arrow ───────────────────────────────────── */
.prc-arrow[b-0z4a19qgo9] {
    flex-shrink: 0;
    font-size: 1.375rem;
    line-height: 1;
    color: var(--color-text-muted);
    transition: color 0.12s ease, transform 0.12s ease;
}

/* ── Responsive: hide badges on very small screens ── */
@media (max-width: 480px) {
    .prc-badges[b-0z4a19qgo9] {
        display: none;
    }
}

/* ── Rating ──────────────────────────────────── */
.prc-rating[b-0z4a19qgo9] {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 3px 0 0;
    font-size: 0.75rem;
}

.prc-rating__stars[b-0z4a19qgo9] {
    position: relative;
    display: inline-block;
    color: #d1d5db;
    font-size: 0.75rem;
    line-height: 1;
    letter-spacing: 1px;
}

.prc-rating__fill[b-0z4a19qgo9] {
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
    white-space: nowrap;
    color: #f59e0b;
}

.prc-rating__val[b-0z4a19qgo9] {
    font-weight: 700;
    color: var(--color-text-primary);
    font-size: 0.75rem;
}

.prc-rating__count[b-0z4a19qgo9] {
    color: var(--color-text-muted);
    font-size: 0.6875rem;
}
/* /Components/SearchPaints/SearchModeSelector.razor.rz.scp.css */
/* ── Mode selector pill tab ───────────────────── */
.mode-selector[b-xq6o38ak1i] {
    display: inline-flex;
    background-color: var(--color-border);
    padding: 3px;
    border-radius: calc(var(--radius) + 3px);
    gap: 2px;
    margin-bottom: 1.25rem;
}

.mode-btn[b-xq6o38ak1i] {
    padding: 0.45rem 1.125rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-muted);
    background: transparent;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

    .mode-btn:hover:not(.mode-btn--active)[b-xq6o38ak1i] {
        color: var(--color-text-primary);
        background-color: rgba(255, 255, 255, 0.65);
    }

    .mode-btn--active[b-xq6o38ak1i] {
        background-color: #ffffff;
        color: var(--color-accent);
        font-weight: 600;
        box-shadow: var(--shadow-sm);
    }
/* /Components/SearchPaints/SeriesAutocomplete.razor.rz.scp.css */
/* ── Series autocomplete ─────────────────────── */
.sa-wrapper[b-puv9jxox5e] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sa-container[b-puv9jxox5e] {
    display: flex;
    gap: 6px;
    align-items: stretch;
}

.sa-input[b-puv9jxox5e] {
    flex: 1;
    min-width: 0;
    padding: 0.4rem 0.75rem;
    font-size: 0.875rem;
    color: var(--color-text-primary);
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

    .sa-input:focus[b-puv9jxox5e] {
        outline: none;
        border-color: var(--color-accent);
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
    }

    .sa-input[b-puv9jxox5e]::placeholder {
        color: var(--color-text-muted);
    }

.sa-btn[b-puv9jxox5e] {
    padding: 0.4rem 0.875rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-muted);
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    cursor: pointer;
    white-space: nowrap;
    transition: border-color 0.15s ease, color 0.15s ease;
}

    .sa-btn:hover[b-puv9jxox5e] {
        border-color: var(--color-accent);
        color: var(--color-accent);
    }

/* ── Selected tag chips ──────────────────────── */
.sa-chips[b-puv9jxox5e] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.sa-chip[b-puv9jxox5e] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0.25rem 0.5rem 0.25rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-accent);
    background-color: rgba(59, 130, 246, 0.08);
    border: 1.5px solid var(--color-accent);
    border-radius: 20px;
    white-space: nowrap;
}

.sa-chip-label[b-puv9jxox5e] {
    line-height: 1;
}

.sa-chip-remove[b-puv9jxox5e] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    padding: 0;
    font-size: 0.875rem;
    line-height: 1;
    color: var(--color-accent);
    background: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.12s ease, background-color 0.12s ease;
}

    .sa-chip-remove:hover[b-puv9jxox5e] {
        opacity: 1;
        background-color: rgba(59, 130, 246, 0.15);
    }
/* /Components/SearchPaints/SimilarResultList.razor.rz.scp.css */
/* ── Loading skeletons ───────────────────────── */
.srl-loading[b-d3q2s4q6re] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 6px;
}

.srl-skeleton[b-d3q2s4q6re] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
}

.srl-skeleton__chip[b-d3q2s4q6re] {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
    background-size: 200% 100%;
    animation: shimmer-b-d3q2s4q6re 1.4s ease infinite;
}

.srl-skeleton__body[b-d3q2s4q6re] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.srl-skeleton__line[b-d3q2s4q6re] {
    height: 11px;
    border-radius: 4px;
    background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
    background-size: 200% 100%;
    animation: shimmer-b-d3q2s4q6re 1.4s ease infinite;
}

.srl-skeleton__line--name[b-d3q2s4q6re] { width: 52%; }
.srl-skeleton__line--sub[b-d3q2s4q6re]  { width: 30%; }

.srl-skeleton__badges[b-d3q2s4q6re] {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.srl-skeleton__badge[b-d3q2s4q6re] {
    width: 48px;
    height: 18px;
    border-radius: 20px;
    background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
    background-size: 200% 100%;
    animation: shimmer-b-d3q2s4q6re 1.4s ease infinite;
}

.srl-skeleton__badge--score[b-d3q2s4q6re] { width: 56px; }

@keyframes shimmer-b-d3q2s4q6re {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ── Empty state ─────────────────────────────── */
.srl-empty[b-d3q2s4q6re] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4rem 1rem;
    text-align: center;
    gap: 0.5rem;
}

.srl-empty__icon[b-d3q2s4q6re]  { color: var(--color-text-muted); opacity: 0.5; margin-bottom: 0.375rem; }
.srl-empty__title[b-d3q2s4q6re] { font-size: 0.9375rem; font-weight: 600; color: var(--color-text-primary); margin: 0; }
.srl-empty__sub[b-d3q2s4q6re]   { font-size: 0.8125rem; color: var(--color-text-muted); margin: 0; }

/* ── Initial (pre-search) state ──────────────── */
.srl-initial[b-d3q2s4q6re] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4rem 1rem;
    text-align: center;
    gap: 0.5rem;
}

.srl-initial__icon[b-d3q2s4q6re]  { color: var(--color-text-muted); opacity: 0.4; margin-bottom: 0.375rem; }
.srl-initial__title[b-d3q2s4q6re] { font-size: 0.9375rem; font-weight: 600; color: var(--color-text-primary); margin: 0; }
.srl-initial__sub[b-d3q2s4q6re]   { font-size: 0.8125rem; color: var(--color-text-muted); margin: 0; }

/* ── Result header ───────────────────────────── */
.srl-header[b-d3q2s4q6re] {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.625rem;
    border-bottom: 1px solid var(--color-border);
}

.srl-count[b-d3q2s4q6re] { font-size: 0.875rem; color: var(--color-text-muted); }
.srl-count strong[b-d3q2s4q6re] { font-size: 1.0625rem; font-weight: 700; color: var(--color-text-primary); }
.srl-page-indicator[b-d3q2s4q6re] { font-size: 0.75rem; color: var(--color-text-muted); }

/* ── List ────────────────────────────────────── */
.srl-list[b-d3q2s4q6re] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 6px;
}

/* ── Result item ─────────────────────────────── */
.srl-item[b-d3q2s4q6re] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    transition: border-color 0.12s ease, box-shadow 0.12s ease;
    cursor: pointer;
}

.srl-item:hover[b-d3q2s4q6re] {
    border-color: color-mix(in srgb, var(--color-accent) 40%, var(--color-border));
    box-shadow: var(--shadow-sm);
}

.srl-item__chip[b-d3q2s4q6re] { flex-shrink: 0; }

.srl-item__body[b-d3q2s4q6re] {
    flex: 1;
    min-width: 0;
}

.srl-item__name[b-d3q2s4q6re] {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin: 0 0 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.srl-item__sub[b-d3q2s4q6re] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.srl-item__brand[b-d3q2s4q6re] { white-space: nowrap; }

.srl-item__model[b-d3q2s4q6re] {
    font-family: monospace;
    font-size: 0.6875rem;
    padding: 1px 5px;
    background: var(--color-border);
    border-radius: 3px;
    color: var(--color-text-muted);
}

/* ── Badges ──────────────────────────────────── */
.srl-item__badges[b-d3q2s4q6re] {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.srl-badge[b-d3q2s4q6re] {
    font-size: 0.6875rem;
    padding: 2px 7px;
    border-radius: 20px;
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    white-space: nowrap;
}

/* ── ΔE score badge ──────────────────────────── */
.srl-delta[b-d3q2s4q6re] {
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 20px;
    white-space: nowrap;
}

.srl-delta--excellent[b-d3q2s4q6re] {
    background-color: rgba(34, 197, 94, 0.12);
    color: #16a34a;
}

.srl-delta--good[b-d3q2s4q6re] {
    background-color: rgba(14, 165, 233, 0.12);
    color: #0369a1;
}

.srl-delta--moderate[b-d3q2s4q6re] {
    background-color: rgba(234, 179, 8, 0.12);
    color: #a16207;
}

.srl-delta--far[b-d3q2s4q6re] {
    background-color: rgba(239, 68, 68, 0.08);
    color: #b91c1c;
}

/* ── Pagination ──────────────────────────────── */
.srl-pagination[b-d3q2s4q6re] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
}

.srl-page-btn[b-d3q2s4q6re] {
    padding: 0.4rem 1.125rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-muted);
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.srl-page-btn:hover:not(:disabled)[b-d3q2s4q6re] {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.srl-page-btn:disabled[b-d3q2s4q6re] { opacity: 0.35; cursor: not-allowed; }

/* ── Arrow ───────────────────────────────────── */
.srl-arrow[b-d3q2s4q6re] {
    flex-shrink: 0;
    font-size: 1.375rem;
    line-height: 1;
    color: var(--color-text-muted);
    transition: color 0.12s ease, transform 0.12s ease;
}

.srl-item:hover .srl-arrow[b-d3q2s4q6re] {
    color: var(--color-accent);
    transform: translateX(3px);
}

.srl-page-pos[b-d3q2s4q6re] {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    min-width: 64px;
    text-align: center;
}

/* ── Rating ──────────────────────────────────── */
.srl-item__rating[b-d3q2s4q6re] {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 3px 0 0;
    font-size: 0.75rem;
}

.srl-rating__stars[b-d3q2s4q6re] {
    position: relative;
    display: inline-block;
    color: #d1d5db;
    font-size: 0.75rem;
    line-height: 1;
    letter-spacing: 1px;
}

.srl-rating__fill[b-d3q2s4q6re] {
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
    white-space: nowrap;
    color: #f59e0b;
}

.srl-rating__val[b-d3q2s4q6re] {
    font-weight: 700;
    color: var(--color-text-primary);
    font-size: 0.75rem;
}

.srl-rating__count[b-d3q2s4q6re] {
    color: var(--color-text-muted);
    font-size: 0.6875rem;
}
/* /Components/SearchPaints/TextTagChipSelector.razor.rz.scp.css */
/* ── Tag chip container ───────────────────────── */
.tag-chip-container[b-6qd01axa0m] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* ── Tag chip ────────────────────────────────── */
.tag-chip[b-6qd01axa0m] {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-text-primary);
    background-color: #ffffff;
    border: 1.5px solid var(--color-border);
    border-radius: 20px;
    cursor: pointer;
    white-space: nowrap;
    user-select: none;
    transition: border-color 0.12s ease, background-color 0.12s ease, color 0.12s ease;
}

    .tag-chip:hover:not(.selected)[b-6qd01axa0m] {
        border-color: var(--color-accent);
        color: var(--color-accent);
    }

    .tag-chip.selected[b-6qd01axa0m] {
        background-color: rgba(59, 130, 246, 0.08);
        border-color: var(--color-accent);
        color: var(--color-accent);
        font-weight: 600;
    }

/* ── Skeleton ────────────────────────────────── */
.chip-skeleton[b-6qd01axa0m] {
    background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s ease infinite;
    border-color: transparent !important;
    color: transparent !important;
    width: 72px;
    height: 30px;
    border-radius: 20px;
}
/* /Layout/AdminLayout.razor.rz.scp.css */
/* ── Auth Checking State ──────────────────────── */
.admin-auth-checking[b-vqtzkrmn99] {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background-color: var(--color-surface);
}

.admin-spinner[b-vqtzkrmn99] {
    width: 32px;
    height: 32px;
    border: 3px solid var(--color-border);
    border-top-color: var(--color-accent);
    border-radius: 50%;
    animation: spin-admin-b-vqtzkrmn99 0.75s linear infinite;
}

@keyframes spin-admin-b-vqtzkrmn99 {
    to { transform: rotate(360deg); }
}

/* ── Forbidden State ──────────────────────────── */
.admin-forbidden[b-vqtzkrmn99] {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background-color: var(--color-surface);
}

.admin-forbidden__inner[b-vqtzkrmn99] {
    text-align: center;
    max-width: 480px;
    padding: 2rem;
}

.admin-forbidden__code[b-vqtzkrmn99] {
    font-size: 5rem;
    font-weight: 700;
    color: var(--color-border);
    line-height: 1;
    margin-bottom: 1rem;
}

.admin-forbidden__title[b-vqtzkrmn99] {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
}

.admin-forbidden__desc[b-vqtzkrmn99] {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.admin-forbidden__link[b-vqtzkrmn99] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.65rem 1.5rem;
    background-color: var(--color-accent);
    color: #ffffff;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius);
    text-decoration: none;
    transition: background-color 0.15s ease;
}

    .admin-forbidden__link:hover[b-vqtzkrmn99] {
        background-color: var(--color-accent-hover);
        color: #ffffff;
        text-decoration: none;
    }
/* /Layout/MainLayout.razor.rz.scp.css */

/* /Layout/SearchLayout.razor.rz.scp.css */
/* ── Search layout: filter | results side-by-side ── */
.search-layout[b-soj8uq98kr] {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 1.5rem;
    align-items: start;
}

/* Stack vertically on smaller screens */
@media (max-width: 991px) {
    .search-layout[b-soj8uq98kr] {
        grid-template-columns: 1fr;
    }
}
/* /Pages/Admin/Auth/AuthCallback.razor.rz.scp.css */
.callback-page[b-2jlhziytfq] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: var(--color-surface);
}

.callback-loader[b-2jlhziytfq] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.callback-spinner[b-2jlhziytfq] {
    width: 36px;
    height: 36px;
    border: 3px solid var(--color-border);
    border-top-color: var(--color-accent);
    border-radius: 50%;
    animation: spin-callback-b-2jlhziytfq 0.75s linear infinite;
}

@keyframes spin-callback-b-2jlhziytfq {
    to { transform: rotate(360deg); }
}

.callback-text[b-2jlhziytfq] {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
}
/* /Pages/Admin/Dashboard/AdminDashboard.razor.rz.scp.css */
.admin-dashboard[b-0e4trl2hcb] {
    padding-bottom: 3rem;
}

/* ── Dashboard Header ─────────────────────────── */
.dash-header[b-0e4trl2hcb] {
    padding: 2.5rem 0 2rem;
    max-width: 640px;
}

.dash-badge[b-0e4trl2hcb] {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 0.2rem 0.55rem;
    background-color: rgba(59, 130, 246, 0.12);
    color: var(--color-accent);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 4px;
    margin-bottom: 0.875rem;
}

.dash-title[b-0e4trl2hcb] {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-text-primary);
    line-height: 1.2;
    margin-bottom: 0.625rem;
}

.dash-subtitle[b-0e4trl2hcb] {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ── Section Label ────────────────────────────── */
.section-label[b-0e4trl2hcb] {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 0.875rem;
}

/* ── Dashboard Grid ───────────────────────────── */
.dash-grid[b-0e4trl2hcb] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 0.75rem;
}

/* ── Dashboard Card ───────────────────────────── */
.dash-card[b-0e4trl2hcb] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.125rem 1.25rem;
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: calc(var(--radius) + 2px);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}

.dash-card[b-0e4trl2hcb]::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    bottom: 20%;
    width: 3px;
    background-color: var(--color-accent);
    border-radius: 0 3px 3px 0;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.dash-card:hover[b-0e4trl2hcb] {
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    transform: translateY(-1px);
    text-decoration: none;
}

.dash-card:hover[b-0e4trl2hcb]::before {
    opacity: 1;
}

.dash-card__icon[b-0e4trl2hcb] {
    font-size: 1.375rem;
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(59, 130, 246, 0.07);
    border-radius: var(--radius);
}

.dash-card__body[b-0e4trl2hcb] {
    flex: 1;
    min-width: 0;
}

.dash-card__title[b-0e4trl2hcb] {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 0.2rem;
}

.dash-card__desc[b-0e4trl2hcb] {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dash-card__arrow[b-0e4trl2hcb] {
    font-size: 1rem;
    color: var(--color-accent);
    flex-shrink: 0;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.dash-card:hover .dash-card__arrow[b-0e4trl2hcb] {
    opacity: 1;
    transform: translateX(0);
}
/* /Pages/Admin/Login/AdminLogin.razor.rz.scp.css */
.login-page[b-l9rj1jybii] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: var(--color-surface);
    padding: 1.5rem;
}

.login-card[b-l9rj1jybii] {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: calc(var(--radius) + 4px);
    box-shadow: var(--shadow-md);
    padding: 2.5rem 2rem;
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.login-icon[b-l9rj1jybii] {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.login-title[b-l9rj1jybii] {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--color-text-primary);
    letter-spacing: -0.01em;
    margin-bottom: 0.625rem;
}

.login-desc[b-l9rj1jybii] {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.65;
    margin-bottom: 1.75rem;
}

.login-error[b-l9rj1jybii] {
    font-size: 0.8125rem;
    color: #dc2626;
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: var(--radius);
    padding: 0.625rem 0.875rem;
    margin-bottom: 1.25rem;
    text-align: left;
}

/* ── Google Button ────────────────────────────── */
.btn-google[b-l9rj1jybii] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.7rem 1.25rem;
    background: #ffffff;
    color: #3c4043;
    font-size: 0.9375rem;
    font-weight: 500;
    border: 1px solid #dadce0;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background-color 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.25rem;
}

    .btn-google:hover:not(:disabled)[b-l9rj1jybii] {
        background-color: #f8f9fa;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    }

    .btn-google:active:not(:disabled)[b-l9rj1jybii] {
        background-color: #f1f3f4;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    }

    .btn-google:disabled[b-l9rj1jybii] {
        opacity: 0.65;
        cursor: not-allowed;
    }

.google-icon[b-l9rj1jybii] {
    flex-shrink: 0;
}

/* ── Spinner ──────────────────────────────────── */
.btn-spinner[b-l9rj1jybii] {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid var(--color-border);
    border-top-color: var(--color-accent);
    border-radius: 50%;
    animation: spin-btn-b-l9rj1jybii 0.7s linear infinite;
    flex-shrink: 0;
}

@keyframes spin-btn-b-l9rj1jybii {
    to { transform: rotate(360deg); }
}

/* ── Back Link ────────────────────────────────── */
.login-back[b-l9rj1jybii] {
    display: block;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.15s ease;
}

    .login-back:hover[b-l9rj1jybii] {
        color: var(--color-accent);
        text-decoration: none;
    }
/* /Pages/Admin/Paints/AdminPaints.razor.rz.scp.css */
/* ── Page Layout ───────────────────────────────── */
.admin-paints[b-ef0v36zsb4] {
    padding-bottom: 3rem;
}

/* ── Toolbar ───────────────────────────────────── */
.paints-toolbar[b-ef0v36zsb4] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.btn-primary[b-ef0v36zsb4] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1.125rem;
    background: var(--color-accent);
    color: #ffffff;
    border: none;
    border-radius: var(--radius);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s ease, opacity 0.15s ease;
    white-space: nowrap;
}

.btn-primary:hover:not(:disabled)[b-ef0v36zsb4] {
    background: var(--color-accent-hover);
}

.btn-primary:disabled[b-ef0v36zsb4] {
    opacity: 0.55;
    cursor: not-allowed;
}

.masters-warn[b-ef0v36zsb4] {
    font-size: 0.8125rem;
    color: #f59e0b;
}

/* ── Loading shimmer ───────────────────────────── */
.paints-loading[b-ef0v36zsb4] {
    padding: 0.5rem 0;
}

.shimmer-row[b-ef0v36zsb4] {
    height: 2.75rem;
    margin-bottom: 0.5rem;
    border-radius: var(--radius);
    background: linear-gradient(
        90deg,
        var(--color-border) 25%,
        #e8ecf0 50%,
        var(--color-border) 75%
    );
    background-size: 200% auto;
    animation: shimmer 1.5s linear infinite;
}

/* ── Error banner ──────────────────────────────── */
.paints-error-banner[b-ef0v36zsb4] {
    padding: 0.875rem 1rem;
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
    border-radius: var(--radius);
    font-size: 0.9375rem;
    margin-bottom: 1rem;
}

/* ── Table wrapper ─────────────────────────────── */
.paints-table-wrap[b-ef0v36zsb4] {
    overflow-x: auto;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.paints-table[b-ef0v36zsb4] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.paints-table th[b-ef0v36zsb4] {
    padding: 0.625rem 1rem;
    text-align: left;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    border-bottom: 1px solid var(--color-border);
    background: var(--color-surface);
    white-space: nowrap;
}

.paints-table td[b-ef0v36zsb4] {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--color-border);
    vertical-align: middle;
    color: var(--color-text-primary);
}

.paints-table tbody tr:last-child td[b-ef0v36zsb4] {
    border-bottom: none;
}

.paints-table tbody tr:hover[b-ef0v36zsb4] {
    background: #f5f8ff;
}

/* Column widths */
.col-color[b-ef0v36zsb4]  { width: 52px; }
.col-name[b-ef0v36zsb4]   { min-width: 160px; }
.col-model[b-ef0v36zsb4]  { width: 110px; }
.col-brand[b-ef0v36zsb4]  { width: 110px; }
.col-type[b-ef0v36zsb4]   { width: 90px; }
.col-gloss[b-ef0v36zsb4]  { width: 80px; }
.col-actions[b-ef0v36zsb4] { width: 120px; }

/* ── Color swatch ──────────────────────────────── */
.color-swatch[b-ef0v36zsb4] {
    display: inline-block;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
    flex-shrink: 0;
    vertical-align: middle;
}

/* クリア系：チェッカーボード＋半透明カラーオーバーレイ */
.color-swatch--clear[b-ef0v36zsb4] {
    background-color: white !important;
    position: relative;
    overflow: hidden;
}

/* チェッカーボード（発色ベース） */
.color-swatch--clear[b-ef0v36zsb4]::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(45deg, #c8c8c8 25%, transparent 25%),
        linear-gradient(-45deg, #c8c8c8 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #c8c8c8 75%),
        linear-gradient(-45deg, transparent 75%, #c8c8c8 75%);
    background-size: 8px 8px;
    background-position: 0 0, 0 4px, 4px -4px, -4px 0;
    background-color: white;
}

/* 半透明カラーオーバーレイ */
.color-swatch--clear[b-ef0v36zsb4]::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: var(--swatch-color, transparent);
}

/* ── Cell content ──────────────────────────────── */
.paint-name-cell[b-ef0v36zsb4] {
    font-weight: 600;
}

.paint-model[b-ef0v36zsb4] {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

/* ── Empty state ───────────────────────────────── */
.paints-empty[b-ef0v36zsb4] {
    text-align: center;
    padding: 3.5rem 2rem;
    color: var(--color-text-muted);
    font-size: 0.9375rem;
}

/* ── Row actions ───────────────────────────────── */
.row-actions[b-ef0v36zsb4] {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.btn-row-edit[b-ef0v36zsb4],
.btn-row-delete[b-ef0v36zsb4] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.25rem 0.625rem;
    border: 1px solid var(--color-border);
    border-radius: calc(var(--radius) - 1px);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    background: #ffffff;
    white-space: nowrap;
}

.btn-row-edit[b-ef0v36zsb4] {
    color: var(--color-accent);
}

.btn-row-edit:hover:not(:disabled)[b-ef0v36zsb4] {
    background: rgba(59, 130, 246, 0.07);
    border-color: var(--color-accent);
}

.btn-row-edit:disabled[b-ef0v36zsb4] {
    opacity: 0.55;
    cursor: not-allowed;
}

.btn-row-delete[b-ef0v36zsb4] {
    color: #ef4444;
}

.btn-row-delete:hover[b-ef0v36zsb4] {
    background: rgba(239, 68, 68, 0.07);
    border-color: #ef4444;
}

/* ── Pagination ────────────────────────────────── */
.pagination[b-ef0v36zsb4] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 1.25rem 0;
    flex-wrap: wrap;
}

.page-btn[b-ef0v36zsb4] {
    min-width: 2rem;
    height: 2rem;
    padding: 0 0.5rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: #ffffff;
    color: var(--color-text-primary);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-btn:hover:not(:disabled)[b-ef0v36zsb4] {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.page-btn.active[b-ef0v36zsb4] {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #ffffff;
    font-weight: 600;
}

.page-btn:disabled[b-ef0v36zsb4] {
    opacity: 0.45;
    cursor: not-allowed;
}

.page-info[b-ef0v36zsb4] {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin-left: 0.5rem;
}

/* ── Delete confirm dialog ─────────────────────── */
.modal-overlay[b-ef0v36zsb4] {
    position: fixed;
    inset: 0;
    background: var(--color-overlay);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 500;
    padding: 1rem;
    animation: overlay-in-b-ef0v36zsb4 0.15s ease;
}

@keyframes overlay-in-b-ef0v36zsb4 {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.confirm-dialog[b-ef0v36zsb4] {
    background: #ffffff;
    border-radius: calc(var(--radius) + 2px);
    box-shadow: var(--shadow-md);
    max-width: 420px;
    width: 100%;
    padding: 1.75rem;
    animation: dialog-in-b-ef0v36zsb4 0.2s ease;
}

@keyframes dialog-in-b-ef0v36zsb4 {
    from { opacity: 0; transform: scale(0.97) translateY(-8px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.confirm-title[b-ef0v36zsb4] {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 0.75rem;
}

.confirm-body[b-ef0v36zsb4] {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.confirm-body strong[b-ef0v36zsb4] {
    color: var(--color-text-primary);
    font-weight: 600;
}

.confirm-actions[b-ef0v36zsb4] {
    display: flex;
    justify-content: flex-end;
    gap: 0.625rem;
}

.btn-secondary[b-ef0v36zsb4] {
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: #ffffff;
    color: var(--color-text-primary);
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-secondary:hover:not(:disabled)[b-ef0v36zsb4] {
    border-color: #94a3b8;
    background: var(--color-surface);
}

.btn-secondary:disabled[b-ef0v36zsb4] {
    opacity: 0.55;
    cursor: not-allowed;
}

.btn-danger[b-ef0v36zsb4] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: var(--radius);
    background: #ef4444;
    color: #ffffff;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s ease, opacity 0.15s ease;
}

.btn-danger:hover:not(:disabled)[b-ef0v36zsb4] {
    background: #dc2626;
}

.btn-danger:disabled[b-ef0v36zsb4] {
    opacity: 0.55;
    cursor: not-allowed;
}

/* ── Spinners ──────────────────────────────────── */
.spinner-sm[b-ef0v36zsb4] {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin-b-ef0v36zsb4 0.7s linear infinite;
}

.spinner-xs[b-ef0v36zsb4] {
    display: inline-block;
    width: 10px;
    height: 10px;
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-top-color: var(--color-accent);
    border-radius: 50%;
    animation: spin-b-ef0v36zsb4 0.7s linear infinite;
}

@keyframes spin-b-ef0v36zsb4 {
    to { transform: rotate(360deg); }
}

/* ── Toast notification ────────────────────────── */
.toast[b-ef0v36zsb4] {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    padding: 0.875rem 1.25rem;
    border-radius: var(--radius);
    font-size: 0.9375rem;
    font-weight: 500;
    box-shadow: var(--shadow-md);
    z-index: 1000;
    animation: toast-in-b-ef0v36zsb4 0.2s ease;
    max-width: 380px;
    pointer-events: none;
}

.toast.success[b-ef0v36zsb4] {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.toast.error[b-ef0v36zsb4] {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

@keyframes toast-in-b-ef0v36zsb4 {
    from { opacity: 0; transform: translateY(0.5rem); }
    to   { opacity: 1; transform: translateY(0); }
}
/* /Pages/Admin/Paints/PaintFormModal.razor.rz.scp.css */
/* ── Modal overlay ─────────────────────────────── */
.modal-overlay[b-wo0adcugwu] {
    position: fixed;
    inset: 0;
    background: var(--color-overlay);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    z-index: 1100;
    padding: 2rem 1rem;
    overflow-y: auto;
    animation: overlay-in-b-wo0adcugwu 0.15s ease;
}

@keyframes overlay-in-b-wo0adcugwu {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ── Modal card ────────────────────────────────── */
.modal-card[b-wo0adcugwu] {
    background: #ffffff;
    border-radius: calc(var(--radius) + 2px);
    box-shadow: var(--shadow-md);
    width: 100%;
    max-width: 620px;
    display: flex;
    flex-direction: column;
    animation: card-in-b-wo0adcugwu 0.2s ease;
}

@keyframes card-in-b-wo0adcugwu {
    from { opacity: 0; transform: translateY(-12px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── Modal header ──────────────────────────────── */
.modal-header[b-wo0adcugwu] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem 1rem;
    border-bottom: 1px solid var(--color-border);
}

.modal-title[b-wo0adcugwu] {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

.modal-close-btn[b-wo0adcugwu] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border: none;
    border-radius: var(--radius);
    background: transparent;
    color: var(--color-text-muted);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.modal-close-btn:hover:not(:disabled)[b-wo0adcugwu] {
    background: var(--color-surface);
    color: var(--color-text-primary);
}

.modal-close-btn:disabled[b-wo0adcugwu] {
    opacity: 0.45;
    cursor: not-allowed;
}

/* ── Modal body ────────────────────────────────── */
.modal-body[b-wo0adcugwu] {
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow-y: auto;
    max-height: calc(100vh - 14rem);
}

/* ── Error banner ──────────────────────────────── */
.form-error-banner[b-wo0adcugwu] {
    padding: 0.75rem 1rem;
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
    border-radius: var(--radius);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

/* ── Success banner ─────────────────────────────── */
.form-success-banner[b-wo0adcugwu] {
    padding: 0.75rem 1rem;
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
    border-radius: var(--radius);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

/* ── Form layout ───────────────────────────────── */
.form-row[b-wo0adcugwu] {
    margin-bottom: 1rem;
}

.form-row--2col[b-wo0adcugwu] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.875rem;
}

.form-field[b-wo0adcugwu] {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.form-field--full[b-wo0adcugwu] {
    grid-column: 1 / -1;
}

.form-label[b-wo0adcugwu] {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

.required[b-wo0adcugwu] {
    color: #ef4444;
    font-weight: 400;
}

.optional[b-wo0adcugwu] {
    color: var(--color-text-muted);
    font-weight: 400;
}

/* ── Form controls ─────────────────────────────── */
.form-input[b-wo0adcugwu],
.form-select[b-wo0adcugwu],
.form-textarea[b-wo0adcugwu] {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-size: 0.9375rem;
    color: var(--color-text-primary);
    background: #ffffff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    outline: none;
    box-sizing: border-box;
}

.form-input:focus[b-wo0adcugwu],
.form-select:focus[b-wo0adcugwu],
.form-textarea:focus[b-wo0adcugwu] {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-input:disabled[b-wo0adcugwu],
.form-select:disabled[b-wo0adcugwu],
.form-textarea:disabled[b-wo0adcugwu] {
    background: var(--color-surface);
    color: var(--color-text-muted);
    cursor: not-allowed;
}

.form-textarea[b-wo0adcugwu] {
    resize: vertical;
    min-height: 5rem;
}

/* ── HEX input ─────────────────────────────────── */
.hex-input-wrap[b-wo0adcugwu] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hex-preview[b-wo0adcugwu] {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    transition: background-color 0.2s ease;
}

.hex-input[b-wo0adcugwu] {
    flex: 1;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    letter-spacing: 0.05em;
}

/* ── Price input ───────────────────────────────── */
.price-input-wrap[b-wo0adcugwu] {
    display: flex;
    align-items: center;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.price-input-wrap:focus-within[b-wo0adcugwu] {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.price-prefix[b-wo0adcugwu] {
    padding: 0 0.625rem;
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    background: var(--color-surface);
    border-right: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    height: 100%;
    user-select: none;
}

.price-input[b-wo0adcugwu] {
    flex: 1;
    border: none;
    border-radius: 0;
    box-shadow: none !important;
}

.price-input:focus[b-wo0adcugwu] {
    border-color: transparent;
    box-shadow: none !important;
}

/* ── Tag groups ────────────────────────────────── */
.tag-groups[b-wo0adcugwu] {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    padding: 0.875rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-surface);
    max-height: 240px;
    overflow-y: auto;
}

.tag-group-label[b-wo0adcugwu] {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 0.375rem;
}

.tag-chips[b-wo0adcugwu] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.tag-chip[b-wo0adcugwu] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.625rem;
    border: 1px solid var(--color-border);
    border-radius: 100px;
    background: #ffffff;
    color: var(--color-text-primary);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.1s ease;
    white-space: nowrap;
}

.tag-chip:hover:not(:disabled)[b-wo0adcugwu] {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: rgba(59, 130, 246, 0.05);
}

.tag-chip.selected[b-wo0adcugwu] {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--color-accent);
    color: var(--color-accent);
    font-weight: 600;
}

.tag-chip:disabled[b-wo0adcugwu] {
    opacity: 0.5;
    cursor: not-allowed;
}

.tag-chip-color[b-wo0adcugwu] {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

/* ── Modal footer ──────────────────────────────── */
.modal-footer[b-wo0adcugwu] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.625rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--color-border);
}

.btn-secondary[b-wo0adcugwu] {
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: #ffffff;
    color: var(--color-text-primary);
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-secondary:hover:not(:disabled)[b-wo0adcugwu] {
    border-color: #94a3b8;
    background: var(--color-surface);
}

.btn-secondary:disabled[b-wo0adcugwu] {
    opacity: 0.55;
    cursor: not-allowed;
}

.btn-save[b-wo0adcugwu] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1.25rem;
    border: none;
    border-radius: var(--radius);
    background: var(--color-accent);
    color: #ffffff;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s ease, opacity 0.15s ease;
}

.btn-save:hover:not(:disabled)[b-wo0adcugwu] {
    background: var(--color-accent-hover);
}

.btn-save:disabled[b-wo0adcugwu] {
    opacity: 0.55;
    cursor: not-allowed;
}

/* ── Spinner ───────────────────────────────────── */
.spinner-sm[b-wo0adcugwu] {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin-b-wo0adcugwu 0.7s linear infinite;
}

@keyframes spin-b-wo0adcugwu {
    to { transform: rotate(360deg); }
}

/* ── Responsive ────────────────────────────────── */
@media (max-width: 520px) {
    .modal-overlay[b-wo0adcugwu] {
        padding: 0;
        align-items: flex-end;
    }

    .modal-card[b-wo0adcugwu] {
        border-radius: calc(var(--radius) + 2px) calc(var(--radius) + 2px) 0 0;
        max-width: 100%;
        max-height: 95dvh;
    }

    .form-row--2col[b-wo0adcugwu] {
        grid-template-columns: 1fr;
    }
}
/* /Pages/Auth/UserAuthCallback.razor.rz.scp.css */
.callback-page[b-5bzbvobefi] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: var(--color-surface);
}

.callback-loader[b-5bzbvobefi] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.callback-spinner[b-5bzbvobefi] {
    width: 36px;
    height: 36px;
    border: 3px solid var(--color-border);
    border-top-color: var(--color-accent);
    border-radius: 50%;
    animation: spin-callback-b-5bzbvobefi 0.75s linear infinite;
}

@keyframes spin-callback-b-5bzbvobefi {
    to { transform: rotate(360deg); }
}

.callback-text[b-5bzbvobefi] {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
}
/* /Pages/Home/Home.razor.rz.scp.css */
/* ── Hero ─────────────────────────────────────── */
.hero[b-255jnnqjq9] {
    padding: 3.5rem 0 3rem;
    max-width: 640px;
}

.hero-eyebrow[b-255jnnqjq9] {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 0.75rem;
}

.hero-title[b-255jnnqjq9] {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--color-text-primary);
    line-height: 1.15;
    margin-bottom: 1rem;
}

.hero-subtitle[b-255jnnqjq9] {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.btn-hero[b-255jnnqjq9] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.65rem 1.5rem;
    background-color: var(--color-accent);
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius);
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.3);
    transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}

    .btn-hero:hover[b-255jnnqjq9] {
        background-color: var(--color-accent-hover);
        color: #fff;
        text-decoration: none;
        transform: translateY(-1px);
        box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
    }

    .btn-hero:active[b-255jnnqjq9] {
        transform: translateY(0);
    }

/* ── Features ─────────────────────────────────── */
.features[b-255jnnqjq9] {
    padding-bottom: 3rem;
}

.section-label[b-255jnnqjq9] {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 0.875rem;
}

.feature-grid[b-255jnnqjq9] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 0.75rem;
}

.feature-card[b-255jnnqjq9] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.125rem 1.25rem;
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: calc(var(--radius) + 2px);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}

    /* Active left-bar accent */
    .feature-card--active[b-255jnnqjq9]::before {
        content: '';
        position: absolute;
        left: 0;
        top: 20%;
        bottom: 20%;
        width: 3px;
        background-color: var(--color-accent);
        border-radius: 0 3px 3px 0;
        opacity: 0;
        transition: opacity 0.15s ease;
    }

    .feature-card--active:hover[b-255jnnqjq9] {
        border-color: rgba(59, 130, 246, 0.5);
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
        transform: translateY(-1px);
        text-decoration: none;
    }

    .feature-card--active:hover[b-255jnnqjq9]::before {
        opacity: 1;
    }

    .feature-card--disabled[b-255jnnqjq9] {
        opacity: 0.5;
        cursor: default;
        pointer-events: none;
    }

.feature-card__icon[b-255jnnqjq9] {
    font-size: 1.375rem;
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(59, 130, 246, 0.07);
    border-radius: var(--radius);
}

.feature-card__body[b-255jnnqjq9] {
    flex: 1;
    min-width: 0;
}

.feature-card__title[b-255jnnqjq9] {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.2rem;
}

.feature-card__desc[b-255jnnqjq9] {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.feature-card__arrow[b-255jnnqjq9] {
    font-size: 1rem;
    color: var(--color-accent);
    flex-shrink: 0;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.feature-card--active:hover .feature-card__arrow[b-255jnnqjq9] {
    opacity: 1;
    transform: translateX(0);
}

/* ── Badge ────────────────────────────────────── */
.badge-soon[b-255jnnqjq9] {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 0.1rem 0.45rem;
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--color-accent);
    border-radius: 999px;
}
/* /Pages/PaintDetail/PaintDetail.razor.rz.scp.css */
/* ── Back navigation ─────────────────────────── */
.pd-back-row[b-6jzgutxcb8] {
    margin-bottom: 1.25rem;
}

.pd-back-link[b-6jzgutxcb8] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.15s ease;
}

    .pd-back-link:hover[b-6jzgutxcb8] {
        color: var(--color-accent);
        text-decoration: none;
    }

/* ── Page header ─────────────────────────────── */
.pd-page-header[b-6jzgutxcb8] {
    padding: 0.75rem 0 1.25rem;
}

.pd-page-eyebrow[b-6jzgutxcb8] {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 0.375rem;
}

.pd-page-title[b-6jzgutxcb8] {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--color-text-primary);
    line-height: 1.2;
    margin-bottom: 0.375rem;
}

.pd-page-meta[b-6jzgutxcb8] {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .pd-page-meta code[b-6jzgutxcb8] {
        font-size: 0.8rem;
        color: var(--color-text-primary) !important;
        background-color: rgba(148, 163, 184, 0.15);
        padding: 0.1rem 0.45rem;
        border-radius: 4px;
        font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
    }

/* ── Hero ────────────────────────────────────── */
.pd-hero[b-6jzgutxcb8] {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 1.75rem;
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--paint-hex, var(--color-accent));
    border-radius: calc(var(--radius) + 2px);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
}

.pd-hero__swatch[b-6jzgutxcb8] {
    flex-shrink: 0;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.18));
}

.pd-hero__body[b-6jzgutxcb8] {
    flex: 1;
    min-width: 0;
}

.pd-hero__name[b-6jzgutxcb8] {
    font-size: clamp(1.25rem, 3vw, 1.625rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-text-primary);
    margin-bottom: 0.375rem;
    line-height: 1.25;
}

.pd-hero__meta[b-6jzgutxcb8] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.625rem;
}

.pd-hero__brand[b-6jzgutxcb8] {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

.pd-hero__model[b-6jzgutxcb8] {
    font-size: 0.75rem;
    color: var(--color-text-primary) !important;
    background-color: rgba(148, 163, 184, 0.15);
    padding: 0.125rem 0.45rem;
    border-radius: 4px;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
}

.pd-hero__badges[b-6jzgutxcb8] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

/* ── Badge ───────────────────────────────────── */
.pd-badge[b-6jzgutxcb8] {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.2rem 0.65rem;
    background-color: rgba(59, 130, 246, 0.08);
    color: var(--color-accent);
    border: 1px solid rgba(59, 130, 246, 0.18);
    border-radius: 999px;
    white-space: nowrap;
}

/* ── Section ─────────────────────────────────── */
.pd-section[b-6jzgutxcb8] {
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: calc(var(--radius) + 2px);
    padding: 1.375rem 1.5rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
}

.pd-section__title[b-6jzgutxcb8] {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    padding-bottom: 0.625rem;
    border-bottom: 1px solid var(--color-border);
}

/* ── Color grid ──────────────────────────────── */
.pd-color-grid[b-6jzgutxcb8] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.625rem;
}

.pd-color-item[b-6jzgutxcb8] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.625rem 0.75rem;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
}

.pd-color-label[b-6jzgutxcb8] {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.pd-color-value[b-6jzgutxcb8] {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-primary);
    font-family: 'SFMono-Regular', 'Consolas', 'Liberation Mono', monospace;
}

/* ── Info list ───────────────────────────────── */
.pd-info-list[b-6jzgutxcb8] {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
}

.pd-info-row[b-6jzgutxcb8] {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    padding: 0.625rem 0;
    border-bottom: 1px solid var(--color-border);
}

    .pd-info-row:last-child[b-6jzgutxcb8] {
        border-bottom: none;
        padding-bottom: 0;
    }

    .pd-info-row:first-child[b-6jzgutxcb8] {
        padding-top: 0;
    }

.pd-info-label[b-6jzgutxcb8] {
    flex-shrink: 0;
    width: 6rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

.pd-info-value[b-6jzgutxcb8] {
    font-size: 0.9375rem;
    color: var(--color-text-primary);
    margin: 0;
}

    .pd-info-value code[b-6jzgutxcb8] {
        font-size: 0.875rem;
        color: var(--color-text-primary) !important;
        background-color: rgba(148, 163, 184, 0.15);
        padding: 0.125rem 0.5rem;
        border-radius: 4px;
        font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
    }

/* ── Tags ────────────────────────────────────── */
.pd-tags[b-6jzgutxcb8] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pd-tag[b-6jzgutxcb8] {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 0.3rem 0.875rem;
    background-color: var(--color-surface);
    color: var(--color-text-primary);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    transition: border-color 0.12s ease, background-color 0.12s ease;
}

    .pd-tag:hover[b-6jzgutxcb8] {
        border-color: rgba(59, 130, 246, 0.35);
        background-color: rgba(59, 130, 246, 0.04);
    }

/* ── Description ─────────────────────────────── */
.pd-description[b-6jzgutxcb8] {
    font-size: 0.9375rem;
    color: var(--color-text-primary);
    line-height: 1.75;
    margin: 0;
    white-space: pre-wrap;
}

/* ── Error state ─────────────────────────────── */
.pd-error[b-6jzgutxcb8] {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background-color: rgba(239, 68, 68, 0.06);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-left: 3px solid #ef4444;
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

.pd-error__icon[b-6jzgutxcb8] {
    color: #ef4444;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.pd-error__title[b-6jzgutxcb8] {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #b91c1c;
    margin: 0 0 0.25rem;
}

.pd-error__message[b-6jzgutxcb8] {
    font-size: 0.875rem;
    color: #b91c1c;
    margin: 0;
}

/* ── Loading skeleton ────────────────────────── */
.pd-skeleton[b-6jzgutxcb8] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pd-skeleton__hero[b-6jzgutxcb8] {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 1.75rem;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--color-border);
    border-radius: calc(var(--radius) + 2px);
    box-shadow: var(--shadow-sm);
}

.pd-skeleton__swatch[b-6jzgutxcb8] {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s ease infinite;
}

.pd-skeleton__hero-body[b-6jzgutxcb8] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 0.25rem;
}

.pd-skeleton__section[b-6jzgutxcb8] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.375rem 1.5rem;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: calc(var(--radius) + 2px);
    box-shadow: var(--shadow-sm);
}

.pd-skeleton__line[b-6jzgutxcb8] {
    height: 12px;
    border-radius: 4px;
    background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s ease infinite;
}

.pd-skeleton__line--title[b-6jzgutxcb8] { height: 20px; width: 55%; }
.pd-skeleton__line--sub[b-6jzgutxcb8]   { width: 38%; }
.pd-skeleton__line--full[b-6jzgutxcb8]  { width: 100%; }
.pd-skeleton__line--half[b-6jzgutxcb8]  { width: 50%; }

/* ── Responsive ──────────────────────────────── */
@media (max-width: 500px) {
    .pd-hero[b-6jzgutxcb8] {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.125rem;
    }

    .pd-skeleton__hero[b-6jzgutxcb8] {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.125rem;
    }
}

/* ── Stars (display) ─────────────────────────── */
.pd-stars[b-6jzgutxcb8] {
    position: relative;
    display: inline-block;
    color: #d1d5db;
    font-size: 1.25rem;
    line-height: 1;
    letter-spacing: 2px;
}

.pd-stars--sm[b-6jzgutxcb8] {
    font-size: 0.875rem;
    letter-spacing: 1px;
}

.pd-stars__fill[b-6jzgutxcb8] {
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
    white-space: nowrap;
    color: #f59e0b;
}

/* ── Evaluation section ──────────────────────── */
.pd-eval-summary[b-6jzgutxcb8] {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.pd-eval-overall[b-6jzgutxcb8] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    min-width: 72px;
}

.pd-eval-overall__score[b-6jzgutxcb8] {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--color-text-primary);
    line-height: 1;
}

.pd-eval-overall__stars[b-6jzgutxcb8] {
    margin-top: 0.125rem;
}

.pd-eval-overall__count[b-6jzgutxcb8] {
    font-size: 0.6875rem;
    color: var(--color-text-muted);
    white-space: nowrap;
    margin-top: 0.125rem;
}

.pd-eval-axes[b-6jzgutxcb8] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 200px;
}

.pd-eval-axis[b-6jzgutxcb8] {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.pd-eval-axis__label[b-6jzgutxcb8] {
    flex-shrink: 0;
    width: 5.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

.pd-eval-axis__bar[b-6jzgutxcb8] {
    flex: 1;
}

.pd-eval-axis__val[b-6jzgutxcb8] {
    flex-shrink: 0;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--color-text-primary);
    width: 2rem;
    text-align: right;
}

.pd-eval-empty[b-6jzgutxcb8] {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin: 0 0 1rem;
}

.pd-eval-divider[b-6jzgutxcb8] {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: 1rem 0;
}

/* ── Evaluation form ─────────────────────────── */
.pd-eval-form__title[b-6jzgutxcb8] {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0 0 1rem;
}

.pd-eval-notice[b-6jzgutxcb8] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.625rem 0.875rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

.pd-eval-notice--success[b-6jzgutxcb8] {
    background-color: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.25);
    color: #15803d;
}

.pd-eval-notice--error[b-6jzgutxcb8] {
    background-color: rgba(239, 68, 68, 0.06);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #b91c1c;
}

.pd-eval-fields[b-6jzgutxcb8] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.pd-eval-field[b-6jzgutxcb8] {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.pd-eval-field__info[b-6jzgutxcb8] {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 120px;
    flex: 1;
}

.pd-eval-field__label[b-6jzgutxcb8] {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

.pd-eval-field__desc[b-6jzgutxcb8] {
    font-size: 0.6875rem;
    color: var(--color-text-muted);
}

/* ── Star input ──────────────────────────────── */
.pd-star-input[b-6jzgutxcb8] {
    display: flex;
    gap: 2px;
}

.pd-star-btn[b-6jzgutxcb8] {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
    color: #d1d5db;
    padding: 2px;
    transition: color 0.1s ease, transform 0.1s ease;
    user-select: none;
}

    .pd-star-btn:hover[b-6jzgutxcb8],
    .pd-star-btn.is-on[b-6jzgutxcb8] {
        color: #f59e0b;
    }

    .pd-star-btn:hover[b-6jzgutxcb8] {
        transform: scale(1.15);
    }

    .pd-star-btn:focus-visible[b-6jzgutxcb8] {
        outline: 2px solid var(--color-accent);
        outline-offset: 2px;
        border-radius: 2px;
    }

/* ── Submit button ───────────────────────────── */
.pd-eval-form__validation[b-6jzgutxcb8] {
    font-size: 0.8125rem;
    color: #b91c1c;
    margin: 0 0 0.75rem;
}

.pd-eval-submit[b-6jzgutxcb8] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    background-color: var(--color-accent);
    border: 1px solid var(--color-accent-hover);
    border-radius: var(--radius);
    cursor: pointer;
    transition: background-color 0.15s ease, opacity 0.15s ease;
}

    .pd-eval-submit:hover:not(:disabled)[b-6jzgutxcb8] {
        background-color: var(--color-accent-hover);
    }

    .pd-eval-submit:disabled[b-6jzgutxcb8] {
        opacity: 0.6;
        cursor: not-allowed;
    }

@media (max-width: 500px) {
    .pd-eval-summary[b-6jzgutxcb8] {
        flex-direction: column;
        gap: 1rem;
    }

    .pd-eval-field[b-6jzgutxcb8] {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* /Pages/Rules.razor.rz.scp.css */
/* ── Page header ─────────────────────────────── */
.rules-header[b-c3askm7xux] {
    padding: 0.75rem 0 2rem;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 2rem;
}

.rules-eyebrow[b-c3askm7xux] {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.rules-title[b-c3askm7xux] {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-text-primary);
    line-height: 1.2;
    margin-bottom: 0.875rem;
}

.rules-lead[b-c3askm7xux] {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--color-text-muted);
    margin: 0;
}

/* ── Section cards ───────────────────────────── */
.rules-body[b-c3askm7xux] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.rules-section[b-c3askm7xux] {
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: calc(var(--radius) + 2px);
    padding: 1.5rem 1.75rem;
    box-shadow: var(--shadow-sm);
}

.rules-section__header[b-c3askm7xux] {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 1.125rem;
}

.rules-section__icon[b-c3askm7xux] {
    font-size: 1.125rem;
    line-height: 1;
    flex-shrink: 0;
}

.rules-section__title[b-c3askm7xux] {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text-primary);
    letter-spacing: -0.01em;
    margin: 0;
}

/* ── List ────────────────────────────────────── */
.rules-list[b-c3askm7xux] {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.rules-list li[b-c3askm7xux] {
    position: relative;
    padding-left: 1.25rem;
    font-size: 0.9rem;
    line-height: 1.75;
    color: var(--color-text-primary);
}

.rules-list li[b-c3askm7xux]::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--color-accent);
    flex-shrink: 0;
}

/* ── Closing ─────────────────────────────────── */
.rules-closing[b-c3askm7xux] {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--color-border);
    font-size: 0.875rem;
    color: var(--color-text-muted);
    text-align: right;
}
/* /Pages/SearchPaints/Color/SearchPaintsColor.razor.rz.scp.css */
/* ── Panel container ─────────────────────────── */
.cps-panel[b-n10v4yx292] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cps-heading[b-n10v4yx292] {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin: 0;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--color-border);
}

/* ── Field ───────────────────────────────────── */
.cps-field[b-n10v4yx292] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cps-label[b-n10v4yx292] {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

.cps-hint[b-n10v4yx292] {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin: -0.25rem 0 0;
}

/* ── Color preview ───────────────────────────── */
.cps-picker-wrap[b-n10v4yx292] {
    width: 100%;
    overflow: hidden;
}

/* ── Threshold input ─────────────────────────── */
.cps-threshold-input[b-n10v4yx292] {
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: #fff;
    color: var(--color-text-primary);
    transition: border-color 0.15s ease;
}

.cps-threshold-input:focus[b-n10v4yx292] {
    outline: none;
    border-color: var(--color-accent);
}

/* ── Search button ───────────────────────────── */
.cps-search-btn[b-n10v4yx292] {
    width: 100%;
    padding: 0.625rem 1rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #fff;
    background-color: var(--color-accent);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background-color 0.15s ease, opacity 0.15s ease;
}

.cps-search-btn:hover:not(:disabled)[b-n10v4yx292] {
    background-color: color-mix(in srgb, var(--color-accent) 85%, black);
}

.cps-search-btn:disabled[b-n10v4yx292] {
    opacity: 0.4;
    cursor: not-allowed;
}
/* /Pages/SearchPaints/Image/SearchPaintsImage.razor.rz.scp.css */
.isp-panel[b-xnl0qg6zd7] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.isp-heading[b-xnl0qg6zd7] {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text-primary);
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--color-border);
}

.isp-field[b-xnl0qg6zd7] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.isp-label[b-xnl0qg6zd7] {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

.isp-hint[b-xnl0qg6zd7] {
    margin: 0;
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

/* ── upload area ── */

.isp-upload-wrap[b-xnl0qg6zd7] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.isp-upload-btn[b-xnl0qg6zd7] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.875rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #ffffff;
    background-color: var(--color-accent);
    border-radius: var(--radius);
    cursor: pointer;
    transition: background-color 0.15s;
    white-space: nowrap;
    flex-shrink: 0;
    user-select: none;
}

.isp-upload-btn:hover[b-xnl0qg6zd7] {
    background-color: color-mix(in srgb, var(--color-accent) 85%, black);
}

.isp-upload-hint[b-xnl0qg6zd7] {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.isp-file-hidden[b-xnl0qg6zd7] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
}

/* ── uploaded image ── */

.isp-image-section[b-xnl0qg6zd7] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.isp-image-wrap[b-xnl0qg6zd7] {
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    background: #f0f0f0;
    box-shadow: var(--shadow-sm);
}

.isp-image[b-xnl0qg6zd7] {
    width: 100%;
    display: block;
    cursor: crosshair;
    user-select: none;
    -webkit-user-drag: none;
}

/* ── color preview ── */

.isp-color-preview-section[b-xnl0qg6zd7] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.isp-color-preview-row[b-xnl0qg6zd7] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.isp-color-swatch[b-xnl0qg6zd7] {
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

.isp-color-hex[b-xnl0qg6zd7] {
    font-size: 0.875rem;
    font-family: monospace;
    color: var(--color-text-primary);
    background: var(--color-surface);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
}

/* ── threshold ── */

.isp-threshold-input[b-xnl0qg6zd7] {
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: #ffffff;
    color: var(--color-text-primary);
    box-sizing: border-box;
}

.isp-threshold-input:focus[b-xnl0qg6zd7] {
    outline: none;
    border-color: var(--color-accent);
}

/* ── search button ── */

.isp-search-btn[b-xnl0qg6zd7] {
    width: 100%;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    background-color: var(--color-accent);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background-color 0.15s;
}

.isp-search-btn:hover:not(:disabled)[b-xnl0qg6zd7] {
    background-color: color-mix(in srgb, var(--color-accent) 85%, black);
}

.isp-search-btn:disabled[b-xnl0qg6zd7] {
    opacity: 0.4;
    cursor: not-allowed;
}
/* /Pages/SearchPaints/SearchPaints.razor.rz.scp.css */
/* ── Page header ─────────────────────────────── */
.sp-header[b-9k0qhxxohe] {
    padding: 2rem 0 1.5rem;
}

.sp-title[b-9k0qhxxohe] {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-text-primary);
    margin-bottom: 0.375rem;
}

.sp-subtitle[b-9k0qhxxohe] {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 0;
}

/* ── Error banner ────────────────────────────── */
.sp-error[b-9k0qhxxohe] {
    padding: 0.75rem 1rem;
    background-color: rgba(239, 68, 68, 0.07);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-left: 3px solid #ef4444;
    border-radius: var(--radius);
    color: #b91c1c;
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
}

/* ── Search panel container ──────────────────── */
.sp-panel[b-9k0qhxxohe] {
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: calc(var(--radius) + 2px);
    padding: 1.5rem;
    min-height: 220px;
}
