/* ============ Tokenlar ============ */
:root {
  color-scheme: light;
  --page: #f3f3ef;
  --surface: #fcfcfb;
  --surface-2: #f6f6f2;
  --surface-hover: #f0efea;
  --border: #e4e3dc;
  --border-strong: #d3d2ca;
  --ink: #0b0b0b;
  --ink-2: #52514e;
  --muted: #898781;
  --grid: #e9e8e2;
  --baseline: #c3c2b7;

  --accent: #2a78d6;
  --accent-soft: #e5effb;
  --accent-ink: #1c5cab;

  --s1: #2a78d6; --s2: #eb6834; --s3: #1baf7a; --s4: #eda100;
  --s5: #e87ba4; --s6: #008300; --s7: #4a3aa7; --s8: #e34948;
  --pos: #2a78d6;           /* ıraksak: ucuz / pozitif */
  --neg: #e34948;           /* ıraksak: pahalı / negatif */
  --seq-1: #86b6ef; --seq-2: #5598e7; --seq-3: #2a78d6; --seq-4: #1c5cab; --seq-5: #104281;
  --seq-lo: #cde2fb; --seq-hi: #0d366b;

  --good: #0ca30c; --warning: #fab219; --serious: #ec835a; --critical: #d03b3b;
  --good-ink: #067406; --warning-ink: #8a5d00; --critical-ink: #b02a2a;
  --good-soft: #e3f4e3; --warning-soft: #fdf1d6; --critical-soft: #fbe5e5;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(20, 20, 15, .04), 0 4px 16px rgba(20, 20, 15, .04);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sidebar-w: 236px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --page: #0d0d0d; --surface: #1a1a19; --surface-2: #212120; --surface-hover: #262624;
    --border: #2a2a28; --border-strong: #383835;
    --ink: #ffffff; --ink-2: #c3c2b7; --muted: #898781; --grid: #2c2c2a; --baseline: #383835;
    --accent: #3987e5; --accent-soft: #16263a; --accent-ink: #86b6ef;
    --s1: #3987e5; --s2: #d95926; --s3: #199e70; --s4: #c98500;
    --s5: #d55181; --s6: #008300; --s7: #9085e9; --s8: #e66767;
    --pos: #3987e5; --neg: #e66767;
    --seq-1: #184f95; --seq-2: #1c5cab; --seq-3: #2a78d6; --seq-4: #5598e7; --seq-5: #9ec5f4;
    --seq-lo: #10305a; --seq-hi: #b7d3f6;
    --good-ink: #5fd35f; --warning-ink: #fab219; --critical-ink: #f08080;
    --good-soft: #13291a; --warning-soft: #2e2611; --critical-soft: #331818;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #0d0d0d; --surface: #1a1a19; --surface-2: #212120; --surface-hover: #262624;
  --border: #2a2a28; --border-strong: #383835;
  --ink: #ffffff; --ink-2: #c3c2b7; --muted: #898781; --grid: #2c2c2a; --baseline: #383835;
  --accent: #3987e5; --accent-soft: #16263a; --accent-ink: #86b6ef;
  --s1: #3987e5; --s2: #d95926; --s3: #199e70; --s4: #c98500;
  --s5: #d55181; --s6: #008300; --s7: #9085e9; --s8: #e66767;
  --pos: #3987e5; --neg: #e66767;
  --seq-1: #184f95; --seq-2: #1c5cab; --seq-3: #2a78d6; --seq-4: #5598e7; --seq-5: #9ec5f4;
  --seq-lo: #10305a; --seq-hi: #b7d3f6;
  --good-ink: #5fd35f; --warning-ink: #fab219; --critical-ink: #f08080;
  --good-soft: #13291a; --warning-soft: #2e2611; --critical-soft: #331818;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3);
}

/* ============ Temel ============ */
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--page);
  color: var(--ink);
  font: 14px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.01em; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.ink2 { color: var(--ink-2); }
.small { font-size: 12px; }
.nowrap { white-space: nowrap; }
.hidden { display: none !important; }

/* ============ Yerleşim ============ */
.app { display: flex; min-height: 100vh; }
.sidebar {
  position: sticky; top: 0; height: 100vh; width: var(--sidebar-w); flex: none;
  display: flex; flex-direction: column; gap: 22px;
  padding: 22px 14px 18px; background: var(--surface); border-right: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 11px; padding: 0 8px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-mark svg { width: 34px; height: 34px; display: block; }
.brand-mark rect { fill: var(--accent); }
.brand-mark path { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 15px; }
.brand-text small { color: var(--muted); font-size: 12px; }

.nav { display: flex; flex-direction: column; gap: 2px; }
.nav a {
  display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: 10px;
  color: var(--ink-2); font-weight: 500;
}
.nav a svg { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nav a:hover { background: var(--surface-hover); color: var(--ink); text-decoration: none; }
.nav a.active { background: var(--accent-soft); color: var(--accent-ink); }
.sidebar-foot { margin-top: auto; padding: 12px 10px 0; border-top: 1px solid var(--border); font-size: 12px; color: var(--muted); display: grid; gap: 4px; }

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 32px 16px; background: color-mix(in srgb, var(--page) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent;
}
.topbar h1 { font-size: 21px; }
.topbar p { margin: 2px 0 0; color: var(--muted); font-size: 13px; min-height: 1em; }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.view { padding: 8px 32px 48px; display: flex; flex-direction: column; gap: 20px; outline: none; max-width: 1600px; width: 100%; }

/* ============ Bileşenler ============ */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); min-width: 0;
}
.card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px 18px 4px; }
.card-head h2 { font-size: 15px; }
.card-head p { margin: 2px 0 0; color: var(--muted); font-size: 12.5px; }
.card-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.card-body { padding: 10px 18px 18px; }
.card-body.flush { padding: 6px 0 0; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3-1 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.grid-1-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }

/* Stat kartları */
.tiles { display: flex; flex-wrap: wrap; gap: 14px; }
.tile { flex: 1 1 170px; padding: 15px 16px 14px; display: flex; flex-direction: column; gap: 4px; position: relative; overflow: hidden; }
.tile-label { color: var(--ink-2); font-size: 12.5px; font-weight: 500; }
.tile-value { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.tile-sub { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.tile.hero .tile-value { font-size: 48px; letter-spacing: -0.03em; }
.tile.hero { flex: 2 1 320px; }
.tile svg.spark { position: absolute; right: 12px; bottom: 12px; width: 92px; height: 30px; overflow: visible; }
.spark path { fill: none; stroke: var(--baseline); stroke-width: 1.5; }
.spark circle { fill: var(--accent); stroke: var(--surface); stroke-width: 2; }
.delta { font-weight: 600; font-variant-numeric: tabular-nums; }
.delta.up { color: var(--good-ink); }
.delta.down { color: var(--critical-ink); }
.delta.flat { color: var(--muted); }

/* Kontroller */
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.toolbar .spacer { flex: 1; }
.seg { display: inline-flex; background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 3px; gap: 2px; }
.seg button { border: 0; background: transparent; padding: 5px 12px; border-radius: 7px; cursor: pointer; color: var(--ink-2); font-weight: 500; font-size: 13px; white-space: nowrap; }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 0 0 1px var(--border); }
.btn {
  display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-radius: 10px;
  border: 1px solid var(--border-strong); background: var(--surface); cursor: pointer; font-weight: 500; font-size: 13px; white-space: nowrap;
}
.btn:hover { background: var(--surface-hover); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { filter: brightness(1.07); }
.btn.ghost { border-color: transparent; background: transparent; color: var(--ink-2); }
.btn.ghost:hover { background: var(--surface-hover); color: var(--ink); }
.btn.sm { height: 28px; padding: 0 10px; font-size: 12.5px; border-radius: 8px; }
.btn svg, .icon-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn { width: 36px; height: 36px; display: inline-grid; place-items: center; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; color: var(--ink-2); }
.icon-btn:hover { color: var(--ink); background: var(--surface-hover); }
.input, select.input {
  height: 34px; padding: 0 11px; border-radius: 10px; border: 1px solid var(--border-strong);
  background: var(--surface); min-width: 0;
}
.input:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: transparent; }
.field { display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; color: var(--ink-2); font-weight: 500; }
.check { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--ink-2); cursor: pointer; user-select: none; }
.check input { accent-color: var(--accent); width: 15px; height: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  border: 1px solid var(--border-strong); background: var(--surface); border-radius: 999px;
  padding: 4px 11px; font-size: 12.5px; font-weight: 500; color: var(--ink-2); cursor: pointer;
}
.chip:hover { color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--accent-soft); color: var(--accent-ink); border-color: transparent; }
.chip .count { color: var(--muted); margin-left: 4px; font-weight: 400; }

/* Etiketler */
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 6px; background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--border); white-space: nowrap; }
.tag.t-sabit { color: var(--accent-ink); background: var(--accent-soft); border-color: transparent; }
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 600; padding: 2px 7px 2px 5px; border-radius: 6px; white-space: nowrap; }
.badge svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.badge.good { background: var(--good-soft); color: var(--good-ink); }
.badge.warning { background: var(--warning-soft); color: var(--warning-ink); }
.badge.critical { background: var(--critical-soft); color: var(--critical-ink); }
.badge.neutral { background: var(--surface-2); color: var(--ink-2); }

/* Tablolar */
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 13px; }
table.data th {
  text-align: left; font-weight: 500; color: var(--muted); font-size: 12px; padding: 9px 12px;
  border-bottom: 1px solid var(--border); white-space: nowrap; position: sticky; top: 0; background: var(--surface);
}
table.data th.sortable { cursor: pointer; user-select: none; }
table.data th.sortable:hover { color: var(--ink); }
table.data th .arrow { font-size: 10px; margin-left: 3px; color: var(--accent); }
table.data td { padding: 10px 12px; border-bottom: 1px solid var(--grid); vertical-align: middle; }
table.data tr:last-child td { border-bottom: 0; }
table.data td.r, table.data th.r { text-align: right; }
table.data td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
table.data tbody tr.clickable { cursor: pointer; }
table.data tbody tr:hover td { background: var(--surface-2); }
table.data tbody tr.dim td { color: var(--muted); }
table.data tbody tr.highlight td { background: var(--accent-soft); }
table.data .isin { font-weight: 600; letter-spacing: .01em; }
table.data .sub { display: block; font-size: 11.5px; color: var(--muted); }
tr.flash td { animation: flash 1.6s ease-out; }
@keyframes flash { from { background: color-mix(in srgb, var(--accent) 22%, transparent); } to { background: transparent; } }
.up-txt { color: var(--good-ink); }
.down-txt { color: var(--critical-ink); }
.spread-pos { color: var(--pos); font-weight: 600; }
.spread-neg { color: var(--neg); font-weight: 600; }

/* Grafik kutuları */
.chart { width: 100%; height: 360px; }
.chart.tall { height: 460px; }
.chart.short { height: 240px; }
.chart.mini { height: 280px; }
.chart.xl { height: 640px; }
.chart.loading { opacity: .45; transition: opacity .2s; }

/* Durumlar */
.state { display: grid; place-items: center; gap: 10px; padding: 48px 20px; text-align: center; color: var(--muted); }
.state h3 { color: var(--ink); font-size: 15px; }
.spinner { width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--border); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton { background: linear-gradient(90deg, var(--surface-2), var(--surface-hover), var(--surface-2)); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: 8px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Canlı göstergesi */
/* sayfa yerinde tazelenirken yeni kopya görünmeden çizilir */
.view-stage { position: absolute; visibility: hidden; pointer-events: none; }
.live-update { white-space: nowrap; }
.live-pill { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.live-pill.on .live-dot { background: var(--good); box-shadow: 0 0 0 0 color-mix(in srgb, var(--good) 60%, transparent); animation: pulse 2s infinite; }
.live-pill.warn .live-dot { background: var(--warning); }
.live-pill.off .live-dot { background: var(--critical); }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

/* Toast, modal, tooltip */
.toasts { position: fixed; right: 20px; bottom: 20px; display: flex; flex-direction: column; gap: 8px; z-index: 60; }
.toast { background: var(--ink); color: var(--page); padding: 10px 14px; border-radius: 10px; font-size: 13px; box-shadow: 0 8px 24px rgba(0,0,0,.18); max-width: 360px; animation: rise .25s ease-out; }
@keyframes rise { from { transform: translateY(8px); opacity: 0; } }
.modal-backdrop { position: fixed; inset: 0; background: rgba(10, 10, 8, .45); display: grid; place-items: center; z-index: 50; padding: 16px; }
.modal { width: min(440px, 100%); padding: 24px; display: grid; gap: 14px; }
.modal h2 { font-size: 18px; }
.modal p { margin: 0; color: var(--ink-2); }
.tooltip { position: fixed; z-index: 70; pointer-events: none; background: var(--surface); border: 1px solid var(--border-strong); border-radius: 8px; padding: 7px 10px; font-size: 12px; box-shadow: 0 6px 18px rgba(0,0,0,.12); }

/* Tahvil başlığı */
.bond-head { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; padding: 18px; }
.bond-head .title { display: flex; flex-direction: column; gap: 4px; }
.bond-head .title h2 { font-size: 22px; letter-spacing: 0; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-left: auto; }
.fact { display: flex; flex-direction: column; }
.fact span { color: var(--muted); font-size: 12px; }
.fact strong { font-weight: 600; font-variant-numeric: tabular-nums; }

/* Hesaplayıcı sonuç ızgarası */
.kv { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.kv div { background: var(--surface-2); border-radius: var(--radius-sm); padding: 10px 12px; }
.kv span { display: block; font-size: 12px; color: var(--muted); }
.kv strong { font-size: 16px; font-variant-numeric: tabular-nums; font-weight: 600; }
.form-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }

/* Ucuz/pahalı listesi */
.rank { display: grid; gap: 8px; }
.rank-row { display: grid; grid-template-columns: 112px 1fr 58px; align-items: center; gap: 10px; font-size: 13px; }
.rank-row .bar-track { height: 8px; position: relative; }
.rank-row .bar { position: absolute; top: 0; height: 8px; border-radius: 4px; }
.rank-row .mid { position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1px; background: var(--baseline); }
.rank h4 { margin: 6px 0 2px; font-size: 12px; color: var(--muted); font-weight: 500; }

/* Takvim */
.month { display: grid; gap: 2px; }
.month h3 { font-size: 13px; color: var(--muted); font-weight: 600; padding: 14px 18px 6px; text-transform: none; }
.event { display: grid; grid-template-columns: 54px 1fr auto; gap: 14px; align-items: center; padding: 9px 18px; border-top: 1px solid var(--grid); }
.event .day { text-align: center; line-height: 1.1; }
.event .day strong { display: block; font-size: 20px; font-variant-numeric: tabular-nums; }
.event .day span { font-size: 11px; color: var(--muted); }
.event .what { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; min-width: 0; }
.event .amt { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.event.past { opacity: .5; }

/* Portföy düzenleyici */
.pos-row { display: grid; grid-template-columns: minmax(150px, 1.4fr) minmax(120px, 1fr) minmax(110px, .8fr) 36px; gap: 10px; align-items: center; padding: 6px 0; }
.pos-head { color: var(--muted); font-size: 12px; font-weight: 500; padding-bottom: 0; }

.note { font-size: 12.5px; color: var(--ink-2); background: var(--surface-2); border-radius: var(--radius-sm); padding: 10px 12px; display: flex; gap: 8px; align-items: flex-start; }
.note svg { width: 15px; height: 15px; flex: none; margin-top: 2px; stroke: var(--muted); fill: none; stroke-width: 2; }
.legend-inline { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: var(--ink-2); }
.legend-inline i { display: inline-block; width: 14px; height: 3px; border-radius: 2px; vertical-align: middle; margin-right: 6px; }

/* Alım-satım */
.leg-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.leg { display: grid; gap: 10px; align-content: start; }
.leg h3 { font-size: 13px; color: var(--ink-2); display: flex; align-items: center; gap: 12px; justify-content: space-between; flex-wrap: wrap; }
table.matrix th.corner { font-size: 11.5px; white-space: normal; min-width: 120px; }
table.matrix th.rowh { text-align: left; font-weight: 600; color: var(--ink); white-space: nowrap; background: var(--surface); position: sticky; left: 0; }
table.matrix td { min-width: 78px; }
table.matrix tbody tr.base-row td, table.matrix tbody tr.base-row th { font-weight: 700; }
table.matrix tbody tr.base-row th.rowh { box-shadow: inset 3px 0 0 var(--accent); }
table.matrix tfoot th, table.matrix tfoot td { border-top: 1px solid var(--border); color: var(--ink-2); font-size: 12.5px; }
table.matrix tbody tr:hover td { filter: brightness(0.97); }
.loading { opacity: .55; transition: opacity .2s; }
@media (max-width: 860px) { .leg-grid { grid-template-columns: minmax(0, 1fr); } }

/* ============ Duyarlı ============ */
@media (max-width: 1180px) {
  .grid-3-1, .grid-1-2 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .app { flex-direction: column; }
  .sidebar { position: sticky; top: 0; z-index: 30; height: auto; width: 100%; flex-direction: row; align-items: center; gap: 8px; padding: 10px 16px; border-right: 0; border-bottom: 1px solid var(--border); overflow-x: auto; }
  .brand-text, .sidebar-foot { display: none; }
  .nav { flex-direction: row; gap: 2px; }
  .nav a span { display: none; }
  .topbar { position: static; padding: 14px 16px 10px; }
  .view { padding: 4px 16px 32px; }
  .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .tile.hero .tile-value { font-size: 38px; }
  .facts { margin-left: 0; }
  .chart.tall, .chart.xl { height: 420px; }
  .pos-row { grid-template-columns: 1fr 1fr 36px; }
  .pos-row .pos-price { display: none; }
  .seg { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .toasts { left: 16px; right: 16px; }
}
/* Trade önerileri */
.ideas { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 14px; }
.idea { border: 1px solid var(--border); border-left: 4px solid var(--border-strong); border-radius: var(--radius-sm); padding: 14px 16px; background: var(--surface); min-width: 0; }
.idea.good { border-left-color: var(--good-ink); }
.idea.warning { border-left-color: var(--warning-ink); }
.idea-kind { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.idea h3 { font-size: 15px; margin: 6px 0 8px; line-height: 1.35; }
.idea p { margin: 8px 0 0; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.idea p strong { color: var(--ink); }
.idea .idea-risk { color: var(--warning-ink); }
.idea-legs { border-collapse: collapse; font-size: 13px; margin-bottom: 2px; }
.idea-legs td { padding: 2px 12px 2px 0; }
.subhead { font-size: 12.5px; font-weight: 600; color: var(--ink-2); padding: 14px 18px 6px; }

@media (forced-colors: active) {
  .live-dot, .badge, .tag { forced-color-adjust: none; }
}

/* menü: ayrı sitelere dış bağlantılar */
.nav-sep { margin: 14px 12px 4px; padding-top: 10px; border-top: 1px solid var(--border); font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.nav a.nav-ext .nav-ext-mark { margin-left: auto; color: var(--muted); font-size: 12px; }
