:root {
    --hah-bg: #f4f5f7;
    --hah-panel: #ffffff;
    --hah-text: #17202a;
    --hah-muted: #667085;
    --hah-line: #e4e7ec;
    --hah-dark: #111827;
    --hah-soft: #eef1f4;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body.hah-portal {
    background: var(--hah-bg);
    color: var(--hah-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.hah-brand { font-size: 14px; font-weight: 800; letter-spacing: .12em; }
.hah-kicker, .hah-eyebrow { color: var(--hah-muted); font-size: 12px; font-weight: 700; letter-spacing: .14em; margin-top: 5px; }
.hah-muted { color: var(--hah-muted); }

.hah-login-shell { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.hah-login-card { width: min(100%, 440px); background: var(--hah-panel); border: 1px solid var(--hah-line); border-radius: 18px; padding: 36px; box-shadow: 0 18px 50px rgba(17,24,39,.08); }
.hah-login-card h1 { margin: 30px 0 6px; font-size: 28px; }
.hah-login-card form { margin-top: 28px; }
.hah-login-card label { display: block; margin: 16px 0 7px; font-size: 14px; font-weight: 700; }
.hah-login-card input { width: 100%; height: 48px; border: 1px solid #cfd4dc; border-radius: 10px; padding: 0 13px; font-size: 16px; outline: none; background: #fff; }
.hah-login-card input:focus { border-color: var(--hah-dark); box-shadow: 0 0 0 3px rgba(17,24,39,.08); }
.hah-login-card button { width: 100%; margin-top: 22px; height: 48px; border: 0; border-radius: 10px; background: var(--hah-dark); color: #fff; font-weight: 800; cursor: pointer; }
.hah-alert { margin-top: 18px; padding: 12px 14px; border: 1px solid #d0d5dd; border-radius: 10px; background: #fafafa; font-size: 14px; }
.hah-security-note { margin: 18px 0 0; color: var(--hah-muted); font-size: 12px; line-height: 1.5; }

.hah-layout { min-height: 100vh; display: grid; grid-template-columns: 260px 1fr; }
.hah-sidebar { background: var(--hah-dark); color: #fff; padding: 28px 20px; }
.hah-sidebar .hah-kicker { color: #98a2b3; }
.hah-sidebar nav { display: grid; gap: 7px; margin-top: 40px; }
.hah-sidebar nav a, .hah-sidebar nav span { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 10px 12px; border-radius: 9px; color: #d0d5dd; text-decoration: none; font-size: 14px; }
.hah-sidebar nav a.is-active { background: rgba(255,255,255,.10); color: #fff; font-weight: 800; }
.hah-sidebar nav span { opacity: .55; cursor: default; }
.hah-sidebar nav small { font-size: 10px; }

.hah-main { padding: 34px; }
.hah-topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.hah-topbar h1 { margin: 5px 0 0; font-size: 30px; }
.hah-eyebrow { margin: 0; }
.hah-userbox { display: flex; align-items: center; gap: 14px; font-size: 14px; }
.hah-userbox a { color: var(--hah-text); font-weight: 800; }
.hah-status-card { margin-top: 30px; padding: 22px; background: var(--hah-panel); border: 1px solid var(--hah-line); border-radius: 14px; }
.hah-status-card p { margin: 7px 0 0; color: var(--hah-muted); line-height: 1.55; }
.hah-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin-top: 18px; }
.hah-metrics article, .hah-foundation-grid article { background: var(--hah-panel); border: 1px solid var(--hah-line); border-radius: 14px; padding: 20px; }
.hah-metrics span { display: block; color: var(--hah-muted); font-size: 13px; }
.hah-metrics strong { display: block; font-size: 30px; margin-top: 10px; }
.hah-foundation-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin-top: 18px; }
.hah-foundation-grid h2 { margin: 0 0 8px; font-size: 17px; }
.hah-foundation-grid p { margin: 0; color: var(--hah-muted); line-height: 1.55; font-size: 14px; }

@media (max-width: 900px) {
    .hah-layout { grid-template-columns: 1fr; }
    .hah-sidebar { padding: 20px; }
    .hah-sidebar nav { margin-top: 22px; grid-template-columns: repeat(2,minmax(0,1fr)); }
    .hah-main { padding: 22px; }
    .hah-metrics, .hah-foundation-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .hah-login-card { padding: 26px 20px; }
    .hah-sidebar nav { grid-template-columns: 1fr; }
    .hah-topbar { align-items: flex-start; flex-direction: column; }
}

/* Bölüm 2 — Yeni Talep Gir */
.hah-section-note { margin-bottom: 18px; }
.hah-notice { margin: 18px 0; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--hah-line); background: #fff; display: flex; gap: 10px; align-items: flex-start; flex-wrap: wrap; }
.hah-notice strong { display: block; width: 100%; }
.hah-notice span { color: var(--hah-muted); font-size: 13px; }
.hah-notice ul { margin: 6px 0 0 18px; padding: 0; }
.hah-notice-success { border-color: #b7dbc2; background: #f4fbf6; }
.hah-notice-error { border-color: #e5b8b8; background: #fff7f7; }

.hah-request-form { margin-top: 18px; }
.hah-form-card { background: var(--hah-panel); border: 1px solid var(--hah-line); border-radius: 16px; padding: 24px; margin-bottom: 18px; }
.hah-form-card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 18px; margin-bottom: 20px; border-bottom: 1px solid var(--hah-line); }
.hah-form-card-head > div { display: flex; align-items: center; gap: 12px; }
.hah-form-card-head h2 { margin: 0; font-size: 19px; }
.hah-step { display: inline-grid; place-items: center; min-width: 34px; height: 34px; border-radius: 9px; background: var(--hah-dark); color: #fff; font-size: 12px; font-weight: 800; }
.hah-language-badge { border: 1px solid var(--hah-line); background: var(--hah-soft); border-radius: 999px; padding: 7px 10px; color: var(--hah-muted); font-size: 11px; font-weight: 800; letter-spacing: .04em; }

.hah-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.hah-form-grid-3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
.hah-col-2 { grid-column: span 2; }
.hah-field label { display: flex; align-items: center; gap: 5px; margin-bottom: 8px; font-size: 13px; font-weight: 800; }
.hah-field label b { color: #b42318; }
.hah-field label em { color: var(--hah-muted); font-size: 11px; font-style: normal; font-weight: 600; margin-left: 4px; }
.hah-field input, .hah-field select, .hah-field textarea { width: 100%; border: 1px solid #cfd4dc; border-radius: 10px; background: #fff; color: var(--hah-text); font: inherit; outline: none; }
.hah-field input, .hah-field select { min-height: 46px; padding: 0 12px; }
.hah-field select[multiple]:not(.hah-region-native) { min-height: 176px; padding: 8px; }
.hah-field textarea { padding: 12px; resize: vertical; line-height: 1.5; }
.hah-field input:focus, .hah-field select:focus, .hah-field textarea:focus { border-color: var(--hah-dark); box-shadow: 0 0 0 3px rgba(17,24,39,.07); }
.hah-field small { display: block; margin-top: 7px; color: var(--hah-muted); line-height: 1.45; font-size: 11px; }

.hah-form-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 6px 0 34px; }
.hah-form-actions-main { display: flex; justify-content: flex-end; gap: 10px; margin-left: auto; }
.hah-btn { min-height: 44px; border-radius: 10px; padding: 0 17px; font-weight: 800; font-size: 13px; cursor: pointer; border: 1px solid transparent; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; box-sizing: border-box; }
.hah-btn-primary { background: var(--hah-dark); border-color: var(--hah-dark); color: #fff; }
.hah-btn-secondary { background: #fff; border-color: #cfd4dc; color: var(--hah-text); }
.hah-btn-outline { background: transparent; border-color: var(--hah-dark); color: var(--hah-dark); }
.hah-btn-cancel { background: transparent; border-color: transparent; color: #667085; padding-left: 4px; padding-right: 4px; }
.hah-btn-cancel:hover { color: var(--hah-text); text-decoration: underline; }
.hah-editor-back-row { display: flex; margin: 12px 0 0; }
.hah-back-link { display: inline-flex; align-items: center; gap: 6px; color: #475467; font-size: 13px; font-weight: 800; text-decoration: none; }
.hah-back-link:hover { color: var(--hah-text); text-decoration: underline; }

.hah-preview-card { margin: 18px 0; background: #fff; border: 1px solid var(--hah-line); border-radius: 16px; padding: 24px; scroll-margin-top: 20px; }
.hah-preview-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.hah-preview-head span { display: block; color: var(--hah-muted); font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.hah-preview-head h2 { margin: 7px 0 0; font-size: 24px; }
.hah-text-button { border: 0; background: transparent; padding: 0; color: var(--hah-text); font-weight: 800; cursor: pointer; text-decoration: underline; }
.hah-preview-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.hah-preview-meta span { border: 1px solid var(--hah-line); border-radius: 999px; padding: 6px 9px; font-size: 11px; color: var(--hah-muted); background: var(--hah-soft); }
.hah-preview-card > p { margin: 18px 0 0; color: #475467; line-height: 1.65; white-space: pre-line; }

@media (max-width: 1100px) {
    .hah-form-grid-3 { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 720px) {
    .hah-form-grid, .hah-form-grid-3 { grid-template-columns: 1fr; }
    .hah-col-2 { grid-column: span 1; }
    .hah-form-card { padding: 18px; }
    .hah-form-card-head { align-items: flex-start; flex-direction: column; }
    .hah-form-actions { flex-direction: column; align-items: stretch; }
    .hah-form-actions-main { width: 100%; margin-left: 0; flex-direction: column; }
    .hah-btn { width: 100%; }
}


/* v0.2.1 — Searchable multi-region picker */
.hah-region-native {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.hah-region-picker { position: relative; }
.hah-region-selected { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 8px; }
.hah-region-selected:empty { display: none; }
.hah-region-chip { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; border: 1px solid #d0d5dd; background: var(--hah-soft); border-radius: 999px; padding: 6px 9px 6px 11px; font-size: 12px; line-height: 1; }
.hah-region-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hah-region-chip button { width: 18px; height: 18px; border: 0; padding: 0; border-radius: 50%; background: transparent; color: #667085; font: inherit; line-height: 18px; cursor: pointer; }
.hah-region-chip button:hover { background: #dfe3e8; color: var(--hah-text); }
.hah-region-search-wrap { position: relative; }
.hah-region-search-wrap input { padding-right: 40px; }
.hah-region-chevron { position: absolute; right: 13px; top: 50%; transform: translateY(-53%); color: var(--hah-muted); pointer-events: none; font-size: 18px; }
.hah-region-options { position: absolute; z-index: 50; left: 0; right: 0; top: calc(100% + 6px); max-height: 260px; overflow-y: auto; background: #fff; border: 1px solid #cfd4dc; border-radius: 10px; box-shadow: 0 14px 30px rgba(17,24,39,.12); padding: 6px; }
.hah-region-option { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 0; border-radius: 8px; background: #fff; padding: 10px 11px; text-align: left; color: var(--hah-text); font: inherit; font-size: 13px; cursor: pointer; }
.hah-region-option:hover, .hah-region-option:focus { outline: none; background: var(--hah-soft); }
.hah-region-option.is-selected { font-weight: 800; background: #f3f4f6; }
.hah-region-option.is-selected::after { content: "✓"; }
.hah-region-empty { padding: 12px; color: var(--hah-muted); font-size: 12px; }


/* v0.2.2 — Taslak Talepler / kayıt geri açma */
.hah-metric-link {
    display: block;
    background: var(--hah-panel);
    border: 1px solid var(--hah-line);
    border-radius: 14px;
    padding: 20px;
    color: var(--hah-text);
    text-decoration: none;
    transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.hah-metric-link:hover {
    border-color: #c7ccd4;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(17,24,39,.05);
}
.hah-metric-link span { display: block; color: var(--hah-muted); font-size: 13px; }
.hah-metric-link strong { display: block; font-size: 30px; margin-top: 10px; }
.hah-metric-link small { display: block; margin-top: 10px; color: var(--hah-muted); font-size: 11px; font-weight: 700; }

.hah-top-link {
    text-decoration: none !important;
    border: 1px solid #cfd4dc;
    border-radius: 9px;
    padding: 8px 11px;
    background: #fff;
    font-size: 12px;
}
.hah-list-card {
    margin-top: 18px;
    background: var(--hah-panel);
    border: 1px solid var(--hah-line);
    border-radius: 16px;
    overflow: hidden;
}
.hah-list-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 22px;
    border-bottom: 1px solid var(--hah-line);
}
.hah-list-head h2 { margin: 0; font-size: 18px; }
.hah-list-head p { margin: 5px 0 0; color: var(--hah-muted); font-size: 12px; }
.hah-table-wrap { overflow-x: auto; }
.hah-table { width: 100%; border-collapse: collapse; min-width: 980px; }
.hah-table th, .hah-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--hah-line);
    text-align: left;
    vertical-align: middle;
    font-size: 13px;
}
.hah-table th {
    background: #fafbfc;
    color: var(--hah-muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.hah-table tbody tr:last-child td { border-bottom: 0; }
.hah-title-cell { min-width: 220px; font-weight: 700; }
.hah-status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    border: 1px solid var(--hah-line);
    border-radius: 999px;
    background: var(--hah-soft);
    padding: 4px 9px;
    font-size: 11px;
    font-weight: 700;
}
.hah-row-action { color: var(--hah-text); font-weight: 800; white-space: nowrap; }
.hah-empty-state { padding: 42px 24px; text-align: center; }
.hah-empty-state strong { display: block; font-size: 17px; }
.hah-empty-state p { margin: 8px 0 18px; color: var(--hah-muted); }
.hah-inline-btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }

@media (max-width: 720px) {
    .hah-userbox { flex-wrap: wrap; }
    .hah-list-card { border-radius: 12px; }
}

/* v0.3.0 — Bölüm 3A Talep Yönetimi */
.hah-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 18px 0;
}
.hah-filter-tabs a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid var(--hah-line);
    border-radius: 999px;
    background: #fff;
    color: var(--hah-text);
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
}
.hah-filter-tabs a strong {
    display: inline-grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--hah-soft);
    font-size: 10px;
}
.hah-filter-tabs a.is-active {
    background: var(--hah-dark);
    border-color: var(--hah-dark);
    color: #fff;
}
.hah-filter-tabs a.is-active strong {
    background: rgba(255,255,255,.14);
    color: #fff;
}
.hah-requests-table { min-width: 1180px; }
.hah-status-pill.is-ready { background: #f2f8f4; border-color: #c8dfcf; }
.hah-status-pill.is-draft { background: #f7f7f8; }


/* Bölüm 3B — 9 Dil İçerikleri */
.hah-row-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.hah-language-request-card { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; background: #fff; border: 1px solid var(--hah-line); border-radius: 16px; }
.hah-language-request-card h2 { margin: 7px 0 0; font-size: 21px; }
.hah-language-request-id { color: var(--hah-muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.hah-language-progress { min-width: 92px; text-align: center; border-left: 1px solid var(--hah-line); padding-left: 22px; }
.hah-language-progress strong { display: block; font-size: 26px; }
.hah-language-progress span { display: block; margin-top: 3px; color: var(--hah-muted); font-size: 11px; font-weight: 700; }
.hah-language-form { margin-top: 18px; }
.hah-language-tabs { display: grid; grid-template-columns: repeat(9,minmax(74px,1fr)); gap: 8px; margin-bottom: 12px; overflow-x: auto; }
.hah-language-tab { position: relative; min-width: 74px; min-height: 66px; padding: 10px 10px 9px; border: 1px solid var(--hah-line); border-radius: 12px; background: #fff; color: var(--hah-text); text-align: left; cursor: pointer; }
.hah-language-tab.is-active { border-color: var(--hah-dark); box-shadow: 0 0 0 1px var(--hah-dark); }
.hah-language-tab > span { display: block; font-size: 13px; font-weight: 900; }
.hah-language-tab small { display: block; margin-top: 5px; color: var(--hah-muted); font-size: 10px; }
.hah-language-tab i { position: absolute; top: 10px; right: 10px; width: 7px; height: 7px; border-radius: 50%; background: #98a2b3; }
.hah-language-tab i.is-ready { background: #12b76a; }
.hah-language-panel { background: #fff; border: 1px solid var(--hah-line); border-radius: 16px; padding: 24px; }
.hah-language-panel[hidden] { display: none !important; }
.hah-language-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 18px; margin-bottom: 20px; border-bottom: 1px solid var(--hah-line); }
.hah-language-panel-head > div > span { color: var(--hah-muted); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.hah-language-panel-head h2 { margin: 6px 0 0; font-size: 19px; }

@media (max-width: 900px) {
    .hah-language-tabs { grid-template-columns: repeat(9,90px); }
}
@media (max-width: 620px) {
    .hah-language-request-card { align-items: flex-start; flex-direction: column; }
    .hah-language-progress { border-left: 0; border-top: 1px solid var(--hah-line); width: 100%; padding: 14px 0 0; text-align: left; }
    .hah-language-progress strong, .hah-language-progress span { display: inline; }
}


/* v0.3.3 — /talepler/ masaüstü tam ekran uyumu */
.hah-requests-page .hah-layout {
    grid-template-columns: 228px minmax(0, 1fr);
}
.hah-requests-page .hah-sidebar {
    padding-left: 16px;
    padding-right: 16px;
}
.hah-requests-page .hah-main {
    min-width: 0;
    padding: 26px 24px 34px;
}
.hah-requests-page .hah-list-card,
.hah-requests-page .hah-table-wrap {
    min-width: 0;
    width: 100%;
}
.hah-requests-page .hah-table-wrap {
    overflow-x: visible;
}
.hah-requests-page .hah-requests-table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
}
.hah-requests-page .hah-requests-table th,
.hah-requests-page .hah-requests-table td {
    padding: 11px 8px;
    font-size: 11.5px;
    line-height: 1.35;
    overflow-wrap: anywhere;
    word-break: normal;
}
.hah-requests-page .hah-requests-table th {
    font-size: 9.5px;
    line-height: 1.25;
}
.hah-requests-page .hah-requests-table th:nth-child(1),
.hah-requests-page .hah-requests-table td:nth-child(1) { width: 6%; }
.hah-requests-page .hah-requests-table th:nth-child(2),
.hah-requests-page .hah-requests-table td:nth-child(2) { width: 20%; }
.hah-requests-page .hah-requests-table th:nth-child(3),
.hah-requests-page .hah-requests-table td:nth-child(3) { width: 9%; }
.hah-requests-page .hah-requests-table th:nth-child(4),
.hah-requests-page .hah-requests-table td:nth-child(4) { width: 12%; }
.hah-requests-page .hah-requests-table th:nth-child(5),
.hah-requests-page .hah-requests-table td:nth-child(5) { width: 10%; }
.hah-requests-page .hah-requests-table th:nth-child(6),
.hah-requests-page .hah-requests-table td:nth-child(6) { width: 10%; }
.hah-requests-page .hah-requests-table th:nth-child(7),
.hah-requests-page .hah-requests-table td:nth-child(7) { width: 10%; }
.hah-requests-page .hah-requests-table th:nth-child(8),
.hah-requests-page .hah-requests-table td:nth-child(8) { width: 10%; }
.hah-requests-page .hah-requests-table th:nth-child(9),
.hah-requests-page .hah-requests-table td:nth-child(9) { width: 13%; }
.hah-requests-page .hah-title-cell {
    font-weight: 750;
}
.hah-requests-page .hah-status-pill {
    max-width: 100%;
    white-space: normal;
    text-align: center;
    line-height: 1.2;
}
.hah-requests-page .hah-row-actions {
    gap: 5px;
}
.hah-requests-page .hah-row-action {
    font-size: 10.5px;
    line-height: 1.25;
}

@media (max-width: 1180px) {
    .hah-requests-page .hah-layout { grid-template-columns: 210px minmax(0, 1fr); }
    .hah-requests-page .hah-main { padding: 22px 18px 30px; }
    .hah-requests-page .hah-requests-table th,
    .hah-requests-page .hah-requests-table td { padding: 10px 6px; font-size: 10.5px; }
    .hah-requests-page .hah-requests-table th { font-size: 9px; }
}

@media (max-width: 900px) {
    .hah-requests-page .hah-layout { grid-template-columns: 1fr; }
    .hah-requests-page .hah-main { padding: 22px; }
    .hah-requests-page .hah-table-wrap { overflow-x: auto; }
    .hah-requests-page .hah-requests-table { min-width: 980px; table-layout: auto; }
    .hah-requests-page .hah-requests-table th,
    .hah-requests-page .hah-requests-table td { font-size: 12px; padding: 12px 10px; }
    .hah-requests-page .hah-requests-table th { font-size: 10px; }
}


/* v0.3.5 — explicit language delete */
.hah-btn-danger { background:#fff; border-color:#d0d5dd; color:#b42318; }
.hah-btn-danger:hover { background:#fff5f4; border-color:#fda29b; }
.hah-language-panel-head { gap:16px; }
@media (max-width: 760px) {
  .hah-language-panel-head .hah-language-delete { width:auto; min-height:38px; }
}

/* v0.3.6 independent language actions */
.hah-language-panel-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.hah-language-action-help{max-width:720px;color:var(--hah-muted);font-size:12px;line-height:1.55}
@media (max-width:720px){.hah-language-panel-actions{width:100%;justify-content:flex-start}.hah-language-panel-actions .hah-btn{width:auto}.hah-language-action-help{width:100%}}

/* v0.4.0 — Bölüm 4A Varlık Sunumları */
.hah-filter-card {
    margin-top: 16px;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--hah-line);
    border-radius: 14px;
}
.hah-presentation-filters {
    display: grid;
    grid-template-columns: minmax(190px,1.35fr) repeat(5,minmax(120px,1fr)) auto;
    gap: 10px;
    align-items: end;
}
.hah-filter-field { min-width: 0; }
.hah-filter-field label {
    display: block;
    margin-bottom: 6px;
    color: var(--hah-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.hah-filter-field input,
.hah-filter-field select {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    border: 1px solid var(--hah-line);
    border-radius: 9px;
    background: #fff;
    padding: 8px 10px;
    color: var(--hah-text);
    font: inherit;
    font-size: 12px;
}
.hah-filter-actions { display: flex; gap: 8px; }
.hah-filter-actions .hah-btn { min-height: 40px; white-space: nowrap; }

.hah-presentations-page .hah-layout { grid-template-columns: 218px minmax(0,1fr); }
.hah-presentations-page .hah-sidebar { padding-left: 14px; padding-right: 14px; }
.hah-presentations-page .hah-main { min-width: 0; padding: 24px 20px 34px; }
.hah-presentations-page .hah-list-card,
.hah-presentations-page .hah-table-wrap { min-width: 0; width: 100%; }
.hah-presentations-page .hah-table-wrap { overflow-x: visible; }
.hah-presentations-page .hah-presentations-table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
}
.hah-presentations-page .hah-presentations-table th,
.hah-presentations-page .hah-presentations-table td {
    padding: 10px 6px;
    font-size: 10.5px;
    line-height: 1.3;
    overflow-wrap: anywhere;
}
.hah-presentations-page .hah-presentations-table th { font-size: 8.8px; line-height: 1.2; }
.hah-presentations-page .hah-presentations-table th:nth-child(1),
.hah-presentations-page .hah-presentations-table td:nth-child(1) { width: 13%; }
.hah-presentations-page .hah-presentations-table th:nth-child(2),
.hah-presentations-page .hah-presentations-table td:nth-child(2) { width: 11%; }
.hah-presentations-page .hah-presentations-table th:nth-child(3),
.hah-presentations-page .hah-presentations-table td:nth-child(3) { width: 7%; }
.hah-presentations-page .hah-presentations-table th:nth-child(4),
.hah-presentations-page .hah-presentations-table td:nth-child(4) { width: 9%; }
.hah-presentations-page .hah-presentations-table th:nth-child(5),
.hah-presentations-page .hah-presentations-table td:nth-child(5) { width: 8%; }
.hah-presentations-page .hah-presentations-table th:nth-child(6),
.hah-presentations-page .hah-presentations-table td:nth-child(6) { width: 8%; }
.hah-presentations-page .hah-presentations-table th:nth-child(7),
.hah-presentations-page .hah-presentations-table td:nth-child(7) { width: 6%; }
.hah-presentations-page .hah-presentations-table th:nth-child(8),
.hah-presentations-page .hah-presentations-table td:nth-child(8) { width: 10%; }
.hah-presentations-page .hah-presentations-table th:nth-child(9),
.hah-presentations-page .hah-presentations-table td:nth-child(9) { width: 11%; }
.hah-presentations-page .hah-presentations-table th:nth-child(10),
.hah-presentations-page .hah-presentations-table td:nth-child(10) { width: 7%; }
.hah-presentations-page .hah-presentations-table th:nth-child(11),
.hah-presentations-page .hah-presentations-table td:nth-child(11) { width: 10%; }
.hah-presentation-status { white-space: normal; text-align: center; justify-content: center; }
.hah-presentation-status.is-new { background:#fff7ed; border-color:#fed7aa; }
.hah-presentation-status.is-reviewing { background:#eff6ff; border-color:#bfdbfe; }
.hah-presentation-status.is-contacted { background:#f5f3ff; border-color:#ddd6fe; }
.hah-presentation-status.is-suitable { background:#f0fdf4; border-color:#bbf7d0; }
.hah-presentation-status.is-not_suitable { background:#fef2f2; border-color:#fecaca; }
.hah-presentation-status.is-completed { background:#f8fafc; border-color:#cbd5e1; }

@media (max-width: 1280px) {
    .hah-presentation-filters { grid-template-columns: repeat(3,minmax(150px,1fr)); }
    .hah-filter-actions { grid-column: span 3; }
}
@media (max-width: 980px) {
    .hah-presentations-page .hah-layout { grid-template-columns: 1fr; }
    .hah-presentations-page .hah-main { padding: 22px; }
    .hah-presentations-page .hah-table-wrap { overflow-x: auto; }
    .hah-presentations-page .hah-presentations-table { min-width: 1180px; table-layout: auto; }
    .hah-presentations-page .hah-presentations-table th,
    .hah-presentations-page .hah-presentations-table td { padding: 12px 10px; font-size: 12px; }
    .hah-presentations-page .hah-presentations-table th { font-size: 10px; }
}
@media (max-width: 680px) {
    .hah-presentation-filters { grid-template-columns: 1fr; }
    .hah-filter-actions { grid-column: auto; }
    .hah-filter-actions .hah-btn { flex: 1; }
}

/* v0.4.1 — Bölüm 4B Varlık Sunumu Detayı */
.hah-detail-link { color: var(--hah-text); font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }
.hah-presentation-detail-page .hah-layout { grid-template-columns: 218px minmax(0,1fr); }
.hah-presentation-detail-page .hah-main { min-width: 0; padding: 24px 26px 38px; }
.hah-detail-hero { margin-top: 20px; display:flex; justify-content:space-between; align-items:flex-start; gap:18px; padding:22px 24px; background:#fff; border:1px solid var(--hah-line); border-radius:16px; }
.hah-detail-id { color:var(--hah-muted); font-size:10px; font-weight:900; letter-spacing:.12em; }
.hah-detail-hero h2 { margin:7px 0 0; font-size:24px; }
.hah-detail-hero p { margin:6px 0 0; color:var(--hah-muted); }
.hah-comparison-card { margin-top:18px; background:#fff; border:1px solid var(--hah-line); border-radius:16px; overflow:hidden; }
.hah-comparison-head { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; padding:20px 22px; border-bottom:1px solid var(--hah-line); }
.hah-comparison-head span { color:var(--hah-muted); font-size:10px; font-weight:900; letter-spacing:.12em; }
.hah-comparison-head h2 { margin:6px 0 0; font-size:19px; }
.hah-comparison-head > strong { font-size:12px; border:1px solid var(--hah-line); border-radius:999px; padding:7px 10px; background:var(--hah-soft); }
.hah-comparison-title-row { display:grid; grid-template-columns:1fr 1fr; gap:1px; background:var(--hah-line); border-bottom:1px solid var(--hah-line); padding-left:170px; }
.hah-comparison-title-row > div { background:#fafbfc; padding:13px 16px; }
.hah-comparison-title-row small { display:block; color:var(--hah-muted); font-size:9px; font-weight:900; letter-spacing:.08em; }
.hah-comparison-title-row strong { display:block; margin-top:4px; font-size:13px; }
.hah-comparison-grid { display:grid; grid-template-columns:170px 1fr 1fr; }
.hah-comparison-grid > div { min-width:0; padding:13px 16px; border-bottom:1px solid var(--hah-line); font-size:13px; line-height:1.45; overflow-wrap:anywhere; }
.hah-comparison-grid > div:nth-last-child(-n+3) { border-bottom:0; }
.hah-compare-label { color:var(--hah-muted); background:#fafbfc; font-size:11px !important; font-weight:900; text-transform:uppercase; letter-spacing:.03em; }
.hah-detail-grid { display:grid; grid-template-columns:1.15fr .85fr; gap:18px; margin-top:18px; }
.hah-detail-card { background:#fff; border:1px solid var(--hah-line); border-radius:16px; overflow:hidden; }
.hah-detail-card-head { padding:18px 20px; border-bottom:1px solid var(--hah-line); }
.hah-detail-card-head h2 { margin:0; font-size:17px; }
.hah-detail-list { margin:0; }
.hah-detail-list > div { display:grid; grid-template-columns:160px minmax(0,1fr); gap:14px; padding:12px 20px; border-bottom:1px solid var(--hah-line); }
.hah-detail-list > div:last-child { border-bottom:0; }
.hah-detail-list dt { color:var(--hah-muted); font-size:11px; font-weight:800; }
.hah-detail-list dd { margin:0; font-size:13px; font-weight:650; overflow-wrap:anywhere; }
.hah-detail-list a { color:var(--hah-text); }
.hah-description-card { margin-top:18px; }
.hah-description-card > p { margin:0; padding:20px; color:#475467; line-height:1.65; }
.hah-detail-empty { margin-top:20px; }
@media (max-width: 980px) {
  .hah-presentation-detail-page .hah-layout { grid-template-columns:1fr; }
  .hah-presentation-detail-page .hah-main { padding:22px; }
  .hah-detail-grid { grid-template-columns:1fr; }
  .hah-comparison-title-row { padding-left:120px; }
  .hah-comparison-grid { grid-template-columns:120px 1fr 1fr; }
}
@media (max-width: 680px) {
  .hah-detail-hero, .hah-comparison-head { flex-direction:column; }
  .hah-comparison-title-row { padding-left:0; grid-template-columns:1fr 1fr; }
  .hah-comparison-grid { grid-template-columns:1fr 1fr; }
  .hah-comparison-grid .hah-compare-label { grid-column:1 / -1; border-bottom:1px solid var(--hah-line); }
  .hah-comparison-grid > div:nth-last-child(-n+3) { border-bottom:1px solid var(--hah-line); }
  .hah-comparison-grid > div:last-child { border-bottom:0; }
  .hah-detail-list > div { grid-template-columns:1fr; gap:5px; }
}

/* v0.4.2 — Bölüm 4C Durum Yönetimi + Personel Notları */
.hah-view-link {
    display: inline-block;
    margin-top: 5px;
    color: var(--hah-muted);
    font-size: 10px;
    font-weight: 800;
    text-decoration: none;
}
.hah-view-link:hover { color: var(--hah-text); text-decoration: underline; }
.hah-presentation-workflow-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 18px;
    margin-top: 18px;
    align-items: start;
}
.hah-workflow-card { min-width: 0; }
.hah-workflow-card .hah-detail-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}
.hah-detail-card-kicker {
    display: block;
    margin-bottom: 5px;
    color: var(--hah-muted);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .11em;
}
.hah-status-form, .hah-note-form { padding: 18px 20px 20px; }
.hah-status-form label, .hah-note-form label {
    display: block;
    margin-bottom: 7px;
    color: var(--hah-muted);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .03em;
    text-transform: uppercase;
}
.hah-status-form-row {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 10px;
    align-items: center;
}
.hah-status-form select, .hah-note-form textarea {
    width: 100%;
    border: 1px solid var(--hah-line);
    border-radius: 10px;
    background: #fff;
    color: var(--hah-text);
    font: inherit;
}
.hah-status-form select { min-height: 42px; padding: 8px 10px; }
.hah-status-form > p {
    margin: 10px 0 0;
    color: var(--hah-muted);
    font-size: 11px;
    line-height: 1.5;
}
.hah-note-form textarea {
    min-height: 112px;
    padding: 11px 12px;
    resize: vertical;
    line-height: 1.5;
}
.hah-note-form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
}
.hah-note-form-actions small { color: var(--hah-muted); font-size: 10.5px; line-height: 1.45; }
.hah-note-count {
    flex: 0 0 auto;
    border: 1px solid var(--hah-line);
    border-radius: 999px;
    padding: 5px 8px;
    background: var(--hah-soft);
    color: var(--hah-muted);
    font-size: 10px;
    font-weight: 800;
}
.hah-note-list { border-top: 1px solid var(--hah-line); }
.hah-note-empty { padding: 18px 20px; color: var(--hah-muted); font-size: 12px; }
.hah-note-item { padding: 15px 20px; border-bottom: 1px solid var(--hah-line); }
.hah-note-item:last-child { border-bottom: 0; }
.hah-note-meta { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.hah-note-meta strong { font-size: 12px; }
.hah-note-meta time { color: var(--hah-muted); font-size: 10px; white-space: nowrap; }
.hah-note-item p { margin: 7px 0 0; color: #475467; font-size: 12.5px; line-height: 1.6; overflow-wrap: anywhere; }

@media (max-width: 980px) {
    .hah-presentation-workflow-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
    .hah-status-form-row { grid-template-columns: 1fr; }
    .hah-status-form-row .hah-btn { width: 100%; }
    .hah-note-form-actions { align-items: stretch; flex-direction: column; }
    .hah-note-form-actions .hah-btn { width: 100%; }
    .hah-note-meta { align-items: flex-start; flex-direction: column; gap: 4px; }
}


/* v0.4.3 — Bölüm 4D Sorumlu Personel Atama */
.hah-assignment-block {
    margin: 0 20px 20px;
    padding-top: 18px;
    border-top: 1px solid var(--hah-line);
}
.hah-assignment-heading { margin-bottom: 12px; }
.hah-assignment-heading h3 {
    margin: 0;
    font-size: 16px;
    line-height: 1.25;
}
.hah-assignment-form label {
    display: block;
    margin-bottom: 7px;
    font-size: 12px;
    font-weight: 800;
}
.hah-assignment-form-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
}
.hah-assignment-form-row select {
    width: 100%;
    min-width: 0;
}
.hah-assignment-form p {
    margin: 9px 0 0;
    color: var(--hah-muted);
    font-size: 11px;
    line-height: 1.45;
}
@media (max-width: 720px) {
    .hah-assignment-form-row { grid-template-columns: 1fr; }
    .hah-assignment-form-row .hah-btn { width: 100%; }
}


/* v0.4.4 — Bölüm 4E Evrak Yönetimi */
.hah-files-card { margin-top: 20px; }
.hah-file-empty { padding: 20px; border: 1px dashed #d8dee8; border-radius: 14px; background: #f8fafc; }
.hah-file-empty strong { display:block; margin-bottom:6px; color:#111827; }
.hah-file-empty p { margin:0; color:#64748b; }
.hah-file-list { display:grid; gap:10px; }
.hah-file-item { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:14px 16px; border:1px solid #e2e8f0; border-radius:14px; background:#fff; }
.hah-file-main { min-width:0; display:grid; gap:4px; }
.hah-file-main strong { overflow-wrap:anywhere; color:#111827; }
.hah-file-main span, .hah-file-meta time { color:#64748b; font-size:13px; }
.hah-file-meta { display:flex; align-items:center; gap:12px; flex:0 0 auto; }
.hah-file-download { text-decoration:none; }
.hah-files-security-note { margin:12px 0 0; color:#64748b; font-size:13px; }
@media (max-width: 760px) {
  .hah-file-item { align-items:flex-start; flex-direction:column; }
  .hah-file-meta { width:100%; justify-content:space-between; }
}


/* v0.5.1 — Bölüm 5B Evrak Yükleme */
.hah-upload-panel { padding: 20px; }
.hah-upload-box {
    display: grid;
    gap: 6px;
    padding: 22px;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    background: #f8fafc;
    cursor: pointer;
}
.hah-upload-box strong { color: #111827; font-size: 14px; }
.hah-upload-box span { color: #64748b; font-size: 12px; line-height: 1.45; }
.hah-upload-box input { margin-top: 8px; max-width: 100%; }
.hah-upload-summary { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: #f1f5f9; color: #475569; font-size: 12px; overflow-wrap:anywhere; }
.hah-upload-summary.is-error { background: #fff1f2; color: #be123c; }
.hah-upload-help { margin: 10px 0 0; color: #64748b; font-size: 12px; line-height: 1.5; }


/* 5B.1 explicit staged upload */
.hah-upload-actions { margin-top:12px; display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.hah-upload-actions .hah-btn[disabled] { opacity:.55; cursor:not-allowed; }
.hah-upload-count { color:#64748b; font-size:12px; font-weight:800; }
.hah-uploaded-files { margin-top:12px; border:1px solid #e4e7ec; border-radius:10px; overflow:hidden; background:#fff; }
.hah-uploaded-file { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:10px 12px; border-bottom:1px solid #eef0f3; font-size:12px; }
.hah-uploaded-file:last-child { border-bottom:0; }
.hah-uploaded-file strong { color:#1d2939; overflow-wrap:anywhere; }
.hah-uploaded-file-info { display:flex; align-items:center; gap:10px; min-width:0; }
.hah-uploaded-file span,.hah-uploaded-empty { color:#667085; }
.hah-upload-remove { border:1px solid #d0d5dd; background:#fff; color:#b42318; border-radius:8px; padding:6px 10px; font-size:12px; font-weight:700; cursor:pointer; flex:0 0 auto; }
.hah-upload-remove:hover { background:#fff6f5; border-color:#fecdca; }
.hah-upload-remove[disabled] { opacity:.55; cursor:not-allowed; }
.hah-uploaded-empty { display:block; padding:10px 12px; font-size:12px; }
@media (max-width:720px){.hah-upload-actions .hah-btn{width:auto}.hah-uploaded-file{align-items:flex-start;flex-direction:column;gap:8px}.hah-uploaded-file-info{align-items:flex-start;flex-direction:column;gap:3px}.hah-upload-remove{width:100%}}


/* Bölüm 6A — Personel listesi */
.hah-staff-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0}.hah-stat-card{background:#fff;border:1px solid #e6e8ec;border-radius:14px;padding:18px 20px;display:flex;align-items:center;justify-content:space-between;gap:16px}.hah-stat-card span{font-size:13px;color:#667085}.hah-stat-card strong{font-size:24px;color:#101828}.hah-staff-table{min-width:860px}.hah-staff-table .hah-title-cell strong{display:block}.hah-staff-table .hah-title-cell small{display:block;color:#98a2b3;margin-top:3px;font-size:12px}.hah-staff-table td a{color:inherit;text-decoration:none}.hah-staff-table td a:hover{text-decoration:underline}.hah-status-pill.is-active{background:#ecfdf3;color:#027a48}.hah-status-pill.is-inactive{background:#fef3f2;color:#b42318}.hah-muted-action{color:#98a2b3;font-size:12px}.hah-badge-neutral{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:#f2f4f7;color:#475467;font-size:12px;font-weight:700}@media(max-width:900px){.hah-staff-summary{grid-template-columns:1fr}.hah-stat-card{padding:14px 16px}}


/* v0.6.1 — Personel ve Yetkiler portal layout parity */
.hah-staff-page .hah-main { min-width: 0; padding: 28px 30px 38px; }
.hah-staff-page .hah-staff-summary { margin-top: 18px; }
.hah-staff-page .hah-list-card { width: 100%; }
.hah-staff-page .hah-table-wrap { width: 100%; max-width: 100%; }
@media (max-width: 900px) {
    .hah-staff-page .hah-main { padding: 22px; }
}

/* v0.6.2 — Personel ekle/düzenle */
.hah-btn-compact{min-height:36px;padding:0 12px;font-size:12px}
.hah-readonly-field{border:1px solid var(--hah-line);border-radius:10px;padding:14px;background:#f8fafc;display:flex;flex-direction:column;gap:6px}
.hah-readonly-field strong{font-size:15px}
.hah-message-success{border-color:#abefc6;background:#ecfdf3}
.hah-message-error{border-color:#fecdca;background:#fef3f2}

/* Bölüm 6D — kişi bazlı yetkiler */
.hah-permission-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}.hah-permission-head p{margin:0;color:#667085}.hah-permission-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.hah-permission-item{display:flex;align-items:center;gap:10px;min-height:52px;padding:13px 14px;border:1px solid #dde3ec;border-radius:12px;background:#fff;font-weight:700;color:#1f2937;cursor:pointer}.hah-permission-item input{width:18px;height:18px;accent-color:#111827}.hah-permission-item.is-locked{background:#f7f8fa;color:#667085;cursor:not-allowed}.hah-field-note{margin:14px 0 0;color:#667085;font-size:13px}@media(max-width:980px){.hah-permission-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.hah-permission-head{align-items:flex-start;flex-direction:column}.hah-permission-grid{grid-template-columns:1fr}}

/* v0.6.5 — Personel hesap işlemleri */
.hah-staff-actions{display:flex;flex-wrap:wrap;gap:7px;align-items:center}.hah-inline-form{display:inline-flex;margin:0}.hah-account-actions-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.hah-account-action-card{border:1px solid #e4e7ec;border-radius:14px;padding:18px;background:#fff}.hah-account-action-card h3{margin:0 0 8px;font-size:16px}.hah-account-action-card p{margin:0 0 14px;color:#667085;line-height:1.5}.hah-account-action-card form{display:grid;gap:12px}.hah-account-action-danger{border-color:#fecdca;background:#fffbfa}.hah-account-action-danger h3{color:#b42318}@media(max-width:980px){.hah-account-actions-grid{grid-template-columns:1fr}.hah-staff-actions{align-items:stretch}.hah-staff-actions .hah-btn,.hah-staff-actions .hah-inline-form,.hah-staff-actions .hah-inline-form .hah-btn{width:100%}}


/* v0.7.1 — Arşiv filtre görünümü düzeltmesi */
.hah-archive-page .hah-layout { grid-template-columns: 228px minmax(0,1fr); }
.hah-archive-page .hah-main { min-width:0; padding:26px 24px 36px; }
.hah-archive-page .hah-archive-filter-card { padding:18px 20px; overflow:visible; }
.hah-archive-page .hah-archive-filters {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:12px;
    align-items:end;
}
.hah-archive-page .hah-archive-filters > div { min-width:0; }
.hah-archive-page .hah-archive-filters label {
    display:block; margin:0 0 6px; color:var(--hah-muted);
    font-size:10px; font-weight:800; letter-spacing:.04em; text-transform:uppercase;
}
.hah-archive-page .hah-archive-filters input,
.hah-archive-page .hah-archive-filters select {
    width:100%; min-width:0; min-height:42px; box-sizing:border-box;
    border:1px solid #cfd4dc; border-radius:9px; background:#fff;
    color:var(--hah-text); font:inherit; font-size:12px; padding:8px 10px; outline:none;
}
.hah-archive-page .hah-archive-filters input:focus,
.hah-archive-page .hah-archive-filters select:focus {
    border-color:var(--hah-dark); box-shadow:0 0 0 3px rgba(17,24,39,.07);
}
.hah-archive-page .hah-archive-filter-actions { display:flex; gap:8px; align-items:center; }
.hah-archive-page .hah-archive-filter-actions .hah-btn { min-height:42px; white-space:nowrap; }
.hah-archive-page .hah-table-wrap { max-width:100%; overflow-x:auto; }
.hah-archive-page .hah-archive-table { min-width:1180px; }
@media (max-width:1180px) {
    .hah-archive-page .hah-archive-filters { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:900px) {
    .hah-archive-page .hah-layout { grid-template-columns:1fr; }
    .hah-archive-page .hah-main { padding:22px; }
}
@media (max-width:680px) {
    .hah-archive-page .hah-archive-filters { grid-template-columns:1fr; }
    .hah-archive-page .hah-archive-filter-actions { align-items:stretch; flex-direction:column; }
    .hah-archive-page .hah-archive-filter-actions .hah-btn { width:100%; }
}


/* v0.7.2 — archive operations */
.hah-inline-action-form{display:inline;margin:0;padding:0}.hah-link-button{appearance:none;border:0;background:transparent;padding:0;font:inherit;cursor:pointer}.hah-link-button.is-danger{color:#b42318}.hah-archive-actions{gap:8px 12px;align-items:center;flex-wrap:wrap}.hah-archive-detail-card,.hah-archive-notes-card{margin-bottom:20px}.hah-archive-detail-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border-top:1px solid #e4e8ef}.hah-archive-detail-grid>div{padding:16px 18px;border-right:1px solid #e4e8ef;border-bottom:1px solid #e4e8ef;min-width:0}.hah-archive-detail-grid>div:nth-child(4n){border-right:0}.hah-archive-detail-grid span,.hah-archive-summary span{display:block;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#667085;margin-bottom:6px}.hah-archive-detail-grid strong{font-size:14px;color:#17202d;overflow-wrap:anywhere}.hah-archive-summary{padding:18px}.hah-archive-summary p{margin:0;color:#475467;line-height:1.65}.hah-archive-notes-list article{padding:18px 20px;border-top:1px solid #e4e8ef}.hah-archive-notes-list article>div{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.hah-archive-notes-list article span{font-size:12px;color:#667085}.hah-archive-notes-list article p{margin:10px 0 0;color:#475467;line-height:1.6}.hah-alert{margin:0 0 18px;padding:14px 16px;border-radius:12px;border:1px solid #d0d5dd;background:#fff}.hah-alert-success{border-color:#abefc6;background:#ecfdf3;color:#067647}.hah-alert-error{border-color:#fecdca;background:#fef3f2;color:#b42318}
@media(max-width:1100px){.hah-archive-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hah-archive-detail-grid>div:nth-child(4n){border-right:1px solid #e4e8ef}.hah-archive-detail-grid>div:nth-child(2n){border-right:0}}
@media(max-width:700px){.hah-archive-detail-grid{grid-template-columns:1fr}.hah-archive-detail-grid>div{border-right:0}.hah-archive-notes-list article>div{display:block}.hah-archive-notes-list article span{display:block;margin-top:5px}}


/* v0.7.3 — Talep Yönetimi arşiv/sil işlemleri görünürlüğü */
.hah-requests-page .hah-request-action-buttons {
    align-items: stretch;
    min-width: 126px;
}
.hah-requests-page .hah-request-action-buttons .hah-btn,
.hah-requests-page .hah-request-action-buttons .hah-inline-action-form,
.hah-requests-page .hah-request-action-buttons .hah-inline-action-form .hah-btn {
    width: 100%;
}
.hah-requests-page .hah-request-action-buttons .hah-btn {
    justify-content: center;
    min-height: 32px;
    padding: 6px 9px;
    font-size: 10.5px;
    line-height: 1.15;
}
.hah-requests-page .hah-request-action-buttons .hah-btn[disabled] {
    opacity: .55;
    cursor: not-allowed;
}


/* v0.7.4 — Arşiv liste tasarım iyileştirmesi */
.hah-archive-page .hah-archive-list-card { overflow:hidden; }
.hah-archive-page .hah-archive-table-compact { min-width:980px; table-layout:fixed; }
.hah-archive-page .hah-archive-table-compact th:nth-child(1){width:22%}
.hah-archive-page .hah-archive-table-compact th:nth-child(2){width:12%}
.hah-archive-page .hah-archive-table-compact th:nth-child(3){width:13%}
.hah-archive-page .hah-archive-table-compact th:nth-child(4){width:8%}
.hah-archive-page .hah-archive-table-compact th:nth-child(5){width:18%}
.hah-archive-page .hah-archive-table-compact th:nth-child(6){width:10%}
.hah-archive-page .hah-archive-table-compact th:nth-child(7){width:17%}
.hah-archive-page .hah-archive-table-compact td { vertical-align:middle; padding-top:16px; padding-bottom:16px; }
.hah-archive-primary { display:block; font-size:12px; font-weight:800; color:#1d2939; }
.hah-archive-sub { display:block; margin-top:4px; color:#667085; font-size:11px; line-height:1.35; }
.hah-archive-count { display:inline-flex; align-items:center; justify-content:center; min-width:34px; height:34px; padding:0 10px; border-radius:999px; background:#f2f4f7; color:#1d2939; font-size:13px; font-weight:800; }
.hah-archive-date-stack { display:grid; gap:7px; }
.hah-archive-date-stack span { display:grid; grid-template-columns:66px 1fr; gap:8px; align-items:baseline; color:#344054; font-size:11px; line-height:1.35; }
.hah-archive-date-stack b { color:#98a2b3; font-size:9px; font-weight:800; letter-spacing:.04em; text-transform:uppercase; }
.hah-archive-action-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; align-items:stretch; }
.hah-archive-action-grid .hah-inline-action-form { display:block; width:100%; }
.hah-archive-action-grid .hah-btn { width:100%; justify-content:center; min-height:32px; padding:6px 8px; font-size:10.5px; line-height:1.1; white-space:nowrap; }
.hah-btn-xs { min-height:32px; padding:6px 9px; border-radius:8px; }
.hah-btn-danger-soft { border:1px solid #fecdca; background:#fff6f5; color:#b42318; }
.hah-btn-danger-soft:hover { background:#fef3f2; }
.hah-archive-delete-action { grid-column:1 / -1; }
.hah-delete-lock { grid-column:1 / -1; display:flex; align-items:center; justify-content:center; min-height:30px; border-radius:8px; background:#f2f4f7; color:#98a2b3; font-size:10.5px; font-weight:700; }
.hah-archive-page .hah-status-pill { display:inline-flex; margin-top:6px; }
@media(max-width:1180px){
  .hah-archive-page .hah-archive-table-compact { min-width:940px; }
}
@media(max-width:760px){
  .hah-archive-action-grid { grid-template-columns:1fr; }
  .hah-archive-delete-action,.hah-delete-lock { grid-column:auto; }
}

/* v0.7.5 — archive actions/right-column hardening */
.hah-archive-page .hah-archive-table-compact{min-width:1060px;table-layout:fixed;width:100%}
.hah-archive-page .hah-archive-table-compact col.hah-col-request{width:22%}
.hah-archive-page .hah-archive-table-compact col.hah-col-location{width:12%}
.hah-archive-page .hah-archive-table-compact col.hah-col-asset{width:13%}
.hah-archive-page .hah-archive-table-compact col.hah-col-presentation{width:8%}
.hah-archive-page .hah-archive-table-compact col.hah-col-dates{width:18%}
.hah-archive-page .hah-archive-table-compact col.hah-col-archiver{width:10%}
.hah-archive-page .hah-archive-table-compact col.hah-col-actions{width:17%}
.hah-archive-page .hah-archive-table-compact th:last-child,
.hah-archive-page .hah-archive-table-compact td:last-child{min-width:190px;padding-left:12px;padding-right:12px}
.hah-archive-action-panel{width:100%;min-width:0}
.hah-archive-action-grid{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:7px!important;width:100%;min-width:0;align-items:stretch}
.hah-archive-action-grid>a,
.hah-archive-action-grid>form,
.hah-archive-action-grid>span{min-width:0;max-width:100%}
.hah-archive-action-grid .hah-btn{display:flex!important;width:100%!important;min-width:0;min-height:32px;padding:6px 7px!important;font-size:10px!important;line-height:1.05!important;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis;align-items:center;justify-content:center;text-align:center}
.hah-archive-action-grid .hah-inline-action-form{display:block!important;width:100%!important;min-width:0}
.hah-archive-action-grid .hah-inline-action-form .hah-btn{width:100%!important}
.hah-archive-action-grid .hah-delete-lock,
.hah-archive-action-grid .hah-archive-delete-action{grid-column:1/-1!important;width:100%!important}
.hah-archive-action-grid .hah-delete-lock{min-height:28px;padding:5px 8px;box-sizing:border-box;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:1180px){
 .hah-archive-page .hah-archive-table-compact{min-width:1040px}
 .hah-archive-page .hah-archive-table-compact th:last-child,
 .hah-archive-page .hah-archive-table-compact td:last-child{min-width:180px}
}

/* v0.7.6 — Bölüm 7C-1 Genel Ayarlar */
.hah-settings-page .hah-settings-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 18px}
.hah-settings-page .hah-settings-tabs span{display:inline-flex;align-items:center;min-height:36px;padding:7px 13px;border:1px solid #d9dee7;border-radius:999px;background:#fff;color:#667085;font-size:11px;font-weight:800}
.hah-settings-page .hah-settings-tabs span.is-active{background:#111827;border-color:#111827;color:#fff}
.hah-settings-page .hah-settings-form{display:grid;gap:18px}
.hah-settings-page .hah-settings-currency-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:18px 20px 2px}
.hah-settings-page .hah-check-card{display:flex;align-items:center;gap:12px;min-height:74px;padding:14px 16px;border:1px solid #d9dee7;border-radius:12px;background:#fff;cursor:pointer;box-sizing:border-box}
.hah-settings-page .hah-check-card:hover{border-color:#aeb6c3}
.hah-settings-page .hah-check-card input{width:18px;height:18px;margin:0;accent-color:#111827;flex:0 0 auto}
.hah-settings-page .hah-check-card span{display:grid;gap:3px}
.hah-settings-page .hah-check-card strong{font-size:14px;color:#17202d}
.hah-settings-page .hah-check-card small{font-size:11px;color:#667085}
.hah-settings-page .hah-settings-inline-grid{padding-top:14px}
.hah-settings-page .hah-settings-actions{margin-top:0}
.hah-settings-page .hah-settings-next-note{margin-top:18px}
@media(max-width:760px){.hah-settings-page .hah-settings-currency-grid{grid-template-columns:1fr}.hah-settings-page .hah-settings-tabs span{flex:1 1 auto;justify-content:center}}

/* v0.7.7 — Bölüm 7C-2 Form Ayarları */
.hah-settings-page .hah-settings-tabs a,
.hah-settings-page .hah-settings-tabs span{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:7px 13px;border:1px solid #d9dee7;border-radius:999px;background:#fff;color:#667085;font-size:11px;font-weight:800;text-decoration:none;box-sizing:border-box}
.hah-settings-page .hah-settings-tabs a:hover{border-color:#aeb6c3;color:#17202d}
.hah-settings-page .hah-settings-tabs a.is-active,
.hah-settings-page .hah-settings-tabs span.is-active{background:#111827;border-color:#111827;color:#fff}
.hah-settings-page .hah-settings-required-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:18px 20px 8px}
.hah-settings-page .hah-settings-filetype-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:4px 20px 20px}
.hah-settings-page .hah-settings-toggle-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:18px 20px 20px}
.hah-settings-page .hah-settings-toggle-row{padding:18px 20px 2px}
.hah-settings-page .hah-check-card-wide{width:100%}
.hah-settings-page .hah-check-card.is-locked{background:#f6f7f9;cursor:default;border-style:dashed}
.hah-settings-page .hah-check-card.is-locked input{opacity:.55}
.hah-settings-page .hah-settings-lock-note{margin:8px 20px 20px;padding:11px 13px;border-radius:10px;background:#f8fafc;border:1px solid #e3e7ee;color:#667085;font-size:12px}
.hah-settings-page .hah-settings-lock-note strong{color:#17202d}
.hah-settings-page .hah-settings-subhead{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 20px 8px;border-top:1px solid #eef1f5;margin-top:8px}
.hah-settings-page .hah-settings-subhead strong{font-size:13px;color:#17202d}
.hah-settings-page .hah-settings-subhead span{font-size:11px;color:#7b8494}
.hah-settings-disabled-box{margin:18px 20px;padding:18px 20px;border:1px dashed #cbd3df;border-radius:12px;background:#f8fafc;display:grid;gap:5px;color:#667085}
.hah-settings-disabled-box strong{color:#17202d}
@media(max-width:1000px){
  .hah-settings-page .hah-settings-required-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hah-settings-page .hah-settings-filetype-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .hah-settings-page .hah-settings-required-grid,
  .hah-settings-page .hah-settings-filetype-grid,
  .hah-settings-page .hah-settings-toggle-grid{grid-template-columns:1fr}
  .hah-settings-page .hah-settings-tabs a,
  .hah-settings-page .hah-settings-tabs span{flex:1 1 auto}
  .hah-settings-page .hah-settings-subhead{align-items:flex-start;flex-direction:column}
}

/* v0.7.9 — Bölüm 7C-4 Dil / İçerik Ayarları */
.hah-settings-page .hah-settings-language-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:18px 20px 8px}
.hah-settings-page .hah-settings-language-behavior{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:18px 20px 8px}
.hah-settings-page .hah-choice-card{display:flex;align-items:flex-start;gap:12px;min-height:92px;padding:16px 18px;border:1px solid #d9dee7;border-radius:12px;background:#fff;cursor:pointer;box-sizing:border-box}
.hah-settings-page .hah-choice-card:hover{border-color:#aeb6c3}
.hah-settings-page .hah-choice-card input{width:18px;height:18px;margin:2px 0 0;accent-color:#111827;flex:0 0 auto}
.hah-settings-page .hah-choice-card span{display:grid;gap:5px}
.hah-settings-page .hah-choice-card strong{font-size:13px;color:#17202d}
.hah-settings-page .hah-choice-card small{font-size:11px;line-height:1.5;color:#667085}
@media(max-width:1000px){
  .hah-settings-page .hah-settings-language-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .hah-settings-page .hah-settings-language-grid,
  .hah-settings-page .hah-settings-language-behavior{grid-template-columns:1fr}
}

/* v0.7.14 — settings tabs: client-side, independent of query strings/cache */
.hah-settings-page .hah-settings-tabs button{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:7px 13px;border:1px solid #d9dee7;border-radius:999px;background:#fff;color:#667085;font-size:11px;font-weight:800;text-decoration:none;box-sizing:border-box;cursor:pointer;font-family:inherit}
.hah-settings-page .hah-settings-tabs button:hover{border-color:#aeb6c3;color:#17202d}
.hah-settings-page .hah-settings-tabs button.is-active{background:#111827;border-color:#111827;color:#fff}
.hah-settings-page .hah-settings-tabs button:focus-visible{outline:3px solid rgba(17,24,39,.18);outline-offset:2px}
.hah-settings-page .hah-settings-panel[hidden]{display:none!important}
@media(max-width:760px){.hah-settings-page .hah-settings-tabs button{flex:1 1 auto}}


/* v0.7.17 — 7C-3 notification layout + 7C-5B 2FA */
.hah-settings-page .hah-settings-notification-grid{grid-template-columns:1fr}
.hah-settings-page .hah-settings-notification-grid .hah-field{grid-column:1/-1}
.hah-settings-page .hah-settings-notification-grid textarea{min-height:128px}
.hah-settings-page .hah-settings-event-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.hah-settings-page .hah-settings-event-grid .hah-check-card{min-height:112px;align-items:flex-start}
.hah-login-secondary-form{margin-top:10px}
.hah-login-page .hah-login-secondary-button{width:100%;min-height:44px;border:1px solid #cfd4dc;border-radius:10px;background:#fff;color:#17202d;font-weight:800;cursor:pointer}
.hah-login-page .hah-login-secondary-button:hover{border-color:#98a2b3;background:#f8fafc}
@media(max-width:980px){.hah-settings-page .hah-settings-event-grid{grid-template-columns:1fr}}


/* v0.7.18 — System settings */
.hah-system-status-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.hah-system-status-grid-compact{grid-template-columns:repeat(2,minmax(0,1fr));align-self:end}
.hah-system-stat{border:1px solid #dfe5ee;border-radius:14px;padding:16px;background:#fbfcfe;min-width:0}
.hah-system-stat span{display:block;font-size:12px;font-weight:700;color:#718096;text-transform:uppercase;letter-spacing:.05em;margin-bottom:7px}
.hah-system-stat strong{display:block;font-size:15px;color:#172033;overflow-wrap:anywhere}
.hah-system-export-row{display:flex;justify-content:flex-end;margin-top:18px}
@media (max-width:1100px){.hah-system-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:680px){.hah-system-status-grid,.hah-system-status-grid-compact{grid-template-columns:1fr}.hah-system-export-row{justify-content:stretch}.hah-system-export-row .hah-btn{width:100%;justify-content:center}}
