/* Finans Paneli — görsel katman. Düzen ve içerik şablonlarda; burada yalnızca görünüm. */

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/static/fonts/geist-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/static/fonts/geist-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #ece7df;
  --surface: #ffffff;
  --surface-2: #f3efe8;
  --surface-3: #e6dfd3;
  --sidebar: #1b1917;
  --sidebar-text: #f3efe9;
  --sidebar-muted: #9a938a;
  --sidebar-icon: #8f877d;
  --line: #d9d1c5;
  --line-2: #e7e1d7;
  --text: #0a0a0a;
  --text-2: #737373;
  --text-3: #a1a1a1;
  --primary: #171717;
  --primary-hover: #2b2b2b;
  --accent: #009588;
  --accent-deep: #007d72;
  --accent-soft: #dff4f1;
  --accent-track: #bfe8e3;
  --brand: #f05100;
  --brand-hover: #d94900;
  --brand-soft: #fff0e8;
  --brand-glow: rgba(240, 81, 0, .28);
  --chart-1: #f05100;
  --chart-2: #009588;
  --chart-3: #104e64;
  --chart-4: #fcbb00;
  --chart-5: #f99c00;
  --pos: #15803d;
  --ok-soft: #dcfce7;
  --neg: #d41e2b;
  --err-soft: #fee2e2;
  --warn: #b45309;
  --warn-soft: #fff1dc;
  --radius: 14px;
  --radius-sm: 8px;
  --ring: 0 0 0 1px rgba(80, 60, 30, .09), 0 1px 2px rgba(0, 0, 0, .05);
  --ring-hover: 0 0 0 1px rgba(80, 60, 30, .16), 0 2px 8px rgba(60, 40, 20, .08);
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, .05);
  --focus: 0 0 0 3px rgba(161, 161, 161, .35);
  --side: 256px;
  font-family: "Geist", "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); }
a { color: var(--accent-deep); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--brand); }
h1 { font-size: 22px; margin: 0 0 4px; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
h1 .muted { font-weight: 400; letter-spacing: 0; }
h2 { font-size: 16px; margin: 0 0 12px; font-weight: 600; letter-spacing: -.01em; }
h3 { font-size: 12px; margin: 18px 0 8px; font-weight: 500; color: var(--text-2); text-transform: uppercase; letter-spacing: .06em; }
code, .mono { font-family: "Cascadia Mono", Consolas, "JetBrains Mono", monospace; font-size: 12px; }
code { background: var(--surface-2); border-radius: 4px; padding: 1px 5px; }
b, strong { font-weight: 600; }

/* ---- Kabuk ---- */
.shell { display: flex; min-height: 100vh; }
.side { width: var(--side); background: linear-gradient(180deg, #211e1b 0%, #171412 100%); color: var(--sidebar-text); display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; flex-shrink: 0; border-right: 0; }
.brand { display: flex; gap: 10px; align-items: center; padding: 16px 16px 12px; color: var(--sidebar-text); font-weight: 600; font-size: 15px; line-height: 1.2; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand small { display: block; color: var(--sidebar-muted); font-weight: 400; font-size: 12px; margin-top: 2px; }
.brand-mark { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #ff8a3d 0%, var(--brand) 60%, #d23f00 100%); color: #fff; display: grid; place-items: center; font-size: 17px; font-weight: 600; flex-shrink: 0; box-shadow: 0 4px 14px rgba(240, 81, 0, .45); transition: transform .25s ease, box-shadow .25s ease; }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); box-shadow: 0 6px 16px var(--brand-glow); }
.side nav { display: flex; flex-direction: column; gap: 1px; padding: 4px 12px; overflow-y: auto; flex: 1; }
.side nav a { position: relative; display: flex; align-items: center; gap: 9px; color: var(--sidebar-text); padding: 7px 10px; border-radius: var(--radius-sm); font-size: 14px; line-height: 18px; transition: background .15s ease, color .15s ease; }
.side nav a svg { transition: transform .2s ease, color .15s ease; }
.side nav a:hover svg { transform: translateX(2px); }
.side nav a svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--sidebar-icon); }
.side nav a:hover { background: rgba(255, 255, 255, .07); text-decoration: none; }
.side nav a.on { background: rgba(240, 81, 0, .16); color: #fff; font-weight: 500; }
.side nav a.on svg { color: #ff7a2f; }
.side nav a.on::before { content: ""; position: absolute; left: -12px; top: 7px; bottom: 7px; width: 3px; border-radius: 0 3px 3px 0; background: var(--brand); }
.nav-sep { font-size: 12px; color: var(--sidebar-muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 500; padding: 18px 10px 6px; }
.side-user { padding: 12px 16px 14px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.side-user a { color: var(--sidebar-text); font-weight: 500; }
.side-user .muted { font-size: 12px; color: var(--sidebar-muted); }
.side-user .linkbtn { color: var(--sidebar-muted); padding: 0; margin-top: 4px; font-size: 12.5px; align-self: flex-start; }
.side-user .linkbtn:hover { color: #fff; }
.main { flex: 1; padding: 24px 28px 64px; min-width: 0; }
.auth { max-width: 420px; margin: 10vh auto; padding: 0 16px; position: relative; }
body:has(> .auth) { background: radial-gradient(60% 50% at 15% 0%, rgba(240, 81, 0, .14), transparent 70%), radial-gradient(50% 45% at 90% 100%, rgba(0, 149, 136, .14), transparent 70%), var(--bg); min-height: 100vh; }
.auth-card { position: relative; overflow: hidden; }
.auth-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--brand), #ffb347 50%, var(--accent)); background-size: 200% 100%; animation: shimmer 4s linear infinite; }

/* ---- Metin yardımcıları ---- */
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.lead { color: var(--text-2); max-width: 980px; margin: 0 0 18px; line-height: 1.55; }
.hint { color: var(--text-2); font-size: 12.5px; line-height: 1.5; margin: 4px 0 10px; }
.muted { color: var(--text-2); }
.small { font-size: 12px; }
.nowrap { white-space: nowrap; }
.r { text-align: right; }

/* ---- Kartlar ---- */
.card { background: var(--surface); border: 0; border-radius: var(--radius); box-shadow: var(--ring); padding: 20px 22px; margin-bottom: 16px; min-width: 0; transition: box-shadow .2s ease; }
.card:hover { box-shadow: var(--ring-hover); }
.card.narrow { max-width: 520px; }
.auth-card { display: flex; flex-direction: column; gap: 12px; padding: 28px; }
.auth-card h1 { font-size: 20px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid2 > .card, .grid3 > .card { margin-bottom: 0; }
.grid2, .grid3 { margin-bottom: 16px; }

/* ---- Özet kartları ---- */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 16px; }
.kpi { position: relative; overflow: hidden; background: var(--surface); border-radius: var(--radius); box-shadow: var(--ring); padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; color: var(--text); transition: box-shadow .2s ease, transform .2s ease; }
.kpi::after { content: ""; position: absolute; left: 20px; right: 20px; bottom: 0; height: 2px; border-radius: 2px 2px 0 0; background: linear-gradient(90deg, var(--brand), var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
a.kpi:hover { box-shadow: var(--ring-hover); text-decoration: none; transform: translateY(-2px); }
a.kpi:hover::after { transform: scaleX(1); }
.kpi-l { font-size: 13px; color: var(--text-2); font-weight: 500; }
.kpi-v { font-size: 24px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; font-variant-numeric: tabular-nums; margin-top: 2px; }
.kpi-s { font-size: 12px; color: var(--text-2); line-height: 1.4; }
.kpi-empty .kpi-v { font-size: 16px; font-weight: 500; }
.kpi-warn { box-shadow: var(--ring), inset 0 3px 0 var(--brand); }
.warn-t { color: var(--warn); }

/* ---- Tablolar ---- */
.tbl { width: 100%; border-collapse: collapse; }
.tbl th { text-align: left; font-weight: 500; font-size: 13px; color: var(--text-2); border-bottom: 1px solid var(--line); padding: 9px 12px; background: transparent; white-space: nowrap; }
.tbl td { border-bottom: 1px solid var(--line-2); padding: 10px 12px; vertical-align: top; }
.tbl tbody tr:hover td, .tbl > tr:hover td { background: #faf7f2; }
.tbl th.r, .tbl td.r { text-align: right; }
.tbl tr.tot td { font-weight: 600; border-top: 1px solid var(--text); border-bottom: 0; background: transparent; }
.tbl tr.rv td { background: #fff8ec; }
.tbl tr.rv:hover td { background: #fff3dd; }
.tbl tr.off td { color: var(--text-3); text-decoration: line-through; text-decoration-color: #d4d4d4; }
.tbl.small td, .tbl.small th { padding: 7px 10px; font-size: 12.5px; }
.tbl a, .bars a { color: var(--text); }
.tbl a:hover, .bars a:hover { color: var(--accent-deep); }
.tbl td.empty, .tbl td.muted { color: var(--text-2); }
.tblwrap { overflow-x: auto; margin: 0 -22px; padding: 0 22px; }
.main > .tblwrap, .main > form > .tblwrap { margin: 0 0 8px; padding: 0; background: var(--surface); border-radius: var(--radius); box-shadow: var(--ring); }
.main > .tblwrap .tbl th:first-child, .main > form > .tblwrap .tbl th:first-child, .main > .tblwrap .tbl td:first-child, .main > form > .tblwrap .tbl td:first-child { padding-left: 20px; }
.main > .tblwrap .tbl th:last-child, .main > form > .tblwrap .tbl th:last-child, .main > .tblwrap .tbl td:last-child, .main > form > .tblwrap .tbl td:last-child { padding-right: 20px; }
.main > .tblwrap .tbl th, .main > form > .tblwrap .tbl th { padding-top: 14px; padding-bottom: 12px; }
.main > .tblwrap .tbl tr:last-child td, .main > form > .tblwrap .tbl tr:last-child td { border-bottom: 0; }
.tx td { font-size: 13px; padding-top: 11px; padding-bottom: 11px; }
.clip { max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.neg { color: var(--neg); }
.pos { color: var(--pos); }
.big { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.empty { color: var(--text-2); padding: 10px 0; }
.card.empty { border: 1px dashed var(--line); box-shadow: none; background: transparent; padding: 16px 20px; }
.card.empty p { margin: 4px 0; }

/* ---- Yatay çubuklar ---- */
.bars { width: 100%; border-collapse: collapse; }
.bars td { padding: 5px 4px; font-size: 13px; vertical-align: middle; }
.bars .bl { width: 42%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 0; }
.bars .bb, .tbl .bb { width: 32%; vertical-align: middle; }
.bb { background: linear-gradient(var(--surface-2), var(--surface-2)) center / 100% 8px no-repeat content-box; }
.bar { display: block; height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--accent-deep), var(--accent)); min-width: 3px; width: 0; transition: width .9s cubic-bezier(.2,.8,.2,1), background .2s ease; }
.bars tr:hover .bar, .tbl tr:hover .bar { background: linear-gradient(90deg, #ff7a2f, var(--brand)); }
.bars tr:hover td { background: #faf7f2; }
.bars tr td:first-child { border-radius: 6px 0 0 6px; }
.bars tr td:last-child { border-radius: 0 6px 6px 0; }
.bars .num { text-align: right; }
.bars .muted { font-size: 12px; }

/* ---- Aylık sütunlar ---- */
.months { display: flex; gap: 10px; align-items: flex-end; overflow-x: auto; padding: 8px 4px 2px; }
.month { flex: 1; min-width: 70px; display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--text); }
.month:hover { text-decoration: none; }
.mbar-wrap { height: 160px; width: 40px; display: flex; align-items: flex-end; background: transparent; border-radius: 6px; }
.mbar { display: block; width: 100%; background: var(--accent-track); border-radius: 6px 6px 3px 3px; height: 0; transition: height 1s cubic-bezier(.2,.8,.2,1), background .2s ease, transform .2s ease; transform-origin: bottom; }
.mbar[data-h="100"], .mbar[data-h="100.0"] { background: var(--accent); }
.month:hover .mbar { background: linear-gradient(180deg, #ff7a2f, var(--brand)); transform: scaleX(1.08); }
.month:hover .mv { color: var(--brand); }
.mv { transition: color .2s ease; }
.months { background: repeating-linear-gradient(to top, transparent 0 39px, var(--line-2) 39px 40px); background-size: 100% 160px; background-position: 0 8px; background-repeat: no-repeat; }
.mv { font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; margin-top: 6px; }
.mchg { font-size: 11px; color: var(--text-2); font-weight: 500; }
.mchg.up { color: var(--neg); }
.mchg.down { color: var(--pos); }
.ml { font-size: 11.5px; color: var(--text-2); }

/* ---- Rozetler ---- */
.badge { transition: transform .15s ease; }
tr:hover .badge { transform: translateY(-1px); }
.badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 500; line-height: 16px; background: var(--surface-2); color: var(--text-2); white-space: nowrap; }
.badge.ok { background: var(--ok-soft); color: var(--pos); }
.badge.warn { background: var(--warn-soft); color: var(--warn); }
.badge.err { background: var(--err-soft); color: var(--neg); }
.conf-kesin { background: var(--ok-soft); color: var(--pos); }
.conf-kural { background: var(--accent-soft); color: var(--accent-deep); }
.conf-oneri { background: var(--warn-soft); color: var(--warn); }
.conf-manuel { background: #ede9fe; color: #6d28d9; }
.conf-none { background: var(--err-soft); color: var(--neg); }

/* ---- Bildirimler ---- */
.flash { padding: 11px 14px; border-radius: 10px; margin-bottom: 14px; background: var(--ok-soft); color: #166534; font-size: 13.5px; box-shadow: inset 0 0 0 1px rgba(21, 128, 61, .18); }
.flash-warn { background: var(--warn-soft); color: #92400e; box-shadow: inset 0 0 0 1px rgba(180, 83, 9, .2); }
.flash-err { background: var(--err-soft); color: #991b1b; box-shadow: inset 0 0 0 1px rgba(212, 30, 43, .2); }

/* ---- Formlar ---- */
.filters { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.filters.wrap { background: var(--surface); border-radius: var(--radius); box-shadow: var(--ring); padding: 14px 16px; margin-bottom: 14px; }
.filters label, .grid-form label, .stack label, .row label, .auth-card label { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; color: var(--text-2); font-weight: 500; }
.filters label.chk, .stack label.chk { flex-direction: row; align-items: center; gap: 6px; color: var(--text); font-weight: 400; min-height: 36px; }
input, select, button, textarea { font: inherit; }
input, select, textarea { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 7px 10px; background: #fff; color: var(--text); min-width: 0; height: 36px; box-shadow: var(--shadow-xs); transition: border-color .12s ease, box-shadow .12s ease; }
input::placeholder { color: var(--text-3); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--text-3); box-shadow: var(--focus); }
input[type="checkbox"], input[type="radio"] { height: 16px; width: 16px; margin: 0; accent-color: var(--primary); box-shadow: none; padding: 0; }
input[type="file"] { height: auto; padding: 8px 10px; font-size: 13px; color: var(--text-2); background: var(--surface); }
input[type="file"]::file-selector-button { font: inherit; font-size: 13px; font-weight: 500; border: 1px solid var(--line); background: #fff; color: var(--text); border-radius: 6px; padding: 4px 10px; margin-right: 10px; cursor: pointer; }
select { appearance: none; -webkit-appearance: none; padding-right: 28px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23737373' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 8px center; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.row { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; margin: 10px 0; }
.grid-form { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; align-items: end; }
.grid-form .wide { grid-column: 1 / -1; }
.stackcell select { display: block; margin-bottom: 4px; max-width: 220px; height: 32px; padding-top: 4px; padding-bottom: 4px; }
.inline { display: inline; }
.inline select { height: 30px; padding: 3px 26px 3px 8px; font-size: 12.5px; }

/* ---- Düğmeler ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; border: 1px solid var(--line); background: #fff; color: var(--text); padding: 0 14px; border-radius: var(--radius-sm); cursor: pointer; font-weight: 500; font-size: 14px; line-height: 1; box-shadow: var(--shadow-xs); white-space: nowrap; transition: background .12s ease, border-color .12s ease; }
.btn { transition: background .12s ease, border-color .12s ease, transform .12s ease, box-shadow .12s ease; }
.btn:hover { background: var(--surface-2); text-decoration: none; transform: translateY(-1px); box-shadow: 0 3px 8px rgba(0, 0, 0, .08); }
.btn:active { transform: translateY(0) scale(.98); box-shadow: var(--shadow-xs); }
.btn:focus-visible { outline: none; box-shadow: var(--focus); }
.btn.primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn.primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); box-shadow: 0 4px 12px rgba(0, 0, 0, .18); }
.btn.ghost { border-color: transparent; background: transparent; color: var(--text-2); box-shadow: none; }
.btn.ghost:hover { background: var(--surface-3); color: var(--text); }
.btn.danger { background: var(--neg); border-color: var(--neg); color: #fff; }
.btn.danger:hover { background: #b91c1c; border-color: #b91c1c; }
.linkbtn { background: none; border: 0; color: var(--accent-deep); cursor: pointer; padding: 0; font-size: 12.5px; font-weight: 500; }
.linkbtn:hover { text-decoration: underline; text-underline-offset: 2px; }
.linkbtn.danger { color: var(--neg); }

/* ---- Çeşitli ---- */
.sumline { margin: 4px 0 12px; color: var(--text-2); }
.sumline b { color: var(--text); }
.pager { display: flex; gap: 14px; justify-content: center; align-items: center; padding: 14px; color: var(--text-2); }
.pager a { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--text); font-weight: 500; box-shadow: var(--shadow-xs); }
.pager a:hover { background: var(--surface-2); text-decoration: none; }
.bulkbar { position: sticky; bottom: 12px; box-shadow: var(--ring), 0 8px 24px rgba(0, 0, 0, .10); }
.tabs { display: inline-flex; gap: 2px; background: var(--surface-2); border-radius: 10px; padding: 3px; }
.tabs a { transition: background .15s ease, color .15s ease, box-shadow .15s ease; }
.tabs a { padding: 6px 12px; border-radius: 7px; border: 0; background: transparent; color: var(--text-2); font-weight: 500; font-size: 13px; line-height: 18px; }
.tabs a:hover { color: var(--text); text-decoration: none; }
.tabs a.on { background: #fff; color: var(--text); box-shadow: var(--shadow-xs), 0 0 0 1px rgba(10, 10, 10, .06); }
.dl { display: grid; grid-template-columns: 170px 1fr; gap: 8px 12px; margin: 0; }
.dl dt { color: var(--text-2); font-size: 12.5px; padding-top: 2px; }
.dl dd { margin: 0; word-break: break-word; }
.pre { white-space: pre-wrap; font-size: 13px; }
.issues { margin: 0; padding-left: 18px; line-height: 1.9; }
.issues li::marker { color: var(--text-3); }

@media (max-width: 1100px) {
  .grid3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .shell { flex-direction: column; }
  .side { width: 100%; height: auto; position: static; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .side nav { flex-direction: row; flex-wrap: wrap; padding-bottom: 10px; }
  .nav-sep { width: 100%; padding-top: 8px; }
  .main { padding: 16px; }
  .grid2, .grid3 { grid-template-columns: 1fr; }
  .dl { grid-template-columns: 1fr; }
  .card { padding: 16px; }
  .tblwrap { margin: 0 -16px; padding: 0 16px; }
}

.pw-wrap { position: relative; display: block; }
.pw-wrap input { width: 100%; padding-right: 70px; }
.pw-toggle { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); border: 0; background: var(--surface-2); color: var(--text-2); border-radius: 6px; padding: 4px 8px; font-size: 12px; font-weight: 500; cursor: pointer; }
.pw-toggle:hover { background: var(--surface-3); color: var(--text); }

/* ---- Animasyonlar ---- */
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes rise-row { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
@keyframes shimmer { from { background-position: 0 0; } to { background-position: 200% 0; } }
@keyframes pagebar { 0% { transform: scaleX(0); } 60% { transform: scaleX(.7); } 100% { transform: scaleX(.92); } }
.rise { animation: rise .5s cubic-bezier(.2,.8,.2,1) both; }
.rise-row { animation: rise-row .4s ease both; }
.pagebar { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1000; background: linear-gradient(90deg, var(--brand), #ffb347); transform-origin: left; transform: scaleX(0); opacity: 0; pointer-events: none; }
.pagebar.go { opacity: 1; animation: pagebar 2.2s cubic-bezier(.1,.6,.3,1) forwards; box-shadow: 0 0 10px var(--brand-glow); }
.head h1::after { content: ""; display: block; width: 28px; height: 3px; border-radius: 3px; margin-top: 8px; background: linear-gradient(90deg, var(--brand), #ffb347); }
.flash { animation: rise .4s ease both; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rise, .rise-row { opacity: 1; transform: none; }
}
