/* kaensales v1.17.0 — titizlik katmanı: tek yazı ölçeği, tek satır sabit yükseklikte tablolar, hizalı sayılar.
   Ölçek: 11 (etiket / ikincil) · 12.5 (gövde, tablo) · 14 (kart başlığı) · 18 (sayfa başlığı) · 22 (büyük sayı). */
body{font-size:12.5px;line-height:1.45}
h1{font-size:18px;font-weight:750;letter-spacing:-.01em}
h2{font-size:14px;font-weight:700}
h3{font-size:12.5px;font-weight:700}
.eyebrow{font-size:11px;letter-spacing:.06em}
.muted,.t2{font-size:inherit}
.btn{min-height:30px;padding:0 11px;font-size:12px;font-weight:600}
.btn.sm{min-height:26px;padding:0 9px;font-size:11.5px}
input[type=text],input[type=email],input[type=password],input[type=search],input[type=number],input[type=date],input[type=url],select{min-height:30px;padding:4px 8px;font-size:12.5px}
textarea{font-size:12.5px}
label{font-size:11px}
.chip{font-size:10.5px;padding:0 7px;line-height:18px;height:20px}
.pill{min-height:28px;padding:0 10px;font-size:12px}
.card{padding:12px 14px}
.page-h{margin-bottom:10px;align-items:center}
.view{padding:14px 20px 40px}
.kpi b{font-size:22px}.kpi .k-top{font-size:11.5px}.kpi small{font-size:11px}
.vz-tile b{font-size:20px}
.t-firm{font-size:12.5px;font-weight:650}
.tl-body,.kv,.contact .t2,.fm-h{font-size:12px}
.note{font-size:12px}
.foot{font-size:11px}

/* üst bar: tek satır */
.top-in{flex-wrap:nowrap;min-height:48px}
#nav{flex-wrap:nowrap;gap:2px}
#nav a{padding:6px 12px;font-size:12.5px;white-space:nowrap}
.user-btn #userName{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media (max-width:980px){.top-in{flex-wrap:wrap}#nav{flex-wrap:wrap}}

/* bölüm sekmeleri */
.sec-tabs{display:flex;gap:2px;margin:-2px 0 12px;border-bottom:1px solid var(--line);overflow-x:auto;scrollbar-width:none}
.sec-tabs::-webkit-scrollbar{display:none}
.sec-tabs a{flex:0 0 auto;padding:7px 12px;font-size:12.5px;color:var(--text2);text-decoration:none;border-bottom:2px solid transparent;margin-bottom:-1px;white-space:nowrap}
.sec-tabs a:hover{color:var(--text)}
.sec-tabs a.on{color:var(--acc-t);border-bottom-color:var(--acc);font-weight:700}

/* "?" açıklama */
.kt{display:inline-grid;place-items:center;width:15px;height:15px;border-radius:50%;border:1px solid var(--line2);color:var(--muted);font-size:10px;font-weight:700;line-height:1;cursor:help;vertical-align:1px;margin-left:4px;font-style:normal}
.kt:hover,.kt:focus{border-color:var(--acc);color:var(--acc-t);outline:none}
.kt-pop{position:fixed;z-index:95;white-space:pre-line!important;background:var(--panel);border:1px solid var(--line2);border-radius:var(--rs);padding:8px 10px;font-size:12px;line-height:1.45;color:var(--text);box-shadow:0 12px 32px rgba(0,0,0,.4);pointer-events:none;white-space:normal}

/* tek satır tablolar: her satır aynı yükseklik, taşan metin "…" ve üzerine gelince tam hali */
.tbl.tight{table-layout:fixed;min-width:860px}
.tbl.tight th{height:32px;padding:0 10px;font-size:10.5px}
.tbl.tight td{height:38px;padding:0 10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:middle;font-size:12.5px}
.tbl.tight td>*{vertical-align:middle}
.tbl.tight .chip{vertical-align:middle}
.tbl td.num,.tbl th.num{font-variant-numeric:tabular-nums}

/* Firmalar */
.ft col.c-ck{width:36px}.ft col.c-firm{width:auto}.ft col.c-kisi{width:16%}.ft col.c-todo{width:23%}.ft col.c-seg{width:118px}.ft col.c-sc{width:92px}.ft col.c-last{width:100px}.ft col.c-own{width:120px}.ft col.c-act{width:104px}
.ft-city{color:var(--muted);font-weight:400}
.ft-flags .chip{margin-left:4px}
.ft-act{text-align:right}
.ft-act .ra{margin:0}
.ra-b{height:26px;min-width:26px;font-size:12px}

/* Yapılacak */
.ktd{display:inline-flex;align-items:center;gap:6px;max-width:100%;vertical-align:middle;font-weight:600}
.ktd>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ktd i{flex:0 0 7px;width:7px;height:7px;border-radius:50%;background:var(--off)}
.ktd.bad{color:var(--bad)}.ktd.bad i{background:var(--bad)}
.ktd.you{color:var(--you)}.ktd.you i{background:var(--you)}
.ktd.ok{color:var(--ok)}.ktd.ok i{background:var(--ok)}
.ktd.wait{color:var(--wait)}.ktd.wait i{background:var(--wait)}
.ktd.off{color:var(--muted);font-weight:500}
.kd{display:inline-flex;gap:3px;margin-left:8px;vertical-align:middle}
.kd i{width:5px;height:5px;border-radius:50%;background:var(--line2)}
.kd i.on{background:var(--ok)}

/* Segment */
.ksg{display:inline-flex;gap:3px;max-width:100%;overflow:hidden;vertical-align:middle}
.ksg i{font-style:normal;font-size:10.5px;line-height:18px;padding:0 6px;border-radius:5px;background:var(--acc-bg);color:var(--acc-t);border:1px solid var(--acc-b);white-space:nowrap}
.ksg.sug i{background:transparent;color:var(--muted);border-style:dashed;border-color:var(--line2)}
.ksg-pick{display:flex;flex-wrap:wrap;gap:6px}
.ksg-pick .pill.sug{border-style:dashed;color:var(--text2)}
.ksg-pick label.chk{font-size:12px}

/* Haftam */
.hw-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px}
.hw-tile{background:var(--panel);border:1px solid var(--line);border-radius:var(--r);padding:10px 12px;display:grid;grid-template-rows:auto auto auto;gap:2px;min-width:0;height:84px}
.hw-tile small{font-size:11px;color:var(--muted);font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hw-tile b{font-size:22px;line-height:1.15;font-weight:800;font-variant-numeric:tabular-nums}
.hw-tile span{font-size:11.5px;color:var(--text2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hw-tile.ok b{color:var(--ok)}.hw-tile.warn b{color:var(--you)}.hw-tile.bad b{color:var(--bad)}.hw-tile.full b{color:var(--you)}
.hw-info{font-size:12px;color:var(--text2);margin:-2px 0 12px}
.hw-week{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:16px}
.hw-day{all:unset;box-sizing:border-box;cursor:pointer;background:var(--panel);border:1px solid var(--line);border-radius:var(--r);padding:10px 12px;display:grid;grid-template-columns:1fr auto;grid-template-rows:auto 1fr;gap:6px 8px;height:132px;min-width:0;overflow:hidden}
.hw-day:hover{border-color:var(--acc-b)}
.hw-day:focus-visible{outline:2px solid var(--acc);outline-offset:2px}
.hw-day.on{border-color:var(--acc);box-shadow:inset 0 -3px 0 var(--acc)}
.hw-day.past{opacity:.7}
.hw-dn{font-size:12.5px;font-weight:700;display:flex;flex-direction:column;gap:1px;min-width:0}
.hw-dn small{font-size:11px;color:var(--muted);font-weight:500}
.hw-day.today .hw-dn{color:var(--acc-t)}
.hw-dt{font-size:22px;font-weight:800;color:var(--acc);font-variant-numeric:tabular-nums;line-height:1}
.hw-dl{grid-column:1/-1;display:flex;flex-direction:column;gap:1px;font-size:11.5px;color:var(--text2);min-width:0}
.hw-dl span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hw-dl b{display:inline-block;min-width:22px;text-align:right;margin-right:4px;color:var(--text);font-variant-numeric:tabular-nums}
.hw-day-h{display:flex;align-items:baseline;gap:10px;margin:0 0 8px}
.hw-blk{background:var(--panel);border:1px solid var(--line);border-radius:var(--r);margin-bottom:10px;overflow:hidden}
.hw-blk>header{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;padding:6px 12px;border-bottom:1px solid var(--line)}
.hw-blk h3{font-size:13px;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hw-blk .acts{flex-wrap:nowrap}
.hw-wait{font-size:11.5px}
.hw-tbl{min-width:720px}
.hw-tbl col.c-f{width:auto}.hw-tbl col.c-k{width:20%}.hw-tbl col.c-y{width:28%}.hw-tbl col.c-s{width:118px}.hw-tbl col.c-a{width:92px}
.hw-tbl tr:last-child td{border-bottom:0}
.hw-act{text-align:right}
.hw-more{display:block;padding:8px 12px;border-top:1px solid var(--line);width:100%;text-align:left}
.hw-prog{height:6px;background:var(--bg3);border-radius:999px;overflow:hidden}.hw-prog i{display:block;height:100%;background:var(--acc);transition:width .2s}
.hw-pl{font-size:12.5px;font-variant-numeric:tabular-nums}
.hw-log{max-height:240px;overflow:auto}
.hw-sk{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:10px;padding:4px 0;border-top:1px solid var(--line);font-size:12px}
.hw-sk a,.hw-sk span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hw-sk span{color:var(--muted)}
@media (max-width:1100px){.hw-week{grid-template-columns:repeat(5,minmax(150px,1fr));overflow-x:auto}}
@media (max-width:900px){.hw-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:700px){.hw-week{display:flex;overflow-x:auto;scroll-snap-type:x mandatory}.hw-day{flex:0 0 160px;scroll-snap-align:start}.hw-blk>header{flex-wrap:wrap}.hw-blk h3{white-space:normal}}

/* Düzeltme tablosu */
.cr col.c-f{width:38%}.cr col.c-k{width:auto}.cr col.c-a{width:250px}
.cr .ft-act{display:table-cell}.cr .ft-act .btn{margin-left:4px}
.cr-c{font-weight:500;color:var(--text)}
/* Aramalar ve benzeri kart listeleri: başlık tek satır */
.call-card{flex-wrap:nowrap;padding:8px 12px}
.call-card>div:first-child{min-width:0;flex:1 1 auto}
.call-card .t-firm{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.call-card>div:first-child>.muted{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.call-card .acts{flex-wrap:nowrap;flex:0 0 auto}
@media (max-width:700px){.call-card{flex-wrap:wrap}}
/* silinen kişiler bölümü */
#view>section.card>p{margin:0;padding:6px 0;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:10px;align-items:center}

/* bağlantı-hap: alt çizgi yok, düğmeyle aynı hiza */
a.pill{text-decoration:none;display:inline-flex;align-items:center;gap:4px;white-space:nowrap}
a.pill b{font-weight:700}
.filters.mt-stg{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;padding-bottom:2px}
.filters.mt-stg .pill{flex:0 0 auto}
.filters{row-gap:6px}
/* Mail kutusu satırı: tarih · kutu · işlemler tek satırda */
.mb-meta{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;font-size:11.5px}
.mb-meta .ra{margin:0}
