/* teymur.com — "ayni aileden, ayri urun": Keltis iskeleti (Georgia serif
   basliklar, sistem sans govde, fildisi zemin, hairline cizgiler, kutu/rozet
   minimum) + TEYMUR'un platin/grafit tonu. Token'lar docs/TASARIM.md'den.
   Dis font yok (CSP style-src 'self'). */
:root {
  --paper: #f4f5f7; --panel: #fbfcfd; --ink: #13202e; --mut: #5b6470;
  --line: #dde1e6; --line-soft: #eaedf1;
  --graphite: #2b3a4a; --graphite-ink: #e9edf2; --graphite-mut: #aab5c2;
  --platinum: #b9c0c9;
  --accent: #1f5aa6;
  --live: #7c4bc4;
  --up: #166e4f; --up-soft: #ecf3ee;
  --dn: #9e2f2f; --dn-soft: #f7edeb;
  --amber: #8a6a1f; --amber-soft: #f5f0e1;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { background: var(--paper); color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
h1, h2, h3, .wordmark, .big, .fig b { font-family: Georgia, "Times New Roman", serif; font-weight: 700;
  font-variant-numeric: tabular-nums; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent); text-decoration: underline; }
code { font-family: Consolas, Menlo, monospace; font-size: 0.92em; }

/* --- TYMR isareti (inline SVG, currentColor) --- */
.tymr-sign { height: 0.82em; width: 0.82em; vertical-align: -0.08em; margin-right: 0.12em; display: inline-block; }

/* --- Masthead --- */
.site-head { background: var(--graphite); border-bottom: 3px solid var(--platinum); }
.mast-inner { max-width: 1100px; margin: 0 auto; padding: 12px 20px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 18px; }
.brand { color: #fff; display: flex; align-items: center; font-size: 22px; }
.brand .tymr-sign { height: 30px; width: 30px; margin-right: 10px; }
.brand .wordmark { letter-spacing: 0.18em; font-size: 22px; }
.brand:hover { text-decoration: none; color: #fff; }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.site-nav a { color: var(--graphite-mut); font-size: 16px; font-weight: 600; }
.site-nav a:hover { color: #fff; text-decoration: none; }
.site-nav a[aria-current="page"] { color: #fff; border-bottom: 2px solid var(--platinum); padding-bottom: 3px; }
.publisher { color: var(--graphite-mut); font-size: 13px; letter-spacing: 0.04em; }
.publisher:hover { color: #fff; }
@media (max-width: 760px) { .publisher { order: 3; width: 100%; text-align: right; } }

.wrap { max-width: 1100px; margin: 0 auto; padding: 36px 20px 56px; }

/* --- Ortak tipografi --- */
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--mut); margin-bottom: 10px; }
.eyebrow a { color: var(--mut); }
.lead { font-size: 18.5px; color: var(--mut); line-height: 1.65; }
.meta { color: var(--mut); font-size: 15px; margin-bottom: 4px; }
.notice { color: var(--mut); background: var(--panel); border: 1px solid var(--line);
  padding: 18px; margin-top: 16px; max-width: 720px; }
.footnote { color: var(--mut); font-size: 14.5px; }
.cta { font-weight: 700; font-size: 18px; }

.report-head h1 { font-size: 44px; letter-spacing: -0.4px; margin-bottom: 10px; line-height: 1.1; }
.report-head h1 .tymr-sign { margin-right: 0.16em; }
.report-dek { font-size: 19px; color: var(--ink); line-height: 1.6; margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif; }
.h1-pair { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 15px; font-weight: 600; color: var(--mut); letter-spacing: 0.08em; margin-left: 12px;
  vertical-align: middle; }
@media (max-width: 560px) { .report-head h1 { font-size: 32px; } }

/* --- Rozetler --- */
.badge-off, .badge-live { display: inline-block; font-size: 11px; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 2px 7px; border: 1px solid; margin-left: 8px;
  vertical-align: middle; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-weight: 600; line-height: 1.5; }
.badge-off { color: var(--ink); border-color: var(--platinum); }
.badge-live { color: var(--live); border-color: var(--live); }

/* --- Hero kartlari (ana sayfa + parite) --- */
.tymr-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 18px 0 22px; }
@media (max-width: 760px) { .tymr-hero { grid-template-columns: 1fr; } }
.tymr-card { border: 1px solid var(--line); background: var(--panel); padding: 18px 20px;
  position: relative; }
.tymr-card .lbl { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--mut); margin: 0 0 6px; }
.tymr-card .big { font-size: 42px; line-height: 1.05; color: var(--ink); margin: 0; }
.tymr-card .sub { margin: 8px 0 0; color: var(--mut); font-size: 14px; }
.tymr-card .sub b { color: var(--ink); }
.tymr-card.live { border-style: dashed; background: #fff; }
.tymr-coin { position: absolute; right: 18px; top: 16px; width: 56px; height: 56px; }
@media (max-width: 560px) { .tymr-card .big { font-size: 32px; } .tymr-coin { width: 40px; height: 40px; } }

.chg-up { color: var(--up); } .chg-dn { color: var(--dn); } .chg-0 { color: var(--mut); }

/* --- KPI seridi --- */
.tymr-kpis { display: flex; flex-wrap: wrap; gap: 10px 34px; margin: 0 0 22px;
  color: var(--mut); font-size: 14.5px; padding: 12px 0; border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line); }
.tymr-kpis b { color: var(--ink); font-variant-numeric: tabular-nums; }

/* --- Tablo --- */
.tablewrap { overflow-x: auto; background: var(--panel); border: 1px solid var(--line); }
table.tymr { width: 100%; border-collapse: collapse; font-size: 15px; }
table.tymr.wide { min-width: 960px; }
table.tymr th { text-align: left; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--mut); font-weight: 600; padding: 12px 12px 8px;
  border-bottom: 1px solid var(--ink); background: var(--panel); white-space: nowrap; }
table.tymr td { padding: 9px 12px; border-bottom: 1px solid var(--line-soft); }
table.tymr tbody tr:last-child td { border-bottom: none; }
table.tymr tbody tr:hover td { background: var(--paper); }
th.num, td.num { text-align: right; font-variant-numeric: tabular-nums; }
td.ccy { white-space: nowrap; }
td.ccy a { font-weight: 700; color: var(--ink); }
td.ccy a:hover { color: var(--accent); text-decoration: none; }
td.ccy .ccyname { display: block; color: var(--mut); font-size: 12.5px; font-weight: 400; }
.pair { color: var(--mut); font-size: 11px; letter-spacing: 0.04em; margin-left: 6px; }
td.live-val { color: var(--live); }
td.dim, .dim { color: #a3aab3; }
th.sortable { cursor: pointer; user-select: none; }
th.sortable:hover { color: var(--ink); }
th.s-desc::after { content: " \25BE"; color: var(--accent); }
th.s-asc::after { content: " \25B4"; color: var(--accent); }
tr.row { cursor: pointer; }
.table-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px;
  margin-top: 8px; }

/* --- Breadth --- */
.breadth-wrap { margin: 14px 0 10px; max-width: 720px; }
.breadth-row { display: grid; grid-template-columns: 110px 1fr 170px; gap: 14px;
  align-items: center; padding: 7px 0; border-bottom: 1px solid var(--line-soft); }
.breadth-row:first-child { border-top: 1px solid var(--line-soft); }
.b-label { font-size: 14.5px; font-weight: 600; color: var(--ink); }
/* Cubuk inline SVG (viewBox 0..100): genislikler sunum niteligi, inline style
   yok (CSP style-src 'self'). Zemin = degismeyen/veri yok payi. */
svg.bar { display: block; width: 100%; min-width: 0; height: 10px; background: var(--line-soft); }
svg.bar .seg-up { fill: var(--up); }
svg.bar .seg-dn { fill: var(--dn); }
.b-counts { font-size: 14px; color: var(--mut); text-align: right;
  font-variant-numeric: tabular-nums; white-space: nowrap; }
.b-counts b { color: var(--ink); }
@media (max-width: 560px) { .breadth-row { grid-template-columns: 70px 1fr 130px; } }

/* --- Bolum basliklari / notlar --- */
.section { margin-top: 38px; }
.section h2 { font-size: 27px; margin-bottom: 6px; }
.section-dek { color: var(--mut); margin-bottom: 16px; font-size: 16px; }
.notes { margin-top: 34px; border-top: 1px solid var(--ink); padding-top: 14px; }
.notes h2 { font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; margin: 14px 0 10px; }
.notes h2:first-child { margin-top: 0; }
.notes ol, .notes ul { margin-left: 18px; color: var(--mut); font-size: 15px; }
.notes li { margin-bottom: 6px; }
.notes p { color: var(--mut); font-size: 15px; margin-bottom: 8px; }
.notes a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--platinum); }
.notes a:hover { color: var(--accent); }
.hist { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 14px; color: var(--mut); }
.hist span { border: 1px solid var(--line); background: var(--panel); padding: 2px 8px; white-space: nowrap; }
.hist span.exited { border-style: dashed; }

/* --- Parite sayfasi: donem seridi --- */
.periods { display: flex; flex-wrap: wrap;
  border: 1px solid var(--line); background: var(--panel); margin: 18px 0 22px; }
.period { flex: 1 1 80px; min-width: 0; padding: 10px 8px; border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft); }
.period:last-child { border-right: none; }
.p-lbl { display: block; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mut);
  white-space: nowrap; }
.p-val { display: block; font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; }
.p-ref { display: block; font-size: 11px; color: var(--mut); white-space: nowrap; }

/* --- Grafikler --- */
.charts { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 8px 0 8px; }
@media (max-width: 860px) { .charts { grid-template-columns: 1fr; } }
.chart-box { background: var(--panel); border: 1px solid var(--line); padding: 14px 14px 8px; }
.chart-title { display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  flex-wrap: wrap; margin-bottom: 6px; }
.chart-title h3 { font-size: 17px; }
.chart-title span { font-size: 13px; color: var(--mut); }
svg.chart { width: 100%; height: auto; display: block; }
svg.chart path.line { fill: none; stroke: var(--ink); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
svg.chart path.area { fill: var(--line-soft); }
svg.chart line.grid { stroke: var(--line); stroke-width: 1; }
svg.chart text { font: 11px Georgia, "Times New Roman", serif; fill: var(--mut); }
svg.chart text.empty { font-size: 14px; }
svg.chart circle.dot { fill: var(--accent); stroke: #fff; stroke-width: 1.5; }

/* --- Olgu listeleri (dl) --- */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px 24px;
  margin: 18px 0; }
.facts > div { border-top: 2px solid var(--ink); padding-top: 8px; }
.facts dt { font-size: 12px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--mut); }
.facts dd { font-size: 18px; font-weight: 600; margin-top: 2px; font-variant-numeric: tabular-nums; }
.facts dd small { display: block; font-size: 13px; color: var(--mut); font-weight: 400; }
.subhead { font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; margin: 30px 0 8px; }

/* --- Onceki/sonraki --- */
.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 28px;
  padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px; }
.pager a { font-weight: 600; }
.pager .next { text-align: right; }

/* --- Gun sayfasi --- */
.dayform { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 14px 0 18px;
  font-size: 15px; }
.dayform input { font: inherit; font-size: 15px; padding: 8px 12px; border: 1px solid var(--line);
  background: var(--panel); color: var(--ink); }
.dayform input:focus { outline: 2px solid var(--accent); outline-offset: -1px; }
.dayform button { font: inherit; font-size: 15px; font-weight: 600; padding: 8px 16px;
  border: 1px solid var(--graphite); background: var(--graphite); color: #fff; cursor: pointer; }
.dayform button:hover { background: var(--ink); }
.day-note { color: var(--amber); background: var(--amber-soft); border: 1px solid #e3d5a8;
  padding: 10px 14px; margin: 0 0 16px; font-size: 15px; max-width: 760px; }

/* --- Metin sayfalari --- */
.prose h1 { font-size: 44px; line-height: 1.12; margin-bottom: 14px; }
.prose h2 { font-size: 26px; margin: 30px 0 10px; }
.prose p { margin-bottom: 13px; }
.prose ul, .prose ol { margin: 0 0 15px 20px; }
.prose li { margin-bottom: 9px; }
.prose table { border-collapse: collapse; width: 100%; font-size: 14.5px; margin: 12px 0 18px;
  background: var(--panel); border: 1px solid var(--line); }
.prose th { text-align: left; white-space: nowrap; vertical-align: top; color: var(--ink);
  padding: 11px 13px; border-bottom: 1px solid var(--line); width: 175px; font-family: inherit; }
.prose td { padding: 11px 13px; border-bottom: 1px solid var(--line); color: var(--mut); }
.prose tr:last-child th, .prose tr:last-child td { border-bottom: none; }
.prose a { color: var(--accent); }
@media (max-width: 560px) { .prose h1 { font-size: 32px; } }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin: 22px 0 10px; }
.card { border-top: 2px solid var(--ink); padding: 14px 0 6px; }
.card h3 { font-size: 20px; margin: 2px 0 8px; }
.card p { color: var(--mut); font-size: 16px; }
@media (max-width: 700px) { .cards { grid-template-columns: 1fr; } }

/* --- Footer --- */
.site-foot { background: var(--graphite); color: var(--graphite-mut); font-size: 15px;
  margin-top: 40px; border-top: 3px solid var(--platinum); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 20px;
  max-width: 1100px; margin: 0 auto; padding: 26px 20px 14px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.site-foot a { color: var(--graphite-ink); }
.site-foot a:hover { color: #fff; }
.site-foot b { color: var(--graphite-ink); }
.foot-brand { font-family: Georgia, "Times New Roman", serif; font-weight: 700; letter-spacing: 0.18em;
  color: #fff; margin-bottom: 8px; font-size: 17px; }
.foot-brand .tymr-sign { height: 1em; width: 1em; margin-right: 0.3em; }
.disclaimer { max-width: 460px; }
.foot-pub { margin-top: 8px; font-size: 14px; }
.copyright { max-width: 1100px; margin: 0 auto; padding: 12px 20px 22px;
  border-top: 1px solid rgba(255,255,255,0.12); }
