/* Kurul Not Defteri: Apple Human Interface Guidelines'a göre arayüz.
   Her kararın yanındaki "HIG: Sayfa › Bölüm" notu kaynağıdır. Sayfalar
   developer.apple.com/tutorials/data/design/human-interface-guidelines/<sayfa>.json adreslerinden okundu.
   Ayrıntılı liste: TASARIM-KARARLARI.md
   Yerleşim: dar pencerede altta yüzen sekme çubuğu, geniş pencerede solda kenar çubuğu. HIG: Layout › Size classes */
:root {
  /* Sistem renkleri, açık görünüm. HIG: Color › Specifications › System colors */
  --red: #FF383C; --orange: #FF8D28; --yellow: #FFCC00; --green: #34C759; --teal: #00C3D0;
  --blue: #0088FF; --indigo: #6155F5; --purple: #CB30E0; --pink: #FF2D55; --brown: #AC7F5E;
  /* HIG: Color › iOS, iPadOS system gray colors */
  --gray: #8E8E93; --gray2: #AEAEB2; --gray3: #C7C7CC; --gray4: #D1D1D6; --gray5: #E5E5EA; --gray6: #F2F2F7;
  /* Küçük durum metni 4,5:1 için artırılmış kontrast varyantı. HIG: Accessibility › Vision; Color › Specifications */
  --red-text: #E9152D; --orange-text: #C55300; --green-text: #008932; --purple-text: #B02FC2;
  /* Gri zeminde küçük başlık için kırmızı: HIG artırılmış kontrast kırmızısı (#D70015), zeminde 5:1. */
  --red-head: #D70015;
  /* Uygulama vurgu rengi = Server mavisi (#007CBB). HIG: Color › Liquid Glass color; Branding › Best practices */
  --tint: #007CBB; --tint-text: #0070A8; --on-tint: #FFFFFF; --on-color: #FFFFFF; --tint-fill: var(--tint);
  /* Dolgulu düğme ve seçili gün zemini (--tint-fill): koyu görünümde açık mavi (#1A92D6) beyaz yazıyla 3,43:1 kalıyordu; orada Server mavisi #007CBB (4,56:1). Yazı ve simgede açık ton (--tint, --tint-text) sürer. HIG: Accessibility › Color and effects; Color › Best practices */
  /* Gruplu liste arka planları ve etiket hiyerarşisi. HIG: Color › iOS, iPadOS; Dark Mode › iOS, iPadOS */
  --bg: #F2F2F7; --bg-elevated: #F2F2F7; --cell: #FFFFFF; --cell-elevated: #FFFFFF;
  --logo-plate-dark: transparent; --logo-pad-dark: 0; --logo-plate-light: #1C1C1E; --logo-pad-light: 4px 8px;
  --label: #000000; --label-2: rgba(60, 60, 67, .6); --label-3: rgba(60, 60, 67, .3); --label-4: rgba(60, 60, 67, .18);
  --separator: rgba(60, 60, 67, .29);
  --fill: rgba(120, 120, 128, .2); --fill-2: rgba(120, 120, 128, .16); --fill-3: rgba(118, 118, 128, .12); --fill-4: rgba(116, 116, 128, .08);
  --seg-on: #FFFFFF;
  /* Liquid Glass (regular) web yaklaşığı. HIG: Materials › Liquid Glass */
  --glass: rgba(255, 255, 255, .7); --glass-strong: rgba(250, 250, 252, .86);
  --glass-edge: rgba(255, 255, 255, .8); --glass-line: rgba(0, 0, 0, .07);
  --glass-shadow: 0 10px 30px rgba(0, 0, 0, .12), 0 1px 3px rgba(0, 0, 0, .06);
  --scrim: rgba(0, 0, 0, .28);
  /* Sistem yazı tipi; gömülü font yok. HIG: Typography › Using system fonts */
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --red: #FF4245; --orange: #FF9230; --yellow: #FFD600; --green: #30D158; --teal: #00D2E0;
    --blue: #0091FF; --indigo: #6D7CFF; --purple: #DB34F2; --pink: #FF375F; --brown: #B78A66;
    --gray: #8E8E93; --gray2: #636366; --gray3: #48484A; --gray4: #3A3A3C; --gray5: #2C2C2E; --gray6: #1C1C1E;
    --red-text: #FF4245; --orange-text: #FF9230; --green-text: #30D158; --purple-text: #DB34F2;
    --red-head: #FF4245;
    --tint: #1A92D6; --tint-text: #3AA6E6; --on-tint: #FFFFFF; --on-color: #FFFFFF; --tint-fill: #007CBB;
    --bg: #000000; --bg-elevated: #1C1C1E; --cell: #1C1C1E; --cell-elevated: #2C2C2E;
    --logo-plate-dark: #FFFFFF; --logo-pad-dark: 4px 8px; --logo-plate-light: transparent; --logo-pad-light: 0;
    --label: #FFFFFF; --label-2: rgba(235, 235, 245, .6); --label-3: rgba(235, 235, 245, .3); --label-4: rgba(235, 235, 245, .16);
    --separator: rgba(84, 84, 88, .6);
    --fill: rgba(120, 120, 128, .36); --fill-2: rgba(120, 120, 128, .32); --fill-3: rgba(118, 118, 128, .24); --fill-4: rgba(118, 118, 128, .18);
    --seg-on: #636366;
    --glass: rgba(40, 40, 44, .6); --glass-strong: rgba(30, 30, 33, .86);
    --glass-edge: rgba(255, 255, 255, .14); --glass-line: rgba(255, 255, 255, .09);
    --glass-shadow: 0 10px 30px rgba(0, 0, 0, .5), 0 1px 3px rgba(0, 0, 0, .4);
    --scrim: rgba(0, 0, 0, .55);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --red: #FF4245; --orange: #FF9230; --yellow: #FFD600; --green: #30D158; --teal: #00D2E0;
  --blue: #0091FF; --indigo: #6D7CFF; --purple: #DB34F2; --pink: #FF375F; --brown: #B78A66;
  --gray: #8E8E93; --gray2: #636366; --gray3: #48484A; --gray4: #3A3A3C; --gray5: #2C2C2E; --gray6: #1C1C1E;
  --red-text: #FF4245; --orange-text: #FF9230; --green-text: #30D158; --purple-text: #DB34F2;
  --red-head: #FF4245;
  --tint: #1A92D6; --tint-text: #3AA6E6; --on-tint: #FFFFFF; --on-color: #FFFFFF; --tint-fill: #007CBB;
  --bg: #000000; --bg-elevated: #1C1C1E; --cell: #1C1C1E; --cell-elevated: #2C2C2E;
  --logo-plate-dark: #FFFFFF; --logo-pad-dark: 4px 8px; --logo-plate-light: transparent; --logo-pad-light: 0;
  --label: #FFFFFF; --label-2: rgba(235, 235, 245, .6); --label-3: rgba(235, 235, 245, .3); --label-4: rgba(235, 235, 245, .16);
  --separator: rgba(84, 84, 88, .6);
  --fill: rgba(120, 120, 128, .36); --fill-2: rgba(120, 120, 128, .32); --fill-3: rgba(118, 118, 128, .24); --fill-4: rgba(118, 118, 128, .18);
  --seg-on: #636366;
  --glass: rgba(40, 40, 44, .6); --glass-strong: rgba(30, 30, 33, .86);
  --glass-edge: rgba(255, 255, 255, .14); --glass-line: rgba(255, 255, 255, .09);
  --glass-shadow: 0 10px 30px rgba(0, 0, 0, .5), 0 1px 3px rgba(0, 0, 0, .4);
  --scrim: rgba(0, 0, 0, .55);
  color-scheme: dark;
}
/* Artırılmış kontrast. HIG: Color › Best practices (light, dark, increased contrast) */
@media (prefers-contrast: more) {
  :root {
    --red: #E9152D; --orange: #C55300; --yellow: #A16A00; --green: #008932; --teal: #008198;
    --blue: #1E6EF4; --indigo: #564ADE; --purple: #B02FC2; --pink: #E7124D; --brown: #956D51;
    --gray: #6C6C70; --gray2: #8E8E93; --gray3: #AEAEB2; --gray4: #BCBCC0; --gray5: #D8D8DC; --gray6: #EBEBF0;
    --tint: #005F8F; --tint-text: #005F8F; --bg: #EBEBF0; --tint-fill: #005F8F;
    --label-2: rgba(60, 60, 67, .82); --label-3: rgba(60, 60, 67, .56); --separator: rgba(60, 60, 67, .5);
    --glass: rgba(255, 255, 255, .95); --glass-strong: rgba(255, 255, 255, .97); --glass-line: rgba(0, 0, 0, .22);
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --red: #FF6165; --orange: #FFA056; --yellow: #FEDF43; --green: #4AD968; --teal: #3BDDEC;
      --blue: #5CB8FF; --indigo: #A7AAFF; --purple: #EA8DFF; --pink: #FF8AC4; --brown: #DBA679;
      --gray: #AEAEB2; --gray2: #7C7C80; --gray3: #545456; --gray4: #444446; --gray5: #363638; --gray6: #242426;
      --red-text: #FF6165; --orange-text: #FFA056; --green-text: #4AD968; --purple-text: #EA8DFF;
      --tint: #6CC0F2; --tint-text: #6CC0F2; --on-tint: #000000; --on-color: #000000; --tint-fill: #6CC0F2;
      --cell: #242426; --cell-elevated: #363638;
      --label-2: rgba(235, 235, 245, .82); --label-3: rgba(235, 235, 245, .56); --separator: rgba(140, 140, 148, .8);
      --glass: rgba(28, 28, 30, .95); --glass-strong: rgba(28, 28, 30, .97); --glass-line: rgba(255, 255, 255, .28);
    }
  }
  :root[data-theme="dark"] {
    --red: #FF6165; --orange: #FFA056; --yellow: #FEDF43; --green: #4AD968; --teal: #3BDDEC;
    --blue: #5CB8FF; --indigo: #A7AAFF; --purple: #EA8DFF; --pink: #FF8AC4; --brown: #DBA679;
    --gray: #AEAEB2; --gray2: #7C7C80; --gray3: #545456; --gray4: #444446; --gray5: #363638; --gray6: #242426;
    --red-text: #FF6165; --orange-text: #FFA056; --green-text: #4AD968; --purple-text: #EA8DFF;
    --tint: #6CC0F2; --tint-text: #6CC0F2; --on-tint: #000000; --on-color: #000000; --tint-fill: #6CC0F2;
    --cell: #242426; --cell-elevated: #363638;
    --label-2: rgba(235, 235, 245, .82); --label-3: rgba(235, 235, 245, .56); --separator: rgba(140, 140, 148, .8);
    --glass: rgba(28, 28, 30, .95); --glass-strong: rgba(28, 28, 30, .97); --glass-line: rgba(255, 255, 255, .28);
  }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
/* iOS varsayılan gövde metni 17 pt; iOS'ta Dynamic Type kök boyutu belirler. HIG: Typography › Ensuring legibility; Supporting Dynamic Type */
html { font-size: 17px; -webkit-text-size-adjust: 100%; background: var(--bg); }
@supports (-webkit-touch-callout: none) { html { font: -apple-system-body; } }
body { margin: 0; background: var(--bg); color: var(--label); font-family: var(--font); font-size: 1rem; line-height: 1.294; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--tint); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.spacer { flex: 1 1 auto; }

/* Arayüz ikonları: SF Symbols adlarıyla eşlenmiş, yazıyla aynı ağırlıkta ve yazıyla ölçeklenen vektörler.
   HIG: SF Symbols › Weights and scales; Icons › Best practices; Typography › Supporting Dynamic Type */
.ico { width: 1.18em; height: 1.18em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.22em; }
.ico .f { fill: currentColor; stroke: none; }
.ico .w { stroke: var(--on-color); }
.ico .wf { fill: var(--on-color); stroke: none; }
.ico .cut { stroke: var(--tile-bg, var(--cell)); stroke-width: 1.6; }
.ico .fc { fill: currentColor; stroke: var(--tile-bg, var(--cell)); stroke-width: 1.6; }
.strong .ico, .ico.strong { stroke-width: 2.1; }

/* Liquid Glass yalnızca kontrol ve gezinme katmanında. HIG: Materials › Liquid Glass; Layout › Visual hierarchy */
.glass { background: var(--glass); -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%); box-shadow: var(--glass-shadow), inset 0 0 0 .5px var(--glass-line), inset 0 1px 0 var(--glass-edge); }
.glass-strong { background: var(--glass-strong); -webkit-backdrop-filter: blur(30px) saturate(180%); backdrop-filter: blur(30px) saturate(180%); box-shadow: var(--glass-shadow), inset 0 0 0 .5px var(--glass-line), inset 0 1px 0 var(--glass-edge); }
/* Şeffaflığı azalt ayarı. HIG: Materials › Liquid Glass (reduce transparency) */
@media (prefers-reduced-transparency: reduce) {
  .glass, .glass-strong { background: var(--cell); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ── Kabuk ───────────────────────────────────────────── */
.main { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); padding-bottom: calc(112px + env(safe-area-inset-bottom, 0px)); }
/* Okunabilir içerik genişliği. HIG: Layout › Guides and safe areas */
.content { max-width: 720px; margin: 0 auto; }
/* Gezinme çubuğu: düz zemin yerine kaydırma kenarı efekti. HIG: Layout › Visual hierarchy; Toolbars › Best practices */
.navbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 15; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; min-height: 60px; margin-left: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); margin-right: calc(-1 * max(16px, env(safe-area-inset-right, 0px))); padding: 8px max(16px, env(safe-area-inset-right, 0px)) 8px max(16px, env(safe-area-inset-left, 0px)); }
.navbar::before { content: ""; position: absolute; inset: 0 0 -20px; z-index: -1; pointer-events: none; background: linear-gradient(to bottom, var(--bg) 0%, color-mix(in srgb, var(--bg) 72%, transparent) 60%, transparent 100%); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); opacity: 0; transition: opacity .2s; }
.navbar.scrolled::before { opacity: 1; }
.nb-leading { justify-self: start; display: flex; gap: 8px; min-width: 0; }
.nb-trailing { justify-self: end; display: flex; gap: 8px; }
/* Büyük başlık kaydırınca standart başlığa döner. HIG: Toolbars › iOS */
.nb-title { font-size: 1rem; font-weight: 600; text-align: center; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; opacity: 0; transition: opacity .2s; }
.navbar.scrolled .nb-title { opacity: 1; }
.large-title { font-size: 2rem; line-height: 1.206; font-weight: 700; margin: 2px 0 14px; text-wrap: balance; overflow-wrap: anywhere; }
.title-sub { margin: -8px 0 18px; color: var(--label-2); font-size: .882rem; }
/* Araç çubuğu öğeleri cam bir kapsülde gruplanır; simgeler tek renk. HIG: Toolbars › Item groupings; Color › Liquid Glass color */
.tb-group { display: inline-flex; align-items: center; padding: 2px; border-radius: 999px; }
/* 44×44 pt dokunma alanı. HIG: Accessibility › Mobility */
.tb-btn { appearance: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 999px; background: transparent; color: var(--label); font-size: 1.12rem; cursor: pointer; position: relative; }
/* Satır içindeki düğme uzun metinle sıkışmaz; dokunma alanı 44 pt kalır. HIG: Layout › Best practices (en az 44×44 pt) */
.cell > .tb-btn { flex: none; }
.tb-btn.solo { width: 44px; height: 44px; }
.tb-btn:active { transform: scale(.92); background: var(--fill-3); }
.tb-btn.on { color: var(--tint-text); }
.tb-btn.on::after { content: ""; position: absolute; top: 9px; right: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--tint); }
/* Tek birincil eylem renkli zeminle öne çıkar. HIG: Toolbars › Actions (.prominent); Color › Liquid Glass color */
.tb-btn.prominent { background: var(--tint-fill); color: var(--on-tint); box-shadow: var(--glass-shadow); }
.tb-btn:disabled { opacity: .35; }

/* Sekme çubuğu: altta yüzen cam, en fazla beş sekme, etiketli. HIG: Tab bars › iOS; Tab bars › Best practices */
.tabbar { position: fixed; z-index: 20; left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(10px + env(safe-area-inset-bottom, 0px)); max-width: 460px; margin: 0 auto; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); padding: 4px; border-radius: 999px; }
/* Sekme etiketleri metin boyutuyla büyümez; 11 pt asgari boyut. HIG: Typography › Conveying hierarchy; Ensuring legibility */
.tab { appearance: none; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 54px; padding: 0 2px; border: 0; border-radius: 999px; background: transparent; color: var(--label); font-size: 11px; font-weight: 600; line-height: 1.1; cursor: pointer; }
.tab .ico { width: 25px; height: 25px; stroke-width: 1.7; }
.tab span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Seçili sekmede vurgu rengi ve dolu simge. HIG: Branding › Best practices; SF Symbols › Design variants */
.tab[aria-current="page"] { color: var(--tint-text); background: var(--fill-3); }
/* Rozet: kırmızı oval, beyaz sayı, yalnızca kritik bilgi. HIG: Tab bars › Best practices */
/* Rozet: HIG artırılmış kontrast kırmızısı #D70015, beyaz rakamla 5:1 (sistem kırmızısı koyu görünümde 3,4:1 kalıyordu). HIG: Accessibility › Color and effects */
.tab-badge { position: absolute; top: 3px; left: calc(50% + 5px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #D70015; color: var(--on-color); font-size: 12px; font-weight: 600; line-height: 18px; text-align: center; font-variant-numeric: tabular-nums; }
.tab:active { transform: scale(.95); }

/* Kenar çubuğu: geniş pencerede sekme çubuğunun yerine geçer; daha opak cam. HIG: Layout › Size classes; Sidebars; Color › Liquid Glass color */
.sidebar { display: none; position: fixed; z-index: 20; top: calc(10px + env(safe-area-inset-top, 0px)); bottom: calc(10px + env(safe-area-inset-bottom, 0px)); left: max(10px, env(safe-area-inset-left, 0px)); width: 280px; flex-direction: column; gap: 2px; padding: 14px 10px; border-radius: 26px; overflow-y: auto; }
/* Logo yalnızca bağlam için: hangi kurumun defteri. HIG: Branding › Best practices */
.sb-brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 14px; }
.brand-mark { width: 34px; height: auto; flex: none; }
/* Kurum logosu yokken: uygulamanın markasız simgesi (yuvarlatılmış kare). */
.brand-mark.app-mark { width: 32px; height: 32px; border-radius: 8px; }
.brand-cell .brand-mark.app-mark { width: 52px; height: 52px; border-radius: 12px; }
.brand-none { color: var(--label-2); font-size: .941rem; }
/* Kurumun kendi logosu: oranı korunur, kenar çubuğunda en çok 40 pt yükseklik. */
.org-logo { display: block; max-width: 150px; max-height: 40px; width: auto; height: auto; flex: none; object-fit: contain; }
.brand-cell .org-logo { max-width: 220px; max-height: 64px; }
.auth-brand .org-logo { max-width: 240px; max-height: 80px; }
/* Logonun tonu (yüklemede ölçülür): koyu çizim koyu görünümde açık plakada, açık çizim açık görünümde koyu plakada; kendi zemini olanın köşeleri yuvarlanır. HIG: Dark Mode › Best practices */
.org-logo { box-sizing: border-box; border-radius: 8px; }
.org-logo[data-tone="dark"] { background: var(--logo-plate-dark); padding: var(--logo-pad-dark); }
.org-logo[data-tone="light"] { background: var(--logo-plate-light); padding: var(--logo-pad-light); }
.org-logo[data-tone="opaque"] { border-radius: 6px; }
.sb-org { margin-top: 4px; font-size: .765rem; color: var(--label-2); overflow-wrap: anywhere; }
.sb-head { padding: 16px 12px 6px; font-size: .765rem; font-weight: 600; color: var(--label-2); }
.sb-item { appearance: none; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 0 12px; border: 0; border-radius: 14px; background: transparent; color: var(--label); font-size: 1rem; text-align: left; cursor: pointer; }
/* Kenar çubuğu simgeleri vurgu renginde; seçim sürekli vurgulanır. HIG: Sidebars › Best practices; Split views › Best practices */
.sb-item .ico { color: var(--tint-text); font-size: 1.05rem; }
.sb-item span:first-of-type { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sb-item[aria-current] { background: color-mix(in srgb, var(--tint) 15%, transparent); font-weight: 600; }
.sb-item:active { background: var(--fill-3); }
.sb-count { color: var(--label-2); font-size: .882rem; font-variant-numeric: tabular-nums; }
.sb-count.late { color: var(--red-text); font-weight: 600; }
@media (min-width: 768px) {
  .main { margin-left: calc(300px + env(safe-area-inset-left, 0px)); padding-left: 24px; padding-right: max(24px, env(safe-area-inset-right, 0px)); padding-bottom: 56px; }
  .navbar { margin-left: -24px; margin-right: calc(-1 * max(24px, env(safe-area-inset-right, 0px))); padding-left: 24px; padding-right: max(24px, env(safe-area-inset-right, 0px)); }
  .sidebar { display: flex; }
  .tabbar { display: none; }
}

/* ── Listeler: inset grouped stil; başlık, alt bilgi ve gruplar arası boşluk. HIG: Lists and tables › Style; Layout › Visual hierarchy ── */
.group { margin: 0 0 26px; }
.gh-title.gh-late { color: var(--red-head); font-weight: 600; }
/* Uzun listeler (Defter, Takip, Toplantılar): ekran dışındaki gruplar çizilmez, kaydırınca çizilir. */
#list > .group:not(.more), .cv > .group { content-visibility: auto; contain-intrinsic-size: auto 600px; }
.group-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 0 16px 7px; }
.gh-title { font-size: .765rem; line-height: 1.385; font-weight: 400; color: var(--label-2); }
.gh-prominent { font-size: 1.176rem; line-height: 1.25; font-weight: 600; color: var(--label); overflow-wrap: anywhere; }
.gh-sub { margin-top: 1px; font-size: .765rem; color: var(--label-2); }
.gh-link { appearance: none; display: inline-flex; align-items: center; gap: 2px; flex: none; min-height: 44px; margin: -12px -8px -12px 0; padding: 0 8px; border: 0; background: none; color: var(--tint-text); font-size: .882rem; font-weight: 600; cursor: pointer; }
.gh-link .ico { width: .9em; height: .9em; stroke-width: 2.2; }
.group-body { background: var(--cell); border-radius: 22px; overflow: hidden; }
.group-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 7px 16px 0; font-size: .765rem; line-height: 1.385; color: var(--label-2); }
.cell { appearance: none; position: relative; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 11px 16px; border: 0; background: var(--cell); color: var(--label); font-size: 1rem; text-align: left; cursor: pointer; --sep: 16px; }
.cell.has-tile { --sep: 58px; }
.cell + .cell::before, .cell + .field-cell::before, .field-cell + .cell::before, .field-cell + .field-cell::before, .form-row + .form-row::before, .form-row + .field-cell::before, .field-cell + .form-row::before, .cell + .form-row::before, .form-row + .cell::before,
.brand-cell + .form-row::before, .drop + .field-cell::before, .cell-paragraph + .cell::before, .notice + .cell::before, .rec-panel + .cell::before {
  content: ""; position: absolute; top: 0; right: 0; left: var(--sep, 16px); height: 1px; background: var(--separator); transform: scaleY(.5); transform-origin: 0 0;
}
/* Basılı durum geri bildirimi. HIG: Lists and tables › Best practices; Buttons › Best practices */
.cell[role="button"]:active, button.cell:active, .cell-text[role="button"]:active { background: color-mix(in srgb, var(--label) 7%, var(--cell)); }
.cell-static { cursor: default; }
/* Satır: solda simge karosu, başlık, kısa alt metin; sağda açılma oku. HIG: Lists and tables › Content; iOS, iPadOS */
.tile { --tile-bg: var(--c, var(--gray)); display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 8px; background: var(--tile-bg); color: var(--on-color); }
.tile .ico { width: 19px; height: 19px; stroke-width: 2; }
.k-karar { --c: var(--purple); } .k-istisare { --c: var(--brown); } .k-gorev { --c: var(--indigo); } .k-bilgi { --c: var(--gray); } .k-tint { --c: var(--tint); }
.cell-text { flex: 1 1 auto; min-width: 0; display: grid; gap: 2px; }
.cell-title { font-size: 1rem; font-weight: 600; line-height: 1.294; overflow-wrap: anywhere; }
.cell-body { font-size: 1rem; overflow-wrap: anywhere; }
.cell-sub { font-size: .882rem; line-height: 1.333; color: var(--label-2); overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cell-sub.full { display: block; }
.cell-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 10px; margin-top: 2px; font-size: .765rem; line-height: 1.385; color: var(--label-2); }
.cell-meta > span { display: inline-flex; align-items: center; gap: 4px; }
.cell-meta .ico { width: 1.15em; height: 1.15em; }
.cell-value { flex: none; color: var(--label-2); font-variant-numeric: tabular-nums; }
.cell-acc { flex: none; color: var(--label-3); display: grid; place-items: center; }
.cell-acc .ico { width: .82em; height: .82em; stroke-width: 2.4; }
.cell-paragraph { padding: 13px 16px; font-size: 1rem; line-height: 1.4; overflow-wrap: anywhere; }
.dec-no { color: var(--purple-text); font-weight: 600; font-variant-numeric: tabular-nums; }
/* Durum yalnız renkle değil, simge ve metinle de anlatılır. HIG: Color › Inclusive color; Accessibility › Vision */
.st { color: var(--label-2); }
.st-late { color: var(--red-text); font-weight: 600; }
.st-soon { color: var(--orange-text); font-weight: 600; }
.st-done { color: var(--green-text); font-weight: 600; }
.st-done .ico .w, .st-late .ico .w { stroke: var(--on-color); }
.ex { display: inline-flex; align-items: center; height: 18px; padding: 0 6px; border-radius: 6px; background: var(--fill-3); color: var(--label-2); font-size: 11px; font-weight: 600; }
.cell-action { color: var(--tint-text); }
.cell-action .ico { font-size: 1.2rem; }
.cell-action.destructive { color: var(--red-text); }
.cell-action.center { justify-content: center; font-weight: 400; }
.cal { display: grid; flex: none; width: 42px; padding: 3px 0 4px; border-radius: 10px; background: var(--fill-3); text-align: center; }
.cal-m { font-size: 10px; font-weight: 600; letter-spacing: .04em; color: var(--label-2); line-height: 1.2; }
.cal-d { font-size: 1.176rem; font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }
.cell-counts { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 3px; font-size: .765rem; color: var(--label-2); }
.cell-counts span { display: inline-flex; align-items: center; gap: 4px; }
.cell-counts i { width: 8px; height: 8px; border-radius: 2px; background: var(--c); }
/* Tamamlama düğmesi: listede durum değiştiren düğme. HIG: Toggles › iOS, iPadOS; Accessibility › Mobility */
.check-btn { appearance: none; display: grid; place-items: center; flex: none; width: 44px; height: 44px; margin: -8px -6px -8px -10px; padding: 0; border: 0; background: none; color: var(--label-3); font-size: 1.3rem; cursor: pointer; }
.check-btn:hover, .check-btn:focus-visible { color: var(--green); }
.cell-task .cell-text { cursor: pointer; border-radius: 8px; }
/* Görev durumu: satırın sağında açılır düğme; dokununca üç seçenekli menü açılır. Dokunma alanı en az 44 pt.
   HIG: Pop-up buttons › Best practices; Layout › Best practices (hit targets) */
.pop-btn { position: relative; flex: none; display: inline-flex; align-items: center; gap: 4px; max-width: 46%; min-height: 32px; padding: 0 10px 0 12px; border: 0; border-radius: 999px; background: var(--fill-3); color: var(--label); font: inherit; font-size: .824rem; font-weight: 500; cursor: pointer; }
.pop-btn::before { content: ""; position: absolute; inset: -6px -4px; }
.pop-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pop-btn .ico { flex: none; font-size: .75rem; color: var(--label-2); }
.pop-btn.s-takipte { color: var(--tint-text); }
.pop-btn.s-tamam { color: var(--green-text); }
/* Birime özel toplantı: kilit simgesi ve "Birime özel" sözü birlikte; renk tek başına anlam taşımaz.
   HIG: Accessibility › Color and effects */
.cell-meta .priv { font-weight: 600; color: var(--label-2); }
/* Telefonda düğme metnin altında, başlığı daraltmaz; geniş ekranda satırın sonunda. HIG: Layout › Best practices */
.cell-col { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.cell-col .cell-text { align-self: stretch; }
.cell-col .pop-btn { max-width: 100%; }
@media (min-width: 768px) {
  .cell-col { flex-direction: row; align-items: center; gap: 12px; }
  .cell-col .cell-text { flex: 1 1 auto; }
  .cell-col .pop-btn { max-width: 46%; }
}
.due-label { flex: none; align-self: center; font-size: .765rem; font-weight: 600; color: var(--label-2); font-variant-numeric: tabular-nums; text-align: right; }
.due-label.late { color: var(--red-text); }
.due-label.soon { color: var(--orange-text); }
.rule-k { flex: none; width: 5.6rem; font-weight: 600; font-size: .882rem; color: var(--tint-text); }
.rule-v { flex: 1 1 auto; font-size: .882rem; color: var(--label); }
.brand-cell { display: flex; align-items: center; gap: 14px; padding: 18px 16px; }
.brand-cell .brand-mark { width: 52px; }
.notice { display: flex; align-items: flex-start; gap: 12px; padding: 13px 16px; }
.notice .ico { color: var(--tint-text); font-size: 1.15rem; margin-top: 1px; }
.notice.warn .ico { color: var(--orange-text); }
.notice p { font-size: .882rem; line-height: 1.4; }
.notice-actions { padding: 0 16px 13px 46px; }

/* Arama: listenin üstünde satır içi alan, ipucu metni, temizleme düğmesi. HIG: Search fields › iOS; Text fields › iOS, iPadOS */
.search-block { display: grid; gap: 10px; margin-bottom: 20px; }
.search { display: flex; align-items: center; gap: 6px; height: 44px; padding: 0 6px 0 14px; border-radius: 999px; background: var(--fill-3); color: var(--label-2); cursor: text; }
.search input { flex: 1 1 auto; min-width: 0; height: 100%; padding: 0; border: 0; outline: none; background: transparent; color: var(--label); font-size: 1rem; }
.search input::placeholder { color: var(--label-2); }
.search input::-webkit-search-cancel-button { display: none; }
.clear-btn { appearance: none; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; background: none; color: var(--label-3); font-size: 1.05rem; cursor: pointer; --tile-bg: var(--cell); }
/* Kapsam çubuğu: segmentli kontrol, en fazla beş segment, isim etiketler. HIG: Search fields › Scope bars and tokens; Segmented controls */
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); padding: 2px; border-radius: 999px; background: var(--fill-3); }
.seg button { appearance: none; min-height: 32px; padding: 0 6px; border: 0; border-radius: 999px; background: transparent; color: var(--label); font-size: .765rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
.seg button[aria-checked="true"] { background: var(--seg-on); font-weight: 600; box-shadow: 0 2px 7px rgba(0, 0, 0, .12), 0 0 0 .5px rgba(0, 0, 0, .04); }
.seg-pad { padding: 10px 16px; }
/* Belirteçler: etkin süzgeçler. HIG: Search fields › Scope bars and tokens */
.tokens { display: flex; flex-wrap: wrap; gap: 8px; }
.token { appearance: none; display: inline-flex; align-items: center; gap: 2px; height: 32px; padding: 0 4px 0 12px; border: 0; border-radius: 999px; background: color-mix(in srgb, var(--tint) 14%, transparent); color: var(--tint-text); font-size: .882rem; font-weight: 600; cursor: pointer; }
.token .ico { width: 1.05em; height: 1.05em; margin-left: 2px; }

/* Düğmeler: birincil eylem dolu, diğerleri gri dolgu ya da düz; basılı durum var. HIG: Buttons › Style; Buttons › Best practices */
.btn { appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; font-size: 1rem; font-weight: 600; white-space: nowrap; cursor: pointer; text-decoration: none; }
.btn-prominent { background: var(--tint-fill); color: var(--on-tint); }
.btn-bordered { background: var(--fill-2); color: var(--tint-text); }
.btn-plain { background: transparent; color: var(--tint-text); padding: 0 10px; }
.btn-destructive { background: var(--fill-2); color: var(--red-text); }
.btn.sm { min-height: 36px; padding: 0 14px; font-size: .882rem; }
.btn-plain.sm { padding: 0 6px; }
.btn-plain.destructive { color: var(--red-text); }
.btn:active { opacity: .65; }
.btn:disabled { opacity: .35; cursor: default; }
.btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* Boş durum: ne yapılacağını söyleyen metin ve düğme. HIG: Writing › Best practices */
.empty { display: grid; justify-items: center; gap: 8px; padding: 36px 16px 28px; text-align: center; }
.empty .big { width: 54px; height: 54px; color: var(--label-3); stroke-width: 1.4; margin-bottom: 4px; }
.empty h2 { font-size: 1.294rem; line-height: 1.273; font-weight: 700; }
.empty p { max-width: 34ch; color: var(--label-2); font-size: .882rem; line-height: 1.4; }
.empty .btn-row { margin-top: 8px; }
/* Yükleme sırasında yer tutucu satırlar. HIG: Loading › Best practices */
.skel-row { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.skel-row i { display: block; height: 12px; border-radius: 6px; background: var(--fill-3); }
.skel-row .sq { width: 30px; height: 30px; border-radius: 8px; flex: none; }

/* ── Sayfalar (sheet) ve formlar. HIG: Sheets › iOS, iPadOS; Modality ── */
dialog { color: var(--label); }
dialog::backdrop { background: var(--scrim); }
dialog.sheet { width: 100%; max-width: 100%; height: calc(100dvh - 12px - env(safe-area-inset-top, 0px)); max-height: none; margin: auto 0 0; padding: 0; border: 0; border-radius: 30px 30px 0 0; background: var(--bg-elevated); overflow: hidden; }
dialog.sheet[open] { display: flex; flex-direction: column; animation: sheet-up .32s cubic-bezier(.2, .8, .2, 1); }
@keyframes sheet-up { from { transform: translateY(40px); opacity: .4; } }
@media (min-width: 768px) { dialog.sheet { width: min(620px, calc(100vw - 80px)); height: min(860px, calc(100dvh - 80px)); margin: auto; border-radius: 30px; } }
.sheet-form { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
/* Vazgeç sol başta (xmark), Kaydet sağ sonda (checkmark). HIG: Sheets › iOS, iPadOS; Icons › Standard icons */
.sheet-nav { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 12px 12px 8px; touch-action: none; }
.sheet-nav > :first-child { justify-self: start; }
.sheet-nav > :last-child { justify-self: end; }
.sheet-title { font-size: 1rem; font-weight: 600; text-align: center; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sheet-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 8px max(16px, env(safe-area-inset-left, 0px)) calc(28px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-right, 0px)); }
.sheet-body > .seg { margin: 4px 0 22px; }
.field-cell { position: relative; padding: 0 16px; background: var(--cell); }
.field-cell input, .field-cell textarea { display: block; width: 100%; padding: 12px 0; border: 0; outline: none; background: transparent; color: var(--label); font-size: 1rem; line-height: 1.35; resize: vertical; }
.field-cell textarea { min-height: 88px; }
/* Alanın üstündeki görünür etiket (yer tutucu yazınca kaybolur). HIG: Text fields › Best practices */
.field-cell.labeled .fc-label { display: block; padding-top: 10px; font-size: .765rem; line-height: 1.385; color: var(--label-2); }
.field-cell.labeled textarea { min-height: 64px; padding-top: 4px; }
.field-cell input::placeholder, .field-cell textarea::placeholder, .form-row input::placeholder { color: var(--label-3); }
.form-row { position: relative; display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 4px 16px; background: var(--cell); cursor: pointer; }
.form-row .k { flex: none; min-width: 6.5rem; color: var(--label); }
.form-row .k.grow { flex: 1 1 auto; }
.form-row input[type="text"], .form-row select { flex: 1 1 auto; min-width: 0; padding: 8px 0; border: 0; outline: none; background: transparent; color: var(--label-2); font-size: 1rem; text-align: right; text-align-last: right; appearance: none; -webkit-appearance: none; }
.form-row select { padding-right: 2px; cursor: pointer; text-overflow: ellipsis; }
/* Seçilen değer sağa yaslı: kısa etiket ona yer bırakır, sığmayan ad üç noktayla biter. HIG: Pop-up buttons › Best practices */
.form-row:has(> select) .k { min-width: 0; }
.form-row .chev { color: var(--label-3); font-size: .85rem; }
/* Tarih: kompakt tarih seçici. HIG: Pickers › iOS, iPadOS */
.form-row input[type="date"] { margin-left: auto; min-width: 0; padding: 6px 10px; border: 0; border-radius: 8px; background: var(--fill-3); color: var(--label); font-size: .941rem; }
.form-row:focus-within { background: color-mix(in srgb, var(--label) 3%, var(--cell)); }
/* Anahtar yalnız liste satırında, varsayılan yeşil. HIG: Toggles › iOS, iPadOS */
.switch { appearance: none; -webkit-appearance: none; position: relative; flex: none; width: 51px; height: 31px; margin: 0; border-radius: 999px; background: var(--fill); cursor: pointer; transition: background .2s; }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 3px 8px rgba(0, 0, 0, .15), 0 1px 1px rgba(0, 0, 0, .16); transition: transform .2s; }
.switch:checked { background: var(--green); }
.switch:checked::after { transform: translateX(20px); }
.wc { font-variant-numeric: tabular-nums; }
.wc.over { color: var(--orange-text); font-weight: 600; }
/* Hata iletisi soruna yakın ve çözümü söyler. HIG: Writing › Best practices */
.form-err { margin: -10px 16px 20px; color: var(--red-text); font-size: .882rem; font-weight: 600; }

/* Tam ekran kip: çok adımlı uzun görev. HIG: Modality › Best practices; Sheets › Best practices */
dialog.fullscreen { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: var(--bg); }
dialog.fullscreen[open] { display: flex; flex-direction: column; animation: sheet-up .32s cubic-bezier(.2, .8, .2, 1); }
.fs-nav { padding-top: calc(10px + env(safe-area-inset-top, 0px)); padding-left: max(12px, env(safe-area-inset-left, 0px)); padding-right: max(12px, env(safe-area-inset-right, 0px)); }
.fs-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 8px max(16px, env(safe-area-inset-left, 0px)) calc(32px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-right, 0px)); }
.fs-inner { max-width: 720px; margin: 0 auto; }
.drop { display: grid; justify-items: center; gap: 6px; padding: 22px 16px; text-align: center; color: var(--label-2); font-size: .882rem; transition: background .15s; }
.drop strong { color: var(--label); font-size: 1rem; font-weight: 600; }
.drop .ico.xl { width: 38px; height: 38px; color: var(--tint-text); stroke-width: 1.5; }
.drop.over { background: color-mix(in srgb, var(--tint) 10%, var(--cell)); }
.drop .btn { margin-top: 6px; }
.file-ok { color: var(--green-text); font-weight: 600; }
details.disclosure summary { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; list-style: none; cursor: pointer; color: var(--tint-text); }
details.disclosure summary::-webkit-details-marker { display: none; }
details.disclosure ul { margin: 0; padding: 0 16px 14px 34px; display: grid; gap: 8px; font-size: .882rem; line-height: 1.4; color: var(--label-2); }
details.disclosure b { color: var(--label); font-weight: 600; }
/* Uzun işlem: açıklama, süre ve durdurma düğmesi. HIG: Progress indicators › Best practices */
.run-panel { display: grid; justify-items: center; gap: 10px; padding: 56px 16px; text-align: center; }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--fill); border-top-color: var(--tint); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.bar { width: min(320px, 80%); height: 6px; border-radius: 999px; background: var(--fill); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--tint); transition: width .4s; }
.run-title { font-size: 1.176rem; font-weight: 600; }
.run-sub { color: var(--label-2); font-size: .882rem; }
.run-time { color: var(--label-3); font-size: .765rem; font-variant-numeric: tabular-nums; }
.k-item.off .group-body > :not(:first-child) { opacity: .45; }

/* Menü: açılır düğme menüsü, ilgili komutlar gruplu, simgeler sağda, seçimde onay işareti. HIG: Pull-down buttons; Menus */
.menu-backdrop { position: fixed; inset: 0; z-index: 39; }
.menu { position: fixed; z-index: 40; min-width: 240px; max-width: min(320px, calc(100vw - 24px)); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 6px; border-radius: 22px; animation: pop .16s ease-out; }
@keyframes pop { from { transform: scale(.96); opacity: 0; } }
.menu-item { appearance: none; display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 0 12px; border: 0; border-radius: 14px; background: transparent; color: var(--label); font-size: 1rem; text-align: left; cursor: pointer; }
.menu-item:hover, .menu-item:focus-visible { background: var(--fill-3); outline: none; }
.menu-item .mi-label { flex: 1 1 auto; min-width: 0; }
.menu-item .mi-check { width: 18px; flex: none; color: var(--tint-text); }
.menu-item .mi-check .ico { stroke-width: 2.4; width: 16px; height: 16px; }
.menu-item.destructive { color: var(--red-text); }
.menu-head { padding: 8px 12px 4px; font-size: .765rem; font-weight: 600; color: var(--label-2); }
.menu-sep { height: 1px; margin: 6px 10px; background: var(--separator); }

/* Uyarı ve eylem sayfası: kısa başlık, yıkıcı düğme kırmızı, her zaman Vazgeç. HIG: Alerts; Action sheets */
dialog.alert-dlg { padding: 0; border: 0; background: transparent; overflow: visible; max-width: none; max-height: none; }
dialog.as-alert { width: min(300px, calc(100vw - 48px)); margin: auto; }
dialog.as-sheet { width: calc(100vw - 16px); max-width: 520px; margin: auto auto calc(8px + env(safe-area-inset-bottom, 0px)); }
.al-box { border-radius: 28px; padding: 22px 18px 14px; text-align: center; }
.al-title { font-size: 1rem; font-weight: 600; line-height: 1.294; }
.al-msg { margin-top: 6px; font-size: .765rem; line-height: 1.385; color: var(--label-2); }
.al-input { width: 100%; margin-top: 14px; padding: 10px 12px; border: 0; border-radius: 12px; background: var(--fill-3); color: var(--label); font-size: 1rem; outline: none; }
textarea.al-input { min-height: 180px; font-size: .765rem; line-height: 1.4; text-align: left; resize: vertical; }
.al-btns { display: grid; gap: 8px; margin-top: 18px; }
.al-btns.row { grid-template-columns: 1fr 1fr; }
.al-btn { appearance: none; min-height: 44px; padding: 0 12px; border: 0; border-radius: 999px; background: var(--fill-2); color: var(--label); font-size: 1rem; font-weight: 600; cursor: pointer; }
.al-btn.default { background: var(--tint-fill); color: var(--on-tint); }
.al-btn.destructive { color: var(--red-text); }
.al-btn:active { opacity: .65; }
.as-group { border-radius: 26px; overflow: hidden; }
.as-group + .as-group { margin-top: 8px; }
.as-head { padding: 14px 18px; text-align: center; }
.as-head .al-title { font-size: .765rem; color: var(--label-2); }
.as-head .al-msg { font-size: .765rem; }
.as-btn { appearance: none; position: relative; display: block; width: 100%; min-height: 56px; padding: 0 16px; border: 0; background: transparent; color: var(--tint-text); font-size: 1.12rem; cursor: pointer; }
.as-btn + .as-btn::before, .as-head + .as-btn::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--separator); transform: scaleY(.5); }
.as-btn.destructive { color: var(--red-text); }
.as-btn.cancel { font-weight: 600; }
.as-btn:active { background: var(--fill-3); }

/* Geri al bildirimi: işlemi kısaca anlatır. HIG: Undo and redo › iOS, iPadOS; Feedback › Best practices */
.undo { position: fixed; z-index: 25; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: 6px; max-width: calc(100vw - 32px); min-height: 48px; padding: 4px 6px 4px 18px; border-radius: 999px; font-size: .882rem; font-weight: 600; opacity: 0; transform: translate(-50%, 14px); pointer-events: none; transition: opacity .2s, transform .2s; }
.undo.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.undo span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.undo:not(:has(button)) { padding-right: 18px; }
@media (min-width: 768px) { .undo { left: calc(50% + 150px); bottom: calc(24px + env(safe-area-inset-bottom, 0px)); } }

.ro .needs-write, .no-ai .ai-only, .no-dl .dl-only { display: none !important; }
/* Bireysel ajandada kurul düzeni gizlenir. */
.solo .kurum-only { display: none !important; }
/* Ajanda Oluştur seçenekleri ve kurulum sihirbazının düğmeleri. HIG: Onboarding › Best practices */
.create-choice { align-items: center; padding-top: 12px; padding-bottom: 12px; }
.create-choice .cell-title { color: var(--label); font-weight: 600; }
.create-choice .cell-sub { -webkit-line-clamp: unset; display: block; }
.create-logo-preview { display: grid; place-items: center; padding: 12px 16px 16px; }
.create-logo-preview img { max-width: 220px; max-height: 72px; object-fit: contain; }
.setup-actions .setup-back { margin-right: auto; display: inline-flex; align-items: center; gap: 2px; }
.field-cell.labeled input { padding-top: 2px; }
.setup-actions { display: flex; justify-content: flex-end; gap: 12px; margin: 8px 0 32px; }
.setup-step { margin-bottom: 0; font-weight: 600; color: var(--tint-text); }
.sb-brand-btn { cursor: pointer; border-radius: 12px; }
.sb-brand-btn:hover { background: var(--fill-3); }
.sb-brand-btn:focus-visible { outline: 2px solid var(--tint); outline-offset: 2px; }
/* Hareketi azalt. HIG: Accessibility › Cognitive */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .spinner { animation-duration: 2.4s !important; }
}

/* ── Sunucu sürümü: giriş, bağlantı, kayıt işleri, mikrofon, ayarlar ───────────── */
/* Giriş: tek görev, marka işareti, gruplu alanlar, tek birincil düğme.
   HIG: Managing accounts › Best practices; Branding › Best practices; Text fields › Best practices */
.auth { min-height: 100dvh; display: grid; place-items: center; padding: calc(24px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) calc(24px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.auth-card { width: min(420px, 100%); }
.auth-brand { display: grid; justify-items: center; gap: 10px; margin-bottom: 26px; text-align: center; }
.auth-brand h1 { margin-top: 8px; font-size: 1.647rem; line-height: 1.214; font-weight: 700; }
.auth-brand p { max-width: 32ch; color: var(--label-2); font-size: .882rem; line-height: 1.4; }
.auth .btn { width: 100%; }
.auth .form-err { margin: -10px 16px 16px; }
/* Google'ın kendi düğmesi; ortalanır, dokunma alanı en az 44 pt. HIG: Layout › Guides and safe areas; Buttons */
.g-btn { display: flex; justify-content: center; min-height: 44px; margin: 0 0 18px; }
.auth-alt { display: block; margin: 0 auto; min-height: 44px; }
.dl-bar { height: 4px; margin: 0 16px 10px; border-radius: 2px; background: var(--fill-3); overflow: hidden; }
.dl-bar > span { display: block; height: 100%; background: var(--tint); transition: width .4s; }
.pair-qr { width: min(220px, 70vw); margin: 4px auto 10px; padding: 10px; border-radius: 14px; background: #fff; }
.pair-qr svg { display: block; width: 100%; height: auto; }
.pair-code { margin: 0 0 14px; text-align: center; font: 600 1.412rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; color: var(--label); }
.pair-addr { margin: -8px 0 14px; text-align: center; color: var(--label-2); font-size: .882rem; }
.auth-foot { margin-top: 16px; text-align: center; color: var(--label-2); font-size: .765rem; line-height: 1.385; }
/* Bağlantı koptuğunda içerik üstünde kısa durum satırı. HIG: Feedback › Best practices */
.conn { display: flex; align-items: center; gap: 10px; max-width: 720px; margin: 0 auto 14px; padding: 10px 14px; border-radius: 14px; background: color-mix(in srgb, var(--orange) 16%, var(--cell)); font-size: .882rem; line-height: 1.35; }
.conn .ico { color: var(--orange-text); }
.k-ok { --c: var(--green); } .k-err { --c: var(--red); }
/* Belirsiz aşamada da aynı çubuk biçimi, hareket ederek. HIG: Progress indicators › Best practices */
.bar.indet i, .job-bar.indet i { width: 38%; animation: indet 1.3s ease-in-out infinite; }
@keyframes indet { from { transform: translateX(-105%); } to { transform: translateX(270%); } }
.job-bar { width: 100%; height: 4px; margin-top: 7px; border-radius: 999px; background: var(--fill); overflow: hidden; }
.job-bar i { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--tint); transition: width .4s; }
.run-panel .btn { margin-top: 6px; }
.fs-inner > .seg { margin: 0 0 22px; }
.audio-cell { padding: 0 16px 14px; background: var(--cell); }
.audio-cell audio { display: block; width: 100%; height: 40px; }
.step-done .ico { color: var(--green); }
.step-now .ico { color: var(--tint-text); }
.step-wait { color: var(--label-2); cursor: default; }
.step-wait .ico { color: var(--label-3); }
/* Kayıt düğmesi: kırmızı daire başlatır, kırmızı kare bitirir; süre ve ses seviyesi görünür. */
.rec-panel { display: grid; justify-items: center; gap: 12px; padding: 22px 16px 18px; text-align: center; }
.rec-time { font-size: 2.35rem; font-weight: 300; line-height: 1.1; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.rec-level { width: min(240px, 70%); height: 6px; border-radius: 999px; background: var(--fill); overflow: hidden; }
.rec-level i { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--green); transition: width .08s linear; }
.rec-btn { appearance: none; display: grid; place-items: center; width: 74px; height: 74px; padding: 0; border: 4px solid var(--gray3); border-radius: 50%; background: transparent; cursor: pointer; }
.rec-btn i { display: block; width: 56px; height: 56px; border-radius: 50%; background: var(--red); transition: width .2s, height .2s, border-radius .2s; }
.rec-btn.on i { width: 28px; height: 28px; border-radius: 7px; }
.rec-btn:active i { opacity: .7; }
.rec-hint { max-width: 38ch; color: var(--label-2); font-size: .882rem; line-height: 1.4; }
/* Kayıt sürerken her ekranda görünen gösterge; Music'teki MiniPlayer gibi sekme çubuğunun hemen üstünde durur.
   HIG: Tab bars (aksesuar); Feedback › Best practices */
.rec-pill { position: fixed; z-index: 21; left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(80px + env(safe-area-inset-bottom, 0px)); max-width: 460px; margin: 0 auto; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; border: 0; border-radius: 999px; color: var(--label); font-size: .941rem; font-weight: 600; white-space: nowrap; cursor: pointer; }
.rec-pill .rec-label { flex: 1 1 auto; text-align: left; }
.rec-pill #rec-pill-time { color: var(--red-text); font-variant-numeric: tabular-nums; }
.rec-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--red); animation: rec-blink 1.4s ease-in-out infinite; }
@keyframes rec-blink { 50% { opacity: .35; } }
body.recording .undo { bottom: calc(136px + env(safe-area-inset-bottom, 0px)); }
body.recording .main { padding-bottom: calc(170px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 768px) {
  .rec-pill { left: calc(324px + env(safe-area-inset-left, 0px)); right: max(24px, env(safe-area-inset-right, 0px)); bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
  body.recording .undo { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  body.recording .main { padding-bottom: 110px; }
}
details.disclosure summary .ico { transition: transform .2s; }
details.disclosure[open] summary .ico { transform: rotate(90deg); }
.tx-body { padding: 0 16px 14px; }
.tx-text { display: block; width: 100%; min-height: 220px; padding: 10px 12px; border: 0; border-radius: 12px; background: var(--fill-3); color: var(--label); font-size: .882rem; line-height: 1.45; resize: vertical; }
.tx-actions { display: flex; justify-content: flex-end; margin-top: 6px; }
.tx-empty { padding: 4px 0 2px; color: var(--label-2); font-size: .882rem; }
/* Kontrol ekranı › Konuşmacılar: adın altındaki bilgi (süre, adın kaynağı, örnek cümle) o satıra aittir; aralarında ayırıcı
   yok. HIG: Lists and tables › Best practices */
.form-row + .sp-info::before { display: none; }
.sp-info { display: block; min-height: 0; padding: 0 16px 10px; cursor: default; }
.sp-info .cell-meta { margin-top: 0; }
.sp-quote { margin: 4px 0 0; color: var(--label-2); font-size: .765rem; line-height: 1.385; }
.al-fields { display: grid; gap: 8px; margin-top: 14px; }
.al-fields .al-input { margin-top: 0; text-align: left; }
select.al-input { appearance: none; -webkit-appearance: none; }
.al-err { margin-top: 10px; color: var(--red-text); font-size: .765rem; font-weight: 600; line-height: 1.385; }
body:not(.admin) .admin-only { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  .bar.indet i, .job-bar.indet i { animation-duration: 3s; }
  .rec-dot { animation: none; }
}

/* Ekran kaydı kaynak listesi: küçük önizleme, seçili satırda onay işareti. HIG: Lists and tables › Best practices */
.scr-thumb { display: grid; place-items: center; flex: none; width: 64px; height: 40px; border-radius: 6px; object-fit: cover; background: var(--fill-3); color: var(--label-2); }
.scr-src .cell-acc { color: var(--tint-text); }
.scr-src .cell-acc .ico { width: 1em; height: 1em; stroke-width: 2.4; }
.scr-src.on { background: color-mix(in srgb, var(--tint) 8%, var(--cell)); }
.cell.has-tile.scr-src { --sep: 92px; }
.rec-btn:disabled { opacity: .35; cursor: default; }

/* ── Notlar ve Toplantı Ajandam ── */
/* Ajanda bölümleri arasında geçiş dar ekranda bölümlü denetimle; geniş pencerede kenar çubuğu aynı işi görür.
   HIG: Segmented controls › iOS, iPadOS; Segmented controls › macOS */
.section-eyebrow { margin: 2px 0 8px; font-size: .765rem; font-weight: 600; color: var(--label-2); }
.ajanda-seg { margin: 0 0 14px; }
/* Beş bölümde "Toplantılar" 375 pt genişlikte kesilmesin diye iç boşluk dar; bölümler yine eşit genişlikte.
   HIG: Segmented controls › Best practices (eşit genişlik, iPhone'da en çok beş segment) */
.ajanda-seg button { padding: 0 2px; }
@media (min-width: 768px) { .section-eyebrow, .ajanda-seg { display: none; } }
/* Kenar çubuğunda iki düzey: grup başlığı ve bölümler; Ayarlar ayrı. HIG: Sidebars › Best practices */
.sb-gap { height: 10px; }
.title-sub .ico { width: 1em; height: 1em; vertical-align: -2px; color: var(--label-2); }
.pin-mark .ico { width: .85em; height: .85em; margin-right: 4px; vertical-align: -1px; color: var(--orange, #FF9500); }
.pn-when { color: var(--label); font-weight: 500; }
/* Not sayfası: kart yok, metin doğrudan sayfada; başlık büyük ve kalın, metin gövde boyutunda.
   HIG: Typography › Conveying hierarchy; Text views › Best practices */
.pn-page { display: grid; gap: 4px; max-width: 760px; padding: 4px 0 24px; }
.pn-title, .pn-body { display: block; width: 100%; margin: 0; padding: 0; border: 0; outline: none; background: transparent; color: var(--label); font-family: var(--font); }
.pn-title { font-size: 1.647rem; line-height: 1.214; font-weight: 700; padding: 4px 0 8px; }
.pn-body { min-height: 240px; resize: none; overflow: hidden; font-size: 1.059rem; line-height: 1.5; }
.pn-title::placeholder, .pn-body::placeholder { color: var(--label-3); }
.pn-foot { margin-top: 12px; font-size: .765rem; color: var(--label-2); }
.pn-foot .ico { width: 1em; height: 1em; vertical-align: -2px; }
/* Yazdırma ve PDF: yalnızca not, siyah metin, A4 kenar boşlukları. HIG: Printing › Best practices */
#print-area { display: none; }
@media print {
  @page { size: A4; margin: 20mm; }
  body.printing { background: #fff; }
  body.printing > *:not(#print-area) { display: none !important; }
  body.printing #print-area { display: block; color: #000; font-family: var(--font); font-size: 11pt; line-height: 1.5; }
  #print-area h1 { margin: 0 0 4pt; font-size: 18pt; line-height: 1.2; }
  #print-area .pa-date { margin: 0 0 14pt; color: #555; font-size: 9pt; }
  #print-area p { margin: 0 0 6pt; white-space: pre-wrap; overflow-wrap: anywhere; }
  #print-area .pa-gap { margin: 0; height: 6pt; }
}

/* ── Takvim: toplantılar ve terminler ay görünümünde ── */
/* Telefonda iOS Takvim'in ay görünümü: yuvarlak gün numarası, bugün vurgu renginde, seçili gün dolu daire, altında
   noktalar; geniş pencerede macOS Takvim gibi büyük hücre ve kayıt adları. Hafta sonu ikincil etiket renginde.
   HIG: Pickers › iOS, iPadOS; Collections › Best practices; Color › Best practices; Layout › Size classes */
.cal-card { padding: 4px 8px 10px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 4px 4px 6px 8px; }
.cal-title { font-size: 1.176rem; line-height: 1.25; font-weight: 700; }
.cal-nav { display: flex; align-items: center; }
.cal-arrow, .cal-text-btn { appearance: none; display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0; border: 0; border-radius: 999px; background: none; color: var(--tint-text); cursor: pointer; }
.cal-arrow .ico { width: 1.15rem; height: 1.15rem; stroke-width: 2.2; }
.cal-text-btn { padding: 0 10px; font-size: 1rem; font-weight: 500; }
.cal-text-btn:disabled { color: var(--label-3); cursor: default; }
.cal-arrow:active, .cal-text-btn:not(:disabled):active { background: var(--fill-3); }
.cal-row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal-wd span { padding: 2px 0 4px; text-align: center; font-size: 11px; font-weight: 600; line-height: 1.3; color: var(--label-2); }
.cal-day { appearance: none; position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; min-height: 50px; padding: 3px 0 4px; border: 0; border-radius: 12px; background: none; color: var(--label); font: inherit; cursor: pointer; }
.cal-day:focus-visible { outline-offset: -2px; }
.cal-num { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 999px; font-size: 1.06rem; font-variant-numeric: tabular-nums; }
.cal-day.we .cal-num { color: var(--label-2); }
.cal-day.out .cal-num { color: var(--label-3); }
.cal-day.today .cal-num { color: var(--tint-text); font-weight: 600; }
.cal-day[aria-selected="true"] .cal-num { background: var(--label); color: var(--cell); font-weight: 600; }
.cal-day.today[aria-selected="true"] .cal-num { background: var(--tint-fill); color: var(--on-tint); }
.cal-day:not([aria-selected="true"]):active .cal-num { background: var(--fill-3); }
.cal-dots { display: flex; gap: 3px; height: 6px; }
.cal-dots i, .cal-item i, .cal-legend i { display: inline-block; flex: none; width: 6px; height: 6px; border-radius: 999px; background: var(--gray); }
i.d-m { background: var(--tint); }
i.d-open { background: var(--indigo); }
i.d-late { background: var(--red); }
i.d-done { background: var(--gray2); }
.cal-items { display: none; }
.cal-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; margin: 6px 0 2px; font-size: .765rem; color: var(--label-2); }
.cal-legend span { display: inline-flex; align-items: center; gap: 5px; }
.cal-sel-title { margin: 0 0 10px; padding: 0 16px; font-size: 1.176rem; line-height: 1.25; font-weight: 600; }
.cal-none { color: var(--label-2); }
.cal-foot { padding-top: 10px; }
@media (min-width: 768px) {
  .cal-card { padding: 4px 0 10px; }
  .cal-head { padding: 6px 8px 8px 16px; }
  .cal-wd span { padding-right: 8px; text-align: right; }
  .cal-day { align-items: stretch; justify-content: flex-start; gap: 3px; min-height: 96px; padding: 4px 6px 6px; border-top: .5px solid var(--separator); border-radius: 0; text-align: left; }
  .cal-row .cal-day + .cal-day { border-left: .5px solid var(--separator); }
  .cal-num { align-self: flex-end; width: 28px; height: 28px; font-size: .882rem; }
  .cal-dots { display: none; }
  .cal-items { display: grid; gap: 2px; min-width: 0; }
  .cal-item { display: flex; align-items: center; gap: 5px; min-width: 0; font-size: 11px; line-height: 1.35; color: var(--label); }
  .cal-item b { min-width: 0; overflow: hidden; font-weight: 400; white-space: nowrap; text-overflow: ellipsis; }
  .cal-day.out .cal-item { color: var(--label-2); }
  .cal-item.more { color: var(--label-2); }
  .cal-day[aria-selected="true"] { background: color-mix(in srgb, var(--tint) 7%, var(--cell)); }
  .cal-legend { justify-content: flex-start; padding: 0 16px; }
}

/* ── Gündem: numara dairesi, yerinde yazılan madde başlığı, satır menüsü ──
   HIG: Lists and tables › Best practices; Text fields › Best practices */
.ag-row { --sep: 58px; }
.ag-no { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 999px; background: var(--fill-3); color: var(--label-2); font-size: .882rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.ag-no.add { background: none; color: var(--tint-text); }
.ag-no .ico { width: 1.1rem; height: 1.1rem; stroke-width: 2.2; }
/* Uzun başlık kesilmez, alt satıra geçer (field-sizing); Enter satır eklemez, kaydeder. */
.ag-title { display: block; width: 100%; min-height: 24px; padding: 0; border: 0; outline: none; background: transparent; color: var(--label); font: inherit; font-size: 1rem; font-weight: 600; line-height: 1.3; resize: none; overflow: hidden; field-sizing: content; }
.ag-title::placeholder { color: var(--label-3); font-weight: 400; }
.ag-row .tb-btn { flex: none; width: 40px; height: 40px; margin: -8px -8px -8px 0; color: var(--label-2); }
/* Kontrol ekranı › Gündem: not çıkmayan madde turuncu ve kalın (renk tek başına değil, "Not çıkmadı" yazısıyla). */
.cell-value.ag-missing { color: var(--orange-text); font-weight: 600; }
/* Katılım: durum hep yazıyla, renk yalnız destek. HIG: Accessibility › Color and effects */
.pop-btn.a-var, .cell-value.a-var { color: var(--green-text); }
.pop-btn.a-mazeretli, .cell-value.a-mazeretli { color: var(--orange-text); }
.pop-btn.a-yok, .cell-value.a-yok { color: var(--red-text); }
