/* ===== Dikmen Research — Shared Report Styles ===== */

/* --- Language FOUC prevention --- */
[data-lang-content] { display: none !important; }
html[lang="en"] [data-lang-content="en"] { display: block !important; }
html[lang="tr"] [data-lang-content="tr"] { display: block !important; }

/* --- Tokens --- */
:root {
    --bg-primary: #faf9f5;
    --bg-secondary: #f0efe8;
    --bg-card: #ffffff;
    --text-primary: #141413;
    --text-secondary: #5c5b56;
    --text-tertiary: #8a8880;
    --border: #e8e6dc;
    --accent: #c4693d;
    --accent-hover: #a85830;
    --accent-subtle: rgba(196, 105, 61, 0.08);
    --tag-bg: #f0efe8;
    --tag-text: #5c5b56;
    --shadow: 0 1px 3px rgba(20, 20, 19, 0.04);
    --radius: 10px;
}

[data-theme="dark"] {
    --bg-primary: #1a1a18;
    --bg-secondary: #222220;
    --bg-card: #2a2a27;
    --text-primary: #ededea;
    --text-secondary: #a3a29c;
    --text-tertiary: #7a7972;
    --border: #333330;
    --accent: #d97757;
    --accent-hover: #e88a6a;
    --accent-subtle: rgba(217, 119, 87, 0.1);
    --tag-bg: #333330;
    --tag-text: #a3a29c;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* --- Reset --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'DM Sans', -apple-system, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
    -webkit-font-smoothing: antialiased;
}

/* --- Header --- */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
    background: color-mix(in srgb, var(--bg-primary) 85%, transparent);
}

.header-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: baseline;
    gap: 0.15em;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-name {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.back-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 450;
    transition: color 0.2s;
}

.back-link:hover { color: var(--text-primary); }

/* --- Theme toggle --- */
.theme-toggle {
    background: none;
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 34px;
    height: 34px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.theme-toggle:hover {
    border-color: var(--text-tertiary);
    color: var(--text-primary);
}

/* --- Lang toggle --- */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 3px;
    cursor: pointer;
    user-select: none;
}

.lang-option {
    font-size: 0.7rem;
    font-weight: 550;
    letter-spacing: 0.04em;
    padding: 0.25em 0.65em;
    border-radius: 16px;
    color: var(--text-tertiary);
    transition: all 0.2s;
}

.lang-option.active {
    background: var(--bg-card);
    color: var(--text-primary);
    box-shadow: var(--shadow);
}

/* --- Article header --- */
.article-header {
    max-width: 720px;
    margin: 0 auto;
    padding: 4rem 2rem 2rem;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.article-date {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    font-variant-numeric: tabular-nums;
}

.article-ticker {
    font-size: 0.7rem;
    font-weight: 550;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: var(--tag-bg);
    color: var(--tag-text);
    padding: 0.2em 0.6em;
    border-radius: 4px;
}

.article-ticker-link {
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
}

.article-ticker-link:hover {
    background: var(--accent-subtle);
    color: var(--accent);
}

.article-verdict {
    font-size: 0.7rem;
    font-weight: 550;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.2em 0.6em;
    border-radius: 4px;
    background: var(--tag-bg);
    color: var(--tag-text);
}

/* Verdict color system — matches index.html report cards */
.article-verdict.overvalued  { background: rgba(192, 57, 43, 0.12); color: #c0392b; }
.article-verdict.distressed  { background: rgba(126, 33, 64, 0.13); color: #7e2140; }
.article-verdict.undervalued { background: rgba(26, 122, 64, 0.15); color: #1a7a40; }
.article-verdict.fair        { background: var(--tag-bg); color: var(--tag-text); }

[data-theme="dark"] .article-verdict.overvalued  { background: rgba(192, 57, 43, 0.18); color: #e74c3c; }
[data-theme="dark"] .article-verdict.distressed  { background: rgba(217, 101, 137, 0.18); color: #e36a8e; }
[data-theme="dark"] .article-verdict.undervalued { background: rgba(26, 122, 64, 0.22); color: #4ac97a; }

.article-header h1 {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: clamp(2.2rem, 5vw, 3.25rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
}

.article-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 350;
    max-width: 580px;
}

.article-divider {
    width: 48px;
    height: 2px;
    background: var(--accent);
    margin-top: 2.5rem;
    border-radius: 1px;
}

/* --- Article body --- */
.article-layout {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 2rem 6rem;
    display: grid;
    grid-template-columns: minmax(0, 720px) minmax(18rem, 24rem);
    gap: 3rem;
    align-items: start;
}

.article-layout.terminal-collapsed {
    max-width: 860px;
    grid-template-columns: minmax(0, 720px);
    justify-content: center;
}

.article-main {
    min-width: 0;
}

.article-body {
    max-width: 720px;
    margin: 0 auto;
    padding: 2rem 2rem 6rem;
}

.article-layout .article-body {
    max-width: none;
    padding: 2rem 0 0;
}

.article-body .epigraph {
    font-family: 'Instrument Serif', Georgia, serif;
    font-style: italic;
    font-size: 1.3rem;
    line-height: 1.7;
    color: var(--text-primary);
    border-left: 2px solid var(--accent);
    padding-left: 1.5rem;
    margin-bottom: 3rem;
}

.article-body h2 {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 1.65rem;
    font-weight: 400;
    letter-spacing: -0.015em;
    margin-top: 3.5rem;
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.article-body h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 550;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
}

.article-body p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
    font-weight: 370;
    color: var(--text-primary);
}

.article-body ul {
    margin: 1rem 0 1.5rem 1.25rem;
    color: var(--text-primary);
}

.article-body li {
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 0.55rem;
    font-weight: 370;
}

.article-body blockquote {
    border-left: 2px solid var(--accent);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.article-body blockquote strong {
    color: var(--text-primary);
    font-weight: 600;
}

.article-body strong {
    font-weight: 600;
    color: var(--text-primary);
}

.article-body em { font-style: italic; }

/* --- Data table --- */
.data-table {
    width: 100%;
    min-width: 34rem;
    border-collapse: collapse;
    margin: 1.5rem 0 2rem;
    font-size: 0.9rem;
    font-variant-numeric: tabular-nums;
}

.data-table th {
    text-align: left;
    font-weight: 550;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-tertiary);
    padding: 0.6rem 0.75rem;
    border-bottom: 2px solid var(--border);
}

.data-table td {
    padding: 0.55rem 0.75rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
    overflow-wrap: anywhere;
}

.data-table td:first-child {
    color: var(--text-primary);
    font-weight: 450;
}

.data-table tr:last-child td { border-bottom: none; }

.data-table .highlight-row td {
    color: var(--text-primary);
    font-weight: 550;
    background: var(--accent-subtle);
}

.artifact-table {
    overflow: hidden;
}

.data-table-wrap {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.data-table-wrap .data-table {
    margin-bottom: 1rem;
}

/* --- Callout --- */
.callout {
    background: var(--bg-secondary);
    border-radius: var(--radius);
    padding: 1.5rem 1.75rem;
    margin: 2rem 0;
    font-size: 0.95rem;
    line-height: 1.7;
}

.callout-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.artifact-source {
    margin: 0.75rem 0 0;
    font-size: 0.72rem;
    line-height: 1.45;
    color: var(--text-tertiary);
}

/* --- Pull quote --- */
.pull-quote {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 1.5rem;
    line-height: 1.4;
    color: var(--text-primary);
    text-align: center;
    padding: 2.5rem 1rem;
    margin: 2rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    letter-spacing: -0.01em;
}

/* --- Section break --- */
.section-break {
    text-align: center;
    margin: 3rem 0;
    color: var(--text-tertiary);
    font-size: 1.2rem;
    letter-spacing: 0.5em;
}

/* --- Methodology --- */
.methodology {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--text-tertiary);
    line-height: 1.6;
}

.methodology strong { color: var(--text-secondary); }

/* --- Evidence ledger --- */
.evidence-drawer-shell {
    pointer-events: none;
}

.evidence-bookmark {
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 0;
    border-radius: 0 8px 8px 0;
    box-shadow: var(--shadow);
    color: var(--accent);
    cursor: pointer;
    display: flex;
    font: inherit;
    font-size: 0.68rem;
    font-weight: 700;
    justify-content: center;
    letter-spacing: 0.12em;
    line-height: 1;
    min-height: 8.5rem;
    padding: 0.75rem 0;
    pointer-events: auto;
    position: fixed;
    left: 0;
    text-transform: uppercase;
    top: 50%;
    transform: translateY(-50%);
    width: 2.75rem;
    writing-mode: vertical-rl;
    z-index: 78;
}

.evidence-bookmark:hover {
    color: var(--text-primary);
}

.evidence-drawer-backdrop {
    background: rgba(0, 0, 0, 0.18);
    bottom: 0;
    display: none;
    left: 0;
    pointer-events: auto;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 108;
}

.evidence-drawer {
    background: var(--bg-card);
    border-right: 1px solid var(--border);
    bottom: 0;
    box-shadow: 24px 0 70px rgba(0, 0, 0, 0.16);
    left: 0;
    max-width: calc(100vw - 2rem);
    overflow: auto;
    padding: 4.75rem 1.4rem 2rem;
    pointer-events: auto;
    position: fixed;
    top: 0;
    transform: translateX(-100%);
    transition: transform 0.22s ease;
    width: min(430px, calc(100vw - 2rem));
    z-index: 109;
}

.evidence-drawer-shell.open .evidence-drawer {
    transform: translateX(0);
}

.evidence-drawer-shell.open .evidence-drawer-backdrop {
    display: block;
}

.evidence-drawer-close {
    align-items: center;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    font: inherit;
    font-size: 1.1rem;
    height: 2rem;
    justify-content: center;
    line-height: 1;
    padding: 0;
    position: absolute;
    right: 1.1rem;
    top: 1.1rem;
    width: 2rem;
}

.evidence-drawer-close:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.evidence-ledger {
    max-width: 720px;
    margin: 0 auto 5rem;
    padding: 0 2rem;
}

.evidence-drawer .evidence-ledger {
    margin: 0;
    max-width: none;
    padding: 0;
}

.evidence-ledger h2 {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 1.55rem;
    font-weight: 400;
    margin: 0 0 1.25rem;
    line-height: 1.2;
}

.evidence-list {
    border-top: 1px solid var(--border);
}

.evidence-entry {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(12rem, 0.9fr);
    gap: 0.75rem 1.5rem;
    padding: 1.15rem 0;
    border-bottom: 1px solid var(--border);
}

.evidence-claim {
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--text-primary);
}

.evidence-source,
.evidence-proof {
    font-size: 0.78rem;
    line-height: 1.5;
    color: var(--text-tertiary);
}

.evidence-proof {
    grid-column: 2;
    color: var(--text-secondary);
}

/* --- Charts --- */
.chart-container {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    position: relative;
}

.chart-container canvas {
    max-height: 360px;
}

.chart-title {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 1rem;
}

/* --- Financial terminal --- */
.financial-terminal {
    position: sticky;
    top: 88px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem;
    box-shadow: var(--shadow);
    max-height: calc(100vh - 110px);
    overflow: auto;
    font-variant-numeric: tabular-nums;
    transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.terminal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.terminal-header-main {
    min-width: 0;
}

.terminal-actions {
    display: grid;
    gap: 0.45rem;
    justify-items: end;
}

.terminal-kicker,
.terminal-unit,
.terminal-section-title {
    font-size: 0.68rem;
    font-weight: 650;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
}

.terminal-title {
    margin-top: 0.15rem;
    font-size: 1rem;
    font-weight: 650;
    color: var(--text-primary);
}

.terminal-title span {
    color: var(--text-tertiary);
    font-weight: 500;
}

.terminal-toggle {
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--bg-primary);
    color: var(--text-secondary);
    cursor: pointer;
    font: inherit;
    font-size: 1.05rem;
    font-weight: 450;
    width: 2rem;
    height: 2rem;
    line-height: 1;
    padding: 0;
    white-space: nowrap;
}

.terminal-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.financial-terminal.collapsed {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 80;
    width: 2.75rem;
    min-height: 9.5rem;
    max-height: none;
    overflow: visible;
    padding: 0;
    border-right: 0;
    border-radius: 8px 0 0 8px;
    background: var(--bg-card);
    background: color-mix(in srgb, var(--bg-card) 94%, var(--accent) 6%);
}

.financial-terminal.collapsed .terminal-header {
    align-items: stretch;
    justify-content: center;
    border-bottom: 0;
    gap: 0;
    height: 100%;
    padding-bottom: 0;
}

.financial-terminal.collapsed .terminal-header-main,
.financial-terminal.collapsed .terminal-unit,
.financial-terminal.collapsed .terminal-tabs,
.financial-terminal.collapsed .terminal-meta,
.financial-terminal.collapsed .terminal-panel {
    display: none;
}

.financial-terminal.collapsed .terminal-actions {
    align-items: stretch;
    display: flex;
    height: 100%;
    justify-content: center;
    width: 100%;
}

.financial-terminal.collapsed .terminal-toggle {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    color: var(--accent);
    display: flex;
    font-size: 0.68rem;
    font-weight: 700;
    height: auto;
    justify-content: center;
    letter-spacing: 0.12em;
    line-height: 1;
    padding: 0.75rem 0;
    text-transform: uppercase;
    transform: rotate(180deg);
    white-space: nowrap;
    width: 100%;
    writing-mode: vertical-rl;
}

.financial-terminal.collapsed .terminal-toggle:hover {
    color: var(--text-primary);
}

.terminal-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.25rem;
    margin: 0.85rem 0;
    padding: 0.2rem;
    background: var(--bg-secondary);
    border-radius: 8px;
}

.terminal-tab,
.terminal-chip {
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    font: inherit;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.45rem 0.55rem;
}

.terminal-tab.active,
.terminal-chip.active {
    background: var(--bg-card);
    color: var(--text-primary);
    box-shadow: var(--shadow);
}

.terminal-meta {
    font-size: 0.72rem;
    line-height: 1.45;
    color: var(--text-tertiary);
    margin-bottom: 1rem;
}

.terminal-panel {
    display: none;
}

.terminal-panel.active {
    display: block;
}

.terminal-section-title {
    margin: 1rem 0 0.5rem;
}

.terminal-metric-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.terminal-metric {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.65rem;
    min-width: 0;
}

.terminal-metric span {
    display: block;
    color: var(--text-tertiary);
    font-size: 0.68rem;
    line-height: 1.25;
    margin-bottom: 0.25rem;
}

.terminal-metric strong {
    display: block;
    color: var(--text-primary);
    font-size: 0.92rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.terminal-controls {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
}

.terminal-controls label,
.terminal-period-control span {
    display: grid;
    gap: 0.35rem;
    color: var(--text-tertiary);
    font-size: 0.68rem;
    font-weight: 650;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.terminal-controls select {
    width: 100%;
    border: 1px solid var(--border);
    background: var(--bg-primary);
    color: var(--text-primary);
    border-radius: 6px;
    padding: 0.5rem 0.6rem;
    font: inherit;
    font-size: 0.78rem;
}

.terminal-period-control div {
    display: flex;
    gap: 0.35rem;
}

.terminal-help {
    margin: -0.25rem 0 0.85rem;
    color: var(--text-tertiary);
    font-size: 0.72rem;
    line-height: 1.45;
}

.terminal-chip {
    border: 1px solid var(--border);
    background: var(--bg-primary);
}

.terminal-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.terminal-table {
    width: 100%;
    min-width: 24rem;
    border-collapse: collapse;
    font-size: 0.74rem;
}

.terminal-table th,
.terminal-table td {
    border-bottom: 1px solid var(--border);
    padding: 0.45rem 0.5rem;
    text-align: right;
    color: var(--text-secondary);
    vertical-align: top;
}

.terminal-table th {
    color: var(--text-tertiary);
    font-weight: 650;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.terminal-table th:first-child,
.terminal-table td:first-child {
    text-align: left;
    color: var(--text-primary);
    min-width: 10rem;
}

.terminal-ratio-table {
    min-width: 0;
}

.terminal-empty {
    color: var(--text-tertiary);
    font-size: 0.8rem;
    padding: 1rem 0;
}

/* --- Footer --- */
footer {
    border-top: 1px solid var(--border);
}

.footer-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.footer-brand {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 1.4rem;
    color: var(--text-primary);
}

.footer-disclaimer {
    font-size: 0.72rem;
    color: var(--text-tertiary);
    max-width: 360px;
    line-height: 1.5;
    text-align: right;
}

.footer-contact {
    color: var(--accent);
    font-size: 0.78rem;
    text-decoration: none;
    white-space: nowrap;
}

/* --- Language visibility --- */
[data-lang-content="tr"] { display: none; }
[data-lang-content="en"] { display: block; }

/* --- Animations --- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.article-header { animation: fadeUp 0.6s ease-out; }
.article-body { animation: fadeUp 0.6s ease-out 0.15s both; }

/* --- Mobile --- */
@media (max-width: 640px) {
    .header-inner { padding: 0 1rem; gap: 0.75rem; }
    .logo-name { font-size: 1.35rem; }
    .header-right { gap: 0.75rem; }
    .back-link { font-size: 0.75rem; white-space: nowrap; }
    .lang-toggle { padding: 2px; }
    .lang-option { font-size: 0.6rem; padding: 0.2em 0.5em; }
    .theme-toggle { width: 30px; height: 30px; }
    .article-header { padding: 3rem 1.25rem 1.5rem; }
    .article-layout { display: flex; flex-direction: column-reverse; padding: 0 1.25rem 4rem; gap: 1.25rem; }
    .article-layout.terminal-collapsed { max-width: none; }
    .article-body { padding: 1.5rem 1.25rem 4rem; }
    .article-layout .article-body { padding: 1.5rem 0 0; }
    .financial-terminal { position: static; width: 100%; max-height: none; }
    .financial-terminal.collapsed {
        align-self: flex-end;
        border: 1px solid var(--border);
        border-radius: 999px;
        min-height: 0;
        padding: 0;
        position: static;
        transform: none;
        width: auto;
        max-width: 100%;
    }
    .financial-terminal.collapsed .terminal-toggle {
        height: auto;
        letter-spacing: 0.08em;
        padding: 0.55rem 0.85rem;
        transform: none;
        width: auto;
        writing-mode: horizontal-tb;
    }
    .evidence-bookmark {
        border: 1px solid var(--border);
        border-radius: 999px;
        bottom: 1rem;
        left: 1rem;
        min-height: 0;
        padding: 0.55rem 0.85rem;
        top: auto;
        transform: none;
        width: auto;
        writing-mode: horizontal-tb;
    }
    .evidence-drawer {
        border-radius: 16px 16px 0 0;
        border-right: 0;
        bottom: 0;
        box-shadow: 0 -24px 70px rgba(0, 0, 0, 0.18);
        left: 0;
        max-height: 78vh;
        max-width: none;
        padding: 3.75rem 1.25rem 1.5rem;
        right: 0;
        top: auto;
        transform: translateY(100%);
        width: 100%;
    }
    .evidence-drawer-shell.open .evidence-drawer {
        transform: translateY(0);
    }
    .evidence-entry { display: block; }
    .evidence-source { margin-top: 0.45rem; }
    .evidence-proof { margin-top: 0.35rem; }
    .terminal-metric-grid { grid-template-columns: 1fr; }
    .article-header h1 { font-size: 1.9rem; }
    .article-body h2 { font-size: 1.4rem; }
    .pull-quote { font-size: 1.25rem; padding: 2rem 0.5rem; }
    .callout { padding: 1.2rem; }
    .evidence-ledger { padding: 0 1.25rem; margin-bottom: 4rem; }
    .data-table { font-size: 0.8rem; }
    .footer-inner { flex-direction: column; gap: 1.25rem; text-align: center; }
    .footer-disclaimer { text-align: center; max-width: 100%; }
    .chart-container { padding: 1rem; }
}
