@import '_content/PI2R.Core.Admin.UI/PI2R.Core.Admin.UI.4lgisleu9j.bundle.scp.css';
@import '_content/PI2R.TraderLab.Application.Admin.UI/PI2R.TraderLab.Application.Admin.UI.nlhtpg8tll.bundle.scp.css';

/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-yqtss4nvrx] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    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-yqtss4nvrx] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-t2fuiw4d4u],
.components-reconnect-repeated-attempt-visible[b-t2fuiw4d4u],
.components-reconnect-failed-visible[b-t2fuiw4d4u],
.components-pause-visible[b-t2fuiw4d4u],
.components-resume-failed-visible[b-t2fuiw4d4u],
.components-rejoining-animation[b-t2fuiw4d4u] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-t2fuiw4d4u],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-t2fuiw4d4u],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-t2fuiw4d4u],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-t2fuiw4d4u],
#components-reconnect-modal.components-reconnect-retrying[b-t2fuiw4d4u],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-t2fuiw4d4u],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-t2fuiw4d4u],
#components-reconnect-modal.components-reconnect-failed[b-t2fuiw4d4u],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-t2fuiw4d4u] {
    display: block;
}


#components-reconnect-modal[b-t2fuiw4d4u] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-t2fuiw4d4u 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-t2fuiw4d4u 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-t2fuiw4d4u 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-t2fuiw4d4u]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-t2fuiw4d4u 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-t2fuiw4d4u {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-t2fuiw4d4u {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-t2fuiw4d4u {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-t2fuiw4d4u] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-t2fuiw4d4u] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-t2fuiw4d4u] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-t2fuiw4d4u] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-t2fuiw4d4u] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-t2fuiw4d4u] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-t2fuiw4d4u] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-t2fuiw4d4u 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-t2fuiw4d4u] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-t2fuiw4d4u {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/AccountsAdminPage.razor.rz.scp.css */
/* Feature admin-comptes-v2, PR C part 2 — the accounts page (UX AC-2, AC-5, AC-6, AC-21 to AC-23). The cockpit's tokens only (--ck-*),
   never a colour of its own. Rows keep one line and a fixed height, so opening the card or a result appearing never moves the list under the
   pointer (AC-23). UX/UI #2 recette (P1-1, P2-2, P2-4, P2-5): the role sentences wrap, never cut; the toolbar spans the list and the card; the
   list keeps the name and the state while the card is open; links use --ck-link (6.5:1); 44 px targets below 1280 px. */

.acc-sr[b-vpa4g9hsdx] {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Lot 6 (UX/UI #2 recette, "clicks before interactivity are lost"): the page's wrapper draws no box; on the prerender, until the circuit is
   up, the pointer says "progress" and a control takes no click it would lose. A link keeps its pointer: it navigates without the circuit. */
.acc-root[b-vpa4g9hsdx] { display: contents; }
.acc-root[data-acc-not-ready][b-vpa4g9hsdx] { cursor: progress; }
/* Lot 7 (Q#3 lot-6 NIT-1): ::deep, so the rule also reaches the controls a child component renders. Q#3 lot-7 MAJOR-1: a control of a form
   that posts without the circuit (data-enhance="false", e.g. CockpitPasskeySessionNotice's "Sign out" to /auth/logout) keeps its pointer,
   as a link does: it works before the circuit, and must still work if the circuit never comes up. */
.acc-root[data-acc-not-ready][b-vpa4g9hsdx]  :is(button, input, select, textarea, summary):not(form[data-enhance="false"] *) { pointer-events: none; }
/* Lot 8 (UX/UI #2 recette lots 6-7, P3): a box's label (.acc-hit) took the click and checked the box natively, unchecked again by the first
   interactive render - the label takes no click either. A row of the list and the search's label kept their own pointer (pointer, default)
   over the inherited "progress": they say "progress" too. */
.acc-root[data-acc-not-ready][b-vpa4g9hsdx]  .acc-hit:not(form[data-enhance="false"] *) { pointer-events: none; }
.acc-root[data-acc-not-ready][b-vpa4g9hsdx]  :is([data-acc-row], .acc-hit, .acc-search, .acc-sort, summary) { cursor: progress; }

/* Lot 8 (UX/UI #2 P3, "circuit never up"): on the prerender only (the markup draws it there), out of the flow so it moves nothing, and hidden
   (visibility: out of the accessibility tree too) until the circuit has had 8 s to come up; the first interactive render removes it. */
.acc-no-circuit[b-vpa4g9hsdx] {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 960; margin: 0 auto; width: fit-content; box-sizing: border-box;
    max-width: min(32rem, calc(100vw - 32px)); padding: 10px 14px; color: var(--ck-text); border: 1px solid var(--ck-accent);
    animation: acc-no-circuit-shows-b-vpa4g9hsdx 0s linear 8s both;
}
@keyframes acc-no-circuit-shows-b-vpa4g9hsdx { from { visibility: hidden; } to { visibility: visible; } }
@media (max-width: 768px) {
    .acc-no-circuit[b-vpa4g9hsdx] { bottom: calc(76px + env(safe-area-inset-bottom)); }
}

.acc-banner[b-vpa4g9hsdx] { color: var(--ck-text); border-left: 3px solid var(--ck-accent); }
/* UX/UI #2 P3 (recette 2): on a reload the prerendered list gave way to this card for about 45 ms before the circuit's first read. The card is
   still there at once for a screen reader (role="status", aria-busy; opacity, not visibility, keeps it in the accessibility tree), but it is
   drawn only when the read lasts (250 ms): a quick read shows no flash of a card between the list and the list. */
.acc-page-loading[b-vpa4g9hsdx] { color: var(--ck-text-dim); animation: acc-loading-shows-b-vpa4g9hsdx 0s linear 250ms both; }
@keyframes acc-loading-shows-b-vpa4g9hsdx { from { opacity: 0; } to { opacity: 1; } }

/* AC-22, AC-7 (UX/UI #2 recette 2: 11 rows at 1280 × 800, the card's last roles below the screen): the title, the two views and the search on
   one line over one rule from 1280 px (it wraps below), instead of the h1's own margins, a strip of tabs and the toolbar's line. */
.acc-page-head[b-vpa4g9hsdx] { align-items: flex-end; gap: 6px 24px; margin-bottom: 8px; border-bottom: 1px solid var(--ck-border); }
.acc-page-head h1[b-vpa4g9hsdx] { margin: 0 0 4px; line-height: 1.15; }
.acc-page-head .acc-views[b-vpa4g9hsdx] { margin: 0; border-bottom: 0; }
.acc-page-head .acc-toolbar[b-vpa4g9hsdx] { flex: 1 1 480px; margin: 0 0 6px; }
.acc-page-head .acc-active-filters[b-vpa4g9hsdx] { flex: 1 0 100%; }

.acc-layout[b-vpa4g9hsdx] { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
/* AC-6: 420 to 520 px - 420 at 1024, so the list keeps room for the name (N1). */
.acc-layout.acc-card-open[b-vpa4g9hsdx] { grid-template-columns: minmax(0, 1fr) clamp(420px, 38vw, 520px); }
.acc-list[b-vpa4g9hsdx] { min-width: 0; }

/* The toolbar is above the list AND the card (AC-23): its width never changes when the card opens, so it never re-wraps. */
.acc-toolbar[b-vpa4g9hsdx] {
    display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
    border: 0; padding: 0; margin: 0 0 6px; min-width: 0;
}
.acc-search[b-vpa4g9hsdx] { flex: 1 1 260px; }
.acc-search input[b-vpa4g9hsdx], .acc-select[b-vpa4g9hsdx] {
    width: 100%; min-height: 36px; padding: 6px 10px; box-sizing: border-box;
    background: var(--ck-bg-soft); color: var(--ck-text);
    border: 1px solid var(--ck-border); border-radius: var(--ck-radius-sm);
}
.acc-select[b-vpa4g9hsdx] { width: auto; }
.acc-rolefilter summary[b-vpa4g9hsdx] { cursor: pointer; padding: 6px 10px; border: 1px solid var(--ck-border); border-radius: var(--ck-radius-sm); }
.acc-rolefilter-body[b-vpa4g9hsdx] { display: flex; flex-direction: column; gap: 8px; padding: 8px 0; }
.acc-chips[b-vpa4g9hsdx] { display: flex; flex-wrap: wrap; gap: 6px; }
.acc-chip-toggle[b-vpa4g9hsdx] {
    min-height: 32px; padding: 4px 10px; border-radius: 999px; cursor: pointer;
    background: transparent; color: var(--ck-text-dim); border: 1px solid var(--ck-border);
}
.acc-chip-toggle.on[b-vpa4g9hsdx] { background: var(--ck-accent-soft); color: var(--ck-text); border-color: var(--ck-accent); }

.acc-active-filters[b-vpa4g9hsdx] { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 6px; }
.acc-filter-chip[b-vpa4g9hsdx] {
    display: inline-flex; align-items: center; gap: 4px; padding: 2px 4px 2px 10px; border-radius: 999px;
    background: var(--ck-accent-soft); color: var(--ck-text); font-size: .8rem;
}
.acc-filter-chip button[b-vpa4g9hsdx] {
    background: transparent; border: 0; color: var(--ck-text); cursor: pointer; min-width: 28px; min-height: 28px; border-radius: 999px;
}
.acc-filter-match[b-vpa4g9hsdx] { padding-right: 10px; }

/* The totals and the batch's buttons on one line (AC-22: twelve rows at 1280 × 800). */
.acc-listbar[b-vpa4g9hsdx] { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin: 0 0 4px; min-height: 36px; }
.acc-totals[b-vpa4g9hsdx] { font-size: 1rem; margin: 0; }
.acc-loading[b-vpa4g9hsdx] { color: var(--ck-text-dim); }

.acc-table[b-vpa4g9hsdx] { width: 100%; table-layout: auto; }
.acc-table.acc-stale tbody[b-vpa4g9hsdx] { opacity: .55; transition: opacity .15s ease; }
.acc-table th[b-vpa4g9hsdx] { white-space: nowrap; }
.acc-row[b-vpa4g9hsdx] { height: 40px; cursor: pointer; }
.acc-row td[b-vpa4g9hsdx] { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 22ch; vertical-align: middle; padding-top: 4px; padding-bottom: 4px; }
.acc-row:hover[b-vpa4g9hsdx] { background: var(--ck-bg-soft); }
.acc-row:focus-visible[b-vpa4g9hsdx], .acc-sort:focus-visible[b-vpa4g9hsdx], .acc-switch:focus-visible[b-vpa4g9hsdx], .acc-link:focus-visible[b-vpa4g9hsdx], .acc-chip-toggle:focus-visible[b-vpa4g9hsdx],
.acc-back:focus-visible[b-vpa4g9hsdx], .acc-history time:focus-visible[b-vpa4g9hsdx], .acc-hit:focus-within[b-vpa4g9hsdx] {
    outline: 2px solid var(--ck-accent); outline-offset: -2px;
}
.acc-row-open[b-vpa4g9hsdx] { background: var(--ck-accent-soft); box-shadow: inset 3px 0 0 var(--ck-accent); }
.acc-row-inactive td[b-vpa4g9hsdx] { color: var(--ck-text-dim); }
.acc-username[b-vpa4g9hsdx] { font-weight: 600; }
.acc-dim[b-vpa4g9hsdx] { color: var(--ck-text-dim); }
.acc-check[b-vpa4g9hsdx] { width: 36px; }
.acc-hit[b-vpa4g9hsdx] { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; min-height: 28px; cursor: pointer; border-radius: 4px; }
.acc-check input[b-vpa4g9hsdx] { width: 18px; height: 18px; margin: 0; cursor: pointer; }
.acc-chip[b-vpa4g9hsdx] { margin: 0 4px 0 0; }
.acc-sort[b-vpa4g9hsdx] { background: transparent; border: 0; color: var(--ck-text); font: inherit; font-weight: 600; cursor: pointer; padding: 4px 0; }

/* With the card open the list keeps the name and the state, at every width (AC-6, P2-2): nothing passes under the card. */
.acc-card-open .acc-col-display[b-vpa4g9hsdx], .acc-card-open .acc-col-roles[b-vpa4g9hsdx], .acc-card-open .acc-col-created[b-vpa4g9hsdx] { display: none; }
.acc-card-open .acc-row td[b-vpa4g9hsdx] { max-width: none; }
.acc-card-open .acc-table[b-vpa4g9hsdx] { table-layout: fixed; }
.acc-card-open .acc-check[b-vpa4g9hsdx] { width: 48px; }
/* N1 (UX/UI #2 recette 2): fixed columns shared the place equally - the name got 90 px at 1024 ("adam.and…") and a header in one line ran over
   the next ("Nom d'utilisateur ▲" over "État"). The state is short and fixed, the name takes the rest, and a header wraps. */
.acc-card-open .acc-table th[b-vpa4g9hsdx] { white-space: normal; overflow-wrap: anywhere; vertical-align: bottom; }
.acc-card-open .acc-sort[b-vpa4g9hsdx] { text-align: left; }
@media (min-width: 768px) {
    .acc-card-open .acc-col-state[b-vpa4g9hsdx] { width: 4.5rem; }
}

.acc-pager[b-vpa4g9hsdx] { display: flex; gap: 12px; align-items: center; justify-content: flex-end; margin: 10px 0; }

.acc-link[b-vpa4g9hsdx] {
    background: transparent; border: 0; padding: 4px 2px; cursor: pointer; color: var(--ck-link); text-decoration: underline; font: inherit;
}

.acc-batch[b-vpa4g9hsdx] { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-left: auto; }
.acc-batch-picker[b-vpa4g9hsdx] { display: inline-flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.acc-batch-progress[b-vpa4g9hsdx] { font-variant-numeric: tabular-nums; color: var(--ck-text); }
.acc-batch-goes-on[b-vpa4g9hsdx] { font-size: .82rem; }
/* UX/UI #2 P3 (recette 2, then recette 4): starting a batch moved the list - +18 px in French at "100 of 500" (the bar on two lines), +35 px with
   the card open, -10 then +29 px at 375 (the 36 px rule only held from 1024 px). Now, at every width, the bar keeps exactly its layout from
   before the batch: the selection's words keep their place, hidden (visibility, the box stays) and inert, and the progress with its sentence is
   an overlay out of the flow, fixed at the screen's bottom edge (above the bottom tab bar below 768 px). Nothing the batch draws is in the
   bar's flow, so the bar's height, and the list's top, never change. */
.acc-batch-selection[b-vpa4g9hsdx] { display: contents; }
.acc-batch-running .acc-batch-selection[b-vpa4g9hsdx] { visibility: hidden; }
.acc-batch-run[b-vpa4g9hsdx] {
    position: fixed; right: 16px; bottom: 16px; z-index: 950; margin: 0; box-sizing: border-box;
    display: flex; flex-direction: column; gap: 2px; max-width: min(26rem, calc(100vw - 32px)); padding: 8px 14px;
    background: var(--ck-panel); border: 1px solid var(--ck-accent); border-radius: var(--ck-radius);
}
.acc-batch-goes-on[b-vpa4g9hsdx] { line-height: 1.25; }
@media (max-width: 768px) {
    .acc-batch-run[b-vpa4g9hsdx] { bottom: calc(76px + env(safe-area-inset-bottom)); }
}
.acc-batch-summary[b-vpa4g9hsdx] { margin: 0 0 8px; }

/* ── the card ── */
/* AC-7 (UX/UI #2 recette 2): border-box (it was 22 px taller than the screen); its height is the screen less what is above it at rest (the
   cockpit's 56 px top bar, .ck-shell, the 22 px of .ck-main and the page's one-line head, 140 px in all at 1280 and wider)
   so its bottom is in sight before any scroll, and its scroll is said: a shade at the edge where more roles wait (the covers scroll with the
   content, the shades stay at the edges - nothing shown when everything fits). The card is also tighter, to hold the roles at 1280 × 800. */
/* UX/UI #2 P3 (recette 4): with a row of active filters in the head (a search or a role), the card started 33 px lower (173 px at 1280 × 800)
   and kept its 660 px, so its bottom was 33 px under the screen. The height is the screen less the card's real top: the head's row of filters
   is counted when it is drawn (acc-has-filter-row) - 33 px from 1280 px (measured), 50 px below (its 44 px targets and the row's gap). */
.acc-layout[b-vpa4g9hsdx] { --acc-card-top: 140px; }
.acc-layout.acc-has-filter-row[b-vpa4g9hsdx] { --acc-card-top: 173px; }
@media (max-width: 1279px) {
    .acc-layout.acc-has-filter-row[b-vpa4g9hsdx] { --acc-card-top: 190px; }
}
.acc-card[b-vpa4g9hsdx] {
    position: sticky; top: 12px; box-sizing: border-box; max-height: calc(100vh - var(--acc-card-top)); overflow-y: auto; overscroll-behavior: contain;
    border: 1px solid var(--ck-border); border-radius: var(--ck-radius); padding: 6px 14px 12px;
    background-color: var(--ck-panel);
    background-image:
        linear-gradient(var(--ck-panel) 30%, transparent),
        linear-gradient(transparent, var(--ck-panel) 70%),
        radial-gradient(farthest-side at 50% 0, color-mix(in srgb, var(--ck-accent) 60%, transparent), transparent),
        radial-gradient(farthest-side at 50% 100%, color-mix(in srgb, var(--ck-accent) 60%, transparent), transparent);
    background-position: center top, center bottom, center top, center bottom;
    background-size: 100% 36px, 100% 36px, 100% 16px, 100% 16px;
    background-repeat: no-repeat;
    background-attachment: local, local, scroll, scroll;
}
/* The cross sits on the title's line (a line of roles more); "← Accounts" has its own line at 375 px. */
.acc-card-head[b-vpa4g9hsdx] { display: flex; align-items: center; position: absolute; top: 4px; right: 8px; }
.acc-back[b-vpa4g9hsdx] { display: none; background: transparent; border: 0; color: var(--ck-link); cursor: pointer; font: inherit; min-height: 44px; }
.acc-close[b-vpa4g9hsdx] { margin-left: auto; min-width: 36px; min-height: 36px; }
.acc-card h2[b-vpa4g9hsdx] { margin: 2px 0 0; padding-right: 48px; font-size: 1.15rem; }
/* UX/UI #2 P3 (recette 3): at 1280 × 800 the Studio expert sentence ended 20 px under the card's bottom when this identity line took two lines.
   About 24 px are taken back: this line, the role sentences and the group titles are set tighter (the switches keep their 24 px). */
.acc-card-user[b-vpa4g9hsdx] { margin: 0 0 2px; color: var(--ck-text-dim); font-size: .82rem; line-height: 1.25; }
.acc-card .ck-tabs[b-vpa4g9hsdx] { margin-bottom: 2px; }
.acc-card .ck-tab[b-vpa4g9hsdx] { padding: 5px 13px; }
.acc-summary[b-vpa4g9hsdx] { margin: 0 0 2px; color: var(--ck-text-dim); }
.acc-batch-card[b-vpa4g9hsdx] { margin: 4px 0; padding: 6px 10px; font-size: .82rem; }

.acc-group h3[b-vpa4g9hsdx] {
    margin: 3px 0 0; line-height: 1.2; font-size: .76rem; text-transform: uppercase; letter-spacing: .6px; color: var(--ck-text-dim);
}
/* A role: the switch and its name, the technical id beside it, then the whole sentence under the name (AC-7, AC-8). */
.acc-role[b-vpa4g9hsdx] { display: flex; flex-wrap: wrap; align-items: center; column-gap: 8px; padding: 0 0 1px; border-bottom: 1px solid var(--ck-border); }
.acc-switch[b-vpa4g9hsdx] {
    display: inline-flex; align-items: center; gap: 10px; min-height: 24px;
    background: transparent; border: 0; color: var(--ck-text); font: inherit; cursor: pointer; padding: 0; text-align: left;
}
/* AC-5 (recette 2): a switch that waits for a write is aria-disabled, not disabled, so it keeps the focus. */
.acc-switch[aria-disabled="true"][b-vpa4g9hsdx] { cursor: progress; }
.acc-role > .acc-role-sentence[b-vpa4g9hsdx], .acc-role > .acc-role-lock[b-vpa4g9hsdx], .acc-role > .acc-role-refusal[b-vpa4g9hsdx], .acc-role > .acc-role-sessions[b-vpa4g9hsdx] {
    flex: 1 0 100%; box-sizing: border-box; padding-left: 46px;
}
.acc-switch:disabled[b-vpa4g9hsdx] { cursor: default; }
.acc-switch-track[b-vpa4g9hsdx] {
    position: relative; flex: none; width: 36px; height: 20px; border-radius: 999px;
    background: var(--ck-bg-soft); border: 1px solid var(--ck-text-dim);
}
.acc-switch-thumb[b-vpa4g9hsdx] {
    position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 999px; background: var(--ck-text-dim);
    transition: left .12s ease;
}
.acc-switch[aria-checked="true"] .acc-switch-track[b-vpa4g9hsdx] { background: var(--ck-accent); border-color: var(--ck-accent); }
.acc-switch[aria-checked="true"] .acc-switch-thumb[b-vpa4g9hsdx] { left: 18px; background: var(--ck-text); }
.acc-switch:disabled .acc-switch-track[b-vpa4g9hsdx] { opacity: .6; }
.acc-switch[aria-busy="true"] .acc-switch-track[b-vpa4g9hsdx] { opacity: .4; }
.acc-role-name[b-vpa4g9hsdx] { font-weight: 600; }
.acc-role-id[b-vpa4g9hsdx] { font-size: .75rem; color: var(--ck-text-dim); }
/* P1-1 (AC-8): the sentence wraps, never cut by an ellipsis - it is what says that a role touches money. */
.acc-role-sentence[b-vpa4g9hsdx] { margin: 0; font-size: .8rem; line-height: 1.12; color: var(--ck-text-dim); white-space: normal; overflow-wrap: anywhere; }
.acc-role-lock[b-vpa4g9hsdx] { margin: 0; font-size: .78rem; color: var(--ck-text-dim); }
.acc-role-refusal[b-vpa4g9hsdx] { margin: 0; font-size: .82rem; color: var(--ck-bad-text); }
.acc-role-sessions[b-vpa4g9hsdx] { margin: 2px 0 0; font-size: .8rem; color: var(--ck-text); }
.acc-role-result[b-vpa4g9hsdx] { font-size: .82rem; color: var(--ck-good-text); }
.acc-role-busy[b-vpa4g9hsdx] { color: var(--ck-text-dim); }
.acc-undo[b-vpa4g9hsdx] { font-size: .82rem; color: var(--ck-text); }

.acc-identity[b-vpa4g9hsdx] { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.acc-password[b-vpa4g9hsdx] { display: flex; flex-direction: column; gap: 4px; width: 100%; }
.acc-password p[b-vpa4g9hsdx] { margin: 0; }
.acc-links[b-vpa4g9hsdx] { display: flex; gap: 14px; margin-top: 14px; }
.acc-links a[b-vpa4g9hsdx] { color: var(--ck-link); }

.acc-history[b-vpa4g9hsdx] { list-style: none; margin: 0; padding: 0; }
.acc-history li[b-vpa4g9hsdx] { display: flex; flex-wrap: wrap; gap: 4px 10px; padding: 6px 0; border-bottom: 1px solid var(--ck-border); font-size: .85rem; }
.acc-history-what[b-vpa4g9hsdx] { font-weight: 600; }
.acc-history-outcome[b-vpa4g9hsdx] { color: var(--ck-text-dim); }
.acc-history time[b-vpa4g9hsdx] { color: var(--ck-text-dim); }
.acc-exact[b-vpa4g9hsdx] { display: none; }
.acc-history time:focus .acc-exact[b-vpa4g9hsdx] { display: inline; }

.acc-roles-table code[b-vpa4g9hsdx] { margin-left: 6px; }

/* Below 1280 px: 44 px targets (AC-22) - the rows, the switches, the links, the boxes (by their label), the close cross, the chips' crosses. */
@media (max-width: 1279px) {
    .acc-row[b-vpa4g9hsdx] { height: 44px; }
    /* P3 (recette 2): the 44 px box's label plus the cells' padding made 52 px rows; the label is the row's height now. Tabs: 44 px too. */
    .acc-row td[b-vpa4g9hsdx] { padding-top: 0; padding-bottom: 0; }
    .acc-page-head .ck-tab[b-vpa4g9hsdx], .acc-card .ck-tab[b-vpa4g9hsdx] { min-height: 44px; }
    /* N1: with the card open, the name may take two lines (never more: the row keeps its 44 px, AC-23), the whole of it in its title. */
    .acc-card-open .acc-username .acc-cell[b-vpa4g9hsdx] {
        display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
        white-space: normal; overflow-wrap: anywhere; line-height: 1.2;
    }
    .acc-switch[b-vpa4g9hsdx], .acc-link[b-vpa4g9hsdx], .acc-sort[b-vpa4g9hsdx], .acc-chip-toggle[b-vpa4g9hsdx] { min-height: 44px; }
    .acc-hit[b-vpa4g9hsdx] { min-width: 44px; min-height: 44px; }
    .acc-check[b-vpa4g9hsdx], .acc-card-open .acc-check[b-vpa4g9hsdx] { width: 48px; }
    .acc-close[b-vpa4g9hsdx] { min-width: 44px; min-height: 44px; }
    .acc-filter-chip button[b-vpa4g9hsdx] { min-width: 44px; min-height: 44px; }
}

/* At 375 px the card takes the whole screen, with "← Accounts" at the top (AC-6); the list is one card per account (AC-2), nothing cut. */
@media (max-width: 767px) {
    .acc-layout.acc-card-open[b-vpa4g9hsdx] { grid-template-columns: minmax(0, 1fr); }
    .acc-card[b-vpa4g9hsdx] { position: fixed; inset: 0; z-index: 900; max-height: none; border-radius: 0; }
    .acc-card-head[b-vpa4g9hsdx] { position: static; }
    .acc-card h2[b-vpa4g9hsdx] { padding-right: 0; }
    .acc-back[b-vpa4g9hsdx] { display: inline-block; }
    .acc-close[b-vpa4g9hsdx] { display: none; }
    .acc-row[b-vpa4g9hsdx] { height: auto; }
    .acc-row td[b-vpa4g9hsdx] { max-width: none; white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; min-width: 0; }
    .acc-batch[b-vpa4g9hsdx] { margin-left: 0; }
    .acc-cell[b-vpa4g9hsdx] { min-width: 0; overflow-wrap: anywhere; text-align: right; }
}
