/* /Components/Dashboard/ActiveManuscriptsTable.razor.rz.scp.css */
.card-head[b-upkolr0wpz] { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.view-all[b-upkolr0wpz] { font-size: .85rem; color: var(--brand-primary); text-decoration: none; }

.ms-table[b-upkolr0wpz] { width: 100%; border-collapse: collapse; font-size: .9rem; }
.ms-table th[b-upkolr0wpz] {
    text-align: left;
    font-weight: 600;
    color: var(--text-muted);
    padding: 8px 10px;
    border-bottom: 1px solid var(--border);
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.ms-table td[b-upkolr0wpz] { padding: 12px 10px; border-bottom: 1px solid var(--border); }
.ms-table tr:last-child td[b-upkolr0wpz] { border-bottom: none; }
.title-cell[b-upkolr0wpz] { font-weight: 600; color: var(--text-primary); }
/* /Components/Dashboard/AiInsightsPanel.razor.rz.scp.css */
.card-head[b-ucwjvklyai] { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.insight-count[b-ucwjvklyai] { font-size: .8rem; color: var(--text-muted); }

.insight-list[b-ucwjvklyai] { display: flex; flex-direction: column; gap: 10px; }

.insight[b-ucwjvklyai] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    position: relative;
}

.insight.warn[b-ucwjvklyai] { background: #fff7ed; border-color: #fed7aa; }
.insight.info[b-ucwjvklyai] { background: var(--brand-primary-50); border-color: #ddd6fe; }

.insight-icon[b-ucwjvklyai] { font-size: 1.1rem; margin-top: 2px; }
.insight.warn .insight-icon[b-ucwjvklyai] { color: var(--status-review); }
.insight.info .insight-icon[b-ucwjvklyai] { color: var(--brand-primary); }

.insight-body[b-ucwjvklyai] { flex: 1; }
.insight-title[b-ucwjvklyai] { font-weight: 600; font-size: .9rem; }
.insight-text[b-ucwjvklyai] { font-size: .85rem; color: var(--text-muted); }

.dismiss[b-ucwjvklyai] { background: transparent; border: none; color: var(--text-muted); cursor: pointer; font-size: 1rem; }
/* /Components/Dashboard/CreditBalanceWidget.razor.rz.scp.css */
.balance-widget[b-8s5t5nf44b] { display: flex; flex-direction: column; gap: 6px; }
.balance-number[b-8s5t5nf44b] { font-size: 2.4rem; font-weight: 800; color: var(--brand-primary); line-height: 1.1; }
.balance-sub[b-8s5t5nf44b] { color: var(--text-muted); font-size: .85rem; }
.pending[b-8s5t5nf44b] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .85rem;
    color: var(--text-muted);
    background: var(--surface-muted);
    border-radius: 10px;
    padding: 10px 12px;
    margin: 8px 0;
}
/* /Components/Dashboard/NarrativeTimeline.razor.rz.scp.css */
.card-head[b-9qxh0tn8z2] { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }

.timeline[b-9qxh0tn8z2] { display: flex; flex-direction: column; gap: 8px; }

.timeline-head[b-9qxh0tn8z2], .timeline-row[b-9qxh0tn8z2] {
    display: grid;
    grid-template-columns: 140px repeat(3, 1fr);
    align-items: center;
    gap: 8px;
}

.timeline-head .act-col[b-9qxh0tn8z2] {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--text-muted);
    text-align: center;
}

.track-label[b-9qxh0tn8z2] { font-size: .85rem; font-weight: 600; color: var(--text-primary); }

.act-cell[b-9qxh0tn8z2] { height: 22px; display: flex; align-items: center; }

.bar[b-9qxh0tn8z2] { height: 10px; width: 100%; border-radius: 999px; }
.bar-primary[b-9qxh0tn8z2] { background: var(--brand-primary); }
.bar-green[b-9qxh0tn8z2] { background: var(--status-drafting); }
.bar-amber[b-9qxh0tn8z2] { background: var(--status-review); }
.bar-blue[b-9qxh0tn8z2] { background: #3b82f6; }
/* /Components/Dashboard/QuickImportCard.razor.rz.scp.css */
.quick-import[b-x02xyp752x] { display: flex; flex-direction: column; gap: 10px; }

.dropzone[b-x02xyp752x] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 2px dashed var(--border);
    border-radius: 12px;
    padding: 28px 16px;
    text-align: center;
    cursor: pointer;
    position: relative;
    transition: border-color .15s, background .15s;
}

.dropzone:hover[b-x02xyp752x] { border-color: var(--brand-primary); background: var(--brand-primary-50); }

.dropzone-input[b-x02xyp752x] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.dropzone-icon[b-x02xyp752x] { font-size: 1.8rem; color: var(--brand-primary); }
.dropzone-text[b-x02xyp752x] { font-weight: 600; color: var(--text-primary); }
.dropzone-hint[b-x02xyp752x] { font-size: .8rem; color: var(--text-muted); }

.quick-actions[b-x02xyp752x] { display: flex; gap: 8px; margin-top: 4px; }
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.app-shell[b-x52at0dc7d] {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
}

.app-shell--no-nav[b-x52at0dc7d] {
    grid-template-columns: 1fr;
}

.app-main[b-x52at0dc7d] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.app-content[b-x52at0dc7d] {
    padding: 24px;
    background: var(--surface-muted);
    flex: 1;
    min-width: 0;
}

@media (max-width: 900px) {
    .app-shell[b-x52at0dc7d] { grid-template-columns: 1fr; }
    .app-content[b-x52at0dc7d] { padding: 16px; }
}
/* /Components/Layout/SidebarNav.razor.rz.scp.css */
.sidebar-nav[b-cn35bg1sx3] {
    background: var(--sidebar-bg);
    color: var(--sidebar-text);
    height: 100vh;
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    padding: 18px 14px;
    overflow-y: auto;
}

.brand[b-cn35bg1sx3] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px 18px 10px;
    font-weight: 700;
    font-size: 1.05rem;
    color: #fff;
}

.brand-logo[b-cn35bg1sx3] {
    height: 28px;
    width: auto;
    object-fit: contain;
}

.brand-pro[b-cn35bg1sx3] {
    color: var(--brand-primary);
}

.nav-section[b-cn35bg1sx3] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.nav-footer[b-cn35bg1sx3] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding-top: 10px;
    margin-top: 10px;
}

.build-number[b-cn35bg1sx3] {
    position: sticky;
    bottom: -18px;
    flex-shrink: 0;
    margin: auto -14px -18px;
    padding: 10px 14px 12px;
    background: var(--sidebar-bg);
    border-top: 1px solid rgba(255, 255, 255, .08);
    color: var(--sidebar-text);
    font-size: .72rem;
    text-align: center;
    opacity: .72;
}

[b-cn35bg1sx3] .nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--sidebar-text);
    text-decoration: none;
    font-size: .92rem;
    transition: background .15s, color .15s;
}

[b-cn35bg1sx3] .nav-item .bi {
    font-size: 1.05rem;
    width: 20px;
    text-align: center;
}

[b-cn35bg1sx3] .nav-item:hover {
    background: rgba(255, 255, 255, .06);
    color: var(--sidebar-text-active);
}

[b-cn35bg1sx3] .nav-item.active {
    background: var(--brand-primary);
    color: #fff;
}
/* /Components/Layout/TopBar.razor.rz.scp.css */
.top-bar[b-odyt01extp] {
    height: 64px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.project-select[b-odyt01extp] {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 8px 12px;
    font-size: .9rem;
    background: var(--surface);
    color: var(--text-primary);
    min-width: 220px;
}

.top-left form[b-odyt01extp] {
    margin: 0;
}

.project-select-error[b-odyt01extp] {
    margin-left: 8px;
    color: #d9534f;
}

/* Modal spinner shown while a newly selected project is loading. Toggled by
   adding the `show` class on the select's onchange, then reset to hidden when
   the enhanced form post swaps in the server-rendered DOM. */
.project-loading-overlay[b-odyt01extp] {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(15, 23, 42, .45);
    align-items: center;
    justify-content: center;
}

.project-loading-overlay.show[b-odyt01extp] {
    display: flex;
}

.project-loading-box[b-odyt01extp] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px 36px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .25);
}

.project-loading-spinner[b-odyt01extp] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 4px solid var(--border);
    border-top-color: var(--brand-primary);
    animation: project-loading-spin-b-odyt01extp .8s linear infinite;
}

.project-loading-text[b-odyt01extp] {
    font-size: .9rem;
    font-weight: 600;
    color: var(--text-primary);
}

@keyframes project-loading-spin-b-odyt01extp {
    to { transform: rotate(360deg); }
}

.top-right[b-odyt01extp] {
    display: flex;
    align-items: center;
    gap: 14px;
}

.icon-btn[b-odyt01extp] {
    position: relative;
    border: none;
    background: transparent;
    font-size: 1.2rem;
    color: var(--text-muted);
    cursor: pointer;
}

.badge-dot[b-odyt01extp] {
    position: absolute;
    top: 2px;
    right: 0;
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
}

.signin-btn[b-odyt01extp] {
    background: var(--brand-primary);
    color: #fff;
    border-radius: 10px;
    padding: 8px 16px;
    text-decoration: none;
    font-size: .9rem;
    font-weight: 600;
}

.signup-btn[b-odyt01extp] {
    background: var(--brand-primary);
    color: #fff;
    border-radius: 10px;
    padding: 8px 16px;
    text-decoration: none;
    font-size: .9rem;
    font-weight: 600;
}

.user-menu[b-odyt01extp] {
    position: relative;
}

.avatar[b-odyt01extp] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--brand-primary);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.user-dropdown[b-odyt01extp] {
    display: none;
    position: absolute;
    right: 0;
    top: 46px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: var(--shadow-card);
    min-width: 160px;
    padding: 6px;
    flex-direction: column;
    gap: 2px;
}

/* Transparent bridge to close the gap between the avatar and the dropdown
   so the pointer keeps :hover while moving down onto the menu items. */
.user-dropdown[b-odyt01extp]::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -10px;
    height: 10px;
    background: transparent;
}

.user-menu:hover .user-dropdown[b-odyt01extp],
.user-dropdown:hover[b-odyt01extp] {
    display: flex;
}

.user-dropdown a[b-odyt01extp],
.user-dropdown button[b-odyt01extp] {
    text-align: left;
    background: transparent;
    border: none;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: .9rem;
    color: var(--text-primary);
    text-decoration: none;
    cursor: pointer;
}

.user-dropdown a:hover[b-odyt01extp],
.user-dropdown button:hover[b-odyt01extp] {
    background: var(--surface-muted);
}
/* /Components/Pages/Admin/AdminFileProcesses.razor.rz.scp.css */
.file-processes-toolbar[b-tsxwii3sh9] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.import-summary-strip[b-tsxwii3sh9] {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 0.75rem 1rem;
    margin-bottom: 0.75rem;
    border: 1px solid #dfe3ea;
    border-radius: 6px;
    background: #f8f9fb;
}

.import-summary-strip__item[b-tsxwii3sh9] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.import-summary-strip__label[b-tsxwii3sh9] {
    color: var(--asb-muted, #6b7280);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.import-summary-strip__value[b-tsxwii3sh9] {
    font-size: 1.05rem;
}

.import-summary-strip__value.is-warning[b-tsxwii3sh9] {
    color: #b45309;
}

.file-processes-toolbar__hint[b-tsxwii3sh9] {
    margin-left: auto;
    color: var(--asb-muted, #6b7280);
    font-size: 0.8rem;
}

.file-processes-grid[b-tsxwii3sh9] {
    max-width: 100%;
    overflow-x: auto;
    border: 1px solid #dfe3ea;
    border-radius: 6px;
    background: #fff;
}

.file-processes-grid:focus-visible[b-tsxwii3sh9] {
    outline: 2px solid #6046ff;
    outline-offset: 2px;
}

[b-tsxwii3sh9] .rz-data-grid {
    border: 0;
}

[b-tsxwii3sh9] .rz-grid-table thead th {
    color: #273043;
    font-weight: 700;
}

[b-tsxwii3sh9] .rz-grid-table tbody tr:nth-child(even) td {
    background-color: #f8fafc;
}

[b-tsxwii3sh9] .rz-grid-table tbody tr:hover td {
    background-color: #eef2ff;
}

.file-name[b-tsxwii3sh9] {
    display: block;
    overflow: hidden;
    color: #1f2937;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.process-status[b-tsxwii3sh9] {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    padding: 0.18rem 0.5rem;
    border: 1px solid #c7d2fe;
    border-radius: 999px;
    background: #eef2ff;
    color: #3730a3;
    font-size: 0.75rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.error-state[b-tsxwii3sh9] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: #28734b;
    font-weight: 700;
}

.error-state--yes[b-tsxwii3sh9] {
    color: #b42318;
}

.not-recorded[b-tsxwii3sh9] {
    color: #6b7280;
    font-style: italic;
}

.blob-download[b-tsxwii3sh9] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    min-width: 0;
    color: #2546a8;
    font-weight: 600;
    text-decoration: none;
}

.blob-download:hover[b-tsxwii3sh9],
.blob-download:focus-visible[b-tsxwii3sh9] {
    color: #173487;
    text-decoration: underline;
}

.blob-download__name[b-tsxwii3sh9] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 700px) {
    .file-processes-toolbar[b-tsxwii3sh9] {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .file-processes-toolbar__hint[b-tsxwii3sh9] {
        flex-basis: 100%;
        margin-left: 0;
    }
}
/* /Components/Pages/Billing.razor.rz.scp.css */
.billing-header[b-404dijezvh] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.dash-title[b-404dijezvh] { font-size: 1.6rem; font-weight: 800; margin: 0; }

.balance-pill[b-404dijezvh] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 14px 20px;
    min-width: 200px;
}

.balance-figure[b-404dijezvh] { font-size: 1.6rem; font-weight: 800; color: var(--brand-primary); }
.balance-figure small[b-404dijezvh] { font-size: .8rem; color: var(--text-muted); font-weight: 600; }

section.card-surface[b-404dijezvh] { margin-bottom: 18px; }

.offering-grid[b-404dijezvh] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 14px;
}

.offering[b-404dijezvh] {
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.offering.popular[b-404dijezvh] { border-color: var(--brand-primary); box-shadow: 0 0 0 2px var(--brand-primary-50); }

.popular-badge[b-404dijezvh] {
    position: absolute;
    top: -10px;
    right: 16px;
    background: var(--brand-primary);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
}

.offering-name[b-404dijezvh] { font-size: 1.1rem; font-weight: 700; margin: 0; }
.offering-credits[b-404dijezvh] { font-size: 1.6rem; font-weight: 800; color: var(--text-primary); }
.offering-credits span[b-404dijezvh] { font-size: .85rem; color: var(--text-muted); font-weight: 600; margin-left: 4px; }
.offering-desc[b-404dijezvh] { color: var(--text-muted); font-size: .85rem; flex: 1; }
.offering-price[b-404dijezvh] { font-size: 1.3rem; font-weight: 800; color: var(--brand-primary); }

.page-estimate-note[b-404dijezvh] { margin: 14px 0 0; }

.balance-breakdown[b-404dijezvh] {
    display: grid;
    grid-template-columns: repeat(4, minmax(130px, 1fr));
    gap: 10px 18px;
    margin: 12px 0;
}

.balance-breakdown span[b-404dijezvh] { display: flex; flex-direction: column; color: var(--text-muted); font-size: .82rem; }
.balance-breakdown strong[b-404dijezvh] { color: var(--text-primary); font-size: 1.05rem; }

.billing-lower[b-404dijezvh] {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 18px;
    align-items: start;
}

.entity[b-404dijezvh] { display: grid; grid-template-columns: 1fr; gap: 4px; margin: 12px 0; }
.entity dt[b-404dijezvh] { font-size: .78rem; text-transform: uppercase; letter-spacing: .03em; color: var(--text-muted); margin-top: 8px; }
.entity dd[b-404dijezvh] { margin: 0; font-weight: 600; }

.card-head[b-404dijezvh] { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }

.ms-table[b-404dijezvh] { width: 100%; border-collapse: collapse; font-size: .88rem; }
.ms-table th[b-404dijezvh] { text-align: left; font-weight: 600; color: var(--text-muted); padding: 8px 10px; border-bottom: 1px solid var(--border); font-size: .78rem; text-transform: uppercase; }
.ms-table td[b-404dijezvh] { padding: 10px; border-bottom: 1px solid var(--border); }
.credit-pos[b-404dijezvh] { color: var(--status-drafting); font-weight: 700; }
.credit-neg[b-404dijezvh] { color: #ef4444; font-weight: 700; }

.pager[b-404dijezvh] { display: flex; align-items: center; gap: 12px; margin-top: 12px; font-size: .85rem; }

@media (max-width: 1000px) {
    .offering-grid[b-404dijezvh] { grid-template-columns: 1fr; }
    .billing-lower[b-404dijezvh] { grid-template-columns: 1fr; }
    .balance-breakdown[b-404dijezvh] { grid-template-columns: repeat(2, minmax(120px, 1fr)); }
    .ms-table[b-404dijezvh] { display: block; overflow-x: auto; }
}
/* /Components/Pages/Dashboard.razor.rz.scp.css */
.dash-header[b-wgmn5oj9wk] { margin-bottom: 18px; }
.dash-title[b-wgmn5oj9wk] { font-size: 1.6rem; font-weight: 800; margin: 0; }

.dash-grid[b-wgmn5oj9wk] {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 18px;
    align-items: start;
}

.col-main[b-wgmn5oj9wk], .col-side[b-wgmn5oj9wk] { display: flex; flex-direction: column; gap: 18px; }

@media (max-width: 1100px) {
    .dash-grid[b-wgmn5oj9wk] { grid-template-columns: 1fr; }
}
/* /Components/Pages/Dialogs/ImportWizardDialog.razor.rz.scp.css */
/* ── Import wizard: shared ─────────────────────────────── */

.import-wizard[b-29n3vloqcf] {
    min-width: 340px;
}

.import-tiles[b-29n3vloqcf] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 10px;
}

.import-tile[b-29n3vloqcf] {
    border: 1px solid var(--border-color, #e3e6ea);
    border-radius: 12px;
    padding: 12px 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: var(--surface-2, #fafbfc);
}

.import-tile .material-symbols-outlined[b-29n3vloqcf] {
    font-size: 1.6rem;
    color: var(--brand-primary, #6f42c1);
}

.tile-label[b-29n3vloqcf] {
    font-size: .8rem;
    font-weight: 600;
}

.tile-badge[b-29n3vloqcf] {
    font-size: .68rem;
    padding: 1px 8px;
    border-radius: 999px;
    font-weight: 600;
}

.tile-badge.free[b-29n3vloqcf] {
    background: #e6f6ec;
    color: #1a7f4b;
}

.tile-badge.paid[b-29n3vloqcf] {
    background: #f1ecfb;
    color: #6f42c1;
}

.dropzone[b-29n3vloqcf] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 26px 16px;
    border: 2px dashed var(--brand-primary, #6f42c1);
    border-radius: 14px;
    cursor: pointer;
    background: var(--surface-2, #fafbfc);
    transition: background .15s ease;
}

.dropzone:hover[b-29n3vloqcf] {
    background: #f4f0fc;
}

.dropzone-input[b-29n3vloqcf] {
    display: none;
}

.dropzone-icon[b-29n3vloqcf] {
    font-size: 1.8rem;
    color: var(--brand-primary, #6f42c1);
}

.dropzone-text[b-29n3vloqcf] {
    font-weight: 600;
}

.dropzone-hint[b-29n3vloqcf] {
    font-size: .75rem;
    color: #8a8f98;
}

/* ── Estimate phase ────────────────────────────────────── */

.iw-estimate-head[b-29n3vloqcf] {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.iw-file-badge[b-29n3vloqcf] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 14px;
    font-size: 1.4rem;
    color: var(--brand-primary, #6f42c1);
    background: linear-gradient(135deg, #f1ecfb, #e6e0f8);
}

.iw-file-badge.done[b-29n3vloqcf] {
    color: #1a7f4b;
    background: linear-gradient(135deg, #e6f6ec, #d4efdf);
}

.iw-file-badge.error[b-29n3vloqcf] {
    color: #b02a37;
    background: linear-gradient(135deg, #fbebec, #f6d5d8);
}

.iw-title[b-29n3vloqcf] {
    margin: 0;
    font-weight: 700;
}

.iw-subtitle[b-29n3vloqcf] {
    font-size: .85rem;
    color: #8a8f98;
    overflow-wrap: anywhere;
}

.iw-stat-grid[b-29n3vloqcf] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.iw-stat[b-29n3vloqcf] {
    border: 1px solid var(--border-color, #e3e6ea);
    border-radius: 12px;
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: var(--surface-2, #fafbfc);
}

.iw-stat-after[b-29n3vloqcf] {
    border-color: var(--brand-primary, #6f42c1);
    background: #f7f4fd;
}

.iw-stat-wide[b-29n3vloqcf] {
    grid-column: 1 / -1;
}

.iw-stat-label[b-29n3vloqcf] {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #8a8f98;
    display: flex;
    align-items: center;
    gap: 6px;
}

.iw-stat-value[b-29n3vloqcf] {
    font-size: 1.15rem;
    font-weight: 700;
}

.iw-stat-value small[b-29n3vloqcf] {
    font-size: .75rem;
    font-weight: 500;
    color: #8a8f98;
}

.iw-rubric[b-29n3vloqcf] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    border: 1px solid var(--border-color, #e3e6ea);
    border-radius: 12px;
    padding: 10px 14px;
    background: var(--surface-2, #fafbfc);
}

.iw-actions[b-29n3vloqcf] {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.iw-cta[b-29n3vloqcf] {
    padding-inline: 22px;
    border-radius: 10px;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(111, 66, 193, .25);
}

/* ── Tracking phase ────────────────────────────────────── */

.iw-stages[b-29n3vloqcf] {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 4px 0 14px;
    gap: 0;
}

.iw-stage[b-29n3vloqcf] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
}

.iw-stage:not(:first-child)[b-29n3vloqcf]::before {
    content: "";
    position: absolute;
    top: 9px;
    right: 50%;
    width: 100%;
    height: 2px;
    background: var(--border-color, #e3e6ea);
    z-index: 0;
}

.iw-stage.done:not(:first-child)[b-29n3vloqcf]::before,
.iw-stage.active:not(:first-child)[b-29n3vloqcf]::before {
    background: var(--brand-primary, #6f42c1);
}

.iw-stage-dot[b-29n3vloqcf] {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--border-color, #e3e6ea);
    background: #fff;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    color: #fff;
}

.iw-stage.done .iw-stage-dot[b-29n3vloqcf] {
    background: var(--brand-primary, #6f42c1);
    border-color: var(--brand-primary, #6f42c1);
}

.iw-stage.active .iw-stage-dot[b-29n3vloqcf] {
    border-color: var(--brand-primary, #6f42c1);
    box-shadow: 0 0 0 4px rgba(111, 66, 193, .18);
    animation: iw-pulse-b-29n3vloqcf 1.4s ease-in-out infinite;
}

.iw-stage.error .iw-stage-dot[b-29n3vloqcf] {
    border-color: #b02a37;
    background: #b02a37;
}

.iw-stage-label[b-29n3vloqcf] {
    font-size: .7rem;
    color: #8a8f98;
    text-align: center;
}

.iw-stage.active .iw-stage-label[b-29n3vloqcf],
.iw-stage.done .iw-stage-label[b-29n3vloqcf] {
    color: var(--brand-primary, #6f42c1);
    font-weight: 600;
}

@keyframes iw-pulse-b-29n3vloqcf {
    0%, 100% { box-shadow: 0 0 0 3px rgba(111, 66, 193, .12); }
    50% { box-shadow: 0 0 0 7px rgba(111, 66, 193, .22); }
}
/* /Components/Pages/EditStory.razor.rz.scp.css */
.edit-story-root[b-3cit3v4fnb] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: stretch;
    height: calc(100vh - 140px);
    min-height: 480px;
    margin-top: 0.75rem;
}

@media (max-width: 991.98px) {
    .edit-story-root[b-3cit3v4fnb] {
        grid-template-columns: 1fr;
        height: auto;
    }
}

.edit-panel[b-3cit3v4fnb] {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border-token, #e5e7eb);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.edit-panel-header[b-3cit3v4fnb] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-token, #eef0f3);
    margin-bottom: 0.75rem;
}

.edit-eyebrow[b-3cit3v4fnb] {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b7280;
    font-weight: 600;
}

.edit-action-bar[b-3cit3v4fnb] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.75rem;
}

.edit-dirty-pill[b-3cit3v4fnb] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #92400e;
    background: #fef3c7;
    border-radius: 999px;
    padding: 0.2rem 0.6rem;
    margin-right: auto;
}

.edit-story-text[b-3cit3v4fnb] {
    flex: 1 1 auto;
    min-height: 240px;
    width: 100%;
    resize: none;
    border: 1px solid var(--border-token, #e5e7eb);
    border-radius: 8px;
    padding: 0.9rem 1rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.98rem;
    line-height: 1.6;
    color: #1f2937;
    background: #fcfcfd;
    overflow-y: auto;
    white-space: pre-wrap;
}

.edit-chapter-title[b-3cit3v4fnb] {
    margin: 1rem 0 0.5rem;
    font-family: system-ui, sans-serif;
    font-weight: 600;
}

.edit-paragraph[b-3cit3v4fnb] {
    margin: 0 0 0.75rem;
    padding: 0.15rem 0.4rem;
    border-left: 3px solid transparent;
    scroll-margin-top: 1rem;
}

.edit-paragraph.is-active[b-3cit3v4fnb] {
    border-left-color: #7c3aed;
    background: #f5f3ff;
}

.edit-paragraph mark[b-3cit3v4fnb] {
    background: #fde68a;
    padding: 0 0.1rem;
}

.edit-scope-banner[b-3cit3v4fnb] {
    border: 1px solid #ddd6fe;
    background: #f5f3ff;
    border-radius: 8px;
    padding: 0.7rem 0.85rem;
    margin-bottom: 0.75rem;
}

.edit-source-badges[b-3cit3v4fnb] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: 0.35rem;
}

.edit-scope-actions[b-3cit3v4fnb] {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding: 0.4rem 0.5rem;
    border: 1px solid var(--border-token, #e5e7eb);
    border-radius: 10px;
    background: #fff;
}

.edit-occurrence-count[b-3cit3v4fnb] {
    font-size: 0.82rem;
    color: #4b5563;
    white-space: nowrap;
    padding: 0 0.25rem;
}

.edit-badge[b-3cit3v4fnb] {
    font-size: 0.72rem;
    font-weight: 600;
    color: #4c1d95;
    background: #ede9fe;
    border-radius: 999px;
    padding: 0.12rem 0.5rem;
}

.edit-proposal[b-3cit3v4fnb] {
    border: 1px solid var(--border-token, #e5e7eb);
    border-radius: 8px;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    max-height: 45vh;
    overflow-y: auto;
    background: #fff;
}

.edit-proposal-item[b-3cit3v4fnb] {
    border-top: 1px solid #f1f5f9;
    padding-top: 0.6rem;
    margin-top: 0.6rem;
}

.edit-diff-tabs[b-3cit3v4fnb] {
    display: flex;
    gap: 0.25rem;
    border-bottom: 1px solid #e5e7eb;
    margin-top: 0.5rem;
}

.edit-diff-tab[b-3cit3v4fnb] {
    border: none;
    background: none;
    padding: 0.25rem 0.6rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
    border-bottom: 2px solid transparent;
    cursor: pointer;
}

.edit-diff-tab.is-active[b-3cit3v4fnb] {
    color: #4c1d95;
    border-bottom-color: #4c1d95;
}

.edit-diff[b-3cit3v4fnb] {
    white-space: pre-wrap;
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.6;
    margin: 0.5rem 0;
}

.edit-diff-add[b-3cit3v4fnb] {
    background: #dcfce7;
    color: #14532d;
    text-decoration: underline;
}

.edit-diff-del[b-3cit3v4fnb] {
    background: #fee2e2;
    color: #7f1d1d;
    text-decoration: line-through;
}

.edit-recommendations[b-3cit3v4fnb] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding-right: 0.25rem;
    margin-bottom: 0.75rem;
}

.edit-chat-messages[b-3cit3v4fnb] {
    flex: 1 1 auto;
    min-height: 120px;
    overflow-y: auto;
    padding-right: 0.25rem;
    margin-bottom: 0.75rem;
}

.edit-chat-input textarea[b-3cit3v4fnb] {
    resize: none;
}
/* /Components/Pages/Login.razor.rz.scp.css */
.login-wrap[b-7inlpgd9s5] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
}

.login-card[b-7inlpgd9s5] {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 32px;
}

.login-brand[b-7inlpgd9s5] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.login-logo[b-7inlpgd9s5] { width: 72px; height: auto; }

.login-title[b-7inlpgd9s5] {
    margin: 0;
    font-weight: 800;
    font-size: 1.4rem;
    text-align: center;
}

.login-error[b-7inlpgd9s5] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
}

.login-error__close[b-7inlpgd9s5] {
    color: inherit;
    text-decoration: none;
    font-size: 1.25rem;
    line-height: 1;
}

.provider-list[b-7inlpgd9s5] { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }

.provider-btn[b-7inlpgd9s5] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 1px solid;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color .15s, box-shadow .15s;
}

.provider-btn:focus-visible[b-7inlpgd9s5] {
    outline: 2px solid var(--brand-primary);
    outline-offset: 2px;
}

.provider-btn img[b-7inlpgd9s5] { flex-shrink: 0; }

.provider-btn--google[b-7inlpgd9s5] {
    background: #FFFFFF;
    border-color: #747775;
    color: #1F1F1F;
    font-family: Roboto, Arial, sans-serif;
    font-weight: 500;
    font-size: 14px;
}

.provider-btn--google:hover[b-7inlpgd9s5] { background: #F8F9FA; box-shadow: 0 1px 2px rgba(60, 64, 67, .3); }

.provider-btn--microsoft[b-7inlpgd9s5] {
    background: #FFFFFF;
    border-color: #8C8C8C;
    color: #5E5E5E;
    font-family: "Segoe UI Semibold", "Segoe UI", Arial, sans-serif;
    font-weight: 600;
    font-size: 15px;
}

.provider-btn--microsoft:hover[b-7inlpgd9s5] { background: #F3F3F3; }

[data-theme="dark"] .provider-btn--google[b-7inlpgd9s5] {
    background: #131314;
    border-color: #8E918F;
    color: #E3E3E3;
}

[data-theme="dark"] .provider-btn--google:hover[b-7inlpgd9s5] { background: #1F1F20; }

[data-theme="dark"] .provider-btn--microsoft[b-7inlpgd9s5] {
    background: #2F2F2F;
    border-color: #2F2F2F;
    color: #FFFFFF;
}

[data-theme="dark"] .provider-btn--microsoft:hover[b-7inlpgd9s5] { background: #3A3A3A; }

.login-legal[b-7inlpgd9s5] {
    margin: 8px 0 0;
    font-size: .8rem;
    text-align: center;
    color: var(--text-muted, inherit);
}
/* /Components/Pages/Manuscripts.razor.rz.scp.css */
.ms-upload[b-3wuq6glulc] {
    padding: 0;
}

.ms-dropzone[b-3wuq6glulc] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 36px 24px;
    border: 2px dashed var(--border);
    border-radius: var(--radius-card);
    cursor: pointer;
    text-align: center;
    transition: border-color .15s ease, background .15s ease;
}

.ms-dropzone:hover[b-3wuq6glulc] {
    border-color: var(--brand-primary);
    background: var(--brand-primary-50);
}

.ms-dropzone.disabled[b-3wuq6glulc] {
    opacity: .6;
    pointer-events: none;
}

.ms-dropzone[b-3wuq6glulc]  input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
}

.ms-dz-icon[b-3wuq6glulc] {
    font-size: 2rem;
    color: var(--brand-primary);
}

.ms-dz-title[b-3wuq6glulc] {
    font-weight: 600;
    color: var(--text-primary);
}

.ms-upload-note[b-3wuq6glulc] {
    margin: 10px 2px 0;
    line-height: 1.5;
}

.ms-error[b-3wuq6glulc] {
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    background: #fdecec;
    color: #b42318;
    font-size: .9rem;
}

.ms-notice[b-3wuq6glulc] {
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    background: #eaf7ee;
    color: #1a7f37;
    font-size: .9rem;
}

.ms-table[b-3wuq6glulc] {
    width: 100%;
    border-collapse: collapse;
}

.ms-table th[b-3wuq6glulc],
.ms-table td[b-3wuq6glulc] {
    text-align: left;
    padding: 12px 10px;
    border-bottom: 1px solid var(--border);
    font-size: .92rem;
}

.ms-table th[b-3wuq6glulc] {
    color: var(--text-muted);
    font-weight: 600;
}

.ms-table .title-cell[b-3wuq6glulc] {
    font-weight: 600;
    color: var(--text-primary);
}

.ms-file-icon[b-3wuq6glulc] {
    margin-right: 8px;
    color: var(--brand-primary);
}

.ms-actions-col[b-3wuq6glulc] {
    width: 90px;
}

.ms-actions[b-3wuq6glulc] {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.ms-link[b-3wuq6glulc] {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 1.05rem;
    padding: 4px;
    border-radius: 6px;
    text-decoration: none;
    line-height: 1;
}

.ms-link:hover[b-3wuq6glulc] {
    color: var(--brand-primary);
    background: var(--surface-muted);
}

.ms-link.danger:hover[b-3wuq6glulc] {
    color: #b42318;
}

/* ── Share link popover (Feature 13) ───────────────────── */

.ms-share-row > td[b-3wuq6glulc] {
    padding: 0 12px 12px;
}

.ms-share-popover[b-3wuq6glulc] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
}

.ms-share-url[b-3wuq6glulc] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1 1 260px;
    min-width: 220px;
    color: var(--text-muted);
}

.ms-share-url input[b-3wuq6glulc] {
    flex: 1;
    border: 1px solid var(--border-subtle, #d0d5dd);
    border-radius: 6px;
    padding: 6px 8px;
    font-size: .85rem;
    background: var(--surface-muted, #f8f9fb);
    color: var(--text-strong, #101828);
}

.ms-share-actions[b-3wuq6glulc] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}


/* ── In-progress import rows ───────────────────────────── */

.ms-processing-row[b-3wuq6glulc] {
    opacity: .85;
}

.ms-processing[b-3wuq6glulc] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-primary);
    font-weight: 600;
    font-style: italic;
}

.ms-processing-spinner[b-3wuq6glulc] {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--brand-primary);
    border-top-color: transparent;
    animation: ms-spin-b-3wuq6glulc .8s linear infinite;
}

.ms-awaiting[b-3wuq6glulc] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #b45309;
    font-weight: 600;
}

@keyframes ms-spin-b-3wuq6glulc {
    to { transform: rotate(360deg); }
}
/* /Components/Shared/AnimatedStepIndicator/AnimatedStepIndicator.razor.rz.scp.css */
/* Modal backdrop covering the whole viewport */
.step-indicator-backdrop[b-z80s50hux7] {
    position: fixed;
    inset: 0;
    z-index: 1080;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(3px);
    animation: backdrop-fade-b-z80s50hux7 0.25s ease-out;
}

@keyframes backdrop-fade-b-z80s50hux7 {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Modal dialog box */
.step-indicator-modal[b-z80s50hux7] {
    background: #1e293b;
    border: 1px solid rgba(100, 181, 246, 0.25);
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    padding: 1.25rem 1.5rem 1.5rem;
    max-width: 560px;
    width: calc(100% - 2rem);
    animation: modal-pop-b-z80s50hux7 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modal-pop-b-z80s50hux7 {
    from { opacity: 0; transform: translateY(12px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Title bar */
.step-indicator-title[b-z80s50hux7] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.step-indicator-title-text[b-z80s50hux7] {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
}

.step-indicator-counter[b-z80s50hux7] {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(148, 163, 184, 0.9);
    white-space: nowrap;
}

.step-indicator-container[b-z80s50hux7] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0.75rem 0.25rem 0.25rem;
    min-height: 160px;
    overflow: hidden;
    position: relative;
}

/* Scrolling log area inside the modal.
   The container itself does not scroll; each page supplies its own
   scroll region so we never create nested double scrollbars. */
.step-indicator-log[b-z80s50hux7] {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.78rem;
    line-height: 1.4;
    color: rgba(203, 213, 225, 0.92);
}

.step-indicator-log[b-z80s50hux7]  .step-log-scroll {
    max-height: 220px;
    overflow-y: auto;
}

.step-indicator-log[b-z80s50hux7]  .step-log-scroll::-webkit-scrollbar {
    width: 8px;
}

.step-indicator-log[b-z80s50hux7]  .step-log-scroll::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.35);
    border-radius: 4px;
}

.step-indicator-log[b-z80s50hux7]  .step-log-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.step-slot[b-z80s50hux7] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.6s ease,
                width 0.6s ease,
                height 0.6s ease;
}

.step-slot.previous[b-z80s50hux7] {
    transform: scale(0.6);
    opacity: 0.4;
    width: 120px;
}

.step-slot.current[b-z80s50hux7] {
    transform: scale(1.0);
    opacity: 1.0;
    width: 200px;
}

.step-slot.next[b-z80s50hux7] {
    transform: scale(0.6);
    opacity: 0.4;
    width: 120px;
}

.step-art-canvas[b-z80s50hux7] {
    width: 100%;
    aspect-ratio: 1;
    position: relative;
}

.art-frame[b-z80s50hux7] {
    width: 100%;
    height: 100%;
    animation: art-fade-b-z80s50hux7 0.8s ease-in-out;
}

@keyframes art-fade-b-z80s50hux7 {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.art-frame[b-z80s50hux7]  svg {
    width: 100%;
    height: 100%;
}

.step-slot.current .step-art-canvas[b-z80s50hux7] {
    filter: drop-shadow(0 0 8px var(--step-glow-color, #64b5f6));
}

/* Pulse glow on active animating step */
@keyframes pulse-glow-b-z80s50hux7 {
    0%, 100% { filter: drop-shadow(0 0 6px var(--step-glow-color, #64b5f6)); }
    50% { filter: drop-shadow(0 0 14px var(--step-glow-color, #64b5f6)); }
}

.step-slot.current.animating .step-art-canvas[b-z80s50hux7] {
    animation: pulse-glow-b-z80s50hux7 2s ease-in-out infinite;
}

.step-label[b-z80s50hux7] {
    font-size: 0.75rem;
    font-weight: 500;
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.step-slot.previous .step-label[b-z80s50hux7],
.step-slot.next .step-label[b-z80s50hux7] {
    font-size: 0.65rem;
    opacity: 0.6;
}

/* Progress dot indicator */
.step-progress-dot[b-z80s50hux7] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--step-glow-color, #64b5f6);
    animation: dot-pulse-b-z80s50hux7 1.5s ease-in-out infinite;
}

@keyframes dot-pulse-b-z80s50hux7 {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.5); opacity: 1; }
}

/* When stopped, no glow or pulse */
.step-indicator-modal.stopped .step-slot.current .step-art-canvas[b-z80s50hux7] {
    filter: none;
    animation: none;
}

.step-indicator-modal.stopped .step-progress-dot[b-z80s50hux7] {
    display: none;
}

/* Responsive: stack on small screens */
@media (max-width: 500px) {
    .step-slot.previous[b-z80s50hux7],
    .step-slot.next[b-z80s50hux7] {
        display: none;
    }
    .step-slot.current[b-z80s50hux7] {
        width: 140px;
    }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .art-frame[b-z80s50hux7] {
        animation: none;
    }
    .step-slot[b-z80s50hux7] {
        transition: none;
    }
    .step-slot.current.animating .step-art-canvas[b-z80s50hux7] {
        animation: none;
    }
    .step-progress-dot[b-z80s50hux7] {
        animation: none;
    }
}
/* /Components/Shared/CreditChip.razor.rz.scp.css */
.credit-chip[b-x1k1a0o3ja] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--brand-primary-50);
    color: var(--brand-primary);
    border: 1px solid rgba(91, 61, 245, .22);
    border-radius: 999px;
    padding: 6px 6px 6px 14px;
    font-size: .85rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
}

.credit-chip:hover[b-x1k1a0o3ja] {
    color: var(--brand-primary);
}

.add-credits[b-x1k1a0o3ja] {
    background: var(--brand-primary);
    color: #fff;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: .8rem;
    line-height: 1;
}
/* /Components/Shared/Recommendations/RecommendationGroupList.razor.rz.scp.css */
.rec-list[b-f0ofmiszql] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.rec-empty[b-f0ofmiszql] {
    color: #6b7280;
    font-size: 0.9rem;
}

.rec-card[b-f0ofmiszql] {
    border: 1px solid var(--border-token, #e5e7eb);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    background: #fff;
}

.rec-card.is-active[b-f0ofmiszql] {
    border-color: #7c3aed;
    box-shadow: 0 0 0 2px #ede9fe;
}

.rec-card-head[b-f0ofmiszql] {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
}

.rec-title[b-f0ofmiszql] {
    margin: 0 0 0.35rem;
    font-weight: 600;
}

.rec-badges[b-f0ofmiszql] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.rec-badge[b-f0ofmiszql] {
    font-size: 0.72rem;
    font-weight: 600;
    color: #4c1d95;
    background: #ede9fe;
    border-radius: 999px;
    padding: 0.12rem 0.5rem;
}

.rec-count[b-f0ofmiszql] {
    color: #1e3a8a;
    background: #dbeafe;
}

.rec-status[b-f0ofmiszql] {
    color: #065f46;
    background: #d1fae5;
}

.rec-summary[b-f0ofmiszql] {
    margin: 0.6rem 0 0.4rem;
    font-size: 0.92rem;
    color: #374151;
    white-space: pre-wrap;
}

.rec-evidence[b-f0ofmiszql] {
    list-style: none;
    margin: 0.25rem 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.rec-quote[b-f0ofmiszql] {
    display: block;
    width: 100%;
    text-align: left;
    border: 1px solid #f1f5f9;
    border-radius: 6px;
    background: #f9fafb;
    padding: 0.4rem 0.55rem;
    cursor: pointer;
}

.rec-quote:hover[b-f0ofmiszql] {
    border-color: #ddd6fe;
    background: #f5f3ff;
}

.rec-where[b-f0ofmiszql] {
    display: block;
    font-size: 0.72rem;
    color: #6b7280;
    margin-bottom: 0.15rem;
}

.rec-actions[b-f0ofmiszql] {
    display: flex;
    gap: 0.4rem;
    margin-top: 0.6rem;
}
