/*
 * Mevzuat Merkezi — sayfaya özel stiller.
 * Tailwind (Vite) derlemesine bağlı değil: dosya bazlı yüklemede yalnızca bu dosya gider.
 * Renkler sitenin tema değişkenlerinden gelir (hn-vergi-m-theme.css, "2026 PUBLIC UI RESET").
 */
.mz {
    --mz-primary: var(--brand-primary, #174ea6);
    --mz-primary-hover: var(--brand-primary-hover, #123d86);
    --mz-primary-soft: var(--brand-primary-soft, rgba(23, 78, 166, .08));
    --mz-text: var(--text-primary, #10233f);
    --mz-text-2: var(--text-secondary, #506179);
    --mz-muted: var(--text-muted, #71839d);
    --mz-bg: var(--bg-body, #f3f7fb);
    --mz-card: var(--bg-card, #fff);
    --mz-border: var(--border-light, #d7e2ee);
    --mz-border-2: var(--border-medium, #bfd0e2);
    --mz-surface: var(--surface-muted, #eef4fa);
    --mz-radius: var(--radius-card, .875rem);
    --mz-shadow: var(--shadow-card, 0 12px 32px rgba(16, 35, 63, .08));
    --mz-shadow-lg: 0 20px 48px rgba(16, 35, 63, .14);
    --mz-mark: #fff0a6;
    color: var(--mz-text);
    background: var(--mz-bg);
    font-feature-settings: "tnum" 1;
}

.mz *, .mz *::before, .mz *::after { box-sizing: border-box; }
.mz :focus-visible { outline: 2.5px solid var(--mz-primary); outline-offset: 2px; border-radius: .3rem; }

/*
 * "Nebula" imleç parıltısı: kart üzerinde gezinirken imleci izleyen, hafif gri bir bulut.
 * Renk taşımaz (marka rengi zaten kenarlık/şeritte var) — sade dursun diye salt gri tonda.
 * JS (mz-glow-init) her hareketle --mz-mx/--mz-my değişkenlerini günceller.
 */
.mz-glow { position: relative; overflow: hidden; }
.mz-glow::after {
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background: radial-gradient(240px circle at var(--mz-mx, 50%) var(--mz-my, 0%), rgba(100, 116, 139, .11), transparent 72%);
    opacity: 0; transition: opacity .45s ease;
}
@media (hover: hover) and (pointer: fine) {
    .mz-glow:hover::after { opacity: 1; }
}
.mz-glow > * { position: relative; z-index: 1; }

.mz-shell {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}
@media (min-width: 640px) { .mz-shell { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .mz-shell { padding: 0 2rem; } }

.mz a { color: inherit; }
.mz-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.mz-link { color: var(--mz-primary); text-decoration: none; font-weight: 600; }
.mz-link:hover { text-decoration: underline; }

/* ---------- Üst bant: başlık + arama ---------- */
/* Süs ışıkları bölümün kendi arka planında çizilir: eskiden taşan ::before/::after yuvarlakları için
   overflow: hidden gerekiyordu ve bu, arama kutusunun öneri listesini bölümün altında kesiyordu
   (kullanıcı bildirdi, 2026-09-25: "son aramalar altta kalıyor"). z-index: liste, alttaki sonuç
   kartlarının (position: relative) üstünde kalsın. */
.mz-hero {
    position: relative;
    z-index: 5;
    background:
        radial-gradient(26rem 26rem at calc(100% + 5rem) -1rem, var(--mz-primary-soft), transparent 72%),
        radial-gradient(22rem 22rem at -3rem calc(100% + 3rem), rgba(23, 78, 166, .05), transparent 72%),
        linear-gradient(180deg, #fff 0%, var(--mz-bg) 100%);
    border-bottom: 1px solid var(--mz-border);
    padding: 2.25rem 0 1.75rem;
}
.mz-hero > .mz-shell { position: relative; z-index: 1; }
@media (min-width: 768px) { .mz-hero { padding: 2.75rem 0 3rem; } }

.mz-crumbs { display: flex; flex-wrap: wrap; gap: .35rem; font-size: .8125rem; color: var(--mz-muted); margin: 0 0 .9rem; padding: 0; list-style: none; }
.mz-crumbs a { color: var(--mz-primary); text-decoration: none; }
.mz-crumbs a:hover { text-decoration: underline; }
.mz-crumbs li + li::before { content: "/"; margin-right: .35rem; color: var(--mz-border-2); }

.mz-kicker { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mz-primary); margin: 0 0 .35rem; }
.mz-title { font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.15; font-weight: 800; letter-spacing: -.02em; margin: 0; color: var(--mz-text); }
.mz-lead { margin: .6rem 0 0; max-width: 46rem; color: #34465e; font-size: 1.02rem; line-height: 1.65; }

.mz-search { margin-top: 1.5rem; max-width: 42rem; }
.mz-search-box {
    display: flex; align-items: stretch;
    background: var(--mz-card);
    border: 1.5px solid var(--mz-border-2);
    border-radius: 999px;
    box-shadow: 0 10px 28px rgba(16, 35, 63, .08);
    overflow: hidden;
    transition: border-color .15s, box-shadow .15s, transform .15s;
}
.mz-search-box:focus-within { border-color: var(--mz-primary); box-shadow: 0 0 0 4.5px var(--mz-primary-soft), 0 10px 28px rgba(16, 35, 63, .1); transform: translateY(-1px); }
.mz-search-icon { display: flex; align-items: center; padding-left: 1.25rem; color: var(--mz-muted); }
.mz-search-input {
    flex: 1; min-width: 0; border: 0 !important; outline: 0 !important; box-shadow: none !important;
    background: transparent; padding: 1.05rem 1rem; font-size: 1.02rem; color: var(--mz-text);
}
.mz-search-btn {
    display: inline-flex; align-items: center; gap: .4rem;
    border: 0; margin: .35rem; padding: 0 1.5rem; border-radius: 999px;
    background: var(--mz-primary); color: #fff; font-weight: 700; font-size: .95rem; cursor: pointer;
    transition: background .15s, transform .1s;
}
.mz-search-btn:hover { background: var(--mz-primary-hover); }
.mz-search-btn:active { transform: scale(.97); }
.mz-search-hint { margin: .55rem 0 0 1.1rem; font-size: .8rem; color: var(--mz-muted); }
.mz-search-hint code { background: var(--mz-surface); padding: .05rem .35rem; border-radius: .3rem; font-size: .78rem; }

.mz-quick { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .9rem; }
.mz-chip {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .38rem .8rem; border-radius: 999px;
    border: 1px solid var(--mz-border); background: var(--mz-card);
    font-size: .82rem; font-weight: 600; color: var(--mz-text); text-decoration: none; white-space: nowrap;
    transition: border-color .15s, background .15s, color .15s;
}
.mz-chip:hover { border-color: var(--mz-primary); color: var(--mz-primary); }
.mz-chip small { font-weight: 600; color: var(--mz-muted); font-size: .74rem; }
.mz-chip.is-active { background: var(--mz-primary); border-color: var(--mz-primary); color: #fff; }
.mz-chip.is-active small { color: rgba(255, 255, 255, .8); }

.mz-stats { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 1.25rem; font-size: .85rem; color: var(--mz-text-2); }
.mz-stats strong { display: block; font-size: 1.35rem; font-weight: 800; color: var(--mz-text); letter-spacing: -.01em; }

/* ---------- Açılış: kurumlar + konular ---------- */
.mz-section { padding: 1.75rem 0 0; }
.mz-section-title { font-size: 1.05rem; font-weight: 800; margin: 0 0 .9rem; color: var(--mz-text); }
.mz-sources { display: grid; gap: .85rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .mz-sources { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .mz-sources { grid-template-columns: repeat(3, 1fr); } }
.mz-source {
    position: relative; display: block; text-decoration: none; background: var(--mz-card);
    border: 1px solid var(--mz-border); border-radius: var(--mz-radius); padding: 1.15rem 1.2rem 1.1rem;
    overflow: hidden; transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.mz-source:hover { border-color: var(--mz-border-2); box-shadow: var(--mz-shadow); transform: translateY(-1px); }
.mz-source-head { display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem; }
.mz-source-top { display: flex; align-items: center; gap: .7rem; }
.mz-source-icon {
    flex: none; display: flex; align-items: center; justify-content: center;
    width: 2.3rem; height: 2.3rem; border-radius: .65rem;
    background: var(--mz-primary-soft); color: var(--mz-primary);
}
.mz-source-icon svg { width: 1.2rem; height: 1.2rem; }
.mz-source-name { font-weight: 800; font-size: 1rem; color: var(--mz-text); line-height: 1.25; }
.mz-source-count { font-weight: 800; color: var(--mz-text-2); font-size: .95rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.mz-source-desc { margin: .65rem 0 .6rem; font-size: .84rem; color: var(--mz-text-2); line-height: 1.5; }
.mz-source-types { display: flex; flex-wrap: wrap; gap: .3rem; }
.mz-pill { font-size: .72rem; font-weight: 600; color: var(--mz-text-2); background: var(--mz-surface); border-radius: 999px; padding: .15rem .55rem; }

/* ---------- Sonuç düzeni: filtreler + liste ---------- */
.mz-body { padding: 1.5rem 0 3rem; }
.mz-layout { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .mz-layout { grid-template-columns: 260px minmax(0, 1fr); gap: 2rem; } }

.mz-filter-toggle {
    display: flex; width: 100%; justify-content: space-between; align-items: center;
    padding: .7rem 1rem; border: 1px solid var(--mz-border); border-radius: .75rem;
    background: var(--mz-card); font-weight: 700; font-size: .9rem; color: var(--mz-text); cursor: pointer;
    transition: border-color .15s, box-shadow .15s;
}
.mz-filter-toggle:hover { border-color: var(--mz-border-2); box-shadow: 0 4px 14px rgba(16, 35, 63, .06); }
@media (min-width: 1024px) { .mz-filter-toggle { display: none; } }
.mz-filters { display: none; }
.mz-filters-backdrop { display: none; }
.mz-filters-handle, .mz-filters-head { display: none; }
@media (max-width: 1023.98px) {
    html.mz-scroll-lock { overflow: hidden; }
    .mz-filters.is-open {
        display: block; position: fixed; left: 0; right: 0; bottom: 0; top: auto; margin-top: 0;
        max-height: 82vh; overflow-y: auto; z-index: 60;
        background: var(--mz-card); border-radius: 1.1rem 1.1rem 0 0;
        box-shadow: 0 -18px 48px rgba(16, 35, 63, .3);
        padding: 0 1.1rem 1.4rem;
        animation: mz-sheet-in .22s ease-out;
    }
    .mz-filters-backdrop {
        display: none; position: fixed; inset: 0; z-index: 59;
        background: rgba(16, 35, 63, .45); opacity: 0; pointer-events: none; transition: opacity .2s;
    }
    .mz-filters-backdrop.is-open { display: block; opacity: 1; pointer-events: auto; }
    .mz-filters.is-open .mz-filters-handle { display: block; width: 2.5rem; height: .3rem; border-radius: 999px; background: var(--mz-border-2); margin: .7rem auto 0; }
    .mz-filters.is-open .mz-filters-head {
        display: flex; align-items: center; justify-content: space-between;
        position: sticky; top: 0; background: var(--mz-card); padding: .85rem 0 .75rem; margin-bottom: .25rem;
    }
    .mz-filters-head strong { font-size: .98rem; font-weight: 800; color: var(--mz-text); }
    .mz-filters-close {
        display: flex; align-items: center; justify-content: center;
        width: 2.1rem; height: 2.1rem; border-radius: 999px; border: 0; background: var(--mz-surface);
        color: var(--mz-text-2); font-size: 1rem; cursor: pointer;
    }
    .mz-filters-close:hover { background: var(--mz-border); }
}
@keyframes mz-sheet-in { from { transform: translateY(20px); opacity: .5; } to { transform: translateY(0); opacity: 1; } }
@media (min-width: 1024px) { .mz-filters, .mz-filters.is-open { display: block; margin-top: 0; position: sticky; top: 1rem; } }
.mz-no-js .mz-filters { display: block; }

.mz-facet { background: var(--mz-card); border: 1px solid var(--mz-border); border-radius: var(--mz-radius); padding: .95rem 1rem .7rem; margin-bottom: .85rem; transition: border-color .15s, box-shadow .15s; }
.mz-facet:hover { border-color: var(--mz-border-2); }
.mz-facet-title { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--mz-muted); margin: 0 0 .55rem; }
.mz-facet ul { list-style: none; margin: 0; padding: 0; }
.mz-facet li a {
    display: flex; justify-content: space-between; align-items: center; gap: .5rem;
    padding: .4rem .5rem .4rem 1.85rem; margin: 0 -.5rem; border-radius: .5rem; position: relative;
    font-size: .875rem; color: var(--mz-text); text-decoration: none; line-height: 1.3;
    transition: background .12s;
}
.mz-facet li a::before {
    content: ""; position: absolute; left: .5rem; top: 50%; transform: translateY(-50%);
    width: 1.05rem; height: 1.05rem; border-radius: .35rem; border: 1.5px solid var(--mz-border-2);
    background: var(--mz-card); transition: background .15s, border-color .15s;
}
.mz-facet li a:hover { background: var(--mz-surface); }
.mz-facet li a:hover::before { border-color: var(--mz-primary); }
.mz-facet li a.is-active { background: var(--mz-primary-soft); color: var(--mz-primary); font-weight: 700; }
.mz-facet li a.is-active::before {
    background: var(--mz-primary); border-color: var(--mz-primary);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: center; background-size: .7rem;
}
.mz-facet li a span:last-child { font-size: .74rem; font-weight: 700; color: var(--mz-text-2); background: var(--mz-surface); border-radius: 999px; padding: .08rem .5rem; font-variant-numeric: tabular-nums; }
.mz-facet li a.is-active span:last-child { color: var(--mz-primary); background: #fff; }
.mz-facet details summary { cursor: pointer; font-size: .82rem; font-weight: 600; color: var(--mz-primary); padding: .45rem 0 .35rem; list-style: none; }
.mz-facet details summary::-webkit-details-marker { display: none; }
.mz-facet details summary:hover { text-decoration: underline; }

.mz-results-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .75rem; }
.mz-count { font-size: 1.02rem; color: var(--mz-text-2); margin: 0; }
.mz-count strong { color: var(--mz-text); font-weight: 800; }
.mz-relaxed-note { order: 3; flex-basis: 100%; margin: 0; font-size: .9rem; color: var(--mz-text-2); }

/* "Temel mevzuat" kutusu (İP-9): aranan konunun dayanağı olan kanun maddeleri, sonuç listesinin üstünde */
.mz-basis {
    margin: 0 0 1rem; padding: .9rem 1rem; border: 1px solid var(--mz-border); border-left: 4px solid var(--mz-primary);
    border-radius: var(--mz-radius); background: var(--mz-card);
}
.mz-basis-title { margin: 0; font-size: 1rem; font-weight: 800; color: var(--mz-text); }
.mz-basis-note { margin: .2rem 0 .6rem; font-size: .82rem; color: var(--mz-muted); }
.mz-basis-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.mz-basis-list li { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; min-width: 0; }
.mz-basis-list a { min-width: 0; color: var(--mz-primary); text-decoration: none; overflow-wrap: anywhere; }
.mz-basis-list a:hover strong, .mz-basis-list a:focus-visible strong { text-decoration: underline; }
.mz-basis-law {
    display: inline-block; margin-right: .3rem; padding: .05rem .45rem; border-radius: 999px; background: var(--mz-primary-soft);
    font-size: .75rem; font-weight: 700;
}
.mz-basis-name { color: var(--mz-text-2); }
.mz-basis-name::before { content: "— "; }
.mz-basis-count { flex: none; font-size: .78rem; color: var(--mz-muted); white-space: nowrap; }
@media (max-width: 575.98px) {
    .mz-basis-list li { flex-direction: column; gap: 0; }
}
.mz-active { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .85rem; }
.mz-active a {
    display: inline-flex; align-items: center; gap: .35rem; padding: .28rem .65rem; border-radius: 999px;
    background: var(--mz-primary-soft); color: var(--mz-primary); font-size: .8rem; font-weight: 600; text-decoration: none;
}
.mz-active a:hover { background: var(--mz-primary); color: #fff; }
.mz-active a.mz-clear { background: transparent; color: var(--mz-text-2); text-decoration: underline; }

.mz-sort { display: inline-flex; border: 1px solid var(--mz-border); border-radius: 999px; overflow: hidden; background: var(--mz-card); }
.mz-sort a { padding: .35rem .8rem; font-size: .8rem; font-weight: 600; color: var(--mz-text-2); text-decoration: none; }
.mz-sort a + a { border-left: 1px solid var(--mz-border); }
.mz-sort a.is-active { background: var(--mz-primary); color: #fff; }

.mz-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .7rem; }
.mz-item {
    position: relative; padding: 1.1rem 1.35rem 1.15rem;
    background: var(--mz-card); border: 1px solid var(--mz-border); border-radius: var(--mz-radius);
    box-shadow: 0 1px 2px rgba(16, 35, 63, .03);
    transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease;
}
/* Sol şerit çok göze batmasın diye ince ve düşük tonda: yalnızca hafif bir ipucu. */
.mz-item::before { content: ""; position: absolute; z-index: 1; left: 0; top: .6rem; bottom: .6rem; width: 2px; border-radius: 999px; background: var(--mz-primary); opacity: 0; transition: opacity .3s ease; }
.mz-item:hover { box-shadow: var(--mz-shadow); border-color: var(--mz-border-2); transform: translateY(-1px); }
.mz-item:hover::before { opacity: .4; }
.mz-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .9rem; font-size: .82rem; color: var(--mz-muted); margin-bottom: .5rem; }
.mz-meta-source { font-weight: 700; color: var(--mz-text-2); }
.mz-meta-no { max-width: 22rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-variant-numeric: tabular-nums; }
.mz-badge { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: .18rem .55rem; border-radius: .35rem; background: var(--mz-surface); color: var(--mz-text-2); }
/* Belge türü rozetleri tek tip nötr: sayfa tek bir vurgu rengine (marka mavisi) sadık kalır. */
.mz-badge--ok { background: #eaf6ee; color: #1c7a3f; }
.mz-badge--warn { background: #fdf4e3; color: #9a6300; }
/* Yürürlük (İP-17): tamamen yürürlükten kaldırılmış belge */
.mz-badge--repealed { background: #fdeceb; color: #a4262c; }

/* Terim açıklaması (Arapça kökenli terimin Türkçe anlamı; mevzuat-terms.js) */
.mz-term { text-decoration: underline dotted; text-decoration-thickness: 1px; text-underline-offset: 3px; cursor: help; }
.mz-term:focus-visible { outline: 2px solid var(--mz-primary); outline-offset: 2px; border-radius: 2px; }
.mz-badge .mz-term { text-decoration-color: currentColor; }
.mz-tip {
    position: fixed; z-index: 1000; max-width: min(300px, calc(100vw - 16px)); padding: .5rem .65rem; border-radius: .5rem;
    background: #10233f; color: #fff; font-size: .82rem; font-weight: 500; line-height: 1.45; letter-spacing: 0; text-transform: none;
    box-shadow: 0 8px 24px rgba(16, 35, 63, .25); pointer-events: none;
}
.mz-tip[hidden] { display: none; }

/* Dipnotlar ("[77]" → kanun metninin sonundaki değişiklik açıklaması) */
.mz-fn { font-size: .72em; line-height: 0; margin-left: .05em; }
.mz-fn a { text-decoration: none; font-weight: 700; color: var(--mz-primary); }
.mz-fn a:hover, .mz-fn a:focus-visible { text-decoration: underline; }
.mz-footnotes { margin-top: 1.25rem; padding-top: .9rem; border-top: 1px solid var(--mz-border); font-size: .85rem; color: var(--mz-text-2); }
.mz-footnotes-title { margin: 0 0 .4rem; font-weight: 800; color: var(--mz-text); }
.mz-footnotes ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.mz-footnotes-no { font-weight: 700; color: var(--mz-primary); }
.mz-fn-note:target, .mz-footnotes li:target { background: #fff8e6; border-radius: .35rem; }
/* Ayraç nokta yok: satır kırılınca yeni satırın başına düşüyordu; öğeler boşlukla ayrılır. */
.mz-meta .mz-dot::before { content: none; }
.mz-doc-meta .mz-dot::before { content: "·"; margin-right: .6rem; color: var(--mz-border-2); }
.mz-item-title { margin: 0; font-size: 1.08rem; line-height: 1.45; font-weight: 800; letter-spacing: -.01em; }
/* inline-flex burada kullanılmaz: vurgulanan her sözcük (<mark>) ayrı kutu olup başlığı sütunlara bölüyordu. */
.mz-item-title a { display: inline; color: var(--mz-text); text-decoration: none; }
.mz-item-title a:hover { color: var(--mz-primary); text-decoration: underline; }
.mz-item-title a::after { content: "→"; display: inline-block; margin-left: .35rem; font-weight: 600; opacity: 0; transform: translateX(-3px); transition: opacity .25s ease, transform .25s ease; }
.mz-item-title a:hover::after { opacity: 1; transform: none; }
.mz-snippet { margin: .5rem 0 0; font-size: .9rem; line-height: 1.65; color: var(--mz-text-2); overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mz mark { background: #fde68a; color: #10233f; padding: 0 .12em; border-radius: .2em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.mz-item-title mark { background: #fef3c7; box-shadow: inset 0 -2px 0 #f59e0b; padding: 0; }

.mz-empty { background: var(--mz-card); border: 1px dashed var(--mz-border-2); border-radius: var(--mz-radius); padding: 2rem 1.5rem; text-align: center; color: var(--mz-text-2); }
.mz-empty h2 { font-size: 1.05rem; margin: 0 0 .4rem; color: var(--mz-text); }

.mz-pages { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem; margin-top: 1.25rem; }
.mz-pages a, .mz-pages span {
    min-width: 2.25rem; text-align: center; padding: .45rem .7rem; border-radius: .6rem;
    border: 1px solid var(--mz-border); background: var(--mz-card); font-size: .85rem; font-weight: 600; text-decoration: none; color: var(--mz-text);
}
.mz-pages a:hover { border-color: var(--mz-primary); color: var(--mz-primary); }
.mz-pages .is-current { background: var(--mz-primary); border-color: var(--mz-primary); color: #fff; }
.mz-pages .is-gap { border: 0; background: transparent; }

.mz-note { margin-top: 1.25rem; font-size: .78rem; color: var(--mz-muted); line-height: 1.5; }

/* ---------- Belge sayfası ---------- */
.mz-doc-layout { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); padding: 1.5rem 0 3rem; }
@media (min-width: 1024px) { .mz-doc-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 2rem; } }
.mz-doc-meta { display: flex; flex-wrap: wrap; gap: .4rem .75rem; align-items: center; margin-top: .75rem; font-size: .85rem; color: var(--mz-text-2); }
.mz-article {
    background: var(--mz-card); border: 1px solid var(--mz-border); border-radius: var(--mz-radius);
    padding: 1.25rem 1.1rem; font-size: 1rem; line-height: 1.8; color: #1b2b44;
}
@media (min-width: 768px) { .mz-article { padding: 2rem 2.25rem; font-size: 1.02rem; } }
.mz-article p { margin: 0 0 .9rem; overflow-wrap: anywhere; }
.mz-article p:last-child { margin-bottom: 0; }
.mz-article mark.is-current { background: #ffc94d; box-shadow: 0 0 0 2px #ffc94d; }
/* "BİRİNCİ BÖLÜM", "Amaç ve kapsam", "MADDE 1-" gibi kısa/noktalamasız satırlar başlık gibi ayrışır. */
.mz-article .mz-art-heading { margin: 1.5em 0 .5em; font-weight: 800; font-size: 1.05em; color: var(--mz-text); letter-spacing: -.005em; }
.mz-article .mz-art-heading:first-child { margin-top: 0; }
.mz-article p + .mz-art-heading { padding-top: .15em; }

.mz-alert { border-radius: .75rem; padding: .9rem 1rem; font-size: .875rem; line-height: 1.55; margin-bottom: 1rem; }
.mz-alert--warn { background: #fff8e6; border: 1px solid #f6d68b; color: #7a4d00; }
.mz-alert--info { background: var(--mz-surface); border: 1px solid var(--mz-border); color: var(--mz-text-2); }
/* Özelgenin dayanağı yürürlükten kaldırılmış (İP-17) */
.mz-alert--danger { background: #fdeceb; border: 1px solid #f3b4b0; color: #7f1d1d; }
.mz-alert a { font-weight: 700; color: inherit; }

.mz-aside { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 1024px) { .mz-aside-sticky { position: sticky; top: 1rem; } }
.mz-card { background: var(--mz-card); border: 1px solid var(--mz-border); border-radius: var(--mz-radius); padding: 1.1rem 1.2rem; box-shadow: 0 1px 2px rgba(16, 35, 63, .03); }
.mz-card h2 { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--mz-muted); margin: 0 0 .8rem; }
.mz-dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .6rem .9rem; font-size: .85rem; }
.mz-dl dt { color: var(--mz-muted); }
.mz-dl dd { margin: 0; color: var(--mz-text); font-weight: 600; overflow-wrap: anywhere; }
.mz-actions { display: grid; gap: .55rem; margin-top: 1rem; }
.mz-btn {
    display: inline-flex; justify-content: center; align-items: center; gap: .45rem;
    padding: .65rem .9rem; border-radius: .65rem; font-size: .86rem; font-weight: 700; text-decoration: none; cursor: pointer;
    border: 1px solid var(--mz-border-2); background: var(--mz-card); color: var(--mz-text);
    transition: border-color .15s, color .15s, background .15s, box-shadow .15s, transform .1s;
}
.mz-btn:hover { border-color: var(--mz-primary); color: var(--mz-primary); box-shadow: 0 4px 14px rgba(16, 35, 63, .08); }
.mz-btn:active { transform: scale(.98); }
.mz-btn--primary { background: var(--mz-primary); border-color: var(--mz-primary); color: #fff; }
.mz-btn--primary:hover { background: var(--mz-primary-hover); color: #fff; box-shadow: 0 8px 20px rgba(23, 78, 166, .25); }
.mz-btn svg { width: 1rem; height: 1rem; flex: none; }
.mz-related { list-style: none; margin: 0; padding: 0; }
.mz-related li + li { border-top: 1px solid var(--mz-border); }
.mz-related a { display: block; padding: .6rem 0; text-decoration: none; font-size: .85rem; line-height: 1.4; color: var(--mz-text); font-weight: 600; transition: transform .15s; }
.mz-related a:hover { color: var(--mz-primary); transform: translateX(2px); }
.mz-related small { display: block; font-weight: 500; color: var(--mz-muted); font-size: .75rem; margin-top: .15rem; }

/* Mevzuat'tan hizmete köprü (İP-16). İki DOM kopyası: --aside (masaüstü, künyenin altında) ve
   --inline (mobil, metnin altında) aynı içeriği taşır, kırılım birini gizler; --list (arama sonucu)
   her genişlikte tek kopya. */
.mz-bridge { border-color: var(--mz-primary); }
.mz-bridge h2 { text-transform: none; letter-spacing: 0; font-size: .95rem; color: var(--mz-text); }
.mz-bridge-text { margin: 0; font-size: .85rem; line-height: 1.55; color: var(--mz-text-2); }
.mz-bridge-note { margin: .7rem 0 0; font-size: .72rem; color: var(--mz-muted); }
.mz-bridge--aside { display: none; }
.mz-bridge--list { margin-top: 1.5rem; }
@media (min-width: 1024px) {
    .mz-bridge--aside { display: block; }
    .mz-bridge--inline { display: none; }
}

.mz-findbar {
    position: fixed; left: 50%; bottom: 1rem; transform: translateX(-50%); z-index: 40;
    display: flex; align-items: center; gap: .5rem; padding: .45rem .5rem .45rem .9rem;
    background: var(--mz-text); color: #fff; border-radius: 999px; box-shadow: 0 10px 30px rgba(16, 35, 63, .25);
    font-size: .82rem; font-weight: 600;
}
.mz-findbar button { border: 0; background: rgba(255, 255, 255, .14); color: #fff; width: 2rem; height: 2rem; border-radius: 999px; cursor: pointer; font-size: .9rem; }
.mz-findbar button:hover { background: rgba(255, 255, 255, .28); }
.mz-findbar a { color: #fff; opacity: .8; text-decoration: none; padding: 0 .4rem; }
.mz-toast { position: fixed; right: 1rem; bottom: 1rem; z-index: 50; background: #1c7a3f; color: #fff; padding: .6rem .9rem; border-radius: .6rem; font-size: .85rem; font-weight: 600; opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .2s; pointer-events: none; }
.mz-toast.is-visible { opacity: 1; transform: none; }

@media print {
    .mz-hero .mz-search, .mz-aside, .mz-findbar, .mz-toast, header, footer, .basvuru-tepsi-bar { display: none !important; }
    .mz-doc-layout { display: block; }
    .mz-article { border: 0; padding: 0; }
}

/*
 * Tema bağlantı kuralı (hn-vergi-m-theme.css: ".theme-hn-vergi-m a:not(...)×13") her bağlantının
 * altını çizip rengini değiştiriyor; seçicisi o kadar ağır ki sınıfla ezilemiyor. Yalnızca bu
 * sayfanın kendi bileşenlerinde !important ile geri alınır.
 */
.mz a { text-decoration: none !important; }
.mz-crumbs a, .mz-link, .mz-search-hint a { color: var(--mz-primary) !important; }
.mz-crumbs a:hover, .mz-link:hover, .mz-alert a, .mz-item-title a:hover, .mz-active a.mz-clear { text-decoration: underline !important; }
.mz-source, .mz-facet li a, .mz-item-title a, .mz-related a, .mz-chip, .mz-pages a { color: var(--mz-text) !important; }
.mz-chip:hover, .mz-item-title a:hover, .mz-related a:hover, .mz-pages a:hover { color: var(--mz-primary) !important; }
.mz-chip.is-active, .mz-sort a.is-active, .mz-active a:hover, .mz-btn--primary, .mz-btn--primary:hover, .mz-findbar a { color: #fff !important; }
.mz-facet li a.is-active, .mz-active a, a.mz-badge { color: var(--mz-primary) !important; }
.mz-sort a { color: var(--mz-text-2) !important; }
.mz-active a.mz-clear { color: var(--mz-text-2) !important; }
/* Birincil düğme hariç: aynı özgüllükte sonra geldiği için "Resmî kaynakta görüntüle"yi mavi zeminde lacivert yazıya
   çeviriyordu (tasarım denetimi 2026-09-26). */
.mz-btn:not(.mz-btn--primary) { color: var(--mz-text) !important; }
.mz-btn:not(.mz-btn--primary):hover { color: var(--mz-primary) !important; }
.mz-alert a { color: inherit !important; }

/* ---------- Arama önerileri (mevzuat-search.js) ---------- */
.mz-search { position: relative; }
.mz-suggest {
    position: absolute; left: 0; right: 0; top: 100%; z-index: 30; /* top: JS arama kutusunun altına hizalar */
    margin-top: .4rem; max-height: min(70vh, 34rem); overflow-y: auto;
    background: var(--mz-card); border: 1px solid var(--mz-border-2); border-radius: 1rem;
    box-shadow: 0 18px 44px rgba(16, 35, 63, .18); padding: .4rem 0;
}
.mz-suggest[hidden] { display: none; }
.mz-suggest-group + .mz-suggest-group { border-top: 1px solid var(--mz-border); margin-top: .3rem; padding-top: .3rem; }
.mz-suggest-title { margin: .35rem 1rem .2rem; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--mz-muted); }
.mz-suggest-item { display: flex; align-items: center; gap: .75rem; padding: .55rem 1rem; font-size: .95rem; line-height: 1.35; cursor: pointer; }
.mz-suggest-item:hover, .mz-suggest-item.is-active { background: var(--mz-surface); }
.mz-suggest-icon { flex: none; width: 1.1rem; height: 1.1rem; color: var(--mz-muted); }
.mz-suggest-icon svg { width: 100%; height: 100%; }
.mz-suggest-text { flex: 1; min-width: 0; color: var(--mz-text); font-weight: 400; }
.mz-suggest-text b { font-weight: 700; }
.mz-suggest-text small { display: block; margin-top: .1rem; font-size: .76rem; color: var(--mz-muted); }
.mz-suggest-item--doc .mz-suggest-text { font-weight: 600; font-size: .9rem; }
.mz-suggest-aside { flex: none; font-size: .74rem; font-weight: 600; color: var(--mz-muted); white-space: nowrap; }
.mz-suggest-item, .mz-suggest-item:hover { color: var(--mz-text) !important; text-decoration: none !important; }
@media (max-width: 639px) { .mz-suggest-aside { display: none; } }

/* Bir mevzuatın metinleri ve değişiklikleri (ilk metin, güncel metin, değişiklik düzenlemeleri) */
.mz-family { border: 1px solid var(--mz-border); background: var(--mz-card); border-radius: var(--mz-radius); padding: 1rem 1.1rem .85rem; margin-bottom: 1rem; }
.mz-family-lead { margin: 0 0 .7rem; font-size: .9rem; line-height: 1.55; color: var(--mz-text-2); }
.mz-family-lead strong { color: var(--mz-text); }
.mz-family-h { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--mz-muted); margin: .9rem 0 .3rem; }
.mz-family-h small { text-transform: none; letter-spacing: 0; font-weight: 600; }
.mz-family-list { list-style: none; margin: 0; padding: 0; }
.mz-family-list li { display: grid; grid-template-columns: minmax(7.5rem, 13rem) 1fr; gap: .2rem .9rem; padding: .5rem 0; border-top: 1px solid var(--mz-border); font-size: .85rem; line-height: 1.4; }
.mz-family-list li:first-child { border-top: 0; }
.mz-family-list li.is-current { background: var(--mz-surface); margin: 0 -.6rem; padding-left: .6rem; padding-right: .6rem; border-radius: .5rem; }
.mz-family-role { color: var(--mz-muted); font-weight: 700; font-size: .78rem; }
.mz-family-title { font-weight: 600; color: var(--mz-text); }
a.mz-family-title { text-decoration: none; color: var(--mz-text) !important; }
a.mz-family-title:hover { color: var(--mz-primary) !important; text-decoration: underline !important; }
.mz-family-title em { font-style: normal; font-weight: 700; color: var(--mz-primary); }
.mz-family-more summary { cursor: pointer; font-size: .82rem; font-weight: 700; color: var(--mz-primary); padding: .35rem 0; }
.mz-family-note { margin: .75rem 0 0; font-size: .78rem; color: var(--mz-muted); line-height: 1.5; }
.mz-badge--version { background: var(--mz-surface); color: var(--mz-text-2); }
@media (max-width: 640px) { .mz-family-list li { grid-template-columns: 1fr; } }

/* "Bize yazın" — hata bildirimi / soru-hizmet talebi (sayfada yayımlanmaz) */
.mz-feedback { margin-top: 1.5rem; background: var(--mz-card); border: 1px solid var(--mz-border); border-radius: var(--mz-radius); }
.mz-feedback-summary { list-style: none; cursor: pointer; padding: 1rem 1.2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.mz-feedback-summary::-webkit-details-marker { display: none; }
.mz-feedback-summary::after { content: "+"; font-size: 1.25rem; font-weight: 700; color: var(--mz-primary); flex: none; }
.mz-feedback[open] .mz-feedback-summary::after { content: "−"; }
.mz-feedback-summary strong { display: block; font-size: 1rem; color: var(--mz-text); }
.mz-feedback-summary small { display: block; font-size: .85rem; color: var(--mz-text-2); margin-top: .15rem; }
.mz-feedback-form { padding: 0 1.2rem 1.2rem; display: grid; gap: .85rem; }
.mz-feedback-kinds { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.mz-feedback-kinds label { display: flex; gap: .6rem; align-items: flex-start; padding: .7rem .8rem; border: 1px solid var(--mz-border); border-radius: .65rem; cursor: pointer; transition: border-color .15s, background .15s; }
.mz-feedback-kinds label:has(input:checked) { border-color: var(--mz-primary); background: var(--mz-surface); }
.mz-feedback-kinds input { margin-top: .2rem; accent-color: var(--mz-primary); }
.mz-feedback-kinds strong { display: block; font-size: .9rem; color: var(--mz-text); }
.mz-feedback-kinds small { display: block; font-size: .78rem; color: var(--mz-muted); margin-top: .1rem; }
.mz-field { display: grid; gap: .3rem; font-size: .85rem; }
.mz-field > span { font-weight: 700; color: var(--mz-text); }
.mz-field > span b { color: #c2410c; }
.mz-field input, .mz-field textarea { width: 100%; box-sizing: border-box; border: 1px solid var(--mz-border); border-radius: .55rem; padding: .6rem .7rem; font: inherit; font-size: .9rem; color: var(--mz-text); background: var(--mz-card); }
.mz-field input:focus, .mz-field textarea:focus { outline: 2px solid var(--mz-primary); outline-offset: 0; border-color: var(--mz-primary); }
.mz-field textarea { resize: vertical; min-height: 6rem; }
.mz-field-error { font-style: normal; font-size: .8rem; color: #b91c1c; }
.mz-field-error:empty { display: none; }
.mz-feedback-contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.mz-feedback-hint { grid-column: 1 / -1; margin: 0; font-size: .8rem; color: var(--mz-muted); }
.mz-feedback-terms { display: flex; gap: .55rem; align-items: flex-start; font-size: .82rem; color: var(--mz-text-2); line-height: 1.5; }
.mz-feedback-terms input { margin-top: .2rem; accent-color: var(--mz-primary); }
.mz-feedback-terms a { color: var(--mz-primary) !important; font-weight: 700; }
.mz-feedback-terms small { color: var(--mz-muted); }
.mz-feedback-actions { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; }
.mz-feedback-actions small { font-size: .78rem; color: var(--mz-muted); }
.mz-feedback-actions button[disabled] { opacity: .6; cursor: wait; }
.mz-feedback-sent { padding: .75rem .9rem; border-radius: .6rem; background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; font-size: .88rem; font-weight: 600; }
.mz-feedback-sent[hidden] { display: none; }
.mz-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 640px) {
    .mz-feedback-kinds, .mz-feedback-contact { grid-template-columns: 1fr; }
}

/* ==========================================================================
   İP-15 — Arama merkezli, yapay zekâ ajanı görünümlü üst bant (kullanıcı isteği 2026-09-25:
   "modern, arama motoru odaklı; yapay zekâ ajanı görünümü ve nebula; Vergi Merkezi'ni yansıtmalı").
   Renkler: marka laciverti (--mz-primary), Vergi Merkezi kırmızısı (logo), bir tutam mor.
   ========================================================================== */
.mz {
    --mz-brand-red: #d7262e;
    --mz-violet: #6d4bd8;
}

/* Nebula: bölümün arkasında kendi katmanında; bölüm kırpılmaz (öneri listesi taşabilsin). Üstte ve altta
   maskeyle yumuşakça söner — kırpma sınırı keskin çizgi olarak görünmesin (kullanıcı bildirdi 2026-09-25). */
.mz-nebula {
    position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 18%, #000 70%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 18%, #000 70%, transparent 100%);
}
/* Üst bant sayfaya akar: alt kenarda çizgi ve renk kırılması yok. */
/* Üstte menünün arkasındaki zeminle (--mz-bg) aynı renkte başlar: y≈70'teki keskin çizgi kalkar (denetim 2026-09-26). */
.mz-hero { border-bottom: 0; background: linear-gradient(180deg, var(--mz-bg) 0%, #fff 18%, #fff 58%, var(--mz-bg) 100%); }
.mz-hero + .mz-section, .mz-hero + .mz-body { border-top: 0; }
.mz-nebula span {
    position: absolute; width: 34rem; height: 34rem; border-radius: 50%;
    opacity: .9; will-change: transform;
    animation: mz-drift 26s ease-in-out infinite alternate;
}
.mz-nebula span:nth-child(1) { top: -18rem; left: -4rem; background: radial-gradient(circle, rgba(23, 78, 166, .30), transparent 66%); }
.mz-nebula span:nth-child(2) { top: -10rem; right: -8rem; background: radial-gradient(circle, rgba(215, 38, 46, .19), transparent 64%); animation-delay: -9s; animation-duration: 31s; }
.mz-nebula span:nth-child(3) { bottom: -22rem; left: 36%; background: radial-gradient(circle, rgba(109, 75, 216, .21), transparent 66%); animation-delay: -17s; animation-duration: 36s; }
/* İnce yıldız tozu: nebula dokusu (tek katman, hareketsiz, çok hafif). */
.mz-hero--agent .mz-nebula::before {
    content: ""; position: absolute; inset: 0; opacity: .5;
    background-image: radial-gradient(rgba(23, 78, 166, .16) 1px, transparent 1.4px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 70%);
    mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 70%);
}
@keyframes mz-drift {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(3.5rem, 1.5rem, 0) scale(1.08); }
    100% { transform: translate3d(-2.5rem, -1rem, 0) scale(.95); }
}

.mz-kicker { display: inline-flex; align-items: center; gap: .4rem; }
.mz-suggest-item--direct { background: var(--mz-primary-soft); }
.mz-suggest-item--direct .mz-suggest-icon { color: var(--mz-primary); }
.mz-spark { color: var(--mz-brand-red); flex: none; }
.mz-lead code { background: var(--mz-primary-soft); color: var(--mz-primary); padding: .08rem .45rem; border-radius: .35rem; font-size: .92em; font-weight: 700; }

/* İstem kutusu: akan nebula kenarlık + beyaz iç yüzey + içinde kapsam seçimi. Geniş ve yüksek (kullanıcı
   isteği: "arama barı geniş, arama alanı daha yüksek, boşluğun çekiciliğiyle"). */
.mz-search { max-width: 60rem; margin-top: 2rem; }
/* Belirme animasyonu her öğeye kendi katmanını açar; form sonraki kardeşlerin (sık arananlar, güven şeridi)
   üstünde kalmalı, yoksa öneri listesi onların altında kalıyor (kullanıcı bildirdi 2026-09-25). */
.mz-hero .mz-search { position: relative; z-index: 20; }
.mz-prompt {
    position: relative;
    border-radius: 1.35rem;
    padding: 1.5px;
    background: linear-gradient(115deg, rgba(23, 78, 166, .55), rgba(109, 75, 216, .45), rgba(215, 38, 46, .42), rgba(23, 78, 166, .55));
    background-size: 300% 300%;
    animation: mz-flow 9s linear infinite;
    box-shadow: 0 18px 48px rgba(23, 78, 166, .14), 0 2px 6px rgba(16, 35, 63, .06);
    transition: box-shadow .2s;
}
.mz-prompt:focus-within { box-shadow: 0 0 0 5px var(--mz-primary-soft), 0 22px 56px rgba(23, 78, 166, .22); animation-duration: 4s; }
@keyframes mz-flow { from { background-position: 0% 50%; } to { background-position: 300% 50%; } }
.mz-prompt > * { background: var(--mz-card); }
/* Alt köşeler yalnız altında tür çipleri şeridi varken düz (kutu şeride bitişir). ":only-child" yetmiyordu: JS'in eklediği
   gizli öneri listesi (.mz-suggest[hidden]) de kardeş sayılıyor, liste sayfalarında alt köşeler kesik görünüyordu
   (kullanıcı bildirimi 2026-09-26). :has desteklemeyen tarayıcıda kutu tam yuvarlak kalır. */
.mz-prompt .mz-search-box {
    border: 0; box-shadow: none; transform: none;
    border-radius: calc(1.35rem - 1.5px);
}
.mz-prompt .mz-search-box:has(~ .mz-prompt-foot) { border-radius: calc(1.35rem - 1.5px) calc(1.35rem - 1.5px) 0 0; }
.mz-prompt .mz-search-box:focus-within { box-shadow: none; transform: none; }
.mz-prompt .mz-search-input { padding: 1.7rem 1rem; font-size: 1.18rem; }
.mz-prompt .mz-search-icon { padding-left: 1.5rem; }
.mz-prompt .mz-search-icon svg { width: 22px; height: 22px; }
.mz-send { width: 3.25rem; min-height: 3.25rem; padding: 0; justify-content: center; margin: .45rem .5rem .45rem 0; align-self: center; border-radius: 50%;
    background: linear-gradient(135deg, var(--mz-primary), #2a63c6); box-shadow: 0 6px 16px rgba(23, 78, 166, .3); }
.mz-send:hover { background: linear-gradient(135deg, var(--mz-primary-hover), var(--mz-primary)); }
.mz-prompt-foot {
    display: flex; flex-wrap: wrap; align-items: center; gap: .35rem;
    padding: .1rem 1rem 1rem 1.35rem;
    border-radius: 0 0 calc(1.35rem - 1.5px) calc(1.35rem - 1.5px);
}
.mz-scope {
    border: 1px solid var(--mz-border); background: var(--mz-surface); color: var(--mz-text-2);
    border-radius: 999px; padding: .28rem .72rem; font-size: .78rem; font-weight: 700; cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
}
.mz-scope:hover { border-color: var(--mz-primary); color: var(--mz-primary); background: var(--mz-card); }
.mz-scope.is-active { background: var(--mz-primary); border-color: var(--mz-primary); color: #fff; }
.mz-kbd { margin-left: auto; font-size: .72rem; color: var(--mz-muted); }
.mz-kbd kbd { font-family: inherit; border: 1px solid var(--mz-border-2); border-bottom-width: 2px; border-radius: .35rem; padding: .02rem .42rem; background: var(--mz-card); }
.mz-search-hint { margin-left: 1.2rem; }
.mz-quick-label { font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--mz-muted); margin-right: .2rem; align-self: center; }

/* Açılış: ortalanmış, ferah "ajan" yerleşimi. Diğer sayfalarda sonuçlar yukarıda kalsın diye sade. */
.mz-hero--agent { text-align: center; }
/* Boşluk bir tasarım öğesi: açılışta başlık ve kutunun etrafında ferah alan. */
@media (min-width: 768px) {
    /* Üst boşluk kullanıcı isteğiyle artırıldı (2026-09-27): nav ile "Ana Sayfa / Mevzuat Merkezi"
       arası daha ferah olsun. */
    .mz-hero--agent { padding: 7rem 0 5rem; }
    .mz-hero--agent .mz-search { margin-top: 2.75rem; }
    .mz-hero--agent .mz-quick { margin-top: 1.75rem; }
    .mz-hero--agent .mz-stats { margin-top: 2.25rem; }
    .mz-hero:not(.mz-hero--agent) { padding: 3rem 0 3.25rem; }
}
.mz-hero--agent .mz-crumbs { justify-content: center; }
.mz-hero--agent .mz-title { font-size: clamp(1.9rem, 4.4vw, 3rem); background: linear-gradient(100deg, var(--mz-text) 30%, var(--mz-primary) 70%, var(--mz-violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mz-hero--agent .mz-lead { margin-left: auto; margin-right: auto; }
.mz-hero--agent .mz-search { margin-left: auto; margin-right: auto; text-align: left; }
.mz-hero--agent .mz-quick, .mz-hero--agent .mz-stats { justify-content: center; }
.mz-hero--agent .mz-stats { text-align: center; }

/* Kanun sayfası: "VUK 257" aramasıyla gelinen madde, sabit başlığın altında kalmasın ve fark edilsin. */
.mz-article .mz-art-anchor { scroll-margin-top: 6rem; }
.mz-article .mz-art-anchor:target { background: var(--mz-mark); box-shadow: 0 0 0 .4rem var(--mz-mark); border-radius: .2rem; transition: background 1.2s; }

@media (max-width: 639px) {
    /* Sağda gönder düğmesine metin değmesin (kullanıcı bildirdi 2026-09-27: mobilde yazı yuvarlak düğmenin
       altına giriyormuş gibi görünüyordu). */
    .mz-prompt .mz-search-input { padding: 1rem 1.1rem 1rem .6rem; font-size: 1rem; }
    .mz-send { width: 2.5rem; min-height: 2.5rem; margin: .5rem .65rem .5rem 0; box-shadow: 0 4px 10px rgba(23, 78, 166, .25); }
    .mz-prompt-foot { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: .7rem; }
    /* Sağda beyaza solma: satırın kaydırılabildiği anlaşılsın (denetim 2026-09-26). Maske değil üst katman —
       maske satırın beyaz zeminini de saydamlaştırıp kenarlığın rengini içeri sızdırıyordu. */
    .mz-prompt-foot::after { content: ""; position: sticky; right: -.9rem; flex: none; align-self: stretch;
        width: 2.2rem; margin-left: -2.2rem; background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff 80%); pointer-events: none; }
    .mz-prompt-foot::-webkit-scrollbar { display: none; }
    .mz-scope { flex: none; min-height: 2.15rem; padding: .35rem .8rem; }
    .mz-kbd { display: none; }
    .mz-search-hint { display: none; }

    /* Sık arananlar + güven şeridi mobilde çok göze batıyordu (kullanıcı bildirdi 2026-09-27:
       "fazla dikkat çekiyor, karmaşaya sebep oluyor") — arama kutusu asıl odak kalsın diye ikisi de
       sadeleştirildi: çipler tek satırda kaydırılabilir (prompt-foot ile aynı desen), güven şeridi
       kutulu ikonlardan düz, küçük bir alt bilgi satırına indirgendi. */
    .mz-quick, .mz-hero--agent .mz-quick {
        flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-top: .75rem; padding-bottom: .15rem;
        gap: .35rem;
        /* "justify-content: center" (ajan görünümü) taşan bir satırda ilk çipleri ekranın soluna,
           erişilemez negatif kaydırma alanına itiyordu (denetim 2026-09-27) — mobilde satır her
           zaman baştan (sola yaslı) başlasın. */
        justify-content: flex-start;
    }
    .mz-quick::-webkit-scrollbar { display: none; }
    .mz-quick-label { flex: none; }
    /* Bir bakışta daha fazla çip görünsün diye küçültüldü (kullanıcı bildirdi 2026-09-27: "çok az
       seçenek oluyor, biraz daha küçülsek iyi olur"). */
    .mz-chip { flex: none; padding: .25rem .55rem; font-size: .72rem; }

    /* Daha da küçültüldü, ikonlar kaldırıldı (kullanıcı bildirdi 2026-09-27: "daha küçük gösterip az
       yer kaplamamız lazım") — düz, tek satıra yakın küçük bir bilgi metni.
       ".mz-hero--agent " öneki şart: bu kuralların koşulsuz (medya sorgusu dışı) hâli dosyada DAHA
       SONRA tanımlı (aşağıda, ~660. satır) ve aynı özgüllükte olduğu için sırayla onları eziyordu —
       önceki denemede mobilde hiç görünmemişti (denetim 2026-09-27). */
    .mz-hero--agent .mz-trust, .mz-trust { gap: .25rem .65rem; margin-top: .6rem; font-size: .68rem; }
    .mz-hero--agent .mz-trust > div, .mz-trust > div { gap: .3rem; }
    .mz-hero--agent .mz-trust-icon, .mz-trust-icon { display: none; }
    .mz-hero--agent .mz-trust strong, .mz-trust strong { font-size: .76rem; }
}
/* ---------- İP-15 · tasarım turu 2 (kullanıcı: "tasarımı daha da iyileştir") ---------- */
.mz {
    --mz-fam-idare: var(--mz-primary);
    --mz-fam-yargi: var(--mz-violet);
    --mz-fam-sgk: var(--mz-brand-red);
}

/* Buzlu cam istem kutusu: nebula arkadan süzülür. */
/* İç yüzey saf beyaz: yarı saydamlık, alttaki renkli kenarlık katmanını içeri sızdırıp kutuyu lila-griye
   boyuyordu (denetim 2026-09-26). Işıma kenarlıkta ve dıştaki gölgede kalır. */
.mz-prompt > * { background: #fff; }
.mz-hero--agent .mz-search-hint { text-align: center; margin-left: 0; }
.mz-search-input::placeholder { color: #8a9ab0; transition: opacity .2s; }
/* Sitenin genel input stili (beyaz zemin) istem kutusunda ayrı bir dikdörtgen gibi görünmesin. */
.mz-prompt .mz-search-input, .mz-prompt .mz-search-input:focus { background: transparent !important; }

/* Güven şeridi */
.mz-trust { gap: .65rem 1.75rem; }
.mz-trust > div { display: inline-flex; align-items: center; gap: .6rem; text-align: left; }
.mz-trust strong { display: inline; font-size: 1.2rem; margin-right: .2rem; }
.mz-trust-icon { display: inline-flex; width: 2.1rem; height: 2.1rem; border-radius: .7rem; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .75); border: 1px solid var(--mz-border); color: var(--mz-primary); }
.mz-trust-icon svg { width: 1.05rem; height: 1.05rem; }

/* Açılış bantları: Resmî Gazete + temel kanunlar. Üst/alt boşluk artırıldı (kullanıcı bildirdi
   2026-09-27: güven şeridiyle bant, bant ile "Kurumlar" arası sıkışık görünüyordu). */
.mz-bands { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.mz-bands-grid { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); align-items: stretch; }
.mz-band { display: flex; flex-direction: column; }
.mz-band-note { margin-top: auto !important; padding-top: .8rem; }
.mz-band-empty { margin: .4rem 0 0; padding: .9rem 1rem; border: 1px dashed var(--mz-border-2); border-radius: .8rem; font-size: .84rem; line-height: 1.55; color: var(--mz-text-2); background: var(--mz-bg); }
.mz-band-empty a { color: var(--mz-primary) !important; font-weight: 700; }
@media (min-width: 960px) { .mz-bands-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); } }
.mz-band {
    background: var(--mz-card); border: 1px solid var(--mz-border); border-radius: 1.1rem;
    padding: 1.15rem 1.25rem 1rem; box-shadow: 0 1px 2px rgba(16, 35, 63, .03);
}
.mz-band-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .3rem 1rem; margin-bottom: .6rem; }
.mz-band-head .mz-section-title { margin: 0; display: inline-flex; align-items: center; gap: .55rem; }
.mz-band-date { font-size: .78rem; color: var(--mz-muted); font-weight: 600; }
.mz-band-date code { background: var(--mz-primary-soft); color: var(--mz-primary); padding: .05rem .4rem; border-radius: .3rem; font-weight: 700; }
.mz-band-note { margin: .6rem 0 0; font-size: .75rem; color: var(--mz-muted); }
.mz-live-dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--mz-brand-red); box-shadow: 0 0 0 0 rgba(215, 38, 46, .45); animation: mz-pulse 2.4s ease-out infinite; }
@keyframes mz-pulse { 0% { box-shadow: 0 0 0 0 rgba(215, 38, 46, .45); } 70% { box-shadow: 0 0 0 .55rem rgba(215, 38, 46, 0); } 100% { box-shadow: 0 0 0 0 rgba(215, 38, 46, 0); } }
.mz-gazette { list-style: none; margin: 0; padding: 0; }
.mz-gazette li { display: flex; align-items: baseline; gap: .7rem; padding: .55rem 0; border-top: 1px solid var(--mz-border); font-size: .9rem; line-height: 1.45; }
.mz-gazette li:first-child { border-top: 0; }
.mz-gazette a { color: var(--mz-text) !important; text-decoration: none; font-weight: 600; }
.mz-gazette a:hover { color: var(--mz-primary) !important; text-decoration: underline; }
.mz-rel { flex: none; font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: .15rem .5rem; border-radius: .35rem; background: var(--mz-primary-soft); color: var(--mz-primary); }
.mz-rel--sgk, .mz-rel--calisma { background: rgba(215, 38, 46, .08); color: #b21f26; }
.mz-rel--ticaret { background: rgba(109, 75, 216, .09); color: #5638b5; }
.mz-laws { display: grid; grid-template-columns: repeat(auto-fill, minmax(6.8rem, 1fr)); grid-auto-rows: 1fr; gap: .5rem; }
.mz-law {
    display: flex; flex-direction: column; gap: .1rem; padding: .6rem .75rem; border-radius: .8rem;
    border: 1px solid var(--mz-border); background: linear-gradient(180deg, #fff, var(--mz-bg));
    text-decoration: none; transition: border-color .2s, transform .2s, box-shadow .2s;
}
.mz-law:hover { border-color: var(--mz-primary); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(23, 78, 166, .12); }
.mz-law-no { font-size: .72rem; font-weight: 700; color: var(--mz-muted); font-variant-numeric: tabular-nums; }
.mz-law-short { font-size: .92rem; font-weight: 800; color: var(--mz-text); letter-spacing: -.01em; overflow-wrap: anywhere; line-height: 1.25; }
/* Kurum kartı: sayı başlıkla aynı hizada (7 px yukarıdaydı). */
.mz-source-head { align-items: center; }

/* Arama sonuç sayfası: üst bant kompakt — ilk sonuç ilk ekranda (İP-15 kabul ölçütü; masaüstünde y≈555, mobilde
   yalnız rozet görünüyordu). Kurum / tür / konu sayfalarının açıklaması (dizine giren) korunur. */
.mz-hero--search .mz-kicker, .mz-hero--search .mz-lead, .mz-hero--search .mz-search-hint { display: none; }
.mz-hero--search .mz-title { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
.mz-hero--search .mz-search { margin-top: .9rem; }
.mz-hero--search .mz-prompt .mz-search-input { padding: 1.05rem .9rem; font-size: 1.05rem; }
.mz-hero--search .mz-send { width: 2.75rem; min-height: 2.75rem; }
@media (min-width: 768px) { .mz-hero.mz-hero--search { padding: 1.5rem 0 1.25rem; } }
.mz-hero--search + .mz-body { padding-top: .5rem; }
/* Belge ve liste sayfalarında üst bant ile içerik arası daha sıkı. */
@media (min-width: 768px) { .mz-hero:not(.mz-hero--agent):not(.mz-hero--search) { padding: 2.5rem 0 2rem; } }

/* Kurum kartları: aile rengi ikon karosunda ve üst kenarda ince bir ışıkta. */
.mz-source { border-radius: 1.1rem; }
.mz-source::before { content: ""; position: absolute; left: 1.2rem; right: 1.2rem; top: 0; height: 2px; border-radius: 0 0 2px 2px; background: var(--mz-fam, var(--mz-primary)); opacity: .0; transition: opacity .3s; }
.mz-source:hover::before { opacity: .8; }
.mz-source:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(16, 35, 63, .1); }
.mz-source--idare { --mz-fam: var(--mz-fam-idare); }
.mz-source--yargi { --mz-fam: var(--mz-fam-yargi); }
.mz-source--sgk { --mz-fam: var(--mz-fam-sgk); }
.mz-source .mz-source-icon {
    color: #fff; background: linear-gradient(135deg, var(--mz-fam, var(--mz-primary)), color-mix(in srgb, var(--mz-fam, var(--mz-primary)) 65%, #fff));
    box-shadow: 0 6px 14px color-mix(in srgb, var(--mz-fam, var(--mz-primary)) 28%, transparent);
}

/* Sonuç kartı: aile rengi ince şeritte, hafifçe görünür (üzerine gelince belirginleşir). */
.mz-item--idare { --mz-fam: var(--mz-fam-idare); }
.mz-item--yargi { --mz-fam: var(--mz-fam-yargi); }
.mz-item--sgk { --mz-fam: var(--mz-fam-sgk); }
.mz-item { border-radius: 1rem; }
.mz-item::before { width: 3px; background: var(--mz-fam, var(--mz-primary)); opacity: .28; }
.mz-item:hover::before { opacity: .9; }

/* Açılış: bölümler yumuşakça belirir. */
.mz-hero--agent .mz-shell > * { animation: mz-rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.mz-hero--agent .mz-shell > *:nth-child(2) { animation-delay: .05s; }
.mz-hero--agent .mz-shell > *:nth-child(3) { animation-delay: .1s; }
.mz-hero--agent .mz-shell > *:nth-child(4) { animation-delay: .15s; }
.mz-hero--agent .mz-shell > *:nth-child(5) { animation-delay: .22s; }
.mz-hero--agent .mz-shell > *:nth-child(n+6) { animation-delay: .3s; }
.mz-rise { animation: mz-rise .8s .25s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes mz-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
    .mz-nebula span, .mz-prompt, .mz-live-dot, .mz-hero--agent .mz-shell > *, .mz-rise { animation: none; }
}
