/* Hesaplicam — açık tema, harici font/kütüphane yok */
:root {
  --bg: #f3f7f5;
  --surface: #ffffff;
  --ink: #102018;
  --ink-2: #3a4a42;
  --muted: #52625a;
  --line: #dce8e2;
  --line-2: #c5d5cd;
  --brand: #0b8f6a;
  --brand-dark: #087554;
  --brand-tint: #e5f6ef;
  --fin: #0b7a5a;
  --sinav: #0369a1;
  --saglik: #c2335a;
  --tarih: #a85a05;
  --mat: #5b3fd0;
  --c: var(--brand);
  --field-bg: #fff;
  --warn-bg: #fbf7ec;
  --warn-line: #efe3bd;
  --danger-bg: #fef3f2;
  --danger-ink: #912018;
  --bc-back: #f4faf7;
  --sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --serif: var(--sans);
  --font: var(--sans);
  --text-xs: 0.8rem;
  --text-sm: 0.875rem;
  --text-md: 0.9375rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: clamp(1.65rem, 3.2vw, 2.1rem);
  --text-hero: clamp(1.75rem, 3.6vw, 2.35rem);
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semib: 600;
  --fw-bold: 650;
  --leading: 1.55;
  --tracking: -0.015em;
  --radius-card: 14px;
  --radius-field: 8px;
  --shadow: 0 1px 2px rgba(16, 32, 24, 0.04), 0 4px 12px rgba(16, 32, 24, 0.03);
  --shadow-card: 0 1px 2px rgba(16, 32, 24, 0.04), 0 6px 16px rgba(16, 32, 24, 0.05);
  /* Sade yüzeyler: cam/bulanıklık yok, ince çerçeve + hafif gölge */
  --glass-bg: var(--surface);
  --glass-edge: inset 0 0 0 1px var(--line);
  --glass-blur: none;
  --glass-lift: 0 1px 2px rgba(16, 32, 24, 0.04), 0 4px 14px rgba(16, 32, 24, 0.05);
  color-scheme: light;
}
html[data-theme="dark"] {
  --bg: #000000;
  --surface: #111111;
  --ink: #f2f2f2;
  --ink-2: #c9c9c9;
  --muted: #9d9d9d;
  --line: #262626;
  --line-2: #363636;
  --brand: #3dce9a;
  --brand-dark: #6bdbb0;
  --brand-tint: #0d1f18;
  --fin: #3dba92;
  --sinav: #5eb8e8;
  --saglik: #e86b8a;
  --tarih: #e0a04a;
  --mat: #9b86f0;
  --field-bg: #161616;
  --warn-bg: #1a160c;
  --warn-line: #3d3420;
  --danger-bg: #1a0c0e;
  --danger-ink: #f5a8a0;
  --bc-back: #111111;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 4px 12px rgba(0, 0, 0, 0.28);
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.35), 0 8px 20px rgba(0, 0, 0, 0.28);
  --glass-bg: var(--surface);
  --glass-edge: inset 0 0 0 1px var(--line);
  --glass-blur: none;
  --glass-lift: none;
  color-scheme: dark;
}
/* Üst bilgi ve içerik kendi katmanlarında; :where → özgüllük 0, .site-header'ın z-index'i (40) geçerli olur.
   .skip absolute kalsın yoksa üstte boşluk açar */
body > :where(:not(.skip)) { position: relative; z-index: 1; }
/* İçerik altbilginin üstünde dursun (telefondaki sabit Çalışma Alanım düğmesi/paneli için) */
body > main { z-index: 2; }
html, body { margin: 0; padding: 0; }
html { overflow-x: clip; }
/* Tema geçişi: app.js View Transitions ile daire açar */
::view-transition-old(root),
::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
html[data-theme="dark"] .search input::placeholder { color: #7a8596; }
html[data-theme="dark"] :focus-visible {
  outline-color: color-mix(in srgb, var(--brand) 55%, black);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--text-base);
  font-weight: var(--fw-regular);
  line-height: var(--leading);
  letter-spacing: var(--tracking);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: var(--fw-semib);
  letter-spacing: var(--tracking);
  line-height: 1.25;
  color: var(--ink);
}
html[data-theme="dark"] body {
  background: #000000;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--brand-dark); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 55%, white); outline-offset: 2px; border-radius: 4px; }

.cat-fin { --c: var(--fin); }
.cat-sinav { --c: var(--sinav); }
.cat-saglik { --c: var(--saglik); }
.cat-tarih { --c: var(--tarih); }
.cat-mat { --c: var(--mat); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 50; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header — liquid glass ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  margin: 0;
  padding: 10px 0;
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
html[data-theme="dark"] .site-header {
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
}
.site-header .wrap {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  padding-top: 2px;
  padding-bottom: 2px;
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
}
.brand {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font);
  font-size: var(--text-lg);
  font-weight: var(--fw-semib);
  letter-spacing: var(--tracking);
  padding: 4px 4px 4px 6px;
  flex-shrink: 0;
}
.brand:hover { color: var(--ink); }
.brand svg { width: 28px; height: 28px; transition: transform 0.25s ease; }
.brand:hover svg { transform: rotate(-6deg) scale(1.06); }

/* One liquid-glass bar: logo + categories + theme */
.header-glass {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  padding: 6px 8px;
  border-radius: 999px;
  overflow: visible;
  background: var(--glass-bg);
  box-shadow: var(--glass-lift), var(--glass-edge);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}
.header-glass::before,
.header-glass::after { display: none; }

.main-nav {
  position: relative;
  isolation: isolate;
  display: flex;
  gap: 2px;
  align-items: center;
  flex: 1;
  justify-content: center;
  min-width: 0;
  padding: 0;
  margin: 0;
  background: none;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Flat glass highlight — no water-drop morph */
.nav-bubble {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  border-radius: 999px;
  transform: translate3d(0, 0, 0);
  background: color-mix(in srgb, var(--nav-bubble-c, var(--brand)) 11%, transparent);
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.2s ease,
    background 0.3s ease;
  will-change: transform, width, height;
}
.nav-bubble.is-on { opacity: 1; }
.nav-bubble.is-snap { transition: none; }
html[data-theme="dark"] .nav-bubble {
  background: color-mix(in srgb, var(--nav-bubble-c, var(--brand)) 18%, transparent);
}

.main-nav a {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--c, var(--ink-2));
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  letter-spacing: var(--tracking);
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}
.main-nav a:hover { opacity: 1; transform: translateY(-0.5px); }
.main-nav a[aria-current="page"] {
  color: var(--c, var(--brand));
  font-weight: var(--fw-semib);
}
.main-nav a:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--c, var(--brand)) 55%, transparent);
  outline-offset: 2px;
}

.menu-btn { display: none; }
.theme-btn {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  margin-left: auto;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.2s, transform 0.2s, background 0.2s, border-color 0.2s;
}
.theme-btn:hover {
  color: var(--brand);
  background: color-mix(in srgb, var(--ink) 6%, transparent);
}
.theme-btn svg { width: 20px; height: 20px; transition: transform 0.35s ease; }
.theme-btn:active svg { transform: rotate(20deg) scale(0.92); }
.theme-btn .icon-moon { display: none; }
html[data-theme="dark"] .theme-btn .icon-sun { display: none; }
html[data-theme="dark"] .theme-btn .icon-moon { display: block; }
.greet {
  margin: 0 0 8px; font-size: var(--text-sm); font-weight: var(--fw-medium); color: var(--ink-2);
  min-height: 1.4em;
}
.js .greet { animation: greet-in 0.45s ease both; }
@keyframes greet-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Hero ---------- */
.hero { padding: 40px 0 24px; position: relative; }
.hero .wrap { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); align-items: center; }
.hero .wrap > * { min-width: 0; }
.hero h1 {
  font-family: var(--font);
  font-size: var(--text-hero);
  font-weight: var(--fw-semib);
  line-height: 1.2;
  letter-spacing: var(--tracking);
  margin: 0 0 12px;
  max-width: 18ch;
}
.hero p.lead { font-size: var(--text-md); color: var(--ink-2); max-width: 52ch; margin: 0 0 20px; font-weight: var(--fw-regular); }
.js .hero h1 { animation: greet-in 0.5s ease 0.05s both; }
.js .hero .lead { animation: greet-in 0.5s ease 0.12s both; }
.js .hero .find-glass { animation: greet-in 0.5s ease 0.18s both; }
.js .hero .bc-wrap { animation: greet-in 0.55s ease 0.2s both; }

/* Hero search + chips — shared liquid-glass with header */
.find-glass {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 640px;
  margin-top: 4px;
  padding: 10px;
  border-radius: 22px;
  border: 0;
  background: var(--glass-bg);
  box-shadow: var(--glass-lift), var(--glass-edge);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}
.find-glass::before,
.find-glass::after { display: none; }

.find-glass .search {
  position: relative;
  z-index: 3;
  width: 100%;
  display: none;
}
.js .find-glass .search { display: block; }
.find-glass .search input {
  width: 100%;
  height: 46px;
  padding: 0 14px 0 42px;
  font: inherit;
  font-size: var(--text-md);
  font-weight: var(--fw-regular);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
}
.find-glass .search input::placeholder { color: var(--muted); }
.find-glass .search svg {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--muted);
  pointer-events: none;
  stroke-width: 1.5;
}
.find-glass .search input:focus {
  outline: none;
  border-color: var(--brand);
  background: var(--surface);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 14%, transparent);
}
html[data-theme="dark"] .find-glass .search input {
  background: var(--field-bg);
}
html[data-theme="dark"] .find-glass .search svg { color: #8b93a1; }

.find-glass .chips {
  position: relative;
  isolation: isolate;
  z-index: 3;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  width: 100%;
}
.find-glass .chip {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--c, var(--ink));
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  letter-spacing: var(--tracking);
  white-space: nowrap;
  flex: 0 0 auto;
  transition: color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}
.find-glass .chip:hover {
  color: var(--c, var(--ink));
  transform: translateY(-0.5px);
}
.find-glass .chip.is-active {
  background: color-mix(in srgb, var(--c, var(--brand)) 14%, transparent);
  border-color: color-mix(in srgb, var(--c, var(--brand)) 32%, transparent);
  font-weight: 600;
}
.find-glass .chip:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--c, var(--brand)) 55%, transparent);
  outline-offset: 2px;
}
html[data-theme="dark"] .find-glass .chip {
  color: var(--c, #f5f5f5);
}
html[data-theme="dark"] .find-glass .chip.is-active {
  background: color-mix(in srgb, var(--c, var(--brand)) 22%, transparent);
  border-color: color-mix(in srgb, var(--c, var(--brand)) 40%, transparent);
}

/* ---------- 3D yatay halka carousel ---------- */
.hc-ring-section {
  position: relative;
  z-index: 2;
  padding: 4px 0 0;
  overflow: hidden;
}
.hc-rail {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 2px;
  margin: 0 auto;
  max-width: 100%;
  outline: none;
}
.hc-rail-prev,
.hc-rail-next {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  z-index: 12;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.hc-rail-prev:hover,
.hc-rail-next:hover {
  border-color: color-mix(in srgb, var(--brand) 55%, var(--line));
  color: var(--brand);
}
.hc-rail-scene {
  position: relative;
  height: clamp(360px, 50vw, 460px);
  /* perspective yok: ortak 3D context yan kart kenarını merkeze gömüyordu */
  overflow: visible;
}
.hc-rail-orbit {
  display: none; /* yeşil halka/çizgi kaldırıldı — sahneyi bozuyordu */
}
.hc-rail-stage {
  position: absolute;
  inset: 0;
  /* flat stacking: z-index + DOM sırası; preserve-3d yok */
  transform-style: flat;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  outline: none;
  cursor: grab;
  z-index: 1;
}
.hc-rail-stage.is-dragging { cursor: grabbing; touch-action: none; }
.hc-rail-card {
  --prism-d: 32px;
  --card-r: 20px;
  --card-op: 1;
  position: absolute;
  top: 38%;
  left: 50%;
  width: min(56vw, 260px);
  height: 200px;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  transform: translate(-50%, -50%);
  transform-origin: center center;
  will-change: transform;
  pointer-events: none;
}
.hc-rail-card-3d {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  transform-style: preserve-3d;
  transform-origin: center center;
  will-change: transform;
}
/* Kartvizit kalınlık: oval fillet dilimleri — keskin kutu kenarı yok */
.hc-rail-prism {
  position: absolute;
  inset: 0;
  border-radius: var(--card-r);
  transform-style: preserve-3d;
  pointer-events: none;
  z-index: 0;
}
.hc-rail-face,
.hc-rail-depth {
  position: absolute;
  display: block;
  margin: 0;
  padding: 0;
  pointer-events: none;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.hc-rail-face-back {
  inset: 0;
  border-radius: var(--card-r);
  background: color-mix(in srgb, var(--ink) 12%, var(--surface));
  transform: translateZ(calc(-1 * var(--prism-d)));
}
.hc-rail-depth {
  top: var(--inset, 0px);
  right: var(--inset, 0px);
  bottom: var(--inset, 0px);
  left: var(--inset, 0px);
  border-radius: calc(var(--card-r) - var(--inset, 0px));
  /* kartın kalınlığı: yüzeyden biraz koyu, düz ton */
  background: color-mix(in srgb, var(--ink) 9%, var(--surface));
  transform: translateZ(calc(-1 * var(--z, 0px)));
}
.hc-rail-card.is-active {
  pointer-events: auto;
  z-index: 1200 !important;
}
.hc-rail-card.is-active .hc-rail-card-front {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand), 0 14px 32px rgba(0, 0, 0, 0.12);
}
.hc-rail-card.is-active .hc-rail-depth,
.hc-rail-card.is-active .hc-rail-face-back {
  background: color-mix(in srgb, var(--brand) 14%, var(--surface));
}
.hc-rail-card.is-near { pointer-events: auto; }
.hc-rail-card.is-added .hc-rail-card-front {
  border-color: color-mix(in srgb, var(--brand) 65%, var(--line));
}
.hc-rail-card-front {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-height: 0;
  height: 100%;
  box-sizing: border-box;
  padding: 18px 18px 14px;
  border-radius: var(--card-r);
  border: 1px solid var(--line-2);
  background: var(--surface);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
  opacity: var(--card-op, 1);
  transform: translateZ(1px);
}
.hc-rail-ico {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  background-color: var(--c, var(--brand));
  -webkit-mask: var(--ico, var(--ico-mat)) center / contain no-repeat;
  mask: var(--ico, var(--ico-mat)) center / contain no-repeat;
  opacity: 0.95;
}
.hc-rail-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 3.6em;
  pointer-events: auto;
}
.hc-rail-name {
  font-size: 1.05rem;
  font-weight: var(--fw-semib);
  color: var(--ink);
  line-height: 1.25;
}
.hc-rail-short {
  font-size: 0.875rem;
  color: var(--ink-2);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hc-rail-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  pointer-events: auto;
}
.hc-rail-add {
  flex: 1;
  min-height: 40px;
  border-radius: 999px;
  border: 0;
  background: var(--brand-tint);
  color: var(--brand-dark);
  font: inherit;
  font-size: 0.92rem;
  font-weight: var(--fw-semib);
  cursor: pointer;
}
.hc-rail-add:hover {
  background: color-mix(in srgb, var(--brand) 22%, var(--surface));
}
.hc-rail-card.is-added .hc-rail-add {
  background: var(--brand);
  color: #fff;
}
.hc-rail-grip {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: grab;
  font-size: 0.85rem;
  letter-spacing: -0.08em;
  touch-action: none;
}
.hc-rail-grip:active { cursor: grabbing; }
.hc-rail-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 4px 8px 0;
  font-size: var(--text-sm);
  color: var(--muted);
  text-align: center;
}
.hc-rail-ghost {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  pointer-events: none;
  opacity: 0.92;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  will-change: transform;
  width: min(72vw, 240px);
  border-radius: 20px;
}

/* ---------- Çalışma alanı dock + panel ---------- */
.hc-ws-dock {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 20px;
  padding-bottom: 8px;
}
.hc-ws-dock-hint {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--muted);
  text-align: center;
}
.hc-ws-launch {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 10px 0 18px;
  border-radius: 999px;
  border: 0;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 18px color-mix(in srgb, var(--brand) 28%, transparent);
  cursor: pointer;
  font: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.hc-ws-launch:hover,
.hc-ws-launch.is-hot {
  transform: translateY(-1px);
  background: var(--brand-dark);
}
/* Koyu temada marka yeşili açık: üstünde koyu yazı daha okunur */
html[data-theme="dark"] .hc-ws-launch,
html[data-theme="dark"] .hc-rail-card.is-added .hc-rail-add { color: #04261a; }
html[data-theme="dark"] .hc-ws-launch:hover { background: #5ad8aa; }
html[data-theme="dark"] .hc-ws-count { background: rgba(0, 0, 0, 0.16); color: #04261a; }
.hc-ws-launch.is-drop-target {
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 30%, transparent);
}
.hc-ws-launch-icon {
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1;
}
.hc-ws-launch-text {
  font-size: 0.95rem;
  font-weight: var(--fw-semib);
  white-space: nowrap;
}
.hc-ws-count {
  min-width: 0;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.hc-workspace {
  position: relative;
  z-index: 25;
  margin: 0 0 28px;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  max-height: min(70vh, 720px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hc-workspace.is-drop-target {
  outline: 2px dashed color-mix(in srgb, var(--brand) 55%, transparent);
}
.hc-workspace.is-hot {
  outline-color: var(--brand);
}
.hc-ws-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.hc-ws-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 650;
}
.hc-ws-bar-actions { display: flex; gap: 6px; }
.hc-ws-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}
.hc-ws-icon-btn:hover {
  background: color-mix(in srgb, var(--ink) 6%, transparent);
}
.hc-ws-tabs {
  display: none;
  flex-shrink: 0; /* panel dolunca sekmeler ezilmesin */
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
}
.hc-ws-tab {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
  white-space: nowrap;
}
.hc-ws-tab.is-active {
  color: var(--ink);
  border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
  background: color-mix(in srgb, var(--brand) 12%, transparent);
}
.hc-ws-grid {
  display: grid;
  gap: 12px;
  overflow: auto;
  min-height: 0;
  flex: 1;
}
.hc-ws-grid[data-count="1"] { grid-template-columns: 1fr; }
.hc-ws-grid[data-count="2"] { grid-template-columns: 1fr 1fr; }
.hc-ws-grid[data-count="3"] { grid-template-columns: 1fr 1fr 1fr; }
.hc-ws-empty {
  margin: 0;
  padding: 18px 12px;
  text-align: center;
  color: var(--muted);
  font-size: var(--text-sm);
}
.hc-ws-slot {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
  background: var(--bg);
  padding: 12px;
  transition: box-shadow 0.25s ease;
}
.hc-ws-slot.is-flash {
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand) 55%, transparent);
}
.hc-ws-slot-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.hc-ws-slot-title {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.3;
}
.hc-ws-slot-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.hc-ws-slot-link {
  font-size: 0.75rem;
  color: var(--brand);
  text-decoration: none;
  white-space: nowrap;
  padding: 6px 8px;
}
.hc-ws-slot-link:hover { text-decoration: underline; }
.hc-ws-body {
  min-width: 0;
}
.hc-ws-body .fields {
  gap: 10px;
}
.hc-ws-body .actions {
  margin-top: 10px;
}
.hc-ws-body .result,
.hc-ws-body .error {
  margin-top: 10px;
}
.hc-ws-toast {
  margin: 0;
  min-height: 0;
  font-size: var(--text-sm);
  color: var(--ink);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.hc-ws-toast.show { opacity: 1; }

@media (max-width: 900px) {
  .hc-ws-grid[data-count="2"],
  .hc-ws-grid[data-count="3"] {
    grid-template-columns: 1fr;
  }
  .hc-ws-tabs { display: flex; }
  .hc-workspace { max-height: 70vh; }
}
@media (max-width: 720px) {
  .hc-rail { grid-template-columns: 36px 1fr 36px; gap: 0; }
  .hc-rail-prev,
  .hc-rail-next { width: 36px; height: 36px; font-size: 1.15rem; }
  .hc-rail-scene { height: clamp(300px, 78vw, 380px); }
  .hc-rail-card { width: min(64vw, 230px); height: 178px; --prism-d: 28px; }
  .hc-rail-card-3d { padding: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .hc-ws-launch,
  .hc-ws-toast { transition: none; }
  .hc-rail-card { will-change: auto; }
}

/* The tape — kayıt fişi görünümlü örnek hesap */

/* ---------- Ledger (hesap satırları) ---------- */
.ledger-row { display: flex; align-items: baseline; gap: 8px; padding: 5px 0; font-size: 0.97rem; }
.ledger-row .leader { flex: 1; border-bottom: 2px dotted var(--line-2); transform: translateY(-3px); min-width: 12px; }
.ledger-row b { font-variant-numeric: tabular-nums; font-weight: 650; text-align: right; white-space: nowrap; }
.ledger-row span:first-child { color: var(--ink-2); }

/* Category line icons (thin stroke via mask) */
:root {
  --ico-fin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='5' width='20' height='14' rx='2'/%3E%3Cpath d='M2 10h20'/%3E%3C/svg%3E");
  --ico-sinav: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z'/%3E%3C/svg%3E");
  --ico-saglik: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.6l-1-1a5.5 5.5 0 0 0-7.8 7.8l1 1L12 21l7.8-7.6 1-1a5.5 5.5 0 0 0 0-7.8z'/%3E%3C/svg%3E");
  --ico-tarih: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E");
  --ico-mat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='2' width='16' height='20' rx='2'/%3E%3Cpath d='M8 6h8M8 10h8M8 14h4M8 18h8'/%3E%3C/svg%3E");
}
.main-nav a::before,
.find-glass .chip::before,
.cat-head h2::before,
.tool-head .cat-tag::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask: var(--ico) center / contain no-repeat;
  mask: var(--ico) center / contain no-repeat;
  opacity: 0.92;
}
.cat-fin { --ico: var(--ico-fin); }
.cat-sinav { --ico: var(--ico-sinav); }
.cat-saglik { --ico: var(--ico-saglik); }
.cat-tarih { --ico: var(--ico-tarih); }
.cat-mat { --ico: var(--ico-mat); }
.main-nav a::before { width: 13px; height: 13px; }
.find-glass .chip::before {
  width: 13px;
  height: 13px;
  border-radius: 0;
  box-shadow: none;
  background: currentColor;
  background-color: currentColor;
}
.cat-head h2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cat-head h2::before { width: 16px; height: 16px; color: var(--c); }
.tool-head .cat-tag::before {
  width: 14px;
  height: 14px;
  border-radius: 0;
  background: currentColor;
  background-color: currentColor;
  box-shadow: none;
}

/* ---------- Kartlar ---------- */
.section { padding: 28px 0; }
.section-title {
  font-family: var(--font);
  font-size: var(--text-xl);
  font-weight: var(--fw-semib);
  letter-spacing: var(--tracking);
  margin: 0 0 4px;
}
.section-sub { color: var(--muted); margin: 0 0 18px; font-size: var(--text-sm); }
.cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid color-mix(in srgb, var(--c) 35%, var(--line));
  padding-bottom: 8px;
}
.cat-head h2 {
  font-family: var(--font);
  font-size: var(--text-lg);
  font-weight: var(--fw-semib);
  margin: 0;
}
.cat-head a { font-size: var(--text-sm); text-decoration: none; font-weight: var(--fw-medium); }
.grid {
  position: relative;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.card {
  position: relative;
  display: block;
  padding: 16px 18px;
  border-radius: var(--radius-card);
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  border-left: 3px solid var(--c);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card.reveal { opacity: 0; transform: translateY(10px); }
.card.reveal.in { opacity: 1; transform: none; }
.card:hover,
.card:focus-visible {
  color: var(--ink);
  border-color: color-mix(in srgb, var(--c) 45%, var(--line));
  border-left-color: var(--c);
  box-shadow: 0 8px 22px rgba(16, 32, 24, 0.08);
  transform: translateY(-2px);
}
.card.reveal.in:hover { transform: translateY(-2px); }
.card h3 {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: var(--fw-semib);
  line-height: 1.35;
  letter-spacing: var(--tracking);
}
.card p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.9rem;
  line-height: 1.5;
}
.card[hidden] { display: none; }
html[data-theme="dark"] .card:hover,
html[data-theme="dark"] .card:focus-visible { box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5); }
.cat-block[hidden] { display: none; }
.empty { display: none; padding: 20px; border: 1px dashed var(--line-2); border-radius: var(--radius-card); color: var(--muted); text-align: center; font-size: var(--text-sm); }
.empty.show { display: block; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: 0.88rem; color: var(--muted); padding: 22px 0 6px; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }

/* ---------- Araç sayfası ---------- */
.tool-head { padding: 6px 0 20px; }
.tool-head h1 { font-family: var(--font); font-size: var(--text-3xl); font-weight: var(--fw-semib); line-height: 1.2; letter-spacing: var(--tracking); margin: 0 0 10px; }
.tool-head .cat-tag { display: inline-flex; align-items: center; gap: 7px; font-size: var(--text-sm); font-weight: var(--fw-medium); color: var(--c); text-decoration: none; margin-bottom: 10px; }
.tool-head p.lead { color: var(--ink-2); font-size: var(--text-md); margin: 0; max-width: 62ch; }

.tool-layout { display: grid; gap: 28px; grid-template-columns: 1fr; padding-bottom: 40px; }
.calc {
  background: var(--glass-bg);
  border: 0;
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--glass-lift), var(--glass-edge), inset 0 3px 0 0 color-mix(in srgb, var(--c) 55%, transparent);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  transition: box-shadow 0.25s ease;
}
.calc:focus-within { box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 16%, transparent), var(--shadow); }
.fields { display: grid; gap: 16px; grid-template-columns: 1fr; }
.dmy {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1.1fr;
  gap: 8px;
}
.dmy select {
  width: 100%;
  min-width: 0;
}
.field label, .field .field-label { display: block; font-weight: 600; font-size: 0.93rem; margin-bottom: 6px; }
.field .hint { display: block; color: var(--muted); font-size: 0.83rem; margin-top: 5px; line-height: 1.45; }
.field .check {
  display: flex; align-items: flex-start; gap: 10px; font-weight: 500; cursor: pointer;
  padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: 10px; background: var(--field-bg);
}
.field .check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--c, var(--brand)); flex-shrink: 0; }
.field .check span { line-height: 1.4; color: var(--ink); }
.input-wrap { position: relative; }
.input-wrap .unit { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 0.9rem; pointer-events: none; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 9px 12px; font: inherit; color: var(--ink); background: var(--field-bg);
  border: 1.5px solid var(--line-2); border-radius: var(--radius-field);
}
.field input.has-unit { padding-right: 52px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--c); outline: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 16%, white); }
.field input[aria-invalid="true"] { border-color: #b42318; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.btn { appearance: none; border: 0; cursor: pointer; font: inherit; font-weight: 650; padding: 0 24px; min-height: 48px; border-radius: 10px; background: var(--c); color: #fff; }
.btn:hover { filter: brightness(0.92); }
.btn.ghost { background: transparent; color: var(--ink-2); border: 1.5px solid var(--line-2); }
/* Koyu temada kategori renkleri açık tonlu: düğme yazısı koyu olsun */
html[data-theme="dark"] .btn:not(.ghost) { color: #0b0b0b; }
.btn.ghost:hover { background: var(--bg); filter: none; }

.error { display: none; margin-top: 16px; padding: 12px 14px; border-radius: 8px; background: var(--danger-bg); border: 1px solid color-mix(in srgb, var(--danger-ink) 35%, var(--line)); color: var(--danger-ink); font-size: 0.95rem; }
.error.show { display: block; }

.result { display: none; margin-top: 22px; border-top: 1px dashed var(--line-2); padding-top: 20px; }
.result.show { display: block; animation: result-in 0.35s ease; }
@keyframes result-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.result .headline-label { color: var(--muted); font-size: 0.9rem; margin: 0; }
.result .headline { font-family: var(--font); font-size: clamp(1.55rem, 3.8vw, 2.15rem); line-height: 1.15; font-weight: var(--fw-semib); letter-spacing: var(--tracking); font-variant-numeric: tabular-nums; color: var(--c); margin: 2px 0 14px; word-break: break-word; }
.result-stats { display: grid; gap: 10px; grid-template-columns: 1fr; margin: 0 0 14px; }
@media (min-width: 520px) { .result-stats { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); } }
.result-stats .stat {
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 10%, var(--surface)), var(--surface));
  border: 1px solid color-mix(in srgb, var(--c) 22%, var(--line));
  border-radius: 12px; padding: 12px 14px;
  display: grid; gap: 4px;
}
.result-stats .stat-label { color: var(--muted); font-size: 0.8rem; font-weight: 500; }
.result-stats .stat-value { font-family: var(--font); font-size: var(--text-lg); font-weight: var(--fw-semib); color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: var(--tracking); }
.result .rows { background: color-mix(in srgb, var(--c) 6%, var(--surface)); border: 1px solid color-mix(in srgb, var(--c) 16%, var(--line)); border-radius: 10px; padding: 8px 16px; }
.result .notes { margin: 14px 0 0; padding: 0; list-style: none; color: var(--ink-2); font-size: 0.92rem; }
.result .notes li { padding-left: 18px; position: relative; margin-bottom: 6px; }
.result .notes li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
.result details { margin-top: 16px; }
.result summary { cursor: pointer; font-weight: 600; color: var(--c); }
@media (prefers-reduced-motion: reduce) { .result.show { animation: none; } }
.tablewrap { overflow-x: auto; margin-top: 10px; border: 1px solid var(--line); border-radius: 10px; max-height: 420px; }
.tablewrap table { border-collapse: collapse; width: 100%; font-size: 0.9rem; font-variant-numeric: tabular-nums; }
.tablewrap th, .tablewrap td { padding: 8px 12px; text-align: right; white-space: nowrap; border-bottom: 1px solid var(--line); }
.tablewrap th:first-child, .tablewrap td:first-child { text-align: left; }
.tablewrap thead th { position: sticky; top: 0; background: color-mix(in srgb, var(--c) 8%, var(--field-bg)); color: var(--ink); font-weight: 650; }
.meter { margin-top: 14px; }
/* Ölçek: VKİ 15 → 0%, 18,5 → 14%, 25 → 40%, 30 → 60%, 40 → 100% */
.meter-bar { position: relative; height: 12px; border-radius: 999px; background: linear-gradient(90deg, #5b8def 0%, #5b8def 13%, #2fa36b 15%, #2fa36b 39%, #e7a523 41%, #e7a523 59%, #e0662f 61%, #c2335a 100%); }
.meter-pin { position: absolute; top: -5px; width: 4px; height: 22px; background: var(--ink); border-radius: 2px; transform: translateX(-50%); box-shadow: 0 0 0 2px var(--surface); }
.meter-scale { display: flex; justify-content: space-between; color: var(--muted); font-size: 0.78rem; margin-top: 6px; }

.aside { display: grid; gap: 18px; align-content: start; }
.aside .box {
  background: var(--glass-bg);
  border: 0;
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--glass-lift), var(--glass-edge);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}
.aside h2 { font-family: var(--font); font-size: var(--text-md); font-weight: var(--fw-semib); margin: 0 0 10px; }
.aside ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.aside li a { display: block; padding: 8px 10px; margin: 0 -10px; border-radius: 8px; text-decoration: none; color: var(--ink); font-size: 0.95rem; }
.aside li a:hover { background: var(--bg); color: var(--c, var(--brand)); }
.aside .disclaimer { font-size: 0.85rem; color: var(--ink-2); background: var(--warn-bg); border-color: var(--warn-line); }

/* ---------- İçerik (SEO metni) ---------- */
.prose {
  background: var(--glass-bg);
  border: 0;
  border-radius: 18px;
  padding: clamp(18px, 3.5vw, 32px);
  font-size: var(--text-md);
  box-shadow: var(--glass-lift), var(--glass-edge);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}
.prose h2 { font-family: var(--font); font-size: var(--text-xl); font-weight: var(--fw-semib); letter-spacing: var(--tracking); margin: 1.5em 0 0.45em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.08rem; margin: 1.3em 0 0.4em; }
.prose p, .prose li { color: var(--ink-2); max-width: 70ch; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose code { background: color-mix(in srgb, var(--c) 10%, var(--field-bg)); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; font-size: 0.92em; color: var(--ink); }
.prose .formula, .result .formula {
  display: block; background: color-mix(in srgb, var(--c) 8%, var(--field-bg));
  border-left: 4px solid var(--c); border-radius: 6px; padding: 12px 16px; margin: 12px 0;
  font-family: var(--serif); font-size: 1.05rem; overflow-x: auto; color: var(--ink);
}
.result-formulas { margin-top: 12px; }

/* "Kısaca" kutusu: soruya doğrudan cevap + temel bilgiler (SEO/GEO) */
.facts {
  margin-top: 24px; padding: 20px 22px; border: 1px solid var(--line);
  border-radius: var(--radius-card); background: color-mix(in srgb, var(--surface) 88%, transparent);
  border-top: 3px solid var(--c, var(--brand));
}
.facts h2 { font-size: 1.12rem; margin: 0 0 8px; }
.facts-answer { margin: 0 0 14px; color: var(--ink); line-height: 1.6; max-width: 75ch; }
.facts dl { display: grid; gap: 0; margin: 0; }
.facts dl > div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); }
.facts dt { font-size: var(--text-sm); font-weight: var(--fw-medium); color: var(--muted); }
.facts dd { margin: 0; font-size: 0.95rem; color: var(--ink-2); min-width: 0; overflow-wrap: anywhere; }
.facts dd.is-formula { font-family: var(--serif); color: var(--ink); }
@media (max-width: 520px) {
  .facts { padding: 16px; }
  .facts dl > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
.result-formulas .formula { margin: 8px 0; font-size: 0.98rem; }

/* Geometri şekil sekmeleri */
.shape-tabs {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px;
}
.shape-tab {
  appearance: none; border: 1.5px solid var(--line-2); background: var(--field-bg);
  color: var(--ink); font: inherit; font-weight: 600; font-size: 0.9rem;
  padding: 10px 14px; border-radius: 10px; cursor: pointer;
  transition: border-color .15s ease, background .15s ease, color .15s ease, transform .15s ease;
}
.shape-tab:hover { border-color: color-mix(in srgb, var(--c) 45%, var(--line-2)); }
.shape-tab.is-active {
  border-color: var(--c); background: color-mix(in srgb, var(--c) 12%, var(--field-bg));
  color: var(--ink); box-shadow: 0 0 0 1px color-mix(in srgb, var(--c) 25%, transparent);
}
.shape-tab:focus-visible { outline: 2px solid var(--c); outline-offset: 2px; }
.js form[data-ui="geo"] .shape-select-field {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
@media (prefers-reduced-motion: reduce) {
  .shape-tab { transition: none; }
}

/* Geometri diyagramı */
.geo-viz {
  margin: 16px 0 4px;
  padding: 14px 12px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--c, var(--brand)) 7%, var(--field-bg));
  border: 1px solid color-mix(in srgb, var(--c, var(--brand)) 20%, var(--line));
  display: flex;
  justify-content: center;
  align-items: center;
}
.geo-svg {
  width: 100%;
  max-width: 280px;
  height: auto;
  display: block;
}
.geo-fill {
  fill: color-mix(in srgb, var(--c, var(--brand)) 22%, transparent);
  stroke: var(--c, var(--brand));
  stroke-width: 2.4;
  stroke-linejoin: round;
}
.geo-fill-soft {
  fill: color-mix(in srgb, var(--c, var(--brand)) 14%, transparent);
  stroke: var(--c, var(--brand));
  stroke-width: 2.2;
  stroke-linejoin: round;
}
.geo-fill-dim {
  fill: color-mix(in srgb, var(--c, var(--brand)) 10%, transparent);
  stroke: color-mix(in srgb, var(--c, var(--brand)) 70%, var(--ink));
  stroke-width: 2;
  stroke-linejoin: round;
}
.geo-radius, .geo-height, .geo-base-mark {
  stroke: var(--ink);
  stroke-width: 1.6;
  stroke-linecap: round;
  fill: none;
}
.geo-radius { stroke-dasharray: none; }
.geo-height { stroke-dasharray: 5 4; opacity: 0.75; }
.geo-base-mark { stroke-width: 1.4; opacity: 0.55; }
.geo-dot { fill: var(--c, var(--brand)); stroke: none; }
.geo-label {
  fill: var(--ink);
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
}
.geo-caption {
  fill: var(--muted);
  font-size: 12.5px;
  font-weight: 500;
  font-family: inherit;
}
.prose .example { background: color-mix(in srgb, var(--c) 8%, var(--surface)); border: 1px solid color-mix(in srgb, var(--c) 20%, var(--line)); border-radius: 10px; padding: 4px 18px 8px; margin: 14px 0; color: var(--ink-2); }
.prose .example b, .prose .example strong { color: var(--ink); }
.prose table { border-collapse: collapse; margin: 12px 0; font-size: 0.95rem; width: 100%; max-width: 560px; }
/* Sayısal tablolar: rakamlar bölünmez, dar ekranda tablo yatay kayar */
.prose table.num { display: block; overflow-x: auto; width: max-content; max-width: 100%; }
.prose table.num td:not(:first-child), .prose table.num th { white-space: nowrap; }
.prose table.num td:not(:first-child) { font-variant-numeric: tabular-nums; }
.prose th, .prose td { text-align: left; padding: 8px 12px; border-bottom: 1px solid var(--line); }
.prose thead th { background: color-mix(in srgb, var(--c) 8%, var(--field-bg)); color: var(--ink); }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; font-weight: 600; padding: 12px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--c, var(--brand)); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 14px; }

.related { padding: 8px 0 40px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); margin-top: 24px; padding: 40px 0 28px; color: var(--ink-2); font-size: 0.93rem; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
.site-footer h2 { font-size: 0.95rem; margin: 0 0 10px; color: var(--ink); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--brand); text-decoration: underline; }
.footer-note { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; }

.ad { min-height: 120px; margin: 20px 0; text-align: center; }

.page-simple { padding: 10px 0 40px; }
.notfound { text-align: center; padding: 70px 0; }
.notfound .big404 { font-family: var(--serif); font-size: clamp(4rem, 14vw, 8rem); line-height: 1; margin: 0; color: var(--brand); letter-spacing: -0.04em; }

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .fields.two { grid-template-columns: 1fr 1fr; }
  .fields .full { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
@media (min-width: 960px) {
  .hero .wrap { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
  .tool-layout { grid-template-columns: minmax(0, 1fr) 300px; }
  .aside { position: sticky; top: 20px; align-self: start; }
}
@media (max-width: 759px) {
  /* ---- Telefon ana sayfa: örnek kartlar yerine 3B çark + Çalışma Alanım ---- */
  .hero .bc-wrap { display: none; }
  .hero { padding: 20px 0 0; }

  /* Çark: daha alçak sahne, kart ortada; sürükleme tutamacı yerine yalnız "+ Ekle" */
  .hc-ring-section { padding-top: 0; }
  .hc-rail { grid-template-columns: 34px minmax(0, 1fr) 34px; }
  .hc-rail-scene { height: 250px; }
  .hc-rail-card { top: 50%; width: min(66vw, 240px); height: 206px; }
  .hc-rail-card-front { padding: 16px 16px 14px; }
  .hc-rail-grip { display: none; }
  /* Telefonda kart kalınlığı yok: düz kartlar hem sade hem hızlı */
  .hc-rail-prism { display: none; }
  /* Performans: hareket eden kartların üstünde/arkasında pahalı bulanıklık ve geniş gölge yok */
  .hc-rail-prev,
  .hc-rail-next {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  }
  .hc-rail-card-front { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); }
  .hc-rail-card.is-active .hc-rail-card-front { box-shadow: 0 0 0 1px var(--brand), 0 8px 18px rgba(0, 0, 0, 0.12); }
  .hc-rail-add { min-height: 42px; font-size: 0.95rem; }

  /* Çalışma Alanım düğmesi: ekranın altında sabit hap */
  .hc-ws-dock { padding: 0; gap: 0; }
  .hc-ws-dock-hint { display: none; }
  .hc-ws-launch {
    position: fixed;
    left: 50%;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    z-index: 50;
    min-height: 50px;
    transform: translateX(-50%);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  }
  .hc-ws-launch:hover,
  .hc-ws-launch.is-hot { transform: translateX(-50%); }
  .hc-ws-launch.is-bump { animation: ws-bump 0.45s ease; }
  .hc-ws-launch[aria-expanded="true"] { display: none; }
  body:has(#hc-ws-launch) .site-footer { padding-bottom: 96px; }

  /* Çalışma alanı paneli: alttan açılan sayfa (bottom sheet) */
  .hc-workspace {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    margin: 0;
    max-height: 82dvh;
    padding: 18px 14px calc(14px + env(safe-area-inset-bottom, 0px));
    border-radius: 22px 22px 0 0;
    border-bottom: 0;
    background: var(--surface);
    box-shadow:
      0 -10px 40px color-mix(in srgb, #000 22%, transparent),
      0 0 0 100vmax color-mix(in srgb, #000 42%, transparent);
    animation: ws-sheet-in 0.3s cubic-bezier(.2, .8, .2, 1);
  }
  .hc-workspace::before {
    content: "";
    position: absolute;
    top: 7px;
    left: 50%;
    width: 40px;
    height: 4px;
    margin-left: -20px;
    border-radius: 99px;
    background: color-mix(in srgb, var(--ink) 22%, transparent);
  }
  .hc-ws-slot { padding: 12px 12px 14px; }
  html.ws-open { overflow: hidden; }
  html.ws-open body > main { z-index: 45; }

  .hero .wrap { gap: 22px; }
  .site-header .wrap { gap: 10px; }
  .header-bar { min-height: 52px; }
  .header-glass {
    flex: 1;
    gap: 6px;
    padding: 5px 6px;
  }
  .brand span { font-size: 1.1rem; }
  .find-glass { padding: 8px; border-radius: 22px; gap: 8px; max-width: 100%; }
  .find-glass .search input { height: 44px; font-size: 0.96rem; }
  .find-glass .chips { flex-wrap: wrap; row-gap: 2px; }
  .find-glass .chip { padding: 6px 9px; font-size: 0.8rem; gap: 5px; }
  .find-glass .chip-bubble { border-radius: 999px; }
  .menu-btn {
    display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px;
    border: 1px solid var(--line-2);
    background: var(--surface);
    color: var(--ink); border-radius: 999px; font: inherit; font-weight: 600; cursor: pointer;
    flex-shrink: 0;
  }
  .main-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: calc(100% + 8px);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px;
    border-radius: 18px;
    z-index: 30;
    /* Tam opak: arkadaki yazı içinden görünmesin */
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 14px; border-radius: 12px; }
  .nav-bubble { border-radius: 14px; }
  .site-header { position: relative; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card { transition: none; }
  .card:hover, .card.reveal.in:hover { transform: none; }
  .card.reveal { opacity: 1; transform: none; }
  .js .greet, .js .hero h1, .js .hero .lead, .js .hero .find-glass, .js .hero .bc-wrap { animation: none; }
  .brand svg, .theme-btn, .find-glass .chip, .nav-bubble { transition: none !important; animation: none !important; }
  body { background-attachment: scroll; }
}
@media print {
  .site-header, .site-footer, .aside, .actions, .search, .chips, .ad { display: none !important; }
  body { background: #fff; }
}

/* ---------- Genel yardımcılar ---------- */
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.btn.small { min-height: 40px; padding: 0 16px; font-size: 0.92rem; margin-top: 10px; }

/* ---------- Örnek kart destesi (app.js: öndeki kart kenara kayıp arkaya girer) ---------- */
.bc-wrap { width: 100%; max-width: 400px; min-width: 0; justify-self: start; }
.bc-stack {
  position: relative;
  min-height: 268px;
  margin-bottom: 22px; /* arkadaki kartların taşan kenarları için */
  touch-action: pan-y; /* dikey kaydırma sayfaya, yatay kaydırma desteye */
  -webkit-tap-highlight-color: transparent;
  outline: none;
}
.bc-stack:focus-visible { outline: 2px solid var(--brand); outline-offset: 6px; border-radius: 14px; }
.bcard {
  position: absolute;
  inset: 0;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 18px 22px 16px;
  min-height: 268px;
  user-select: none;
  -webkit-user-select: none;
  transform-origin: 50% 85%;
  will-change: transform;
  transition: box-shadow 0.35s ease;
}
/* Konumlar: app.js'teki POS dizisiyle aynı olmalı */
.bcard[data-pos="0"] {
  z-index: 3;
  transform: translate(0px, 0px) rotate(0deg) scale(1);
  box-shadow: 0 1px 2px color-mix(in srgb, var(--ink) 6%, transparent), 0 12px 28px color-mix(in srgb, var(--ink) 10%, transparent);
}
.bcard[data-pos="1"] {
  z-index: 2;
  transform: translate(7px, 11px) rotate(2.4deg) scale(0.965);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--ink) 6%, transparent);
}
.bcard[data-pos="2"] {
  z-index: 1;
  transform: translate(-8px, 21px) rotate(-3deg) scale(0.93);
  background: var(--bc-back);
  box-shadow: 0 2px 8px color-mix(in srgb, var(--ink) 5%, transparent);
}
/* Arkadaki kartların içeriği soluk dursun; öne gelince netleşir */
.bcard > * { transition: opacity 0.3s ease; }
.bcard[data-pos="1"] > *, .bcard[data-pos="2"] > * { opacity: 0.35; }
.bcard.is-promoting > * { opacity: 1 !important; transition-delay: 0.15s; }
html[data-theme="dark"] .bcard[data-pos="0"] { box-shadow: 0 14px 34px rgba(0, 0, 0, 0.55); }

.js .bc-stack { cursor: grab; }
.js .bc-stack.is-dragging { cursor: grabbing; }
.js .bc-stack.is-floating .bcard[data-pos="0"] { animation: bc-float 5.5s ease-in-out infinite; }
.js .bc-stack.is-busy .bcard,
.js .bc-stack.is-dragging .bcard { animation: none !important; }
@media (hover: hover) {
  .js .bc-stack:hover .bcard[data-pos="0"] {
    box-shadow: 0 14px 36px color-mix(in srgb, var(--brand) 20%, transparent), 0 2px 6px color-mix(in srgb, var(--ink) 8%, transparent);
  }
}
@keyframes bc-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -5px; }
}

.bc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; color: var(--muted); font-size: 0.8rem; }
.bc-brand { font-family: var(--font); font-weight: var(--fw-semib); color: var(--ink); font-size: var(--text-sm); }
.bc-count { font-variant-numeric: tabular-nums; }
.bc-slide { border-left: 4px solid var(--c); padding-left: 14px; }
.bc-title { margin: 0; font-family: var(--font); font-size: var(--text-md); font-weight: var(--fw-semib); color: var(--ink); }
.bc-sub { margin: 2px 0 8px; font-size: 0.84rem; color: var(--muted); }
.bc-big {
  margin: 0 0 8px; font-family: var(--font); font-size: 1.75rem; line-height: 1.15;
  font-weight: var(--fw-semib); letter-spacing: var(--tracking); color: var(--c);
  font-variant-numeric: tabular-nums; word-break: break-word;
}
.bc-hint { margin: 12px 0 0; font-size: 0.8rem; color: var(--muted); }
.bc-link { margin: 0; font-size: 0.95rem; }
@media (min-width: 960px) { .bc-wrap { justify-self: end; } }
@media (max-width: 759px) {
  .bc-wrap { max-width: none; }
  .bcard { padding: 16px 18px 14px; }
  .bc-big { font-size: 1.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .js .bc-stack.is-floating .bcard[data-pos="0"] { animation: none; }
}

/* ---------- Yakıt yardımcısı ---------- */
.yakit-assist {
  margin: 0 0 18px; padding: 14px 16px;
  border: 1px solid color-mix(in srgb, var(--c, var(--brand)) 22%, var(--line));
  border-radius: 12px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--c, var(--brand)) 8%, var(--surface)), var(--surface));
}
.yakit-assist .ya-title {
  margin: 0 0 10px; font-family: var(--serif); font-size: 1.05rem; font-weight: 700; color: var(--ink);
}
.ya-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .ya-grid { grid-template-columns: 1fr 1fr; } }
.ya-actions { display: flex; align-items: flex-end; }
.ya-actions .btn { width: 100%; margin-top: 0; }
.ya-status { margin: 12px 0 0; font-size: 0.88rem; color: var(--muted); }
.ya-status.is-ok { color: var(--fin); }
.ya-status.is-err { color: var(--danger-ink); }

/* ---------- Düşünme (hesaplama): 6 çizgi + zıplayan top ---------- */
.thinking {
  display: grid; justify-items: center; gap: 10px; padding: 22px 8px 10px; text-align: center;
}
.think-bars {
  --think-gap: 14px;
  --think-bar-w: 3px;
  --think-step: calc(var(--think-bar-w) + var(--think-gap));
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: var(--think-gap);
  width: calc(6 * var(--think-bar-w) + 5 * var(--think-gap));
  height: 52px;
  margin: 0 auto 2px;
}
.think-bar {
  width: var(--think-bar-w);
  height: 22px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--c, var(--brand)) 22%, var(--line));
  box-shadow: none;
  transform-origin: center bottom;
  animation: think-bar-lit 2.1s ease-in-out infinite;
}
.think-bar:nth-child(1) { animation-delay: 0s; }
.think-bar:nth-child(2) { animation-delay: 0.32s; }
.think-bar:nth-child(3) { animation-delay: 0.64s; }
.think-bar:nth-child(4) { animation-delay: 0.96s; }
.think-bar:nth-child(5) { animation-delay: 1.28s; }
.think-bar:nth-child(6) { animation-delay: 1.6s; }
.think-ball {
  position: absolute;
  left: calc(var(--think-bar-w) / 2 - 5px);
  bottom: 22px;
  width: 10px;
  height: 10px;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  background: var(--c, var(--brand));
  box-shadow:
    0 0 0 2px color-mix(in srgb, var(--c, var(--brand)) 18%, transparent),
    0 0 14px color-mix(in srgb, var(--c, var(--brand)) 55%, transparent);
  animation: think-ball-hop 2.1s cubic-bezier(0.4, 0.05, 0.2, 1) infinite;
  will-change: transform;
}
@keyframes think-bar-lit {
  0%, 8%, 100% {
    height: 22px;
    background: color-mix(in srgb, var(--c, var(--brand)) 22%, var(--line));
    box-shadow: none;
  }
  12%, 28% {
    height: 34px;
    background: var(--c, var(--brand));
    box-shadow: 0 0 12px color-mix(in srgb, var(--c, var(--brand)) 45%, transparent);
  }
  40% {
    height: 24px;
    background: color-mix(in srgb, var(--c, var(--brand)) 55%, var(--line));
    box-shadow: 0 0 6px color-mix(in srgb, var(--c, var(--brand)) 22%, transparent);
  }
}
@keyframes think-ball-hop {
  0%   { transform: translate(0, -26px); }
  6%   { transform: translate(0, 0); }
  14%  { transform: translate(calc(1 * var(--think-step)), -30px); }
  20%  { transform: translate(calc(1 * var(--think-step)), 0); }
  28%  { transform: translate(calc(2 * var(--think-step)), -30px); }
  34%  { transform: translate(calc(2 * var(--think-step)), 0); }
  42%  { transform: translate(calc(3 * var(--think-step)), -30px); }
  48%  { transform: translate(calc(3 * var(--think-step)), 0); }
  56%  { transform: translate(calc(4 * var(--think-step)), -30px); }
  62%  { transform: translate(calc(4 * var(--think-step)), 0); }
  70%  { transform: translate(calc(5 * var(--think-step)), -30px); }
  76%  { transform: translate(calc(5 * var(--think-step)), 0); }
  88%  { transform: translate(calc(5 * var(--think-step)), -18px); opacity: 1; }
  100% { transform: translate(calc(5 * var(--think-step)), -8px); opacity: 0.35; }
}
.think-title { margin: 6px 0 0; font-family: var(--serif); font-size: 1.25rem; font-weight: 700; color: var(--ink); }
.think-sub { margin: 0; color: var(--muted); font-size: 0.92rem; }
.result.is-thinking .headline, .result.is-thinking .rows, .result.is-thinking .result-stats { display: none; }
.btn:disabled { opacity: 0.72; cursor: wait; }
@media (prefers-reduced-motion: reduce) {
  .think-bar, .think-ball { animation: none; }
  .think-bar {
    height: 28px;
    background: color-mix(in srgb, var(--c, var(--brand)) 55%, var(--line));
  }
  .think-ball { display: none; }
}

/* ---------- Ders tabloları (üniversite, lise, ortaokul) ---------- */
.course-box { margin: 0 0 18px; display: grid; gap: 18px; }
.fields + .course-box, .course-box + .fields { margin-top: 18px; }
.course-note { margin: 0; padding: 10px 14px; border-radius: 8px; background: var(--warn-bg); border: 1px solid var(--warn-line); color: var(--ink-2); font-size: 0.9rem; }
.course-group h2 { font-size: 1.02rem; margin: 0 0 6px; }
.course-group .hint { margin: 0 0 8px; color: var(--muted); font-size: 0.85rem; }
.course-head, .course-row { display: grid; grid-template-columns: minmax(0, 1fr) 84px 96px 36px; gap: 8px; align-items: center; }
.course-head.head-uni, .course-row.row-uni { grid-template-columns: minmax(0, 1fr) 84px 128px 36px; }
.course-head { font-size: 0.8rem; color: var(--muted); padding: 0 2px 4px; }
.course-row { padding: 5px 0; border-bottom: 1px solid var(--line); }
.course-row .c-name { font-size: 0.95rem; line-height: 1.35; }
.course-row input, .course-row select { width: 100%; min-height: 42px; padding: 6px 10px; font: inherit; color: var(--ink); background: var(--field-bg); border: 1.5px solid var(--line-2); border-radius: 8px; }
.course-row input:focus, .course-row select:focus { border-color: var(--c); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 16%, transparent); }
.course-row .rm { width: 36px; height: 36px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.course-row .rm:hover { background: var(--danger-bg); color: var(--danger-ink); }
@media (max-width: 559px) {
  .course-head, .course-head.head-uni { grid-template-columns: 1fr 1fr 36px; }
  .course-head span:first-child { display: none; }
  .course-row, .course-row.row-uni { grid-template-columns: 1fr 1fr 36px; padding: 8px 0; }
  .course-row .c-name, .course-row.row-uni > input[data-k="ad"], .course-row.row-ders > input[data-k="ad"] { grid-column: 1 / -1; }
}

/* ---------- YKS test alanları ---------- */
.tests { min-width: 0; margin: 0; padding: 10px 14px 12px; border: 1px solid var(--line); border-radius: 10px; }
.tests legend { font-weight: 650; padding: 0 6px; }
.test-head, .test-row { display: grid; grid-template-columns: minmax(0, 1fr) 70px 70px; gap: 8px; align-items: center; }
.test-head { font-size: 0.8rem; color: var(--muted); }
.test-row { padding: 3px 0; font-size: 0.93rem; }
.test-row small { color: var(--muted); }
.test-row input { width: 100%; min-height: 40px; padding: 6px 8px; font: inherit; color: var(--ink); background: var(--field-bg); border: 1.5px solid var(--line-2); border-radius: 8px; }
.test-row input:focus { border-color: var(--c); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 16%, transparent); }

/* Telefon: Çalışma Alanım animasyonları */
@keyframes ws-sheet-in {
  from { transform: translateY(100%); }
  to { transform: none; }
}
@keyframes ws-bump {
  0% { scale: 1; }
  40% { scale: 1.12; }
  100% { scale: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .hc-workspace, .hc-ws-launch.is-bump { animation: none !important; }
}

/* ---------- Çerez izni (yalnızca reklam açıkken) ---------- */
.cerez {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90;
  max-width: 640px; margin: 0 auto; padding: 16px 18px;
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line-2); border-radius: var(--radius-card);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
}
.cerez p { margin: 0; flex: 1 1 320px; font-size: .9rem; line-height: 1.5; color: var(--ink-2); }
.cerez a { color: var(--brand-dark, var(--brand)); }
.cerez-btns { display: flex; gap: 8px; margin-left: auto; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.ad[hidden] { display: none; }
.cerez .btn.small { margin-top: 0; }
/* Izgara sütunu geniş tablo yüzünden taşmasın (tablo kendi içinde kayar) */
.main-col { min-width: 0; }
/* Hazırlayan bilgisi ve altbilgi iletişim satırı */
.prose .byline { color: var(--muted); font-size: .88rem; margin-top: 2em; }
.site-footer .footer-contact { margin: 18px 0 0; }
/* Kategori sayfasında konu başlıkları */
.cat-group { font-size: 1.15rem; margin: 8px 0 12px; }
.ledger-row b.long { white-space: normal; min-width: 0; }
