/* =========================================================
   YDMD portal taslağı — ortak bileşenler (A, B, C)
   Renk ve yazı tipleri her alternatifin kendi dosyasında
   (a.css, b.css, c.css) değişkenlerle belirlenir.
   ========================================================= */
:root {
  --navy: #0E1A32;
  --red: #C0232B;
  --bg: #FFFFFF;
  --surface: #F3F5F8;
  --surface-2: #E8ECF1;
  --ink: #18202F;
  --muted: #5A6678;
  --line: #D8DEE6;
  --field-line: #B4BECB;
  --brand: var(--navy);
  --accent: var(--red);
  --accent-ink: #FFFFFF;
  --accent-hover: #A11D24;
  --focus: #2563D6;
  --ok: #1E7A3C;
  --font-body: system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: var(--font-body);
  --head-weight: 600;
  --head-tracking: 0;
  --head-lh: 1.15;
  --r-sm: 4px;
  --r: 6px;
  --r-lg: 10px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --sec-gap: clamp(44px, 6vw, 72px);
  --scroll-pad: 110px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--scroll-pad); }
body { margin: 0; font-family: var(--font-body); font-size: 1rem; line-height: 1.6; color: var(--ink); background: var(--bg); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link, var(--brand)); text-underline-offset: .18em; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: var(--head-weight); letter-spacing: var(--head-tracking); line-height: var(--head-lh); margin: 0 0 .5em; color: var(--head-color, inherit); text-wrap: balance; }
p { margin: 0 0 1em; }
button { color: inherit; }
.ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: #fff; color: var(--navy); padding: 10px 14px; border-radius: 6px; font-weight: 600; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
[hidden] { display: none !important; }

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

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--muted); }
.fine { font-size: .875rem; color: var(--muted); margin-top: 1rem; }
.lead { font-size: 1.15rem; line-height: 1.55; color: var(--lead-color, var(--muted)); max-width: 62ch; }
.nowrap { white-space: nowrap; }
.ta-r { text-align: right; }
.mono-ish { font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.sep { color: var(--line); margin: 0 .3em; }
.template-note { font-size: .78rem; opacity: .72; margin-block: 0; }

/* ---------- sections ---------- */
.blk { margin: 0 0 var(--sec-gap); }
.blk:last-child { margin-bottom: 0; }
.blk-head { margin-bottom: 1.4rem; }
.blk-head h2 { font-size: clamp(1.45rem, 2.3vw, 1.85rem); margin-bottom: .3em; }
.blk-lead { color: var(--muted); max-width: 65ch; margin: 0; }
.prose p { max-width: 70ch; }

.grid { display: grid; gap: clamp(16px, 2.5vw, 28px); }
.g2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }

/* ---------- buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: inherit; font-weight: 600; font-size: .95rem; line-height: 1.2; padding: .72em 1.15em; border-radius: var(--r-btn, var(--r)); border: 1.5px solid transparent; cursor: pointer; text-decoration: none; transition: background-color .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: transparent; color: var(--brand); border-color: currentColor; }
.btn-secondary:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-ghost { background: transparent; color: var(--brand); padding-inline: .7em; }
.btn-ghost:hover { background: var(--surface); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #E8ECF2; }
.btn-sm { font-size: .85rem; padding: .5em .85em; }
.btn-lg { font-size: 1.02rem; padding: .85em 1.45em; }
.btn-block { width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5rem; }
.cta-row.center { justify-content: center; }
.textlink { display: inline-flex; gap: .4em; align-items: center; font-weight: 600; color: var(--brand); text-decoration: underline; text-decoration-thickness: 1px; }
.textlink:hover { text-decoration-thickness: 2px; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--brand); cursor: pointer; display: inline-flex; gap: .35em; align-items: center; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.cmt-actions .linkish { text-decoration: none; color: var(--muted); }
.cmt-actions .linkish.is-on { color: var(--accent); }

/* ---------- badges, tags, chips ---------- */
.badge { display: inline-flex; align-items: center; gap: .3em; font-size: .78rem; font-weight: 600; line-height: 1.3; padding: .22em .62em; border-radius: 999px; background: var(--surface-2); color: var(--ink); white-space: nowrap; vertical-align: middle; }
.badge .ic { width: 12px; height: 12px; }
.b-ok, .b-done { background: #E1F1E5; color: #1B5A30; }
.b-warn, .b-review, .b-com { background: #FCEED4; color: #74470A; }
.b-award, .b-sent { background: #E2E9F6; color: #1D3A78; }
.b-draft, .b-closed { background: var(--surface-2); color: var(--muted); }
.b-lock { background: transparent; color: var(--muted); border: 1px solid var(--line); }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.tag { display: inline-block; font-size: .78rem; line-height: 1.4; padding: .18em .6em; border-radius: var(--r-sm); background: var(--surface); color: var(--muted); border: 1px solid var(--line); text-decoration: none; }
a.tag:hover { border-color: var(--brand); color: var(--brand); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 1.25rem; }
.chip { font: inherit; font-size: .9rem; padding: .42em .95em; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; }
.chip:hover { border-color: var(--brand); }
.chip.is-on { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ---------- notices ---------- */
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r); background: var(--surface); border-left: 4px solid var(--brand); }
.notice p { margin: 0 0 .4em; }
.notice p:last-child { margin: 0; }
.notice > .ic { margin-top: .2em; color: var(--brand); }
.n-warn { background: #FFF6E5; border-color: #D98E04; }
.n-warn > .ic { color: #A96600; }
.n-err { background: #FCEBEC; border-color: var(--red); }
.n-err > .ic { color: var(--red); }

/* ---------- lists ---------- */
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 24px 36px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.feature-list li { display: flex; gap: 14px; }
.feature-list li > .ic { width: 26px; height: 26px; color: var(--accent); margin-top: 1px; }
.feature-list h3 { font-size: 1.05rem; margin-bottom: .3em; }
.feature-list p { margin: 0; color: var(--muted); font-size: .95rem; }

.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); margin-left: 6px; }
.timeline li { position: relative; padding: 0 0 22px 26px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: .4em; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 3px solid var(--accent); }
.tl-year { display: block; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; font-size: .88rem; }
.tl-body h3 { font-size: 1.05rem; margin: .1em 0 .25em; }
.tl-body p { margin: 0; color: var(--muted); }
.timeline.compact li { padding-bottom: 14px; }

.people { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); margin-bottom: 32px; }
.person { display: flex; gap: 12px; align-items: center; }
.avatar { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--surface-2); color: var(--brand); font-weight: 700; font-size: .92rem; flex: none; }
.avatar.sm { width: 28px; height: 28px; font-size: .68rem; }
.person-name { margin: 0; font-weight: 600; }
.person-role { margin: 0; font-size: .88rem; color: var(--muted); }
.plain-list { list-style: none; padding: 0; margin: 0; }
.plain-list li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.boards h3, .mv-item h3 { font-size: 1.1rem; }

.doclist { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.doclist li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.doclist li > .ic { width: 22px; height: 22px; color: var(--brand); }
.doc-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.doc-title { font-weight: 600; }
.doc-meta { font-size: .85rem; color: var(--muted); }

.contact-list { margin: 0; display: grid; gap: 18px; align-content: start; }
.contact-list dt { font-weight: 600; display: flex; gap: 8px; align-items: center; }
.contact-list dd { margin: 2px 0 0 1.8em; color: var(--muted); }
.map-ph { margin: 0; position: relative; }
.map-ph img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--r); background: var(--surface-2); }
.map-ph figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(255,255,255,.92); padding: 4px 10px; border-radius: var(--r-sm); font-size: .8rem; }

/* ---------- membership ---------- */
.pricing { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.price-card { display: flex; flex-direction: column; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); }
.price-card.is-featured { border-color: var(--brand); box-shadow: inset 0 4px 0 var(--accent); }
.price-card h3 { font-size: 1.1rem; margin-bottom: .2em; }
.price { margin: 0 0 .6em; }
.price-num { font-family: var(--font-head); font-size: 1.85rem; font-weight: 700; color: var(--brand); font-variant-numeric: tabular-nums; }
.price-per { color: var(--muted); }
.price-who { color: var(--muted); font-size: .92rem; flex: 1; }

.steps { list-style: none; counter-reset: st; padding: 0; margin: 0; display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.steps li { counter-increment: st; position: relative; padding-top: 50px; }
.steps li::before { content: counter(st); position: absolute; top: 0; left: 0; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 700; }
.steps li::after { content: ""; position: absolute; top: 19px; left: 48px; right: -12px; height: 2px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.02rem; margin-bottom: .3em; }
.steps p { margin: 0; color: var(--muted); font-size: .93rem; }

.acc details { border-bottom: 1px solid var(--line); }
.acc details:first-child { border-top: 1px solid var(--line); }
.acc summary { cursor: pointer; list-style: none; padding: 16px 40px 16px 0; font-weight: 600; position: relative; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; position: absolute; right: 10px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.acc details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.acc details p { color: var(--muted); margin: 0 0 18px; max-width: 70ch; }

/* ---------- committees ---------- */
.committees { display: grid; border-top: 1px solid var(--line); }
.committee { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); scroll-margin-top: var(--scroll-pad); }
.committee-ic { width: 48px; height: 48px; border-radius: var(--r); display: grid; place-items: center; background: var(--surface); color: var(--brand); }
.committee-ic .ic { width: 24px; height: 24px; }
.committee h3 { font-size: 1.12rem; }
.committee-body p { color: var(--muted); margin-bottom: .8em; max-width: 68ch; }
.committee-meta { display: flex; flex-wrap: wrap; gap: 6px 24px; margin: 0; font-size: .88rem; }
.committee-meta div { display: flex; gap: 6px; align-items: center; }
.committee-meta dt { color: var(--muted); }
.committee-meta dd { margin: 0; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.committee-actions { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
@media (max-width: 720px) {
  .committee { grid-template-columns: auto 1fr; }
  .committee-actions { grid-column: 1 / -1; flex-direction: row; }
}

/* ---------- cards ---------- */
.card { display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.card-media { position: relative; background: var(--surface-2); }
.card-media img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.play .play-ic { position: absolute; left: 14px; bottom: 14px; width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: rgba(14,26,50,.86); color: #fff; }
.card-body { padding: 16px 18px 20px; }
.card-meta { font-size: .82rem; color: var(--muted); margin: 0 0 .35em; }
.card-title { font-size: 1.05rem; margin-bottom: .4em; }
.card-title a { color: inherit; text-decoration: none; }
.card-title a:hover { text-decoration: underline; }
.card-text { color: var(--muted); font-size: .93rem; margin: 0; }

/* ---------- filters & tables ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: flex-end; padding: 16px; background: var(--surface); border-radius: var(--r); margin-bottom: 12px; }
.filters .field { margin: 0; min-width: 160px; }
.filters .grow { flex: 1 1 240px; }
.check.inline { align-self: center; margin-top: 22px; }
.filter-count { font-size: .9rem; color: var(--muted); display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.empty { padding: 28px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--r); margin-top: 12px; }

.tbl-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); }
.tbl { width: 100%; border-collapse: collapse; font-size: .93rem; }
.tbl th { text-align: left; font-weight: 600; font-size: .82rem; color: var(--muted); background: var(--surface); padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover { background: var(--row-hover, #F8F9FB); }
.tbl a { color: inherit; }
.tbl .btn { margin: -.3em 0; }
.res-title { font-weight: 600; }
.res-sub { display: block; font-size: .8rem; color: var(--muted); }

/* ---------- directory ---------- */
.firms { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.firm { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); align-content: start; }
.firm-logo { width: 56px; height: 56px; display: grid; place-items: center; border-radius: var(--r); background: var(--brand); color: #fff; font-weight: 700; letter-spacing: .04em; }
.firm-name { font-size: 1.02rem; margin: 0 0 .2em; }
.firm-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: .82rem; color: var(--muted); margin: 0 0 .6em; }
.firm-meta .ic { width: 14px; height: 14px; }
.firm-text { font-size: .9rem; color: var(--muted); margin-bottom: .7em; }
.firm-links { grid-column: 1 / -1; display: flex; gap: 18px; border-top: 1px solid var(--line); padding-top: 12px; font-size: .88rem; }
.firm-links a { display: inline-flex; gap: 6px; align-items: center; color: var(--brand); text-decoration: none; font-weight: 600; }
.firm-links a:hover { text-decoration: underline; }

/* ---------- events ---------- */
.evlist { list-style: none; padding: 0; margin: 0; display: grid; border-top: 1px solid var(--line); }
.ev { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.datebox { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-width: 64px; padding: 8px 6px; border-radius: var(--r); background: var(--brand); color: #fff; line-height: 1.1; text-align: center; }
.db-day { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.db-mon { font-size: .74rem; opacity: .9; white-space: nowrap; }
.ev-type { margin: 0; font-size: .8rem; font-weight: 600; color: var(--accent); }
.ev-title { font-size: 1.05rem; margin: .15em 0 .25em; }
.ev-title a { color: inherit; text-decoration: none; }
.ev-title a:hover { text-decoration: underline; }
.ev-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 0; font-size: .85rem; color: var(--muted); }
.ev-meta .ic { width: 14px; height: 14px; }
.ev-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.evlist.compact .ev { grid-template-columns: auto 1fr; padding: 12px 0; gap: 14px; }
.evlist.compact .datebox { min-width: 54px; padding: 6px 4px; }
.evlist.compact .db-day { font-size: 1.2rem; }
.evlist.compact .ev-title { font-size: .97rem; margin: 0; }
@media (max-width: 720px) {
  .ev { grid-template-columns: auto 1fr; }
  .ev-actions { grid-column: 1 / -1; justify-content: flex-start; }
}
.activities { display: grid; gap: 28px; }
.activity { display: grid; grid-template-columns: minmax(0, 300px) 1fr; gap: 24px; }
.activity img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--r); background: var(--surface-2); }
.activity h3 { font-size: 1.15rem; }
.activity p { color: var(--muted); }
@media (max-width: 640px) { .activity { grid-template-columns: 1fr; } }

/* ---------- awards ---------- */
.award-cat { display: flex; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); }
.award-ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; flex: none; }
.award-ic .ic { width: 22px; height: 22px; }
.award-cat h3 { font-size: 1.08rem; }
.award-cat p { color: var(--muted); font-size: .93rem; }
.award-cat .award-who { font-size: .88rem; margin: 0; }
.winner-img { width: 100%; aspect-ratio: 16/8; object-fit: cover; border-radius: var(--r); margin-bottom: 12px; background: var(--surface-2); }
.winner-cat { display: flex; gap: 6px; align-items: center; font-size: .82rem; font-weight: 600; color: var(--accent); margin: 0 0 .3em; }
.winner h3 { font-size: 1.1rem; }
.winner p { color: var(--muted); font-size: .93rem; }
.people.compact { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); margin-bottom: 0; }

/* ---------- tabs ---------- */
.tablist { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.tablist [role=tab] { font: inherit; font-weight: 600; display: inline-flex; gap: 8px; align-items: center; background: none; border: 0; border-bottom: 3px solid transparent; padding: 10px 14px; color: var(--muted); cursor: pointer; margin-bottom: -1px; }
.tablist [role=tab]:hover { color: var(--ink); }
.tablist [role=tab][aria-selected=true] { color: var(--brand); border-bottom-color: var(--accent); }

/* ---------- forms ---------- */
.form { display: grid; gap: 18px; }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 16px; min-width: 0; }
.form legend { font-family: var(--font-head); font-weight: var(--head-weight); font-size: 1.2rem; padding: 0; margin-bottom: 6px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .label-like { font-weight: 600; font-size: .9rem; }
.req { color: var(--accent); }
input[type=text], input[type=email], input[type=tel], input[type=url], input[type=number], input[type=search], input[type=password], input[type=date], select, textarea {
  font: inherit; font-size: .97rem; width: 100%; padding: .6em .8em; border: 1px solid var(--field-line); border-radius: var(--r-sm); background: #fff; color: var(--ink); min-height: 44px;
}
textarea { resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid color-mix(in srgb, var(--focus) 30%, transparent); outline-offset: 0; border-color: var(--focus); }
input:user-invalid, select:user-invalid, textarea:user-invalid { border-color: var(--red); }
.hint { font-size: .8rem; color: var(--muted); margin: 0; }
.field-row { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.field-row.three { grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: .18em 0 0; accent-color: var(--brand); flex: none; }
.check-grid { display: grid; gap: 8px 16px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.upload { display: flex; align-items: center; gap: 12px; padding: 18px; border: 1.5px dashed var(--field-line); border-radius: var(--r); cursor: pointer; color: var(--muted); position: relative; font-size: .92rem; background: #fff; }
.upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.upload:hover { border-color: var(--brand); }
.upload:focus-within { outline: 3px solid color-mix(in srgb, var(--focus) 30%, transparent); }
.upload .ic { width: 22px; height: 22px; color: var(--brand); }
.upload.has-file { border-style: solid; color: var(--ink); }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.seg { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; align-self: flex-start; }
.seg label { display: flex; gap: 8px; align-items: center; padding: .55em .95em; cursor: pointer; font-size: .92rem; font-weight: 500; border-right: 1px solid var(--line); }
.seg label:last-child { border-right: 0; }
.seg input { accent-color: var(--brand); margin: 0; }
.seg label:has(input:checked) { background: var(--surface); }
.inline-form { display: flex; gap: 8px; }
.inline-form input { flex: 1; min-width: 0; }

.stepper-nav { list-style: none; padding: 0; margin: 0 0 6px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.stepper-nav li { display: flex; gap: 10px; align-items: center; padding: 12px 0 0; border-top: 3px solid var(--line); color: var(--muted); font-size: .9rem; font-weight: 600; line-height: 1.25; }
.stepper-nav .sn { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 2px solid currentColor; font-size: .8rem; flex: none; }
.stepper-nav li.is-done { border-top-color: var(--brand); color: var(--brand); }
.stepper-nav li[aria-current=step] { border-top-color: var(--accent); color: var(--ink); }
.stepper-nav li[aria-current=step] .sn { background: var(--accent); border-color: var(--accent); color: #fff; }
@media (max-width: 720px) { .stepper-nav .st { display: none; } .stepper-nav li[aria-current=step] .st { display: inline; } }
.stepper-actions { display: flex; gap: 12px; justify-content: flex-end; border-top: 1px solid var(--line); padding-top: 18px; }
.stepper-actions [data-step-prev] { margin-right: auto; }
.radio-cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.radio-card { position: relative; display: block; cursor: pointer; }
.radio-card input { position: absolute; opacity: 0; pointer-events: none; }
.rc-body { display: flex; flex-direction: column; gap: 4px; padding: 18px; border: 1.5px solid var(--line); border-radius: var(--r-lg); height: 100%; background: var(--bg); }
.radio-card:hover .rc-body { border-color: var(--muted); }
.radio-card input:checked + .rc-body { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 16%, transparent); }
.radio-card input:focus-visible + .rc-body { outline: 3px solid var(--focus); outline-offset: 2px; }
.rc-title { font-weight: 700; }
.rc-price { font-family: var(--font-head); font-weight: 700; color: var(--brand); font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.rc-text { font-size: .86rem; color: var(--muted); }

.summary-box { padding: 18px 20px; border-radius: var(--r-lg); background: var(--surface); }
.summary-box h3 { font-size: 1.02rem; }
.sum { margin: 0; display: grid; gap: 8px; }
.sum div { display: flex; justify-content: space-between; gap: 12px; font-size: .95rem; }
.sum dt { color: var(--muted); }
.sum dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.sum .sum-total { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px; font-size: 1.1rem; }
.sum .sum-total dt { color: var(--ink); font-weight: 700; }
.sum .sum-total dd { color: var(--brand); font-weight: 700; }

/* ---------- payment ---------- */
.pay-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.pay-main { display: grid; gap: 22px; }
.pay-side { position: sticky; top: var(--scroll-pad); display: grid; gap: 14px; }
@media (max-width: 900px) { .pay-grid { grid-template-columns: 1fr; } .pay-side { position: static; } }
.iyzico-note { font-size: .85rem; color: var(--muted); }
.iyzico-note p { margin: 0 0 .4em; }
.iyz-badge { display: flex; gap: 8px; align-items: center; font-weight: 700; color: var(--ink); }
.iyz-badge .ic, .iyz-title .ic { color: var(--ok); }
.iyz-mini { display: inline-flex; gap: 6px; align-items: center; }
dialog.iyz-dialog { border: 0; border-radius: 14px; padding: 0; width: min(440px, calc(100vw - 24px)); box-shadow: 0 24px 60px rgba(0,0,0,.35); color: var(--ink); background: #fff; }
dialog.iyz-dialog::backdrop { background: rgba(10, 18, 34, .62); }
.iyz-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.iyz-title { margin: 0; display: flex; gap: 8px; align-items: center; font-weight: 700; }
.iconbtn { background: none; border: 0; padding: 6px; border-radius: 6px; cursor: pointer; color: var(--muted); display: grid; }
.iconbtn:hover { background: var(--surface); }
.iyz-body { padding: 18px; display: grid; gap: 14px; }
.iyz-amount { display: flex; justify-content: space-between; margin: 0; font-size: 1.05rem; }
.iyz-amount strong { font-variant-numeric: tabular-nums; }
.iyz-placeholder { border: 1.5px dashed var(--line); border-radius: 10px; padding: 20px; text-align: center; color: var(--muted); font-size: .9rem; }
.iyz-placeholder .ic { display: block; width: 32px; height: 32px; color: var(--brand); margin: 0 auto 8px; }
.iyz-placeholder p { margin: 0 0 .4em; }
.iyz-actions { display: grid; gap: 8px; }

.result .result-card { max-width: 620px; margin: 0 auto; text-align: center; padding: 40px 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); }
.status-ok .result-fail, .status-fail .result-ok, .type-new .for-dues, .type-dues .for-new { display: none; }
.result-ic .ic { display: block; width: 56px; height: 56px; margin: 0 auto 12px; }
.result-ok .result-ic { color: var(--ok); }
.result-fail .result-ic { color: var(--red); }
.result-card p { color: var(--muted); }
.result-meta { display: flex; justify-content: center; gap: 32px; margin: 18px 0 0; }
.result-meta dt { font-size: .8rem; color: var(--muted); }
.result-meta dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------- login ---------- */
.login-grid { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
@media (max-width: 820px) { .login-grid { grid-template-columns: 1fr; } }
.login-form { padding: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); }
.login-form h2 { font-size: 1.4rem; margin: 0; }
.login-form:not(.is-error) .login-error { display: none; }
.login-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .9rem; }
.demo-hint { display: flex; gap: 8px; align-items: center; font-size: .86rem; color: var(--ink); margin: 0; padding: 10px 12px; background: #FFF6E5; border-radius: var(--r-sm); }
.demo-hint .ic { color: #A96600; }
.login-aside { padding-top: 8px; }
.login-aside h2 { font-size: 1.3rem; }
.login-aside p { color: var(--muted); max-width: 50ch; }
.checklist { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.checklist li { display: flex; gap: 8px; align-items: flex-start; }
.checklist .ic { color: var(--ok); margin-top: .2em; }

/* ---------- member area ---------- */
.dash-hello .hello h2 { font-size: 1.5rem; margin-bottom: .2em; }
.dash-hello .hello p { color: var(--muted); }
.dues-alert { align-items: center; margin-top: 18px; }
.dues-alert .btn { margin-left: auto; }
@media (max-width: 640px) { .dues-alert { flex-wrap: wrap; } .dues-alert .btn { margin-left: 0; } }
.kpis { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
.kpi a { display: flex; flex-direction: column; gap: 6px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-lg); text-decoration: none; color: var(--ink); height: 100%; background: var(--bg); }
.kpi a:hover { border-color: var(--brand); }
.kpi-n { font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: var(--brand); line-height: 1; font-variant-numeric: tabular-nums; }
.kpi-l { font-size: .88rem; color: var(--muted); }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 0 clamp(24px, 4vw, 48px); margin-bottom: var(--sec-gap); }
.split > .blk { margin-bottom: 0; }
@media (max-width: 760px) { .split > .blk + .blk { margin-top: var(--sec-gap); } }
.activity-list { list-style: none; padding: 0; margin: 0; }
.activity-list li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.activity-list .ic { color: var(--brand); margin-top: .25em; }
.activity-list p { margin: 0; }
.newslist { list-style: none; padding: 0; margin: 0; }
.newslist li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.newslist h3 { font-size: 1.02rem; margin: 0 0 .3em; }
.newslist h3 a { color: inherit; text-decoration: none; }
.newslist h3 a:hover { text-decoration: underline; }
.newslist li > p:last-child:not(.card-meta) { margin: 0; color: var(--muted); font-size: .93rem; }
.evlist.compact + .textlink { margin-top: 14px; }

.card-row { display: grid; grid-template-columns: minmax(0, 400px) 1fr; gap: 32px; align-items: start; }
@media (max-width: 860px) { .card-row { grid-template-columns: 1fr; } }
.member-card { position: relative; aspect-ratio: 1.586; max-width: 400px; border-radius: 16px; padding: 22px; color: #fff; background: linear-gradient(140deg, var(--navy) 0%, #1F355D 100%); display: grid; grid-template-rows: auto 1fr auto; overflow: hidden; box-shadow: inset 0 -6px 0 var(--red), 0 14px 30px rgba(14,26,50,.25); }
.mc-logo { width: 92px; }
.mc-main { align-self: end; }
.mc-name { font-size: 1.2rem; font-weight: 700; margin: 0; }
.mc-cat { margin: 0; opacity: .8; font-size: .9rem; }
.mc-meta { display: flex; gap: 26px; margin: 12px 0 4px; font-size: .8rem; }
.mc-meta dt { opacity: .7; }
.mc-meta dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.mc-qr { position: absolute; right: 20px; top: 20px; width: 58px; height: 58px; background: #fff; border-radius: 6px; display: grid; place-items: center; color: var(--navy); }
.mc-qr .ic { width: 42px; height: 42px; }
.facts { margin: 0; display: grid; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; text-align: right; }

.toolbar { display: flex; justify-content: flex-start; margin: 0 0 16px; }
.projects { display: grid; gap: 14px; }
.project { display: grid; grid-template-columns: 160px 1fr auto; gap: 18px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); }
.project img { width: 160px; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--r); background: var(--surface-2); }
.project h3 { font-size: 1.05rem; margin: 0 0 .2em; }
.project-meta { font-size: .86rem; color: var(--muted); margin: 0 0 .45em; }
.project-status { margin: 0; display: flex; gap: 12px; align-items: center; font-size: .86rem; }
.cmt-count { display: inline-flex; gap: 4px; align-items: center; color: var(--muted); }
.project-actions { display: flex; flex-direction: column; gap: 6px; }
@media (max-width: 720px) { .project { grid-template-columns: 1fr; } .project img { width: 100%; } .project-actions { flex-direction: row; } }

.review-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.review-item { display: grid; grid-template-columns: 140px 1fr auto; gap: 18px; align-items: start; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); }
.review-item img { width: 140px; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r); background: var(--surface-2); }
.review-item h3 { font-size: 1.05rem; margin: 0 0 .35em; }
.review-item h3 a { color: inherit; }
.review-item .muted { font-size: .85rem; margin: 0; display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.review-q { display: flex; gap: 8px; font-size: .93rem; margin: 0 0 .5em; }
.review-q .ic { color: var(--accent); margin-top: .2em; }
@media (max-width: 720px) { .review-item { grid-template-columns: 1fr; } .review-item img { width: 100%; } }
.review-detail { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--bg); }
.rd-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.rd-head img { width: 100%; height: 100%; object-fit: cover; min-height: 240px; background: var(--surface-2); }
.rd-info { padding: 22px; }
.rd-info h3 { font-size: 1.25rem; }
.rd-info .facts { margin-bottom: 14px; }
@media (max-width: 860px) { .rd-head { grid-template-columns: 1fr; } }
.thread { list-style: none; margin: 0; padding: 4px 22px; border-top: 1px solid var(--line); }
.cmt { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cmt:last-child { border-bottom: 0; }
.cmt.is-owner .avatar { background: var(--brand); color: #fff; }
.cmt-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 .4em; font-size: .9rem; }
.cmt-body { min-width: 0; }
.cmt-body p { margin: 0 0 .5em; max-width: 75ch; }
.cmt-actions { display: flex; gap: 16px; font-size: .85rem; }
.cmt.is-new { animation: cmtflash 1.4s ease-out; }
@keyframes cmtflash { from { background: color-mix(in srgb, var(--accent) 14%, transparent); } to { background: transparent; } }
.cmt-form { padding: 20px 22px; background: var(--surface); border-top: 1px solid var(--line); }
.cmt-form h4 { margin: 0; font-size: 1.05rem; }

.votes { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.vote-item { display: flex; gap: 16px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); }
.vote-item h3 { font-size: 1rem; margin: 0; }
.vote-item .card-meta { margin: 0 0 .2em; }
.vote-btn { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 58px; padding: 6px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); font: inherit; font-weight: 700; cursor: pointer; color: var(--brand); font-variant-numeric: tabular-nums; }
.vote-btn:hover { border-color: var(--brand); }
.vote-btn.is-on { color: var(--accent); border-color: var(--accent); }

.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .85rem; margin-bottom: 14px; }
.crumbs a { color: inherit; opacity: .85; }
.crumbs .ic { width: 14px; height: 14px; opacity: .6; }

/* ---------- language toggle ---------- */
.lang-toggle { display: inline-flex; align-items: center; gap: 2px; border: 1px solid currentColor; border-radius: 999px; padding: 3px 4px; background: none; color: inherit; font: inherit; font-size: .76rem; font-weight: 700; line-height: 1; cursor: pointer; }
.lang-toggle span { padding: .25em .45em; border-radius: 999px; opacity: .55; }
html[lang=tr] .lang-toggle [data-lang-opt=tr], html[lang=en] .lang-toggle [data-lang-opt=en] { opacity: 1; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .25em; }

/* ---------- toast & review bar ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: #1B2433; color: #fff; padding: 12px 18px; border-radius: 10px; font-size: .92rem; box-shadow: 0 10px 30px rgba(0,0,0,.25); z-index: 300; max-width: calc(100vw - 32px); }
.reviewbar { position: fixed; right: 16px; bottom: 16px; z-index: 250; display: flex; align-items: center; gap: 4px; padding: 5px 5px 5px 12px; background: #1B2433; color: #fff; border-radius: 999px; font: 500 13px/1 system-ui, -apple-system, "Segoe UI", sans-serif; box-shadow: 0 8px 24px rgba(0,0,0,.28); }
.reviewbar a { color: #fff; text-decoration: none; }
.rb-label { opacity: .7; margin-right: 4px; }
.rb-alts { display: flex; gap: 2px; }
.rb-alts a { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; font-weight: 700; }
.rb-alts a:hover { background: rgba(255,255,255,.16); }
.rb-alts a[aria-current] { background: #fff; color: #1B2433; }
.rb-all { padding: 0 8px; opacity: .85; }
.rb-all:hover { opacity: 1; text-decoration: underline; }
.rb-hide { background: none; border: 0; color: #fff; opacity: .6; cursor: pointer; padding: 7px; border-radius: 50%; display: grid; }
.rb-hide:hover { opacity: 1; background: rgba(255,255,255,.16); }
.rb-hide .ic { width: 14px; height: 14px; }
.reviewbar.is-hidden, .in-frame .reviewbar { display: none; }
@media (max-width: 640px) { .rb-label, .rb-all { display: none; } .reviewbar { right: 10px; bottom: 10px; padding-left: 5px; } }
@media print { .reviewbar, .toast { display: none; } }
