/* Tasarim v2 "okul dosyasi / basvuru belgesi" (Docs/tasarim-onerisi-v1.md, onay: Trello 19.10.2026).
   app.css'ten SONRA yuklenir; yalnizca belirtecleri ve gradyan/parilti/emoji gorunumunu degistirir. */
:root, :root[data-theme="blue"] {
  --ink:#1b2430; --muted:#4a5566; --paper:#fff; --surface:#f4f5f7; --line:#dde1e7;
  --accent:#1f4fd1; --accent-strong:#1a3fa8; --accent-light:#c9d6f7; --accent-tint:#1f4fd120;
  --accent-line:#c3d1f5; --accent-wash:#eef2fd; --amber:#f2b84b;
  --teal:var(--accent); --mint:var(--accent-wash);
  --fs-xs:.75rem; --fs-sm:.8125rem; --fs-base:.9375rem; --fs-lg:1.0625rem;
  --fs-xl:1.25rem; --fs-2xl:1.5rem; --fs-3xl:1.875rem; --fs-input:1rem;
  --radius:14px; --radius-sm:10px; --shadow-card:0 1px 2px #1b24300d,0 4px 16px #1b243008;
  --lh-body:1.55; --lh-tight:1.15;
}
:root[data-theme="petrol"] {
  --accent:#0f6e6e; --accent-strong:#0a5555; --accent-light:#bfe3e1; --accent-tint:#0f6e6e20;
  --accent-line:#b5dad8; --accent-wash:#e9f5f4;
}
:root[data-theme="purple"] {
  --accent:#5b3fd6; --accent-strong:#4630ad; --accent-light:#d6cdf7; --accent-tint:#5b3fd620;
  --accent-line:#cfc5f4; --accent-wash:#f1eefc;
}
body {
  background:var(--paper);
  font-family:"Atkinson Hyperlegible","Segoe UI",system-ui,-apple-system,sans-serif;
  font-size:var(--fs-base);
  line-height:var(--lh-body);
}
h1,h2,h3,.brand,.authBrand {
  font-family:"Bricolage Grotesque","Atkinson Hyperlegible","Segoe UI",system-ui,sans-serif;
}
.brand,.authBrand {
  font-weight:700;
  letter-spacing:-0.02em;
}
.brand span,.authBrand span { color:var(--accent); }
.dashboardPage, .onboardingPage { background:var(--surface); }
.portfolioCard { backdrop-filter:none; transform:none; box-shadow:none; background:#fff; border-color:var(--line); border-radius:12px; }
.cardGlow { display:none; }
.avatar { background:var(--accent); }
.achievement { background:var(--accent-wash); color:var(--ink); border:1px solid var(--accent-line); }
.achievement p { color:var(--muted); }
.achievement small { color:var(--accent-strong); }
.primaryButton { background:var(--accent); box-shadow:none; }
.primaryButton:hover { background:var(--accent-strong); }
.primaryButton span { color:#fff; }
.notificationBell { background:#fff; }
.icon { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.notificationBell, .secondaryButton, .primaryButton, .logoutButton { min-height:44px; }
.notificationBell { min-width:44px; }
:focus-visible { outline:3px solid var(--accent); outline-offset:2px; }
.themePicker { display:flex; flex-wrap:wrap; gap:12px; margin:0; padding:0; border:0; }
.themePicker legend { margin-bottom:8px; color:var(--muted); font-weight:700; }
.themeOption { min-height:44px; display:inline-flex; align-items:center; gap:8px; padding:6px 12px; border:1px solid var(--line); border-radius:10px; cursor:pointer; }
.themeOption:has(input:checked) { border-color:var(--accent); background:var(--accent-wash); }
.themeSwatch { width:20px; height:20px; border-radius:50%; background:#1f4fd1; }
.themeSwatch[data-swatch="petrol"] { background:#0f6e6e; }
.themeSwatch[data-swatch="purple"] { background:#5b3fd6; }
/* v2.1 (Trello "Yeni Tasarım" 21.10.2026): daha küçük ve dengeli yazı ölçeği, büyük profil fotoğrafı,
   giriş öncesi ve sonrası aynı görsel dil (açık kenar menü, ortak kart/buton/başlık biçimi).
   w2.css/w3.css sayfa içinde sonradan yüklendiği için panel kuralları .dashboardPage ile önceliklenir. */
h1,h2,h3 { font-weight:700; letter-spacing:-0.02em; line-height:var(--lh-tight); }
h1 { font-size:var(--fs-3xl); }
.hero h1 { font-size:clamp(2.25rem,4.4vw,3.5rem); line-height:1.06; letter-spacing:-0.035em; }
.lead { font-size:var(--fs-lg); line-height:1.6; }
.eyebrow, .panelTitle small { font-size:var(--fs-xs); font-weight:700; letter-spacing:.1em; color:var(--accent); }
.primaryButton, .secondaryButton { display:inline-flex; align-items:center; justify-content:center; gap:6px; padding:10px 16px; border-radius:var(--radius-sm); font-weight:700; line-height:1.2; }
.hero .primaryButton { padding:13px 22px; }
.secondaryButton:hover { border-color:var(--accent-line); background:var(--accent-wash); }
.logoutButton { min-width:44px; padding:8px 14px; border:1px solid var(--line); border-radius:var(--radius-sm); background:#fff; color:var(--ink); font-weight:600; }
.logoutButton:hover { background:var(--surface); }
.authCard { border-radius:var(--radius); background:#fff; box-shadow:var(--shadow-card); }
.authCard h1 { font-size:var(--fs-2xl); }
.portfolioCard { border-radius:var(--radius); box-shadow:var(--shadow-card); }
.nav { min-height:64px; }
.dashboardTopbar { height:64px; padding:0 24px; }
.dashboardShell { grid-template-columns:232px 1fr; min-height:calc(100vh - 64px); }
.sidebar { padding:20px 12px; background:#fff; color:var(--ink); border-right:1px solid var(--line); }
.sidebar nav { gap:2px; border-top:0; padding-top:0; }
.sidebar a { color:var(--muted); font-weight:600; border-radius:var(--radius-sm); }
.sidebar a:hover { background:var(--surface); color:var(--ink); }
.sidebar a.is-active { background:var(--accent-wash); color:var(--accent-strong); font-weight:700; }
.dashboardContent { padding:28px clamp(16px,3vw,36px); }
.dashboardContent > * { max-width:1180px; margin-inline:auto; }
.dashboardPage .welcomeRow h1 { font-size:var(--fs-2xl); margin:0 0 4px; }
.dashboardPage .welcomeRow p { font-size:var(--fs-sm); margin:2px 0; }
.dashboardPage .panel { padding:22px; border-radius:var(--radius); box-shadow:var(--shadow-card); }
.dashboardPage .panel h2 { font-size:var(--fs-lg); margin:4px 0 14px; }
.dashboardPage .metricGrid article, .dashboardPage .w2-metric-grid article { border-radius:12px; box-shadow:var(--shadow-card); }
.dashboardPage .w2-identity { gap:20px; }
.dashboardPage .w2-avatar { width:112px; height:112px; }
.dashboardPage .w2-avatar--initials { font-size:var(--fs-2xl); }
.dashboardPage .w2-child-head .w2-avatar { width:72px; height:72px; }
@media (max-width:720px) {
  .sidebar { display:none; }
  .dashboardTopbar { padding:0 16px; }
  .dashboardContent { padding:20px 16px; }
}
@media (max-width:560px) {
  .dashboardPage .w2-avatar { width:84px; height:84px; }
  .dashboardPage .w2-child-head .w2-avatar { width:60px; height:60px; }
  .dashboardPage .w2-avatar--initials { font-size:var(--fs-xl); }
  /* iOS Safari 16px altındaki alanlarda odaklanınca sayfayı yakınlaştırır. */
  .authForm input, .authForm select, .entryForm input, .entryForm select, .entryForm textarea,
  .profileEditForm input, .profileEditForm select, .profileEditForm textarea, .feedbackComposer textarea,
  .reviewBox textarea, .inlineEntryEditor input, .inlineEntryEditor select, .inlineEntryEditor textarea, input, select, textarea { font-size:var(--fs-input); }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } * { transition:none !important; animation:none !important; } }

/* Trello "Mobil versiyon" (22.10.2026): alt menü çubuğu kaldırıldı; telefonda menü logonun solundaki
   üç çizgi düğmesiyle soldan açılır (app.js: dışarı dokunma / Esc / bağlantı seçimi kapatır). */
.topbarStart { display:flex; align-items:center; gap:6px; min-width:0; }
.mobileMenuButton { display:none; }
@media (max-width:720px) {
  .dashboardPage { padding-bottom:0; }
  .dashboardPage .dashboardTopbar { position:sticky; top:0; z-index:65; }
  .dashboardPage.menu-open { overflow:hidden; }
  .mobileMenuButton { display:inline-grid; place-items:center; width:44px; height:44px; margin-left:-10px; padding:0; border:0; border-radius:var(--radius-sm); background:transparent; color:var(--ink); }
  .mobileMenuButton:hover, .mobileMenuButton[aria-expanded="true"] { background:var(--surface); }
  .mobileMenuButton svg { width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; }
  .sidebar.is-open { position:fixed; z-index:70; top:64px; bottom:0; left:0; display:block; width:min(280px,85vw); padding:12px; overflow-y:auto; box-shadow:0 12px 40px #1b243033; }
  .sidebar.is-open nav { display:grid; gap:2px; }
  .sidebar.is-open nav a { display:flex; align-items:center; min-height:44px; padding:0 12px; }
}
.site-announcement{margin:0 0 16px;padding:12px 16px;border:1px solid var(--accent-line);border-radius:12px;background:var(--accent-wash);color:var(--accent-strong);font-weight:700;line-height:1.5}
