/* /Components/FRBR/SearchItemFrbr.razor.rz.scp.css */
/* List view: one compact row per work, then one aligned row per format (manifestation):
   what it is | whether it is available | what the patron can do. */

.frbr-list-row[b-x2966mj2iz] {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.frbr-list-select[b-x2966mj2iz] {
    flex: none;
    padding-top: 0.25rem;
}

/* The search loads the small thumbnail, so it is shown near its natural size to stay sharp. */
.frbr-list-cover[b-x2966mj2iz] {
    flex: none;
    width: 80px;
    min-height: 120px;
    border-radius: 4px;
    /* Shown while the cover image downloads. */
    background: var(--rz-base-200);
}

    .frbr-list-cover[b-x2966mj2iz]  img {
        display: block;
        width: 80px;
        height: 120px;
        object-fit: cover;
        object-position: top;
        border-radius: 4px;
        box-shadow: 0 1px 3px rgba(16, 24, 40, 0.2);
    }

    .frbr-list-cover[b-x2966mj2iz]  .skeleton-outer {
        margin: 0;
    }

.frbr-list-body[b-x2966mj2iz] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.frbr-list-heading[b-x2966mj2iz] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 0.5rem;
}

.frbr-list-title[b-x2966mj2iz] {
    margin: 0;
    font-size: 1.125rem;
    line-height: 1.4;
    font-weight: 600;
}

.frbr-list-rating[b-x2966mj2iz] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.frbr-list-label[b-x2966mj2iz],
.frbr-list-muted[b-x2966mj2iz] {
    color: var(--rz-text-secondary-color);
}

.frbr-list-muted[b-x2966mj2iz] {
    font-size: 0.8125rem;
}

.frbr-list-meta[b-x2966mj2iz] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.125rem 1.25rem;
    font-size: 0.875rem;
}

.frbr-list-series[b-x2966mj2iz] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

    .frbr-list-series[b-x2966mj2iz]  .rzi {
        font-size: 1rem;
        color: var(--rz-text-secondary-color);
    }

.frbr-list-formats[b-x2966mj2iz] {
    container-type: inline-size;
    margin-top: 0.625rem;
    border-bottom: 1px solid var(--rz-base-300);
}

.frbr-list-format[b-x2966mj2iz] {
    display: grid;
    grid-template-columns: minmax(min-content, 1fr) minmax(0, max-content);
    align-items: center;
    column-gap: 1rem;
    row-gap: 0.5rem;
    padding: 0.5rem 0;
    border-top: 1px solid var(--rz-base-300);
}

.frbr-list-format-info[b-x2966mj2iz] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
}

.frbr-list-format-what[b-x2966mj2iz] {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    min-width: 0;
    font-size: 0.875rem;
    flex-shrink: 0;
    white-space: nowrap;
}

    .frbr-list-format-what a[b-x2966mj2iz] {
        min-width: 0;
    }

.frbr-list-format-icon[b-x2966mj2iz] {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 6px;
    background: var(--rz-base-200);
    color: var(--rz-text-color);
}

.frbr-list-format-medium[b-x2966mj2iz] {
    font-weight: 600;
}

.frbr-list-format-details[b-x2966mj2iz] {
    color: var(--rz-text-secondary-color);
}

.frbr-list-format-medium + .frbr-list-format-details[b-x2966mj2iz]::before {
    content: "\00B7";
    margin: 0 0.375em;
}

.frbr-list-format-status[b-x2966mj2iz] {
    min-width: 0;
    font-size: 0.875rem;
    flex-shrink: 0;
    white-space: nowrap;
}

/* Loading states: each occupies the same space as what replaces it, so nothing shifts when data arrives. */
.frbr-list-loading[b-x2966mj2iz] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 2rem;
    color: var(--rz-text-secondary-color);
    font-size: 0.8125rem;
}

.frbr-list-skeleton-button[b-x2966mj2iz] {
    display: inline-block;
    width: 5.5rem;
    height: 1.875rem;
    border-radius: var(--rz-border-radius, 4px);
    background: var(--rz-base-200);
    animation: frbr-list-pulse-b-x2966mj2iz 1.4s ease-in-out infinite;
}

@keyframes frbr-list-pulse-b-x2966mj2iz {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.45;
    }
}

@media (prefers-reduced-motion: reduce) {
    .frbr-list-skeleton-button[b-x2966mj2iz] {
        animation: none;
    }
}

.frbr-list-availability[b-x2966mj2iz] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    min-height: 2rem;
    font-weight: 600;
}

    .frbr-list-availability[b-x2966mj2iz]  .rzi {
        font-size: 1.125rem;
    }

    .frbr-list-availability.is-available[b-x2966mj2iz] {
        color: var(--rz-success);
    }

    .frbr-list-availability.is-checked-out[b-x2966mj2iz] {
        color: var(--rz-warning-dark);
    }

    .frbr-list-availability.is-unavailable[b-x2966mj2iz] {
        color: var(--rz-danger);
    }

button.frbr-list-availability[b-x2966mj2iz] {
    margin-left: -0.375rem;
    padding: 0 0.5rem 0 0.375rem;
    border: 0;
    border-radius: 6px;
    background: transparent;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

    button.frbr-list-availability:hover[b-x2966mj2iz] {
        background: var(--rz-base-200);
    }

    button.frbr-list-availability:focus-visible[b-x2966mj2iz] {
        outline: 2px solid var(--rz-primary);
        outline-offset: 1px;
    }

    button.frbr-list-availability[aria-busy="true"][b-x2966mj2iz] {
        cursor: progress;
    }

/* One chevron that turns over as the panel opens and closes. */
.frbr-list-availability[b-x2966mj2iz]  .frbr-list-availability-chevron {
    display: inline-block;
    transition: transform 200ms ease;
}

button.frbr-list-availability[aria-expanded="true"][b-x2966mj2iz]  .frbr-list-availability-chevron {
    transform: rotate(180deg);
}

/* Stands in for the chevron, in the same box, while the copies load: a faint ring with a turning arc. */
.frbr-list-availability-spinner[b-x2966mj2iz] {
    position: relative;
    flex: none;
    width: 1.125rem;
    height: 1.125rem;
    animation: frbr-list-fade-in-b-x2966mj2iz 200ms ease-out both;
}

    .frbr-list-availability-spinner[b-x2966mj2iz]::before,
    .frbr-list-availability-spinner[b-x2966mj2iz]::after {
        content: "";
        position: absolute;
        inset: 0.1875rem;
        border: 2px solid currentColor;
        border-radius: 50%;
    }

    .frbr-list-availability-spinner[b-x2966mj2iz]::before {
        opacity: 0.2;
    }

    .frbr-list-availability-spinner[b-x2966mj2iz]::after {
        border-color: currentColor transparent transparent;
        animation: frbr-list-spin-b-x2966mj2iz 0.8s linear infinite;
    }

@keyframes frbr-list-spin-b-x2966mj2iz {
    to {
        transform: rotate(360deg);
    }
}

@keyframes frbr-list-fade-in-b-x2966mj2iz {
    from {
        opacity: 0;
    }
}

/* Links in a result row are recognisable by colour and position, so they are only underlined on hover or keyboard focus.
   !important because the Hoopla link sets its underline inline. */
.frbr-list-body a[b-x2966mj2iz],
.frbr-list-format-status[b-x2966mj2iz]  .hoopla-link {
    text-decoration: none !important;
}

    .frbr-list-body a:hover[b-x2966mj2iz],
    .frbr-list-body a:focus-visible[b-x2966mj2iz],
    .frbr-list-format-status[b-x2966mj2iz]  .hoopla-link:hover,
    .frbr-list-format-status[b-x2966mj2iz]  .hoopla-link:focus-visible,
    button.frbr-list-availability:hover .frbr-list-availability-text[b-x2966mj2iz] {
        text-decoration: underline !important;
        text-underline-offset: 3px;
    }

.frbr-list-format-actions[b-x2966mj2iz] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.375rem;
    min-width: 0;
    white-space: nowrap;
}

    .frbr-list-format-actions[b-x2966mj2iz]  > * {
        flex-shrink: 0;
    }

    /* Shared buttons (Reserve, Favorite) carry a bottom margin meant for stacked layouts. */
    .frbr-list-format-actions[b-x2966mj2iz]  .rz-mb-1 {
        margin-bottom: 0 !important;
    }

/* Copies panel. It is added only after its data arrives, so it grows from nothing to its real height
   (a 0fr to 1fr grid row) and fades in. The negative margin cancels the format grid's row gap,
   which the body's padding puts back inside the growing area, so nothing jumps at the start or end. */
.frbr-list-format-copies[b-x2966mj2iz] {
    grid-column: 1 / -1;
    display: grid;
    grid-template-rows: 1fr;
    margin-top: -0.5rem;
    animation: frbr-list-copies-open-b-x2966mj2iz 280ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

    .frbr-list-format-copies.is-closing[b-x2966mj2iz] {
        /* Keep the duration in step with AvailabilityCollapseMs in SearchItemFrbr.razor.cs. */
        animation: frbr-list-copies-close-b-x2966mj2iz 180ms ease-in both;
        pointer-events: none;
    }

.frbr-list-format-copies-clip[b-x2966mj2iz] {
    min-height: 0;
    overflow: hidden;
}

.frbr-list-format-copies-body[b-x2966mj2iz] {
    padding-top: 0.5rem;
}

@keyframes frbr-list-copies-open-b-x2966mj2iz {
    from {
        grid-template-rows: 0fr;
        opacity: 0;
    }

    to {
        grid-template-rows: 1fr;
        opacity: 1;
    }
}

@keyframes frbr-list-copies-close-b-x2966mj2iz {
    from {
        grid-template-rows: 1fr;
        opacity: 1;
    }

    to {
        grid-template-rows: 0fr;
        opacity: 0;
    }
}

.frbr-list-more[b-x2966mj2iz] {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 600;
}

    .frbr-list-more[b-x2966mj2iz]  .rzi {
        font-size: 1rem;
    }

@media (max-width: 575.98px) {
    .frbr-list-row[b-x2966mj2iz] {
        gap: 0.75rem;
    }

    .frbr-list-cover[b-x2966mj2iz] {
        width: 64px;
        min-height: 96px;
    }

        .frbr-list-cover[b-x2966mj2iz]  img {
            width: 64px;
            height: 96px;
        }
}

/* Last in the file so it overrides the motion rules above. */
@media (prefers-reduced-motion: reduce) {
    .frbr-list-format-copies[b-x2966mj2iz] {
        animation: none;
    }

        .frbr-list-format-copies.is-closing[b-x2966mj2iz] {
            display: none;
        }

    .frbr-list-availability[b-x2966mj2iz]  .frbr-list-availability-chevron {
        transition: none;
    }

    /* The spinner still turns, since it is what says the panel is loading, but slowly. */
    .frbr-list-availability-spinner[b-x2966mj2iz]::after {
        animation-duration: 1.6s;
    }
}
/* /Components/Layout/SearchItem.razor.rz.scp.css */

/* /Components/Layout/SearchItemWithoutFRBR.razor.rz.scp.css */

/* /Components/Pages/Account/Delivery.razor.rz.scp.css */
/* Radzen components (RadzenBreadCrumb / RadzenRow / RadzenColumn / RadzenCard /
   RadzenButton) do not carry this page's CSS-isolation scope identifier on their root
   elements, so every rule here goes through ::deep from .delivery-page — a plain element
   this page renders itself, which is what actually holds the [b-…] attribute. */

/* --rz-link-color is still --rz-primary globally (2.95:1), and deepening it app-wide
   would touch every link type, so each page that WAVE flags carries this itself. */
.delivery-page[b-8yqmk0n82w]  .delivery-breadcrumb {
    --rz-link-color: var(--primary-ink);
}

.delivery-page[b-8yqmk0n82w]  .row1 {
    margin-bottom: 1rem;
}

.delivery-page[b-8yqmk0n82w]  .row1-c1 {
    display: flex;
    align-items: center;
}

.delivery-page[b-8yqmk0n82w]  .row1-c2 {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.delivery-page[b-8yqmk0n82w]  .request-card {
    margin-bottom: 1rem;
    border: 1px solid var(--rz-border-color);
    padding: 1rem;
}

.delivery-page[b-8yqmk0n82w]  .comment-box {
    border: 1px solid var(--rz-border-color);
    padding: 0.5rem;
    height: 80px;
    white-space: pre-wrap;
}

.delivery-page[b-8yqmk0n82w]  .btn-width {
    width: 130px;
}
/* /Components/Pages/AdminReportDashboard.razor.rz.scp.css */
/* ══════════════════════════════════════════════════════════════
   ADMIN AI REPORT DASHBOARD — Premium dark-mode ready design
   Mirrors the pd-shell token system from PatronDashboard.razor.css
   ══════════════════════════════════════════════════════════════ */

/* ── Design tokens ────────────────────────────────────────── */
.ard-shell[b-2fd2yaa05u] {
    /* Spacing */
    --ard-s1: 0.25rem;
    --ard-s2: 0.5rem;
    --ard-s3: 0.75rem;
    --ard-s4: 1rem;
    --ard-s5: 1.5rem;
    --ard-s6: 2rem;
    --ard-s7: 3rem;

    /* Palette — light */
    --ard-bg:          #f0f2f8;
    --ard-surface:     #ffffff;
    --ard-surface-2:   #f7f8fc;
    --ard-border:      #e2e6f0;
    --ard-border-s:    #cbd2e8;

    --ard-text:        #0f172a;
    --ard-text-2:      #374151;
    --ard-text-muted:  #64748b;

    /* Brand gradient */
    --ard-grad-a:      #4f46e5;
    --ard-grad-b:      #7c3aed;
    --ard-grad-c:      #0ea5e9;
    --ard-primary:     #4f46e5;
    --ard-primary-h:   #3730a3;
    --ard-primary-s:   #eef2ff;

    /* Semantic */
    --ard-success:     #16a34a;
    --ard-success-s:   #dcfce7;
    --ard-warning:     #b45309;
    --ard-warning-s:   #fef3c7;
    --ard-danger:      #dc2626;
    --ard-danger-s:    #fee2e2;
    --ard-info:        #0284c7;
    --ard-info-s:      #e0f2fe;

    /* KPI card accents */
    --ard-blue:        #3b82f6;
    --ard-blue-s:      #eff6ff;
    --ard-purple:      #8b5cf6;
    --ard-purple-s:    #f5f3ff;
    --ard-green:       #10b981;
    --ard-green-s:     #ecfdf5;
    --ard-orange:      #f59e0b;
    --ard-orange-s:    #fffbeb;
    --ard-teal:        #14b8a6;
    --ard-teal-s:      #f0fdfa;

    /* Glass / shadows */
    --ard-glass-bg:    rgba(255,255,255,0.72);
    --ard-glass-bdr:   rgba(255,255,255,0.5);
    --ard-shadow-sm:   0 1px 3px rgba(15,23,42,0.06);
    --ard-shadow-md:   0 4px 16px rgba(15,23,42,0.08);
    --ard-shadow-lg:   0 12px 36px rgba(15,23,42,0.12);
    --ard-shadow-glow: 0 0 28px rgba(79,70,229,0.18);

    --ard-r-sm: 8px;
    --ard-r-md: 12px;
    --ard-r-lg: 18px;
    --ard-r-xl: 24px;

    --ard-focus: 0 0 0 3px rgba(79, 70, 229, 0.35);

    /* Animation */
    --ard-ease: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ard-ease-out: cubic-bezier(0.22, 1, 0.36, 1);

    background-color: var(--ard-bg);
    min-height: 100vh;
    padding: var(--ard-s5) var(--ard-s5);
    color: var(--ard-text);
    font-size: 0.875rem;
    line-height: 1.6;
    animation: ard-fade-in-b-2fd2yaa05u 0.4s var(--ard-ease-out);
}

/* ── Dark mode overrides ────────────────────────────────── */
.ard-shell.ard-dark[b-2fd2yaa05u] {
    --ard-bg:         #080c18;
    --ard-surface:    #111827;
    --ard-surface-2:  #1a2235;
    --ard-border:     #1e2d47;
    --ard-border-s:   #2a3f5f;

    --ard-text:       #f1f5f9;
    --ard-text-2:     #cbd5e1;
    --ard-text-muted: #94a3b8;

    --ard-glass-bg:   rgba(17, 24, 39, 0.82);
    --ard-glass-bdr:  rgba(255,255,255,0.08);

    --ard-blue-s:     rgba(59,130,246,0.12);
    --ard-purple-s:   rgba(139,92,246,0.12);
    --ard-green-s:    rgba(16,185,129,0.12);
    --ard-orange-s:   rgba(245,158,11,0.12);
    --ard-teal-s:     rgba(20,184,166,0.12);
    --ard-primary-s:  rgba(79,70,229,0.15);
    --ard-success-s:  rgba(22,163,74,0.15);
    --ard-warning-s:  rgba(180,83,9,0.15);
    --ard-danger-s:   rgba(220,38,38,0.15);
}

/* ── Keyframes ──────────────────────────────────────────── */
@keyframes ard-fade-in-b-2fd2yaa05u    { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes ard-pulse-b-2fd2yaa05u      { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes ard-spin-b-2fd2yaa05u       { to { transform: rotate(360deg); } }
@keyframes ard-shimmer-b-2fd2yaa05u    { from { background-position: -200% 0; } to { background-position: 200% 0; } }
@keyframes ard-gradient-b-2fd2yaa05u   { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes ard-live-pulse-b-2fd2yaa05u { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.6); opacity: 0.4; } }

/* ── Skip link ──────────────────────────────────────────── */
.ard-skip-link[b-2fd2yaa05u] {
    position: absolute;
    top: -40px;
    left: 0.5rem;
    background: var(--ard-primary);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: var(--ard-r-sm);
    font-weight: 600;
    z-index: 200;
    text-decoration: none;
    transition: top 0.15s ease;
}
.ard-skip-link:focus[b-2fd2yaa05u] { top: 0.5rem; }
.ard-sr-only[b-2fd2yaa05u] { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ══════════════════════════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════════════════════════ */
.ard-header[b-2fd2yaa05u] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--ard-s4);
    padding: var(--ard-s5) var(--ard-s6);
    margin-bottom: var(--ard-s5);
    border-radius: var(--ard-r-xl);
    /* background: linear-gradient(135deg, var(--ard-grad-a), var(--ard-grad-b), var(--ard-grad-c));*/
    background: var(--rz-primary);
    background-size: 300% 300%;
    /*animation: ard-gradient 8s ease infinite;*/
    color: #fff;
    /*box-shadow: var(--ard-shadow-glow), var(--ard-shadow-lg);*/
    position: relative;
    overflow: hidden;
}

.ard-header[b-2fd2yaa05u]::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top left, rgba(255,255,255,0.15), transparent 60%);
    pointer-events: none;
}

.ard-header-left[b-2fd2yaa05u]  { display: flex; align-items: center; gap: var(--ard-s4); }
.ard-header-right[b-2fd2yaa05u] { display: flex; align-items: center; gap: var(--ard-s4); flex-wrap: wrap; }

.ard-header-icon[b-2fd2yaa05u] {
    width: 52px; height: 52px;
    background: rgba(255,255,255,0.2);
    border-radius: var(--ard-r-md);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.3);
}

.ard-header-title[b-2fd2yaa05u] {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.ard-header-subtitle[b-2fd2yaa05u] {
    margin: 0.2rem 0 0;
    font-size: 0.875rem;
    opacity: 0.88;
    display: flex;
    align-items: center;
    gap: var(--ard-s2);
    flex-wrap: wrap;
}

.ard-ai-badge[b-2fd2yaa05u] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 10px;
    background: rgba(255,255,255,0.22);
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.ard-ai-pulse[b-2fd2yaa05u] {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #4ade80;
    animation: ard-live-pulse-b-2fd2yaa05u 1.8s ease-in-out infinite;
}

.ard-header-date[b-2fd2yaa05u] {
    font-size: 0.82rem;
    opacity: 0.85;
    font-weight: 500;
}

.ard-live-indicator[b-2fd2yaa05u] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.18);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 1px solid rgba(255,255,255,0.28);
}

.ard-live-dot[b-2fd2yaa05u] {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #4ade80;
    animation: ard-live-pulse-b-2fd2yaa05u 1.5s ease-in-out infinite;
}

.ard-location-badge[b-2fd2yaa05u] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 10px;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(8px);
}

/* ══════════════════════════════════════════════════════════════
   FILTER BAR
   ══════════════════════════════════════════════════════════════ */
.ard-filters[b-2fd2yaa05u] {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: var(--ard-s3);
    margin-bottom: var(--ard-s5);
    padding: var(--ard-s4) var(--ard-s5);
    background: var(--ard-surface);
    border: 1px solid var(--ard-border);
    border-radius: var(--ard-r-lg);
    box-shadow: var(--ard-shadow-sm);
}

.ard-filter-group[b-2fd2yaa05u]  { display: flex; flex-direction: column; gap: 4px; }
.ard-range-error[b-2fd2yaa05u] {
    margin: calc(-1 * var(--ard-s3)) 0 var(--ard-s5);
    padding: var(--ard-s3) var(--ard-s4);
    border-radius: var(--ard-r-md);
    border-left: 4px solid var(--ard-warning);
    background: var(--ard-warning-s);
    color: var(--ard-warning);
    font-size: 0.875rem;
    font-weight: 500;
}
.ard-filter-label[b-2fd2yaa05u]  { font-size: 0.75rem; font-weight: 600; color: var(--ard-text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.ard-dropdown[b-2fd2yaa05u]      { min-width: 220px; }
.ard-datepicker[b-2fd2yaa05u]    { min-width: 150px; }

/* ── Buttons ───────────────────────────────────────────── */
.ard-btn[b-2fd2yaa05u] {
    display: inline-flex;
    align-items: center;
    gap: var(--ard-s2);
    padding: 0.8rem 1.1rem;
    border-radius: var(--ard-r-sm);
    border: none;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s var(--ard-ease-out);
    text-decoration: none;
    white-space: nowrap;
}
.ard-btn:focus-visible[b-2fd2yaa05u] { outline: none; box-shadow: var(--ard-focus); }
.ard-btn-icon[b-2fd2yaa05u] { display: flex; align-items: center; }

.ard-btn--primary[b-2fd2yaa05u] {
    background: var(--rz-primary);
    color: #fff;
    box-shadow: 0 2px 8px rgba(79,70,229,0.3);
}
    .ard-btn--primary:hover[b-2fd2yaa05u] {
        background: var(--rz-primary);
        transform: translateY(-1px);
        box-shadow: 0 4px 14px rgba(79,70,229,0.4);
    }
.ard-btn--primary:active[b-2fd2yaa05u] { transform: none; }

.ard-btn--secondary[b-2fd2yaa05u] { background: var(--ard-surface-2); color: var(--ard-text-2); border: 1px solid var(--ard-border); }
.ard-btn--secondary:hover[b-2fd2yaa05u] { background: var(--ard-border); transform: translateY(-1px); }

.ard-btn--ai[b-2fd2yaa05u] {
    background: var(--rz-primary) /*linear-gradient(135deg, var(--ard-grad-a), var(--ard-grad-b))*/;
    color: #fff;
    box-shadow: 0 2px 8px rgba(79,70,229,0.28);
}
.ard-btn--ai:hover[b-2fd2yaa05u] { filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(79,70,229,0.4); }
.ard-btn--full[b-2fd2yaa05u] { width: 100%; justify-content: center; margin-top: var(--ard-s4); }

@keyframes ard-spin-b-2fd2yaa05u { to { transform: rotate(360deg); } }
.ard-btn-spinner[b-2fd2yaa05u] { animation: ard-spin-b-2fd2yaa05u 0.75s linear infinite; flex-shrink: 0; }

/* ══════════════════════════════════════════════════════════════
   SECTIONS
   ══════════════════════════════════════════════════════════════ */
.ard-section[b-2fd2yaa05u] { margin-bottom: var(--ard-s5); }
.ard-section--grid[b-2fd2yaa05u] { margin-bottom: 0; }

/* ══════════════════════════════════════════════════════════════
   KPI CARDS
   ══════════════════════════════════════════════════════════════ */
.ard-kpi-grid[b-2fd2yaa05u] {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--ard-s4);
    list-style: none;
    padding: 0; margin: 0;
}

@media (max-width: 1300px) { .ard-kpi-grid[b-2fd2yaa05u] { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px)  { .ard-kpi-grid[b-2fd2yaa05u] { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .ard-kpi-grid[b-2fd2yaa05u] { grid-template-columns: 1fr; } }

.ard-kpi-card[b-2fd2yaa05u] {
    display: flex;
    align-items: flex-start;
    gap: var(--ard-s3);
    padding: var(--ard-s4) var(--ard-s5);
    border-radius: var(--ard-r-lg);
    border: 1px solid var(--ard-border);
    background: var(--ard-surface);
    box-shadow: var(--ard-shadow-sm);
    transition: transform 0.2s var(--ard-ease), box-shadow 0.2s var(--ard-ease);
    animation: ard-fade-in-b-2fd2yaa05u 0.45s var(--ard-ease-out);
    height:100%;
}
.ard-kpi-card:hover[b-2fd2yaa05u] { transform: translateY(-3px); box-shadow: var(--ard-shadow-md); }

.ard-kpi-link[b-2fd2yaa05u] { display: block; height: 100%; color: inherit; text-decoration: none; border-radius: var(--ard-r-lg); }
.ard-kpi-link[href][b-2fd2yaa05u] { cursor: pointer; }
.ard-kpi-link[href]:hover .ard-kpi-card[b-2fd2yaa05u] { border-color: var(--ard-border-s); }
.ard-kpi-link[href]:focus-visible[b-2fd2yaa05u] { outline: none; box-shadow: var(--ard-focus); }
.ard-kpi-link:not([href]) .ard-kpi-card:hover[b-2fd2yaa05u] { transform: none; }
.ard-kpi-more[b-2fd2yaa05u] { margin-top: 4px; font-size: 0.72rem; font-weight: 700; color: var(--rz-primary); }

.ard-kpi-icon[b-2fd2yaa05u] {
    width: 44px; height: 44px;
    border-radius: var(--ard-r-md);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.ard-kpi-card--blue[b-2fd2yaa05u]   { border-top: 3px solid var(--ard-blue); }
.ard-kpi-card--blue   .ard-kpi-icon[b-2fd2yaa05u] { background: var(--ard-blue-s); color: var(--ard-blue); }
.ard-kpi-card--purple[b-2fd2yaa05u] { border-top: 3px solid var(--ard-purple); }
.ard-kpi-card--purple .ard-kpi-icon[b-2fd2yaa05u] { background: var(--ard-purple-s); color: var(--ard-purple); }
.ard-kpi-card--green[b-2fd2yaa05u]  { border-top: 3px solid var(--ard-green); }
.ard-kpi-card--green  .ard-kpi-icon[b-2fd2yaa05u] { background: var(--ard-green-s); color: var(--ard-green); }
.ard-kpi-card--orange[b-2fd2yaa05u] { border-top: 3px solid var(--ard-orange); }
.ard-kpi-card--orange .ard-kpi-icon[b-2fd2yaa05u] { background: var(--ard-orange-s); color: var(--ard-orange); }
.ard-kpi-card--teal[b-2fd2yaa05u]   { border-top: 3px solid var(--ard-teal); }
.ard-kpi-card--teal   .ard-kpi-icon[b-2fd2yaa05u] { background: var(--ard-teal-s); color: var(--ard-teal); }

.ard-kpi-body[b-2fd2yaa05u]  { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ard-kpi-value[b-2fd2yaa05u] { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--ard-text); }
.ard-kpi-label[b-2fd2yaa05u] { font-size: 0.78rem; font-weight: 600; color: var(--ard-text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.ard-kpi-sub[b-2fd2yaa05u]   { font-size: 0.75rem; color: var(--ard-text-muted); }
.ard-kpi-trend[b-2fd2yaa05u] { font-size: 0.75rem; font-weight: 600; }
.ard-trend--up[b-2fd2yaa05u]   { color: var(--ard-success); }
.ard-trend--down[b-2fd2yaa05u] { color: var(--ard-danger); }

/* ══════════════════════════════════════════════════════════════
   MAIN TWO-COLUMN GRID
   ══════════════════════════════════════════════════════════════ */
.ard-main-grid[b-2fd2yaa05u] {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: var(--ard-s5);
    margin-bottom: var(--ard-s5);
    align-items: start;
}

@media (max-width: 1200px) { .ard-main-grid[b-2fd2yaa05u] { grid-template-columns: 1fr; } }

/* ── Charts column ─────────────────────────────────────── */
.ard-charts-col[b-2fd2yaa05u] { display: flex; flex-direction: column; gap: var(--ard-s4); }

.ard-chart-card[b-2fd2yaa05u] {
    background: var(--ard-surface);
    border: 1px solid var(--ard-border);
    border-radius: var(--ard-r-lg);
    padding: var(--ard-s5);
    box-shadow: var(--ard-shadow-sm);
    transition: box-shadow 0.2s;
    animation: ard-fade-in-b-2fd2yaa05u 0.5s var(--ard-ease-out);
}
.ard-chart-card:hover[b-2fd2yaa05u] { box-shadow: var(--ard-shadow-md); }

.ard-chart-card-header[b-2fd2yaa05u] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-bottom: var(--ard-s4);
}
.ard-chart-title[b-2fd2yaa05u] {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--ard-s2);
    color: var(--ard-text);
}
.ard-chart-title-icon[b-2fd2yaa05u] { font-size: 1.1rem; }
.ard-chart-subtitle[b-2fd2yaa05u] { font-size: 0.78rem; color: var(--ard-text-muted); margin: 0; }

.ard-radzen-chart[b-2fd2yaa05u]      { height: 280px; width: 100%; }
.ard-radzen-chart--pie[b-2fd2yaa05u] { height: 260px; }

.ard-pie-layout[b-2fd2yaa05u] { display: flex; justify-content: center; }

.ard-empty-chart[b-2fd2yaa05u] {
    height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--ard-s2);
    color: var(--ard-text-muted);
    font-size: 0.875rem;
    background: var(--ard-surface-2);
    border-radius: var(--ard-r-md);
}
.ard-empty-icon[b-2fd2yaa05u] { font-size: 2rem; }

/* ── AI Column ─────────────────────────────────────────── */
.ard-ai-col[b-2fd2yaa05u] { position: sticky; top: 1rem; }

.ard-ai-card[b-2fd2yaa05u] {
    background: var(--ard-glass-bg);
    border: 1px solid var(--ard-glass-bdr);
    border-radius: var(--ard-r-xl);
    padding: var(--ard-s5);
    box-shadow: var(--ard-shadow-lg), var(--ard-shadow-glow);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: ard-fade-in-b-2fd2yaa05u 0.6s var(--ard-ease-out);
    position: relative;
    overflow: hidden;
}

.ard-ai-card[b-2fd2yaa05u]::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--ard-grad-a), var(--ard-grad-b), var(--ard-grad-c));
    background-size: 200%;
    animation: ard-gradient-b-2fd2yaa05u 4s linear infinite;
}

.ard-ai-header[b-2fd2yaa05u] {
    display: flex;
    align-items: flex-start;
    gap: var(--ard-s3);
    margin-bottom: var(--ard-s4);
    padding-bottom: var(--ard-s3);
    border-bottom: 1px solid var(--ard-border);
}

.ard-ai-header-icon[b-2fd2yaa05u] {
    width: 40px; height: 40px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--ard-primary-s), var(--ard-primary-s));
    border-radius: var(--ard-r-md);
    display: flex; align-items: center; justify-content: center;
    color: var(--ard-primary);
}

.ard-ai-title[b-2fd2yaa05u] {
    font-size: 0.95rem;
    font-weight: 800;
    margin: 0;
    color: var(--ard-text);
    letter-spacing: -0.01em;
}
.ard-ai-generated-at[b-2fd2yaa05u] { font-size: 0.72rem; color: var(--ard-text-muted); margin: 2px 0 0; }

.ard-ai-loading[b-2fd2yaa05u] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--ard-s3);
    padding: var(--ard-s5) 0;
}
.ard-ai-spinner[b-2fd2yaa05u] {
    width: 32px; height: 32px;
    border: 3px solid var(--ard-border);
    border-top-color: var(--ard-primary);
    border-radius: 50%;
    animation: ard-spin-b-2fd2yaa05u 0.7s linear infinite;
}
.ard-ai-loading-text[b-2fd2yaa05u] { font-size: 0.82rem; color: var(--ard-text-muted); text-align: center; }
.ard-ai-skeleton-lines[b-2fd2yaa05u] { width: 100%; display: flex; flex-direction: column; gap: var(--ard-s2); margin-top: var(--ard-s2); }

.ard-ai-summary-text[b-2fd2yaa05u] {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--ard-text-2);
    margin-bottom: var(--ard-s4);
    padding: var(--ard-s3) var(--ard-s4);
    background: var(--ard-surface-2);
    border-radius: var(--ard-r-md);
    border-left: 3px solid var(--ard-primary);
}
.ard-ai-summary-text p[b-2fd2yaa05u] { margin: 0; }

.ard-ai-section[b-2fd2yaa05u] { margin-top: var(--ard-s4); }
.ard-ai-section--alerts[b-2fd2yaa05u] { }
.ard-ai-section-title[b-2fd2yaa05u] {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--ard-text-muted);
    margin: 0 0 var(--ard-s2);
    display: flex;
    align-items: center;
    gap: var(--ard-s1);
}

.ard-ai-insights-list[b-2fd2yaa05u], .ard-ai-alerts-list[b-2fd2yaa05u] {
    list-style: none;
    padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: var(--ard-s2);
}
.ard-ai-insight-item[b-2fd2yaa05u] {
    font-size: 0.82rem;
    color: var(--ard-text-2);
    padding: var(--ard-s2) var(--ard-s3);
    background: var(--ard-surface-2);
    border-radius: var(--ard-r-sm);
    border-left: 2px solid var(--ard-primary);
    line-height: 1.5;
    transition: background 0.15s;
}
.ard-ai-insight-item:hover[b-2fd2yaa05u] { background: var(--ard-primary-s); }

.ard-ai-alert-item[b-2fd2yaa05u] {
    font-size: 0.82rem;
    color: var(--ard-warning);
    padding: var(--ard-s2) var(--ard-s3);
    background: var(--ard-warning-s);
    border-radius: var(--ard-r-sm);
    border-left: 2px solid var(--ard-warning);
    line-height: 1.5;
}

/* ── Snapshot DL ───────────────────────────────────────── */
.ard-ai-snapshot[b-2fd2yaa05u] { margin-top: var(--ard-s4); }
.ard-snapshot-grid[b-2fd2yaa05u] {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--ard-s1) var(--ard-s3);
    font-size: 0.82rem;
}
.ard-snapshot-grid dt[b-2fd2yaa05u] { color: var(--ard-text-muted); font-weight: 600; white-space: nowrap; }
.ard-snapshot-grid dd[b-2fd2yaa05u] { color: var(--ard-text); margin: 0; font-weight: 500; }

/* ══════════════════════════════════════════════════════════════
   DATA GRID SECTION
   ══════════════════════════════════════════════════════════════ */
.ard-grid-header[b-2fd2yaa05u] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--ard-s3);
}
.ard-grid-title[b-2fd2yaa05u] {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--ard-s2);
    color: var(--ard-text);
}
.ard-grid-count[b-2fd2yaa05u] { font-size: 0.8rem; color: var(--ard-text-muted); font-weight: 500; }

.ard-data-grid[b-2fd2yaa05u] {
    border-radius: var(--ard-r-lg);
    overflow: hidden;
    border: 1px solid var(--ard-border);
    box-shadow: var(--ard-shadow-sm);
}

/* ── Activity type badges ───────────────────────────────── */
.ard-activity-badge[b-2fd2yaa05u] {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}
.ard-activity-badge--checkout[b-2fd2yaa05u] { background: var(--ard-blue-s);   color: var(--ard-blue);   }
.ard-activity-badge--return[b-2fd2yaa05u]   { background: var(--ard-green-s);  color: var(--ard-green);  }
.ard-activity-badge--hold[b-2fd2yaa05u]     { background: var(--ard-purple-s); color: var(--ard-purple); }
.ard-activity-badge--login[b-2fd2yaa05u]    { background: var(--ard-teal-s);   color: var(--ard-teal);   }
.ard-activity-badge--default[b-2fd2yaa05u]  { background: var(--ard-surface-2); color: var(--ard-text-muted); }

/* ══════════════════════════════════════════════════════════════
   SKELETON LOADERS
   ══════════════════════════════════════════════════════════════ */
.ard-skeleton[b-2fd2yaa05u] {
    background: linear-gradient(90deg, var(--ard-border) 25%, var(--ard-border-s) 50%, var(--ard-border) 75%);
    background-size: 200% 100%;
    animation: ard-shimmer-b-2fd2yaa05u 1.4s ease-in-out infinite;
    border-radius: var(--ard-r-md);
}
.ard-skeleton--kpi[b-2fd2yaa05u]      { height: 88px; border-radius: var(--ard-r-lg); }
.ard-skeleton--chart[b-2fd2yaa05u]    { height: 280px; border-radius: var(--ard-r-md); margin-top: var(--ard-s3); }
.ard-skeleton--datagrid[b-2fd2yaa05u] { height: 340px; border-radius: var(--ard-r-lg); }
.ard-skeleton--line[b-2fd2yaa05u]     { height: 14px; border-radius: 999px; }
.ard-skeleton--line-sm[b-2fd2yaa05u]  { width: 70%; }
.ard-skeleton--line-md[b-2fd2yaa05u]  { width: 85%; }

/* ══════════════════════════════════════════════════════════════
   DARK MODE ADJUSTMENTS
   ══════════════════════════════════════════════════════════════ */
.ard-dark .ard-chart-card[b-2fd2yaa05u],
.ard-dark .ard-filters[b-2fd2yaa05u],
.ard-dark .ard-kpi-card[b-2fd2yaa05u],
.ard-dark .ard-data-grid[b-2fd2yaa05u] {
    background: var(--ard-surface);
    border-color: var(--ard-border);
}

.ard-dark .ard-ai-card[b-2fd2yaa05u] {
    background: rgba(17, 24, 39, 0.90);
    border-color: rgba(255,255,255,0.07);
}

.ard-dark .ard-btn--secondary[b-2fd2yaa05u] {
    background: var(--ard-surface-2);
    border-color: var(--ard-border);
    color: var(--ard-text-2);
}
.ard-dark .ard-btn--secondary:hover[b-2fd2yaa05u] { background: var(--ard-border); }

.ard-dark .ard-ai-summary-text[b-2fd2yaa05u],
.ard-dark .ard-ai-insight-item[b-2fd2yaa05u] {
    background: rgba(255,255,255,0.04);
}
.ard-dark .ard-ai-insight-item:hover[b-2fd2yaa05u] { background: rgba(79,70,229,0.12); }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE ADJUSTMENTS
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .ard-shell[b-2fd2yaa05u] { padding: var(--ard-s4); }
    .ard-header[b-2fd2yaa05u] { padding: var(--ard-s4); }
    .ard-header-title[b-2fd2yaa05u] { font-size: 1.15rem; }
    .ard-ai-col[b-2fd2yaa05u] { position: static; }
    .ard-radzen-chart[b-2fd2yaa05u] { height: 220px; }
    .ard-kpi-value[b-2fd2yaa05u] { font-size: 1.4rem; }
}
/* /Components/Pages/AdminReports/AdminAnomalyCards.razor.rz.scp.css */
.aac[b-id72lwzhz6] {
    --aac-surface: #ffffff;
    --aac-surface-2: #f7f8fc;
    --aac-border: #e2e6f0;
    --aac-text: #0f172a;
    --aac-muted: #64748b;
    --aac-down: #b91c1c; --aac-down-s: #fef2f2;
    --aac-up: #047857;   --aac-up-s: #ecfdf5;

    background: var(--aac-surface);
    border: 1px solid var(--aac-border);
    border-radius: 18px;
    padding: 1rem 1.5rem 1.25rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    color: var(--aac-text);
    font-size: 0.875rem;
}

.aac--dark[b-id72lwzhz6] {
    --aac-surface: #111827;
    --aac-surface-2: #1a2235;
    --aac-border: #1e2d47;
    --aac-text: #f1f5f9;
    --aac-muted: #94a3b8;
    --aac-down: #fca5a5; --aac-down-s: rgba(220, 38, 38, 0.18);
    --aac-up: #6ee7b7;   --aac-up-s: rgba(5, 150, 105, 0.2);
}

.aac-head[b-id72lwzhz6] { margin-bottom: 0.75rem; }
.aac-title[b-id72lwzhz6] { margin: 0; font-size: 1.05rem; font-weight: 700; display: flex; gap: 0.5rem; align-items: center; }
.aac-sub[b-id72lwzhz6] { margin: 0.15rem 0 0; color: var(--aac-muted); font-size: 0.8rem; }
.aac-none[b-id72lwzhz6] { margin: 0; color: var(--aac-muted); }

.aac-skeleton[b-id72lwzhz6] {
    height: 96px; border-radius: 12px;
    background: linear-gradient(90deg, var(--aac-surface-2, #f7f8fc) 25%, var(--aac-border, #e2e6f0) 50%, var(--aac-surface-2, #f7f8fc) 75%);
    background-size: 200% 100%;
    animation: aac-shimmer-b-id72lwzhz6 1.4s ease-in-out infinite;
}

.aac-list[b-id72lwzhz6] { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0.75rem; }

.aac-card[b-id72lwzhz6] {
    display: flex; flex-direction: column; gap: 0.15rem;
    padding: 0.85rem 1rem; border-radius: 12px;
    background: var(--aac-surface-2); border: 1px solid var(--aac-border); border-left-width: 4px;
}
.aac-card--down[b-id72lwzhz6] { border-left-color: var(--aac-down); }
.aac-card--up[b-id72lwzhz6] { border-left-color: var(--aac-up); }

.aac-kind[b-id72lwzhz6] { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--aac-muted); }
.aac-when[b-id72lwzhz6] { font-size: 0.95rem; }
.aac-figure[b-id72lwzhz6] { display: flex; align-items: baseline; gap: 0.35rem; margin-top: 0.2rem; }
.aac-actual[b-id72lwzhz6] { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.aac-unit[b-id72lwzhz6] { color: var(--aac-muted); font-size: 0.78rem; }
.aac-compare[b-id72lwzhz6] { color: var(--aac-muted); font-size: 0.78rem; font-variant-numeric: tabular-nums; }
.aac-change[b-id72lwzhz6] { align-self: flex-start; margin-top: 0.35rem; padding: 2px 10px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.aac-card--down .aac-change[b-id72lwzhz6] { background: var(--aac-down-s); color: var(--aac-down); }
.aac-card--up .aac-change[b-id72lwzhz6] { background: var(--aac-up-s); color: var(--aac-up); }

@keyframes aac-shimmer-b-id72lwzhz6 { from { background-position: -200% 0; } to { background-position: 200% 0; } }

@media (prefers-reduced-motion: reduce) {
    .aac-skeleton[b-id72lwzhz6] { animation: none; }
}
/* /Components/Pages/AdminReports/AdminAskData.razor.rz.scp.css */
.aad[b-73fycg6inu] {
    --aad-surface: #ffffff;
    --aad-surface-2: #f7f8fc;
    --aad-border: #e2e6f0;
    --aad-text: #0f172a;
    --aad-text-2: #374151;
    --aad-muted: #64748b;
    --aad-primary-s: #eef2ff;
    --aad-danger: #b91c1c;
    --aad-danger-s: #fef2f2;
    --aad-focus: 0 0 0 3px rgba(79, 70, 229, 0.35);

    background: var(--aad-surface);
    border: 1px solid var(--aad-border);
    border-radius: 18px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    color: var(--aad-text);
    font-size: 0.875rem;
}

.aad--dark[b-73fycg6inu] {
    --aad-surface: #111827;
    --aad-surface-2: #1a2235;
    --aad-border: #1e2d47;
    --aad-text: #f1f5f9;
    --aad-text-2: #cbd5e1;
    --aad-muted: #94a3b8;
    --aad-primary-s: rgba(79, 70, 229, 0.18);
    --aad-danger: #fca5a5;
    --aad-danger-s: rgba(220, 38, 38, 0.18);
}

.aad-sr-only[b-73fycg6inu] {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
    clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.aad-head[b-73fycg6inu] { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 0.9rem; }
.aad-head-main[b-73fycg6inu] { display: flex; gap: 0.75rem; align-items: flex-start; min-width: 0; }
.aad-icon[b-73fycg6inu] { font-size: 1.4rem; line-height: 1.2; }
.aad-title[b-73fycg6inu] { margin: 0; font-size: 1.05rem; font-weight: 700; display: flex; align-items: center; gap: 0.5rem; }
.aad-badge[b-73fycg6inu] { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.06em; padding: 2px 8px; border-radius: 999px; background: var(--aad-primary-s); color: var(--rz-primary, #4f46e5); }
.aad-sub[b-73fycg6inu] { margin: 0.15rem 0 0; color: var(--aad-muted); font-size: 0.8rem; }

.aad-link[b-73fycg6inu] { background: none; border: none; padding: 4px 8px; border-radius: 8px; color: var(--aad-muted); font-size: 0.8rem; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.aad-link:hover:not(:disabled)[b-73fycg6inu] { color: var(--aad-text); }
.aad-link:focus-visible[b-73fycg6inu] { outline: none; box-shadow: var(--aad-focus); }
.aad-link:disabled[b-73fycg6inu] { opacity: 0.5; cursor: not-allowed; }

.aad-input-row[b-73fycg6inu] { display: flex; gap: 0.6rem; }
.aad-input[b-73fycg6inu] {
    flex: 1; min-width: 0;
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--aad-border); border-radius: 10px;
    background: var(--aad-surface-2); color: var(--aad-text);
    font-size: 0.9rem;
}
.aad-input[b-73fycg6inu]::placeholder { color: var(--aad-muted); }
.aad-input:focus-visible[b-73fycg6inu] { outline: none; box-shadow: var(--aad-focus); border-color: var(--rz-primary, #4f46e5); }
.aad-input:disabled[b-73fycg6inu] { opacity: 0.7; }

.aad-send[b-73fycg6inu] {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.7rem 1.2rem; border: none; border-radius: 10px;
    background: var(--rz-primary, #4f46e5); color: #fff; font-weight: 600; font-size: 0.875rem; cursor: pointer;
    white-space: nowrap;
}
.aad-send:hover:not(:disabled)[b-73fycg6inu] { filter: brightness(1.08); }
.aad-send:focus-visible[b-73fycg6inu] { outline: none; box-shadow: var(--aad-focus); }
.aad-send:disabled[b-73fycg6inu] { opacity: 0.55; cursor: not-allowed; }
.aad-spin[b-73fycg6inu] { animation: aad-spin-b-73fycg6inu 0.75s linear infinite; }

.aad-starters[b-73fycg6inu] { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.8rem; }
.aad-chip[b-73fycg6inu] {
    padding: 0.4rem 0.8rem; border-radius: 999px; border: 1px solid var(--aad-border);
    background: var(--aad-surface-2); color: var(--aad-text-2); font-size: 0.78rem; cursor: pointer; text-align: left;
}
.aad-chip:hover:not(:disabled)[b-73fycg6inu] { background: var(--aad-primary-s); border-color: var(--rz-primary, #4f46e5); }
.aad-chip:focus-visible[b-73fycg6inu] { outline: none; box-shadow: var(--aad-focus); }
.aad-chip:disabled[b-73fycg6inu] { opacity: 0.55; cursor: not-allowed; }

.aad-thread[b-73fycg6inu] { display: flex; flex-direction: column; gap: 1rem; margin-top: 1rem; }
.aad-exchange[b-73fycg6inu] { display: flex; flex-direction: column; gap: 0.5rem; }
.aad-question[b-73fycg6inu] { margin: 0; font-weight: 600; color: var(--aad-text); }
.aad-who[b-73fycg6inu] { display: inline-block; margin-right: 0.4rem; padding: 1px 8px; border-radius: 999px; background: var(--aad-primary-s); color: var(--rz-primary, #4f46e5); font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }

.aad-answer[b-73fycg6inu] { padding: 0.85rem 1rem; border-radius: 12px; background: var(--aad-surface-2); border-left: 3px solid var(--rz-primary, #4f46e5); color: var(--aad-text-2); }
.aad-answer-text[b-73fycg6inu] { margin: 0; white-space: pre-wrap; line-height: 1.6; }
.aad-answer--pending[b-73fycg6inu] { display: flex; align-items: center; gap: 0.6rem; color: var(--aad-muted); }
.aad-answer--error[b-73fycg6inu] { background: var(--aad-danger-s); border-left-color: var(--aad-danger); color: var(--aad-danger); }
.aad-source[b-73fycg6inu] { margin: 0.6rem 0 0; font-size: 0.72rem; color: var(--aad-muted); }

.aad-chart[b-73fycg6inu] { margin: 0.8rem 0 0; }
.aad-chart-title[b-73fycg6inu] { font-size: 0.78rem; font-weight: 700; color: var(--aad-text); margin-bottom: 0.3rem; }

.aad-dots[b-73fycg6inu] { display: inline-flex; gap: 4px; }
.aad-dots i[b-73fycg6inu] { width: 6px; height: 6px; border-radius: 50%; background: var(--rz-primary, #4f46e5); animation: aad-bounce-b-73fycg6inu 1.2s ease-in-out infinite; }
.aad-dots i:nth-child(2)[b-73fycg6inu] { animation-delay: 0.15s; }
.aad-dots i:nth-child(3)[b-73fycg6inu] { animation-delay: 0.3s; }

@keyframes aad-spin-b-73fycg6inu { to { transform: rotate(360deg); } }
@keyframes aad-bounce-b-73fycg6inu { 0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; } 40% { transform: scale(1); opacity: 1; } }

@media (max-width: 640px) {
    .aad[b-73fycg6inu] { padding: 1rem; }
    .aad-input-row[b-73fycg6inu] { flex-direction: column; }
    .aad-send[b-73fycg6inu] { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    .aad-spin[b-73fycg6inu], .aad-dots i[b-73fycg6inu] { animation: none; }
}
/* /Components/Pages/AdminReports/AdminLibraryLeaderboard.razor.rz.scp.css */
.alb[b-l27hx3h5bf] {
    --alb-surface: #ffffff;
    --alb-surface-2: #f7f8fc;
    --alb-border: #e2e6f0;
    --alb-text: #0f172a;
    --alb-text-2: #374151;
    --alb-muted: #64748b;
    --alb-primary-s: #eef2ff;
    --alb-down: #b91c1c; --alb-down-s: #fef2f2;
    --alb-up: #047857;   --alb-up-s: #ecfdf5;
    --alb-focus: 0 0 0 3px rgba(79, 70, 229, 0.35);

    background: var(--alb-surface);
    border: 1px solid var(--alb-border);
    border-radius: 18px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    color: var(--alb-text);
    font-size: 0.875rem;
}

.alb--dark[b-l27hx3h5bf] {
    --alb-surface: #111827;
    --alb-surface-2: #1a2235;
    --alb-border: #1e2d47;
    --alb-text: #f1f5f9;
    --alb-text-2: #cbd5e1;
    --alb-muted: #94a3b8;
    --alb-primary-s: rgba(79, 70, 229, 0.18);
    --alb-down: #fca5a5; --alb-down-s: rgba(220, 38, 38, 0.18);
    --alb-up: #6ee7b7;   --alb-up-s: rgba(5, 150, 105, 0.2);
}

.alb-head[b-l27hx3h5bf] { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 0.75rem; }
.alb-title[b-l27hx3h5bf] { margin: 0; font-size: 1.05rem; font-weight: 700; display: flex; gap: 0.5rem; align-items: center; }
.alb-sub[b-l27hx3h5bf] { margin: 0.15rem 0 0; color: var(--alb-muted); font-size: 0.8rem; max-width: 60ch; }

.alb-btn[b-l27hx3h5bf] {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.6rem 1.1rem; border: none; border-radius: 10px;
    background: var(--rz-primary, #4f46e5); color: #fff; font-weight: 600; font-size: 0.85rem; cursor: pointer; white-space: nowrap;
}
.alb-btn:hover:not(:disabled)[b-l27hx3h5bf] { filter: brightness(1.08); }
.alb-btn:focus-visible[b-l27hx3h5bf] { outline: none; box-shadow: var(--alb-focus); }
.alb-btn:disabled[b-l27hx3h5bf] { opacity: 0.55; cursor: not-allowed; }
.alb-spin[b-l27hx3h5bf] { animation: alb-spin-b-l27hx3h5bf 0.75s linear infinite; }

.alb-note[b-l27hx3h5bf] { margin: 0.25rem 0 0.75rem; color: var(--alb-muted); font-size: 0.82rem; }
.alb-note--error[b-l27hx3h5bf] { color: var(--alb-down); font-weight: 600; }
.alb-foot[b-l27hx3h5bf] { margin: 0.6rem 0 0; color: var(--alb-muted); font-size: 0.75rem; }

.alb-metrics[b-l27hx3h5bf] { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.25rem 0 0.9rem; }
.alb-metric[b-l27hx3h5bf] {
    padding: 0.35rem 0.85rem; border-radius: 999px; border: 1px solid var(--alb-border);
    background: var(--alb-surface-2); color: var(--alb-text-2); font-size: 0.78rem; font-weight: 600; cursor: pointer;
}
.alb-metric:hover[b-l27hx3h5bf] { background: var(--alb-primary-s); }
.alb-metric.is-active[b-l27hx3h5bf] { background: var(--rz-primary, #4f46e5); border-color: var(--rz-primary, #4f46e5); color: #fff; }
.alb-metric:focus-visible[b-l27hx3h5bf] { outline: none; box-shadow: var(--alb-focus); }

.alb-highlights[b-l27hx3h5bf] { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.9rem; }
.alb-pill[b-l27hx3h5bf] { padding: 4px 12px; border-radius: 999px; font-size: 0.78rem; }
.alb-pill--down[b-l27hx3h5bf] { background: var(--alb-down-s); color: var(--alb-down); }
.alb-pill--up[b-l27hx3h5bf] { background: var(--alb-up-s); color: var(--alb-up); }

.alb-list[b-l27hx3h5bf] { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.45rem; }
.alb-row[b-l27hx3h5bf] {
    display: grid; grid-template-columns: 1.8rem minmax(120px, 220px) minmax(80px, 1fr) minmax(70px, auto) 8.5rem;
    align-items: center; gap: 0.75rem; padding: 0.3rem 0;
}
.alb-rank[b-l27hx3h5bf] { color: var(--alb-muted); font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.alb-name[b-l27hx3h5bf] { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.alb-bar[b-l27hx3h5bf] { height: 10px; border-radius: 999px; background: var(--alb-surface-2); overflow: hidden; }
.alb-bar > span[b-l27hx3h5bf] { display: block; height: 100%; border-radius: 999px; background: var(--rz-primary, #4f46e5); transition: width 0.4s ease; }
.alb-value[b-l27hx3h5bf] { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.alb-delta[b-l27hx3h5bf] { justify-self: start; padding: 2px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.alb-delta--down[b-l27hx3h5bf] { background: var(--alb-down-s); color: var(--alb-down); }
.alb-delta--up[b-l27hx3h5bf] { background: var(--alb-up-s); color: var(--alb-up); }
.alb-delta--none[b-l27hx3h5bf] { color: var(--alb-muted); font-weight: 500; }

@keyframes alb-spin-b-l27hx3h5bf { to { transform: rotate(360deg); } }

@media (max-width: 760px) {
    .alb[b-l27hx3h5bf] { padding: 1rem; }
    .alb-row[b-l27hx3h5bf] { grid-template-columns: 1.6rem 1fr auto; row-gap: 0.2rem; }
    .alb-bar[b-l27hx3h5bf] { grid-column: 2 / -1; }
    .alb-delta[b-l27hx3h5bf] { grid-column: 2 / -1; }
}

@media (prefers-reduced-motion: reduce) {
    .alb-spin[b-l27hx3h5bf] { animation: none; }
    .alb-bar > span[b-l27hx3h5bf] { transition: none; }
}
/* /Components/Pages/AdminReports/AdminReportJobsPanel.razor.rz.scp.css */
.arjp[b-36kqlg8dmc] {
    --arjp-surface: #ffffff;
    --arjp-surface-2: #f7f8fc;
    --arjp-border: #e2e6f0;
    --arjp-text: #0f172a;
    --arjp-muted: #64748b;
    --arjp-run: #7c3aed;
    --arjp-run-s: #f3e8ff;
    --arjp-ok: #16a34a;
    --arjp-ok-s: #dcfce7;
    --arjp-bad: #dc2626;
    --arjp-bad-s: #fee2e2;

    margin-bottom: 1rem;
    padding: 0.85rem 1.25rem;
    background: var(--arjp-surface);
    border: 1px solid var(--arjp-border);
    border-radius: 18px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    color: var(--arjp-text);
}

.arjp--dark[b-36kqlg8dmc] {
    --arjp-surface: #1e2235;
    --arjp-surface-2: #252a40;
    --arjp-border: #343b58;
    --arjp-text: #e2e8f0;
    --arjp-muted: #94a3b8;
    --arjp-run-s: rgba(124, 58, 237, 0.2);
    --arjp-ok-s: rgba(22, 163, 74, 0.2);
    --arjp-bad-s: rgba(220, 38, 38, 0.2);
}

.arjp-head[b-36kqlg8dmc] { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.75rem; margin-bottom: 0.6rem; }
.arjp-title[b-36kqlg8dmc] { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.arjp-sub[b-36kqlg8dmc] { font-size: 0.78rem; color: var(--arjp-muted); }

.arjp-list[b-36kqlg8dmc] { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }

.arjp-item[b-36kqlg8dmc] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--arjp-border);
    border-left-width: 4px;
    border-radius: 12px;
    background: var(--arjp-surface-2);
}

.arjp-item.is-current[b-36kqlg8dmc] { box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.18); }
.arjp-item--running[b-36kqlg8dmc] { border-left-color: var(--arjp-run); }
.arjp-item--completed[b-36kqlg8dmc] { border-left-color: var(--arjp-ok); }
.arjp-item--failed[b-36kqlg8dmc] { border-left-color: var(--arjp-bad); }
.arjp-item--cancelled[b-36kqlg8dmc] { border-left-color: var(--arjp-muted); opacity: 0.85; }

.arjp-icon[b-36kqlg8dmc] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--arjp-surface);
    color: var(--arjp-muted);
}

.arjp-item--running .arjp-icon[b-36kqlg8dmc] { background: var(--arjp-run-s); color: var(--arjp-run); }
.arjp-item--completed .arjp-icon[b-36kqlg8dmc] { background: var(--arjp-ok-s); color: var(--arjp-ok); }
.arjp-item--failed .arjp-icon[b-36kqlg8dmc] { background: var(--arjp-bad-s); color: var(--arjp-bad); }

@keyframes arjp-spin-b-36kqlg8dmc { to { transform: rotate(360deg); } }
.arjp-spin[b-36kqlg8dmc] { animation: arjp-spin-b-36kqlg8dmc 0.8s linear infinite; }

.arjp-body[b-36kqlg8dmc] { flex: 1 1 auto; min-width: 0; }
.arjp-name[b-36kqlg8dmc] { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 700; }
.arjp-tag[b-36kqlg8dmc] {
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    background: var(--arjp-run-s);
    color: var(--arjp-run);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.arjp-meta[b-36kqlg8dmc] { font-size: 0.76rem; color: var(--arjp-muted); margin-top: 1px; }
.arjp-status[b-36kqlg8dmc] { font-size: 0.8rem; margin-top: 3px; }
.arjp-item--failed .arjp-status[b-36kqlg8dmc] { color: var(--arjp-bad); }

.arjp-progress[b-36kqlg8dmc] {
    position: relative;
    height: 4px;
    margin-top: 6px;
    border-radius: 999px;
    background: var(--arjp-border);
    overflow: hidden;
}

.arjp-progress span[b-36kqlg8dmc] {
    position: absolute;
    inset: 0 auto 0 0;
    width: 35%;
    border-radius: inherit;
    background: var(--arjp-run);
    animation: arjp-indeterminate-b-36kqlg8dmc 1.4s ease-in-out infinite;
}

@keyframes arjp-indeterminate-b-36kqlg8dmc {
    0% { left: -35%; }
    100% { left: 100%; }
}

.arjp-actions[b-36kqlg8dmc] { display: flex; gap: 0.4rem; flex-shrink: 0; }

.arjp-btn[b-36kqlg8dmc] {
    padding: 0.45rem 0.85rem;
    border-radius: 8px;
    border: 1px solid var(--arjp-border);
    background: var(--arjp-surface);
    color: var(--arjp-text);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.arjp-btn:hover[b-36kqlg8dmc] { transform: translateY(-1px); }
.arjp-btn:focus-visible[b-36kqlg8dmc] { outline: none; box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.35); }
.arjp-btn--primary[b-36kqlg8dmc] { background: var(--rz-primary, #4f46e5); border-color: transparent; color: #fff; }
.arjp-btn--ghost[b-36kqlg8dmc] { background: transparent; color: var(--arjp-muted); }

@media (prefers-reduced-motion: reduce) {
    .arjp-spin[b-36kqlg8dmc], .arjp-progress span[b-36kqlg8dmc] { animation: none; }
}

@media (max-width: 640px) {
    .arjp-item[b-36kqlg8dmc] { flex-wrap: wrap; }
    .arjp-actions[b-36kqlg8dmc] { width: 100%; justify-content: flex-end; }
}
/* /Components/Pages/AdminReports/AdminReportModeBar.razor.rz.scp.css */
.armb[b-0inh5kc35n] {
    --armb-surface: #ffffff;
    --armb-surface-2: #f7f8fc;
    --armb-border: #e2e6f0;
    --armb-text: #0f172a;
    --armb-muted: #64748b;
    --armb-primary: var(--rz-primary, #4f46e5);
    --armb-recent: #0284c7;
    --armb-recent-s: #e0f2fe;
    --armb-detailed: #7c3aed;
    --armb-detailed-s: #f3e8ff;

    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.5rem;
    margin-bottom: 1rem;
    padding: 0.85rem 1.25rem;
    background: var(--armb-surface);
    border: 1px solid var(--armb-border);
    border-radius: 18px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    color: var(--armb-text);
}

.armb--dark[b-0inh5kc35n] {
    --armb-surface: #1e2235;
    --armb-surface-2: #252a40;
    --armb-border: #343b58;
    --armb-text: #e2e8f0;
    --armb-muted: #94a3b8;
    --armb-recent-s: rgba(2, 132, 199, 0.18);
    --armb-detailed-s: rgba(124, 58, 237, 0.2);
}

.armb-toggle[b-0inh5kc35n] {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    background: var(--armb-surface-2);
    border: 1px solid var(--armb-border);
    border-radius: 14px;
}

.armb-option[b-0inh5kc35n] {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.95rem;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: var(--armb-muted);
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.armb-option:hover:not(:disabled)[b-0inh5kc35n] { color: var(--armb-text); }
.armb-option:focus-visible[b-0inh5kc35n] { outline: none; box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.35); }
.armb-option:disabled[b-0inh5kc35n] { cursor: not-allowed; opacity: 0.6; }

.armb-option.is-active[b-0inh5kc35n] {
    background: var(--armb-surface);
    color: var(--armb-text);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1);
}

.armb-option.is-active:first-child .armb-option-icon[b-0inh5kc35n] { background: var(--armb-recent-s); color: var(--armb-recent); }
.armb-option.is-active:last-child .armb-option-icon[b-0inh5kc35n] { background: var(--armb-detailed-s); color: var(--armb-detailed); }

.armb-option-icon[b-0inh5kc35n] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: var(--armb-surface-2);
    flex-shrink: 0;
}

.armb-option-text[b-0inh5kc35n] { display: flex; flex-direction: column; line-height: 1.2; }
.armb-option-text strong[b-0inh5kc35n] { font-size: 0.875rem; font-weight: 700; }
.armb-option-text small[b-0inh5kc35n] { font-size: 0.72rem; color: var(--armb-muted); }

.armb-info[b-0inh5kc35n] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.85rem;
    flex: 1 1 320px;
    min-width: 0;
}

.armb-label[b-0inh5kc35n] {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}

.armb-label--recent[b-0inh5kc35n] { background: var(--armb-recent-s); color: var(--armb-recent); }
.armb-label--detailed[b-0inh5kc35n] { background: var(--armb-detailed-s); color: var(--armb-detailed); }

.armb-text[b-0inh5kc35n] {
    margin: 0;
    flex: 1 1 260px;
    font-size: 0.82rem;
    color: var(--armb-muted);
    line-height: 1.45;
}

.armb-presets[b-0inh5kc35n] { display: inline-flex; flex-wrap: wrap; gap: 6px; }

.armb-preset[b-0inh5kc35n] {
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    border: 1px solid var(--armb-border);
    background: var(--armb-surface);
    color: var(--armb-text);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.armb-preset:hover:not(:disabled)[b-0inh5kc35n] { border-color: var(--armb-recent); color: var(--armb-recent); }
.armb-preset:focus-visible[b-0inh5kc35n] { outline: none; box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.35); }
.armb-preset:disabled[b-0inh5kc35n] { cursor: not-allowed; opacity: 0.6; }
.armb-preset.is-active[b-0inh5kc35n] { background: var(--armb-recent); border-color: var(--armb-recent); color: #fff; }

@media (max-width: 640px) {
    .armb-toggle[b-0inh5kc35n] { width: 100%; }
    .armb-option[b-0inh5kc35n] { flex: 1 1 0; }
}
/* /Components/Pages/Assets.razor.rz.scp.css */
.custom-card[custom-scope-identifier] {
    width: 150px;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

    .custom-card:hover[custom-scope-identifier] {
        background-color: #e0e0e0;
    }

.selected[custom-scope-identifier] {
    border: 3px solid #007bff;
    background-color: #d0e8ff;
}

.card-image[custom-scope-identifier] {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
}

.card-title[custom-scope-identifier] {
    margin-top: 10px;
    font-weight: bold;
    font-size: 14px;
}

.label-column[custom-scope-identifier] {
    /* Keep if no equivalent in global-site.css */
    display: flex;
    align-items: center;
}

.time-slot-container[custom-scope-identifier] {
    /* Empty if flex-container is used from global-site.css */
}

.time-slot-btn[custom-scope-identifier] {
    background-color: cyan;
    color: black;
    width: 80px;
}

    .time-slot-btn.selected[custom-scope-identifier] {
        background-color: #86a723;
        color: white;
    }

.clear-btn[custom-scope-identifier] {
    color: red;
    float: right;
    margin-top: 5px;
}

.book-btn[custom-scope-identifier] {
    background-color: green;
    color: white;
}

.time-slot[custom-scope-identifier] {
    display: coverage;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 30px;
}

.color-box[custom-scope-identifier] {
    width: 15px;
    height: 15px;
    border-radius: 3px;
}

.main-container[custom-scope-identifier] {
    position: relative;
}

.blurPanel[custom-scope-identifier] {
    filter: blur(0.5px);
}

.time-slot.disabled[custom-scope-identifier] {
    pointer-events: none;
    cursor: not-allowed;
}

.rz-view-header[custom-scope-identifier] {
    font-weight: bold;
}

.rz-slot-header[custom-scope-identifier] {
    font-size: large;
}

.rz-slot-title[custom-scope-identifier] {
    text-align: center !important;
}

.rz-scheduler-month-view .rz-scheduler-table .rz-scheduler-date[custom-scope-identifier] {
    padding: 0;
    margin: 0;
    height: 100%;
    width: 100%;
    position: relative;
}

    .rz-scheduler-month-view .rz-scheduler-table .rz-scheduler-date:hover[custom-scope-identifier] {
        background-color: inherit !important;
    }

.rz-scheduler-month-view .rz-scheduler-date-header[custom-scope-identifier] {
    position: relative;
    z-index: 1;
    padding: 2px;
    font-weight: bold;
}

.rz-scheduler-month-view .rz-scheduler-date-content[custom-scope-identifier] {
    height: 100%;
    width: 100%;
    position: relative;
}

.rz-event-content[custom-scope-identifier] {
    height: 100% !important;
    width: 100% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
}

.rz-event-list-btn[custom-scope-identifier] {
    display: none;
}

.rz-slot[custom-scope-identifier] {
    border: 0.5px solid #00000078 !important;
}

.bordered-scheduler[custom-scope-identifier],
.bordered-scheduler .rz-scheduler-month-view .rz-scheduler-table td[custom-scope-identifier],
.bordered-scheduler .rz-scheduler-month-view .rz-scheduler-header[custom-scope-identifier],
.bordered-scheduler .rz-scheduler-month-view .rz-scheduler-header-cell[custom-scope-identifier],
.bordered-scheduler .rz-scheduler-month-view .rz-scheduler-appointment[custom-scope-identifier] {
    border: 1px solid #00000078 !important;
}

.rz-scheduler-month-view .rz-scheduler-appointment[custom-scope-identifier] {
    height: 100% !important;
    width: 100% !important;
    border-radius: 0 !important;
    top: 0 !important;
    left: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/*.rz-row {
    margin-top: var(--rz-mt, 0px) !important;
}
*/
/* /Components/Pages/ComputerBooking.razor.rz.scp.css */
/*body {
}
*/
/* /Components/Pages/ItemDetailFrbr.razor.rz.scp.css */
.col2[b-003bfzdzzo] {
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 10px;
}

.loading-overlay[b-003bfzdzzo] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
}

.col3[b-003bfzdzzo] {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}
/* /Components/Pages/PatronDashboard.razor.rz.scp.css */
/* ══════════════════════════════════════════════════════════════
   PATRON DASHBOARD — Compact, elegant, WCAG AA compliant
   ══════════════════════════════════════════════════════════════ */

/* ── Design tokens ────────────────────────────────────────── */
.pd-shell[b-fm7byoc9lg] {
    /* Spacing scale (4/8/12/16/24/32/48) */
    --pd-s1: 0.25rem;
    --pd-s2: 0.5rem;
    --pd-s3: 0.75rem;
    --pd-s4: 1rem;
    --pd-s5: 1.5rem;
    --pd-s6: 2rem;
    --pd-s7: 3rem;

    /* Type scale */
    --pd-t-xs: 0.75rem;
    --pd-t-sm: 0.8125rem;
    --pd-t-base: 0.875rem;
    --pd-t-md: 1rem;
    --pd-t-lg: 1.125rem;
    --pd-t-xl: 1.5rem;
    --pd-t-hero: 1.75rem;

    /* Colors (all AA-compliant on white) */
    --pd-bg: #f7f8fa;
    --pd-surface: #ffffff;
    --pd-surface-2: #f9fafb;
    --pd-border: #e5e7eb;
    --pd-border-strong: #d1d5db;

    --pd-text: #111827;            /* 16.1:1 */
    --pd-text-secondary: #4b5563;  /* 7.6:1  */
    --pd-text-muted: #6b7280;      /* 4.8:1  */

    --pd-primary: #2563eb;         /* 4.6:1  */
    --pd-primary-strong: #155d7f;  /* deepest primary step; used under a white label  */
    --pd-primary-soft: #eff6ff;
    --pd-primary-soft-strong: #dbeafe;

    --pd-success: #15803d;         /* 4.8:1 as ink on a light card */
    --pd-success-soft: #dcfce7;
    --pd-success-tint: #f0fdf4;
    --pd-success-border: #86efac;
    /* Fills carry a white label, so they keep the dark step in BOTH themes —
       --pd-success itself lightens to #4ade80 for dark-mode ink. */
    --pd-success-fill: #15803d;
    --pd-success-fill-bright: #16a34a; /* gradient stop beside --pd-success-fill */
    --pd-warning: #b45309;         /* 4.8:1  */
    --pd-warning-soft: #fef3c7;
    --pd-warning-border: #fde68a;
    --pd-danger: #b91c1c;          /* 5.9:1  */
    --pd-danger-soft: #fee2e2;

    /* Queue indigo. --pd-accent paints fills (gradient stops, the 3px spine, the track
       marker) and must NOT lighten in dark mode; --pd-accent-ink is the same hue used as
       text on a card, where #4f46e5 only reaches 2.7:1 on the dark surface. */
    --pd-accent: #4f46e5;
    --pd-accent-ink: #4f46e5;

    /* White label/dot that sits on a coloured fill — deliberately not theme-swapped. */
    --pd-on-fill: #ffffff;

    /* Skeleton shimmer */
    --pd-skeleton: #f0f0f0;
    --pd-skeleton-shine: #e0e0e0;
    --pd-skeleton-flat: #ececec;

    /* Radii / shadows */
    --pd-r-sm: 6px;
    --pd-r-md: 8px;
    --pd-r-lg: 12px;
    --pd-shadow-sm: 0 1px 2px rgba(17, 24, 39, 0.05);
    --pd-shadow-md: 0 4px 12px rgba(17, 24, 39, 0.06);
    --pd-shadow-lg: 0 12px 28px rgba(17, 24, 39, 0.08);

    --pd-focus: 0 0 0 3px rgba(37, 99, 235, 0.35);

    background-color: var(--pd-bg);
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100);
    padding: var(--pd-s5) var(--pd-s4);
    color: var(--pd-text);
    font-size: var(--pd-t-base);
    line-height: 1.5;
}

/* ── Screen-reader only ───────────────────────────────────── */
.pd-sr-only[b-fm7byoc9lg] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ── Layout (content + sidebar) ───────────────────────────── */
.pd-layout[b-fm7byoc9lg] {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: var(--pd-s5);
    align-items: start;
    position: relative;
}

.pd-content[b-fm7byoc9lg] {
    display: flex;
    flex-direction: column;
    gap: var(--pd-s5);
    min-width: 0; /* prevent grid blowout */
}

/* ── Sidebar ──────────────────────────────────────────────── */
.pd-sidebar[b-fm7byoc9lg] {
    position: sticky;
    top: var(--pd-s4);
    display: flex;
    flex-direction: column;
    gap: var(--pd-s3);
    max-height: calc(100vh - var(--pd-s5) * 2);
    max-height: calc(var(--vh, 1vh) * 100 - var(--pd-s5) * 2);
    overflow-y: auto;
    padding-right: 2px; /* space for scrollbar */
}

.pd-sidebar[b-fm7byoc9lg]::-webkit-scrollbar {
    width: 6px;
}

.pd-sidebar[b-fm7byoc9lg]::-webkit-scrollbar-thumb {
    background-color: var(--pd-border-strong);
    border-radius: 3px;
}

/* Sidebar header (only shown on mobile drawer) */
.pd-sidebar-header[b-fm7byoc9lg] {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding-bottom: var(--pd-s3);
    border-bottom: 1px solid var(--pd-border);
    margin-bottom: var(--pd-s1);
}

.pd-sidebar-title[b-fm7byoc9lg] {
    font-size: var(--pd-t-md);
    font-weight: 700;
    margin: 0;
    color: var(--pd-text);
}

.pd-sidebar-close[b-fm7byoc9lg] {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    border-radius: var(--pd-r-sm);
    font-size: 1.5rem;
    line-height: 1;
    color: var(--pd-text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pd-sidebar-close:hover[b-fm7byoc9lg] {
    background-color: var(--pd-surface-2);
    color: var(--pd-text);
}

.pd-sidebar-close:focus-visible[b-fm7byoc9lg] {
    outline: none;
    box-shadow: var(--pd-focus);
}

/* Mobile toggle button */
.pd-sidebar-toggle[b-fm7byoc9lg] {
    display: none;
    align-items: center;
    gap: var(--pd-s2);
    padding: 0.45rem 0.85rem;
    background-color: var(--pd-surface);
    border: 1px solid var(--pd-border-strong);
    border-radius: var(--pd-r-sm);
    color: var(--pd-text-secondary);
    font-size: var(--pd-t-sm);
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s, border-color 0.15s;
    font-family: inherit;
    min-height: 36px;
}

.pd-sidebar-toggle:hover[b-fm7byoc9lg] {
    background-color: var(--pd-primary-soft);
    border-color: var(--rz-primary);
    color: var(--pd-primary);
}

.pd-sidebar-toggle:focus-visible[b-fm7byoc9lg] {
    outline: none;
    box-shadow: var(--pd-focus);
}

.pd-sidebar-toggle-icon[b-fm7byoc9lg] {
    font-size: 1.1rem;
    line-height: 1;
}

/* Hero actions wrapper (holds date + toggle) */
.pd-hero-actions[b-fm7byoc9lg] {
    display: flex;
    align-items: center;
    gap: var(--pd-s3);
}

/* ── Sidebar cards ────────────────────────────────────────── */
.pd-side-card[b-fm7byoc9lg] {
    background-color: var(--pd-surface);
    border: 1px solid var(--pd-border);
    border-radius: var(--pd-r-lg);
    padding: var(--pd-s4);
    display: flex;
    flex-direction: column;
    gap: var(--pd-s2);
}

.pd-side-card-head[b-fm7byoc9lg] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--pd-s2);
}

.pd-side-card-title[b-fm7byoc9lg] {
    font-size: var(--pd-t-sm);
    font-weight: 700;
    color: var(--pd-text);
    margin: 0;
    letter-spacing: -0.005em;
}

.pd-side-link[b-fm7byoc9lg] {
    /* Works identically as either <a> or <button> */
    display:         inline;
    font-size:       var(--pd-t-xs);
    font-weight:     700;
    color:           var(--pd-primary);
    text-decoration: none;
    margin-top:      var(--pd-s1);
    /* <button> resets */
    background:      none;
    border:          none;
    padding:         0;
    cursor:          pointer;
    font-family:     inherit;
    line-height:     inherit;
}

.pd-side-link:hover[b-fm7byoc9lg] {
    text-decoration: underline;
}

.pd-side-link:focus-visible[b-fm7byoc9lg] {
    outline:       none;
    box-shadow:    var(--pd-focus);
    border-radius: 3px;
}

/* Quick Actions grid */
.pd-qa-grid[b-fm7byoc9lg] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--pd-s2);
}

.pd-qa-btn[b-fm7byoc9lg] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: var(--pd-s3) var(--pd-s2);
    background-color: var(--pd-surface-2);
    border: 1px solid var(--pd-border);
    border-radius: var(--pd-r-md);
    color: var(--pd-text-secondary);
    font-size: var(--pd-t-xs);
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s, border-color 0.15s, transform 0.15s;
    font-family: inherit;
    min-height: 68px;
}

.pd-qa-btn:hover[b-fm7byoc9lg] {
    background-color: var(--pd-primary-soft);
    border-color: var(--rz-primary);
    color: var(--pd-primary);
    transform: translateY(-1px);
}

.pd-qa-btn:focus-visible[b-fm7byoc9lg] {
    outline: none;
    box-shadow: var(--pd-focus);
}

.pd-qa-btn .pd-qa-icon[b-fm7byoc9lg] {
    font-size: 1.5rem;
    line-height: 1;
    color: inherit;
}

.pd-qa-label[b-fm7byoc9lg] {
    font-weight: 600;
}

/* Library status */
.pd-status[b-fm7byoc9lg] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: var(--pd-t-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
}

.pd-status--open[b-fm7byoc9lg] {
    background-color: var(--pd-success-soft);
    color: var(--pd-success);
}

.pd-status-dot[b-fm7byoc9lg] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--pd-success);
    box-shadow: 0 0 0 0 rgba(21, 128, 61, 0.6);
    animation: pd-pulse-green-b-fm7byoc9lg 2s ease-in-out infinite;
}

@keyframes pd-pulse-green-b-fm7byoc9lg {
    0%, 100% { box-shadow: 0 0 0 0 rgba(21, 128, 61, 0.6); }
    50%      { box-shadow: 0 0 0 5px rgba(21, 128, 61, 0); }
}

.pd-hours-main[b-fm7byoc9lg] {
    font-size: var(--pd-t-md);
    font-weight: 700;
    color: var(--pd-text);
    margin: 0;
    letter-spacing: -0.01em;
}

.pd-hours-note[b-fm7byoc9lg] {
    font-size: var(--pd-t-xs);
    color: var(--pd-text-muted);
    margin: 0;
}

/* Reading Goal styles moved to ReadingInsightsCard sub-component */

/* Tip card */
.pd-side-card--tip[b-fm7byoc9lg] {
    background: linear-gradient(135deg, var(--pd-warning-soft) 0%, var(--pd-surface) 70%);
    border-color: var(--pd-warning-border);
}

.pd-tip-icon[b-fm7byoc9lg] {
    font-size: 1.25rem;
    line-height: 1;
    margin-bottom: -0.25rem;
}

.pd-tip-text[b-fm7byoc9lg] {
    font-size: var(--pd-t-xs);
    color: var(--pd-text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* Mobile backdrop */
.pd-sidebar-backdrop[b-fm7byoc9lg] {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(17, 24, 39, 0.45);
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 40;
    animation: pd-fade-in-b-fm7byoc9lg 0.2s ease;
}

@keyframes pd-fade-in-b-fm7byoc9lg {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ── HERO ─────────────────────────────────────────────────── */
.pd-hero[b-fm7byoc9lg] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--pd-s4);
    padding-bottom: var(--pd-s3);
    border-bottom: 1px solid var(--pd-border);
}

.pd-hero-title[b-fm7byoc9lg] {
    font-size: var(--pd-t-hero);
    font-weight: 700;
    color: var(--pd-text);
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.pd-hero-name[b-fm7byoc9lg] {
    color: var(--pd-primary);
}

.pd-hero-subtitle[b-fm7byoc9lg] {
    font-size: var(--pd-t-sm);
    color: var(--pd-text-secondary);
    margin: var(--pd-s1) 0 0;
}

.pd-hero-date[b-fm7byoc9lg] {
    font-size: var(--pd-t-xs);
    color: var(--pd-text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

/* ── Section primitives ───────────────────────────────────── */
.pd-section[b-fm7byoc9lg] {
    display: flex;
    flex-direction: column;
    gap: var(--pd-s3);
}

.pd-section-head[b-fm7byoc9lg] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--pd-s3);
}

.pd-section-title[b-fm7byoc9lg] {
    font-size: var(--pd-t-lg);
    font-weight: 700;
    color: var(--pd-text);
    margin: 0;
    letter-spacing: -0.01em;
}

.pd-section-subtitle[b-fm7byoc9lg] {
    font-size: var(--pd-t-xs);
    color: var(--pd-text-muted);
    margin: var(--pd-s1) 0 0;
}

.pd-hl-success[b-fm7byoc9lg] {
    color: var(--pd-success);
    font-weight: 600;
}

/* Link buttons — accessible focus state */
.pd-link-btn :deep button[b-fm7byoc9lg],
.pd-link-btn[b-fm7byoc9lg] {
    color: var(--pd-primary) !important;
    font-size: var(--pd-t-sm) !important;
    font-weight: 600 !important;
    padding: 0.35rem 0.6rem !important;
    border-radius: var(--pd-r-sm) !important;
}

.pd-link-btn :deep button:focus-visible[b-fm7byoc9lg] {
    outline: none;
    box-shadow: var(--pd-focus);
}

.pd-inline-link[b-fm7byoc9lg] {
    color: var(--pd-primary);
    font-weight: 600;
    text-decoration: underline;
}

.pd-inline-link:focus-visible[b-fm7byoc9lg] {
    outline: none;
    box-shadow: var(--pd-focus);
    border-radius: 3px;
}

/* ── Stats grid ───────────────────────────────────────────── */
.pd-stats-grid[b-fm7byoc9lg] {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--pd-s3);
}

/* ── Alerts list ──────────────────────────────────────────── */
.pd-alerts-list[b-fm7byoc9lg] {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--pd-s2);
}

/* ══════════════════════════════════════════════════════════════
   EVENTS TABS
   ══════════════════════════════════════════════════════════════ */
.pd-tabs[b-fm7byoc9lg] {
    display:        flex;
    gap:            var(--pd-s2);
    margin-bottom:  var(--pd-s4);
    border-bottom:  1px solid var(--pd-border);
}

.pd-tab[b-fm7byoc9lg] {
    display:         inline-flex;
    align-items:     center;
    gap:             0.4rem;
    background:      none;
    border:          none;
    padding:         0.55rem 0.85rem;
    font:            inherit;
    font-size:       var(--pd-t-sm);
    font-weight:     600;
    color:           var(--pd-text-muted);
    cursor:          pointer;
    border-bottom:   2px solid transparent;
    margin-bottom:   -1px;
    transition:      color 0.15s ease, border-color 0.15s ease;
}

.pd-tab:hover[b-fm7byoc9lg] {
    color: var(--pd-text);
}

.pd-tab:focus-visible[b-fm7byoc9lg] {
    outline:        none;
    box-shadow:     var(--pd-focus);
    border-radius:  var(--pd-r-sm);
}

.pd-tab--active[b-fm7byoc9lg] {
    color:                 var(--pd-primary);
    border-bottom-color:   var(--rz-primary);
}

.pd-tab-count[b-fm7byoc9lg] {
    background:     var(--pd-primary-soft);
    color:          var(--pd-primary);
    border-radius:  999px;
    font-size:      var(--pd-t-xs);
    font-weight:    700;
    padding:        0.1rem 0.45rem;
    line-height:    1.5;
}

.pd-tab--active .pd-tab-count[b-fm7byoc9lg] {
    background: var(--rz-primary-dark);
    color:      var(--pd-on-fill);
}

@media (prefers-reduced-motion: reduce) {
    .pd-tab[b-fm7byoc9lg] { transition: none; }
}

/* ── Events toggle button ─────────────────────────────────── */
.pd-events-toggle[b-fm7byoc9lg] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: none;
    color: var(--rz-text-body2-color);
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    /* text colour / size inherited from .pd-link-btn */
}

.pd-events-toggle-chevron[b-fm7byoc9lg] {
    display:    inline-block;
    width:      0;
    height:     0;
    border-left:   4px solid transparent;
    border-right:  4px solid transparent;
    border-top:    5px solid currentColor;
    transition:    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink:   0;
    /* nudge down a hair for optical alignment */
    margin-top:    1px;
}

.pd-events-toggle-chevron--open[b-fm7byoc9lg] {
    transform: rotate(-180deg);
}

/* ── Events grid ──────────────────────────────────────────── */
.pd-events-grid[b-fm7byoc9lg] {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--pd-s3);
}

/* ── Extra events — slide-down panel ─────────────────────── */
/*
 * max-height: 0  →  overflow hidden clips the content (collapsed).
 * max-height: 2400px  →  generous ceiling for up to 3 extra rows of cards.
 * The ease-out curve makes the opening feel snappy and the closing smooth.
 *
 * The inner __inner div translates up slightly and fades in on expand,
 * giving a polished "cards rising into view" effect.
 */
.pd-events-extra[b-fm7byoc9lg] {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.pd-events-extra--open[b-fm7byoc9lg] {
    max-height: 2400px;
    /* slower ease-in so the closing doesn't feel abrupt */
    transition: max-height 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.pd-events-extra__inner[b-fm7byoc9lg] {
    padding-top: var(--pd-s3);
    /* slide + fade while the container is opening */
    transform: translateY(-10px);
    opacity:   0;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1) 0.06s,
                opacity   0.3s  ease                          0.04s;
}

.pd-events-extra--open .pd-events-extra__inner[b-fm7byoc9lg] {
    transform: translateY(0);
    opacity:   1;
}

/* "Browse all events →" footer row inside the expanded panel */
.pd-events-browse-row[b-fm7byoc9lg] {
    display:         flex;
    justify-content: flex-end;
    margin-top:      var(--pd-s2);
}

.pd-events-browse-link[b-fm7byoc9lg] {
    font-size:   var(--pd-t-sm);
    font-weight: 700;
    background:  none;
    border:      none;
    padding:     0;
    cursor:      pointer;
    font-family: inherit;
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
    .pd-events-extra[b-fm7byoc9lg],
    .pd-events-extra--open[b-fm7byoc9lg] {
        transition: none;
    }
    .pd-events-extra__inner[b-fm7byoc9lg],
    .pd-events-extra--open .pd-events-extra__inner[b-fm7byoc9lg] {
        transition:  none;
        transform:   none;
        opacity:     1;
    }
    .pd-events-toggle-chevron[b-fm7byoc9lg] {
        transition: none;
    }
}

/* ── Panel list (used for recommendations and new titles) ── */
.pd-panel-list[b-fm7byoc9lg] {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--pd-s2);
    max-height: 500px; /* Show about 5-6 items before scrolling */
    overflow-y: auto;
    padding-right: var(--pd-s2); /* space for scrollbar */
}

/* Custom scrollbar for the panel lists */
.pd-panel-list[b-fm7byoc9lg]::-webkit-scrollbar {
    width: 6px;
}

.pd-panel-list[b-fm7byoc9lg]::-webkit-scrollbar-track {
    background: transparent;
}

.pd-panel-list[b-fm7byoc9lg]::-webkit-scrollbar-thumb {
    background-color: var(--pd-border-strong);
    border-radius: 3px;
}

.pd-panel-list[b-fm7byoc9lg]::-webkit-scrollbar-thumb:hover {
    background-color: var(--pd-text-muted);
}

/* Borrowed list ────────────────────────────────────────── */
.pd-borrowed-list[b-fm7byoc9lg] {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--pd-s2);
}

@media (max-width: 640px) {
    .pd-borrowed-list[b-fm7byoc9lg] {
        grid-template-columns: 1fr;
    }
}

/* ── Empty states ─────────────────────────────────────────── */
.pd-empty[b-fm7byoc9lg] {
    font-size: var(--pd-t-sm);
    color: var(--pd-text-muted);
    background-color: var(--pd-surface-2);
    border: 1px dashed var(--pd-border);
    border-radius: var(--pd-r-md);
    padding: var(--pd-s4);
    margin: 0;
    text-align: center;
}

.pd-empty-state[b-fm7byoc9lg] {
    text-align: center;
    padding: var(--pd-s6) var(--pd-s4);
    background-color: var(--pd-surface-2);
    border: 1px dashed var(--pd-border);
    border-radius: var(--pd-r-lg);
}

.pd-empty-icon[b-fm7byoc9lg] {
    font-size: 2rem;
    margin-bottom: var(--pd-s2);
    opacity: 0.7;
}

.pd-empty-title[b-fm7byoc9lg] {
    font-size: var(--pd-t-md);
    font-weight: 700;
    color: var(--pd-text-secondary);
    margin: 0 0 var(--pd-s1);
}

.pd-empty-text[b-fm7byoc9lg] {
    font-size: var(--pd-t-sm);
    color: var(--pd-text-muted);
    margin: 0;
}

/* ══════════════════════════════════════════════════════════════
   HOLDS & RESERVATIONS
   ══════════════════════════════════════════════════════════════ */

/* New compact 2-column grid (used by HoldCard sub-component).
   Collapses to a single column on narrow viewports for legibility. */
.pd-holds-grid[b-fm7byoc9lg] {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--pd-s3);
}

.pd-holds-grid > li[b-fm7byoc9lg] {
    display: flex;
    width: 100%;   /* force the cell to fill its grid column */
}

@media (max-width: 720px) {
    .pd-holds-grid[b-fm7byoc9lg] {
        grid-template-columns: 1fr;
    }
}

/* Legacy single-column list (kept for backward compatibility) */
.pd-holds-list[b-fm7byoc9lg] {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--pd-s3);
}

.pd-hold[b-fm7byoc9lg] {
    position: relative;
    background-color: var(--pd-surface);
    border: 1px solid var(--pd-border);
    border-radius: var(--pd-r-lg);
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.pd-hold:hover[b-fm7byoc9lg],
.pd-hold:focus-within[b-fm7byoc9lg] {
    box-shadow: var(--pd-shadow-md);
    transform: translateY(-1px);
}

.pd-hold--ready[b-fm7byoc9lg] {
    border-color: var(--pd-success-border);
    background: linear-gradient(135deg, var(--pd-success-tint) 0%, var(--pd-surface) 55%);
}

.pd-hold--queue[b-fm7byoc9lg]::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(180deg, var(--pd-accent), var(--rz-primary));
}

/* Ribbon */
.pd-hold-ribbon[b-fm7byoc9lg] {
    display: flex;
    align-items: center;
    gap: var(--pd-s2);
    background: var(--pd-success-fill);
    background-image: linear-gradient(90deg, var(--pd-success-fill-bright), var(--pd-success-fill));
    color: var(--pd-on-fill);
    font-size: var(--pd-t-xs);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem var(--pd-s4);
}

.pd-hold-ribbon-dot[b-fm7byoc9lg] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--pd-on-fill);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    animation: pd-pulse-b-fm7byoc9lg 2s ease-in-out infinite;
}

@keyframes pd-pulse-b-fm7byoc9lg {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    50%      { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); }
}

/* Main row */
.pd-hold-main[b-fm7byoc9lg] {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: var(--pd-s4);
    padding: var(--pd-s4);
}

.pd-hold-cover[b-fm7byoc9lg] {
    width: 64px;
    height: 90px;
    border-radius: var(--pd-r-sm);
    overflow: hidden;
    background-color: var(--pd-border);
    box-shadow: var(--pd-shadow-sm);
    flex-shrink: 0;
}

.pd-hold-cover img[b-fm7byoc9lg] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pd-hold-cover-ph[b-fm7byoc9lg] {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pd-text-muted);
    font-size: 1.5rem;
}

.pd-hold-body[b-fm7byoc9lg] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.pd-hold-title[b-fm7byoc9lg] {
    font-size: var(--pd-t-md);
    font-weight: 700;
    color: var(--pd-text);
    line-height: 1.25;
    margin: 0 0 var(--pd-s1);
}

.pd-hold-author[b-fm7byoc9lg] {
    font-size: var(--pd-t-xs);
    color: var(--pd-text-muted);
    margin: 0 0 var(--pd-s3);
}

/* Ready details */
.pd-hold-details[b-fm7byoc9lg] {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin: 0;
}

.pd-hold-detail dd[b-fm7byoc9lg] {
    font-size: var(--pd-t-sm);
    color: var(--pd-text-secondary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--pd-s2);
}

.pd-hold-detail--urgent dd[b-fm7byoc9lg] {
    color: var(--pd-warning);
    font-weight: 500;
}

.pd-hold-detail dd strong[b-fm7byoc9lg] {
    color: var(--pd-text);
    font-weight: 700;
}

.pd-hold-detail-icon[b-fm7byoc9lg] {
    font-size: var(--pd-t-base);
    line-height: 1;
    flex-shrink: 0;
}

/* Queue state */
.pd-hold-queue[b-fm7byoc9lg] {
    display: flex;
    flex-direction: column;
    gap: var(--pd-s2);
}

.pd-hold-queue-stat[b-fm7byoc9lg] {
    display: flex;
    align-items: baseline;
    gap: var(--pd-s2);
    flex-wrap: wrap;
}

.pd-hold-pos[b-fm7byoc9lg] {
    font-size: var(--pd-t-xl);
    font-weight: 800;
    color: var(--pd-accent-ink);
    letter-spacing: -0.02em;
    line-height: 1;
}

.pd-hold-pos-label[b-fm7byoc9lg] {
    font-size: var(--pd-t-xs);
    color: var(--pd-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.pd-hold-eta[b-fm7byoc9lg] {
    font-size: var(--pd-t-xs);
    color: var(--pd-text-muted);
    margin-left: auto;
}

.pd-hold-eta strong[b-fm7byoc9lg] {
    color: var(--pd-text-secondary);
    font-weight: 700;
}

.pd-hold-track[b-fm7byoc9lg] {
    position: relative;
    height: 5px;
    background-color: var(--pd-border);
    border-radius: 999px;
    margin-top: var(--pd-s1);
}

.pd-hold-fill[b-fm7byoc9lg] {
    position: absolute;
    inset: 0 auto 0 0;
    background: linear-gradient(90deg, var(--pd-accent), var(--rz-primary));
    border-radius: 999px;
    transition: width 0.6s ease;
}

.pd-hold-marker[b-fm7byoc9lg] {
    position: absolute;
    top: 50%;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--pd-surface);
    border: 2px solid var(--pd-accent);
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.4);
}

.pd-hold-legend[b-fm7byoc9lg] {
    display: flex;
    justify-content: space-between;
    font-size: var(--pd-t-xs);
    color: var(--pd-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-top: var(--pd-s1);
}

/* Actions */
.pd-hold-actions[b-fm7byoc9lg] {
    display: flex;
    gap: var(--pd-s2);
    padding: var(--pd-s3) var(--pd-s4);
    border-top: 1px dashed var(--pd-border);
}

/* ══════════════════════════════════════════════════════════════
   BUTTONS (accessible, consistent)
   ══════════════════════════════════════════════════════════════ */
.pd-btn[b-fm7byoc9lg] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--pd-s2);
    padding: 0.45rem 0.85rem;
    border-radius: var(--pd-r-sm);
    font-size: var(--pd-t-sm);
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background-color 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
    font-family: inherit;
    line-height: 1.2;
    min-height: 34px; /* 44px touch target when wrapped */
}

.pd-btn:focus-visible[b-fm7byoc9lg] {
    outline: none;
    box-shadow: var(--pd-focus);
}

.pd-btn--primary[b-fm7byoc9lg] {
    background: var(--pd-success-fill);
    background-image: linear-gradient(135deg, var(--pd-success-fill-bright), var(--pd-success-fill));
    color: var(--pd-on-fill);
    box-shadow: 0 1px 3px rgba(21, 128, 61, 0.3);
}

.pd-btn--primary:hover[b-fm7byoc9lg] {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(21, 128, 61, 0.4);
}

.pd-btn--ghost[b-fm7byoc9lg] {
    background-color: transparent;
    border-color: var(--pd-border-strong);
    color: var(--pd-text-secondary);
}

    .pd-btn--ghost:hover[b-fm7byoc9lg] {
        border-color: var(--rz-danger);
        color: var(--pd-danger);
        background-color: var(--pd-danger-soft);
    }

.pd-btn--subtle[b-fm7byoc9lg] {
    background-color: var(--pd-primary-soft);
    color: var(--pd-primary);
}

.pd-btn--subtle:hover[b-fm7byoc9lg] {
    background-color: var(--pd-primary-soft-strong);
}

.pd-btn-arrow[b-fm7byoc9lg] {
    transition: transform 0.2s ease;
}

.pd-btn--primary:hover .pd-btn-arrow[b-fm7byoc9lg] {
    transform: translateX(3px);
}

/* ══════════════════════════════════════════════════════════════
   DISCOVER (Recommended + New Titles)
   ══════════════════════════════════════════════════════════════ */
.pd-discover-grid[b-fm7byoc9lg] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--pd-s4);
}

.pd-panel[b-fm7byoc9lg] {
    background-color: var(--pd-surface);
    border: 1px solid var(--pd-border);
    border-radius: var(--pd-r-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.pd-panel-head[b-fm7byoc9lg] {
    display: flex;
    align-items: center;
    gap: var(--pd-s3);
    padding: var(--pd-s3) var(--pd-s4);
    border-bottom: 1px solid var(--pd-border);
}

.pd-panel-icon[b-fm7byoc9lg] {
    width: 28px;
    height: 28px;
    border-radius: var(--pd-r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--pd-t-md);
    flex-shrink: 0;
    font-weight: 700;
}

.pd-panel-icon--rec[b-fm7byoc9lg] {
    background-color: var(--pd-warning-soft);
    color: var(--pd-warning);
}

.pd-panel-icon--new[b-fm7byoc9lg] {
    background-color: var(--pd-primary-soft);
    color: var(--pd-primary);
}

.pd-panel-titles[b-fm7byoc9lg] {
    flex: 1;
    min-width: 0;
}

.pd-panel-title[b-fm7byoc9lg] {
    font-size: var(--pd-t-base);
    font-weight: 700;
    color: var(--pd-text);
    margin: 0;
    line-height: 1.2;
}

.pd-panel-subtitle[b-fm7byoc9lg] {
    font-size: var(--pd-t-xs);
    color: var(--pd-text-muted);
    margin: 2px 0 0;
}

.pd-panel-body[b-fm7byoc9lg] {
    padding: 0;
}

.pd-panel-list[b-fm7byoc9lg] {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ══════════════════════════════════════════════════════════════
   FOCUS STYLES (global, accessible)
   ══════════════════════════════════════════════════════════════ */
.pd-shell button:focus-visible[b-fm7byoc9lg],
.pd-shell a:focus-visible[b-fm7byoc9lg],
.pd-shell input:focus-visible[b-fm7byoc9lg],
.pd-shell [role="button"]:focus-visible[b-fm7byoc9lg] {
    outline: none;
    box-shadow: var(--pd-focus);
    border-radius: var(--pd-r-sm);
}

/* ══════════════════════════════════════════════════════════════
   REDUCED MOTION
   ══════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    .pd-shell *[b-fm7byoc9lg],
    .pd-shell *[b-fm7byoc9lg]::before,
    .pd-shell *[b-fm7byoc9lg]::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ══════════════════════════════════════════════════════════════
   HIGH CONTRAST
   ══════════════════════════════════════════════════════════════ */
@media (prefers-contrast: more) {
    .pd-shell[b-fm7byoc9lg] {
        --pd-border: #000000;
        --pd-border-strong: #000000;
        --pd-text-muted: #374151;
    }
    .pd-hold[b-fm7byoc9lg],
    .pd-panel[b-fm7byoc9lg] {
        border-width: 2px;
    }
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */

/* ── Below 1024px: sidebar becomes slide-in drawer ───────── */
@media (max-width: 1024px) {
    .pd-layout[b-fm7byoc9lg] {
        grid-template-columns: minmax(0, 1fr);
    }

    .pd-sidebar-toggle[b-fm7byoc9lg] {
        display: inline-flex;
    }

    .pd-sidebar[b-fm7byoc9lg] {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(340px, 90vw);
        max-height: 100vh;
        max-height: calc(var(--vh, 1vh) * 100);
        background-color: var(--pd-bg);
        border-left: 1px solid var(--pd-border);
        padding: var(--pd-s4);
        gap: var(--pd-s3);
        transform: translateX(100%);
        transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 50;
        box-shadow: -8px 0 24px rgba(17, 24, 39, 0.1);
    }

    .pd-sidebar--open[b-fm7byoc9lg] {
        transform: translateX(0);
    }

    .pd-sidebar-header[b-fm7byoc9lg] {
        display: flex;
    }

    .pd-sidebar-backdrop[b-fm7byoc9lg] {
        display: block;
    }
}

@media (max-width: 960px) {
    .pd-stats-grid[b-fm7byoc9lg] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .pd-events-grid[b-fm7byoc9lg] {
        grid-template-columns: 1fr;
    }
    .pd-discover-grid[b-fm7byoc9lg] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .pd-shell[b-fm7byoc9lg] {
        padding: var(--pd-s4) var(--pd-s3);
    }

    .pd-hero[b-fm7byoc9lg] {
        flex-direction: column;
        align-items: flex-start;
    }

    .pd-hero-title[b-fm7byoc9lg] {
        font-size: var(--pd-t-xl);
    }

    .pd-hero-date[b-fm7byoc9lg] {
        font-size: 0.7rem;
    }

    .pd-section-head[b-fm7byoc9lg] {
        flex-direction: column;
        align-items: flex-start;
    }

    .pd-hold-main[b-fm7byoc9lg] {
        grid-template-columns: 52px 1fr;
        gap: var(--pd-s3);
        padding: var(--pd-s3);
    }

    .pd-hold-cover[b-fm7byoc9lg] {
        width: 52px;
        height: 72px;
    }

    .pd-hold-eta[b-fm7byoc9lg] {
        margin-left: 0;
        flex-basis: 100%;
    }

    .pd-hold-actions[b-fm7byoc9lg] {
        flex-direction: column;
        padding: var(--pd-s3);
    }

    .pd-btn[b-fm7byoc9lg] {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .pd-stats-grid[b-fm7byoc9lg] {
        grid-template-columns: 1fr;
    }
}

/* ══════════════════════════════════════════════════════════════
   ASK INSIGNIA (AI) VIEW — matches dashboard tokens
   ══════════════════════════════════════════════════════════════ */
.pd-askai-wrap[b-fm7byoc9lg] {
    display: flex;
    flex-direction: column;
    gap: var(--pd-s4);
}

    /* Title line — same weight/size as other section titles, with a subtle primary-tinted icon chip */
    .pd-askai-wrap .pd-askai-title[b-fm7byoc9lg] {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
    }

.pd-askai-icon[b-fm7byoc9lg] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: var(--pd-r-sm);
    background-color: var(--pd-primary-soft);
    color: var(--pd-primary);
    line-height: 1;
}

    .pd-askai-icon .rzi[b-fm7byoc9lg],
    .pd-askai-icon .rz-icon[b-fm7byoc9lg] {
        font-size: 1.1rem;
        color: inherit;
    }

.pd-askai-body[b-fm7byoc9lg] {
    /* AskAI paints its own chrome — this wrapper is just a sizing container
       so the component inherits the dashboard's typography/spacing.
       It fills the height handed down by the fill-mode chain (see
       .pd-shell--fill below) so the AskAI component can flex internally:
       the chat/results body grows and the query input dock pins to the
       bottom of the visible area, just above the layout footer. */
    background-color: transparent;
    border: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 420px;
}

/* Stretch the embedded AskAI component to fill the sizing container above. */
.pd-askai-body[b-fm7byoc9lg]  .askai-page {
    flex: 1;
    min-height: 0;
}

/* Lift the standalone-page height caps so the chat / history panels grow to
   fill the available height instead of stopping at ~520px. */
.pd-askai-body[b-fm7byoc9lg]  .chat,
.pd-askai-body[b-fm7byoc9lg]  .historyPanel {
    max-height: none;
}

/* ── Fill mode ──────────────────────────────────────────────────
   The AskAI view is the only section on the page while it is active, so
   stretch the whole content chain to fill the visible body region — the
   layout's 1fr row, between the header and footer — instead of letting the
   panel collapse to its content height. This pins the input dock to the
   bottom of the visible area (just above the footer, not behind it) and
   removes the empty space that appeared below the panel.

   The chain resolves against .body-overflow, the scroll column that already
   has a definite height: 100% of that row. Everything below stays relative
   (height: 100% / flex) so it never runs past the footer the way a viewport
   (100vh) height would. */
.pd-shell.pd-shell--fill[b-fm7byoc9lg] {
    min-height: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pd-shell--fill .pd-layout[b-fm7byoc9lg] {
    flex: 1;
    min-height: 0;
    grid-template-rows: minmax(0, 1fr);
    /* As a flex item, .pd-layout's `margin: 0 auto` sits on the cross axis and
       would suppress the default stretch, collapsing it to content width (which
       differs between chat and history modes). Pin an explicit width so it fills
       the column consistently; max-width + auto margins still centre it. */
    width: 100%;
}

.pd-shell--fill .pd-content[b-fm7byoc9lg] {
    align-self: stretch;
    min-height: 0;
}

.pd-shell--fill .pd-askai-wrap[b-fm7byoc9lg] {
    flex: 1;
    min-height: 0;
}

/* Active state for Quick-Action toggle buttons — white label needs the deeper
   primary step; #37A0D2 only reaches 2.95:1 under it. */
.pd-qa-btn--active[b-fm7byoc9lg] {
    background-color: var(--rz-primary-dark);
    border-color: var(--rz-primary-dark);
    color: var(--pd-on-fill);
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}

    .pd-qa-btn--active:hover[b-fm7byoc9lg] {
        background-color: var(--pd-primary-strong);
        border-color: var(--pd-primary-strong);
        color: var(--pd-on-fill);
        transform: translateY(-1px);
    }

    .pd-qa-btn--active .pd-qa-icon[b-fm7byoc9lg],
    .pd-qa-btn--active .pd-qa-label[b-fm7byoc9lg] {
        color: var(--pd-on-fill);
    }

/* ══════════════════════════════════════════════════════════════
   SKELETON LOADING STATES
   Shimmer placeholders shown while each section's data is
   loading.  Each section flips its _loading* flag to false
   once data arrives, swapping the skeleton for real content.
   ══════════════════════════════════════════════════════════════ */

@keyframes pd-shimmer-b-fm7byoc9lg {
    0%   { background-position: -600px 0; }
    100% { background-position:  600px 0; }
}

.pd-skeleton[b-fm7byoc9lg] {
    border-radius: var(--pd-r-md);
    background: linear-gradient(
        90deg,
        var(--pd-skeleton) 25%,
        var(--pd-skeleton-shine) 50%,
        var(--pd-skeleton) 75%
    );
    background-size: 600px 100%;
    animation: pd-shimmer-b-fm7byoc9lg 1.4s ease-in-out infinite;
}

/* ── Stat card placeholder ───────────────────────────────── */
.pd-skeleton--stat[b-fm7byoc9lg] {
    height: 82px;
    border-radius: var(--pd-r-lg);
}

/* ── Short subtitle line ─────────────────────────────────── */
.pd-skeleton--subtitle[b-fm7byoc9lg] {
    height: 14px;
    width: 180px;
    margin-top: 4px;
    border-radius: 4px;
}

/* ── Tab bar placeholder ─────────────────────────────────── */
.pd-skeleton--tabs[b-fm7byoc9lg] {
    height: 38px;
    width: 280px;
    margin-bottom: var(--pd-s4);
    border-radius: var(--pd-r-sm);
}

/* ── Event card placeholder ──────────────────────────────── */
.pd-skeleton--event-card[b-fm7byoc9lg] {
    height: 220px;
    border-radius: var(--pd-r-lg);
}

/* ── Hold card placeholder ───────────────────────────────── */
.pd-skeleton--hold-card[b-fm7byoc9lg] {
    height: 160px;
    border-radius: var(--pd-r-lg);
}

/* ── Borrowed book row placeholder ───────────────────────── */
.pd-skeleton--book-row[b-fm7byoc9lg] {
    height: 72px;
    border-radius: var(--pd-r-md);
}

/* ── Favorites carousel placeholder ─────────────────────── */
.pd-skeleton--carousel[b-fm7byoc9lg] {
    height: 160px;
    border-radius: var(--pd-r-lg);
}

/* ── Library hours sidebar placeholder ───────────────────── */
.pd-skeleton--hours[b-fm7byoc9lg] {
    height: 80px;
    border-radius: var(--pd-r-md);
}

/* Skeleton grid: reuse existing grid class but override child gap */
.pd-skeleton-grid[b-fm7byoc9lg] {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--pd-s3);
}

/* Keep stat skeletons in the same 4-col grid as real stat cards */
.pd-stats-grid.pd-skeleton-grid[b-fm7byoc9lg] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    flex-direction: unset;
}

/* Keep event skeletons in the 3-col events grid */
.pd-events-grid.pd-skeleton-grid[b-fm7byoc9lg] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    flex-direction: unset;
}

/* Keep hold skeletons in the 2-col holds grid */
.pd-holds-grid.pd-skeleton-grid[b-fm7byoc9lg] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    flex-direction: unset;
}

@media (prefers-reduced-motion: reduce) {
    .pd-skeleton[b-fm7byoc9lg] {
        animation: none;
        background: var(--pd-skeleton-flat);
    }
}

@media (max-width: 900px) {
    .pd-stats-grid.pd-skeleton-grid[b-fm7byoc9lg] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .pd-stats-grid.pd-skeleton-grid[b-fm7byoc9lg] {
        grid-template-columns: 1fr;
    }
    .pd-holds-grid.pd-skeleton-grid[b-fm7byoc9lg] {
        grid-template-columns: 1fr;
    }
}


/* ── Sidebar sign-out link ─────────────────────────────────── */
.pd-sidebar-signout[b-fm7byoc9lg] {
    padding: 0.4rem 0.75rem 1rem;
    text-align: center;
}

.pd-signout-btn[b-fm7byoc9lg] {
    background: none;
    border: none;
    /* #9ca3af is only the dark-mode value of this token; on the light panel it
       sits at 2.5:1, so go through the token instead of the literal. */
    color: var(--pd-text-muted);
    font-size: var(--pd-t-xs);
    font-family: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.5rem;
    border-radius: 6px;
    transition: color 0.15s;
}

.pd-signout-btn:hover[b-fm7byoc9lg] { color: var(--pd-danger); }

/* ══════════════════════════════════════════════════════════════
   DARK MODE
   Applied via .pd-dark on the .pd-shell wrapper.
   The cascading parameter IsDarkMode (from MainLayout) flips
   this class — identical pattern to Setting.razor, AskAI.razor, etc.

   Strategy: override every CSS custom property declared on
   .pd-shell so that all child rules that reference those tokens
   adapt automatically.  Only a handful of elements with
   hard-coded colour literals need individual selectors.
   ══════════════════════════════════════════════════════════════ */

/* ── Design-token overrides ───────────────────────────────── */
.pd-shell.pd-dark[b-fm7byoc9lg] {
    --pd-bg:            #111214;
    --pd-surface:       #1b1d20;
    --pd-surface-2:     #25262b;
    --pd-border:        rgba(255, 255, 255, .08);
    --pd-border-strong: rgba(255, 255, 255, .14);

    --pd-text:           #f3f4f6;
    --pd-text-secondary: #d1d5db;
    --pd-text-muted:     #9ca3af;

    /* --pd-primary is AA only on white, so it needs its own light step here;
       it is used as text/glyph colour only, never as a fill. */
    --pd-primary:       #7fcdf0;
    /* Same reason for the semantic trio: #15803d/#b45309/#b91c1c are AA on white
       but only 2.3-2.7:1 on the dark surface and on their own -soft chips. */
    --pd-success:       #4ade80;
    --pd-warning:       #fbbf24;
    --pd-danger:        #f87171;
    /* #4f46e5 is 6.3:1 on the white card but only 2.7:1 on the dark surface, so the
       accent used as TEXT lightens here while --pd-accent (fills) stays put. */
    --pd-accent-ink:    #a5b4fc;
    --pd-primary-soft:  rgba(37, 99, 235, .18);
    --pd-success-soft:  rgba(21, 128, 61,  .22);
    --pd-warning-soft:  rgba(180, 83, 9,   .22);
    --pd-danger-soft:   rgba(185, 28, 28,  .22);

    --pd-shadow-sm: 0 1px  2px rgba(0, 0, 0, .45);
    --pd-shadow-md: 0 4px 12px rgba(0, 0, 0, .55);
    --pd-shadow-lg: 0 12px 28px rgba(0, 0, 0, .65);
}

/* ── Skeleton shimmer — dark palette ─────────────────────── */
.pd-shell.pd-dark .pd-skeleton[b-fm7byoc9lg] {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, .07) 25%,
        rgba(255, 255, 255, .03) 50%,
        rgba(255, 255, 255, .07) 75%
    );
    background-size: 600px 100%;
}

/* ── Sidebar toggle button (mobile) ──────────────────────── */
.pd-shell.pd-dark .pd-sidebar-toggle[b-fm7byoc9lg] {
    background-color: var(--pd-surface);
    border-color: var(--pd-border-strong);
    color: var(--pd-text-secondary);
}

/* ── Hold card — ready-for-pickup accent ─────────────────── */
.pd-shell.pd-dark .pd-hold--ready[b-fm7byoc9lg] {
    border-color: rgba(134, 239, 172, .25);
    background: linear-gradient(135deg, rgba(21, 128, 61, .15) 0%, var(--pd-surface) 55%);
}

/* ── Queue hold — progress bar marker (uses surface token) ── */
.pd-shell.pd-dark .pd-hold-marker[b-fm7byoc9lg] {
    background: var(--pd-surface);
}

/* ── Tip card ─────────────────────────────────────────────── */
.pd-shell.pd-dark .pd-side-card--tip[b-fm7byoc9lg] {
    background: linear-gradient(135deg, rgba(180, 83, 9, .15) 0%, var(--pd-surface) 70%);
    border-color: rgba(252, 211, 77, .14);
}

/* ── Status dot — open (green pulse already uses rgba) ────── */
.pd-shell.pd-dark .pd-status--open[b-fm7byoc9lg] {
    background-color: rgba(21, 128, 61, .25);
}

/* ── Mobile sidebar drawer ────────────────────────────────── */
@media (max-width: 1024px) {
    .pd-shell.pd-dark .pd-sidebar[b-fm7byoc9lg] {
        background-color: var(--pd-bg);
        border-left-color: var(--pd-border);
        box-shadow: -8px 0 24px rgba(0, 0, 0, .55);
    }
}

/* ── "View all" / link buttons — Radzen Variant.Text override ── */
.pd-shell.pd-dark .pd-link-btn :deep(.rz-button)[b-fm7byoc9lg],
.pd-shell.pd-dark .pd-link-btn :deep(.rz-button.rz-variant-text)[b-fm7byoc9lg] {
    background-color: transparent !important;
    color: var(--rz-primary) !important;
}

.pd-shell.pd-dark .pd-link-btn :deep(.rz-button:hover)[b-fm7byoc9lg],
.pd-shell.pd-dark .pd-link-btn :deep(.rz-button.rz-variant-text:hover)[b-fm7byoc9lg] {
    background-color: rgba(37, 99, 235, .12) !important;
    color: var(--rz-primary) !important;
}

.pd-shell.pd-dark .pd-inline-link[b-fm7byoc9lg],
.pd-shell.pd-dark .pd-events-browse-link[b-fm7byoc9lg] {
    color: var(--rz-primary);
}

/* ── Reduced-motion: static dark skeleton ────────────────── */
@media (prefers-reduced-motion: reduce) {
    .pd-shell.pd-dark .pd-skeleton[b-fm7byoc9lg] {
        animation: none;
        background: rgba(255, 255, 255, .06);
    }
}
/* /Components/Pages/SearchResultFrbr.razor.rz.scp.css */

/* /Components/SubComponents/Borrow/LoanComponents/LoanHistory.razor.rz.scp.css */
.loaderpanel[b-gj3mr4qmor] {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.5);
    filter: blur(5px);
    z-index: 1;
}

.blurPanel[b-gj3mr4qmor] {
    filter: blur(5px);
}

.loader[b-gj3mr4qmor] {
    overflow: visible;
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin-top: auto;
    margin-bottom: auto;
    z-index: 2;
}

.pointer-cursor[b-gj3mr4qmor] {
    cursor: pointer;
}

.fine-item-thumbnail[b-gj3mr4qmor] {
    width: 100%;
    height: 250px;
    max-width: 180px;
    /* max-height: 100%; */
    /* min-height: 180px; */
}

.rounded-button[b-gj3mr4qmor] {
    border-radius: 50%;
    position: absolute;
    top: -14px;
    right: -10px;
}

.cardcontainer[b-gj3mr4qmor] {
    position: relative;
}

.loadinglabel[b-gj3mr4qmor] {
    margin-top: 86px;
    position: absolute;
    min-width: 150px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.align-vertical-right[b-gj3mr4qmor] {
    display: flex;
    align-items: center; /* Vertical center */
    height: 100px;
}

/* /Components/SubComponents/Dialogs/AvailabilityForSearch.razor.rz.scp.css */
/* Copies of one format, one dense row per copy. The library column spans its copies' rows,
   so a library with one copy takes one row. Narrow panels switch to a stacked layout. */

.copies[b-4coqbh8vnv] {
    container: copies / inline-size;
    position: relative;
    border: 1px solid var(--rz-base-300);
    border-radius: 6px;
    overflow: hidden;
    font-size: 0.8125rem;
    line-height: 1.35;
}

.copies-scroll[b-4coqbh8vnv] {
    max-height: 24rem;
    overflow: auto;
    overscroll-behavior: contain;
}

.copies-table[b-4coqbh8vnv] {
    width: 100%;
    /* separate, not collapse, so the sticky header keeps its bottom border while scrolling. */
    border-collapse: separate;
    border-spacing: 0;
}

    .copies-table th[b-4coqbh8vnv],
    .copies-table td[b-4coqbh8vnv] {
        padding: 0.3125rem 0.625rem;
        text-align: left;
        vertical-align: middle;
    }

    .copies-table thead th[b-4coqbh8vnv] {
        position: sticky;
        top: 0;
        z-index: 1;
        padding-block: 0.375rem;
        background: var(--rz-base-100);
        border-bottom: 1px solid var(--rz-base-300);
        color: var(--rz-text-secondary-color);
        font-size: 0.75rem;
        font-weight: 600;
        white-space: nowrap;
    }

    /* A full-width line between libraries, a lighter one between copies of the same library. */
    .copies-table tbody + tbody > tr:first-child > *[b-4coqbh8vnv] {
        border-top: 1px solid var(--rz-base-300);
    }

    .copies-table tbody > tr + tr > td[b-4coqbh8vnv] {
        border-top: 1px solid var(--rz-base-200);
    }

    .copies-table tbody > tr:hover > td[b-4coqbh8vnv] {
        background: var(--rz-base-50);
    }

.copies-table tbody .copies-library[b-4coqbh8vnv] {
    width: 24%;
    min-width: 9rem;
    vertical-align: top;
    border-right: 1px solid var(--rz-base-200);
    font-weight: 600;
}

.copies-library-name[b-4coqbh8vnv] {
    margin-right: 0.375rem;
}

.copies-count[b-4coqbh8vnv] {
    display: inline-block;
    padding: 0 0.375rem;
    border-radius: 999px;
    background: var(--rz-base-200);
    color: var(--rz-text-secondary-color);
    font-size: 0.75rem;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

    .copies-count.is-available[b-4coqbh8vnv] {
        background: var(--rz-success-lighter);
        color: var(--rz-success);
    }

.copies-status-cell[b-4coqbh8vnv],
.copies-barcode[b-4coqbh8vnv] {
    white-space: nowrap;
}

.copies-barcode[b-4coqbh8vnv] {
    font-variant-numeric: tabular-nums;
}

.copies-status[b-4coqbh8vnv] {
    font-weight: 600;
}

    /* inline-block rather than a flex item, so the label keeps the row's text baseline. */
    .copies-status[b-4coqbh8vnv]::before {
        content: "";
        display: inline-block;
        width: 0.4375rem;
        height: 0.4375rem;
        margin-right: 0.375rem;
        border-radius: 50%;
        background: currentColor;
        vertical-align: 0.0625rem;
    }

    .copies-status.is-in[b-4coqbh8vnv] {
        color: var(--rz-success);
    }

    .copies-status.is-out[b-4coqbh8vnv] {
        color: var(--rz-danger);
    }

.copies-none[b-4coqbh8vnv] {
    color: var(--rz-text-secondary-color);
}

.copies-table .copies-actions[b-4coqbh8vnv] {
    width: 1%;
    padding-block: 0.125rem;
    text-align: right;
    white-space: nowrap;
}

    /* Book and Reserve Copy are text buttons; trim Radzen's button box so they fit the row height. */
    .copies-actions[b-4coqbh8vnv]  .rz-button {
        min-height: 0;
        height: auto;
        padding: 0.125rem 0.375rem;
        line-height: 1.25rem;
    }

.copies-empty[b-4coqbh8vnv] {
    margin: 0;
    padding: 0.5rem 0.75rem;
    color: var(--rz-text-secondary-color);
    font-style: italic;
}

/* Shown over the table while a copy is being reserved. */
.copies-busy[b-4coqbh8vnv] {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    color: var(--rz-text-color);
    font-weight: 600;
    text-align: center;
}

    .copies-busy[b-4coqbh8vnv]::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        background: var(--rz-card-background-color, var(--rz-base-background-color));
        opacity: 0.85;
    }

.copies-spinner[b-4coqbh8vnv] {
    flex: none;
    width: 1rem;
    height: 1rem;
    border: 2px solid var(--rz-base-300);
    border-top-color: var(--rz-primary);
    border-radius: 50%;
    animation: copies-spin-b-4coqbh8vnv 0.8s linear infinite;
}

@keyframes copies-spin-b-4coqbh8vnv {
    to {
        transform: rotate(360deg);
    }
}

.copies-sr-only[b-4coqbh8vnv] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Narrow panel (phones, or the facet panel open on a tablet): each library becomes a heading
   and each copy a wrapped line, instead of a table that would scroll sideways. */
@container copies (max-width: 36rem) {
    .copies-table[b-4coqbh8vnv],
    .copies-table tbody[b-4coqbh8vnv],
    .copies-table tr[b-4coqbh8vnv],
    .copies-table th[b-4coqbh8vnv],
    .copies-table td[b-4coqbh8vnv] {
        display: block;
    }

    .copies-table thead[b-4coqbh8vnv] {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

    .copies-table tbody > tr[b-4coqbh8vnv] {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.125rem 0.75rem;
        padding: 0.375rem 0.625rem;
    }

        .copies-table tbody > tr > td[b-4coqbh8vnv] {
            padding: 0;
        }

        /* Same selectors as the wide layout's cell borders; the rows and groups draw their own lines below. */
        .copies-table tbody + tbody > tr:first-child > *[b-4coqbh8vnv],
        .copies-table tbody > tr + tr > td[b-4coqbh8vnv] {
            border: 0;
        }

    .copies-table tbody + tbody[b-4coqbh8vnv] {
        border-top: 1px solid var(--rz-base-300);
    }

    .copies-table tbody > tr + tr[b-4coqbh8vnv] {
        border-top: 1px solid var(--rz-base-200);
    }

    .copies-table tbody .copies-library[b-4coqbh8vnv] {
        display: flex;
        flex: 1 0 100%;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
        width: auto;
        min-width: 0;
        margin: -0.375rem -0.625rem 0.25rem;
        padding: 0.3125rem 0.625rem;
        border: 0;
        background: var(--rz-base-100);
    }

    .copies-callno[b-4coqbh8vnv] {
        font-weight: 600;
    }

    .copies-barcode[b-4coqbh8vnv],
    .copies-location[b-4coqbh8vnv] {
        color: var(--rz-text-secondary-color);
    }

    .copies-table .copies-actions[b-4coqbh8vnv] {
        width: auto;
        /* The negative block margin keeps a row with a button as short as one without. */
        margin: -0.1875rem 0 -0.1875rem auto;
        padding: 0;
    }

    .copies-table tbody > tr:hover > td[b-4coqbh8vnv] {
        background: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .copies-spinner[b-4coqbh8vnv] {
        animation-duration: 1.6s;
    }
}
/* /Components/SubComponents/LibraryDirectionsDialog.razor.rz.scp.css */
/* ════════════════════════════════════════════════════════════════
   Library Directions Dialog — scoped styles
   ════════════════════════════════════════════════════════════════ */

/* ── CSS custom properties (light mode defaults) ─────────────── */
.lda[b-dxyn3l2uxg] {
    --lda-text:          #111827;
    --lda-text-muted:    #6b7280;
    --lda-text-link:     #2563eb;
    --lda-text-link-h:   #1d4ed8;
    --lda-border:        #e5e7eb;
    --lda-surface:       #f9fafb;
    --lda-name-color:    #111827;
    --lda-maps-bg:       #2563eb;
    --lda-maps-bg-h:     #1d4ed8;
    --lda-maps-fg:       #ffffff;
    --lda-radius:        8px;
    --lda-radius-btn:    10px;

    padding:     0;
    font-family: inherit;
    min-width:   280px;
}

/* ── Dark mode overrides ─────────────────────────────────────── */
.lda--dark[b-dxyn3l2uxg] {
    --lda-text:          #f9fafb;
    --lda-text-muted:    #9ca3af;
    --lda-text-link:     #93c5fd;
    --lda-text-link-h:   #bfdbfe;
    --lda-border:        #374151;
    --lda-surface:       #1f2937;
    --lda-name-color:    #f9fafb;
    --lda-maps-bg:       #1d4ed8;
    --lda-maps-bg-h:     #1e40af;
    --lda-maps-fg:       #ffffff;
}

/* ── Library name ────────────────────────────────────────────── */
.lda-name[b-dxyn3l2uxg] {
    font-size:    1rem;
    font-weight:  700;
    color:        var(--lda-name-color);
    margin:       0 0 0.75rem;
    line-height:  1.3;
}

/* ── Address block ───────────────────────────────────────────── */
.lda-address[b-dxyn3l2uxg] {
    display:        flex;
    flex-direction: column;
    gap:            0.2rem;
    font-style:     normal;
    padding:        0.875rem 1rem;
    background:     var(--lda-surface);
    border:         1px solid var(--lda-border);
    border-radius:  var(--lda-radius);
    margin-bottom:  1rem;
}

.lda-address-line[b-dxyn3l2uxg] {
    font-size:   0.9rem;
    color:       var(--lda-text);
    line-height: 1.5;
}

/* ── Contact list ────────────────────────────────────────────── */
.lda-contacts[b-dxyn3l2uxg] {
    list-style:     none;
    margin:         0 0 1.25rem;
    padding:        0;
    display:        flex;
    flex-direction: column;
    gap:            0.55rem;
}

.lda-contact-row[b-dxyn3l2uxg] {
    display:     flex;
    align-items: center;
    gap:         0.55rem;
}

.lda-contact-icon[b-dxyn3l2uxg] {
    display:     flex;
    align-items: center;
    color:       var(--lda-text-muted);
    font-size:   1rem;
    flex-shrink: 0;
    width:       20px;
}

.lda-contact-link[b-dxyn3l2uxg] {
    font-size:       0.875rem;
    color:           var(--lda-text-link);
    text-decoration: none;
    word-break:      break-all;
}

.lda-contact-link:hover[b-dxyn3l2uxg] {
    color:           var(--lda-text-link-h);
    text-decoration: underline;
}

.lda-contact-link:focus-visible[b-dxyn3l2uxg] {
    outline:    2px solid var(--lda-text-link);
    outline-offset: 2px;
    border-radius: 3px;
}

/* ── Google Maps button ──────────────────────────────────────── */
.lda-maps-btn[b-dxyn3l2uxg] {
    display:         flex;
    align-items:     center;
    justify-content: center;
    gap:             0.45rem;
    width:           100%;
    padding:         0.7rem 1rem;
    background:      var(--lda-maps-bg);
    color:           var(--lda-maps-fg);
    font-size:       0.9rem;
    font-weight:     600;
    border-radius:   var(--lda-radius-btn);
    text-decoration: none;
    transition:      background-color 0.15s ease, transform 0.12s ease;
}

.lda-maps-btn:hover[b-dxyn3l2uxg] {
    background: var(--lda-maps-bg-h);
    transform:  translateY(-1px);
}

.lda-maps-btn:focus-visible[b-dxyn3l2uxg] {
    outline:        2px solid var(--lda-maps-bg);
    outline-offset: 3px;
    border-radius:  var(--lda-radius-btn);
}

.lda-maps-icon[b-dxyn3l2uxg] {
    font-size: 1.05rem !important;
}

.lda-maps-arrow[b-dxyn3l2uxg] {
    font-size:   0.8rem;
    margin-left: auto;
    opacity:     0.8;
}

/* ── Empty state ─────────────────────────────────────────────── */
.lda-empty[b-dxyn3l2uxg] {
    font-size:  0.875rem;
    color:      var(--lda-text-muted);
    text-align: center;
    padding:    1.5rem 0;
    margin:     0;
}

/* ── Reduced motion ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .lda-maps-btn[b-dxyn3l2uxg] {
        transition: none;
    }
}
/* /Components/SubComponents/LibraryHoursScheduleDialog.razor.rz.scp.css */
/* ════════════════════════════════════════════════════════════════
   Library Hours Schedule Dialog — scoped styles
   ════════════════════════════════════════════════════════════════ */

/* ── CSS custom properties (light mode defaults) ─────────────── */
.lhd[b-knzdosipur] {
    --lhd-text:          #111827;
    --lhd-text-secondary:#374151;
    --lhd-muted:         #9ca3af;
    --lhd-border:        #e5e7eb;
    --lhd-row-hover:     #f9fafb;
    --lhd-today-bg:      #eff6ff;
    --lhd-today-text:    #1d4ed8;
    --lhd-today-badge-bg:#dbeafe;
    --lhd-open-banner-bg:#ecfdf5;
    --lhd-open-banner-fg:#065f46;
    --lhd-open-dot:      #10b981;
    --lhd-closed-banner-bg:#fef2f2;
    --lhd-closed-banner-fg:#991b1b;
    --lhd-closed-dot:    #ef4444;
    --lhd-closed-row-text:#9ca3af;
    --lhd-radius:        8px;
    --lhd-radius-sm:     6px;
    --lhd-font:          inherit;
    padding: 0;
    font-family: var(--lhd-font);
    min-width: 300px;
}

/* ── Dark mode overrides ─────────────────────────────────────── */
.lhd--dark[b-knzdosipur] {
    --lhd-text:          #f9fafb;
    --lhd-text-secondary:#d1d5db;
    --lhd-muted:         #6b7280;
    --lhd-border:        #374151;
    --lhd-row-hover:     #1f2937;
    --lhd-today-bg:      #1e3a5f;
    --lhd-today-text:    #93c5fd;
    --lhd-today-badge-bg:#1e40af;
    --lhd-open-banner-bg:#064e3b;
    --lhd-open-banner-fg:#6ee7b7;
    --lhd-open-dot:      #34d399;
    --lhd-closed-banner-bg:#450a0a;
    --lhd-closed-banner-fg:#fca5a5;
    --lhd-closed-dot:    #f87171;
    --lhd-closed-row-text:#6b7280;
}

/* ── Status banner ───────────────────────────────────────────── */
.lhd-banner[b-knzdosipur] {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.7rem 1rem;
    border-radius: var(--lhd-radius);
    margin-bottom: 1.125rem;
    font-size: 0.9rem;
}

.lhd-banner--open[b-knzdosipur] {
    background-color: var(--lhd-open-banner-bg);
    color:            var(--lhd-open-banner-fg);
}

.lhd-banner--closed[b-knzdosipur] {
    background-color: var(--lhd-closed-banner-bg);
    color:            var(--lhd-closed-banner-fg);
}

.lhd-banner-dot[b-knzdosipur] {
    width:            9px;
    height:           9px;
    border-radius:    50%;
    flex-shrink:      0;
}

.lhd-banner--open  .lhd-banner-dot[b-knzdosipur] { background-color: var(--lhd-open-dot); }
.lhd-banner--closed .lhd-banner-dot[b-knzdosipur] { background-color: var(--lhd-closed-dot); }

.lhd-banner-label[b-knzdosipur] {
    font-weight: 600;
}

.lhd-banner-note[b-knzdosipur] {
    opacity: 0.85;
    font-size: 0.85rem;
}

/* ── Schedule list ────────────────────────────────────────────── */
.lhd-list[b-knzdosipur] {
    list-style: none;
    margin:     0;
    padding:    0;
    border:     1px solid var(--lhd-border);
    border-radius: var(--lhd-radius);
    overflow:   hidden;
}

.lhd-row[b-knzdosipur] {
    display:         flex;
    align-items:     center;
    justify-content: space-between;
    padding:         0.65rem 1rem;
    border-bottom:   1px solid var(--lhd-border);
    transition:      background-color 0.12s ease;
    gap:             1rem;
}

.lhd-row:last-child[b-knzdosipur] {
    border-bottom: none;
}

.lhd-row:hover:not(.lhd-row--today)[b-knzdosipur] {
    background-color: var(--lhd-row-hover);
}

/* Today row ──────── */
.lhd-row--today[b-knzdosipur] {
    background-color: var(--lhd-today-bg);
}

/* Closed row ──────── */
.lhd-row--closed .lhd-row-day[b-knzdosipur],
.lhd-row--closed .lhd-row-hours[b-knzdosipur] {
    color: var(--lhd-closed-row-text);
}

/* ── Day name cell ───────────────────────────────────────────── */
.lhd-row-day[b-knzdosipur] {
    display:     flex;
    align-items: center;
    gap:         0.45rem;
    font-size:   0.9rem;
    font-weight: 500;
    color:       var(--lhd-text);
    min-width:   115px;
}

.lhd-row--today .lhd-row-day[b-knzdosipur] {
    color:       var(--lhd-today-text);
    font-weight: 700;
}

.lhd-today-badge[b-knzdosipur] {
    font-size:       0.68rem;
    font-weight:     700;
    text-transform:  uppercase;
    letter-spacing:  0.06em;
    color:           var(--lhd-today-text);
    background-color:var(--lhd-today-badge-bg);
    padding:         1px 7px;
    border-radius:   99px;
    line-height:     1.6;
}

/* ── Hours cell ─────────────────────────────────────────────── */
.lhd-row-hours[b-knzdosipur] {
    display:     flex;
    align-items: center;
    gap:         0.3rem;
    font-size:   0.875rem;
    color:       var(--lhd-text-secondary);
    text-align:  right;
}

.lhd-open-dot[b-knzdosipur] {
    width:            6px;
    height:           6px;
    border-radius:    50%;
    background-color: var(--lhd-open-dot);
    flex-shrink:      0;
}

.lhd-dash[b-knzdosipur] {
    color:   var(--lhd-muted);
    padding: 0 1px;
}

.lhd-closed-label[b-knzdosipur] {
    font-style: italic;
    color:      var(--lhd-muted);
}

/* ── Empty state ────────────────────────────────────────────── */
.lhd-empty[b-knzdosipur] {
    display:         flex;
    flex-direction:  column;
    align-items:     center;
    justify-content: center;
    gap:             0.5rem;
    padding:         2rem 1rem;
    color:           var(--lhd-muted);
    font-size:       0.9rem;
    text-align:      center;
}

/* ── Timezone footnote ──────────────────────────────────────── */
.lhd-tz-note[b-knzdosipur] {
    display:     flex;
    align-items: center;
    justify-content: center;
    gap:         0.3rem;
    margin-top:  0.875rem;
    font-size:   0.775rem;
    color:       var(--lhd-muted);
    text-align:  center;
}

.lhd-tz-icon[b-knzdosipur] {
    font-size:       0.875rem !important;
    vertical-align:  middle;
}
/* /Components/SubComponents/ReadingInsightsCard.razor.rz.scp.css */
/* ══════════════════════════════════════════════════════════════
   READING INSIGHTS CARD — design tokens
   Light values live on .ric; .ric--dark (added by the component when the
   cascading IsDarkMode is true) re-declares only what must invert.
   ══════════════════════════════════════════════════════════════ */

.ric[b-cc66gr9pb1] {
    --ric-bg:             #ffffff;
    --ric-border:         #e5e7eb;
    --ric-divider:        #f3f4f6;
    --ric-surface-2:      #f9fafb;
    --ric-text:           #111827;
    --ric-text-2:         #374151;
    --ric-text-muted:     #6b7280;
    --ric-track-bg:       #f3f4f6;
    --ric-icon-goal-bg:   #eff6ff;
    --ric-icon-streak-bg: #fff1e6;
    --ric-icon-month-bg:  #ecfdf5;
    --ric-icon-dna-bg:    #f5f3ff;
    --ric-icon-money-bg:  #ecfdf5;

    /* Accent hues survive; only the lightness step changes per theme, because the
       same hue that is AA on a light chip (e.g. #ea580c) is 3.8:1 on a dark one. */
    --ric-streak-fg:      #c2410c;
    --ric-month-fg:       #047857;
    --ric-dna-fg:         #7c3aed;
    --ric-money-fg:       #15803d;

    background-color: var(--ric-bg);
    border: 1px solid var(--ric-border);
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.ric.ric--dark[b-cc66gr9pb1] {
    --ric-bg:             #1b1d20;
    --ric-border:         rgba(255, 255, 255, .08);
    --ric-divider:        rgba(255, 255, 255, .07);
    --ric-surface-2:      #25262b;
    --ric-text:           #f3f4f6;
    --ric-text-2:         #d1d5db;
    --ric-text-muted:     #9ca3af;
    --ric-track-bg:       rgba(255, 255, 255, .10);
    --ric-icon-goal-bg:   rgba(37, 99, 235, .18);
    --ric-icon-streak-bg: rgba(234, 88, 12, .18);
    --ric-icon-month-bg:  rgba(5, 150, 105, .18);
    --ric-icon-dna-bg:    rgba(124, 58, 237, .18);
    --ric-icon-money-bg:  rgba(22, 163, 74, .18);
    --ric-streak-fg:      #fb923c;
    --ric-month-fg:       #34d399;
    --ric-dna-fg:         #a78bfa;
    --ric-money-fg:       #4ade80;
}

.ric-head[b-cc66gr9pb1] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--ric-divider);
}

.ric-title[b-cc66gr9pb1] {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--ric-text);
    margin: 0;
    letter-spacing: -0.01em;
}

.ric-year[b-cc66gr9pb1] {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary-ink, var(--rz-primary));
    background-color: var(--ric-icon-goal-bg);
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    letter-spacing: 0.04em;
}

/* Block wrapper */
.ric-block[b-cc66gr9pb1] {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.ric-block-head[b-cc66gr9pb1] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ric-block-icon[b-cc66gr9pb1] {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ric-block-icon--goal[b-cc66gr9pb1]   { background-color: var(--ric-icon-goal-bg);   color: var(--primary-ink, var(--rz-primary)); }
.ric-block-icon--streak[b-cc66gr9pb1] { background-color: var(--ric-icon-streak-bg); color: var(--ric-streak-fg); }
.ric-block-icon--month[b-cc66gr9pb1]  { background-color: var(--ric-icon-month-bg);  color: var(--ric-month-fg); }
.ric-block-icon--dna[b-cc66gr9pb1]    { background-color: var(--ric-icon-dna-bg);    color: var(--ric-dna-fg); }
.ric-block-icon--money[b-cc66gr9pb1]  { background-color: var(--ric-icon-money-bg);  color: var(--ric-money-fg); }

.ric-block-label[b-cc66gr9pb1] {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ric-text-muted);
}

.ric-note[b-cc66gr9pb1],
.ric-empty[b-cc66gr9pb1] {
    margin: 0;
    font-size: 0.72rem;
    color: var(--ric-text-muted);
    line-height: 1.4;
}

.ric-empty[b-cc66gr9pb1] { font-style: italic; }

/* Goal */
.ric-goal-stat[b-cc66gr9pb1] {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    color: var(--ric-text);
}

.ric-goal-current[b-cc66gr9pb1] {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-ink, var(--rz-primary));
    letter-spacing: -0.02em;
    line-height: 1;
}

.ric-goal-sep[b-cc66gr9pb1] {
    font-size: 0.75rem;
    color: var(--ric-text-muted);
}

.ric-goal-target[b-cc66gr9pb1] {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ric-text-2);
}

.ric-track[b-cc66gr9pb1] {
    position: relative;
    height: 6px;
    background-color: var(--ric-track-bg);
    border-radius: 999px;
    overflow: hidden;
}

.ric-track-fill[b-cc66gr9pb1] {
    height: 100%;
    background: linear-gradient(90deg, var(--rz-primary) 0%, var(--rz-primary-dark) 100%);
    border-radius: 999px;
    transition: width 0.4s ease;
}

.ric-goal-note[b-cc66gr9pb1] {
    margin: 0;
    font-size: 0.72rem;
    color: var(--ric-text-2);
    line-height: 1.4;
}

/* Streak */
.ric-streak-row[b-cc66gr9pb1] {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
}

.ric-streak-num[b-cc66gr9pb1] {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--ric-streak-fg);
    letter-spacing: -0.02em;
    line-height: 1;
}

.ric-streak-unit[b-cc66gr9pb1] {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ric-text-2);
}

/* This Month */
.ric-month-grid[b-cc66gr9pb1] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
}

.ric-month-item[b-cc66gr9pb1] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.45rem 0.35rem;
    background-color: var(--ric-surface-2);
    border-radius: 6px;
    text-align: center;
}

.ric-month-num[b-cc66gr9pb1] {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--ric-month-fg);
    line-height: 1;
    letter-spacing: -0.01em;
}

.ric-month-label[b-cc66gr9pb1] {
    font-size: 0.7rem;
    color: var(--ric-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-weight: 600;
}

/* DNA */
.ric-dna-row[b-cc66gr9pb1] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ric-donut[b-cc66gr9pb1] {
    width: 68px;
    height: 68px;
    flex-shrink: 0;
    transform: rotate(-90deg);
}

.ric-donut-track[b-cc66gr9pb1] {
    fill: none;
    stroke: var(--ric-track-bg);
    stroke-width: 4;
}

.ric-donut-seg[b-cc66gr9pb1] {
    fill: none;
    stroke-width: 4;
    transition: stroke-dasharray 0.4s ease;
}

.ric-dna-legend[b-cc66gr9pb1] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
    min-width: 0;
}

.ric-dna-legend-item[b-cc66gr9pb1] {
    display: grid;
    grid-template-columns: 0.5rem 1fr auto;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
}

.ric-dna-swatch[b-cc66gr9pb1] {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 2px;
}

.ric-dna-name[b-cc66gr9pb1] {
    color: var(--ric-text-2);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ric-dna-pct[b-cc66gr9pb1] {
    color: var(--ric-text);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

/* Money Saved */
.ric-money-row[b-cc66gr9pb1] {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
}

.ric-money-amount[b-cc66gr9pb1] {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--ric-money-fg);
    letter-spacing: -0.02em;
    line-height: 1;
}

/* Motion */
@media (prefers-reduced-motion: reduce) {
    .ric-track-fill[b-cc66gr9pb1],
    .ric-donut-seg[b-cc66gr9pb1] { transition: none; }
}

/* Narrow drawer */
@media (max-width: 640px) {
    .ric[b-cc66gr9pb1] { padding: 0.875rem; }
    .ric-donut[b-cc66gr9pb1] { width: 60px; height: 60px; }
    .ric-goal-current[b-cc66gr9pb1],
    .ric-streak-num[b-cc66gr9pb1] { font-size: 1.35rem; }
}
