/* Personel devam takibi — 25 Ekim 2026 */
.att-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap}
.att-head h1{margin-bottom:.2rem}.att-head p{margin:0 0 1rem;color:var(--muted)}
.att-tabs{display:flex;gap:4px;margin:0 0 18px;border-bottom:1px solid var(--line);overflow-x:auto}
.att-tabs button{background:none;border:0;border-bottom:2px solid transparent;padding:10px 14px;font:inherit;font-weight:600;color:var(--muted);cursor:pointer;white-space:nowrap}
.att-tabs button.on{color:var(--ink);border-bottom-color:var(--teal)}
.att-tabs .badge{display:inline-block;min-width:18px;margin-left:6px;padding:0 6px;border-radius:9px;background:#f59a3f;color:#172a43;font-size:11px;font-weight:700;text-align:center}
.att-err{color:var(--danger);font-weight:600;min-height:1.2em;margin:0 0 8px;white-space:pre-wrap}
.att-ok{color:var(--tealink);font-weight:600}
.att-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;margin-bottom:16px}
.att-kpis>div{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:12px 14px}
.att-kpis b{display:block;font-size:1.5rem;line-height:1.2;color:var(--ink);font-variant-numeric:tabular-nums}
.att-kpis span{font-size:.8rem;color:var(--muted);font-weight:600}
.att-kpis .warn b{color:#a15c00}.att-kpis .bad b{color:var(--danger)}.att-kpis .good b{color:var(--tealink)}
.att-bar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:14px}
.att-bar input,.att-bar select{width:auto;margin:0}
.att-grid2{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}
.att-punch{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center}
.att-punch .state{font-size:1.15rem;font-weight:700;color:var(--ink)}
.att-punch .state i{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:8px;background:#a9b4c1;vertical-align:middle}
.att-punch .state i.in{background:#2f9e66;box-shadow:0 0 0 4px rgba(47,158,102,.15)}
.att-punch .clock{font-size:2.2rem;font-weight:800;letter-spacing:-.02em;font-variant-numeric:tabular-nums;color:var(--ink);line-height:1.1}
.att-punch .btn{padding:14px 26px;font-size:1rem}
.btn.att-out{background:#b42318;border-color:#b42318}.btn.att-out:hover{background:#8f1c13}
.att-tag{display:inline-block;padding:2px 9px;border-radius:99px;font-size:.76rem;font-weight:700;white-space:nowrap;background:#eef1f4;color:#4a5668}
.att-c-calisti,.att-c-gorev{background:#e6f4ec;color:#21633f}
.att-c-iceride{background:#e3f2fb;color:#1f5f8b}
.att-c-gec{background:#fff1d6;color:#8a5a00}
.att-c-devamsiz,.att-c-gelmedi,.att-c-eksik_cikis{background:#fdecea;color:#b42318}
.att-c-izin{background:#efe9fb;color:#5b3b9a}
.att-c-hafta_tatili,.att-c-resmi_tatil,.att-c-yok,.att-c-gelecek{background:#f2f4f7;color:#7a8696}
.att-c-tatil_calisma{background:#e8f0ff;color:#2b4f8c}
.att-c-bekleniyor{background:#f6f7f9;color:#667386}
.att-table td,.att-table th{vertical-align:middle}
.att-table .actions{white-space:nowrap;text-align:right}
.att-table .actions .btn{margin-left:4px}
.att-punches{display:flex;flex-direction:column;gap:3px}
.att-punches span{white-space:nowrap;font-variant-numeric:tabular-nums}
.att-punches .edited{color:#8a5a00;font-size:.75rem;margin-left:4px}
.att-punches button{background:none;border:0;padding:0 2px;color:var(--tealink);cursor:pointer;font:inherit;font-size:.8rem;text-decoration:underline}
/* Aylık puantaj ızgarası */
.att-sheet{overflow:auto;max-height:70vh;border:1px solid var(--line);border-radius:12px;background:#fff}
.att-sheet table{border-collapse:separate;border-spacing:0;width:max-content;min-width:100%}
.att-sheet th,.att-sheet td{padding:6px 4px;border-bottom:1px solid var(--line);border-right:1px solid #f0f2f5;text-align:center;font-size:.78rem;white-space:nowrap}
.att-sheet thead th{position:sticky;top:0;z-index:2;background:#f8fafc}
.att-sheet .name{position:sticky;left:0;z-index:1;background:#fff;text-align:left;min-width:170px;max-width:220px;padding:6px 10px;font-size:.85rem}
.att-sheet thead .name{z-index:3;background:#f8fafc}
.att-sheet .name button{background:none;border:0;padding:0;font:inherit;font-weight:700;color:var(--ink);cursor:pointer;text-align:left}
.att-sheet .name button:hover{color:var(--tealink);text-decoration:underline}
.att-sheet .name small{display:block;color:var(--muted);font-weight:500}
.att-sheet .we{background:#fafbfc}.att-sheet thead .we{background:#f0f3f6}
.att-sheet .hol{background:#f6f2fd}
.att-sheet td.cell{min-width:30px;font-weight:700}
.att-sheet .tot{background:#f8fafc;font-variant-numeric:tabular-nums;min-width:56px}
.att-sheet thead .tot{white-space:normal;line-height:1.15;max-width:70px}
.att-legend{display:flex;flex-wrap:wrap;gap:6px 14px;margin:10px 0 0;font-size:.78rem;color:var(--muted)}
.att-legend b{display:inline-block;min-width:26px;text-align:center;margin-right:4px}
.att-empty{text-align:center;padding:32px 16px;color:var(--muted)}
.att-empty h2{margin-bottom:.4rem}
.att-days label.chk{margin-right:.8rem}
.att-list{margin:0;padding:0;list-style:none}
.att-list li{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:9px 0;border-bottom:1px solid var(--line)}
.att-list li:last-child{border-bottom:0}
.att-sub{font-size:.8rem;color:var(--muted)}
.att-modal{max-width:560px}
.att-modal h2{margin-bottom:.4rem}
.att-modal .f{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}
.att-modal textarea{min-height:70px}
.att-log{font-size:.85rem}
.att-log li{display:block}
/* Üst çubuk: hızlı giriş/çıkış */
.att-quick{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:99px;padding:4px 4px 4px 12px;background:#fff;font-size:.82rem;font-weight:600;color:var(--muted)}
.att-quick i{width:8px;height:8px;border-radius:50%;background:#a9b4c1;display:inline-block}
.att-quick i.in{background:#2f9e66}
.att-quick .btn{padding:5px 12px;font-size:.8rem;border-radius:99px}
@media (max-width:820px){.att-grid2{grid-template-columns:1fr}.att-punch{grid-template-columns:1fr}.att-punch .btn{width:100%}.att-table .actions{white-space:normal}.att-quick span{display:none}}
@media (max-width:600px){.att-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.att-sheet .name{min-width:120px}}
/* 25.10.2026 — vardiya planı, izin takvimi, QR */
.att-warn{margin-top:6px;padding:6px 10px;border-radius:8px;background:#fff6dc;border:1px solid #f3d28d;color:#7a5200;font-size:.8rem}
.att-warn-t{color:#b42318!important;font-weight:600}
.att-qrnote{padding:12px 16px;border-radius:12px;background:#e3f2fb;border:1px solid #b9dcf0;color:#1f5f8b;font-weight:600;margin-bottom:14px}
.att-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}
.att-week>div{border:1px solid var(--line);border-radius:10px;padding:8px 10px;display:flex;flex-direction:column;gap:2px;min-width:0}
.att-week>div b{font-size:.8rem}.att-week>div span{font-weight:700;font-size:.9rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.att-week>div small{color:var(--muted);font-size:.75rem}
.att-week>.work{background:#f3faf6;border-color:#cfe8da}.att-week>.off{background:#f6f7f9;color:var(--muted)}
.att-table tr.att-grp td{background:#f8fafc;font-weight:700;font-size:.8rem;color:var(--muted);padding-top:8px;padding-bottom:8px}
.att-roster td.rc{min-width:118px;padding:4px}
.att-rsel{width:100%;margin:0;padding:5px 6px;font-size:.78rem;border-radius:7px}
.att-rsel.def{color:#7a8696;font-style:italic}
.att-rsel.sh0{background:#eef6ff;border-color:#c9dff5}.att-rsel.sh1{background:#f5efff;border-color:#ddd0f3}.att-rsel.sh2{background:#effaf3;border-color:#cbe8d6}.att-rsel.sh3{background:#fff7ec;border-color:#f1dcb9}
.att-rsel.off{background:#f2f4f7;border-color:#e1e5ea}
.att-rsel.chg{outline:2px solid #f59a3f;outline-offset:-1px}
.att-rc{display:inline-block;padding:3px 8px;border-radius:7px;font-size:.78rem;font-weight:700;background:#eef6ff}.att-rc.off{background:#f2f4f7;color:#7a8696}.att-rc.sh1{background:#f5efff}.att-rc.sh2{background:#effaf3}.att-rc.sh3{background:#fff7ec}
.att-lv{display:inline-block;margin-top:3px;padding:0 6px;border-radius:6px;background:#efe9fb;color:#5b3b9a;font-style:normal;font-size:.72rem;font-weight:700}
.att-lv.pending{background:#fff;border:1px dashed #b9a6e0}
.att-roster tfoot th{position:sticky;bottom:0;background:#f8fafc;font-size:.72rem;font-weight:600;color:var(--muted)}
.att-roster .cov span{display:block;white-space:nowrap}
.att-roster td.tot.bad{color:var(--danger);font-weight:800}
.att-cal td.cell{min-width:26px;font-size:.72rem}
.att-cal td.att-c-izin.pending{background:#faf7ff;color:#8a72bf;border:1px dashed #cbb9ef}
.att-half{margin:-4px 0 8px}
@media (max-width:820px){.att-week{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (max-width:480px){.att-week{grid-template-columns:repeat(2,minmax(0,1fr))}}
