/* style.css */
 :root{font-family:Inter,system-ui,Arial,sans-serif;color:#152238;background:#f4f7fb}*{box-sizing:border-box}body{margin:0}header{background:#0c2d4a;color:white;padding:22px 5%;display:flex;justify-content:space-between;align-items:center}h1,h2{margin-top:0}h1{margin-bottom:0;font-size:calc(25px * var(--kt-readable-scale,1))}header p{margin:4px 0 0;color:#bcd0df}nav{background:white;padding:0 5%;display:flex;gap:8px;border-bottom:1px solid #dbe4ec;position:sticky;top:0;z-index:2}nav button,.entrytabs button{border:0;background:transparent;padding:16px 14px;font-weight:700;color:#617181;cursor:pointer}nav button.active,.entrytabs button.active{color:#0c5c96;border-bottom:3px solid #0c5c96}main{max-width:1500px;margin:auto;padding:24px 4%}.view,.entryview{display:none}.view.active,.entryview.active{display:block}.sectiontitle{display:flex;justify-content:space-between;align-items:end}.sectiontitle p{color:#718096}.cards{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;margin-bottom:20px}.cards.small{grid-template-columns:repeat(4,1fr)}article,.panel{background:white;border-radius:14px;box-shadow:0 3px 14px #17365d14}.cards article{padding:18px;border-left:5px solid #2e75b6}.cards span{display:block;color:#718096;font-size:calc(13px * var(--kt-readable-scale,1));font-weight:700}.cards b{font-size:calc(27px * var(--kt-readable-scale,1));display:block;margin-top:7px}.panel{padding:20px;margin-bottom:20px}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:18px}.tablewrap{overflow:auto}table{border-collapse:collapse;width:100%;min-width:1050px}th{background:#17365d;color:white;text-align:left;padding:11px;font-size:calc(13px * var(--kt-readable-scale,1))}td{padding:9px;border-bottom:1px solid #edf1f5;font-size:calc(13px * var(--kt-readable-scale,1))}.score{font-weight:800;text-align:center}.s1,.s2{background:#ffd6d6;color:#a30000}.s3,.s4{background:#fff0b3;color:#7a5700}.s5{background:#d9f2df;color:#176b31}.toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.form{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;align-items:end}.form label{font-size:calc(13px * var(--kt-readable-scale,1));font-weight:700}.form label>*{width:100%;display:block;margin-top:6px}select,input{padding:10px;border:1px solid #cbd5e1;border-radius:8px;background:white}.form button,.detailbtn{background:#0c5c96;color:white;border:0;border-radius:8px;padding:11px 14px;font-weight:700;cursor:pointer}.muted{color:#718096}.good{color:#16833d}.warn{color:#a66b00}.bad{color:#b42318}.focus,.mini{padding:11px 0;border-bottom:1px solid #edf1f5;display:flex;justify-content:space-between;gap:12px}.focus:last-child,.mini:last-child{border:0}.pill{padding:4px 8px;border-radius:999px;background:#eef4f8;font-size:calc(12px * var(--kt-readable-scale,1));font-weight:800}.entrytabs{display:flex;background:white;border-radius:12px;margin-bottom:16px;padding:0 10px}#mudMsg,#teamMsg{margin-top:14px;font-weight:700}@media(max-width:1000px){.cards{grid-template-columns:repeat(2,1fr)}.grid2{grid-template-columns:1fr}.form{grid-template-columns:1fr 1fr}}@media(max-width:560px){.cards,.cards.small,.form{grid-template-columns:1fr}header{flex-direction:column;align-items:flex-start;gap:10px}nav{overflow:auto}.form button{grid-column:1/-1}}
.pusulaCards{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:16px}
.pusulaCards article{padding:20px;background:linear-gradient(135deg,#17365d,#245b87);color:white;border-radius:14px;box-shadow:0 3px 14px #17365d25}
.pusulaCards span{font-size:calc(13px * var(--kt-readable-scale,1));font-weight:700;color:#cfe1ef}.pusulaCards b{font-size:calc(31px * var(--kt-readable-scale,1));display:block;margin:5px 0}.pusulaCards small{color:#cfe1ef}
.priority{border-top:4px solid #c00000}.attention{border-top:4px solid #e6a700}
@media(max-width:700px){.pusulaCards{grid-template-columns:1fr}}

.bulkbar{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0}
.bulkbar button{border:0;border-radius:9px;padding:11px 16px;font-weight:800;cursor:pointer;background:#17365d;color:#fff}
.bulkbar .secondary{background:#e8eef4;color:#17365d}
.entrytable input{width:105px;box-sizing:border-box;padding:8px;border:1px solid #b8c5d1;border-radius:7px;background:#fff7cc}
.entrytable input:disabled{background:#eef2f5;color:#667}
.entrytable td:nth-child(2){min-width:260px}
.saveok{padding:10px 12px;background:#e8f5e9;border-radius:8px;margin-top:12px;font-weight:700}

.pastebox{margin:14px 0 18px;padding:15px;border:1px solid #c9d6e2;border-radius:12px;background:#f8fbfd}
.pastebox b,.pastebox span{display:block}.pastebox span{font-size:calc(13px * var(--kt-readable-scale,1));color:#667;margin:5px 0 10px}
.pastebox textarea{width:100%;min-height:110px;box-sizing:border-box;border:1px solid #b8c5d1;border-radius:9px;padding:10px;font-family:monospace;resize:vertical}

/* Skora göre satır renkleri: 5 yeşil -> 1 kırmızı */
.score-row.sr5 td{background:#e4f5e8}
.score-row.sr4 td{background:#eef6df}
.score-row.sr3 td{background:#fff4cc}
.score-row.sr2 td{background:#fde3c4}
.score-row.sr1 td{background:#f8caca}
.score-row.sr0 td{background:#f3f5f7}
.score-row:hover td{filter:brightness(.98)}

/* KPI tabloları beyaz arka plan */
#mudTable tr td,#teamDetail tr td,#mudTable tr th,#teamDetail tr th{background:#fff !important}
#mudTable tr:hover td,#teamDetail tr:hover td{background:#f7fafc !important}

/* Skor hücresi renkleri korunur; satırın tamamı renklenmez */
#mudTable td.score.s5,#teamDetail td.score.s5{background:#dff3e4 !important}
#mudTable td.score.s4,#teamDetail td.score.s4{background:#edf5dc !important}
#mudTable td.score.s3,#teamDetail td.score.s3{background:#fff2c6 !important}
#mudTable td.score.s2,#teamDetail td.score.s2{background:#fde0bd !important}
#mudTable td.score.s1,#teamDetail td.score.s1{background:#f7c7c7 !important}

.riskmark{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;margin-left:5px;border-radius:50%;background:#c62828;color:#fff;font-weight:900;font-size:calc(14px * var(--kt-readable-scale,1));vertical-align:middle;box-shadow:0 1px 4px #0002}
.riskcell{background:#fff0f0 !important;color:#a31515 !important;font-weight:800}

.uploadbox{margin:12px 0 18px;padding:16px;border:1px solid #b9c9d8;border-radius:12px;background:#f6f9fc}
.uploadbox b,.uploadbox span{display:block}.uploadbox span{font-size:calc(13px * var(--kt-readable-scale,1));color:#667;margin:5px 0 12px}
.uploadbox input{margin:0 8px 8px 0}.uploadbox button{border:0;border-radius:9px;padding:10px 14px;background:#17365d;color:#fff;font-weight:800;cursor:pointer}
.uploadok{margin-top:10px;padding:10px;background:#e6f4ea;border-radius:8px;font-weight:700}.uploaderr{margin-top:10px;padding:10px;background:#fde8e8;color:#9b1c1c;border-radius:8px;font-weight:700}

.scoreOverride{margin-left:7px;width:58px;padding:4px 3px;border:1px solid #9aa9b8;border-radius:6px;background:#fff;font-weight:700}
#mudTable td.score{white-space:nowrap}

/* Telefon/tablet uyumluluğu */
html{-webkit-text-size-adjust:100%} body{overflow-x:hidden}
table{min-width:900px} .tablewrap,.table-wrap,.table-container{overflow-x:auto;-webkit-overflow-scrolling:touch}
@media(max-width:700px){
  body{font-size:calc(14px * var(--kt-readable-scale,1))}.shell,.container,main{padding-left:10px!important;padding-right:10px!important}
  header{padding:12px!important} nav{display:flex;overflow-x:auto;gap:6px;padding-bottom:5px}
  nav button{white-space:nowrap;min-height:44px}
  .cards,.cardgrid,.stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  article{padding:10px!important} h1{font-size:calc(20px * var(--kt-readable-scale,1))!important} h2{font-size:calc(17px * var(--kt-readable-scale,1))!important}
  button,input,select{min-height:42px;font-size:calc(16px * var(--kt-readable-scale,1))}
  .uploadbox{padding:12px}.uploadbox input,.uploadbox button{width:100%;margin:5px 0}
  table{font-size:calc(12px * var(--kt-readable-scale,1))} th,td{padding:7px 6px!important}
}

.cloudbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:10px 14px;margin:10px;border:1px solid #d8e1ea;border-radius:10px;background:#fff}
.cloudbar button{cursor:pointer;padding:8px 12px;border-radius:8px;border:1px solid #b8c6d3;background:#f7f9fb}
.cloud-status{margin-right:auto;font-size:calc(13px * var(--kt-readable-scale,1))}.cloud-status.bad{font-weight:700}
@media(max-width:700px){.cloudbar{margin:6px;padding:8px}.cloudbar button{flex:1}.cloud-status{width:100%;order:3}}

.hpp-live-note{margin:8px 0 14px;padding:10px 12px;border:1px solid #cbd9e6;border-radius:9px;background:#fff;font-size:calc(13px * var(--kt-readable-scale,1))}

.pusula-panel{margin:0 0 22px}.pusula-head{display:flex;justify-content:space-between;align-items:flex-end;gap:15px;margin-bottom:12px}.pusula-head h2{margin:0}.pusula-date{font-weight:700;font-size:calc(13px * var(--kt-readable-scale,1))}
.pusula-cards{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.p-card{background:#fff;border:1px solid #dbe3ea;border-left:4px solid #999;border-radius:9px;padding:12px;min-height:82px}.p-card span,.p-card small{display:block;font-size:calc(11px * var(--kt-readable-scale,1))}.p-card b{display:block;font-size:calc(25px * var(--kt-readable-scale,1));margin:5px 0}.p-card.orange{border-left-color:#ef7d00}.p-card.amber{border-left-color:#d89b00}.p-card.blue{border-left-color:#1475c9}.p-card.red{border-left-color:#d82828}.p-card.gold{border-left-color:#d89b00}
.pusula-focus-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:10px;margin-top:10px}.focus-box,.sim-box{background:#fff;border:1px solid #dbe3ea;border-radius:9px;padding:10px}.focus-box h3,.sim-title h3{margin:0 0 2px}.focus-item{display:grid;grid-template-columns:32px 1fr auto;gap:8px;align-items:center;padding:8px 4px;border-bottom:1px solid #edf1f4;font-size:calc(12px * var(--kt-readable-scale,1))}.focus-rank{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#f2f5f8;font-weight:700}.focus-gain{font-weight:800}.risk-badge{font-weight:800}
.sim-box{margin-top:10px}.sim-title{display:flex;justify-content:space-between;align-items:end;gap:10px;margin-bottom:8px}.sim-scroll{overflow:auto}.pusula-table{width:100%;min-width:1100px;border-collapse:collapse;font-size:calc(11px * var(--kt-readable-scale,1))}.pusula-table th,.pusula-table td{border-bottom:1px solid #e6ebef;padding:7px 6px;text-align:right;white-space:nowrap}.pusula-table th:nth-child(1),.pusula-table th:nth-child(2),.pusula-table td:nth-child(1),.pusula-table td:nth-child(2){text-align:left}.score-pill{display:inline-block;min-width:28px;text-align:center;border:1px solid #c8d3dc;border-radius:5px;padding:2px 5px;font-weight:800}
@media(max-width:900px){.pusula-cards{grid-template-columns:repeat(2,1fr)}.pusula-focus-grid{grid-template-columns:1fr}.pusula-head{align-items:flex-start;flex-direction:column}.p-card:last-child{grid-column:span 2}}

/* v8 temiz ana sayfa: eski Müdürlük bileşenleri JS uyumluluğu için DOM'da, ekranda gizli */
#mud > .sectiontitle,
#mud > .pusulaCards,
#mud > #mudCards,
#mud > .grid2,
#mud > .panel { display:none !important; }

#mud > #pusulaPanel {
  display:block !important;
  width:100% !important;
  max-width:1480px !important;
  margin:0 auto !important;
  box-sizing:border-box !important;
}
#mud { width:100%; box-sizing:border-box; }
@media (max-width:900px){
  #mud > #pusulaPanel{max-width:100% !important}
}

/* v9 Admin Panel */
.admin-only{display:none!important}
body.is-admin .admin-only{display:inline-flex!important}
body.is-admin #entry.admin-only{display:none!important}
body.is-admin #entry.admin-only.active{display:block!important}
.admin-badge{align-items:center;font-weight:700;padding:7px 10px;border-radius:10px;background:#eaf4ff}
.admin-modal{display:none;position:fixed;inset:0;background:rgba(9,30,52,.58);z-index:9999;align-items:center;justify-content:center;padding:20px}
.admin-modal.open{display:flex}
.admin-dialog{position:relative;width:min(420px,100%);background:white;border-radius:16px;padding:28px;box-shadow:0 24px 70px rgba(0,0,0,.25)}
.admin-dialog h2{margin:0 0 8px}.admin-dialog p{color:#667085;margin:0 0 20px}
.admin-dialog label{display:block;font-weight:700;margin:12px 0}
.admin-dialog input{display:block;width:100%;box-sizing:border-box;margin-top:6px;padding:12px;border:1px solid #ccd6e2;border-radius:9px;font:inherit}
.admin-dialog>button:not(.admin-close){width:100%;margin-top:8px}
.admin-close{position:absolute;right:12px;top:10px;border:0;background:transparent;font-size:calc(28px * var(--kt-readable-scale,1));cursor:pointer}
.admin-login-msg{margin-top:12px;min-height:20px;color:#b42318}
#adminLoginBtn{margin-left:auto}

/* v11 Insight benzeri renklendirme */
#pusulaPanel .sim-box,#pusulaPanel .sim-scroll,#pusulaPanel .pusula-table,
#pusulaPanel .pusula-table tbody,#pusulaPanel .pusula-table tbody tr,
#pusulaPanel .pusula-table tbody td{background:#fff!important}
#pusulaPanel .pusula-table tbody tr:hover td{background:#fff!important}
#pusulaPanel tr.sim-row td:first-child{position:relative;padding-left:24px;font-weight:800}
#pusulaPanel tr.sim-row td:first-child:before{content:"";position:absolute;left:9px;top:50%;width:7px;height:7px;border-radius:50%;transform:translateY(-50%)}
#pusulaPanel tr.score-5 td:first-child,#pusulaPanel tr.score-5 td:nth-child(7),#pusulaPanel tr.score-5 td:nth-child(8){color:#16803a;font-weight:800}
#pusulaPanel tr.score-5 td:first-child:before{background:#16a34a}
#pusulaPanel tr.score-4 td:first-child,#pusulaPanel tr.score-4 td:nth-child(7),#pusulaPanel tr.score-4 td:nth-child(8){color:#65a30d;font-weight:800}
#pusulaPanel tr.score-4 td:first-child:before{background:#84cc16}
#pusulaPanel tr.score-3 td:first-child,#pusulaPanel tr.score-3 td:nth-child(7),#pusulaPanel tr.score-3 td:nth-child(8){color:#ca8a04;font-weight:800}
#pusulaPanel tr.score-3 td:first-child:before{background:#eab308}
#pusulaPanel tr.score-2 td:first-child,#pusulaPanel tr.score-2 td:nth-child(7),#pusulaPanel tr.score-2 td:nth-child(8){color:#ea580c;font-weight:800}
#pusulaPanel tr.score-2 td:first-child:before{background:#f97316}
#pusulaPanel tr.score-1 td:first-child,#pusulaPanel tr.score-1 td:nth-child(7),#pusulaPanel tr.score-1 td:nth-child(8){color:#dc2626;font-weight:800}
#pusulaPanel tr.score-1 td:first-child:before{background:#ef4444}

/* v17 - Simülasyon tablosu Skala grubu */
#pusulaPanel .pusula-table th.scale-group{text-align:center}
#pusulaPanel .pusula-table thead tr.scale-sub th{text-align:center;white-space:nowrap}
#pusulaPanel .pusula-table td.scale-cell{text-align:center;white-space:nowrap;font-variant-numeric:tabular-nums}
#pusulaPanel .pusula-table thead th{vertical-align:middle}

/* v18 - Skala skorları örnekteki gibi ayrı tablo hücreleri */
#pusulaPanel .pusula-table{
  border-collapse:collapse !important;
}
#pusulaPanel .pusula-table th,
#pusulaPanel .pusula-table td{
  border-bottom:1px solid #d7e0ea;
}
#pusulaPanel .pusula-table th.scale-group{
  border-left:1px solid #c7d2df !important;
  border-right:1px solid #c7d2df !important;
  border-bottom:1px solid #c7d2df !important;
  text-align:center;
}
#pusulaPanel .pusula-table thead tr.scale-sub th{
  border:1px solid #c7d2df !important;
  border-top:0 !important;
  text-align:center;
  min-width:54px;
}
#pusulaPanel .pusula-table td.scale-cell{
  border-left:1px solid #d7e0ea !important;
  border-right:1px solid #d7e0ea !important;
  text-align:center;
  min-width:54px;
}
#pusulaPanel .pusula-table td.scale-cell:first-of-type{
  border-left:1px solid #c7d2df !important;
}
#pusulaPanel .pusula-table .scale-sub + tr{}

/* v19 - Simülasyon tablosunun TÜM satır ve sütunlarına hücre çizgileri */
#pusulaPanel .pusula-table{
  border-collapse:collapse !important;
  border:1px solid #c7d2df !important;
}
#pusulaPanel .pusula-table th,
#pusulaPanel .pusula-table td{
  border:1px solid #d7e0ea !important;
  background:#fff !important;
  vertical-align:middle;
}
#pusulaPanel .pusula-table thead th{
  border-color:#c7d2df !important;
}
#pusulaPanel .pusula-table tbody tr:hover td{
  background:#fff !important;
}
/* Grup sınırlarını biraz daha belirgin tut */
#pusulaPanel .pusula-table th.scale-group,
#pusulaPanel .pusula-table td:nth-child(4),
#pusulaPanel .pusula-table td:nth-child(8){
  border-left-color:#aebdcd !important;
}

/* v20 - Simülasyon tablo başlıklarını geri getir */
#pusulaPanel .pusula-table thead th{
  background:#173f6b !important;
  color:#fff !important;
  font-weight:800 !important;
  border:1px solid #8fa6bd !important;
  text-align:center;
  vertical-align:middle;
}
#pusulaPanel .pusula-table thead tr.scale-sub th{
  background:#173f6b !important;
  color:#fff !important;
}
#pusulaPanel .pusula-table th.scale-group{
  background:#173f6b !important;
  color:#fff !important;
}
#pusulaPanel .pusula-table tbody td{
  background:#fff !important;
  color:inherit;
}
#pusulaPanel .pusula-table tbody tr:hover td{
  background:#fff !important;
}

/* v21 - Insight tarzı skor rengini TÜM SATIRA uygula
   5 yeşil, 4 açık yeşil, 3 sarı, 2 turuncu, 1 kırmızı.
   Tablo ızgarası ve lacivert başlıklar korunur. */
#pusulaPanel .pusula-table tbody tr.sim-row.score-5 td{
  background:#edf9f1 !important;
  color:#087a34 !important;
}
#pusulaPanel .pusula-table tbody tr.sim-row.score-4 td{
  background:#f3f9e8 !important;
  color:#5c8d0b !important;
}
#pusulaPanel .pusula-table tbody tr.sim-row.score-3 td{
  background:#fff9df !important;
  color:#a66b00 !important;
}
#pusulaPanel .pusula-table tbody tr.sim-row.score-2 td{
  background:#fff1e6 !important;
  color:#c45108 !important;
}
#pusulaPanel .pusula-table tbody tr.sim-row.score-1 td{
  background:#fff0f0 !important;
  color:#d91f26 !important;
}

/* Hedef adı ve normal veri hücreleri okunaklı kalsın; durum rengi satır boyunca hissedilsin */
#pusulaPanel .pusula-table tbody tr.sim-row td{
  border-color:#d4dee8 !important;
}
#pusulaPanel .pusula-table tbody tr.sim-row td:nth-child(2){
  color:#15283d !important;
  font-weight:500;
}
#pusulaPanel .pusula-table tbody tr.sim-row.score-5 td:first-child,
#pusulaPanel .pusula-table tbody tr.sim-row.score-5 td:nth-child(11),
#pusulaPanel .pusula-table tbody tr.sim-row.score-5 td:nth-child(12),
#pusulaPanel .pusula-table tbody tr.sim-row.score-5 td:last-child{color:#087a34 !important;font-weight:800}
#pusulaPanel .pusula-table tbody tr.sim-row.score-4 td:first-child,
#pusulaPanel .pusula-table tbody tr.sim-row.score-4 td:nth-child(11),
#pusulaPanel .pusula-table tbody tr.sim-row.score-4 td:nth-child(12),
#pusulaPanel .pusula-table tbody tr.sim-row.score-4 td:last-child{color:#5c8d0b !important;font-weight:800}
#pusulaPanel .pusula-table tbody tr.sim-row.score-3 td:first-child,
#pusulaPanel .pusula-table tbody tr.sim-row.score-3 td:nth-child(11),
#pusulaPanel .pusula-table tbody tr.sim-row.score-3 td:nth-child(12),
#pusulaPanel .pusula-table tbody tr.sim-row.score-3 td:last-child{color:#a66b00 !important;font-weight:800}
#pusulaPanel .pusula-table tbody tr.sim-row.score-2 td:first-child,
#pusulaPanel .pusula-table tbody tr.sim-row.score-2 td:nth-child(11),
#pusulaPanel .pusula-table tbody tr.sim-row.score-2 td:nth-child(12),
#pusulaPanel .pusula-table tbody tr.sim-row.score-2 td:last-child{color:#c45108 !important;font-weight:800}
#pusulaPanel .pusula-table tbody tr.sim-row.score-1 td:first-child,
#pusulaPanel .pusula-table tbody tr.sim-row.score-1 td:nth-child(11),
#pusulaPanel .pusula-table tbody tr.sim-row.score-1 td:nth-child(12),
#pusulaPanel .pusula-table tbody tr.sim-row.score-1 td:last-child{color:#d91f26 !important;font-weight:800}

/* Hover rengi satır skorunu bozmasın */
#pusulaPanel .pusula-table tbody tr.sim-row.score-5:hover td{background:#e6f6ec !important}
#pusulaPanel .pusula-table tbody tr.sim-row.score-4:hover td{background:#edf6dc !important}
#pusulaPanel .pusula-table tbody tr.sim-row.score-3:hover td{background:#fff5cc !important}
#pusulaPanel .pusula-table tbody tr.sim-row.score-2:hover td{background:#ffe9d8 !important}
#pusulaPanel .pusula-table tbody tr.sim-row.score-1:hover td{background:#ffe7e7 !important}

/* v22 Excel dışa aktar butonu */
#pusulaPanel .sim-title{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
#pusulaPanel .sim-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
#pusulaPanel .excel-export-btn{border:1px solid #1f5b8f;background:#fff;color:#173f6b;border-radius:8px;padding:8px 12px;font-weight:800;cursor:pointer}
#pusulaPanel .excel-export-btn:hover{background:#eef6ff}

/* v23 - 19 Ekip tablosu Müdürlük Simülasyon düzeni */
#teams .team-sim-table{border-collapse:collapse!important;width:100%}
#teams .team-sim-table th,#teams .team-sim-table td{border:1px solid #d7e0ea!important;vertical-align:middle}
#teams .team-sim-table thead th{background:#173f6b!important;color:#fff!important;font-weight:800;text-align:center}
#teams .team-sim-table th.scale-group,#teams .team-sim-table thead tr.scale-sub th{text-align:center}
#teams .team-sim-table td.scale-cell{text-align:center;white-space:nowrap}
#teams .team-sim-table .riskmark{display:none!important}

.password-card{margin-top:24px;padding:20px;border:1px solid #d7e0ea;border-radius:12px;background:#fff}
.password-card h3{margin:0 0 6px}.password-fields{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin-top:12px}
.password-fields label{display:flex;flex-direction:column;gap:6px;font-weight:700}
.password-fields input{min-width:220px;padding:10px;border:1px solid #cbd5e1;border-radius:8px}

/* v25 */
.password-card{display:none!important}

.table-total-bar{margin-top:10px;padding:12px 16px;border:1px solid #cbd8e6;border-radius:8px;background:#f8fbff;text-align:right;font-size:calc(16px * var(--kt-readable-scale,1))}
.table-total-bar strong{font-size:calc(20px * var(--kt-readable-scale,1));color:#0b3155;margin-left:8px}
.team-table-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
#exportTeamExcelBtn{padding:9px 13px;border:1px solid #b8c8d8;border-radius:8px;background:#fff;cursor:pointer;font-weight:700}

/* v25 - Müdürlük Insight satır renklendirmesini 19 ekip tablolarına uygula */
#teams .team-sim-table tbody tr.sr5 td{background:#edf9f1!important}
#teams .team-sim-table tbody tr.sr4 td{background:#f3f9e8!important}
#teams .team-sim-table tbody tr.sr3 td{background:#fff9df!important}
#teams .team-sim-table tbody tr.sr2 td{background:#fff1e6!important}
#teams .team-sim-table tbody tr.sr1 td{background:#fff0f0!important}
#teams .team-sim-table tbody tr.sr5 td:first-child,#teams .team-sim-table tbody tr.sr5 td:nth-child(11),#teams .team-sim-table tbody tr.sr5 td:nth-child(12),#teams .team-sim-table tbody tr.sr5 td:last-child{color:#087a34!important;font-weight:800}
#teams .team-sim-table tbody tr.sr4 td:first-child,#teams .team-sim-table tbody tr.sr4 td:nth-child(11),#teams .team-sim-table tbody tr.sr4 td:nth-child(12),#teams .team-sim-table tbody tr.sr4 td:last-child{color:#5c8d0b!important;font-weight:800}
#teams .team-sim-table tbody tr.sr3 td:first-child,#teams .team-sim-table tbody tr.sr3 td:nth-child(11),#teams .team-sim-table tbody tr.sr3 td:nth-child(12),#teams .team-sim-table tbody tr.sr3 td:last-child{color:#a66b00!important;font-weight:800}
#teams .team-sim-table tbody tr.sr2 td:first-child,#teams .team-sim-table tbody tr.sr2 td:nth-child(11),#teams .team-sim-table tbody tr.sr2 td:nth-child(12),#teams .team-sim-table tbody tr.sr2 td:last-child{color:#c45108!important;font-weight:800}
#teams .team-sim-table tbody tr.sr1 td:first-child,#teams .team-sim-table tbody tr.sr1 td:nth-child(11),#teams .team-sim-table tbody tr.sr1 td:nth-child(12),#teams .team-sim-table tbody tr.sr1 td:last-child{color:#d91f26!important;font-weight:800}

/* v26 fixes */
#pusulaPanel .table-total-bar,#teams .table-total-bar{display:block!important;visibility:visible!important;opacity:1!important;margin:12px 0 4px!important;padding:14px 18px!important;background:#eef5fb!important;border:1px solid #b8cadb!important;border-radius:8px!important;text-align:right!important;font-weight:800!important}
#pusulaPanel .table-total-bar strong,#teams .table-total-bar strong{font-size:calc(22px * var(--kt-readable-scale,1))!important;color:#0b3155!important;margin-left:8px}
.team-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
#exportTeamExcelBtn{display:inline-flex!important;visibility:visible!important;padding:9px 13px!important;border:1px solid #aebfd0!important;border-radius:8px!important;background:#fff!important;color:#0b3155!important;font-weight:800!important;cursor:pointer!important}

/* v35 - score selects */
.mud-score-select,.team-score-select{min-width:52px;padding:4px 6px;border:1px solid #8297aa;border-radius:5px;background:#fff;font-weight:900;text-align:center;cursor:pointer}
/* 19 Ekip reference workbook look */
#teams .team-sim-table{border-collapse:collapse!important;border:1px solid #d8e2ec!important;font-size:calc(12px * var(--kt-readable-scale,1))}
#teams .team-sim-table thead tr:first-child th{background:#0b3155!important;color:#fff!important;border:1px solid #d8e2ec!important}
#teams .team-sim-table thead tr.scale-sub th:nth-child(1){background:#f32020!important;color:#fff!important}
#teams .team-sim-table thead tr.scale-sub th:nth-child(2){background:#ffd11a!important;color:#111!important}
#teams .team-sim-table thead tr.scale-sub th:nth-child(3){background:#9bd35a!important;color:#111!important}
#teams .team-sim-table thead tr.scale-sub th:nth-child(4){background:#00a94f!important;color:#fff!important}
#teams .team-sim-table th,#teams .team-sim-table td{border:1px solid #75889a!important;padding:6px!important}
#teams .team-sim-table td:nth-child(2){background:#f7cfb8!important;text-align:left!important;font-weight:600}
#teams .team-sim-table td:nth-child(4){background:#ffe2e2!important}
#teams .team-sim-table td:nth-child(5){background:#fff3b6!important}
#teams .team-sim-table td:nth-child(6){background:#e7f5cf!important}
#teams .team-sim-table td:nth-child(7){background:#d9f4e4!important}
.team-final-summary{margin-top:10px;border:1px solid #d8e2ec;background:#fff;display:grid;grid-template-columns:1fr 1fr 2fr;align-items:stretch}
.team-final-summary>div{padding:12px;border-right:1px solid #e1e8ef;font-weight:800}
.team-final-summary>div:nth-child(2){background:#d90000;color:#fff;text-align:center}
.team-final-summary strong{font-size:calc(20px * var(--kt-readable-scale,1));margin-left:12px}
.grade-scale{display:flex;gap:18px;flex-wrap:wrap;font-size:calc(12px * var(--kt-readable-scale,1));align-items:center}

/* v40 - AP1/AP4 satırları normal 19 Ekip tablosunun devamıdır */
#teams .team-sim-table .ap-row td{
  border:1px solid #c8d5e2!important;
  height:42px;
  vertical-align:middle;
}
#teams .team-sim-table .ap-row td:nth-child(2),
#teams .team-sim-table .ap-row td:nth-child(3){
  background:#fff9e9!important;
}
#teams .team-sim-table .ap-row .ap-scale{
  background:#fff9e9!important;
}
#teams .team-sim-table .ap-score-select{
  min-width:54px!important;
  background:#fff!important;
  border:1px solid #9db1c4!important;
  border-radius:5px!important;
  font-weight:800!important;
  cursor:pointer!important;
}

/* v41 - AP1/AP4 satırları ana ekip tablosuyla aynı format */
#teams .team-sim-table .ap-row td{
  background:#fff!important;
  border:1px solid #c8d5e2!important;
  color:inherit!important;
  height:auto!important;
  padding:7px 8px!important;
}
#teams .team-sim-table .ap-row td:nth-child(1),
#teams .team-sim-table .ap-row td:nth-child(2),
#teams .team-sim-table .ap-row td:nth-child(3){
  background:#fff!important;
}
#teams .team-sim-table .ap-row .ap-scale{background:#fff!important}
#teams .team-sim-table .ap-row.sr1 td{background:#fff1f1!important}
#teams .team-sim-table .ap-row.sr2 td{background:#fff5e8!important}
#teams .team-sim-table .ap-row.sr3 td{background:#fffbe8!important}
#teams .team-sim-table .ap-row.sr4 td{background:#f3f9e9!important}
#teams .team-sim-table .ap-row.sr5 td{background:#eaf7ef!important}
#teams .team-sim-table .ap-row .ap-score-select{
  min-width:64px!important;padding:5px 8px!important;
  border:1px solid #9db1c4!important;border-radius:6px!important;
  background:#fff!important;font-weight:800!important;
}

.danger-outline-btn{padding:10px 14px;border:1px solid #dc3545;border-radius:9px;background:#fff;color:#c82333;font-weight:800;cursor:pointer}
.danger-outline-btn:hover{background:#fff1f2}

/* v45 - Ekip bilgisi ve kontroller tabloya yakın */
.team-control-row{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:14px 0 16px;padding:14px 18px;background:#fff;border:1px solid #d8e2ec;border-radius:14px;box-shadow:0 5px 16px rgba(20,50,80,.05)}
.team-identity{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-width:0}.team-identity-label{font-weight:800;color:#64748b}.team-identity strong{font-size:calc(16px * var(--kt-readable-scale,1));color:#0b3151}.team-unit{font-size:calc(13px * var(--kt-readable-scale,1));color:#64748b;border-left:1px solid #d8e2ec;padding-left:10px}.team-control-row .team-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.team-control-row #teamSelect{min-width:180px}
@media(max-width:900px){.team-control-row{align-items:stretch;flex-direction:column}.team-control-row .team-actions{justify-content:flex-start}.team-unit{border-left:0;padding-left:0;width:100%}}
/* v46 - Ekip Karne özetini Müdürlük Pusulası gibi Öncelik Ver / Dikkat Et-Koru yapısı */
.team-focus-grid{margin:0 0 18px}
.team-focus-grid .focus-box{min-height:150px}
@media(max-width:850px){.team-focus-grid{grid-template-columns:1fr}}

/* v48 Bilgilendirme */
.info-head{margin:4px 0 14px}.info-head h2{margin:0 0 5px;font-size:calc(27px * var(--kt-readable-scale,1));color:#0b2545}.info-search{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #ccd8e5;border-radius:8px;padding:7px 10px;margin:0 0 12px}.info-search input{width:100%;border:0;outline:0;font:inherit;background:transparent}.info-panel{padding:0;overflow:hidden}.info-table{width:100%;border-collapse:collapse;min-width:1180px;font-size:calc(12px * var(--kt-readable-scale,1))}.info-table th,.info-table td{border:1px solid #c9d7e5;padding:8px 9px;vertical-align:top}.info-table thead th{background:#eef3f8;color:#102a43;text-align:center;font-weight:800;position:sticky;top:0;z-index:1}.info-table th:nth-child(1),.info-table td:nth-child(1){width:58px}.info-table th:nth-child(2),.info-table td:nth-child(2){min-width:260px;font-weight:650}.info-table th:nth-child(3),.info-table td:nth-child(3){width:70px;text-align:center}.info-table th:nth-child(4),.info-table td:nth-child(4){width:92px;text-align:center}.info-table th:nth-child(n+5):nth-child(-n+8),.info-table td:nth-child(n+5):nth-child(-n+8){width:78px;text-align:center;font-weight:800}.info-table .info-s2{background:#cf1730!important;color:#fff}.info-table .info-s3{background:#e87500!important;color:#fff}.info-table .info-s4{background:#ffe900!important;color:#111}.info-table .info-s5{background:#2d8b2f!important;color:#fff}.info-table td.info-desc{min-width:520px;line-height:1.35;font-size:calc(11px * var(--kt-readable-scale,1));color:#334155;font-weight:400}.info-table tbody tr:nth-child(even) td:not(.info-s2):not(.info-s3):not(.info-s4):not(.info-s5){background:#f8fbfe}@media(max-width:850px){.info-head h2{font-size:calc(23px * var(--kt-readable-scale,1))}.info-table{font-size:calc(11px * var(--kt-readable-scale,1))}}

/* v52 - Skor secicisi sabit olcu: manuel puan degisince tablo/blok genislemesin */
#pusulaPanel .mud-score-select,
.team-sim-table .team-score-select{
  width:72px !important;
  min-width:72px !important;
  max-width:72px !important;
  height:38px;
  min-height:38px;
  padding:4px 24px 4px 8px;
  text-align:center;
  font-weight:700;
}
#pusulaPanel .pusula-table th:nth-child(11),
#pusulaPanel .pusula-table td:nth-child(11){
  width:84px !important;
  min-width:84px !important;
  max-width:84px !important;
  text-align:center;
}
.team-sim-table th:nth-child(11),
.team-sim-table td:nth-child(11){
  width:84px !important;
  min-width:84px !important;
  max-width:84px !important;
  text-align:center;
}

/* v53 - Ekip mesajlaşma */
.messages-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.messages-head h2{margin:0 0 5px}.messages-layout{display:grid;grid-template-columns:minmax(280px,380px) 1fr;gap:18px}.message-compose{display:none}.is-admin .message-compose.admin-only{display:block!important}.is-team-user .message-compose.team-only{display:block!important}.message-compose label,.message-filter label{display:block;font-size:calc(13px * var(--kt-readable-scale,1));font-weight:800;margin-bottom:12px}.message-compose select,.message-filter select,.message-compose textarea{display:block;width:100%;margin-top:6px}.message-compose textarea{min-height:130px;resize:vertical;padding:10px;border:1px solid #cbd5e1;border-radius:8px;font:inherit}.message-compose button,#refreshMessagesBtn{background:#0c5c96;color:#fff;border:0;border-radius:8px;padding:10px 14px;font-weight:800;cursor:pointer}.message-list{display:flex;flex-direction:column;gap:10px}.message-card{border:1px solid #d8e2ec;border-radius:12px;padding:13px 15px;background:#f8fbfe}.message-card-head{display:flex;justify-content:space-between;gap:12px;margin-bottom:7px}.message-card-team{font-weight:850;color:#0b3151}.message-card-time{font-size:calc(12px * var(--kt-readable-scale,1));color:#64748b}.message-card-text{white-space:pre-wrap;line-height:1.45;color:#1e293b}.message-empty{padding:28px;text-align:center;color:#718096}.message-filter{max-width:320px;margin-bottom:14px}@media(max-width:850px){.messages-layout{grid-template-columns:1fr}.messages-head{align-items:flex-start;flex-direction:column}}


/* v54 - ekip hesabı görünümü */
.team-only{display:none!important}
body.is-team .team-only{display:block!important}
body.is-team nav [data-view="mud"],body.is-team nav [data-view="info"],body.is-team nav [data-view="entry"]{display:none!important}
body.is-team #teamSelect{display:none!important}
body.is-team #teamClearManualBtn{display:inline-flex!important;align-items:center;justify-content:center}
body.is-team .team-score-select{pointer-events:auto;appearance:auto;border:1px solid #cbd5e1;background:#fff;font-weight:800;cursor:pointer;padding:6px 8px;border-radius:8px}
body.is-team #messageViewTeam{pointer-events:none;appearance:none;background:#f5f7fa}
body.is-team .cloudbar #cloudSaveBtn{display:none!important}
body.is-team #adminBadge{display:inline-flex!important}
body.is-team #adminLogoutBtn{display:inline-flex!important}
.team-message-label{margin:6px 0 12px;color:#475569}
.message-card.from-team{border-left:4px solid #2563eb}
.message-card.from-admin{border-left:4px solid #16a34a}

/* v58 - Admin ekipleri tek tek secme alani */
.admin-team-picker{display:none;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:10px;margin:12px 0 16px}
body.is-admin .admin-team-picker{display:grid!important}
.admin-team-card{display:flex;flex-direction:column;align-items:flex-start;gap:3px;padding:12px 14px;border:1px solid #d8e2ec;border-radius:12px;background:#fff;cursor:pointer;text-align:left;box-shadow:0 3px 10px rgba(20,50,80,.04)}
.admin-team-card:hover,.admin-team-card.active{border-color:#0c5c96;box-shadow:0 4px 14px rgba(12,92,150,.14)}
.admin-team-card b{color:#0b3151}.admin-team-card span{font-size:calc(13px * var(--kt-readable-scale,1));font-weight:800;color:#334155}.admin-team-card small{color:#64748b}
body.is-team .admin-team-picker{display:none!important}

/* v59 - Açılış giriş/karşılama ekranı */
body.welcome-locked > header,
body.welcome-locked > .cloudbar,
body.welcome-locked > nav,
body.welcome-locked > main { display:none !important; }
#welcomeScreen{position:fixed;inset:0;z-index:9998;display:flex;align-items:center;justify-content:center;padding:24px;background:linear-gradient(145deg,#0d2746 0%,#17365d 55%,#244f7e 100%);font-family:inherit}
#welcomeScreen.hidden{display:none}
.welcome-card{width:min(560px,100%);text-align:center;background:rgba(255,255,255,.98);border-radius:24px;padding:48px 34px;box-shadow:0 24px 70px rgba(0,0,0,.28)}
.welcome-logo{width:92px;height:92px;margin:0 auto 22px;border-radius:24px;display:grid;place-items:center;background:#17365d;color:#fff;font-size:calc(34px * var(--kt-readable-scale,1));font-weight:800;letter-spacing:-2px;box-shadow:0 10px 26px rgba(23,54,93,.28)}
.welcome-card h1{margin:0;color:#17365d;font-size:calc(34px * var(--kt-readable-scale,1));line-height:1.15}.welcome-card p{margin:12px 0 30px;color:#667085;font-size:calc(16px * var(--kt-readable-scale,1))}.welcome-actions{display:grid;gap:12px;max-width:330px;margin:auto}.welcome-actions button{width:100%;padding:14px 18px;border-radius:12px;font-weight:700;font-size:calc(15px * var(--kt-readable-scale,1));cursor:pointer}.welcome-enter{background:#17365d;color:#fff;border:1px solid #17365d}.welcome-login{background:#fff;color:#17365d;border:1px solid #b8c4d2}.welcome-foot{display:block;margin-top:28px;color:#98a2b3;font-size:calc(12px * var(--kt-readable-scale,1))}@media(max-width:600px){.welcome-card{padding:38px 22px}.welcome-card h1{font-size:calc(28px * var(--kt-readable-scale,1))}}

/* v60 - Onaylanan sade ARTES acilis gorseli */
#welcomeScreen{padding:0!important;background:#061a2f!important;overflow:auto!important;align-items:flex-start!important}
.welcome-visual{position:relative;width:min(100%,1024px);margin:0 auto;min-height:100vh;background:#061a2f}
.welcome-visual>img{display:block;width:100%;height:auto;min-height:100vh;object-fit:cover;object-position:top center}
.welcome-hotspot{position:absolute;top:69.1%;height:4.3%;border:0;border-radius:12px;background:transparent;color:transparent;cursor:pointer;z-index:2}
.welcome-admin{left:12.7%;width:33.1%}.welcome-team{left:54.6%;width:33.1%}
.welcome-hotspot:focus-visible{outline:3px solid #55c7ff;outline-offset:3px;background:rgba(0,153,255,.12)}
@media(max-width:700px){.welcome-visual{width:100%}.welcome-hotspot{border-radius:8px}}
/* Resim ve tiklanabilir alanlar her ekran boyutunda ayni oranda kalir. */
.welcome-visual{min-height:0}
.welcome-visual>img{min-height:0;object-fit:contain}


/* v61 - Tek giriş ekranı */
.single-login-welcome{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;overflow:auto;padding:28px 18px;background:radial-gradient(circle at 50% 18%,#123e70 0,#08284a 32%,#041a31 66%,#031426 100%);color:#fff}
.single-login-welcome::before,.single-login-welcome::after{content:"";position:absolute;inset:auto;pointer-events:none;border:1px solid rgba(62,178,255,.12);transform:rotate(-24deg);border-radius:60px}
.single-login-welcome::before{width:70vw;height:28vw;left:-20vw;top:-10vw}.single-login-welcome::after{width:80vw;height:30vw;right:-30vw;bottom:-10vw}
.single-login-card{position:relative;z-index:1;width:min(760px,100%);text-align:center;padding:54px 48px 42px;border:1px solid rgba(77,183,255,.24);border-radius:28px;background:linear-gradient(180deg,rgba(4,30,55,.68),rgba(3,22,41,.88));box-shadow:0 30px 90px rgba(0,0,0,.38);backdrop-filter:blur(12px)}
.single-brand h1{margin:0;font-family:Georgia,serif;font-size:clamp(calc(42px * var(--kt-readable-scale,1)),7vw,calc(72px * var(--kt-readable-scale,1)));letter-spacing:2px;color:#f4f7fb;text-shadow:0 3px 12px rgba(0,0,0,.35)}
.artes-line{display:flex;align-items:center;justify-content:center;gap:22px;margin:4px 0 2px}.artes-line span{width:120px;height:2px;background:#d8e2ec}.artes-line strong{font-size:clamp(calc(32px * var(--kt-readable-scale,1)),5vw,calc(50px * var(--kt-readable-scale,1)));letter-spacing:12px;color:#42c5ff}.single-subtitle{font-size:clamp(calc(14px * var(--kt-readable-scale,1)),2.3vw,calc(21px * var(--kt-readable-scale,1)));letter-spacing:9px;margin-top:8px;color:#f5f8fb}
.single-welcome-text{margin:48px auto 26px}.single-welcome-text h2{margin:0 0 10px;font-size:calc(30px * var(--kt-readable-scale,1))}.single-welcome-text p{margin:0 auto;max-width:560px;color:#c9d6e4;font-size:calc(16px * var(--kt-readable-scale,1));line-height:1.6}
.single-login-button{width:min(390px,100%);padding:16px 24px;border:1px solid #43c8ff;border-radius:14px;background:linear-gradient(180deg,#149cff,#0877dc);color:#fff;font-size:calc(18px * var(--kt-readable-scale,1));font-weight:800;cursor:pointer;box-shadow:0 10px 28px rgba(0,132,235,.28);transition:.18s ease}.single-login-button:hover{transform:translateY(-2px);filter:brightness(1.08)}.single-login-button span{margin-left:12px;font-size:calc(22px * var(--kt-readable-scale,1))}
.single-features{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:42px;padding-top:30px;border-top:1px solid rgba(74,175,238,.18)}.single-features div{display:grid;gap:7px;color:#d7e4ef;font-size:calc(13px * var(--kt-readable-scale,1))}.single-features b{font-size:calc(25px * var(--kt-readable-scale,1));color:#49c7ff}.single-features span{font-weight:700}.single-quote{margin-top:34px;padding-top:24px;border-top:1px solid rgba(74,175,238,.18);font-family:Georgia,serif;font-style:italic;letter-spacing:2px;color:#b8cad9}
@media(max-width:650px){.single-login-card{padding:38px 22px 30px;border-radius:20px}.artes-line{gap:10px}.artes-line span{width:55px}.artes-line strong{letter-spacing:7px}.single-subtitle{letter-spacing:4px}.single-welcome-text{margin-top:34px}.single-features{grid-template-columns:repeat(2,1fr)}.single-quote{font-size:calc(13px * var(--kt-readable-scale,1))}}

/* v71 - guvenli uygulama secme sayfasi */
.app-chooser{display:none;position:fixed;inset:0;z-index:9000;background:#f4f7fa;min-height:100vh;font-family:inherit}
.app-chooser.open{display:grid;grid-template-columns:330px 1fr}
.app-chooser-side{background:linear-gradient(155deg,#0b3158,#087ca9);color:#fff;padding:42px 34px;display:flex;flex-direction:column;min-height:100vh}
.chooser-brand{display:flex;align-items:center;gap:16px}.chooser-logo{width:66px;height:66px;border:1px solid rgba(255,255,255,.45);border-radius:18px;display:grid;place-items:center;font-size:calc(22px * var(--kt-readable-scale,1));font-weight:900;background:rgba(255,255,255,.08)}
.chooser-brand b{display:block;font-size:calc(22px * var(--kt-readable-scale,1))}.chooser-brand span{display:block;opacity:.8;margin-top:3px}.chooser-user{margin-top:180px;background:rgba(255,255,255,.16);padding:24px;border-radius:10px;display:flex;gap:15px;align-items:center}.chooser-avatar{width:58px;height:58px;background:#fff;color:#126b97;border-radius:8px;display:grid;place-items:center;font-size:calc(25px * var(--kt-readable-scale,1));font-weight:900}.chooser-user strong,.chooser-user span{display:block}.chooser-user span{margin-top:6px;opacity:.85}.chooser-logout{margin-top:auto;border:0;background:transparent;color:#fff;font-weight:800;font-size:calc(16px * var(--kt-readable-scale,1));text-align:left;padding:14px;cursor:pointer}.app-chooser-main{padding:46px 55px}.chooser-top{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:55px}.chooser-top small{color:#087ca9;font-weight:900}.chooser-top h1{margin:8px 0 0;color:#263d55;font-size:calc(34px * var(--kt-readable-scale,1))}.chooser-active{border:1px solid #b8cee0;background:#fff;border-radius:8px;padding:12px 18px;font-weight:700;color:#36546e}.chooser-grid{display:grid;grid-template-columns:repeat(2,minmax(300px,1fr));gap:24px;max-width:1050px}.chooser-card{border:0;background:#fff;border-radius:12px;padding:24px;display:grid;grid-template-columns:64px 1fr 20px;align-items:center;gap:18px;text-align:left;box-shadow:0 7px 22px rgba(24,62,92,.07);cursor:pointer;color:#223b53}.chooser-card:hover{transform:translateY(-2px);box-shadow:0 10px 28px rgba(24,62,92,.13)}.chooser-icon{width:58px;height:58px;border:1px solid #b8cbd9;border-radius:8px;display:grid;place-items:center;color:#1387c6;font-size:calc(28px * var(--kt-readable-scale,1));background:#f8fbfd}.chooser-card b{display:block;color:#1686c5;font-size:calc(25px * var(--kt-readable-scale,1))}.chooser-card small{display:block;color:#718399;font-size:calc(15px * var(--kt-readable-scale,1));margin-top:7px}.chooser-card i{font-size:calc(28px * var(--kt-readable-scale,1));color:#7b8da0;font-style:normal}
body.chooser-locked > header,body.chooser-locked > .cloudbar,body.chooser-locked > nav,body.chooser-locked > main{display:none!important}
@media(max-width:800px){.app-chooser.open{grid-template-columns:1fr}.app-chooser-side{min-height:auto;padding:24px}.chooser-user{margin-top:28px}.chooser-logout{margin-top:22px}.app-chooser-main{padding:28px 20px}.chooser-grid{grid-template-columns:1fr}.chooser-top{gap:15px}.chooser-top h1{font-size:calc(26px * var(--kt-readable-scale,1))}}
/* v73 Sevk Amirleri + Amirlikler */
.hierarchy-page{padding:14px}.hierarchy-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.hierarchy-title h2{margin:0}.hierarchy-filters{display:flex;gap:8px;align-items:end;flex-wrap:wrap;background:#fff;border:1px solid #d8e2ec;padding:10px;border-radius:8px;margin-bottom:10px}.hierarchy-filters label{font-size:calc(11px * var(--kt-readable-scale,1));font-weight:700;color:#506176;display:flex;flex-direction:column;gap:4px}.hierarchy-filters select,.hierarchy-filters input{min-width:170px;padding:8px;border:1px solid #cbd8e5;border-radius:6px;background:#fff}.hierarchy-summary{grid-template-columns:repeat(7,minmax(120px,1fr));gap:8px}.p-card.teal{border-left-color:#0f9d8a}.hierarchy-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:10px;margin-top:10px}.hierarchy-table-panel{overflow:hidden}.hierarchy-table{font-size:calc(11px * var(--kt-readable-scale,1))}.hierarchy-table th{white-space:nowrap}.hierarchy-table input,.hierarchy-table select{width:72px;padding:4px;border:1px solid #c8d5e2;border-radius:4px;background:#fff}.hierarchy-table tr.score1 td,.hierarchy-table tr.score2 td{background:#fff4f4}.hierarchy-table tr.score5 td{background:#f0fff6}.hierarchy-side{display:flex;flex-direction:column;gap:10px}.scope-manager{padding:10px;background:#f4f8fc;border-radius:6px;margin-bottom:6px}.scope-manager b,.scope-manager span{display:block}.scope-manager span{font-size:calc(11px * var(--kt-readable-scale,1));color:#60758b;margin-top:3px}.covered-group{margin:8px 0}.covered-group h4{margin:0 0 5px;background:#1768a5;color:#fff;padding:6px;border-radius:4px;font-size:calc(11px * var(--kt-readable-scale,1))}.covered-team{display:flex;justify-content:space-between;padding:6px 7px;border-bottom:1px solid #e4ebf2;font-size:calc(11px * var(--kt-readable-scale,1))}.covered-team b{color:#14395c}.unit-card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.unit-card{background:#fff;border:1px solid #d5e1ec;border-radius:10px;padding:16px;text-align:left;box-shadow:0 2px 8px #1232}.unit-card:hover{border-color:#1777b7;transform:translateY(-1px)}.unit-card .uc-top{display:flex;justify-content:space-between;align-items:center}.unit-card h3{margin:0;color:#123b61}.unit-card .uc-pp{font-size:calc(24px * var(--kt-readable-scale,1));font-weight:800;color:#1777b7}.unit-card p{margin:8px 0;color:#60758b}.unit-card .uc-meta{display:flex;justify-content:space-between;font-size:calc(11px * var(--kt-readable-scale,1))}.hierarchy-tree{margin-top:12px}.manager-tree{display:grid;grid-template-columns:1fr 1fr;gap:10px}.manager-tree>div{padding:14px;border-radius:8px;background:#f3f8fc}.manager-tree b,.manager-tree span{display:block}.manager-tree span{margin-top:5px;color:#60758b}@media(max-width:1100px){.hierarchy-summary{grid-template-columns:repeat(3,1fr)}.hierarchy-layout{grid-template-columns:1fr}.unit-card-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.hierarchy-summary,.unit-card-grid,.manager-tree{grid-template-columns:1fr}.hierarchy-filters label,.hierarchy-filters select,.hierarchy-filters input{width:100%;min-width:0}.hierarchy-filters>*{flex:1 1 100%}.hierarchy-page{padding:8px}}

/* v74 - Sevk Amiri / Amirlik masaustu yerlesim duzeltmesi */
body.is-admin section.view.admin-only.active{display:block!important;width:100%!important;max-width:none!important}
body.is-admin #dispatch.admin-only.active,body.is-admin #units.admin-only.active{display:block!important}
#dispatch.hierarchy-page,#units.hierarchy-page{width:100%;min-width:0}
@media(min-width:1200px){
  main{max-width:none!important;width:100%!important;padding:18px 1.25%!important}
  .hierarchy-page{padding:0!important}
  .hierarchy-title{width:100%}
  .hierarchy-filters{display:flex!important;width:100%;flex-direction:row!important;align-items:flex-end!important;gap:10px!important;flex-wrap:wrap!important}
  .hierarchy-filters label{flex:0 0 auto!important;width:auto!important}
  .hierarchy-filters select,.hierarchy-filters input{width:auto!important;min-width:170px!important}
  .hierarchy-summary{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;width:100%!important;gap:8px!important}
  .hierarchy-summary .p-card{width:auto!important;min-width:0!important;min-height:86px!important}
  .hierarchy-layout{display:grid!important;grid-template-columns:minmax(0,1fr) 245px!important;width:100%!important;gap:12px!important;align-items:start!important}
  .hierarchy-table-panel{width:100%!important;min-width:0!important}
  .hierarchy-table-panel .tablewrap{width:100%!important;overflow-x:auto!important}
  .hierarchy-table{width:100%!important;min-width:1180px!important;table-layout:auto!important}
  .hierarchy-side{width:245px!important;min-width:245px!important}
  .unit-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;width:100%!important}
}
/* v77 - admin-only görünürlük izolasyonu: yalnız aktif sayfa görünür */
body.is-admin section.view.admin-only{display:none!important}
body.is-admin section.view.admin-only.active{display:block!important;width:100%!important;max-width:none!important}
body.is-admin nav .admin-only,body.is-admin .cloudbar .admin-only,body.is-admin .chooser-card.admin-only{display:inline-flex!important}
body.is-admin #teamCards.admin-only{display:flex!important}

/* Android Mobil v3 - telefon/tablet kullanım iyileştirmeleri */
html{-webkit-text-size-adjust:100%;touch-action:manipulation}
body{overscroll-behavior-y:none}
.tablewrap{-webkit-overflow-scrolling:touch;touch-action:pan-x pan-y;max-width:100%}
@media(max-width:700px){
  header{padding-left:14px!important;padding-right:14px!important}
  main{padding:10px!important;width:100%!important;max-width:100%!important}
  nav{overflow-x:auto!important;white-space:nowrap!important;-webkit-overflow-scrolling:touch}
  nav button{flex:0 0 auto!important}
  .cloudbar{gap:7px!important;padding:8px 10px!important;overflow-x:auto!important}
  .cards,.summary,.hierarchy-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .p-card{min-width:0!important}
  .tablewrap table{min-width:920px}
  .hierarchy-table{min-width:1180px!important}
  input,select,button{font-size:calc(16px * var(--kt-readable-scale,1))}
}

/* Android Mobil v4 - kompakt arayuz + kullanici zoom */
@media(max-width:700px){
  html{font-size:calc(12px * var(--kt-readable-scale,1))!important;-webkit-text-size-adjust:100%!important;touch-action:auto!important}
  body{font-size:calc(12px * var(--kt-readable-scale,1))!important;overflow-x:hidden}
  header{padding:10px 12px!important;gap:4px!important}
  header h1{font-size:calc(19px * var(--kt-readable-scale,1))!important;line-height:1.1!important}
  header p{font-size:calc(11px * var(--kt-readable-scale,1))!important;margin:2px 0!important}
  header>div:last-child{font-size:calc(11px * var(--kt-readable-scale,1))!important}
  .cloudbar{margin:5px!important;padding:6px 8px!important;gap:5px!important;border-radius:9px!important;display:flex!important;flex-wrap:wrap!important;align-items:center!important}
  .cloudbar button{flex:0 0 auto!important;width:auto!important;min-height:32px!important;padding:6px 9px!important;font-size:calc(11px * var(--kt-readable-scale,1))!important}
  .cloud-status{width:auto!important;order:0!important;font-size:calc(10px * var(--kt-readable-scale,1))!important;flex:1 1 150px!important}
  nav{padding:0 6px!important;gap:2px!important;overflow-x:auto!important;white-space:nowrap!important}
  nav button,.entrytabs button{padding:10px 9px!important;font-size:calc(11px * var(--kt-readable-scale,1))!important;flex:0 0 auto!important}
  main{padding:8px!important}
  .sectiontitle h2,.pusula-head h2,.info-head h2{font-size:calc(19px * var(--kt-readable-scale,1))!important;margin-bottom:3px!important}
  .sectiontitle p,.pusula-head p{font-size:calc(11px * var(--kt-readable-scale,1))!important;margin:2px 0!important}
  .pusula-cards,.cards,.cards.small,.summary,.hierarchy-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
  .p-card,.cards article{padding:10px!important;min-height:0!important;border-radius:9px!important}
  .p-card span,.cards span{font-size:calc(10px * var(--kt-readable-scale,1))!important}
  .p-card b,.cards b{font-size:calc(21px * var(--kt-readable-scale,1))!important;margin-top:3px!important}
  .p-card small{font-size:calc(9px * var(--kt-readable-scale,1))!important}
  .panel{padding:10px!important;margin-bottom:10px!important;border-radius:9px!important}
  .panel h2,.panel h3{font-size:calc(17px * var(--kt-readable-scale,1))!important}
  .focus,.mini{padding:7px 0!important;font-size:calc(11px * var(--kt-readable-scale,1))!important}
  .form{gap:7px!important}
  input,select,button,textarea{font-size:calc(12px * var(--kt-readable-scale,1))!important;padding:7px!important}
  .tablewrap{overflow:auto!important;-webkit-overflow-scrolling:touch!important;touch-action:auto!important;max-width:100vw!important}
  .tablewrap table{min-width:760px!important}
  .hierarchy-table{min-width:900px!important}
  table{font-size:calc(10px * var(--kt-readable-scale,1))!important}
  th{padding:7px!important;font-size:calc(10px * var(--kt-readable-scale,1))!important;white-space:nowrap}
  td{padding:6px!important;font-size:calc(10px * var(--kt-readable-scale,1))!important}
  .info-table{min-width:900px!important;font-size:calc(9px * var(--kt-readable-scale,1))!important}
  .team-control-row,.toolbar{gap:6px!important}
}

/* Android Mobil v5 - gercek kompakt masaustu-viewport */
@media(max-width:1000px){
  body{font-size:calc(13px * var(--kt-readable-scale,1))!important}
  header{padding:12px 18px!important}
  header h1{font-size:calc(22px * var(--kt-readable-scale,1))!important}
  main{padding:10px 12px!important;max-width:none!important;width:100%!important}
  .cloudbar{margin:6px 8px!important;padding:7px 10px!important}
  nav{padding:0 10px!important}
  nav button{padding:10px 11px!important;font-size:calc(12px * var(--kt-readable-scale,1))!important}
  .p-card,.cards article{padding:10px!important}
  .p-card b,.cards b{font-size:calc(22px * var(--kt-readable-scale,1))!important}
  .tablewrap table{min-width:980px!important}
  th,td{font-size:calc(10px * var(--kt-readable-scale,1))!important;padding:6px!important}
}
\n\n/* Android Mobil v6 - dengeli mobil yerlesim + gercek pinch zoom */
@media(max-width:700px){
  body{font-size:calc(12px * var(--kt-readable-scale,1))!important;overflow-x:hidden!important}
  header{padding:9px 12px!important}
  header h1{font-size:calc(18px * var(--kt-readable-scale,1))!important}
  header p{font-size:calc(10px * var(--kt-readable-scale,1))!important}
  .cloudbar{margin:5px 6px!important;padding:6px 8px!important;gap:5px!important}
  .cloudbar button{font-size:calc(10px * var(--kt-readable-scale,1))!important;padding:6px 8px!important;min-height:30px!important}
  nav{padding:0 5px!important;gap:1px!important;overflow-x:auto!important}
  nav button{font-size:calc(10px * var(--kt-readable-scale,1))!important;padding:9px 8px!important}
  main{padding:7px!important}
  .pusula-cards,.cards,.cards.small,.summary,.hierarchy-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
  .p-card,.cards article{padding:9px!important}
  .p-card b,.cards b{font-size:calc(20px * var(--kt-readable-scale,1))!important}
  .pusula-focus-grid,.grid2{grid-template-columns:1fr!important;gap:7px!important}
  .panel{padding:9px!important;margin-bottom:8px!important}
  .tablewrap{width:100%!important;max-width:100%!important;overflow:auto!important;-webkit-overflow-scrolling:touch!important;touch-action:pan-x pan-y pinch-zoom!important}
  .tablewrap table{min-width:760px!important}
  th,td{font-size:calc(9px * var(--kt-readable-scale,1))!important;padding:5px!important}

  /* Uygulama secme ekrani telefonda gercek mobil duzen */
  .app-chooser.open{display:block!important;overflow:auto!important}
  .app-chooser-side{min-height:auto!important;padding:12px 14px!important;display:flex!important;align-items:center!important;gap:10px!important}
  .chooser-brand{gap:8px!important;flex:0 0 auto!important}
  .chooser-logo{width:42px!important;height:42px!important;border-radius:10px!important;font-size:calc(15px * var(--kt-readable-scale,1))!important}
  .chooser-brand b{font-size:calc(15px * var(--kt-readable-scale,1))!important}.chooser-brand span{font-size:calc(10px * var(--kt-readable-scale,1))!important;margin-top:1px!important}
  .chooser-user{margin:0 0 0 auto!important;padding:8px 10px!important;gap:7px!important;border-radius:8px!important}
  .chooser-avatar{width:34px!important;height:34px!important;font-size:calc(16px * var(--kt-readable-scale,1))!important}
  .chooser-user strong{font-size:calc(11px * var(--kt-readable-scale,1))!important}.chooser-user span{font-size:calc(9px * var(--kt-readable-scale,1))!important;margin-top:2px!important}
  .chooser-logout{margin:0!important;padding:8px!important;font-size:calc(10px * var(--kt-readable-scale,1))!important;white-space:nowrap!important}
  .app-chooser-main{padding:18px 14px!important}
  .chooser-top{margin-bottom:16px!important;gap:8px!important;align-items:center!important}
  .chooser-top h1{font-size:calc(23px * var(--kt-readable-scale,1))!important;margin-top:4px!important}
  .chooser-active{font-size:calc(10px * var(--kt-readable-scale,1))!important;padding:7px 9px!important}
  .chooser-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;max-width:none!important}
  .chooser-card{padding:12px!important;grid-template-columns:42px 1fr 12px!important;gap:8px!important;border-radius:9px!important}
  .chooser-icon{width:40px!important;height:40px!important;font-size:calc(19px * var(--kt-readable-scale,1))!important}
  .chooser-card b{font-size:calc(15px * var(--kt-readable-scale,1))!important}.chooser-card small{font-size:calc(10px * var(--kt-readable-scale,1))!important;margin-top:3px!important}.chooser-card i{font-size:calc(17px * var(--kt-readable-scale,1))!important}
}
@media(max-width:430px){
  .chooser-grid{grid-template-columns:1fr!important}
  .chooser-user span{display:none!important}
  .chooser-top{align-items:flex-start!important}
}


/* Android Mobil v7 - uygulama acilisinda ekrana sigan genis gorunum */
@media (max-width:1000px){
  body:not(.welcome-locked):not(.chooser-locked) main{max-width:none!important;width:100%!important;padding:10px 12px!important}
  body:not(.welcome-locked):not(.chooser-locked) .tablewrap{width:100%!important;max-width:100%!important;overflow-x:auto!important}
  body:not(.welcome-locked):not(.chooser-locked) #pusulaPanel .pusula-table{width:100%!important;min-width:940px!important}
  body:not(.welcome-locked):not(.chooser-locked) .team-sim-table{width:100%!important;min-width:940px!important}
  body:not(.welcome-locked):not(.chooser-locked) .hierarchy-table{width:100%!important;min-width:940px!important}
}

/* Android Mobil v9 - native viewport fit + temiz KPI kodlari */
@media (max-width:1200px){
  html,body{touch-action:pan-x pan-y pinch-zoom!important;-webkit-text-size-adjust:100%!important}
  body.app-fit{overflow-x:hidden!important}
  body.app-fit > header,body.app-fit > .cloudbar,body.app-fit > nav,body.app-fit > main{
    width:100%!important;max-width:none!important;box-sizing:border-box!important;zoom:1!important;transform:none!important;
  }
  body.app-fit > main{padding:12px!important}
  body.app-fit .tablewrap{width:100%!important;max-width:100%!important;overflow-x:auto!important;overflow-y:visible!important;-webkit-overflow-scrolling:touch!important;touch-action:pan-x pan-y pinch-zoom!important}
  body.app-fit #pusulaPanel .pusula-table,body.app-fit .team-sim-table,body.app-fit .hierarchy-table{min-width:940px!important;width:100%!important}
  body.app-fit .hierarchy-layout{grid-template-columns:minmax(0,1fr)!important}
  body.app-fit .hierarchy-summary{grid-template-columns:repeat(7,minmax(0,1fr))!important}
  body.app-fit .pusula-cards,body.app-fit .cards,body.app-fit .cards.small,body.app-fit .summary{grid-template-columns:repeat(5,minmax(0,1fr))!important}
  body.app-fit .pusula-focus-grid,body.app-fit .grid2{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .single-login-welcome,.app-chooser,.app-chooser *{touch-action:pan-x pan-y pinch-zoom!important}
}
/* Mudurluk KPI kodunda skor rengini sadece yaziya uygula; eski renkli nokta kodun ustune binmesin. */
#pusulaPanel tr.sim-row td:first-child{padding-left:9px!important;position:relative!important}
#pusulaPanel tr.sim-row td:first-child:before{display:none!important;content:none!important}
/* v15 Profesyonel Mesaj Merkezi */
.messages-view{background:#eef3f8!important;padding:18px!important}.messages-shell{max-width:1440px;margin:0 auto;background:#fff;border:1px solid #dbe5ef;border-radius:18px;overflow:hidden;box-shadow:0 14px 38px rgba(15,43,67,.09)}.messages-topbar{min-height:76px;padding:16px 22px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e5edf5;background:linear-gradient(135deg,#082f49,#0b5278);color:#fff}.messages-topbar h2{margin:0;font-size:calc(23px * var(--kt-readable-scale,1))}.messages-topbar p{margin:4px 0 0;color:#cbe6f5;font-size:calc(13px * var(--kt-readable-scale,1))}.messages-live{font-size:calc(12px * var(--kt-readable-scale,1));font-weight:800;background:rgba(255,255,255,.12);padding:7px 10px;border-radius:999px}.messages-live span{display:inline-block;width:8px;height:8px;border-radius:50%;background:#4ade80;margin-right:6px}.messages-workspace{display:grid;grid-template-columns:350px minmax(0,1fr);min-height:620px}.messages-sidebar{padding:18px;background:#f8fafc;border-right:1px solid #e3ebf3}.messages-sidebar .message-compose{border:0!important;box-shadow:none!important;padding:0!important;background:transparent!important}.message-compose h3{margin:0 0 16px;color:#0f2f46}.message-compose label{font-size:calc(12px * var(--kt-readable-scale,1));color:#526577;text-transform:uppercase;letter-spacing:.04em}.message-compose select,.message-compose textarea{border:1px solid #cfdbe6!important;border-radius:10px!important;background:#fff!important;padding:11px!important;text-transform:none;letter-spacing:0;color:#172b3a}.message-compose textarea{min-height:150px!important}.message-compose button{width:100%;border-radius:10px!important;padding:12px 16px!important;background:#0874b9!important;box-shadow:0 5px 14px rgba(8,116,185,.2)}.conversation-panel{min-width:0;display:flex;flex-direction:column;background:#f4f7fa}.conversation-head{height:74px;padding:12px 18px;display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid #e2eaf2}.conversation-head>div:first-child{display:flex;flex-direction:column;gap:3px}.conversation-head strong{font-size:calc(16px * var(--kt-readable-scale,1));color:#17384e}.conversation-head span{font-size:calc(12px * var(--kt-readable-scale,1));color:#748696}.message-filter{margin:0!important;max-width:330px!important}.message-filter label{display:flex!important;align-items:center;gap:8px;margin:0!important;font-size:calc(12px * var(--kt-readable-scale,1));color:#617484;font-weight:700}.message-filter select{min-width:220px;padding:8px 10px;border:1px solid #d4dee7;border-radius:9px;background:#fff}.message-list{height:546px;overflow-y:auto;padding:22px 26px;display:flex!important;flex-direction:column!important;gap:8px!important;background-image:radial-gradient(#d7e1e9 0.7px,transparent .7px);background-size:18px 18px}.message-row{display:flex;width:100%}.message-row.mine{justify-content:flex-end}.message-row.theirs{justify-content:flex-start}.message-bubble{max-width:min(72%,720px);padding:10px 13px 7px;border-radius:14px;box-shadow:0 1px 2px rgba(15,23,42,.09);position:relative}.message-row.mine .message-bubble{background:#dff4ff;border-bottom-right-radius:4px}.message-row.theirs .message-bubble{background:#fff;border:1px solid #e1e8ee;border-bottom-left-radius:4px}.bubble-team{display:block;font-size:calc(11px * var(--kt-readable-scale,1));font-weight:850;color:#0874b9;margin-bottom:5px}.message-card-text{font-size:calc(14px * var(--kt-readable-scale,1))!important;line-height:1.48!important;color:#172b3a!important;white-space:pre-wrap;overflow-wrap:anywhere}.message-meta{display:flex;align-items:center;justify-content:flex-end;gap:7px;margin-top:5px;font-size:calc(10.5px * var(--kt-readable-scale,1));color:#778896}.message-ticks{font-size:calc(13px * var(--kt-readable-scale,1));letter-spacing:-4px;padding-right:4px;color:#8b9aa6;font-weight:900}.message-ticks.read{color:#1687d3}.message-empty{margin:auto!important;display:flex;flex-direction:column;gap:5px;padding:32px!important;color:#81909c!important;background:rgba(255,255,255,.78);border-radius:14px}.message-empty b{font-size:calc(15px * var(--kt-readable-scale,1));color:#526574}.team-message-label{padding:10px 12px;border-radius:10px;background:#eaf4fb;color:#31566e;margin-bottom:14px!important}@media(max-width:900px){.messages-view{padding:0!important}.messages-shell{border-radius:0;border-left:0;border-right:0}.messages-workspace{grid-template-columns:1fr}.messages-sidebar{border-right:0;border-bottom:1px solid #e3ebf3}.conversation-head{height:auto;gap:10px;align-items:flex-start;flex-direction:column}.message-filter,.message-filter select{width:100%;max-width:none!important}.message-list{height:520px;padding:16px 12px}.message-bubble{max-width:88%}.messages-topbar{padding:14px 16px}}

/* v16 - WhatsApp benzeri profesyonel konusma sayfasi */
.whatsapp-workspace{display:block!important;min-height:calc(100vh - 210px)!important}.whatsapp-panel{height:min(760px,calc(100vh - 205px));min-height:560px;border:0;background:#efeae2!important;position:relative}.whatsapp-head{height:68px!important;min-height:68px;padding:9px 16px!important;background:#f7f9fa!important;border-bottom:1px solid #dfe5e8!important;gap:12px;flex-direction:row!important;align-items:center!important}.conversation-identity{display:flex!important;flex-direction:row!important;align-items:center;gap:11px;min-width:180px;margin-right:auto}.chat-avatar{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#0b6f9f;color:#fff;font-size:calc(13px * var(--kt-readable-scale,1));font-weight:900;box-shadow:inset 0 0 0 1px rgba(255,255,255,.25)}.conversation-identity>div:last-child{display:flex;flex-direction:column;gap:2px}.conversation-identity strong{font-size:calc(15px * var(--kt-readable-scale,1))!important;color:#172b36!important}.conversation-identity span{font-size:calc(11.5px * var(--kt-readable-scale,1))!important;color:#667781!important}.whatsapp-head .message-filter{max-width:255px!important}.whatsapp-head .message-filter label{gap:6px!important;color:#54656f!important}.whatsapp-head .message-filter select{min-width:150px!important;max-width:210px;padding:7px 9px!important;border-radius:8px!important}.whatsapp-list{flex:1;height:auto!important;min-height:0;padding:20px 6.5%!important;background-color:#efeae2!important;background-image:radial-gradient(rgba(17,27,33,.055) .65px,transparent .65px)!important;background-size:17px 17px!important;scroll-behavior:smooth}.whatsapp-list .message-bubble{max-width:min(68%,680px);padding:7px 9px 5px!important;border-radius:8px!important;box-shadow:0 1px .5px rgba(11,20,26,.13)!important}.whatsapp-list .message-row.mine .message-bubble{background:#d9fdd3!important;border:0!important;border-top-right-radius:2px!important}.whatsapp-list .message-row.theirs .message-bubble{background:#fff!important;border:0!important;border-top-left-radius:2px!important}.whatsapp-list .message-card-text{font-size:calc(14.2px * var(--kt-readable-scale,1))!important;line-height:1.4!important;color:#111b21!important;padding-right:4px}.whatsapp-list .message-meta{font-size:calc(10.5px * var(--kt-readable-scale,1))!important;color:#667781!important;margin-top:2px!important}.whatsapp-list .bubble-team{font-size:calc(11px * var(--kt-readable-scale,1))!important;color:#027eb5!important;margin-bottom:3px!important}.whatsapp-composer{background:#f0f2f5;border-top:1px solid #e0e4e7;padding:9px 12px 8px;z-index:5}.composer-input{display:none;align-items:flex-end;gap:9px}.is-admin .composer-input.admin-only{display:flex!important}.is-team-user .composer-input.team-only{display:flex!important}.composer-input textarea{flex:1;min-height:42px;max-height:120px;resize:none;overflow-y:auto;border:0!important;outline:0;border-radius:21px!important;background:#fff!important;padding:11px 16px!important;font:calc(14px * var(--kt-readable-scale,1))/calc(20px * var(--kt-readable-scale,1)) inherit;color:#111b21;box-shadow:none!important}.composer-input textarea:focus{box-shadow:0 0 0 2px rgba(11,111,159,.12)!important}.chat-send{width:44px!important;height:44px!important;min-width:44px;border:0!important;border-radius:50%!important;background:#0b6f9f!important;color:#fff!important;padding:0!important;display:grid!important;place-items:center;font-size:calc(20px * var(--kt-readable-scale,1))!important;line-height:1;cursor:pointer;box-shadow:0 2px 6px rgba(0,0,0,.14)!important;transform:rotate(-8deg)}.chat-send:active{transform:rotate(-8deg) scale(.95)}.composer-status{min-height:0;padding:3px 56px 0 16px;font-size:calc(10.5px * var(--kt-readable-scale,1));color:#667781}.compact-team-label{position:absolute;right:14px;top:70px;z-index:4;margin:0!important;padding:4px 8px!important;border-radius:0 0 7px 7px!important;font-size:calc(10px * var(--kt-readable-scale,1))!important;opacity:.85}.messages-sidebar{display:none!important}
@media(max-width:900px){.messages-view{padding:0!important}.messages-shell{height:calc(100vh - 92px);min-height:560px}.messages-topbar{display:none!important}.whatsapp-panel{height:calc(100vh - 92px);min-height:520px}.whatsapp-head{height:auto!important;min-height:64px!important;padding:8px 10px!important;flex-wrap:wrap!important}.conversation-identity{min-width:140px}.chat-avatar{width:38px;height:38px}.whatsapp-head .message-filter{width:auto!important;max-width:46%!important}.whatsapp-head .message-filter label{font-size:0!important}.whatsapp-head .message-filter select{width:100%!important;min-width:118px!important;max-width:170px!important;font-size:calc(12px * var(--kt-readable-scale,1))}.whatsapp-list{padding:14px 9px!important}.whatsapp-list .message-bubble{max-width:86%!important}.whatsapp-composer{padding:7px 8px}.composer-input textarea{font-size:calc(16px * var(--kt-readable-scale,1))!important}.chat-send{width:42px!important;height:42px!important;min-width:42px!important}.compact-team-label{top:64px}}

/* v17 - Mesajlar: gercek mobil viewport + klavye guvenli WhatsApp yerlesimi */
body.app-fit.messages-mobile-mode > main{padding:0!important;width:100%!important;max-width:100%!important}
body.app-fit.messages-mobile-mode #messages.messages-view{padding:0!important;width:100%!important;max-width:100%!important;overflow:hidden!important}
body.app-fit.messages-mobile-mode .messages-shell{width:100%!important;max-width:none!important;height:var(--chat-vh,100dvh)!important;min-height:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:hidden!important}
body.app-fit.messages-mobile-mode .whatsapp-workspace{height:100%!important;min-height:0!important}
body.app-fit.messages-mobile-mode .whatsapp-panel{height:100%!important;min-height:0!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
body.app-fit.messages-mobile-mode .messages-topbar{display:none!important}
body.app-fit.messages-mobile-mode .whatsapp-head{flex:0 0 auto!important;min-height:58px!important;height:auto!important;padding:7px 10px!important;gap:7px!important;flex-wrap:wrap!important}
body.app-fit.messages-mobile-mode .conversation-identity{min-width:0!important;flex:1 1 150px!important;margin-right:0!important}
body.app-fit.messages-mobile-mode .chat-avatar{width:36px!important;height:36px!important;flex:0 0 36px!important;font-size:calc(11px * var(--kt-readable-scale,1))!important}
body.app-fit.messages-mobile-mode .conversation-identity strong{font-size:calc(14px * var(--kt-readable-scale,1))!important}
body.app-fit.messages-mobile-mode .conversation-identity span{font-size:calc(10px * var(--kt-readable-scale,1))!important}
body.app-fit.messages-mobile-mode .whatsapp-head .message-filter{flex:1 1 128px!important;width:auto!important;max-width:none!important;min-width:0!important}
body.app-fit.messages-mobile-mode .whatsapp-head .message-filter label{display:block!important;font-size:0!important;width:100%!important}
body.app-fit.messages-mobile-mode .whatsapp-head .message-filter select{width:100%!important;min-width:0!important;max-width:none!important;height:34px!important;padding:5px 7px!important;font-size:calc(11px * var(--kt-readable-scale,1))!important}
body.app-fit.messages-mobile-mode .whatsapp-list{flex:1 1 auto!important;height:auto!important;min-height:0!important;overflow-y:auto!important;padding:10px 8px!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
body.app-fit.messages-mobile-mode .whatsapp-list .message-bubble{max-width:86%!important;font-size:calc(14px * var(--kt-readable-scale,1))!important}
body.app-fit.messages-mobile-mode .whatsapp-composer{flex:0 0 auto!important;position:relative!important;bottom:auto!important;width:100%!important;padding:7px 8px max(7px,env(safe-area-inset-bottom))!important;background:#f0f2f5!important;z-index:20!important}
body.app-fit.messages-mobile-mode .composer-input{width:100%!important;align-items:flex-end!important;gap:7px!important}
body.app-fit.messages-mobile-mode .composer-input textarea{min-width:0!important;width:100%!important;min-height:44px!important;max-height:104px!important;padding:11px 14px!important;font-size:calc(16px * var(--kt-readable-scale,1))!important;line-height:calc(21px * var(--kt-readable-scale,1))!important;border-radius:22px!important}
body.app-fit.messages-mobile-mode .chat-send{display:grid!important;visibility:visible!important;opacity:1!important;flex:0 0 44px!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;margin:0!important}
body.app-fit.messages-mobile-mode .composer-status{display:none!important}
body.app-fit.messages-mobile-mode .compact-team-label{display:none!important}
body.app-fit.messages-mobile-mode.keyboard-open .whatsapp-head{display:none!important}
body.app-fit.messages-mobile-mode.keyboard-open .whatsapp-list{padding-top:7px!important;padding-bottom:7px!important}
@media(max-width:520px){body.app-fit.messages-mobile-mode .whatsapp-head{display:grid!important;grid-template-columns:1fr 1fr!important}body.app-fit.messages-mobile-mode .conversation-identity{grid-column:1/-1!important}body.app-fit.messages-mobile-mode .whatsapp-head .message-filter{width:100%!important}}
/* v87 - Admin Aktivite Merkezi */
.activity-view{background:#f2f6fa!important;padding:20px!important}.activity-shell{max-width:1500px;margin:0 auto}.activity-hero{display:flex;align-items:center;justify-content:space-between;padding:22px 26px;border-radius:18px;background:linear-gradient(135deg,#082f49,#0b5278);color:#fff;box-shadow:0 12px 30px rgba(8,47,73,.12)}.activity-hero h2{margin:0;font-size:calc(25px * var(--kt-readable-scale,1))}.activity-hero p{margin:5px 0 0;color:#cce6f4}.activity-live{padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.12);font-weight:800;font-size:calc(12px * var(--kt-readable-scale,1))}.activity-live span{display:inline-block;width:8px;height:8px;border-radius:50%;background:#4ade80;margin-right:6px}.activity-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:16px 0}.activity-cards>div{background:#fff;border:1px solid #dde7f0;border-radius:15px;padding:17px 19px;box-shadow:0 6px 18px rgba(15,43,67,.05)}.activity-cards span{display:block;color:#64748b;font-size:calc(12px * var(--kt-readable-scale,1));font-weight:800;text-transform:uppercase}.activity-cards strong{display:block;margin-top:5px;font-size:calc(28px * var(--kt-readable-scale,1));color:#0b3151}.activity-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(360px,.75fr);gap:16px}.activity-panel{background:#fff;border:1px solid #dde7f0;border-radius:16px;overflow:hidden;box-shadow:0 7px 20px rgba(15,43,67,.05)}.activity-panel-head{min-height:68px;padding:14px 17px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e8eef4}.activity-panel-head h3{margin:0;color:#0f334e}.activity-panel-head small{color:#718096}.activity-panel-head button,.activity-panel-head select{border:1px solid #cad8e4;background:#fff;border-radius:9px;padding:8px 11px;font-weight:700;color:#24445d}.activity-table-wrap{overflow:auto;max-height:560px}.activity-table{width:100%;border-collapse:collapse}.activity-table th{position:sticky;top:0;background:#f7fafc;text-align:left;padding:11px 12px;font-size:calc(11px * var(--kt-readable-scale,1));color:#607386;text-transform:uppercase;z-index:1}.activity-table td{padding:12px;border-top:1px solid #edf2f6;font-size:calc(13px * var(--kt-readable-scale,1));vertical-align:middle}.presence-dot{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:7px}.presence-online{background:#22c55e;box-shadow:0 0 0 4px rgba(34,197,94,.12)}.presence-recent{background:#f59e0b}.presence-offline{background:#94a3b8}.presence-name{font-weight:850;color:#173b55}.presence-sub{display:block;font-size:calc(10px * var(--kt-readable-scale,1));color:#8291a0;margin-top:2px}.activity-log-list{max-height:560px;overflow:auto;padding:8px 14px}.activity-log-item{display:grid;grid-template-columns:36px 1fr;gap:10px;padding:12px 2px;border-bottom:1px solid #edf2f6}.activity-log-icon{width:34px;height:34px;border-radius:10px;background:#eaf5fb;display:grid;place-items:center}.activity-log-main strong{display:block;color:#183d57;font-size:calc(13px * var(--kt-readable-scale,1))}.activity-log-main p{margin:3px 0;color:#5f7181;font-size:calc(12px * var(--kt-readable-scale,1))}.activity-log-main time{font-size:calc(10px * var(--kt-readable-scale,1));color:#93a1ad}.activity-empty{padding:30px;text-align:center;color:#718096}@media(max-width:1050px){.activity-grid{grid-template-columns:1fr}.activity-cards{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.activity-view{padding:8px!important}.activity-hero{padding:17px;align-items:flex-start}.activity-live{display:none}.activity-cards{grid-template-columns:1fr 1fr;gap:8px}.activity-cards>div{padding:12px}.activity-cards strong{font-size:calc(22px * var(--kt-readable-scale,1))}.activity-table{min-width:760px}}

/* v88 - Masaüstü profesyonel mesaj merkezi */
@media(min-width:901px){
  .messages-view{padding:16px!important}.messages-shell{max-width:1540px;height:calc(100vh - 245px);min-height:650px}
  .messages-topbar{min-height:66px;padding:13px 20px}.messages-topbar h2{font-size:calc(21px * var(--kt-readable-scale,1))}
  .whatsapp-workspace{display:grid!important;grid-template-columns:330px minmax(0,1fr)!important;min-height:0!important;height:calc(100% - 66px)!important}
  .web-chat-sidebar{display:flex!important;flex-direction:column;min-width:0;background:#fff;border-right:1px solid #e2e8f0;overflow:hidden}
  .web-chat-sidebar-head{padding:17px 18px 10px;display:flex;align-items:flex-end;justify-content:space-between}.web-chat-sidebar-head strong{font-size:calc(17px * var(--kt-readable-scale,1));color:#15384f}.web-chat-sidebar-head span{font-size:calc(11px * var(--kt-readable-scale,1));color:#8493a0}
  .web-chat-search{margin:0 12px 10px;height:40px;border-radius:11px;background:#f1f5f8;display:flex;align-items:center;gap:7px;padding:0 11px;color:#718096}.web-chat-search input{width:100%;border:0;outline:0;background:transparent;font:calc(13px * var(--kt-readable-scale,1)) inherit;color:#18384d}
  .web-chat-team-list{overflow:auto;flex:1}.web-chat-item{width:100%;min-height:67px;border:0;border-top:1px solid #edf2f6;background:#fff;padding:9px 12px;display:flex;align-items:center;gap:10px;text-align:left;cursor:pointer}.web-chat-item:hover{background:#f5f9fc}.web-chat-item.active{background:#e8f4fb;box-shadow:inset 3px 0 #0874b9}.web-chat-item.broadcast{border-top:0;border-bottom:1px solid #e6edf3;background:#f8fbfd}.web-chat-item.broadcast.active{background:#e7f5ff}
  .web-chat-avatar{width:42px;height:42px;flex:0 0 42px;border-radius:50%;display:grid;place-items:center;background:#e5f2f9;color:#0874b9;font-size:calc(12px * var(--kt-readable-scale,1));font-weight:900}.web-chat-item.broadcast .web-chat-avatar{background:#fff1d6;font-size:calc(18px * var(--kt-readable-scale,1))}.web-chat-copy{min-width:0;flex:1}.web-chat-copy b,.web-chat-copy small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.web-chat-copy b{font-size:calc(12.5px * var(--kt-readable-scale,1));color:#18384d}.web-chat-copy small{margin-top:3px;font-size:calc(10.5px * var(--kt-readable-scale,1));color:#7c8d9b}.web-chat-meta{align-self:flex-start;margin-top:4px;font-size:calc(9.5px * var(--kt-readable-scale,1));color:#91a0ac}.web-presence-dot{width:8px;height:8px;border-radius:50%;background:#94a3b8;box-shadow:0 0 0 3px #fff;margin-left:-17px;margin-top:28px;z-index:2}.web-presence-dot.online{background:#22c55e}.web-presence-dot.recent{background:#f59e0b}
  .whatsapp-panel{height:100%!important;min-height:0!important}.whatsapp-head{height:68px!important}.whatsapp-list{height:auto!important;flex:1!important;min-height:0!important;padding:22px 5.5%!important}.whatsapp-list .message-bubble{max-width:min(66%,680px)!important}
  .whatsapp-composer{padding:10px 5.5% 11px!important}.composer-input textarea{min-height:44px!important}.chat-send{width:44px!important;height:44px!important}
  .whatsapp-head .message-filter{display:none!important}.conversation-identity{margin-right:auto!important}.conversation-identity span{max-width:620px}
  body.is-team-user .whatsapp-workspace{grid-template-columns:1fr!important}body.is-team-user .web-chat-sidebar{display:none!important}
}


/* v89/v21 - Güvenli fotoğraf mesajları */
.chat-attach{width:42px!important;height:42px!important;min-width:42px!important;border:0!important;border-radius:50%!important;background:transparent!important;color:#52656f!important;padding:0!important;display:grid!important;place-items:center;font-size:calc(22px * var(--kt-readable-scale,1))!important;cursor:pointer;box-shadow:none!important;transform:none!important}
.chat-attach:hover{background:#e2e7ea!important;color:#0b6f9f!important}.chat-file-input{display:none!important}
.message-bubble.has-image{padding:5px 5px 4px!important;overflow:hidden}.message-bubble.has-image .bubble-team{padding:3px 5px 0}.message-image-wrap{display:block;border:0;background:#e5e7eb;padding:0;margin:0;border-radius:7px;overflow:hidden;cursor:pointer;max-width:420px;min-width:180px;min-height:120px}.message-image-wrap img{display:block;width:100%;height:auto;max-height:420px;object-fit:contain;background:#111}.message-image-loading,.message-image-error{display:grid;place-items:center;min-height:150px;padding:20px;color:#667781;font-size:calc(12px * var(--kt-readable-scale,1))}.message-bubble.has-image .message-meta{padding:1px 5px 0}
.message-image-viewer{position:fixed;inset:0;z-index:100000;background:rgba(4,12,18,.94);display:none;align-items:center;justify-content:center;padding:30px}.message-image-viewer.open{display:flex}.message-image-viewer img{max-width:96vw;max-height:92vh;object-fit:contain;border-radius:8px}.image-viewer-close{position:absolute;right:22px;top:18px;width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,255,255,.13);color:#fff;font-size:calc(30px * var(--kt-readable-scale,1));cursor:pointer}
.image-send-modal{position:fixed;inset:0;z-index:100001;background:rgba(5,18,28,.66);display:flex;align-items:center;justify-content:center;padding:18px}.image-send-card{width:min(520px,96vw);background:#fff;border-radius:18px;box-shadow:0 22px 70px rgba(0,0,0,.3);overflow:hidden}.image-send-head{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid #e6edf2}.image-send-head b{font-size:calc(16px * var(--kt-readable-scale,1))}.image-send-head button{border:0;background:transparent;font-size:calc(25px * var(--kt-readable-scale,1));cursor:pointer}.image-send-card>img{display:block;width:100%;max-height:55vh;object-fit:contain;background:#111}.image-send-info{padding:10px 16px;color:#667781;font-size:calc(12px * var(--kt-readable-scale,1));white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.image-send-actions{display:flex;justify-content:flex-end;gap:8px;padding:12px 16px 16px}.image-send-actions button{border:1px solid #cfd9e0;background:#fff;border-radius:10px;padding:10px 16px;font-weight:800;cursor:pointer}.image-send-actions button.primary{background:#0b6f9f;color:#fff;border-color:#0b6f9f}
@media(max-width:900px){.message-image-wrap{max-width:76vw;min-width:150px}.message-image-wrap img{max-height:52vh}.chat-attach{width:40px!important;height:40px!important;min-width:40px!important}.image-send-card>img{max-height:48vh}}

/* v90 - Admin okunmamis ekip mesaj sayaci */
@media (min-width: 761px){
  .web-chat-side{align-self:stretch;display:flex;flex:0 0 auto;min-width:42px;flex-direction:column;align-items:flex-end;justify-content:flex-start;gap:7px;padding-top:3px}
  .web-chat-side .web-chat-meta{margin:0;align-self:auto}
  .web-unread-badge{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#0874b9;color:#fff;font-size:calc(11px * var(--kt-readable-scale,1));font-weight:900;line-height:1;box-shadow:0 2px 7px rgba(8,116,185,.25)}
  .web-chat-item.has-unread .web-chat-copy b{font-weight:900;color:#0b4f78}
  .web-chat-item.has-unread .web-chat-copy small{font-weight:700;color:#355b72}
}

/* v91 - Admin gelen mesaj mini bildirim merkezi */
.admin-message-toast-stack{position:fixed;right:22px;top:92px;z-index:99990;display:flex;flex-direction:column;gap:10px;width:min(360px,calc(100vw - 28px));pointer-events:none}
.admin-message-toast{pointer-events:auto;display:grid;grid-template-columns:44px 1fr auto;gap:11px;align-items:center;padding:12px 13px;background:rgba(255,255,255,.98);border:1px solid #dbe7ef;border-radius:14px;box-shadow:0 14px 38px rgba(15,49,70,.20);animation:adminToastIn .24s ease-out;cursor:pointer}
.admin-message-toast:hover{transform:translateY(-1px);box-shadow:0 17px 42px rgba(15,49,70,.24)}
.admin-message-toast .amt-avatar{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#0874b9;color:#fff;font-weight:900;font-size:calc(12px * var(--kt-readable-scale,1))}
.admin-message-toast .amt-copy{min-width:0}.admin-message-toast .amt-title{display:flex;align-items:center;gap:7px;font-weight:900;color:#12384f;font-size:calc(13px * var(--kt-readable-scale,1))}.admin-message-toast .amt-title i{width:8px;height:8px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 3px #dcfce7}.admin-message-toast .amt-team{display:block;margin-top:2px;color:#0874b9;font-size:calc(11px * var(--kt-readable-scale,1));font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin-message-toast .amt-preview{display:block;margin-top:3px;color:#5f7382;font-size:calc(11px * var(--kt-readable-scale,1));white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin-message-toast .amt-close{border:0;background:transparent;color:#91a0ac;font-size:calc(18px * var(--kt-readable-scale,1));line-height:1;padding:5px;cursor:pointer}.admin-message-toast .amt-close:hover{color:#334155}
.admin-message-toast.leaving{animation:adminToastOut .2s ease-in forwards}
@keyframes adminToastIn{from{opacity:0;transform:translateX(28px) scale(.98)}to{opacity:1;transform:none}}
@keyframes adminToastOut{to{opacity:0;transform:translateX(28px) scale(.98)}}
nav button[data-view="messages"]{position:relative}.admin-nav-message-badge{position:absolute;right:4px;top:3px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#e11d48;color:#fff;font-size:calc(10px * var(--kt-readable-scale,1));font-weight:900;display:none;place-items:center;box-shadow:0 0 0 2px #fff}.admin-nav-message-badge.show{display:grid}
@media(max-width:700px){.admin-message-toast-stack{right:10px;top:76px;width:calc(100vw - 20px)}}

/* v92 - WhatsApp tipi konusma siralama / okunmamis durum / sag-alt bildirim */
.admin-message-toast-stack{top:auto!important;bottom:22px!important;right:22px!important}
.web-chat-avatar{position:relative}
.web-unread-dot{position:absolute;right:-2px;top:-2px;width:12px;height:12px;border-radius:50%;background:#22c55e;border:2px solid #fff;box-shadow:0 2px 6px rgba(34,197,94,.35)}
.web-chat-item.has-unread{background:#f3fbff}
.web-chat-item.has-unread .web-chat-meta{color:#0874b9;font-weight:800}
@media(max-width:700px){.admin-message-toast-stack{top:auto!important;bottom:14px!important;right:10px!important;width:calc(100vw - 20px)}}
/* v93 - WhatsApp benzeri mesaj duzenleme / silme */
.message-bubble{padding-right:28px!important}.message-more{position:absolute;right:4px;top:3px;width:25px;height:25px;border:0;background:transparent;color:#60727d;border-radius:50%;font-size:calc(18px * var(--kt-readable-scale,1));line-height:calc(22px * var(--kt-readable-scale,1));cursor:pointer;opacity:0;transition:.15s}.message-bubble:hover .message-more,.message-more:focus{opacity:1}.message-action-menu{position:fixed;z-index:10050;min-width:150px;padding:6px;background:#fff;border:1px solid #dfe5e8;border-radius:10px;box-shadow:0 10px 30px rgba(0,0,0,.18)}.message-action-menu button{display:block;width:100%;border:0;background:transparent;text-align:left;padding:10px 12px;border-radius:7px;font:600 calc(13px * var(--kt-readable-scale,1)) inherit;color:#26343c;cursor:pointer}.message-action-menu button:hover{background:#f2f5f7}.message-action-menu button.danger{color:#c62828}.message-edited{font-style:italic;color:#7a8b94}.message-deleted{font-style:italic;color:#667781!important}.message-edit-modal{position:fixed;inset:0;z-index:10060;background:rgba(11,20,26,.42);display:grid;place-items:center;padding:18px}.message-edit-card{width:min(520px,100%);background:#fff;border-radius:14px;padding:18px;box-shadow:0 20px 60px rgba(0,0,0,.25)}.message-edit-title{font-size:calc(17px * var(--kt-readable-scale,1));font-weight:850;margin-bottom:12px;color:#172b36}.message-edit-card textarea{width:100%;box-sizing:border-box;border:1px solid #cbd5df;border-radius:10px;padding:12px;font:calc(14px * var(--kt-readable-scale,1))/1.45 inherit;resize:vertical;outline:none}.message-edit-card textarea:focus{border-color:#0b7fab;box-shadow:0 0 0 3px rgba(11,127,171,.12)}.message-edit-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}.message-edit-actions button{border:0;border-radius:9px;padding:9px 14px;font-weight:750;cursor:pointer}.message-edit-actions .primary{background:#0b7fab;color:#fff}@media(max-width:900px){.message-more{opacity:1}.message-action-menu{min-width:165px}.message-edit-card{margin-bottom:20vh}}

/* v94 - CEO / WhatsApp esintili profesyonel web arayuzu */
@media (min-width:1001px){
  body:not(.app-fit) nav{padding:10px 22px;gap:10px;align-items:center;background:rgba(255,255,255,.96);border-bottom:1px solid #e7edf3;box-shadow:0 5px 18px rgba(15,42,66,.06);overflow-x:auto;scrollbar-width:none}
  body:not(.app-fit) nav::-webkit-scrollbar{display:none}
  body:not(.app-fit) nav button[data-view]{position:relative;display:inline-flex;align-items:center;gap:9px;min-height:48px;padding:0 15px;border:1px solid #e7edf3;border-radius:13px;background:#fff;color:#40556a;font-size:calc(13px * var(--kt-readable-scale,1));font-weight:850;white-space:nowrap;box-shadow:0 2px 8px rgba(15,42,66,.035);transition:.18s ease}
  body:not(.app-fit) nav button[data-view]:hover{transform:translateY(-1px);border-color:#cddceb;color:#0d5e9c;box-shadow:0 7px 18px rgba(15,70,110,.09)}
  body:not(.app-fit) nav button[data-view].active{color:#fff;background:linear-gradient(135deg,#0874d8,#0759b7);border-color:#0870d1;box-shadow:0 8px 20px rgba(8,101,194,.22)}
  body:not(.app-fit) nav button[data-view].active:after{content:"";position:absolute;left:18px;right:18px;bottom:-11px;height:3px;border-radius:4px;background:#0874d8}
  body:not(.app-fit) nav button[data-view]::before{font-size:calc(18px * var(--kt-readable-scale,1));line-height:1;filter:grayscale(.15)}
  body:not(.app-fit) nav button[data-view="mud"]::before{content:"⌂"}
  body:not(.app-fit) nav button[data-view="dispatch"]::before{content:"♟"}
  body:not(.app-fit) nav button[data-view="units"]::before{content:"◈"}
  body:not(.app-fit) nav button[data-view="teams"]::before{content:"♣"}
  body:not(.app-fit) nav button[data-view="info"]::before{content:"◎"}
  body:not(.app-fit) nav button[data-view="messages"]::before{content:"▣"}
  body:not(.app-fit) nav button[data-view="activity"]::before{content:"▥"}
  body:not(.app-fit) nav button[data-view="entry"]::before{content:"⚙"}
  body:not(.app-fit) nav button[data-view="messages"]{padding-right:18px}
  body:not(.app-fit) nav #adminLoginBtn{border-radius:12px;margin-left:auto}

  body:not(.app-fit) .messages-view{padding:0!important;background:#f5f8fb!important}
  body:not(.app-fit) .messages-shell{max-width:1560px;margin:0 auto;padding:16px 18px 24px}
  body:not(.app-fit) .messages-topbar{display:none!important}
  body:not(.app-fit) .whatsapp-workspace{height:calc(100vh - 182px)!important;min-height:650px!important;grid-template-columns:365px minmax(0,1fr)!important;border:1px solid #e1e8ef;border-radius:20px;overflow:hidden;background:#fff;box-shadow:0 18px 50px rgba(15,43,67,.09)}
  body:not(.app-fit) .web-chat-sidebar{background:#fff;border-right:1px solid #e6edf3;min-width:0}
  body:not(.app-fit) .web-chat-sidebar-head{padding:19px 20px 13px;display:flex;align-items:center;justify-content:space-between}
  body:not(.app-fit) .web-chat-sidebar-head strong{font-size:calc(20px * var(--kt-readable-scale,1));color:#102f49;letter-spacing:-.3px}
  body:not(.app-fit) .web-chat-sidebar-head span{padding:5px 9px;border-radius:999px;background:#eef6ff;color:#0874c9;font-size:calc(10px * var(--kt-readable-scale,1));font-weight:850}
  body:not(.app-fit) .web-chat-search{margin:0 14px 12px;border:1px solid #dbe5ee;background:#f8fafc;border-radius:12px;box-shadow:inset 0 1px 2px rgba(15,43,67,.025)}
  body:not(.app-fit) .web-chat-search input{background:transparent!important;border:0!important;outline:0!important;box-shadow:none!important}
  body:not(.app-fit) .web-chat-item{position:relative;min-height:74px;margin:2px 8px;padding:10px 10px;border-radius:13px;border:0!important;transition:.16s ease}
  body:not(.app-fit) .web-chat-item:hover{background:#f5f9fc}
  body:not(.app-fit) .web-chat-item.active{background:linear-gradient(90deg,#e8f4ff,#f4f9ff)!important;box-shadow:inset 3px 0 #0874d8}
  body:not(.app-fit) .web-chat-item.has-unread{background:#f1f8ff}
  body:not(.app-fit) .web-chat-avatar{position:relative;width:48px;height:48px;min-width:48px;border-radius:50%;background:linear-gradient(145deg,#368ee5,#1669bd);color:#fff;font-size:calc(12px * var(--kt-readable-scale,1));box-shadow:0 5px 12px rgba(20,101,180,.17)}
  body:not(.app-fit) .web-chat-item:not(.has-unread) .web-chat-avatar{background:linear-gradient(145deg,#7898b5,#557b9e)}
  body:not(.app-fit) .web-unread-dot{right:-3px!important;top:-3px!important;width:15px!important;height:15px!important;background:#ff3b30!important;border:3px solid #fff!important;box-shadow:0 0 0 2px rgba(255,59,48,.11),0 3px 8px rgba(255,59,48,.28)!important;animation:v94UnreadPulse 1.7s infinite}
  body:not(.app-fit) .web-unread-badge{background:#0874d8!important;box-shadow:none!important;min-width:23px;height:23px;font-size:calc(11px * var(--kt-readable-scale,1))}
  body:not(.app-fit) .web-chat-copy b{font-size:calc(13px * var(--kt-readable-scale,1));color:#17344d}.web-chat-copy small{font-size:calc(11px * var(--kt-readable-scale,1))}
  body:not(.app-fit) .web-chat-item.has-unread .web-chat-copy b{color:#0a4f88!important;font-weight:950!important}
  body:not(.app-fit) .web-chat-item.has-unread .web-chat-copy small{color:#274f6c!important;font-weight:800!important}
  body:not(.app-fit) .conversation-panel{background:#f7f5f1!important}
  body:not(.app-fit) .whatsapp-head{height:76px!important;padding:12px 20px!important;background:rgba(255,255,255,.97)!important;border-bottom:1px solid #e4ebf1!important;box-shadow:0 2px 8px rgba(15,43,67,.035);z-index:3}
  body:not(.app-fit) .chat-avatar{width:48px;height:48px;border-radius:50%;background:linear-gradient(145deg,#368ee5,#1669bd);box-shadow:0 5px 12px rgba(20,101,180,.18)}
  body:not(.app-fit) .conversation-identity strong{font-size:calc(16px * var(--kt-readable-scale,1));color:#122f47}.conversation-identity span{font-size:calc(11px * var(--kt-readable-scale,1));color:#708496}
  body:not(.app-fit) .whatsapp-list{background-color:#f6f4f0!important;background-image:radial-gradient(circle at 12px 12px,rgba(20,76,112,.035) 1.2px,transparent 1.3px)!important;background-size:28px 28px!important;padding:24px 5%!important}
  body:not(.app-fit) .message-bubble{border-radius:15px!important;box-shadow:0 3px 12px rgba(15,43,67,.07)!important;border:1px solid rgba(220,229,236,.8)}
  body:not(.app-fit) .message-row.mine .message-bubble{background:#dff8d8!important;border-color:#d0efc8!important}
  body:not(.app-fit) .whatsapp-composer{padding:11px 4.5%!important;background:rgba(247,249,251,.97)!important;border-top:1px solid #e2e9ef!important}
  body:not(.app-fit) .composer-input{background:#fff;border:1px solid #dbe4ec;border-radius:26px;padding:4px 6px 4px 10px;box-shadow:0 3px 12px rgba(15,43,67,.06)}
  body:not(.app-fit) .composer-input textarea{border:0!important;box-shadow:none!important;background:transparent!important}
  body:not(.app-fit) .chat-send{background:linear-gradient(145deg,#0874d8,#075bb8)!important;box-shadow:0 5px 14px rgba(8,101,194,.22)}
}
@keyframes v94UnreadPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.13)}}

/* v95 — Kumluca TM Executive UI System: tum modullerde ortak profesyonel tasarim */
:root{--v95-bg:#f4f7fb;--v95-surface:#fff;--v95-line:#e4ebf3;--v95-ink:#102a43;--v95-muted:#6b7f93;--v95-blue:#0874d8;--v95-blue2:#075bb8;--v95-soft:#eef6ff;--v95-shadow:0 10px 30px rgba(15,43,67,.075);--v95-radius:18px}
@media (min-width:1001px){
  body:not(.app-fit){background:var(--v95-bg)!important;color:var(--v95-ink);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}
  body:not(.app-fit)>header{min-height:74px;padding:13px 26px!important;background:#fff!important;border-bottom:1px solid var(--v95-line);display:flex!important;align-items:center!important;box-shadow:0 2px 12px rgba(15,43,67,.035);position:relative;z-index:20}
  body:not(.app-fit)>header>div:first-child{padding-left:56px;position:relative}
  body:not(.app-fit)>header>div:first-child:before{content:"▥";position:absolute;left:0;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:linear-gradient(145deg,#e9f4ff,#d8ebff);color:var(--v95-blue);font-size:calc(25px * var(--kt-readable-scale,1));font-weight:900;box-shadow:inset 0 0 0 1px #d5e7f8}
  body:not(.app-fit)>header h1{margin:0!important;font-size:calc(22px * var(--kt-readable-scale,1))!important;letter-spacing:-.5px;color:#0b2740!important}
  body:not(.app-fit)>header p{margin:3px 0 0!important;font-size:calc(11px * var(--kt-readable-scale,1))!important;color:var(--v95-muted)!important;font-weight:600}
  body:not(.app-fit)>header #date{margin-left:auto;padding:9px 13px;border:1px solid var(--v95-line);border-radius:12px;background:#f8fafc;color:#496176;font-size:calc(12px * var(--kt-readable-scale,1));font-weight:800}
  body:not(.app-fit)>.cloudbar{margin:0!important;padding:8px 26px!important;min-height:42px;background:#fbfdff!important;border-bottom:1px solid var(--v95-line)!important;box-shadow:none!important;gap:9px!important}
  body:not(.app-fit)>.cloudbar strong{color:#21445f;font-size:calc(12px * var(--kt-readable-scale,1))}.cloud-status{font-size:calc(11px * var(--kt-readable-scale,1))!important}
  body:not(.app-fit)>.cloudbar button,body:not(.app-fit)>.cloudbar .admin-badge{border-radius:10px!important;padding:7px 11px!important;font-size:calc(11px * var(--kt-readable-scale,1))!important;font-weight:800!important;border:1px solid #dbe6ef!important;background:#fff!important;color:#35536a!important;box-shadow:0 2px 6px rgba(15,43,67,.035)}
  body:not(.app-fit)>nav{position:sticky;top:0;z-index:18}
  body:not(.app-fit)>main{max-width:1680px!important;margin:0 auto!important;padding:22px 26px 38px!important}
  body:not(.app-fit) .view{animation:v95ViewIn .22s ease}
  body:not(.app-fit) .view>.toolbar,body:not(.app-fit) .hierarchy-title,body:not(.app-fit) .info-head{margin:0 0 16px!important;padding:0 2px}
  body:not(.app-fit) .view>.toolbar h2,body:not(.app-fit) .hierarchy-title h2,body:not(.app-fit) .info-head h2,body:not(.app-fit) .sectiontitle h2{font-size:calc(24px * var(--kt-readable-scale,1))!important;letter-spacing:-.55px!important;color:#102f49!important;margin-bottom:4px!important}
  body:not(.app-fit) .view>.toolbar p,body:not(.app-fit) .hierarchy-title p,body:not(.app-fit) .info-head p,body:not(.app-fit) .sectiontitle p{color:#71869a!important;font-size:calc(12px * var(--kt-readable-scale,1))!important}

  body:not(.app-fit) .panel,body:not(.app-fit) .sim-box,body:not(.app-fit) .focus-box,body:not(.app-fit) .hierarchy-table-panel,body:not(.app-fit) .info-panel{background:var(--v95-surface)!important;border:1px solid var(--v95-line)!important;border-radius:var(--v95-radius)!important;box-shadow:var(--v95-shadow)!important;overflow:hidden}
  body:not(.app-fit) .panel{padding:18px!important}
  body:not(.app-fit) .panel h2,body:not(.app-fit) .panel h3,body:not(.app-fit) .sim-box h3,body:not(.app-fit) .focus-box h3{color:#173a56!important;letter-spacing:-.25px}
  body:not(.app-fit) .cards,body:not(.app-fit) .pusula-cards{gap:12px!important}
  body:not(.app-fit) .cards>*,body:not(.app-fit) .pusulaCards>article,body:not(.app-fit) .p-card{border:1px solid var(--v95-line)!important;border-radius:16px!important;box-shadow:0 7px 20px rgba(15,43,67,.055)!important;transition:.18s ease}
  body:not(.app-fit) .cards>*:hover,body:not(.app-fit) .pusulaCards>article:hover,body:not(.app-fit) .p-card:hover{transform:translateY(-2px);box-shadow:0 12px 26px rgba(15,43,67,.09)!important}
  body:not(.app-fit) .p-card{position:relative;overflow:hidden}.p-card:after{content:"";position:absolute;inset:auto 0 0;height:3px;background:currentColor;opacity:.38}
  body:not(.app-fit) .p-card b{font-size:calc(27px * var(--kt-readable-scale,1))!important;letter-spacing:-.6px}.p-card span{font-weight:850!important}.p-card small{opacity:.72}

  body:not(.app-fit) .hierarchy-filters,body:not(.app-fit) .form{background:#fff;border:1px solid var(--v95-line);border-radius:16px;padding:14px!important;box-shadow:0 7px 22px rgba(15,43,67,.05);gap:12px!important}
  body:not(.app-fit) label{color:#526a7e;font-weight:800!important;font-size:calc(11px * var(--kt-readable-scale,1))!important}
  body:not(.app-fit) input,body:not(.app-fit) select,body:not(.app-fit) textarea{border:1px solid #d9e4ed!important;border-radius:11px!important;background:#fbfdff!important;color:#17344d!important;transition:.15s ease}
  body:not(.app-fit) input:focus,body:not(.app-fit) select:focus,body:not(.app-fit) textarea:focus{outline:0!important;border-color:#73afe5!important;box-shadow:0 0 0 3px rgba(8,116,216,.09)!important;background:#fff!important}
  body:not(.app-fit) button:not(.message-more):not(.message-action-menu button):not(nav button){border-radius:11px;transition:.16s ease}
  body:not(.app-fit) button:not(.message-more):not(.message-action-menu button):not(nav button):hover{transform:translateY(-1px)}
  body:not(.app-fit) .excel-export-btn{background:#fff!important;color:#17623a!important;border:1px solid #cce5d7!important;box-shadow:0 3px 9px rgba(18,100,58,.06)}
  body:not(.app-fit) .danger-outline-btn{background:#fff!important;border:1px solid #f0cfd2!important;color:#b4232c!important}

  body:not(.app-fit) .tablewrap{border:1px solid var(--v95-line)!important;border-radius:14px!important;overflow:auto!important;background:#fff}
  body:not(.app-fit) table{border-collapse:separate!important;border-spacing:0!important}
  body:not(.app-fit) table thead th{background:#f3f7fb!important;color:#405c73!important;border-color:#e3ebf2!important;font-size:calc(11px * var(--kt-readable-scale,1))!important;text-transform:none;letter-spacing:.1px;padding-top:11px!important;padding-bottom:11px!important}
  body:not(.app-fit) table tbody td{border-color:#e8eef4!important;color:#314c61}
  body:not(.app-fit) table tbody tr{transition:.12s ease}body:not(.app-fit) table tbody tr:hover td{filter:brightness(.985)}
  body:not(.app-fit) .table-total-bar{background:#f7fafc!important;border-top:1px solid var(--v95-line)!important;color:#2e4d65!important;padding:11px 14px!important}

  body:not(.app-fit) #mud .pusula-panel{background:transparent!important;border:0!important;box-shadow:none!important}
  body:not(.app-fit) #mud .pusula-head{padding:18px 20px!important;border:1px solid #dce8f3;border-radius:18px;background:linear-gradient(135deg,#0c3d67,#0a5d9e)!important;color:#fff!important;box-shadow:0 13px 32px rgba(10,76,126,.18);margin-bottom:14px}
  body:not(.app-fit) #mud .pusula-head h2,body:not(.app-fit) #mud .pusula-head small,body:not(.app-fit) #mud .pusula-date{color:#fff!important}
  body:not(.app-fit) #mud .focus-box{padding:17px!important}
  body:not(.app-fit) #mud .sim-box{padding:0!important}.sim-title{padding:16px 18px!important;background:#fff;border-bottom:1px solid var(--v95-line)}

  body:not(.app-fit) #dispatch .hierarchy-title,body:not(.app-fit) #units .hierarchy-title{padding:17px 19px!important;background:linear-gradient(135deg,#f8fbff,#eef6ff);border:1px solid #dce9f5;border-radius:17px}
  body:not(.app-fit) .hierarchy-layout{gap:16px!important}.hierarchy-side{border-radius:17px!important}

  body:not(.app-fit) #teams>.toolbar{padding:18px 20px!important;background:linear-gradient(135deg,#f8fbff,#eef6ff);border:1px solid #dce9f5;border-radius:17px}
  body:not(.app-fit) #teamCards{gap:10px!important}.team-card{border-radius:15px!important;border:1px solid var(--v95-line)!important;box-shadow:0 5px 16px rgba(15,43,67,.05)!important}

  body:not(.app-fit) #info .info-head{padding:18px 20px!important;background:linear-gradient(135deg,#f8fbff,#eef6ff);border:1px solid #dce9f5;border-radius:17px;margin-bottom:12px!important}
  body:not(.app-fit) #info .info-search{border-radius:14px!important;padding:9px 13px!important;box-shadow:0 5px 16px rgba(15,43,67,.045)!important}
  body:not(.app-fit) #info .info-table td.info-desc{line-height:1.5!important}

  body:not(.app-fit) #activity .activity-hero{border-radius:18px!important;background:linear-gradient(135deg,#0c3d67,#0874c7)!important;box-shadow:0 13px 32px rgba(10,76,126,.18)!important;padding:21px 23px!important}
  body:not(.app-fit) #activity .activity-hero h2,body:not(.app-fit) #activity .activity-hero p{color:#fff!important}
  body:not(.app-fit) .activity-live{background:rgba(255,255,255,.13)!important;color:#fff!important;border:1px solid rgba(255,255,255,.18)!important;border-radius:999px!important}
  body:not(.app-fit) .activity-card,body:not(.app-fit) .activity-stat{border-radius:16px!important;border:1px solid var(--v95-line)!important;box-shadow:0 7px 20px rgba(15,43,67,.055)!important}

  body:not(.app-fit) #entry .entrytabs{border:1px solid var(--v95-line)!important;border-radius:15px!important;padding:6px!important;box-shadow:0 6px 18px rgba(15,43,67,.045)!important;gap:6px}
  body:not(.app-fit) #entry .entrytabs button{border:0!important;background:transparent!important;color:#587085!important;font-weight:850!important;padding:10px 14px!important}
  body:not(.app-fit) #entry .entrytabs button.active{background:var(--v95-soft)!important;color:#0866b7!important;box-shadow:inset 0 0 0 1px #d7e9fa}

  body:not(.app-fit) .admin-message-toast{border-radius:16px!important;border:1px solid #dce7f0!important;box-shadow:0 16px 42px rgba(15,43,67,.18)!important}
}
@keyframes v95ViewIn{from{opacity:.55;transform:translateY(4px)}to{opacity:1;transform:none}}
@media(max-width:1000px){
  body:not(.welcome-locked):not(.chooser-locked){background:#f4f7fb!important}
  body:not(.welcome-locked):not(.chooser-locked)>header{background:#fff!important;border-bottom:1px solid #e5edf4!important}
  body:not(.welcome-locked):not(.chooser-locked)>main{padding:12px!important}
  .panel,.sim-box,.focus-box,.info-panel{border-radius:14px!important;box-shadow:0 6px 18px rgba(15,43,67,.055)!important}
}

/* =========================================================
   V96 EXECUTIVE REDESIGN — FULL DESKTOP UI SYSTEM
   ========================================================= */
@media (min-width:1001px){
:root{--x-bg:#f4f7fb;--x-card:#fff;--x-line:#e3eaf2;--x-text:#122b45;--x-muted:#6e8195;--x-blue:#0877e6;--x-blue2:#0567d5;--x-soft:#eef6ff;--x-shadow:0 8px 28px rgba(20,54,86,.08);--x-r:18px}
body:not(.app-fit):not(.welcome-locked):not(.chooser-locked){background:var(--x-bg)!important;color:var(--x-text)!important}
/* top executive bar */
body:not(.app-fit)>header{height:78px!important;min-height:78px!important;padding:0 28px!important;border:0!important;background:#fff!important;box-shadow:none!important}
body:not(.app-fit)>header>div:first-child{padding-left:54px!important}
body:not(.app-fit)>header>div:first-child:before{content:"▥"!important;width:42px!important;height:42px!important;border-radius:12px!important;background:linear-gradient(145deg,#eaf4ff,#d8eaff)!important;color:#0877e6!important}
body:not(.app-fit)>header h1{font-size:calc(24px * var(--kt-readable-scale,1))!important;font-weight:900!important;color:#102d4a!important}
body:not(.app-fit)>header p{font-size:calc(11px * var(--kt-readable-scale,1))!important;color:#71849a!important;letter-spacing:.1px}
body:not(.app-fit)>header #date{border:0!important;background:#f4f8fc!important;border-radius:999px!important;padding:9px 14px!important}
body:not(.app-fit)>.cloudbar{position:absolute!important;right:27px!important;top:79px!important;z-index:30!important;width:auto!important;min-height:0!important;padding:0!important;border:0!important;background:transparent!important;gap:7px!important}
body:not(.app-fit)>.cloudbar>strong,body:not(.app-fit)>.cloudbar>.cloud-status{display:none!important}
body:not(.app-fit)>.cloudbar button,body:not(.app-fit)>.cloudbar .admin-badge{height:34px!important;padding:0 11px!important;background:#fff!important;border:1px solid #e0e8f0!important;border-radius:10px!important;box-shadow:0 3px 10px rgba(20,54,86,.05)!important}
/* navigation: large premium cards */
body:not(.app-fit)>nav{top:0!important;display:flex!important;align-items:stretch!important;gap:8px!important;min-height:70px!important;padding:9px 26px 10px!important;background:#fff!important;border-top:1px solid #f0f3f7!important;border-bottom:1px solid #dfe7ef!important;box-shadow:0 7px 20px rgba(20,54,86,.055)!important;overflow-x:auto!important}
body:not(.app-fit)>nav button{position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;min-width:max-content!important;height:50px!important;padding:0 16px!important;border:1px solid #e4ebf2!important;border-radius:13px!important;background:#fff!important;color:#29445f!important;font-size:calc(13px * var(--kt-readable-scale,1))!important;font-weight:850!important;box-shadow:0 3px 10px rgba(18,51,82,.045)!important;transition:.18s ease!important}
body:not(.app-fit)>nav button:hover{transform:translateY(-1px)!important;border-color:#cbdceb!important;background:#fafdff!important;box-shadow:0 7px 18px rgba(18,51,82,.08)!important}
body:not(.app-fit)>nav button.active{background:linear-gradient(135deg,#1184ef,#0567d5)!important;color:#fff!important;border-color:#0875df!important;box-shadow:0 9px 20px rgba(8,119,230,.24)!important}
body:not(.app-fit)>nav button.active:after{content:"";position:absolute;left:18px;right:18px;bottom:-11px;height:3px;border-radius:3px;background:#0877e6}
body:not(.app-fit)>nav button:before{font-size:calc(18px * var(--kt-readable-scale,1));line-height:1}
body:not(.app-fit)>nav button[data-view="mud"]:before{content:"⌂"} body:not(.app-fit)>nav button[data-view="dispatch"]:before{content:"♟"} body:not(.app-fit)>nav button[data-view="units"]:before{content:"⬡"} body:not(.app-fit)>nav button[data-view="teams"]:before{content:"♟"} body:not(.app-fit)>nav button[data-view="info"]:before{content:"◎"} body:not(.app-fit)>nav button[data-view="messages"]:before{content:"▰"} body:not(.app-fit)>nav button[data-view="activity"]:before{content:"▥"} body:not(.app-fit)>nav button[data-view="entry"]:before{content:"⚙"}
body:not(.app-fit)>nav button[data-view="messages"]{font-size:0!important}body:not(.app-fit)>nav button[data-view="messages"]:after{content:"Mesajlar";font-size:calc(13px * var(--kt-readable-scale,1))}body:not(.app-fit)>nav button[data-view="messages"].active:after{position:static!important;background:none!important;height:auto!important}
body:not(.app-fit)>nav #adminLoginBtn{margin-left:auto!important}
/* page canvas */
body:not(.app-fit)>main{max-width:none!important;width:100%!important;padding:22px 26px 42px!important}
body:not(.app-fit) .view.active{max-width:1720px;margin:0 auto}
/* universal page title banners */
body:not(.app-fit) .sectiontitle,body:not(.app-fit) .hierarchy-title,body:not(.app-fit) #teams>.toolbar,body:not(.app-fit) #info .info-head{background:#fff!important;border:1px solid var(--x-line)!important;border-radius:18px!important;padding:18px 20px!important;box-shadow:var(--x-shadow)!important;margin-bottom:15px!important}
body:not(.app-fit) .sectiontitle h2,body:not(.app-fit) .hierarchy-title h2,body:not(.app-fit) #teams>.toolbar h2,body:not(.app-fit) #info .info-head h2{font-size:calc(22px * var(--kt-readable-scale,1))!important;font-weight:900!important;color:#102f4d!important}
/* dashboard hero */
body:not(.app-fit) #mud .pusula-head{background:linear-gradient(120deg,#0d3155 0%,#075eaa 55%,#0a7be1 100%)!important;border:0!important;border-radius:20px!important;padding:22px 24px!important;box-shadow:0 14px 32px rgba(8,83,151,.18)!important}
body:not(.app-fit) #mud .pusula-cards{display:grid!important;grid-template-columns:repeat(5,minmax(160px,1fr))!important;margin-top:14px!important}
body:not(.app-fit) .p-card{min-height:118px!important;padding:17px 18px!important;background:#fff!important;border:1px solid var(--x-line)!important;border-radius:17px!important;box-shadow:0 6px 20px rgba(20,54,86,.06)!important}
body:not(.app-fit) .p-card span{font-size:calc(12px * var(--kt-readable-scale,1))!important;color:#647a90!important}body:not(.app-fit) .p-card b{margin-top:8px!important;font-size:calc(30px * var(--kt-readable-scale,1))!important;color:#143b5d!important}body:not(.app-fit) .p-card small{font-size:calc(11px * var(--kt-readable-scale,1))!important;color:#8797a8!important}
body:not(.app-fit) .focus-box,body:not(.app-fit) .sim-box,body:not(.app-fit) .panel{border:1px solid var(--x-line)!important;border-radius:18px!important;background:#fff!important;box-shadow:var(--x-shadow)!important}
/* filters */
body:not(.app-fit) .hierarchy-filters,body:not(.app-fit) .form{border:1px solid var(--x-line)!important;border-radius:17px!important;background:#fff!important;box-shadow:var(--x-shadow)!important;padding:15px!important}
body:not(.app-fit) input,body:not(.app-fit) select,body:not(.app-fit) textarea{min-height:40px!important;background:#f9fbfd!important;border:1px solid #dce5ee!important;border-radius:11px!important}
body:not(.app-fit) button{font-family:inherit}
/* tables: enterprise */
body:not(.app-fit) .tablewrap,body:not(.app-fit) .sim-scroll{border:1px solid #e1e9f1!important;border-radius:14px!important;background:#fff!important;overflow:auto!important}
body:not(.app-fit) table thead th{position:sticky;top:0;z-index:2;background:#f2f6fa!important;color:#496176!important;font-weight:850!important;border-bottom:1px solid #dce5ee!important;padding:12px 10px!important}
body:not(.app-fit) table tbody td{padding:11px 10px!important;border-bottom:1px solid #edf1f5!important;background:#fff}
body:not(.app-fit) table tbody tr:hover td{background:#f8fbff!important}
/* teams as polished directory */
body:not(.app-fit) #teamCards{display:grid!important;grid-template-columns:repeat(4,minmax(230px,1fr))!important;gap:12px!important}
body:not(.app-fit) .team-card{min-height:105px!important;background:#fff!important;border:1px solid var(--x-line)!important;border-radius:16px!important;box-shadow:0 6px 18px rgba(20,54,86,.055)!important;padding:15px!important}
body:not(.app-fit) .team-card:hover{transform:translateY(-2px)!important;border-color:#bdd8ee!important;box-shadow:0 11px 25px rgba(20,54,86,.09)!important}
/* activity/admin */
body:not(.app-fit) #activity .activity-hero{background:linear-gradient(120deg,#0d3155,#0877e6)!important;border-radius:20px!important;padding:22px 24px!important}
body:not(.app-fit) .activity-card,body:not(.app-fit) .activity-stat{background:#fff!important;border:1px solid var(--x-line)!important;border-radius:16px!important;box-shadow:var(--x-shadow)!important}
body:not(.app-fit) #entry .entrytabs{background:#fff!important;border:1px solid var(--x-line)!important;border-radius:16px!important;padding:6px!important;box-shadow:var(--x-shadow)!important}
body:not(.app-fit) #entry .entrytabs button.active{background:#eaf4ff!important;color:#0870d5!important;border-radius:11px!important}
/* MESSAGES — WhatsApp inspired executive layout */
body:not(.app-fit) #messages{max-width:1720px!important}
body:not(.app-fit) #messages .messages-shell{background:#fff!important;border:1px solid #dfe7ef!important;border-radius:20px!important;box-shadow:0 14px 38px rgba(20,54,86,.10)!important;overflow:hidden!important}
body:not(.app-fit) #messages .messages-topbar{padding:17px 20px!important;background:#fff!important;border-bottom:1px solid #e4ebf2!important}
body:not(.app-fit) #messages .messages-topbar h2{font-size:calc(24px * var(--kt-readable-scale,1))!important;color:#112f4c!important;margin:0!important}
body:not(.app-fit) #messages .messages-workspace{min-height:660px!important;background:#fff!important}
body:not(.app-fit) #messages .message-sidebar{width:350px!important;min-width:350px!important;background:#fff!important;border-right:1px solid #e1e8ef!important}
body:not(.app-fit) #messages .message-sidebar-header{padding:14px!important;background:#fbfdff!important;border-bottom:1px solid #e8eef4!important}
body:not(.app-fit) #messages .message-search input{background:#f5f8fb!important;border:1px solid #e0e8f0!important;border-radius:12px!important}
body:not(.app-fit) #messages .message-team-item{position:relative!important;margin:3px 7px!important;border-radius:13px!important;border:0!important;border-bottom:1px solid #edf1f5!important;padding:12px 10px!important;transition:.16s ease!important}
body:not(.app-fit) #messages .message-team-item:hover{background:#f4f9ff!important}
body:not(.app-fit) #messages .message-team-item.active{background:linear-gradient(90deg,#eaf4ff,#f5faff)!important;box-shadow:inset 4px 0 #0877e6!important}
body:not(.app-fit) #messages .message-chat{background:#f6f1eb!important}
body:not(.app-fit) #messages .message-chat-header{height:72px!important;background:#fff!important;border-bottom:1px solid #e1e8ef!important;box-shadow:0 2px 8px rgba(20,54,86,.04)!important}
body:not(.app-fit) #messages .message-list{background-color:#f7f3ee!important;background-image:radial-gradient(rgba(44,79,104,.055) .8px,transparent .8px)!important;background-size:22px 22px!important;padding:22px 28px!important}
body:not(.app-fit) #messages .message-bubble{border-radius:14px!important;box-shadow:0 2px 7px rgba(31,54,73,.08)!important;max-width:68%!important}
body:not(.app-fit) #messages .message-bubble.admin{background:#dcf8cf!important}
body:not(.app-fit) #messages .message-compose{padding:12px 14px!important;background:#fff!important;border-top:1px solid #e1e8ef!important;box-shadow:0 -4px 16px rgba(20,54,86,.04)!important}
body:not(.app-fit) #messages .message-compose textarea{background:#f7f9fb!important;border:1px solid #dfe7ef!important;border-radius:999px!important;min-height:46px!important;padding:12px 18px!important}
body:not(.app-fit) #messages .message-send{width:46px!important;height:46px!important;border-radius:50%!important;background:linear-gradient(145deg,#1386f0,#0568d7)!important;box-shadow:0 7px 16px rgba(8,119,230,.25)!important}
/* info page */
body:not(.app-fit) #info .info-search{background:#fff!important;border:1px solid var(--x-line)!important;border-radius:15px!important;padding:11px!important;box-shadow:var(--x-shadow)!important}
/* scrollbar */
body:not(.app-fit) *::-webkit-scrollbar{width:9px;height:9px}body:not(.app-fit) *::-webkit-scrollbar-thumb{background:#cbd8e4;border:2px solid transparent;background-clip:padding-box;border-radius:10px}body:not(.app-fit) *::-webkit-scrollbar-track{background:transparent}
}
/* v97 Executive application chooser */
@media (min-width:801px){
.app-chooser{background:linear-gradient(135deg,#f6f9fd 0%,#eef4fa 100%)}
.app-chooser.open{grid-template-columns:300px 1fr}
.app-chooser-side{background:linear-gradient(165deg,#082b50 0%,#0a4771 56%,#087fa4 100%);padding:38px 30px;box-shadow:12px 0 38px rgba(14,45,76,.10)}
.chooser-brand{gap:14px}.chooser-logo{width:64px;height:64px;border-radius:18px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.32);box-shadow:inset 0 1px 0 rgba(255,255,255,.16);font-size:calc(22px * var(--kt-readable-scale,1))}
.chooser-brand b{font-size:calc(21px * var(--kt-readable-scale,1));letter-spacing:.2px}.chooser-brand span{font-size:calc(13px * var(--kt-readable-scale,1));letter-spacing:2.2px;text-transform:uppercase;margin-top:6px}
.chooser-user{margin-top:145px;padding:18px;border:1px solid rgba(255,255,255,.13);border-radius:18px;background:rgba(255,255,255,.11);box-shadow:0 14px 35px rgba(0,0,0,.08);backdrop-filter:blur(8px)}
.chooser-avatar{width:54px;height:54px;border-radius:15px;font-size:0;position:relative}.chooser-avatar:before{content:'✓';font-size:calc(25px * var(--kt-readable-scale,1));font-weight:900}
.chooser-logout{border-top:1px solid rgba(255,255,255,.15);border-radius:12px;transition:.2s}.chooser-logout:hover{background:rgba(255,255,255,.09);padding-left:18px}
.app-chooser-main{padding:50px 58px 60px;overflow:auto}
.chooser-top{margin-bottom:38px;align-items:center}.chooser-top small{font-size:calc(12px * var(--kt-readable-scale,1));letter-spacing:1.4px;color:#0786b7}.chooser-top h1{font-size:calc(38px * var(--kt-readable-scale,1));letter-spacing:-1.2px;margin-top:7px;color:#17324d}.chooser-top p{margin:9px 0 0;color:#71839a;font-size:calc(15px * var(--kt-readable-scale,1))}.chooser-active{display:flex;align-items:center;gap:9px;border:1px solid #d7e3ee;border-radius:999px;padding:10px 15px;background:rgba(255,255,255,.88);box-shadow:0 5px 18px rgba(32,64,96,.06);font-size:calc(13px * var(--kt-readable-scale,1))}.chooser-active i{width:9px;height:9px;border-radius:50%;background:#19b66b;box-shadow:0 0 0 4px rgba(25,182,107,.12)}
.chooser-grid{max-width:1180px;gap:22px;grid-template-columns:repeat(2,minmax(360px,1fr))}
.chooser-card{min-height:150px;border:1px solid #e2eaf2;border-radius:22px;padding:25px 26px;grid-template-columns:76px 1fr 42px;gap:20px;box-shadow:0 10px 30px rgba(35,66,96,.07);position:relative;overflow:hidden;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;background:rgba(255,255,255,.96)}
.chooser-card:before{content:'';position:absolute;left:0;top:22px;bottom:22px;width:4px;border-radius:0 5px 5px 0;background:#1689d5;opacity:0;transition:.2s}
.chooser-card:hover{transform:translateY(-5px);box-shadow:0 18px 42px rgba(30,71,110,.13);border-color:#c9dcec}.chooser-card:hover:before{opacity:1}
.chooser-icon{width:72px;height:72px;border:0;border-radius:20px;background:linear-gradient(145deg,#eef7ff,#e2f0ff);color:#0879ca;box-shadow:inset 0 0 0 1px #d2e6f7;transition:.22s}
.chooser-icon svg{width:34px;height:34px;fill:currentColor}.chooser-card:hover .chooser-icon{transform:scale(1.04);background:linear-gradient(145deg,#168ee0,#0875c5);color:#fff;box-shadow:0 10px 24px rgba(14,126,207,.22)}
.chooser-copy em{display:block;font-style:normal;font-size:calc(10px * var(--kt-readable-scale,1));font-weight:900;letter-spacing:1.5px;color:#93a4b5;margin-bottom:7px}.chooser-card b{font-size:calc(22px * var(--kt-readable-scale,1));color:#173b5c;letter-spacing:-.3px}.chooser-card small{font-size:calc(14px * var(--kt-readable-scale,1));line-height:1.45;color:#71849a;margin-top:8px}
.chooser-arrow{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#f3f7fb;color:#6d8297!important;font-size:calc(20px * var(--kt-readable-scale,1))!important;transition:.2s}.chooser-card:hover .chooser-arrow{background:#1689d5;color:#fff!important;transform:translateX(3px)}
.chooser-card-dispatch .chooser-icon{background:linear-gradient(145deg,#f1f0ff,#e9e7ff);color:#5a57c8;box-shadow:inset 0 0 0 1px #dedcfb}.chooser-card-units .chooser-icon{background:linear-gradient(145deg,#ecfbf5,#e0f6ec);color:#138b62;box-shadow:inset 0 0 0 1px #cfecdf}.chooser-card-teams .chooser-icon{background:linear-gradient(145deg,#fff6e9,#ffefd9);color:#c97612;box-shadow:inset 0 0 0 1px #f4dfc1}
.chooser-card-dispatch:hover .chooser-icon,.chooser-card-units:hover .chooser-icon,.chooser-card-teams:hover .chooser-icon{background:linear-gradient(145deg,#168ee0,#0875c5);color:#fff;box-shadow:0 10px 24px rgba(14,126,207,.22)}
}
/* v98 — Executive SVG navigation */
body:not(.app-fit)>nav{gap:10px!important;padding:10px 24px 11px!important;min-height:76px!important;background:#fff!important}
body:not(.app-fit)>nav button[data-view]{height:54px!important;padding:0 15px!important;gap:10px!important;border:1px solid #e2e9f1!important;border-radius:14px!important;color:#334e68!important;background:linear-gradient(180deg,#fff,#fbfdff)!important;box-shadow:0 3px 12px rgba(15,49,78,.05)!important}
body:not(.app-fit)>nav button[data-view]:before{content:none!important;display:none!important}
body:not(.app-fit)>nav button[data-view="messages"]{font-size:calc(13px * var(--kt-readable-scale,1))!important;padding-right:15px!important}
body:not(.app-fit)>nav button[data-view="messages"]:after{content:none!important;display:none!important}
body:not(.app-fit)>nav button[data-view].active:after{content:""!important;display:block!important;position:absolute!important;left:16px!important;right:16px!important;bottom:-12px!important;height:3px!important;background:#0b76df!important;border-radius:3px!important}
body:not(.app-fit)>nav button[data-view].active{color:#fff!important;background:linear-gradient(135deg,#0d7de8,#075fc5)!important;border-color:#0a70d4!important;box-shadow:0 9px 22px rgba(7,105,207,.24)!important}
body:not(.app-fit)>nav button[data-view]:hover:not(.active){color:#075fae!important;border-color:#c5d9ec!important;background:#f8fbff!important;box-shadow:0 8px 20px rgba(16,69,111,.09)!important}
body:not(.app-fit)>nav .nav-icon{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:#eef5fb;color:#176aa8;flex:0 0 30px;transition:.18s ease}
body:not(.app-fit)>nav .nav-icon svg{width:18px;height:18px;display:block;fill:currentColor}
body:not(.app-fit)>nav button.active .nav-icon{background:rgba(255,255,255,.17);color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.13)}
body:not(.app-fit)>nav button:hover:not(.active) .nav-icon{background:#e6f2fd;color:#075fae;transform:scale(1.04)}
body:not(.app-fit)>nav .nav-label{font-size:calc(12.5px * var(--kt-readable-scale,1));font-weight:850;letter-spacing:-.1px;white-space:nowrap}
body:not(.app-fit)>nav #adminLoginBtn{height:54px!important;border:1px solid #e2e9f1!important;background:#f8fbfd!important;color:#38546d!important}
body:not(.app-fit)>nav button[data-view="messages"] .admin-nav-message-badge{right:5px!important;top:3px!important;border:2px solid #fff!important;box-shadow:0 2px 7px rgba(190,24,55,.25)!important}
@media(max-width:1250px){body:not(.app-fit)>nav{padding-left:12px!important;padding-right:12px!important;gap:6px!important}body:not(.app-fit)>nav button[data-view]{padding:0 11px!important}.nav-label{font-size:calc(11.5px * var(--kt-readable-scale,1))!important}}

/* V99 — Executive navigation: restrained line icons, consistent sizing */
@media (min-width: 900px){
  body>nav{min-height:74px!important;padding:10px max(18px,5%)!important;gap:8px!important;align-items:center!important;background:rgba(255,255,255,.98)!important;border-bottom:1px solid #e5edf5!important;box-shadow:0 5px 18px rgba(16,42,67,.045)!important;overflow-x:auto!important}
  body>nav button[data-view]{position:relative!important;display:inline-flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:10px!important;width:auto!important;height:52px!important;min-height:52px!important;padding:0 14px!important;margin:0!important;border:1px solid transparent!important;border-radius:14px!important;background:transparent!important;color:#4b6176!important;font-size:calc(13px * var(--kt-readable-scale,1))!important;font-weight:760!important;line-height:1!important;box-shadow:none!important;white-space:nowrap!important;transition:all .18s ease!important}
  body>nav button[data-view]::before{content:none!important;display:none!important}
  body>nav button[data-view]::after{content:none!important;display:none!important}
  body>nav button[data-view]:hover:not(.active){background:#f4f8fc!important;border-color:#dfeaf4!important;color:#0d5f9f!important;transform:translateY(-1px)!important}
  body>nav button[data-view].active{background:#edf6ff!important;border-color:#c8e1f7!important;color:#075f9f!important;box-shadow:0 5px 15px rgba(18,92,151,.10)!important}
  body>nav button[data-view].active::after{content:""!important;display:block!important;position:absolute!important;left:16px!important;right:16px!important;bottom:-11px!important;height:3px!important;border-radius:5px!important;background:#0b78c6!important}
  body>nav .nav-icon{display:grid!important;place-items:center!important;flex:0 0 34px!important;width:34px!important;height:34px!important;min-width:34px!important;max-width:34px!important;min-height:34px!important;max-height:34px!important;padding:0!important;margin:0!important;border-radius:10px!important;background:#f1f6fa!important;color:#355c7d!important;overflow:hidden!important;transition:all .18s ease!important}
  body>nav .nav-icon svg{display:block!important;width:19px!important;height:19px!important;min-width:19px!important;max-width:19px!important;min-height:19px!important;max-height:19px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
  body>nav button.active .nav-icon{background:#0b73bd!important;color:#fff!important;box-shadow:0 5px 12px rgba(11,115,189,.22)!important}
  body>nav button[data-view="messages"]{font-size:calc(13px * var(--kt-readable-scale,1))!important;padding-right:14px!important}
  body>nav button[data-view="messages"] .admin-nav-message-badge{right:2px!important;top:1px!important}
  body>nav .nav-label{display:inline!important;font-size:calc(13px * var(--kt-readable-scale,1))!important;line-height:1.15!important;color:inherit!important}
}

/* V100 — Executive WhatsApp-style Message Center */
@media (min-width: 900px){
body:not(.app-fit) #messages{padding:18px 22px 26px!important;background:#f3f6fa!important;max-width:none!important}
body:not(.app-fit) #messages .messages-shell{max-width:1580px!important;margin:0 auto!important;border:1px solid #dce5ee!important;border-radius:20px!important;background:#fff!important;box-shadow:0 18px 48px rgba(21,49,76,.10)!important;overflow:hidden!important}
body:not(.app-fit) #messages .messages-topbar{display:none!important}
body:not(.app-fit) #messages .messages-workspace{display:grid!important;grid-template-columns:370px minmax(0,1fr)!important;height:calc(100vh - 210px)!important;min-height:680px!important;max-height:850px!important;background:#fff!important}
body:not(.app-fit) #messages .web-chat-sidebar{display:flex!important;flex-direction:column!important;min-width:0!important;background:#fff!important;border-right:1px solid #e1e8ef!important;overflow:hidden!important}
body:not(.app-fit) #messages .web-chat-sidebar-head{height:70px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;padding:0 18px!important;border-bottom:1px solid #edf1f5!important;background:#fff!important}
body:not(.app-fit) #messages .web-chat-sidebar-head strong{display:flex!important;align-items:center!important;gap:10px!important;font-size:calc(21px * var(--kt-readable-scale,1))!important;font-weight:900!important;color:#132f4b!important;letter-spacing:-.3px!important}
body:not(.app-fit) #messages .web-chat-sidebar-head strong:before{content:'✦'!important;width:36px!important;height:36px!important;display:grid!important;place-items:center!important;border-radius:11px!important;background:linear-gradient(145deg,#1387ee,#0765cf)!important;color:#fff!important;font-size:calc(16px * var(--kt-readable-scale,1))!important;box-shadow:0 7px 16px rgba(8,108,211,.20)!important}
body:not(.app-fit) #messages .web-chat-sidebar-head span{font-size:calc(11px * var(--kt-readable-scale,1))!important;font-weight:800!important;color:#8191a2!important;background:#f3f6f9!important;padding:6px 9px!important;border-radius:999px!important}
body:not(.app-fit) #messages .web-chat-search{margin:12px 14px 10px!important;height:44px!important;display:flex!important;align-items:center!important;gap:8px!important;padding:0 13px!important;background:#f5f8fb!important;border:1px solid #e0e8f0!important;border-radius:13px!important;color:#7890a5!important}
body:not(.app-fit) #messages .web-chat-search span{font-size:0!important}
body:not(.app-fit) #messages .web-chat-search span:before{content:'⌕';font-size:calc(20px * var(--kt-readable-scale,1))!important}
body:not(.app-fit) #messages .web-chat-search input{height:40px!important;min-height:40px!important;border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;font-size:calc(13px * var(--kt-readable-scale,1))!important;color:#263f56!important;outline:none!important}
body:not(.app-fit) #messages #webBroadcastBtn{margin:0 8px 5px!important;background:#f5f9ff!important;border:1px solid #e0ebf7!important;border-radius:13px!important}
body:not(.app-fit) #messages .web-chat-team-list{overflow-y:auto!important;flex:1!important;padding:0 7px 10px!important}
body:not(.app-fit) #messages .web-chat-item{position:relative!important;width:100%!important;min-height:72px!important;display:grid!important;grid-template-columns:48px minmax(0,1fr) auto!important;grid-template-rows:auto auto!important;align-items:center!important;column-gap:11px!important;margin:2px 0!important;padding:10px 9px!important;border:0!important;border-bottom:1px solid #edf1f5!important;border-radius:12px!important;background:#fff!important;text-align:left!important;color:#17344e!important;box-shadow:none!important;transition:.16s ease!important}
body:not(.app-fit) #messages .web-chat-item:hover{background:#f6faff!important;transform:none!important}
body:not(.app-fit) #messages .web-chat-item.active{background:linear-gradient(90deg,#e7f3ff,#f4f9ff)!important;box-shadow:inset 4px 0 #147ee5!important}
body:not(.app-fit) #messages .web-chat-avatar{grid-row:1/3!important;position:relative!important;width:46px!important;height:46px!important;display:grid!important;place-items:center!important;border-radius:50%!important;background:linear-gradient(145deg,#e9f4fc,#d8eaf7)!important;color:#176a9e!important;font-size:calc(13px * var(--kt-readable-scale,1))!important;font-weight:900!important;letter-spacing:.3px!important}
body:not(.app-fit) #messages .web-chat-item.active .web-chat-avatar{background:linear-gradient(145deg,#268fee,#0b6fd2)!important;color:#fff!important}
body:not(.app-fit) #messages .web-chat-item.broadcast .web-chat-avatar{background:#fff0d7!important;color:#9c6200!important;font-size:calc(18px * var(--kt-readable-scale,1))!important}
body:not(.app-fit) #messages .web-chat-copy{min-width:0!important;align-self:end!important}
body:not(.app-fit) #messages .web-chat-copy b{display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:calc(13px * var(--kt-readable-scale,1))!important;font-weight:850!important;color:#16334c!important}
body:not(.app-fit) #messages .web-chat-copy small{display:block!important;margin-top:4px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:calc(11.5px * var(--kt-readable-scale,1))!important;color:#72869a!important}
body:not(.app-fit) #messages .web-chat-side{grid-column:3!important;grid-row:1/3!important;align-self:stretch!important;display:flex!important;flex-direction:column!important;align-items:flex-end!important;justify-content:space-between!important;padding:2px 0!important}
body:not(.app-fit) #messages .web-chat-meta{font-size:calc(10px * var(--kt-readable-scale,1))!important;color:#91a0ae!important;white-space:nowrap!important}
body:not(.app-fit) #messages .web-unread-badge{min-width:21px!important;height:21px!important;padding:0 6px!important;display:grid!important;place-items:center!important;border-radius:999px!important;background:#147ee5!important;color:#fff!important;font-size:calc(10px * var(--kt-readable-scale,1))!important;font-weight:900!important;box-shadow:0 4px 10px rgba(20,126,229,.20)!important}
body:not(.app-fit) #messages .web-unread-dot{position:absolute!important;right:-1px!important;top:1px!important;width:10px!important;height:10px!important;border-radius:50%!important;background:#ff3b30!important;border:2px solid #fff!important;box-shadow:0 2px 6px rgba(255,59,48,.28)!important}
body:not(.app-fit) #messages .web-presence-dot{position:absolute!important;left:43px!important;top:49px!important;width:9px!important;height:9px!important;border-radius:50%!important;border:2px solid #fff!important;background:#aab6c1!important;z-index:2!important}
body:not(.app-fit) #messages .web-presence-dot.online{background:#20b26b!important}
body:not(.app-fit) #messages .conversation-panel{min-width:0!important;display:flex!important;flex-direction:column!important;background:#f7f3ee!important}
body:not(.app-fit) #messages .conversation-head{height:76px!important;min-height:76px!important;padding:10px 18px!important;display:grid!important;grid-template-columns:minmax(260px,1fr) auto auto!important;gap:12px!important;align-items:center!important;background:#fff!important;border-bottom:1px solid #e2e9f0!important;box-shadow:0 2px 8px rgba(23,54,82,.035)!important;z-index:2!important}
body:not(.app-fit) #messages .conversation-identity{display:flex!important;flex-direction:row!important;align-items:center!important;gap:12px!important;min-width:0!important}
body:not(.app-fit) #messages .chat-avatar{width:48px!important;height:48px!important;flex:0 0 48px!important;display:grid!important;place-items:center!important;border-radius:50%!important;background:linear-gradient(145deg,#258eea,#0b6ed1)!important;color:#fff!important;font-size:calc(14px * var(--kt-readable-scale,1))!important;font-weight:900!important;box-shadow:0 7px 17px rgba(11,110,209,.20)!important}
body:not(.app-fit) #messages .conversation-identity>div:last-child{display:flex!important;flex-direction:column!important;min-width:0!important}
body:not(.app-fit) #messages #conversationTitle{font-size:calc(16px * var(--kt-readable-scale,1))!important;font-weight:900!important;color:#142f49!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
body:not(.app-fit) #messages #conversationSubtitle{margin-top:4px!important;font-size:calc(11px * var(--kt-readable-scale,1))!important;color:#7b8d9e!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
body:not(.app-fit) #messages .message-filter{max-width:250px!important;margin:0!important}
body:not(.app-fit) #messages .message-filter label{font-size:0!important}
body:not(.app-fit) #messages .message-filter select{height:40px!important;min-height:40px!important;min-width:190px!important;padding:0 34px 0 12px!important;border:1px solid #dce5ed!important;border-radius:11px!important;background:#f8fafc!important;color:#2d455c!important;font-size:calc(11.5px * var(--kt-readable-scale,1))!important;font-weight:750!important}
body:not(.app-fit) #messages .message-list{flex:1!important;height:auto!important;min-height:0!important;overflow-y:auto!important;padding:24px 28px!important;gap:8px!important;background-color:#f7f3ee!important;background-image:radial-gradient(rgba(61,86,105,.055) .75px,transparent .75px)!important;background-size:19px 19px!important}
body:not(.app-fit) #messages .message-bubble{max-width:min(67%,720px)!important;padding:10px 13px 7px!important;border-radius:13px!important;box-shadow:0 2px 7px rgba(30,52,70,.075)!important}
body:not(.app-fit) #messages .message-row.mine .message-bubble{background:#dcf8cf!important;border:1px solid #d0efc5!important;border-bottom-right-radius:4px!important}
body:not(.app-fit) #messages .message-row.theirs .message-bubble{background:#fff!important;border:1px solid #e6eaee!important;border-bottom-left-radius:4px!important}
body:not(.app-fit) #messages .bubble-team{font-size:calc(10.5px * var(--kt-readable-scale,1))!important;color:#0877b9!important;font-weight:900!important}
body:not(.app-fit) #messages .message-card-text{font-size:calc(13.5px * var(--kt-readable-scale,1))!important;line-height:1.45!important;color:#172c3d!important}
body:not(.app-fit) #messages .message-meta{font-size:calc(10px * var(--kt-readable-scale,1))!important;color:#81909c!important}
body:not(.app-fit) #messages .whatsapp-composer{padding:11px 13px!important;background:#fff!important;border-top:1px solid #e0e7ee!important;box-shadow:0 -4px 15px rgba(21,49,76,.035)!important}
body:not(.app-fit) #messages .composer-input{display:flex!important;align-items:flex-end!important;gap:9px!important;padding:6px!important;background:#f8fafc!important;border:1px solid #dfe7ef!important;border-radius:17px!important}
body:not(.app-fit) #messages .composer-input textarea{flex:1!important;min-height:42px!important;max-height:110px!important;padding:10px 8px!important;border:0!important;background:transparent!important;box-shadow:none!important;resize:none!important;font-size:calc(13px * var(--kt-readable-scale,1))!important;outline:none!important}
body:not(.app-fit) #messages .chat-attach{width:42px!important;height:42px!important;flex:0 0 42px!important;border:0!important;border-radius:12px!important;background:transparent!important;color:#49677f!important;font-size:calc(19px * var(--kt-readable-scale,1))!important;box-shadow:none!important}
body:not(.app-fit) #messages .chat-attach:hover{background:#eaf1f7!important}
body:not(.app-fit) #messages .chat-send{width:44px!important;height:44px!important;flex:0 0 44px!important;border:0!important;border-radius:50%!important;background:linear-gradient(145deg,#198cf3,#0867d2)!important;color:#fff!important;font-size:calc(20px * var(--kt-readable-scale,1))!important;box-shadow:0 7px 16px rgba(8,103,210,.24)!important}
body:not(.app-fit) #messages .composer-status{font-size:calc(10px * var(--kt-readable-scale,1))!important;padding:4px 8px 0!important;color:#72869a!important}
}


/* V101 CEO MESSAGE CENTER - FINAL */
@media (min-width:1001px){
body:not(.app-fit) #messages.messages-view{max-width:1600px!important;padding:0!important;margin:0 auto!important}
body:not(.app-fit) #messages .messages-shell{height:calc(100vh - 174px)!important;min-height:650px!important;padding:16px!important;background:#f4f7fb!important;border-radius:22px!important}
body:not(.app-fit) #messages .messages-topbar{display:none!important}
body:not(.app-fit) #messages .messages-workspace{height:100%!important;display:grid!important;grid-template-columns:360px minmax(0,1fr)!important;gap:0!important;overflow:hidden!important;background:#fff!important;border:1px solid #e2e9f1!important;border-radius:20px!important;box-shadow:0 18px 50px rgba(21,48,77,.10)!important}
body:not(.app-fit) #messages .web-chat-sidebar{display:flex!important;flex-direction:column!important;background:#fff!important;border-right:1px solid #e3eaf2!important}
body:not(.app-fit) #messages .web-chat-sidebar-head{min-height:74px!important;padding:15px 18px!important;display:flex!important;align-items:center!important;justify-content:space-between!important}
body:not(.app-fit) #messages .web-chat-sidebar-head strong{display:flex!important;align-items:center!important;gap:11px!important;font-size:calc(23px * var(--kt-readable-scale,1))!important;font-weight:900!important;color:#132c47!important}
body:not(.app-fit) #messages .web-chat-sidebar-head strong:before{content:"✉"!important;width:40px!important;height:40px!important;display:grid!important;place-items:center!important;border-radius:12px!important;background:#147de5!important;color:#fff!important;font-size:calc(18px * var(--kt-readable-scale,1))!important;box-shadow:0 8px 18px rgba(20,125,229,.22)!important}
body:not(.app-fit) #messages #webUnreadTotalBadge{font-size:calc(11px * var(--kt-readable-scale,1))!important;font-weight:850!important;color:#fff!important;background:#ff453a!important;padding:6px 9px!important;border-radius:999px!important}
body:not(.app-fit) #messages .web-chat-search{margin:0 16px 12px!important;height:46px!important;border-radius:14px!important;background:#f7f9fc!important;border:1px solid #e1e8f0!important}
body:not(.app-fit) #messages #webBroadcastBtn{margin:0 10px 6px!important;min-height:66px!important;border-radius:14px!important;background:#f7faff!important;border:1px solid #e2ebf5!important}
body:not(.app-fit) #messages .web-chat-team-list{padding:0 9px 12px!important}
body:not(.app-fit) #messages .web-chat-item{min-height:76px!important;padding:10px!important;margin:2px 0!important;border-radius:14px!important}
body:not(.app-fit) #messages .web-chat-item.active{background:linear-gradient(90deg,#e6f2ff,#f2f8ff)!important;box-shadow:inset 4px 0 #147de5!important}
body:not(.app-fit) #messages .conversation-panel{background:#f7f3ee!important;min-width:0!important}
body:not(.app-fit) #messages .conversation-head{height:82px!important;min-height:82px!important;padding:12px 20px!important;display:flex!important;align-items:center!important;background:#fff!important;border-bottom:1px solid #e3e9ef!important}
body:not(.app-fit) #messages .conversation-identity{flex:1!important}
body:not(.app-fit) #messages .chat-avatar{width:52px!important;height:52px!important;flex:0 0 52px!important;background:linear-gradient(145deg,#278ff0,#0d6dd2)!important}
body:not(.app-fit) #messages #conversationTitle{font-size:calc(16px * var(--kt-readable-scale,1))!important;font-weight:900!important;color:#132c47!important}
body:not(.app-fit) #messages .conversation-head .message-filter{display:none!important}
body:not(.app-fit) #messages .conversation-head:after{content:"Güvenli iletişim";display:flex;align-items:center;height:36px;padding:0 13px;border:1px solid #e1e8ef;border-radius:11px;background:#f8fafc;color:#657b90;font-size:calc(11px * var(--kt-readable-scale,1));font-weight:800}
body:not(.app-fit) #messages .message-list{padding:24px 30px 28px!important;gap:9px!important;background-color:#f7f3ee!important;background-image:radial-gradient(circle at 1px 1px,rgba(60,83,101,.055) 1px,transparent 0)!important;background-size:22px 22px!important}
body:not(.app-fit) #messages .message-bubble{max-width:min(62%,680px)!important;padding:10px 13px 8px!important;border-radius:14px!important;box-shadow:0 2px 8px rgba(27,49,68,.08)!important}
body:not(.app-fit) #messages .message-row.theirs .message-bubble{background:#fff!important;border:1px solid #e6e9ed!important;border-bottom-left-radius:5px!important}
body:not(.app-fit) #messages .message-row.mine .message-bubble{background:#dff8d7!important;border:1px solid #d2efca!important;border-bottom-right-radius:5px!important}
body:not(.app-fit) #messages .whatsapp-composer{padding:12px 14px 14px!important;background:#fff!important;border-top:1px solid #e1e8ef!important}
body:not(.app-fit) #messages .composer-input{min-height:58px!important;padding:7px 8px!important;border-radius:18px!important;background:#f8fafc!important;border:1px solid #dde6ee!important;box-shadow:0 5px 18px rgba(24,52,78,.05)!important}
body:not(.app-fit) #messages .chat-send{width:46px!important;height:46px!important;flex:0 0 46px!important;border-radius:50%!important;background:#147de5!important;box-shadow:0 8px 18px rgba(20,125,229,.28)!important}
body:not(.app-fit) #messages .compact-team-label{display:none!important}
}


/* ==========================================================
   V102 — CLEAN FIX + REFERENCE-LIKE MESSAGE CENTER
   ========================================================== */
html,body{border:0!important}
body:before,body:after,#app:before,#app:after,.app-shell:before,.app-shell:after{border:0!important;box-shadow:none!important}
hr{border:0!important;border-top:1px solid #e8edf3!important}

/* remove accidental fixed/sticky horizontal separators */
body:not(.app-fit) .page:after,
body:not(.app-fit) .view:after,
body:not(.app-fit) main:after,
body:not(.app-fit) .main:after{display:none!important}

@media (min-width:1001px){
/* no stray black rules anywhere in content */
body:not(.app-fit) main,body:not(.app-fit) .main,body:not(.app-fit) .page,body:not(.app-fit) .view,
body:not(.app-fit) .panel,body:not(.app-fit) .card{outline:none!important}

/* Messages gets a full application workspace, not the old page flow */
body:not(.app-fit) #messages{
  position:relative!important;
  width:calc(100vw - 36px)!important;max-width:1580px!important;
  margin:14px auto 24px!important;padding:0!important;
}
body:not(.app-fit) #messages .messages-shell{
  height:calc(100vh - 175px)!important;min-height:680px!important;
  margin:0!important;padding:0!important;background:#fff!important;
  border:1px solid #dfe7ef!important;border-radius:22px!important;
  overflow:hidden!important;box-shadow:0 18px 50px rgba(22,48,74,.11)!important;
}
body:not(.app-fit) #messages .messages-topbar{display:none!important}
body:not(.app-fit) #messages .messages-workspace{
  height:100%!important;display:grid!important;
  grid-template-columns:365px minmax(0,1fr)!important;
  gap:0!important;background:#fff!important;
}

/* LEFT */
body:not(.app-fit) #messages .web-chat-sidebar{
  display:flex!important;flex-direction:column!important;height:100%!important;
  background:#fff!important;border-right:1px solid #e2e9f0!important;overflow:hidden!important;
}
body:not(.app-fit) #messages .web-chat-sidebar-head{
  height:76px!important;min-height:76px!important;padding:14px 18px!important;
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  border:0!important;background:#fff!important;
}
body:not(.app-fit) #messages .web-chat-sidebar-head strong{
  display:flex!important;align-items:center!important;gap:12px!important;
  font-size:calc(24px * var(--kt-readable-scale,1))!important;line-height:1!important;font-weight:900!important;color:#102b48!important;
}
body:not(.app-fit) #messages .web-chat-sidebar-head strong:before{
  content:""!important;width:42px!important;height:42px!important;border-radius:13px!important;
  background-color:#167ee6!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='23' height='23' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a4 4 0 0 1-4 4H8l-5 3v-4.5A4 4 0 0 1 2 15V7a4 4 0 0 1 4-4h11a4 4 0 0 1 4 4z'/%3E%3Cpath d='M7 9h10M7 13h6'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;background-position:center!important;
  box-shadow:0 7px 18px rgba(22,126,230,.24)!important;
}
body:not(.app-fit) #messages .web-chat-sidebar-head span{
  font-size:calc(11px * var(--kt-readable-scale,1))!important;font-weight:800!important;color:#fff!important;background:#ff453a!important;
  border-radius:999px!important;padding:6px 9px!important;
}
body:not(.app-fit) #messages .web-chat-search{
  flex:0 0 auto!important;height:48px!important;margin:0 16px 12px!important;padding:0 14px!important;
  border:1px solid #dde6ef!important;border-radius:14px!important;background:#f8fafc!important;
}
body:not(.app-fit) #messages #webBroadcastBtn{
  flex:0 0 auto!important;min-height:68px!important;margin:0 10px 5px!important;padding:10px 12px!important;
  border:1px solid #e3ebf3!important;border-radius:14px!important;background:#f7faff!important;
}
body:not(.app-fit) #messages #webBroadcastBtn.active{background:#e8f3ff!important;box-shadow:inset 4px 0 #167ee6!important}
body:not(.app-fit) #messages .web-chat-team-list{
  flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;padding:0 9px 12px!important;
}
body:not(.app-fit) #messages .web-chat-item{
  min-height:76px!important;margin:2px 0!important;padding:9px 10px!important;border:0!important;
  border-bottom:1px solid #edf1f5!important;border-radius:14px!important;background:#fff!important;
}
body:not(.app-fit) #messages .web-chat-item.active{
  background:linear-gradient(90deg,#e4f1ff,#f3f8ff)!important;box-shadow:inset 4px 0 #167ee6!important;
}
body:not(.app-fit) #messages .web-chat-avatar{width:48px!important;height:48px!important;flex:0 0 48px!important}
body:not(.app-fit) #messages .web-chat-copy b{font-size:calc(12.5px * var(--kt-readable-scale,1))!important;color:#17334f!important}
body:not(.app-fit) #messages .web-chat-copy small{font-size:calc(11.5px * var(--kt-readable-scale,1))!important;color:#71869a!important}

/* RIGHT */
body:not(.app-fit) #messages .conversation-panel{
  height:100%!important;min-width:0!important;display:grid!important;
  grid-template-rows:82px minmax(0,1fr) auto!important;background:#f7f3ee!important;overflow:hidden!important;
}
body:not(.app-fit) #messages .conversation-head{
  height:82px!important;min-height:82px!important;padding:12px 20px!important;
  display:flex!important;align-items:center!important;gap:13px!important;
  background:#fff!important;border:0!important;border-bottom:1px solid #e1e8ef!important;
}
body:not(.app-fit) #messages .conversation-identity{display:flex!important;align-items:center!important;gap:13px!important;flex:1!important;min-width:0!important}
body:not(.app-fit) #messages .chat-avatar{
  width:52px!important;height:52px!important;flex:0 0 52px!important;border-radius:50%!important;
  display:grid!important;place-items:center!important;color:#fff!important;font-weight:900!important;
  background:linear-gradient(145deg,#278ff0,#0d6dd2)!important;
}
body:not(.app-fit) #messages #conversationTitle{font-size:calc(17px * var(--kt-readable-scale,1))!important;font-weight:900!important;color:#132d49!important}
body:not(.app-fit) #messages #conversationSubtitle{font-size:calc(11.5px * var(--kt-readable-scale,1))!important;color:#70869b!important;margin-top:3px!important}
body:not(.app-fit) #messages .conversation-head .message-filter{display:none!important}
body:not(.app-fit) #messages .conversation-head:after{
  content:"•••"!important;width:42px!important;height:42px!important;display:grid!important;place-items:center!important;
  border:1px solid #e0e7ef!important;border-radius:13px!important;background:#f8fafc!important;color:#36536e!important;
  font-size:calc(18px * var(--kt-readable-scale,1))!important;letter-spacing:2px!important;
}
body:not(.app-fit) #messages .message-list{
  min-height:0!important;overflow-y:auto!important;padding:26px 32px 30px!important;
  display:flex!important;flex-direction:column!important;gap:8px!important;
  background-color:#f7f3ee!important;
  background-image:radial-gradient(circle at 1px 1px,rgba(70,89,105,.05) 1px,transparent 0)!important;
  background-size:23px 23px!important;
}
body:not(.app-fit) #messages .message-row{width:100%!important;display:flex!important;margin:0!important}
body:not(.app-fit) #messages .message-row.theirs{justify-content:flex-start!important}
body:not(.app-fit) #messages .message-row.mine{justify-content:flex-end!important}
body:not(.app-fit) #messages .message-bubble{
  width:auto!important;max-width:min(64%,690px)!important;min-width:120px!important;
  padding:10px 13px 8px!important;border-radius:14px!important;
  box-shadow:0 2px 8px rgba(27,49,68,.08)!important;
}
body:not(.app-fit) #messages .message-row.theirs .message-bubble{background:#fff!important;border:1px solid #e6e9ed!important;border-bottom-left-radius:5px!important}
body:not(.app-fit) #messages .message-row.mine .message-bubble{background:#dff8d7!important;border:1px solid #d2efca!important;border-bottom-right-radius:5px!important}
body:not(.app-fit) #messages .bubble-team{font-size:calc(10.5px * var(--kt-readable-scale,1))!important;font-weight:850!important;color:#0877b9!important}
body:not(.app-fit) #messages .message-card-text{font-size:calc(13.5px * var(--kt-readable-scale,1))!important;line-height:1.48!important;color:#142c42!important}
body:not(.app-fit) #messages .message-meta{font-size:calc(10px * var(--kt-readable-scale,1))!important;color:#778b9b!important}

/* composer */
body:not(.app-fit) #messages .whatsapp-composer{
  min-height:82px!important;padding:11px 14px 14px!important;display:flex!important;align-items:center!important;
  gap:10px!important;background:#fff!important;border:0!important;border-top:1px solid #e1e8ef!important;
}
body:not(.app-fit) #messages .composer-input{
  flex:1!important;min-height:56px!important;padding:6px 8px!important;display:flex!important;align-items:center!important;
  border:1px solid #dde6ee!important;border-radius:18px!important;background:#f9fbfd!important;
  box-shadow:0 5px 18px rgba(24,52,78,.05)!important;
}
body:not(.app-fit) #messages .composer-input textarea{min-height:42px!important;max-height:110px!important;padding:11px 8px!important;font-size:calc(13.5px * var(--kt-readable-scale,1))!important}
body:not(.app-fit) #messages .chat-attach{width:42px!important;height:42px!important;border-radius:12px!important}
body:not(.app-fit) #messages .chat-send{
  width:48px!important;height:48px!important;flex:0 0 48px!important;border-radius:50%!important;
  background:#167ee6!important;color:#fff!important;box-shadow:0 8px 18px rgba(22,126,230,.28)!important;
}
}

/* absolute kill-switch for the reported black horizontal line */
*[style*="border-top: 3px solid rgb(0, 0, 0)"],
*[style*="border-top:3px solid #000"],
*[style*="border-bottom: 3px solid rgb(0, 0, 0)"],
*[style*="border-bottom:3px solid #000"]{border-top:0!important;border-bottom:0!important}


/* ==========================================================
   V103 — EXECUTIVE MESSAGE CENTER / GLOBAL BLACK-LINE REMOVAL
   ========================================================== */

/* Global: remove legacy dark separators from every module */
.team-sim-table,.team-final-summary,.hierarchy-table,.tablewrap table{
  border-color:#d8e2ec!important;
}
.team-sim-table th,.team-sim-table td,.team-final-summary>div,
.hierarchy-table th,.hierarchy-table td{
  border-color:#e1e8ef!important;
}
.view,.panel,.toolbar,.team-control-row,.focus-box,.pusula-focus-grid,
.pusula-cards,.hierarchy-layout{border-top-color:#e1e8ef!important;border-bottom-color:#e1e8ef!important}
body:not(.app-fit) section.view:before,
body:not(.app-fit) section.view:after{display:none!important}

/* Messages: a deliberately different, premium application surface */
@media (min-width:1001px){
body:not(.app-fit) #messages{
  width:calc(100vw - 44px)!important;max-width:1540px!important;margin:18px auto 28px!important;padding:0!important;
  background:transparent!important;
}
body:not(.app-fit) #messages .messages-shell{
  height:calc(100vh - 190px)!important;min-height:700px!important;padding:0!important;margin:0!important;
  border:1px solid #dfe7f0!important;border-radius:24px!important;background:#fff!important;overflow:hidden!important;
  box-shadow:0 24px 70px rgba(31,55,82,.13)!important;
}
body:not(.app-fit) #messages .messages-topbar{display:none!important}
body:not(.app-fit) #messages .messages-workspace{
  height:100%!important;display:grid!important;grid-template-columns:390px minmax(0,1fr)!important;gap:0!important;
}

/* left inbox */
body:not(.app-fit) #messages .web-chat-sidebar{
  display:flex!important;flex-direction:column!important;height:100%!important;background:#fff!important;
  border-right:1px solid #e4eaf1!important;overflow:hidden!important;
}
body:not(.app-fit) #messages .web-chat-sidebar-head{
  height:88px!important;min-height:88px!important;padding:16px 18px!important;display:flex!important;
  align-items:center!important;justify-content:space-between!important;background:#fff!important;border:0!important;
}
body:not(.app-fit) #messages .msg-brand{display:flex!important;align-items:center!important;gap:12px!important}
body:not(.app-fit) #messages .msg-brand-icon{
  width:44px!important;height:44px!important;display:grid!important;place-items:center!important;border-radius:14px!important;
  background:linear-gradient(145deg,#248cf2,#0869d3)!important;color:#fff!important;font-size:calc(20px * var(--kt-readable-scale,1))!important;
  box-shadow:0 8px 22px rgba(13,116,222,.24)!important;
}
body:not(.app-fit) #messages .msg-brand strong{display:block!important;font-size:calc(24px * var(--kt-readable-scale,1))!important;line-height:1.05!important;font-weight:900!important;color:#122c48!important}
body:not(.app-fit) #messages .msg-brand small{display:block!important;margin-top:5px!important;font-size:calc(10.5px * var(--kt-readable-scale,1))!important;color:#8495a6!important;font-weight:700!important}
body:not(.app-fit) #messages #webUnreadTotalBadge{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:30px!important;height:30px!important;
  padding:0 9px!important;border-radius:999px!important;background:#ff453a!important;color:#fff!important;font-size:calc(10px * var(--kt-readable-scale,1))!important;font-weight:900!important;
}
body:not(.app-fit) #messages .web-chat-search{
  height:48px!important;margin:0 16px 12px!important;padding:0 14px!important;border:1px solid #dfe7ef!important;
  border-radius:15px!important;background:#f7f9fc!important;box-shadow:none!important;
}
body:not(.app-fit) #messages .web-chat-search input{font-size:calc(13px * var(--kt-readable-scale,1))!important;background:transparent!important}
body:not(.app-fit) #messages #webBroadcastBtn{
  min-height:64px!important;margin:0 12px 8px!important;padding:9px 11px!important;border:1px solid #e2eaf3!important;
  border-radius:15px!important;background:#f7faff!important;
}
body:not(.app-fit) #messages #webBroadcastBtn .web-chat-avatar{background:#fff2d8!important;color:#a86400!important}
body:not(.app-fit) #messages .web-chat-team-list{flex:1!important;min-height:0!important;overflow-y:auto!important;padding:0 10px 14px!important}
body:not(.app-fit) #messages .web-chat-item{
  min-height:80px!important;padding:10px 10px!important;margin:2px 0!important;border:0!important;border-bottom:1px solid #edf1f5!important;
  border-radius:15px!important;background:#fff!important;transition:.16s ease!important;
}
body:not(.app-fit) #messages .web-chat-item:hover{background:#f7faff!important;transform:translateX(2px)!important}
body:not(.app-fit) #messages .web-chat-item.active{
  background:linear-gradient(90deg,#e2f0ff,#f4f9ff)!important;box-shadow:inset 4px 0 #1681ea!important;
}
body:not(.app-fit) #messages .web-chat-avatar{
  width:50px!important;height:50px!important;flex:0 0 50px!important;border-radius:50%!important;
  background:linear-gradient(145deg,#e9f4ff,#d8ecff)!important;color:#126fbf!important;font-weight:900!important;
}
body:not(.app-fit) #messages .web-chat-copy b{font-size:calc(12.5px * var(--kt-readable-scale,1))!important;font-weight:900!important;color:#15324e!important}
body:not(.app-fit) #messages .web-chat-copy small{font-size:calc(11.5px * var(--kt-readable-scale,1))!important;color:#75899c!important;margin-top:4px!important}
body:not(.app-fit) #messages .web-chat-unread{background:#1681ea!important;color:#fff!important;box-shadow:0 4px 10px rgba(22,129,234,.2)!important}

/* conversation */
body:not(.app-fit) #messages .conversation-panel{
  height:100%!important;display:grid!important;grid-template-rows:88px minmax(0,1fr) 86px!important;
  min-width:0!important;overflow:hidden!important;background:#f7f3ee!important;
}
body:not(.app-fit) #messages .conversation-head{
  height:88px!important;padding:12px 20px!important;display:flex!important;align-items:center!important;gap:14px!important;
  background:#fff!important;border:0!important;border-bottom:1px solid #e3e9f0!important;box-shadow:0 2px 8px rgba(30,55,80,.03)!important;
}
body:not(.app-fit) #messages .conversation-identity{display:flex!important;align-items:center!important;gap:13px!important;flex:1!important;min-width:0!important}
body:not(.app-fit) #messages .chat-avatar{
  width:54px!important;height:54px!important;flex:0 0 54px!important;border-radius:50%!important;
  display:grid!important;place-items:center!important;background:linear-gradient(145deg,#318ff0,#0c68cc)!important;color:#fff!important;font-weight:900!important;
  box-shadow:0 6px 16px rgba(22,113,209,.18)!important;
}
body:not(.app-fit) #messages #conversationTitle{font-size:calc(18px * var(--kt-readable-scale,1))!important;font-weight:900!important;color:#132d48!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
body:not(.app-fit) #messages #conversationSubtitle{display:block!important;margin-top:4px!important;font-size:calc(11px * var(--kt-readable-scale,1))!important;color:#74899c!important}
body:not(.app-fit) #messages .ceo-chat-actions{display:flex!important;gap:8px!important}
body:not(.app-fit) #messages .ceo-chat-actions button{
  width:42px!important;height:42px!important;border:1px solid #e1e8ef!important;border-radius:13px!important;background:#f8fafc!important;
  color:#294966!important;font-size:calc(16px * var(--kt-readable-scale,1))!important;font-weight:900!important;cursor:pointer!important;
}
body:not(.app-fit) #messages .message-filter{display:none!important}
body:not(.app-fit) #messages .conversation-head:after{display:none!important}

body:not(.app-fit) #messages .message-list{
  min-height:0!important;overflow-y:auto!important;padding:28px 34px!important;display:flex!important;flex-direction:column!important;gap:9px!important;
  background-color:#f7f3ee!important;
  background-image:
    radial-gradient(circle at 15% 20%,rgba(55,82,105,.035) 0 2px,transparent 2.5px),
    radial-gradient(circle at 75% 65%,rgba(55,82,105,.028) 0 2px,transparent 2.5px)!important;
  background-size:62px 62px,74px 74px!important;
}
body:not(.app-fit) #messages .message-row{width:100%!important;display:flex!important;margin:0!important}
body:not(.app-fit) #messages .message-row.theirs{justify-content:flex-start!important}
body:not(.app-fit) #messages .message-row.mine{justify-content:flex-end!important}
body:not(.app-fit) #messages .message-bubble{
  width:auto!important;max-width:min(58%,650px)!important;min-width:110px!important;padding:10px 13px 8px!important;
  border-radius:15px!important;box-shadow:0 2px 9px rgba(28,48,68,.08)!important;
}
body:not(.app-fit) #messages .message-row.theirs .message-bubble{
  background:#fff!important;border:1px solid #e5e9ed!important;border-bottom-left-radius:5px!important;
}
body:not(.app-fit) #messages .message-row.mine .message-bubble{
  background:#dff8d8!important;border:1px solid #d0efc8!important;border-bottom-right-radius:5px!important;
}
body:not(.app-fit) #messages .bubble-team{font-size:calc(10.5px * var(--kt-readable-scale,1))!important;font-weight:900!important;color:#0a79bb!important;margin-bottom:4px!important}
body:not(.app-fit) #messages .message-card-text{font-size:calc(13.5px * var(--kt-readable-scale,1))!important;line-height:1.5!important;color:#172d40!important}
body:not(.app-fit) #messages .message-meta{font-size:calc(9.8px * var(--kt-readable-scale,1))!important;color:#789!important;margin-top:5px!important}

/* premium composer */
body:not(.app-fit) #messages .whatsapp-composer{
  height:86px!important;padding:12px 16px!important;display:flex!important;align-items:center!important;gap:10px!important;
  background:#fff!important;border:0!important;border-top:1px solid #e2e8ef!important;
}
body:not(.app-fit) #messages .composer-input{
  flex:1!important;height:58px!important;min-height:58px!important;padding:7px 8px!important;display:flex!important;align-items:center!important;
  border:1px solid #dce5ed!important;border-radius:18px!important;background:#f9fbfd!important;
  box-shadow:0 5px 18px rgba(25,52,77,.05)!important;
}
body:not(.app-fit) #messages .composer-input textarea{
  flex:1!important;min-height:40px!important;max-height:44px!important;padding:10px 9px!important;border:0!important;background:transparent!important;
  font-size:calc(13.5px * var(--kt-readable-scale,1))!important;resize:none!important;outline:none!important;
}
body:not(.app-fit) #messages .chat-attach{
  width:42px!important;height:42px!important;border:0!important;border-radius:13px!important;background:#eef4fa!important;color:#31536f!important;font-size:calc(18px * var(--kt-readable-scale,1))!important;
}
body:not(.app-fit) #messages .chat-send{
  width:48px!important;height:48px!important;flex:0 0 48px!important;border:0!important;border-radius:50%!important;
  background:linear-gradient(145deg,#258df1,#0870db)!important;color:#fff!important;font-size:calc(20px * var(--kt-readable-scale,1))!important;
  box-shadow:0 9px 20px rgba(14,118,222,.28)!important;
}
body:not(.app-fit) #messages .composer-status{position:absolute!important;bottom:3px!important;left:18px!important;font-size:calc(9px * var(--kt-readable-scale,1))!important}
body:not(.app-fit) #messages .compact-team-label{display:none!important}
}


/* V104 — BLACK HORIZONTAL LINE ROOT FIX
   Legacy sticky table cells were painting a dark band across every module. */
body:not(.app-fit) table th,
body:not(.app-fit) table td,
body:not(.app-fit) .team-sim-table th,
body:not(.app-fit) .team-sim-table td,
body:not(.app-fit) .hierarchy-table th,
body:not(.app-fit) .hierarchy-table td,
body:not(.app-fit) .tablewrap th,
body:not(.app-fit) .tablewrap td{
  position:static!important;
  top:auto!important;
  bottom:auto!important;
}
body:not(.app-fit) thead,
body:not(.app-fit) tbody,
body:not(.app-fit) tr{
  position:static!important;
}
body:not(.app-fit) .team-sim-table,
body:not(.app-fit) .hierarchy-table,
body:not(.app-fit) .tablewrap table{
  position:relative!important;
  z-index:auto!important;
}
body:not(.app-fit) .tablewrap,
body:not(.app-fit) .team-table-wrap,
body:not(.app-fit) .sim-table-wrap{
  isolation:isolate!important;
}
/* Never allow old pseudo separators to span the viewport. */
body:not(.app-fit) .view::before,
body:not(.app-fit) .view::after,
body:not(.app-fit) .panel::before,
body:not(.app-fit) .panel::after,
body:not(.app-fit) .tablewrap::before,
body:not(.app-fit) .tablewrap::after{
  max-width:100%!important;
}


/* ==========================================================
   V105 — EXECUTIVE COMMUNICATION CENTER
   Deliberately restrained enterprise UI, not a stretched chat page.
   ========================================================== */
@media (min-width:1001px){
body:not(.app-fit) #messages{
  width:calc(100vw - 64px)!important;max-width:1500px!important;margin:22px auto 34px!important;padding:0!important;
}
body:not(.app-fit) #messages .messages-shell{
  height:calc(100vh - 205px)!important;min-height:690px!important;margin:0!important;padding:0!important;
  border:1px solid #dce5ee!important;border-radius:22px!important;background:#fff!important;overflow:hidden!important;
  box-shadow:0 18px 48px rgba(26,51,77,.11)!important;
}
body:not(.app-fit) #messages .messages-workspace{
  height:100%!important;display:grid!important;grid-template-columns:370px minmax(0,1fr)!important;gap:0!important;
}

/* Inbox */
body:not(.app-fit) #messages .web-chat-sidebar{height:100%!important;background:#fff!important;border-right:1px solid #e2e9f0!important}
body:not(.app-fit) #messages .web-chat-sidebar-head{
  min-height:86px!important;padding:18px 20px 13px!important;border:0!important;background:#fff!important;
}
body:not(.app-fit) #messages .msg-brand-icon{display:none!important}
body:not(.app-fit) #messages .msg-brand strong{font-size:calc(22px * var(--kt-readable-scale,1))!important;letter-spacing:-.3px!important;color:#102b47!important}
body:not(.app-fit) #messages .msg-brand small{font-size:calc(10.5px * var(--kt-readable-scale,1))!important;color:#8294a5!important;margin-top:5px!important}
body:not(.app-fit) #messages #webUnreadTotalBadge{
  min-width:30px!important;height:27px!important;padding:0 8px!important;background:#eb3b45!important;color:#fff!important;border-radius:999px!important;
  font-size:calc(10px * var(--kt-readable-scale,1))!important;font-weight:900!important;
}
body:not(.app-fit) #messages .web-chat-search{
  height:44px!important;margin:0 16px 13px!important;padding:0 13px!important;border:1px solid #dfe7ef!important;border-radius:12px!important;
  background:#f7f9fc!important;
}
body:not(.app-fit) #messages #webBroadcastBtn{
  min-height:62px!important;margin:0 10px 7px!important;padding:9px 12px!important;border:0!important;border-radius:13px!important;background:#f8fafc!important;
}
body:not(.app-fit) #messages #webBroadcastBtn.active{background:#edf5ff!important;box-shadow:inset 3px 0 #147bd1!important}
body:not(.app-fit) #messages .web-chat-team-list{padding:0 10px 14px!important}
body:not(.app-fit) #messages .web-chat-item{
  min-height:74px!important;padding:9px 10px!important;margin:1px 0!important;border:0!important;border-bottom:1px solid #eef2f5!important;
  border-radius:12px!important;background:#fff!important;
}
body:not(.app-fit) #messages .web-chat-item:hover{background:#f8fafc!important;transform:none!important}
body:not(.app-fit) #messages .web-chat-item.active{background:#eaf4ff!important;box-shadow:inset 3px 0 #147bd1!important}
body:not(.app-fit) #messages .web-chat-avatar{
  width:46px!important;height:46px!important;flex:0 0 46px!important;border-radius:50%!important;background:#e6f2fb!important;color:#1474b9!important;
}
body:not(.app-fit) #messages .web-chat-copy b{font-size:calc(12px * var(--kt-readable-scale,1))!important;color:#17334e!important}
body:not(.app-fit) #messages .web-chat-copy small{font-size:calc(11px * var(--kt-readable-scale,1))!important;color:#7b8ea0!important}
body:not(.app-fit) #messages .web-chat-unread{min-width:22px!important;height:22px!important;border-radius:999px!important;background:#147bd1!important;color:#fff!important}

/* Conversation header */
body:not(.app-fit) #messages .conversation-panel{
  height:100%!important;display:grid!important;grid-template-rows:82px minmax(0,1fr) 78px!important;overflow:hidden!important;background:#f6f3ee!important;
}
body:not(.app-fit) #messages .conversation-head{
  height:82px!important;padding:0 20px!important;display:flex!important;align-items:center!important;gap:13px!important;
  background:#fff!important;border:0!important;border-bottom:1px solid #e1e7ed!important;
}
body:not(.app-fit) #messages .chat-avatar{
  width:48px!important;height:48px!important;flex:0 0 48px!important;border-radius:50%!important;background:#147bd1!important;
  color:#fff!important;box-shadow:none!important;
}
body:not(.app-fit) #messages #conversationTitle{
  font-size:calc(15px * var(--kt-readable-scale,1))!important;line-height:1.25!important;font-weight:900!important;color:#132f4b!important;
}
body:not(.app-fit) #messages #conversationSubtitle{font-size:calc(10.5px * var(--kt-readable-scale,1))!important;color:#8091a1!important;margin-top:4px!important}
body:not(.app-fit) #messages .ceo-chat-actions{margin-left:auto!important;display:flex!important;gap:7px!important}
body:not(.app-fit) #messages .ceo-chat-actions button{
  width:38px!important;height:38px!important;border:1px solid #e0e7ee!important;border-radius:11px!important;background:#f8fafc!important;color:#3a566e!important;
}
body:not(.app-fit) #messages .message-filter{display:none!important}

/* Chat canvas */
body:not(.app-fit) #messages .message-list{
  min-height:0!important;overflow-y:auto!important;padding:24px 28px!important;gap:7px!important;
  background:#f6f3ee!important;
  background-image:
    radial-gradient(circle at 20px 20px,rgba(79,94,106,.032) 1.1px,transparent 1.2px),
    radial-gradient(circle at 55px 50px,rgba(79,94,106,.022) 1px,transparent 1.1px)!important;
  background-size:76px 76px!important;
}
body:not(.app-fit) #messages .message-bubble{
  max-width:min(55%,610px)!important;min-width:96px!important;padding:9px 12px 7px!important;border-radius:12px!important;
  box-shadow:0 1px 4px rgba(32,51,67,.08)!important;
}
body:not(.app-fit) #messages .message-row.theirs .message-bubble{background:#fff!important;border:1px solid #e5e8eb!important;border-bottom-left-radius:4px!important}
body:not(.app-fit) #messages .message-row.mine .message-bubble{background:#dcf8d4!important;border:1px solid #d0efc8!important;border-bottom-right-radius:4px!important}
body:not(.app-fit) #messages .bubble-team{font-size:calc(9.5px * var(--kt-readable-scale,1))!important;color:#1478b7!important;margin-bottom:3px!important}
body:not(.app-fit) #messages .message-card-text{font-size:calc(13px * var(--kt-readable-scale,1))!important;line-height:1.42!important;color:#172c3d!important}
body:not(.app-fit) #messages .message-meta{font-size:calc(9.5px * var(--kt-readable-scale,1))!important;color:#81909d!important;margin-top:4px!important}

/* Composer: clean enterprise bar */
body:not(.app-fit) #messages .whatsapp-composer{
  height:78px!important;padding:10px 14px!important;display:flex!important;align-items:center!important;gap:9px!important;background:#fff!important;
  border:0!important;border-top:1px solid #e1e7ed!important;
}
body:not(.app-fit) #messages .composer-input{
  height:54px!important;min-height:54px!important;flex:1!important;padding:5px 7px!important;border:1px solid #dce4eb!important;border-radius:16px!important;
  background:#f9fbfc!important;box-shadow:none!important;
}
body:not(.app-fit) #messages .composer-input textarea{min-height:40px!important;max-height:40px!important;padding:10px 8px!important;font-size:calc(13px * var(--kt-readable-scale,1))!important}
body:not(.app-fit) #messages .chat-attach{
  width:40px!important;height:40px!important;border:0!important;border-radius:11px!important;background:#eef3f7!important;color:#35546d!important;
}
body:not(.app-fit) #messages .chat-send{
  width:46px!important;height:46px!important;flex:0 0 46px!important;border:0!important;border-radius:50%!important;
  background:#147bd1!important;color:#fff!important;box-shadow:0 6px 14px rgba(20,123,209,.22)!important;
}

/* scrollbar polish */
body:not(.app-fit) #messages .web-chat-team-list::-webkit-scrollbar,
body:not(.app-fit) #messages .message-list::-webkit-scrollbar{width:7px!important}
body:not(.app-fit) #messages .web-chat-team-list::-webkit-scrollbar-thumb,
body:not(.app-fit) #messages .message-list::-webkit-scrollbar-thumb{background:#c8d1da!important;border-radius:99px!important}
}


/* V108 SAFE RECOVERY — based on stable V105, no structural rewrite */
@media (min-width:1001px){
#messages .conversation-panel{position:relative!important;overflow:hidden!important}
#messages .message-list{
  min-height:0!important;
  overflow-y:auto!important;
  padding-bottom:86px!important;
}
#messages .whatsapp-composer{
  position:absolute!important;
  left:0!important;right:0!important;bottom:0!important;
  z-index:50!important;
  box-sizing:border-box!important;
  height:72px!important;min-height:72px!important;
  padding:9px 12px!important;
  background:#f0f2f5!important;
  border-top:1px solid #d9e0e5!important;
  box-shadow:0 -2px 10px rgba(17,27,33,.05)!important;
}
#messages .composer-input{
  box-sizing:border-box!important;
  width:100%!important;height:52px!important;min-height:52px!important;
  display:flex!important;align-items:center!important;gap:8px!important;
  padding:5px 7px!important;border:0!important;border-radius:12px!important;background:#fff!important;
}
#messages .composer-input textarea{
  flex:1!important;height:40px!important;min-height:40px!important;max-height:40px!important;
  margin:0!important;padding:10px 8px!important;border:0!important;outline:0!important;resize:none!important;background:transparent!important;
}
#messages .chat-attach{width:40px!important;height:40px!important;flex:0 0 40px!important;border:0!important;background:transparent!important}
#messages .chat-send{width:42px!important;height:42px!important;flex:0 0 42px!important;border-radius:50%!important;background:#00a884!important;color:#fff!important}
}

/* V109 conversation actions */
.ceo-chat-actions{position:relative!important;display:flex!important;align-items:center!important;gap:6px!important}
.chat-more-wrap{position:relative!important}
.ceo-chat-actions>button,.chat-more-wrap>button{
 width:36px!important;height:36px!important;display:grid!important;place-items:center!important;
 border:1px solid #dbe3ea!important;border-radius:10px!important;background:#fff!important;color:#3b556b!important;
 font-size:calc(16px * var(--kt-readable-scale,1))!important;cursor:pointer!important;transition:.15s ease!important
}
.ceo-chat-actions>button:hover,.chat-more-wrap>button:hover{background:#edf5fb!important;border-color:#b9d3e7!important}
.chat-more-menu{
 position:absolute!important;right:0!important;top:43px!important;z-index:9999!important;width:190px!important;
 padding:6px!important;border:1px solid #dce4eb!important;border-radius:12px!important;background:#fff!important;
 box-shadow:0 12px 30px rgba(20,39,56,.18)!important
}
.chat-more-menu[hidden]{display:none!important}
.chat-more-menu button{
 width:100%!important;padding:10px 12px!important;border:0!important;border-radius:8px!important;background:#fff!important;
 text-align:left!important;font-weight:700!important;font-size:calc(12px * var(--kt-readable-scale,1))!important;cursor:pointer!important
}
.chat-more-menu button.danger{color:#c62828!important}
.chat-more-menu button.danger:hover{background:#fff1f1!important}


/* V111 — Reference-matched professional messaging UI. Desktop only. */
@media (min-width:1001px){
body:not(.app-fit) #messages{width:calc(100vw - 38px)!important;max-width:1640px!important;margin:18px auto 28px!important}
body:not(.app-fit) #messages .messages-topbar{display:none!important}
body:not(.app-fit) #messages .messages-shell{
 height:calc(100vh - 188px)!important;min-height:650px!important;border-radius:18px!important;
 border:1px solid #e4e9f0!important;box-shadow:0 10px 34px rgba(23,45,73,.10)!important;background:#fff!important
}
body:not(.app-fit) #messages .messages-workspace{grid-template-columns:560px minmax(0,1fr)!important}

/* Left inbox */
body:not(.app-fit) #messages .web-chat-sidebar{border-right:1px solid #e4e8ee!important}
body:not(.app-fit) #messages .web-chat-sidebar-head{
 min-height:76px!important;padding:13px 18px!important;display:grid!important;grid-template-columns:auto 1fr auto auto!important;
 align-items:center!important;gap:10px!important;border-bottom:0!important
}
body:not(.app-fit) #messages .msg-brand{display:contents!important}
body:not(.app-fit) #messages .msg-brand-icon{
 display:grid!important;width:46px!important;height:46px!important;place-items:center!important;border-radius:12px!important;
 background:#1167e8!important;color:#fff!important;font-size:calc(20px * var(--kt-readable-scale,1))!important;box-shadow:0 6px 14px rgba(17,103,232,.20)!important
}
body:not(.app-fit) #messages .msg-brand>div{min-width:0!important}
body:not(.app-fit) #messages .msg-brand strong{font-size:calc(22px * var(--kt-readable-scale,1))!important;font-weight:900!important;color:#0d2041!important}
body:not(.app-fit) #messages .msg-brand small{display:none!important}
body:not(.app-fit) #messages #webUnreadTotalBadge{
 min-width:27px!important;height:27px!important;padding:0 7px!important;background:#ff3b3f!important;color:#fff!important;
 border-radius:999px!important;font-size:calc(11px * var(--kt-readable-scale,1))!important;font-weight:900!important;white-space:nowrap!important
}
body:not(.app-fit) #messages .chat-filter-btn{
 display:grid!important;width:42px!important;height:42px!important;place-items:center!important;border:1px solid #e6ebf1!important;
 border-radius:50%!important;background:#f8fafc!important;color:#20385d!important;font-size:calc(19px * var(--kt-readable-scale,1))!important
}
body:not(.app-fit) #messages .web-chat-search{
 height:50px!important;margin:0 18px 9px!important;padding:0 15px!important;border:1px solid #dfe5ed!important;
 border-radius:14px!important;background:#fff!important;box-shadow:0 1px 3px rgba(20,40,65,.025)!important
}
body:not(.app-fit) #messages .web-chat-search input{font-size:calc(14px * var(--kt-readable-scale,1))!important}
body:not(.app-fit) #messages #webBroadcastBtn{display:none!important}
body:not(.app-fit) #messages .web-chat-team-list{padding:0 18px 14px!important}
body:not(.app-fit) #messages .web-chat-item{
 min-height:86px!important;padding:10px 8px!important;margin:0!important;border-radius:0!important;border-bottom:1px solid #e9edf2!important;
 display:grid!important;grid-template-columns:62px minmax(0,1fr) 60px!important;align-items:center!important;column-gap:10px!important
}
body:not(.app-fit) #messages .web-chat-item.active{
 background:linear-gradient(90deg,#dceeff 0%,#edf6ff 100%)!important;box-shadow:inset 5px 0 #1266e8!important;border-radius:8px!important
}
body:not(.app-fit) #messages .web-chat-item.has-unread:before{
 content:""!important;position:absolute!important;left:12px!important;width:13px!important;height:13px!important;border-radius:50%!important;background:#ff2028!important
}
body:not(.app-fit) #messages .web-chat-avatar{
 width:54px!important;height:54px!important;flex:0 0 54px!important;margin-left:8px!important;
 background:linear-gradient(145deg,#5ba7f5,#1766d6)!important;color:#fff!important;font-size:calc(15px * var(--kt-readable-scale,1))!important;font-weight:900!important
}
body:not(.app-fit) #messages .web-chat-item:nth-child(5n+2) .web-chat-avatar{background:linear-gradient(145deg,#24ad78,#087b55)!important}
body:not(.app-fit) #messages .web-chat-item:nth-child(5n+3) .web-chat-avatar{background:linear-gradient(145deg,#91a9c3,#57789d)!important}
body:not(.app-fit) #messages .web-chat-item:nth-child(5n+4) .web-chat-avatar{background:linear-gradient(145deg,#8e56ed,#6431c5)!important}
body:not(.app-fit) #messages .web-chat-item:nth-child(5n+5) .web-chat-avatar{background:linear-gradient(145deg,#d77418,#a74600)!important}
body:not(.app-fit) #messages .web-unread-dot{display:none!important}
body:not(.app-fit) #messages .web-presence-dot{display:none!important}
body:not(.app-fit) #messages .web-chat-copy b{font-size:calc(14px * var(--kt-readable-scale,1))!important;font-weight:850!important;color:#101e3b!important}
body:not(.app-fit) #messages .web-chat-copy small{font-size:calc(12.5px * var(--kt-readable-scale,1))!important;color:#64758d!important;margin-top:6px!important}
body:not(.app-fit) #messages .web-chat-side{height:56px!important;justify-content:space-between!important}
body:not(.app-fit) #messages .web-chat-meta{font-size:calc(11px * var(--kt-readable-scale,1))!important;color:#5f718b!important}
body:not(.app-fit) #messages .web-unread-badge{
 min-width:28px!important;height:28px!important;padding:0 7px!important;border-radius:999px!important;background:#1266e8!important;color:#fff!important;
 display:grid!important;place-items:center!important;font-size:calc(12px * var(--kt-readable-scale,1))!important;font-weight:900!important
}

/* Conversation header */
body:not(.app-fit) #messages .conversation-panel{grid-template-rows:96px minmax(0,1fr) 92px!important;background:#f7f3ef!important}
body:not(.app-fit) #messages .conversation-head{
 height:96px!important;padding:0 22px!important;gap:12px!important;background:#fff!important;border-bottom:1px solid #e5e9ee!important
}
body:not(.app-fit) #messages .conversation-identity{min-width:0!important}
body:not(.app-fit) #messages .chat-avatar{
 width:58px!important;height:58px!important;flex:0 0 58px!important;background:linear-gradient(145deg,#4c94ed,#1765d4)!important;font-size:calc(16px * var(--kt-readable-scale,1))!important
}
body:not(.app-fit) #messages #conversationTitle{font-size:calc(19px * var(--kt-readable-scale,1))!important;color:#101d3b!important}
body:not(.app-fit) #messages #conversationSubtitle{font-size:calc(12px * var(--kt-readable-scale,1))!important;color:#ff292f!important;font-weight:700!important}
body:not(.app-fit) #messages .ceo-chat-actions{gap:9px!important}
body:not(.app-fit) #messages .ceo-chat-actions button{
 width:48px!important;height:48px!important;border:1px solid #e7ebf1!important;border-radius:14px!important;background:#fafbfc!important;
 color:#172d55!important;font-size:calc(20px * var(--kt-readable-scale,1))!important
}
body:not(.app-fit) #messages .chat-more-menu{top:54px!important}
body:not(.app-fit) #messages .conversation-unread-line{display:none!important}

/* Canvas and bubbles */
body:not(.app-fit) #messages .message-list{
 padding:32px 46px 108px!important;gap:10px!important;background-color:#f7f3ef!important;
 background-image:
 radial-gradient(circle at 24px 24px,rgba(66,77,88,.035) 1.2px,transparent 1.3px),
 radial-gradient(circle at 58px 50px,rgba(66,77,88,.022) 1px,transparent 1.1px)!important;
 background-size:82px 82px!important
}
body:not(.app-fit) #messages .message-bubble{
 max-width:min(58%,620px)!important;min-width:130px!important;padding:13px 16px 9px!important;border-radius:16px!important;
 box-shadow:0 3px 12px rgba(30,45,60,.07)!important
}
body:not(.app-fit) #messages .message-row.theirs .message-bubble{border-bottom-left-radius:5px!important}
body:not(.app-fit) #messages .message-row.mine .message-bubble{
 background:linear-gradient(145deg,#d8ffc8,#caffbc)!important;border:1px solid #c4efb7!important;border-bottom-right-radius:5px!important
}
body:not(.app-fit) #messages .message-card-text{font-size:calc(14px * var(--kt-readable-scale,1))!important;line-height:1.48!important}
body:not(.app-fit) #messages .message-meta{font-size:calc(10.5px * var(--kt-readable-scale,1))!important}

/* Composer */
body:not(.app-fit) #messages .whatsapp-composer{
 height:92px!important;min-height:92px!important;padding:13px 18px!important;background:#fff!important;border-top:1px solid #e3e8ee!important
}
body:not(.app-fit) #messages .composer-input{
 height:64px!important;min-height:64px!important;padding:7px 9px!important;border:1px solid #dfe5ec!important;border-radius:18px!important;background:#fff!important;
 box-shadow:0 3px 12px rgba(25,46,68,.06)!important
}
body:not(.app-fit) #messages .composer-input textarea{
 height:48px!important;min-height:48px!important;max-height:48px!important;padding:13px 10px!important;font-size:calc(14px * var(--kt-readable-scale,1))!important
}
body:not(.app-fit) #messages .chat-attach,
body:not(.app-fit) #messages .composer-emoji,
body:not(.app-fit) #messages .composer-camera{
 width:44px!important;height:44px!important;flex:0 0 44px!important;border:0!important;border-radius:50%!important;background:transparent!important;
 color:#22395f!important;font-size:calc(21px * var(--kt-readable-scale,1))!important
}
body:not(.app-fit) #messages .chat-send{
 width:54px!important;height:54px!important;flex:0 0 54px!important;background:#1266e8!important;font-size:calc(22px * var(--kt-readable-scale,1))!important;
 box-shadow:0 7px 16px rgba(18,102,232,.25)!important
}
}

/* V112 bottom composer alignment + working emoji picker */
@media (min-width:1001px){
 body:not(.app-fit) #messages .whatsapp-composer{
   box-sizing:border-box!important;display:flex!important;align-items:center!important;gap:10px!important;
   padding:12px 16px!important;overflow:visible!important
 }
 body:not(.app-fit) #messages .composer-input{
   flex:1 1 auto!important;min-width:0!important;box-sizing:border-box!important;display:flex!important;align-items:center!important;
   gap:2px!important;padding:7px 8px!important;overflow:visible!important
 }
 body:not(.app-fit) #messages .composer-input textarea{
   flex:1 1 auto!important;min-width:0!important;resize:none!important;overflow-y:auto!important
 }
 body:not(.app-fit) #messages .composer-emoji,
 body:not(.app-fit) #messages .composer-camera{
   display:grid!important;place-items:center!important;line-height:1!important;font-family:Arial,"Segoe UI Emoji",sans-serif!important;
   cursor:pointer!important;transition:background .15s ease,transform .15s ease!important
 }
 body:not(.app-fit) #messages .composer-emoji:hover,
 body:not(.app-fit) #messages .composer-camera:hover{background:#eef4fb!important;transform:translateY(-1px)!important}
 body:not(.app-fit) #messages .chat-send{display:grid!important;place-items:center!important;margin:0!important}
}
.composer-emoji-picker{
 position:fixed;z-index:30000;width:292px;padding:10px;display:grid;grid-template-columns:repeat(6,1fr);gap:4px;
 background:#fff;border:1px solid #dfe5ec;border-radius:16px;box-shadow:0 16px 45px rgba(20,40,65,.22)
}
.composer-emoji-picker button{
 width:42px;height:42px;border:0;border-radius:10px;background:transparent;font-size:calc(22px * var(--kt-readable-scale,1));cursor:pointer
}
.composer-emoji-picker button:hover{background:#edf4fb}


/* V113 definitive desktop composer structure */
@media (min-width:1001px){
 body:not(.app-fit) #messages .whatsapp-composer{
   position:absolute!important;left:0!important;right:0!important;bottom:0!important;
   height:82px!important;min-height:82px!important;padding:11px 16px!important;
   display:block!important;box-sizing:border-box!important;overflow:visible!important;
   background:#fff!important;border-top:1px solid #e3e8ee!important;
 }
 body:not(.app-fit) #messages .composer-row{
   width:100%!important;height:60px!important;display:flex!important;align-items:center!important;
   gap:10px!important;min-width:0!important;box-sizing:border-box!important;
 }
 body:not(.app-fit) #messages .composer-row[style*="display: none"],
 body:not(.app-fit) #messages .composer-row.hidden{display:none!important}
 body:not(.app-fit) #messages .composer-row .chat-attach{
   width:48px!important;height:48px!important;flex:0 0 48px!important;margin:0!important;padding:0!important;
   display:grid!important;place-items:center!important;border:0!important;border-radius:50%!important;
   background:#fff!important;color:#243b60!important;font-size:calc(24px * var(--kt-readable-scale,1))!important;cursor:pointer!important;
 }
 body:not(.app-fit) #messages .composer-row .composer-input{
   flex:1 1 auto!important;width:auto!important;min-width:0!important;height:56px!important;min-height:56px!important;
   display:flex!important;align-items:center!important;gap:2px!important;padding:4px 7px 4px 14px!important;
   border:1px solid #dfe5ec!important;border-radius:18px!important;background:#fff!important;
   box-shadow:0 3px 12px rgba(25,46,68,.06)!important;box-sizing:border-box!important;overflow:hidden!important;
 }
 body:not(.app-fit) #messages .composer-row .composer-input textarea{
   flex:1 1 auto!important;width:0!important;min-width:0!important;height:46px!important;min-height:46px!important;max-height:46px!important;
   margin:0!important;padding:12px 4px!important;border:0!important;outline:0!important;resize:none!important;
   overflow:hidden!important;background:transparent!important;font-size:calc(14px * var(--kt-readable-scale,1))!important;line-height:calc(22px * var(--kt-readable-scale,1))!important;box-sizing:border-box!important;
 }
 body:not(.app-fit) #messages .composer-row .composer-emoji,
 body:not(.app-fit) #messages .composer-row .composer-camera{
   width:42px!important;height:42px!important;flex:0 0 42px!important;margin:0!important;padding:0!important;
   display:grid!important;place-items:center!important;border:0!important;border-radius:50%!important;
   background:transparent!important;color:#243b60!important;font-size:calc(22px * var(--kt-readable-scale,1))!important;line-height:1!important;cursor:pointer!important;
 }
 body:not(.app-fit) #messages .composer-row .composer-emoji:hover,
 body:not(.app-fit) #messages .composer-row .composer-camera:hover,
 body:not(.app-fit) #messages .composer-row .chat-attach:hover{background:#eef4fb!important}
 body:not(.app-fit) #messages .composer-row .chat-send{
   width:54px!important;height:54px!important;flex:0 0 54px!important;margin:0!important;padding:0!important;
   display:grid!important;place-items:center!important;border:0!important;border-radius:50%!important;
   background:#1266e8!important;color:#fff!important;font-size:calc(23px * var(--kt-readable-scale,1))!important;line-height:1!important;
   box-shadow:0 7px 16px rgba(18,102,232,.25)!important;cursor:pointer!important;
 }
 body:not(.app-fit) #messages .composer-status{
   position:absolute!important;left:76px!important;bottom:2px!important;margin:0!important;font-size:calc(10px * var(--kt-readable-scale,1))!important;pointer-events:none!important;
 }
}


/* V114 — full-width composer hotfix based on deployed screenshot */
@media (min-width:1001px){
 body:not(.app-fit) #messages .conversation-panel{
   position:relative!important;
   grid-template-rows:96px minmax(0,1fr) 78px!important;
   overflow:hidden!important;
 }
 body:not(.app-fit) #messages .message-list{
   padding-bottom:28px!important;
   min-height:0!important;
 }
 body:not(.app-fit) #messages .whatsapp-composer{
   position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;
   width:100%!important;max-width:none!important;height:78px!important;min-height:78px!important;
   margin:0!important;padding:10px 16px!important;box-sizing:border-box!important;
   display:flex!important;align-items:center!important;background:#fff!important;
   border-top:1px solid #e0e6ec!important;overflow:visible!important;z-index:20!important;
 }
 body:not(.app-fit) #messages .whatsapp-composer>.composer-row{
   flex:1 1 100%!important;width:100%!important;max-width:none!important;min-width:0!important;
   height:58px!important;margin:0!important;padding:0!important;
   display:flex!important;align-items:center!important;gap:10px!important;box-sizing:border-box!important;
 }
 body:not(.app-fit) #messages .composer-row>.chat-attach{
   flex:0 0 46px!important;width:46px!important;height:46px!important;
 }
 body:not(.app-fit) #messages .composer-row>.composer-input{
   flex:1 1 0!important;width:auto!important;max-width:none!important;min-width:0!important;
   height:56px!important;margin:0!important;
 }
 body:not(.app-fit) #messages .composer-row>.composer-input textarea{
   flex:1 1 0!important;width:100%!important;min-width:0!important;max-width:none!important;
   scrollbar-width:none!important;
 }
 body:not(.app-fit) #messages .composer-row>.composer-input textarea::-webkit-scrollbar{display:none!important}
 body:not(.app-fit) #messages .composer-row>.chat-send{
   flex:0 0 54px!important;width:54px!important;height:54px!important;
 }
 body:not(.app-fit) #messages .composer-status{display:none!important}
}


/* V115 — ROOT CAUSE FIX: generic admin-only/team-only display rules were shrinking composer-row */
@media (min-width:1001px){
 body.is-admin:not(.app-fit) #messages .whatsapp-composer > .composer-row.admin-only{
   display:flex!important;
   position:relative!important;
   float:none!important;
   clear:both!important;
   flex:0 0 100%!important;
   width:100%!important;
   min-width:100%!important;
   max-width:100%!important;
   box-sizing:border-box!important;
 }
 body.is-admin:not(.app-fit) #messages .whatsapp-composer > .composer-row.team-only{display:none!important}
 body.is-team-user:not(.app-fit) #messages .whatsapp-composer > .composer-row.team-only,
 body.is-team:not(.app-fit) #messages .whatsapp-composer > .composer-row.team-only{
   display:flex!important;
   position:relative!important;
   float:none!important;
   clear:both!important;
   flex:0 0 100%!important;
   width:100%!important;
   min-width:100%!important;
   max-width:100%!important;
   box-sizing:border-box!important;
 }
 body.is-team-user:not(.app-fit) #messages .whatsapp-composer > .composer-row.admin-only,
 body.is-team:not(.app-fit) #messages .whatsapp-composer > .composer-row.admin-only{display:none!important}

 body:not(.app-fit) #messages .whatsapp-composer{
   display:block!important;
   width:100%!important;
   min-width:0!important;
   max-width:none!important;
 }
 body:not(.app-fit) #messages .whatsapp-composer > .composer-row > .composer-input{
   display:flex!important;
   position:relative!important;
   float:none!important;
   flex:1 1 auto!important;
   width:1%!important;
   min-width:0!important;
   max-width:none!important;
 }
 body:not(.app-fit) #messages .whatsapp-composer > .composer-row > .composer-input > textarea{
   display:block!important;
   flex:1 1 auto!important;
   width:1%!important;
   min-width:0!important;
   max-width:none!important;
   overflow:hidden!important;
 }
 body:not(.app-fit) #messages .whatsapp-composer > .composer-row > .chat-attach{order:1!important}
 body:not(.app-fit) #messages .whatsapp-composer > .composer-row > .composer-input{order:2!important}
 body:not(.app-fit) #messages .whatsapp-composer > .composer-row > .chat-send{order:3!important}
}


/* V116 — DESKTOP COMPOSER STRUCTURAL FIX
   The screenshot proves the active composer row itself remains intrinsic-width.
   Force the footer and its direct active row to span the entire conversation column,
   independent of legacy flex/admin-only rules. */
@media (min-width:1001px){
 body:not(.app-fit) #messages .conversation-panel{
   display:grid!important;
   grid-template-columns:minmax(0,1fr)!important;
   grid-template-rows:auto minmax(0,1fr) 72px!important;
   min-width:0!important;
 }
 body:not(.app-fit) #messages .whatsapp-composer{
   grid-column:1 / -1!important;
   align-self:stretch!important;
   justify-self:stretch!important;
   position:relative!important;
   inset:auto!important;
   box-sizing:border-box!important;
   width:auto!important;
   min-width:0!important;
   max-width:none!important;
   height:72px!important;
   padding:8px 14px!important;
   margin:0!important;
   background:#fff!important;
   border-top:1px solid #dfe7ee!important;
 }
 body:not(.app-fit) #messages .whatsapp-composer > .composer-row:not([hidden]){
   box-sizing:border-box!important;
   position:absolute!important;
   left:14px!important;
   right:14px!important;
   top:8px!important;
   bottom:8px!important;
   width:auto!important;
   min-width:0!important;
   max-width:none!important;
   margin:0!important;
   padding:0!important;
   display:grid!important;
   grid-template-columns:48px minmax(0,1fr) 56px!important;
   align-items:center!important;
   column-gap:10px!important;
 }
 body:not(.app-fit) #messages .whatsapp-composer > .composer-row:not([hidden]) > .chat-attach{
   grid-column:1!important;width:48px!important;height:48px!important;margin:0!important;
 }
 body:not(.app-fit) #messages .whatsapp-composer > .composer-row:not([hidden]) > .composer-input{
   grid-column:2!important;
   width:100%!important;min-width:0!important;max-width:none!important;height:52px!important;
   margin:0!important;box-sizing:border-box!important;
 }
 body:not(.app-fit) #messages .whatsapp-composer > .composer-row:not([hidden]) > .composer-input textarea{
   width:100%!important;min-width:0!important;max-width:none!important;height:100%!important;
   box-sizing:border-box!important;resize:none!important;overflow:hidden!important;
 }
 body:not(.app-fit) #messages .whatsapp-composer > .composer-row:not([hidden]) > .chat-send{
   grid-column:3!important;width:54px!important;height:54px!important;margin:0!important;
 }
 /* Kill native number/spinner-like artifacts accidentally inherited around composer controls */
 body:not(.app-fit) #messages .composer-input input::-webkit-inner-spin-button,
 body:not(.app-fit) #messages .composer-input input::-webkit-outer-spin-button{
   -webkit-appearance:none!important;margin:0!important;
 }
}

/* V117 definitive composer: dedicated IDs, no legacy width inheritance */
@media (min-width:1001px){
html body.is-admin:not(.app-fit) #messages .whatsapp-panel .whatsapp-composer{position:relative!important;display:block!important;width:100%!important;max-width:none!important;min-width:0!important;height:72px!important;padding:8px 14px!important;box-sizing:border-box!important}
html body.is-admin:not(.app-fit) #messages #adminComposerRow{display:grid!important;position:absolute!important;inset:8px 14px!important;width:auto!important;min-width:0!important;max-width:none!important;height:auto!important;grid-template-columns:46px minmax(0,1fr) 54px!important;gap:10px!important;align-items:center!important;box-sizing:border-box!important}
html body.is-admin:not(.app-fit) #messages #teamComposerRow{display:none!important}
html body.is-admin:not(.app-fit) #messages #adminComposerRow .chat-attach{grid-column:1!important;width:46px!important;height:46px!important;margin:0!important}
html body.is-admin:not(.app-fit) #messages #adminComposerRow .composer-input{grid-column:2!important;display:flex!important;width:100%!important;min-width:0!important;max-width:none!important;height:52px!important;margin:0!important;box-sizing:border-box!important}
html body.is-admin:not(.app-fit) #messages #adminComposerRow .composer-input textarea{display:block!important;flex:1 1 auto!important;width:100%!important;min-width:0!important;max-width:none!important;height:50px!important;margin:0!important;padding:0 94px 0 16px!important;box-sizing:border-box!important;resize:none!important;overflow:hidden!important}
html body.is-admin:not(.app-fit) #messages #adminComposerRow .chat-send{grid-column:3!important;width:54px!important;height:54px!important;margin:0!important}
html body.is-admin:not(.app-fit) #messages #adminComposerRow .composer-emoji,html body.is-admin:not(.app-fit) #messages #adminComposerRow .composer-camera{position:absolute!important;top:50%!important;transform:translateY(-50%)!important;width:36px!important;height:36px!important;border:0!important;border-radius:50%!important;background:transparent!important;display:grid!important;place-items:center!important;color:#38516b!important;padding:7px!important;box-sizing:border-box!important}
html body.is-admin:not(.app-fit) #messages #adminComposerRow .composer-emoji{right:48px!important}html body.is-admin:not(.app-fit) #messages #adminComposerRow .composer-camera{right:8px!important}
html body.is-admin:not(.app-fit) #messages #adminComposerRow .composer-emoji:hover,html body.is-admin:not(.app-fit) #messages #adminComposerRow .composer-camera:hover{background:#eef4f8!important;color:#0879c9!important}
html body.is-admin:not(.app-fit) #messages #adminComposerRow .composer-emoji svg,html body.is-admin:not(.app-fit) #messages #adminComposerRow .composer-camera svg{width:22px!important;height:22px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
html body.is-admin:not(.app-fit) #messages #adminComposerRow .composer-emoji svg .fill-dot{fill:currentColor!important;stroke:none!important}
}


/* V118 — FLAT COMPOSER ARCHITECTURE
   No child row width calculation. The active row becomes display:contents,
   so attachment / input / send are direct grid items of the full-width footer. */
@media (min-width:1001px){
  html body:not(.app-fit) #messages .conversation-panel{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:96px minmax(0,1fr) 76px!important;
    min-width:0!important;
    overflow:hidden!important;
  }

  html body:not(.app-fit) #messages .whatsapp-composer{
    position:relative!important;
    inset:auto!important;
    grid-row:3!important;
    grid-column:1!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:76px!important;
    margin:0!important;
    padding:10px 16px!important;
    box-sizing:border-box!important;
    display:grid!important;
    grid-template-columns:46px minmax(0,1fr) 54px!important;
    column-gap:10px!important;
    align-items:center!important;
    background:#f7f9fb!important;
    border-top:1px solid #dde5ec!important;
    overflow:visible!important;
    z-index:50!important;
  }

  html body.is-admin:not(.app-fit) #messages #adminComposerRow{
    display:contents!important;
  }
  html body.is-admin:not(.app-fit) #messages #teamComposerRow{
    display:none!important;
  }
  html body.is-team-user:not(.app-fit) #messages #teamComposerRow,
  html body.is-team:not(.app-fit) #messages #teamComposerRow{
    display:contents!important;
  }
  html body.is-team-user:not(.app-fit) #messages #adminComposerRow,
  html body.is-team:not(.app-fit) #messages #adminComposerRow{
    display:none!important;
  }

  html body:not(.app-fit) #messages .whatsapp-composer .chat-attach{
    grid-column:1!important;
    width:46px!important;height:46px!important;min-width:46px!important;
    margin:0!important;padding:11px!important;box-sizing:border-box!important;
    display:grid!important;place-items:center!important;
    border:0!important;border-radius:50%!important;background:transparent!important;
    color:#53677a!important;transform:none!important;box-shadow:none!important;
  }
  html body:not(.app-fit) #messages .whatsapp-composer .chat-attach:hover{background:#e8eef4!important;color:#0879c9!important}

  html body:not(.app-fit) #messages .whatsapp-composer .composer-input{
    grid-column:2!important;
    position:relative!important;
    display:flex!important;
    align-items:center!important;
    width:100%!important;min-width:0!important;max-width:none!important;height:54px!important;
    margin:0!important;padding:0!important;box-sizing:border-box!important;
    border:1px solid #d7e0e8!important;border-radius:27px!important;background:#fff!important;
    overflow:visible!important;box-shadow:0 2px 8px rgba(20,45,70,.05)!important;
  }
  html body:not(.app-fit) #messages .whatsapp-composer .composer-input textarea{
    display:block!important;
    flex:1 1 auto!important;
    width:100%!important;min-width:0!important;max-width:none!important;
    height:52px!important;min-height:52px!important;max-height:52px!important;
    margin:0!important;padding:15px 104px 13px 18px!important;box-sizing:border-box!important;
    border:0!important;border-radius:27px!important;background:transparent!important;
    outline:0!important;resize:none!important;overflow:hidden!important;
    font-size:calc(14px * var(--kt-readable-scale,1))!important;line-height:calc(22px * var(--kt-readable-scale,1))!important;color:#1d2b3a!important;
    appearance:none!important;-webkit-appearance:none!important;
  }

  html body:not(.app-fit) #messages .whatsapp-composer .composer-emoji,
  html body:not(.app-fit) #messages .whatsapp-composer .composer-camera{
    position:absolute!important;top:50%!important;transform:translateY(-50%)!important;
    width:38px!important;height:38px!important;min-width:38px!important;
    margin:0!important;padding:8px!important;box-sizing:border-box!important;
    border:0!important;border-radius:50%!important;background:transparent!important;
    color:#53677a!important;display:grid!important;place-items:center!important;z-index:3!important;
  }
  html body:not(.app-fit) #messages .whatsapp-composer .composer-emoji{right:48px!important}
  html body:not(.app-fit) #messages .whatsapp-composer .composer-camera{right:8px!important}
  html body:not(.app-fit) #messages .whatsapp-composer .composer-emoji:hover,
  html body:not(.app-fit) #messages .whatsapp-composer .composer-camera:hover{background:#eaf2f8!important;color:#0879c9!important;transform:translateY(-50%)!important}

  html body:not(.app-fit) #messages .whatsapp-composer svg{
    width:22px!important;height:22px!important;display:block!important;
    fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;
    stroke-linecap:round!important;stroke-linejoin:round!important;
  }
  html body:not(.app-fit) #messages .whatsapp-composer .composer-emoji .fill-dot{
    fill:currentColor!important;stroke:none!important;
  }

  html body:not(.app-fit) #messages .whatsapp-composer .chat-send{
    grid-column:3!important;
    width:54px!important;height:54px!important;min-width:54px!important;
    margin:0!important;padding:14px!important;box-sizing:border-box!important;
    display:grid!important;place-items:center!important;
    border:0!important;border-radius:50%!important;
    background:#0b7bea!important;color:#fff!important;
    transform:none!important;box-shadow:0 6px 16px rgba(11,123,234,.24)!important;
  }
  html body:not(.app-fit) #messages .whatsapp-composer .chat-send:hover{background:#086bd0!important}
  html body:not(.app-fit) #messages .whatsapp-composer .composer-status{display:none!important}
}


/* V119 — Full width desktop composer */
@media (min-width:1001px){
 #messages .whatsapp-composer{
   position:relative!important; inset:auto!important;
   width:100%!important; min-width:0!important; max-width:none!important;
   height:76px!important; margin:0!important; padding:10px 14px!important;
   box-sizing:border-box!important;
   display:grid!important;
   grid-template-columns:44px minmax(0,1fr) 54px!important;
   gap:10px!important; align-items:center!important;
   background:#f6f8fa!important; border-top:1px solid #dce4eb!important;
 }
 #messages .whatsapp-composer>.composer-row:not([style*="display: none"]):not([style*="display:none"]){
   display:contents!important;
 }
 #messages .whatsapp-composer>.composer-row[style*="display: none"],
 #messages .whatsapp-composer>.composer-row[style*="display:none"]{display:none!important}

 #messages .whatsapp-composer .chat-attach{
   grid-column:1!important;width:44px!important;height:44px!important;min-width:44px!important;
   margin:0!important;padding:10px!important;border:0!important;border-radius:50%!important;
   background:transparent!important;color:#52677a!important;display:grid!important;place-items:center!important;
   box-shadow:none!important;transform:none!important;
 }
 #messages .whatsapp-composer .composer-input{
   grid-column:2!important;position:relative!important;
   display:flex!important;align-items:center!important;
   width:100%!important;min-width:0!important;max-width:none!important;height:54px!important;
   margin:0!important;padding:0!important;box-sizing:border-box!important;
   background:#fff!important;border:1px solid #d3dee7!important;border-radius:27px!important;
   box-shadow:0 2px 8px rgba(31,55,78,.05)!important;overflow:visible!important;
 }
 #messages .whatsapp-composer .composer-input textarea{
   flex:1 1 auto!important;width:100%!important;min-width:0!important;max-width:none!important;
   height:52px!important;min-height:52px!important;max-height:52px!important;
   margin:0!important;padding:15px 104px 13px 18px!important;box-sizing:border-box!important;
   border:0!important;outline:0!important;background:transparent!important;border-radius:27px!important;
   resize:none!important;overflow:hidden!important;appearance:none!important;-webkit-appearance:none!important;
   font-size:calc(15px * var(--kt-readable-scale,1))!important;line-height:calc(22px * var(--kt-readable-scale,1))!important;color:#223548!important;
 }
 #messages .whatsapp-composer .composer-input textarea::-webkit-scrollbar{display:none!important}
 #messages .whatsapp-composer .composer-emoji,
 #messages .whatsapp-composer .composer-camera{
   position:absolute!important;top:50%!important;width:38px!important;height:38px!important;min-width:38px!important;
   margin:0!important;padding:8px!important;box-sizing:border-box!important;border:0!important;border-radius:50%!important;
   background:transparent!important;color:#52677a!important;display:grid!important;place-items:center!important;
   z-index:5!important;transform:translateY(-50%)!important;
 }
 #messages .whatsapp-composer .composer-emoji{right:48px!important}
 #messages .whatsapp-composer .composer-camera{right:8px!important}
 #messages .whatsapp-composer .composer-emoji:hover,
 #messages .whatsapp-composer .composer-camera:hover{
   background:#eaf2f8!important;color:#0878c9!important;transform:translateY(-50%)!important;
 }
 #messages .whatsapp-composer .chat-send{
   grid-column:3!important;width:54px!important;height:54px!important;min-width:54px!important;
   margin:0!important;padding:14px!important;box-sizing:border-box!important;border:0!important;border-radius:50%!important;
   background:#087bd3!important;color:#fff!important;display:grid!important;place-items:center!important;
   box-shadow:0 5px 14px rgba(8,123,211,.22)!important;transform:none!important;
 }
 #messages .whatsapp-composer svg{
   display:block!important;width:22px!important;height:22px!important;
   fill:none!important;stroke:currentColor!important;stroke-width:1.9!important;
   stroke-linecap:round!important;stroke-linejoin:round!important;
 }
 #messages .whatsapp-composer .composer-emoji .fill-dot{fill:currentColor!important;stroke:none!important}
 #messages .whatsapp-composer .composer-status{display:none!important}
}

/* professional.css */
/* V120 Professional theme. Scoped overrides preserve functional and role selectors. */
#ktApp{--pro-navy:#12253f;--pro-accent:#0d9488;--pro-bg:#f4f7fb;--pro-line:#e5ebf2;--pro-text:#172b43;--pro-muted:#61738a;background:var(--pro-bg)!important;color:var(--pro-text)!important;font-family:Inter,'Segoe UI',system-ui,sans-serif;font-size:calc(14px * var(--kt-readable-scale,1));line-height:1.5}
#ktApp *,#ktApp *::before,#ktApp *::after{box-sizing:border-box}
#ktApp h1,#ktApp h2,#ktApp h3{letter-spacing:-.35px;color:var(--pro-text);font-weight:650}
#ktApp h2{font-size:calc(21px * var(--kt-readable-scale,1))}#ktApp h3{font-size:calc(16px * var(--kt-readable-scale,1))}#ktApp .muted{color:var(--pro-muted)}
#ktApp button{font-family:inherit;cursor:pointer}#ktApp button:focus-visible,#ktApp input:focus-visible,#ktApp select:focus-visible,#ktApp textarea:focus-visible{outline:3px solid #14b8a6;outline-offset:3px}
#ktApp button:disabled{cursor:default;opacity:.55}
#ktApp>header{background:#fff!important;box-shadow:none!important;border-bottom:1px solid var(--pro-line)!important;height:auto!important;min-height:80px!important;padding:18px 30px!important;position:relative!important}
#ktApp>header>div:first-child{padding-left:0!important}#ktApp>header>div:first-child::before{display:none!important}
#ktApp>header h1{font-size:calc(20px * var(--kt-readable-scale,1))!important;color:var(--pro-text)!important;font-weight:650!important}#ktApp>header p{font-size:calc(12px * var(--kt-readable-scale,1))!important;color:var(--pro-muted)!important}
#ktApp>header #date{background:var(--pro-bg)!important;border:1px solid var(--pro-line)!important;padding:9px 13px!important;border-radius:8px!important;font-size:calc(12px * var(--kt-readable-scale,1))!important;color:var(--pro-muted)!important}
#ktApp>.cloudbar{background:#fff!important;border-bottom:1px solid var(--pro-line)!important;box-shadow:none!important;padding:10px 30px!important;display:flex;flex-wrap:wrap;align-items:center;gap:10px;font-size:calc(12px * var(--kt-readable-scale,1))!important;min-height:48px!important}
#ktApp .cloudbar button{background:#f0f5f9!important;border:1px solid var(--pro-line)!important;color:#37536c!important;box-shadow:none!important;border-radius:6px!important;padding:6px 10px!important;font-size:calc(11px * var(--kt-readable-scale,1))!important}
#ktApp .cloudbar .cloud-status{color:var(--pro-muted)}
#ktApp>nav{background:var(--pro-navy)!important;border:0!important;box-shadow:none!important;padding:24px 14px!important;gap:6px!important;align-items:stretch!important;overflow:auto!important;scrollbar-width:thin}
#ktApp>nav button[data-view],#ktApp>nav #adminLoginBtn{position:relative!important;display:flex;align-items:center!important;justify-content:flex-start!important;gap:12px!important;background:transparent!important;color:#bfd0e2!important;border:0!important;border-radius:8px!important;box-shadow:none!important;font-size:calc(12px * var(--kt-readable-scale,1))!important;font-weight:500!important;height:auto!important;min-height:46px!important;min-width:0!important;padding:11px 12px!important;text-align:left!important;white-space:normal!important;margin:0!important;flex-shrink:0}
#ktApp>nav button[data-view]:hover{background:#213953!important;transform:none!important}#ktApp>nav button[data-view].active{background:#25405d!important;color:#fff!important;box-shadow:inset 3px 0 var(--pro-accent)!important}
#ktApp>nav button::before,#ktApp>nav button::after{display:none!important;content:none!important}
#ktApp>nav .nav-icon{background:none!important;border:0!important;box-shadow:none!important;width:20px!important;height:20px!important;padding:0!important;color:inherit!important;border-radius:0!important;flex-shrink:0}
#ktApp>nav .nav-icon svg{width:20px!important;height:20px!important;stroke:currentColor!important}#ktApp>nav .nav-label{font-size:calc(12px * var(--kt-readable-scale,1))!important}
#ktApp .pro-brand{display:flex;align-items:center;gap:10px;color:#fff;font-size:calc(13px * var(--kt-readable-scale,1));font-weight:650;padding:2px 6px 24px;white-space:nowrap}
#ktApp .pro-brand small{display:block;color:#98aac2;font-size:calc(10px * var(--kt-readable-scale,1));font-weight:400;margin-top:3px}
#ktApp .pro-logo{display:grid;place-items:center;background:var(--pro-accent);width:36px;height:38px;border-radius:10px;font-size:calc(24px * var(--kt-readable-scale,1));color:#fff}
#ktApp .pro-nav-label{font-size:calc(10px * var(--kt-readable-scale,1));letter-spacing:1.4px;color:#91a4be;padding:10px 12px 14px}
#ktApp .pro-nav-footer{margin-top:auto;padding:38px 12px 4px;color:#cfdaea;font-size:calc(12px * var(--kt-readable-scale,1))}#ktApp .pro-nav-footer p{color:#98aac2;font-size:calc(11px * var(--kt-readable-scale,1));margin:8px 0 24px}#ktApp .pro-nav-footer span{display:block;border-top:1px solid #30435b;padding-top:16px;color:#b9c9dd;font-size:calc(11px * var(--kt-readable-scale,1))}
#ktApp>main{width:auto!important;max-width:1600px!important;padding:28px 30px!important;min-width:0}
#ktApp .pro-page-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px;flex-wrap:wrap}#ktApp .pro-eyebrow{font-size:calc(10px * var(--kt-readable-scale,1));letter-spacing:1.6px;color:var(--pro-accent);font-weight:650}#ktApp .pro-page-heading h2{font-size:calc(28px * var(--kt-readable-scale,1));margin:6px 0 4px}#ktApp .pro-page-heading p{font-size:calc(13px * var(--kt-readable-scale,1));color:var(--pro-muted);margin:0}
#ktApp .pro-scope{font-size:calc(12px * var(--kt-readable-scale,1));border:1px solid var(--pro-line);border-radius:8px;background:#fff;padding:9px 12px;color:var(--pro-muted)}
#ktApp .panel,#ktApp .focus-box,#ktApp .sim-box,#ktApp .cards article{border:1px solid var(--pro-line)!important;border-radius:11px!important;box-shadow:none!important;background:#fff!important}
#ktApp .panel{padding:22px!important;margin-bottom:20px}#ktApp .panel h2{font-size:calc(17px * var(--kt-readable-scale,1))}
#ktApp #pusulaPanel{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0 0 24px!important;border-radius:0!important}
#ktApp .pusula-head{background:transparent!important;color:var(--pro-text)!important;border:0!important;padding:0 0 16px!important}#ktApp .pusula-head h2{font-size:calc(16px * var(--kt-readable-scale,1))!important;color:var(--pro-text)!important}#ktApp .pusula-head small,#ktApp .pusula-date{font-size:calc(12px * var(--kt-readable-scale,1))!important;color:var(--pro-muted)!important}
#ktApp .pusula-cards{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:14px!important;margin:0 0 20px!important}
#ktApp .p-card{position:relative!important;background:#fff!important;border:1px solid var(--pro-line)!important;border-radius:10px!important;padding:20px 17px!important;box-shadow:none!important;color:var(--pro-text)!important;min-width:0!important;min-height:125px!important;overflow:hidden}
#ktApp .p-card::before,#ktApp .p-card::after{display:none!important}#ktApp .p-card span{color:var(--pro-muted)!important;font-size:calc(12px * var(--kt-readable-scale,1))!important;font-weight:500!important}#ktApp .p-card b{font-size:calc(32px * var(--kt-readable-scale,1))!important;color:var(--pro-text)!important;letter-spacing:-1px;display:block;margin:10px 0 6px;font-variant-numeric:tabular-nums}#ktApp .p-card small{font-size:calc(11px * var(--kt-readable-scale,1))!important;color:var(--pro-muted)!important}
#ktApp .p-card.amber{background:#173d50!important;border-color:#173d50!important}#ktApp .p-card.amber b{color:#fff!important}#ktApp .p-card.amber span,#ktApp .p-card.amber small{color:#c3dce4!important}
#ktApp .p-card.red b{color:#b75c39!important}#ktApp .p-card.gold b{color:#137e6b!important}
#ktApp .pro-target{background:#fff;border:1px solid var(--pro-line);border-radius:11px;padding:22px;margin-bottom:20px}#ktApp .pro-target-top{display:flex;justify-content:space-between;align-items:center;gap:15px}#ktApp .pro-target h3{margin:0;font-size:calc(16px * var(--kt-readable-scale,1))}#ktApp .pro-target p{color:var(--pro-muted);font-size:calc(12px * var(--kt-readable-scale,1));margin:4px 0}#ktApp .pro-target-top>strong{color:var(--pro-accent);font-size:calc(25px * var(--kt-readable-scale,1));font-weight:650}
#ktApp .pro-target-track{height:9px;border-radius:20px;background:#e9eff3;overflow:hidden;margin:20px 0 10px}#ktApp .pro-target-track span{display:block;height:100%;width:0;background:var(--pro-accent);border-radius:20px;transition:width .2s}#ktApp .pro-target-labels{display:flex;justify-content:space-between;color:var(--pro-muted);font-size:calc(12px * var(--kt-readable-scale,1));gap:10px}
#ktApp .pusula-focus-grid,#ktApp .grid2{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px!important}
#ktApp .focus-box{padding:22px!important}#ktApp .focus-box h3{color:var(--pro-text)!important;font-size:calc(16px * var(--kt-readable-scale,1))!important}#ktApp .focus-box>small{color:var(--pro-muted)!important}
#ktApp .sim-box{padding:20px!important;margin-top:20px!important}#ktApp .sim-title{background:transparent!important;color:var(--pro-text)!important;padding:0 0 16px!important;gap:12px;flex-wrap:wrap}#ktApp .sim-title h3{color:var(--pro-text)!important}#ktApp .sim-actions{gap:8px;flex-wrap:wrap}
#ktApp .tablewrap,#ktApp .sim-scroll{max-width:100%!important;overflow-x:auto!important;border:1px solid var(--pro-line)!important;border-radius:8px!important;box-shadow:none!important}
#ktApp table{background:#fff!important}#ktApp th,#ktApp .pusula-table th,#ktApp .hierarchy-table th{background:#f0f5f9!important;color:#526b81!important;font-size:calc(11px * var(--kt-readable-scale,1))!important;font-weight:600!important;border-color:var(--pro-line)!important;box-shadow:none!important;text-transform:none!important;padding:12px 10px!important}
#ktApp td{font-size:calc(12px * var(--kt-readable-scale,1))!important;border-color:#edf1f5!important;padding:11px 10px!important}#ktApp table input,#ktApp table select{font-size:calc(12px * var(--kt-readable-scale,1))!important}
#ktApp .table-total-bar{background:#f0f7f6!important;color:#216458!important;padding:12px!important;border-top:1px solid var(--pro-line)!important}
#ktApp .cards{gap:14px!important}#ktApp .cards article{padding:20px!important;border-left:1px solid var(--pro-line)!important}#ktApp .cards b{font-size:calc(27px * var(--kt-readable-scale,1))!important;color:var(--pro-text)!important}#ktApp .cards span{font-size:calc(12px * var(--kt-readable-scale,1))!important;font-weight:500!important;color:var(--pro-muted)!important}
#ktApp .hierarchy-summary{grid-template-columns:repeat(4,minmax(0,1fr))!important}#ktApp .hierarchy-layout{grid-template-columns:minmax(0,1fr) 240px!important;gap:20px!important}#ktApp .hierarchy-filters{background:#fff!important;border:1px solid var(--pro-line)!important;border-radius:11px!important;box-shadow:none!important;padding:18px!important;gap:12px!important;flex-wrap:wrap}
#ktApp .hierarchy-title h2,#ktApp .toolbar h2{font-size:calc(26px * var(--kt-readable-scale,1))!important;color:var(--pro-text)!important}#ktApp .hierarchy-title{gap:12px;flex-wrap:wrap}
#ktApp input,#ktApp select,#ktApp textarea{border-color:#d5dfe8;border-radius:7px;background:#fff;font-family:inherit;max-width:100%}
#ktApp .form button,#ktApp .detailbtn,#ktApp .bulkbar button,#ktApp .excel-export-btn,#ktApp #dispatchSave,#ktApp #unitPageSave{background:var(--pro-accent)!important;color:#fff!important;border:0!important;border-radius:7px!important;box-shadow:none!important;padding:10px 14px!important;font-size:calc(12px * var(--kt-readable-scale,1))!important;font-weight:600!important}
#ktApp .bulkbar .secondary,#ktApp button.secondary{background:#edf3f7!important;color:#37536c!important;box-shadow:none!important;border-radius:7px!important}#ktApp .entrytabs{border:1px solid var(--pro-line)!important;box-shadow:none!important;overflow-x:auto;gap:8px}#ktApp .entrytabs button.active{color:var(--pro-accent)!important;border-bottom-color:var(--pro-accent)!important}
#ktApp #mud>.pusulaCards,#ktApp #mud>.sectiontitle+.pusulaCards{display:none!important}
/* Authentication surfaces */
#ktApp .single-login-welcome{background:linear-gradient(120deg,#12253f 0%,#173d50 55%,#165751 100%)!important;padding:40px 20px!important}#ktApp .single-login-welcome::before,#ktApp .single-login-welcome::after{display:none!important}
#ktApp .single-login-card{background:#fff!important;border:0!important;border-radius:18px!important;color:var(--pro-text)!important;padding:50px 44px!important;max-width:570px!important;box-shadow:0 24px 80px #06192e38!important;backdrop-filter:none!important}
#ktApp .single-brand h1{color:var(--pro-navy)!important;font-size:calc(35px * var(--kt-readable-scale,1))!important;letter-spacing:-1px!important}#ktApp .artes-line strong{color:var(--pro-accent)!important;font-size:calc(14px * var(--kt-readable-scale,1))!important;letter-spacing:5px!important}#ktApp .artes-line span{background:#d9e9e6!important;width:50px!important}#ktApp .single-subtitle{color:var(--pro-muted)!important;font-size:calc(11px * var(--kt-readable-scale,1))!important;letter-spacing:2.5px!important}
#ktApp .single-welcome-text{margin:34px 0 25px!important}#ktApp .single-welcome-text h2{color:var(--pro-text)!important;font-size:calc(25px * var(--kt-readable-scale,1))!important}#ktApp .single-welcome-text p{color:var(--pro-muted)!important;font-size:calc(13px * var(--kt-readable-scale,1))!important;line-height:1.7!important}
#ktApp .single-login-button{background:var(--pro-accent)!important;border:0!important;box-shadow:none!important;border-radius:8px!important;font-size:calc(15px * var(--kt-readable-scale,1))!important;padding:14px 22px!important;font-weight:600!important}#ktApp .single-login-button:hover{background:#087e74!important;transform:none!important}
#ktApp .single-features{gap:10px!important;margin-top:28px!important}#ktApp .single-features>div{background:#f4f7fb!important;border:1px solid var(--pro-line)!important;border-radius:8px!important;padding:12px 6px!important;color:var(--pro-muted)!important}#ktApp .single-features b{color:var(--pro-accent)!important;font-size:calc(19px * var(--kt-readable-scale,1))!important}#ktApp .single-features span{font-size:calc(10px * var(--kt-readable-scale,1))!important;color:var(--pro-muted)!important}#ktApp .single-quote{color:var(--pro-muted)!important;border-top:1px solid var(--pro-line)!important;padding-top:22px!important;font-size:calc(12px * var(--kt-readable-scale,1))!important}
#ktApp .admin-modal{background:#071a2eb8!important;z-index:10050!important}#ktApp .admin-dialog{position:relative;background:#fff!important;border:0!important;border-radius:14px!important;padding:34px!important;max-width:440px!important;box-shadow:0 24px 70px #071a2e38!important}#ktApp .admin-dialog h2{color:var(--pro-text)!important;font-size:calc(23px * var(--kt-readable-scale,1))!important}#ktApp .admin-dialog p{color:var(--pro-muted)!important;font-size:calc(13px * var(--kt-readable-scale,1))!important}#ktApp #adminSubmit{background:var(--pro-accent)!important;border-radius:8px!important;box-shadow:none!important}#ktApp .pro-modal-close{position:absolute;top:9px;right:12px;width:32px;height:32px;border:0;background:transparent;color:var(--pro-muted);font-size:calc(24px * var(--kt-readable-scale,1));padding:0!important}
#ktApp .app-chooser{background:var(--pro-bg)!important;overflow:auto!important}#ktApp .app-chooser.open{grid-template-columns:240px minmax(0,1fr)!important}#ktApp .app-chooser-side{background:var(--pro-navy)!important;padding:30px 22px!important;box-shadow:none!important}#ktApp .chooser-brand b{font-size:calc(17px * var(--kt-readable-scale,1))!important}#ktApp .chooser-logo{background:var(--pro-accent)!important;border:0!important;color:#fff!important;border-radius:10px!important}#ktApp .chooser-user{background:#213953!important;border:0!important;margin-top:70px!important;padding:17px!important;border-radius:10px!important}#ktApp .chooser-avatar{background:#304e65!important;color:#c0ede4!important;width:40px!important;height:40px!important}#ktApp .app-chooser-main{padding:44px 36px!important}#ktApp .chooser-top{gap:20px!important;flex-wrap:wrap!important;margin-bottom:30px!important}#ktApp .chooser-top h1{font-size:calc(30px * var(--kt-readable-scale,1))!important;color:var(--pro-text)!important}#ktApp .chooser-top small{color:var(--pro-accent)!important;letter-spacing:1px!important;font-size:calc(10px * var(--kt-readable-scale,1))!important}#ktApp .chooser-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px!important}#ktApp .chooser-card{background:#fff!important;border:1px solid var(--pro-line)!important;border-radius:12px!important;box-shadow:none!important;grid-template-columns:46px minmax(0,1fr) 18px!important;padding:26px 20px!important;gap:14px!important}#ktApp .chooser-card b{color:var(--pro-text)!important;font-size:calc(19px * var(--kt-readable-scale,1))!important}#ktApp .chooser-card small{font-size:calc(12px * var(--kt-readable-scale,1))!important;color:var(--pro-muted)!important}#ktApp .chooser-copy em{color:var(--pro-accent)!important;font-size:calc(10px * var(--kt-readable-scale,1))!important}#ktApp .chooser-icon{background:#eaf6f2!important;border:0!important;color:var(--pro-accent)!important;width:44px!important;height:44px!important}#ktApp .chooser-card:hover{border-color:#91cfc5!important;transform:none!important}#ktApp .chooser-active{font-size:calc(12px * var(--kt-readable-scale,1))!important;background:#fff!important;border-color:var(--pro-line)!important}
#ktApp.is-admin .chooser-card.admin-only{display:grid!important}
/* Messaging geometry remains owned by the original composer rules. */
#ktApp #messages .whatsapp-panel{border:1px solid var(--pro-line)!important;border-radius:12px!important;box-shadow:none!important}#ktApp #messages .message-sidebar-header,#ktApp #messages .message-chat-header{background:#fff!important;border-color:var(--pro-line)!important;box-shadow:none!important}#ktApp #messages .web-chat-item.active{background:#eaf6f2!important}#ktApp #messages .chat-send{background:var(--pro-accent)!important;box-shadow:none!important}
@media(min-width:1001px){#ktApp>nav{position:fixed!important;top:0!important;bottom:0!important;left:0!important;width:222px!important;min-height:0!important;display:flex;flex-direction:column!important;z-index:40!important}#ktApp>header,#ktApp>.cloudbar,#ktApp>main{margin-left:222px!important}#ktApp>main{margin-right:0!important}#ktApp:not(.welcome-locked):not(.chooser-locked)>nav{display:flex!important}}
@media(max-width:1000px){#ktApp>nav{position:sticky!important;top:0!important;display:flex;flex-direction:row!important;padding:10px 14px!important;overflow-x:auto!important;align-items:center!important;z-index:40!important}#ktApp>nav button[data-view],#ktApp>nav #adminLoginBtn{min-width:max-content!important;white-space:nowrap!important;padding:10px!important;min-height:44px!important}#ktApp .pro-brand,#ktApp .pro-nav-label,#ktApp .pro-nav-footer{display:none!important}#ktApp>header,#ktApp>.cloudbar,#ktApp>main{margin-left:0!important;width:100%!important}#ktApp>main{padding:22px 18px!important}#ktApp>header{padding:16px 18px!important}#ktApp>.cloudbar{padding:10px 18px!important}#ktApp .pusula-cards{grid-template-columns:repeat(3,minmax(0,1fr))!important}#ktApp .hierarchy-layout{grid-template-columns:1fr!important}#ktApp .app-chooser.open{grid-template-columns:1fr!important}#ktApp .app-chooser-side{min-height:auto!important;padding:20px!important}#ktApp .chooser-user{margin-top:20px!important}#ktApp .chooser-logout{margin-top:12px!important}#ktApp .app-chooser-main{padding:26px 20px!important}}
@media(max-width:650px){#ktApp>main{padding:20px 12px!important}#ktApp .pro-page-heading h2{font-size:calc(25px * var(--kt-readable-scale,1))}#ktApp .pusula-cards,#ktApp .hierarchy-summary,#ktApp .cards,#ktApp .cards.small{grid-template-columns:repeat(2,minmax(0,1fr))!important}#ktApp .pusula-focus-grid,#ktApp .grid2{grid-template-columns:1fr!important}#ktApp .p-card{padding:16px!important;min-height:120px!important}#ktApp .p-card b{font-size:calc(29px * var(--kt-readable-scale,1))!important}#ktApp .pusula-head{flex-wrap:wrap;gap:10px}#ktApp .sim-box,#ktApp .panel,#ktApp .focus-box{padding:16px!important}#ktApp .sim-title{display:flex!important;align-items:flex-start!important}#ktApp .sim-actions{display:flex!important;flex-wrap:wrap!important}#ktApp .single-login-card{padding:35px 22px!important}#ktApp .single-features{grid-template-columns:repeat(2,minmax(0,1fr))!important}#ktApp .single-brand h1{font-size:calc(30px * var(--kt-readable-scale,1))!important}#ktApp .chooser-grid{grid-template-columns:1fr!important}#ktApp .chooser-card{padding:20px 16px!important}#ktApp .form{grid-template-columns:1fr!important}#ktApp input,#ktApp select,#ktApp textarea{font-size:calc(16px * var(--kt-readable-scale,1))}#ktApp .entrytabs button{min-width:max-content}#ktApp .admin-dialog{padding:30px 22px!important}#ktApp .hierarchy-filters label{min-width:0;width:100%}#ktApp .toolbar{flex-wrap:wrap;gap:12px}}
#ktApp.welcome-locked>header,#ktApp.welcome-locked>.cloudbar,#ktApp.welcome-locked>nav,#ktApp.welcome-locked>main,#ktApp.chooser-locked>header,#ktApp.chooser-locked>.cloudbar,#ktApp.chooser-locked>nav,#ktApp.chooser-locked>main{display:none!important}
#ktApp .admin-dialog .pro-password-field{display:block;position:relative;width:100%;margin-top:6px}
#ktApp .admin-dialog .pro-password-field #adminPassword{width:100%!important;padding-right:52px!important;margin:0!important}
#ktApp .admin-dialog .pro-password-eye{position:absolute!important;right:2px!important;top:50%!important;transform:translateY(-50%)!important;display:grid!important;place-items:center!important;width:44px!important;height:40px!important;min-height:0!important;margin:0!important;padding:10px!important;border:0!important;border-radius:6px!important;background:transparent!important;color:var(--pro-text)!important;box-shadow:none!important}
#ktApp .pro-password-eye svg{width:22px;height:22px}#ktApp .pro-password-eye .pro-eye-slash{display:none}#ktApp .pro-password-eye[aria-pressed="true"] .pro-eye-slash{display:block}
#ktApp .admin-dialog .pro-show-password{display:flex!important;align-items:center;gap:9px;margin:12px 0 18px!important;font-size:calc(13px * var(--kt-readable-scale,1))!important;font-weight:400!important;color:var(--pro-muted)!important;cursor:pointer}
#ktApp .admin-dialog .pro-show-password input{appearance:auto!important;width:17px!important;height:17px!important;margin:0!important;padding:0!important;accent-color:var(--pro-accent);flex-shrink:0}
#ktApp #messages .whatsapp-composer>[hidden]{display:none!important}
/* V121: exactly one composer for the authenticated role, including app-fit. */
#ktApp #messages #adminComposerRow,#ktApp #messages #teamComposerRow{display:none!important}
#ktApp.is-admin #messages #adminComposerRow,#ktApp.is-team:not(.is-admin) #messages #teamComposerRow,#ktApp.is-team-user:not(.is-admin) #messages #teamComposerRow{display:contents!important}
#ktApp #messages .whatsapp-composer{display:grid!important;grid-template-columns:44px minmax(0,1fr) 54px!important;align-items:center!important;gap:10px!important;height:auto!important;min-height:76px!important;position:relative!important;padding:10px 14px!important;width:100%!important;box-sizing:border-box!important}
#ktApp #messages .whatsapp-composer .chat-attach{grid-column:1!important}
#ktApp #messages .whatsapp-composer .composer-input{grid-column:2!important;display:flex!important;min-width:0!important;width:100%!important}
#ktApp #messages .whatsapp-composer .chat-send{grid-column:3!important}
#ktApp #messages .whatsapp-composer .composer-status{grid-column:1/-1!important}
#ktApp #messages .whatsapp-composer .chat-file-input{display:none!important}
@media(prefers-reduced-motion:reduce){#ktApp *,#ktApp *::before,#ktApp *::after{transition:none!important;animation:none!important}}

/* V126: emoji panel fits narrow screens without squeezing the composer. */
#ktApp .composer-emoji-picker{width:292px;max-width:calc(100vw - 24px);grid-template-columns:repeat(6,minmax(0,1fr))}
#ktApp .composer-emoji-picker button{width:100%;min-width:0;padding:0}

/* Narrow-screen composer: full-width writing line, controls on a separate line. */
@media(max-width:650px){
 html body#ktApp #messages .conversation-panel{min-width:0!important;max-width:100%!important;grid-template-rows:auto minmax(0,1fr) auto!important}
 html body#ktApp #messages .whatsapp-composer{grid-template-columns:44px minmax(0,1fr) 44px!important;gap:6px!important;padding:8px!important;align-items:end!important;height:auto!important;min-height:100px!important;min-width:0!important;max-width:100%!important}
 html body#ktApp #messages #adminComposerRow .composer-input,
 html body#ktApp #messages #teamComposerRow .composer-input{display:grid!important;grid-template-columns:minmax(0,1fr) 44px 44px!important;grid-template-rows:auto 44px!important;gap:0!important;position:relative!important;height:auto!important;min-width:0!important;width:100%!important;max-width:100%!important;border-radius:16px!important;padding:0!important;overflow:hidden!important}
 html body#ktApp #messages #adminComposerRow .composer-input textarea,
 html body#ktApp #messages #teamComposerRow .composer-input textarea{grid-column:1/-1!important;grid-row:1!important;display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;min-height:44px!important;height:44px!important;max-height:100px!important;padding:10px 12px!important;margin:0!important;font-size:calc(16px * var(--kt-readable-scale,1))!important;line-height:calc(24px * var(--kt-readable-scale,1))!important;overflow-y:auto!important;border-radius:16px!important}
 html body#ktApp #messages #adminComposerRow .composer-emoji,
 html body#ktApp #messages #teamComposerRow .composer-emoji,
 html body#ktApp #messages #adminComposerRow .composer-camera,
 html body#ktApp #messages #teamComposerRow .composer-camera{position:static!important;top:auto!important;right:auto!important;transform:none!important;grid-row:2!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;margin:0!important;padding:10px!important}
 html body#ktApp #messages .composer-input .composer-emoji{grid-column:2!important}
 html body#ktApp #messages .composer-input .composer-camera{grid-column:3!important}
 html body#ktApp #messages .whatsapp-composer .chat-attach,
 html body#ktApp #messages .whatsapp-composer .chat-send{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;padding:10px!important;margin:0!important;align-self:end!important}
}

.manual-karne{margin:20px 0;border:1px solid #dce5eb;border-radius:14px;padding:16px;background:#fff}.manual-karne>summary{cursor:pointer;font-size:calc(17px * var(--kt-readable-scale,1));font-weight:700;color:#17344b;padding:8px;min-height:32px}.manual-karne[open]>summary{margin-bottom:12px}.manual-karne>summary:focus-visible{outline:2px solid #0c9488;outline-offset:4px}.manual-karne .entrytabs{display:flex;flex-wrap:wrap;gap:8px}.manual-karne .entrytabs button{white-space:normal;min-height:44px}

.unit-weight-ranking{max-width:520px;background:#fff;border:1px solid #e1e9ed;border-radius:18px;padding:18px;margin:0 0 18px;box-sizing:border-box;box-shadow:0 4px 18px #12253f08}.unit-weight-ranking header{display:flex;justify-content:space-between;gap:10px;align-items:center}.unit-weight-ranking h3{font-size:calc(16px * var(--kt-readable-scale,1));margin:4px 0;color:#12253f}.uwr-eyebrow{font-size:calc(10px * var(--kt-readable-scale,1));color:#6a8290;letter-spacing:.6px;font-weight:700}.uwr-symbol{color:#0c9488;font-size:calc(26px * var(--kt-readable-scale,1))}.unit-weight-ranking p,.unit-weight-ranking footer{font-size:calc(11px * var(--kt-readable-scale,1));color:#708391;margin:6px 0 12px}.unit-weight-ranking footer{margin:12px 0 0;line-height:1.5}.uwr-list{display:grid;gap:5px}.uwr-row{display:flex!important;align-items:center;gap:10px;width:100%;padding:9px!important;border:0!important;background:#f7f9fb!important;border-radius:10px!important;text-align:left;color:#12253f!important;min-width:0}.uwr-row.uwr-leader{background:#eaf7f3!important}.uwr-position{font-size:calc(12px * var(--kt-readable-scale,1));font-weight:700;background:#e8eef3;width:24px;height:24px;flex-shrink:0;border-radius:8px;display:grid;place-items:center}.uwr-leader .uwr-position{background:#0c9488;color:#fff}.uwr-info{flex:1;min-width:0}.uwr-info b{display:block;font-size:calc(12px * var(--kt-readable-scale,1))}.uwr-info small{display:block;font-size:calc(9px * var(--kt-readable-scale,1));margin:3px 0;color:#6a8290}.uwr-row strong{font-size:calc(18px * var(--kt-readable-scale,1));font-variant-numeric:tabular-nums}.uwr-track{display:block;height:3px;border-radius:3px;background:#dfe8ed;margin-top:5px;overflow:hidden}.uwr-track i{display:block;height:100%;background:#0c9488;border-radius:3px}@media(max-width:600px){.unit-weight-ranking{max-width:100%;padding:13px}.unit-weight-ranking h3{font-size:calc(14px * var(--kt-readable-scale,1))}.uwr-row{padding:8px!important}.uwr-info small{font-size:calc(9px * var(--kt-readable-scale,1))}}

/* v149 compact ranking */
.unit-weight-ranking{max-width:440px;padding:10px 12px;margin:10px 0 14px;border-radius:12px}.unit-weight-ranking h3{font-size:calc(13px * var(--kt-readable-scale,1))!important;margin:0!important}.unit-weight-ranking .uwr-eyebrow,.unit-weight-ranking .uwr-symbol,.unit-weight-ranking footer,.unit-weight-ranking .uwr-info small,.unit-weight-ranking .uwr-track{display:none}.unit-weight-ranking p{font-size:calc(10px * var(--kt-readable-scale,1));margin:3px 0 7px}.unit-weight-ranking .uwr-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.unit-weight-ranking .uwr-row{padding:6px!important;gap:5px;border-radius:7px!important;min-height:32px}.unit-weight-ranking .uwr-position{width:18px;height:18px;font-size:calc(10px * var(--kt-readable-scale,1));border-radius:5px}.unit-weight-ranking .uwr-info b{font-size:calc(10px * var(--kt-readable-scale,1));line-height:1.25}.unit-weight-ranking .uwr-row strong{font-size:calc(13px * var(--kt-readable-scale,1));flex-shrink:0}@media(max-width:360px){.unit-weight-ranking{padding:8px}.unit-weight-ranking .uwr-info b{font-size:calc(9px * var(--kt-readable-scale,1))}}

#mudUnitWeightRanking.unit-weight-ranking,#unitWeightRanking.unit-weight-ranking{display:block!important} .unit-weight-ranking>header{display:block!important;background:transparent!important;color:#12253f!important;padding:0!important;margin:0!important;width:auto!important;min-height:0!important;border:0!important;box-shadow:none!important}.unit-weight-ranking>header h3{color:#12253f!important}.unit-weight-ranking>.uwr-list{width:100%!important}.unit-weight-ranking .uwr-info{overflow:hidden}.unit-weight-ranking .uwr-info b{white-space:normal!important}

/* v150 bar ranking */
#mudUnitWeightRanking.unit-weight-ranking,#unitWeightRanking.unit-weight-ranking{display:block!important;background:#18221d!important;color:#f1f5f2!important;border:1px solid #344238!important;max-width:640px;width:100%;padding:0!important;border-radius:10px;margin:14px 0;overflow:hidden;box-shadow:none}.unit-weight-ranking .uwr-heading{display:flex;align-items:center;justify-content:space-between;padding:12px 15px;border-bottom:1px solid #344238}.unit-weight-ranking .uwr-heading h3{color:#f1f5f2!important;font-size:calc(14px * var(--kt-readable-scale,1))!important;margin:0!important}.unit-weight-ranking .uwr-heading>span{color:#a9b8ad}.unit-weight-ranking .uwr-summary{display:flex;align-items:center;justify-content:space-between;margin:0 16px;padding:12px 0;border-bottom:1px solid #344238;font-size:calc(13px * var(--kt-readable-scale,1))}.uwr-summary small{color:#acb9af;font-size:calc(10px * var(--kt-readable-scale,1))}.uwr-summary>strong{color:#ff941d;font-size:calc(21px * var(--kt-readable-scale,1))}.unit-weight-ranking .uwr-chart{padding:8px 16px 14px}.unit-weight-ranking .uwr-reference-label{text-align:right;color:#44b4f4;font-size:calc(10px * var(--kt-readable-scale,1));margin:0 45px 8px 0}.unit-weight-ranking .uwr-list{display:grid!important;grid-template-columns:1fr!important;gap:7px!important}.unit-weight-ranking .uwr-row{display:grid!important;grid-template-columns:145px minmax(0,1fr) 43px!important;align-items:center;gap:12px!important;padding:0!important;min-height:22px;background:transparent!important;border-radius:0!important;color:#eaf0eb!important}.unit-weight-ranking .uwr-row>b{font-size:calc(11px * var(--kt-readable-scale,1))!important;text-align:left;line-height:1.2}.unit-weight-ranking .uwr-row>strong{font-size:calc(13px * var(--kt-readable-scale,1))!important;text-align:right}.uwr-bar{display:block;position:relative;height:21px;border-radius:5px;background:#222e26;border:1px solid #303d33;min-width:0}.uwr-bar i{display:block;height:100%;border-radius:5px}.uwr-bar em{position:absolute;top:-5px;bottom:-5px;border-left:2px dashed #38b0ef;pointer-events:none}@media(max-width:600px){.unit-weight-ranking .uwr-row{grid-template-columns:112px minmax(0,1fr) 35px!important;gap:8px!important}.unit-weight-ranking .uwr-row>b{font-size:calc(10px * var(--kt-readable-scale,1))!important}.unit-weight-ranking .uwr-heading{padding:10px 12px}.unit-weight-ranking .uwr-heading h3{font-size:calc(13px * var(--kt-readable-scale,1))!important}.unit-weight-ranking .uwr-chart{padding:8px 12px 12px}.unit-weight-ranking .uwr-summary{margin:0 12px;font-size:calc(11px * var(--kt-readable-scale,1))}.uwr-summary small{display:none}.uwr-bar{height:17px}}

/* v151 site palette: light card with Kumluca navy and teal accents */
#mudUnitWeightRanking.unit-weight-ranking,#unitWeightRanking.unit-weight-ranking{background:#ffffff!important;color:#12253f!important;border:1px solid #d9e5ec!important;box-shadow:0 4px 16px rgba(18,37,63,.08)!important}
.unit-weight-ranking .uwr-heading{border-bottom:1px solid #e4edf2!important}
.unit-weight-ranking .uwr-heading h3{color:#12253f!important}
.unit-weight-ranking .uwr-heading>span{color:#0c9488!important}
.unit-weight-ranking .uwr-summary{border-bottom:1px solid #e4edf2!important;color:#17344b!important}
.unit-weight-ranking .uwr-summary small{color:#6a8290!important}
.unit-weight-ranking .uwr-summary>strong{color:#ed8200!important}
.unit-weight-ranking .uwr-reference-label{color:#0c9488!important}
.unit-weight-ranking .uwr-row{color:#17344b!important}
.uwr-bar{background:#edf4f7!important;border:1px solid #dbe7ed!important}
.uwr-bar em{border-left-color:#0c9488!important}

/* v152 three aligned overview cards */
#ktApp .mud-focus-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:stretch;gap:16px!important}
#ktApp .mud-focus-grid>*{min-width:0;box-sizing:border-box}
#ktApp .mud-focus-grid #mudUnitWeightRanking{max-width:none;margin:0;border-radius:11px}
#ktApp .mud-focus-grid .uwr-row{grid-template-columns:95px minmax(0,1fr) 34px!important;gap:7px!important}
#ktApp .mud-focus-grid .uwr-heading h3{font-size:calc(14px * var(--kt-readable-scale,1))!important;line-height:1.4}
#ktApp .mud-focus-grid .uwr-row>b{font-size:calc(11px * var(--kt-readable-scale,1))!important}
#ktApp .mud-focus-grid .uwr-chart{padding:10px 12px 16px}
#ktApp .mud-focus-grid .uwr-summary{margin:0 12px}
@media(max-width:1050px){#ktApp .mud-focus-grid{grid-template-columns:1fr!important}}

/* v153 ranking fits the free summary slot below the grade */
#ktApp #units .hierarchy-summary{align-items:start}
#ktApp #units #unitWeightRanking{width:100%;max-width:none;margin:0;border-radius:11px;min-width:0;box-sizing:border-box}
#ktApp #unitWeightRanking .uwr-heading{padding:9px 10px}
#ktApp #unitWeightRanking .uwr-heading h3{font-size:calc(12px * var(--kt-readable-scale,1))!important;line-height:1.35}
#ktApp #unitWeightRanking .uwr-summary{margin:0 10px;padding:7px 0;font-size:calc(10px * var(--kt-readable-scale,1))}
#ktApp #unitWeightRanking .uwr-summary>strong{font-size:calc(17px * var(--kt-readable-scale,1))}
#ktApp #unitWeightRanking .uwr-chart{padding:6px 10px 10px}
#ktApp #unitWeightRanking .uwr-reference-label{font-size:calc(9px * var(--kt-readable-scale,1));margin:0 32px 6px 0}
#ktApp #unitWeightRanking .uwr-list{gap:5px!important}
#ktApp #unitWeightRanking .uwr-row{grid-template-columns:82px minmax(0,1fr) 30px!important;gap:5px!important;min-height:18px}
#ktApp #unitWeightRanking .uwr-row>b{font-size:calc(9px * var(--kt-readable-scale,1))!important}
#ktApp #unitWeightRanking .uwr-row>strong{font-size:calc(11px * var(--kt-readable-scale,1))!important}
#ktApp #unitWeightRanking .uwr-bar{height:14px}
@media(max-width:650px){#ktApp #units #unitWeightRanking{grid-column:1/-1}}

/* v154 equal summary card heights */
#ktApp #units .hierarchy-summary{grid-auto-rows:138px;align-items:stretch}
#ktApp #units .hierarchy-summary>.p-card{height:138px;min-height:0!important;box-sizing:border-box}
#ktApp #units #unitWeightRanking{height:138px;overflow:hidden}
#ktApp #unitWeightRanking .uwr-heading{padding:5px 9px}
#ktApp #unitWeightRanking .uwr-heading h3{font-size:calc(10px * var(--kt-readable-scale,1))!important}
#ktApp #unitWeightRanking .uwr-summary{padding:3px 0;margin:0 9px;font-size:calc(9px * var(--kt-readable-scale,1));line-height:calc(12px * var(--kt-readable-scale,1))}
#ktApp #unitWeightRanking .uwr-summary>strong{font-size:calc(12px * var(--kt-readable-scale,1))}
#ktApp #unitWeightRanking .uwr-summary small,#ktApp #unitWeightRanking .uwr-reference-label{display:none}
#ktApp #unitWeightRanking .uwr-chart{padding:4px 9px}
#ktApp #unitWeightRanking .uwr-list{gap:2px!important}
#ktApp #unitWeightRanking .uwr-row{grid-template-columns:90px minmax(0,1fr) 26px!important;min-height:11px;line-height:calc(11px * var(--kt-readable-scale,1))}
#ktApp #unitWeightRanking .uwr-row>b{font-size:calc(8px * var(--kt-readable-scale,1))!important;white-space:nowrap!important}
#ktApp #unitWeightRanking .uwr-row>strong{font-size:calc(9px * var(--kt-readable-scale,1))!important;line-height:calc(11px * var(--kt-readable-scale,1))}
#ktApp #unitWeightRanking .uwr-bar{height:7px}
#ktApp #unitWeightRanking .uwr-bar em{top:-2px;bottom:-2px}

/* messaging.css */
/* V128: unified messaging layout for browser and Android. */
html body#ktApp #messages{--chat-green:#0d9488;--chat-line:#e5ebe9;--chat-height:100dvh}
html body#ktApp #messages .messages-topbar{display:none!important}
html body#ktApp #messages .messages-shell{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;min-width:0!important}
html body#ktApp #messages .messages-workspace{display:grid!important;grid-template-columns:340px minmax(0,1fr)!important;width:100%!important;height:calc(100dvh - 130px)!important;min-height:420px!important;gap:0!important;border:1px solid var(--chat-line)!important;border-radius:18px!important;overflow:hidden!important;background:#fff!important}
html body#ktApp #messages #webChatSidebar{display:flex!important;flex-direction:column!important;width:auto!important;min-width:0!important;height:100%!important;overflow:hidden!important;background:#fff!important;border-right:1px solid var(--chat-line)!important}
html body#ktApp:not(.is-admin) #messages #webChatSidebar{display:none!important}
html body#ktApp:not(.is-admin) #messages .messages-workspace{grid-template-columns:minmax(0,1fr)!important}
html body#ktApp #messages .web-chat-sidebar-head{display:flex!important;align-items:center!important;gap:12px!important;padding:18px!important;min-height:76px!important;background:#f7faf9!important;border-bottom:1px solid var(--chat-line)!important}
html body#ktApp #messages .msg-brand{display:flex!important;align-items:center!important;gap:10px!important;flex:1!important;min-width:0!important}
html body#ktApp #messages .msg-brand strong{display:block!important;font-size:calc(23px * var(--kt-readable-scale,1))!important;color:#172b43!important;letter-spacing:-.5px!important}
html body#ktApp #messages .msg-brand small{display:block!important;font-size:calc(12px * var(--kt-readable-scale,1))!important;color:#70847d!important}
html body#ktApp #messages .msg-brand-icon{display:none!important}
html body#ktApp #messages #webUnreadTotalBadge{font-size:calc(12px * var(--kt-readable-scale,1))!important;color:#0d9488!important;font-weight:700!important}
html body#ktApp #messages .chat-filter-btn{display:none!important}
html body#ktApp #messages .web-chat-search{display:flex!important;align-items:center!important;gap:8px!important;padding:10px 16px!important;background:#fff!important}
html body#ktApp #messages .web-chat-search input{width:100%!important;min-width:0!important;border:0!important;background:#f0f5f3!important;border-radius:12px!important;padding:12px!important;font-size:calc(15px * var(--kt-readable-scale,1))!important;outline-offset:0!important}
html body#ktApp #messages #webChatTeamList{display:block!important;flex:1 1 auto!important;min-height:0!important;width:100%!important;overflow-y:auto!important;overflow-x:hidden!important}
html body#ktApp #messages .web-chat-item{display:grid!important;grid-template-columns:48px minmax(0,1fr) 55px!important;gap:12px!important;align-items:center!important;position:relative!important;width:100%!important;min-width:0!important;min-height:82px!important;margin:0!important;padding:14px 16px!important;border:0!important;border-bottom:1px solid #f0f3f2!important;border-radius:0!important;background:#fff!important;box-shadow:none!important;text-align:left!important;transform:none!important;color:#172b43!important;line-height:1.4!important}
html body#ktApp #messages .web-chat-item:hover,html body#ktApp #messages .web-chat-item.active{background:#eaf6f2!important}
html body#ktApp #messages .web-chat-avatar{position:relative!important;display:grid!important;place-items:center!important;width:48px!important;height:48px!important;border-radius:50%!important;background:#dff2ec!important;color:#167a65!important;font-weight:700!important;font-size:calc(15px * var(--kt-readable-scale,1))!important}
html body#ktApp #messages .broadcast .web-chat-avatar{background:#fff3da!important}
html body#ktApp #messages .web-chat-copy{display:block!important;min-width:0!important;overflow:hidden!important}
html body#ktApp #messages .web-chat-copy b{display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font-size:calc(14px * var(--kt-readable-scale,1))!important;font-weight:650!important}
html body#ktApp #messages .web-chat-copy small{display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;margin-top:5px!important;color:#73867e!important;font-size:calc(12px * var(--kt-readable-scale,1))!important}
html body#ktApp #messages .web-chat-side{display:flex!important;flex-direction:column!important;align-items:flex-end!important;gap:7px!important;font-size:calc(10px * var(--kt-readable-scale,1))!important;color:#84948d!important}
html body#ktApp #messages .web-unread-badge{background:#0d9488!important;color:#fff!important;border-radius:12px!important;min-width:20px!important;padding:2px 6px!important;text-align:center!important;font-size:calc(11px * var(--kt-readable-scale,1))!important}
html body#ktApp #messages .web-presence-dot{position:absolute!important;left:54px!important;top:50px!important;width:9px!important;height:9px!important;border-radius:50%!important;border:2px solid #fff!important;background:#acb8b3!important}
html body#ktApp #messages .web-presence-dot.online{background:#20b47a!important}
html body#ktApp #messages .conversation-panel{display:flex!important;flex-direction:column!important;width:100%!important;min-width:0!important;max-width:100%!important;height:100%!important;min-height:0!important;overflow:hidden!important;border:0!important;border-radius:0!important;background:#efece5!important}
html body#ktApp #messages .whatsapp-head{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:10px!important;flex:0 0 auto!important;height:auto!important;min-height:76px!important;padding:12px 16px!important;background:#f7faf9!important;border:0!important;border-bottom:1px solid var(--chat-line)!important;overflow:visible!important}
html body#ktApp #messages .conversation-identity{display:flex!important;align-items:center!important;gap:12px!important;flex:1!important;min-width:0!important}
html body#ktApp #messages .conversation-identity>div:last-child{min-width:0!important;overflow:hidden!important}
html body#ktApp #messages .chat-avatar{display:grid!important;place-items:center!important;flex:0 0 42px!important;width:42px!important;height:42px!important;border-radius:50%!important;background:#dff2ec!important;color:#167a65!important;font-size:calc(14px * var(--kt-readable-scale,1))!important;font-weight:700!important}
html body#ktApp #messages #conversationTitle{display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:100%!important;font-size:calc(15px * var(--kt-readable-scale,1))!important;line-height:1.4!important}
html body#ktApp #messages #conversationSubtitle{display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;color:#73867e!important;font-size:calc(11px * var(--kt-readable-scale,1))!important;margin-top:3px!important}
html body#ktApp #messages .message-filter,html body#ktApp #messages .chat-action-muted{display:none!important}
html body#ktApp #messages .ceo-chat-actions{display:flex!important;gap:4px!important;flex-shrink:0!important}
html body#ktApp:not(.is-admin) #messages .ceo-chat-actions{display:none!important}
html body#ktApp #messages .ceo-chat-actions button,html body#ktApp #messages .kt-chat-back,html body#ktApp #messages .kt-chat-home{width:40px!important;height:40px!important;min-width:40px!important;border:0!important;border-radius:50%!important;background:transparent!important;color:#36534b!important;padding:6px!important;font-size:calc(22px * var(--kt-readable-scale,1))!important;box-shadow:none!important}
html body#ktApp #messages .kt-chat-back,html body#ktApp #messages .kt-chat-home{display:none!important}
html body#ktApp #messages #messageList{flex:1 1 auto!important;min-height:0!important;width:100%!important;height:auto!important;overflow-y:auto!important;overflow-x:hidden!important;padding:18px!important;background-color:#efece5!important;background-image:radial-gradient(#bdc4b740 .8px,transparent .8px)!important;background-size:20px 20px!important}
html body#ktApp #messages .message-row{display:flex!important;width:100%!important;margin:0 0 10px!important;clear:both!important}
html body#ktApp #messages .message-row.mine{justify-content:flex-end!important}
html body#ktApp #messages .message-row.theirs{justify-content:flex-start!important}
html body#ktApp #messages .message-bubble{width:auto!important;max-width:82%!important;min-width:0!important;padding:10px 12px!important;border:0!important;border-radius:12px!important;background:#fff!important;box-shadow:0 1px 2px #21392b12!important;overflow-wrap:anywhere!important;font-size:calc(15px * var(--kt-readable-scale,1))!important;line-height:1.5!important}
html body#ktApp #messages .mine .message-bubble{background:#d9fdd3!important;border-top-right-radius:3px!important}
html body#ktApp #messages .theirs .message-bubble{border-top-left-radius:3px!important}
html body#ktApp #messages .message-meta{display:flex!important;justify-content:flex-end!important;gap:6px!important;margin-top:5px!important;font-size:calc(10px * var(--kt-readable-scale,1))!important;color:#7a8c7e!important}
html body#ktApp #messages .message-bubble img{max-width:100%!important;border-radius:8px!important}
html body#ktApp #messages .compact-team-label{display:none!important}
html body#ktApp #messages .whatsapp-composer{display:grid!important;grid-template-columns:40px minmax(0,1fr) 44px!important;flex:0 0 auto!important;align-items:end!important;gap:6px!important;width:100%!important;min-width:0!important;height:auto!important;min-height:64px!important;padding:8px!important;background:#f7faf9!important;border-top:1px solid var(--chat-line)!important}
html body#ktApp #messages :is(#adminComposerRow,#teamComposerRow) .composer-input{display:grid!important;grid-template-columns:36px minmax(0,1fr) 36px!important;grid-template-rows:auto!important;align-items:center!important;gap:0!important;position:relative!important;width:100%!important;min-width:0!important;height:auto!important;min-height:46px!important;max-width:100%!important;padding:0 4px!important;border:1px solid #e2ebe5!important;border-radius:24px!important;background:#fff!important;overflow:hidden!important;box-shadow:none!important}
html body#ktApp #messages :is(#adminComposerRow,#teamComposerRow) .composer-input textarea{grid-column:2!important;grid-row:1!important;width:100%!important;min-width:0!important;height:44px!important;min-height:44px!important;max-height:100px!important;padding:11px 4px!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;resize:none!important;overflow-y:auto!important;font-size:calc(16px * var(--kt-readable-scale,1))!important;line-height:calc(22px * var(--kt-readable-scale,1))!important}
html body#ktApp #messages :is(#adminComposerRow,#teamComposerRow) :is(.composer-emoji,.composer-camera){position:static!important;grid-row:1!important;top:auto!important;right:auto!important;transform:none!important;width:36px!important;min-width:36px!important;height:44px!important;min-height:44px!important;padding:7px!important;margin:0!important;background:transparent!important;border:0!important;color:#6c8177!important;display:grid!important;place-items:center!important}
html body#ktApp #messages :is(#adminComposerRow,#teamComposerRow) .composer-emoji{grid-column:1!important}
html body#ktApp #messages :is(#adminComposerRow,#teamComposerRow) .composer-camera{grid-column:3!important}
html body#ktApp #messages .whatsapp-composer :is(.chat-send,.chat-attach){display:grid!important;place-items:center!important;width:40px!important;min-width:40px!important;height:46px!important;min-height:46px!important;padding:9px!important;margin:0!important;border:0!important;background:transparent!important;border-radius:50%!important;color:#6c8177!important;transform:none!important;box-shadow:none!important}
html body#ktApp #messages .whatsapp-composer .chat-send{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;background:#0d9488!important;color:#fff!important;align-self:center!important}
html body#ktApp #messages .whatsapp-composer svg{width:22px!important;height:22px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important}
html body#ktApp #messages .whatsapp-composer .fill-dot{fill:currentColor!important;stroke:none!important}
html body#ktApp #messages .composer-status{grid-column:1/-1!important;font-size:calc(12px * var(--kt-readable-scale,1))!important;margin:0!important}
html body#ktApp #messages .composer-status:empty{display:none!important}
html body#ktApp #messages .messages-workspace,html body#ktApp #messages .conversation-panel{margin:0!important;padding:0!important}
@media(max-width:760px){
 html body#ktApp.kt-messages-active{overflow:hidden!important}
 html body#ktApp #messages.active{position:fixed!important;inset:0!important;z-index:100!important;width:100%!important;height:var(--kt-chat-height,100dvh)!important;max-width:100%!important;padding:0!important;margin:0!important;overflow:hidden!important;background:#fff!important}
 html body#ktApp #messages .messages-shell{height:100%!important}
 html body#ktApp #messages .messages-workspace{display:flex!important;width:100%!important;height:100%!important;min-height:0!important;border:0!important;border-radius:0!important}
 html body#ktApp #messages #webChatSidebar{width:100%!important;border:0!important}
 html body#ktApp.is-admin:not(.kt-chat-open) #messages .conversation-panel{display:none!important}
 html body#ktApp.is-admin.kt-chat-open #messages #webChatSidebar{display:none!important}
 html body#ktApp #messages .kt-chat-home{display:block!important;font-size:calc(18px * var(--kt-readable-scale,1))!important}
 html body#ktApp.is-admin #messages .kt-chat-back{display:block!important}
 html body#ktApp #messages .whatsapp-head{padding:10px 8px!important;gap:4px!important;min-height:68px!important}
 html body#ktApp #messages .conversation-identity{gap:8px!important}
 html body#ktApp #messages #messageList{padding:14px 10px!important}
 html body#ktApp #messages .web-chat-item{min-height:84px!important}
 html body#ktApp #messages .whatsapp-composer{padding-bottom:max(8px,env(safe-area-inset-bottom))!important}
}

/* Tablet and Apple standalone chat: size against the visible keyboard viewport. */

 html body#ktApp.kt-messages-active.kt-messages-active{overflow:hidden!important}
 html body#ktApp.kt-messages-active #messages.active{position:fixed!important;inset:var(--kt-chat-top,0px) 0 auto!important;z-index:100!important;width:100%!important;height:var(--kt-chat-height,100dvh)!important;max-width:100%!important;padding:0!important;margin:0!important;overflow:hidden!important;background:#fff!important}
 html body#ktApp.kt-messages-active #messages .messages-shell{height:100%!important}
 html body#ktApp.kt-messages-active #messages .messages-workspace{display:flex!important;width:100%!important;height:100%!important;min-height:0!important;border:0!important;border-radius:0!important}
 html body#ktApp.kt-messages-active #messages #webChatSidebar{width:100%!important;border:0!important}
 html body#ktApp.kt-messages-active.is-admin:not(.kt-chat-open) #messages .conversation-panel{display:none!important}
 html body#ktApp.kt-messages-active.is-admin.kt-chat-open #messages #webChatSidebar{display:none!important}
 html body#ktApp.kt-messages-active #messages .kt-chat-home{display:block!important;font-size:calc(18px * var(--kt-readable-scale,1))!important}
 html body#ktApp.kt-messages-active.is-admin #messages .kt-chat-back{display:block!important}
 html body#ktApp.kt-messages-active #messages .whatsapp-head{padding:10px 8px!important;gap:4px!important;min-height:68px!important}
 html body#ktApp.kt-messages-active #messages .conversation-identity{gap:8px!important}
 html body#ktApp.kt-messages-active #messages #messageList{padding:14px 10px!important}
 html body#ktApp.kt-messages-active #messages .web-chat-item{min-height:84px!important}
 html body#ktApp.kt-messages-active #messages .whatsapp-composer{padding-bottom:max(8px,env(safe-area-inset-bottom))!important}

html body#ktApp.kt-messages-active #messages .messages-workspace{box-sizing:border-box!important}
html body#ktApp.kt-messages-active #messages .whatsapp-head{padding-top:max(10px,env(safe-area-inset-top))!important}

/* karne-mobile.css */
/* Mobile scorecards keep the original data and editing controls. */
@media(max-width:760px){
 html body#ktApp #mud,html body#ktApp #dispatch,html body#ktApp #units{width:100%!important;min-width:0!important;max-width:100%!important}
 html body#ktApp :is(#mud,#dispatch,#units) .panel{padding:6px!important;min-width:0!important}
 html body#ktApp :is(#mud,#dispatch,#units) .tablewrap{overflow:visible!important;min-width:0!important}
 html body#ktApp .karne-card-table{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;border:0!important;table-layout:auto!important;background:transparent!important}
 html body#ktApp .karne-card-table thead{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)}
 html body#ktApp :is(#mudTable,#dispatchBody,#unitPageBody){display:grid!important;gap:7px;width:100%}
 html body#ktApp :is(#mudTable,#dispatchBody,#unitPageBody) tr{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid #dce5eb!important;border-left:5px solid #18a79b!important;border-radius:10px;overflow:hidden;background:#fff!important;padding:6px;gap:0;box-shadow:0 3px 12px #1230470a}
 html body#ktApp :is(#mudTable,#dispatchBody,#unitPageBody) td{display:flex!important;flex-direction:column;align-items:flex-start;justify-content:center;width:auto!important;min-width:0!important;max-width:100%!important;padding:4px 4px!important;border:0!important;border-bottom:1px solid #edf1f4!important;font-size:calc(13px * var(--kt-readable-scale,1))!important;line-height:1.25!important;white-space:normal!important;overflow-wrap:anywhere;text-align:left!important;position:static!important;background:transparent!important;color:#17344b!important}
 html body#ktApp :is(#mudTable,#dispatchBody,#unitPageBody) td::before{content:attr(data-karne-label);font-size:calc(10px * var(--kt-readable-scale,1));color:#63798b;font-weight:600;margin-bottom:1px}
 html body#ktApp #mudTable td:nth-child(1),html body#ktApp #mudTable td:nth-child(2),html body#ktApp #mudTable td:last-child,html body#ktApp :is(#dispatchBody,#unitPageBody) td:nth-child(4),html body#ktApp :is(#dispatchBody,#unitPageBody) td:last-child{grid-column:span 2}
 html body#ktApp #mudTable td:nth-child(1),html body#ktApp :is(#dispatchBody,#unitPageBody) td:nth-child(2){font-size:calc(16px * var(--kt-readable-scale,1))!important;font-weight:800;color:#087e75!important}
 html body#ktApp #mudTable td:nth-child(2),html body#ktApp :is(#dispatchBody,#unitPageBody) td:nth-child(4){font-size:calc(13px * var(--kt-readable-scale,1))!important;font-weight:700}
 html body#ktApp #mudTable td:nth-child(-n+2)::before{display:none}
 html body#ktApp .karne-card-table :is(select,input){width:100%!important;min-width:0!important;max-width:100%!important;min-height:42px;font-size:calc(16px * var(--kt-readable-scale,1))!important;box-sizing:border-box}
 html body#ktApp :is(#mud,#dispatch,#units) :is(.grid2,.hierarchy-layout){grid-template-columns:minmax(0,1fr)!important}
 html body#ktApp :is(#dispatch,#units) .hierarchy-filters{display:flex!important;flex-wrap:wrap!important;gap:7px!important}
 html body#ktApp :is(#dispatch,#units) .hierarchy-filters label{min-width:0!important;max-width:100%!important;flex:1 1 140px}
 html body#ktApp :is(#dispatch,#units) .hierarchy-filters select{max-width:100%!important;width:100%!important;min-width:0!important}
}
@media(max-width:760px){
 html body#ktApp #teams,html body#ktApp #teams .panel,html body#ktApp #teams .tablewrap{width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box}
 html body#ktApp #teams .panel{padding:6px!important}
 html body#ktApp #teams .tablewrap{overflow:visible!important}
 html body#ktApp #teams .team-sim-table{display:block!important;width:100%!important;min-width:0!important;border:0!important;background:transparent!important;table-layout:auto!important}
 html body#ktApp #teams .team-sim-table thead{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)}
 html body#ktApp #teams #teamDetail{display:grid!important;gap:7px;width:100%}
 html body#ktApp #teams #teamDetail tr{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid #dce5eb!important;border-left:5px solid #94a3b8!important;border-radius:10px;overflow:hidden;box-shadow:0 3px 12px #1230470a;background:#fff!important;padding:6px;gap:0}
 html body#ktApp #teams #teamDetail tr.sr1,html body#ktApp #teams #teamDetail tr.sr2{border-left-color:#dc5050!important}
 html body#ktApp #teams #teamDetail tr.sr3{border-left-color:#d5ad30!important}
 html body#ktApp #teams #teamDetail tr.sr4{border-left-color:#18a79b!important}
 html body#ktApp #teams #teamDetail tr.sr5{border-left-color:#238654!important}
 html body#ktApp #teams #teamDetail td{display:flex!important;flex-direction:column;justify-content:center;align-items:flex-start;grid-column:span 2;width:auto!important;min-width:0!important;max-width:100%!important;box-sizing:border-box;border:0!important;border-bottom:1px solid #edf1f4!important;padding:4px 4px!important;font-size:calc(13px * var(--kt-readable-scale,1))!important;line-height:1.25!important;white-space:normal!important;overflow-wrap:anywhere;background:transparent!important;color:#17344b!important;text-align:left!important;position:static!important}
 html body#ktApp #teams #teamDetail td::before{content:attr(data-karne-label);font-size:calc(10px * var(--kt-readable-scale,1));color:#63798b;font-weight:600;margin-bottom:1px;line-height:1.255}
 html body#ktApp #teams #teamDetail td:nth-child(1){grid-column:span 1;font-weight:800;color:#087e75!important;font-size:calc(16px * var(--kt-readable-scale,1))!important}
 html body#ktApp #teams #teamDetail td:nth-child(2){grid-column:span 3;font-size:calc(13px * var(--kt-readable-scale,1))!important;font-weight:700}
 html body#ktApp #teams #teamDetail td:nth-child(1)::before,html body#ktApp #teams #teamDetail td:nth-child(2)::before{display:none}
 html body#ktApp #teams #teamDetail td:nth-child(3),html body#ktApp #teams #teamDetail td:nth-child(12),html body#ktApp #teams #teamDetail td:last-child{grid-column:span 4}
 html body#ktApp #teams #teamDetail td:nth-child(n+4):nth-child(-n+7),html body#ktApp #teams #teamDetail td:nth-child(n+13):nth-child(-n+16){grid-column:span 1;font-size:calc(12px * var(--kt-readable-scale,1))!important;padding:4px 2px!important;background:#f5f8fa!important}
 html body#ktApp #teams #teamDetail td:nth-child(10),html body#ktApp #teams #teamDetail td:nth-child(11),html body#ktApp #teams #teamDetail td:nth-child(12){font-weight:800}
 html body#ktApp #teams #teamDetail td:last-child{border-bottom:0!important}
 html body#ktApp #teams #teamDetail select,html body#ktApp #teams #teamDetail input{max-width:100%!important;min-width:0!important;box-sizing:border-box;font-size:calc(16px * var(--kt-readable-scale,1))!important;min-height:42px}
 html body#ktApp #teams .team-control-row,html body#ktApp #teams .team-actions{display:flex!important;flex-wrap:wrap!important;min-width:0!important;gap:7px!important}
 html body#ktApp #teams .team-identity{min-width:0!important;max-width:100%!important;overflow-wrap:anywhere}
 html body#ktApp #teams .team-actions select{max-width:100%!important;min-width:0!important;width:100%!important}
 html body#ktApp #teams .team-final-summary{display:flex!important;flex-wrap:wrap;gap:12px;padding:16px 4px!important;min-width:0!important}
 html body#ktApp #teams .grade-scale{display:flex;flex-wrap:wrap;gap:8px}
 html body#ktApp #teams .team-focus-grid{grid-template-columns:1fr!important}
 html body#ktApp #teams .team-pusula-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* Mobile scorecards keep the original data and editing controls. */
@media(max-width:760px){
 html body#ktApp #mud,html body#ktApp #mud .panel,html body#ktApp #mud .sim-scroll{width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box}
 html body#ktApp #mud .panel{padding:6px!important}
 html body#ktApp #mud .sim-scroll{overflow:visible!important}
 html body#ktApp #mud .pusula-table{display:block!important;width:100%!important;min-width:0!important;border:0!important;background:transparent!important;table-layout:auto!important}
 html body#ktApp #mud .pusula-table thead{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)}
 html body#ktApp #mud #pSimBody{display:grid!important;gap:7px;width:100%}
 html body#ktApp #mud #pSimBody tr{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid #dce5eb!important;border-left:5px solid #94a3b8!important;border-radius:10px;overflow:hidden;box-shadow:0 3px 12px #1230470a;background:#fff!important;padding:6px;gap:0}
 html body#ktApp #mud #pSimBody tr.sr1,html body#ktApp #mud #pSimBody tr.sr2{border-left-color:#dc5050!important}
 html body#ktApp #mud #pSimBody tr.sr3{border-left-color:#d5ad30!important}
 html body#ktApp #mud #pSimBody tr.sr4{border-left-color:#18a79b!important}
 html body#ktApp #mud #pSimBody tr.sr5{border-left-color:#238654!important}
 html body#ktApp #mud #pSimBody td{display:flex!important;flex-direction:column;justify-content:center;align-items:flex-start;grid-column:span 2;width:auto!important;min-width:0!important;max-width:100%!important;box-sizing:border-box;border:0!important;border-bottom:1px solid #edf1f4!important;padding:4px 4px!important;font-size:calc(13px * var(--kt-readable-scale,1))!important;line-height:1.25!important;white-space:normal!important;overflow-wrap:anywhere;background:transparent!important;color:#17344b!important;text-align:left!important;position:static!important}
 html body#ktApp #mud #pSimBody td::before{content:attr(data-karne-label);font-size:calc(10px * var(--kt-readable-scale,1));color:#63798b;font-weight:600;margin-bottom:1px;line-height:1.255}
 html body#ktApp #mud #pSimBody td:nth-child(1){grid-column:span 1;font-weight:800;color:#087e75!important;font-size:calc(16px * var(--kt-readable-scale,1))!important}
 html body#ktApp #mud #pSimBody td:nth-child(2){grid-column:span 3;font-size:calc(13px * var(--kt-readable-scale,1))!important;font-weight:700}
 html body#ktApp #mud #pSimBody td:nth-child(1)::before,html body#ktApp #mud #pSimBody td:nth-child(2)::before{display:none}
 html body#ktApp #mud #pSimBody td:nth-child(3),html body#ktApp #mud #pSimBody td:nth-child(12),html body#ktApp #mud #pSimBody td:last-child{grid-column:span 4}
 html body#ktApp #mud #pSimBody td:nth-child(n+4):nth-child(-n+7),html body#ktApp #mud #pSimBody td:nth-child(n+13):nth-child(-n+16){grid-column:span 1;font-size:calc(12px * var(--kt-readable-scale,1))!important;padding:4px 2px!important;background:#f5f8fa!important}
 html body#ktApp #mud #pSimBody td:nth-child(10),html body#ktApp #mud #pSimBody td:nth-child(11),html body#ktApp #mud #pSimBody td:nth-child(12){font-weight:800}
 html body#ktApp #mud #pSimBody td:last-child{border-bottom:0!important}
 html body#ktApp #mud #pSimBody select,html body#ktApp #mud #pSimBody input{max-width:100%!important;min-width:0!important;box-sizing:border-box;font-size:calc(16px * var(--kt-readable-scale,1))!important;min-height:42px}
 html body#ktApp #mud .team-control-row,html body#ktApp #mud .team-actions{display:flex!important;flex-wrap:wrap!important;min-width:0!important;gap:7px!important}
 html body#ktApp #mud .team-identity{min-width:0!important;max-width:100%!important;overflow-wrap:anywhere}
 html body#ktApp #mud .team-actions select{max-width:100%!important;min-width:0!important;width:100%!important}
 html body#ktApp #mud .team-final-summary{display:flex!important;flex-wrap:wrap;gap:12px;padding:16px 4px!important;min-width:0!important}
 html body#ktApp #mud .grade-scale{display:flex;flex-wrap:wrap;gap:8px}
 html body#ktApp #mud .team-focus-grid{grid-template-columns:1fr!important}
 html body#ktApp #mud .team-pusula-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

html body#ktApp #teams #teamCards{display:none!important}
/* Compact cards retain every value and comfortable score controls. */
@media(max-width:760px){
 html body#ktApp :is(#teamDetail,#pSimBody,#mudTable,#dispatchBody,#unitPageBody){gap:7px!important}
 html body#ktApp :is(#teamDetail,#pSimBody,#mudTable,#dispatchBody,#unitPageBody) tr{padding:6px!important;border-radius:10px!important}
 html body#ktApp :is(#teamDetail,#pSimBody,#mudTable,#dispatchBody,#unitPageBody) td{padding:4px 4px!important;font-size:calc(13px * var(--kt-readable-scale,1))!important;line-height:1.25!important}
 html body#ktApp :is(#teamDetail,#pSimBody,#mudTable,#dispatchBody,#unitPageBody) td::before{font-size:calc(10px * var(--kt-readable-scale,1))!important;margin-bottom:1px!important;line-height:1.25!important}
 html body#ktApp :is(#teamDetail,#pSimBody) td:nth-child(1),html body#ktApp #mudTable td:nth-child(1){font-size:calc(16px * var(--kt-readable-scale,1))!important}
 html body#ktApp :is(#teamDetail,#pSimBody) td:nth-child(2),html body#ktApp #mudTable td:nth-child(2),html body#ktApp :is(#dispatchBody,#unitPageBody) td:nth-child(4){font-size:calc(13px * var(--kt-readable-scale,1))!important}
 html body#ktApp :is(#teamDetail,#pSimBody) td:nth-child(n+4):nth-child(-n+7),html body#ktApp :is(#teamDetail,#pSimBody) td:nth-child(n+13):nth-child(-n+16){font-size:calc(12px * var(--kt-readable-scale,1))!important;padding:4px 2px!important}
 html body#ktApp :is(#teamDetail,#pSimBody,#mudTable,#dispatchBody,#unitPageBody) :is(select,input){min-height:42px!important;padding:6px!important}
}
#monthForecast td.forecast-action{white-space:normal;min-width:230px}

/* vehicles.css */
#vehicles .vehicle-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}#vehicles .vehicle-heading h2{margin-bottom:5px}#vehicles button{background:#087e75;color:white;border:0;border-radius:10px;padding:12px 16px;font-weight:700;cursor:pointer}#vehicles button:disabled{opacity:.5;cursor:default}#vehicles [hidden]{display:none!important}#vehicleStatus{color:#526b7d;margin-bottom:16px}#vehicleCards{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}#vehicles .vehicle-card{padding:20px;border:1px solid #dce5eb;background:white;border-radius:16px}#vehicles .vehicle-card h3{font-size:calc(25px * var(--kt-readable-scale,1));margin:8px 0}#vehicles .vehicle-team{color:#087e75;font-size:calc(12px * var(--kt-readable-scale,1));font-weight:700}#vehicles .vehicle-last{background:#eff7f6;border-radius:12px;padding:14px;margin:16px 0;display:grid;gap:5px}#vehicles .vehicle-last strong{font-size:calc(26px * var(--kt-readable-scale,1));color:#14374b}#vehicles form label{display:grid;gap:8px;font-size:calc(14px * var(--kt-readable-scale,1));font-weight:600}#vehicles input{width:100%;min-width:0;font-size:calc(16px * var(--kt-readable-scale,1));min-height:44px}#vehicles form button{width:100%;margin-top:14px;min-height:44px}#vehicles .vehicle-filters{display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin-bottom:16px}#vehicles .vehicle-filters label{display:grid;gap:6px;flex:1 1 150px}#vehicles .vehicle-table-wrap{overflow-x:auto;max-width:100%}#vehicles table{min-width:800px;width:100%;border-collapse:collapse}#vehicles td,#vehicles th{white-space:nowrap;padding:12px;text-align:left}#vehicles .vehicle-save-status{font-size:calc(13px * var(--kt-readable-scale,1));overflow-wrap:anywhere}#vehicleSummary{color:#526b7d;margin:12px 0}@media(max-width:760px){html body#ktApp #vehicles{width:100%!important;max-width:100%!important;min-width:0!important}#vehicleCards{grid-template-columns:minmax(0,1fr)}#vehicles .vehicle-heading{align-items:flex-start}#vehicles .vehicle-card{padding:16px}#vehicles .vehicle-heading h2{font-size:calc(22px * var(--kt-readable-scale,1))}#vehicles .panel{padding:12px}#vehicles .vehicle-filters button{flex:1 1 130px}}

#ktApp #mud>.mud-legacy-summary{display:none!important}
/* maintenance.css */
#maintenanceBanner[hidden],#maintenanceScreen[hidden],#maintenanceSettings[hidden]{display:none!important}
#maintenanceBanner{position:fixed;top:0;left:0;right:0;z-index:10020;background:#e6f5f2;color:#123c4b;border-bottom:1px solid #a4d8cf;padding:10px 20px;display:flex;gap:14px;justify-content:center;font-size:calc(14px * var(--kt-readable-scale,1));box-shadow:0 2px 8px #12334815}
body:has(#maintenanceBanner:not([hidden])){padding-top:52px}
#maintenanceScreen{position:fixed;inset:0;z-index:10030;background:#f3f7fb;display:grid;place-items:center;padding:24px;overflow:auto;color:#17364d}
#maintenanceScreen>div{width:min(100%,440px);box-sizing:border-box;text-align:center;background:white;border:1px solid #dce6ed;border-radius:24px;padding:36px 24px;box-shadow:0 16px 50px #12334810}
.maintenance-symbol{background:#0c968a;color:white;border-radius:18px;width:64px;height:64px;display:grid;place-items:center;font-size:calc(36px * var(--kt-readable-scale,1));font-weight:700;margin:0 auto 24px}
#maintenanceScreen h1{font-size:calc(24px * var(--kt-readable-scale,1))}#maintenanceScreen p{line-height:1.6;overflow-wrap:anywhere}#maintenanceScreen small{display:block;color:#637889;line-height:1.5;margin-bottom:24px}#maintenanceScreen button{display:block;margin:10px auto;min-height:44px}
#maintenanceSettings{margin-bottom:20px}#maintenanceSettings label{display:block;margin:12px 0}#maintenanceSettings select,#maintenanceSettings textarea,#maintenanceSettings input{display:block;box-sizing:border-box;width:100%;max-width:580px;padding:10px;border:1px solid #cedde6;border-radius:9px;font:inherit}#maintenanceSettings [role=status]{font-size:calc(14px * var(--kt-readable-scale,1))}
@media(max-width:600px){#maintenanceBanner{font-size:calc(12px * var(--kt-readable-scale,1));flex-direction:column;gap:3px;padding:8px 12px}#maintenanceScreen h1{font-size:calc(21px * var(--kt-readable-scale,1))}}

/* iphone.css */
.iphone-install-link{display:block;text-align:center;margin:18px auto 0;color:#087f78;font-size:calc(14px * var(--kt-readable-scale,1));text-decoration:underline;text-underline-offset:4px}
@supports(-webkit-touch-callout:none){@media(max-width:760px){input,textarea,select{font-size:calc(16px * var(--kt-readable-scale,1))!important}}}
.ios-installed body{padding-bottom:env(safe-area-inset-bottom)}
.ios-installed #welcomeScreen,.ios-installed #appChooser{box-sizing:border-box;padding-top:max(20px,env(safe-area-inset-top));padding-bottom:max(20px,env(safe-area-inset-bottom))}
.ios-installed #maintenanceScreen{padding-top:max(24px,env(safe-area-inset-top));padding-bottom:max(24px,env(safe-area-inset-bottom))}
.kt-web-push{flex:0 0 auto!important;border:1px solid #b7dcd4!important;border-radius:16px!important;padding:7px 9px!important;background:#e8f5f1!important;color:#087f78!important;font:600 calc(11px * var(--kt-readable-scale,1)) system-ui!important;white-space:nowrap!important;width:auto!important;height:auto!important;min-width:0!important}.kt-web-push:disabled{opacity:.65}

/* improvements.css */
.data-freshness{display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px;background:#edf9f5;color:#176555;border:1px solid #cee8df;border-radius:12px;padding:10px 14px;margin:0 0 12px;font-size:calc(12px * var(--kt-readable-scale,1));line-height:1.6}.data-freshness.stale{background:#fff8e9;border-color:#f0ddae;color:#865a12}.data-freshness span{color:inherit}.weekly-card{border:1px solid #dce7ed;background:#fff;border-radius:14px;padding:16px;margin:12px 0;min-width:0}.weekly-card h3{font-size:calc(15px * var(--kt-readable-scale,1));margin:0 0 5px}.weekly-card p,.weekly-card>small{font-size:calc(11px * var(--kt-readable-scale,1));color:#64748b}.weekly-chart{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;margin:16px 0}.weekly-day{text-align:center;font-size:calc(12px * var(--kt-readable-scale,1))}.weekly-day strong{font-size:calc(13px * var(--kt-readable-scale,1))}.weekly-track{height:90px;display:flex;align-items:flex-end;justify-content:center;background:#f3f7fa;border-radius:6px;margin:8px 0}.weekly-track span{display:block;width:65%;background:#11998d;border-radius:5px 5px 0 0}.weekly-day small{font-size:calc(10px * var(--kt-readable-scale,1))}#connectionState{position:fixed;bottom:8px;right:12px;z-index:80;padding:6px 10px;border:1px solid #d5e7e2;border-radius:8px;background:#f1faf7;color:#226f61;font-size:calc(11px * var(--kt-readable-scale,1));max-width:calc(100vw - 44px);pointer-events:none}#connectionState.waiting{background:#fff8e9;color:#885c18;border-color:#eed8a8}#connectionState[hidden]{display:none}.import-checks{max-height:200px;overflow:auto;border:1px solid #ead9af;border-radius:8px;padding:10px;background:#fffaed;font-size:calc(12px * var(--kt-readable-scale,1));line-height:1.6}.import-checks:empty{display:none}.km-warning{color:#8a5510;background:#fff6df;padding:8px;border-radius:8px;font-size:calc(12px * var(--kt-readable-scale,1))}.km-warning[hidden]{display:none}@media(max-width:650px){.weekly-chart{gap:5px}.weekly-card{padding:12px}.weekly-track{height:70px}#connectionState{bottom:max(8px,env(safe-area-inset-bottom))}}

.weekly-line-wrap{width:100%;margin-top:12px;background:#f8fbfc;border-radius:10px}.weekly-line-graph{display:block;width:100%;height:auto;max-height:230px;overflow:visible}.weekly-grid{stroke:#e1e9ef;stroke-width:1}.weekly-axis{fill:#64748b;font:calc(11px * var(--kt-readable-scale,1)) Arial,sans-serif}.weekly-line{fill:none;stroke:#11998d;stroke-width:3;stroke-linejoin:round;stroke-linecap:round}.weekly-point{fill:#11998d;stroke:#fff;stroke-width:2}.weekly-values{margin:8px 0 12px;padding:0 6.86%;gap:0}.weekly-values .weekly-day{display:flex;flex-direction:column;gap:5px}.weekly-values .weekly-day:first-child{transform:translateX(-50%)}.weekly-values .weekly-day:last-child{transform:translateX(50%)}
.weekly-values{display:flex;justify-content:space-between}.weekly-values .weekly-day{width:0;align-items:center;white-space:nowrap}.weekly-values .weekly-day:first-child,.weekly-values .weekly-day:last-child{transform:none}

.weekly-line-wrap{background:#fff;overflow-x:auto}.weekly-line-graph{max-height:none;min-width:600px}.weekly-line{stroke:#4c9eff;stroke-width:2}.weekly-point{fill:#fff;stroke:#4c9eff;stroke-width:2}.weekly-target{stroke:#69b95b;stroke-width:1.3;stroke-dasharray:5 4}.weekly-target-label{fill:#69b95b;font:calc(10px * var(--kt-readable-scale,1)) Arial,sans-serif}.weekly-score{fill:#162638;font:calc(10px * var(--kt-readable-scale,1)) Arial,sans-serif}.weekly-delta{font:calc(10px * var(--kt-readable-scale,1)) Arial,sans-serif}.weekly-legend{display:flex;flex-wrap:wrap;justify-content:center;gap:14px;margin:5px 0 14px;font-size:calc(11px * var(--kt-readable-scale,1));color:#64748b}.weekly-legend span{display:flex;align-items:center;gap:5px}.weekly-legend i{display:inline-block;width:10px;height:10px;border-radius:3px}.weekly-legend .legend-line{width:20px;height:3px;background:#4c9eff}.weekly-legend .legend-target{width:20px;height:0;border-top:2px dashed #69b95b}.legend-up{background:#69b95b}.legend-down{background:#f54864}

#weekly-team{padding:12px;margin:10px 0}#weekly-team .weekly-line-wrap{margin-top:6px}#weekly-team .weekly-line-graph{height:220px;max-height:220px;min-width:600px}#weekly-team .weekly-legend{margin:2px 0 8px;gap:10px}#weekly-team h3{font-size:calc(14px * var(--kt-readable-scale,1))}

#weekly-team .weekly-score,#weekly-team .weekly-delta,#weekly-team .weekly-axis{font-size:calc(14px * var(--kt-readable-scale,1))}#weekly-team .weekly-target-label{font-size:calc(12px * var(--kt-readable-scale,1))}
.weekly-area{fill:#ddecfc;fill-opacity:.85}.weekly-legend .legend-area{background:#ddecfc}.weekly-line-wrap,#weekly-team .weekly-line-wrap{max-width:850px;margin:8px auto 0}.weekly-line-graph,#weekly-team .weekly-line-graph{height:auto;max-height:none;min-width:560px;width:100%}.weekly-score,#weekly-team .weekly-score{font-size:calc(11px * var(--kt-readable-scale,1))}.weekly-axis,#weekly-team .weekly-axis{font-size:calc(11px * var(--kt-readable-scale,1))}.weekly-target-label,#weekly-team .weekly-target-label{font-size:calc(10px * var(--kt-readable-scale,1))}.weekly-legend,#weekly-team .weekly-legend{margin:4px 0 8px}
.weekly-line-wrap,#weekly-team .weekly-line-wrap{max-width:none;width:100%;margin:8px 0 0}.weekly-line-graph,#weekly-team .weekly-line-graph{width:100%;height:280px;min-width:560px;max-height:none}@media(max-width:650px){.weekly-line-graph,#weekly-team .weekly-line-graph{height:220px}}
.weekly-line-graph,#weekly-team .weekly-line-graph{height:auto}

/* leave.css */
#leave .leave-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:16px 0}#leave .leave-summary div{background:white;border:1px solid #dce6ed;border-radius:14px;padding:16px;color:#587085}#leave .leave-summary b{display:block;font-size:calc(24px * var(--kt-readable-scale,1));color:#0b8f85;margin-top:6px}#leave .panel{margin-bottom:16px}#leave .leave-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}#leave label{display:flex;flex-direction:column;gap:6px;font-size:calc(13px * var(--kt-readable-scale,1));font-weight:600}#leave input,#leave select,#leave textarea{box-sizing:border-box;width:100%;min-width:0;padding:10px;border:1px solid #d5e2eb;border-radius:9px;background:#fff;color:#16364e;font:inherit}#leave textarea{min-height:70px;resize:vertical}#leave .leave-wide{grid-column:1/-1}#leave .leave-filters{display:flex;align-items:end;gap:12px;flex-wrap:wrap}#leave .leave-filters label{flex:1;min-width:140px}#leave .leave-record{padding:16px 0;border-top:1px solid #e4ecf2;display:flex;gap:14px;justify-content:space-between;align-items:start}#leave .leave-record h3{margin:0 0 8px;font-size:calc(15px * var(--kt-readable-scale,1))}#leave .leave-record p{margin:6px 0;font-size:calc(13px * var(--kt-readable-scale,1));white-space:pre-wrap;overflow-wrap:anywhere}#leave .leave-actions{display:flex;gap:7px;flex-wrap:wrap}#leave .leave-tag{display:inline-block;border-radius:20px;padding:4px 10px;font-size:calc(12px * var(--kt-readable-scale,1));background:#fff2d5;color:#8f6100}#leave .approved{background:#e0f4ec;color:#147b55}#leave .rejected{background:#fde9e9;color:#b33c3c}#leave .cancelled{background:#edf0f4;color:#607386}#leave .leave-reject{background:#b44848}#leave [hidden]{display:none!important}@media(max-width:640px){#leave .leave-form{grid-template-columns:1fr}#leave .leave-record{flex-direction:column}#leave .leave-summary{gap:6px}#leave .leave-summary div{padding:11px;font-size:calc(12px * var(--kt-readable-scale,1))}#leave .leave-filters label{min-width:120px}#leave button{min-height:42px}}

/* signed-changes.css */
#ktApp .signed-up,#ktApp .signed-up td,#ktApp .signed-up td *{color:#087d65!important}#ktApp .signed-down,#ktApp .signed-down td,#ktApp .signed-down td *{color:#bc3434!important}#ktApp .signed-zero{color:#64748b!important}#ktApp .signed-up td:last-child,#ktApp .signed-down td:last-child{font-weight:700}#ktApp .compare-values .rise,#ktApp .compare-values .rise b{color:#087d65!important}#ktApp .compare-values .fall,#ktApp .compare-values .fall b{color:#bc3434!important}
/* message-reply.css */
.message-bubble{touch-action:pan-y;transition:transform .16s ease;position:relative}.message-bubble.reply-swiping{transition:none}.reply-swiping::before{content:'↩';position:absolute;left:-34px;top:40%;color:#0c968a;font-size:calc(24px * var(--kt-readable-scale,1))}.message-reply-compose{display:flex;align-items:center;gap:12px;background:#eef7f5;border-left:4px solid #0c968a;border-radius:8px;margin:6px 12px 0;padding:8px 10px;flex-shrink:0;min-width:0}.message-reply-compose>div{flex:1;min-width:0}.message-reply-compose strong,.message-reply-quote strong{display:block;color:#078478;font-size:calc(13px * var(--kt-readable-scale,1))}.message-reply-compose span,.message-reply-quote span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:calc(13px * var(--kt-readable-scale,1));color:#51616a}.message-reply-compose button{border:0;background:none;font-size:calc(24px * var(--kt-readable-scale,1));color:#51616a;padding:4px 10px}.message-reply-quote{display:block;width:100%;text-align:left;border:0;border-left:3px solid #0c968a;background:rgba(12,150,138,.09);border-radius:5px;padding:7px 9px;margin:4px 0 7px;max-width:100%;cursor:pointer}.reply-highlight{outline:2px solid #0c968a;outline-offset:3px}@media(prefers-reduced-motion:reduce){.message-bubble{transition:none}}

/* manager-messages.css */
#managerChatSwitch{display:flex;gap:8px;padding:8px 12px;background:#fff;border-bottom:1px solid #e1e9ee}#managerChatSwitch[hidden],#managerChatPanel[hidden]{display:none!important}#managerChatSwitch button{border:1px solid #c8dedb;background:#f2faf8;color:#17364d;border-radius:8px;padding:10px 14px;cursor:pointer}#managerChatBadge,.dm-count{background:#e34949;color:white;border-radius:20px;padding:2px 7px;font-size:calc(12px * var(--kt-readable-scale,1))}#messages.manager-chat-mode .messages-workspace{display:none!important}#managerChatPanel{display:grid;grid-template-columns:280px minmax(0,1fr);height:calc(100dvh - 210px);min-height:380px;background:white;border:1px solid #dce6ec;border-radius:14px;overflow:hidden}#managerChatPanel aside{border-right:1px solid #e4ecee;overflow:auto;padding:12px}#managerChatPeople button{display:block;position:relative;width:100%;text-align:left;border:0;border-radius:8px;padding:16px 12px;margin:4px 0;background:#f5f8fb;color:#17364d;cursor:pointer}#managerChatPeople button.active{background:#dff3ec}#managerChatPeople small{display:block;margin-top:5px}.dm-count{position:absolute;right:8px;top:8px}.dm-conversation{display:flex;flex-direction:column;min-height:0;min-width:0;background:#f5faf8}.dm-conversation header{background:#fff;padding:14px;border-bottom:1px solid #dce6ec}.dm-conversation header small{display:block;color:#627586;margin-top:5px}#dmBack{display:none}#dmMessages{flex:1;overflow:auto;padding:16px;min-height:0}.dm-row{display:flex;margin:8px 0}.dm-row.mine{justify-content:flex-end}.dm-bubble{position:relative;max-width:85%;padding:12px 28px 9px 12px;border-radius:12px;background:#fff;border:1px solid #e0e8e7;touch-action:pan-y}.mine .dm-bubble{background:#daf5df}.dm-text{white-space:pre-wrap;overflow-wrap:anywhere}.dm-bubble small{display:block;text-align:right;color:#687b81;font-size:calc(11px * var(--kt-readable-scale,1));margin-top:8px}.dm-answer{position:absolute;right:4px;top:3px;background:none;border:0;color:#0c968a;cursor:pointer}.dm-quote,#dmReply{border-left:3px solid #0c968a;background:#e7f2ed;padding:7px 10px;border-radius:6px;margin-bottom:7px}.dm-quote strong,#dmReply strong{display:block;color:#078478;font-size:calc(13px * var(--kt-readable-scale,1))}.dm-quote span,#dmReply span{display:block;font-size:calc(13px * var(--kt-readable-scale,1));max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#dmReply{display:flex;margin:5px 12px;gap:10px;min-width:0}#dmReply[hidden]{display:none}#dmReply>div{flex:1;min-width:0}#dmReply button{background:none;border:0;font-size:calc(22px * var(--kt-readable-scale,1))}#dmForm{display:flex;gap:8px;padding:10px 12px;padding-bottom:max(10px,env(safe-area-inset-bottom));align-items:center}#dmForm textarea{flex:1;min-width:0;resize:none;border:1px solid #cadbd7;border-radius:14px;padding:10px;font:inherit}#dmForm button{background:#0c968a;color:#fff;border:0;border-radius:12px;padding:10px}#dmStatus{font-size:calc(12px * var(--kt-readable-scale,1));padding:0 12px;margin:0 0 5px;color:#526b79}.dm-photo{border:0;background:none;padding:0}.dm-photo img{display:block;max-width:100%;max-height:300px;border-radius:8px}.dm-empty{text-align:center;color:#627586}@media(max-width:760px){#managerChatPanel{grid-template-columns:1fr;height:calc(var(--kt-chat-height,100dvh) - 55px);min-height:0;border-radius:0}#managerChatPanel .dm-conversation{display:none}#messages.dm-peer-open #managerChatPanel aside{display:none}#messages.dm-peer-open #managerChatPanel .dm-conversation{display:flex}#dmBack{display:inline-block;border:0;background:none;font-size:calc(22px * var(--kt-readable-scale,1));margin-right:8px}#managerChatSwitch{flex-shrink:0}#messages.manager-chat-mode{display:flex!important;flex-direction:column}#managerChatPanel{flex:1;min-height:0}}
html body#ktApp #messages.manager-chat-mode .messages-shell{display:none!important}html body#ktApp #managerChatPanel .dm-conversation header{position:static!important;display:block!important;min-height:64px;height:auto!important;padding:14px!important}html body#ktApp #dmName{display:block!important;color:#17364d!important;font-size:calc(16px * var(--kt-readable-scale,1))!important}
#managerChatBadge:empty{display:none}
/* Shared visual language with the team conversations. */
html body#ktApp #managerChatPanel{grid-template-columns:340px minmax(0,1fr);height:calc(100dvh - 180px);min-height:420px;border-radius:18px;border-color:#e5ebe9}
#managerChatPanel aside{padding:0;background:#fff;display:flex;flex-direction:column;min-height:0}
.dm-sidebar-head{display:flex;align-items:center;gap:12px;padding:18px;min-height:76px;background:#f7faf9;border-bottom:1px solid #e5ebe9;box-sizing:border-box}.dm-sidebar-head h3{font-size:calc(23px * var(--kt-readable-scale,1));letter-spacing:-.5px;margin:0;color:#172b43}.dm-sidebar-head small{display:block;font-size:calc(12px * var(--kt-readable-scale,1));color:#70847d;margin-top:3px}#dmHome{display:none;border:0;background:none;font-size:calc(24px * var(--kt-readable-scale,1));color:#17364d}
.dm-search{display:flex;align-items:center;gap:8px;padding:10px 16px;color:#70847d;background:#fff}.dm-search input{width:100%;min-width:0;border:0;background:#f0f5f3;border-radius:12px;padding:12px;font:inherit;font-size:calc(15px * var(--kt-readable-scale,1))}
#managerChatPeople{flex:1;overflow:auto;min-height:0}#managerChatPeople button{display:grid;grid-template-columns:48px minmax(0,1fr) 60px;gap:12px;align-items:center;border:0;border-bottom:1px solid #f0f3f2;border-radius:0;min-height:82px;padding:14px 16px;margin:0;background:#fff;box-sizing:border-box}#managerChatPeople button:hover,#managerChatPeople button.active{background:#eaf6f2}.dm-avatar{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:#e0f3ee;color:#167966;font-size:calc(16px * var(--kt-readable-scale,1));font-weight:700;flex-shrink:0}.dm-person-info{min-width:0}.dm-person-info strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:calc(14px * var(--kt-readable-scale,1))}.dm-person-info small{color:#70847d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:calc(12px * var(--kt-readable-scale,1));margin-top:5px}.dm-person-meta{display:flex;flex-direction:column;align-items:flex-end;gap:5px}.dm-person-meta time{font-size:calc(10px * var(--kt-readable-scale,1));color:#7a8b85}.dm-count{position:static;background:#0d9488;font-weight:700}
html body#ktApp #managerChatPanel .dm-conversation header{display:flex!important;align-items:center;gap:12px;background:#f7faf9!important;min-height:76px!important;padding:12px 18px!important;border-bottom:1px solid #e5ebe9}.dm-header-info{min-width:0;flex:1}html body#ktApp #dmName{font-size:calc(16px * var(--kt-readable-scale,1))!important;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dm-conversation header small{font-size:calc(12px * var(--kt-readable-scale,1));color:#70847d}
.dm-conversation{background:#edf1eb;background-image:radial-gradient(#dce4dc .6px,transparent .6px);background-size:18px 18px;position:relative}#dmMessages{padding:20px 28px}.dm-bubble{box-shadow:0 1px 2px #142b2814;border:0;border-radius:9px;max-width:min(78%,650px);padding:10px 30px 7px 12px}.mine .dm-bubble{background:#dcf8c6}.theirs .dm-bubble{background:#fff}.dm-text{font-size:calc(15px * var(--kt-readable-scale,1));line-height:1.5}.dm-bubble small{font-size:calc(11px * var(--kt-readable-scale,1));color:#81908a}.dm-answer{font-size:calc(18px * var(--kt-readable-scale,1));opacity:.65;right:5px;top:3px}.dm-bubble:hover .dm-answer{opacity:1}
#dmForm{flex-shrink:0;background:#f0f4f2;padding:10px 14px;padding-bottom:max(10px,env(safe-area-inset-bottom));gap:10px}#dmForm #dmAttach{background:none;color:#70847d;padding:6px;width:32px;height:42px}#dmForm svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.dm-input{display:flex;align-items:center;flex:1;min-width:0;border:1px solid #e1e9e6;border-radius:24px;background:#fff;padding:0 10px}#dmForm textarea{border:0;background:none;padding:11px 3px;border-radius:0;font-size:calc(15px * var(--kt-readable-scale,1));min-height:42px;max-height:100px;box-sizing:border-box;outline:none}#dmForm #dmEmoji,#dmForm #dmCamera{background:none;color:#7d8d86;padding:5px;font-size:calc(25px * var(--kt-readable-scale,1));min-width:32px;height:36px;border-radius:0}#dmForm #dmSend{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;padding:10px;background:#0d9488;flex-shrink:0}#dmForm #dmSend svg{width:25px;height:25px}#dmStatus{background:#f0f4f2;margin:0;padding:0 14px 4px;color:#70847d}#dmStatus:empty{padding:0}#dmEmojiPicker{display:flex;gap:5px;flex-wrap:wrap;padding:8px 14px;background:#fff;border-top:1px solid #e1e9e6}#dmEmojiPicker button{border:0;background:none;padding:6px;font-size:calc(24px * var(--kt-readable-scale,1));cursor:pointer}
@media(max-width:760px){html body#ktApp #managerChatPanel{grid-template-columns:1fr;height:calc(var(--kt-chat-height,100dvh) - 55px);min-height:0;border:0;border-radius:0}#dmHome{display:block}html body#ktApp #managerChatPanel .dm-conversation header{min-height:68px!important;padding:10px 8px!important;gap:8px}#dmMessages{padding:14px 10px}.dm-bubble{max-width:88%}#dmForm{padding:8px;gap:6px}.dm-avatar{width:40px;height:40px}#managerChatSwitch button{font-size:calc(13px * var(--kt-readable-scale,1));padding:9px 12px}}
html body#ktApp.kt-messages-active #messages.manager-chat-mode{display:flex!important;flex-direction:column}html body#ktApp.kt-messages-active #managerChatPanel{grid-template-columns:1fr;flex:1;height:auto;min-height:0;border:0;border-radius:0}html body#ktApp.kt-messages-active #managerChatPanel .dm-conversation{display:none}html body#ktApp.kt-messages-active #messages.dm-peer-open #managerChatPanel aside{display:none}html body#ktApp.kt-messages-active #messages.dm-peer-open #managerChatPanel .dm-conversation{display:flex}html body#ktApp.kt-messages-active #dmBack,html body#ktApp.kt-messages-active #dmHome{display:inline-block}html body#ktApp.kt-messages-active #dmMessages{padding:14px 10px}html body#ktApp.kt-messages-active #managerChatPanel header{padding-top:max(10px,env(safe-area-inset-top))!important}
html body#ktApp #messages #dmForm #dmText,html body#ktApp #messages #dmForm #dmText:focus,html body#ktApp #messages #dmForm #dmText:focus-visible{outline:none!important;box-shadow:none!important;border:0!important;background:transparent!important;resize:none!important;overflow-y:auto}html body#ktApp #messages #dmForm .dm-input:focus-within{box-shadow:none!important;outline:none!important;border-color:#e1e9e6!important}

/* The conversation switch consumes height on phones; both panes share the remaining viewport. */
html body#ktApp.kt-messages-active #messages.active.has-manager-chats{display:flex!important;flex-direction:column!important}
html body#ktApp.kt-messages-active #messages.has-manager-chats .messages-shell{flex:1 1 0!important;min-height:0!important;height:auto!important;overflow:hidden!important}
html body#ktApp.kt-messages-active #managerChatSwitch{flex:0 0 auto!important}
html body#ktApp #managerChatPanel .dm-conversation header{flex-direction:row!important;justify-content:flex-start!important;text-align:left!important;flex-shrink:0!important}
html body#ktApp #managerChatPanel .dm-header-info{display:block!important;text-align:left!important}
html body#ktApp #managerChatPanel #dmForm{flex:0 0 auto!important;position:relative!important;margin:0!important}
html body#ktApp #managerChatPanel #dmMessages{min-height:0!important;flex:1 1 0!important}
@media(max-width:760px){html body#ktApp #messages.active.has-manager-chats{display:flex!important;flex-direction:column!important}html body#ktApp #messages.has-manager-chats .messages-shell{flex:1 1 0!important;min-height:0!important;height:auto!important;overflow:hidden!important}}

/* operations.css */
.ops-notice{padding:12px 14px;background:#eef8f6;border:1px solid #cde5df;border-radius:10px;color:#175d59;line-height:1.6;font-size:calc(13px * var(--kt-readable-scale,1))}.ops-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0}.ops-grid>div{border:1px solid #dbe6ed;border-radius:12px;padding:14px;background:white}.ops-grid strong{font-size:calc(24px * var(--kt-readable-scale,1));display:block;color:#0b8279}.ops-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:16px 0}.ops-form label{display:flex;flex-direction:column;gap:6px;font-size:calc(13px * var(--kt-readable-scale,1))}.ops-wide{grid-column:1/-1}.ops-form input,.ops-form select,.ops-form textarea{width:100%;box-sizing:border-box;min-height:42px;border:1px solid #cbdbe4;border-radius:8px;padding:10px;background:white;color:#17364d;font:inherit}.ops-form textarea{min-height:80px}.ops-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:12px 0}.ops-scroll{max-width:100%;overflow:auto}.ops-scroll table{width:100%;border-collapse:collapse;font-size:calc(13px * var(--kt-readable-scale,1))}.ops-scroll th,.ops-scroll td{padding:11px;text-align:left;border-bottom:1px solid #e1e9ef;vertical-align:top}.ops-scroll th{background:#eef5f8;white-space:nowrap}.ops-scroll small{display:block;color:#657b91;margin-top:5px}.ops-tag{display:inline-block;padding:4px 8px;border-radius:8px;background:#eaf5f3;color:#096c61;white-space:nowrap}.ops-late{color:#b73535!important;background:#fff1f0!important}.ops-error{color:#b73535}.ops-actions{display:flex;gap:8px;flex-wrap:wrap}.ops-details{margin:14px 0;border:1px solid #dde7ed;border-radius:10px;padding:12px}.ops-details>summary{cursor:pointer;font-weight:600}.ops-diff{max-height:220px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font-size:calc(12px * var(--kt-readable-scale,1))}.ops-admin #compare-mud{display:none!important}.ops-admin #executive>h3,.ops-admin #executive>.exec-scroll,.ops-admin #executive>label,.ops-admin #executive>p,.ops-admin #executive>details{display:none}.ops-admin #executive .ops-compact p,.ops-admin #executive .ops-compact h3{display:block}.ops-admin #executive .exec-grid{margin-top:14px}.ops-admin #executive>.muted:first-of-type{display:block}.ops-admin #executive .ops-compact{margin-top:16px}.ops-capacity{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.ops-capacity article{border:1px solid #dae5ed;padding:12px;border-radius:10px}.ops-empty{padding:14px;color:#657b91}.ops-admin #executive #opsExecDetails{display:block}.ops-admin #executive #opsExecDetails>summary{display:block}.ops-admin #executive #opsExecDetails .exec-scroll{display:block}@media(max-width:700px){.ops-form{grid-template-columns:1fr}.ops-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ops-capacity{grid-template-columns:1fr}.ops-wide{grid-column:auto}.ops-scroll td{min-width:95px}}[hidden]{display:none!important}
.ops-toolbar button,.ops-actions button,.ops-scroll button,.ops-form button,#opsTaskRefresh,#executive button,#opsRestoreConfirm button{border:1px solid #cbdfe2;background:#edf7f5;border-radius:8px;color:#086f67;padding:9px 12px;min-height:40px;font:inherit;font-size:calc(12px * var(--kt-readable-scale,1));cursor:pointer}.ops-form button[type=submit]{background:#0b9387;color:white;border-color:#0b9387}.ops-toolbar button:disabled,.ops-form button:disabled{opacity:.5;cursor:wait}nav [data-view=actions]{display:flex;align-items:center;gap:24px}nav [data-view=actions]::before{content:'✓';font-size:calc(20px * var(--kt-readable-scale,1));font-weight:600}

/* design.css */
/* Shared visual system. Existing report, auth, input and message logic remains authoritative. */
html body#ktApp{--ui-bg:#f3f6fa;--ui-paper:#fff;--ui-ink:#162e45;--ui-muted:#526b80;--ui-line:#dce5ed;--ui-accent:#087f76;--ui-soft:#edf7f5;--ui-danger:#ae3037;--ui-warning:#93600f;font-family:Inter,'Segoe UI',system-ui,sans-serif!important;font-size:calc(15px * var(--kt-readable-scale,1))!important;line-height:1.55;color:var(--ui-ink)!important;background:var(--ui-bg)!important}
html body#ktApp>main{min-width:0!important;padding:24px!important}
html body#ktApp main .view{min-width:0;max-width:100%}
html body#ktApp main .view:not(#messages) h2{font-size:calc(22px * var(--kt-readable-scale,1))!important;line-height:1.3;letter-spacing:-.35px;margin-top:0}
html body#ktApp main .view:not(#messages) h3{font-size:calc(17px * var(--kt-readable-scale,1))!important;line-height:1.4;letter-spacing:-.2px}
html body#ktApp main .view:not(#messages) p,html body#ktApp main .view:not(#messages) li{font-size:calc(14px * var(--kt-readable-scale,1))!important;line-height:1.65}
html body#ktApp main .muted,html body#ktApp main .pro-page-heading p{color:var(--ui-muted)!important}
html body#ktApp main small,html body#ktApp main .pusula-date{font-size:calc(12px * var(--kt-readable-scale,1))!important;line-height:1.5}
html body#ktApp .panel,html body#ktApp .focus-box,html body#ktApp .sim-box,html body#ktApp .karne-compare{padding:22px!important;border:1px solid var(--ui-line)!important;border-radius:14px!important;background:var(--ui-paper)!important;box-shadow:0 2px 8px #142c4510!important;margin-bottom:20px}
html body#ktApp .pro-page-heading,html body#ktApp .vehicle-heading,html body#ktApp .exec-heading{gap:16px;align-items:center;margin-bottom:20px}
html body#ktApp .pro-eyebrow{font-size:calc(11px * var(--kt-readable-scale,1))!important;letter-spacing:1.2px}
html body#ktApp main .view:not(#messages) button:not(.uwr-row){font:600 calc(14px * var(--kt-readable-scale,1))/1.3 Inter,'Segoe UI',system-ui,sans-serif!important;min-height:44px!important;border-radius:9px!important;padding:10px 16px!important;border:1px solid #c7d9e1!important;background:#fff!important;color:#26475e!important;box-shadow:none!important;white-space:normal!important;cursor:pointer;transition:background .15s,border-color .15s}
html body#ktApp main .view:not(#messages) button:not(.uwr-row):hover{background:#eef5f8!important;border-color:#9bbdc7!important}
html body#ktApp main .view:not(#messages) button.ui-primary{background:var(--ui-accent)!important;border-color:var(--ui-accent)!important;color:#fff!important}
html body#ktApp main .view:not(#messages) button.ui-primary:hover{background:#066a63!important}
html body#ktApp main .view:not(#messages) button.ui-danger{color:var(--ui-danger)!important;border-color:#e4b7bc!important;background:#fff8f8!important}
html body#ktApp button:disabled{opacity:.55;cursor:not-allowed!important}
html body#ktApp button:focus-visible,html body#ktApp a:focus-visible,html body#ktApp summary:focus-visible{outline:3px solid #6fc9bb!important;outline-offset:3px}
html body#ktApp main .view:not(#messages) input:not([type=checkbox]):not([type=radio]):not([type=hidden]),html body#ktApp main .view:not(#messages) select,html body#ktApp main .view:not(#messages) textarea{font:400 calc(14px * var(--kt-readable-scale,1))/1.4 Inter,'Segoe UI',system-ui,sans-serif!important;color:var(--ui-ink)!important;border:1px solid #bfcfdb!important;border-radius:9px!important;min-height:44px!important;padding:10px 12px!important;background:#fff!important;max-width:100%;box-sizing:border-box}
html body#ktApp main label{font-size:calc(14px * var(--kt-readable-scale,1));line-height:1.5}
html body#ktApp main .view:not(#messages) input:focus-visible,html body#ktApp main .view:not(#messages) select:focus-visible,html body#ktApp main .view:not(#messages) textarea:focus-visible{outline:2px solid #98d6cd!important;outline-offset:2px}
html body#ktApp table{font-variant-numeric:tabular-nums}
html body#ktApp main th,html body#ktApp main td{font-size:calc(13px * var(--kt-readable-scale,1))!important;padding:12px!important;line-height:1.5!important}
html body#ktApp main th{background:#edf3f7!important;color:#385268!important;font-weight:650!important}
html body#ktApp .ui-simple-table{min-width:0!important;width:100%!important;table-layout:auto!important}
html body#ktApp .ui-simple-table td{overflow-wrap:anywhere}
html body#ktApp .ui-scroll-hint{font-size:calc(12px * var(--kt-readable-scale,1))!important;color:var(--ui-muted);margin:7px 0 12px;display:none}
html body#ktApp .exec-grid,html body#ktApp .ops-grid,html body#ktApp .forecast-summary{gap:14px!important;margin:16px 0!important}
html body#ktApp .exec-grid>div,html body#ktApp .ops-grid>div,html body#ktApp .forecast-summary>div{border:1px solid var(--ui-line)!important;background:#f8fafc!important;border-radius:12px!important;padding:16px!important;font-size:calc(13px * var(--kt-readable-scale,1))!important;min-width:0}
html body#ktApp .exec-grid strong,html body#ktApp .ops-grid strong,html body#ktApp .forecast-summary strong{font-size:calc(28px * var(--kt-readable-scale,1))!important;line-height:1.2!important;margin-top:8px!important;font-variant-numeric:tabular-nums}
html body#ktApp .ui-tone-low{color:var(--ui-danger)!important}html body#ktApp .ui-tone-near{color:var(--ui-warning)!important}html body#ktApp .ui-tone-good{color:#087a4d!important}
html body#ktApp .ui-score-status{display:block;font-size:calc(12px * var(--kt-readable-scale,1))!important;line-height:1.4;margin-top:7px;font-weight:600}
html body#ktApp .ops-notice{background:#eef7f6;border-color:#d1e6e1;color:#315e5b;padding:14px!important;border-radius:10px}
html body#ktApp .ops-form{gap:16px!important}html body#ktApp .ops-form label{gap:7px}
html body#ktApp main .ops-capacity article{border-radius:12px;padding:16px;background:#f8fafc}
html body#ktApp #units .hierarchy-summary{grid-auto-rows:auto!important;align-items:stretch!important}
html body#ktApp #units .hierarchy-summary>.p-card{height:auto!important;min-height:132px!important}
html body#ktApp #units #unitWeightRanking{height:auto!important;min-height:132px;overflow:visible!important}
html body#ktApp #unitWeightRanking .uwr-heading h3{font-size:calc(14px * var(--kt-readable-scale,1))!important}html body#ktApp #unitWeightRanking .uwr-row>b{font-size:calc(11px * var(--kt-readable-scale,1))!important;white-space:normal!important}html body#ktApp #unitWeightRanking .uwr-row>strong{font-size:calc(12px * var(--kt-readable-scale,1))!important}
html body#ktApp #unitWeightRanking .uwr-row{min-height:22px!important;line-height:1.3!important;grid-template-columns:100px minmax(0,1fr) 36px!important}html body#ktApp #unitWeightRanking .uwr-list{gap:7px!important}html body#ktApp #unitWeightRanking .uwr-chart{padding:12px!important}
html body#ktApp>nav button[data-view]{font-size:calc(14px * var(--kt-readable-scale,1))!important;gap:14px!important;min-height:48px!important;display:flex!important;align-items:center!important}
html body#ktApp>nav button[data-view]::before{display:none!important}
html body#ktApp .nav-icon{display:inline-flex!important;flex:0 0 22px;width:22px!important;height:22px!important;align-items:center;justify-content:center}
html body#ktApp .nav-icon svg,html body#ktApp .ui-icon{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
html body#ktApp>header{min-height:64px!important;padding:12px 24px!important}
html body#ktApp>header h1{font-size:calc(19px * var(--kt-readable-scale,1))!important}html body#ktApp>header p{font-size:calc(12px * var(--kt-readable-scale,1))!important}
html body#ktApp>.cloudbar{padding:10px 24px!important;gap:12px!important;min-height:54px!important;font-size:calc(13px * var(--kt-readable-scale,1))!important}
html body#ktApp .cloudbar button{min-height:40px!important;font-size:calc(13px * var(--kt-readable-scale,1))!important;border-radius:8px!important;padding:8px 12px!important}
html body#ktApp #connectionState{display:none!important}
.ui-menu-toggle,.ui-sync-toggle,.ui-nav-close,.ui-nav-backdrop{display:none!important}
html body#ktApp .ui-skeleton{display:none;gap:12px;margin:16px 0}.ui-skeleton>span{height:96px;border-radius:12px;background:linear-gradient(90deg,#e6edf3,#f6f9fc,#e6edf3);background-size:200% 100%;animation:ui-shimmer 1.6s infinite}
html body#ktApp .view[aria-busy=true]>.ui-skeleton{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
html body#ktApp #leave[aria-busy=true] #leaveSummary,html body#ktApp #leave[aria-busy=true] #leaveList,html body#ktApp #vehicles[aria-busy=true] #vehicleAdminPanel,html body#ktApp #vehicles[aria-busy=true] #opsVehicle{visibility:hidden}
html body#ktApp .ui-error{border-left:3px solid var(--ui-danger);padding:10px 14px;background:#fff1f1;color:var(--ui-danger)}
@keyframes ui-shimmer{to{background-position:-200% 0}}
@media(prefers-reduced-motion:reduce){html body#ktApp *{animation:none!important;scroll-behavior:auto!important;transition:none!important}}
/* Chat composition geometry is intentionally left to the tested message styles. */
html body#ktApp #messages .web-chat-copy{min-width:0;text-align:left}
html body#ktApp #messages .web-chat-copy>b{font-size:calc(14px * var(--kt-readable-scale,1))!important;line-height:1.4!important;white-space:normal!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html body#ktApp #messages .chat-team-code{display:block;color:#536d7b;font-size:calc(11px * var(--kt-readable-scale,1));line-height:1.5;margin-top:3px}
html body#ktApp #messages .web-chat-copy>small{display:block;font-size:calc(12px * var(--kt-readable-scale,1))!important;margin-top:4px}
html body#ktApp .web-chat-item[data-team]{min-height:100px!important}
html body#ktApp #messages .whatsapp-head .kt-web-push,html body#ktApp #managerChatPanel .dm-conversation header .kt-web-push{display:none!important}
html body#ktApp .kt-web-push{font-size:calc(12px * var(--kt-readable-scale,1))!important;min-height:44px!important;border-radius:9px!important}
html body#ktApp .web-chat-sidebar-head h3,html body#ktApp .dm-sidebar-head h3{font-size:calc(20px * var(--kt-readable-scale,1))!important}
@media(max-width:1024px){
 html body#ktApp:not(.welcome-locked):not(.chooser-locked)>header{display:flex!important;position:sticky!important;top:0;z-index:800;flex-direction:row!important;justify-content:flex-start!important;align-items:center!important;gap:10px;min-height:58px!important;height:auto!important;padding:7px 12px!important;padding-top:max(7px,env(safe-area-inset-top))!important;margin:0!important;width:100%!important;text-align:left!important;border-bottom:1px solid var(--ui-line)!important}
 html body#ktApp>header>div:first-of-type{flex:1;min-width:0}html body#ktApp>header h1{font-size:calc(17px * var(--kt-readable-scale,1))!important;margin:0!important}html body#ktApp>header p,html body#ktApp>header #date{display:none!important}
 html body#ktApp .ui-menu-toggle,html body#ktApp .ui-sync-toggle{display:inline-flex!important;align-items:center;justify-content:center;gap:7px;background:#fff!important;border:1px solid var(--ui-line)!important;color:var(--ui-ink)!important;border-radius:9px!important;height:44px!important;min-width:44px;padding:8px!important;flex:0 0 auto;font-size:calc(12px * var(--kt-readable-scale,1))!important}
 html body#ktApp .ui-sync-dot{width:8px;height:8px;background:#087a4d;border-radius:50%;display:block}.ui-sync-toggle.ui-offline .ui-sync-dot{background:#ae3037!important}
 html body#ktApp:not(.welcome-locked):not(.chooser-locked)>.cloudbar{display:none!important;position:fixed!important;top:66px;right:12px;left:12px;z-index:850;padding:16px!important;border:1px solid var(--ui-line)!important;border-radius:12px!important;box-shadow:0 10px 30px #10263e26!important;max-width:500px;margin-left:auto;gap:12px!important}
 html body#ktApp.ui-sync-open>.cloudbar{display:flex!important}html body#ktApp .cloudbar .cloud-status{flex:1 1 100%;order:-1;overflow-wrap:anywhere}
 html body#ktApp:not(.welcome-locked):not(.chooser-locked)>nav{position:fixed!important;inset:0 auto 0 0!important;width:292px!important;max-width:86vw!important;height:100dvh!important;margin:0!important;padding:20px 14px!important;padding-top:max(20px,env(safe-area-inset-top))!important;z-index:1002!important;display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;transform:translateX(-110%);transition:transform .2s ease;overflow-x:hidden!important;overflow-y:auto!important;box-shadow:12px 0 40px #12253f30!important}
 html body#ktApp.ui-nav-open>nav{transform:translateX(0)!important}
 html body#ktApp>nav .pro-brand,html body#ktApp>nav .pro-nav-label,html body#ktApp>nav .pro-nav-footer{display:flex!important}html body#ktApp>nav .pro-brand{gap:10px;align-items:center;margin-bottom:20px!important}html body#ktApp>nav .pro-nav-label{margin-bottom:12px;font-size:calc(11px * var(--kt-readable-scale,1))}html body#ktApp>nav .pro-nav-footer{flex-direction:column;margin-top:20px;font-size:calc(12px * var(--kt-readable-scale,1))}
 html body#ktApp>nav button[data-view]{flex:0 0 auto!important;width:100%!important;text-align:left!important;white-space:normal!important;padding:12px!important;border-bottom:0!important;border-radius:9px!important;font-size:calc(14px * var(--kt-readable-scale,1))!important}
 html body#ktApp .ui-nav-close{display:flex!important;align-self:flex-end;align-items:center;justify-content:center;width:44px;height:44px;background:#203953!important;border:0;color:#fff;border-radius:9px;font-size:calc(24px * var(--kt-readable-scale,1));margin-bottom:10px}
 html body#ktApp.ui-nav-open .ui-nav-backdrop{display:block!important;position:fixed;inset:0;background:#10243866;border:0;z-index:1001;width:100%;height:100dvh}
 html body#ktApp:not(.welcome-locked):not(.chooser-locked)>main{margin:0!important;width:100%!important;max-width:100%!important;padding:16px 12px!important}
 html body#ktApp .panel,html body#ktApp .focus-box,html body#ktApp .sim-box,html body#ktApp .karne-compare{padding:18px!important;border-radius:12px!important;margin-bottom:16px}
 html body#ktApp .exec-heading{align-items:flex-start!important;flex-wrap:wrap;gap:12px;margin-bottom:16px}
 html body#ktApp .exec-grid,html body#ktApp .ops-grid,html body#ktApp .forecast-summary{gap:10px!important}
 html body#ktApp .data-freshness{padding:12px!important;margin:0 0 14px!important;font-size:calc(12px * var(--kt-readable-scale,1))!important;line-height:1.5}
 html body#ktApp .ui-scroll-hint{display:block}
 html body#ktApp .ui-simple-table.ui-mobile-cards{display:block!important;min-width:0!important;border:0!important}
 html body#ktApp .ui-mobile-cards>thead{display:none!important}html body#ktApp .ui-mobile-cards>tbody{display:grid!important;gap:12px}
 html body#ktApp .ui-mobile-cards>tbody>tr{display:block!important;border:1px solid var(--ui-line)!important;border-radius:10px!important;padding:4px 12px!important;background:#fff!important}
 html body#ktApp .ui-mobile-cards>tbody>tr>td{display:grid!important;grid-template-columns:minmax(72px,32%) minmax(0,1fr);align-items:start;gap:12px;min-width:0!important;width:auto!important;border-bottom:1px solid #edf2f5!important;padding:10px 0!important;white-space:normal!important;text-align:left!important}
 html body#ktApp .ui-mobile-cards td::before{content:attr(data-ui-label);font-size:calc(12px * var(--kt-readable-scale,1));color:var(--ui-muted);font-weight:600}html body#ktApp .ui-mobile-cards td:last-child{border:0!important}
 html body#ktApp .ui-mobile-cards td button{max-width:100%;width:max-content}
 html body#ktApp .ui-card-table-wrap{border:0!important;overflow:visible!important;background:transparent!important}
 html body#ktApp #messages .web-chat-sidebar-head .kt-web-push,html body#ktApp #managerChatPanel .dm-sidebar-head .kt-web-push{display:inline-flex!important}
 html body#ktApp.kt-chat-open #messages .whatsapp-head .kt-web-push,html body#ktApp #messages.dm-peer-open #managerChatPanel .dm-conversation header .kt-web-push{display:inline-flex!important;flex:0 0 auto!important;font-size:calc(11px * var(--kt-readable-scale,1))!important;max-width:120px;white-space:normal!important;min-height:40px!important}
 html body#ktApp.kt-messages-active>header,html body#ktApp.kt-messages-active>.cloudbar{display:none!important}
}
@media(max-width:650px){
 html body#ktApp main .view:not(#messages) input:not([type=checkbox]):not([type=radio]):not([type=hidden]),html body#ktApp main .view:not(#messages) select,html body#ktApp main .view:not(#messages) textarea{font-size:calc(16px * var(--kt-readable-scale,1))!important}
 html body#ktApp .ops-form,html body#ktApp .leave-form{grid-template-columns:1fr!important}html body#ktApp .ops-wide,html body#ktApp .leave-wide{grid-column:1/-1!important}
 html body#ktApp .exec-grid,html body#ktApp .ops-grid,html body#ktApp .forecast-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 html body#ktApp .exec-grid strong,html body#ktApp .ops-grid strong,html body#ktApp .forecast-summary strong{font-size:calc(26px * var(--kt-readable-scale,1))!important}
 html body#ktApp main .view:not(#messages) h2{font-size:calc(21px * var(--kt-readable-scale,1))!important}
 html body#ktApp .hierarchy-filters label{width:100%;min-width:0}html body#ktApp .hierarchy-filters select{width:100%!important}
 html body#ktApp .ui-skeleton{grid-template-columns:1fr!important}
}
html body#ktApp:not(.is-admin)>nav .admin-only{display:none!important}

@media(max-width:1024px){html body#ktApp.ui-sync-open:not(.welcome-locked):not(.chooser-locked)>.cloudbar{display:flex!important}}

@media(max-width:1024px){html body#ktApp:not(.welcome-locked):not(.chooser-locked):not(.ui-nav-open)>nav{transform:translateX(-110%)!important}html body#ktApp.ui-nav-open:not(.welcome-locked):not(.chooser-locked)>nav{transform:translateX(0)!important}}

/* daily-km.css */
#dailyKmReminder[hidden]{display:none!important}#dailyKmReminder{position:fixed;z-index:12000;left:50%;transform:translateX(-50%);top:max(8px,env(safe-area-inset-top));width:min(560px,calc(100% - 24px));box-sizing:border-box;display:flex;align-items:center;gap:12px;padding:14px 16px;border:1px solid #d8a32d;border-radius:12px;background:#fff7df;color:#59400b;box-shadow:0 6px 24px #132c4433;font:600 calc(14px * var(--kt-readable-scale,1))/1.5 system-ui,sans-serif}#dailyKmReminder button{flex:0 0 auto;background:#087e75;color:white;border:0;border-radius:8px;padding:12px;min-height:44px;font:600 calc(14px * var(--kt-readable-scale,1)) system-ui;cursor:pointer}#dailyKmReminder button[hidden]{display:none!important}#dailyKmReminder.km-done{background:#e9f8ef;border-color:#79ba91;color:#186438}@media(max-width:480px){#dailyKmReminder{font-size:calc(13px * var(--kt-readable-scale,1));align-items:stretch;flex-direction:column;gap:8px;padding:12px}#dailyKmReminder button{width:100%}}

/* daily-colors.css */
html body#ktApp #executive .daily-table table{border-collapse:separate!important;border-spacing:0 7px!important}html body#ktApp #executive .daily-table th{background:#edf3fa!important;color:#526b85!important}html body#ktApp #executive .daily-row td{background:#f8fafc!important;border:0!important;border-top:1px solid #e9eef4!important;border-bottom:1px solid #e9eef4!important;padding:14px 12px!important}html body#ktApp #executive .daily-row td:first-child{border-left:4px solid #b4c2d1!important;border-radius:8px 0 0 8px;font-weight:600}html body#ktApp #executive .daily-row td:last-child{border-radius:0 8px 8px 0}html body#ktApp #executive .daily-fall td{background:#fff3f3!important;border-color:#f8dddd!important}html body#ktApp #executive .daily-fall td:first-child{border-left-color:#d44858!important}html body#ktApp #executive .daily-rise td{background:#effaf4!important;border-color:#d8eee2!important}html body#ktApp #executive .daily-rise td:first-child{border-left-color:#198259!important}.daily-code{display:block;color:#60758d;font-size:calc(11px * var(--kt-readable-scale,1));font-weight:700;margin-bottom:3px}.daily-score{display:inline-flex;align-items:center;justify-content:center;min-width:32px;height:32px;border-radius:8px;background:#e9eef5;font-weight:700}.daily-diff{display:inline-block;border-radius:20px;padding:5px 10px;background:#eaf0f6;color:#617287;font-weight:700;white-space:nowrap}.daily-fall .daily-current,.daily-fall .daily-diff{background:#ffe0e5;color:#b02d40}.daily-rise .daily-current,.daily-rise .daily-diff{background:#d8f2e4;color:#126947}.daily-legend{display:flex;gap:18px;flex-wrap:wrap;font-size:calc(12px * var(--kt-readable-scale,1));color:#60758d;margin:10px 0}.daily-table .signed-up{color:#12734e!important}.daily-table .signed-down{color:#b02d40!important}
@media(max-width:1024px){html body#ktApp #executive .daily-table .daily-row{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:0!important;padding:0!important;overflow:hidden;border-left:4px solid #b4c2d1!important}html body#ktApp #executive .daily-table .daily-fall{border-left-color:#d44858!important}html body#ktApp #executive .daily-table .daily-rise{border-left-color:#198259!important}html body#ktApp #executive .daily-table .daily-row td{display:block!important;border:0!important;text-align:center!important;padding:10px!important}html body#ktApp #executive .daily-table .daily-row td:first-child,html body#ktApp #executive .daily-table .daily-row td:last-child{grid-column:1/-1;text-align:left!important;border-radius:0!important}html body#ktApp #executive .daily-table .daily-row td::before{display:block;margin-bottom:5px;font-size:calc(11px * var(--kt-readable-scale,1))}html body#ktApp #executive .daily-table .daily-row td:first-child::before{display:none}html body#ktApp #executive .daily-table .daily-row td:last-child{border-top:1px solid #e3e9ee!important}}

/* simulation-fit.css */
html body#ktApp #pusulaPanel .sim-box{min-width:0!important;max-width:100%!important;padding:18px!important}html body#ktApp #pusulaPanel .sim-title{display:flex!important;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}html body#ktApp #pusulaPanel .sim-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}html body#ktApp #pusulaPanel .sim-actions small{flex-basis:100%;font-size:calc(12px * var(--kt-readable-scale,1))!important}html body#ktApp #pusulaPanel .sim-scroll{width:100%!important;max-width:100%!important;overflow:visible!important}html body#ktApp #pusulaPanel table.pusula-table{width:100%!important;min-width:0!important;max-width:100%!important;table-layout:fixed!important;border-collapse:separate!important;border-spacing:0!important}html body#ktApp #pusulaPanel .pusula-table th,html body#ktApp #pusulaPanel .pusula-table td{position:static!important;left:auto!important;min-width:0!important;width:auto!important;white-space:normal!important;overflow-wrap:anywhere!important;padding:12px 6px!important;font-size:calc(12px * var(--kt-readable-scale,1))!important;text-align:center!important;border-bottom:1px solid #e3ebf1!important;background:#fff!important;color:#243e56!important}html body#ktApp #pusulaPanel .pusula-table th{background:#edf4fa!important;font-size:calc(11px * var(--kt-readable-scale,1))!important;font-weight:700!important}html body#ktApp #pusulaPanel .pusula-table th:first-child{width:27%!important}html body#ktApp #pusulaPanel .pusula-table th:nth-child(2){width:6%!important}html body#ktApp #pusulaPanel .pusula-table th:nth-child(3){width:12%!important}html body#ktApp #pusulaPanel .pusula-table th:nth-child(4){width:9%!important}html body#ktApp #pusulaPanel .pusula-table th:nth-child(5){width:7%!important}html body#ktApp #pusulaPanel .pusula-table th:nth-child(6){width:7%!important}html body#ktApp #pusulaPanel .pusula-table th:nth-child(7){width:24%!important}html body#ktApp #pusulaPanel .pusula-table th:last-child{width:8%!important}html body#ktApp #pusulaPanel .pusula-table td:first-child{text-align:left!important;border-left:3px solid #d3dfe9!important}html body#ktApp #pusulaPanel .pusula-table .score-1 td:first-child,html body#ktApp #pusulaPanel .pusula-table .score-2 td:first-child{border-left-color:#d44858!important}html body#ktApp #pusulaPanel .pusula-table .score-5 td:first-child{border-left-color:#198259!important}.sim-code{display:block;color:#087e75;font-size:calc(11px * var(--kt-readable-scale,1))}.sim-name{display:block;font-weight:600;line-height:1.45;margin:3px 0 6px}.sim-thresholds summary{font-size:calc(11px * var(--kt-readable-scale,1));color:#62788e;cursor:pointer}.sim-thresholds div{display:grid;gap:5px;margin-top:8px;font-size:calc(11px * var(--kt-readable-scale,1))}.sim-thresholds b{margin-right:5px}.sim-count,.sim-den{display:block;font-variant-numeric:tabular-nums}.sim-den{color:#62788e;font-size:calc(11px * var(--kt-readable-scale,1));margin-top:4px}.sim-needs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.sim-needs>span{border:1px solid #dfebe9;border-radius:7px;padding:6px 2px;background:#f1f8f7;min-width:0}.sim-needs small{display:block!important;font-size:calc(9px * var(--kt-readable-scale,1))!important;color:#60758d}.sim-needs b{display:block;font-size:calc(11px * var(--kt-readable-scale,1));font-weight:600;margin-top:4px}.sim-state{display:inline-block;padding:4px 6px;border-radius:6px;background:#edf2f7;font-size:calc(10px * var(--kt-readable-scale,1));font-weight:700}.score-1 .sim-state,.score-2 .sim-state{color:#af2e41;background:#ffe5e9}.score-5 .sim-state{color:#126947;background:#def3e7}html body#ktApp #pusulaPanel select.mud-score-select{width:100%!important;min-width:0!important;max-width:100%!important;padding:6px 2px!important;min-height:40px!important;font-size:calc(12px * var(--kt-readable-scale,1))!important}html body#ktApp #pusulaPanel .ui-scroll-hint{display:none!important}html body#ktApp #pusulaPanel .table-total-bar{margin-top:12px;padding:14px;background:#edf7f5;border-radius:8px;text-align:right}
@media(max-width:800px){html body#ktApp #pusulaPanel table.pusula-table{display:block!important}html body#ktApp #pusulaPanel .pusula-table thead{display:none!important}html body#ktApp #pusulaPanel .pusula-table tbody{display:grid!important;gap:14px}html body#ktApp #pusulaPanel .pusula-table tr{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid #dce6ee!important;border-radius:12px;overflow:hidden;background:#fff}html body#ktApp #pusulaPanel .pusula-table td{display:block!important;border:0!important;border-bottom:1px solid #e9eff4!important;padding:10px!important}html body#ktApp #pusulaPanel .pusula-table td::before{content:attr(data-label);display:block;font-size:calc(10px * var(--kt-readable-scale,1));color:#62788e;font-weight:600;margin-bottom:6px}html body#ktApp #pusulaPanel .pusula-table td:first-child{grid-column:1/-1;border-left-width:4px!important;padding:14px!important}html body#ktApp #pusulaPanel .pusula-table td:first-child::before{display:none}.sim-name{font-size:calc(14px * var(--kt-readable-scale,1))}.sim-thresholds div{grid-template-columns:repeat(2,minmax(0,1fr))}html body#ktApp #pusulaPanel .pusula-table td:nth-child(7){grid-column:1/-1}.sim-needs small{font-size:calc(11px * var(--kt-readable-scale,1))!important}.sim-needs b{font-size:calc(13px * var(--kt-readable-scale,1))}html body#ktApp #pusulaPanel .pusula-table td:last-child{grid-column:1/-1;text-align:right!important}html body#ktApp #pusulaPanel .pusula-table td:last-child::before{display:inline;margin-right:10px}.sim-state{font-size:calc(12px * var(--kt-readable-scale,1))}html body#ktApp #pusulaPanel select.mud-score-select{font-size:calc(16px * var(--kt-readable-scale,1))!important;min-height:44px!important}}
@media(max-width:800px){html body#ktApp #mud #pusulaPanel #pSimBody tr{grid-template-columns:repeat(3,minmax(0,1fr))!important;padding:0!important;gap:0!important}html body#ktApp #mud #pusulaPanel #pSimBody td{display:block!important;grid-column:auto!important;align-items:initial!important;padding:10px!important;font-size:calc(12px * var(--kt-readable-scale,1))!important;line-height:1.5!important;background:#fff!important;color:#243e56!important;text-align:center!important}html body#ktApp #mud #pusulaPanel #pSimBody td:first-child{grid-column:1/-1!important;padding:14px!important;text-align:left!important}html body#ktApp #mud #pusulaPanel #pSimBody td:nth-child(7),html body#ktApp #mud #pusulaPanel #pSimBody td:last-child{grid-column:1/-1!important}html body#ktApp #mud #pusulaPanel #pSimBody td::before{content:attr(data-label)!important;display:block!important;margin-bottom:6px!important}html body#ktApp #mud #pusulaPanel #pSimBody td:first-child::before{display:none!important}html body#ktApp #mud #pusulaPanel #pSimBody td:last-child{text-align:right!important}.sim-thresholds span{white-space:normal!important}}

/* chat-polish.css */
/* Shared conversation finish: deliberately leaves viewport/composer geometry intact. */
html body#ktApp #messages{--chat-line:#e2eaf0;--chat-ink:#19344c;--chat-muted:#6a7f90}
html body#ktApp #managerChatSwitch{gap:6px;padding:10px 14px;background:#fff!important;border-bottom:1px solid var(--chat-line)!important}
html body#ktApp #managerChatSwitch button{border:0!important;border-radius:10px!important;background:#f0f5f8!important;color:#426174!important;font-weight:600;min-height:40px}
html body#ktApp #messages:not(.manager-chat-mode) #managerChatSwitch [data-team],html body#ktApp #messages.manager-chat-mode #managerChatSwitch [data-manager]{background:#dff3ef!important;color:#087c72!important;box-shadow:inset 0 0 0 1px #b9e3da!important}
html body#ktApp #messages .web-chat-sidebar-head,html body#ktApp #messages .dm-sidebar-head{background:#fff!important;border-bottom:1px solid var(--chat-line)!important}
html body#ktApp #messages .web-chat-search,html body#ktApp #messages .dm-search{margin:12px;border:1px solid var(--chat-line)!important;border-radius:12px!important;background:#f5f8fa!important;box-shadow:none!important}
html body#ktApp #messages .web-chat-search input,html body#ktApp #messages .dm-search input{background:transparent!important;box-shadow:none!important;border:0!important;color:var(--chat-ink)!important}
html body#ktApp #messages .web-chat-item,html body#ktApp #managerChatPeople button{border-radius:10px!important;margin:3px 7px;width:calc(100% - 14px);border-bottom:0!important;transition:background .15s}
html body#ktApp #messages .web-chat-item:hover,html body#ktApp #managerChatPeople button:hover{background:#f0f6f8!important}
html body#ktApp #messages .web-chat-item.active,html body#ktApp #managerChatPeople button.active{background:#e4f4f0!important;box-shadow:inset 3px 0 #0c968a!important}
html body#ktApp #messages .web-chat-copy b,html body#ktApp #messages .dm-person-info strong{font-size:calc(14px * var(--kt-readable-scale,1));line-height:1.4;color:var(--chat-ink)!important}
html body#ktApp #messages .web-chat-copy small,html body#ktApp #messages .dm-person-info small{color:var(--chat-muted)!important;font-size:calc(12px * var(--kt-readable-scale,1));line-height:1.5}
html body#ktApp #messages .web-chat-avatar,html body#ktApp #messages .dm-avatar{background:#e3f3f0!important;color:#087d73!important;font-weight:700}
html body#ktApp #messages .whatsapp-head,html body#ktApp #managerChatPanel .dm-conversation header{background:#fff!important;border-bottom:1px solid var(--chat-line)!important}
html body#ktApp #messages .whatsapp-list,html body#ktApp #dmMessages{background:#f1f5f6!important;background-image:none!important}
html body#ktApp #messages .message-bubble,html body#ktApp #messages .dm-bubble{border:1px solid #e0e8ea!important;border-radius:14px!important;box-shadow:0 1px 2px #17364d08!important;font-size:calc(14px * var(--kt-readable-scale,1));line-height:1.55}
html body#ktApp #messages .mine .message-bubble,html body#ktApp #messages .mine .dm-bubble{background:#e1f4e9!important;border-color:#cde9da!important}
html body#ktApp #messages .message-meta,html body#ktApp #messages .dm-bubble small{font-size:calc(11px * var(--kt-readable-scale,1));color:#698074!important}
html body#ktApp #messages .whatsapp-composer,html body#ktApp #dmForm{background:#fff!important;border-top:1px solid var(--chat-line)!important}
html body#ktApp #messages .composer-input,html body#ktApp #dmForm .dm-input{background:#f5f8fa!important;border:1px solid #dce6ec!important;border-radius:22px!important;box-shadow:none!important}
html body#ktApp #messages textarea{font-family:inherit;font-size:calc(16px * var(--kt-readable-scale,1))!important;line-height:1.45}
html body#ktApp #messages .message-empty,html body#ktApp #messages .dm-empty{color:var(--chat-muted)!important;line-height:1.6}
@media(min-width:1025px){html body#ktApp #messages .message-bubble,html body#ktApp #messages .dm-bubble{max-width:76%}html body#ktApp #messages .whatsapp-list,html body#ktApp #dmMessages{padding:22px 26px}}
@media(max-width:1024px){html body#ktApp #managerChatSwitch{padding:6px 10px}html body#ktApp #managerChatSwitch button{min-height:36px;padding:7px 10px;font-size:calc(13px * var(--kt-readable-scale,1))}html body#ktApp #messages .message-bubble,html body#ktApp #messages .dm-bubble{font-size:calc(14px * var(--kt-readable-scale,1))}}
html body#ktApp #messages #messageList.whatsapp-list,html body#ktApp #messages #dmMessages{background:#f1f5f6!important;background-image:none!important}
/* Compact team conversation list, including the mobile fullscreen overrides. */
html body#ktApp #messages #webChatSidebar .web-chat-item{min-height:64px!important;padding:9px 12px!important;grid-template-columns:38px minmax(0,1fr) 44px!important;gap:10px!important;margin:2px 6px!important;width:calc(100% - 12px)!important}
html body#ktApp #messages #webChatSidebar .web-chat-avatar{width:38px!important;height:38px!important;font-size:calc(13px * var(--kt-readable-scale,1))!important;box-shadow:none!important}
html body#ktApp #messages #webChatSidebar .web-chat-copy b{font-size:calc(13px * var(--kt-readable-scale,1))!important;line-height:1.3!important}
html body#ktApp #messages #webChatSidebar .web-chat-copy small{font-size:calc(11px * var(--kt-readable-scale,1))!important;line-height:1.3!important;margin-top:3px!important}

/* report-design.css */
/* Same report visual language as the directorate dashboard. */
html body#ktApp :is(#units,#dispatch,#teams){--report-line:#dce5ed;--report-ink:#162e45;min-width:0}
html body#ktApp :is(#units,#dispatch) .hierarchy-title,html body#ktApp #teams>.toolbar{display:flex!important;justify-content:space-between;align-items:center;gap:16px;margin:0 0 20px!important;padding:20px 22px!important;background:#fff!important;border:1px solid #dce5ed;border-left:4px solid #087f76;border-radius:14px;box-shadow:0 2px 8px #142c4508}
html body#ktApp :is(#units,#dispatch,#teams) .report-eyebrow{display:block;color:#087f76;font-size:calc(10px * var(--kt-readable-scale,1));font-weight:700;letter-spacing:1.2px;margin-bottom:6px}
html body#ktApp :is(#units,#dispatch) .hierarchy-filters,html body#ktApp #teams .team-control-row{display:flex!important;flex-wrap:wrap!important;align-items:end!important;gap:12px!important;padding:18px!important;margin-bottom:20px!important;background:#fff!important;border:1px solid #dce5ed!important;border-radius:14px!important;min-width:0}
html body#ktApp :is(#units,#dispatch) .hierarchy-filters label{flex:1 1 150px;min-width:0;display:grid;gap:6px;color:#526b80;font-size:calc(12px * var(--kt-readable-scale,1))!important}
html body#ktApp :is(#units,#dispatch) .hierarchy-filters :is(select,input){width:100%!important;min-width:0!important}
html body#ktApp :is(#units,#dispatch,#teams) .pusula-cards{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(145px,1fr))!important;gap:14px!important;align-items:stretch!important;margin:0 0 20px!important}
html body#ktApp :is(#units,#dispatch,#teams) .p-card{min-height:120px!important;height:auto!important;padding:18px!important;border:1px solid #dce5ed!important;border-top:3px solid #0c968a!important;border-radius:12px!important;background:#fff!important;box-shadow:0 2px 8px #142c4508!important;color:#162e45!important;min-width:0}
html body#ktApp :is(#units,#dispatch,#teams) .p-card span{color:#526b80!important;font-size:calc(12px * var(--kt-readable-scale,1))!important;font-weight:600}
html body#ktApp :is(#units,#dispatch,#teams) .p-card b{font-size:calc(28px * var(--kt-readable-scale,1))!important;line-height:1.2!important;font-variant-numeric:tabular-nums;color:#162e45!important;margin:10px 0!important;display:block}
html body#ktApp :is(#units,#dispatch,#teams) .p-card small{color:#6c8194!important;font-size:calc(11px * var(--kt-readable-scale,1))!important}
html body#ktApp :is(#units,#dispatch,#teams) .p-card.amber{background:#edf7f5!important;border-top-color:#087f76!important}
html body#ktApp :is(#units,#dispatch,#teams) .p-card.orange{border-top-color:#d49a35!important}
html body#ktApp :is(#units,#dispatch,#teams) .p-card.red{border-top-color:#d44858!important}
html body#ktApp :is(#units,#dispatch,#teams) .p-card.blue{border-top-color:#518fc4!important}
html body#ktApp :is(#units,#dispatch,#teams) .p-card.gold{border-top-color:#5aab7e!important}
html body#ktApp :is(#units,#dispatch) .hierarchy-layout{display:grid!important;grid-template-columns:minmax(0,1fr) 260px!important;gap:20px!important;align-items:start!important}
html body#ktApp :is(#units,#dispatch) .hierarchy-side{min-width:0;display:grid;gap:0}
html body#ktApp :is(#units,#dispatch,#teams) :is(.panel,.karne-compare,.focus-box){border:1px solid #dce5ed!important;border-radius:14px!important;background:#fff!important;box-shadow:0 2px 8px #142c4508!important;padding:20px!important;min-width:0;max-width:100%;box-sizing:border-box}
html body#ktApp :is(#units,#dispatch,#teams) :is(.tablewrap,.ts-scroll,.ds-scroll){max-width:100%!important;overflow-x:auto!important;border-radius:10px}
html body#ktApp :is(#units,#dispatch,#teams) table th{background:#edf3fa!important;color:#526b85!important;font-size:calc(11px * var(--kt-readable-scale,1))!important}
html body#ktApp :is(#units,#dispatch,#teams) table td{border-bottom:1px solid #e6edf2!important;font-size:calc(12px * var(--kt-readable-scale,1))!important}
html body#ktApp :is(#units,#dispatch,#teams) table tr.signed-up td{background:#effaf4!important}
html body#ktApp :is(#units,#dispatch,#teams) table tr.signed-down td{background:#fff3f3!important}
html body#ktApp :is(#teamDailySummary,#dispatchDailySummary) h4{padding:10px 12px;background:#edf7f5;border-radius:8px;color:#20645d;margin:20px 0 12px!important}
html body#ktApp :is(#units,#dispatch,#teams) .ds-stats{gap:14px!important}
html body#ktApp :is(#units,#dispatch,#teams) .ds-stats>div{background:#f8fafc!important;border:1px solid #dce5ed;border-radius:12px;padding:16px!important}
html body#ktApp #teams .team-focus-grid{gap:20px!important}
html body#ktApp #teams .team-identity{flex:1;min-width:0}
html body#ktApp #teams .team-actions{display:flex;flex-wrap:wrap;gap:8px;min-width:0}
html body#ktApp #units #unitWeightRanking{border-radius:12px!important;border:1px solid #dce5ed!important;background:#fff!important}
/* Names stay on a single line; JS fits the font to the available card width. */
html body#ktApp #messages #webChatSidebar .web-chat-copy>b{display:block!important;white-space:nowrap!important;-webkit-line-clamp:unset!important;font-size:calc(11px * var(--kt-readable-scale,1))!important;font-weight:600!important;line-height:1.45!important;letter-spacing:-.15px;overflow:hidden!important;text-overflow:ellipsis}
@media(max-width:1400px){html body#ktApp :is(#units,#dispatch) .hierarchy-layout{grid-template-columns:minmax(0,1fr)!important}html body#ktApp :is(#units,#dispatch) .hierarchy-side{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}}
@media(max-width:700px){html body#ktApp :is(#units,#dispatch,#teams) .pusula-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}html body#ktApp :is(#units,#dispatch,#teams) .p-card{padding:14px!important;min-height:112px!important}html body#ktApp :is(#units,#dispatch) .hierarchy-title,html body#ktApp #teams>.toolbar{padding:16px!important;align-items:start!important;flex-wrap:wrap}html body#ktApp :is(#units,#dispatch) .hierarchy-side{grid-template-columns:1fr!important}html body#ktApp :is(#units,#dispatch,#teams) :is(.panel,.karne-compare,.focus-box){padding:14px!important}html body#ktApp #teams .team-actions{width:100%}html body#ktApp #teams .team-actions select{width:100%}html body#ktApp #units #unitWeightRanking{grid-column:1/-1!important}}

/* Unit score cards must never inherit the ranking chart height. */
html body#ktApp #units .pusula-cards.hierarchy-summary{grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-auto-rows:auto!important;align-items:start!important}
html body#ktApp #units .hierarchy-summary>.p-card{height:132px!important;min-height:132px!important;box-sizing:border-box!important;align-self:start!important;margin:0!important}
html body#ktApp #units #unitWeightRanking{grid-column:1/-1!important;grid-row:auto!important;width:100%!important;min-width:0!important;height:auto!important;min-height:0!important;margin:0!important;box-sizing:border-box!important;overflow:hidden!important;align-self:start!important}
html body#ktApp #units #unitWeightRanking .uwr-chart{padding:14px 18px!important}
html body#ktApp #units #unitWeightRanking .uwr-row{grid-template-columns:130px minmax(0,1fr) 42px!important;min-height:25px!important}
html body#ktApp #units #unitWeightRanking .uwr-row>b{white-space:nowrap!important;font-size:calc(11px * var(--kt-readable-scale,1))!important}
@media(min-width:1500px){html body#ktApp #units .pusula-cards.hierarchy-summary{grid-template-columns:repeat(7,minmax(0,1fr))!important}}
@media(max-width:700px){html body#ktApp #units .pusula-cards.hierarchy-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}html body#ktApp #units .hierarchy-summary>.p-card{height:120px!important;min-height:120px!important}html body#ktApp #units #unitWeightRanking .uwr-row{grid-template-columns:104px minmax(0,1fr) 36px!important}html body#ktApp #units #unitWeightRanking .uwr-chart{padding:12px!important}}

/* report-tables.css */
/* Shared compact simulation layout across all three report views. */
html body#ktApp :is(#dispatch,#units) .hierarchy-layout{grid-template-columns:minmax(0,1fr)!important}
html body#ktApp :is(#dispatch,#units) .hierarchy-side{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}
html body#ktApp :is(#dispatch,#units,#teams) :is(.hierarchy-table,.team-sim-table){width:100%!important;min-width:0!important;max-width:100%!important;table-layout:fixed!important;border-collapse:separate!important;border-spacing:0!important}
html body#ktApp :is(#dispatch,#units,#teams) :is(.hierarchy-table,.team-sim-table) :is(th,td){position:static!important;width:auto!important;min-width:0!important;white-space:normal!important;overflow-wrap:anywhere!important;padding:12px 6px!important;text-align:center!important;font-size:calc(12px * var(--kt-readable-scale,1))!important}
html body#ktApp :is(#dispatch,#units,#teams) :is(.hierarchy-table,.team-sim-table) th:first-child{width:27%!important}
html body#ktApp :is(#dispatch,#units,#teams) :is(.hierarchy-table,.team-sim-table) th:nth-child(2){width:6%!important}
html body#ktApp :is(#dispatch,#units,#teams) :is(.hierarchy-table,.team-sim-table) th:nth-child(3){width:12%!important}
html body#ktApp :is(#dispatch,#units,#teams) :is(.hierarchy-table,.team-sim-table) th:nth-child(4){width:9%!important}
html body#ktApp :is(#dispatch,#units,#teams) :is(.hierarchy-table,.team-sim-table) th:nth-child(5),html body#ktApp :is(#dispatch,#units,#teams) :is(.hierarchy-table,.team-sim-table) th:nth-child(6){width:7%!important}
html body#ktApp :is(#dispatch,#units,#teams) :is(.hierarchy-table,.team-sim-table) th:nth-child(7){width:24%!important}
html body#ktApp :is(#dispatch,#units,#teams) :is(.hierarchy-table,.team-sim-table) th:last-child{width:8%!important}
html body#ktApp :is(#dispatch,#units,#teams) .report-sim-row td:first-child{text-align:left!important;border-left:3px solid #d3dfe9!important}
html body#ktApp :is(#dispatch,#units,#teams) .report-sim-row:is(.score-1,.score-2) td:first-child{border-left-color:#d44858!important}
html body#ktApp :is(#dispatch,#units,#teams) .report-sim-row.score-5 td:first-child{border-left-color:#198259!important}
html body#ktApp :is(#dispatch,#units,#teams) .report-sim-row select{width:100%!important;min-width:0!important;max-width:100%!important;padding:6px 2px!important;min-height:40px!important;font-size:calc(12px * var(--kt-readable-scale,1))!important}
html body#ktApp :is(#dispatch,#units,#teams) .hierarchy-table-panel>.ui-scroll-hint,html body#ktApp #teams>.panel>.ui-scroll-hint{display:none!important}
html body#ktApp #dispatchTeamChanges table{min-width:0!important;table-layout:fixed;width:100%;border-collapse:separate!important;border-spacing:0 7px!important}
html body#ktApp #dispatchTeamChanges .daily-row td{background:#f8fafc!important;border-top:1px solid #e9eef4!important;border-bottom:1px solid #e9eef4!important;padding:14px 10px!important}
html body#ktApp #dispatchTeamChanges .daily-fall td{background:#fff3f3!important;border-color:#f8dddd!important}
html body#ktApp #dispatchTeamChanges .daily-rise td{background:#effaf4!important;border-color:#d8eee2!important}
html body#ktApp #dispatchTeamChanges .daily-row td:first-child{border-left:4px solid #b4c2d1!important;border-radius:8px 0 0 8px;width:38%}
html body#ktApp #dispatchTeamChanges .daily-fall td:first-child{border-left-color:#d44858!important}
html body#ktApp #dispatchTeamChanges .daily-rise td:first-child{border-left-color:#198259!important}
html body#ktApp #dispatchTeamChanges .daily-row td:last-child{border-radius:0 8px 8px 0}
html body#ktApp #dispatchTeamChanges .daily-person{display:block;font-size:calc(11px * var(--kt-readable-scale,1));color:#61758b;margin:4px 0}
@media(max-width:900px){html body#ktApp :is(#dispatch,#units,#teams) :is(.hierarchy-table,.team-sim-table) thead{display:none!important}html body#ktApp :is(#dispatch,#units,#teams) .report-sim-row{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;border:1px solid #dce5ed!important;border-left:3px solid #b4c2d1!important;border-radius:10px!important;margin:12px 0!important;padding:8px!important;gap:4px!important}html body#ktApp :is(#dispatch,#units,#teams) .report-sim-row td{display:block!important;width:auto!important;border:0!important;padding:8px 4px!important;text-align:center!important}html body#ktApp :is(#dispatch,#units,#teams) .report-sim-row td:first-child,html body#ktApp :is(#dispatch,#units,#teams) .report-sim-row td:nth-child(7){grid-column:1/-1!important}html body#ktApp :is(#dispatch,#units,#teams) .report-sim-row td::before{content:attr(data-label)!important;display:block!important;position:static!important;color:#60758d;font-size:calc(10px * var(--kt-readable-scale,1));font-weight:600;margin-bottom:5px}html body#ktApp :is(#dispatch,#units,#teams) .report-sim-row td:first-child::before{display:none!important}html body#ktApp :is(#dispatch,#units) .hierarchy-side{grid-template-columns:1fr!important}html body#ktApp #dispatchTeamChanges .daily-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-left:4px solid #b4c2d1;border-radius:8px;margin-bottom:10px;overflow:hidden}html body#ktApp #dispatchTeamChanges .daily-row td{display:block;text-align:center!important;border:0!important}html body#ktApp #dispatchTeamChanges .daily-row td:first-child,html body#ktApp #dispatchTeamChanges .daily-row td:last-child{grid-column:1/-1;text-align:left!important}html body#ktApp #dispatchTeamChanges .daily-row td::before{content:attr(data-label);display:block;color:#60758d;font-size:calc(10px * var(--kt-readable-scale,1));margin-bottom:5px}html body#ktApp #dispatchTeamChanges .daily-row td:first-child::before{display:none}html body#ktApp #dispatchTeamChanges thead{display:none}html body#ktApp #dispatchTeamChanges .daily-fall{border-left-color:#d44858}html body#ktApp #dispatchTeamChanges .daily-rise{border-left-color:#198259}}

/* chat-mobile-fix.css */
/* Native Android/iOS input focus must not inherit the global teal outline. */
html body#ktApp #messages :is(#messageText,#teamMessageText,#dmText),
html body#ktApp #messages :is(#messageText,#teamMessageText,#dmText):is(:focus,:focus-visible,:active){outline:0!important;outline-offset:0!important;box-shadow:none!important;border:0!important;border-image:none!important;background:transparent!important;-webkit-appearance:none!important;appearance:none!important;-webkit-tap-highlight-color:transparent!important;caret-color:#17364d!important;font-size:calc(16px * var(--kt-readable-scale,1))!important;box-sizing:border-box!important;resize:none!important}
html body#ktApp #messages :is(.composer-input,.dm-input):focus-within{outline:0!important;box-shadow:none!important;border:1px solid #c7d7df!important}
html body#ktApp.kt-messages-active>header,html body#ktApp.kt-messages-active>.cloudbar{display:none!important}
html body#ktApp.kt-messages-active #messages :is(.whatsapp-head,.dm-conversation header){flex-shrink:0!important}
html body#ktApp.kt-messages-active #messages :is(.whatsapp-composer,#dmForm){flex-shrink:0!important;box-sizing:border-box!important}
html body#ktApp.kt-messages-active #messages :is(#messageList,#dmMessages){overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch}
html body#ktApp.kt-messages-active #messages :is(#messageText,#teamMessageText,#dmText){touch-action:manipulation;scroll-margin-bottom:12px}
/* Team accounts also need the same zero-minimum flex sizing as managers. */
html body#ktApp.kt-messages-active #messages.active{display:flex!important;flex-direction:column!important}
html body#ktApp.kt-messages-active #messages:not(.manager-chat-mode) .messages-shell{display:flex!important;flex-direction:column!important;flex:1 1 0!important;min-height:0!important;height:auto!important;overflow:hidden!important}
html body#ktApp.kt-messages-active #messages .messages-workspace{flex:1 1 0!important;min-height:0!important;height:auto!important;overflow:hidden!important}
html body#ktApp.kt-messages-active #messages .conversation-panel{flex:1 1 0!important;min-height:0!important;height:auto!important;overflow:hidden!important}
html body#ktApp #messages :is(#messageText,#teamMessageText,#dmText):is(:focus,:focus-visible){outline-style:none!important;outline-width:0!important;outline-color:transparent!important}
html body#ktApp #messages #dmForm #dmText:focus,html body#ktApp #messages #dmForm #dmText:focus-visible{outline:0 solid transparent!important;box-shadow:none!important}

/* layout-fix.css */
html body#ktApp #dispatch .hierarchy-layout{grid-template-columns:minmax(0,1fr)!important;width:100%!important;max-width:100%!important}
html body#ktApp #dispatch .hierarchy-side{width:100%!important;min-width:0!important;max-width:100%!important;display:grid!important;grid-template-columns:minmax(230px,1fr) minmax(0,2fr)!important;gap:20px!important;align-items:start!important}
html body#ktApp #dispatch .hierarchy-side>.panel{width:100%!important;min-width:0!important;margin:0!important;box-sizing:border-box!important}
html body#ktApp #dispatch #dispatchScope{display:grid;gap:10px}
html body#ktApp #dispatch .scope-manager{padding:12px 14px;background:#f5f8fb;border:1px solid #e3ebf1;border-radius:10px;margin:0}
html body#ktApp #dispatch .covered-group h4{background:#edf7f5;color:#28635c;border-radius:8px;padding:12px!important;margin:0 0 10px}
html body#ktApp #dispatch .covered-team{display:grid;grid-template-columns:minmax(0,1fr) 58px;gap:16px;align-items:center;padding:12px 4px;line-height:1.55}
html body#ktApp #dispatch .covered-team b{font-size:calc(12px * var(--kt-readable-scale,1));overflow-wrap:anywhere;color:#244259}
html body#ktApp #dispatch .covered-team>span{text-align:center;white-space:nowrap;padding:5px;border-radius:8px;background:#edf7f5;color:#087e75;font-size:calc(13px * var(--kt-readable-scale,1));font-weight:700}
html body#ktApp #messages #managerChatSwitch:not([hidden]){display:flex!important;flex:0 0 auto!important;min-height:48px!important;position:relative!important;z-index:3;overflow-x:auto;max-width:100%;box-sizing:border-box}
html body#ktApp #messages #managerChatSwitch[hidden]{display:none!important}
html body#ktApp #messages #managerChatPanel[hidden]{display:none!important}
html body#ktApp.kt-messages-active #messages.manager-chat-mode #managerChatPanel:not([hidden]){display:grid!important;grid-template-columns:minmax(0,1fr)!important;width:100%!important;min-width:0!important;max-width:100%!important;flex:1 1 0!important;min-height:0!important;overflow:hidden!important}
html body#ktApp.kt-messages-active #messages.manager-chat-mode:not(.dm-peer-open) #managerChatPanel>aside{display:flex!important;width:100%!important;min-width:0!important;max-width:100%!important;overflow:hidden!important}
html body#ktApp.kt-messages-active #messages.manager-chat-mode.dm-peer-open #managerChatPanel>aside{display:none!important}
html body#ktApp.kt-messages-active #managerChatPeople{flex:1;min-height:0;overflow-y:auto}
html body#ktApp.kt-messages-active #managerChatSwitch button{flex:1;min-width:0;white-space:nowrap!important;font-size:calc(12px * var(--kt-readable-scale,1))!important}
@media(max-width:700px){html body#ktApp #dispatch .hierarchy-side{grid-template-columns:minmax(0,1fr)!important}}
html body#ktApp #teamDailySummary .daily-table table{border-collapse:separate!important;border-spacing:0 7px!important}html body#ktApp #teamDailySummary .daily-table th{background:#edf3fa!important;color:#526b85!important}html body#ktApp #teamDailySummary .daily-row td{background:#f8fafc!important;border:0!important;border-top:1px solid #e9eef4!important;border-bottom:1px solid #e9eef4!important;padding:14px 12px!important}html body#ktApp #teamDailySummary .daily-row td:first-child{border-left:4px solid #b4c2d1!important;border-radius:8px 0 0 8px;font-weight:600}html body#ktApp #teamDailySummary .daily-row td:last-child{border-radius:0 8px 8px 0}html body#ktApp #teamDailySummary .daily-fall td{background:#fff3f3!important;border-color:#f8dddd!important}html body#ktApp #teamDailySummary .daily-fall td:first-child{border-left-color:#d44858!important}html body#ktApp #teamDailySummary .daily-rise td{background:#effaf4!important;border-color:#d8eee2!important}html body#ktApp #teamDailySummary .daily-rise td:first-child{border-left-color:#198259!important}.daily-code{display:block;color:#60758d;font-size:calc(11px * var(--kt-readable-scale,1));font-weight:700;margin-bottom:3px}.daily-score{display:inline-flex;align-items:center;justify-content:center;min-width:32px;height:32px;border-radius:8px;background:#e9eef5;font-weight:700}.daily-diff{display:inline-block;border-radius:20px;padding:5px 10px;background:#eaf0f6;color:#617287;font-weight:700;white-space:nowrap}.daily-fall .daily-current,.daily-fall .daily-diff{background:#ffe0e5;color:#b02d40}.daily-rise .daily-current,.daily-rise .daily-diff{background:#d8f2e4;color:#126947}.daily-legend{display:flex;gap:18px;flex-wrap:wrap;font-size:calc(12px * var(--kt-readable-scale,1));color:#60758d;margin:10px 0}.daily-table .signed-up{color:#12734e!important}.daily-table .signed-down{color:#b02d40!important}
@media(max-width:1024px){html body#ktApp #teamDailySummary .daily-table .daily-row{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:0!important;padding:0!important;overflow:hidden;border-left:4px solid #b4c2d1!important}html body#ktApp #teamDailySummary .daily-table .daily-fall{border-left-color:#d44858!important}html body#ktApp #teamDailySummary .daily-table .daily-rise{border-left-color:#198259!important}html body#ktApp #teamDailySummary .daily-table .daily-row td{display:block!important;border:0!important;text-align:center!important;padding:10px!important}html body#ktApp #teamDailySummary .daily-table .daily-row td:first-child,html body#ktApp #teamDailySummary .daily-table .daily-row td:last-child{grid-column:1/-1;text-align:left!important;border-radius:0!important}html body#ktApp #teamDailySummary .daily-table .daily-row td::before{display:block;margin-bottom:5px;font-size:calc(11px * var(--kt-readable-scale,1))}html body#ktApp #teamDailySummary .daily-table .daily-row td:first-child::before{display:none}html body#ktApp #teamDailySummary .daily-table .daily-row td:last-child{border-top:1px solid #e3e9ee!important}}

/* Override the more-specific authenticated mobile header rule: it covered the chat tabs. */
html body#ktApp.kt-messages-active:not(.welcome-locked):not(.chooser-locked)>header,
html body#ktApp.kt-messages-active:not(.welcome-locked):not(.chooser-locked)>.cloudbar{display:none!important}

/* chat-unified.css */
/* Team and private conversations share the same layout and visual language. */
html body#ktApp #messages .web-chat-sidebar-head{background:#f7faf9!important;padding:18px!important;min-height:76px!important}
html body#ktApp #messages .msg-brand-icon,html body#ktApp #messages .chat-filter-btn{display:none!important}
html body#ktApp #messages .msg-brand strong{font-size:calc(23px * var(--kt-readable-scale,1))!important;letter-spacing:-.5px;color:#172b43}
html body#ktApp #messages .web-chat-search{padding:10px 16px!important;background:white!important}
html body#ktApp #messages .web-chat-search input{border:0!important;background:#f0f5f3!important;border-radius:12px!important;padding:12px!important;font-size:calc(15px * var(--kt-readable-scale,1))!important}
html body#ktApp #messages #webChatSidebar .web-chat-item,html body#ktApp #messages #managerChatPeople button{display:grid!important;grid-template-columns:40px minmax(0,1fr) 48px!important;gap:10px!important;min-height:72px!important;padding:10px 14px!important;margin:0!important;width:100%!important;border:0!important;border-bottom:1px solid #edf1f0!important;border-radius:0!important;background:#fff!important;box-sizing:border-box!important}
html body#ktApp #messages #webChatSidebar .web-chat-item:hover,html body#ktApp #messages #webChatSidebar .web-chat-item.active,html body#ktApp #messages #managerChatPeople button:hover,html body#ktApp #messages #managerChatPeople button.active{background:#eaf6f2!important}
html body#ktApp #messages #webChatSidebar .web-chat-avatar,html body#ktApp #messages .dm-avatar{display:grid!important;place-items:center;width:40px!important;height:40px!important;border-radius:50%!important;background:#e0f3ee!important;color:#167966!important;font-size:calc(14px * var(--kt-readable-scale,1))!important;font-weight:700!important;box-shadow:none!important}
html body#ktApp #messages .web-chat-copy,html body#ktApp #messages .dm-person-info{min-width:0!important}
html body#ktApp #messages .web-chat-copy small,html body#ktApp #messages .dm-person-info small{font-size:calc(12px * var(--kt-readable-scale,1))!important;color:#70847d!important;line-height:1.4!important;margin-top:4px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body#ktApp #messages .whatsapp-head{background:#f7faf9!important;min-height:76px!important;padding:12px 18px!important;border-bottom:1px solid #e5ebe9!important}
html body#ktApp #messages .whatsapp-composer,html body#ktApp #messages #dmForm{padding:10px 14px!important;padding-bottom:max(10px,env(safe-area-inset-bottom))!important;gap:10px!important;background:#f0f4f2!important}
html body#ktApp #messages :is(#adminComposerRow,#teamComposerRow) .composer-input{grid-template-columns:minmax(0,1fr) 32px 32px!important;padding:0 10px!important;background:#fff!important;border:1px solid #e1e9e6!important;border-radius:24px!important}
html body#ktApp #messages :is(#adminComposerRow,#teamComposerRow) .composer-input textarea{grid-column:1!important;padding:11px 3px!important}
html body#ktApp #messages :is(#composerEmojiBtn,#teamComposerEmojiBtn){grid-column:2!important;grid-row:1!important}
html body#ktApp #messages :is(#composerCameraBtn,#teamComposerCameraBtn){grid-column:3!important;grid-row:1!important}
html body#ktApp #messages #dmForm .dm-input{background:#fff!important;border-radius:24px!important}
@media(max-width:1024px){html body#ktApp #messages .whatsapp-head{min-height:68px!important;padding:10px 8px!important}html body#ktApp #messages .whatsapp-composer,html body#ktApp #messages #dmForm{padding:8px!important;padding-bottom:max(8px,env(safe-area-inset-bottom))!important;gap:6px!important}}
/* Keep a usable height in browsers without dynamic viewport units. */
@supports not (height:100dvh){html body#ktApp #managerChatPanel{height:calc(100vh - 180px)}html body#ktApp.kt-messages-active #messages{height:var(--kt-chat-height,100vh)!important}}
html body#ktApp #messages :is(#adminComposerRow,#teamComposerRow) .composer-input :is(#composerEmojiBtn,#teamComposerEmojiBtn){grid-column:2!important;grid-row:1!important}
html body#ktApp #messages :is(#adminComposerRow,#teamComposerRow) .composer-input :is(#composerCameraBtn,#teamComposerCameraBtn){grid-column:3!important;grid-row:1!important}

/* reply-fit.css */
/* A reply is a full-width row, never the attachment column of the composer. */
html body#ktApp #messages .whatsapp-composer>.message-reply-compose,
html body#ktApp #messages #dmReply{
 display:flex!important;grid-column:1/-1!important;align-items:center!important;gap:10px!important;
 width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important;
 height:58px!important;min-height:58px!important;max-height:58px!important;flex:0 0 58px!important;
 margin:0!important;padding:8px 10px!important;overflow:hidden!important;
 border:0!important;border-left:3px solid #0d9488!important;border-radius:8px!important;background:#eaf5f1!important;
}
html body#ktApp #messages #dmReply{width:calc(100% - 24px)!important;margin:6px 12px 0!important}
html body#ktApp #messages :is(.message-reply-compose,#dmReply)>div{display:block!important;flex:1 1 0!important;min-width:0!important;overflow:hidden!important}
html body#ktApp #messages :is(.message-reply-compose,#dmReply) :is(strong,span){display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;line-height:calc(18px * var(--kt-readable-scale,1))!important;font-size:calc(12px * var(--kt-readable-scale,1))!important;margin:0!important}
html body#ktApp #messages :is(.message-reply-compose,#dmReply) strong{color:#087f73!important;font-weight:700!important}
html body#ktApp #messages :is(.message-reply-compose,#dmReply)>button{position:static!important;display:grid!important;place-items:center!important;flex:0 0 32px!important;width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important;padding:0!important;border:0!important;border-radius:50%!important;background:transparent!important;color:#526b70!important;font-size:calc(24px * var(--kt-readable-scale,1))!important;cursor:pointer}
html body#ktApp #messages :is(.message-reply-compose,#dmReply)[hidden]{display:none!important}
html body#ktApp #messages :is(.message-reply-quote,.dm-quote){box-sizing:border-box;min-width:0;max-width:100%;overflow:hidden}
html body#ktApp #messages :is(.message-reply-quote,.dm-quote) :is(strong,span){display:block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* chooser-icons.css */
/* One optical size and stroke style for all management entry points. */
html body#ktApp #appChooser .chooser-icon{display:grid!important;place-items:center!important;width:48px!important;height:48px!important;min-width:48px!important;box-sizing:border-box;border-radius:14px!important;border:1px solid #d2e9e5!important;background:#eef8f6!important;color:#087f78!important;box-shadow:none!important;transform:none!important}
html body#ktApp #appChooser .chooser-icon svg{display:block!important;width:26px!important;height:26px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.65!important;stroke-linecap:round!important;stroke-linejoin:round!important;overflow:visible}
html body#ktApp #appChooser .chooser-icon svg *{fill:none!important;stroke:inherit;stroke-width:inherit}
html body#ktApp #appChooser .chooser-card{grid-template-columns:48px minmax(0,1fr) 18px!important}
html body#ktApp #appChooser .chooser-card:hover .chooser-icon{background:#e0f3ee!important;border-color:#a9d9d0!important;color:#086b65!important}
@media(max-width:600px){html body#ktApp #appChooser .chooser-icon{width:44px!important;height:44px!important;min-width:44px!important;border-radius:12px!important}html body#ktApp #appChooser .chooser-icon svg{width:24px!important;height:24px!important}html body#ktApp #appChooser .chooser-card{grid-template-columns:44px minmax(0,1fr) 18px!important}}

/* shared-composer.css */
/* Same structure and sizing as the working manager composer; legacy team selectors cannot match. */
#ktApp #messages .team-compose-shell{display:flex;flex-direction:column;flex:0 0 auto;min-width:0;background:#f0f4f2;padding:10px 14px;padding-bottom:max(10px,env(safe-area-inset-bottom));gap:6px;border-top:1px solid #dce6e3;box-sizing:border-box}
#ktApp #messages .shared-compose{display:flex;align-items:center;gap:10px;min-width:0;width:100%;box-sizing:border-box}
#ktApp #messages .shared-compose[hidden]{display:none!important}
#ktApp #messages .shared-compose .dm-input{display:flex;align-items:center;flex:1;min-width:0;border:1px solid #e1e9e6;border-radius:24px;background:#fff;padding:0 10px;box-sizing:border-box}
#ktApp #messages .shared-compose textarea{display:block;position:static;flex:1;min-width:0;width:auto;resize:none;border:0;background:transparent;padding:11px 3px;border-radius:0;font-family:inherit;font-size:calc(16px * var(--kt-readable-scale,1));line-height:calc(22px * var(--kt-readable-scale,1));height:44px;min-height:44px;max-height:100px;box-sizing:border-box;outline:0!important;box-shadow:none!important;pointer-events:auto;touch-action:manipulation;-webkit-user-select:text;user-select:text}
#ktApp #messages .shared-compose button{position:static;display:grid;place-items:center;border:0;cursor:pointer;box-sizing:border-box;flex-shrink:0;margin:0;transform:none}
#ktApp #messages .shared-compose .shared-attach{background:none;color:#70847d;padding:6px;width:32px;height:44px}
#ktApp #messages .shared-compose .entry-tool{background:none;color:#7d8d86;padding:5px;font-size:calc(25px * var(--kt-readable-scale,1));width:32px;min-width:32px;height:44px;flex:0 0 32px;border-radius:0}
#ktApp #messages .shared-compose .shared-send{width:46px;height:46px;border-radius:50%;padding:10px;background:#0d9488;color:white;flex:0 0 46px}
#ktApp #messages .shared-compose svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#ktApp #messages .shared-compose .fill-dot{fill:currentColor;stroke:none}
#ktApp #messages .team-compose-shell>.message-reply-compose{display:flex!important;align-items:center;gap:10px;width:100%;min-width:0;height:58px;flex:0 0 58px;box-sizing:border-box;overflow:hidden;margin:0;padding:8px 10px;background:#eaf5f1;border-left:3px solid #0d9488;border-radius:8px}
@media(max-width:760px){#ktApp #messages .team-compose-shell{padding:8px;padding-bottom:max(8px,env(safe-area-inset-bottom))}#ktApp #messages .shared-compose{gap:6px}}

/* balances.css */
.lb-panel{background:#fff;border:1px solid #dce6ee;border-radius:18px;padding:24px;margin:20px 0;color:#17324a;font-family:system-ui,sans-serif}.lb-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.lb-kicker{color:#078781;font-size:calc(11px * var(--kt-readable-scale,1));letter-spacing:1.5px;font-weight:750}.lb-panel h2{font-size:calc(23px * var(--kt-readable-scale,1));margin:8px 0}.lb-panel p{color:#6a7f91;font-size:calc(13px * var(--kt-readable-scale,1));line-height:1.6}.lb-badge{padding:8px 12px;background:#e8f5f2;border-radius:24px;color:#087c73;font-size:calc(12px * var(--kt-readable-scale,1));white-space:nowrap}.lb-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:22px 0}.lb-metric{background:#f4f8fb;border:1px solid #e3ebf1;border-radius:12px;padding:18px}.lb-metric span{font-size:calc(12px * var(--kt-readable-scale,1));color:#6c8193}.lb-metric strong{display:block;font-size:calc(31px * var(--kt-readable-scale,1));margin:10px 0;color:#12354a}.lb-metric.primary{background:#123e4c;color:#fff;border:0}.lb-metric.primary span,.lb-metric.primary strong{color:#fff}.lb-tools{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:20px 0}.lb-tools input{font:inherit;padding:11px 14px;border:1px solid #d5e2eb;border-radius:9px;width:260px;max-width:100%}.lb-scroll{overflow:auto}.lb-table{border-collapse:collapse;width:100%;font-size:calc(13px * var(--kt-readable-scale,1));white-space:nowrap}.lb-table th{text-align:left;font-weight:650;color:#607a8e;background:#f0f5f9;padding:14px}.lb-table td{padding:16px 14px;border-bottom:1px solid #e8eef3}.lb-table .lb-num{text-align:right;font-variant-numeric:tabular-nums}.lb-remaining{color:#087f73;background:#e7f5ee;padding:7px 11px;border-radius:8px;font-weight:750}.lb-zero{background:#fff2dd;color:#9d6516}.lb-note{background:#f5f9fc;border-radius:10px;padding:13px 16px;line-height:1.7;color:#5b7487;font-size:calc(12px * var(--kt-readable-scale,1))}.lb-person{font-size:calc(14px * var(--kt-readable-scale,1));font-weight:700}.lb-empty{padding:22px;text-align:center;color:#6a7f91}@media(max-width:650px){.lb-panel{padding:17px}.lb-head{display:block}.lb-badge{display:inline-block;margin-top:8px}.lb-grid{grid-template-columns:1fr;gap:9px}.lb-metric{padding:14px;display:flex;align-items:center;justify-content:space-between}.lb-metric strong{margin:0;font-size:calc(27px * var(--kt-readable-scale,1))}.lb-table th,.lb-table td{padding:12px 10px}.lb-panel h2{font-size:calc(21px * var(--kt-readable-scale,1))}}
.lb-scroll{max-height:430px;overflow:auto;overscroll-behavior:contain}.lb-table thead th{position:sticky;top:0;z-index:2}.lb-table td:first-child{white-space:normal;min-width:180px}.lb-panel #lbStatus{font-size:calc(12px * var(--kt-readable-scale,1));color:#6a7f91;margin-top:12px}@media(max-width:700px){.lb-scroll{max-height:360px}}

.lb-ident{display:flex;flex-direction:column;gap:9px;margin:18px 0;padding:16px;background:#edf7f5;border:1px solid #cde7e1;border-radius:10px;font-size:calc(13px * var(--kt-readable-scale,1))}.lb-ident select{font:inherit;background:white;padding:12px;border:1px solid #cbdedc;border-radius:8px;max-width:100%;width:100%}.lb-ident small{font-size:calc(11px * var(--kt-readable-scale,1));color:#617f83}.lb-ident[hidden]{display:none!important}
/* v245: card rows grow on mobile; contain them inside the balance list.
   The generic mobile table wrapper sets overflow:visible, which previously
   let 53 employee cards paint over the request form and leave history. */
html body#ktApp #leave .lb-scroll.ui-card-table-wrap{
  overflow:auto!important;
  isolation:isolate;
  position:relative;
  -webkit-overflow-scrolling:touch;
}
@media(max-width:1024px){
  html body#ktApp #leave .lb-scroll.ui-card-table-wrap{
    max-height:480px;
    max-height:min(60dvh,480px);
    overscroll-behavior:contain;
  }
  html body#ktApp #leave .lb-table{width:100%!important;white-space:normal}
  html body#ktApp #leave .lb-table td:first-child{min-width:0!important}
  html body#ktApp #leave .lb-table .lb-remaining{display:block;overflow-wrap:anywhere}
}

/* theme-dark.css */
:root[data-theme="dark"]{color:#c7d4ea!important;background:#121f30!important}
:root[data-theme="dark"] header{color:#ffffff!important}
:root[data-theme="dark"] nav{background:#161d27!important;border-bottom:1px solid #30465a!important}
:root[data-theme="dark"] nav button,:root[data-theme="dark"] .entrytabs button{color:#c5ccd3!important}
:root[data-theme="dark"] nav button.active,:root[data-theme="dark"] .entrytabs button.active{color:#bcddf6!important}
:root[data-theme="dark"] .sectiontitle p{color:#bbc2cd!important}
:root[data-theme="dark"] article,:root[data-theme="dark"] .panel{background:#161d27!important}
:root[data-theme="dark"] .cards span{color:#bbc2cd!important}
:root[data-theme="dark"] th{color:#ffffff!important}
:root[data-theme="dark"] td{border-bottom:1px solid #314559!important}
:root[data-theme="dark"] .s1,:root[data-theme="dark"] .s2{background:#351414!important;color:#f6bcbc!important}
:root[data-theme="dark"] .s3,:root[data-theme="dark"] .s4{background:#3d3517!important;color:#f6e5bc!important}
:root[data-theme="dark"] .s5{background:#15371d!important;color:#c0f1cf!important}
:root[data-theme="dark"] select,:root[data-theme="dark"] input{border:1px solid #324357!important;background:#161d27!important}
:root[data-theme="dark"] .form button,:root[data-theme="dark"] .detailbtn{color:#ffffff!important}
:root[data-theme="dark"] .muted{color:#bbc2cd!important}
:root[data-theme="dark"] .good{color:#bef4d1!important}
:root[data-theme="dark"] .warn{color:#f6e1bc!important}
:root[data-theme="dark"] .bad{color:#f4b3ae!important}
:root[data-theme="dark"] .focus,:root[data-theme="dark"] .mini{border-bottom:1px solid #314559!important}
:root[data-theme="dark"] .pill{background:#142530!important}
:root[data-theme="dark"] .entrytabs{background:#161d27!important}
@media(max-width:1000px){}
@media(max-width:560px){}
:root[data-theme="dark"] .pusulaCards article{color:#ffffff!important}
@media(max-width:700px){}
:root[data-theme="dark"] .bulkbar button{color:#ffffff!important}
:root[data-theme="dark"] .bulkbar .secondary{background:#172430!important;color:#c2d6f0!important}
:root[data-theme="dark"] .entrytable input{border:1px solid #364554!important;background:#373215!important}
:root[data-theme="dark"] .entrytable input:disabled{background:#1a212c!important;color:#c9c9d1!important}
:root[data-theme="dark"] .saveok{background:#163218!important}
:root[data-theme="dark"] .pastebox{border:1px solid #30465a!important;background:#12232e!important}
:root[data-theme="dark"] .pastebox span{color:#c9c9d1!important}
:root[data-theme="dark"] .pastebox textarea{border:1px solid #364554!important}
:root[data-theme="dark"] .score-row.sr5 td{background:#14341c!important}
:root[data-theme="dark"] .score-row.sr4 td{background:#2a3514!important}
:root[data-theme="dark"] .score-row.sr3 td{background:#373015!important}
:root[data-theme="dark"] .score-row.sr2 td{background:#3a2916!important}
:root[data-theme="dark"] .score-row.sr1 td{background:#391616!important}
:root[data-theme="dark"] .score-row.sr0 td{background:#1b2028!important}
:root[data-theme="dark"] #mudTable tr td,:root[data-theme="dark"] #teamDetail tr td,:root[data-theme="dark"] #mudTable tr th,:root[data-theme="dark"] #teamDetail tr th{background:#161d27 !important}
:root[data-theme="dark"] #mudTable tr:hover td,:root[data-theme="dark"] #teamDetail tr:hover td{background:#12232f !important}
:root[data-theme="dark"] #mudTable td.score.s5,:root[data-theme="dark"] #teamDetail td.score.s5{background:#14361d !important}
:root[data-theme="dark"] #mudTable td.score.s4,:root[data-theme="dark"] #teamDetail td.score.s4{background:#2b3615 !important}
:root[data-theme="dark"] #mudTable td.score.s3,:root[data-theme="dark"] #teamDetail td.score.s3{background:#393116 !important}
:root[data-theme="dark"] #mudTable td.score.s2,:root[data-theme="dark"] #teamDetail td.score.s2{background:#3b2b16 !important}
:root[data-theme="dark"] #mudTable td.score.s1,:root[data-theme="dark"] #teamDetail td.score.s1{background:#3a1616 !important}
:root[data-theme="dark"] .riskmark{color:#ffffff!important;box-shadow:0 1px 4px #00000022!important}
:root[data-theme="dark"] .riskcell{background:#301212 !important;color:#f5b6b6 !important}
:root[data-theme="dark"] .uploadbox{border:1px solid #314558!important;background:#12202f!important}
:root[data-theme="dark"] .uploadbox span{color:#c9c9d1!important}
:root[data-theme="dark"] .uploadbox button{color:#ffffff!important}
:root[data-theme="dark"] .uploadok{background:#16321e!important}
:root[data-theme="dark"] .uploaderr{background:#321313!important;color:#f2b9b9!important}
:root[data-theme="dark"] .scoreOverride{border:1px solid #394551!important;background:#161d27!important}
@media(max-width:700px){}
:root[data-theme="dark"] .cloudbar{border:1px solid #30455a!important;background:#161d27!important}
:root[data-theme="dark"] .cloudbar button{border:1px solid #354555!important;background:#161e2b!important}
@media(max-width:700px){}
:root[data-theme="dark"] .hpp-live-note{border:1px solid #30465a!important;background:#161d27!important}
:root[data-theme="dark"] .p-card{background:#161d27!important;border:1px solid #334657!important;border-left:4px solid #999999!important}
:root[data-theme="dark"] .focus-box,:root[data-theme="dark"] .sim-box{background:#161d27!important;border:1px solid #334657!important}
:root[data-theme="dark"] .focus-item{border-bottom:1px solid #344755!important}
:root[data-theme="dark"] .focus-rank{background:#18202c!important}
:root[data-theme="dark"] .pusula-table th,:root[data-theme="dark"] .pusula-table td{border-bottom:1px solid #364754!important}
:root[data-theme="dark"] .score-pill{border:1px solid #364654!important}
@media(max-width:900px){}
@media (max-width:900px){}
:root[data-theme="dark"] .admin-badge{background:#132131!important}
:root[data-theme="dark"] .admin-dialog{background:#161d27!important}
:root[data-theme="dark"] .admin-dialog p{color:#c3c8d1!important}
:root[data-theme="dark"] .admin-dialog input{border:1px solid #324358!important}
:root[data-theme="dark"] .admin-login-msg{color:#f4b3ae!important}
:root[data-theme="dark"] #pusulaPanel .sim-box,:root[data-theme="dark"] #pusulaPanel .sim-scroll,:root[data-theme="dark"] #pusulaPanel .pusula-table,:root[data-theme="dark"] #pusulaPanel .pusula-table tbody,:root[data-theme="dark"] #pusulaPanel .pusula-table tbody tr,:root[data-theme="dark"] #pusulaPanel .pusula-table tbody td{background:#161d27!important}
:root[data-theme="dark"] #pusulaPanel .pusula-table tbody tr:hover td{background:#161d27!important}
:root[data-theme="dark"] #pusulaPanel tr.score-5 td:first-child,:root[data-theme="dark"] #pusulaPanel tr.score-5 td:nth-child(7),:root[data-theme="dark"] #pusulaPanel tr.score-5 td:nth-child(8){color:#bef4d0!important}
:root[data-theme="dark"] #pusulaPanel tr.score-4 td:first-child,:root[data-theme="dark"] #pusulaPanel tr.score-4 td:nth-child(7),:root[data-theme="dark"] #pusulaPanel tr.score-4 td:nth-child(8){color:#ddf5b9!important}
:root[data-theme="dark"] #pusulaPanel tr.score-3 td:first-child,:root[data-theme="dark"] #pusulaPanel tr.score-3 td:nth-child(7),:root[data-theme="dark"] #pusulaPanel tr.score-3 td:nth-child(8){color:#f4ddad!important}
:root[data-theme="dark"] #pusulaPanel tr.score-2 td:first-child,:root[data-theme="dark"] #pusulaPanel tr.score-2 td:nth-child(7),:root[data-theme="dark"] #pusulaPanel tr.score-2 td:nth-child(8){color:#f2ba9e!important}
:root[data-theme="dark"] #pusulaPanel tr.score-1 td:first-child,:root[data-theme="dark"] #pusulaPanel tr.score-1 td:nth-child(7),:root[data-theme="dark"] #pusulaPanel tr.score-1 td:nth-child(8){color:#ef9b9b!important}
:root[data-theme="dark"] #pusulaPanel .pusula-table th,:root[data-theme="dark"] #pusulaPanel .pusula-table td{border-bottom:1px solid #30445a!important}
:root[data-theme="dark"] #pusulaPanel .pusula-table th.scale-group{border-left:1px solid #324358 !important;border-right:1px solid #324358 !important;border-bottom:1px solid #324358 !important}
:root[data-theme="dark"] #pusulaPanel .pusula-table thead tr.scale-sub th{border:1px solid #324358 !important}
:root[data-theme="dark"] #pusulaPanel .pusula-table td.scale-cell{border-left:1px solid #30445a !important;border-right:1px solid #30445a !important}
:root[data-theme="dark"] #pusulaPanel .pusula-table td.scale-cell:first-of-type{border-left:1px solid #324358 !important}
:root[data-theme="dark"] #pusulaPanel .pusula-table{border:1px solid #324358 !important}
:root[data-theme="dark"] #pusulaPanel .pusula-table th,:root[data-theme="dark"] #pusulaPanel .pusula-table td{border:1px solid #30445a !important;background:#161d27 !important}
:root[data-theme="dark"] #pusulaPanel .pusula-table thead th{border-color:#324358 !important}
:root[data-theme="dark"] #pusulaPanel .pusula-table tbody tr:hover td{background:#161d27 !important}
:root[data-theme="dark"] #pusulaPanel .pusula-table th.scale-group,:root[data-theme="dark"] #pusulaPanel .pusula-table td:nth-child(4),:root[data-theme="dark"] #pusulaPanel .pusula-table td:nth-child(8){border-left-color:#354455 !important}
:root[data-theme="dark"] #pusulaPanel .pusula-table thead th{color:#ffffff !important;border:1px solid #334557 !important}
:root[data-theme="dark"] #pusulaPanel .pusula-table thead tr.scale-sub th{color:#ffffff !important}
:root[data-theme="dark"] #pusulaPanel .pusula-table th.scale-group{color:#ffffff !important}
:root[data-theme="dark"] #pusulaPanel .pusula-table tbody td{background:#161d27 !important}
:root[data-theme="dark"] #pusulaPanel .pusula-table tbody tr:hover td{background:#161d27 !important}
:root[data-theme="dark"] #pusulaPanel .pusula-table tbody tr.sim-row.score-5 td{background:#13321d !important;color:#bcf6d2 !important}
:root[data-theme="dark"] #pusulaPanel .pusula-table tbody tr.sim-row.score-4 td{background:#283313 !important;color:#e0f6bc !important}
:root[data-theme="dark"] #pusulaPanel .pusula-table tbody tr.sim-row.score-3 td{background:#332d13 !important;color:#f6e1bc !important}
:root[data-theme="dark"] #pusulaPanel .pusula-table tbody tr.sim-row.score-2 td{background:#322013 !important;color:#f4c9ae !important}
:root[data-theme="dark"] #pusulaPanel .pusula-table tbody tr.sim-row.score-1 td{background:#301212 !important;color:#f19da1 !important}
:root[data-theme="dark"] #pusulaPanel .pusula-table tbody tr.sim-row td{border-color:#30455a !important}
:root[data-theme="dark"] #pusulaPanel .pusula-table tbody tr.sim-row td:nth-child(2){color:#c6d8eb !important}
:root[data-theme="dark"] #pusulaPanel .pusula-table tbody tr.sim-row.score-5 td:first-child,:root[data-theme="dark"] #pusulaPanel .pusula-table tbody tr.sim-row.score-5 td:nth-child(11),:root[data-theme="dark"] #pusulaPanel .pusula-table tbody tr.sim-row.score-5 td:nth-child(12),:root[data-theme="dark"] #pusulaPanel .pusula-table tbody tr.sim-row.score-5 td:last-child{color:#bcf6d2 !important}
:root[data-theme="dark"] #pusulaPanel .pusula-table tbody tr.sim-row.score-4 td:first-child,:root[data-theme="dark"] #pusulaPanel .pusula-table tbody tr.sim-row.score-4 td:nth-child(11),:root[data-theme="dark"] #pusulaPanel .pusula-table tbody tr.sim-row.score-4 td:nth-child(12),:root[data-theme="dark"] #pusulaPanel .pusula-table tbody tr.sim-row.score-4 td:last-child{color:#e0f6bc !important}
:root[data-theme="dark"] #pusulaPanel .pusula-table tbody tr.sim-row.score-3 td:first-child,:root[data-theme="dark"] #pusulaPanel .pusula-table tbody tr.sim-row.score-3 td:nth-child(11),:root[data-theme="dark"] #pusulaPanel .pusula-table tbody tr.sim-row.score-3 td:nth-child(12),:root[data-theme="dark"] #pusulaPanel .pusula-table tbody tr.sim-row.score-3 td:last-child{color:#f6e1bc !important}
:root[data-theme="dark"] #pusulaPanel .pusula-table tbody tr.sim-row.score-2 td:first-child,:root[data-theme="dark"] #pusulaPanel .pusula-table tbody tr.sim-row.score-2 td:nth-child(11),:root[data-theme="dark"] #pusulaPanel .pusula-table tbody tr.sim-row.score-2 td:nth-child(12),:root[data-theme="dark"] #pusulaPanel .pusula-table tbody tr.sim-row.score-2 td:last-child{color:#f4c9ae !important}
:root[data-theme="dark"] #pusulaPanel .pusula-table tbody tr.sim-row.score-1 td:first-child,:root[data-theme="dark"] #pusulaPanel .pusula-table tbody tr.sim-row.score-1 td:nth-child(11),:root[data-theme="dark"] #pusulaPanel .pusula-table tbody tr.sim-row.score-1 td:nth-child(12),:root[data-theme="dark"] #pusulaPanel .pusula-table tbody tr.sim-row.score-1 td:last-child{color:#f19da1 !important}
:root[data-theme="dark"] #pusulaPanel .pusula-table tbody tr.sim-row.score-5:hover td{background:#143420 !important}
:root[data-theme="dark"] #pusulaPanel .pusula-table tbody tr.sim-row.score-4:hover td{background:#2a3614 !important}
:root[data-theme="dark"] #pusulaPanel .pusula-table tbody tr.sim-row.score-3:hover td{background:#373115 !important}
:root[data-theme="dark"] #pusulaPanel .pusula-table tbody tr.sim-row.score-2:hover td{background:#352214 !important}
:root[data-theme="dark"] #pusulaPanel .pusula-table tbody tr.sim-row.score-1:hover td{background:#321313 !important}
:root[data-theme="dark"] #pusulaPanel .excel-export-btn{background:#161d27!important;color:#c0d8f1!important}
:root[data-theme="dark"] #pusulaPanel .excel-export-btn:hover{background:#122030!important}
:root[data-theme="dark"] #teams .team-sim-table th,:root[data-theme="dark"] #teams .team-sim-table td{border:1px solid #30445a!important}
:root[data-theme="dark"] #teams .team-sim-table thead th{color:#ffffff!important}
:root[data-theme="dark"] .password-card{border:1px solid #30445a!important;background:#161d27!important}
:root[data-theme="dark"] .password-fields input{border:1px solid #324357!important}
:root[data-theme="dark"] .table-total-bar{border:1px solid #30445a!important;background:#111e2e!important}
:root[data-theme="dark"] .table-total-bar strong{color:#bcdaf6!important}
:root[data-theme="dark"] #exportTeamExcelBtn{border:1px solid #314559!important;background:#161d27!important}
:root[data-theme="dark"] #teams .team-sim-table tbody tr.sr5 td{background:#13321d!important}
:root[data-theme="dark"] #teams .team-sim-table tbody tr.sr4 td{background:#283313!important}
:root[data-theme="dark"] #teams .team-sim-table tbody tr.sr3 td{background:#332d13!important}
:root[data-theme="dark"] #teams .team-sim-table tbody tr.sr2 td{background:#322013!important}
:root[data-theme="dark"] #teams .team-sim-table tbody tr.sr1 td{background:#301212!important}
:root[data-theme="dark"] #teams .team-sim-table tbody tr.sr5 td:first-child,:root[data-theme="dark"] #teams .team-sim-table tbody tr.sr5 td:nth-child(11),:root[data-theme="dark"] #teams .team-sim-table tbody tr.sr5 td:nth-child(12),:root[data-theme="dark"] #teams .team-sim-table tbody tr.sr5 td:last-child{color:#bcf6d2!important}
:root[data-theme="dark"] #teams .team-sim-table tbody tr.sr4 td:first-child,:root[data-theme="dark"] #teams .team-sim-table tbody tr.sr4 td:nth-child(11),:root[data-theme="dark"] #teams .team-sim-table tbody tr.sr4 td:nth-child(12),:root[data-theme="dark"] #teams .team-sim-table tbody tr.sr4 td:last-child{color:#e0f6bc!important}
:root[data-theme="dark"] #teams .team-sim-table tbody tr.sr3 td:first-child,:root[data-theme="dark"] #teams .team-sim-table tbody tr.sr3 td:nth-child(11),:root[data-theme="dark"] #teams .team-sim-table tbody tr.sr3 td:nth-child(12),:root[data-theme="dark"] #teams .team-sim-table tbody tr.sr3 td:last-child{color:#f6e1bc!important}
:root[data-theme="dark"] #teams .team-sim-table tbody tr.sr2 td:first-child,:root[data-theme="dark"] #teams .team-sim-table tbody tr.sr2 td:nth-child(11),:root[data-theme="dark"] #teams .team-sim-table tbody tr.sr2 td:nth-child(12),:root[data-theme="dark"] #teams .team-sim-table tbody tr.sr2 td:last-child{color:#f4c9ae!important}
:root[data-theme="dark"] #teams .team-sim-table tbody tr.sr1 td:first-child,:root[data-theme="dark"] #teams .team-sim-table tbody tr.sr1 td:nth-child(11),:root[data-theme="dark"] #teams .team-sim-table tbody tr.sr1 td:nth-child(12),:root[data-theme="dark"] #teams .team-sim-table tbody tr.sr1 td:last-child{color:#f19da1!important}
:root[data-theme="dark"] #pusulaPanel .table-total-bar,:root[data-theme="dark"] #teams .table-total-bar{background:#132331!important;border:1px solid #30455a!important}
:root[data-theme="dark"] #pusulaPanel .table-total-bar strong,:root[data-theme="dark"] #teams .table-total-bar strong{color:#bcdaf6!important}
:root[data-theme="dark"] #exportTeamExcelBtn{border:1px solid #334557!important;background:#161d27!important;color:#bcdaf6!important}
:root[data-theme="dark"] .mud-score-select,:root[data-theme="dark"] .team-score-select{background:#161d27!important}
:root[data-theme="dark"] #teams .team-sim-table{border:1px solid #30455a!important}
:root[data-theme="dark"] #teams .team-sim-table thead tr:first-child th{color:#ffffff!important;border:1px solid #30455a!important}
:root[data-theme="dark"] #teams .team-sim-table thead tr.scale-sub th:nth-child(1){color:#ffffff!important}
:root[data-theme="dark"] #teams .team-sim-table thead tr.scale-sub th:nth-child(2){color:#d9d9d9!important}
:root[data-theme="dark"] #teams .team-sim-table thead tr.scale-sub th:nth-child(3){color:#d9d9d9!important}
:root[data-theme="dark"] #teams .team-sim-table thead tr.scale-sub th:nth-child(4){color:#ffffff!important}
:root[data-theme="dark"] #teams .team-sim-table td:nth-child(2){background:#3e2517!important}
:root[data-theme="dark"] #teams .team-sim-table td:nth-child(4){background:#331313!important}
:root[data-theme="dark"] #teams .team-sim-table td:nth-child(5){background:#3c3617!important}
:root[data-theme="dark"] #teams .team-sim-table td:nth-child(6){background:#2c3916!important}
:root[data-theme="dark"] #teams .team-sim-table td:nth-child(7){background:#153723!important}
:root[data-theme="dark"] .team-final-summary{border:1px solid #30455a!important;background:#161d27!important}
:root[data-theme="dark"] .team-final-summary>div{border-right:1px solid #30455a!important}
:root[data-theme="dark"] .team-final-summary>div:nth-child(2){color:#ffffff!important}
:root[data-theme="dark"] #teams .team-sim-table .ap-row td{border:1px solid #30455a!important}
:root[data-theme="dark"] #teams .team-sim-table .ap-row td:nth-child(2),:root[data-theme="dark"] #teams .team-sim-table .ap-row td:nth-child(3){background:#312913!important}
:root[data-theme="dark"] #teams .team-sim-table .ap-row .ap-scale{background:#312913!important}
:root[data-theme="dark"] #teams .team-sim-table .ap-score-select{background:#161d27!important;border:1px solid #344556!important}
:root[data-theme="dark"] #teams .team-sim-table .ap-row td{background:#161d27!important;border:1px solid #30455a!important}
:root[data-theme="dark"] #teams .team-sim-table .ap-row td:nth-child(1),:root[data-theme="dark"] #teams .team-sim-table .ap-row td:nth-child(2),:root[data-theme="dark"] #teams .team-sim-table .ap-row td:nth-child(3){background:#161d27!important}
:root[data-theme="dark"] #teams .team-sim-table .ap-row .ap-scale{background:#161d27!important}
:root[data-theme="dark"] #teams .team-sim-table .ap-row.sr1 td{background:#2f1212!important}
:root[data-theme="dark"] #teams .team-sim-table .ap-row.sr2 td{background:#312413!important}
:root[data-theme="dark"] #teams .team-sim-table .ap-row.sr3 td{background:#312c13!important}
:root[data-theme="dark"] #teams .team-sim-table .ap-row.sr4 td{background:#273213!important}
:root[data-theme="dark"] #teams .team-sim-table .ap-row.sr5 td{background:#13331f!important}
:root[data-theme="dark"] #teams .team-sim-table .ap-row .ap-score-select{border:1px solid #344556!important;background:#161d27!important}
:root[data-theme="dark"] .danger-outline-btn{background:#161d27!important;color:#efa5ac!important}
:root[data-theme="dark"] .danger-outline-btn:hover{background:#2f1214!important}
:root[data-theme="dark"] .team-control-row{background:#161d27!important;border:1px solid #30455a!important}
:root[data-theme="dark"] .team-identity-label{color:#c0c8d2!important}
:root[data-theme="dark"] .team-identity strong{color:#bcdbf6!important}
:root[data-theme="dark"] .team-unit{color:#c0c8d2!important;border-left:1px solid #30455a!important}
@media(max-width:900px){}
@media(max-width:850px){}
:root[data-theme="dark"] .info-head h2{color:#bdd6f4!important}
:root[data-theme="dark"] .info-search{background:#161d27!important;border:1px solid #30445a!important}
:root[data-theme="dark"] .info-table th,:root[data-theme="dark"] .info-table td{border:1px solid #30455a!important}
:root[data-theme="dark"] .info-table thead th{background:#142230!important;color:#c1d9f0!important}
:root[data-theme="dark"] .info-table .info-s2{color:#ffffff!important}
:root[data-theme="dark"] .info-table .info-s3{color:#ffffff!important}
:root[data-theme="dark"] .info-table .info-s4{color:#d9d9d9!important}
:root[data-theme="dark"] .info-table .info-s5{color:#ffffff!important}
:root[data-theme="dark"] .info-table td.info-desc{color:#cfd7e2!important}
:root[data-theme="dark"] .info-table tbody tr:nth-child(even) td:not(.info-s2):not(.info-s3):not(.info-s4):not(.info-s5){background:#11202e!important}
@media(max-width:850px){}
:root[data-theme="dark"] .message-compose textarea{border:1px solid #324357!important}
:root[data-theme="dark"] .message-compose button,:root[data-theme="dark"] #refreshMessagesBtn{color:#ffffff!important}
:root[data-theme="dark"] .message-card{border:1px solid #30455a!important;background:#11202e!important}
:root[data-theme="dark"] .message-card-team{color:#bcdbf6!important}
:root[data-theme="dark"] .message-card-time{color:#c0c8d2!important}
:root[data-theme="dark"] .message-card-text{color:#ccd6e5!important}
:root[data-theme="dark"] .message-empty{color:#bbc2cd!important}
@media(max-width:850px){}
:root[data-theme="dark"] body.is-team .team-score-select{border:1px solid #324357!important;background:#161d27!important}
:root[data-theme="dark"] body.is-team #messageViewTeam{background:#161f2c!important}
:root[data-theme="dark"] .team-message-label{color:#d0d6df!important}
:root[data-theme="dark"] .admin-team-card{border:1px solid #30455a!important;background:#161d27!important}
:root[data-theme="dark"] .admin-team-card b{color:#bcdbf6!important}
:root[data-theme="dark"] .admin-team-card span{color:#cfd7e2!important}
:root[data-theme="dark"] .admin-team-card small{color:#c0c8d2!important}
:root[data-theme="dark"] .welcome-logo{color:#ffffff!important}
:root[data-theme="dark"] .welcome-card h1{color:#c2d6f0!important}
:root[data-theme="dark"] .welcome-card p{color:#c3c8d1!important}
:root[data-theme="dark"] .welcome-enter{color:#ffffff!important}
:root[data-theme="dark"] .welcome-login{background:#161d27!important;color:#c2d6f0!important;border:1px solid #354454!important}
:root[data-theme="dark"] .welcome-foot{color:#adb5c2!important}
@media(max-width:600px){}
:root[data-theme="dark"] .welcome-hotspot:focus-visible{outline:3px solid #304c5a!important}
@media(max-width:700px){}
:root[data-theme="dark"] .single-login-welcome{color:#ffffff!important}
:root[data-theme="dark"] .artes-line span{background:#1a2535!important}
:root[data-theme="dark"] .artes-line strong{color:#81cdee!important}
:root[data-theme="dark"] .single-login-button{color:#ffffff!important}
:root[data-theme="dark"] .single-features b{color:#81ccee!important}
@media(max-width:650px){}
:root[data-theme="dark"] .app-chooser{background:#15212d!important}
:root[data-theme="dark"] .app-chooser-side{color:#ffffff!important}
:root[data-theme="dark"] .chooser-avatar{background:#161d27!important;color:#bce3f6!important}
:root[data-theme="dark"] .chooser-logout{color:#ffffff!important}
:root[data-theme="dark"] .chooser-top small{color:#b9e5f5!important}
:root[data-theme="dark"] .chooser-top h1{color:#cad8e7!important}
:root[data-theme="dark"] .chooser-active{border:1px solid #30475a!important;background:#161d27!important;color:#ccdae6!important}
:root[data-theme="dark"] .chooser-card{background:#161d27!important;color:#c9d9e9!important}
:root[data-theme="dark"] .chooser-icon{border:1px solid #30485a!important;color:#a9d9f3!important;background:#12232e!important}
:root[data-theme="dark"] .chooser-card b{color:#a8d8f3!important}
:root[data-theme="dark"] .chooser-card small{color:#b9c2cd!important}
:root[data-theme="dark"] .chooser-card i{color:#b5bfca!important}
@media(max-width:800px){}
:root[data-theme="dark"] .hierarchy-filters{background:#161d27!important;border:1px solid #30455a!important}
:root[data-theme="dark"] .hierarchy-filters label{color:#cad2db!important}
:root[data-theme="dark"] .hierarchy-filters select,:root[data-theme="dark"] .hierarchy-filters input{border:1px solid #30455a!important;background:#161d27!important}
:root[data-theme="dark"] .hierarchy-table input,:root[data-theme="dark"] .hierarchy-table select{border:1px solid #30455a!important;background:#161d27!important}
:root[data-theme="dark"] .hierarchy-table tr.score1 td,:root[data-theme="dark"] .hierarchy-table tr.score2 td{background:#2f1212!important}
:root[data-theme="dark"] .hierarchy-table tr.score5 td{background:#12301e!important}
:root[data-theme="dark"] .scope-manager{background:#12212f!important}
:root[data-theme="dark"] .scope-manager span{color:#c0cad4!important}
:root[data-theme="dark"] .covered-group h4{color:#ffffff!important}
:root[data-theme="dark"] .covered-team{border-bottom:1px solid #30455a!important}
:root[data-theme="dark"] .covered-team b{color:#c0d9f1!important}
:root[data-theme="dark"] .unit-card{background:#161d27!important;border:1px solid #30465a!important;box-shadow:0 2px 8px #11223322!important}
:root[data-theme="dark"] .unit-card h3{color:#bedaf3!important}
:root[data-theme="dark"] .unit-card .uc-pp{color:#add8f4!important}
:root[data-theme="dark"] .unit-card p{color:#c0cad4!important}
:root[data-theme="dark"] .manager-tree>div{background:#122230!important}
:root[data-theme="dark"] .manager-tree span{color:#c0cad4!important}
@media(max-width:1100px){}
@media(max-width:650px){}
@media(min-width:1200px){}
@media(max-width:700px){}
@media(max-width:700px){}
@media(max-width:1000px){}
@media(max-width:430px){}
@media (max-width:1000px){}
@media (max-width:1200px){}
:root[data-theme="dark"] .messages-view{background:#142230!important}
:root[data-theme="dark"] .messages-shell{background:#161d27!important;border:1px solid #30455a!important}
:root[data-theme="dark"] .messages-topbar{border-bottom:1px solid #30455a!important;color:#ffffff!important}
:root[data-theme="dark"] .messages-sidebar{background:#13202d!important;border-right:1px solid #30455a!important}
:root[data-theme="dark"] .message-compose h3{color:#c0ddf2!important}
:root[data-theme="dark"] .message-compose label{color:#c9d2da!important}
:root[data-theme="dark"] .message-compose select,:root[data-theme="dark"] .message-compose textarea{border:1px solid #30465a!important;background:#161d27!important;color:#c8dbe9!important}
:root[data-theme="dark"] .conversation-panel{background:#15212d!important}
:root[data-theme="dark"] .conversation-head{background:#161d27!important;border-bottom:1px solid #30455a!important}
:root[data-theme="dark"] .conversation-head strong{color:#c4ddee!important}
:root[data-theme="dark"] .conversation-head span{color:#bbc4cb!important}
:root[data-theme="dark"] .message-filter label{color:#c4ccd3!important}
:root[data-theme="dark"] .message-filter select{border:1px solid #314658!important;background:#161d27!important}
:root[data-theme="dark"] .message-list{background-image:radial-gradient(#1c2633 0.7px,transparent .7px)!important}
:root[data-theme="dark"] .message-row.mine .message-bubble{background:#132833!important}
:root[data-theme="dark"] .message-row.theirs .message-bubble{background:#161d27!important;border:1px solid #324658!important}
:root[data-theme="dark"] .bubble-team{color:#b3dbf5!important}
:root[data-theme="dark"] .message-card-text{color:#c8dbe9!important}
:root[data-theme="dark"] .message-meta{color:#bbc3ca!important}
:root[data-theme="dark"] .message-ticks{color:#b1bbc3!important}
:root[data-theme="dark"] .message-ticks.read{color:#a3d2f2!important}
:root[data-theme="dark"] .message-empty{color:#b7c0c7!important}
:root[data-theme="dark"] .message-empty b{color:#cbd3da!important}
:root[data-theme="dark"] .team-message-label{background:#132532!important;color:#cadce7!important}
@media(max-width:900px){:root[data-theme="dark"] .messages-sidebar{border-bottom:1px solid #30455a!important}
}
:root[data-theme="dark"] .whatsapp-panel{background:#1b2330!important}
:root[data-theme="dark"] .whatsapp-head{background:#191f28!important;border-bottom:1px solid #3a4950!important}
:root[data-theme="dark"] .chat-avatar{color:#ffffff!important}
:root[data-theme="dark"] .conversation-identity strong{color:#c9dde8!important}
:root[data-theme="dark"] .conversation-identity span{color:#c5cdd1!important}
:root[data-theme="dark"] .whatsapp-head .message-filter label{color:#cdd5d9!important}
:root[data-theme="dark"] .whatsapp-list{background-color:#1b2330!important}
:root[data-theme="dark"] .whatsapp-list .message-row.mine .message-bubble{background:#193615!important}
:root[data-theme="dark"] .whatsapp-list .message-row.theirs .message-bubble{background:#161d27!important}
:root[data-theme="dark"] .whatsapp-list .message-card-text{color:#cddce5!important}
:root[data-theme="dark"] .whatsapp-list .message-meta{color:#c5cdd1!important}
:root[data-theme="dark"] .whatsapp-list .bubble-team{color:#b7e2f5!important}
:root[data-theme="dark"] .whatsapp-composer{background:#1b2129!important;border-top:1px solid #3c464e!important}
:root[data-theme="dark"] .composer-input textarea{background:#161d27!important;color:#cddce5!important}
:root[data-theme="dark"] .chat-send{color:#ffffff!important}
:root[data-theme="dark"] .composer-status{color:#c5cdd1!important}
@media(max-width:900px){}
:root[data-theme="dark"] body.app-fit.messages-mobile-mode .whatsapp-composer{background:#1b2129!important}
@media(max-width:520px){}
:root[data-theme="dark"] .activity-view{background:#122130!important}
:root[data-theme="dark"] .activity-hero{color:#ffffff!important}
:root[data-theme="dark"] .activity-cards>div{background:#161d27!important;border:1px solid #30465a!important}
:root[data-theme="dark"] .activity-cards span{color:#c0c8d2!important}
:root[data-theme="dark"] .activity-cards strong{color:#bcdbf6!important}
:root[data-theme="dark"] .activity-panel{background:#161d27!important;border:1px solid #30465a!important}
:root[data-theme="dark"] .activity-panel-head{border-bottom:1px solid #30455a!important}
:root[data-theme="dark"] .activity-panel-head h3{color:#bfdcf3!important}
:root[data-theme="dark"] .activity-panel-head small{color:#bbc2cd!important}
:root[data-theme="dark"] .activity-panel-head button,:root[data-theme="dark"] .activity-panel-head select{border:1px solid #30465a!important;background:#161d27!important;color:#c8dbea!important}
:root[data-theme="dark"] .activity-table th{background:#12232f!important;color:#c3cbd4!important}
:root[data-theme="dark"] .activity-table td{border-top:1px solid #30475a!important}
:root[data-theme="dark"] .presence-offline{background:#2e3745!important}
:root[data-theme="dark"] .presence-name{color:#c3dcef!important}
:root[data-theme="dark"] .presence-sub{color:#b5bec7!important}
:root[data-theme="dark"] .activity-log-item{border-bottom:1px solid #30475a!important}
:root[data-theme="dark"] .activity-log-icon{background:#132732!important}
:root[data-theme="dark"] .activity-log-main strong{color:#c3ddee!important}
:root[data-theme="dark"] .activity-log-main p{color:#c5cdd4!important}
:root[data-theme="dark"] .activity-log-main time{color:#aeb8c1!important}
:root[data-theme="dark"] .activity-empty{color:#bbc2cd!important}
@media(max-width:1050px){}
@media(max-width:600px){}
@media(min-width:901px){:root[data-theme="dark"] .web-chat-sidebar{background:#161d27!important;border-right:1px solid #30425a!important}
:root[data-theme="dark"] .web-chat-sidebar-head strong{color:#c3ddef!important}
:root[data-theme="dark"] .web-chat-sidebar-head span{color:#b5bec6!important}
:root[data-theme="dark"] .web-chat-search{background:#16202d!important;color:#bbc2cd!important}
:root[data-theme="dark"] .web-chat-search input{color:#c5dded!important}
:root[data-theme="dark"] .web-chat-item{border-top:1px solid #30475a!important;background:#161d27!important}
:root[data-theme="dark"] .web-chat-item:hover{background:#12232f!important}
:root[data-theme="dark"] .web-chat-item.active{background:#132732!important}
:root[data-theme="dark"] .web-chat-item.broadcast{border-bottom:1px solid #30465a!important;background:#12232e!important}
:root[data-theme="dark"] .web-chat-item.broadcast.active{background:#132532!important}
:root[data-theme="dark"] .web-chat-avatar{background:#132833!important;color:#b3dbf5!important}
:root[data-theme="dark"] .web-chat-item.broadcast .web-chat-avatar{background:#352a14!important}
:root[data-theme="dark"] .web-chat-copy b{color:#c5dded!important}
:root[data-theme="dark"] .web-chat-copy small{color:#b8c1c9!important}
:root[data-theme="dark"] .web-chat-meta{color:#aeb9c2!important}
:root[data-theme="dark"] .web-presence-dot{background:#2e3745!important;box-shadow:0 0 0 3px #454545!important}
}
:root[data-theme="dark"] .chat-attach{color:#cdd6da!important}
:root[data-theme="dark"] .chat-attach:hover{background:#20252c!important;color:#bce3f6!important}
:root[data-theme="dark"] .message-image-wrap{background:#21252a!important}
:root[data-theme="dark"] .message-image-wrap img{background:#111111!important}
:root[data-theme="dark"] .message-image-loading,:root[data-theme="dark"] .message-image-error{color:#c5cdd1!important}
:root[data-theme="dark"] .image-viewer-close{color:#ffffff!important}
:root[data-theme="dark"] .image-send-card{background:#161d27!important}
:root[data-theme="dark"] .image-send-head{border-bottom:1px solid #30485a!important}
:root[data-theme="dark"] .image-send-card>img{background:#111111!important}
:root[data-theme="dark"] .image-send-info{color:#c5cdd1!important}
:root[data-theme="dark"] .image-send-actions button{border:1px solid #364754!important;background:#161d27!important}
:root[data-theme="dark"] .image-send-actions button.primary{color:#ffffff!important}
@media(max-width:900px){}
@media (min-width: 761px){:root[data-theme="dark"] .web-unread-badge{color:#ffffff!important}
:root[data-theme="dark"] .web-chat-item.has-unread .web-chat-copy b{color:#bce0f6!important}
:root[data-theme="dark"] .web-chat-item.has-unread .web-chat-copy small{color:#cbdce7!important}
}
:root[data-theme="dark"] .admin-message-toast{border:1px solid #30495a!important}
:root[data-theme="dark"] .admin-message-toast .amt-avatar{color:#ffffff!important}
:root[data-theme="dark"] .admin-message-toast .amt-title{color:#c1dff1!important}
:root[data-theme="dark"] .admin-message-toast .amt-title i{box-shadow:0 0 0 3px #305a3e!important}
:root[data-theme="dark"] .admin-message-toast .amt-team{color:#b3dbf5!important}
:root[data-theme="dark"] .admin-message-toast .amt-preview{color:#c5ced4!important}
:root[data-theme="dark"] .admin-message-toast .amt-close{color:#aeb9c2!important}
:root[data-theme="dark"] .admin-message-toast .amt-close:hover{color:#cfd7e2!important}
:root[data-theme="dark"] .admin-nav-message-badge{color:#ffffff!important;box-shadow:0 0 0 2px #454545!important}
@media(max-width:700px){}
:root[data-theme="dark"] .web-unread-dot{border:2px solid #454545!important}
:root[data-theme="dark"] .web-chat-item.has-unread{background:#12252f!important}
:root[data-theme="dark"] .web-chat-item.has-unread .web-chat-meta{color:#b3dbf5!important}
@media(max-width:700px){}
:root[data-theme="dark"] .message-more{color:#c7cfd4!important}
:root[data-theme="dark"] .message-action-menu{background:#161d27!important;border:1px solid #3a4950!important}
:root[data-theme="dark"] .message-action-menu button{color:#d0dbe1!important}
:root[data-theme="dark"] .message-action-menu button:hover{background:#1a202a!important}
:root[data-theme="dark"] .message-action-menu button.danger{color:#eda6a6!important}
:root[data-theme="dark"] .message-edited{color:#bcc4c9!important}
:root[data-theme="dark"] .message-deleted{color:#c5cdd1!important}
:root[data-theme="dark"] .message-edit-card{background:#161d27!important}
:root[data-theme="dark"] .message-edit-title{color:#c9dde8!important}
:root[data-theme="dark"] .message-edit-card textarea{border:1px solid #344555!important}
:root[data-theme="dark"] .message-edit-actions .primary{color:#ffffff!important}
@media(max-width:900px){}
@media (min-width:1001px){:root[data-theme="dark"] body:not(.app-fit) nav{border-bottom:1px solid #30455a!important}
:root[data-theme="dark"] body:not(.app-fit) nav button[data-view]{border:1px solid #30455a!important;background:#161d27!important;color:#cfd9e2!important}
:root[data-theme="dark"] body:not(.app-fit) nav button[data-view]:hover{border-color:#30455a!important;color:#bcddf6!important}
:root[data-theme="dark"] body:not(.app-fit) nav button[data-view].active{color:#ffffff!important}
:root[data-theme="dark"] body:not(.app-fit) .messages-view{background:#13212f!important}
:root[data-theme="dark"] body:not(.app-fit) .whatsapp-workspace{border:1px solid #30455a!important;background:#161d27!important}
:root[data-theme="dark"] body:not(.app-fit) .web-chat-sidebar{background:#161d27!important;border-right:1px solid #30465a!important}
:root[data-theme="dark"] body:not(.app-fit) .web-chat-sidebar-head strong{color:#c0dbf1!important}
:root[data-theme="dark"] body:not(.app-fit) .web-chat-sidebar-head span{background:#122030!important;color:#acd4f4!important}
:root[data-theme="dark"] body:not(.app-fit) .web-chat-search{border:1px solid #30465a!important;background:#13202d!important}
:root[data-theme="dark"] body:not(.app-fit) .web-chat-item:hover{background:#12232f!important}
:root[data-theme="dark"] body:not(.app-fit) .web-chat-item.active{background:linear-gradient(90deg,#132331,#121f2f)!important}
:root[data-theme="dark"] body:not(.app-fit) .web-chat-item.has-unread{background:#12212f!important}
:root[data-theme="dark"] body:not(.app-fit) .web-chat-avatar{color:#ffffff!important}
:root[data-theme="dark"] body:not(.app-fit) .web-unread-dot{border:3px solid #454545!important}
:root[data-theme="dark"] body:not(.app-fit) .web-chat-copy b{color:#c4daed!important}
:root[data-theme="dark"] body:not(.app-fit) .web-chat-item.has-unread .web-chat-copy b{color:#bcdcf6!important}
:root[data-theme="dark"] body:not(.app-fit) .web-chat-item.has-unread .web-chat-copy small{color:#c7dceb!important}
:root[data-theme="dark"] body:not(.app-fit) .conversation-panel{background:#19202b!important}
:root[data-theme="dark"] body:not(.app-fit) .whatsapp-head{border-bottom:1px solid #30465a!important}
:root[data-theme="dark"] body:not(.app-fit) .conversation-identity strong{color:#c2dbf0!important}
:root[data-theme="dark"] .conversation-identity span{color:#bbc5cd!important}
:root[data-theme="dark"] body:not(.app-fit) .whatsapp-list{background-color:#1a202b!important}
:root[data-theme="dark"] body:not(.app-fit) .message-row.mine .message-bubble{background:#1c3615!important;border-color:#395a30!important}
:root[data-theme="dark"] body:not(.app-fit) .whatsapp-composer{border-top:1px solid #314659!important}
:root[data-theme="dark"] body:not(.app-fit) .composer-input{background:#161d27!important;border:1px solid #30465a!important}
}
:root[data-theme="dark"]{--v95-bg:#121f30!important;--v95-surface:#161d27!important;--v95-line:#162432!important;--v95-ink:#c1d9f0!important;--v95-muted:#bdc6cf!important;--v95-soft:#122030!important}
@media (min-width:1001px){:root[data-theme="dark"] body:not(.app-fit)>header{background:#161d27!important}
:root[data-theme="dark"] body:not(.app-fit)>header>div:first-child:before{background:linear-gradient(145deg,#132231,#142435)!important;box-shadow:inset 0 0 0 1px #30455a!important}
:root[data-theme="dark"] body:not(.app-fit)>header h1{color:#bedaf4!important}
:root[data-theme="dark"] body:not(.app-fit)>header #date{background:#13202d!important;color:#cad5de!important}
:root[data-theme="dark"] body:not(.app-fit)>.cloudbar{background:#111f2d!important}
:root[data-theme="dark"] body:not(.app-fit)>.cloudbar strong{color:#c6dbeb!important}
:root[data-theme="dark"] body:not(.app-fit)>.cloudbar button,:root[data-theme="dark"] body:not(.app-fit)>.cloudbar .admin-badge{border:1px solid #30475a!important;background:#161d27!important;color:#ccdae5!important}
:root[data-theme="dark"] body:not(.app-fit) .view>.toolbar h2,:root[data-theme="dark"] body:not(.app-fit) .hierarchy-title h2,:root[data-theme="dark"] body:not(.app-fit) .info-head h2,:root[data-theme="dark"] body:not(.app-fit) .sectiontitle h2{color:#c0dbf1!important}
:root[data-theme="dark"] body:not(.app-fit) .view>.toolbar p,:root[data-theme="dark"] body:not(.app-fit) .hierarchy-title p,:root[data-theme="dark"] body:not(.app-fit) .info-head p,:root[data-theme="dark"] body:not(.app-fit) .sectiontitle p{color:#b9c3cd!important}
:root[data-theme="dark"] body:not(.app-fit) .panel h2,:root[data-theme="dark"] body:not(.app-fit) .panel h3,:root[data-theme="dark"] body:not(.app-fit) .sim-box h3,:root[data-theme="dark"] body:not(.app-fit) .focus-box h3{color:#c3dbef!important}
:root[data-theme="dark"] body:not(.app-fit) .hierarchy-filters,:root[data-theme="dark"] body:not(.app-fit) .form{background:#161d27!important}
:root[data-theme="dark"] body:not(.app-fit) label{color:#c6d1da!important}
:root[data-theme="dark"] body:not(.app-fit) input,:root[data-theme="dark"] body:not(.app-fit) select,:root[data-theme="dark"] body:not(.app-fit) textarea{border:1px solid #30475a!important;background:#111f2d!important;color:#c4daed!important}
:root[data-theme="dark"] body:not(.app-fit) input:focus,:root[data-theme="dark"] body:not(.app-fit) select:focus,:root[data-theme="dark"] body:not(.app-fit) textarea:focus{border-color:#30465a!important;background:#161d27!important}
:root[data-theme="dark"] body:not(.app-fit) .excel-export-btn{background:#161d27!important;color:#c1f0d7!important;border:1px solid #305a42!important}
:root[data-theme="dark"] body:not(.app-fit) .danger-outline-btn{background:#161d27!important;border:1px solid #5a3034!important;color:#efaeb2!important}
:root[data-theme="dark"] body:not(.app-fit) .tablewrap{background:#161d27!important}
:root[data-theme="dark"] body:not(.app-fit) table thead th{background:#122130!important;color:#cbd8e2!important;border-color:#30465a!important}
:root[data-theme="dark"] body:not(.app-fit) table tbody td{border-color:#30455a!important;color:#ccdae5!important}
:root[data-theme="dark"] body:not(.app-fit) .table-total-bar{background:#12232f!important;color:#cadbe7!important}
:root[data-theme="dark"] body:not(.app-fit) #mud .pusula-head{border:1px solid #30465a!important;color:#ffffff!important}
:root[data-theme="dark"] body:not(.app-fit) #mud .pusula-head h2,:root[data-theme="dark"] body:not(.app-fit) #mud .pusula-head small,:root[data-theme="dark"] body:not(.app-fit) #mud .pusula-date{color:#ffffff!important}
:root[data-theme="dark"] .sim-title{background:#161d27!important}
:root[data-theme="dark"] body:not(.app-fit) #dispatch .hierarchy-title,:root[data-theme="dark"] body:not(.app-fit) #units .hierarchy-title{background:linear-gradient(135deg,#111e2e,#122030)!important;border:1px solid #30465a!important}
:root[data-theme="dark"] body:not(.app-fit) #teams>.toolbar{background:linear-gradient(135deg,#111e2e,#122030)!important;border:1px solid #30465a!important}
:root[data-theme="dark"] body:not(.app-fit) #info .info-head{background:linear-gradient(135deg,#111e2e,#122030)!important;border:1px solid #30465a!important}
:root[data-theme="dark"] body:not(.app-fit) #activity .activity-hero h2,:root[data-theme="dark"] body:not(.app-fit) #activity .activity-hero p{color:#ffffff!important}
:root[data-theme="dark"] body:not(.app-fit) .activity-live{color:#ffffff!important}
:root[data-theme="dark"] body:not(.app-fit) #entry .entrytabs button{color:#c3ced7!important}
:root[data-theme="dark"] body:not(.app-fit) #entry .entrytabs button.active{color:#b3d6f5!important;box-shadow:inset 0 0 0 1px #30455a!important}
:root[data-theme="dark"] body:not(.app-fit) .admin-message-toast{border:1px solid #30475a!important}
}
@media(max-width:1000px){:root[data-theme="dark"] body:not(.welcome-locked):not(.chooser-locked){background:#121f30!important}
:root[data-theme="dark"] body:not(.welcome-locked):not(.chooser-locked)>header{background:#161d27!important;border-bottom:1px solid #30465a!important}
}
@media (min-width:1001px){:root[data-theme="dark"]{--x-bg:#121f30!important;--x-card:#161d27!important;--x-line:#172432!important;--x-text:#c2d8ef!important;--x-muted:#bcc4ce!important;--x-soft:#122030!important}
:root[data-theme="dark"] body:not(.app-fit)>header{background:#161d27!important}
:root[data-theme="dark"] body:not(.app-fit)>header>div:first-child:before{background:linear-gradient(145deg,#132131,#142335)!important;color:#a1c9f2!important}
:root[data-theme="dark"] body:not(.app-fit)>header h1{color:#c0d9f1!important}
:root[data-theme="dark"] body:not(.app-fit)>header p{color:#b9c2cd!important}
:root[data-theme="dark"] body:not(.app-fit)>header #date{background:#12212f!important}
:root[data-theme="dark"] body:not(.app-fit)>.cloudbar button,:root[data-theme="dark"] body:not(.app-fit)>.cloudbar .admin-badge{background:#161d27!important;border:1px solid #30455a!important}
:root[data-theme="dark"] body:not(.app-fit)>nav{background:#161d27!important;border-top:1px solid #30425a!important;border-bottom:1px solid #30455a!important}
:root[data-theme="dark"] body:not(.app-fit)>nav button{border:1px solid #30455a!important;background:#161d27!important;color:#cad9e8!important}
:root[data-theme="dark"] body:not(.app-fit)>nav button:hover{border-color:#30465a!important;background:#11222d!important}
:root[data-theme="dark"] body:not(.app-fit)>nav button.active{color:#ffffff!important}
:root[data-theme="dark"] body:not(.app-fit) .sectiontitle,:root[data-theme="dark"] body:not(.app-fit) .hierarchy-title,:root[data-theme="dark"] body:not(.app-fit) #teams>.toolbar,:root[data-theme="dark"] body:not(.app-fit) #info .info-head{background:#161d27!important}
:root[data-theme="dark"] body:not(.app-fit) .sectiontitle h2,:root[data-theme="dark"] body:not(.app-fit) .hierarchy-title h2,:root[data-theme="dark"] body:not(.app-fit) #teams>.toolbar h2,:root[data-theme="dark"] body:not(.app-fit) #info .info-head h2{color:#c0d9f2!important}
:root[data-theme="dark"] body:not(.app-fit) .p-card{background:#161d27!important}
:root[data-theme="dark"] body:not(.app-fit) .p-card span{color:#bec8d2!important}
:root[data-theme="dark"] body:not(.app-fit) .p-card b{color:#c0daf1!important}
:root[data-theme="dark"] body:not(.app-fit) .p-card small{color:#b0bac6!important}
:root[data-theme="dark"] body:not(.app-fit) .focus-box,:root[data-theme="dark"] body:not(.app-fit) .sim-box,:root[data-theme="dark"] body:not(.app-fit) .panel{background:#161d27!important}
:root[data-theme="dark"] body:not(.app-fit) .hierarchy-filters,:root[data-theme="dark"] body:not(.app-fit) .form{background:#161d27!important}
:root[data-theme="dark"] body:not(.app-fit) input,:root[data-theme="dark"] body:not(.app-fit) select,:root[data-theme="dark"] body:not(.app-fit) textarea{background:#11202e!important;border:1px solid #30455a!important}
:root[data-theme="dark"] body:not(.app-fit) .tablewrap,:root[data-theme="dark"] body:not(.app-fit) .sim-scroll{border:1px solid #30455a!important;background:#161d27!important}
:root[data-theme="dark"] body:not(.app-fit) table thead th{background:#122130!important;color:#cad5de!important;border-bottom:1px solid #30455a!important}
:root[data-theme="dark"] body:not(.app-fit) table tbody td{border-bottom:1px solid #314559!important;background:#161d27!important}
:root[data-theme="dark"] body:not(.app-fit) table tbody tr:hover td{background:#111e2e!important}
:root[data-theme="dark"] body:not(.app-fit) .team-card{background:#161d27!important}
:root[data-theme="dark"] body:not(.app-fit) .team-card:hover{border-color:#30475a!important}
:root[data-theme="dark"] body:not(.app-fit) .activity-card,:root[data-theme="dark"] body:not(.app-fit) .activity-stat{background:#161d27!important}
:root[data-theme="dark"] body:not(.app-fit) #entry .entrytabs{background:#161d27!important}
:root[data-theme="dark"] body:not(.app-fit) #entry .entrytabs button.active{background:#132131!important;color:#a7cef3!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .messages-shell{background:#161d27!important;border:1px solid #30455a!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .messages-topbar{background:#161d27!important;border-bottom:1px solid #30455a!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .messages-topbar h2{color:#c0d9f1!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .messages-workspace{background:#161d27!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .message-sidebar{background:#161d27!important;border-right:1px solid #30455a!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .message-sidebar-header{background:#111f2d!important;border-bottom:1px solid #30455a!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .message-search input{background:#13212f!important;border:1px solid #30455a!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .message-team-item{border-bottom:1px solid #314559!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .message-team-item:hover{background:#121f2f!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .message-team-item.active{background:linear-gradient(90deg,#132131,#12202f)!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .message-chat{background:#302416!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .message-chat-header{background:#161d27!important;border-bottom:1px solid #30455a!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .message-list{background-color:#2f2416!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .message-bubble.admin{background:#203815!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .message-compose{background:#161d27!important;border-top:1px solid #30455a!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .message-compose textarea{background:#161e2b!important;border:1px solid #30455a!important}
:root[data-theme="dark"] body:not(.app-fit) #info .info-search{background:#161d27!important}
:root[data-theme="dark"] body:not(.app-fit) *::-webkit-scrollbar-thumb{background:#1d2838!important}
}
@media (min-width:801px){:root[data-theme="dark"] .app-chooser{background:linear-gradient(135deg,#121e2f 0%,#132231 100%)!important}
:root[data-theme="dark"] .chooser-top small{color:#b4e3f5!important}
:root[data-theme="dark"] .chooser-top h1{color:#c4d9ed!important}
:root[data-theme="dark"] .chooser-top p{color:#b9c2cd!important}
:root[data-theme="dark"] .chooser-active{border:1px solid #30465a!important}
:root[data-theme="dark"] .chooser-card{border:1px solid #30455a!important}
:root[data-theme="dark"] .chooser-card:hover{border-color:#30475a!important}
:root[data-theme="dark"] .chooser-icon{background:linear-gradient(145deg,#122230,#132233)!important;color:#acd6f4!important;box-shadow:inset 0 0 0 1px #30475a!important}
:root[data-theme="dark"] .chooser-card:hover .chooser-icon{color:#ffffff!important}
:root[data-theme="dark"] .chooser-copy em{color:#aab8c5!important}
:root[data-theme="dark"] .chooser-card b{color:#c2daf0!important}
:root[data-theme="dark"] .chooser-card small{color:#b9c2cd!important}
:root[data-theme="dark"] .chooser-arrow{background:#122130!important;color:#bbc4ce!important}
:root[data-theme="dark"] .chooser-card:hover .chooser-arrow{color:#ffffff!important}
:root[data-theme="dark"] .chooser-card-dispatch .chooser-icon{background:linear-gradient(145deg,#141230,#151332)!important;color:#9f9edf!important;box-shadow:inset 0 0 0 1px #33305a!important}
:root[data-theme="dark"] .chooser-card-units .chooser-icon{background:linear-gradient(145deg,#133125,#143526)!important;color:#bcf6e2!important;box-shadow:inset 0 0 0 1px #305a47!important}
:root[data-theme="dark"] .chooser-card-teams .chooser-icon{background:linear-gradient(145deg,#312513,#352714)!important;color:#f3d1a8!important;box-shadow:inset 0 0 0 1px #5a4830!important}
:root[data-theme="dark"] .chooser-card-dispatch:hover .chooser-icon,:root[data-theme="dark"] .chooser-card-units:hover .chooser-icon,:root[data-theme="dark"] .chooser-card-teams:hover .chooser-icon{color:#ffffff!important}
}
:root[data-theme="dark"] body:not(.app-fit)>nav{background:#161d27!important}
:root[data-theme="dark"] body:not(.app-fit)>nav button[data-view]{border:1px solid #30435a!important;color:#ccd9e6!important;background:linear-gradient(180deg,#161d27,#111f2d)!important}
:root[data-theme="dark"] body:not(.app-fit)>nav button[data-view].active{color:#ffffff!important}
:root[data-theme="dark"] body:not(.app-fit)>nav button[data-view]:hover:not(.active){color:#b7d8f5!important;border-color:#30455a!important;background:#111e2e!important}
:root[data-theme="dark"] body:not(.app-fit)>nav .nav-icon{background:#132331!important;color:#b3d9f5!important}
:root[data-theme="dark"] body:not(.app-fit)>nav button.active .nav-icon{color:#ffffff!important}
:root[data-theme="dark"] body:not(.app-fit)>nav button:hover:not(.active) .nav-icon{background:#132332!important;color:#b7d8f5!important}
:root[data-theme="dark"] body:not(.app-fit)>nav #adminLoginBtn{border:1px solid #30435a!important;background:#12232e!important;color:#ccd9e5!important}
:root[data-theme="dark"] body:not(.app-fit)>nav button[data-view="messages"] .admin-nav-message-badge{border:2px solid #454545!important}
@media(max-width:1250px){}
@media (min-width: 900px){:root[data-theme="dark"] body>nav{border-bottom:1px solid #30455a!important}
:root[data-theme="dark"] body>nav button[data-view]{color:#cad4dd!important}
:root[data-theme="dark"] body>nav button[data-view]:hover:not(.active){background:#12212f!important;border-color:#30465a!important;color:#bbdcf6!important}
:root[data-theme="dark"] body>nav button[data-view].active{background:#122130!important;border-color:#30465a!important;color:#bcddf6!important}
:root[data-theme="dark"] body>nav .nav-icon{background:#122331!important;color:#c7d8e7!important}
:root[data-theme="dark"] body>nav button.active .nav-icon{color:#ffffff!important}
}
@media (min-width: 900px){:root[data-theme="dark"] body:not(.app-fit) #messages{background:#131f2f!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .messages-shell{border:1px solid #30455a!important;background:#161d27!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .messages-workspace{background:#161d27!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-chat-sidebar{background:#161d27!important;border-right:1px solid #30455a!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-chat-sidebar-head{border-bottom:1px solid #314559!important;background:#161d27!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-chat-sidebar-head strong{color:#c2d9f0!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-chat-sidebar-head strong:before{color:#ffffff!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-chat-sidebar-head span{color:#b4bdc7!important;background:#161f2c!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-chat-search{background:#13212f!important;border:1px solid #30455a!important;color:#b2c0cc!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-chat-search input{color:#cad9e8!important}
:root[data-theme="dark"] body:not(.app-fit) #messages #webBroadcastBtn{background:#121d2f!important;border:1px solid #30445a!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-chat-item{border-bottom:1px solid #314559!important;background:#161d27!important;color:#c4daee!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-chat-item:hover{background:#121e2e!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-chat-item.active{background:linear-gradient(90deg,#132232,#121f2f)!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-chat-avatar{background:linear-gradient(145deg,#132532,#152837)!important;color:#b8ddf5!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-chat-item.active .web-chat-avatar{color:#ffffff!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-chat-item.broadcast .web-chat-avatar{background:#352914!important;color:#f6e0bc!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-chat-copy b{color:#c4daee!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-chat-copy small{color:#b9c3cd!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-chat-meta{color:#adb8c2!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-unread-badge{color:#ffffff!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-unread-dot{border:2px solid #454545!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-presence-dot{border:2px solid #454545!important;background:#2c333d!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .conversation-panel{background:#2f2416!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .conversation-head{background:#161d27!important;border-bottom:1px solid #30455a!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .chat-avatar{color:#ffffff!important}
:root[data-theme="dark"] body:not(.app-fit) #messages #conversationTitle{color:#c3d9ef!important}
:root[data-theme="dark"] body:not(.app-fit) #messages #conversationSubtitle{color:#b6c0c9!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .message-filter select{border:1px solid #30465a!important;background:#13202d!important;color:#ccd9e6!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .message-list{background-color:#2f2416!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .message-row.mine .message-bubble{background:#203815!important;border:1px solid #3b5a30!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .message-row.theirs .message-bubble{background:#161d27!important;border:1px solid #384552!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .bubble-team{color:#b3dcf5!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .message-card-text{color:#c7dbea!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .message-meta{color:#b7c0c7!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .whatsapp-composer{background:#161d27!important;border-top:1px solid #314559!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .composer-input{background:#13202d!important;border:1px solid #30455a!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .chat-attach{color:#c6d3de!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .chat-attach:hover{background:#132433!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .chat-send{color:#ffffff!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .composer-status{color:#b9c3cd!important}
}
@media (min-width:1001px){:root[data-theme="dark"] body:not(.app-fit) #messages .messages-shell{background:#121f30!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .messages-workspace{background:#161d27!important;border:1px solid #30435a!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-chat-sidebar{background:#161d27!important;border-right:1px solid #30435a!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-chat-sidebar-head strong{color:#c3d8ef!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-chat-sidebar-head strong:before{color:#ffffff!important}
:root[data-theme="dark"] body:not(.app-fit) #messages #webUnreadTotalBadge{color:#ffffff!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-chat-search{background:#121d2f!important;border:1px solid #30435a!important}
:root[data-theme="dark"] body:not(.app-fit) #messages #webBroadcastBtn{background:#111c2e!important;border:1px solid #30445a!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-chat-item.active{background:linear-gradient(90deg,#132232,#121f2f)!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .conversation-panel{background:#2f2416!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .conversation-head{background:#161d27!important;border-bottom:1px solid #324558!important}
:root[data-theme="dark"] body:not(.app-fit) #messages #conversationTitle{color:#c3d8ef!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .conversation-head:after{border:1px solid #30455a!important;background:#13202d!important;color:#bec8d2!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .message-list{background-color:#2f2416!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .message-row.theirs .message-bubble{background:#161d27!important;border:1px solid #3a4350!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .message-row.mine .message-bubble{background:#1d3715!important;border:1px solid #395a30!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .whatsapp-composer{background:#161d27!important;border-top:1px solid #30455a!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .composer-input{background:#13202d!important;border:1px solid #30465a!important}
}
:root[data-theme="dark"] hr{border-top:1px solid #30435a!important}
@media (min-width:1001px){:root[data-theme="dark"] body:not(.app-fit) #messages .messages-shell{background:#161d27!important;border:1px solid #30455a!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .messages-workspace{background:#161d27!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-chat-sidebar{background:#161d27!important;border-right:1px solid #30455a!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-chat-sidebar-head{background:#161d27!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-chat-sidebar-head strong{color:#c0d8f1!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-chat-sidebar-head strong:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='23' height='23' viewBox='0 0 24 24' fill='none' stroke='#161d27' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a4 4 0 0 1-4 4H8l-5 3v-4.5A4 4 0 0 1 2 15V7a4 4 0 0 1 4-4h11a4 4 0 0 1 4 4z'/%3E%3Cpath d='M7 9h10M7 13h6'/%3E%3C/svg%3E")!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-chat-sidebar-head span{color:#ffffff!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-chat-search{border:1px solid #30455a!important;background:#13202d!important}
:root[data-theme="dark"] body:not(.app-fit) #messages #webBroadcastBtn{border:1px solid #30455a!important;background:#111c2e!important}
:root[data-theme="dark"] body:not(.app-fit) #messages #webBroadcastBtn.active{background:#132131!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-chat-item{border-bottom:1px solid #314559!important;background:#161d27!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-chat-item.active{background:linear-gradient(90deg,#132232,#121e2f)!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-chat-copy b{color:#c4d9ee!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-chat-copy small{color:#b9c3cd!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .conversation-panel{background:#2f2416!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .conversation-head{background:#161d27!important;border-bottom:1px solid #30455a!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .chat-avatar{color:#ffffff!important}
:root[data-theme="dark"] body:not(.app-fit) #messages #conversationTitle{color:#c2d8ef!important}
:root[data-theme="dark"] body:not(.app-fit) #messages #conversationSubtitle{color:#b8c3ce!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .conversation-head:after{border:1px solid #30435a!important;background:#13202d!important;color:#ccd9e6!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .message-list{background-color:#2f2416!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .message-row.theirs .message-bubble{background:#161d27!important;border:1px solid #3a4350!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .message-row.mine .message-bubble{background:#1d3715!important;border:1px solid #395a30!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .bubble-team{color:#b3dcf5!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .message-card-text{color:#c4daed!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .message-meta{color:#b8c2cb!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .whatsapp-composer{background:#161d27!important;border-top:1px solid #30455a!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .composer-input{border:1px solid #30465a!important;background:#11202e!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .chat-send{color:#ffffff!important}
}
:root[data-theme="dark"] .team-sim-table,:root[data-theme="dark"] .team-final-summary,:root[data-theme="dark"] .hierarchy-table,:root[data-theme="dark"] .tablewrap table{border-color:#30455a!important}
:root[data-theme="dark"] .team-sim-table th,:root[data-theme="dark"] .team-sim-table td,:root[data-theme="dark"] .team-final-summary>div,:root[data-theme="dark"] .hierarchy-table th,:root[data-theme="dark"] .hierarchy-table td{border-color:#30455a!important}
:root[data-theme="dark"] .view,:root[data-theme="dark"] .panel,:root[data-theme="dark"] .toolbar,:root[data-theme="dark"] .team-control-row,:root[data-theme="dark"] .focus-box,:root[data-theme="dark"] .pusula-focus-grid,:root[data-theme="dark"] .pusula-cards,:root[data-theme="dark"] .hierarchy-layout{border-top-color:#30455a!important;border-bottom-color:#30455a!important}
@media (min-width:1001px){:root[data-theme="dark"] body:not(.app-fit) #messages .messages-shell{border:1px solid #30445a!important;background:#161d27!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-chat-sidebar{background:#161d27!important;border-right:1px solid #30435a!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-chat-sidebar-head{background:#161d27!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .msg-brand-icon{color:#ffffff!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .msg-brand strong{color:#c2d8f0!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .msg-brand small{color:#b1bcc7!important}
:root[data-theme="dark"] body:not(.app-fit) #messages #webUnreadTotalBadge{color:#ffffff!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-chat-search{border:1px solid #30455a!important;background:#121d2f!important}
:root[data-theme="dark"] body:not(.app-fit) #messages #webBroadcastBtn{border:1px solid #30445a!important;background:#111c2e!important}
:root[data-theme="dark"] body:not(.app-fit) #messages #webBroadcastBtn .web-chat-avatar{background:#352a14!important;color:#f6debc!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-chat-item{border-bottom:1px solid #314559!important;background:#161d27!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-chat-item:hover{background:#111c2e!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-chat-item.active{background:linear-gradient(90deg,#132233,#121f2f)!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-chat-avatar{background:linear-gradient(145deg,#132231,#142535)!important;color:#acd3f4!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-chat-copy b{color:#c3d9ef!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-chat-copy small{color:#b7c2cc!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-chat-unread{color:#ffffff!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .conversation-panel{background:#2f2416!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .conversation-head{background:#161d27!important;border-bottom:1px solid #30435a!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .chat-avatar{color:#ffffff!important}
:root[data-theme="dark"] body:not(.app-fit) #messages #conversationTitle{color:#c2d8ef!important}
:root[data-theme="dark"] body:not(.app-fit) #messages #conversationSubtitle{color:#b8c2cc!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .ceo-chat-actions button{border:1px solid #30455a!important;background:#13202d!important;color:#c8dae9!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .message-list{background-color:#2f2416!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .message-row.theirs .message-bubble{background:#161d27!important;border:1px solid #384551!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .message-row.mine .message-bubble{background:#1c3615!important;border:1px solid #395a30!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .bubble-team{color:#b1dbf4!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .message-card-text{color:#c7daeb!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .message-meta{color:#b9c2cb!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .whatsapp-composer{background:#161d27!important;border-top:1px solid #314359!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .composer-input{border:1px solid #30465a!important;background:#11202e!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .chat-attach{background:#132231!important;color:#cadae8!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .chat-send{color:#ffffff!important}
}
@media (min-width:1001px){:root[data-theme="dark"] body:not(.app-fit) #messages .messages-shell{border:1px solid #30455a!important;background:#161d27!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-chat-sidebar{background:#161d27!important;border-right:1px solid #30455a!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-chat-sidebar-head{background:#161d27!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .msg-brand strong{color:#c1d8f1!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .msg-brand small{color:#b2bdc7!important}
:root[data-theme="dark"] body:not(.app-fit) #messages #webUnreadTotalBadge{color:#ffffff!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-chat-search{border:1px solid #30455a!important;background:#121d2f!important}
:root[data-theme="dark"] body:not(.app-fit) #messages #webBroadcastBtn{background:#13202d!important}
:root[data-theme="dark"] body:not(.app-fit) #messages #webBroadcastBtn.active{background:#122030!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-chat-item{border-bottom:1px solid #334757!important;background:#161d27!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-chat-item:hover{background:#13202d!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-chat-item.active{background:#132131!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-chat-avatar{background:#132533!important;color:#aed7f4!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-chat-copy b{color:#c4d9ee!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-chat-copy small{color:#b5c0ca!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-chat-unread{color:#ffffff!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .conversation-panel{background:#18202d!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .conversation-head{background:#161d27!important;border-bottom:1px solid #344556!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .chat-avatar{color:#ffffff!important}
:root[data-theme="dark"] body:not(.app-fit) #messages #conversationTitle{color:#c2d9f0!important}
:root[data-theme="dark"] body:not(.app-fit) #messages #conversationSubtitle{color:#b4bec8!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .ceo-chat-actions button{border:1px solid #314559!important;background:#13202d!important;color:#cddae5!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .message-list{background:#18202d!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .message-row.theirs .message-bubble{background:#161d27!important;border:1px solid #3c454e!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .message-row.mine .message-bubble{background:#1d3715!important;border:1px solid #395a30!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .bubble-team{color:#afd9f4!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .message-card-text{color:#c7dbea!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .message-meta{color:#b7bfc7!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .whatsapp-composer{background:#161d27!important;border-top:1px solid #344556!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .composer-input{border:1px solid #324658!important;background:#151e2b!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .chat-attach{background:#16242f!important;color:#ccdae6!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .chat-send{color:#ffffff!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-chat-team-list::-webkit-scrollbar-thumb,:root[data-theme="dark"] body:not(.app-fit) #messages .message-list::-webkit-scrollbar-thumb{background:#242b35!important}
}
@media (min-width:1001px){:root[data-theme="dark"] #messages .whatsapp-composer{background:#1b2129!important;border-top:1px solid #384752!important}
:root[data-theme="dark"] #messages .composer-input{background:#161d27!important}
:root[data-theme="dark"] #messages .chat-send{color:#ffffff!important}
}
:root[data-theme="dark"] .ceo-chat-actions>button,:root[data-theme="dark"] .chat-more-wrap>button{border:1px solid #334657!important;background:#161d27!important;color:#cedae4!important}
:root[data-theme="dark"] .ceo-chat-actions>button:hover,:root[data-theme="dark"] .chat-more-wrap>button:hover{background:#132431!important;border-color:#30485a!important}
:root[data-theme="dark"] .chat-more-menu{border:1px solid #324658!important;background:#161d27!important}
:root[data-theme="dark"] .chat-more-menu button{background:#161d27!important}
:root[data-theme="dark"] .chat-more-menu button.danger{color:#eda6a6!important}
:root[data-theme="dark"] .chat-more-menu button.danger:hover{background:#2f1212!important}
@media (min-width:1001px){:root[data-theme="dark"] body:not(.app-fit) #messages .messages-shell{border:1px solid #314259!important;background:#161d27
!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-chat-sidebar{border-right:1px solid #354254!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .msg-brand-icon{color:#ffffff!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .msg-brand strong{color:#bfd2f2!important}
:root[data-theme="dark"] body:not(.app-fit) #messages #webUnreadTotalBadge{color:#ffffff!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .chat-filter-btn{border:1px solid #314358!important;background:#13202d!important;color:#c6d5eb!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-chat-search{border:1px solid #324258!important;background:#161d27!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-chat-item{border-bottom:1px solid #334357!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-chat-item.active{background:linear-gradient(90deg,#142434 0%,#122130 100%)!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-chat-avatar{background:linear-gradient(145deg,#1f3852,#1766d6)!important;color:#ffffff!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-chat-item:nth-child(5n+3) .web-chat-avatar{background:linear-gradient(145deg,#283549,#57789d)!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-chat-copy b{color:#c3d1ef!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-chat-copy small{color:#c0c7d2!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-chat-meta{color:#c0c9d4!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .web-unread-badge{color:#ffffff!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .conversation-panel{background:#17202e!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .conversation-head{background:#161d27!important;border-bottom:1px solid #364353
!important}
:root[data-theme="dark"] body:not(.app-fit) #messages #conversationTitle{color:#c3d0ef!important}
:root[data-theme="dark"] body:not(.app-fit) #messages #conversationSubtitle{color:#ef8a8d!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .ceo-chat-actions button{border:1px solid #334157!important;background:#181e28!important;color:#c3d2ef!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .message-list{background-color:#17202e!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .message-row.mine .message-bubble{background:linear-gradient(145deg,#203815,#1e3b16)!important;border:1px solid #3a5a30!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .whatsapp-composer{background:#161d27!important;border-top:1px solid #344356
!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .composer-input{border:1px solid #334356!important;background:#161d27!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .chat-attach,:root[data-theme="dark"] body:not(.app-fit) #messages .composer-emoji,:root[data-theme="dark"] body:not(.app-fit) #messages .composer-camera{color:#c7d4eb!important}
}
@media (min-width:1001px){:root[data-theme="dark"] body:not(.app-fit) #messages .composer-emoji:hover,:root[data-theme="dark"] body:not(.app-fit) #messages .composer-camera:hover{background:#132131!important}
}
:root[data-theme="dark"] .composer-emoji-picker{background:#161d27!important;border:1px solid #334356!important}
:root[data-theme="dark"] .composer-emoji-picker button:hover{background:#132231!important}
@media (min-width:1001px){:root[data-theme="dark"] body:not(.app-fit) #messages .whatsapp-composer{background:#161d27!important;border-top:1px solid #344356!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .composer-row .chat-attach{background:#161d27!important;color:#c7d5ea!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .composer-row .composer-input{border:1px solid #334356!important;background:#161d27!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .composer-row .composer-emoji,:root[data-theme="dark"] body:not(.app-fit) #messages .composer-row .composer-camera{color:#c7d5ea!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .composer-row .composer-emoji:hover,:root[data-theme="dark"] body:not(.app-fit) #messages .composer-row .composer-camera:hover,:root[data-theme="dark"] body:not(.app-fit) #messages .composer-row .chat-attach:hover{background:#132131!important}
:root[data-theme="dark"] body:not(.app-fit) #messages .composer-row .chat-send{color:#ffffff!important}
}
@media (min-width:1001px){:root[data-theme="dark"] body:not(.app-fit) #messages .whatsapp-composer{background:#161d27!important;border-top:1px solid #344555!important}
}
@media (min-width:1001px){}
@media (min-width:1001px){:root[data-theme="dark"] body:not(.app-fit) #messages .whatsapp-composer{background:#161d27!important;border-top:1px solid #30465a!important}
}
@media (min-width:1001px){html[data-theme="dark"] body.is-admin:not(.app-fit) #messages #adminComposerRow .composer-emoji,html[data-theme="dark"] body.is-admin:not(.app-fit) #messages #adminComposerRow .composer-camera{color:#cdd9e5!important}
html[data-theme="dark"] body.is-admin:not(.app-fit) #messages #adminComposerRow .composer-emoji:hover,html[data-theme="dark"] body.is-admin:not(.app-fit) #messages #adminComposerRow .composer-camera:hover{background:#142530!important;color:#acd6f4!important}
}
@media (min-width:1001px){html[data-theme="dark"] body:not(.app-fit) #messages .whatsapp-composer{background:#161e2b!important;border-top:1px solid #314658!important}
html[data-theme="dark"] body:not(.app-fit) #messages .whatsapp-composer .chat-attach{color:#c8d1da!important}
html[data-theme="dark"] body:not(.app-fit) #messages .whatsapp-composer .chat-attach:hover{background:#172430!important;color:#acd6f4!important}
html[data-theme="dark"] body:not(.app-fit) #messages .whatsapp-composer .composer-input{border:1px solid #324657!important;background:#161d27!important}
html[data-theme="dark"] body:not(.app-fit) #messages .whatsapp-composer .composer-input textarea{color:#ccd8e6!important}
html[data-theme="dark"] body:not(.app-fit) #messages .whatsapp-composer .composer-emoji,html[data-theme="dark"] body:not(.app-fit) #messages .whatsapp-composer .composer-camera{color:#c8d1da!important}
html[data-theme="dark"] body:not(.app-fit) #messages .whatsapp-composer .composer-emoji:hover,html[data-theme="dark"] body:not(.app-fit) #messages .whatsapp-composer .composer-camera:hover{background:#132532!important;color:#acd6f4!important}
html[data-theme="dark"] body:not(.app-fit) #messages .whatsapp-composer .chat-send{color:#ffffff!important}
}
@media (min-width:1001px){:root[data-theme="dark"] #messages .whatsapp-composer{background:#171f2a!important;border-top:1px solid #324658!important}
:root[data-theme="dark"] #messages .whatsapp-composer .chat-attach{color:#c8d2da!important}
:root[data-theme="dark"] #messages .whatsapp-composer .composer-input{background:#161d27!important;border:1px solid #314759!important}
:root[data-theme="dark"] #messages .whatsapp-composer .composer-input textarea{color:#cbd9e6!important}
:root[data-theme="dark"] #messages .whatsapp-composer .composer-emoji,:root[data-theme="dark"] #messages .whatsapp-composer .composer-camera{color:#c8d2da!important}
:root[data-theme="dark"] #messages .whatsapp-composer .composer-emoji:hover,:root[data-theme="dark"] #messages .whatsapp-composer .composer-camera:hover{background:#132532!important;color:#acd6f4!important}
:root[data-theme="dark"] #messages .whatsapp-composer .chat-send{color:#ffffff!important}
}
:root[data-theme="dark"] #ktApp{--pro-accent:#bcf6f1!important;--pro-bg:#121f30!important;--pro-line:#182231!important;--pro-text:#c6d7eb!important;--pro-muted:#c1c9d3!important}
:root[data-theme="dark"] #ktApp>header{background:#161d27!important}
:root[data-theme="dark"] #ktApp>.cloudbar{background:#161d27!important}
:root[data-theme="dark"] #ktApp .cloudbar button{background:#132330!important;color:#ccd9e5!important}
:root[data-theme="dark"] #ktApp>nav button[data-view].active{color:#ffffff!important}
:root[data-theme="dark"] #ktApp .pro-brand{color:#ffffff!important}
:root[data-theme="dark"] #ktApp .pro-brand small{color:#a5b5ca!important}
:root[data-theme="dark"] #ktApp .pro-logo{color:#ffffff!important}
:root[data-theme="dark"] #ktApp .pro-nav-label{color:#a5b5ca!important}
:root[data-theme="dark"] #ktApp .pro-nav-footer p{color:#a5b5ca!important}
:root[data-theme="dark"] #ktApp .pro-scope{background:#161d27!important}
:root[data-theme="dark"] #ktApp .panel,:root[data-theme="dark"] #ktApp .focus-box,:root[data-theme="dark"] #ktApp .sim-box,:root[data-theme="dark"] #ktApp .cards article{background:#161d27!important}
:root[data-theme="dark"] #ktApp .p-card{background:#161d27!important}
:root[data-theme="dark"] #ktApp .p-card.amber b{color:#ffffff!important}
:root[data-theme="dark"] #ktApp .p-card.red b{color:#e5bcad!important}
:root[data-theme="dark"] #ktApp .p-card.gold b{color:#bdf5eb!important}
:root[data-theme="dark"] #ktApp .pro-target{background:#161d27!important}
:root[data-theme="dark"] #ktApp .pro-target-track{background:#19222e!important}
:root[data-theme="dark"] #ktApp table{background:#161d27!important}
:root[data-theme="dark"] #ktApp th,:root[data-theme="dark"] #ktApp .pusula-table th,:root[data-theme="dark"] #ktApp .hierarchy-table th{background:#132330!important;color:#c5d0da!important}
:root[data-theme="dark"] #ktApp td{border-color:#314559!important}
:root[data-theme="dark"] #ktApp .table-total-bar{background:#18202c!important;color:#c5ece5!important}
:root[data-theme="dark"] #ktApp .hierarchy-filters{background:#161d27!important}
:root[data-theme="dark"] #ktApp input,:root[data-theme="dark"] #ktApp select,:root[data-theme="dark"] #ktApp textarea{border-color:#314659!important;background:#161d27!important}
:root[data-theme="dark"] #ktApp .form button,:root[data-theme="dark"] #ktApp .detailbtn,:root[data-theme="dark"] #ktApp .bulkbar button,:root[data-theme="dark"] #ktApp .excel-export-btn,:root[data-theme="dark"] #ktApp #dispatchSave,:root[data-theme="dark"] #ktApp #unitPageSave{color:#ffffff!important}
:root[data-theme="dark"] #ktApp .bulkbar .secondary,:root[data-theme="dark"] #ktApp button.secondary{background:#152530!important;color:#ccd9e5!important}
:root[data-theme="dark"] #ktApp .single-login-card{background:#161d27!important}
:root[data-theme="dark"] #ktApp .artes-line span{background:#1d2532!important}
:root[data-theme="dark"] #ktApp .single-features>div{background:#121f30!important}
:root[data-theme="dark"] #ktApp .admin-dialog{background:#161d27!important}
:root[data-theme="dark"] #ktApp .chooser-logo{color:#ffffff!important}
:root[data-theme="dark"] #ktApp .chooser-card{background:#161d27!important}
:root[data-theme="dark"] #ktApp .chooser-icon{background:#153128!important}
:root[data-theme="dark"] #ktApp .chooser-card:hover{border-color:#305a53!important}
:root[data-theme="dark"] #ktApp .chooser-active{background:#161d27!important}
:root[data-theme="dark"] #ktApp #messages .message-sidebar-header,:root[data-theme="dark"] #ktApp #messages .message-chat-header{background:#161d27!important}
:root[data-theme="dark"] #ktApp #messages .web-chat-item.active{background:#153128!important}
@media(min-width:1001px){}
@media(max-width:1000px){}
@media(max-width:650px){}
@media(prefers-reduced-motion:reduce){}
@media(max-width:650px){}
:root[data-theme="dark"] .manual-karne{border:1px solid #324958!important;background:#161d27!important}
:root[data-theme="dark"] .manual-karne>summary{color:#c4dbed!important}
:root[data-theme="dark"] .unit-weight-ranking{background:#161d27!important;border:1px solid #344b56!important}
:root[data-theme="dark"] .unit-weight-ranking h3{color:#c4d5ee!important}
:root[data-theme="dark"] .uwr-eyebrow{color:#bec9cf!important}
:root[data-theme="dark"] .uwr-symbol{color:#bcf6f1!important}
:root[data-theme="dark"] .unit-weight-ranking p,:root[data-theme="dark"] .unit-weight-ranking footer{color:#bec6cd!important}
:root[data-theme="dark"] .uwr-row{background:#161e2b!important;color:#c4d5ee!important}
:root[data-theme="dark"] .uwr-row.uwr-leader{background:#133329!important}
:root[data-theme="dark"] .uwr-position{background:#19222f!important}
:root[data-theme="dark"] .uwr-leader .uwr-position{color:#ffffff!important}
:root[data-theme="dark"] .uwr-info small{color:#bec9cf!important}
:root[data-theme="dark"] .uwr-track{background:#1b2431!important}
@media(max-width:600px){}
@media(max-width:360px){}
:root[data-theme="dark"] .unit-weight-ranking>header{color:#c4d5ee!important}
:root[data-theme="dark"] .unit-weight-ranking>header h3{color:#c4d5ee!important}
:root[data-theme="dark"] .uwr-summary>strong{color:#f0c28f!important}
:root[data-theme="dark"] .unit-weight-ranking .uwr-reference-label{color:#83c7ee!important}
@media(max-width:600px){}
:root[data-theme="dark"] #mudUnitWeightRanking.unit-weight-ranking,:root[data-theme="dark"] #unitWeightRanking.unit-weight-ranking{background:#161d27!important;color:#c4d5ee!important;border:1px solid #304a5a!important}
:root[data-theme="dark"] .unit-weight-ranking .uwr-heading{border-bottom:1px solid #304b5a!important}
:root[data-theme="dark"] .unit-weight-ranking .uwr-heading h3{color:#c4d5ee!important}
:root[data-theme="dark"] .unit-weight-ranking .uwr-heading>span{color:#bcf6f1!important}
:root[data-theme="dark"] .unit-weight-ranking .uwr-summary{border-bottom:1px solid #304b5a!important;color:#c4dbed!important}
:root[data-theme="dark"] .unit-weight-ranking .uwr-summary small{color:#bec9cf!important}
:root[data-theme="dark"] .unit-weight-ranking .uwr-summary>strong{color:#f2cea1!important}
:root[data-theme="dark"] .unit-weight-ranking .uwr-reference-label{color:#bcf6f1!important}
:root[data-theme="dark"] .unit-weight-ranking .uwr-row{color:#c4dbed!important}
:root[data-theme="dark"] .uwr-bar{background:#152830!important;border:1px solid #304c5a!important}
@media(max-width:1050px){}
@media(max-width:650px){}
html[data-theme="dark"] body#ktApp #messages{--chat-line:#21252a!important}
html[data-theme="dark"] body#ktApp #messages .messages-workspace{background:#161d27!important}
html[data-theme="dark"] body#ktApp #messages #webChatSidebar{background:#161d27!important}
html[data-theme="dark"] body#ktApp #messages .web-chat-sidebar-head{background:#191f28!important}
html[data-theme="dark"] body#ktApp #messages .msg-brand strong{color:#c6d7eb!important}
html[data-theme="dark"] body#ktApp #messages .msg-brand small{color:#c4cdc9!important}
html[data-theme="dark"] body#ktApp #messages #webUnreadTotalBadge{color:#bcf6f1!important}
html[data-theme="dark"] body#ktApp #messages .web-chat-search{background:#161d27!important}
html[data-theme="dark"] body#ktApp #messages .web-chat-search input{background:#1b2129!important}
html[data-theme="dark"] body#ktApp #messages .web-chat-item{border-bottom:1px solid #3d4c47!important;background:#161d27!important;color:#c6d7eb!important}
html[data-theme="dark"] body#ktApp #messages .web-chat-item:hover,html[data-theme="dark"] body#ktApp #messages .web-chat-item.active{background:#153128!important}
html[data-theme="dark"] body#ktApp #messages .web-chat-avatar{background:#16352b!important;color:#bef3e8!important}
html[data-theme="dark"] body#ktApp #messages .broadcast .web-chat-avatar{background:#342a14!important}
html[data-theme="dark"] body#ktApp #messages .web-chat-copy small{color:#c3cbc8!important}
html[data-theme="dark"] body#ktApp #messages .web-chat-side{color:#bcc4c1!important}
html[data-theme="dark"] body#ktApp #messages .web-unread-badge{color:#ffffff!important}
html[data-theme="dark"] body#ktApp #messages .web-presence-dot{border:2px solid #454545!important;background:#273345!important}
html[data-theme="dark"] body#ktApp #messages .conversation-panel{background:#1c232e!important}
html[data-theme="dark"] body#ktApp #messages .whatsapp-head{background:#191f28!important}
html[data-theme="dark"] body#ktApp #messages .chat-avatar{background:#16352b!important;color:#bef3e8!important}
html[data-theme="dark"] body#ktApp #messages #conversationSubtitle{color:#c3cbc8!important}
html[data-theme="dark"] body#ktApp #messages .ceo-chat-actions button,html[data-theme="dark"] body#ktApp #messages .kt-chat-back,html[data-theme="dark"] body#ktApp #messages .kt-chat-home{color:#d1e1dc!important}
html[data-theme="dark"] body#ktApp #messages #messageList{background-color:#1c232e!important;background-image:radial-gradient(#242f4040 .8px,transparent .8px)!important}
html[data-theme="dark"] body#ktApp #messages .message-bubble{background:#161d27!important}
html[data-theme="dark"] body#ktApp #messages .mine .message-bubble{background:#193615!important}
html[data-theme="dark"] body#ktApp #messages .message-meta{color:#c0c8c2!important}
html[data-theme="dark"] body#ktApp #messages .whatsapp-composer{background:#191f28!important}
html[data-theme="dark"] body#ktApp #messages :is(#adminComposerRow,:root[data-theme="dark"] #teamComposerRow) .composer-input{border:1px solid #385141!important;background:#161d27!important}
html[data-theme="dark"] body#ktApp #messages :is(#adminComposerRow,:root[data-theme="dark"] #teamComposerRow) :is(.composer-emoji,:root[data-theme="dark"] .composer-camera){color:#c5ceca!important}
html[data-theme="dark"] body#ktApp #messages .whatsapp-composer :is(.chat-send,:root[data-theme="dark"] .chat-attach){color:#c5ceca!important}
html[data-theme="dark"] body#ktApp #messages .whatsapp-composer .chat-send{color:#ffffff!important}
@media(max-width:760px){html[data-theme="dark"] body#ktApp #messages.active{background:#161d27!important}
}
html[data-theme="dark"] body#ktApp.kt-messages-active #messages.active{background:#161d27!important}
@media(max-width:760px){html[data-theme="dark"] body#ktApp :is(#mudTable,:root[data-theme="dark"] #dispatchBody,:root[data-theme="dark"] #unitPageBody) tr{border:1px solid #324958!important;background:#161d27!important}
html[data-theme="dark"] body#ktApp :is(#mudTable,:root[data-theme="dark"] #dispatchBody,:root[data-theme="dark"] #unitPageBody) td{border-bottom:1px solid #344755!important;color:#c4dbed!important}
html[data-theme="dark"] body#ktApp :is(#mudTable,:root[data-theme="dark"] #dispatchBody,:root[data-theme="dark"] #unitPageBody) td::before{color:#c0cad2!important}
html[data-theme="dark"] body#ktApp #mudTable td:nth-child(1),html[data-theme="dark"] body#ktApp :is(#dispatchBody,:root[data-theme="dark"] #unitPageBody) td:nth-child(2){color:#bcf6f1!important}
}
@media(max-width:760px){html[data-theme="dark"] body#ktApp #teams #teamDetail tr{border:1px solid #324958!important;border-left:5px solid #374353!important;background:#161d27!important}
html[data-theme="dark"] body#ktApp #teams #teamDetail td{border-bottom:1px solid #344755!important;color:#c4dbed!important}
html[data-theme="dark"] body#ktApp #teams #teamDetail td::before{color:#c0cad2!important}
html[data-theme="dark"] body#ktApp #teams #teamDetail td:nth-child(1){color:#bcf6f1!important}
html[data-theme="dark"] body#ktApp #teams #teamDetail td:nth-child(n+4):nth-child(-n+7),html[data-theme="dark"] body#ktApp #teams #teamDetail td:nth-child(n+13):nth-child(-n+16){background:#161f2c!important}
}
@media(max-width:760px){html[data-theme="dark"] body#ktApp #mud #pSimBody tr{border:1px solid #324958!important;border-left:5px solid #374353!important;background:#161d27!important}
html[data-theme="dark"] body#ktApp #mud #pSimBody td{border-bottom:1px solid #344755!important;color:#c4dbed!important}
html[data-theme="dark"] body#ktApp #mud #pSimBody td::before{color:#c0cad2!important}
html[data-theme="dark"] body#ktApp #mud #pSimBody td:nth-child(1){color:#bcf6f1!important}
html[data-theme="dark"] body#ktApp #mud #pSimBody td:nth-child(n+4):nth-child(-n+7),html[data-theme="dark"] body#ktApp #mud #pSimBody td:nth-child(n+13):nth-child(-n+16){background:#161f2c!important}
}
@media(max-width:760px){}
:root[data-theme="dark"] #vehicles button{color:#ffffff!important}
:root[data-theme="dark"] #vehicleStatus{color:#c7d2da!important}
:root[data-theme="dark"] #vehicles .vehicle-card{border:1px solid #324958!important;background:#161d27!important}
:root[data-theme="dark"] #vehicles .vehicle-team{color:#bcf6f1!important}
:root[data-theme="dark"] #vehicles .vehicle-last{background:#17202e!important}
:root[data-theme="dark"] #vehicles .vehicle-last strong{color:#c3dfef!important}
:root[data-theme="dark"] #vehicleSummary{color:#c7d2da!important}
@media(max-width:760px){}
:root[data-theme="dark"] #maintenanceBanner{background:#14332d!important;color:#c1e4f0!important;border-bottom:1px solid #305a52!important}
:root[data-theme="dark"] #maintenanceScreen{background:#122130!important;color:#c4dced!important}
:root[data-theme="dark"] #maintenanceScreen>div{background:#161d27!important;border:1px solid #30485a!important}
:root[data-theme="dark"] .maintenance-symbol{color:#ffffff!important}
:root[data-theme="dark"] #maintenanceScreen small{color:#c1cbd2!important}
:root[data-theme="dark"] #maintenanceSettings select,:root[data-theme="dark"] #maintenanceSettings textarea,:root[data-theme="dark"] #maintenanceSettings input{border:1px solid #304a5a!important}
@media(max-width:600px){}
:root[data-theme="dark"] .iphone-install-link{color:#bcf6f2!important}
@supports(-webkit-touch-callout:none){@media(max-width:760px){}
}
:root[data-theme="dark"] .kt-web-push{border:1px solid #305a51!important;background:#163229!important;color:#bcf6f2!important}
:root[data-theme="dark"] .data-freshness{background:#133227!important;color:#c1f1e7!important;border:1px solid #305a4b!important}
:root[data-theme="dark"] .data-freshness.stale{background:#312713!important;border-color:#5a4e30!important;color:#f6e0bc!important}
:root[data-theme="dark"] .weekly-card{border:1px solid #304b5a!important;background:#161d27!important}
:root[data-theme="dark"] .weekly-card p,:root[data-theme="dark"] .weekly-card>small{color:#c0c8d2!important}
:root[data-theme="dark"] .weekly-track{background:#13232f!important}
:root[data-theme="dark"] #connectionState{border:1px solid #32584d!important;background:#123126!important;color:#c4ede6!important}
:root[data-theme="dark"] #connectionState.waiting{background:#312713!important;color:#f4debe!important;border-color:#5a4d30!important}
:root[data-theme="dark"] .import-checks{border:1px solid #5a4e30!important;background:#302812!important}
:root[data-theme="dark"] .km-warning{color:#f6ddbc!important;background:#332a13!important}
@media(max-width:650px){}
:root[data-theme="dark"] .weekly-line-wrap{background:#13272d!important}
:root[data-theme="dark"] .weekly-grid{stroke:#30485a!important}
:root[data-theme="dark"] .weekly-point{stroke:#454545!important}
:root[data-theme="dark"] .weekly-line-wrap{background:#161d27!important}
:root[data-theme="dark"] .weekly-point{fill:#161d27!important}
:root[data-theme="dark"] .weekly-legend{color:#c0c8d2!important}
:root[data-theme="dark"] .weekly-area{fill:#142434!important}
:root[data-theme="dark"] .weekly-legend .legend-area{background:#142434!important}
@media(max-width:650px){}
:root[data-theme="dark"] #leave .leave-summary div{background:#161d27!important;border:1px solid #30485a!important;color:#c3ced7!important}
:root[data-theme="dark"] #leave .leave-summary b{color:#bcf6f1!important}
:root[data-theme="dark"] #leave input,:root[data-theme="dark"] #leave select,:root[data-theme="dark"] #leave textarea{border:1px solid #30495a!important;background:#161d27!important;color:#c3dcee!important}
:root[data-theme="dark"] #leave .leave-record{border-top:1px solid #30485a!important}
:root[data-theme="dark"] #leave .leave-tag{background:#362b14!important;color:#f6e3bc!important}
:root[data-theme="dark"] #leave .approved{background:#143628!important;color:#bdf4e0!important}
:root[data-theme="dark"] #leave .rejected{background:#321313!important;color:#e4aeae!important}
:root[data-theme="dark"] #leave .cancelled{background:#1b212b!important;color:#c3cbd4!important}
@media(max-width:640px){}
:root[data-theme="dark"] #ktApp .signed-up,:root[data-theme="dark"] #ktApp .signed-up td,:root[data-theme="dark"] #ktApp .signed-up td *{color:#bcf6ea!important}
:root[data-theme="dark"] #ktApp .signed-down,:root[data-theme="dark"] #ktApp .signed-down td,:root[data-theme="dark"] #ktApp .signed-down td *{color:#e8aaaa!important}
:root[data-theme="dark"] #ktApp .signed-zero{color:#c0c8d2!important}
:root[data-theme="dark"] #ktApp .compare-values .rise,:root[data-theme="dark"] #ktApp .compare-values .rise b{color:#bcf6ea!important}
:root[data-theme="dark"] #ktApp .compare-values .fall,:root[data-theme="dark"] #ktApp .compare-values .fall b{color:#e8aaaa!important}
:root[data-theme="dark"] .reply-swiping::before{color:#bcf6f1!important}
:root[data-theme="dark"] .message-reply-compose{background:#162f29!important}
:root[data-theme="dark"] .message-reply-compose strong,:root[data-theme="dark"] .message-reply-quote strong{color:#bcf6f0!important}
:root[data-theme="dark"] .message-reply-compose span,:root[data-theme="dark"] .message-reply-quote span{color:#cfd6db!important}
:root[data-theme="dark"] .message-reply-compose button{color:#cfd6db!important}
@media(prefers-reduced-motion:reduce){}
:root[data-theme="dark"] #managerChatSwitch{background:#161d27!important;border-bottom:1px solid #324958!important}
:root[data-theme="dark"] #managerChatSwitch button{border:1px solid #345651!important;background:#123029!important;color:#c4dced!important}
:root[data-theme="dark"] #managerChatBadge,:root[data-theme="dark"] .dm-count{color:#ffffff!important}
:root[data-theme="dark"] #managerChatPanel{background:#161d27!important;border:1px solid #304a59!important}
:root[data-theme="dark"] #managerChatPanel aside{border-right:1px solid #354e54!important}
:root[data-theme="dark"] #managerChatPeople button{background:#13212f!important;color:#c4dced!important}
:root[data-theme="dark"] #managerChatPeople button.active{background:#14362a!important}
:root[data-theme="dark"] .dm-conversation{background:#161f2c!important}
:root[data-theme="dark"] .dm-conversation header{background:#161d27!important;border-bottom:1px solid #304a59!important}
:root[data-theme="dark"] .dm-conversation header small{color:#c3cbd3!important}
:root[data-theme="dark"] .dm-bubble{background:#161d27!important;border:1px solid #3b4f4d!important}
:root[data-theme="dark"] .mine .dm-bubble{background:#15371b!important}
:root[data-theme="dark"] .dm-bubble small{color:#c5ced0!important}
:root[data-theme="dark"] .dm-answer{color:#bcf6f1!important}
:root[data-theme="dark"] .dm-quote,:root[data-theme="dark"] #dmReply{background:#19222f!important}
:root[data-theme="dark"] .dm-quote strong,:root[data-theme="dark"] #dmReply strong{color:#bcf6f0!important}
:root[data-theme="dark"] #dmForm textarea{border:1px solid #38524c!important}
:root[data-theme="dark"] #dmForm button{color:#ffffff!important}
:root[data-theme="dark"] #dmStatus{color:#c9d4da!important}
:root[data-theme="dark"] .dm-empty{color:#c3cbd3!important}
@media(max-width:760px){}
html[data-theme="dark"] body#ktApp #dmName{color:#c4dced!important}
html[data-theme="dark"] body#ktApp #managerChatPanel{border-color:#3c4e48!important}
:root[data-theme="dark"] #managerChatPanel aside{background:#161d27!important}
:root[data-theme="dark"] .dm-sidebar-head{background:#191f28!important;border-bottom:1px solid #3c4e48!important}
:root[data-theme="dark"] .dm-sidebar-head h3{color:#c6d7eb!important}
:root[data-theme="dark"] .dm-sidebar-head small{color:#c4cdc9!important}
:root[data-theme="dark"] #dmHome{color:#c4dced!important}
:root[data-theme="dark"] .dm-search{color:#c4cdc9!important;background:#161d27!important}
:root[data-theme="dark"] .dm-search input{background:#1b2129!important}
:root[data-theme="dark"] #managerChatPeople button{border-bottom:1px solid #3d4c47!important;background:#161d27!important}
:root[data-theme="dark"] #managerChatPeople button:hover,:root[data-theme="dark"] #managerChatPeople button.active{background:#153128!important}
:root[data-theme="dark"] .dm-avatar{background:#15352d!important;color:#bef3e9!important}
:root[data-theme="dark"] .dm-person-info small{color:#c4cdc9!important}
:root[data-theme="dark"] .dm-person-meta time{color:#c0c8c5!important}
html[data-theme="dark"] body#ktApp #managerChatPanel .dm-conversation header{background:#191f28!important;border-bottom:1px solid #3c4e48!important}
:root[data-theme="dark"] .dm-conversation header small{color:#c4cdc9!important}
:root[data-theme="dark"] .dm-conversation{background:#1d222a!important;background-image:radial-gradient(#23272d .6px,transparent .6px)!important}
:root[data-theme="dark"] .mine .dm-bubble{background:#263a16!important}
:root[data-theme="dark"] .theirs .dm-bubble{background:#161d27!important}
:root[data-theme="dark"] .dm-bubble small{color:#bec5c2!important}
:root[data-theme="dark"] #dmForm{background:#1d2128!important}
:root[data-theme="dark"] #dmForm #dmAttach{color:#c4cdc9!important}
:root[data-theme="dark"] .dm-input{border:1px solid #3a4f47!important;background:#161d27!important}
:root[data-theme="dark"] #dmForm #dmEmoji,:root[data-theme="dark"] #dmForm #dmCamera{color:#bfc7c4!important}
:root[data-theme="dark"] #dmStatus{background:#1d2128!important;color:#c4cdc9!important}
:root[data-theme="dark"] #dmEmojiPicker{background:#161d27!important;border-top:1px solid #3a4f47!important}
@media(max-width:760px){}
html[data-theme="dark"] body#ktApp #messages #dmForm .dm-input:focus-within{border-color:#3a4f47!important}
@media(max-width:760px){}
:root[data-theme="dark"] .ops-notice{background:#14302b!important;border:1px solid #305a4f!important;color:#c2f0ed!important}
:root[data-theme="dark"] .ops-grid>div{border:1px solid #30495a!important;background:#161d27!important}
:root[data-theme="dark"] .ops-grid strong{color:#bcf6f1!important}
:root[data-theme="dark"] .ops-form input,:root[data-theme="dark"] .ops-form select,:root[data-theme="dark"] .ops-form textarea{border:1px solid #304b5a!important;background:#161d27!important;color:#c4dced!important}
:root[data-theme="dark"] .ops-scroll th,:root[data-theme="dark"] .ops-scroll td{border-bottom:1px solid #30485a!important}
:root[data-theme="dark"] .ops-scroll th{background:#142830!important}
:root[data-theme="dark"] .ops-scroll small{color:#bec8d2!important}
:root[data-theme="dark"] .ops-tag{background:#17302b!important;color:#bcf6ef!important}
:root[data-theme="dark"] .ops-late{color:#e7adad!important;background:#301412!important}
:root[data-theme="dark"] .ops-error{color:#e7adad!important}
:root[data-theme="dark"] .ops-details{border:1px solid #304a5a!important}
:root[data-theme="dark"] .ops-capacity article{border:1px solid #30485a!important}
:root[data-theme="dark"] .ops-empty{color:#bec8d2!important}
@media(max-width:700px){}
:root[data-theme="dark"] .ops-toolbar button,:root[data-theme="dark"] .ops-actions button,:root[data-theme="dark"] .ops-scroll button,:root[data-theme="dark"] .ops-form button,:root[data-theme="dark"] #opsTaskRefresh,:root[data-theme="dark"] #executive button,:root[data-theme="dark"] #opsRestoreConfirm button{border:1px solid #315358!important;background:#15302a!important;color:#bcf6f1!important}
:root[data-theme="dark"] .ops-form button[type=submit]{color:#ffffff!important}
html[data-theme="dark"] body#ktApp{--ui-bg:#131f2f!important;--ui-paper:#161d27!important;--ui-ink:#c5d9ed!important;--ui-muted:#c5d1da!important;--ui-line:#1a2433!important;--ui-accent:#bcf6f1!important;--ui-soft:#15302a!important;--ui-danger:#e9b1b4!important;--ui-warning:#f6dfbc!important}
html[data-theme="dark"] body#ktApp main .view:not(#messages) button:not(.uwr-row){border:1px solid #304d5a!important;background:#161d27!important;color:#c9dce9!important}
html[data-theme="dark"] body#ktApp main .view:not(#messages) button:not(.uwr-row):hover{background:#142830!important;border-color:#314f58!important}
html[data-theme="dark"] body#ktApp main .view:not(#messages) button.ui-primary{color:#ffffff!important}
html[data-theme="dark"] body#ktApp main .view:not(#messages) button.ui-danger{border-color:#5a3035!important;background:#2e1111!important}
html[data-theme="dark"] body#ktApp main .view:not(#messages) input:not([type=checkbox]):not([type=radio]):not([type=hidden]),html[data-theme="dark"] body#ktApp main .view:not(#messages) select,html[data-theme="dark"] body#ktApp main .view:not(#messages) textarea{border:1px solid #324858!important;background:#161d27!important}
html[data-theme="dark"] body#ktApp main .view:not(#messages) input:focus-visible,html[data-theme="dark"] body#ktApp main .view:not(#messages) select:focus-visible,html[data-theme="dark"] body#ktApp main .view:not(#messages) textarea:focus-visible{outline:2px solid #305a54!important}
html[data-theme="dark"] body#ktApp main th{background:#152530!important;color:#cddae4!important}
html[data-theme="dark"] body#ktApp .exec-grid>div,html[data-theme="dark"] body#ktApp .ops-grid>div,html[data-theme="dark"] body#ktApp .forecast-summary>div{background:#13202d!important}
html[data-theme="dark"] body#ktApp .ui-tone-good{color:#bcf6df!important}
html[data-theme="dark"] body#ktApp .ops-notice{background:#162f2c!important;border-color:#305950!important;color:#cde5e3!important}
html[data-theme="dark"] body#ktApp main .ops-capacity article{background:#13202d!important}
:root[data-theme="dark"] .ui-skeleton>span{background:linear-gradient(90deg,#172531,#12202f,#172531)!important}
html[data-theme="dark"] body#ktApp .ui-error{background:#2f1212!important}
@media(prefers-reduced-motion:reduce){}
html[data-theme="dark"] body#ktApp #messages .chat-team-code{color:#c8d3da!important}
@media(max-width:1024px){html[data-theme="dark"] body#ktApp .ui-menu-toggle,html[data-theme="dark"] body#ktApp .ui-sync-toggle{background:#161d27!important}
html[data-theme="dark"] body#ktApp .ui-nav-close{color:#ffffff!important}
html[data-theme="dark"] body#ktApp .ui-mobile-cards>tbody>tr{background:#161d27!important}
html[data-theme="dark"] body#ktApp .ui-mobile-cards>tbody>tr>td{border-bottom:1px solid #314a59!important}
}
@media(max-width:650px){}
@media(max-width:1024px){}
@media(max-width:1024px){}
:root[data-theme="dark"] #dailyKmReminder{background:#332b13!important;color:#f6e3bc!important}
:root[data-theme="dark"] #dailyKmReminder button{color:#ffffff!important}
:root[data-theme="dark"] #dailyKmReminder.km-done{background:#133320!important;color:#c1f0d5!important}
@media(max-width:480px){}
html[data-theme="dark"] body#ktApp #executive .daily-table th{background:#132131!important;color:#c3ceda!important}
html[data-theme="dark"] body#ktApp #executive .daily-row td{background:#13202d!important;border-top:1px solid #30435a!important;border-bottom:1px solid #30435a!important}
html[data-theme="dark"] body#ktApp #executive .daily-row td:first-child{border-left:4px solid #344455!important}
html[data-theme="dark"] body#ktApp #executive .daily-fall td{background:#2f1212!important;border-color:#5a3030!important}
html[data-theme="dark"] body#ktApp #executive .daily-rise td{background:#133120!important;border-color:#305a43!important}
:root[data-theme="dark"] .daily-code{color:#c0c9d4!important}
:root[data-theme="dark"] .daily-score{background:#162131!important}
:root[data-theme="dark"] .daily-diff{background:#152331!important;color:#c2cad3!important}
:root[data-theme="dark"] .daily-fall .daily-current,:root[data-theme="dark"] .daily-fall .daily-diff{background:#331319!important;color:#ebb0b8!important}
:root[data-theme="dark"] .daily-rise .daily-current,:root[data-theme="dark"] .daily-rise .daily-diff{background:#153825!important;color:#bef4df!important}
:root[data-theme="dark"] .daily-legend{color:#c0c9d4!important}
:root[data-theme="dark"] .daily-table .signed-up{color:#bdf5df!important}
:root[data-theme="dark"] .daily-table .signed-down{color:#ebb0b8!important}
@media(max-width:1024px){html[data-theme="dark"] body#ktApp #executive .daily-table .daily-row{border-left:4px solid #344455!important}
html[data-theme="dark"] body#ktApp #executive .daily-table .daily-row td:last-child{border-top:1px solid #344656!important}
}
html[data-theme="dark"] body#ktApp #pusulaPanel .pusula-table th,html[data-theme="dark"] body#ktApp #pusulaPanel .pusula-table td{border-bottom:1px solid #30485a!important;background:#161d27!important;color:#c9d9e8!important}
html[data-theme="dark"] body#ktApp #pusulaPanel .pusula-table th{background:#132331!important}
html[data-theme="dark"] body#ktApp #pusulaPanel .pusula-table td:first-child{border-left:3px solid #30475a!important}
:root[data-theme="dark"] .sim-code{color:#bcf6f1!important}
:root[data-theme="dark"] .sim-thresholds summary{color:#bfc9d3!important}
:root[data-theme="dark"] .sim-den{color:#bfc9d3!important}
:root[data-theme="dark"] .sim-needs>span{border:1px solid #35554f!important;background:#16202d!important}
:root[data-theme="dark"] .sim-needs small{color:#c0c9d4!important}
:root[data-theme="dark"] .sim-state{background:#152230!important}
:root[data-theme="dark"] .score-1 .sim-state,:root[data-theme="dark"] .score-2 .sim-state{color:#eab0b9!important;background:#321318!important}
:root[data-theme="dark"] .score-5 .sim-state{color:#bef4df!important;background:#153623!important}
html[data-theme="dark"] body#ktApp #pusulaPanel .table-total-bar{background:#15302a!important}
@media(max-width:800px){html[data-theme="dark"] body#ktApp #pusulaPanel .pusula-table tr{border:1px solid #30475a!important;background:#161d27!important}
html[data-theme="dark"] body#ktApp #pusulaPanel .pusula-table td{border-bottom:1px solid #30475a!important}
html[data-theme="dark"] body#ktApp #pusulaPanel .pusula-table td::before{color:#bfc9d3!important}
}
@media(max-width:800px){html[data-theme="dark"] body#ktApp #mud #pusulaPanel #pSimBody td{background:#161d27!important;color:#c9d9e8!important}
}
html[data-theme="dark"] body#ktApp #messages{--chat-line:#192331!important;--chat-ink:#c5daec!important;--chat-muted:#bec8cf!important}
html[data-theme="dark"] body#ktApp #managerChatSwitch{background:#161d27!important}
html[data-theme="dark"] body#ktApp #managerChatSwitch button{background:#16252e!important;color:#cbd9e1!important}
html[data-theme="dark"] body#ktApp #messages:not(.manager-chat-mode) #managerChatSwitch [data-team],html[data-theme="dark"] body#ktApp #messages.manager-chat-mode #managerChatSwitch [data-manager]{background:#14362f!important;color:#bcf6f1!important;box-shadow:inset 0 0 0 1px #305a51!important}
html[data-theme="dark"] body#ktApp #messages .web-chat-sidebar-head,html[data-theme="dark"] body#ktApp #messages .dm-sidebar-head{background:#161d27!important}
html[data-theme="dark"] body#ktApp #messages .web-chat-search,html[data-theme="dark"] body#ktApp #messages .dm-search{background:#161f2c!important}
html[data-theme="dark"] body#ktApp #messages .web-chat-item:hover,html[data-theme="dark"] body#ktApp #managerChatPeople button:hover{background:#16282e!important}
html[data-theme="dark"] body#ktApp #messages .web-chat-item.active,html[data-theme="dark"] body#ktApp #managerChatPeople button.active{background:#15342c!important}
html[data-theme="dark"] body#ktApp #messages .web-chat-avatar,html[data-theme="dark"] body#ktApp #messages .dm-avatar{background:#16332e!important;color:#bcf6f1!important}
html[data-theme="dark"] body#ktApp #messages .whatsapp-head,html[data-theme="dark"] body#ktApp #managerChatPanel .dm-conversation header{background:#161d27!important}
html[data-theme="dark"] body#ktApp #messages .whatsapp-list,html[data-theme="dark"] body#ktApp #dmMessages{background:#1b2129!important}
html[data-theme="dark"] body#ktApp #messages .message-bubble,html[data-theme="dark"] body#ktApp #messages .dm-bubble{border:1px solid #384d52!important}
html[data-theme="dark"] body#ktApp #messages .mine .message-bubble,html[data-theme="dark"] body#ktApp #messages .mine .dm-bubble{background:#143522!important;border-color:#305a43!important}
html[data-theme="dark"] body#ktApp #messages .message-meta,html[data-theme="dark"] body#ktApp #messages .dm-bubble small{color:#c5d0ca!important}
html[data-theme="dark"] body#ktApp #messages .whatsapp-composer,html[data-theme="dark"] body#ktApp #dmForm{background:#161d27!important}
html[data-theme="dark"] body#ktApp #messages .composer-input,html[data-theme="dark"] body#ktApp #dmForm .dm-input{background:#161f2c!important;border:1px solid #304a59!important}
@media(min-width:1025px){}
@media(max-width:1024px){}
html[data-theme="dark"] body#ktApp #messages #messageList.whatsapp-list,html[data-theme="dark"] body#ktApp #messages #dmMessages{background:#1b2129!important}
html[data-theme="dark"] body#ktApp :is(#units,:root[data-theme="dark"] #dispatch,:root[data-theme="dark"] #teams){--report-line:#1a2433!important;--report-ink:#c5d9ed!important}
html[data-theme="dark"] body#ktApp :is(#units,:root[data-theme="dark"] #dispatch) .hierarchy-title,html[data-theme="dark"] body#ktApp #teams>.toolbar{background:#161d27!important;border:1px solid #30465a!important}
html[data-theme="dark"] body#ktApp :is(#units,:root[data-theme="dark"] #dispatch,:root[data-theme="dark"] #teams) .report-eyebrow{color:#bcf6f1!important}
html[data-theme="dark"] body#ktApp :is(#units,:root[data-theme="dark"] #dispatch) .hierarchy-filters,html[data-theme="dark"] body#ktApp #teams .team-control-row{background:#161d27!important;border:1px solid #30465a!important}
html[data-theme="dark"] body#ktApp :is(#units,:root[data-theme="dark"] #dispatch) .hierarchy-filters label{color:#c5d1da!important}
html[data-theme="dark"] body#ktApp :is(#units,:root[data-theme="dark"] #dispatch,:root[data-theme="dark"] #teams) .p-card{border:1px solid #30465a!important;background:#161d27!important;color:#c5d9ed!important}
html[data-theme="dark"] body#ktApp :is(#units,:root[data-theme="dark"] #dispatch,:root[data-theme="dark"] #teams) .p-card span{color:#c5d1da!important}
html[data-theme="dark"] body#ktApp :is(#units,:root[data-theme="dark"] #dispatch,:root[data-theme="dark"] #teams) .p-card b{color:#c5d9ed!important}
html[data-theme="dark"] body#ktApp :is(#units,:root[data-theme="dark"] #dispatch,:root[data-theme="dark"] #teams) .p-card small{color:#bcc6ce!important}
html[data-theme="dark"] body#ktApp :is(#units,:root[data-theme="dark"] #dispatch,:root[data-theme="dark"] #teams) .p-card.amber{background:#15302a!important}
html[data-theme="dark"] body#ktApp :is(#units,:root[data-theme="dark"] #dispatch,:root[data-theme="dark"] #teams) :is(.panel,:root[data-theme="dark"] .karne-compare,:root[data-theme="dark"] .focus-box){border:1px solid #30465a!important;background:#161d27!important}
html[data-theme="dark"] body#ktApp :is(#units,:root[data-theme="dark"] #dispatch,:root[data-theme="dark"] #teams) table th{background:#132131!important;color:#c3ceda!important}
html[data-theme="dark"] body#ktApp :is(#units,:root[data-theme="dark"] #dispatch,:root[data-theme="dark"] #teams) table td{border-bottom:1px solid #30485a!important}
html[data-theme="dark"] body#ktApp :is(#units,:root[data-theme="dark"] #dispatch,:root[data-theme="dark"] #teams) table tr.signed-up td{background:#133120!important}
html[data-theme="dark"] body#ktApp :is(#units,:root[data-theme="dark"] #dispatch,:root[data-theme="dark"] #teams) table tr.signed-down td{background:#2f1212!important}
html[data-theme="dark"] body#ktApp :is(#teamDailySummary,:root[data-theme="dark"] #dispatchDailySummary) h4{background:#15302a!important;color:#c5ece8!important}
html[data-theme="dark"] body#ktApp :is(#units,:root[data-theme="dark"] #dispatch,:root[data-theme="dark"] #teams) .ds-stats>div{background:#13202d!important;border:1px solid #30465a!important}
html[data-theme="dark"] body#ktApp #units #unitWeightRanking{border:1px solid #30465a!important;background:#161d27!important}
@media(max-width:1400px){}
@media(max-width:700px){}
@media(min-width:1500px){}
@media(max-width:700px){}
html[data-theme="dark"] body#ktApp :is(#dispatch,:root[data-theme="dark"] #units,:root[data-theme="dark"] #teams) .report-sim-row td:first-child{border-left:3px solid #30475a!important}
html[data-theme="dark"] body#ktApp #dispatchTeamChanges .daily-row td{background:#13202d!important;border-top:1px solid #30435a!important;border-bottom:1px solid #30435a!important}
html[data-theme="dark"] body#ktApp #dispatchTeamChanges .daily-fall td{background:#2f1212!important;border-color:#5a3030!important}
html[data-theme="dark"] body#ktApp #dispatchTeamChanges .daily-rise td{background:#133120!important;border-color:#305a43!important}
html[data-theme="dark"] body#ktApp #dispatchTeamChanges .daily-row td:first-child{border-left:4px solid #344455!important}
html[data-theme="dark"] body#ktApp #dispatchTeamChanges .daily-person{color:#c0c9d3!important}
@media(max-width:900px){html[data-theme="dark"] body#ktApp :is(#dispatch,:root[data-theme="dark"] #units,:root[data-theme="dark"] #teams) .report-sim-row{border:1px solid #30465a!important;border-left:3px solid #344455!important}
html[data-theme="dark"] body#ktApp :is(#dispatch,:root[data-theme="dark"] #units,:root[data-theme="dark"] #teams) .report-sim-row td::before{color:#c0c9d4!important}
html[data-theme="dark"] body#ktApp #dispatchTeamChanges .daily-row{border-left:4px solid #344455!important}
html[data-theme="dark"] body#ktApp #dispatchTeamChanges .daily-row td::before{color:#c0c9d4!important}
}
html[data-theme="dark"] body#ktApp #messages :is(.composer-input,:root[data-theme="dark"] .dm-input):focus-within{border:1px solid #324b58!important}
html[data-theme="dark"] body#ktApp #dispatch .scope-manager{background:#13212f!important;border:1px solid #30485a!important}
html[data-theme="dark"] body#ktApp #dispatch .covered-group h4{background:#15302a!important;color:#c9e9e5!important}
html[data-theme="dark"] body#ktApp #dispatch .covered-team b{color:#c9dbe9!important}
html[data-theme="dark"] body#ktApp #dispatch .covered-team>span{background:#15302a!important;color:#bcf6f1!important}
@media(max-width:700px){}
html[data-theme="dark"] body#ktApp #teamDailySummary .daily-table th{background:#132131!important;color:#c3ceda!important}
html[data-theme="dark"] body#ktApp #teamDailySummary .daily-row td{background:#13202d!important;border-top:1px solid #30435a!important;border-bottom:1px solid #30435a!important}
html[data-theme="dark"] body#ktApp #teamDailySummary .daily-row td:first-child{border-left:4px solid #344455!important}
html[data-theme="dark"] body#ktApp #teamDailySummary .daily-fall td{background:#2f1212!important;border-color:#5a3030!important}
html[data-theme="dark"] body#ktApp #teamDailySummary .daily-rise td{background:#133120!important;border-color:#305a43!important}
:root[data-theme="dark"] .daily-code{color:#c0c9d4!important}
:root[data-theme="dark"] .daily-score{background:#162131!important}
:root[data-theme="dark"] .daily-diff{background:#152331!important;color:#c2cad3!important}
:root[data-theme="dark"] .daily-fall .daily-current,:root[data-theme="dark"] .daily-fall .daily-diff{background:#331319!important;color:#ebb0b8!important}
:root[data-theme="dark"] .daily-rise .daily-current,:root[data-theme="dark"] .daily-rise .daily-diff{background:#153825!important;color:#bef4df!important}
:root[data-theme="dark"] .daily-legend{color:#c0c9d4!important}
:root[data-theme="dark"] .daily-table .signed-up{color:#bdf5df!important}
:root[data-theme="dark"] .daily-table .signed-down{color:#ebb0b8!important}
@media(max-width:1024px){html[data-theme="dark"] body#ktApp #teamDailySummary .daily-table .daily-row{border-left:4px solid #344455!important}
html[data-theme="dark"] body#ktApp #teamDailySummary .daily-table .daily-row td:last-child{border-top:1px solid #344656!important}
}
html[data-theme="dark"] body#ktApp #messages .web-chat-sidebar-head{background:#191f28!important}
html[data-theme="dark"] body#ktApp #messages .msg-brand strong{color:#c6d7eb!important}
html[data-theme="dark"] body#ktApp #messages .web-chat-search{background:#161d27!important}
html[data-theme="dark"] body#ktApp #messages .web-chat-search input{background:#1b2129!important}
html[data-theme="dark"] body#ktApp #messages #webChatSidebar .web-chat-item,html[data-theme="dark"] body#ktApp #messages #managerChatPeople button{border-bottom:1px solid #3c4d49!important;background:#161d27!important}
html[data-theme="dark"] body#ktApp #messages #webChatSidebar .web-chat-item:hover,html[data-theme="dark"] body#ktApp #messages #webChatSidebar .web-chat-item.active,html[data-theme="dark"] body#ktApp #messages #managerChatPeople button:hover,html[data-theme="dark"] body#ktApp #messages #managerChatPeople button.active{background:#153128!important}
html[data-theme="dark"] body#ktApp #messages #webChatSidebar .web-chat-avatar,html[data-theme="dark"] body#ktApp #messages .dm-avatar{background:#15352d!important;color:#bef3e9!important}
html[data-theme="dark"] body#ktApp #messages .web-chat-copy small,html[data-theme="dark"] body#ktApp #messages .dm-person-info small{color:#c4cdc9!important}
html[data-theme="dark"] body#ktApp #messages .whatsapp-head{background:#191f28!important;border-bottom:1px solid #3c4e48!important}
html[data-theme="dark"] body#ktApp #messages .whatsapp-composer,html[data-theme="dark"] body#ktApp #messages #dmForm{background:#1d2128!important}
html[data-theme="dark"] body#ktApp #messages :is(#adminComposerRow,:root[data-theme="dark"] #teamComposerRow) .composer-input{background:#161d27!important;border:1px solid #3a4f47!important}
html[data-theme="dark"] body#ktApp #messages #dmForm .dm-input{background:#161d27!important}
@media(max-width:1024px){}
@supports not (height:100dvh){}
html[data-theme="dark"] body#ktApp #messages .whatsapp-composer>.message-reply-compose,html[data-theme="dark"] body#ktApp #messages #dmReply{background:#173027!important}
html[data-theme="dark"] body#ktApp #messages :is(.message-reply-compose,:root[data-theme="dark"] #dmReply) strong{color:#bcf6f0!important}
html[data-theme="dark"] body#ktApp #messages :is(.message-reply-compose,:root[data-theme="dark"] #dmReply)>button{color:#cdd8da!important}
html[data-theme="dark"] body#ktApp #appChooser .chooser-icon{border:1px solid #305a52!important;background:#14302b!important;color:#bcf6f2!important}
html[data-theme="dark"] body#ktApp #appChooser .chooser-card:hover .chooser-icon{background:#15352d!important;border-color:#305a52!important;color:#bcf6f2!important}
@media(max-width:600px){}
:root[data-theme="dark"] #ktApp #messages .team-compose-shell{background:#1d2128!important;border-top:1px solid #395049!important}
:root[data-theme="dark"] #ktApp #messages .shared-compose .dm-input{border:1px solid #3a4f47!important;background:#161d27!important}
:root[data-theme="dark"] #ktApp #messages .shared-compose .shared-attach{color:#c4cdc9!important}
:root[data-theme="dark"] #ktApp #messages .shared-compose .entry-tool{color:#bfc7c4!important}
:root[data-theme="dark"] #ktApp #messages .shared-compose .shared-send{color:#ffffff!important}
:root[data-theme="dark"] #ktApp #messages .team-compose-shell>.message-reply-compose{background:#173027!important}
@media(max-width:760px){}
:root[data-theme="dark"] .lb-panel{background:#161d27!important;border:1px solid #30475a!important;color:#c5daed!important}
:root[data-theme="dark"] .lb-kicker{color:#bcf6f3!important}
:root[data-theme="dark"] .lb-panel p{color:#bec7cf!important}
:root[data-theme="dark"] .lb-badge{background:#16322b!important;color:#bcf6f1!important}
:root[data-theme="dark"] .lb-metric{background:#122330!important;border:1px solid #30485a!important}
:root[data-theme="dark"] .lb-metric span{color:#bdc6ce!important}
:root[data-theme="dark"] .lb-metric strong{color:#c1dff0!important}
:root[data-theme="dark"] .lb-metric.primary{color:#ffffff!important}
:root[data-theme="dark"] .lb-metric.primary span,:root[data-theme="dark"] .lb-metric.primary strong{color:#ffffff!important}
:root[data-theme="dark"] .lb-tools input{border:1px solid #30495a!important}
:root[data-theme="dark"] .lb-table th{color:#bfcbd4!important;background:#132330!important}
:root[data-theme="dark"] .lb-table td{border-bottom:1px solid #30475a!important}
:root[data-theme="dark"] .lb-remaining{color:#bcf6f0!important;background:#153224!important}
:root[data-theme="dark"] .lb-zero{background:#342714!important;color:#f5dcb8!important}
:root[data-theme="dark"] .lb-note{background:#12232f!important;color:#c2ced6!important}
:root[data-theme="dark"] .lb-empty{color:#bec7cf!important}
@media(max-width:650px){}
:root[data-theme="dark"] .lb-panel #lbStatus{color:#bec7cf!important}
@media(max-width:700px){}

/* theme.css */
.appearance-control{display:inline-flex!important;align-items:center!important;gap:8px!important;flex:0 0 auto!important;border:1px solid #d7e3ec!important;background:#f7fafc!important;color:#253e55!important;border-radius:10px!important;padding:6px 10px!important;margin:0!important;font:600 calc(12px * var(--kt-readable-scale,1))/1.4 system-ui!important;min-height:40px!important;white-space:nowrap!important;max-width:100%!important}
.appearance-control svg{width:18px;height:18px;flex:none}
html body .appearance-control select{width:auto!important;min-width:90px!important;min-height:30px!important;padding:4px 24px 4px 6px!important;border:0!important;background:transparent!important;color:inherit!important;font:600 calc(13px * var(--kt-readable-scale,1)) system-ui!important;box-shadow:none!important;cursor:pointer}
.appearance-control select:focus-visible{outline:2px solid #0d9488!important;outline-offset:2px}
.single-brand>.appearance-control{margin-top:18px!important}
#uiCloudControls{flex-wrap:wrap}
:root[data-theme=dark]{color-scheme:dark;background:#101b2b}
:root[data-theme=dark] body{background:#101b2b!important;color:#e2eaf3!important}
:root[data-theme=dark] body#ktApp{--ui-bg:#101b2b;--ui-paper:#19283b;--ui-ink:#e2eaf3;--ui-muted:#a9bcd0;--ui-line:#34495e;--ui-accent:#38bca9;--pro-bg:#101b2b;--pro-text:#e2eaf3;--pro-muted:#a9bcd0;--pro-line:#34495e}
:root[data-theme=dark] .appearance-control{background:#203247!important;color:#e2eaf3!important;border-color:#40566c!important}
:root[data-theme=dark] .appearance-control option{background:#19283b;color:#e2eaf3}
:root[data-theme=dark] input,:root[data-theme=dark] textarea,:root[data-theme=dark] select{color-scheme:dark}
@media(max-width:650px){.appearance-control>span{display:none!important}.appearance-control{padding:4px 7px!important;gap:4px!important}.chooser-top{flex-wrap:wrap!important;gap:14px!important}#uiCloudControls>.appearance-control{margin-left:auto!important}}
:root[data-theme=dark] .chooser-logo,:root[data-theme=dark] .pro-logo{background:#0f8d83!important;color:#fff!important}:root[data-theme=dark] body#ktApp main .view button.ui-primary{background:#0f766e!important;color:#fff!important;border-color:#319b91!important}:root[data-theme=dark] .signed-down{color:#f69ba7!important}:root[data-theme=dark] .signed-up{color:#75d8b1!important}
html[data-theme=dark] body#ktApp #executive .exec-grid strong:not(.ui-tone-low):not(.signed-down){color:#75d8c4!important}html[data-theme=dark] body#ktApp #executive .exec-grid strong.signed-down{color:#f69ba7!important}
:root[data-theme=dark] input::placeholder,:root[data-theme=dark] textarea::placeholder{color:#aab9c9!important;opacity:1!important}

/* polish-v230.css */
/* Amirlik kapsamı: tablo altında dengeli, tam genişlikte bilgi kartları. */
html body#ktApp #units .hierarchy-layout{grid-template-columns:minmax(0,1fr)!important}
html body#ktApp #units .hierarchy-side{display:grid!important;grid-template-columns:minmax(260px,2fr) minmax(0,3fr)!important;gap:20px!important;width:100%!important;min-width:0!important;align-items:stretch!important}
html body#ktApp #units .hierarchy-side>.panel{margin:0!important;min-width:0!important;padding:22px!important;height:auto!important}
html body#ktApp #units .hierarchy-side h3{margin:0 0 16px!important}
html body#ktApp #units #unitPageScope{display:grid!important;grid-template-columns:1fr!important;gap:12px!important}
html body#ktApp #units .scope-manager{padding:14px 16px!important;border-radius:10px!important;background:#f3f7fb!important;min-width:0!important;margin:0!important}
html body#ktApp #units .scope-manager span{display:block!important;font-size:calc(12px * var(--kt-readable-scale,1))!important;color:#5c7188!important;margin-bottom:5px!important}
html body#ktApp #units .scope-manager b{display:block!important;font-size:calc(15px * var(--kt-readable-scale,1))!important;line-height:1.5!important;overflow-wrap:break-word!important}
html body#ktApp #units .covered-group{margin:0!important}
html body#ktApp #units .covered-group h4{background:transparent!important;color:#587087!important;padding:0 0 12px!important;font-size:calc(12px * var(--kt-readable-scale,1))!important;line-height:1.6!important;font-weight:600!important}
html body#ktApp #units .covered-team{display:flex!important;align-items:center!important;gap:18px!important;justify-content:space-between!important;padding:14px 0!important;border-bottom:1px solid #e0e8f0!important;font-size:calc(13px * var(--kt-readable-scale,1))!important;min-width:0!important}
html body#ktApp #units .covered-team b{font-size:calc(13px * var(--kt-readable-scale,1))!important;overflow-wrap:anywhere!important;color:#1a3b54!important}
html body#ktApp #units .covered-team>span{flex:none!important;font-weight:750!important;font-variant-numeric:tabular-nums!important;background:#e9f4f2!important;color:#087b70!important;border-radius:8px!important;padding:6px 10px!important;min-width:50px!important;text-align:center!important}
html[data-theme=dark] body#ktApp #units .scope-manager{background:#223246!important}
html[data-theme=dark] body#ktApp #units .scope-manager b,html[data-theme=dark] body#ktApp #units .covered-team b{color:#e0eaf4!important}
html[data-theme=dark] body#ktApp #units .scope-manager span,html[data-theme=dark] body#ktApp #units .covered-group h4{color:#aabed1!important}
html[data-theme=dark] body#ktApp #units .covered-team{border-color:#34495d!important}
html[data-theme=dark] body#ktApp #units .covered-team>span{background:#183f38!important;color:#8ee1cb!important}
@media(max-width:760px){html body#ktApp #units .hierarchy-side{grid-template-columns:minmax(0,1fr)!important;gap:14px!important}html body#ktApp #units .hierarchy-side>.panel{padding:18px!important}}
/* Ekip hesabında kişi seçimi ilk sırada ve okunaklıdır. */
html[data-theme=dark] .lb-ident{background:#223246!important;border-color:#3a5269!important;color:#e2eaf3!important}
html[data-theme=dark] .lb-ident small{color:#adbed0!important}
html[data-theme=dark] .lb-ident select{background:#19283b!important;color:#e2eaf3!important;border-color:#425a72!important}

/* ux-v231.css */
html body#ktApp main .ux-jumps{position:static!important;display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;gap:8px!important;width:auto!important;min-height:0!important;padding:0!important;margin:0 0 18px!important;background:none!important;border:0!important;box-shadow:none!important}
.ux-jumps a{display:block;padding:9px 14px;border:1px solid #d2e1e8;border-radius:20px;color:#1b6665;background:#fff;font-size:calc(13px * var(--kt-readable-scale,1));font-weight:600;text-decoration:none}
.ux-fold,.ux-help{border:1px solid #dbe6ed;border-radius:12px;background:#fff;margin:16px 0;padding:0;min-width:0}
.ux-fold>summary,.ux-help>summary{padding:16px 18px;cursor:pointer;font-size:calc(14px * var(--kt-readable-scale,1));font-weight:650;color:#28455d}
.ux-fold>section,.ux-fold>div{margin:0!important;border:0!important}.ux-help .lb-note{margin:0}
.ux-row-toggle{display:none!important}.ux-tab-hidden,.ux-filter-hidden{display:none!important}
.ux-filterbar{display:flex;gap:14px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin:16px 0}
.ux-filterbar label{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.ux-filterbar select{min-height:44px;border-radius:9px;padding:8px;border:1px solid #c7d6e1;background:#fff;color:#243f55}
.ux-muted,.ux-empty{font:400 calc(13px * var(--kt-readable-scale,1))/1.65 system-ui;color:#5c7388}.ux-empty{padding:20px;background:#f0f5f8;border-radius:10px}.ux-scope-note{padding:15px 18px;background:#edf7f3;color:#216758;border:1px solid #c9e5db;border-radius:12px;font-size:calc(14px * var(--kt-readable-scale,1))}
.ux-tabs{display:flex;gap:6px;flex-wrap:wrap;padding:6px;border:1px solid #d9e5ec;background:#edf3f7;border-radius:12px;margin-bottom:20px;position:sticky;top:60px;z-index:8}
html body#ktApp #entry .ux-tabs button{flex:1;min-width:90px;background:transparent!important;border:0!important;color:#526c80!important;min-height:44px!important}
html body#ktApp #entry .ux-tabs button[aria-selected=true]{background:#fff!important;color:#087b70!important;box-shadow:0 1px 5px #1232!important}
.ux-password{display:block;font:600 calc(13px * var(--kt-readable-scale,1)) system-ui;margin-top:8px!important;padding:8px 10px!important;border:1px solid #cadbe4!important;border-radius:8px!important;background:#f4f8fb!important;color:#285267!important;min-height:36px!important;width:auto!important}
.ux-tools-more{position:relative}.ux-tools-more>summary{cursor:pointer;padding:10px 14px;background:#edf3f7;border:1px solid #c9d9e4;border-radius:9px;min-height:44px;box-sizing:border-box}.ux-tools-more[open]{display:flex;flex-wrap:wrap;gap:8px;padding:12px;border:1px solid #d2dfe9;border-radius:12px;background:#f7fafc}.ux-tools-more[open]>summary{margin-bottom:10px}.ux-tools-more label,.ux-tools-more button{margin:4px!important}.ux-primary-action{background:#0c7e75!important;color:#fff!important;border-color:#0c7e75!important;min-height:44px}
html body#ktApp #activity .activity-hero h2{color:#fff!important}#uxActivityNote{max-width:780px;color:#c9e7f1!important;margin-top:10px;font-size:calc(12px * var(--kt-readable-scale,1));line-height:1.6}
html body#ktApp #messages #webChatSidebar .web-chat-copy>b,html body#ktApp #messages #managerChatPeople strong{font-size:calc(13px * var(--kt-readable-scale,1))!important;line-height:1.45!important;white-space:normal!important;display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden!important;overflow-wrap:break-word!important}
html body#ktApp #messages #webChatSidebar .web-chat-item,html body#ktApp #messages #managerChatPeople button{min-height:86px!important}
.ux-search{min-height:44px!important;max-width:330px!important;width:100%;border:1px solid #cbdce6;border-radius:9px;padding:10px 12px;background:#fff;color:#17384d}
[data-ux-state=error]{color:#b32d42!important;border-left:3px solid #cc4559;padding:10px 12px!important;background:#fff1f3!important;border-radius:7px}
[data-ux-state=loading]{color:#546d82!important}[data-ux-state=success]{color:#127965!important}
.ux-info-dialog{width:min(580px,94vw);max-height:85dvh;border:1px solid #d1e0e9;border-radius:16px;padding:22px;color:#19364b;background:#fff}.ux-info-dialog::backdrop{background:#0b1d31aa}.ux-close{float:right;padding:10px;border:1px solid #c9d9e5;border-radius:8px;background:#f3f7fa}.ux-info-item{padding:12px 0;border-bottom:1px solid #e2eaf0;clear:both}.ux-info-item small{color:#657c90}.ux-info-item p{margin:4px 0;font-weight:600}
:root[data-theme=dark] .ux-fold,:root[data-theme=dark] .ux-help,:root[data-theme=dark] .ux-info-dialog{background:#19283b;border-color:#3b5067;color:#e0eaf3}
:root[data-theme=dark] .ux-fold>summary,:root[data-theme=dark] .ux-help>summary{color:#c6dbea}
:root[data-theme=dark] .ux-jumps a,:root[data-theme=dark] .ux-tabs,:root[data-theme=dark] .ux-empty,:root[data-theme=dark] .ux-tools-more[open]{background:#203247;border-color:#3c5369;color:#a7e2d6}
:root[data-theme=dark] .ux-muted{color:#aebfd1}:root[data-theme=dark] .ux-scope-note{background:#183c34;color:#ace1ce;border-color:#366356}
:root[data-theme=dark] .ux-filterbar select,:root[data-theme=dark] .ux-search,:root[data-theme=dark] .ux-password{background:#1c3046!important;color:#dce8f3!important;border-color:#425b72!important}
html[data-theme=dark] body#ktApp #entry .ux-tabs button[aria-selected=true]{background:#25483f!important;color:#a5ead8!important}
:root[data-theme=dark] [data-ux-state=error]{background:#41232e!important;color:#f1b1be!important}:root[data-theme=dark] [data-ux-state=success]{color:#88d9c5!important}:root[data-theme=dark] [data-ux-state=loading]{color:#b7c9da!important}
@media(max-width:760px){
html body#ktApp#ktApp#ktApp main .pusula-table tbody tr:not(.ux-row-open)>td:is([data-label="Ağırlık"],[data-label="Pay / Payda"],[data-label="Gereken iş"],[data-label="Durum"]),html body#ktApp#ktApp#ktApp main .team-sim-table tbody tr:not(.ux-row-open)>td:is([data-label="Ağırlık"],[data-label="Pay / Payda"],[data-label="Gereken iş"],[data-label="Durum"]),html body#ktApp#ktApp#ktApp main .hierarchy-table tbody tr:not(.ux-row-open)>td:is([data-label="Ağırlık"],[data-label="Pay / Payda"],[data-label="Gereken iş"],[data-label="Durum"]){display:none!important}
html body#ktApp main :is(.pusula-table,.team-sim-table,.hierarchy-table) tr:not(.ux-row-open) .sim-thresholds{display:none!important}
html body#ktApp main :is(.pusula-table,.team-sim-table,.hierarchy-table) .ux-row-toggle{display:inline-flex!important;min-height:40px!important;padding:7px 12px!important;align-items:center;justify-content:center;font-size:calc(12px * var(--kt-readable-scale,1))!important;margin-top:10px!important;width:auto!important}
html body#ktApp main :is(.pusula-table,.team-sim-table,.hierarchy-table) td[data-label="Skor"] select{min-height:44px!important}
.ux-jumps{gap:6px!important}.ux-jumps a{font-size:calc(12px * var(--kt-readable-scale,1));padding:9px 11px}.day-btn{min-width:42px!important;min-height:42px!important;font-size:calc(12px * var(--kt-readable-scale,1))!important}.ux-tabs{top:58px}.ux-filterbar select{width:100%}.ux-filterbar label{width:100%}
html body#ktApp #info tbody tr{cursor:pointer}html body#ktApp #info td{padding-top:14px!important;padding-bottom:14px!important}html body#ktApp #info td:nth-child(n+5){font-weight:700!important}
.chooser-top{gap:12px!important;flex-wrap:wrap!important}.appearance-control{max-width:100%}
}
html body#ktApp .covered-team .ux-team-name{display:block;font-size:calc(12px * var(--kt-readable-scale,1))!important;font-weight:400!important;color:#61778d!important;line-height:1.5;margin-top:4px}html[data-theme=dark] body#ktApp .covered-team .ux-team-name{color:#abc1d3!important}html body#ktApp #info .info-s2{background:#fff0f2!important;color:#a53247!important}html body#ktApp #info .info-s3{background:#fff3e2!important;color:#97600d!important}html body#ktApp #info .info-s4{background:#f8f4db!important;color:#746119!important}html body#ktApp #info .info-s5{background:#e8f7ef!important;color:#166e4e!important}html[data-theme=dark] body#ktApp #info .info-s2{background:#422a35!important;color:#efb4c4!important}html[data-theme=dark] body#ktApp #info .info-s3{background:#413521!important;color:#e9c387!important}html[data-theme=dark] body#ktApp #info .info-s4{background:#3b3820!important;color:#e0d191!important}html[data-theme=dark] body#ktApp #info .info-s5{background:#234133!important;color:#9ad5b8!important}

.ux-person-brand{display:flex;align-items:center;gap:10px;font-weight:700;letter-spacing:.04em}.ux-person-brand img{border-radius:10px}.ux-score-source{font-size:calc(13px * var(--kt-readable-scale,1));line-height:1.6}

body[data-mode=private] .toolbar #cloudOpen{order:1}body[data-mode=private] .toolbar #prepareMonth{order:2}body[data-mode=private] .toolbar #cloudSave{order:3}body[data-mode=private] .toolbar .ux-tools-more{order:4}

/* inspection-alerts.css */
.inspection-alerts{position:fixed;bottom:18px;right:18px;z-index:950;width:min(400px,calc(100vw - 28px));padding:16px 18px;background:#fff6e6;color:#693d09;border:1px solid #e8b75e;border-left:5px solid #d88a18;border-radius:14px;box-shadow:0 8px 30px #172e4726;font-size:calc(14px * var(--kt-readable-scale,1));line-height:1.5}.inspection-alerts[hidden],.inspection-count[hidden]{display:none!important}.inspection-alerts ul{padding-left:20px;max-height:140px;overflow:auto;margin:10px 0}.inspection-alerts small{display:block;margin-top:8px}.inspection-alerts button{min-height:42px;padding:8px 14px;border-radius:9px;border:1px solid #c88c32;background:#fff;color:#693d09;cursor:pointer}.inspection-count{display:inline-block;margin-left:6px;padding:3px 7px;border-radius:20px;background:#b65316;color:white;font:700 calc(11px * var(--kt-readable-scale,1)) system-ui}html[data-theme=dark] .inspection-alerts{background:#382b1e;color:#ffe1ac;border-color:#a57838}html[data-theme=dark] .inspection-alerts button{background:#493722;color:#ffe1ac}@media(max-width:760px){.inspection-alerts{position:fixed;bottom:12px;right:14px;margin:0;width:calc(100% - 28px);z-index:950}}html body#ktApp#ktApp#ktApp main .ux-filter-hidden{display:none!important}

.inspection-alerts>strong{display:block;padding-right:44px}.inspection-alerts .inspection-alert-close{position:absolute;top:6px;right:6px;display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0;border:0;background:transparent;color:inherit;font:calc(28px * var(--kt-readable-scale,1))/1 system-ui;border-radius:10px}.inspection-alerts .inspection-alert-close:hover{background:#b9791320}.inspection-alerts .inspection-alert-close:focus-visible{outline:2px solid currentColor;outline-offset:-4px}

/* chat-scroll.css */
/* Conversation opening and keyboard layout must land immediately on the latest message. */
html body#ktApp#ktApp #messages :is(#messageList,#dmMessages,.whatsapp-list){scroll-behavior:auto!important;overflow-anchor:auto}

/* export-menu.css */
html body#ktApp .export-original{display:none!important}html body#ktApp .export-menu{position:relative;display:inline-flex;flex:0 0 auto;margin-left:8px}html body#ktApp .export-menu button{font:500 calc(14px * var(--kt-readable-scale,1)) system-ui;cursor:pointer}html body#ktApp .export-toggle{width:44px!important;min-width:44px!important;height:44px!important;margin:0!important;padding:0!important;display:grid!important;place-items:center!important;border:1px solid #ccdbe7!important;border-radius:10px!important;background:#f5f9fc!important;color:#294b63!important;font-size:calc(28px * var(--kt-readable-scale,1))!important;line-height:1!important;box-shadow:none!important}html body#ktApp .export-options{position:absolute;right:0;top:50px;z-index:1000;width:240px;padding:6px;background:#fff;border:1px solid #d8e3eb;border-radius:12px;box-shadow:0 12px 36px #12253f26}html body#ktApp .export-options[hidden]{display:none!important}html body#ktApp .export-options button{display:block!important;width:100%!important;text-align:left!important;padding:12px!important;min-height:44px!important;border:0!important;border-radius:7px!important;background:transparent!important;color:#19364d!important;margin:0!important}html body#ktApp .export-options button:hover,html body#ktApp .export-options button:focus-visible{background:#e9f5f3!important;outline:2px solid #198d84;outline-offset:-2px}html body#ktApp .sim-actions,html body#ktApp .team-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;margin-left:auto!important;flex-wrap:wrap!important}html body#ktApp .sim-actions>small{flex:1 1 100%;text-align:right}html body#ktApp :is(#mudClearManualBtn,#teamClearManualBtn){min-height:44px!important;padding:10px 16px!important;font:600 calc(13px * var(--kt-readable-scale,1)) system-ui!important;border:1px solid #e6bec4!important;background:#fff8f8!important;color:#a53b4b!important;border-radius:10px!important;box-shadow:none!important}html[data-theme=dark] body#ktApp .export-toggle,html[data-theme=dark] body#ktApp .export-options{background:#1c2d3e!important;border-color:#43586a!important;color:#e1edf5!important}html[data-theme=dark] body#ktApp .export-options button{color:#e1edf5!important}html[data-theme=dark] body#ktApp .export-options button:hover,html[data-theme=dark] body#ktApp .export-options button:focus-visible{background:#24443f!important}html[data-theme=dark] body#ktApp :is(#mudClearManualBtn,#teamClearManualBtn){background:#3d2730!important;color:#ffbdc7!important;border-color:#79505b!important}@media(max-width:760px){html body#ktApp .sim-title{display:flex!important;align-items:flex-start!important;flex-wrap:wrap!important;gap:12px}html body#ktApp .sim-actions{width:100%}html body#ktApp .team-actions select{flex:1 1 100%;min-width:0!important}}

html body#ktApp .export-menu[hidden]{display:none!important}html body#ktApp .export-toggle:disabled{opacity:.45!important;cursor:not-allowed!important}

.table-export-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;margin:6px 0 12px}.table-export-heading strong{font-size:calc(13px * var(--kt-readable-scale,1));color:#637b8e}

/* Portal menu: independent of card width, overflow and transformed parents. */
html body#ktApp#ktApp#ktApp>.export-options{position:fixed!important;right:auto!important;bottom:auto!important;z-index:2147483000!important;box-sizing:border-box!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain;transform:none!important;margin:0!important;min-width:0!important;max-width:calc(100vw - 24px)!important;padding:6px!important}
html body#ktApp#ktApp#ktApp>.export-options button{box-sizing:border-box!important;font:500 calc(14px * var(--kt-readable-scale,1))/1.4 system-ui!important;min-height:44px!important;height:auto!important;white-space:normal!important;overflow-wrap:anywhere!important;padding:11px 12px!important;text-align:left!important;display:block!important;width:100%!important;max-width:100%!important}
@media(max-width:760px){html body#ktApp#ktApp .export-toggle{width:44px!important;height:44px!important;min-width:44px!important;font-size:calc(25px * var(--kt-readable-scale,1))!important}html body#ktApp#ktApp :is(#teamClearManualBtn,#mudClearManualBtn){font-size:calc(12px * var(--kt-readable-scale,1))!important;min-height:44px!important;padding:9px 12px!important}html body#ktApp#ktApp .team-actions{gap:8px!important;max-width:100%!important}html body#ktApp#ktApp .team-control-row{min-width:0!important}html body#ktApp#ktApp #uxTeamSearch{width:100%!important;min-width:0!important;box-sizing:border-box!important}}

/* attendance.css */
html body#ktApp .attendance-card{border:1px solid #dbe6ee;border-radius:14px;padding:18px 20px;margin:0 0 18px;background:#fff;min-width:0;color:#17324a}html body#ktApp .attendance-card[hidden]{display:none!important}html body#ktApp .attendance-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}html body#ktApp .attendance-card h2{margin:0;font-size:calc(16px * var(--kt-readable-scale,1))!important}html body#ktApp .attendance-card p{margin:5px 0;font-size:calc(12px * var(--kt-readable-scale,1));color:#60758a}html body#ktApp .attendance-counts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0 10px}html body#ktApp .attendance-counts>div{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;background:#eff7f5;border-radius:10px}html body#ktApp .attendance-counts>div:last-child{background:#f3effa}html body#ktApp .attendance-counts span{font-size:calc(13px * var(--kt-readable-scale,1))}html body#ktApp .attendance-counts strong{font-size:calc(27px * var(--kt-readable-scale,1));color:#087e73;font-variant-numeric:tabular-nums}html body#ktApp .attendance-counts>div:last-child strong{color:#7350a1}html body#ktApp .attendance-card small{display:block;font-size:calc(11px * var(--kt-readable-scale,1));color:#61768a;line-height:1.5}html[data-theme="dark"] body#ktApp .attendance-card{background:#161d27;border-color:#30475a;color:#d6e5ef}html[data-theme="dark"] body#ktApp .attendance-counts>div{background:#15322e}html[data-theme="dark"] body#ktApp .attendance-counts>div:last-child{background:#2d2441}html[data-theme="dark"] body#ktApp .attendance-counts strong{color:#9ee1d1}html[data-theme="dark"] body#ktApp .attendance-counts>div:last-child strong{color:#dcc4fc}html[data-theme="dark"] body#ktApp .attendance-card p,html[data-theme="dark"] body#ktApp .attendance-card small{color:#b9c9d3}@media(max-width:450px){html body#ktApp .attendance-card{padding:16px}html body#ktApp .attendance-counts>div{display:block;padding:12px}html body#ktApp .attendance-counts strong{display:block;margin-top:5px}}

/* screen-fit.css */
/* Shared screen adaptation: reflow and readable type, without zooming the page. */
:root{--kt-readable-scale:1;--kt-nav-width:calc(222px * var(--kt-readable-scale));--kt-page-gap:clamp(12px,1.5vw,44px)}
html body#ktApp#ktApp#ktApp>main{max-width:none!important;min-width:0!important;box-sizing:border-box!important}
html body#ktApp#ktApp#ktApp main>.view{width:100%;min-width:0;max-width:100%;box-sizing:border-box}
html body#ktApp#ktApp#ktApp :is(.panel,.cards,.grid2,.hierarchy-layout,.hierarchy-side,.hierarchy-main,.exec-grid,.forecast-summary,.ops-grid){min-width:0;max-width:100%;box-sizing:border-box}
html body#ktApp#ktApp#ktApp :is(.tablewrap,.exec-scroll,.ops-scroll,.vehicle-table-wrap,.ui-table-scroll){max-width:100%;overflow-x:auto;box-sizing:border-box}
html body#ktApp#ktApp#ktApp :is(input,select,textarea){max-width:100%;box-sizing:border-box}
html body#ktApp#ktApp#ktApp :is(.toolbar,.pro-page-heading,.vehicle-heading,.exec-heading,.hierarchy-filters,.ops-filters){flex-wrap:wrap;min-width:0}
html body#ktApp#ktApp#ktApp :is(.toolbar,.hierarchy-filters,.ops-filters)>*{min-width:0;max-width:100%;box-sizing:border-box}
@media(min-width:1025px){
 html body#ktApp#ktApp#ktApp:not(.welcome-locked):not(.chooser-locked)>nav{width:var(--kt-nav-width)!important;max-width:var(--kt-nav-width)!important;box-sizing:border-box!important}
 html body#ktApp#ktApp#ktApp>:is(header,.cloudbar,main){margin-left:var(--kt-nav-width)!important;width:auto!important;max-width:none!important}
 html body#ktApp#ktApp#ktApp>main{margin-right:0!important;padding:var(--kt-page-gap)!important}
 html body#ktApp#ktApp#ktApp>nav button[data-view]{min-height:calc(46px * var(--kt-readable-scale))!important;padding:calc(11px * var(--kt-readable-scale)) calc(12px * var(--kt-readable-scale))!important}
 html body#ktApp#ktApp#ktApp>nav :is(.nav-icon,.nav-icon svg){width:calc(22px * var(--kt-readable-scale))!important;height:calc(22px * var(--kt-readable-scale))!important;flex-shrink:0}
 html body#ktApp#ktApp#ktApp .chooser-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,380px),1fr))!important}
 html body#ktApp#ktApp#ktApp .app-chooser-main{max-width:none!important;min-width:0}
 html body#ktApp#ktApp#ktApp .single-login-card{max-width:calc(470px * var(--kt-readable-scale))!important;width:min(94vw,calc(470px * var(--kt-readable-scale)))!important}
 html body#ktApp#ktApp#ktApp #messages :is(.web-chat-layout,.whatsapp-workspace){max-width:none!important;width:100%!important}
 html body#ktApp#ktApp#ktApp #messages.active{height:auto!important;min-height:0!important}
 html body#ktApp#ktApp#ktApp #messages :is(.whatsapp-workspace,#managerChatPanel){height:var(--kt-chat-frame-height,calc(100dvh - 240px))!important;min-height:240px!important;max-height:none!important}
 html body#ktApp#ktApp#ktApp #messages :is(.whatsapp-panel,#webChatSidebar,.dm-conversation,#managerChatPanel>aside){height:100%!important;min-height:0!important;max-height:100%!important}
 html body#ktApp#ktApp#ktApp #messages :is(.web-chat-sidebar-head,.whatsapp-head,.dm-conversation>header){min-height:calc(76px * var(--kt-readable-scale))!important;height:auto!important}
 html body#ktApp#ktApp#ktApp #messages :is(#dmText,#teamAdminText,#teamMemberText){font-size:calc(16px * var(--kt-readable-scale))!important;line-height:1.4!important;min-height:calc(44px * var(--kt-readable-scale))!important;height:calc(44px * var(--kt-readable-scale))!important;max-height:calc(140px * var(--kt-readable-scale))!important}
}
@media(min-width:1441px){
 html body#ktApp#ktApp#ktApp main .view:not(#messages) :is(button,input,select):not(.uwr-row):not([type=checkbox]):not([type=radio]){min-height:calc(44px * var(--kt-readable-scale))!important}
 html body#ktApp#ktApp#ktApp main :is(.panel,.focus-box,.sim-box,.karne-compare){padding:calc(22px * var(--kt-readable-scale))!important}
 html body#ktApp#ktApp#ktApp>nav .nav-label{font-size:calc(12px * var(--kt-readable-scale))!important}
 html body#ktApp#ktApp#ktApp #messages :is(.web-chat-item,#managerChatPeople>button){grid-template-columns:calc(40px * var(--kt-readable-scale)) minmax(0,1fr) calc(48px * var(--kt-readable-scale))!important}
 html body#ktApp#ktApp#ktApp #messages :is(.web-chat-avatar,.dm-avatar){width:calc(40px * var(--kt-readable-scale))!important;height:calc(40px * var(--kt-readable-scale))!important}
 body:not(#ktApp)>aside{width:calc(226px * var(--kt-readable-scale));box-sizing:border-box}
 body:not(#ktApp)>aside~main{margin-left:calc(226px * var(--kt-readable-scale));max-width:none;padding:var(--kt-page-gap)}
 body:not(#ktApp)>main:not([hidden]){min-width:0;box-sizing:border-box}
 body:not(#ktApp)>main:not([hidden]):first-child{max-width:calc(900px * var(--kt-readable-scale))}
 .table-wrap{max-height:calc(100dvh - 290px);max-width:100%}
}
@media(max-width:1024px){html body#ktApp#ktApp#ktApp>main{margin-left:0!important;width:100%!important;max-width:100%!important}html body#ktApp#ktApp#ktApp .view :is(input,select,textarea):not([type=checkbox]):not([type=radio]){font-size:16px!important}}

/* mud-screen.css */
/* Directorate compass and scorecard share the available screen width. */
html body#ktApp#ktApp#ktApp #mud>#pusulaPanel{width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;box-sizing:border-box!important}
html body#ktApp#ktApp#ktApp #pusulaPanel :is(.pusula-head,.pusula-cards,.mud-focus-grid,.sim-box){max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
html body#ktApp#ktApp#ktApp #pusulaPanel .pusula-head{flex-wrap:wrap;gap:12px}
html body#ktApp#ktApp#ktApp #pusulaPanel .mud-focus-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
html body#ktApp#ktApp#ktApp #pusulaPanel .focus-item{min-width:0;grid-template-columns:calc(28px * var(--kt-readable-scale)) minmax(0,1fr) auto;gap:10px;overflow-wrap:anywhere}
html body#ktApp#ktApp#ktApp #pusulaPanel .sim-box{padding:calc(18px * var(--kt-readable-scale))!important}
html body#ktApp#ktApp#ktApp #pusulaPanel .sim-scroll{overflow-x:auto!important;max-width:100%!important;min-width:0!important}
html body#ktApp#ktApp#ktApp #pusulaPanel table.pusula-table{width:100%!important;min-width:calc(1200px * var(--kt-readable-scale))!important;max-width:none!important;table-layout:fixed!important}
html body#ktApp#ktApp#ktApp #pusulaPanel .pusula-table :is(th,td){width:auto!important;min-width:0!important;padding:calc(10px * var(--kt-readable-scale)) calc(5px * var(--kt-readable-scale))!important;font-size:calc(12px * var(--kt-readable-scale))!important;overflow-wrap:normal!important;word-break:normal!important;white-space:normal!important;vertical-align:middle!important}
html body#ktApp#ktApp#ktApp #pusulaPanel .pusula-table th:nth-child(1){width:24%!important}
html body#ktApp#ktApp#ktApp #pusulaPanel .pusula-table th:nth-child(2){width:5%!important}
html body#ktApp#ktApp#ktApp #pusulaPanel .pusula-table th:nth-child(n+3):nth-child(-n+6){width:5%!important}
html body#ktApp#ktApp#ktApp #pusulaPanel .pusula-table th:nth-child(7){width:8%!important}
html body#ktApp#ktApp#ktApp #pusulaPanel .pusula-table th:nth-child(8){width:7%!important}
html body#ktApp#ktApp#ktApp #pusulaPanel .pusula-table th:nth-child(9){width:5%!important}
html body#ktApp#ktApp#ktApp #pusulaPanel .pusula-table th:nth-child(10){width:5%!important}
html body#ktApp#ktApp#ktApp #pusulaPanel .pusula-table th:nth-child(11){width:20%!important}
html body#ktApp#ktApp#ktApp #pusulaPanel .pusula-table th:nth-child(12){width:6%!important}
html body#ktApp#ktApp#ktApp #pusulaPanel .pusula-table :is(.mud-scale-cell,.mud-scale-head){background:#f2f7fb!important;font-variant-numeric:tabular-nums;white-space:nowrap!important}
html body#ktApp#ktApp#ktApp #pusulaPanel .sim-name{font-size:calc(13px * var(--kt-readable-scale))!important}
html body#ktApp#ktApp#ktApp #pusulaPanel select.mud-score-select{font-size:calc(13px * var(--kt-readable-scale))!important;min-height:calc(40px * var(--kt-readable-scale))!important}
@media(max-width:1100px){html body#ktApp#ktApp#ktApp #pusulaPanel .mud-focus-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}html body#ktApp#ktApp#ktApp #mudUnitWeightRanking{grid-column:1/-1!important}}
@media(max-width:800px){
 html body#ktApp#ktApp#ktApp #pusulaPanel .mud-focus-grid{grid-template-columns:minmax(0,1fr)!important}
 html body#ktApp#ktApp#ktApp #pusulaPanel .pusula-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 html body#ktApp#ktApp#ktApp #pusulaPanel table.pusula-table{min-width:0!important;max-width:100%!important}
 html body#ktApp#ktApp#ktApp #mud #pusulaPanel #pSimBody tr{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important}
 html body#ktApp#ktApp#ktApp #mud #pusulaPanel #pSimBody td{grid-column:span 2!important;min-width:0!important;padding:10px 5px!important;font-size:12px!important}
 html body#ktApp#ktApp#ktApp #mud #pusulaPanel #pSimBody td:nth-child(n+3):nth-child(-n+6){grid-column:span 1!important}
 html body#ktApp#ktApp#ktApp #mud #pusulaPanel #pSimBody td:is(:first-child,:nth-child(2),:nth-child(11),:last-child){grid-column:1/-1!important}
 html body#ktApp#ktApp#ktApp #mud #pusulaPanel #pSimBody td:nth-child(7){grid-column:span 2!important}
 html body#ktApp#ktApp#ktApp #pusulaPanel select.mud-score-select{font-size:16px!important;min-height:44px!important}
 html body#ktApp#ktApp#ktApp #pusulaPanel .mud-scale-cell::before{font-size:10px!important;white-space:normal!important}
}

/* chat-fit.css */
/* Only message views own the available screen height; lists scroll inside. */
@media(min-width:1025px){
 html body#ktApp#ktApp#ktApp.kt-chat-desktop-fit{overflow:hidden!important}
 html body#ktApp#ktApp#ktApp.kt-chat-desktop-fit>main{height:var(--kt-chat-main-height)!important;min-height:0!important;padding-top:12px!important;padding-bottom:12px!important;overflow:hidden!important;box-sizing:border-box!important}
 html body#ktApp#ktApp#ktApp.kt-chat-desktop-fit #messages.active{height:100%!important;min-height:0!important;max-height:100%!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;margin:0!important;padding:0!important}
 html body#ktApp#ktApp#ktApp.kt-chat-desktop-fit #managerChatSwitch{flex:0 0 auto!important;min-height:0!important;margin-top:0!important}
 html body#ktApp#ktApp#ktApp.kt-chat-desktop-fit #messages:not(.manager-chat-mode) .messages-shell{display:flex!important;flex-direction:column!important;flex:1 1 0!important;height:auto!important;min-height:0!important;max-height:100%!important;overflow:hidden!important}
 html body#ktApp#ktApp#ktApp.kt-chat-desktop-fit #messages :is(.whatsapp-workspace,#managerChatPanel){flex:1 1 0!important;height:100%!important;min-height:0!important;max-height:100%!important;grid-template-rows:minmax(0,1fr)!important;box-sizing:border-box!important}
 html body#ktApp#ktApp#ktApp.kt-chat-desktop-fit #messages :is(.conversation-panel,#webChatSidebar,.dm-conversation,#managerChatPanel>aside){height:100%!important;min-height:0!important;max-height:100%!important;box-sizing:border-box!important;overflow:hidden!important}
 html body#ktApp#ktApp#ktApp.kt-chat-desktop-fit #messages :is(.whatsapp-head,.web-chat-sidebar-head,.dm-conversation>header,.team-compose-shell,#dmForm,#dmReply,#dmStatus,.compact-team-label){flex:0 0 auto!important}
 html body#ktApp#ktApp#ktApp.kt-chat-desktop-fit #messages :is(#messageList,#dmMessages){flex:1 1 0!important;height:auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain}
 html body#ktApp#ktApp#ktApp.kt-chat-desktop-fit #messages :is(#webChatTeamList,#managerChatPeople){flex:1 1 0!important;min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain}
 html body#ktApp#ktApp#ktApp.kt-chat-desktop-fit #managerChatPanel>aside{display:flex!important;flex-direction:column!important}
 html body#ktApp#ktApp#ktApp.kt-chat-desktop-fit #messages .whatsapp-workspace{grid-template-columns:clamp(280px,25%,460px) minmax(0,1fr)!important}
 html body#ktApp#ktApp#ktApp.kt-chat-desktop-fit:not(.is-admin) #messages .whatsapp-workspace{grid-template-columns:minmax(0,1fr)!important}
 html body#ktApp#ktApp#ktApp.kt-chat-desktop-fit #messages .web-chat-copy{min-width:0!important}
}
@media(min-width:1025px) and (max-height:760px){
 html body#ktApp#ktApp#ktApp.kt-chat-desktop-fit #messages :is(.web-chat-sidebar-head,.whatsapp-head,.dm-conversation>header){min-height:56px!important;padding-top:6px!important;padding-bottom:6px!important}
 html body#ktApp#ktApp#ktApp.kt-chat-desktop-fit #messages :is(#teamAdminText,#teamMemberText,#dmText){height:44px!important;min-height:44px!important;font-size:16px!important}
}

html body#ktApp#ktApp#ktApp #messages :is(.web-chat-sidebar-head,.dm-sidebar-head){flex-wrap:wrap!important;height:auto!important;min-width:0!important}
html body#ktApp#ktApp#ktApp #messages :is(.web-chat-sidebar-head,.dm-sidebar-head) .kt-web-push{position:static!important;inset:auto!important;transform:none!important;max-width:100%!important;min-width:0!important;white-space:normal!important;overflow-wrap:anywhere!important;flex:0 1 100%!important;margin:0!important;box-sizing:border-box!important}

/* chat-studio.css */
/* Messaging studio: legible team identity and a quieter conversation surface. */
html body#ktApp#ktApp#ktApp #messages{--studio-ink:#17364d;--studio-muted:#607589;--studio-line:#dde7ee}
@media(min-width:1025px){
 html body#ktApp#ktApp#ktApp.kt-chat-desktop-fit #messages .whatsapp-workspace{grid-template-columns:clamp(350px,36%,600px) minmax(0,1fr)!important}
 html body#ktApp#ktApp#ktApp #messages .web-chat-sidebar-head{padding:16px 20px!important;min-height:0!important;gap:8px!important}
 html body#ktApp#ktApp#ktApp #messages .web-chat-sidebar-head h2{font-size:22px!important;margin:0!important}
 html body#ktApp#ktApp#ktApp #messages .web-chat-sidebar-head .kt-web-push{font-size:12px!important;padding:7px 10px!important;min-height:30px!important;text-align:left!important;border-radius:8px!important}
 html body#ktApp#ktApp#ktApp #messages .whatsapp-head{padding:14px 20px!important}
}
html body#ktApp#ktApp#ktApp #messages .web-chat-search{margin:12px 14px!important;border-radius:12px!important;min-height:44px!important;background:#f2f6fa!important}
html body#ktApp#ktApp#ktApp #messages .web-chat-search input{font-size:16px!important;padding:10px!important;width:100%!important;min-width:0!important}
html body#ktApp#ktApp#ktApp #messages .web-chat-item{display:grid!important;grid-template-columns:48px minmax(0,1fr)!important;column-gap:12px!important;row-gap:6px!important;align-items:start!important;padding:16px!important;margin:4px 10px!important;width:calc(100% - 20px)!important;border:1px solid transparent!important;border-radius:13px!important;min-height:108px!important;position:relative!important;text-align:left!important}
html body#ktApp#ktApp#ktApp #messages .web-chat-item.active{background:#e4f3ef!important;border-color:#a9d8cd!important;box-shadow:inset 4px 0 #08867b!important}
html body#ktApp#ktApp#ktApp #messages .web-chat-item:hover{background:#edf4f8!important}
html body#ktApp#ktApp#ktApp #messages .web-chat-avatar{width:48px!important;height:48px!important;border-radius:15px!important;font-size:16px!important;grid-column:1!important;grid-row:1/span 2!important;background:#e8f1f6!important;color:#146b70!important;flex-shrink:0!important}
html body#ktApp#ktApp#ktApp #messages .web-chat-copy{grid-column:2!important;grid-row:1!important;min-width:0!important;overflow:visible!important}
html body#ktApp#ktApp#ktApp #messages .web-chat-copy>b{display:block!important;font-size:clamp(15px,.9vw,19px)!important;line-height:1.45!important;font-weight:750!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere!important;-webkit-line-clamp:unset!important;color:var(--studio-ink)!important}
html body#ktApp#ktApp#ktApp #messages .chat-team-code{display:block!important;font-size:12px!important;line-height:1.5!important;color:var(--studio-muted)!important;margin-top:5px!important;white-space:normal!important}
html body#ktApp#ktApp#ktApp #messages .web-chat-copy>small{display:block!important;font-size:13px!important;color:#546e80!important;line-height:1.45!important;margin-top:6px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
html body#ktApp#ktApp#ktApp #messages .web-chat-side{position:static!important;grid-column:2!important;grid-row:2!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;width:auto!important;min-width:0!important}
html body#ktApp#ktApp#ktApp #messages .web-chat-meta{font-size:11px!important;color:#6d8190!important;white-space:nowrap!important}
html body#ktApp#ktApp#ktApp #messages .web-presence-dot{position:absolute!important;left:52px!important;top:52px!important}
html body#ktApp#ktApp#ktApp #messages .web-chat-item.broadcast{min-height:76px!important;padding-block:12px!important;background:#f3f8fa!important}
html body#ktApp#ktApp#ktApp #messages .web-chat-item.broadcast .web-chat-copy>b{font-size:15px!important}
html body#ktApp#ktApp#ktApp #messages :is(.message-list,#dmMessages){background:#f2f6f9!important;background-image:none!important}
html body#ktApp#ktApp#ktApp #messages #conversationTitle{font-size:clamp(16px,1vw,21px)!important;line-height:1.35!important}
html body#ktApp#ktApp#ktApp #managerChatSwitch{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:6px!important;padding:8px 12px!important}
html body#ktApp#ktApp#ktApp #managerChatSwitch .kt-sound-open{margin-left:auto!important;display:inline-flex!important;align-items:center!important;gap:8px!important;border:1px solid #cbdce5!important;background:#fff!important;color:#294c63!important;min-height:40px!important;font-size:13px!important;white-space:nowrap!important}
html body#ktApp#ktApp#ktApp .kt-sound-toolbar{display:flex;justify-content:flex-end;flex:0 0 auto;padding:8px 12px}
html body#ktApp#ktApp#ktApp .kt-sound-dialog{width:min(480px,calc(100vw - 28px));max-height:calc(100dvh - 32px);overflow:auto;box-sizing:border-box;border:1px solid #d7e3eb;border-radius:20px;padding:24px;background:#fff;color:#17364d;box-shadow:0 24px 90px #102f4e40;font:15px/1.55 system-ui}
.kt-sound-dialog::backdrop{background:#112b43a0;backdrop-filter:blur(3px)}
.kt-sound-dialog h2{font:750 23px/1.3 system-ui;margin:0 0 10px}.kt-sound-dialog p{margin:8px 0 18px;color:#5c7284}.kt-sound-dialog label{display:block;font-weight:650;margin:18px 0 8px}.kt-sound-dialog select{width:100%;font:16px system-ui;padding:12px;border:1px solid #c7d8e4;border-radius:10px;background:#f5f8fb;color:#17364d}.kt-sound-dialog input[type=range]{width:100%;accent-color:#07867b}.kt-sound-dialog .sound-actions{display:flex;gap:10px;margin-top:22px;flex-wrap:wrap}.kt-sound-dialog button{font:650 14px system-ui;border:1px solid #c7d8e4;border-radius:10px;padding:12px 16px;background:#fff;color:#17364d;cursor:pointer}.kt-sound-dialog #ktSoundPreview{background:#07867b;color:#fff;border-color:#07867b}.kt-sound-dialog .sound-note{font-size:12px;padding:12px;border-radius:10px;background:#f0f5f9}.kt-sound-dialog #ktSoundResult{min-height:24px;font-size:13px;color:#08776e}
@media(max-width:600px){html body#ktApp#ktApp#ktApp #managerChatSwitch{padding:6px!important;gap:4px!important}html body#ktApp#ktApp#ktApp #managerChatSwitch button{padding:8px!important;font-size:12px!important}html body#ktApp#ktApp#ktApp #managerChatSwitch .kt-sound-open{font-size:12px!important;margin-left:auto!important}html body#ktApp#ktApp#ktApp #messages .web-chat-item{padding:13px!important;column-gap:10px!important;grid-template-columns:44px minmax(0,1fr)!important}html body#ktApp#ktApp#ktApp #messages .web-chat-avatar{width:44px!important;height:44px!important}}
@media(prefers-color-scheme:dark){html:not([data-theme=light]) body#ktApp .kt-sound-dialog{background:#182b3d;color:#e5eff6}html:not([data-theme=light]) body#ktApp .kt-sound-dialog p{color:#b0c4d3}}
html[data-theme=dark] body#ktApp#ktApp#ktApp #messages{--studio-ink:#e4eef6;--studio-muted:#afc4d6}
html[data-theme=dark] body#ktApp#ktApp#ktApp #messages .web-chat-item.active{background:#183f42!important;border-color:#2a6665!important}
html[data-theme=dark] body#ktApp#ktApp#ktApp #messages .web-chat-item:hover{background:#20364a!important}
html[data-theme=dark] body#ktApp#ktApp#ktApp #messages :is(.web-chat-item.broadcast,.web-chat-search,.web-chat-avatar){background:#20354a!important;color:#cae2ec!important}
html[data-theme=dark] body#ktApp#ktApp#ktApp #messages .web-chat-copy>small{color:#b0c4d3!important}
html[data-theme=dark] body#ktApp#ktApp#ktApp #messages :is(.message-list,#dmMessages){background:#122537!important}
html[data-theme=dark] body#ktApp#ktApp#ktApp .kt-sound-dialog{background:#182b3d;color:#e5eff6}
html[data-theme=dark] body#ktApp .kt-sound-dialog :is(p,.sound-note){background:transparent;color:#b0c4d3}
html body#ktApp#ktApp#ktApp #messages .web-chat-side{flex-direction:row!important;text-align:left!important;align-self:start!important;justify-content:space-between!important}
html body#ktApp#ktApp#ktApp #messages .kt-web-push{display:none!important}
html body#ktApp#ktApp#ktApp .kt-sound-open{border:1px solid #cbdce5!important;border-radius:10px!important;background:#fff!important;color:#294c63!important;min-height:40px!important;padding:8px 12px!important;font-size:13px!important;cursor:pointer}
html body#ktApp#ktApp#ktApp .kt-sound-dialog .sound-system{border-top:1px solid #dbe5ed;padding-top:12px;margin-top:16px}.kt-sound-dialog .sound-system h3{font-size:14px;margin:0 0 10px}.kt-sound-dialog .sound-system .kt-web-push{position:static!important;max-width:100%;white-space:normal}
/* Compact inbox, not a stack of oversized cards. */
@media(min-width:1025px){html body#ktApp#ktApp#ktApp#ktApp.kt-chat-desktop-fit #messages .whatsapp-workspace{grid-template-columns:clamp(340px,30%,480px) minmax(0,1fr)!important}}
html body#ktApp#ktApp#ktApp#ktApp #messages .web-chat-sidebar-head{padding:14px 18px!important;background:#fff!important;border-bottom:0!important;gap:8px!important}
html body#ktApp#ktApp#ktApp#ktApp #messages .web-chat-search{margin:0 14px 12px!important;min-height:40px!important;border-radius:9px!important}
html body#ktApp#ktApp#ktApp#ktApp #messages .web-chat-item{display:grid!important;grid-template-columns:38px minmax(0,1fr) 44px!important;grid-template-rows:auto!important;gap:10px!important;margin:0!important;width:100%!important;min-height:104px!important;padding:13px 16px!important;border:0!important;border-bottom:1px solid #e9eff3!important;border-radius:0!important;background:#fff!important;box-shadow:none!important;align-items:start!important;transition:background .15s ease}
html body#ktApp#ktApp#ktApp#ktApp #messages .web-chat-item:hover{background:#f4f8fb!important}
html body#ktApp#ktApp#ktApp#ktApp #messages .web-chat-item.active{background:#eaf4f5!important;box-shadow:inset 3px 0 #078b81!important}
html body#ktApp#ktApp#ktApp#ktApp #messages .web-chat-item.has-unread{background:#f5f9fc!important}
html body#ktApp#ktApp#ktApp#ktApp #messages .web-chat-item.has-unread .web-chat-copy>b{color:#102f48!important;font-weight:800!important}
html body#ktApp#ktApp#ktApp#ktApp #messages .web-chat-avatar{grid-column:1!important;grid-row:1!important;width:38px!important;height:38px!important;border-radius:12px!important;font-size:13px!important;margin-top:2px!important;background:#edf3f7!important;color:#315d71!important}
html body#ktApp#ktApp#ktApp#ktApp #messages .web-chat-copy{grid-column:2!important;grid-row:1!important;min-width:0!important;overflow:hidden!important}
html body#ktApp#ktApp#ktApp#ktApp #messages .web-chat-copy>b{font-size:14px!important;line-height:1.4!important;font-weight:650!important;display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;overflow:hidden!important;overflow-wrap:normal!important;max-height:40px!important;white-space:normal!important;margin:0!important}
html body#ktApp#ktApp#ktApp#ktApp #messages .chat-team-code{font-size:10px!important;line-height:1.5!important;margin-top:4px!important;white-space:nowrap!important;text-overflow:ellipsis!important;overflow:hidden!important;color:#7a8d9c!important}
html body#ktApp#ktApp#ktApp#ktApp #messages .web-chat-copy>small{font-size:12px!important;line-height:1.45!important;margin-top:4px!important;color:#647c8b!important}
html body#ktApp#ktApp#ktApp#ktApp #messages .web-chat-side{grid-column:3!important;grid-row:1!important;display:flex!important;flex-direction:column!important;align-items:flex-end!important;justify-content:flex-start!important;gap:10px!important;padding-top:3px!important;min-width:0!important;width:auto!important}
html body#ktApp#ktApp#ktApp#ktApp #messages .web-chat-meta{font-size:10px!important;line-height:1.3!important;color:#8a9aa7!important;text-align:right!important;white-space:nowrap!important}
html body#ktApp#ktApp#ktApp#ktApp #messages .web-presence-dot{left:44px!important;top:43px!important;width:8px!important;height:8px!important;border:2px solid #fff!important}
html body#ktApp#ktApp#ktApp#ktApp #messages .web-chat-item.broadcast{min-height:62px!important;padding:10px 16px!important;border-top:1px solid #e6eef2!important;background:#f8fafc!important;grid-template-columns:38px minmax(0,1fr)!important}
html body#ktApp#ktApp#ktApp#ktApp #messages .web-chat-item.broadcast .web-chat-copy>b{font-size:13px!important}
html body#ktApp#ktApp#ktApp#ktApp #messages .web-chat-item.broadcast .web-chat-copy>small{font-size:11px!important;margin-top:2px!important}
html body#ktApp#ktApp#ktApp#ktApp #messages .whatsapp-head{background:#fff!important;border-bottom:1px solid #e1eaf0!important}
html body#ktApp#ktApp#ktApp#ktApp #messages #conversationTitle{font-size:16px!important;font-weight:750!important}
html body#ktApp#ktApp#ktApp#ktApp #messages .team-compose-shell{background:#fff!important;padding:12px 16px!important;border-top:1px solid #e1eaf0!important}
html body#ktApp#ktApp#ktApp#ktApp #messages .shared-compose .dm-input{border-radius:12px!important;background:#f4f7fa!important;border-color:#e2eaf0!important}
html[data-theme=dark] body#ktApp#ktApp#ktApp#ktApp #messages :is(.web-chat-sidebar-head,.web-chat-item,.whatsapp-head,.team-compose-shell){background:#182b3d!important;border-color:#273e52!important}
html[data-theme=dark] body#ktApp#ktApp#ktApp#ktApp #messages .web-chat-item.active{background:#1b4146!important}
html[data-theme=dark] body#ktApp#ktApp#ktApp#ktApp #messages .web-chat-item.has-unread{background:#21394e!important}
html[data-theme=dark] body#ktApp#ktApp#ktApp#ktApp #messages .web-chat-item.has-unread .web-chat-copy>b{color:#e8f4fa!important}
@media(min-width:2200px){html body#ktApp#ktApp#ktApp#ktApp #messages .web-chat-item{min-height:120px!important;padding:16px 20px!important;grid-template-columns:44px minmax(0,1fr) 50px!important}html body#ktApp#ktApp#ktApp#ktApp #messages .web-chat-copy>b{font-size:16px!important;max-height:46px!important}html body#ktApp#ktApp#ktApp#ktApp #messages .web-chat-copy>small{font-size:14px!important}html body#ktApp#ktApp#ktApp#ktApp #messages .web-chat-avatar{width:44px!important;height:44px!important;font-size:15px!important}}

/* design-system.css */
/* Kumluca TM design system v272: tokens and shared product components. */
:root{--ds-bg:#f3f6fa;--ds-paper:#fff;--ds-ink:#19354b;--ds-muted:#536b7d;--ds-line:#dce5ed;--ds-accent:#087f76;--ds-soft:#eaf5f2;--ds-danger:#a82c3a;--ds-warning:#815713;--ds-radius:12px;--ds-shadow:0 3px 12px #15334b08}
:root[data-theme=dark]{--ds-bg:#101d2c;--ds-paper:#172b3d;--ds-ink:#e4eef5;--ds-muted:#b0c2d2;--ds-line:#30485c;--ds-accent:#60c9bb;--ds-soft:#1e3d42;--ds-danger:#ffb4bd;--ds-warning:#f1ce91}
body.ds-product{font-family:'Segoe UI',system-ui,sans-serif;color:var(--ds-ink);background:var(--ds-bg)}
.ds-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
html body#ktApp#ktApp#ktApp#ktApp{font-size:calc(16px * var(--kt-readable-scale,1))!important;line-height:1.5!important;color:var(--ds-ink)!important;background:var(--ds-bg)!important;--kt-nav-width:240px}
html body#ktApp#ktApp#ktApp#ktApp>header{height:76px!important;min-height:76px!important;padding:12px 24px!important;gap:16px!important;box-sizing:border-box!important;background:var(--ds-paper)!important;border-bottom:1px solid var(--ds-line)!important;box-shadow:none!important;align-items:center!important}
html body#ktApp#ktApp#ktApp#ktApp>header h1{font-size:calc(21px * var(--kt-readable-scale,1))!important;line-height:1.2!important;margin:0!important;letter-spacing:-.5px}
html body#ktApp#ktApp#ktApp#ktApp>header p{font-size:calc(12px * var(--kt-readable-scale,1))!important;margin:3px 0 0!important;color:var(--ds-muted)!important}
html body#ktApp#ktApp#ktApp#ktApp>header #date{font-size:calc(12px * var(--kt-readable-scale,1))!important;background:transparent!important;padding:0!important;white-space:nowrap!important;color:var(--ds-muted)!important}
html body#ktApp#ktApp#ktApp#ktApp .ds-header-status{margin-left:auto;font-size:calc(12px * var(--kt-readable-scale,1));color:var(--ds-muted);max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body#ktApp#ktApp#ktApp#ktApp .ui-sync-toggle{display:inline-flex!important;align-items:center;gap:8px;min-height:42px!important;flex-shrink:0!important;border:1px solid var(--ds-line)!important;border-radius:9px!important;padding:9px 12px!important;background:var(--ds-paper)!important;color:var(--ds-ink)!important;font-size:calc(13px * var(--kt-readable-scale,1))!important}
html body#ktApp#ktApp#ktApp#ktApp>.cloudbar{display:none!important;position:fixed!important;top:82px!important;right:18px!important;left:auto!important;margin:0!important;width:min(370px,calc(100vw - 28px))!important;max-height:calc(100dvh - 100px)!important;overflow:auto!important;padding:18px!important;z-index:1400!important;border:1px solid var(--ds-line)!important;border-radius:14px!important;background:var(--ds-paper)!important;box-shadow:0 18px 60px #112d4530!important;box-sizing:border-box!important;flex-wrap:wrap!important;gap:12px!important}
html body#ktApp#ktApp#ktApp#ktApp.ui-sync-open>.cloudbar{display:flex!important}
html body#ktApp#ktApp#ktApp#ktApp>.cloudbar #cloudSyncStatus{flex-basis:100%;font-size:calc(13px * var(--kt-readable-scale,1))!important;color:var(--ds-muted)!important;white-space:normal!important}
html body#ktApp#ktApp#ktApp#ktApp>.cloudbar :is(button,select){font-size:calc(14px * var(--kt-readable-scale,1))!important;min-height:42px!important;border-radius:9px!important}
html body#ktApp#ktApp#ktApp#ktApp>main{padding:24px!important}
html body#ktApp#ktApp#ktApp#ktApp>nav{padding:20px 12px!important;box-sizing:border-box!important}
html body#ktApp#ktApp#ktApp#ktApp>nav button[data-view]{min-height:44px!important;padding:11px 12px!important;border-radius:9px!important;margin:3px 0!important;font-size:calc(14px * var(--kt-readable-scale,1))!important;line-height:1.3!important;width:100%!important}
html body#ktApp#ktApp#ktApp#ktApp>nav .nav-label{font-size:calc(13px * var(--kt-readable-scale,1))!important;line-height:1.35!important}
html body#ktApp#ktApp#ktApp#ktApp>nav :is(.nav-icon,.nav-icon svg){width:20px!important;height:20px!important;flex-shrink:0!important}
html body#ktApp#ktApp#ktApp#ktApp>nav .ds-nav-heading{color:#a5bacd;font:600 calc(10px * var(--kt-readable-scale,1))/1.4 system-ui;letter-spacing:1px;text-transform:uppercase;margin:20px 12px 6px}
html body#ktApp#ktApp#ktApp#ktApp>nav .pro-nav-label{display:none!important}
html body#ktApp#ktApp#ktApp#ktApp>nav .pro-nav-footer{padding-top:16px!important;margin-top:16px!important;font-size:calc(12px * var(--kt-readable-scale,1))!important}
html body#ktApp#ktApp#ktApp#ktApp .ds-icon{width:18px;height:18px;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
html body#ktApp#ktApp#ktApp#ktApp main .view:not(#messages) :is(h2,.ds-route-title){font:700 calc(24px * var(--kt-readable-scale,1))/1.25 'Segoe UI',system-ui!important;letter-spacing:-.5px;margin:0 0 10px!important;color:var(--ds-ink)!important}
html body#ktApp#ktApp#ktApp#ktApp main .view:not(#messages) h3{font:650 calc(17px * var(--kt-readable-scale,1))/1.4 'Segoe UI',system-ui!important;color:var(--ds-ink)!important}
html body#ktApp#ktApp#ktApp#ktApp main .view:not(#messages) :is(p,li){font-size:calc(14px * var(--kt-readable-scale,1))!important;line-height:1.65!important}
html body#ktApp#ktApp#ktApp#ktApp main :is(small,.muted,.pro-eyebrow,.pusula-date){font-size:calc(12px * var(--kt-readable-scale,1))!important;color:var(--ds-muted)!important}
html body#ktApp#ktApp#ktApp#ktApp main :is(.panel,.focus-box,.sim-box,.karne-compare,.lb-panel,.activity-panel){background:var(--ds-paper)!important;border:1px solid var(--ds-line)!important;border-radius:var(--ds-radius)!important;padding:20px!important;box-shadow:var(--ds-shadow)!important;margin-bottom:20px!important;min-width:0;box-sizing:border-box}
html body#ktApp#ktApp#ktApp#ktApp main :is(.focus-box,.sim-box) h3{margin-top:0!important}
html body#ktApp#ktApp#ktApp#ktApp main .view:not(#messages) button:not(.uwr-row){font:600 calc(14px * var(--kt-readable-scale,1))/1.35 'Segoe UI',system-ui!important;border-radius:8px!important;min-height:42px!important;padding:10px 14px!important;box-shadow:none!important;background:var(--ds-paper)!important;color:var(--ds-ink)!important;border:1px solid var(--ds-line)!important;cursor:pointer}
html body#ktApp#ktApp#ktApp#ktApp main .view:not(#messages) button.ui-primary{background:#087f76!important;border-color:#087f76!important;color:#fff!important}
html body#ktApp#ktApp#ktApp#ktApp main .view:not(#messages) button.ui-danger{background:var(--ds-paper)!important;color:var(--ds-danger)!important;border-color:var(--ds-line)!important}
html body#ktApp#ktApp#ktApp#ktApp main .view:not(#messages) button:hover{filter:brightness(.97)}
html body#ktApp#ktApp#ktApp#ktApp :is(button,input,select,textarea,a,summary):focus-visible{outline:3px solid #168c80!important;outline-offset:3px!important}
html body#ktApp#ktApp#ktApp#ktApp main .view:not(#messages) :is(input,select,textarea):not([type=checkbox]):not([type=radio]):not([type=hidden]){font:400 calc(15px * var(--kt-readable-scale,1))/1.4 'Segoe UI',system-ui!important;min-height:44px!important;border:1px solid var(--ds-line)!important;border-radius:8px!important;background:var(--ds-paper)!important;color:var(--ds-ink)!important;padding:10px 12px!important;max-width:100%!important;box-sizing:border-box!important}
html body#ktApp#ktApp#ktApp#ktApp main label{font-size:calc(13px * var(--kt-readable-scale,1))!important;font-weight:600!important;line-height:1.5!important}
html body#ktApp#ktApp#ktApp#ktApp [role=status]:not(:empty),html body#ktApp#ktApp#ktApp#ktApp #adminLoginMsg:not(:empty){font-size:calc(13px * var(--kt-readable-scale,1))!important;line-height:1.5!important;padding:10px 12px!important;border-radius:8px!important;background:var(--ds-soft)!important;color:var(--ds-ink)!important}
html body#ktApp#ktApp#ktApp#ktApp [data-ux-state=error]{background:#fff0f0!important;color:#9f2535!important;border-left:3px solid #b33543}
html body#ktApp#ktApp#ktApp#ktApp .ds-tabs{display:flex;gap:4px;flex-wrap:wrap;padding:4px;background:var(--ds-paper);border:1px solid var(--ds-line);border-radius:10px;margin:0 0 20px;min-width:0}
html body#ktApp#ktApp#ktApp#ktApp main .ds-tabs button{background:transparent!important;border:0!important;border-radius:7px!important;min-height:42px!important;color:var(--ds-muted)!important;flex:0 1 auto}
html body#ktApp#ktApp#ktApp#ktApp main .ds-tabs button[aria-selected=true]{background:var(--ds-soft)!important;color:var(--ds-accent)!important;box-shadow:inset 0 0 0 1px var(--ds-line)!important}
html body#ktApp#ktApp#ktApp#ktApp main .ds-pane-hidden{display:none!important}
html body#ktApp#ktApp#ktApp#ktApp #mud>.pro-page-heading,html body#ktApp#ktApp#ktApp#ktApp #mud>.ux-jumps{display:none!important}
html body#ktApp#ktApp#ktApp#ktApp #pusulaPanel .mud-focus-grid{align-items:start!important}
html body#ktApp#ktApp#ktApp#ktApp #pusulaPanel :is(.sim-needs,.sim-needs>span){background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important}
html body#ktApp#ktApp#ktApp#ktApp #pusulaPanel .sim-needs>span{padding:3px!important;border-left:1px solid var(--ds-line)!important}
html body#ktApp#ktApp#ktApp#ktApp .ds-danger-menu{margin-left:auto;position:relative}
html body#ktApp#ktApp#ktApp#ktApp .ds-danger-menu>summary{font-size:calc(13px * var(--kt-readable-scale,1));list-style:none;border:1px solid var(--ds-line);padding:10px 14px;border-radius:8px;cursor:pointer;background:var(--ds-paper);color:var(--ds-muted)}
html body#ktApp#ktApp#ktApp#ktApp .ds-danger-menu[open]>button{display:block!important;margin-top:8px!important}
html body#ktApp#ktApp#ktApp#ktApp main :is(.ds-data-table,.ds-data-table th,.ds-data-table td){font-size:calc(13px * var(--kt-readable-scale,1))!important;line-height:1.5!important;font-variant-numeric:tabular-nums}
html body#ktApp#ktApp#ktApp#ktApp main .ds-data-table th{font-size:calc(12px * var(--kt-readable-scale,1))!important;font-weight:650!important;background:var(--ds-bg)!important;color:var(--ds-muted)!important}
html body#ktApp#ktApp#ktApp#ktApp main .ds-data-table td{padding:12px 10px!important;color:var(--ds-ink)!important}
html body#ktApp#ktApp#ktApp#ktApp main .ds-data-table td.ds-number{text-align:right!important}
html body#ktApp#ktApp#ktApp#ktApp #messages :is(.web-chat-meta,.chat-team-code){font-size:calc(12px * var(--kt-readable-scale,1))!important;line-height:1.5!important;color:var(--ds-muted)!important}
html body#ktApp#ktApp#ktApp#ktApp #messages .web-chat-copy>small{font-size:calc(13px * var(--kt-readable-scale,1))!important;color:var(--ds-muted)!important}
html body#ktApp#ktApp#ktApp#ktApp #messages .web-chat-item{grid-template-columns:38px minmax(0,1fr) 70px!important;min-height:108px!important}
html body#ktApp#ktApp#ktApp#ktApp #messages :is(#teamAdminText,#teamMemberText,#dmText){height:auto!important;min-height:44px!important;max-height:132px!important;padding:10px 6px!important;font:400 calc(16px * var(--kt-readable-scale,1))/24px 'Segoe UI',system-ui!important;overflow-y:hidden!important;box-sizing:border-box!important}
html body#ktApp#ktApp#ktApp#ktApp #messages :is(#teamAdminText,#teamMemberText,#dmText):focus-visible{outline:0!important}
html body#ktApp#ktApp#ktApp#ktApp .ds-notification-toggle{display:inline-flex;align-items:center;gap:6px;min-height:42px;padding:9px 12px;border:1px solid var(--ds-line);border-radius:9px;color:var(--ds-ink);background:var(--ds-paper);cursor:pointer;font:600 13px system-ui;flex-shrink:0}
.ds-notification-badge{display:inline-grid;place-items:center;min-width:20px;height:20px;border-radius:10px;background:#a94113;color:#fff;font:700 11px system-ui;padding:0 4px}
html body#ktApp#ktApp#ktApp#ktApp .inspection-alerts{display:none!important;position:fixed!important;top:82px!important;bottom:auto!important;right:18px!important;width:min(390px,calc(100vw - 28px))!important;max-height:calc(100dvh - 100px)!important;overflow:auto!important;z-index:1500!important;background:var(--ds-paper)!important;color:var(--ds-ink)!important;border:1px solid var(--ds-line)!important;border-radius:14px!important;box-shadow:0 18px 60px #112d4530!important}
html body#ktApp#ktApp#ktApp#ktApp.ds-notifications-open .inspection-alerts{display:block!important}
.ds-notification-empty{padding:16px 0;color:var(--ds-muted);font-size:calc(14px * var(--kt-readable-scale,1))}
/* One-step sign-in uses the original inputs and authentication handler. */
html body#ktApp#ktApp#ktApp#ktApp.welcome-locked #welcomeScreen{display:grid!important;align-items:center!important;justify-items:center!important;position:fixed!important;inset:0!important;min-height:100dvh!important;overflow:auto!important;padding:24px!important;background:var(--ds-bg)!important;box-sizing:border-box!important}
html body#ktApp#ktApp#ktApp#ktApp .single-login-card{width:min(100%,460px)!important;max-width:460px!important;padding:28px!important;border-radius:18px!important;background:var(--ds-paper)!important;border:1px solid var(--ds-line)!important;box-shadow:var(--ds-shadow)!important}
html body#ktApp#ktApp#ktApp#ktApp .single-brand h1{font-size:calc(27px * var(--kt-readable-scale,1))!important;letter-spacing:-.6px!important;color:var(--ds-ink)!important}
html body#ktApp#ktApp#ktApp#ktApp .single-subtitle{font-size:calc(11px * var(--kt-readable-scale,1))!important;letter-spacing:1.5px!important;color:var(--ds-muted)!important}
html body#ktApp#ktApp#ktApp#ktApp .single-welcome-text{margin:20px 0!important}
html body#ktApp#ktApp#ktApp#ktApp .single-welcome-text h2{font-size:calc(21px * var(--kt-readable-scale,1))!important;margin:0 0 8px!important}
html body#ktApp#ktApp#ktApp#ktApp .single-welcome-text p{font-size:calc(14px * var(--kt-readable-scale,1))!important;color:var(--ds-muted)!important;line-height:1.5!important}
html body#ktApp#ktApp#ktApp#ktApp :is(.single-features,.single-quote,#welcomeLoginBtn){display:none!important}
html body#ktApp#ktApp#ktApp#ktApp.welcome-locked #adminLoginModal{display:block!important;position:static!important;inset:auto!important;padding:0!important;background:transparent!important;backdrop-filter:none!important;z-index:auto!important;overflow:visible!important}
html body#ktApp#ktApp#ktApp#ktApp #adminLoginModal .admin-dialog{width:100%!important;max-width:none!important;background:transparent!important;box-shadow:none!important;border:0!important;border-radius:0!important;margin:0!important;padding:0!important;box-sizing:border-box!important}
html body#ktApp#ktApp#ktApp#ktApp #adminLoginModal :is(h2,.pro-modal-close,.admin-dialog>p){display:none!important}
html body#ktApp#ktApp#ktApp#ktApp #adminLoginModal label{display:block!important;font-size:calc(13px * var(--kt-readable-scale,1))!important;color:var(--ds-ink)!important;text-align:left!important;margin:16px 0 6px!important}
html body#ktApp#ktApp#ktApp#ktApp #adminLoginModal input:not([type=checkbox]){width:100%!important;min-height:46px!important;box-sizing:border-box!important;font-size:calc(16px * var(--kt-readable-scale,1))!important;border:1px solid var(--ds-line)!important;border-radius:8px!important;padding:11px 12px!important;background:var(--ds-paper)!important;color:var(--ds-ink)!important}
html body#ktApp#ktApp#ktApp#ktApp #adminLoginModal #adminSubmit{width:100%!important;min-height:46px!important;background:#087f76!important;color:#fff!important;border:0!important;border-radius:8px!important;font-size:calc(15px * var(--kt-readable-scale,1))!important;font-weight:650!important;margin-top:18px!important}
html body#ktApp#ktApp#ktApp#ktApp #adminLoginModal .forgot-password-link{font-size:calc(13px * var(--kt-readable-scale,1))!important;margin-top:14px!important;background:transparent!important;color:var(--ds-accent)!important;text-align:center!important}
html body#ktApp#ktApp#ktApp#ktApp #adminLoginModal .pro-show-password{display:flex!important;gap:8px;align-items:center;font-size:calc(13px * var(--kt-readable-scale,1))!important}
html body#ktApp#ktApp#ktApp#ktApp .chooser-card{border-radius:12px!important;box-shadow:none!important;border:1px solid var(--ds-line)!important;background:var(--ds-paper)!important;color:var(--ds-ink)!important;min-height:118px!important}
html body#ktApp#ktApp#ktApp#ktApp .chooser-card .chooser-icon{background:var(--ds-soft)!important;color:var(--ds-accent)!important;border-radius:10px!important}
html body#ktApp#ktApp#ktApp#ktApp .chooser-card b{font-size:calc(18px * var(--kt-readable-scale,1))!important}.ds-recent{font:600 14px system-ui;border:1px solid var(--ds-line);border-radius:9px;background:var(--ds-paper);color:var(--ds-accent);padding:12px 16px;margin:12px 0;cursor:pointer}
/* Secondary product routes use the same forms, panels and actions. */
body.ds-product:not(#ktApp) :is(.card,.panel){background:var(--ds-paper);color:var(--ds-ink);border:1px solid var(--ds-line);border-radius:12px;box-shadow:var(--ds-shadow)}
body.ds-product:not(#ktApp) :is(input,select,textarea){font-size:calc(16px * var(--kt-readable-scale,1));min-height:44px;border-radius:8px;border:1px solid var(--ds-line);background:var(--ds-paper);color:var(--ds-ink);box-sizing:border-box}
body.ds-product:not(#ktApp) :is(button,.button){font-size:calc(14px * var(--kt-readable-scale,1));min-height:44px;border-radius:8px;box-shadow:none}
body.ds-product:not(#ktApp) :is(h1,h2,h3){color:var(--ds-ink);letter-spacing:-.4px}
body.ds-product:not(#ktApp) p,body.ds-product:not(#ktApp) .muted{color:var(--ds-muted);line-height:1.6}
body.ds-product:not(#ktApp) :is(th,td){font-size:calc(13px * var(--kt-readable-scale,1))!important;line-height:1.5!important}
body.ds-product:not(#ktApp) .ds-stepper{display:flex;gap:8px;list-style:none;padding:0;margin:22px 0;font-size:calc(12px * var(--kt-readable-scale,1))}
.ds-stepper li{flex:1;border-bottom:3px solid var(--ds-line);padding:0 0 8px;color:var(--ds-muted)}.ds-stepper li[aria-current=step]{border-color:var(--ds-accent);font-weight:700;color:var(--ds-accent)}
@media(min-width:1025px){html body#ktApp#ktApp#ktApp#ktApp>header{margin-left:240px!important}html body#ktApp#ktApp#ktApp#ktApp>main{margin-left:240px!important}html body#ktApp#ktApp#ktApp#ktApp>nav{width:240px!important;max-width:240px!important}html body#ktApp#ktApp#ktApp#ktApp:not(.welcome-locked):not(.chooser-locked)>header{display:flex!important}
 html body#ktApp#ktApp#ktApp#ktApp main .ds-data-table thead th{position:sticky!important;top:0!important;z-index:3!important}
 html body#ktApp#ktApp#ktApp#ktApp main .ds-data-table tbody td:first-child{position:sticky!important;left:0!important;z-index:2!important;background:var(--ds-paper)!important;box-shadow:1px 0 var(--ds-line)}
 html body#ktApp#ktApp#ktApp#ktApp main :is(.tablewrap,.sim-scroll,.exec-scroll,.ops-scroll,.lb-scroll,.vehicle-table-wrap,.activity-table-wrap){max-height:70dvh;overflow:auto!important}
 body.ds-product[data-mode=private]>aside{width:240px!important}body.ds-product[data-mode=private]>main{margin-left:240px!important;max-width:none!important}
 body.ds-product #grid th{position:sticky;top:0}body.ds-product #grid :is(td,th):first-child{position:sticky;left:0;z-index:2}
}
@media(max-width:1024px){html body#ktApp#ktApp#ktApp#ktApp>header{padding:10px 14px!important;height:68px!important;min-height:68px!important;gap:10px!important}html body#ktApp#ktApp#ktApp#ktApp>main{padding:16px!important}html body#ktApp#ktApp#ktApp#ktApp .ds-header-status{display:none!important}html body#ktApp#ktApp#ktApp#ktApp .ds-notification-label{display:none!important}html body#ktApp#ktApp#ktApp#ktApp .ds-notification-toggle{padding:9px!important}html body#ktApp#ktApp#ktApp#ktApp main .view:not(#messages) :is(input,select,textarea){font-size:calc(16px * var(--kt-readable-scale,1))!important}html body#ktApp#ktApp#ktApp#ktApp #messages .web-chat-meta{white-space:normal!important}.ds-tabs button{flex:1 1 auto!important}body.ds-product[data-mode=private]>main{margin-left:0!important}}
@media(max-width:600px){html body#ktApp#ktApp#ktApp#ktApp>header #date,html body#ktApp#ktApp#ktApp#ktApp>header p{display:none!important}html body#ktApp#ktApp#ktApp#ktApp>header h1{font-size:calc(19px * var(--kt-readable-scale,1))!important}html body#ktApp#ktApp#ktApp#ktApp main :is(.panel,.focus-box,.sim-box,.lb-panel){padding:16px!important}html body#ktApp#ktApp#ktApp#ktApp.welcome-locked #welcomeScreen{padding:16px!important}html body#ktApp#ktApp#ktApp#ktApp .single-login-card{padding:24px!important}html body#ktApp#ktApp#ktApp#ktApp .inspection-alerts{top:74px!important;right:14px!important}}
@media(prefers-reduced-motion:reduce){body.ds-product *,body.ds-product *::before,body.ds-product *::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

html body#ktApp#ktApp#ktApp#ktApp :is(#dsNotificationToggle,.ds-notification-badge,.ds-notification-empty,#dsRecent,.ds-nav-heading)[hidden]{display:none!important}
html body#ktApp#ktApp#ktApp#ktApp .single-brand h1{font-family:'Segoe UI',system-ui,sans-serif!important;text-shadow:none!important;font-weight:750!important}
html body#ktApp#ktApp#ktApp#ktApp #adminLoginModal input:not([type=checkbox]){font-family:'Segoe UI',system-ui,sans-serif!important;font-weight:400!important}
html body#ktApp#ktApp#ktApp#ktApp #forgotPasswordBtn{border:0!important;border-radius:8px!important;min-height:42px!important;padding:10px!important;width:100%!important;box-shadow:none!important}
html body#ktApp#ktApp#ktApp#ktApp>nav{gap:2px!important}
html body#ktApp#ktApp#ktApp#ktApp>nav button[data-view]{height:auto!important;white-space:normal!important}
html body#ktApp#ktApp#ktApp#ktApp main .view:not(#messages) .ds-tabs button{background:transparent!important;border:0!important;border-radius:7px!important;color:var(--ds-muted)!important}
html body#ktApp#ktApp#ktApp#ktApp main .view:not(#messages) .ds-tabs button[aria-selected=true]{background:var(--ds-soft)!important;color:var(--ds-accent)!important;box-shadow:inset 0 0 0 1px var(--ds-line)!important}

/* scorecard-fit.css */
/* Directorate scorecard: fit all columns to the available desktop width. */
html body#ktApp#ktApp#ktApp#ktApp#ktApp #pusulaPanel .sim-box{width:100%!important;min-width:0!important;max-width:100%!important;padding:12px!important;box-sizing:border-box!important}
html body#ktApp#ktApp#ktApp#ktApp#ktApp #pusulaPanel .sim-scroll{width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
html body#ktApp#ktApp#ktApp#ktApp#ktApp #pusulaPanel .pusula-table{width:100%!important;min-width:0!important;max-width:100%!important;table-layout:fixed!important}
html body#ktApp#ktApp#ktApp#ktApp#ktApp .scorecard-expand{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
html body#ktApp#ktApp#ktApp#ktApp#ktApp .scorecard-expand svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}
@media(min-width:801px){
 html body#ktApp#ktApp#ktApp#ktApp#ktApp #pusulaPanel .pusula-table :is(th,td){padding:10px 3px!important;font-size:clamp(12px,.7vw,16px)!important;line-height:1.4!important;min-width:0!important;box-sizing:border-box!important;overflow-wrap:anywhere!important;white-space:normal!important}
 html body#ktApp#ktApp#ktApp#ktApp#ktApp #pusulaPanel .pusula-table th:nth-child(1){width:20%!important}
 html body#ktApp#ktApp#ktApp#ktApp#ktApp #pusulaPanel .pusula-table th:nth-child(2){width:5%!important}
 html body#ktApp#ktApp#ktApp#ktApp#ktApp #pusulaPanel .pusula-table th:nth-child(n+3):nth-child(-n+6){width:6%!important}
 html body#ktApp#ktApp#ktApp#ktApp#ktApp #pusulaPanel .pusula-table th:nth-child(7){width:9%!important}
 html body#ktApp#ktApp#ktApp#ktApp#ktApp #pusulaPanel .pusula-table th:nth-child(8){width:8%!important}
 html body#ktApp#ktApp#ktApp#ktApp#ktApp #pusulaPanel .pusula-table th:nth-child(9),html body#ktApp#ktApp#ktApp#ktApp#ktApp #pusulaPanel .pusula-table th:nth-child(10){width:6%!important}
 html body#ktApp#ktApp#ktApp#ktApp#ktApp #pusulaPanel .pusula-table th:nth-child(11){width:16%!important}
 html body#ktApp#ktApp#ktApp#ktApp#ktApp #pusulaPanel .pusula-table th:nth-child(12){width:6%!important}
 html body#ktApp#ktApp#ktApp#ktApp#ktApp #pusulaPanel .sim-name{font-size:clamp(12px,.7vw,16px)!important;line-height:1.45!important;overflow-wrap:anywhere!important}
 html body#ktApp#ktApp#ktApp#ktApp#ktApp #pusulaPanel .mud-scale-cell{white-space:normal!important;font-variant-numeric:tabular-nums}
 html body#ktApp#ktApp#ktApp#ktApp#ktApp #pusulaPanel select.mud-score-select{width:100%!important;min-width:0!important;max-width:100%!important;min-height:40px!important;padding:7px 1px!important;font-size:clamp(12px,.7vw,16px)!important;box-sizing:border-box!important}
 html body#ktApp#ktApp#ktApp#ktApp#ktApp #pusulaPanel .sim-needs{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:3px!important}
 html body#ktApp#ktApp#ktApp#ktApp#ktApp #pusulaPanel .sim-needs>span{padding:2px!important;min-width:0!important}
 html body#ktApp#ktApp#ktApp#ktApp#ktApp #pusulaPanel .sim-needs :is(small,b){font-size:clamp(11px,.65vw,15px)!important;line-height:1.3!important;margin:0!important;white-space:normal!important;overflow-wrap:anywhere!important}
 html body#ktApp#ktApp#ktApp#ktApp#ktApp #pusulaPanel .sim-state{font-size:clamp(11px,.65vw,15px)!important;white-space:normal!important;padding:4px!important;overflow-wrap:anywhere!important}
}
html body#ktApp#ktApp#ktApp#ktApp#ktApp.karne-focus{overflow:hidden!important}
html body#ktApp#ktApp#ktApp#ktApp#ktApp.karne-focus #pusulaPanel .sim-box{position:fixed!important;inset:12px!important;width:auto!important;height:calc(100dvh - 24px)!important;max-width:none!important;max-height:none!important;margin:0!important;z-index:3000!important;display:flex!important;flex-direction:column!important;background:var(--ds-paper,#fff)!important;box-shadow:0 0 0 20px var(--ds-bg,#f3f6fa)!important}
html body#ktApp#ktApp#ktApp#ktApp#ktApp.karne-focus #pusulaPanel .sim-title{display:flex!important;align-items:center!important;justify-content:space-between!important;flex:0 0 auto!important;margin:0 0 10px!important;gap:8px!important}
html body#ktApp#ktApp#ktApp#ktApp#ktApp.karne-focus #pusulaPanel .sim-actions{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:6px!important}
html body#ktApp#ktApp#ktApp#ktApp#ktApp.karne-focus #pusulaPanel .sim-actions>small{display:none!important}
html body#ktApp#ktApp#ktApp#ktApp#ktApp.karne-focus #pusulaPanel .sim-scroll{flex:1 1 auto!important;min-height:0!important;max-height:none!important;overflow:auto!important;overscroll-behavior:contain}
html body#ktApp#ktApp#ktApp#ktApp#ktApp.karne-focus #pusulaPanel .table-total-bar{position:sticky!important;bottom:0!important;z-index:6!important;background:var(--ds-paper,#fff)!important}
@media(max-width:800px){
 html body#ktApp#ktApp#ktApp#ktApp#ktApp.karne-focus #pusulaPanel .sim-box{inset:6px!important;height:calc(100dvh - 12px)!important;padding:10px!important}
 html body#ktApp#ktApp#ktApp#ktApp#ktApp.karne-focus #pusulaPanel .sim-actions>small{display:none!important}
}

html body#ktApp .attendance-counts > div { flex-wrap: wrap; }
html body#ktApp .attendance-names {
  flex: 0 0 100%;
  min-width: 0;
  box-sizing: border-box;
  margin: 0;
  padding-inline-start: 1.15em;
  font-size: calc(13px * var(--kt-readable-scale, 1));
  line-height: 1.5;
  overflow-wrap: anywhere;
}
html body#ktApp .attendance-names[hidden] { display: none; }
@media (max-width: 450px) {
  html body#ktApp .attendance-names { margin-block-start: 8px; }
}
