/* Compact RTL analytics, scoped to the protected campaign report. */
.report{overflow:visible;min-width:0}.report h1{font-size:28px;margin-bottom:10px}.campaign-dashboard{min-width:0;--line:#dce5dc;--muted:#607168}.campaign-dashboard label{display:grid;gap:7px;font-size:12px;font-weight:600;min-width:0}.campaign-dashboard input,.campaign-dashboard select{display:block;width:100%;min-width:0;min-height:43px;padding:9px 11px;border:1px solid #cbd7cd;border-radius:8px;background:#fff;color:#253a32;font:inherit}.campaign-dashboard input[type=date],.campaign-dashboard input[type=number]{direction:ltr}.campaign-dashboard button{width:auto;min-height:43px;padding:10px 16px;justify-content:center;font-size:12px}.campaign-dashboard select:focus-visible{outline:3px solid #b69952;outline-offset:2px}.campaign-dashboard button:disabled{cursor:not-allowed}.campaign-dashboard .dashboard-secondary{background:#f1f5f1;border:1px solid #cddbd0;color:#145640}.campaign-dashboard .dashboard-secondary:hover{background:#e7f0e8}.dashboard-filters{display:grid;grid-template-columns:1fr 1.2fr 1.3fr;gap:14px;padding:18px;background:#f3f7f2;border:1px solid var(--line);border-radius:12px}.dashboard-filter-actions{grid-column:1/-1;display:flex;gap:10px}.dashboard-custom-dates,.dashboard-custom-volume{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.dashboard-status{font-size:12px;line-height:1.8;color:#145640;min-height:1em;overflow-wrap:anywhere}.dashboard-status:empty{display:none}.dashboard-scope{font-size:11px;line-height:1.9;color:var(--muted);margin:15px 0}.dashboard-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0 24px}.dashboard-kpi{padding:15px;border:1px solid var(--line);border-radius:11px;background:#fff;min-width:0}.dashboard-kpi span{display:block;font-size:11px;color:var(--muted)}.dashboard-kpi strong{display:block;font-size:25px;line-height:1.8;color:#104f3a;overflow-wrap:anywhere}.dashboard-kpi small{display:block;font-size:10px;color:var(--muted);line-height:1.8}.dashboard-panel{border:1px solid var(--line);border-radius:12px;padding:17px;min-width:0}.dashboard-table-toolbar{display:flex;align-items:end;gap:14px}.dashboard-table-toolbar label:first-child{min-width:230px}.dashboard-table-toolbar label:last-child{min-width:140px}.dashboard-result-count{font-size:11px;color:var(--muted)}.dashboard-table-wrap{max-height:640px;overflow:auto;border:1px solid var(--line);border-radius:9px;min-width:0}.dashboard-table-wrap:focus-visible{outline:3px solid #b69952;outline-offset:3px}.dashboard-table-wrap table{font-size:11px;min-width:100%;width:max-content}.dashboard-table-wrap caption{text-align:right;font-weight:700;background:#fff;padding:12px;color:#164e39}.dashboard-table-wrap thead th{position:sticky;top:0;background:#edf5ee;z-index:1}.dashboard-table-wrap td{max-width:220px;white-space:normal;overflow-wrap:anywhere;line-height:1.8}.dashboard-table-wrap td[dir=ltr]{font-family:Arial,sans-serif;font-variant-numeric:tabular-nums}.dashboard-empty{padding:30px!important;text-align:center!important;white-space:normal!important}.dashboard-pager{display:flex;align-items:center;justify-content:center;gap:16px;margin:16px 0}.dashboard-pager span{font-size:12px;min-width:100px;text-align:center}.dashboard-exports{display:flex;align-items:end;flex-wrap:wrap;gap:12px;border-top:1px solid var(--line);padding-top:16px}.dashboard-exports label{min-width:180px}.dashboard-note,.dashboard-definitions p,.dashboard-spend p{font-size:11px;line-height:2;color:var(--muted)}.dashboard-definitions,.dashboard-spend{margin-top:18px;border:1px solid var(--line);padding:14px 17px;border-radius:10px}.dashboard-definitions summary,.dashboard-spend summary{cursor:pointer;font-weight:600;font-size:12px;color:#145640}.dashboard-spend form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.dashboard-spend form [role=status]{grid-column:1/-1}.dashboard-print-only{display:none}
@media(min-width:1000px){body:has(.campaign-dashboard) main{max-width:1400px;margin-top:28px}body:has(.campaign-dashboard) .report{padding:24px}}
@media(max-width:760px){.dashboard-filters{grid-template-columns:1fr;padding:14px}.dashboard-custom-dates,.dashboard-custom-volume{grid-template-columns:1fr}.dashboard-filter-actions{flex-wrap:wrap}.dashboard-filter-actions button{flex:1}.dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.dashboard-kpi{padding:12px}.dashboard-kpi strong{font-size:22px}.dashboard-panel{padding:12px}.dashboard-table-toolbar{display:grid;grid-template-columns:1fr 1fr;gap:9px}.dashboard-table-toolbar label:first-child,.dashboard-table-toolbar label:last-child{min-width:0}.dashboard-exports{display:grid;grid-template-columns:1fr}.dashboard-exports label{min-width:0}.dashboard-spend form{grid-template-columns:1fr}.dashboard-pager{gap:7px}.campaign-dashboard button{padding-inline:12px}.report h1{font-size:24px}.dashboard-table-wrap{max-height:570px}}
@media print{
 @page{size:A4 landscape;margin:12mm}
 body{background:#fff!important;color:#000!important}body>:not(main),[data-gabster-widget]{display:none!important}main{display:block!important;max-width:none!important;width:100%!important;padding:0!important;margin:0!important}main>section:not(#report){display:none!important}.report{border:0!important;box-shadow:none!important;padding:0!important;overflow:visible!important}.report>:not(#report-table){display:none!important}.campaign-dashboard>:not(.dashboard-print-only){display:none!important}.dashboard-print-only{display:block!important}.dashboard-print-only h1{font-size:20px;letter-spacing:0}.dashboard-print-only p{font-size:10px}.dashboard-print-only .dashboard-table-wrap{max-height:none;overflow:visible;border:0}.dashboard-print-only table{width:100%;table-layout:auto;white-space:normal;font-size:8px}.dashboard-print-only th,.dashboard-print-only td{padding:5px;white-space:normal;overflow-wrap:anywhere;max-width:none}.dashboard-print-only thead th{position:static}.dashboard-print-only tr{break-inside:avoid}.dashboard-print-only thead{display:table-header-group}
}

/* Mithaq identity pass: same hero, ring and tiles as the site's dashboards */
.campaign-dashboard{--mx-gold:#c6a15b;--mx-glow:#c6a15b8c;--mx-shadow:0 1px 2px #2035300d,0 10px 28px -14px #2035303d}
.report{border-radius:28px}
.dashboard-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:center;padding:26px 28px;margin-bottom:18px;border-radius:28px;border:1px solid #c6a15b55;background:linear-gradient(135deg,#fffdf7 0%,#fff8e8 55%,#14624c12 100%);box-shadow:var(--mx-shadow)}
.dashboard-hero:empty{display:none}
.dashboard-date{margin:0;font-size:12px;color:var(--muted)}
.dashboard-hero h2{margin:4px 0 6px;font-size:clamp(24px,3.4vw,34px);color:#203530}
.dashboard-hero h2::after{content:"";display:inline-block;width:.2em;height:.2em;margin-inline-start:.12em;border-radius:50%;background:var(--mx-gold);box-shadow:0 0 10px var(--mx-glow)}
.dashboard-hero-copy>p:not(.dashboard-date){margin:0;font-size:13px;color:var(--muted)}
.dashboard-pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.dashboard-pill{padding:5px 12px;border-radius:999px;font-size:12px;font-weight:600;background:#fff;border:1px solid #20353019;color:#203530}
.dashboard-pill.is-gold{background:#c6a15b2e;border-color:transparent;color:#8a6424}.dashboard-pill.is-green{background:#14624c17;border-color:transparent;color:#14624c}
.dashboard-ring{position:relative;width:148px;height:148px}
.dashboard-ring svg{width:100%;height:100%;transform:rotate(-90deg)}
.dashboard-ring circle{fill:none;stroke-width:11;stroke-linecap:round}
.dashboard-ring-track{stroke:#20353014}
.dashboard-ring-bar{stroke:url(#dashboard-ring-grad);stroke-dashoffset:var(--off);animation:dashboard-ring 1s cubic-bezier(.2,.7,.2,1);filter:drop-shadow(0 0 5px var(--mx-glow))}
@keyframes dashboard-ring{from{stroke-dashoffset:var(--c)}}
.dashboard-ring-label{position:absolute;inset:14px;display:grid;place-content:center;text-align:center;gap:4px}
.dashboard-ring-label strong{font-size:32px;line-height:1;color:#203530}.dashboard-ring-label small{font-size:11px;color:var(--muted)}
.dashboard-filters{border-radius:22px;background:#fff;box-shadow:var(--mx-shadow)}
.campaign-dashboard input,.campaign-dashboard select{border-radius:14px}
.campaign-dashboard input:focus-visible,.campaign-dashboard select:focus-visible{outline:none;border-color:var(--mx-gold);box-shadow:0 0 0 3px #c6a15b2e,0 0 22px -8px var(--mx-glow)}
.campaign-dashboard button{border-radius:14px}
.dashboard-kpis{gap:14px}
.dashboard-kpi{position:relative;padding:16px 18px;border-radius:22px;box-shadow:var(--mx-shadow);transition:box-shadow .3s,border-color .3s}
.dashboard-kpi:hover{border-color:var(--mx-gold);box-shadow:var(--mx-shadow),0 0 26px -8px var(--mx-glow)}
.dashboard-kpi strong{color:#203530}
.dashboard-panel,.dashboard-definitions,.dashboard-spend{border-radius:22px;background:#fff;box-shadow:var(--mx-shadow)}
.dashboard-table-wrap{border-radius:16px}
.dashboard-table-wrap thead th{background:#fff8e8;color:#8a6424}
@media(max-width:760px){.dashboard-hero{grid-template-columns:minmax(0,1fr);padding:20px 18px}.dashboard-ring{justify-self:center}}
@media(prefers-reduced-motion:reduce){.dashboard-ring-bar{animation:none}}
@media print{.dashboard-hero{display:none!important}}
/* Daily strip (today, yesterday, any day) and KPI rows that start and end on the same edges */
.dashboard-days{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:18px}
.dashboard-day{display:grid;gap:14px;align-content:start;min-width:0;padding:16px 18px;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:var(--mx-shadow);color:#203530;font:inherit;text-align:start;cursor:pointer;transition:border-color .2s,box-shadow .25s}
.dashboard-day:hover,.dashboard-day:focus-within,.dashboard-day:focus-visible{border-color:var(--mx-gold);box-shadow:var(--mx-shadow),0 0 26px -8px var(--mx-glow);outline:none}
.dashboard-day.is-active{border-color:#14624c;background:linear-gradient(135deg,#fffdf7,#14624c0d);box-shadow:inset 0 0 0 1px #14624c,0 0 26px -10px var(--mx-glow)}
.dashboard-day-picker{cursor:default}
.dashboard-day-head{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:15px}
.campaign-dashboard .dashboard-day-head{display:flex}
.dashboard-day-head small{font-size:12px;color:var(--muted)}
.dashboard-day-head input{width:auto;max-width:170px;min-height:36px;padding:4px 10px;font-size:13px}
.dashboard-day-stats{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.dashboard-day-stats>span{display:grid;gap:2px;padding:10px;border-radius:14px;background:#fff8e8}
.dashboard-day-stats b{font-size:22px;line-height:1.2;color:#203530}
.dashboard-day-stats small{font-size:11px;color:var(--muted)}
.dashboard-day-hint{align-self:center;font-size:12px;color:var(--muted)}
.dashboard-kpis{grid-template-columns:repeat(12,minmax(0,1fr))}
.dashboard-kpi{grid-column:span 3}
.dashboard-kpi:nth-child(n+5){grid-column:span 4}
@media(max-width:900px){.dashboard-days{grid-template-columns:minmax(0,1fr)}}
@media(max-width:760px){.dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-kpi,.dashboard-kpi:nth-child(n+5){grid-column:auto}.dashboard-kpi:last-child:nth-child(odd){grid-column:1/-1}}
@media print{.dashboard-days{display:none!important}}
.campaign-dashboard .dashboard-day{grid-template-columns:minmax(0,1fr);justify-content:stretch;align-items:start;height:auto;padding:16px 18px;font-weight:inherit;color:#203530;background:#fff}.campaign-dashboard .dashboard-day.is-active{background:linear-gradient(135deg,#fffdf7,#14624c0d)}

/* Report console bar: brand, title, day/night, admin, and a glowing way home */
body.is-report>header{position:sticky;top:10px;z-index:20;max-width:1400px;margin:10px auto 0;padding:10px 18px;border:1px solid #c6a15b33;border-radius:22px;background:#fffdf7e6;backdrop-filter:blur(16px);box-shadow:0 1px 2px #2035300d,0 10px 28px -14px #2035303d}
body.is-report .console-title{margin-inline-end:auto;font-size:15px;color:#203530}
body.is-report .console-title::before{content:"";display:inline-block;width:7px;height:7px;margin-inline-end:10px;border-radius:50%;background:#c6a15b;box-shadow:0 0 10px #c6a15b8c;vertical-align:middle}
.console-actions{display:flex;align-items:center;gap:8px}
.console-actions svg{width:20px;height:20px;flex:none}
.console-button,.console-exit{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:0 14px;border:1px solid #20353024;border-radius:14px;background:#fff;color:#14624c;font:600 13px/1 inherit;text-decoration:none;cursor:pointer;transition:border-color .2s,box-shadow .25s}
.console-theme{width:42px;padding:0;justify-content:center}
.console-button:hover,.console-button:focus-visible{border-color:#c6a15b;box-shadow:0 0 18px -8px #c6a15b8c;outline:none}
.console-exit{border:0;background:linear-gradient(135deg,#14624c,#073426);color:#fff8e8;box-shadow:0 0 0 1px #c6a15b,0 0 22px -4px #c6a15bb3;animation:console-glow 2.8s ease-in-out infinite}
.console-exit:hover,.console-exit:focus-visible{box-shadow:0 0 0 2px #c6a15b,0 0 34px -2px #c6a15bcc;outline:none}
@keyframes console-glow{50%{box-shadow:0 0 0 1px #c6a15b,0 0 30px 0 #c6a15b80}}
body.is-report .report>h1{display:none}
body.is-report footer{display:none}
@media(max-width:760px){body.is-report>header{margin:8px 10px 0;flex-wrap:wrap}.console-button span{display:none}.console-button{width:42px;padding:0;justify-content:center}body.is-report .console-title{font-size:13px}}
@media(prefers-reduced-motion:reduce){.console-exit{animation:none}}

/* KPIs open their results; sparkline of the applied range */
.dashboard-kpi{cursor:pointer;overflow:hidden}
.dashboard-kpi:focus-visible{outline:none;border-color:var(--mx-gold);box-shadow:0 0 0 3px #c6a15b33}
.dashboard-kpi.is-active{border-color:#14624c;box-shadow:inset 0 0 0 1px #14624c,0 0 26px -10px var(--mx-glow)}
.dashboard-spark{display:block;width:100%;height:30px;margin-top:8px}
.dashboard-spark polyline{fill:none;stroke:#14624c;stroke-width:1.6;vector-effect:non-scaling-stroke}
.dashboard-spark polygon{fill:#c6a15b26;stroke:none}
/* Daily trend chart */
.dashboard-trend{margin:0 0 24px;padding:16px 18px;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:var(--mx-shadow)}
.dashboard-trend-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:6px 16px;margin-bottom:10px}
.dashboard-trend-head h3{margin:0;font-size:15px;color:#203530}
.dashboard-trend-head small{font-size:12px;color:var(--muted)}
.dashboard-trend-chart{display:block;width:100%;height:170px}
.dashboard-trend-chart .grid line{stroke:#20353014;stroke-dasharray:4 6;vector-effect:non-scaling-stroke}
.dashboard-trend-chart rect{fill:#14624c;opacity:.85;transition:opacity .2s}
.dashboard-trend-chart rect:hover{fill:#c6a15b;opacity:1}
.dashboard-trend-axis{display:flex;justify-content:space-between;margin-top:6px;font-size:11px;color:var(--muted)}
.dashboard-focus-chip{align-self:end;min-height:40px;padding:0 14px;border:1px solid #14624c;border-radius:999px;background:#14624c12;color:#14624c;font:600 12px/1 inherit;cursor:pointer}
.dashboard-table-wrap .is-focus{background:#c6a15b1f;font-weight:700}
.dashboard-table-wrap thead th.is-focus{background:#c6a15b40;color:#073426}
@media print{.dashboard-trend,.dashboard-spark,.dashboard-focus-chip{display:none!important}}

/* Night mode for the report */
:root[data-theme=dark] body.is-report{background:radial-gradient(900px 420px at 100% -10%,#c6a15b14,transparent 70%),#061f17;color:#eef3ef}
:root[data-theme=dark] body.is-report{--line:#ffffff1f;--muted:#a9bab2;color-scheme:dark}
:root[data-theme=dark] body.is-report>header{background:#0b2a20e6;border-color:#ffffff1f}
:root[data-theme=dark] body.is-report :is(.console-title,.dashboard-hero h2,.dashboard-kpi strong,.dashboard-day,.dashboard-day-stats b,.dashboard-ring-label strong,.dashboard-trend-head h3,.dashboard-pill){color:#eef3ef}
:root[data-theme=dark] body.is-report .brand{color:#eef3ef}
:root[data-theme=dark] body.is-report :is(.report,.dashboard-filters,.dashboard-panel,.dashboard-definitions,.dashboard-spend,.dashboard-kpi,.dashboard-day,.dashboard-trend,.dashboard-table-wrap,.console-button){background:#0e2f24;border-color:#ffffff1f;color:#eef3ef}
:root[data-theme=dark] body.is-report .dashboard-hero{background:linear-gradient(135deg,#0e2f24,#123a2d 60%,#c6a15b1a);border-color:#c6a15b40}
:root[data-theme=dark] body.is-report .campaign-dashboard .dashboard-day,:root[data-theme=dark] body.is-report .campaign-dashboard .dashboard-day.is-active{background:#0e2f24;color:#eef3ef}
:root[data-theme=dark] body.is-report :is(.dashboard-day-stats>span,.dashboard-pill){background:#ffffff0d;border-color:transparent}
:root[data-theme=dark] body.is-report :is(input,select){background:#082319;border-color:#ffffff26;color:#eef3ef}
:root[data-theme=dark] body.is-report .dashboard-table-wrap :is(td,th){border-color:#ffffff14;color:#dfe8e3}
:root[data-theme=dark] body.is-report .dashboard-table-wrap thead th{background:#123a2d;color:#e7c98c}
:root[data-theme=dark] body.is-report .dashboard-table-wrap .is-focus{background:#c6a15b1f}
:root[data-theme=dark] body.is-report .dashboard-ring-track{stroke:#ffffff1a}
:root[data-theme=dark] body.is-report .dashboard-spark polyline{stroke:#8fd3b4}
:root[data-theme=dark] body.is-report .dashboard-trend-chart rect{fill:#3fae86}
:root[data-theme=dark] body.is-report .dashboard-trend-chart .grid line{stroke:#ffffff1a}
:root[data-theme=dark] body.is-report .console-button,:root[data-theme=dark] body.is-report .dashboard-focus-chip{color:#8fd3b4}
:root[data-theme=dark] body.is-report .campaign-dashboard button:not(.dashboard-day):not(.dashboard-secondary){color:#fff}
:root[data-theme=dark] body.is-report .dashboard-secondary{background:#ffffff0d;border-color:#ffffff26;color:#eef3ef}
:root[data-theme=dark] body.is-report :is(p,small,label,summary,caption){color:#c9d6cf}