/* ==========================================================================
   Ofisvio — tasarım sistemi
   --------------------------------------------------------------------------
   Tasarımdaki satır içi stiller token ve bileşenlere çıkarıldı. Amaç yalnızca
   düzen değil: panel ekranları (KYC, organizasyon seçimi, admin inceleme) da
   bu dosyayı kullanacak, böylece vitrin ile panel tek görsel dil konuşur.

   BUILD ADIMI YOK. Vite/npm zinciri kasıtlı olarak devreye sokulmadı — site
   `php artisan serve` ile hiçbir ön derleme olmadan çalışsın diye. Varlık
   derlemesi gerektiğinde bu dosya resources/css altına taşınabilir.
   ========================================================================== */

:root {
  /* Zeminler — sıcak kum tonları */
  --ground:        #FAF8F3;
  --surface:       #FFFDF8;
  --surface-sunk:  #F5F1E8;
  --surface-warm:  #EFEAE0;

  /* Mürekkep */
  --ink:           #1E1C18;
  --ink-soft:      #4A463D;
  --ink-muted:     #6E6759;
  --ink-faint:     #7A7467;

  /* Çizgiler */
  --line:          #E3DED2;
  --line-soft:     #EFEAE0;
  --line-strong:   #D6D0C2;

  /* Marka yeşili */
  --brand:         #1F5B45;
  --brand-deep:    #16452F;
  --brand-light:   #9ECBB4;
  --brand-wash:    #EAF3ED;

  /* Koyu bölüm (toplantı şeridi, footer) */
  --dark:          #1E1C18;
  --dark-raised:   #242119;
  --dark-line:     #332F28;
  --dark-ink:      #F6F2EA;
  --dark-ink-soft: #CFC8BA;
  --dark-ink-mute: #8E877B;

  /* Durum */
  --danger:        #A03A2A;
  --danger-wash:   #FBEDEA;
  --ok:            #1F5B45;

  /* Ölçü */
  --wrap:    1240px;
  --gutter:  24px;
  --r-sm:    10px;
  --r-md:    14px;
  --r-lg:    18px;
  --r-xl:    24px;
  --r-pill:  999px;

  --shadow-card: 0 16px 40px -28px rgba(30, 28, 24, 0.35);

  --font-sans:  "Instrument Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-mono:  "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--brand); }
::selection { background: #C8E0D3; }

img { max-width: 100%; display: block; }
input, select, button, textarea { font-family: inherit; font-size: inherit; color: inherit; }

:is(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--brand); color: #fff; padding: 12px 18px; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- düzen ---------- */
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-top: 92px; }
.section--tight { padding-top: 64px; }
.stack { display: flex; flex-direction: column; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(var(--min, 280px), 1fr)); gap: var(--gap, 20px); }

/* ---------- tipografi ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand); margin: 0 0 14px;
}
.label {
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-faint);
}
.mono { font-family: var(--font-mono); }

.h1 {
  margin: 0; font-weight: 600; letter-spacing: -.035em; line-height: 1.02;
  font-size: clamp(40px, 5.4vw, 70px); text-wrap: balance;
}
.h2 {
  margin: 0; font-weight: 600; letter-spacing: -.03em; line-height: 1.08;
  font-size: clamp(28px, 3.6vw, 46px); text-wrap: balance;
}
.h3 { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.serif-accent { font-family: var(--font-serif); font-weight: 400; font-style: italic; letter-spacing: -.01em; }
.lede { font-size: 18.5px; line-height: 1.55; color: var(--ink-soft); text-wrap: pretty; }
.body-muted { font-size: 15px; line-height: 1.55; color: var(--ink-soft); text-wrap: pretty; }
.section-head { display: flex; flex-wrap: wrap; gap: 20px; align-items: end; justify-content: space-between; margin-bottom: 30px; }

/* ---------- düğmeler ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: var(--r-sm);
  padding: 13px 20px; font-size: 15px; font-weight: 600; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn--brand { background: var(--brand); color: #fff; }
.btn--brand:hover { background: var(--brand-deep); color: #fff; }
.btn--ink { background: var(--ink); color: var(--surface); }
.btn--ink:hover { background: var(--brand); color: #fff; }
.btn--ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--pill { border-radius: var(--r-pill); padding: 11px 20px; font-size: 14.5px; }
.btn--ghost.is-active { border-color: var(--brand); color: var(--brand); background: color-mix(in srgb, var(--brand) 8%, transparent); }
.btn--block { width: 100%; }

/* ---------- alanlar ---------- */
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.control {
  background: var(--ground); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 12px 13px; font-size: 15px; width: 100%;
}
select.control { appearance: none; font-weight: 500; padding-right: 34px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-faint) 50%),
                    linear-gradient(135deg, var(--ink-faint) 50%, transparent 50%);
  background-position: calc(100% - 17px) 55%, calc(100% - 12px) 55%;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}
.control:focus { border-color: var(--brand); outline: none; }
.control[aria-invalid="true"] { border-color: var(--danger); background: var(--danger-wash); }
.field-error { font-size: 13px; color: var(--danger); }
.checkbox-row { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); }
.checkbox-row input { margin-top: 2px; width: 17px; height: 17px; accent-color: var(--brand); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- yüzeyler ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column; min-width: 0;
}
.card--link { transition: border-color .15s ease; }
.card--link:hover { border-color: var(--brand); }
.card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__foot {
  margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; box-shadow: var(--shadow-card); }

.shot {
  background: repeating-linear-gradient(135deg, #EDE8DD 0 11px, var(--surface-sunk) 11px 22px);
  display: flex; align-items: center; justify-content: center;
}
.shot__note {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; color: var(--ink-muted);
  background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 6px 9px;
}

/* ---------- çipler ---------- */
.chip {
  border: 1px solid var(--line); background: var(--ground); color: var(--ink);
  border-radius: var(--r-pill); padding: 9px 17px; font-size: 14px; font-weight: 500;
  cursor: pointer; transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.chip:hover { border-color: var(--brand); }
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--surface); }
.chip--square { border-radius: var(--r-sm); padding: 10px 14px; }
.chip:disabled { border-color: var(--line-soft); background: #F6F3EC; color: #B4AEA2; cursor: not-allowed; text-decoration: line-through; }
.tag { font-size: 12.5px; color: #3C3A32; background: #F2EEE4; border-radius: 6px; padding: 5px 9px; }

/* ---------- koyu bölüm ---------- */
.dark-band { background: var(--dark); color: var(--dark-ink); }
.dark-band .eyebrow { color: var(--brand-light); }
.dark-band .lede { color: var(--dark-ink-soft); }
.row-list { display: grid; gap: 1px; background: var(--dark-line); border-radius: var(--r-md); overflow: hidden; }
.row-list__item {
  background: var(--dark-raised); padding: 18px 20px;
  display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; justify-content: space-between;
}

/* ---------- tablo ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; }
table.compare th { text-align: left; padding: 20px 22px; border-bottom: 1px solid var(--line); }
table.compare thead th + th { border-left: 1px solid var(--line-soft); min-width: 150px; }
table.compare td { padding: 16px 22px; font-size: 14.5px; color: var(--ink-soft); border-bottom: 1px solid var(--line-soft); }
table.compare td + td { border-left: 1px solid var(--line-soft); }
table.compare td:first-child { font-size: 15px; font-weight: 500; color: var(--ink); }

/* ---------- bildirim ---------- */
.notice {
  background: var(--brand-wash); border: 1px solid var(--brand-light);
  border-radius: var(--r-md); padding: 18px 20px; display: flex; gap: 14px; align-items: flex-start;
}
.notice__dot { width: 10px; height: 10px; border-radius: var(--r-pill); background: var(--brand); flex: none; margin-top: 6px; }
.notice--error { background: var(--danger-wash); border-color: #E9C4BC; }
.notice--error .notice__dot { background: var(--danger); }

.empty-state {
  border: 1px dashed var(--line-strong); border-radius: var(--r-md);
  padding: 40px; text-align: center; color: var(--ink-muted); font-size: 15px;
}

/* ---------- gezinme ---------- */
.topbar { background: var(--brand); color: var(--brand-wash); font-size: 13px; }
.topbar a { color: var(--brand-wash); }
.topbar a:hover { color: #fff; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 243, .88); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { height: 74px; display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: baseline; gap: 9px; flex: none; }
.brand__mark { width: 13px; height: 13px; background: var(--brand); border-radius: 3px; display: block; }
.brand__name { font-size: 21px; font-weight: 600; letter-spacing: -.025em; }
.nav-main { display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 500; flex: 1; white-space: nowrap; min-width: 0; }
.nav-panel { border-top: 1px solid var(--line); background: var(--surface); }
.nav-toggle { display: none; }

@media (max-width: 1079px) {
  .nav-main { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header__inner { height: 66px; }
}

/* Global header yapılandırması (faz 61a): yükseklik/renk CSS değişkenleri, sticky/şeffaf, dropdown + mega menü, aktif stil, sosyal. */
.site-header { --hdr-h: 74px; --hdr-bg: rgba(250, 248, 243, .88); --hdr-ink: var(--ink); --hdr-hover: var(--brand); --hdr-active: var(--brand); background: var(--hdr-bg); color: var(--hdr-ink); }
.site-header__inner { height: var(--hdr-h); }
.site-header--static { position: static; }
.site-header--transparent { position: absolute; left: 0; right: 0; background: transparent; border-bottom-color: transparent; backdrop-filter: none; }
.site-header .nav-main a, .site-header__login, .site-header__contact { color: var(--hdr-ink); }
.site-header .nav-main a:hover, .site-header__login:hover, .site-header__contact:hover { color: var(--hdr-hover); }
.site-header .nav-main a.is-active { color: var(--hdr-active); }
.site-header--active-underline .nav-main > a.is-active, .site-header--active-underline .nav-item > a.is-active { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.site-header--active-pill .nav-main > a.is-active, .site-header--active-pill .nav-item > a.is-active { background: color-mix(in srgb, var(--hdr-active) 12%, transparent); border-radius: 999px; padding: 6px 12px; }
.site-header--active-bold .nav-main a.is-active { font-weight: 700; }
.site-header__actions { display: flex; align-items: center; gap: 14px; flex: none; white-space: nowrap; margin-left: auto; }
.site-header__login { font-size: 15px; font-weight: 500; }
.site-header__contact { font-size: 13px; }
.site-header__social { display: inline-flex; color: var(--hdr-ink); opacity: .8; }
.site-header__social:hover { opacity: 1; color: var(--hdr-hover); }
.brand__logo--mobile { display: none; }
@media (max-width: 1079px) { .brand__logo--desktop { display: none; } .brand__logo--mobile { display: block; } .site-header__contact { display: none; } }
.nav-item { position: relative; }
.nav-item > a { display: inline-flex; align-items: center; gap: 4px; }
.nav-dropdown { position: absolute; top: calc(100% + 10px); left: -12px; min-width: 220px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md, 12px); box-shadow: 0 18px 40px rgba(0,0,0,.12); padding: 8px; display: none; z-index: 60; white-space: normal; }
.nav-item:hover > .nav-dropdown, .nav-item:focus-within > .nav-dropdown { display: block; }
.nav-dropdown__item { display: block; padding: 8px 10px; border-radius: 8px; font-weight: 500; color: var(--ink); }
.nav-dropdown__item:hover, .nav-dropdown__item.is-active { background: var(--surface-sunk, #f5f1e8); color: var(--brand); }
.nav-dropdown__item small { display: block; font-weight: 400; font-size: 12.5px; color: var(--ink-muted, #6e6759); margin-top: 2px; }
.nav-item.is-mega { position: static; }
.nav-dropdown--mega { left: 0; right: 0; width: 100%; min-width: 0; display: none; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px; padding: 16px; }
.nav-item.is-mega:hover > .nav-dropdown--mega, .nav-item.is-mega:focus-within > .nav-dropdown--mega { display: grid; }
.chip--sub { opacity: .8; font-size: 13px; }
.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; }
.site-footer__social { display: inline-flex; color: var(--dark-ink-soft); }
.site-footer__social:hover { color: var(--brand-light); }

.site-footer { background: var(--dark); color: var(--dark-ink-soft); margin-top: 96px; }
.site-footer a { color: var(--dark-ink-soft); }
.site-footer a:hover { color: var(--brand-light); }
.site-footer .label { color: var(--dark-ink-mute); }

/* ==========================================================================
   AUTH — odaklı tek kart
   ========================================================================== */
.auth-body { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 32px var(--gutter); }
.auth-shell { width: 100%; max-width: 440px; display: flex; flex-direction: column; align-items: center; gap: 26px; }
.auth-brand { align-self: flex-start; }
.auth-card { width: 100%; padding: 30px 28px 32px; }
.auth-foot { margin: 0; font-size: 14px; color: var(--ink-muted); text-align: center; text-wrap: pretty; }

/* ==========================================================================
   PANEL — kenar çubuğu + içerik
   ========================================================================== */
.panel-body { margin: 0; min-height: 100vh; display: grid; grid-template-columns: 250px minmax(0, 1fr); }
.panel-side {
  background: var(--dark); color: var(--dark-ink-soft);
  padding: 24px 18px; display: flex; flex-direction: column; gap: 26px;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.panel-side .brand { color: var(--dark-ink); }
.panel-side .brand__mark { background: var(--brand-light); }
.panel-side .label { color: var(--dark-ink-mute); }
.panel-nav { display: flex; flex-direction: column; gap: 14px; }
.panel-nav__group { display: flex; flex-direction: column; gap: 2px; }
.panel-nav__label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dark-ink-mute); padding: 0 10px 4px; }
.panel-nav a {
  color: var(--dark-ink-soft); border-radius: var(--r-sm); padding: 10px 12px;
  font-size: 14.5px; font-weight: 500; display: flex; align-items: center; gap: 10px;
}
.panel-nav a:hover { background: var(--dark-raised); color: var(--dark-ink); }
.panel-nav a[aria-current="page"] { background: var(--dark-raised); color: var(--dark-ink); }
.panel-nav a[aria-current="page"]::before { content: ""; width: 4px; height: 16px; border-radius: 2px; background: var(--brand-light); margin-left: -4px; }
.panel-context {
  background: var(--dark-raised); border: 1px solid var(--dark-line); border-radius: var(--r-md);
  padding: 12px 14px; display: flex; flex-direction: column; gap: 4px;
}
.panel-context__name { color: var(--dark-ink); font-weight: 600; font-size: 15px; letter-spacing: -.01em; }
.panel-context a { color: var(--brand-light); font-size: 13px; }
.panel-user { margin-top: auto; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; }
.panel-user a { color: var(--dark-ink-soft); }
.panel-user a:hover strong { color: var(--brand-light); }
.panel-user strong { color: var(--dark-ink); font-weight: 600; }
.panel-user form { margin: 0; }
.panel-user button { background: none; border: 0; padding: 0; color: var(--dark-ink-mute); cursor: pointer; font-size: 13.5px; }
.panel-user button:hover { color: var(--dark-ink); }

.panel-main { padding: 34px clamp(20px, 4vw, 48px) 64px; min-width: 0; }
.panel-head { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: end; justify-content: space-between; margin-bottom: 28px; }
.panel-head .h2 { font-size: clamp(24px, 2.6vw, 32px); }
.panel-head__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.panel-toggle { display: none; }

@media (max-width: 899px) {
  .panel-body { grid-template-columns: 1fr; }
  .panel-side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 14px 22px; padding: 14px var(--gutter); }
  .panel-side .panel-nav { flex-direction: row; flex-wrap: wrap; }
  .panel-side .panel-user { margin-top: 0; margin-left: auto; flex-direction: row; align-items: center; gap: 14px; }
  .panel-context { flex: 1 1 100%; }
}

/* ---------- durum rozeti ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 9px; border-radius: 6px; background: #F2EEE4; color: #3C3A32; white-space: nowrap;
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 99px; background: currentColor; opacity: .7; }
.badge--ok { background: var(--brand-wash); color: var(--brand-deep); }
.badge--warn { background: #FBF3E1; color: #7A5A12; }
.badge--danger { background: var(--danger-wash); color: var(--danger); }
.badge--muted { color: var(--ink-faint); }
.badge--info { background: #E8EEF6; color: #2F4A6D; }

/* ---------- veri tablosu ---------- */
table.data { width: 100%; border-collapse: collapse; font-size: 14.5px; }
table.data th { text-align: left; padding: 12px 16px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); border-bottom: 1px solid var(--line); font-weight: 500; }
table.data td { padding: 14px 16px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; color: var(--ink-soft); }
table.data td:first-child { color: var(--ink); font-weight: 500; }
table.data tr:last-child td { border-bottom: 0; }
table.data td.num, table.data th.num { text-align: right; font-variant-numeric: tabular-nums; }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.row-actions .btn { white-space: nowrap; }

/* ---------- özet kartları ---------- */
.stat { padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.stat__value { font-size: 30px; font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.stat__label { font-size: 13.5px; color: var(--ink-muted); }

/* ---------- tanım listesi ---------- */
.dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 22px; margin: 0; font-size: 14.5px; }
.dl dt { color: var(--ink-faint); font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding-top: 3px; }
.dl dd { margin: 0; color: var(--ink); min-width: 0; overflow-wrap: anywhere; }

/* ---------- süreç adımları ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.steps li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 10px 0; font-size: 14.5px; color: var(--ink-muted); position: relative; }
.steps li::before { content: ""; width: 12px; height: 12px; border-radius: 99px; border: 2px solid var(--line-strong); background: var(--surface); margin-top: 4px; justify-self: center; }
.steps li + li::after { content: ""; position: absolute; left: 10px; top: -14px; height: 20px; border-left: 2px solid var(--line-soft); }
.steps li.is-done { color: var(--ink); }
.steps li.is-done::before { background: var(--brand); border-color: var(--brand); }
.steps li.is-current { color: var(--ink); font-weight: 600; }
.steps li.is-current::before { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-wash); }

/* ---------- inline form satırı ---------- */
.inline-form { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.inline-form .field { flex: 1 1 180px; }
textarea.control { min-height: 96px; resize: vertical; line-height: 1.5; }

/* ---------- yardımcılar ---------- */
.flow > * + * { margin-top: var(--flow, 16px); }
.hide { display: none !important; }
.muted { color: var(--ink-muted); }
.small { font-size: 13.5px; }
@media (max-width: 640px) {
  .section { padding-top: 64px; }
  .h1 { font-size: clamp(34px, 9vw, 44px); }
}

/* ---------- düz yazı (CMS gövdesi) ---------- */
.prose { font-size: 17px; line-height: 1.7; color: var(--ink-soft); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 26px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); margin-top: 2em; line-height: 1.2; }
.prose h3 { font-size: 20px; font-weight: 600; color: var(--ink); margin-top: 1.6em; }
.prose p { margin: 0; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .4em; }
.prose blockquote { margin: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--brand-light); color: var(--ink-muted); font-family: var(--font-serif); font-style: italic; font-size: 19px; }
.prose code { font-family: var(--font-mono); font-size: .9em; background: var(--surface-sunk); padding: 2px 6px; border-radius: 5px; }
.prose pre { background: var(--dark); color: var(--dark-ink); padding: 18px 20px; border-radius: var(--r-md); overflow-x: auto; font-size: 14px; }
.prose pre code { background: none; padding: 0; color: inherit; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose img { border-radius: var(--r-md); }

/* ---------- içerik takvimi (faz 24) ---------- */
.calendar { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.calendar__dow { text-align: center; padding: 6px 0; }
.calendar__day {
  min-height: 92px; padding: 6px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--surface); display: flex; flex-direction: column; gap: 4px; min-width: 0;
}
.calendar__day.is-outside { background: var(--ground); opacity: .55; }
.calendar__day.is-week { min-height: 220px; }
.calendar__day.is-today { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.calendar__num { color: var(--ink-muted); }
.calendar__item {
  display: flex; gap: 6px; align-items: baseline; text-align: left; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; max-width: 100%; font-size: 12px; padding: 3px 7px;
}
.calendar__item .mono { font-size: 11px; flex: none; }
@media (max-width: 760px) {
  .calendar { gap: 2px; }
  .calendar__day { min-height: 56px; padding: 4px; }
  .calendar__item { font-size: 0; padding: 4px; width: 100%; }
  .calendar__item .mono { font-size: 10px; }
}

/* ---------- temalar (faz 10) — html[data-theme]; "kum" = :root ---------- */
html[data-theme="gece"] {
  --ground: #16140F; --surface: #1E1B15; --surface-sunk: #24211A; --surface-warm: #2B2720;
  --ink: #F3EEE4; --ink-soft: #D9D2C4; --ink-muted: #B3AB9B; --ink-faint: #8E877B;
  --line: #34302A; --line-soft: #2B2720; --line-strong: #46413A;
  --brand: #7FBF9E; --brand-deep: #5FA684; --brand-light: #2E5A46; --brand-wash: #1F3A2E;
  --dark: #0E0D0A; --dark-raised: #16140F; --dark-line: #26221C;
  --danger: #E08A7C; --danger-wash: #3A211D; --ok: #7FBF9E;
  --shadow-card: 0 16px 40px -28px rgba(0, 0, 0, 0.8);
  color-scheme: dark;
}
html[data-theme="gece"] .btn--brand { color: #0E0D0A; }
html[data-theme="gece"] .btn--brand:hover { color: #0E0D0A; }

html[data-theme="deniz"] {
  --ground: #F5F8FA; --surface: #FFFFFF; --surface-sunk: #EDF2F6; --surface-warm: #E4EBF1;
  --ink: #14202B; --ink-soft: #3A4956; --ink-muted: #5F6E7B; --ink-faint: #7B8894;
  --line: #D9E1E8; --line-soft: #E4EBF1; --line-strong: #C5D0DA;
  --brand: #1D4E89; --brand-deep: #163B68; --brand-light: #9DBEE3; --brand-wash: #E8F0F9;
  --dark: #14202B; --dark-raised: #1B2A38; --dark-line: #2A3A49; --dark-ink: #F2F6FA; --dark-ink-soft: #C6D1DC; --dark-ink-mute: #8896A4;
  --ok: #1D4E89;
}

/* ---------- WhatsApp yüzen düğme (site ayarından) ---------- */
.whatsapp-fab { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: var(--r-pill); background: #25D366; color: #fff; font-weight: 600; font-size: 14px; box-shadow: 0 10px 30px -12px rgba(0,0,0,.45); }
.whatsapp-fab:hover { background: #1EBE5A; color: #fff; }
@media (max-width: 640px) { .whatsapp-fab span { display: none; } .whatsapp-fab { padding: 12px; } }

/* ---------- sayfa kurucu: cihaz görünürlüğü ---------- */
@media (max-width: 640px) { .hide-mobile { display: none; } }
@media (min-width: 641px) { .hide-desktop { display: none; } }
.builder-frame { width: 100%; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; height: 720px; display: block; margin: 0 auto; transition: width .2s; }
.builder-frame--tablet { width: 820px; max-width: 100%; }
.builder-frame--mobile { width: 400px; max-width: 100%; }

/* ---- İçerik gövdesi uzantıları (faz 48): görsel hizalama, gömme, CTA, bloklar ---- */
.prose figure.content-img { margin: 1.4em 0; }
.prose figure.content-img img { width: 100%; height: auto; border-radius: var(--r-lg); display: block; }
.prose figure.content-img figcaption { font-size: 13px; color: var(--ink-faint); margin-top: 6px; text-align: center; }
.prose figure.img-left { float: left; margin: .3em 1.4em 1em 0; width: 45%; }
.prose figure.img-right { float: right; margin: .3em 0 1em 1.4em; width: 45%; }
.prose figure.img-center { margin-left: auto; margin-right: auto; }
.prose figure.img-full { width: 100% !important; }
.prose .embed { position: relative; margin: 1.4em 0; border-radius: var(--r-lg); overflow: hidden; background: #000; }
.prose .embed iframe, .prose .embed video { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }
.prose .content-cta { margin: .4em 0; }
.prose .content-block { clear: both; }
.prose .content-block h2, .prose .content-block strong { color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.prose th { background: var(--surface-warm, #f6f4ef); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose blockquote { border-left: 3px solid var(--brand); margin: 1.4em 0; padding: .2em 0 .2em 1.2em; color: var(--ink); font-style: italic; }
.prose pre { background: #1c1f1d; color: #eef; padding: 14px 16px; border-radius: var(--r-lg); overflow: auto; font-size: 14px; }
@media (max-width: 640px) { .prose figure.img-left, .prose figure.img-right { float: none; width: 100%; margin: 1.4em 0; } }
/* ---- Bölüm tasarım değişkenleri (faz 49 görsel editör; SectionStyle) ---- */
.site-section { position: relative; padding-top: var(--sec-pt, 0); padding-bottom: var(--sec-pb, 0); margin-top: var(--sec-mt, 0); margin-bottom: var(--sec-mb, 0); min-height: var(--sec-minh, auto); z-index: var(--sec-z, auto); background: var(--sec-bg, transparent); color: var(--sec-color, inherit); text-align: var(--sec-align, inherit); }
.site-section .sec-inner { max-width: var(--sec-maxw, var(--wrap)); padding-inline: var(--sec-px, var(--gutter)); }
.site-section.sec-bg-surface { background: var(--surface); }
.site-section.sec-bg-warm { background: var(--surface-warm, #f6f4ef); }
.site-section.sec-bg-dark { background: var(--dark, #14201b); color: var(--dark-ink, #f4f1ea); }
.site-section.sec-bg-dark .h1, .site-section.sec-bg-dark .h2, .site-section.sec-bg-dark .h3, .site-section.sec-bg-dark .body-muted, .site-section.sec-bg-dark .lede { color: inherit; }
.site-section.sec-bg-brand { background: var(--brand); color: #fff; }
.site-section.sec-bg-brand .h1, .site-section.sec-bg-brand .h2, .site-section.sec-bg-brand .h3, .site-section.sec-bg-brand .lede, .site-section.sec-bg-brand .body-muted { color: inherit; }
.site-section.sec-shadow-sm { box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.site-section.sec-shadow-md { box-shadow: 0 8px 24px rgba(0,0,0,.10); }
.site-section.sec-shadow-lg { box-shadow: 0 18px 48px rgba(0,0,0,.16); }
.site-section.sec-border-line { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.site-section.sec-border-brand { border-top: 3px solid var(--brand); }
.site-section[style*="--sec-radius"] { border-radius: var(--sec-radius); overflow: hidden; }
.site-section .sec-inner[style*="justify-content"] { justify-content: var(--sec-justify, flex-start); }
.site-section[style*="--sec-align: center"] .sec-inner, .site-section[style*="--sec-align:center"] .sec-inner { --sec-justify: center; }
.site-section[style*="--sec-align: right"] .sec-inner, .site-section[style*="--sec-align:right"] .sec-inner { --sec-justify: flex-end; }
/* Kolon sayısı cihaz başına (data-cols / -t / -m): grid tabanlı bölümlerde */
.site-section[data-cols="1"] .sec-grid { grid-template-columns: minmax(0, 1fr); }
.site-section[data-cols="2"] .sec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.site-section[data-cols="3"] .sec-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.site-section[data-cols="4"] .sec-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) {
  .site-section[data-cols-t="1"] .sec-grid { grid-template-columns: minmax(0, 1fr); }
  .site-section[data-cols-t="2"] .sec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-section[data-cols-t="3"] .sec-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-section[data-cols-t="4"] .sec-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .site-section[data-cols-m="1"] .sec-grid { grid-template-columns: minmax(0, 1fr); }
  .site-section[data-cols-m="2"] .sec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-section[data-cols-m="3"] .sec-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-section[data-cols-m="4"] .sec-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.site-section.sec-hidden { display: none; }
.btn--link { background: none; border: 0; padding: 0; color: var(--brand); text-decoration: underline; font-weight: 600; }

/* Çerez rıza bandı (audit F-06) */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-radius: var(--r); background: var(--ink, #1c1b19); color: #fff; box-shadow: 0 16px 40px -18px rgba(0,0,0,.55); }
.cookie-bar__text { margin: 0; font-size: 14px; line-height: 1.5; max-width: 760px; }
.cookie-bar__text a { color: #fff; text-decoration: underline; }
.cookie-bar__actions { display: flex; gap: 8px; margin: 0; }
.cookie-bar .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
@media (max-width: 640px) { .cookie-bar { left: 8px; right: 8px; bottom: 8px; } .cookie-bar__actions { width: 100%; } .cookie-bar__actions .btn { flex: 1; } }
