/* ---- source style block ---- */
*{box-sizing:border-box}
body{margin:0;padding:18px;background:#0f172a;color:#e5e7eb;font-family:"Cairo",Tahoma,Arial,sans-serif;direction:rtl}
.page{width:100%;max-width:1800px;margin:auto}
.toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:14px;padding:14px;border:1px solid rgba(148,163,184,.25);border-radius:16px;background:#111827;box-shadow:0 8px 28px rgba(0,0,0,.25)}
input,select{border:1px solid #334155;color:#fff;padding:10px 12px;border-radius:10px;font-size:14px;font-family:inherit;background:#020617}

/* ===== نظام الأزرار الموحّد (مصدر واحد للأزرار والتبويبات؛ الثيمان عبر المتغيرات) =====
   رئيسي = تأكيد/إضافة | ثانوي = أدوات روتينية وإلغاء | خطر = حذف. الألوان من المتغيرات فقط. */
:root{
  --bt-r:6px;
  --bt-pri:#2563eb;--bt-pri-h:#1d4ed8;--bt-pri-fg:#fff;
  --bt-sec-bg:#172033;--bt-sec-bd:#3a4660;--bt-sec-fg:#e5e9f0;--bt-sec-h:#1f2a40;
  --bt-dng-fg:#f87171;--bt-dng-bd:#7f2d2d;--bt-dng-h:rgba(248,113,113,.10);
  --bt-tab-fg:#9aa7bd;--bt-tab-h:rgba(148,163,184,.10);--bt-tab-on:#60a5fa;
  --bt-nav-fg:rgba(255,255,255,.76);--bt-nav-h:rgba(255,255,255,.10);--bt-nav-hfg:#fff;
  --bt-nav-on-bg:rgba(255,255,255,.16);--bt-nav-on-fg:#fff;
  --bt-card-bg:#111827;
  --bt-ring:rgba(96,165,250,.6);
  --logo-filter:brightness(0) invert(1);
}
body.theme-light{
  --bt-pri:#15395f;--bt-pri-h:#0f2b4a;--bt-pri-fg:#fff;
  --bt-sec-bg:#fff;--bt-sec-bd:#c5cdd9;--bt-sec-fg:#1f2a3b;--bt-sec-h:#f3f5f8;
  --bt-dng-fg:#b42318;--bt-dng-bd:#f0b8b3;--bt-dng-h:#fdf1f0;
  --bt-tab-fg:#5b6678;--bt-tab-h:#eef2f7;--bt-tab-on:#15395f;
  --bt-nav-fg:#334155;--bt-nav-h:#e8eef5;--bt-nav-hfg:#0f172a;
  --bt-nav-on-bg:#15395f;--bt-nav-on-fg:#fff;
  --bt-card-bg:#fff;
  --bt-ring:rgba(21,57,95,.45);
  --logo-filter:none;
}
button{
  font-family:inherit;font-size:13px;font-weight:600;line-height:1.3;cursor:pointer;
  padding:9px 14px;border-radius:var(--bt-r);border:1px solid var(--bt-pri);
  background:var(--bt-pri);color:var(--bt-pri-fg);
  transition:background-color .15s ease,border-color .15s ease,color .15s ease
}
button:hover{background:var(--bt-pri-h);border-color:var(--bt-pri-h)}
button:active{transform:translateY(.5px)}
button:focus-visible{outline:2px solid var(--bt-ring);outline-offset:2px}
button:disabled{opacity:.5;cursor:not-allowed}
/* ثانوي: أدوات الأشرطة وأزرار الإلغاء */
:is(.toolbar,.other-clients-head,.bulk-actions-bar) button:not(.gold):not(.red),button.gray,button.panel-toggle{
  background:var(--bt-sec-bg);border-color:var(--bt-sec-bd);color:var(--bt-sec-fg)}
:is(.toolbar,.other-clients-head,.bulk-actions-bar) button:not(.gold):not(.red):hover,button.gray:hover,button.panel-toggle:hover{
  background:var(--bt-sec-h);border-color:var(--bt-sec-bd)}
/* خطر */
button.red,.delete-btn{background:transparent;border-color:var(--bt-dng-bd);color:var(--bt-dng-fg)}
button.red:hover,.delete-btn:hover{background:var(--bt-dng-h);border-color:var(--bt-dng-bd)}
input{min-width:210px;outline:none}
.range-hint{font-size:12px;color:#cbd5e1;background:#020617;border:1px solid #334155;border-radius:999px;padding:8px 10px}
input:focus,select:focus{border-color:#60a5fa;box-shadow:0 0 0 3px rgba(96,165,250,.18)}
.status-bar{font-weight:700;color:#86efac;margin-inline-start:auto;font-size:13px}
.analytics-dashboard{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:12px;margin:0 0 14px}
.dash-card{position:relative;overflow:hidden;border:1px solid rgba(148,163,184,.24);border-radius:18px;padding:15px 14px;background:linear-gradient(145deg,#111827,#020617);box-shadow:0 10px 28px rgba(0,0,0,.24)}
.dash-card::before{content:"";position:absolute;inset-inline-start:0;top:0;width:5px;height:100%;background:#64748b}
.total-card::before{background:#38bdf8}.interested-card::before{background:#22c55e}.not-card::before{background:#ef4444}.investment-card::before{background:#f59e0b}.budget-card::before{background:#8b5cf6}.noresponse-card::before{background:#3b82f6}.contacted-card::before{background:#14b8a6}.appointment-card::before{background:#a855f7}.visit-card::before{background:#f97316}.sold-card::before{background:#22c55e}.conversion-card::before{background:#eab308}
.dash-label{display:flex;align-items:center;gap:7px;color:#cbd5e1;font-size:13px;margin-bottom:9px;font-weight:700}
.dash-value{font-size:28px;line-height:1;color:#fff;font-weight:900;margin-bottom:8px}
.dash-percent{display:inline-block;color:#93c5fd;font-size:13px;font-weight:800;background:rgba(37,99,235,.14);border:1px solid rgba(96,165,250,.18);padding:4px 8px;border-radius:999px}
.dot{width:11px;height:11px;border-radius:999px;display:inline-block}.green-dot{background:#22c55e}.red-dot{background:#ef4444}.gold-dot{background:#f59e0b}.purple-dot{background:#8b5cf6}.blue-dot{background:#3b82f6}
.table-wrap{width:100%;overflow-x:auto;border-radius:16px;border:1px solid #334155;background:#020617}
table{width:100%;border-collapse:collapse;table-layout:fixed;background:#020617;border:1px solid #334155;font-size:13px;min-width:1280px}
thead{display:table-header-group}
th{background:#1e293b;color:#f8fafc;font-weight:700;text-align:center;border:1px solid #475569;padding:8px 5px;white-space:nowrap;
        margin-inline-end:15px;
        flex-shrink:0;position:sticky;top:0;z-index:2}
td{border:1px solid #334155;padding:7px 5px;vertical-align:middle;text-align:center;word-wrap:break-word;overflow-wrap:anywhere;background:#0f172a;color:#e5e7eb}
tr:nth-child(even) td{background:#111827}
td[contenteditable="true"]:focus{outline:2px solid #38bdf8;outline-offset:-2px;background:#082f49}
.serial-col{width:48px}
.phone{direction:ltr;unicode-bidi:plaintext}
.status-select,.category-select{width:100%;border:1px solid #334155;border-radius:8px;padding:7px 6px;background:#020617;color:#fff;font-family:inherit;font-size:12px}
.delete-btn{border:1px solid;border-radius:var(--bt-r);padding:5px 10px;font-size:11px;font-weight:600;cursor:pointer;white-space:nowrap}
.delete-col{width:68px}
tr.cat-interested td{background:rgba(34,197,94,.20)!important}
tr.cat-not_interested td{background:rgba(239,68,68,.20)!important}
tr.cat-investment td{background:rgba(245,158,11,.22)!important}
tr.cat-over_budget td{background:rgba(139,92,246,.22)!important}
tr.cat-no_response td{background:rgba(59,130,246,.22)!important}
@page{size:A4 landscape;margin:8mm}
@media print{
body{background:#fff;color:#000;padding:0;margin:0;-webkit-print-color-adjust:exact;print-color-adjust:exact}.toolbar{display:none}.analytics-dashboard{display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:5px!important;margin:0 0 6px!important;page-break-inside:avoid}.dash-card{background:#fff!important;color:#000!important;box-shadow:none!important;border:1px solid #888!important;border-radius:8px!important;padding:6px!important}.dash-label,.dash-value,.dash-percent{color:#000!important}.dash-value{font-size:15px!important}.dash-label,.dash-percent{font-size:9px!important}.table-wrap{overflow:visible;border:0;border-radius:0}table{min-width:0;width:100%!important;font-size:7.3px;background:#fff;color:#000;page-break-inside:auto}tr{page-break-inside:avoid;page-break-after:auto}thead{display:table-header-group}th{position:static;background:#e5e5e5!important;color:#000!important;border-color:#777!important}td{background:#fff!important;color:#000!important;border-color:#aaa!important}td,th{padding:3px 2px;white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important}.status-select,.category-select{border:0!important;background:transparent!important;color:#000!important;appearance:none;-webkit-appearance:none;padding:0!important;font-size:inherit!important}.delete-col{display:none!important}}
@media(max-width:950px){.analytics-dashboard{grid-template-columns:repeat(2,minmax(140px,1fr))}input,button,select{width:100%}.status-bar{margin-inline-start:0;width:100%}}

tr.cat-unknown_ad td{background:rgba(100,116,139,.22)!important}
tr.cat-closed_number td{background:rgba(244,63,94,.22)!important}
tr.cat-out_of_service td{background:rgba(249,115,22,.22)!important}


.unknown-card::before{background:#64748b}.closed-card::before{background:#f43f5e}.service-card::before{background:#f97316}.sent-card::before{background:#06b6d4}
.gray-dot{background:#64748b}.rose-dot{background:#f43f5e}.orange-dot{background:#f97316}.cyan-dot{background:#06b6d4}

tr.cat-followup td{background:rgba(6,182,212,.22)!important}

.wrong-card::before{background:#84cc16}
.lime-dot{background:#84cc16}
tr.cat-wrong_number td{background:rgba(132,204,22,.22)!important}

.report-info{display:none;text-align:center;font-size:14px;font-weight:800;margin:0 0 10px;padding:8px;border:1px solid #334155;border-radius:10px;background:#111827;color:#e5e7eb}
.report-info span{margin:0 6px}
@media print{.report-info{display:block!important;background:#fff!important;color:#000!important;border:1px solid #777!important;page-break-inside:avoid}.report-info span{color:#000!important}}


body{padding:0!important}
.ayan-system-shell{min-height:100vh;background:#0f172a}
.ayan-main-nav{
  position:sticky;top:0;z-index:10000;display:flex;align-items:center;justify-content:space-between;
  gap:14px;flex-wrap:wrap;padding:13px 18px;background:linear-gradient(135deg,#071426,#15395f);
  color:#fff;border-bottom:1px solid rgba(255,255,255,.14);box-shadow:0 10px 30px rgba(0,0,0,.28)
}
.ayan-brand{display:flex;align-items:center;gap:11px}
.ayan-logo{display:block;height:48px;width:auto;object-fit:contain;filter:var(--logo-filter)}
.ayan-brand small{display:block;color:#cbd5e1;margin-top:3px}
.ayan-tabs{display:flex;gap:8px;flex-wrap:wrap}
.ayan-tab{
  border:1px solid transparent;background:transparent;color:var(--bt-nav-fg);
  padding:10px 15px;border-radius:var(--bt-r);cursor:pointer;font-weight:600
}
.ayan-tab:hover{background:var(--bt-nav-h);color:var(--bt-nav-hfg);border-color:transparent}
.ayan-tab.active{background:var(--bt-nav-on-bg);color:var(--bt-nav-on-fg);border-color:transparent}
.ayan-view{display:none}
.ayan-view.active{display:block}
#clientsView .page{padding:18px}
#projectsView{height:calc(100vh - 71px);background:#f4f7fb}
#projectsFrame{width:100%;height:100%;border:0;background:#f4f7fb;display:block}
@media(max-width:760px){
  .ayan-main-nav{align-items:flex-start;flex-direction:column;padding:10px 12px}
  .ayan-tabs{width:100%}.ayan-tab{flex:1;font-size:12px}
  #projectsView{height:calc(100vh - 125px)}
}
@media print{
  .ayan-main-nav{display:none!important}
  #projectsView{height:auto}
}


.management-page{padding:24px;max-width:1500px;margin:auto;color:#e5e7eb}
.management-head{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap;margin-bottom:18px}
.management-head h2{margin:0 0 5px}.management-head p{margin:0;color:#94a3b8}
.management-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin-bottom:18px}
.mgmt-card{background:#111827;border:1px solid #334155;border-radius:16px;padding:16px}.mgmt-card small{color:#94a3b8}.mgmt-card strong{display:block;font-size:25px;margin-top:7px}
.management-table{overflow:auto;border:1px solid #334155;border-radius:16px}.management-table table{min-width:900px}
.score-pill{display:inline-block;padding:5px 10px;border-radius:999px;background:#1e293b;font-weight:800}
.simple-modal{display:none;position:fixed;inset:0;background:rgba(0,0,0,.6);z-index:20000;align-items:center;justify-content:center;padding:15px}.simple-modal.show{display:flex}
.simple-modal-box{width:min(560px,100%);background:#111827;border:1px solid #334155;border-radius:18px;padding:20px}.simple-modal-box h3{margin-top:0}.simple-modal-box label{display:block;margin:10px 0;color:#cbd5e1}.simple-modal-box input,.simple-modal-box select{width:100%;margin-top:5px}
.two-cols{display:grid;grid-template-columns:1fr 1fr;gap:10px}.modal-buttons{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}.metric-note{color:#94a3b8;font-size:12px}
@media(max-width:700px){.two-cols{grid-template-columns:1fr}}

.executive-report{background:#fff;color:#0f172a;border-radius:18px;padding:22px;min-height:500px}
.report-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;border-bottom:2px solid #e2e8f0;padding-bottom:14px;margin-bottom:16px}
.report-title h2{margin:0}.report-title small{color:#64748b}
.report-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:15px 0}
.report-kpi{border:1px solid #e2e8f0;border-radius:14px;padding:13px;background:#f8fafc}
.report-kpi small{color:#64748b}.report-kpi strong{display:block;font-size:22px;margin-top:5px}
.report-section{margin-top:20px}.report-section h3{margin:0 0 10px}
.report-table{width:100%;border-collapse:collapse;min-width:0!important;background:#fff!important;color:#111827}
.report-table th,.report-table td{border:1px solid #cbd5e1;padding:7px;text-align:center;background:#fff!important;color:#111827!important}
.report-table th{background:#e2e8f0!important}
.bar-row{display:grid;grid-template-columns:minmax(120px,220px) 1fr 70px;gap:10px;align-items:center;margin:7px 0}
.bar-track{height:12px;background:#e2e8f0;border-radius:999px;overflow:hidden}.bar-fill{height:100%;background:#334155;border-radius:999px}
.insights-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(310px,1fr));gap:14px}
.insight-card{background:#111827;border:1px solid #334155;border-radius:16px;padding:17px}
.insight-card h3{margin:0 0 8px}.insight-card p{color:#cbd5e1;line-height:1.7;margin:6px 0}
.insight-card .metric{font-size:25px;font-weight:900;margin:10px 0}
.insight-card .action{margin-top:12px;padding:10px;border-radius:10px;background:#0f172a;border:1px solid #334155}
.insight-card.high{border-inline-start:5px solid #ef4444}.insight-card.medium{border-inline-start:5px solid #f59e0b}.insight-card.good{border-inline-start:5px solid #22c55e}
@media print{
  body.printing-executive .ayan-main-nav,
  body.printing-executive .management-head,
  body.printing-executive .ayan-view:not(#reportsView){display:none!important}
  body.printing-executive #reportsView{display:block!important}
  body.printing-executive .management-page{padding:0!important}
  body.printing-executive .executive-report{padding:0!important}
  body.printing-executive .report-kpi{break-inside:avoid}
  body.printing-executive .report-section{break-inside:avoid-page}
}


.client-form-box{width:min(820px,96vw)!important;max-height:90vh;overflow:auto}
.client-form-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}
.client-form-head h3{margin:0 0 4px}.client-form-head small{color:#94a3b8}
.client-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.client-form-grid label{margin:0!important}
.client-form-grid input,.client-form-grid select,.client-form-grid textarea{width:100%;margin-top:6px;min-width:0}
.client-form-grid textarea{resize:vertical;background:#020617;color:#fff;border:1px solid #334155;border-radius:10px;padding:10px 12px;font-family:inherit;font-size:14px}
.client-form-full{grid-column:1/-1}.client-form-message{min-height:20px;margin-top:10px;font-size:13px;font-weight:700}
.client-import-box{width:min(900px,96vw)!important;max-height:90vh;overflow:auto}.client-import-box>input[type=file]{width:100%;margin:8px 0 4px}.client-import-preview{overflow:auto;margin-top:10px;border:1px solid #334155;border-radius:12px}.client-import-preview:empty{display:none}.client-import-preview table{min-width:700px;font-size:12px}.client-import-summary{padding:10px 12px;font-weight:800;background:#0f172a;color:#e2e8f0}.client-import-preview .metric-note{padding:8px 12px;margin:0}
@media(max-width:700px){.client-form-grid{grid-template-columns:1fr}}


/* AYAN M4.2 — global typography */
html,body,
button,input,select,textarea,table,th,td,label,
.ayan-system-shell,.ayan-system-shell *,
.m3-auth-overlay,.m3-auth-overlay *,
.m3-modal,.m3-modal *{
  font-family:"Cairo",Tahoma,Arial,sans-serif !important;
}



/* G — AYAN AI */
.g-mode-badge{
  display:inline-flex;
  align-items:center;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid #334155;
  background:#0f172a;
  color:#94a3b8;
  font-size:11px;
  font-weight:800;
}


.g-head-tools{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

.g-new-chat-btn{
  border:1px solid #334155;
  background:#0f172a;
  color:#fff;
  padding:8px 13px;
  border-radius:10px;
  cursor:pointer;
  font-family:inherit;
  font-size:13px;
  font-weight:700;
  transition:.18s ease;
}

.g-new-chat-btn:hover{
  transform:translateY(-1px);
  background:#1e293b;
}

body.theme-light .g-new-chat-btn{
  background:#fff !important;
  color:#0f172a !important;
  border-color:#cbd5e1 !important;
  opacity:1 !important;
}

body.theme-light .g-new-chat-btn:hover{
  background:#f1f5f9 !important;
  color:#0f172a !important;
}

body.theme-light .g-new-chat-btn:focus,
body.theme-light .g-new-chat-btn:active{
  color:#0f172a !important;
}

.g-chat-shell{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.g-chat-messages{
  min-height:420px;
  max-height:560px;
  overflow:auto;
  padding:18px;
  background:#0b1220;
  border:1px solid #334155;
  border-radius:16px;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.g-msg{
  display:flex;
  gap:10px;
  align-items:flex-start;
}

.g-msg.user{
  flex-direction:row-reverse;
}

.g-avatar{
  width:44px;
  height:44px;
  border-radius:50%;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  flex:0 0 44px;
}

.g-avatar-ai{
  background:#0f172a;
  border:2px solid #2563eb;
  box-shadow:0 0 0 2px rgba(37,99,235,.14);
}

.g-avatar-ai img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.g-avatar-user{
  background:#166534;
  color:#fff;
  font-size:11px;
}

.g-msg.user .g-avatar{
  background:#166534;
}

.g-bubble{
  max-width:min(78%,760px);
  padding:11px 13px;
  border-radius:14px;
  background:#1e293b;
  border:1px solid #334155;
  line-height:1.7;
  white-space:pre-wrap;
  word-break:break-word;
}

.g-msg.user .g-bubble{
  background:#14532d;
  border-color:#166534;
}


.g-result-cards{
  display:grid;
  gap:10px;
  margin-top:10px;
}

.g-result-card{
  background:#111827;
  border:1px solid #334155;
  border-radius:12px;
  padding:12px;
}

.g-result-card-title{
  font-weight:900;
  font-size:14px;
  padding-bottom:8px;
  margin-bottom:8px;
  border-bottom:1px solid #334155;
}

.g-result-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px 12px;
}

.g-result-field{
  min-width:0;
}

.g-result-field small{
  display:block;
  color:#94a3b8;
  font-size:11px;
  margin-bottom:2px;
}

.g-result-field strong{
  display:block;
  font-size:13px;
  color:#f8fafc;
  overflow-wrap:anywhere;
}

body.theme-light .g-result-card{
  background:#f8fafc;
  border-color:#cbd5e1;
}

body.theme-light .g-result-card-title{
  border-color:#cbd5e1;
}

body.theme-light .g-result-field small{
  color:#64748b;
}

body.theme-light .g-result-field strong{
  color:#0f172a;
}

@media(max-width:650px){
  .g-result-grid{
    grid-template-columns:1fr;
  }
}

.g-data{
  margin-top:9px;
  padding:9px;
  border-radius:10px;
  background:#020617;
  overflow:auto;
  font-size:12px;
}

.g-quick-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.g-quick-actions button{
  border:1px solid #334155;
  background:#111827;
  color:#cbd5e1;
  padding:8px 11px;
  border-radius:999px;
  cursor:pointer;
}

.g-composer{
  display:grid;
  grid-template-columns:1fr auto;
  gap:10px;
}


.g-composer-actions{
  display:flex;
  align-items:stretch;
  gap:8px;
}

.g-voice-btn{
  min-width:48px;
  width:48px;
  border:1px solid #334155;
  background:#111827;
  color:#fff;
  border-radius:12px;
  cursor:pointer;
  font-size:20px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.g-voice-btn:hover{
  background:#1e293b;
}

.g-voice-btn.listening{
  background:#7f1d1d;
  border-color:#ef4444;
  animation:gVoicePulse 1s infinite;
}

@keyframes gVoicePulse{
  0%,100%{transform:scale(1)}
  50%{transform:scale(1.05)}
}

body.theme-light .g-voice-btn{
  background:#fff !important;
  color:#0f172a !important;
  border-color:#cbd5e1 !important;
}

body.theme-light .g-voice-btn:hover{
  background:#f1f5f9 !important;
}

.g-composer textarea{
  resize:vertical;
  min-height:72px;
  background:#020617;
  color:#fff;
  border:1px solid #334155;
  border-radius:12px;
  padding:11px 12px;
  font-family:inherit;
}

.g-composer button{
  min-width:110px;
}

body.theme-light .g-chat-messages,
body.theme-light .g-bubble{
  background:#fff;
  color:#0f172a;
}

body.theme-light .g-data{
  background:#f8fafc;
  color:#0f172a;
}

@media(max-width:700px){
  .g-composer{
    grid-template-columns:1fr;
  }
}


/* =========================================================
   AYAN OPERATIONS UI V4
   Unified tables + complete dark mode
   ========================================================= */

#operationsView{
  --ops-table-bg:var(--ops-surface);
  --ops-table-head:var(--ops-surface-2);
  --ops-table-text:var(--ops-text);
  --ops-row-hover:var(--ops-surface-2);
}

/* ---------- MODULE SPACING ---------- */

#operationsView .ops-section{
  width:100%;
}

#operationsView .ops-module-head{
  margin-bottom:16px !important;
}

#operationsView .ops-data-card{
  width:100%;
  background:var(--ops-surface) !important;
  border:1px solid var(--ops-border) !important;
  border-radius:16px !important;
  overflow:hidden !important;
  box-sizing:border-box;
}

/* ---------- ALL TABLES ---------- */

#operationsView .ops-table-wrap{
  width:100%;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}

#operationsView .ops-table{
  width:100%;
  min-width:900px;
  border-collapse:collapse;
  background:var(--ops-table-bg) !important;
  color:var(--ops-table-text) !important;
}

#operationsView .ops-table thead,
#operationsView .ops-table thead tr{
  background:var(--ops-table-head) !important;
}

#operationsView .ops-table th{
  background:var(--ops-table-head) !important;
  color:var(--ops-text) !important;
  font-weight:800 !important;
  text-align:right !important;
  padding:14px 16px !important;
  border-bottom:1px solid var(--ops-border) !important;
  white-space:nowrap;
}

#operationsView .ops-table td{
  background:var(--ops-surface) !important;
  color:var(--ops-text) !important;
  padding:14px 16px !important;
  border-bottom:1px solid var(--ops-border) !important;
  vertical-align:middle !important;
}

#operationsView .ops-table tbody tr:last-child td{
  border-bottom:0 !important;
}

#operationsView .ops-table tbody tr:hover td{
  background:var(--ops-row-hover) !important;
}

/* Never allow inherited white/transparent text */

#operationsView .ops-table td strong,
#operationsView .ops-table td span:not(.ops-status),
#operationsView .ops-table td div:not(.ops-status),
#operationsView .ops-table td{
  color:var(--ops-text);
}

#operationsView .ops-muted,
#operationsView .ops-subtitle{
  color:var(--ops-muted) !important;
}

/* ---------- EMPTY STATES ---------- */

#operationsView .ops-table td[colspan]{
  text-align:center !important;
  padding:34px 20px !important;
  color:var(--ops-muted) !important;
}

/* ---------- STATUS ---------- */

#operationsView .ops-status{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  min-height:30px;
  padding:5px 10px !important;
  border-radius:999px !important;
  background:var(--ops-surface-2) !important;
  color:var(--ops-text) !important;
  border:1px solid var(--ops-border) !important;
  font-weight:800;
  white-space:nowrap;
}

/* ---------- ACTION COLUMN ---------- */

#operationsView .ops-actions-cell{
  min-width:210px;
  white-space:nowrap;
}

#operationsView .ops-actions-cell > div{
  display:flex;
  align-items:center;
  gap:6px;
  flex-wrap:wrap;
}

#operationsView .ops-action-btn{
  min-height:34px !important;
  padding:6px 10px !important;
  border-radius:8px !important;
  border:1px solid var(--ops-border) !important;
  background:var(--ops-surface-2) !important;
  color:var(--ops-text) !important;
  font-weight:700 !important;
  cursor:pointer;
}

#operationsView .ops-action-btn:hover{
  filter:brightness(.97);
}

#operationsView .ops-action-btn.status{
  background:rgba(37,99,235,.10) !important;
  border-color:rgba(37,99,235,.25) !important;
  color:#2563eb !important;
}

#operationsView .ops-action-btn.danger{
  background:rgba(185,28,28,.08) !important;
  border-color:rgba(185,28,28,.20) !important;
  color:#b91c1c !important;
}

#operationsView[data-theme="dark"] .ops-action-btn.status{
  color:#93c5fd !important;
}

#operationsView[data-theme="dark"] .ops-action-btn.danger{
  color:#fca5a5 !important;
}

/* ---------- FIX LEGACY TASKS SECTION ---------- */

/*
   Tasks V1 still contains inline light-mode styles.
   Override them so Tasks behaves like every other module.
*/

#operationsView #ops-tasks > div:first-child{
  background:var(--ops-surface) !important;
  border:1px solid var(--ops-border) !important;
  border-radius:18px !important;
  padding:16px 18px !important;
  margin-bottom:16px !important;
  box-shadow:var(--ops-shadow) !important;
}

#operationsView #ops-tasks > div:first-child h2{
  color:var(--ops-text) !important;
}

#operationsView #ops-tasks > div:first-child div div{
  color:var(--ops-muted) !important;
}

#operationsView #ops-tasks > div:nth-child(2){
  background:var(--ops-surface) !important;
  border:1px solid var(--ops-border) !important;
  border-radius:16px !important;
  overflow:hidden !important;
}

#operationsView #ops-tasks > div:nth-child(2) > div{
  overflow-x:auto !important;
}

#operationsView #ops-tasks table{
  width:100% !important;
  min-width:900px !important;
  background:var(--ops-surface) !important;
  color:var(--ops-text) !important;
  border-collapse:collapse !important;
}

#operationsView #ops-tasks thead,
#operationsView #ops-tasks thead tr{
  background:var(--ops-surface-2) !important;
}

#operationsView #ops-tasks th{
  background:var(--ops-surface-2) !important;
  color:var(--ops-text) !important;
  border-bottom:1px solid var(--ops-border) !important;
  padding:14px 16px !important;
}

#operationsView #ops-tasks td{
  background:var(--ops-surface) !important;
  color:var(--ops-text) !important;
  border-bottom:1px solid var(--ops-border) !important;
  padding:14px 16px !important;
}

#operationsView #ops-tasks tbody tr:hover td{
  background:var(--ops-surface-2) !important;
}

#operationsView #ops-tasks td strong,
#operationsView #ops-tasks td div,
#operationsView #ops-tasks td span{
  color:inherit;
}

/* ---------- DARK MODE AUDIT ---------- */

#operationsView[data-theme="dark"]{
  color:var(--ops-text) !important;
}

#operationsView[data-theme="dark"] .ops-content,
#operationsView[data-theme="dark"] .ops-section{
  color:var(--ops-text) !important;
}

#operationsView[data-theme="dark"] p,
#operationsView[data-theme="dark"] label,
#operationsView[data-theme="dark"] th,
#operationsView[data-theme="dark"] td{
  color:var(--ops-text);
}

#operationsView[data-theme="dark"] .ops-empty{
  background:var(--ops-surface) !important;
  color:var(--ops-muted) !important;
  border-color:var(--ops-border) !important;
}

#operationsView[data-theme="dark"] .ops-empty strong{
  color:var(--ops-text) !important;
}

/* ---------- MODALS DARK MODE ---------- */

#operationsView[data-theme="dark"] ~ .ops-modal-backdrop .ops-modal-box{
  background:#111827 !important;
  color:#f8fafc !important;
  border-color:#334155 !important;
}

#operationsView[data-theme="dark"] ~ .ops-modal-backdrop .ops-modal-head{
  background:#111827 !important;
  border-color:#334155 !important;
}

#operationsView[data-theme="dark"] ~ .ops-modal-backdrop .ops-modal-head h3,
#operationsView[data-theme="dark"] ~ .ops-modal-backdrop label,
#operationsView[data-theme="dark"] ~ .ops-modal-backdrop .ops-field-title{
  color:#f8fafc !important;
}

#operationsView[data-theme="dark"] ~ .ops-modal-backdrop input,
#operationsView[data-theme="dark"] ~ .ops-modal-backdrop textarea,
#operationsView[data-theme="dark"] ~ .ops-modal-backdrop select{
  background:#0f172a !important;
  color:#f8fafc !important;
  border-color:#475569 !important;
}

#operationsView[data-theme="dark"] ~ .ops-modal-backdrop option{
  background:#0f172a;
  color:#f8fafc;
}

/* ---------- MOBILE ---------- */

@media(max-width:900px){

  #operationsView .ops-data-card,
  #operationsView #ops-tasks > div:nth-child(2){
    border-radius:14px !important;
  }

  #operationsView .ops-table,
  #operationsView #ops-tasks table{
    min-width:780px !important;
  }

  #operationsView .ops-table th,
  #operationsView .ops-table td,
  #operationsView #ops-tasks th,
  #operationsView #ops-tasks td{
    padding:12px !important;
  }
}

@media(max-width:520px){

  #operationsView .ops-content{
    padding:10px !important;
  }

  #operationsView .ops-module-head,
  #operationsView #ops-tasks > div:first-child{
    padding:14px !important;
    border-radius:14px !important;
  }

  #operationsView .ops-table,
  #operationsView #ops-tasks table{
    min-width:720px !important;
  }

  #operationsView .ops-actions-cell{
    min-width:190px;
  }

  #operationsView .ops-action-btn{
    min-height:38px !important;
  }
}

/* ---- source style block #ayan-social-print-clean-v1 ---- */
@media print{

  body.printing-social-clients #socialClientsSubView > div:first-child,
  body.printing-social-clients #socialClientsSubView .toolbar,
  body.printing-social-clients #socialClientsSubView .bulk-actions-bar,
  body.printing-social-clients #socialClientsSubView .analytics-dashboard,
  body.printing-social-clients #socialClientsSubView #reportInfo,
  body.printing-social-clients #socialClientsPaginationTop,
  body.printing-social-clients #socialClientsPagination{
    display:none !important;
  }

  body.printing-social-clients #socialClientsSubView{
    padding:0 !important;
    margin:0 !important;
  }

  body.printing-social-clients #socialClientsSubView .table-wrap{
    margin:0 !important;
    padding:0 !important;
    width:100% !important;
  }

  body.printing-social-clients #clientsTable{
    margin-top:0 !important;
    width:100% !important;
  }
}

/* ---- source style block #wa-media-styles ---- */
.wa-media-wrap{
  display:flex;
  flex-direction:column;
  gap:8px;
  max-width:100%;
}

.wa-media-image{
  display:block;
  width:min(360px,100%);
  max-height:420px;
  object-fit:contain;
  border-radius:10px;
}

.wa-media-video{
  display:block;
  width:min(480px,100%);
  max-width:100%;
  max-height:520px;
  height:auto;
  object-fit:contain;
  background:#000;
  border-radius:10px;
}

.wa-media-sticker{
  display:block;
  width:min(180px,55vw);
  max-height:220px;
  object-fit:contain;
}

.wa-media-audio{
  width:min(360px,100%);
  max-width:100%;
}

.wa-media-document{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:9px 12px;
  border-radius:8px;
  background:rgba(255,255,255,.08);
  color:inherit;
  text-decoration:none;
  font-weight:600;
  word-break:break-word;
}

.wa-media-document:hover{
  text-decoration:underline;
}

.wa-media-caption{
  white-space:pre-wrap;
  word-break:break-word;
  line-height:1.6;
}

.wa-bubble img,
.wa-bubble video,
.wa-bubble audio{
  max-width:100%;
}

/* ---- source style block ---- */
@page{
  size:A4 portrait;
  margin:10mm 9mm 11mm 9mm;
}
@media print{
  body.printing-executive{
    background:#fff!important;color:#000!important;margin:0!important;padding:0!important;
    -webkit-print-color-adjust:exact;print-color-adjust:exact;
  }
  body.printing-executive .ayan-main-nav,
  body.printing-executive .management-head,
  body.printing-executive .ayan-view:not(#reportsView){display:none!important}
  body.printing-executive #reportsView{
    display:block!important;width:100%!important;margin:0!important;padding:0!important;background:#fff!important
  }
  body.printing-executive #reportsView .management-page{
    width:100%!important;max-width:none!important;margin:0!important;padding:0!important
  }
  body.printing-executive .executive-report{
    width:100%!important;max-width:none!important;min-height:0!important;margin:0!important;padding:0!important;
    border-radius:0!important;background:#fff!important;color:#000!important;box-shadow:none!important
  }
  body.printing-executive .report-title{
    margin:0 0 5mm!important;padding:0 0 3mm!important;border-bottom:1.5px solid #555!important;
    page-break-inside:avoid!important;break-inside:avoid!important
  }
  body.printing-executive .report-title h2{font-size:18px!important;color:#000!important;margin:0 0 2mm!important}
  body.printing-executive .report-title small{color:#333!important;font-size:9px!important}
  body.printing-executive .report-kpis{
    display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:2.5mm!important;
    margin:0 0 5mm!important;page-break-inside:avoid!important;break-inside:avoid!important
  }
  body.printing-executive .report-kpi{
    min-width:0!important;padding:3mm 2mm!important;border:1px solid #999!important;border-radius:3mm!important;
    background:#fff!important;color:#000!important;box-shadow:none!important
  }
  body.printing-executive .report-kpi small{display:block!important;color:#333!important;font-size:8px!important;line-height:1.25!important}
  body.printing-executive .report-kpi strong{
    display:block!important;color:#000!important;font-size:13px!important;line-height:1.2!important;
    margin-top:1.5mm!important;overflow-wrap:anywhere!important
  }
  body.printing-executive .report-section{
    margin:0 0 6mm!important;padding:0!important;page-break-inside:auto!important;break-inside:auto!important
  }
  body.printing-executive .report-section h3{
    font-size:12px!important;margin:0 0 2.5mm!important;padding:0 0 1.5mm!important;border-bottom:1px solid #aaa!important;
    color:#000!important;page-break-after:avoid!important;break-after:avoid!important
  }
  body.printing-executive .bar-row{
    grid-template-columns:42mm 1fr 26mm!important;gap:2mm!important;margin:1.5mm 0!important;font-size:8.5px!important;
    page-break-inside:avoid!important;break-inside:avoid!important
  }
  body.printing-executive .bar-track{height:3mm!important;background:#ddd!important}
  body.printing-executive .bar-fill{background:#555!important}
  body.printing-executive .report-table{
    width:100%!important;max-width:100%!important;min-width:0!important;table-layout:fixed!important;
    border-collapse:collapse!important;background:#fff!important;color:#000!important;font-size:7.3px!important;
    page-break-inside:auto!important
  }
  body.printing-executive .report-table thead{display:table-header-group!important}
  body.printing-executive .report-table tfoot{display:table-footer-group!important}
  body.printing-executive .report-table tr{page-break-inside:avoid!important;break-inside:avoid!important}
  body.printing-executive .report-table th,
  body.printing-executive .report-table td{
    border:1px solid #999!important;padding:1.8mm 1mm!important;white-space:normal!important;word-break:break-word!important;
    overflow-wrap:anywhere!important;vertical-align:middle!important;text-align:center!important;background:#fff!important;
    color:#000!important;line-height:1.25!important
  }
  body.printing-executive .report-table th{background:#e9e9e9!important;font-weight:700!important;font-size:7.5px!important}
  body.printing-executive button,
  body.printing-executive input,
  body.printing-executive select{display:none!important}
}

/* ---- source style block ---- */
/* ===== Remove colored/blue artifacts from Executive Report printing ===== */
@media print{
  body.printing-executive,
  body.printing-executive #reportsView,
  body.printing-executive #reportsView *,
  body.printing-executive .management-page,
  body.printing-executive .executive-report,
  body.printing-executive .report-section{
    box-shadow:none!important;
    text-shadow:none!important;
    outline:none!important;
  }

  body.printing-executive,
  body.printing-executive #reportsView,
  body.printing-executive .management-page,
  body.printing-executive .executive-report{
    background:#fff!important;
    background-image:none!important;
  }

  /* Empty cells/areas must remain pure white */
  body.printing-executive .report-table td:empty,
  body.printing-executive .report-table th:empty{
    background:#fff!important;
    background-image:none!important;
  }

  /* Prevent browser focus/selection marks from appearing in print */
  body.printing-executive *{
    caret-color:transparent!important;
    -webkit-tap-highlight-color:transparent!important;
  }

  body.printing-executive *::selection{
    background:transparent!important;
    color:inherit!important;
  }

  body.printing-executive a,
  body.printing-executive a:visited{
    color:#000!important;
    text-decoration:none!important;
  }

  body.printing-executive a[href]::after{
    content:none!important;
  }
}

/* ---- source style block ---- */
/* ===== FINAL EXECUTIVE REPORT PRINT OVERRIDE ===== */
@media print{
  body.printing-executive,
  body.printing-executive #reportsView,
  body.printing-executive #reportsView .management-page,
  body.printing-executive #reportsView .executive-report,
  body.printing-executive #reportsView .report-section{
    background:#fff!important;
    background-color:#fff!important;
    background-image:none!important;
    box-shadow:none!important;
    text-shadow:none!important;
    outline:none!important;
  }

  /* Kill all decorative pseudo-elements that may print as blue blocks/marks */
  body.printing-executive #reportsView *::before,
  body.printing-executive #reportsView *::after{
    box-shadow:none!important;
    text-shadow:none!important;
    outline:none!important;
    filter:none!important;
  }

  /* No colored decorative strips/cards from screen styles */
  body.printing-executive #reportsView .dash-card::before,
  body.printing-executive #reportsView .mgmt-card::before,
  body.printing-executive #reportsView .report-kpi::before,
  body.printing-executive #reportsView .report-kpi::after{
    content:none!important;
    display:none!important;
  }

  body.printing-executive #reportsView .report-kpi{
    background:#fff!important;
    background-image:none!important;
    border:1px solid #999!important;
  }

  body.printing-executive #reportsView .report-table,
  body.printing-executive #reportsView .report-table tbody,
  body.printing-executive #reportsView .report-table tr,
  body.printing-executive #reportsView .report-table td{
    background:#fff!important;
    background-image:none!important;
  }

  body.printing-executive #reportsView .report-table th{
    background:#e9e9e9!important;
    background-image:none!important;
    color:#000!important;
  }

  body.printing-executive #reportsView .report-table td:empty,
  body.printing-executive #reportsView .report-table th:empty,
  body.printing-executive #reportsView .report-section:empty,
  body.printing-executive #reportsView div:empty{
    background:#fff!important;
    background-image:none!important;
  }

  /* Charts print in neutral gray only */
  body.printing-executive #reportsView .bar-track{
    background:#e5e5e5!important;
    background-image:none!important;
  }

  body.printing-executive #reportsView .bar-fill{
    background:#555!important;
    background-image:none!important;
    box-shadow:none!important;
  }

  /* Remove focus, selection and browser UI artifacts */
  body.printing-executive #reportsView *{
    caret-color:transparent!important;
    -webkit-tap-highlight-color:transparent!important;
  }

  body.printing-executive #reportsView *:focus,
  body.printing-executive #reportsView *:focus-visible{
    outline:none!important;
    box-shadow:none!important;
  }

  body.printing-executive #reportsView *::selection{
    background:transparent!important;
    color:inherit!important;
  }

  body.printing-executive #reportsView a,
  body.printing-executive #reportsView a:visited{
    color:#000!important;
    background:transparent!important;
    text-decoration:none!important;
  }

  body.printing-executive #reportsView a[href]::after{
    content:none!important;
  }
}

/* ---- source style block ---- */
/* ===== FIX NAVY EMPTY AREA IN EXECUTIVE REPORT PRINT ===== */
@media print{
  html,
  body.printing-executive,
  body.printing-executive .ayan-system-shell,
  body.printing-executive #reportsView,
  body.printing-executive #reportsView .management-page,
  body.printing-executive #reportsView .executive-report{
    background:#fff!important;
    background-color:#fff!important;
    background-image:none!important;
  }

  body.printing-executive .ayan-system-shell{
    min-height:0!important;
    height:auto!important;
  }

  body.printing-executive #reportsView,
  body.printing-executive #reportsView .management-page,
  body.printing-executive #reportsView .executive-report{
    min-height:0!important;
    height:auto!important;
  }

  body.printing-executive{
    min-height:0!important;
    height:auto!important;
  }
}

/* ---- source style block ---- */
.campaign-spend-hint{display:block;color:#94a3b8;font-size:11px;line-height:1.5;margin-top:5px}
.campaign-spend-edit{display:flex;align-items:center;justify-content:center;gap:6px;min-width:170px}
.campaign-spend-edit input{width:105px!important;min-width:0!important;padding:7px 8px!important;text-align:center}
.campaign-spend-edit button{padding:7px 9px!important;font-size:11px!important}
.campaign-actions{display:flex;justify-content:center;gap:6px;flex-wrap:wrap}

/* ---- source style block ---- */
.campaign-spend-edit{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:120px!important;
}
.campaign-spend-edit input{
  width:112px!important;
  min-width:0!important;
  padding:8px 10px!important;
  text-align:center!important;
  border-radius:9px!important;
}

/* ---- source style block ---- */
/* ===== FINAL A4 EXECUTIVE REPORT PRINT LAYOUT ===== */
@page{
  size:A4 portrait;
  margin:9mm 8mm 10mm 8mm;
}
@media print{
  html,
  body.printing-executive,
  body.printing-executive .ayan-system-shell,
  body.printing-executive #reportsView,
  body.printing-executive #reportsView .management-page,
  body.printing-executive #reportsView .executive-report{
    width:100%!important;
    max-width:none!important;
    min-height:0!important;
    height:auto!important;
    margin:0!important;
    background:#fff!important;
    background-color:#fff!important;
    background-image:none!important;
    box-shadow:none!important;
    outline:none!important;
  }

  body.printing-executive{
    padding:0!important;
    color:#000!important;
    -webkit-print-color-adjust:exact;
    print-color-adjust:exact;
  }

  body.printing-executive .ayan-system-shell{
    min-height:0!important;
    height:auto!important;
    padding:0!important;
  }

  body.printing-executive .ayan-main-nav,
  body.printing-executive .management-head,
  body.printing-executive .ayan-view:not(#reportsView),
  body.printing-executive #reportsView > :not(.management-page){
    display:none!important;
  }

  body.printing-executive #reportsView{
    display:block!important;
    padding:0!important;
  }

  body.printing-executive #reportsView .management-page{
    padding:0!important;
  }

  body.printing-executive #reportsView .executive-report{
    padding:0!important;
    border:0!important;
    border-radius:0!important;
  }

  /* Remove screen decorations / colored blocks */
  body.printing-executive #reportsView *{
    box-shadow:none!important;
    text-shadow:none!important;
    caret-color:transparent!important;
    -webkit-tap-highlight-color:transparent!important;
  }
  body.printing-executive #reportsView .dash-card::before,
  body.printing-executive #reportsView .dash-card::after,
  body.printing-executive #reportsView .mgmt-card::before,
  body.printing-executive #reportsView .mgmt-card::after,
  body.printing-executive #reportsView .report-kpi::before,
  body.printing-executive #reportsView .report-kpi::after{
    content:none!important;
    display:none!important;
  }

  body.printing-executive .report-title{
    margin:0 0 4mm!important;
    padding:0 0 2.5mm!important;
    border-bottom:1px solid #777!important;
    break-inside:avoid!important;
  }
  body.printing-executive .report-title h2{
    margin:0 0 1mm!important;
    font-size:17px!important;
    color:#000!important;
  }
  body.printing-executive .report-title small{
    font-size:8.5px!important;
    color:#444!important;
  }

  body.printing-executive .report-kpis{
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:2mm!important;
    margin:0 0 4mm!important;
    break-inside:avoid!important;
  }
  body.printing-executive .report-kpi{
    min-width:0!important;
    padding:2.5mm 1.5mm!important;
    background:#fff!important;
    background-image:none!important;
    border:1px solid #aaa!important;
    border-radius:2mm!important;
    color:#000!important;
  }
  body.printing-executive .report-kpi small{font-size:7.5px!important;color:#444!important}
  body.printing-executive .report-kpi strong{
    font-size:11.5px!important;color:#000!important;overflow-wrap:anywhere!important
  }

  body.printing-executive .report-section{
    margin:0 0 4mm!important;
    padding:0!important;
    background:#fff!important;
    background-image:none!important;
    break-inside:auto!important;
  }
  body.printing-executive .report-section h3{
    margin:0 0 2mm!important;
    padding:0 0 1mm!important;
    font-size:11px!important;
    color:#000!important;
    border-bottom:1px solid #bbb!important;
    break-after:avoid!important;
  }

  body.printing-executive .report-table{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    table-layout:fixed!important;
    border-collapse:collapse!important;
    font-size:7px!important;
    background:#fff!important;
    color:#000!important;
  }
  body.printing-executive .report-table thead{display:table-header-group!important}
  body.printing-executive .report-table tr{
    break-inside:avoid!important;
    page-break-inside:avoid!important;
  }
  body.printing-executive .report-table th,
  body.printing-executive .report-table td{
    padding:1.5mm .8mm!important;
    border:1px solid #aaa!important;
    white-space:normal!important;
    word-break:break-word!important;
    overflow-wrap:anywhere!important;
    line-height:1.2!important;
    text-align:center!important;
    vertical-align:middle!important;
    color:#000!important;
    background:#fff!important;
    background-image:none!important;
  }
  body.printing-executive .report-table th{
    background:#eee!important;
    font-weight:700!important;
  }
  body.printing-executive .report-table td:empty{
    background:#fff!important;
  }

  body.printing-executive .bar-row{
    grid-template-columns:38mm 1fr 25mm!important;
    gap:2mm!important;
    margin:1mm 0!important;
    font-size:8px!important;
    break-inside:avoid!important;
  }
  body.printing-executive .bar-track{height:2.5mm!important;background:#e6e6e6!important}
  body.printing-executive .bar-fill{background:#666!important;box-shadow:none!important}

  body.printing-executive button,
  body.printing-executive input,
  body.printing-executive select{
    display:none!important;
  }

  body.printing-executive a,
  body.printing-executive a:visited{
    color:#000!important;
    text-decoration:none!important;
  }
  body.printing-executive a[href]::after{content:none!important}
}
