/* /Components/Chat/ChatWidget.razor.rz.scp.css */
.chat-fab[b-jwwlae51tl] {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(135deg, #4363d8, #6a3fd8);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.32);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .12s ease, box-shadow .12s ease;
}
.chat-fab:hover[b-jwwlae51tl] { transform: scale(1.06); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4); }
.chat-fab__icon[b-jwwlae51tl] { display: flex; line-height: 1; }

.chat-panel[b-jwwlae51tl] {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 380px;
    max-width: calc(100vw - 32px);
    height: 560px;
    max-height: calc(100vh - 40px);
    display: flex;
    flex-direction: column;
    background: #1c1f26;
    color: #e7e9ee;
    border: 1px solid #2c313c;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    z-index: 9000;
    overflow: hidden;
    font-size: 14px;
}

.chat-panel__head[b-jwwlae51tl] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: #242833;
    border-bottom: 1px solid #2c313c;
}
.chat-panel__title[b-jwwlae51tl] { font-weight: 600; }
.chat-panel__head-actions[b-jwwlae51tl] { display: flex; gap: 4px; }
.chat-iconbtn[b-jwwlae51tl] {
    background: none;
    border: none;
    color: #aab0bd;
    cursor: pointer;
    font-size: 15px;
    padding: 2px 6px;
    border-radius: 6px;
}
.chat-iconbtn:hover[b-jwwlae51tl] { background: #2c313c; color: #fff; }
.chat-iconbtn:disabled[b-jwwlae51tl] { opacity: .4; cursor: default; }
.chat-iconbtn--on[b-jwwlae51tl] { background: #2f3b5c; color: #fff; }

.chat-mic[b-jwwlae51tl] {
    background: #161922;
    border: 1px solid #2c313c;
    color: #aab0bd;
    border-radius: 8px;
    width: 40px;
    cursor: pointer;
    font-size: 15px;
    flex: 0 0 auto;
}
.chat-mic:hover[b-jwwlae51tl] { background: #20242e; color: #fff; }
.chat-mic:disabled[b-jwwlae51tl] { opacity: .4; cursor: default; }
/* Warming up (session started, not yet capturing): amber, no pulse — don't speak yet. */
.chat-mic--warm[b-jwwlae51tl] {
    background: #4a3b1e;
    border-color: #8a6d2f;
    color: #f0d79a;
}
.chat-mic--on[b-jwwlae51tl] {
    background: #6e2b2b;
    border-color: #a23b3b;
    color: #fff;
    animation: chat-pulse-b-jwwlae51tl 1.1s ease-in-out infinite;
}
@keyframes chat-pulse-b-jwwlae51tl {
    0%, 100% { box-shadow: 0 0 0 0 rgba(162, 59, 59, 0.6); }
    50% { box-shadow: 0 0 0 6px rgba(162, 59, 59, 0); }
}

.chat-voicebar[b-jwwlae51tl] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    background: #20242e;
    border-bottom: 1px solid #2c313c;
}
.chat-voicesel[b-jwwlae51tl] {
    flex: 1 1 100%;   /* its own row — long voice names need the width */
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    background: #161922;
    color: #e7e9ee;
    border: 1px solid #2c313c;
    border-radius: 6px;
    padding: 4px 6px;
    font-size: 12px;
}
.chat-voicerate[b-jwwlae51tl] { flex: 1 1 auto; min-width: 0; accent-color: #4363d8; }
.chat-voicerate__val[b-jwwlae51tl] { flex: 0 0 auto; font-size: 11px; color: #aab0bd; min-width: 30px; text-align: right; }

.chat-panel__log[b-jwwlae51tl] {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.chat-empty[b-jwwlae51tl] { color: #7b8190; font-size: 13px; line-height: 1.5; }

.chat-msg[b-jwwlae51tl] { display: flex; flex-direction: column; gap: 4px; max-width: 100%; }
.chat-msg__text[b-jwwlae51tl] { white-space: pre-wrap; word-wrap: break-word; line-height: 1.45; }

/* Rendered-markdown assistant text. The .chat-md div is component-rendered (scoped), but its children
   are injected via MarkupString and carry NO scope attribute — so child rules MUST use ::deep or they
   never match (a default <table> then has no borders). */
.chat-md[b-jwwlae51tl] { white-space: normal; }
.chat-md[b-jwwlae51tl]  div { margin: 0; }
.chat-md[b-jwwlae51tl]  .md-sp { height: .5em; }
.chat-md[b-jwwlae51tl]  .md-h { font-weight: 600; margin: .3em 0 .15em; }
.chat-md[b-jwwlae51tl]  ul, .chat-md[b-jwwlae51tl]  ol { margin: .2em 0 .3em; padding-left: 1.3em; }
.chat-md[b-jwwlae51tl]  li { margin: .1em 0; }
.chat-md[b-jwwlae51tl]  strong { font-weight: 600; color: #fff; }
.chat-md[b-jwwlae51tl]  em { font-style: italic; }
.chat-md[b-jwwlae51tl]  a { color: #8ab4ff; text-decoration: underline; }
.chat-md[b-jwwlae51tl]  code {
    background: #161922;
    border: 1px solid #3a4150;
    border-radius: 4px;
    padding: 0 4px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12px;
}
.md-cursor[b-jwwlae51tl] { opacity: .7; }
.chat-md[b-jwwlae51tl]  .md-table {
    border-collapse: collapse;
    margin: .35em 0;
    font-size: 13px;
    width: 100%;
}
.chat-md[b-jwwlae51tl]  .md-table th, .chat-md[b-jwwlae51tl]  .md-table td {
    border: 1px solid #4a5263;
    padding: 3px 7px;
    text-align: left;
    vertical-align: top;
}
.chat-md[b-jwwlae51tl]  .md-table th { background: #242833; font-weight: 600; color: #fff; }
.chat-md[b-jwwlae51tl]  .md-table tr:nth-child(even) td { background: #20242e; }
.chat-msg--user[b-jwwlae51tl] {
    align-self: flex-end;
    background: #2f3b5c;
    padding: 8px 11px;
    border-radius: 12px 12px 2px 12px;
    max-width: 85%;
}
.chat-msg--assistant[b-jwwlae51tl] { align-self: flex-start; max-width: 92%; }

.chat-msg__tools[b-jwwlae51tl] { display: flex; flex-wrap: wrap; gap: 4px; }
.chat-tool[b-jwwlae51tl] {
    font-size: 11px;
    color: #9fd0a0;
    background: #233027;
    padding: 1px 6px;
    border-radius: 6px;
}

.chat-error[b-jwwlae51tl] {
    color: #ff9a9a;
    background: #3a2424;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 13px;
}

.chat-vhint[b-jwwlae51tl] {
    color: #d8c08a;
    background: #2e2a20;
    border-top: 1px solid #3a3322;
    padding: 7px 12px;
    font-size: 12px;
    line-height: 1.4;
}

.chat-confirm[b-jwwlae51tl] {
    padding: 10px 12px;
    background: #2a2230;
    border-top: 1px solid #3a2c44;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.chat-confirm__actions[b-jwwlae51tl] { display: flex; gap: 8px; }
.chat-btn[b-jwwlae51tl] {
    border: 1px solid #3a4150;
    background: #2c313c;
    color: #e7e9ee;
    border-radius: 7px;
    padding: 5px 12px;
    cursor: pointer;
    font-size: 13px;
}
.chat-btn:hover[b-jwwlae51tl] { background: #353b48; }
.chat-btn--danger[b-jwwlae51tl] { background: #6e2b2b; border-color: #8a3a3a; }
.chat-btn--danger:hover[b-jwwlae51tl] { background: #843333; }

.chat-panel__input[b-jwwlae51tl] {
    display: flex;
    gap: 8px;
    padding: 10px;
    border-top: 1px solid #2c313c;
    background: #20242e;
}
.chat-input[b-jwwlae51tl] {
    flex: 1;
    background: #161922;
    border: 1px solid #2c313c;
    border-radius: 8px;
    padding: 8px 10px;
    color: #e7e9ee;
    font-size: 14px;
    outline: none;
}
.chat-input:focus[b-jwwlae51tl] { border-color: #4363d8; }
.chat-input:disabled[b-jwwlae51tl] { opacity: .6; }
.chat-send[b-jwwlae51tl] {
    background: #4363d8;
    border: none;
    color: #fff;
    border-radius: 8px;
    width: 40px;
    cursor: pointer;
    font-size: 14px;
}
.chat-send:disabled[b-jwwlae51tl] { opacity: .4; cursor: default; }
.chat-stop[b-jwwlae51tl] { background: #6e2b2b; }
.chat-stop:hover[b-jwwlae51tl] { background: #843333; }
/* /Components/EditorUserMenu.razor.rz.scp.css */
/* Anchor wrapper: the pop/panel position relative to the trigger button in the top bar.
   (Alignment to the bar's right edge is handled by the parent .editor__bar-right cluster.) */
.eum[b-3e0d9m4cxl] {
    position: relative;
    display: inline-flex;
}

/* Full-viewport catcher: closes the menu/panel on any outside click. */
.eum__backdrop[b-3e0d9m4cxl] {
    position: fixed;
    inset: 0;
    z-index: 1190;
    background: transparent;
}

/* Dropdown under the trigger, right-aligned so it grows left from the screen edge. */
.eum__pop[b-3e0d9m4cxl] {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 1200;
    min-width: 190px;
    padding: 5px;
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.eum__item[b-3e0d9m4cxl] {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    padding: 7px 9px;
    border: 0;
    background: transparent;
    border-radius: var(--radius-sm);
    color: var(--fg-secondary);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    text-align: left;
    cursor: pointer;
    white-space: nowrap;
}

.eum__item svg[b-3e0d9m4cxl] { flex-shrink: 0; color: var(--fg-muted); }
.eum__item:hover[b-3e0d9m4cxl] { background: var(--bg-hover); color: var(--fg-primary); }
.eum__item:hover svg[b-3e0d9m4cxl] { color: var(--fg-primary); }

/* Settings panel: a wider popover in the same spot as the dropdown. */
.eum__panel[b-3e0d9m4cxl] {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 1200;
    width: 320px;
    padding: 10px;
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.eum__panel-head[b-3e0d9m4cxl] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-subtle);
}

.eum__panel-title[b-3e0d9m4cxl] {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--fg-primary);
}

.eum__panel-close[b-3e0d9m4cxl] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 0;
    background: transparent;
    border-radius: var(--radius-sm);
    color: var(--fg-muted);
    cursor: pointer;
}

.eum__panel-close:hover[b-3e0d9m4cxl] { background: var(--bg-hover); color: var(--fg-primary); }

.eum__toggle[b-3e0d9m4cxl] {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    cursor: pointer;
    margin: 0;
}

.eum__toggle input[b-3e0d9m4cxl] { margin-top: 2px; flex-shrink: 0; }

.eum__toggle-body[b-3e0d9m4cxl] { display: flex; flex-direction: column; gap: 2px; }

.eum__toggle-label[b-3e0d9m4cxl] {
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: var(--fg-primary);
}

.eum__toggle-hint[b-3e0d9m4cxl] {
    font-size: var(--text-xs);
    color: var(--fg-muted);
    line-height: 1.35;
}
/* /Components/UserMenu.razor.rz.scp.css */
/* Fallback cog style when no CogClass is supplied. */
.usermenu__cog[b-daxgs7ftj9] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 0;
    background: transparent;
    border-radius: var(--radius-sm);
    color: var(--fg-secondary);
    cursor: pointer;
}

.usermenu__cog:hover[b-daxgs7ftj9] {
    background: var(--bg-hover);
    color: var(--fg-primary);
}

/* Full-viewport catcher: closes the menu on any outside click. */
.usermenu__backdrop[b-daxgs7ftj9] {
    position: fixed;
    inset: 0;
    z-index: 1190;
    background: transparent;
}

/* Cursor-anchored popover. left/top set to the click point; transform flips it
   toward whichever corner has room (set in code via _flipX/_flipY). */
.usermenu__pop[b-daxgs7ftj9] {
    position: fixed;
    z-index: 1200;
    min-width: 200px;
    padding: 5px;
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.usermenu__head[b-daxgs7ftj9] {
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding: 7px 9px 8px;
    margin-bottom: 3px;
    border-bottom: 1px solid var(--border-subtle);
}

.usermenu__name[b-daxgs7ftj9] {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--fg-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.usermenu__email[b-daxgs7ftj9] {
    font-size: var(--text-xs);
    color: var(--fg-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.usermenu__item[b-daxgs7ftj9] {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    padding: 7px 9px;
    border: 0;
    background: transparent;
    border-radius: var(--radius-sm);
    color: var(--fg-secondary);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    text-align: left;
    cursor: pointer;
}

.usermenu__item svg[b-daxgs7ftj9] {
    flex-shrink: 0;
    color: var(--fg-muted);
}

.usermenu__item:hover[b-daxgs7ftj9] {
    background: var(--bg-hover);
    color: var(--fg-primary);
}

.usermenu__item:hover svg[b-daxgs7ftj9] {
    color: var(--fg-primary);
}

.usermenu__item--danger[b-daxgs7ftj9] {
    color: var(--danger);
}

.usermenu__item--danger svg[b-daxgs7ftj9] {
    color: var(--danger);
}

.usermenu__item--danger:hover[b-daxgs7ftj9] {
    background: var(--danger-bg);
    color: var(--danger);
}

.usermenu__item--danger:hover svg[b-daxgs7ftj9] {
    color: var(--danger);
}

.usermenu__sep[b-daxgs7ftj9] {
    height: 1px;
    margin: 3px 0;
    background: var(--border-subtle);
}
/* /Components/WelcomeTour.razor.rz.scp.css */
.tour-scrim[b-cpkyl7zard] {
    position: fixed;
    inset: 0;
    z-index: 9100; /* above the chat widget bubble (9000), not just --z-dialog */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: var(--scrim);
}

.tour[b-cpkyl7zard] {
    position: relative;
    width: min(440px, 92vw);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    padding: 32px 28px 20px;
    background: var(--bg-raised);
    border-radius: var(--radius-lg);
    box-shadow: var(--elevation-dialog);
    text-align: center;
}

.tour__close[b-cpkyl7zard] {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    padding: 6px;
    border-radius: var(--radius-sm);
    color: var(--fg-muted);
}
.tour__close:hover[b-cpkyl7zard] { color: var(--fg-primary); background: var(--bg-hover); }

.tour__icon[b-cpkyl7zard] {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: var(--accent-subtle);
    color: var(--accent);
}
.tour__icon svg[b-cpkyl7zard] { width: 30px; height: 30px; }

.tour__title[b-cpkyl7zard] {
    margin: 0;
    font-size: var(--text-h3);
    font-weight: var(--weight-semibold);
    color: var(--fg-primary);
}

.tour__body[b-cpkyl7zard] {
    margin: 0;
    font-size: var(--text-sm);
    line-height: 1.55;
    color: var(--fg-secondary);
    min-height: 5.6em; /* tallest step — keeps the dialog height stable across steps */
}
.tour__body strong[b-cpkyl7zard] { color: var(--fg-primary); }

.tour__dots[b-cpkyl7zard] {
    display: flex;
    gap: 8px;
    padding: 2px 0;
}

.tour__dot[b-cpkyl7zard] {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: var(--radius-full);
    background: var(--border-default);
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
}
.tour__dot:hover[b-cpkyl7zard] { background: var(--fg-muted); }
.tour__dot--on[b-cpkyl7zard] { background: var(--accent); transform: scale(1.25); }

.tour__hint[b-cpkyl7zard] {
    margin: 0;
    font-size: var(--text-xs);
    color: var(--fg-muted);
}

.tour__acts[b-cpkyl7zard] {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    width: 100%;
    margin-top: var(--space-3);
}

.tour__spacer[b-cpkyl7zard] { flex: 1; }
/* /Layout/MainLayout.razor.rz.scp.css */
.app-root[b-qpel0ir1uy] {
    min-height: 100vh;
}
/* /Pages/Import.razor.rz.scp.css */
/* Import / upload flow. Built on the design tokens (ds-*.css). Borders-not-boxes, light chrome,
   dark previews only. Scoped to Import.razor. */

/* ----------------------------------------------------------------- SHELL */
.import[b-slj2np75yw] { position: fixed; inset: 0; display: flex; flex-direction: column; min-height: 0; background: var(--bg-app); z-index: 50; }
.import__top[b-slj2np75yw] {
  height: var(--toolbar-height); flex: 0 0 auto; display: flex; align-items: center; gap: var(--space-5);
  padding: 0 var(--space-6); border-bottom: 1px solid var(--border-default); background: var(--bg-surface);
}
.import__back[b-slj2np75yw] { display: inline-flex; align-items: center; gap: var(--space-2); color: var(--fg-secondary); font-size: var(--text-sm); text-decoration: none; padding: var(--space-2) var(--space-3); border-radius: var(--radius-sm); cursor: pointer; border: none; background: none; }
.import__back:hover[b-slj2np75yw] { background: var(--bg-hover); color: var(--fg-primary); }
.import__divider[b-slj2np75yw] { width: 1px; height: 22px; background: var(--border-default); }
.import__title[b-slj2np75yw] { font-weight: var(--weight-semibold); font-size: var(--text-sm); white-space: nowrap; }
.import__source[b-slj2np75yw] { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--fg-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 0 1 auto; }
.import__spacer[b-slj2np75yw] { flex: 1 1 auto; }

.import__body[b-slj2np75yw] { flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; }
.import__inner[b-slj2np75yw] { max-width: 1080px; margin: 0 auto; padding: var(--space-8) var(--space-8) var(--space-12); }

/* shared progress bar */
.progress[b-slj2np75yw] { width: 100%; height: 8px; background: var(--bg-active); border-radius: var(--radius-full); overflow: hidden; }
.progress__fill[b-slj2np75yw] { height: 100%; background: var(--accent); border-radius: var(--radius-full); transition: width var(--duration-base) var(--ease-standard); }
/* Indeterminate: a fixed-width fill sweeps across when there's no Done/Total (the build/save phase). */
.progress--indeterminate .progress__fill[b-slj2np75yw] { width: 40%; animation: progress-indet-b-slj2np75yw 1.1s ease-in-out infinite; }
@keyframes progress-indet-b-slj2np75yw { 0% { transform: translateX(-100%); } 100% { transform: translateX(250%); } }
.imp-spinner[b-slj2np75yw] { width: 40px; height: 40px; border: 3px solid var(--slate-150); border-top-color: var(--accent); border-radius: 50%; animation: imp-spin-b-slj2np75yw 0.8s linear infinite; }
@keyframes imp-spin-b-slj2np75yw { to { transform: rotate(360deg); } }

/* ----------------------------------------------------------------- START / DROPZONE */
.imp-start[b-slj2np75yw] { max-width: 720px; margin: 0 auto; padding: var(--space-11) var(--space-6) var(--space-10); display: flex; flex-direction: column; align-items: center; text-align: center; }
.imp-start__icon[b-slj2np75yw] { width: 64px; height: 64px; border-radius: var(--radius-xl); background: var(--gradient-violet-wash); border: 1px solid var(--border-subtle); display: flex; align-items: center; justify-content: center; color: var(--accent); margin-bottom: var(--space-6); }
.imp-start__title[b-slj2np75yw] { font-size: var(--text-h2); font-weight: var(--weight-semibold); margin-bottom: var(--space-3); }
.imp-start__sub[b-slj2np75yw] { color: var(--fg-muted); max-width: 460px; line-height: 1.6; margin-bottom: var(--space-7); }
.bigdrop[b-slj2np75yw] {
  position: relative; width: 100%; border: 1.5px dashed var(--border-strong); border-radius: var(--radius-lg);
  padding: var(--space-10) var(--space-8); text-align: center; background: var(--bg-surface);
  transition: var(--transition-colors); display: flex; flex-direction: column; align-items: center; gap: var(--space-3);
  cursor: pointer;
}
.bigdrop.is-drag[b-slj2np75yw], .bigdrop:hover[b-slj2np75yw] { border-color: var(--accent); background: var(--accent-subtle); }
.bigdrop__icon[b-slj2np75yw] { color: var(--fg-faint); margin-bottom: var(--space-2); }
.bigdrop.is-drag .bigdrop__icon[b-slj2np75yw], .bigdrop:hover .bigdrop__icon[b-slj2np75yw] { color: var(--accent); }
.bigdrop__hint[b-slj2np75yw] { font-size: var(--text-sm); color: var(--fg-muted); }
.bigdrop__file[b-slj2np75yw] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.imp-or[b-slj2np75yw] { display: flex; align-items: center; gap: var(--space-4); width: 100%; color: var(--fg-faint); font-size: var(--text-xs); margin: var(--space-6) 0; }
.imp-or[b-slj2np75yw]::before, .imp-or[b-slj2np75yw]::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--border-subtle); }

/* ----------------------------------------------------------------- PARSING */
.imp-parse[b-slj2np75yw] { max-width: 560px; margin: 0 auto; padding: var(--space-11) var(--space-6); display: flex; flex-direction: column; align-items: center; text-align: center; }
.imp-parse__title[b-slj2np75yw] { font-size: var(--text-h3); font-weight: var(--weight-semibold); margin: var(--space-6) 0 var(--space-2); }
.imp-parse__sub[b-slj2np75yw] { font-family: var(--font-mono); font-size: var(--text-sm); color: var(--fg-muted); margin-bottom: var(--space-6); }
.imp-parse .progress[b-slj2np75yw] { width: 100%; }
.imp-parse__found[b-slj2np75yw] { width: 100%; margin-top: var(--space-7); display: flex; flex-direction: column; gap: var(--space-3); }
.found-row[b-slj2np75yw] { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-4) var(--space-5); border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); background: var(--bg-surface); font-size: var(--text-sm); text-align: left; animation: foundIn-b-slj2np75yw 560ms cubic-bezier(.16,1,.3,1) both; will-change: transform, opacity; }
.found-row__name[b-slj2np75yw] { font-weight: var(--weight-medium); }
.found-row__meta[b-slj2np75yw] { margin-left: auto; font-family: var(--font-mono); font-size: var(--text-xs); color: var(--fg-faint); }
@keyframes foundIn-b-slj2np75yw { from { opacity: 0; transform: translateY(12px) scale(.99); } to { opacity: 1; transform: none; } }

/* ----------------------------------------------------------------- OVERVIEW HEADER */
.ov-head[b-slj2np75yw] { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-6); margin-bottom: var(--space-3); }
.ov-title[b-slj2np75yw] { font-size: var(--text-h1); font-weight: var(--weight-semibold); }
.ov-sub[b-slj2np75yw] { color: var(--fg-muted); font-size: var(--text-sm); margin-top: var(--space-2); }
.ov-bar[b-slj2np75yw] { display: flex; align-items: center; gap: var(--space-4); margin: var(--space-6) 0; }
.ov-bar__spacer[b-slj2np75yw] { flex: 1 1 auto; }
.casefield[b-slj2np75yw] { display: flex; align-items: center; gap: var(--space-3); }
.casefield__label[b-slj2np75yw] { font-size: var(--text-2xs); font-weight: var(--weight-semibold); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--fg-muted); }
.casefield__input[b-slj2np75yw] { height: 32px; padding: 0 var(--space-4); border: 1px solid var(--border-default); border-radius: var(--radius-sm); font-size: var(--text-sm); background: var(--bg-surface); color: var(--fg-primary); min-width: 280px; }
.casefield__input:focus[b-slj2np75yw] { outline: none; border-color: var(--accent); box-shadow: var(--ring-focus); }

/* segmented control (list / gallery) */
.segmented[b-slj2np75yw] { display: inline-flex; padding: var(--space-1); background: var(--bg-sunken); border: 1px solid var(--border-default); border-radius: var(--radius-sm); gap: 2px; }
.segmented__btn[b-slj2np75yw] { display: inline-flex; align-items: center; gap: var(--space-2); height: 24px; padding: 0 var(--space-4); border: none; background: none; border-radius: var(--radius-xs); font-size: var(--text-xs); font-weight: var(--weight-medium); color: var(--fg-muted); cursor: pointer; transition: var(--transition-colors); }
.segmented__btn:hover[b-slj2np75yw] { color: var(--fg-primary); }
.segmented__btn.is-active[b-slj2np75yw] { background: var(--bg-surface); color: var(--fg-primary); box-shadow: var(--shadow-xs); }

/* study grouping */
.study-group[b-slj2np75yw] { margin-bottom: var(--space-9); }
.study-head[b-slj2np75yw] { position: sticky; top: 0; z-index: var(--z-sticky); display: flex; align-items: center; gap: var(--space-4); padding: var(--space-5) var(--space-2) var(--space-4); margin-bottom: var(--space-5); background: var(--bg-app); border-bottom: 1px solid var(--border-default); }
.study-head .overline[b-slj2np75yw] { flex: 0 0 auto; }
.study-head__title[b-slj2np75yw] { font-size: var(--text-base); font-weight: var(--weight-semibold); color: var(--fg-primary); white-space: nowrap; }
.study-head__meta[b-slj2np75yw] { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--fg-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.study-head__spacer[b-slj2np75yw] { flex: 1 1 auto; }
.study-head__count[b-slj2np75yw] { font-size: var(--text-xs); color: var(--fg-muted); white-space: nowrap; flex: 0 0 auto; }

/* ----------------------------------------------------------------- STACK PREVIEW */
.preview[b-slj2np75yw] { position: relative; background: #06070a; border-radius: var(--radius-sm); overflow: hidden; }
.preview__canvas[b-slj2np75yw] { width: 100%; height: 100%; object-fit: contain; display: block; image-rendering: auto; }
.preview__empty[b-slj2np75yw] { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #3a3f4d; }
.preview__top[b-slj2np75yw] { position: absolute; top: var(--space-3); left: var(--space-3); right: var(--space-3); display: flex; align-items: flex-start; justify-content: space-between; pointer-events: none; }
.preview__idx[b-slj2np75yw] { font-family: var(--font-mono); font-size: var(--text-3xs); color: rgba(230,232,239,.82); background: rgba(6,7,10,.5); padding: 1px 5px; border-radius: var(--radius-xs); }

/* Slice scrubber — fades in on hover; wheel / middle-drag work anywhere over the preview. */
.preview__slider[b-slj2np75yw] { position: absolute; left: var(--space-3); right: var(--space-3); bottom: var(--space-3); width: auto; height: 3px; margin: 0; padding: 0; appearance: none; -webkit-appearance: none; background: rgba(230,232,239,.22); border-radius: 2px; outline: none; opacity: 0; transition: opacity .12s ease; cursor: pointer; }
.preview:hover .preview__slider[b-slj2np75yw] { opacity: 1; }
.preview__slider[b-slj2np75yw]::-webkit-slider-thumb { -webkit-appearance: none; width: 11px; height: 11px; border-radius: 50%; background: #e6e8ef; border: 0; box-shadow: 0 0 0 1px rgba(6,7,10,.6); cursor: pointer; }
.preview__slider[b-slj2np75yw]::-moz-range-thumb { width: 11px; height: 11px; border-radius: 50%; background: #e6e8ef; border: 0; box-shadow: 0 0 0 1px rgba(6,7,10,.6); cursor: pointer; }

/* modality chip — high-contrast, monochrome */
.modality[b-slj2np75yw] { display: inline-flex; align-items: center; gap: var(--space-2); height: 20px; padding: 0 var(--space-3); border-radius: var(--radius-xs); background: var(--slate-900); color: #fff; font-size: var(--text-2xs); font-weight: var(--weight-bold); letter-spacing: var(--tracking-wide); }
.modality svg[b-slj2np75yw] { width: 12px; height: 12px; }
.modality--mr[b-slj2np75yw] { background: var(--slate-700); }

/* phase label with guessed hint */
.phase[b-slj2np75yw] { display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--fg-primary); white-space: nowrap; }
.phase__guess[b-slj2np75yw] { display: inline-flex; align-items: center; gap: 3px; font-size: var(--text-2xs); color: var(--accent-fg); background: var(--accent-subtle); padding: 1px var(--space-3); border-radius: var(--radius-full); font-weight: var(--weight-semibold); }

/* ----------------------------------------------------------------- METADATA */
.meta-grid[b-slj2np75yw] { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--space-2) var(--space-6); }
.meta[b-slj2np75yw] { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.meta__k[b-slj2np75yw] { display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--text-2xs); font-weight: var(--weight-semibold); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--fg-muted); }
.meta__v[b-slj2np75yw] { font-family: var(--font-mono); font-size: var(--text-sm); color: var(--fg-primary); font-variant-numeric: tabular-nums; }
.meta__v.is-warn[b-slj2np75yw] { color: var(--warning-fg); }

/* hint info icon + tooltip */
.hint[b-slj2np75yw] { position: relative; display: inline-flex; color: var(--fg-faint); cursor: help; }
.hint:hover[b-slj2np75yw] { color: var(--accent); }
.hint__pop[b-slj2np75yw] { position: absolute; bottom: calc(100% + 6px); left: -8px; width: 232px; padding: var(--space-4) var(--space-5); background: var(--slate-900); color: var(--slate-50); font-size: var(--text-xs); font-weight: var(--weight-regular); line-height: 1.5; letter-spacing: 0; text-transform: none; border-radius: var(--radius-sm); box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(3px); transition: opacity var(--duration-fast) var(--ease-standard), transform var(--duration-fast) var(--ease-standard); z-index: var(--z-tooltip); pointer-events: none; }
.hint:hover .hint__pop[b-slj2np75yw] { opacity: 1; visibility: visible; transform: none; }

/* warnings */
.warn[b-slj2np75yw] { display: flex; align-items: flex-start; gap: var(--space-3); padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm); font-size: var(--text-xs); line-height: 1.45; }
.warn--warning[b-slj2np75yw] { background: var(--warning-bg); color: var(--warning-fg); }
.warn--danger[b-slj2np75yw] { background: var(--danger-bg); color: var(--danger-fg); }
.warn--info[b-slj2np75yw] { background: var(--bg-sunken); color: var(--fg-secondary); }
.warn svg[b-slj2np75yw] { flex: 0 0 auto; margin-top: 1px; }
.warn__label[b-slj2np75yw] { font-weight: var(--weight-semibold); }

/* ----------------------------------------------------------------- LIST VARIANT */
.stack-list[b-slj2np75yw] { display: flex; flex-direction: column; gap: var(--space-4); }
.stack-row[b-slj2np75yw] {
  display: grid; grid-template-columns: 168px 1fr auto; gap: var(--space-6); align-items: stretch;
  padding: var(--space-5); background: var(--bg-surface); border: 1px solid var(--border-default);
  border-radius: var(--radius-md); box-shadow: var(--elevation-card); transition: var(--transition-colors);
}
.stack-row.is-selected[b-slj2np75yw] { border-color: var(--border-accent); box-shadow: var(--ring-selected), var(--elevation-card); background: var(--bg-selected); }
.stack-row.is-disabled[b-slj2np75yw] { opacity: .72; }
.stack-row__pv[b-slj2np75yw] { width: 168px; }
.stack-row .preview[b-slj2np75yw] { height: 116px; }
.stack-row__info[b-slj2np75yw] { min-width: 0; display: flex; flex-direction: column; gap: var(--space-4); }
.stack-row__head[b-slj2np75yw] { display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; }
.stack-row__name[b-slj2np75yw] { font-size: var(--text-base); font-weight: var(--weight-semibold); color: var(--fg-primary); }
.stack-row__series[b-slj2np75yw] { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--fg-faint); white-space: nowrap; }
.stack-row__aside[b-slj2np75yw] { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: var(--space-4); flex: 0 0 auto; }

/* recommended ribbon */
.rec[b-slj2np75yw] { display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--text-2xs); font-weight: var(--weight-semibold); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--success-fg); }
.rec svg[b-slj2np75yw] { width: 12px; height: 12px; }

/* big select control */
.selbox[b-slj2np75yw] { display: inline-flex; align-items: center; gap: var(--space-3); height: 32px; padding: 0 var(--space-5) 0 var(--space-4); border: 1px solid var(--border-default); border-radius: var(--radius-full); background: var(--bg-surface); font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--fg-secondary); cursor: pointer; transition: var(--transition-colors); white-space: nowrap; }
.selbox:hover[b-slj2np75yw] { border-color: var(--border-strong); color: var(--fg-primary); }
.selbox.is-on[b-slj2np75yw] { background: var(--accent); border-color: var(--accent); color: #fff; }
.selbox.is-on:hover[b-slj2np75yw] { background: var(--accent-hover); border-color: var(--accent-hover); }
.selbox__tick[b-slj2np75yw] { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--border-strong); display: flex; align-items: center; justify-content: center; color: transparent; flex: 0 0 auto; }
.selbox.is-on .selbox__tick[b-slj2np75yw] { border-color: #fff; color: var(--accent); background: #fff; }

/* reference toggle */
.refbtn[b-slj2np75yw] { display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--text-xs); color: var(--fg-muted); background: none; border: none; cursor: pointer; padding: var(--space-2) 0; }
.refbtn:hover[b-slj2np75yw] { color: var(--accent-fg); }
.refbtn.is-ref[b-slj2np75yw] { color: var(--accent-fg); font-weight: var(--weight-medium); }

/* ----------------------------------------------------------------- GALLERY VARIANT */
.stack-grid[b-slj2np75yw] { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: var(--space-5); }
.stack-card[b-slj2np75yw] { display: flex; flex-direction: column; background: var(--bg-surface); border: 1px solid var(--border-default); border-radius: var(--radius-md); box-shadow: var(--elevation-card); overflow: hidden; transition: var(--transition-colors); }
.stack-card.is-selected[b-slj2np75yw] { border-color: var(--border-accent); box-shadow: var(--ring-selected), var(--elevation-card); }
.stack-card.is-disabled[b-slj2np75yw] { opacity: .72; }
.stack-card .preview[b-slj2np75yw] { height: 184px; border-radius: 0; }
.stack-card__body[b-slj2np75yw] { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-4); flex: 1 1 auto; }
.stack-card__head[b-slj2np75yw] { display: flex; align-items: flex-start; gap: var(--space-3); }
.stack-card__title[b-slj2np75yw] { min-width: 0; flex: 1 1 auto; }
.stack-card__foot[b-slj2np75yw] { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-4) var(--space-5); border-top: 1px solid var(--border-subtle); background: var(--bg-sunken); }

/* ----------------------------------------------------------------- SINGLE-STACK VALIDATE */
.validate[b-slj2np75yw] { max-width: 760px; margin: 0 auto; }
.validate__card[b-slj2np75yw] { display: grid; grid-template-columns: 280px 1fr; gap: var(--space-7); padding: var(--space-7); background: var(--bg-surface); border: 1px solid var(--border-default); border-radius: var(--radius-lg); box-shadow: var(--elevation-card); }
.validate__pv .preview[b-slj2np75yw] { height: 280px; }
.validate__body[b-slj2np75yw] { display: flex; flex-direction: column; gap: var(--space-5); min-width: 0; }
.checklist[b-slj2np75yw] { display: flex; flex-direction: column; gap: var(--space-3); }
.checkitem[b-slj2np75yw] { display: flex; align-items: flex-start; gap: var(--space-3); font-size: var(--text-sm); line-height: 1.45; color: var(--fg-secondary); }
.checkitem > span:last-child[b-slj2np75yw] { flex: 1 1 auto; min-width: 0; }
.checkitem__ic[b-slj2np75yw] { width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.checkitem__ic--ok[b-slj2np75yw] { background: var(--success-bg); color: var(--success-fg); }
.checkitem__ic--warn[b-slj2np75yw] { background: var(--warning-bg); color: var(--warning-fg); }
.checkitem strong[b-slj2np75yw] { color: var(--fg-primary); font-weight: var(--weight-medium); }

/* ----------------------------------------------------------------- FOOTER CREATE BAR */
.imp-foot[b-slj2np75yw] { position: sticky; bottom: 0; flex: 0 0 auto; display: flex; align-items: center; gap: var(--space-5); padding: var(--space-5) var(--space-8); border-top: 1px solid var(--border-default); background: color-mix(in srgb, var(--bg-surface) 92%, transparent); backdrop-filter: blur(8px); }
.imp-foot__summary[b-slj2np75yw] { font-size: var(--text-sm); color: var(--fg-secondary); white-space: nowrap; }
.imp-foot__summary strong[b-slj2np75yw] { color: var(--fg-primary); font-weight: var(--weight-semibold); }
.imp-foot__spacer[b-slj2np75yw] { flex: 1 1 auto; }

@media (prefers-reduced-motion: reduce) {
  .found-row[b-slj2np75yw], .progress__fill[b-slj2np75yw], .hint__pop[b-slj2np75yw] { animation: none; transition: none; }
}
/* /Pages/Labeling/Import.razor.rz.scp.css */
.lbl-import__schema[b-gpa7xbqa2y] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    margin: 0.25rem 0 1rem;
}

.lbl-import__schema-label[b-gpa7xbqa2y] {
    font-size: var(--text-xs);
    color: var(--fg-muted);
    margin-right: 0.25rem;
}

.lbl-chip[b-gpa7xbqa2y] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    background: var(--bg-subtle, #f1f3f5);
    font-size: var(--text-xs);
    white-space: nowrap;
}

.lbl-chip__dot[b-gpa7xbqa2y] {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    display: inline-block;
}

.lbl-import__affix[b-gpa7xbqa2y] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
}
.lbl-import__affix .field--sm[b-gpa7xbqa2y] { width: 10rem; }

.lbl-import__pickers[b-gpa7xbqa2y] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.lbl-import__ignored[b-gpa7xbqa2y] {
    margin: 0.25rem 0 0.75rem;
    font-size: var(--text-xs);
    color: var(--fg-muted);
}

.lbl-import__ignored ul[b-gpa7xbqa2y] {
    margin: 0.25rem 0 0 1.25rem;
    max-height: 8rem;
    overflow: auto;
}

.lbl-import__table[b-gpa7xbqa2y] {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.5rem;
    font-size: var(--text-sm);
}

.lbl-import__table th[b-gpa7xbqa2y],
.lbl-import__table td[b-gpa7xbqa2y] {
    text-align: left;
    padding: 0.4rem 0.5rem;
    border-bottom: 1px solid var(--border, #e9ecef);
    vertical-align: top;
}

.lbl-import__table thead th[b-gpa7xbqa2y] {
    font-size: var(--text-xs);
    color: var(--fg-muted);
    font-weight: 600;
}

.lbl-import__col-inc[b-gpa7xbqa2y] {
    width: 1.5rem;
}

.lbl-import__table tr.is-excluded[b-gpa7xbqa2y] {
    opacity: 0.45;
}

.lbl-import__file[b-gpa7xbqa2y] {
    font-family: var(--font-mono, monospace);
    font-size: var(--text-xs);
    word-break: break-all;
    max-width: 16rem;
}

.lbl-import__remap[b-gpa7xbqa2y] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 0.3rem;
}

.lbl-import__remap-row[b-gpa7xbqa2y] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: var(--text-xs);
}

.lbl-import__remap-row.is-unknown .lbl-import__src[b-gpa7xbqa2y] {
    color: var(--danger-fg, #c92a2a);
    font-weight: 700;
}

.lbl-import__src[b-gpa7xbqa2y] {
    display: inline-block;
    min-width: 1.25rem;
    text-align: right;
    font-family: var(--font-mono, monospace);
}

.field--sm[b-gpa7xbqa2y] {
    padding: 0.2rem 0.4rem;
    font-size: var(--text-xs);
    max-width: 12rem;
}

.lbl-import__result-row td[b-gpa7xbqa2y] {
    padding-top: 0.2rem;
    border-bottom: 1px solid var(--border, #e9ecef);
}

.lbl-import__result-row .lbl-form__hint[b-gpa7xbqa2y] {
    margin-left: 0.5rem;
}
/* /Pages/Settings.razor.rz.scp.css */
.settings[b-ilm48vcmlj] {
    min-height: 100%;
    display: flex;
    justify-content: center;
    padding: 48px 20px;
    background: var(--bg-app);
}

.settings__panel[b-ilm48vcmlj] {
    width: 100%;
    max-width: 36rem;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.settings__head[b-ilm48vcmlj] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.settings__back[b-ilm48vcmlj] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid var(--border-default);
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    color: var(--fg-secondary);
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
}

.settings__back:hover[b-ilm48vcmlj] {
    background: var(--bg-hover);
    color: var(--fg-primary);
}

.settings__title[b-ilm48vcmlj] {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--fg-primary);
}

.settings__section[b-ilm48vcmlj] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
}

.settings__h2[b-ilm48vcmlj] {
    margin: 0;
    font-size: var(--text-2xs);
    text-transform: uppercase;
    letter-spacing: var(--tracking-caps);
    color: var(--fg-muted);
    font-weight: var(--weight-semibold);
}

.settings__hint[b-ilm48vcmlj] {
    margin: 0;
    font-size: var(--text-xs);
    color: var(--fg-muted);
}

/* Theme picker — three equal-width segmented cards (Light / Dark / System). */
.themepick[b-ilm48vcmlj] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.themepick__opt[b-ilm48vcmlj] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 8px;
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    background: var(--bg-surface);
    color: var(--fg-secondary);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    cursor: pointer;
    transition: var(--transition-colors);
}

.themepick__opt:hover[b-ilm48vcmlj] {
    border-color: var(--border-strong);
    background: var(--bg-hover);
    color: var(--fg-primary);
}

.themepick__opt.is-active[b-ilm48vcmlj] {
    border-color: var(--border-accent);
    background: var(--bg-selected);
    color: var(--accent-fg);
    box-shadow: var(--ring-selected);
}

.themepick__opt:focus-visible[b-ilm48vcmlj] {
    outline: none;
    box-shadow: var(--ring-focus);
}

.themepick__icon[b-ilm48vcmlj] {
    display: inline-flex;
    color: var(--fg-muted);
}

.themepick__opt.is-active .themepick__icon[b-ilm48vcmlj] {
    color: var(--accent);
}

.settings__row[b-ilm48vcmlj] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.settings__avatar[b-ilm48vcmlj] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--gradient-brand);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.settings__id[b-ilm48vcmlj] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1 1 auto;
}

.settings__name[b-ilm48vcmlj] {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--fg-primary);
}

.settings__email[b-ilm48vcmlj] {
    font-size: var(--text-xs);
    color: var(--fg-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.settings__role[b-ilm48vcmlj] {
    flex-shrink: 0;
    font-size: var(--text-2xs);
    font-weight: var(--weight-bold);
    letter-spacing: var(--tracking-caps);
    text-transform: uppercase;
    color: var(--accent-fg);
    background: var(--accent-subtle);
    border-radius: var(--radius-full);
    padding: 2px 9px;
}

.settings__action[b-ilm48vcmlj] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid var(--border-default);
    border-radius: var(--radius-sm);
    background: var(--bg-app);
    color: inherit;
    text-decoration: none;
}

button.settings__action[b-ilm48vcmlj] {
    width: 100%;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.settings__action:hover[b-ilm48vcmlj] {
    background: var(--bg-hover);
    border-color: var(--border-strong);
}

.settings__action-text[b-ilm48vcmlj] {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
}

.settings__action-title[b-ilm48vcmlj] {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--fg-primary);
}

.settings__action-sub[b-ilm48vcmlj] {
    font-size: var(--text-xs);
    color: var(--fg-muted);
}

.settings__chev[b-ilm48vcmlj] {
    flex-shrink: 0;
    color: var(--fg-muted);
    font-size: 16px;
}
