/* Pall Mac tasarım belirteçleri — EfeaktifApp/Theme.swift:8-47 birebir (açık tema).
   Yazı boyları macOS metin stilleri: largeTitle 26 · title 22 · title2 17 · title3 15 ·
   headline 13 bold · body 13 · callout 12 · subheadline 11 · footnote/caption 10. */
:root {
  --pal-bg: #F2F5FA;              /* pal.background */
  --pal-bg-deep: #FFFFFF;         /* pal.backgroundDeep */
  --pal-ink: #14171F;             /* pal.accent */
  --pal-accent-soft: rgba(0,0,0,.5);
  --pal-blue: #007AFF;            /* pal.accentBlue */
  --pal-text: #0F121C;            /* pal.textPrimary */
  --pal-text2: rgba(0,0,0,.56);   /* pal.textSecondary */
  --pal-text3: rgba(0,0,0,.40);   /* pal.textTertiary */
  --pal-stroke: rgba(0,0,0,.10);  /* pal.glassStroke */
  --pal-divider: rgba(0,0,0,.08); /* pal.divider */
  --pal-card-tint: rgba(255,255,255,.55);
  --pal-card-tint-em: rgba(0,0,0,.07);
  --pal-red: #FF3B30;
  --pal-gray: #8E8E93;            /* Color(.systemGray) */
  --r-card: 20px; --r-tile: 18px; --r-pill: 14px; --r-chip: 12px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro", system-ui, "Helvetica Neue", Arial, sans-serif;
  --font-rounded: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--pal-bg);
  color: var(--pal-text);
  font: 400 13px/1.23 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
}
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: default; }
input, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

/* Ekranlar arası geçiş: MacAppShell — opaklık easeInOut 0.35 (açılış 0.45) */
.pm-stage {
  position: fixed; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .35s ease-in-out, visibility 0s linear .35s;
  background: var(--pal-bg);
}
#stage-splash { transition-duration: .45s, 0s; transition-delay: 0s, .45s; }
body[data-stage="splash"] #stage-splash,
body[data-stage="gate"] #stage-gate,
body[data-stage="picker"] #stage-picker,
body[data-stage="app"] #stage-app {
  opacity: 1; visibility: visible;
  transition: opacity .35s ease-in-out, visibility 0s linear 0s;
}
/* Mac: çalışma alanı animasyonsuz gelir (MacAppShell.swift:33 .transaction animation=nil) */
body[data-stage="app"] #stage-app { transition: none; }

/* PALWordmark (PALLogo.swift:6-18): "Pall" SF Pro Bold, tracking = boy × 0.34 */
.pm-wordmark { font-family: var(--font); font-weight: 700; color: var(--pal-text); white-space: nowrap; }

/* ni_* ikonları: şablon PNG → CSS maske + renk (NIcon.swift) */
.ni {
  display: inline-block; flex: none;
  width: var(--s, 16px); height: var(--s, 16px);
  background-color: var(--c, var(--pal-text));
  -webkit-mask: var(--m) center / contain no-repeat;
  mask: var(--m) center / contain no-repeat;
}

/* Liquid Glass yaklaşık karşılığı (sistem malzemesi; depoda sayı yok) */
.pm-glass {
  background: rgba(255,255,255,.42);
  -webkit-backdrop-filter: blur(12px) saturate(1.8);
  backdrop-filter: blur(12px) saturate(1.8);
  box-shadow: inset 0 0 0 .5px rgba(255,255,255,.75), inset 0 1px 1px rgba(255,255,255,.6), 0 1px 3px rgba(0,0,0,.06);
}
