/* =====================================================
   TEMİZLİK SİSTEMİ - Kurumsal arayüz
   Palet: lacivert, turkuaz/teal, yeşil, turuncu, kırmızı, açık gri
   ===================================================== */
:root {
    --navy: #16325c;
    --navy-dark: #0f2547;
    --navy-light: #1f4479;
    --teal: #0e9f9a;
    --teal-dark: #0b807c;
    --green: #1f9d55;
    --orange: #e8940a;
    --red: #dc2626;
    --blue: #2563eb;
    --bg: #eef2f7;
    --card: #ffffff;
    --line: #e2e8f0;
    --text: #1e293b;
    --muted: #64748b;
    --radius: 14px;
    --shadow: 0 1px 3px rgba(15, 37, 71, .08), 0 4px 16px rgba(15, 37, 71, .06);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 15px;
    line-height: 1.5;
}
a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0 0 8px; color: var(--navy); }
.icon { vertical-align: -4px; flex-shrink: 0; }

/* ---------- Yerleşim ---------- */
.layout { display: flex; min-height: 100vh; }
.content { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.main { padding: 20px; max-width: 1280px; width: 100%; margin: 0 auto; }
.bottom-nav { display: none; }

/* ---------- Kenar menü ---------- */
.sidebar {
    width: 250px;
    background: var(--navy);
    color: #dbe6f5;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    flex-shrink: 0;
}
.brand { display: flex; gap: 10px; align-items: center; padding: 18px 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
.brand-logo {
    width: 40px; height: 40px; border-radius: 12px;
    background: var(--teal); color: #fff;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.brand-name { font-weight: 700; color: #fff; font-size: 15px; line-height: 1.2; }
.brand-sub { font-size: 11px; color: #9db4d4; line-height: 1.3; margin-top: 2px; }
.nav { flex: 1; padding: 10px 8px; }
.nav-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px; margin: 2px 0;
    border-radius: 10px; color: #c7d6ec; font-size: 14px;
    position: relative;
}
.nav-item:hover { background: rgba(255,255,255,.07); color: #fff; text-decoration: none; }
.nav-item.active { background: var(--teal); color: #fff; font-weight: 600; }
.nav-badge {
    margin-left: auto; background: var(--red); color: #fff;
    font-size: 11px; font-weight: 700; border-radius: 99px;
    padding: 1px 7px;
}
.sidebar-footer { padding: 8px; border-top: 1px solid rgba(255,255,255,.08); }
.backdrop { display: none; }

/* ---------- Üst bar ---------- */
.topbar {
    background: var(--card);
    border-bottom: 1px solid var(--line);
    display: flex; align-items: center; gap: 12px;
    padding: 10px 20px;
    position: sticky; top: 0; z-index: 30;
}
.page-title { font-size: 18px; margin: 0; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-right { display: flex; align-items: center; gap: 10px; }
.icon-btn {
    background: none; border: none; cursor: pointer; color: var(--navy);
    padding: 8px; border-radius: 10px; display: inline-flex; position: relative;
}
.icon-btn:hover { background: var(--bg); }
.menu-btn { display: none; }
.bell-badge {
    position: absolute; top: 2px; right: 0;
    background: var(--red); color: #fff; font-size: 10px; font-weight: 700;
    border-radius: 99px; padding: 0 5px; line-height: 15px;
}
.user-chip { display: flex; align-items: center; gap: 8px; color: inherit; }
.user-chip:hover { text-decoration: none; }
.avatar {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--navy); color: #fff; font-weight: 700;
    display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.user-meta { display: flex; flex-direction: column; line-height: 1.2; }
.user-meta small { color: var(--muted); font-size: 11px; }

/* ---------- Kartlar ---------- */
.card {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 18px;
    margin-bottom: 20px;
}
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.card-head h2 { font-size: 16px; margin: 0; }
.card-head .actions { display: flex; gap: 8px; flex-wrap: wrap; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ---------- Özet istatistik kartları ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
.stat-card {
    background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
    padding: 14px 16px; display: flex; align-items: center; gap: 12px;
}
.stat-icon {
    width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; color: #fff;
}
.stat-icon.navy { background: var(--navy); }
.stat-icon.teal { background: var(--teal); }
.stat-icon.green { background: var(--green); }
.stat-icon.orange { background: var(--orange); }
.stat-icon.red { background: var(--red); }
.stat-icon.blue { background: var(--blue); }
.stat-value { font-size: 22px; font-weight: 700; color: var(--navy); line-height: 1.1; }
.stat-label { font-size: 12px; color: var(--muted); }

/* ---------- Butonlar ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border: none; cursor: pointer; font-size: 14px; font-weight: 600;
    padding: 10px 16px; border-radius: 10px;
    background: var(--bg); color: var(--navy);
    text-decoration: none; transition: filter .15s;
}
.btn:hover { filter: brightness(.95); text-decoration: none; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-success { background: var(--green); color: #fff; }
.btn-warning { background: var(--orange); color: #fff; }
.btn-danger { background: var(--red); color: #fff; }
.btn-outline { background: transparent; border: 1px solid var(--line); color: var(--navy); }
.btn-sm { padding: 6px 10px; font-size: 13px; border-radius: 8px; }
.btn-lg { padding: 14px 20px; font-size: 16px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- Formlar ---------- */
.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 5px; }
.field .req { color: var(--red); }
input[type=text], input[type=password], input[type=email], input[type=tel],
input[type=number], input[type=date], input[type=time], select, textarea {
    width: 100%; padding: 11px 12px; font-size: 15px;
    border: 1px solid var(--line); border-radius: 10px;
    background: #fff; color: var(--text); font-family: inherit;
}
input:focus, select:focus, textarea:focus {
    outline: 2px solid var(--teal); outline-offset: 0; border-color: var(--teal);
}
textarea { min-height: 90px; resize: vertical; }
.check-line { display: flex; align-items: center; gap: 8px; margin: 12px 0; font-size: 14px; cursor: pointer; }
.check-line input { width: 18px; height: 18px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.hint { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* Büyük Evet/Hayır seçim butonları (mobil için) */
.choice-group { display: flex; gap: 10px; flex-wrap: wrap; }
.choice-group input { position: absolute; opacity: 0; pointer-events: none; }
.choice-group label {
    flex: 1; min-width: 110px; text-align: center; cursor: pointer;
    padding: 14px 10px; border: 2px solid var(--line); border-radius: 12px;
    font-weight: 600; font-size: 15px; background: #fff; transition: all .15s;
}
.choice-group input:checked + label.pos { border-color: var(--green); background: #e9f7ef; color: var(--green); }
.choice-group input:checked + label.negc { border-color: var(--red); background: #fdecec; color: var(--red); }
.choice-group input:checked + label.neu { border-color: var(--teal); background: #e6f6f5; color: var(--teal-dark); }

/* Kompakt seçenekler (denetim formu) */
.opt-group { display: flex; gap: 8px; flex-wrap: wrap; }
.opt-group input { position: absolute; opacity: 0; pointer-events: none; }
.opt-group label {
    cursor: pointer; padding: 8px 14px; border: 1.5px solid var(--line);
    border-radius: 99px; font-size: 13.5px; font-weight: 600; background: #fff;
}
.opt-group input:checked + label { border-color: var(--navy); background: var(--navy); color: #fff; }
.opt-group input:checked + label.neg-opt { border-color: var(--red); background: var(--red); }

/* ---------- Tablolar ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th {
    text-align: left; padding: 10px 12px; font-size: 12px;
    text-transform: uppercase; letter-spacing: .4px; color: var(--muted);
    border-bottom: 2px solid var(--line); white-space: nowrap;
}
.table td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:hover td { background: #f8fafc; }
.table.plain th { text-transform: none; letter-spacing: 0; font-size: 14px; width: 40%; }
.table.plain tr:hover td { background: none; }

/* ---------- Rozetler ---------- */
.badge {
    display: inline-block; padding: 3px 10px; border-radius: 99px;
    font-size: 12px; font-weight: 700; white-space: nowrap;
}
.b-green { background: #e9f7ef; color: var(--green); }
.b-red { background: #fdecec; color: var(--red); }
.b-orange { background: #fdf3e0; color: #b46e05; }
.b-blue { background: #e7eefc; color: var(--blue); }
.b-gray { background: #eef1f5; color: var(--muted); }
.b-teal { background: #e6f6f5; color: var(--teal-dark); }
.b-navy { background: #e8edf5; color: var(--navy); }

/* ---------- Uyarılar ---------- */
.alert { padding: 12px 14px; border-radius: 10px; margin-bottom: 14px; font-size: 14px; }
.alert-success { background: #e9f7ef; color: #14683a; border: 1px solid #bfe8d0; }
.alert-error { background: #fdecec; color: #a11616; border: 1px solid #f5c6c6; }
.alert-warning { background: #fdf3e0; color: #8a5504; border: 1px solid #f3ddb0; }
.alert-info { background: #e7eefc; color: #1d4fbd; border: 1px solid #c8d8f5; }

/* ---------- Takvim ---------- */
.cal-wrap { overflow-x: auto; }
.cal { width: 100%; border-collapse: collapse; table-layout: fixed; min-width: 640px; }
.cal th {
    padding: 8px 4px; font-size: 12px; color: var(--muted);
    border-bottom: 2px solid var(--line); text-transform: uppercase;
}
.cal td { border: 1px solid var(--line); vertical-align: top; height: 86px; padding: 4px; }
.cal-empty { background: #f8fafc; }
.cal-num { font-size: 12px; font-weight: 700; color: var(--muted); display: inline-block; margin-bottom: 3px; }
a.cal-num:hover { color: var(--teal); }
.cal-today { background: #e6f6f5; }
.cal-today .cal-num { color: var(--teal-dark); }
.cal-chip {
    display: block; font-size: 11px; padding: 2px 6px; margin: 2px 0;
    border-radius: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    background: #e8edf5; color: var(--navy);
}
a.cal-chip:hover { text-decoration: none; filter: brightness(.93); }
.cal-chip.b-green { background: #e9f7ef; color: var(--green); }
.cal-chip.b-red { background: #fdecec; color: var(--red); }
.cal-chip.b-orange { background: #fdf3e0; color: #b46e05; }
.cal-chip.b-blue { background: #e7eefc; color: var(--blue); }
.cal-chip.b-gray { background: #eef1f5; color: var(--muted); text-decoration: line-through; }

/* ---------- Görev kartları (denetçi) ---------- */
.task-card {
    background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
    padding: 16px; margin-bottom: 14px;
    display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.task-info { flex: 1; min-width: 200px; }
.task-loc { font-size: 16px; font-weight: 700; color: var(--navy); }
.task-meta { font-size: 13px; color: var(--muted); margin-top: 3px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Fotoğraflar ---------- */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.photo-item {
    border-radius: 12px; overflow: hidden; background: #f1f5f9;
    border: 1px solid var(--line); display: block;
}
.photo-item img { width: 100%; height: 120px; object-fit: cover; display: block; }
.photo-meta { padding: 7px 9px; font-size: 11px; color: var(--muted); line-height: 1.4; }
.photo-meta strong { color: var(--navy); display: block; font-size: 12px; }
.preview-strip { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.preview-strip img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }

/* Dosya yükleme butonu */
.file-btn {
    display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
    padding: 12px 16px; border: 2px dashed var(--teal); border-radius: 12px;
    color: var(--teal-dark); font-weight: 600; font-size: 14px; background: #f0fbfa;
}
.file-btn input { display: none; }

/* ---------- Tarayıcı içi kamera modalı ---------- */
.camera-modal {
    position: fixed; inset: 0; z-index: 100;
    background: rgba(15, 37, 71, .72);
    display: flex; align-items: center; justify-content: center;
    padding: 16px;
}
.camera-modal[hidden] { display: none; }
.camera-modal-content {
    background: var(--card); border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
    width: 100%; max-width: 520px; max-height: 92dvh;
    display: flex; flex-direction: column; overflow: hidden;
}
.camera-modal-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 16px; border-bottom: 1px solid var(--line);
}
.camera-modal-header h3 { margin: 0; font-size: 16px; }
.camera-modal-body { padding: 16px; overflow-y: auto; }
.camera-capture-screen video,
.camera-preview-screen img {
    width: 100%; max-height: 55dvh; min-height: 180px;
    border-radius: 12px; background: #000; object-fit: contain; display: block;
}
.camera-capture-screen video[hidden] { display: none; }
.camera-video-wrap { position: relative; }
.camera-flash {
    position: absolute; inset: 0; border-radius: 12px;
    background: #fff; opacity: 0; pointer-events: none;
}
.camera-flash.on { animation: camera-flash .3s ease-out; }
@keyframes camera-flash { from { opacity: .85; } to { opacity: 0; } }
.camera-mini-strip {
    display: flex; gap: 8px; margin-top: 10px; padding-bottom: 4px;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.camera-mini-strip[hidden] { display: none; }
.camera-mini-thumb {
    width: 56px; height: 56px; object-fit: cover; flex-shrink: 0;
    border-radius: 8px; border: 2px solid var(--teal); background: #000;
}
.camera-error {
    padding: 12px 14px; border-radius: 10px; margin-bottom: 12px; font-size: 14px;
    background: #fdf3e0; color: #8a5504; border: 1px solid #f3ddb0;
}
.camera-action-buttons { display: flex; gap: 10px; margin-top: 14px; }
.camera-action-buttons .btn { flex: 1; }
@media (max-width: 480px) {
    .camera-modal { padding: 8px; }
    .camera-modal-content { max-height: 96dvh; }
}

/* ---------- Fotoğraf lightbox galerisi ---------- */
.lightbox-modal {
    position: fixed; inset: 0; z-index: 110;
    background: rgba(8, 18, 36, .92);
    display: flex; align-items: center; justify-content: center;
    padding: 56px 64px;
    animation: lightbox-fade .2s ease;
}
.lightbox-modal[hidden] { display: none; }
@keyframes lightbox-fade { from { opacity: 0; } to { opacity: 1; } }
.lightbox-content {
    max-width: 100%; max-height: 100%;
    display: flex; align-items: center; justify-content: center;
}
.lightbox-content img {
    max-width: 100%; max-height: calc(100dvh - 112px);
    border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
    opacity: 0; transition: opacity .25s ease;
}
.lightbox-content img.loaded { opacity: 1; }
.lightbox-close-btn, .lightbox-nav-btn {
    position: absolute; z-index: 1;
    display: flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border-radius: 50%;
    border: none; cursor: pointer;
    background: rgba(255, 255, 255, .12); color: #fff;
    transition: background .15s;
}
.lightbox-close-btn:hover, .lightbox-nav-btn:hover { background: rgba(255, 255, 255, .28); }
.lightbox-close-btn { top: 14px; right: 14px; }
.lightbox-nav-btn { top: 50%; transform: translateY(-50%); }
.lightbox-nav-btn.prev { left: 14px; }
.lightbox-nav-btn.next { right: 14px; }
.lightbox-counter {
    position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
    color: #dbe6f5; font-size: 13px; font-weight: 600;
    background: rgba(255, 255, 255, .12); padding: 4px 14px; border-radius: 99px;
}
@media (max-width: 480px) {
    .lightbox-modal { padding: 52px 8px; }
    .lightbox-content img { max-height: calc(100dvh - 104px); }
    .lightbox-close-btn, .lightbox-nav-btn { width: 40px; height: 40px; }
    .lightbox-nav-btn.prev { left: 6px; }
    .lightbox-nav-btn.next { right: 6px; }
}

/* ---------- Bildirimler ---------- */
.notif-list { list-style: none; margin: 0; padding: 0; }
.notif-item { display: flex; gap: 12px; padding: 12px 6px; border-bottom: 1px solid var(--line); }
.notif-item.unread { background: #f0fbfa; border-radius: 10px; }
.notif-icon {
    width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
    background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center;
}
.notif-body strong { color: var(--navy); font-size: 14px; }
.notif-body p { margin: 3px 0; font-size: 13px; color: var(--text); }
.notif-body small { color: var(--muted); font-size: 12px; }

/* ---------- Filtre satırı ---------- */
.filters {
    display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end;
    background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
    padding: 14px; margin-bottom: 20px;
}
.filters .field { margin: 0; min-width: 140px; flex: 1; }
.filters .btn { flex-shrink: 0; }

/* ---------- Trend grafiği (saf CSS çubuklar) ---------- */
.trend { display: flex; align-items: flex-end; gap: 6px; height: 140px; padding-top: 10px; }
.trend-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; justify-content: flex-end; }
.trend-bars { display: flex; gap: 3px; align-items: flex-end; height: 100%; }
.trend-bar { width: 9px; border-radius: 4px 4px 0 0; min-height: 2px; }
.trend-bar.teal { background: var(--teal); }
.trend-bar.navy { background: var(--navy-light); }
.trend-day { font-size: 10px; color: var(--muted); white-space: nowrap; }
.legend { display: flex; gap: 16px; font-size: 12px; color: var(--muted); margin-top: 8px; }
.legend span::before { content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; }
.legend .lg-teal::before { background: var(--teal); }
.legend .lg-navy::before { background: var(--navy-light); }

/* ---------- Denetim soru kartı ---------- */
.q-card { border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin-bottom: 12px; background: #fff; }
.q-card.negative { border-color: var(--red); background: #fffafa; }
.q-section { font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--teal-dark); letter-spacing: .5px; }
.q-text { font-weight: 600; margin: 4px 0 10px; color: var(--navy); }
.q-req { color: var(--red); }
.q-extra { margin-top: 10px; }

.empty-state { text-align: center; color: var(--muted); padding: 30px 10px; font-size: 14px; }

/* ---------- Giriş ekranı ---------- */
.login-page {
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 55%, var(--teal-dark) 130%);
    min-height: 100vh;
}
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; }
.login-card {
    background: #fff; border-radius: 20px; padding: 32px 28px;
    width: 100%; max-width: 400px; box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.login-logo {
    width: 60px; height: 60px; border-radius: 18px; margin: 0 auto 14px;
    background: var(--teal); color: #fff;
    display: flex; align-items: center; justify-content: center;
}
.login-title { text-align: center; font-size: 22px; margin-bottom: 2px; }
.login-sub { text-align: center; color: var(--muted); font-size: 13px; margin: 0 0 22px; }
.login-foot { text-align: center; margin-top: 16px; font-size: 13px; }

/* ---------- Yardımcılar ---------- */
.mt0 { margin-top: 0; } .mb0 { margin-bottom: 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.nowrap { white-space: nowrap; }
.right { text-align: right; }
.center { text-align: center; }
.w-100 { width: 100%; }
.flex { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }

/* =====================================================
   MOBİL
   ===================================================== */
@media (max-width: 960px) {
    .sidebar {
        position: fixed; left: 0; top: 0; bottom: 0; z-index: 50;
        transform: translateX(-105%); transition: transform .25s ease;
        width: 270px; height: 100dvh;
    }
    .sidebar.open { transform: translateX(0); box-shadow: 0 0 40px rgba(0,0,0,.35); }
    .backdrop {
        display: none; position: fixed; inset: 0; z-index: 40;
        background: rgba(15, 37, 71, .5);
    }
    .backdrop.show { display: block; }
    .menu-btn { display: inline-flex; }
    body:has(.bottom-nav) .layout { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
    .bottom-nav {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 35;
        display: flex; gap: 4px; align-items: stretch;
        padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, .88);
        border-top: 1px solid rgba(226, 232, 240, .92);
        box-shadow: 0 -4px 18px rgba(15, 37, 71, .12);
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
    }
    .bot-nav-item {
        min-width: 44px; min-height: 44px; flex: 1;
        display: flex; flex-direction: column; align-items: center; justify-content: center;
        gap: 2px; padding: 5px 3px; border-radius: 10px;
        color: var(--muted); font-size: 11px; line-height: 1.15; text-align: center;
    }
    .bot-nav-item .icon { vertical-align: 0; }
    .bot-nav-item:hover { color: var(--teal-dark); text-decoration: none; background: rgba(14, 159, 154, .08); }
    .bot-nav-item.active { color: var(--teal-dark); background: rgba(14, 159, 154, .12); font-weight: 700; }
    body:has(.bottom-nav[data-role="personel"]) .menu-btn,
    body:has(.bottom-nav[data-role="denetci"]) .menu-btn { display: none; }
    .user-meta { display: none; }
    .main { padding: 14px; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .page-title { font-size: 16px; }
    .btn-lg { padding: 15px 18px; }
    .btn, .icon-btn, .file-btn, .nav-item, .notif-item { min-height: 44px; }
    .main form .btn { width: 100%; }
}

@media (max-width: 480px) {
    .stats { grid-template-columns: 1fr; gap: 10px; }
    .stat-value { font-size: 19px; }
    .card { padding: 14px; }
    .table th, .table td { padding: 8px; }
}

/* Yazdırma */
@media print {
    .sidebar, .topbar, .bottom-nav, .btn, .filters { display: none !important; }
    .main { padding: 0; }
    .card { box-shadow: none; border: 1px solid #ccc; }
}
