/* Journal CPA · SMMM · CPA — site stilleri */
:root {
  --bg: #F4F1EA; --surface: #FFFDF8; --surface2: #F1ECE2; --line: #DDD5C6;
  --text: #1A1F2B; --muted: #444854; --hl: #1B2CC1; --accent: #D7F75B; --accent-ink: #1A1F2B;
  --primary: #1B2CC1; --primary-ink: #FFFFFF; --prim-tile: #FFFFFF1F;
  --deep: #1A1F2B; --deep-text: #EEF0F4; --deep-muted: #B9BFCC; --deep-hl: #D7F75B;
  --tab-off: #E7E1D4; --tab-off-text: #3F4350; --shadow: #1A1F2B14; --danger: #B3261E;
  --serif: 'Newsreader', 'Noto Serif', Georgia, serif;
  --sans: 'Inter', 'Noto Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 24px; --gutter: 24px; --max: 1320px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #15181F; --surface: #1E222B; --surface2: #191D25; --line: #333946;
    --text: #ECEEF2; --muted: #B4BAC7; --hl: #AEBBFF; --accent: #D7F75B; --accent-ink: #15181F;
    --primary: #2B3866; --primary-ink: #ECEEFF; --prim-tile: #FFFFFF14;
    --deep: #0E1015; --deep-text: #ECEEF2; --deep-muted: #A8AEBC; --deep-hl: #D7F75B;
    --tab-off: #1A1E26; --tab-off-text: #A8AEBC; --shadow: #00000055; --danger: #FFB4AB;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #15181F; --surface: #1E222B; --surface2: #191D25; --line: #333946;
  --text: #ECEEF2; --muted: #B4BAC7; --hl: #AEBBFF; --accent: #D7F75B; --accent-ink: #15181F;
  --primary: #2B3866; --primary-ink: #ECEEFF; --prim-tile: #FFFFFF14;
  --deep: #0E1015; --deep-text: #ECEEF2; --deep-muted: #A8AEBC; --deep-hl: #D7F75B;
  --tab-off: #1A1E26; --tab-off-text: #A8AEBC; --shadow: #00000055; --danger: #FFB4AB;
  color-scheme: dark;
}
:lang(ar) { --serif: 'Noto Naskh Arabic', 'Newsreader', serif; --sans: 'Noto Sans Arabic', 'Inter', system-ui, sans-serif; }
:lang(fa) { --serif: 'Noto Naskh Arabic', 'Newsreader', serif; --sans: 'Vazirmatn', 'Inter', system-ui, sans-serif; }
:lang(zh) { --serif: 'Noto Serif SC', 'Newsreader', serif; --sans: 'Inter', 'Noto Sans SC', system-ui, sans-serif; }
:lang(ja) { --serif: 'Noto Serif JP', 'Newsreader', serif; --sans: 'Inter', 'Noto Sans JP', system-ui, sans-serif; }
:lang(ru) { --serif: 'Noto Serif', 'Newsreader', Georgia, serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 18px; line-height: 1.6; }
img, svg { max-width: 100%; }
a { color: var(--hl); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--hl); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; letter-spacing: -0.015em; margin: 0; }
h1 { font-size: clamp(38px, 4.6vw, 64px); }
h2 { font-size: clamp(26px, 2.6vw, 34px); }
h3 { font-size: 22px; }
p { margin: 0; }
.num, table, .res { font-variant-numeric: tabular-nums; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: -9999px; top: 12px; z-index: 50; padding: 10px 16px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.skip:focus { inset-inline-start: 12px; }

/* Üst şerit: resmî takvimden son günler */
.topbar { background: var(--deep); color: var(--deep-text); font-size: 15px; }
.topbar .wrap { display: flex; align-items: center; gap: 14px; min-height: 44px; }
.topbar .next { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--deep-hl); flex: 0 0 auto; }
.ticker { flex: 1 1 auto; overflow: hidden; white-space: nowrap; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-track { display: inline-flex; gap: 40px; animation: tick 60s linear infinite; padding-inline-start: 20px; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track, .paused .ticker-track { animation-play-state: paused; }
.ticker-item b { color: var(--deep-hl); font-weight: 600; }
[dir="rtl"] .ticker-track { animation-name: tick-rtl; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes tick-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }
.tick-btn { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 8px; border: 1px solid #FFFFFF33; background: transparent; color: var(--deep-text); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.topbar .hours { flex: 0 0 auto; color: var(--deep-muted); }

/* Başlık */
.site-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; padding: 20px 0; }
.logo { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.logo-mark { width: 50px; height: 50px; flex: 0 0 auto; }
.logo-name { display: block; font-family: 'Newsreader', var(--serif); font-weight: 700; font-size: 31px; line-height: 1; letter-spacing: -0.02em; }
.logo-badge { display: inline-block; margin-inline-start: 8px; padding: 2px 8px; border-radius: 6px; background: var(--accent); color: var(--accent-ink); font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; vertical-align: 5px; }
.logo-sub { display: block; font-size: 14px; color: var(--muted); margin-top: 4px; }
.head-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); color: var(--text); font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn-primary { background: var(--primary); border-color: var(--primary); color: var(--primary-ink); }
.btn-dark { background: var(--text); border-color: var(--text); color: var(--surface); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-ghost { border-color: transparent; background: transparent; }
.btn-icon { width: 46px; padding: 0; }
.lang { position: relative; }
.lang summary { list-style: none; }
.lang summary::-webkit-details-marker { display: none; }
.lang-menu { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); z-index: 30; min-width: 200px; padding: 6px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 16px 40px var(--shadow); }
.lang-menu a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--text); text-decoration: none; }
.lang-menu a:hover { background: var(--surface2); }
.lang-menu a[aria-current="true"] { background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.lang-menu small { color: inherit; opacity: 0.7; }

/* Klasör sekmeli menü */
.tabs { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 4px; padding-inline-start: 4px; }
.tab { display: inline-flex; align-items: center; gap: 9px; height: 50px; padding: 0 20px; border-start-start-radius: 16px; border-start-end-radius: 16px; background: var(--tab-off); color: var(--tab-off-text); font-size: 16.5px; font-weight: 500; text-decoration: none; border-top: 4px solid transparent; white-space: nowrap; }
.tab svg { width: 19px; height: 19px; flex: 0 0 auto; }
.tab:hover { color: var(--text); }
.tab[aria-current="page"] { height: 60px; background: var(--surface); color: var(--text); font-weight: 700; border-top-color: var(--hl); }
.tab[aria-current="page"] svg { color: var(--hl); }

.panel { background: var(--surface); border-radius: 30px; border-start-start-radius: 0; padding: 28px; box-shadow: 0 1px 0 var(--line), 0 24px 60px var(--shadow); }
.here { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 0 4px 22px; font-size: 15px; color: var(--muted); }
.here-chip { display: inline-flex; padding: 5px 12px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.here a { color: var(--muted); }
.here .sep { opacity: 0.6; }
.here [aria-current] { color: var(--text); font-weight: 600; }

/* Izgara ve kutular */
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.c3 { grid-column: span 3; } .c4 { grid-column: span 4; } .c5 { grid-column: span 5; } .c6 { grid-column: span 6; } .c7 { grid-column: span 7; } .c8 { grid-column: span 8; } .c12 { grid-column: span 12; }
.box { background: var(--surface2); border-radius: var(--radius); padding: 30px; }
.box-plain { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.box-primary { background: var(--primary); color: var(--primary-ink); border-radius: var(--radius); padding: 30px; }
.box-primary a { color: inherit; }
.box-deep { background: var(--deep); color: var(--deep-text); border-radius: var(--radius); padding: 30px; }
.box-accent { background: var(--accent); color: var(--accent-ink); border-radius: var(--radius); padding: 30px; }
.stack > * + * { margin-top: 14px; }
.lead { font-size: 19px; color: var(--muted); max-width: 62ch; }
.hero { padding: 40px; }
.hero h1 { max-width: 18ch; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--hl); }
.hero .lead { margin-top: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
:lang(ar) .eyebrow, :lang(fa) .eyebrow, :lang(zh) .eyebrow, :lang(ja) .eyebrow { letter-spacing: 0; }

/* Alıntı bandı (sloganlar) */
.quote { position: relative; padding: 34px 40px; border-radius: var(--radius); background: var(--deep); color: var(--deep-text); overflow: hidden; }
.quote p { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 46px); line-height: 1.12; letter-spacing: -0.015em; }
.quote p span { display: block; }
.quote p span + span { color: var(--deep-hl); font-style: italic; }
.quote svg { position: absolute; inset-inline-end: -40px; top: -40px; width: 240px; height: 240px; opacity: 0.25; color: var(--deep-hl); }

/* Pul (delikli kenar) */
.stamp { padding: 10px; background-color: var(--accent); background-image: radial-gradient(circle at 8px 8px, var(--surface) 5px, transparent 5.5px); background-size: 16px 16px; }
.stamp-in { position: relative; height: 100%; background: var(--accent); color: var(--accent-ink); border: 2px solid var(--accent-ink); padding: 24px; display: flex; flex-direction: column; overflow: hidden; }
.seal { position: absolute; inset-inline-end: 14px; top: 14px; width: 80px; height: 80px; border-radius: 50%; border: 2.5px solid currentColor; display: flex; align-items: center; justify-content: center; transform: rotate(-14deg); font-size: 10px; font-weight: 700; letter-spacing: 0.05em; text-align: center; line-height: 1.3; }

/* Formlar */
label, .label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.field + .field { margin-top: 14px; }
.input { width: 100%; min-height: 52px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); color: var(--text); font: inherit; font-size: 19px; }
.input:focus { border-color: var(--hl); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--hl) 25%, transparent); }
textarea.input { min-height: 140px; padding: 12px 16px; font-size: 17px; }
select.input { font-size: 16px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { margin: 0; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); font-weight: 500; cursor: pointer; }
.seg input:checked + label { background: var(--text); border-color: var(--text); color: var(--surface); font-weight: 700; }
.seg input:focus-visible + label { outline: 3px solid var(--hl); outline-offset: 2px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset + fieldset, .field + fieldset, fieldset + .field { margin-top: 16px; }
legend { padding: 0; font-weight: 600; font-size: 15px; margin-bottom: 6px; }

.res { width: 100%; border-collapse: collapse; }
.res th, .res td { padding: 10px 0; border-top: 1.5px dashed color-mix(in srgb, currentColor 35%, transparent); text-align: start; font-weight: 400; }
.res td { text-align: end; font-weight: 700; white-space: nowrap; }
.res tr.big th, .res tr.big td { font-size: 20px; font-weight: 700; }
.result-big { font-family: var(--serif); font-weight: 700; font-size: clamp(32px, 3.4vw, 48px); line-height: 1.05; margin: 8px 0 14px; max-width: 80%; }
.note { font-size: 15px; color: var(--muted); }

.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.data { width: 100%; border-collapse: collapse; font-size: 15px; }
.data th, .data td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: end; white-space: nowrap; }
.data th:first-child, .data td:first-child { text-align: start; position: sticky; inset-inline-start: 0; background: var(--surface); }
.data thead th { background: var(--surface2); font-weight: 600; font-size: 14px; }
.data thead th:first-child { background: var(--surface2); }
.data tfoot td { font-weight: 700; background: var(--surface2); }
.data .hl { background: color-mix(in srgb, var(--accent) 45%, var(--surface)); color: var(--text); font-weight: 700; }
.table-text { width: 100%; border-collapse: collapse; }
.table-text th, .table-text td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
.table-text thead th { font-size: 14px; color: var(--muted); font-weight: 600; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 12px; }
.kpi { padding: 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.kpi b { display: block; font-family: var(--serif); font-size: 30px; line-height: 1.1; }

/* Listeler */
.cal-list { list-style: none; margin: 0; padding: 0; }
.cal-list li { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cal-list .d { font-weight: 700; }
.pill { font-size: 14px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--surface); color: var(--muted); white-space: nowrap; }
.pill-hot { background: var(--accent); color: var(--accent-ink); }
.past { opacity: 0.55; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-inline-start: 28px; margin-top: 8px; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.45em; width: 14px; height: 14px; border-radius: 4px; background: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent-ink); }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 10px; }
.tile { display: block; padding: 18px; border-radius: 16px; background: var(--prim-tile); color: inherit; text-decoration: none; }
.tile strong { display: block; font-size: 18px; }
.tile span { display: block; font-size: 15px; opacity: 0.85; }
.tile-accent { background: var(--accent); color: var(--accent-ink); }
.card { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: var(--radius); background: var(--surface2); color: var(--text); text-decoration: none; }
a.card:hover { box-shadow: inset 0 0 0 2px var(--hl); }
.card .more { margin-top: auto; color: var(--hl); font-weight: 600; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 14px; counter-reset: s; }
.steps li { counter-increment: s; padding: 22px; border-radius: 20px; background: var(--surface2); }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--serif); font-size: 34px; color: var(--hl); line-height: 1; margin-bottom: 8px; }
.steps .time { display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--text); font: inherit; font-size: 15px; cursor: pointer; text-decoration: none; }
.chip[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--surface); font-weight: 700; }
.month-head { margin: 28px 0 6px; font-family: var(--serif); font-size: 28px; }
.prose { max-width: 70ch; font-size: 18.5px; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 1.6em; font-size: 30px; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-inline-start: 1.3em; }
.prose table { border-collapse: collapse; width: 100%; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 8px; text-align: start; }
.map { width: 100%; height: 360px; border: 0; border-radius: 20px; background: var(--surface2); }
.cred { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 16px; }
.cred dt { color: var(--muted); }
.cred dd { margin: 0; font-weight: 600; }

footer.site-foot { padding: 34px 0 52px; color: var(--muted); font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
.foot-grid a { color: var(--text); }
.foot-links { list-style: none; padding: 0; margin: 0; }
.foot-links li + li { margin-top: 6px; }

@media (max-width: 1000px) {
  .grid > * { grid-column: 1 / -1 !important; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  :root { --gutter: 16px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: 0 0 auto; padding: 0 16px; }
  .panel { padding: 16px; border-radius: 0 0 24px 24px; }
  .hero, .box, .box-plain, .box-primary, .box-deep, .box-accent { padding: 22px; }
  .quote { padding: 26px 22px; }
  .topbar .hours, .hide-sm { display: none; }
  .logo-name { font-size: 26px; }
  .head-actions .btn-ghost { display: none; }
  .cal-list li { grid-template-columns: 62px minmax(0, 1fr); }
  .cal-list .pill { grid-column: 2; justify-self: start; }
}
@media print {
  .topbar, .site-head, .tabs, .site-foot, .actions, form .seg { display: none !important; }
  .panel { box-shadow: none; padding: 0; }
}
[hidden] { display: none !important; }
.kpis { align-content: start; }
.box-primary a.tile-accent { color: var(--accent-ink); }
.grid > .field { margin-top: 0 !important; }
.topbar .next { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 760px) { .topbar .next { flex: 1 1 auto; font-size: 14px; } }
.iso { unicode-bidi: isolate; display: inline-block; }
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; } .panel, main { min-width: 0; }
.grid > * { min-width: 0; }
@media (max-width: 760px) { .ticks[style*="columns"] { columns: 1 !important; } }
.topbar .next { flex: 0 0 auto; max-width: 48%; } @media (max-width: 760px) { .topbar .next { flex: 1 1 auto; max-width: none; } }

/* ---- İkonlu satırlar, kişi kartları ---- */
.mi { width: 18px; height: 18px; flex: 0 0 auto; }
.btn .mi { width: 17px; height: 17px; }
.person { display: flex; flex-direction: column; gap: 18px; padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.person-head { display: flex; align-items: center; gap: 16px; }
.person-head h3 { font-size: 26px; }
.person-head p { color: var(--muted); }
.avatar { width: 58px; height: 58px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: var(--primary-ink); font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: 0.02em; }
.person-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.person-list li { display: flex; align-items: flex-start; gap: 10px; }
.person-list .mi { margin-top: 3px; color: var(--hl); }
.person-list a { color: var(--text); text-decoration: none; font-weight: 600; }
.person-list a:hover { color: var(--hl); text-decoration: underline; }
.person-list address { font-style: normal; }
.person-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.btn-wa { background: #1F8F4E; border-color: #1F8F4E; color: #FFFFFF; }

/* ---- Hakkımızda: mesleki kimlik kartı ---- */
.idcard { align-self: start; display: flex; flex-direction: column; gap: 18px; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: 0 18px 40px var(--shadow); border-top: 6px solid var(--accent); }
.idcard-top { display: flex; gap: 16px; align-items: center; }
.idcard-name { font-family: var(--serif); font-size: 28px; line-height: 1.1; margin-top: 4px; }
.idcard-top p:last-child { color: var(--muted); }
.idcard .cred { padding-top: 16px; border-top: 1px dashed var(--line); }
.idcard-slogan { font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--hl); }

/* ---- İletişim bandı ---- */
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; padding: 32px 36px; border-radius: var(--radius); background: var(--primary); color: var(--primary-ink); }
.cta-text h2 { font-size: clamp(28px, 3vw, 38px); }
.cta-text p { margin-top: 6px; opacity: 0.9; max-width: 46ch; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.cta-link { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px; border-radius: 12px; background: var(--prim-tile); color: var(--primary-ink); font-weight: 600; text-decoration: none; }
.cta-link:hover { background: color-mix(in srgb, var(--primary-ink) 22%, transparent); }

/* ---- İletişim sayfası ---- */
.office .map { height: 240px; margin-top: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 15px; margin: 4px 0 0; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--hl); flex: 0 0 auto; }
.form-status { margin-top: 14px; padding: 14px 16px; border-radius: 12px; font-weight: 600; }
.form-status.ok { background: color-mix(in srgb, var(--accent) 55%, var(--surface)); color: var(--text); }
.form-status.err { background: color-mix(in srgb, var(--danger) 14%, var(--surface)); color: var(--text); border: 1px solid color-mix(in srgb, var(--danger) 45%, transparent); }

/* ---- Alt bilgi ---- */
footer.site-foot { margin-top: 40px; padding: 48px 0 28px; background: var(--deep); color: var(--deep-muted); font-size: 15px; }
footer.site-foot a { color: var(--deep-text); text-decoration: none; }
footer.site-foot a:hover { color: var(--deep-hl); text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr 1.1fr; gap: 32px; }
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand strong { font-family: 'Newsreader', var(--serif); font-size: 24px; color: var(--deep-text); font-weight: 700; }
.foot-slogan { color: var(--deep-hl); font-weight: 600; font-size: 14px; letter-spacing: 0.05em; text-transform: uppercase; }
.foot-h { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--deep-text); margin-bottom: 14px; }
.foot-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.foot-contact li { display: flex; gap: 10px; align-items: flex-start; }
.foot-contact .mi { color: var(--deep-hl); margin-top: 2px; }
footer.site-foot .cred { font-size: 15px; }
footer.site-foot .cred dt { color: var(--deep-muted); }
footer.site-foot .cred dd { color: var(--deep-text); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 36px; padding-top: 20px; border-top: 1px solid #FFFFFF1F; font-size: 14px; }
@media (max-width: 1000px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .foot-grid { grid-template-columns: 1fr; } .cta-band { padding: 24px 20px; } .cta-link { width: 100%; } }
.skip { inset-inline-start: auto; left: -9999px; }
.skip:focus { left: 12px; }
@media (max-width: 760px) { .lang-menu { inset-inline-end: auto; inset-inline-start: 0; max-width: calc(100vw - 32px); } }
.office { align-self: start; }
.skip, .skip:focus { left: auto; inset-inline-start: 12px; }
.skip { top: -80px; }
.skip:focus { top: 12px; }
.hp { left: auto; inset-inline-start: 0; top: 0; clip-path: inset(50%); opacity: 0; pointer-events: none; }
[dir="rtl"] a[href^="tel:"], [dir="rtl"] .cta-link .num, [dir="rtl"] [lang="tr"] { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] address[lang="tr"], [dir="rtl"] span[lang="tr"] { text-align: right; }
.foot-mark { width: 42px; height: 42px; display: block; }
.id-mark { width: 60px; height: 60px; display: block; }

/* ===== Sürüm 2: grafik renkleri, hesaplayıcılar, yan sütun, kategoriler, alt bilgi ===== */
:root { --s1: #2a78d6; --s2: #eb6834; --s3: #1baf7a; --s4: #eda100; --s5: #e87ba4; --grid: #e1e0d9; --axis: #898781; }
:root[data-theme="dark"] { --s1: #3987e5; --s2: #d95926; --s3: #199e70; --s4: #c98500; --s5: #d55181; --grid: #2c2c2a; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --s1: #3987e5; --s2: #d95926; --s3: #199e70; --s4: #c98500; --s5: #d55181; --grid: #2c2c2a; } }
.h-sm { font-size: 24px; margin-bottom: 6px; }
.kpi small { display: block; margin-top: 6px; font-size: 14px; line-height: 1.4; }
.kpi b { overflow-wrap: anywhere; }

/* Mobilde karta dönüşen tablo: yatay kaydırma yok */
.rtable { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.rtable caption { caption-side: bottom; text-align: start; padding: 10px 14px; font-size: 14px; color: var(--muted); }
.rtable th, .rtable td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: end; }
.rtable th:first-child { text-align: start; }
.rtable thead th { background: var(--surface2); font-size: 13.5px; font-weight: 600; color: var(--muted); vertical-align: bottom; }
.rtable tbody th { font-weight: 600; }
.rtable tfoot th, .rtable tfoot td { font-weight: 700; background: var(--surface2); border-bottom: 0; }
.rtable tr.hl th, .rtable tr.hl td { background: color-mix(in srgb, var(--accent) 45%, var(--surface)); color: var(--text); }
@media (max-width: 760px) {
  .rtable, .rtable tbody, .rtable tfoot, .rtable tr, .rtable th, .rtable td { display: block; }
  .rtable { border: 0; background: none; border-radius: 0; }
  .rtable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .rtable tr { margin-bottom: 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); overflow: hidden; }
  .rtable tr > th:first-child { background: var(--surface2); padding: 10px 14px; border-bottom: 1px solid var(--line); }
  .rtable td { display: flex; justify-content: space-between; gap: 12px; padding: 8px 14px; border-bottom: 1px dashed var(--line); text-align: end; }
  .rtable td:last-child { border-bottom: 0; }
  .rtable td::before { content: attr(data-l); color: var(--muted); font-weight: 500; text-align: start; }
  .rtable tfoot td { background: var(--surface2); }
}
.more-table summary { cursor: pointer; font-weight: 600; color: var(--hl); padding: 6px 0 12px; }

/* Kim öder? */
.who-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 18px 32px; margin-top: 10px; }
.who-col h3 { font-family: var(--sans); font-size: 17px; font-weight: 700; }
.who-col p { font-size: 15px; margin: 6px 0 6px; }
.who-col .res th, .who-col .res td { font-size: 15.5px; }
.who-col .res td { white-space: normal; }

/* Grafikler */
.chart { display: block; width: 100%; height: auto; overflow: visible; margin-top: 12px; }
.chart .gl { stroke: var(--grid); stroke-width: 1; }
.chart .base { stroke: var(--axis); stroke-width: 1; }
.chart .ax { fill: var(--muted); font-size: 12px; font-family: var(--sans); }
.chart .bar rect:first-child { fill: var(--s1); }
.chart .bar.mark rect:first-child { fill: var(--s2); }
.chart .bar.now text { fill: var(--text); font-weight: 700; }
.chart .bar .hit { fill: transparent; }
.chart .bar:hover rect:first-child { opacity: .8; }
.legend { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 8px 22px; font-size: 15px; }
.legend li { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.legend b { margin-inline-start: auto; }
.legend .sw { width: 12px; height: 12px; border-radius: 3px; flex: 0 0 auto; }
.bk { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 10px; }
.bk li { display: grid; grid-template-columns: 44px 1fr; gap: 4px 10px; align-items: center; font-size: 15px; }
.bk-l { font-weight: 700; }
.bk-bar { height: 12px; border-radius: 4px; background: var(--surface2); overflow: hidden; }
.bk-bar span { display: block; height: 100%; background: var(--s1); border-radius: 4px; }
.bk-v { grid-column: 2; color: var(--muted); }
.bk-v b { color: var(--text); }
.formula-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; margin-top: 14px; }
.formula-grid h3 { font-family: var(--sans); font-size: 17px; font-weight: 700; }
.f-eq { font-family: var(--serif); font-size: 22px; margin: 8px 0 12px; color: var(--hl); }
.formula-grid .rtable { margin-bottom: 8px; }

/* Hesaplayıcı listesi, yan sütun, Markdown sayfaları */
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 16px; }
.side { display: grid; gap: 16px; align-content: start; }
.side-box { padding: 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.side-h { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.side-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.side-list a { display: flex; justify-content: space-between; gap: 8px; padding: 7px 10px; margin: 0 -10px; border-radius: 10px; color: var(--text); text-decoration: none; font-size: 16px; line-height: 1.35; }
.side-list a:hover { background: var(--surface2); }
.side-list a[aria-current] { background: color-mix(in srgb, var(--accent) 50%, var(--surface)); font-weight: 700; }
.side-cta { background: var(--surface2); display: grid; gap: 12px; }
@media (min-width: 1001px) { .side { position: sticky; top: 16px; } }
.notice { padding: 12px 16px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 35%, var(--surface)); font-size: 15px; }
.prose a { font-weight: 500; }
.prose .tablewrap { margin: 1.2em 0; }
.prose .table-text { font-size: 16px; }
.prose .table-text th, .prose .table-text td { padding: 10px 12px; }
.prose .table-text thead th { background: var(--surface2); color: var(--text); }
.prose blockquote { margin: 1.2em 0; padding: 14px 18px; border-inline-start: 4px solid var(--hl); background: var(--surface2); border-radius: 0 12px 12px 0; }
[dir="rtl"] .prose blockquote { border-radius: 12px 0 0 12px; }
.prose code { font-size: .9em; background: var(--surface2); padding: 1px 6px; border-radius: 6px; }
.prose-wide { max-width: none; }
.calc-doc h2:first-child { margin-top: 0; }
@media (max-width: 760px) { .prose .table-text, .prose .table-text tbody, .prose .table-text tr, .prose .table-text td, .prose .table-text th { font-size: 15px; } }

/* Kategoriler */
.cat-bar { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-bar .chip { text-decoration: none; color: var(--text); display: inline-flex; align-items: center; gap: 8px; }
.cnt { font-size: 13px; font-weight: 700; padding: 1px 8px; border-radius: 99px; background: var(--surface2); color: var(--muted); }
.chip[aria-pressed="true"] .cnt { background: color-mix(in srgb, currentColor 18%, transparent); color: inherit; }
.post-card .eyebrow a { color: inherit; }

/* İlkeler */
.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; counter-reset: p; }
.principles article { padding: 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); counter-increment: p; position: relative; }
.principles article::before { content: counter(p, decimal-leading-zero); font-family: var(--serif); font-size: 15px; font-weight: 700; color: var(--hl); display: block; margin-bottom: 8px; }
.principles h3 { font-size: 22px; }
.principles p { margin-top: 8px; color: var(--muted); }
.svc-card { display: flex; flex-direction: column; }

/* İletişim girişi */
.contact-hero { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 22px; padding: 36px; border-radius: var(--radius); background: var(--primary); color: var(--primary-ink); }
.contact-hero h1 { color: inherit; }
.contact-hero p { margin-top: 12px; max-width: 54ch; font-size: 19px; opacity: .92; }
@media (max-width: 600px) { .contact-hero { padding: 26px 20px; } .contact-hero .cta-link { width: 100%; } }

/* Üst kısım: Türkiye geneli etiketi */
.remote { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); font-weight: 500; }

/* Alt bilgi: iletişim en sağda, iki kişi */
.foot-grid { grid-template-columns: 1.35fr 1fr 1fr 1.45fr; }
.foot-col > p { margin-top: 10px; }
.foot-col .cred { margin-top: 14px; }
.foot-sep { margin-top: 10px; padding-top: 10px; border-top: 1px solid #FFFFFF1F; }
.foot-people { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.fc-person strong { color: var(--deep-text); display: block; font-size: 16px; }
.fc-role { display: block; font-size: 13.5px; margin-bottom: 6px; }
.fc-links { display: grid; gap: 4px; }
.fc-links a { display: inline-flex; align-items: center; gap: 8px; }
.fc-links .mi, .foot-addr .mi { color: var(--deep-hl); flex: 0 0 auto; }
.foot-addr { display: flex; gap: 8px; align-items: flex-start; margin-top: 14px; }
.foot-addr .mi { margin-top: 3px; }
@media (max-width: 1000px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .foot-grid { grid-template-columns: 1fr; } }
.legend li { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto auto; gap: 8px; }
.legend li .muted { min-width: 46px; text-align: end; }
.cat-bar .chip[aria-pressed="true"] { color: var(--surface); }
.param-table th[scope="row"] { font-weight: 500; }
.param-from { display: block; font-size: 13px; margin-top: 2px; }
.param-val { white-space: nowrap; font-weight: 700; }
.param-src { font-size: 14px; }
@media (max-width: 760px) { .param-table, .param-table tbody, .param-table tr, .param-table th, .param-table td { display: block; } .param-table thead { display: none; } .param-table tr { padding: 10px 0; border-bottom: 1px solid var(--line); } .param-table th, .param-table td { border: 0; padding: 2px 12px; } }
/* Hizmet dizini (gruplar) */
.svc-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.svc-jump .chip { text-decoration: none; color: var(--text); }
.svc-dir { columns: 3 300px; column-gap: 36px; }
.svc-group { break-inside: avoid; margin: 0 0 30px; scroll-margin-top: 20px; }
.svc-group h2 { font-size: 24px; display: inline-block; padding-bottom: 6px; border-bottom: 3px solid var(--hl); }
.svc-group > p { font-size: 15px; margin: 10px 0 8px; }
.svc-group ul { list-style: none; padding: 0; margin: 0; }
.svc-group li a { display: block; padding: 9px 0 9px 26px; position: relative; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line); line-height: 1.35; }
.svc-group li a::before { content: '»'; position: absolute; inset-inline-start: 4px; top: 8px; color: var(--hl); font-weight: 700; }
[dir="rtl"] .svc-group li a { padding: 9px 26px 9px 0; }
[dir="rtl"] .svc-group li a::before { content: '«'; }
.svc-group li a:hover span { text-decoration: underline; }
.svc-group li small { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
/* ===== Yatay kaydırma yok (v3) =====
   Sayfa hiçbir genişlikte yana kaymaz: menü telefonda ızgaraya döner, tablolar
   masaüstünde metni kırar, telefonda karta dönüşür; uzun bağlantılar ve sözcükler bölünür. */
html, body { overflow-x: clip; }
main, .panel, .prose, .box, .box-plain, .side-box { min-width: 0; overflow-wrap: break-word; }
.prose a, .param-src a, .foot-links a, .note a { overflow-wrap: anywhere; word-break: break-word; }
img, svg, iframe, video { max-width: 100%; }
.tablewrap { overflow-x: visible; }
.table-text { table-layout: auto; }
.table-text th, .table-text td { overflow-wrap: break-word; }
.res td { white-space: nowrap; overflow-wrap: normal; }
.res th { overflow-wrap: anywhere; }
.stamp-in > .eyebrow { padding-inline-end: 88px; }
.data th, .data td { white-space: normal; }
@media (max-width: 760px) {
  .tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; overflow: visible; padding: 0; align-items: stretch; }
  .tab { height: auto; min-height: 56px; padding: 8px 4px; flex-direction: column; justify-content: center; gap: 4px; font-size: 12.5px; line-height: 1.15; text-align: center; white-space: normal; border-radius: 12px 12px 0 0; }
  .tab svg { width: 18px; height: 18px; }
  .tab[aria-current="page"] { height: auto; min-height: 56px; }
  /* Markdown tabloları: 3 ve daha fazla sütunda kart görünümü */
  .t-stack, .t-stack tbody, .t-stack tr, .t-stack td, .t-stack th { display: block; width: auto; }
  .t-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tablewrap:has(.t-stack) { border: 0; background: none; border-radius: 0; }
  .t-stack tr { margin-bottom: 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); overflow: hidden; }
  .t-stack td { position: relative; padding: 8px 14px; padding-inline-start: calc(38% + 14px); min-height: 1.6em; border-bottom: 1px dashed var(--line); }
  .t-stack td:first-child { padding: 8px 14px; background: var(--surface2); font-weight: 700; border-bottom: 1px solid var(--line); }
  .t-stack td:first-child::before { content: none; }
  .t-stack td::before { content: attr(data-l); position: absolute; inset-inline-start: 14px; top: 9px; width: calc(38% - 18px); color: var(--muted); font-weight: 500; font-size: 14px; line-height: 1.3; }
  .t-stack td:last-child { border-bottom: 0; }
  .t-stack th[scope="row"] { padding: 8px 14px; background: var(--surface2); font-weight: 700; border-bottom: 1px solid var(--line); }
  .t-stack td:empty { display: none; }
  .rtable td { flex-wrap: wrap; }
  .head-actions .remote { display: none !important; }
  .kpis, .who-grid, .formula-grid { min-width: 0; }
}
@media (max-width: 420px) { .tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); } .tab { font-size: 11.5px; } }

.param-srcs { margin: 8px 0 18px; padding-inline-start: 22px; font-size: 14px; color: var(--muted); }
.param-srcs li { margin: 3px 0; }
.param-src { width: 1%; white-space: nowrap; text-align: center; }
@media (max-width: 760px) { .param-table tr { display: grid !important; grid-template-columns: minmax(0, 1fr) auto auto; gap: 4px 10px; align-items: baseline; } .param-table th, .param-table td { padding: 2px 0 !important; } }

/* Günlük mevzuat özeti */
.rg-feed { margin: 1.2em 0; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.rg-head { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.rg-head select { width: auto; max-width: 100%; }
.rg-list { list-style: none; padding: 0; margin: 12px 0 0; }
.rg-item { padding: 12px 0; border-top: 1px solid var(--line); }
.rg-item a { font-weight: 600; }
.rg-item p { margin: 6px 0 0; font-size: 15.5px; }
.rg-tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 4px; font-size: 13.5px; }
.rg-tags .chip { padding: 2px 10px; font-size: 13px; }
.rg-rest { margin-top: 14px; }

.calc-find { margin-top: 18px; max-width: 560px; }
.calc-group { scroll-margin-top: 16px; }
.card[hidden], .calc-group[hidden] { display: none !important; }

/* Orta genişlikte (tablet) geniş sonuç tabloları sığsın */
@media (min-width: 761px) and (max-width: 980px) {
  .rtable { font-size: 13.5px; }
  .rtable th, .rtable td { padding: 8px 7px; }
  .rtable thead th { font-size: 12.5px; }
}

/* Mobil kart tablolar: .prose .table-text dolgusunun etiket alanını ezmesini önle */
@media (max-width: 760px) {
  .prose .t-stack td, .tablewrap .t-stack td { padding: 8px 14px; padding-inline-start: calc(38% + 14px); }
  .prose .t-stack td:first-child, .tablewrap .t-stack td:first-child { padding: 8px 14px; }
}

/* Resmî kaynaklar: logosuz kurum rozetleri */
.foot-official { margin-top: 28px; padding-top: 22px; border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent); }
.badge-row { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.inst-badge { display: inline-flex; align-items: center; min-height: 34px; padding: 6px 12px; border-radius: 999px; border: 1px solid color-mix(in srgb, currentColor 28%, transparent); font-size: 13.5px; font-weight: 600; letter-spacing: .01em; color: inherit; text-decoration: none; white-space: nowrap; }
.inst-badge:hover, .inst-badge:focus-visible { background: color-mix(in srgb, currentColor 10%, transparent); text-decoration: none; }
.foot-official .foot-note { margin-top: 10px; font-size: 13px; opacity: .75; }
.inst-box .badge-row { gap: 10px; }
.inst-box .inst-badge { flex-direction: column; align-items: flex-start; gap: 2px; border-radius: 14px; padding: 8px 14px; white-space: normal; max-width: 100%; }
.inst-box .inst-name { font-weight: 400; font-size: 12.5px; opacity: .75; }
.foot-official .inst-name { display: none; }

/* Yazı başında "Kısaca" kutusu */
.prose .tldr { margin: 0 0 26px; padding: 16px 18px 14px; border-radius: 16px; background: color-mix(in srgb, var(--accent) 22%, var(--surface)); border: 1px solid color-mix(in srgb, var(--accent) 55%, var(--line)); }
.prose .tldr h2 { margin: 0 0 8px; font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.prose .tldr ul { margin: 0; padding-inline-start: 20px; }
.prose .tldr li { margin: 4px 0; }

/* ---------- Tarayıcı uyumluluğu ---------- */
/* Hedef bölümler başlığa yapışmasın */
[id] { scroll-margin-top: 16px; }
/* :has() desteklemeyen tarayıcılar için (eski Firefox/Safari) */
@media (max-width: 760px) { .tablewrap.stackwrap { border: 0; background: none; border-radius: 0; } }
/* overflow-x: clip desteklemeyen eski Safari sürümleri */
@supports not (overflow-x: clip) { html, body { overflow-x: hidden; } }
/* color-mix desteklemeyen tarayıcılar için yakın renkler */
@supports not (color: color-mix(in srgb, red 50%, blue)) {
  .input:focus { box-shadow: 0 0 0 3px rgba(27, 44, 193, .25); }
  .res th, .res td { border-top-color: rgba(127, 127, 127, .35); }
  .data .hl, .rtable tr.hl th, .rtable tr.hl td, .side-list a[aria-current], .notice, .form-status.ok { background: #EEF8C4; color: #1A1F2B; }
  .form-status.err { background: #FBE3E1; color: #1A1F2B; border-color: #E8A39C; }
  .prose .tldr { background: #F4FADF; border-color: #CFE68A; color: #1A1F2B; }
  .foot-official { border-top-color: rgba(255, 255, 255, .18); }
  .inst-badge { border-color: rgba(255, 255, 255, .3); }
  .inst-box .inst-badge { border-color: #DDD5C6; }
}

/* Üst şerit: son gün bilgisi kesilmesin (masaüstünde üç nokta, mobilde iki satıra iner) */
.topbar .next { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar .next .dot { display: inline-block; vertical-align: middle; margin-inline-end: 8px; }
@media (max-width: 760px) { .topbar .next { white-space: normal; overflow: visible; line-height: 1.35; padding-block: 2px; } }
/* Dokunmatik ekranlar için daha rahat seçim kutuları ve okunur küçük yazılar */
input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; flex: 0 0 auto; }
@media (max-width: 420px) { .tab { font-size: 12px; } }
.seal { font-size: 11px; }
@media (max-width: 420px) {
  .tab { padding-inline: 2px; letter-spacing: -0.015em; }
  .tab[aria-current="page"] { font-weight: 600; }
}
@media (max-width: 340px) { .tab { font-size: 11px; letter-spacing: -0.02em; } .tabs { gap: 4px; } }
main:focus { outline: none; }
.eyebrow a { display: inline-block; padding-block: 4px; }

/* ---------- Araçlar: mod kartları ---------- */
.mode-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 14px; margin: 22px 0 6px; }
.mode-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 18px; background: var(--surface2); border: 1.5px solid var(--line); color: var(--text); text-decoration: none; transition: border-color .15s, transform .15s; }
.mode-card:hover { border-color: var(--hl); transform: translateY(-1px); }
.mode-card > span:nth-child(2) { flex: 1 1 auto; min-width: 0; }
.mode-card strong { display: block; font-family: var(--serif); font-size: 23px; line-height: 1.15; }
.mode-card small { display: block; color: var(--muted); font-size: 15px; margin-top: 3px; }
.mode-ico { flex: 0 0 auto; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--primary); color: var(--primary-ink); }
.mode-doc .mode-ico { background: var(--accent); color: var(--accent-ink); }
.mode-ico svg { width: 26px; height: 26px; }
.mode-card .more { color: var(--hl); font-weight: 700; }
.chip-doc { border-color: color-mix(in srgb, var(--accent) 70%, var(--line)); background: color-mix(in srgb, var(--accent) 20%, var(--surface)); }

/* ---------- Belge kartları ---------- */
.doc-section { margin-top: 10px; padding-top: 26px; border-top: 2px dashed var(--line); }
.doc-head { max-width: 760px; margin-bottom: 8px; }
.doc-head h2 { margin-bottom: 8px; }
.doc-gh { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 24px 0 12px; }
.doc-card { position: relative; display: flex; flex-direction: column; gap: 6px; }
.doc-card h3 { font-size: 21px; }
.doc-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--surface2); color: var(--hl); margin-bottom: 4px; }
.doc-ico svg { width: 21px; height: 21px; }
.doc-ico.g-is { background: color-mix(in srgb, var(--hl) 14%, var(--surface)); }
.doc-ico.g-vergi { background: color-mix(in srgb, var(--accent) 35%, var(--surface)); color: var(--text); }
.doc-ico.g-sgk { background: color-mix(in srgb, #2E9C6A 18%, var(--surface)); color: #1F7A50; }
.doc-ico.g-sirket { background: color-mix(in srgb, #C26A1B 16%, var(--surface)); color: #A2560F; }
:root[data-theme="dark"] .doc-ico.g-sgk { color: #7FD8AE; } :root[data-theme="dark"] .doc-ico.g-sirket { color: #F2B27A; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .doc-ico.g-sgk { color: #7FD8AE; } :root:not([data-theme="light"]) .doc-ico.g-sirket { color: #F2B27A; } }
.doc-meta { font-size: 13px; color: var(--muted); font-weight: 600; letter-spacing: .02em; }
.doc-card .more { margin-top: auto; padding-top: 6px; }

/* ---------- Belge sayfası ---------- */
.doc-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.badge-soft { display: inline-flex; align-items: center; min-height: 30px; padding: 2px 12px; border-radius: 999px; background: var(--surface2); border: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.tldr-wide { padding: 16px 20px 14px; border-radius: 18px; background: color-mix(in srgb, var(--accent) 22%, var(--surface)); border: 1px solid color-mix(in srgb, var(--accent) 55%, var(--line)); }
.tldr-wide h2 { margin: 0 0 8px; font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.tldr-wide ul { margin: 0; padding-inline-start: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); column-gap: 32px; }
.tldr-wide li { margin: 4px 0; }
.belge-app { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 22px; align-items: start; }
.belge-form { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow: auto; padding: 24px; }
.belge-form-head { margin-bottom: 16px; }
.belge-fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); gap: 12px 14px; }
.belge-fields .field + .field { margin-top: 0; }
.belge-fields .field.wide { grid-column: 1 / -1; }
.belge-fields label { font-size: 14px; }
.belge-fields .input { min-height: 46px; font-size: 16px; padding: 0 12px; }
.belge-fields textarea.input { min-height: 88px; padding: 10px 12px; font-size: 16px; }
.belge-reset { margin-top: 14px; }
.belge-progress { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 14px; color: var(--muted); }
.belge-progress .bar { flex: 1 1 auto; height: 8px; border-radius: 99px; background: var(--surface2); border: 1px solid var(--line); overflow: hidden; }
.belge-progress .bar > span { display: block; height: 100%; width: 0; background: var(--hl); transition: width .2s; }
.belge-view { min-width: 0; }
.belge-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.belge-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.belge-actions .btn { min-height: 44px; padding: 0 16px; font-size: 15px; }
.belge-tabs button { min-height: 40px; padding: 0 14px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); color: var(--text); font: inherit; font-size: 15px; cursor: pointer; }
.belge-tabs button[aria-selected="true"] { background: var(--text); border-color: var(--text); color: var(--surface); font-weight: 700; }
.belge-trnote { margin-bottom: 10px; }
.paper { background: #FFFFFF; color: #1A1A1A; border-radius: 6px; box-shadow: 0 1px 2px #0000001A, 0 12px 32px -12px #1A1F2B40; padding: clamp(22px, 6%, 64px) clamp(18px, 7%, 72px); font-family: 'Newsreader', 'Times New Roman', Georgia, serif; font-size: 16.5px; line-height: 1.6; min-height: 420px; overflow-wrap: break-word; aspect-ratio: auto; }
.paper p { margin: 0 0 14px; }
.paper .paper-h { font-family: inherit; font-size: 18px; text-align: center; letter-spacing: .02em; margin: 0 0 18px; }
.paper .ph { border-radius: 4px; padding: 0 3px; background: #FFF5C2; box-shadow: inset 0 -1px 0 #E2C44A; cursor: pointer; }
.paper .ph-e { color: #7A6A1E; font-family: var(--sans); font-size: .82em; }
.paper .ph.is-filled { background: #E8F3E0; box-shadow: inset 0 -1px 0 #9CC47D; cursor: text; }
@media (max-width: 960px) {
  .belge-app { grid-template-columns: minmax(0, 1fr); }
  .belge-form { position: static; max-height: none; }
}
@media (max-width: 760px) { .belge-form { padding: 18px; } .paper { font-size: 15.5px; } .belge-actions { width: 100%; } .belge-actions .btn { flex: 1 1 auto; } }

/* ---------- Arama sayfası ---------- */
.search-hero { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--deep); color: var(--deep-text); padding: clamp(28px, 5vw, 64px) clamp(20px, 5vw, 64px) 28px; }
.search-hero::before { content: ""; position: absolute; inset: auto -10% -60% 40%; height: 120%; background: radial-gradient(closest-side, color-mix(in srgb, var(--deep-hl) 22%, transparent), transparent); pointer-events: none; }
.search-hero-in { position: relative; max-width: 900px; margin: 0 auto; }
.search-hero h1 { color: var(--deep-text); }
.search-hero .lead { color: var(--deep-muted); margin-top: 10px; }
.search-hero .muted { color: var(--deep-muted); opacity: .85; white-space: nowrap; }
.search-box { position: relative; display: flex; align-items: center; margin: 26px 0 18px; }
.search-input { width: 100%; min-height: 66px; padding: 0 92px 0 58px; border-radius: 18px; border: 2px solid transparent; background: var(--surface); color: var(--text); font: inherit; font-size: 21px; box-shadow: 0 10px 30px -10px #00000066; -webkit-appearance: none; appearance: none; }
.search-input::-webkit-search-cancel-button { display: none; }
.search-input:focus { outline: none; border-color: var(--deep-hl); }
.search-ico { position: absolute; inset-inline-start: 18px; width: 26px; height: 26px; color: var(--muted); pointer-events: none; display: grid; }
.search-ico svg { width: 26px; height: 26px; }
.search-clear { position: absolute; inset-inline-end: 52px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--surface2); color: var(--text); font-size: 22px; line-height: 1; cursor: pointer; }
.search-kbd { position: absolute; inset-inline-end: 16px; min-width: 26px; height: 28px; display: grid; place-items: center; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 7px; color: var(--muted); font: 600 14px var(--sans); background: var(--surface2); }
.search-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.search-filters .chip { background: transparent; color: var(--deep-text); border-color: color-mix(in srgb, var(--deep-text) 28%, transparent); gap: 8px; }
.search-filters .chip[aria-pressed="true"] { background: var(--deep-hl); border-color: var(--deep-hl); color: #15181F; }
.search-filters .chip:disabled { opacity: .4; cursor: default; }
.search-filters .cnt { font-size: 13px; opacity: .8; font-variant-numeric: tabular-nums; }
.tdot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; background: currentColor; }
.t-calc { --tc: #3B4FE0; } .t-doc { --tc: #8AA61C; } .t-service { --tc: #C2671B; } .t-legislation { --tc: #8E44AD; } .t-article { --tc: #1F8A70; } .t-page { --tc: #6B7280; }
.tdot.t-calc, .tdot.t-doc, .tdot.t-service, .tdot.t-legislation, .tdot.t-article, .tdot.t-page { background: var(--tc); }
.search-main { max-width: 960px; width: 100%; margin: 0 auto; }
.search-status { min-height: 24px; color: var(--muted); font-size: 15px; margin: 4px 2px 10px; }
.search-results { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sr-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: start; padding: 16px 18px; border-radius: 18px; background: var(--surface); border: 1.5px solid var(--line); color: var(--text); text-decoration: none; transition: border-color .12s, box-shadow .12s; }
.sr-item:hover, .sr-item.is-sel { border-color: var(--hl); box-shadow: 0 6px 20px -10px var(--shadow); }
.sr-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--tc); background: color-mix(in srgb, var(--tc) 13%, var(--surface)); }
.sr-ico svg { width: 22px; height: 22px; }
.sr-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.sr-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: 13px; }
.sr-type { font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--tc); }
.sr-g { color: var(--muted); }
.sr-t { font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.2; }
.sr-d { color: var(--muted); font-size: 15.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sr-go { color: var(--hl); font-weight: 700; align-self: center; }
.search-results mark { background: color-mix(in srgb, var(--accent) 65%, transparent); color: inherit; border-radius: 3px; padding: 0 1px; }
.search-empty .chips, .search-none .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.search-quick { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 10px; margin-top: 10px; }
.quick-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; text-decoration: none; color: var(--text); font-weight: 600; }
.quick-card > span:nth-child(2) { flex: 1 1 auto; min-width: 0; }
.search-none { padding: 26px; border-radius: 18px; background: var(--surface); border: 1.5px dashed var(--line); }
.search-none-t { font-family: var(--serif); font-size: 24px; font-weight: 600; margin-bottom: 6px; overflow-wrap: anywhere; }
.search-dym { margin-top: 12px; }
.linkbtn { border: 0; background: none; padding: 0; color: var(--hl); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
@media (max-width: 760px) {
  .search-input { min-height: 58px; font-size: 18px; padding: 0 52px 0 48px; }
  .search-ico { inset-inline-start: 14px; } .search-ico svg { width: 22px; height: 22px; }
  .search-kbd { display: none; } .search-clear { inset-inline-end: 10px; }
  .sr-item { grid-template-columns: auto minmax(0, 1fr); gap: 12px; padding: 14px; }
  .sr-ico { width: 38px; height: 38px; } .sr-go { display: none; }
  .sr-t { font-size: 19px; }
}
@media (hover: none) { .search-kbd { display: none; } .search-clear { inset-inline-end: 12px; } .search-input { padding-inline-end: 56px; } }

/* ---------- Belge yazdırma ---------- */
#print-root { display: none; }
@media print {
  body.printing-doc > *:not(#print-root) { display: none !important; }
  body.printing-doc #print-root { display: block; }
  body.printing-doc { background: #fff; }
  #print-root .paper { box-shadow: none; padding: 0; min-height: 0; font-size: 12pt; border-radius: 0; }
  #print-root .ph, #print-root .ph.is-filled { background: none; box-shadow: none; padding: 0; }
  #print-root .ph-e { color: #999; }
  @page { size: A4; margin: 2.2cm; }
}
.quick-card { flex-direction: row; border-radius: 16px; }
.quick-card .more { margin: 0; padding: 0; }
/* 8 sekme: orta genişlikte "Ara" yalnızca simge, diğerleri sıkılaştırılır */
@media (min-width: 761px) and (max-width: 1279px) {
  .tab { padding: 0 13px; gap: 7px; font-size: 15.5px; }
  .tab[data-tab="search"] { padding: 0 16px; }
  .tab[data-tab="search"] .tl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (min-width: 761px) and (max-width: 1000px) {
  .tabs { flex-wrap: nowrap; gap: 4px; padding: 0; align-items: stretch; }
  .tab, .tab[data-tab="search"] { flex: 1 1 0; min-width: 0; height: auto; min-height: 58px; padding: 8px 4px; flex-direction: column; justify-content: center; gap: 4px; font-size: 13.5px; line-height: 1.15; text-align: center; white-space: normal; border-radius: 12px 12px 0 0; }
  .tab[aria-current="page"] { min-height: 64px; }
  .tab[data-tab="search"] .tl { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; }
  .tab svg { width: 18px; height: 18px; }
}
@media (max-width: 760px) { .search-filters { gap: 6px; } .search-filters .chip { min-height: 36px; padding: 0 11px; font-size: 14px; gap: 6px; } }

/* ===================== Görsel düzenleme (Ekim 2026) ===================== */
/* Kategori renkleri: yazı kategorileri ve takvim türleri tek renk sistemini paylaşır */
:root { --cv: #3346D3; --cs: #17806A; --ci: #B85A12; --cc: #8A3FA8; --cy: #0B7393; --ce: #B5265E; --cg: #6B7280; }
:root[data-theme="dark"] { --cv: #9AA8FF; --cs: #6FD3B4; --ci: #F2A766; --cc: #D59AF0; --cy: #73CFEA; --ce: #F08DB4; --cg: #A8AEBC; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --cv: #9AA8FF; --cs: #6FD3B4; --ci: #F2A766; --cc: #D59AF0; --cy: #73CFEA; --ce: #F08DB4; --cg: #A8AEBC; } }
.cat-vergi { --cat: var(--cv); } .cat-sgk { --cat: var(--cs); } .cat-is-hukuku { --cat: var(--ci); }
.cat-sirket { --cat: var(--cc); } .cat-yabancilar { --cat: var(--cy); } .cat-e-donusum { --cat: var(--ce); } .cat-x { --cat: var(--cg); }
.cdot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--cat, var(--cg)); flex: 0 0 auto; margin-inline-end: 7px; vertical-align: 1px; }
.cat-bar .chip { gap: 0; }
.cat-bar .chip .cnt { margin-inline-start: 8px; }
.cat-bar .chip[aria-pressed="true"]:not(:first-child) { background: var(--cat); border-color: var(--cat); color: #fff; }
:root[data-theme="dark"] .cat-bar .chip[aria-pressed="true"]:not(:first-child) { color: #15181F; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cat-bar .chip[aria-pressed="true"]:not(:first-child) { color: #15181F; } }
.cat-bar .chip[aria-pressed="true"] .cdot { background: currentColor; }

/* Yazı kartları */
.post-card { position: relative; overflow: hidden; gap: 12px; padding-top: 30px; }
.post-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--cat, var(--cg)); }
.post-card h2 { font-size: 24px; line-height: 1.15; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 13.5px; color: var(--muted); }
.post-meta > span + span::before { content: "·"; margin-inline-end: 12px; opacity: .6; }
.cat-tag { display: inline-flex; align-items: center; font-weight: 700; color: var(--cat); letter-spacing: .04em; text-transform: uppercase; font-size: 12.5px; }
.post-card .cat-tag { margin-bottom: -4px; }
.post-feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px; padding: 34px 36px; background: var(--surface); border: 1.5px solid var(--line); }
.post-feature h2 { font-size: clamp(28px, 3vw, 40px); max-width: 22ch; }
.post-feature .muted { font-size: 18px; max-width: 60ch; }
.pf-main { display: flex; flex-direction: column; gap: 12px; }
.pf-flag { align-self: flex-start; padding: 3px 10px; border-radius: 99px; background: var(--accent); color: var(--accent-ink); font-size: 12.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.pf-brief { align-self: stretch; padding: 20px 22px; border-radius: 18px; background: var(--surface2); border-inline-start: 4px solid var(--cat); }
.pf-brief-h { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.pf-brief ul { margin: 0; padding-inline-start: 18px; display: grid; gap: 8px; font-size: 16px; line-height: 1.45; }
@media (max-width: 860px) { .post-feature { grid-template-columns: minmax(0, 1fr); padding: 26px 22px; gap: 18px; } }

/* Kartlar: hafif yükselme */
a.card { transition: box-shadow .18s ease, transform .18s ease, background-color .18s ease; }
a.card:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 2px var(--hl), 0 14px 28px -18px var(--shadow); }
a.card:hover .more { text-decoration: underline; text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { a.card, a.card:hover, .btn, .tab, .chip { transition: none; transform: none; } }

/* Düğmeler */
.btn { transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s, transform .1s; }
.btn:hover { border-color: var(--hl); }
.btn:active { transform: translateY(1px); }
.btn-primary { box-shadow: 0 6px 16px -10px var(--primary); }
.btn-primary:hover { background: color-mix(in srgb, var(--primary) 86%, #000); border-color: color-mix(in srgb, var(--primary) 86%, #000); }
.btn-ghost:hover { background: var(--surface2); border-color: transparent; }
.btn-wa:hover { background: #187A41; border-color: #187A41; }
.btn-accent:hover { background: color-mix(in srgb, var(--accent) 88%, #000); }

/* Çipler */
.chip { transition: border-color .15s, background-color .15s, color .15s; }
.chip:hover:not([aria-pressed="true"]):not(:disabled) { border-color: var(--hl); }

/* Sekmeler: daha net ayrım, yumuşak geçiş */
.tab { transition: background-color .15s, color .15s; position: relative; }
.tab:hover:not([aria-current="page"]) { background: color-mix(in srgb, var(--tab-off) 55%, var(--surface)); }
.tab[aria-current="page"] { box-shadow: 0 -6px 18px -12px var(--shadow); }

/* Yan menü kategorileri */
.side-list a > span:first-child { display: inline-flex; align-items: baseline; }
.side-list a .cdot { align-self: center; }

/* Vergi takvimi: tür renkleri */
.cal-list li { border-inline-start: 3px solid transparent; padding-inline-start: 12px; }
.cal-list li[data-type^="kdv"] { border-inline-start-color: var(--cv); }
.cal-list li[data-type^="muh"], .cal-list li[data-type="damga"] { border-inline-start-color: var(--ci); }
.cal-list li[data-type="sgk"] { border-inline-start-color: var(--cs); }
.cal-list li[data-type^="edefter"] { border-inline-start-color: var(--ce); }
.cal-list li[data-type="gecici"], .cal-list li[data-type="kurumlar"], .cal-list li[data-type="yillik_gv"] { border-inline-start-color: var(--cc); }
.cal-list li[data-type="konaklama"], .cal-list li[data-type="emlak2"], .cal-list li[data-type="tasdik"] { border-inline-start-color: var(--cy); }

/* Harita: yüklenmezse boş görünmesin */
.office .map { background: var(--surface2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='1.6'%3E%3Cpath d='M12 21s-7-6.2-7-11a7 7 0 0 1 14 0c0 4.8-7 11-7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E") center / 44px no-repeat; border: 1px solid var(--line); border-radius: 16px; width: 100%; }

/* Mobil: sıkı çipler, eşit düğmeler, süs öğesi metnin arkasında kalsın */
@media (max-width: 760px) {
  .chip { min-height: 36px; padding: 0 12px; font-size: 14px; }
  .cat-bar, .svc-jump, .chips { gap: 6px; }
  .cnt { font-size: 12px; padding: 0 7px; }
  .hero .actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(88px, 100%), 1fr)); gap: 8px; }
  .hero .actions .btn { padding: 0 8px; font-size: 15px; }
  .svc-jump { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-jump .chip { justify-content: center; text-align: center; white-space: normal; line-height: 1.2; padding: 6px 10px; border-radius: 12px; }
  .quote svg { width: 170px; height: 170px; inset-inline-end: -60px; top: auto; bottom: -60px; opacity: .18; }
  .quote p { position: relative; }
  .post-card { padding: 26px 22px 22px; }
  .post-card h2 { font-size: 22px; }
}
@media (max-width: 760px) {
  .mode-cards { gap: 10px; margin-top: 18px; }
  .mode-card { padding: 14px 16px; gap: 12px; }
  .mode-card strong { font-size: 20px; }
  .mode-card small { font-size: 14px; }
  .mode-ico { width: 42px; height: 42px; border-radius: 12px; } .mode-ico svg { width: 22px; height: 22px; }
  .mode-card .more { display: none; }
}
.cf-kdv { --cat: var(--cv); } .cf-muh { --cat: var(--ci); } .cf-sgk { --cat: var(--cs); } .cf-gecici { --cat: var(--cc); } .cf-edefter { --cat: var(--ce); }
.chip[class*="cf-"] .cdot { margin-inline-end: 7px; }
.chip[class*="cf-"][aria-pressed="true"] .cdot { background: currentColor; }

/* Logo: Σ kapaklı defter */
.jmark { --mk-bg: #1B2CC1; --mk-spine: #3446D3; --mk-fg: #D7F75B; --mk-rib: #FFFFFF; }
:root[data-theme="dark"] .jmark { --mk-bg: #3346D3; --mk-spine: #4F60E6; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .jmark { --mk-bg: #3346D3; --mk-spine: #4F60E6; } }
.logo-mark { width: 42px; height: 52px; }
.logo:hover .jmark { transform: rotate(-4deg); }
.jmark { transition: transform .2s ease; }
.foot-mark { width: 34px; height: 42px; }
.id-mark { width: 48px; height: 60px; }
.quote .mark-line { width: 230px; height: 230px; top: -30px; inset-inline-end: -20px; opacity: .22; transform: rotate(12deg); }
@media (max-width: 760px) { .logo-mark { width: 36px; height: 45px; } .quote .mark-line { width: 160px; height: 160px; top: auto; bottom: -50px; inset-inline-end: -40px; opacity: .16; } }
@media (prefers-reduced-motion: reduce) { .logo:hover .jmark { transform: none; } }
