/* Fındık Aile Sağlığı Merkezi (Güçlükonak / Şırnak) — stil dosyası */

/* Temel sıfırlama */
:root { color-scheme: light; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }

/* Layout: kapıdaki bilgi panosu (hero) + sakin belde sağlık ocağı sayfası; tam genişlik bantlar, içerik 1120px, mobilde tek sütun */
:root {
  --paper: #F1F7F7;
  --surface: #FFFFFF;
  --ink: #0F2729;
  --muted: #476063;
  --line: #CCDFE0;
  --leaf: #00787E;
  --leaf-ink: #FFFFFF;
  --leaf-soft: #DBF1F1;
  --sun: #E3A72A;
  --sun-soft: #FBEFD2;
  --alert: #B23A2E;
  --ok: #23845A;
  --ok-soft: #DCF0E5;
  --bad-soft: #F7DFDB;
  --board: #0A5B61;
  --board-ink: #EDF8F8;
  --board-muted: #A6D3D5;
  --board-line: #23767C;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0B1617; --surface: #112123; --ink: #E2EFEF; --muted: #98B3B5; --line: #233A3C;
    --leaf: #4ED2CA; --leaf-ink: #04191A; --leaf-soft: #12363A;
    --sun: #F2BE4E; --sun-soft: #3A2E12; --alert: #F08070;
    --ok: #63C795; --ok-soft: #173A2A; --bad-soft: #43201C;
    --board: #0D4044; --board-ink: #EAF7F7; --board-muted: #93C6C8; --board-line: #285E62;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0B1617; --surface: #112123; --ink: #E2EFEF; --muted: #98B3B5; --line: #233A3C;
  --leaf: #4ED2CA; --leaf-ink: #04191A; --leaf-soft: #12363A;
  --sun: #F2BE4E; --sun-soft: #3A2E12; --alert: #F08070;
    --ok: #63C795; --ok-soft: #173A2A; --bad-soft: #43201C;
  --board: #0D4044; --board-ink: #EAF7F7; --board-muted: #93C6C8; --board-line: #285E62;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
body { background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.55; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

a { color: var(--leaf); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; margin: 0; line-height: 1.1; }
p { margin: 0; }
.num, .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap {
  max-width: 1152px; margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

/* Üst şerit */
.topbar { background: var(--board); color: var(--board-ink); font-size: 14px; }
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding-block: 7px; }
.topbar strong { color: var(--sun); font-family: var(--mono); font-weight: 500; }
.topbar .sample { color: var(--board-muted); }

/* Başlık */
.masthead { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: var(--paper); border-bottom: 1px solid var(--line); }
.masthead .wrap { display: flex; align-items: center; gap: 12px 28px; padding-block: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand-logo { width: 48px; height: 48px; flex: none; display: block; }
.brand-name { font-family: var(--display); font-weight: 750; font-size: 21px; line-height: 1; letter-spacing: -0.01em; }
.brand-sub { display: block; font-size: 12.5px; color: var(--muted); letter-spacing: 0.04em; margin-top: 3px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15.5px; white-space: nowrap; padding-block: 4px; }
.nav a:hover { color: var(--ink); }
.btn {
  display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 11px 20px;
  font-weight: 700; font-size: 16px; text-decoration: none; border: 1.5px solid var(--leaf); line-height: 1.2;
}
.btn-primary { background: var(--leaf); color: var(--leaf-ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { color: var(--leaf); background: transparent; }
.btn-ghost:hover { background: var(--leaf-soft); }
.btn-sm { padding: 8px 16px; font-size: 15px; }
@media (max-width: 820px) {
  .masthead .wrap { gap: 8px 16px; }
  .masthead .btn-sm { margin-left: auto; }
  .nav { order: 3; width: 100%; margin-left: 0; overflow-x: auto; scrollbar-width: none; gap: 20px; padding-bottom: 2px; }
  .nav::-webkit-scrollbar { display: none; }
}

/* Hero */
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; padding-block: 56px 64px; align-items: start; }
.eyebrow { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.hero h1 { font-size: clamp(40px, 6vw, 70px); font-weight: 760; letter-spacing: -0.025em; line-height: 1.0; margin-top: 14px; }
.hero h1 span { color: var(--leaf); }
.lead { font-size: 19px; color: var(--muted); max-width: 34em; margin-top: 20px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hint { margin-top: 16px; font-size: 15px; color: var(--muted); }
.hint .num { color: var(--ink); font-weight: 500; }

.board { background: var(--board); color: var(--board-ink); border-radius: 18px; padding: 24px 24px 20px; display: grid; gap: 18px; }
.board-top { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; color: var(--board-muted); }
.board-status { display: flex; align-items: center; gap: 14px; font-family: var(--display); font-size: clamp(34px, 4.4vw, 46px); font-weight: 750; letter-spacing: -0.02em; line-height: 1; }
.dot { width: 16px; height: 16px; border-radius: 50%; background: var(--board-muted); flex: none; }
.board[data-state="open"] .dot, .board[data-state="duty"] .dot { background: var(--sun); box-shadow: 0 0 0 6px color-mix(in srgb, var(--sun) 22%, transparent); }
.board[data-state="lunch"] .dot { background: transparent; border: 3px solid var(--sun); }
@media (prefers-reduced-motion: no-preference) {
  .board[data-state="open"] .dot, .board[data-state="duty"] .dot { animation: pulse 2.4s ease-in-out infinite; }
  @keyframes pulse { 50% { box-shadow: 0 0 0 10px color-mix(in srgb, var(--sun) 6%, transparent); } }
}
.status-sub { margin-top: -8px; color: var(--board-muted); font-size: 16px; }
.board dl { margin: 0; display: grid; border-top: 1px solid var(--board-line); }
.board dl div { display: flex; justify-content: space-between; gap: 12px; padding-block: 10px; border-bottom: 1px solid var(--board-line); font-size: 15.5px; }
.board dt { color: var(--board-muted); }
.board dd { margin: 0; text-align: right; }
.board-note { font-size: 15px; color: var(--board-muted); }
.board-note a { color: var(--board-ink); }

/* Bölümler */
.band { padding-block: 64px; border-top: 1px solid var(--line); }
.band.alt { background: var(--surface); }
section[id] { scroll-margin-top: 110px; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 24px; margin-bottom: 32px; }
.sec-head h2 { font-size: clamp(30px, 3.6vw, 40px); font-weight: 720; letter-spacing: -0.02em; margin-top: 8px; }
.sec-head p { color: var(--muted); max-width: 30em; font-size: 16px; }

/* Duyurular */
.news { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; list-style: none; margin: 0; padding: 0; }
.news li { border-top: 2px solid var(--ink); padding-top: 14px; display: grid; gap: 8px; align-content: start; }
.news time { font-size: 14px; color: var(--muted); }
.news h3 { font-size: 21px; font-weight: 680; letter-spacing: -0.01em; }
.news p { color: var(--muted); font-size: 16px; }

/* Hekimler */
.docs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.doc { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: grid; gap: 4px; align-content: start; }
.band.alt .doc { background: var(--paper); }
.doc-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; min-height: 48px; }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--leaf-soft); color: var(--leaf); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 18px; flex: none; }
.unit { font-size: 14px; color: var(--muted); }
.duty { margin-left: auto; font-size: 12.5px; font-weight: 700; background: var(--sun-soft); color: var(--ink); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.doc h3 { font-size: 21px; font-weight: 680; letter-spacing: -0.01em; }
.doc-role { color: var(--muted); font-size: 15px; }
.facts { margin: 14px 0 0; display: grid; border-top: 1px solid var(--line); }
.facts div { display: flex; justify-content: space-between; gap: 12px; padding-block: 8px; border-bottom: 1px solid var(--line); font-size: 15px; }
.facts div:last-child { border-bottom: 0; padding-bottom: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; text-align: right; }
.tasks { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid var(--line); }
.tasks li { padding-block: 8px; border-bottom: 1px solid var(--line); font-size: 15px; }
.tasks li:last-child { border-bottom: 0; padding-bottom: 0; }
.ph { color: var(--muted); }
.docs-note { margin-top: 24px; font-size: 16px; color: var(--muted); max-width: 52em; }

/* Hizmetler */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 36px; }
.svc h3 { font-size: 22px; font-weight: 680; letter-spacing: -0.01em; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.svc ul { list-style: none; margin: 0; padding: 0; }
.svc li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-block: 10px; border-bottom: 1px dashed var(--line); font-size: 16px; }
.svc li .tag { font-family: var(--mono); font-size: 13px; color: var(--muted); white-space: nowrap; }

/* Aşı takvimi */
.vax-layout { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 40px; align-items: start; }
.vax-side { display: grid; gap: 20px; position: sticky; top: 110px; }
.field label { display: block; font-weight: 700; margin-bottom: 8px; }
.field input { width: 100%; font: inherit; font-family: var(--mono); font-size: 17px; padding: 11px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); }
.field input:focus-visible { border-color: var(--leaf); }
.field small { display: block; color: var(--muted); margin-top: 8px; font-size: 14px; }
.summary { background: var(--sun-soft); border-radius: 14px; padding: 16px 18px; font-size: 16px; }
.summary strong { font-weight: 700; }
.legend { margin: 0; display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.legend div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 8px; }
.legend dt { font-family: var(--mono); color: var(--ink); }
.legend dd { margin: 0; }

.table-scroll { overflow-x: auto; }
.vax { width: 100%; border-collapse: collapse; }
.vax th, .vax td { text-align: left; vertical-align: top; padding: 14px 12px; border-bottom: 1px solid var(--line); }
.vax thead th { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding-block: 0 10px; }
.vax tbody th { font-weight: 700; white-space: nowrap; }
.age-note { display: block; font-weight: 400; font-size: 14px; color: var(--muted); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chip { background: var(--leaf-soft); border-radius: 8px; padding: 3px 9px; font-size: 15px; }
.chip span { color: var(--muted); font-size: 13px; margin-left: 4px; }
.vax .date { white-space: nowrap; font-size: 15px; }
.state { display: inline-block; font-size: 13.5px; border-radius: 999px; padding: 3px 10px; white-space: nowrap; border: 1px solid var(--line); color: var(--muted); }
.state-next { background: var(--sun); border-color: var(--sun); color: #2A1E00; font-weight: 700; }
.vax tr.is-past th, .vax tr.is-past .chip, .vax tr.is-past .date { opacity: 0.6; }
.vax tr.is-next { background: color-mix(in srgb, var(--sun) 12%, transparent); }
.vax-foot { margin-top: 16px; font-size: 14px; color: var(--muted); }
@media (max-width: 620px) {
  .vax, .vax tbody { display: block; }
  .vax thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .vax tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; padding: 14px 10px; border-bottom: 1px solid var(--line); }
  .vax th, .vax td { padding: 0; border: 0; }
  .vax tbody th { grid-column: 1; grid-row: 1; }
  .vax td.st { grid-column: 2; grid-row: 1; justify-self: end; }
  .vax td.date { grid-column: 1 / -1; grid-row: 2; }
  .vax td.vacc { grid-column: 1 / -1; grid-row: 3; }
}

/* SSS */
.faq { max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding-block: 18px; font-weight: 700; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-weight: 400; font-size: 22px; line-height: 1; color: var(--leaf); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 20px; color: var(--muted); max-width: 65ch; }

/* İletişim */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.contact-list { margin: 0; display: grid; gap: 22px; align-content: start; }
.contact-list dt { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 4px; }
.contact-list dd { margin: 0; }
.copy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.copy-row .num { font-size: 20px; }
.copy-btn { font: inherit; font-size: 14px; font-weight: 700; padding: 5px 12px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; color: var(--leaf); cursor: pointer; }
.copy-btn:hover { border-color: var(--leaf); }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); font-size: 16px; }
.hours th { font-weight: 400; }
.hours td { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 15px; }
.hours tr.is-today { background: var(--leaf-soft); }
.hours tr.is-today th { font-weight: 700; }
.today-tag { font-family: var(--body); font-size: 12px; font-weight: 700; color: var(--leaf); margin-left: 8px; letter-spacing: 0.06em; text-transform: uppercase; }
.hours-note { margin-top: 12px; font-size: 15px; color: var(--muted); }

/* Önemli numaralar */
.lines { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); margin-top: 56px; }
.lines div { padding: 18px 16px 4px 0; display: grid; gap: 4px; align-content: start; }
.lines b { font-family: var(--mono); font-weight: 500; font-size: 26px; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.lines .emergency b { color: var(--alert); }
.lines span { font-size: 14.5px; color: var(--muted); }

footer { border-top: 1px solid var(--line); }
footer .wrap { padding-block: 28px 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: 14px; color: var(--muted); }
footer p { max-width: 60ch; }

@media (max-width: 1000px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lines { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); padding-block: 36px 44px; gap: 32px; }
  .news { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .docs { grid-template-columns: minmax(0, 1fr); }
  .vax-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .vax-side { position: static; }
  .contact { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .band { padding-block: 48px; }
}
@media (max-width: 560px) {
  .docs, .services { grid-template-columns: minmax(0, 1fr); }
  .lines { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lead { font-size: 18px; }
  .board { padding: 20px 18px 16px; }
}

/* Çok sayfalı yapı: menüde etkin sayfa, iç sayfa başlığı, yer tutucu, alt menü */
.nav a[aria-current="page"] { color: var(--ink); font-weight: 700; box-shadow: inset 0 -2px 0 var(--leaf); }
.page-head { border-bottom: 1px solid var(--line); }
.page-head .wrap { padding-block: 44px 40px; display: grid; gap: 14px; }
.page-head h1 { font-size: clamp(38px, 5.4vw, 60px); font-weight: 760; letter-spacing: -0.025em; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14.5px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs [aria-current="page"] { color: var(--ink); }
.page-body { border-top: 0; }
.placeholder { border: 1.5px dashed var(--line); border-radius: 16px; padding: 40px 28px; display: grid; gap: 12px; justify-items: start; max-width: 720px; color: var(--muted); }
.placeholder-title { font-family: var(--display); font-size: 24px; font-weight: 680; color: var(--ink); letter-spacing: -0.01em; }
.placeholder .btn { margin-top: 8px; }
footer .foot-main { display: grid; gap: 12px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-nav a { color: var(--muted); }
.foot-nav a[aria-current="page"] { color: var(--ink); font-weight: 700; text-decoration: none; }

/* İletişim sayfası: ilgili kurumlar kartları */
.orgs-wrap { margin-top: 56px; display: grid; gap: 16px; }
.orgs-wrap h2.eyebrow { font-family: var(--body); font-size: 13px; line-height: 1.4; margin: 0; }
.orgs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.org { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: grid; gap: 10px; align-content: start; }
.org h3 { font-size: 20px; font-weight: 680; letter-spacing: -0.01em; }
.org p { color: var(--muted); font-size: 15.5px; }
.org .org-tel { color: var(--ink); }
.org .org-tel .num { font-size: 15px; white-space: nowrap; }
@media (max-width: 900px) { .orgs { grid-template-columns: minmax(0, 1fr); } }

/* Araçlar sayfası: araç listesi, araç paneli, sonuç kartı, ölçek ve çubuklar */
.tools-layout { display: grid; grid-template-columns: minmax(0, 290px) minmax(0, 1fr); gap: 40px; align-items: start; }
.tool-side { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); display: grid; gap: 26px; }
.tool-nav { display: grid; gap: 22px; }
.tool-group { display: grid; gap: 2px; }
.tool-nav-h { font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin-bottom: 6px; padding-inline: 12px; }
.tool-group a { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 9px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: 15.5px; line-height: 1.3; }
.tool-group a:hover { background: var(--leaf-soft); }
.tool-nav a[aria-current="true"] { background: var(--leaf); color: var(--leaf-ink); font-weight: 700; }
.link-nav { border-top: 1px solid var(--line); padding-top: 20px; }
.link-nav .ext { color: var(--leaf); flex: none; font-size: 14px; }
.tool-main { display: grid; gap: 24px; min-width: 0; }
.tool-picker { display: none; }
.tool-picker label { font-weight: 700; }
.tool-picker select, .field select { width: 100%; font: inherit; font-size: 16px; padding: 11px 12px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); }
.tool { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: grid; gap: 20px; min-width: 0; scroll-margin-top: 100px; }
.tool-head { display: grid; gap: 8px; }
.tool-head h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 720; letter-spacing: -0.02em; }
.tool-head h2:focus { outline: none; }
.tool-lead { color: var(--muted); max-width: 62ch; }
.tool-form { display: flex; flex-wrap: wrap; gap: 16px 20px; align-items: end; }
.tool-form .field { flex: 1 1 170px; max-width: 240px; margin: 0; }
.tool-form .field-wide { flex: 2 1 260px; max-width: 420px; }
.tool-form .field input { font-family: var(--mono); }
.tool-sample { font-size: 14px; color: var(--muted); margin-top: -8px; }
.seg-field { border: 0; padding: 0; min-width: 0; flex: 0 0 auto; }
.seg-field legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.seg { display: inline-flex; gap: 4px; padding: 4px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg label { padding: 8px 16px; border-radius: 8px; cursor: pointer; font-weight: 700; color: var(--muted); line-height: 1.2; }
.seg input:checked + label { background: var(--leaf); color: var(--leaf-ink); }
.seg input:focus-visible + label { outline: 3px solid var(--leaf); outline-offset: 2px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 15.5px; cursor: pointer; padding-block: 12px; }
.check input { width: 20px; height: 20px; accent-color: var(--leaf); }
.tool .summary { margin: 0; }
.legend-box summary { cursor: pointer; font-weight: 700; color: var(--leaf); }
.legend-box .legend { margin-top: 12px; }
.tool-source { font-size: 13.5px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }
.vax tr.grp th { padding-top: 22px; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 700; white-space: normal; }
.vax tr.is-place th, .vax tr.is-place td { color: var(--muted); }
.izlem td.vacc { font-size: 15px; color: var(--muted); white-space: nowrap; }

.result { display: grid; gap: 16px; padding: 22px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.result-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.result-num { font-family: var(--display); font-size: clamp(36px, 5vw, 48px); font-weight: 750; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.result-num small { font-family: var(--body); font-size: 17px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.result-msg { color: var(--muted); }
.result-msg.is-warn { color: var(--ink); }
.result-note { font-size: 15px; color: var(--muted); max-width: 65ch; }
.badge { display: inline-block; padding: 5px 14px; border-radius: 999px; font-weight: 700; font-size: 15px; line-height: 1.3; border: 1.5px solid transparent; color: var(--ink); }
.badge-ok { background: var(--ok-soft); border-color: var(--ok); }
.badge-warn { background: var(--sun-soft); border-color: var(--sun); }
.badge-bad { background: var(--bad-soft); border-color: var(--alert); }
.badge-muted { background: transparent; border-color: var(--line); color: var(--muted); }
.result-facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px 24px; }
.result-facts div { display: grid; gap: 2px; border-top: 1px solid var(--line); padding-top: 10px; }
.result-facts dt { font-size: 13.5px; color: var(--muted); }
.result-facts dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }

.scale { position: relative; padding-top: 10px; }
.scale-bar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; }
.scale-seg { height: 100%; }
.scale-seg + .scale-seg { box-shadow: inset 2px 0 0 var(--paper); }
.seg-ok { background: var(--ok); }
.seg-warn { background: var(--sun); }
.seg-bad { background: var(--alert); }
.scale-marker { position: absolute; top: 4px; width: 24px; height: 24px; margin-left: -12px; border-radius: 50%; background: var(--surface); border: 4px solid var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); }
.scale-ticks { position: relative; height: 22px; margin-top: 6px; font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.scale-ticks span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.scale-labels { display: flex; font-size: 13px; color: var(--muted); }
.scale-labels span { text-align: center; overflow: visible; white-space: nowrap; }

.bars { display: grid; gap: 10px; }
.bars-h { font-size: 14px; color: var(--muted); font-weight: 700; }
.bar-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.bar-list li { display: grid; grid-template-columns: minmax(0, 15em) minmax(0, 1fr) 3.5em; align-items: center; gap: 12px; font-size: 14.5px; }
.bar-name { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-track { height: 10px; border-radius: 999px; background: var(--leaf-soft); overflow: hidden; }
.bar-fill { display: block; height: 100%; border-radius: 999px; background: color-mix(in srgb, var(--leaf) 45%, var(--leaf-soft)); }
.bar-val { text-align: right; color: var(--muted); }
.bar-list li.is-sel .bar-name, .bar-list li.is-sel .bar-val { color: var(--ink); font-weight: 700; }
.bar-list li.is-sel .bar-fill { background: var(--leaf); }

@media (max-width: 860px) {
  .tools-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .tool-side { position: static; order: 2; }
  .tools-layout.is-js .tool-nav { display: none; }
  .tools-layout.is-js .tool-picker { display: grid; gap: 8px; }
  .link-nav { border-top: 0; padding-top: 0; }
  .tool { padding: 22px 18px; }
  .tool-form .field { max-width: none; }
  .result { padding: 18px 16px; }
}
@media (max-width: 620px) {
  .vax tr.grp { display: block; padding: 18px 10px 4px; }
  .vax tr.grp th { padding: 0; }
  .izlem td.vacc { white-space: normal; }
  .bar-list li { grid-template-columns: minmax(0, 1fr) 3em; }
  .bar-list li .bar-track { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 620px) {
  .tool-form { gap: 14px 12px; }
  .tool-form .field { flex: 1 1 130px; }
  .tool-form .field:has(input[type="date"]), .tool-form .field-wide { flex-basis: 100%; }
  .result-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
}

/* Kurumsal açılır menüsü */
.masthead .wrap { position: relative; }
.nav { align-items: center; }
.nav-drop { position: relative; }
.nav-drop-btn { display: inline-flex; align-items: center; gap: 5px; }
.nav-drop-btn .caret { width: 12px; height: 12px; transition: transform 0.15s ease; }
.nav-drop.is-open .nav-drop-btn .caret { transform: rotate(180deg); }
.nav-drop.is-current .nav-drop-btn, .nav-drop.is-open .nav-drop-btn { color: var(--ink); }
.nav-drop.is-current .nav-drop-btn { font-weight: 700; box-shadow: inset 0 -2px 0 var(--leaf); }
.drop-menu { position: absolute; top: calc(100% + 12px); left: -14px; z-index: 20; width: 300px; display: grid; gap: 2px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 32px rgba(10, 40, 42, 0.14); }
.nav .drop-menu a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 9px; color: var(--ink); white-space: normal; box-shadow: none; font-weight: 400; }
.nav .drop-menu a:hover, .nav .drop-menu a:focus-visible { background: var(--leaf-soft); }
.nav .drop-menu a[aria-current="page"] { background: var(--leaf-soft); }
.nav .drop-menu a[aria-current="page"] .drop-t { color: var(--leaf); }
.drop-t { font-weight: 700; font-size: 15.5px; }
.drop-d { font-size: 13.5px; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .nav-drop-btn .caret { transition: none; } }
@media (max-width: 820px) {
  .nav-drop { position: static; }
  .drop-menu { left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); top: calc(100% - 2px); width: auto; }
}

/* Kurumsal sayfaları */
.page-lead { color: var(--muted); font-size: 18px; max-width: 46em; }
.sub-layout { display: grid; grid-template-columns: minmax(0, 250px) minmax(0, 1fr); gap: 48px; align-items: start; }
.sub-side { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); }
.sub-nav a[aria-current="page"] { background: var(--leaf); color: var(--leaf-ink); font-weight: 700; }
.sub-main { min-width: 0; }
.prose { display: grid; gap: 16px; align-content: start; max-width: 860px; }
.prose > p, .prose > ul, .prose > ol { max-width: 68ch; }
.prose h2 { font-size: clamp(22px, 2.4vw, 27px); font-weight: 700; letter-spacing: -0.015em; margin-top: 18px; }
.prose h3 { font-size: 18px; font-weight: 700; font-family: var(--body); }
.prose ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.prose ul.cols { columns: 2 260px; column-gap: 32px; display: block; }
.prose ul.cols li { break-inside: avoid; padding-block: 3px; }
.kv { margin: 0; display: grid; border-top: 1px solid var(--line); max-width: 720px; }
.kv div { display: grid; grid-template-columns: minmax(0, 170px) minmax(0, 1fr); gap: 16px; padding-block: 11px; border-bottom: 1px solid var(--line); }
.kv dt { font-weight: 700; }
.kv dd { margin: 0; color: var(--muted); }
.notice { background: var(--sun-soft); border-radius: 12px; padding: 16px 18px; font-size: 15.5px; max-width: none !important; }
.source { font-size: 13.5px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 8px; }
.muted { color: var(--muted); }

.k-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 980px; }
.k-card { position: relative; display: grid; gap: 6px; padding: 24px 56px 24px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; color: var(--ink); text-decoration: none; }
.k-card:hover { border-color: var(--leaf); }
.k-card-t { font-family: var(--display); font-size: 23px; font-weight: 700; letter-spacing: -0.01em; }
.k-card-d { color: var(--muted); }
.k-card-go { position: absolute; right: 22px; top: 24px; color: var(--leaf); font-size: 22px; line-height: 1; }

.std, .mur { width: 100%; border-collapse: collapse; background: var(--surface); }
.std th, .std td, .mur th, .mur td { text-align: left; vertical-align: top; padding: 12px; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.std thead th, .mur thead th { font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding-block: 10px; border-bottom-width: 2px; }
.std tbody th { font-weight: 700; }
.std td.no { color: var(--muted); width: 3em; }
.std td.docs-cell ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; color: var(--muted); }
.std td.st { white-space: nowrap; }
.state-ok { background: var(--ok-soft); border-color: var(--ok); color: var(--ink); }
.mur tbody th { font-weight: 700; width: 30%; }
.mur td { color: var(--muted); }

.prio, .rights { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: n; border-top: 1px solid var(--line); max-width: 760px !important; }
.prio li, .rights li { counter-increment: n; display: grid; grid-template-columns: 2.6em minmax(0, 1fr); column-gap: 12px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.prio li::before, .rights li::before { content: counter(n); grid-row: span 2; font-family: var(--mono); font-size: 15px; color: var(--leaf); font-weight: 500; width: 2.2em; height: 2.2em; border-radius: 50%; background: var(--leaf-soft); display: grid; place-items: center; }
.prio li strong, .rights li strong { font-size: 17px; }
.prio li span, .rights li span { color: var(--muted); font-size: 15.5px; }
.resp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.resp section { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; display: grid; gap: 10px; align-content: start; }
.resp ul { color: var(--muted); font-size: 15.5px; }

@media (max-width: 860px) {
  .sub-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .sub-side { position: static; order: 2; border-top: 1px solid var(--line); padding-top: 20px; }
  .resp { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .k-cards { grid-template-columns: minmax(0, 1fr); }
  .kv div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .std, .std tbody { display: block; }
  .std thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .std tr { display: grid; grid-template-columns: 2.2em minmax(0, 1fr); gap: 4px 10px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .std th, .std td { padding: 0; border: 0; }
  .std td.no { grid-row: span 3; }
  .std td.st { white-space: normal; }
}
