/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-qbaez6x7be] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-qbaez6x7be] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Shared/DnaSpinner.razor.rz.scp.css */
/* DNA-helix spinner — adapted from dna-spinner/style.scss.
 * Dots colored with the Helix brand primary (--p-500) so it matches the theme.
 * Scoped CSS: the [b-xxx] attribute is added to the markup elements; pseudo-
 * elements and @keyframes below inherit the scope automatically.
 */

.dna-inline[b-w92ivy81v5] {
    --dna-speed: 5s;
    --dna-dot: var(--p-500, #5a6b9a);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.75rem;
    width: 100%;
}

.dna-overlay[b-w92ivy81v5] {
    --dna-speed: 5s;
    --dna-dot: #fff;
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.75rem;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.dna[b-w92ivy81v5] {
    width: 20px;
    position: relative;
}

.dna__el[b-w92ivy81v5] {
    position: relative;
    height: 6px;
}

.dna__el[b-w92ivy81v5]::before,
.dna__el[b-w92ivy81v5]::after {
    position: absolute;
    border-radius: 50%;
    top: 0;
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background-color: var(--dna-dot);
    animation-duration: var(--dna-speed);
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.dna__el[b-w92ivy81v5]::before {
    left: 0;
    animation-name: dna-left-b-w92ivy81v5;
}

.dna__el[b-w92ivy81v5]::after {
    right: 0;
    animation-name: dna-right-b-w92ivy81v5;
}

/* staggered start per rung -> helix twist (index * 0.2s) */
.dna__el:nth-child(1)[b-w92ivy81v5]::before, .dna__el:nth-child(1)[b-w92ivy81v5]::after { animation-delay: 0.2s; }
.dna__el:nth-child(2)[b-w92ivy81v5]::before, .dna__el:nth-child(2)[b-w92ivy81v5]::after { animation-delay: 0.4s; }
.dna__el:nth-child(3)[b-w92ivy81v5]::before, .dna__el:nth-child(3)[b-w92ivy81v5]::after { animation-delay: 0.6s; }
.dna__el:nth-child(4)[b-w92ivy81v5]::before, .dna__el:nth-child(4)[b-w92ivy81v5]::after { animation-delay: 0.8s; }
.dna__el:nth-child(5)[b-w92ivy81v5]::before, .dna__el:nth-child(5)[b-w92ivy81v5]::after { animation-delay: 1s; }

.dna__label[b-w92ivy81v5] {
    font-size: 0.8125rem;
    color: var(--ink-3, #8a8a8a);
    letter-spacing: 0.02em;
}

.dna-overlay .dna__label[b-w92ivy81v5] {
    color: rgba(255, 255, 255, 0.85);
}

@keyframes dna-right-b-w92ivy81v5 {
    0%   { right: 0%; opacity: 1; }
    8.3333%  { opacity: 0.5; }
    16.6666% { right: calc(100% - 6px); opacity: 1; }
    33.3333% { right: 0%; opacity: 1; }
    41.6666% { opacity: 0.5; }
    50%  { right: calc(100% - 6px); opacity: 1; }
    66.6666% { right: 0%; opacity: 1; }
    100% { right: 0%; opacity: 1; }
}

@keyframes dna-left-b-w92ivy81v5 {
    0%   { left: 0%; opacity: 1; }
    16.6666% { left: calc(100% - 6px); opacity: 1; }
    25%  { opacity: 0.5; }
    33.3333% { left: 0%; opacity: 1; }
    50%  { left: calc(100% - 6px); opacity: 1; }
    58.3333% { opacity: 0.5; }
    66.6666% { left: 0%; opacity: 1; }
    100% { left: 0%; opacity: 1; }
}
/* /Components/SupportBubble.razor.rz.scp.css */
/* ── Floating wrapper ── */
.sb-wrap[b-l5p89ioidg] {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9900;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

/* ── FAB button ── */
.sb-fab[b-l5p89ioidg] {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--p-600);
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,.22);
    display: grid;
    place-items: center;
    transition: transform .15s ease, background .15s ease;
    flex-shrink: 0;
}
.sb-fab:hover[b-l5p89ioidg]  { transform: scale(1.08); }
.sb-fab.is-open[b-l5p89ioidg] { background: var(--ink-2); }

/* ── Panel ── */
.sb-panel[b-l5p89ioidg] {
    width: 340px;
    max-width: calc(100vw - 32px);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,.14);
    overflow: hidden;
    animation: sb-slide-up-b-l5p89ioidg .18s ease;
}
@keyframes sb-slide-up-b-l5p89ioidg {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Manual link (under header) ── */
.sb-manual[b-l5p89ioidg] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: color-mix(in srgb, var(--p-500) 7%, var(--surface));
    border-bottom: 1px solid var(--line);
    color: var(--p-700, var(--p-600));
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: background .13s ease;
}
.sb-manual:hover[b-l5p89ioidg] { background: color-mix(in srgb, var(--p-500) 13%, var(--surface)); }
.sb-manual svg[b-l5p89ioidg] { flex-shrink: 0; }

/* ── Header ── */
.sb-header[b-l5p89ioidg] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px 13px;
    background: var(--p-600);
    color: #fff;
}
.sb-header-info[b-l5p89ioidg] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 600;
}
.sb-close[b-l5p89ioidg] {
    background: none;
    border: none;
    color: rgba(255,255,255,.8);
    cursor: pointer;
    padding: 2px;
    display: grid;
    place-items: center;
    border-radius: 6px;
    transition: color .12s;
}
.sb-close:hover[b-l5p89ioidg] { color: #fff; }

/* ── Body ── */
.sb-body[b-l5p89ioidg] {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 70vh;
    overflow-y: auto;
}

/* ── Tenant context rows ── */
.sb-context-row[b-l5p89ioidg] {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-size: 0.75rem;
}
.sb-context-label[b-l5p89ioidg] {
    color: var(--ink-3);
    min-width: 70px;
    flex-shrink: 0;
}
.sb-context-val[b-l5p89ioidg] {
    color: var(--ink-1);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.sb-code[b-l5p89ioidg] {
    font-family: monospace;
    font-size: 0.7rem;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 1px 5px;
    color: var(--ink-2);
}
.sb-divider[b-l5p89ioidg] {
    height: 1px;
    background: var(--line);
    margin: 2px 0;
}

/* ── Fields ── */
.sb-field[b-l5p89ioidg] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.sb-label[b-l5p89ioidg] {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--ink-2);
}
.sb-req[b-l5p89ioidg] { color: var(--p-600); }
.sb-input[b-l5p89ioidg],
.sb-textarea[b-l5p89ioidg] {
    width: 100%;
    padding: 7px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--ink-1);
    font-size: 0.85rem;
    font-family: inherit;
    outline: none;
    transition: border-color .12s;
    box-sizing: border-box;
}
.sb-input:focus[b-l5p89ioidg],
.sb-textarea:focus[b-l5p89ioidg] { border-color: var(--p-600); }
.sb-textarea[b-l5p89ioidg] { resize: vertical; min-height: 80px; }

/* ── Disclaimer ── */
.sb-disclaimer[b-l5p89ioidg] {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 0.73rem;
    color: var(--ink-3);
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px 10px;
    line-height: 1.5;
}
.sb-disclaimer svg[b-l5p89ioidg] { flex-shrink: 0; margin-top: 1px; }

/* ── Submit button ── */
.sb-btn-primary[b-l5p89ioidg] {
    width: 100%;
    padding: 9px 16px;
    background: var(--p-600);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .12s;
}
.sb-btn-primary:hover:not(:disabled)[b-l5p89ioidg] { background: var(--p-700, color-mix(in srgb, var(--p-600) 85%, #000)); }
.sb-btn-primary:disabled[b-l5p89ioidg] { opacity: .5; cursor: not-allowed; }

/* ── Success state ── */
.sb-success[b-l5p89ioidg] {
    padding: 32px 20px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    color: var(--p-600);
}
.sb-success-title[b-l5p89ioidg] {
    font-weight: 700;
    font-size: 1rem;
    color: var(--ink-1);
    margin: 0;
}
.sb-success-sub[b-l5p89ioidg] {
    font-size: 0.82rem;
    color: var(--ink-3);
    margin: 0 0 8px;
    line-height: 1.5;
}
