/* Wiki Review — shared styles. Matches shelfpulse-theme tokens (--sp-*). */

/* ── Page header ───────────────────────────────────────────────────────── */
.wr-page-header {
    border-bottom: 1px solid var(--sp-border);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}
.wr-page-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--sp-text);
    margin: 0;
}
.wr-page-header p {
    color: var(--sp-text-muted);
    margin: 0.25rem 0 0;
    font-size: 0.875rem;
}

/* ── Index page (Screen 1) ─────────────────────────────────────────────── */
.wr-page-card {
    background: var(--sp-white);
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius);
    box-shadow: var(--sp-shadow);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    transition: box-shadow 0.15s, border-color 0.15s;
}
.wr-page-card:hover {
    box-shadow: var(--sp-shadow-md);
}
.wr-page-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--sp-text);
    margin: 0 0 0.25rem;
}
.wr-page-card p.wr-desc {
    color: var(--sp-text-muted);
    font-size: 0.875rem;
    margin: 0 0 0.75rem;
    line-height: 1.4;
}
.wr-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    font-size: 0.8rem;
    color: var(--sp-text-muted);
    margin-bottom: 0.75rem;
}
.wr-card-meta strong { color: var(--sp-text-secondary); font-weight: 500; }
.wr-card-cta { display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* ── Badges ────────────────────────────────────────────────────────────── */
.wiki-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.55rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: 0.01em;
}
.wiki-badge-draft       { background: var(--sp-amber-bg); color: var(--sp-amber); }
.wiki-badge-published   { background: var(--sp-green-bg); color: var(--sp-green); }
.wiki-badge-superseded  { background: var(--sp-surface-secondary); color: var(--sp-text-dim); }
.wiki-badge-rejected    { background: var(--sp-red-bg); color: var(--sp-red); }
.wiki-badge-unknown     { background: var(--sp-surface-secondary); color: var(--sp-text-dim); }

.wr-schedule-badge {
    background: var(--sp-accent-soft);
    color: var(--sp-accent);
    border-radius: 20px;
    padding: 0.15rem 0.55rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.wr-hunk-breakdown {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--sp-text-muted);
}
.wr-hunk-breakdown .hb-pending   { color: var(--sp-amber); }
.wr-hunk-breakdown .hb-accepted  { color: var(--sp-green); }
.wr-hunk-breakdown .hb-rejected  { color: var(--sp-red); }

/* ── Buttons (sp-button mimic — keeps consistency with wmc-pipeline) ───── */
.wr-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.825rem;
    font-weight: 500;
    padding: 0.45rem 0.9rem;
    border-radius: var(--sp-radius);
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s, opacity 0.15s;
    text-decoration: none;
    line-height: 1.2;
}
.wr-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.wr-btn-primary  { background: var(--sp-accent); color: #fff; }
.wr-btn-primary:hover:not(:disabled) { background: var(--sp-accent-hover); color: #fff; }
.wr-btn-success  { background: var(--sp-green); color: #fff; }
.wr-btn-success:hover:not(:disabled) { background: #047857; color: #fff; }
.wr-btn-danger   { background: var(--sp-red); color: #fff; }
.wr-btn-danger:hover:not(:disabled) { background: #B91C1C; color: #fff; }
.wr-btn-outline-danger {
    background: transparent;
    color: var(--sp-red);
    border-color: var(--sp-red);
}
.wr-btn-outline-danger:hover:not(:disabled) { background: var(--sp-red-bg); }
.wr-btn-secondary {
    background: var(--sp-white);
    color: var(--sp-text);
    border-color: var(--sp-border);
}
.wr-btn-secondary:hover:not(:disabled) { background: var(--sp-surface-secondary); }
.wr-btn-link {
    background: transparent;
    color: var(--sp-accent);
    padding: 0.25rem 0.4rem;
    font-size: 0.8rem;
}
.wr-btn-link:hover { text-decoration: underline; }
.wr-btn-sm { font-size: 0.75rem; padding: 0.3rem 0.6rem; }

/* ── Revision detail (Screen 2) ────────────────────────────────────────── */
/*
 * Desktop layout intent: the preview (left) and hunks (right) are two
 * independently-scrolling panes side by side. The page itself does NOT
 * scroll inside the detail view — both columns scroll within their own
 * containers, and the publish/reject action bar stays visible at the
 * bottom of the viewport. This gives true side-by-side comparison.
 *
 * Mobile (<992px): stacks to a single column and lets the page scroll
 * normally.
 */
.wr-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: stretch;
    height: calc(100vh - 250px);
    min-height: 420px;
}
@media (max-width: 991px) {
    .wr-detail-grid {
        grid-template-columns: 1fr;
        height: auto;
        min-height: 0;
    }
}

.wr-preview-card,
.wr-hunks-card {
    background: var(--sp-white);
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius);
    box-shadow: var(--sp-shadow);
    padding: 1.5rem;
    height: 100%;
    overflow-y: auto;
    min-height: 0;
}
@media (max-width: 991px) {
    .wr-preview-card,
    .wr-hunks-card {
        height: auto;
        overflow-y: visible;
    }
}

.wr-preview-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--sp-border-light);
    margin-bottom: 1.25rem;
}
.wr-preview-header h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    color: var(--sp-text);
}
.wr-preview-meta {
    color: var(--sp-text-muted);
    font-size: 0.8rem;
}

/* Markdown body */
.wr-markdown { font-size: 0.925rem; line-height: 1.6; color: var(--sp-text); }
.wr-markdown h1, .wr-markdown h2, .wr-markdown h3, .wr-markdown h4 {
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--sp-text);
    font-weight: 600;
}
.wr-markdown h1 { font-size: 1.5rem; }
.wr-markdown h2 { font-size: 1.2rem; padding-bottom: 0.25rem; border-bottom: 1px solid var(--sp-border-light); }
.wr-markdown h3 { font-size: 1.05rem; }
.wr-markdown h4 { font-size: 0.95rem; }
.wr-markdown p { margin: 0 0 0.75rem; }
.wr-markdown ul, .wr-markdown ol { margin: 0 0 0.75rem; padding-left: 1.5rem; }
.wr-markdown li { margin-bottom: 0.25rem; }
.wr-markdown code {
    background: var(--sp-surface-secondary);
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
    font-family: var(--sp-mono);
    font-size: 0.85em;
}
.wr-markdown pre {
    background: var(--sp-surface-secondary);
    padding: 0.75rem 1rem;
    border-radius: var(--sp-radius);
    overflow-x: auto;
}
.wr-markdown pre code { background: transparent; padding: 0; }
.wr-markdown a { color: var(--sp-accent); text-decoration: none; }
.wr-markdown a:hover { text-decoration: underline; }
.wr-markdown blockquote {
    border-left: 3px solid var(--sp-border);
    padding-left: 1rem;
    color: var(--sp-text-muted);
    margin: 0.75rem 0;
}
.wr-markdown del { color: var(--sp-text-dim); }

/* Citation chips */
.wiki-cite-chip {
    display: inline-block;
    background: var(--sp-accent-soft);
    color: var(--sp-accent);
    font-size: 0.7em;
    font-weight: 600;
    padding: 0 0.35rem;
    border-radius: 8px;
    margin: 0 0.1rem;
    cursor: pointer;
    vertical-align: super;
    line-height: 1.3;
    user-select: none;
    transition: background 0.15s, color 0.15s;
    text-decoration: none;
    border: 1px solid transparent;
}
.wiki-cite-chip:hover,
.wiki-cite-chip:focus {
    background: var(--sp-accent);
    color: #fff;
    outline: none;
}
.wiki-cite-chip[data-popover-open="1"] {
    background: var(--sp-accent);
    color: #fff;
}

/* Citation popover (hand-rolled; lives in body, absolutely positioned). */
.wiki-cite-popover-floating {
    position: absolute;
    z-index: 3000;
    width: 360px;
    max-width: calc(100vw - 16px);
    background: var(--sp-white);
    border: 1px solid var(--sp-border);
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
    padding: 0;
    font-size: 0.825rem;
    color: var(--sp-text);
    line-height: 1.5;
}
.wiki-cite-popover-header {
    font-size: 0.8rem;
    font-weight: 600;
    background: var(--sp-surface-secondary);
    color: var(--sp-text-secondary);
    padding: 0.5rem 0.85rem;
    border-bottom: 1px solid var(--sp-border-light);
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}
.wiki-cite-popover-body { padding: 0.65rem 0.85rem; }
.wiki-cite-popover-arrow {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--sp-white);
    border-right: 1px solid var(--sp-border);
    border-bottom: 1px solid var(--sp-border);
    transform: rotate(45deg);
}
.wiki-cite-popover-floating.placement-top .wiki-cite-popover-arrow {
    bottom: -7px;
    margin-left: -6px;
}
.wiki-cite-popover-floating.placement-bottom .wiki-cite-popover-arrow {
    top: -7px;
    margin-left: -6px;
    transform: rotate(225deg);
    background: var(--sp-surface-secondary);
}
.wiki-cite-pop-content {
    font-size: 0.825rem;
    color: var(--sp-text);
    line-height: 1.5;
    white-space: pre-wrap;
    max-height: 220px;
    overflow-y: auto;
    margin-bottom: 0.5rem;
}
.wiki-cite-pop-meta {
    font-size: 0.72rem;
    color: var(--sp-text-muted);
    border-top: 1px solid var(--sp-border-light);
    padding-top: 0.5rem;
}
.wiki-cite-pop-actions {
    margin-top: 0.5rem;
    text-align: right;
    font-size: 0.75rem;
}

/* Hunk cards */
.wr-hunks-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.wr-hunks-card-header h2 {
    font-size: 1.05rem;
    margin: 0;
    color: var(--sp-text);
}

.wr-hunk {
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius);
    padding: 1rem;
    margin-bottom: 0.85rem;
    background: var(--sp-white);
    transition: border-color 0.15s, box-shadow 0.15s;
}
.wr-hunk.is-accepted { border-color: var(--sp-green); background: rgba(46, 125, 50, 0.025); }
.wr-hunk.is-rejected { border-color: var(--sp-red);   background: rgba(198, 40, 40, 0.025); }
.wr-hunk.is-regenerating {
    border-color: var(--sp-accent);
    background: var(--sp-accent-soft);
    box-shadow: 0 0 0 1px var(--sp-accent-soft);
}
.wr-regen-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.15rem 0.55rem;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    background: var(--sp-accent);
    color: #fff;
    margin-left: 0.25rem;
}
.wr-hunk-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}
.wr-hunk-type {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.15rem 0.55rem;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.wr-hunk-type.addition     { background: var(--sp-green-bg); color: var(--sp-green); }
.wr-hunk-type.deletion     { background: var(--sp-red-bg);   color: var(--sp-red); }
.wr-hunk-type.modification { background: var(--sp-amber-bg); color: var(--sp-amber); }
.wr-hunk-index {
    font-family: var(--sp-mono);
    color: var(--sp-text-dim);
    font-size: 0.75rem;
}

/* Diff blocks */
.wr-hunk-diff { margin-bottom: 0.75rem; }
.wr-hunk-block {
    border-radius: 6px;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    line-height: 1.55;
}
.wr-hunk-block .wr-markdown { font-size: 0.875rem; }
.wr-hunk-block.added {
    background: rgba(46, 125, 50, 0.07);
    border: 1px solid rgba(46, 125, 50, 0.25);
}
.wr-hunk-block.removed {
    background: rgba(198, 40, 40, 0.06);
    border: 1px solid rgba(198, 40, 40, 0.2);
    text-decoration: line-through;
    text-decoration-color: rgba(198, 40, 40, 0.4);
    color: var(--sp-text-muted);
}
.wr-hunk-block.removed .wr-markdown { color: var(--sp-text-muted); }

.wr-hunk-mod-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}
@media (max-width: 767px) {
    .wr-hunk-mod-grid { grid-template-columns: 1fr; }
}

.wr-hunk-inline-diff {
    background: var(--sp-surface-secondary);
    border: 1px solid var(--sp-border-light);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-word;
    margin-top: 0.5rem;
}
.wr-hunk-inline-diff .wiki-diff-ins {
    background: rgba(46, 125, 50, 0.15);
    color: var(--sp-green);
    text-decoration: none;
    padding: 0 0.1rem;
    border-radius: 2px;
}
.wr-hunk-inline-diff .wiki-diff-del {
    background: rgba(198, 40, 40, 0.12);
    color: var(--sp-red);
    text-decoration: line-through;
    padding: 0 0.1rem;
    border-radius: 2px;
}
.wr-hunk-inline-diff .wiki-diff-eq { color: var(--sp-text); }

/* Citations chips at the bottom of a hunk */
.wr-hunk-citations {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.5rem;
    font-size: 0.75rem;
    color: var(--sp-text-muted);
    padding-top: 0.6rem;
    border-top: 1px dashed var(--sp-border-light);
    margin-top: 0.75rem;
}
.wr-hunk-citations strong { color: var(--sp-text-secondary); font-weight: 500; margin-right: 0.25rem; }

/* Actions row */
.wr-hunk-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.85rem;
}
.wr-hunk-decision {
    background: var(--sp-surface-secondary);
    border-radius: 6px;
    padding: 0.5rem 0.85rem;
    font-size: 0.8rem;
    color: var(--sp-text-secondary);
    margin-top: 0.6rem;
    border: 1px dashed var(--sp-border);
}
.wr-hunk-decision .decision-reason { color: var(--sp-text-muted); font-style: italic; }

/* Reject form (expandable inline) */
.wr-reject-form {
    background: var(--sp-surface-secondary);
    border-radius: var(--sp-radius);
    padding: 0.85rem 1rem;
    margin-top: 0.6rem;
    border: 1px solid var(--sp-border);
}
.wr-reject-form label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--sp-text-secondary);
    margin-bottom: 0.25rem;
    display: block;
}
.wr-reject-form textarea,
.wr-reject-form select {
    width: 100%;
    border: 1px solid var(--sp-border);
    border-radius: 6px;
    padding: 0.5rem 0.65rem;
    font-size: 0.85rem;
    background: #fff;
    color: var(--sp-text);
}
.wr-reject-form textarea { resize: vertical; min-height: 60px; }
.wr-form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--sp-text-secondary);
    margin-top: 0.5rem;
}

/* Nested per-source deprecation picker (expanded under the master checkbox). */
.wr-deprecate-list {
    margin-top: 0.4rem;
    margin-left: 1.5rem;
    padding: 0.5rem 0.75rem;
    background: var(--sp-white);
    border: 1px solid var(--sp-border-light);
    border-radius: 6px;
}
.wr-deprecate-list[hidden] { display: none; }
.wr-deprecate-list-help {
    font-size: 0.72rem;
    margin-bottom: 0.4rem;
    line-height: 1.3;
}
.wr-deprecate-source {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.25rem 0;
    font-size: 0.78rem;
}
.wr-deprecate-source input[type='checkbox'] {
    margin-top: 0.18rem;
    flex-shrink: 0;
}
.wr-deprecate-source label {
    margin: 0;
    font-weight: 400;
    color: var(--sp-text);
    line-height: 1.35;
    cursor: pointer;
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    flex-wrap: wrap;
}
.wr-deprecate-source-num {
    font-weight: 600;
    color: var(--sp-text-secondary);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.wr-deprecate-source-label {
    font-size: 0.78rem;
    color: var(--sp-text-muted);
}

/* Footer action bar — pinned at the bottom of the detail view so it's
 * always reachable while you scroll within either column. */
.wr-footer-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
    padding: 0.85rem 0 0;
    border-top: 1px solid var(--sp-border);
    background: var(--sp-background, transparent);
}
.wr-footer-actions .actions-left,
.wr-footer-actions .actions-right { display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* Toast notifications (lightweight) */
.wr-toast-stack {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 2200;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 380px;
}
.wr-toast {
    background: var(--sp-text);
    color: #fff;
    border-radius: 6px;
    padding: 0.65rem 0.9rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    font-size: 0.825rem;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.2s, transform 0.2s;
}
.wr-toast.is-visible { opacity: 1; transform: translateY(0); }
.wr-toast.success    { background: #1f7e35; }
.wr-toast.error      { background: #b71c1c; }
.wr-toast.info       { background: var(--sp-accent); }
.wr-toast.warn       { background: #b16a00; }

/* Empty / loading states */
.wr-empty,
.wr-loading,
.wr-alert {
    background: var(--sp-white);
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius);
    padding: 2rem;
    text-align: center;
    color: var(--sp-text-muted);
}
.wr-loading-row {
    height: 0.85rem;
    background: linear-gradient(90deg, var(--sp-surface-secondary) 0%, var(--sp-border-light) 50%, var(--sp-surface-secondary) 100%);
    background-size: 200% 100%;
    border-radius: 4px;
    animation: wrShimmer 1.4s ease-in-out infinite;
    margin-bottom: 0.5rem;
}
@keyframes wrShimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.wr-alert.error { color: var(--sp-red); border-color: var(--sp-red); background: var(--sp-red-bg); }

/* History table (Screen 3) */
.wr-history-table { width: 100%; font-size: 0.85rem; border-collapse: collapse; }
.wr-history-table th,
.wr-history-table td {
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid var(--sp-border-light);
    vertical-align: middle;
}
.wr-history-table th {
    text-align: left;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--sp-text-muted);
    background: var(--sp-surface-secondary);
}
.wr-history-table td { color: var(--sp-text); }
.wr-history-table tr:hover td { background: var(--sp-surface-secondary); }

/* Confirm modal body */
.wr-confirm-modal-body { font-size: 0.9rem; color: var(--sp-text); line-height: 1.5; }
.wr-confirm-modal-body ul { padding-left: 1.25rem; margin-top: 0.5rem; }

/* Wiki reader (published / preview — no cites, TOC rail) */
.wiki-read-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2.35fr);
    gap: 1.75rem;
    align-items: start;
}
@media (max-width: 991px) {
    .wiki-read-grid {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
    }
    .wiki-read-prose-card { order: 1; }
    .wiki-read-toc { order: 2; position: static; top: auto; max-height: none; }
}
.wiki-read-toc {
    position: sticky;
    top: 4.5rem;
}
.wiki-read-toc-inner {
    border: 1px solid var(--sp-border-light);
    border-radius: var(--sp-radius);
    background: var(--sp-surface-secondary);
    padding: 0.75rem 0.85rem;
    max-height: calc(100vh - 7rem);
    overflow-y: auto;
}
.wiki-read-toc-title {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--sp-text-muted);
    font-weight: 600;
    margin-bottom: 0.45rem;
}
.wiki-read-toc-nav {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
a.wiki-read-toc-link {
    font-size: 0.82rem;
    color: var(--sp-text-secondary);
    text-decoration: none;
    line-height: 1.35;
    padding: 0.25rem 0;
    border-left: 2px solid transparent;
    padding-left: 0.5rem;
    margin-left: -0.5rem;
}
a.wiki-read-toc-link:hover {
    color: var(--sp-accent);
    border-left-color: var(--sp-accent-soft);
}
.wiki-read-prose-card {
    border: 1px solid var(--sp-border-light);
    border-radius: var(--sp-radius);
    background: var(--sp-white);
    padding: 1.25rem 1.35rem;
    min-height: 200px;
}
.wiki-read-prose {
    font-size: 0.94rem;
    line-height: 1.65;
    color: var(--sp-text);
}
.wiki-read-prose h1 { font-size: 1.35rem; margin-top: 0; margin-bottom: 1rem; }
.wiki-read-prose h2 { font-size: 1.08rem; margin-top: 1.5rem; margin-bottom: 0.65rem; padding-top: 0.35rem; border-top: 1px solid var(--sp-border-light); }
.wiki-read-prose h2:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.wiki-read-prose h3 { font-size: 0.98rem; margin-top: 1.1rem; }
.wiki-read-prose p { margin-bottom: 0.85rem; }
.wiki-read-prose ul, .wiki-read-prose ol { margin-bottom: 0.85rem; padding-left: 1.25rem; }
.wiki-read-prose code { font-size: 0.88em; }
.wiki-read-prose pre { background: var(--sp-surface-secondary); padding: 0.75rem; border-radius: 6px; overflow-x: auto; }
