/*
 * 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 ---------- */
.mz-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #fff 0%, var(--mz-bg) 100%);
    border-bottom: 1px solid var(--mz-border);
    padding: 1.5rem 0 1.75rem;
}
.mz-hero::before, .mz-hero::after {
    content: ""; position: absolute; z-index: 0; border-radius: 999px; pointer-events: none;
    filter: blur(2px);
}
.mz-hero::before {
    top: -12rem; right: -8rem; width: 26rem; height: 26rem;
    background: radial-gradient(closest-side, var(--mz-primary-soft), transparent 72%);
}
.mz-hero::after {
    bottom: -14rem; left: -10rem; width: 22rem; height: 22rem;
    background: radial-gradient(closest-side, rgba(23, 78, 166, .05), transparent 72%);
}
.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); }
.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; }
/* 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); }
.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; }

.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; }
.mz-btn { color: var(--mz-text) !important; }
.mz-btn: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; }
}
