.etb-ad {
--etb-primary: #1b5e20;
--etb-secondary: #ffc107;
--etb-on-primary: #fff;
--etb-ink: #182a24;
--etb-muted: #53645d;
--etb-line: #dce5df;
--etb-tint: #f1f6f2;
--etb-paper: #fff;
position: relative;
isolation: isolate;
max-width: 1320px;
margin-inline: auto;
color: var(--etb-ink);
font: 400 15px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
text-align: left;
}
.etb-ad *, .etb-ad *::before, .etb-ad *::after { box-sizing: border-box; }
.etb-ad [hidden] { display: none !important; }
.etb-ad p, .etb-ad ul, .etb-ad ol, .etb-ad dl, .etb-ad dd { margin: 0; }
.etb-ad ul, .etb-ad ol { padding-inline-start: 1.35em; }
.etb-ad h2, .etb-ad h3 { margin: 0; color: inherit; font-family: inherit; font-weight: 750; line-height: 1.16; letter-spacing: -.025em; }
.etb-ad h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); overflow-wrap: anywhere; }
.etb-ad h3 { font-size: 1.13rem; }
.etb-ad button, .etb-ad input, .etb-ad select { font: inherit; }
.etb-ad button, .etb-ad summary { cursor: pointer; }
.etb-ad button:disabled { cursor: not-allowed; }
.etb-ad :focus-visible { outline: 3px solid #2e67ad; outline-offset: 3px; }
.etb-ad .etb-muted { color: var(--etb-muted); font-size: .88rem; }
.etb-ad .etb-sr {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip-path: inset(50%);
white-space: nowrap;
}
.etb-ad .etb-brand {
display: flex;
gap: 11px;
align-items: center;
padding: 12px clamp(14px, 3vw, 24px);
border: 1px solid var(--etb-line);
border-top: 3px solid var(--etb-primary);
border-radius: 14px 14px 0 0;
background: #fff;
color: var(--etb-ink);
font-size: 1rem;
font-weight: 750;
overflow-wrap: anywhere;
}
.etb-ad .etb-brand img { display: block; width: 40px; height: 40px; max-height: 40px; object-fit: contain; flex: 0 0 40px; }
.etb-ad .etb-stage { padding: clamp(10px, 2.6vw, 30px); background: #f4f7f4; border: 1px solid var(--etb-line); border-top: 0; border-radius: 0 0 14px 14px; }
.etb-ad .etb-panel {
min-width: 0;
padding: clamp(14px, 2.5vw, 26px);
border: 1px solid var(--etb-line);
border-radius: 14px;
background: var(--etb-paper);
box-shadow: 0 2px 5px rgba(23, 44, 34, .035);
}
.etb-ad .etb-narrow { max-width: 700px; margin-inline: auto; }
.etb-ad .etb-narrow > * + * { margin-top: 16px; }
.etb-ad .etb-step {
margin-bottom: 7px;
color: #455b51;
font-size: .72rem;
font-weight: 800;
letter-spacing: .1em;
text-transform: uppercase;
}
.etb-ad .etb-narrow > .etb-step + h2 { margin-top: 0; }
.etb-ad .etb-narrow > h2 + .etb-muted { margin-top: 8px; }
.etb-ad .etb-btn, .etb-ad .etb-link {
appearance: none;
border: 0;
background: transparent;
color: inherit;
font-weight: 700;
line-height: 1.25;
text-decoration: none;
}
.etb-ad .etb-btn {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 43px;
padding: 10px 17px;
border: 1px solid transparent;
border-radius: 8px;
background: var(--etb-primary);
color: var(--etb-on-primary);
}
.etb-ad .etb-btn:hover:not(:disabled) { filter: brightness(.93); }
.etb-ad .etb-btn:disabled { border-color: #dbe5df; background: #e1e9e3; color: #526359; }
.etb-ad .etb-btn-alt { border-color: var(--etb-line); background: var(--etb-tint); color: var(--etb-ink); }
.etb-ad .etb-wide { width: 100%; }
.etb-ad .etb-link { padding: 3px 0; color: #254c3d; text-decoration: underline; text-underline-offset: 3px; }
.etb-ad .etb-back { margin-bottom: 11px; font-size: .85rem; }
.etb-ad .etb-segment {
display: flex;
gap: 3px;
padding: 4px;
border: 1px solid var(--etb-line);
border-radius: 10px;
background: var(--etb-tint);
}
.etb-ad .etb-segment button {
flex: 1 1 0;
min-width: 0;
min-height: 38px;
padding: 6px 4px;
border: 1px solid transparent;
border-radius: 7px;
background: transparent;
color: #354c43;
font-size: .88rem;
font-weight: 700;
line-height: 1.2;
}
.etb-ad .etb-segment button[aria-pressed="true"] { border-color: var(--etb-primary); background: var(--etb-primary); color: var(--etb-on-primary); }
.etb-ad .etb-segment button:disabled { color: #65766c; background: #e9eeeb; }
.etb-ad .etb-drop {
display: grid;
justify-items: center;
gap: 5px;
padding: 29px 10px;
border: 2px dashed #9baa9f;
border-radius: 11px;
background: #fafcfb;
color: var(--etb-ink);
text-align: center;
cursor: pointer;
}
.etb-ad .etb-drop svg { margin-bottom: 5px; color: #355a48; }
.etb-ad .etb-drop span { color: var(--etb-muted); font-size: .84rem; }
.etb-ad .etb-drop:hover, .etb-ad .etb-drop.etb-dragging { border-color: var(--etb-primary); background: #eff7ef; }
.etb-ad .etb-drop-small { padding: 12px 9px; background: #fff; font-size: .89rem; }
.etb-ad .etb-file { display: flex; gap: 8px; align-items: start; padding: 8px 0 0; overflow-wrap: anywhere; }
.etb-ad .etb-file > :first-child { color: #245942; font-weight: 750; }
.etb-ad .etb-file .etb-link { margin-inline-start: auto; white-space: nowrap; }
.etb-ad details { margin-top: 13px; font-size: .87rem; }
.etb-ad summary { font-weight: 700; color: #254c3d; }
.etb-ad details > :not(summary) { margin-top: 8px; }
.etb-ad .etb-lead-upload { padding: 14px; border: 1px solid var(--etb-line); border-radius: 10px; background: #f5f8f6; }
.etb-ad .etb-lead-upload > p { margin-block: 5px 9px; }
.etb-ad .etb-label { color: var(--etb-ink); font-weight: 700; }
.etb-ad .etb-tip { position: relative; display: inline-block; margin: 0 0 0 4px; vertical-align: middle; }
.etb-ad .etb-tip summary { display: grid; width: 21px; height: 21px; place-items: center; border: 1px solid #95a99b; border-radius: 50%; list-style: none; }
.etb-ad .etb-tip summary::-webkit-details-marker { display: none; }
.etb-ad .etb-tip p {
position: absolute;
z-index: 2;
right: -36px;
width: min(240px, 75vw);
margin: 6px 0 0;
padding: 10px 12px;
border: 1px solid var(--etb-line);
border-radius: 8px;
background: #fff;
box-shadow: 0 4px 16px #233d3320;
font-weight: 400;
}
.etb-ad .etb-trust { display: flex; gap: 7px; justify-content: center; color: #415e50; font-size: .78rem; text-align: center; }
.etb-ad .etb-trust svg { flex: 0 0 16px; margin-top: 2px; }
.etb-ad .etb-error { color: #9e2426; font-size: .88rem; font-weight: 650; }
.etb-ad .etb-warning { padding: 11px 14px; border: 1px solid #e6c776; border-radius: 8px; background: #fffae8; color: #5d4515; font-size: .89rem; overflow-wrap: anywhere; }
.etb-ad ul.etb-warning { padding-inline-start: 29px; }
.etb-ad .etb-progress { color: #335947; font-weight: 650; }
.etb-ad .etb-fields { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }
.etb-ad .etb-fields label { flex: 1 1 180px; min-width: 0; font-weight: 650; }
.etb-ad input:not([type="file"]):not([type="checkbox"]), .etb-ad select {
display: block;
width: 100%;
min-width: 0;
min-height: 41px;
padding: 7px 9px;
border: 1px solid #9cad9f;
border-radius: 7px;
background: #fff;
color: var(--etb-ink);
font-weight: 400;
}
.etb-ad label > input:not([type="checkbox"]), .etb-ad label > select { margin-top: 4px; }
.etb-ad .etb-map-row {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(105px, 42%);
align-items: center;
gap: 8px;
padding: 5px 0;
overflow-wrap: anywhere;
}
.etb-ad .etb-config-block { padding: 13px; border: 1px solid var(--etb-line); border-radius: 9px; }
.etb-ad .etb-config-block > * + * { margin-top: 10px; }
.etb-ad .etb-detection { display: grid; grid-template-columns: minmax(94px, .55fr) minmax(0, 1fr); gap: 7px 12px; padding: 13px; border-radius: 9px; background: var(--etb-tint); font-size: .88rem; overflow-wrap: anywhere; }
.etb-ad .etb-detection dt { font-weight: 750; }
.etb-ad .etb-manual { min-width: 520px; }
.etb-ad .etb-manual td { padding: 6px; }
.etb-ad .etb-manual td:first-child { min-width: 145px; }
.etb-ad .etb-manual td:last-child .etb-link { min-width: 25px; font-size: 1.25rem; }
.etb-ad [data-action="add-row"] { margin-top: 10px; }
.etb-ad .etb-daily { max-height: 255px; }
.etb-ad .etb-report-top { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.etb-ad [data-state="dashboard"] { container: etb-report / inline-size; }
.etb-ad .etb-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 13px; margin-top: 8px; color: var(--etb-muted); font-size: .85rem; }
.etb-ad .etb-platform-badge { padding: 3px 9px; border-radius: 20px; background: var(--etb-primary); color: var(--etb-on-primary); font-weight: 700; }
.etb-ad [data-state="dashboard"] > :is(.etb-panel, .etb-warning, .etb-kpis, .etb-chart-pair) { margin-bottom: 14px; }
.etb-ad [data-state="dashboard"] > :last-child { margin-bottom: 0; }
.etb-ad .etb-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.etb-ad .etb-kpi {
padding: 13px;
border: 1px solid var(--etb-line);
border-top: 4px solid var(--etb-primary);
border-radius: 10px;
background: #fff;
overflow-wrap: anywhere;
}
.etb-ad .etb-kpi-accent { border-top-color: var(--etb-secondary); }
.etb-ad .etb-unavailable { background: #eef2ef; }
.etb-ad .etb-kpi h3 { color: #435a50; font-size: .83rem; letter-spacing: 0; }
.etb-ad .etb-kpi .etb-value { margin-block: 6px 3px; font-size: clamp(1.25rem, 2.6vw, 1.75rem); font-weight: 780; font-variant-numeric: tabular-nums; line-height: 1.1; letter-spacing: -.045em; }
.etb-ad [data-state="dashboard"] .etb-kpi .etb-value { font-size: clamp(1.35rem, 2.8cqi, 1.75rem); }
.etb-ad .etb-kpi .etb-muted { font-size: .79rem; }
.etb-ad .etb-chart-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.etb-ad .etb-chart h3 { margin-bottom: 12px; }
.etb-ad .etb-canvas { position: relative; width: 100%; height: 400px; }
.etb-ad .etb-insights { border-left: 4px solid var(--etb-secondary); background: #fffdf4; overflow-wrap: anywhere; }
.etb-ad .etb-insights h3 { display: flex; gap: 7px; align-items: center; margin-bottom: 8px; }
.etb-ad .etb-insights h3 svg { flex: 0 0 22px; }
.etb-ad .etb-insights li { padding-inline-start: 4px; }
.etb-ad .etb-insights li + li { margin-top: 6px; }
.etb-ad .etb-scroll { overflow: auto; max-width: 100%; }
.etb-ad .etb-report-scroll { max-height: 640px; margin-block: 12px; }
.etb-ad .etb-table { width: 100%; margin: 0; border: 0; border-spacing: 0; border-collapse: separate; font-size: .85rem; font-variant-numeric: tabular-nums; }
.etb-ad .etb-table th, .etb-ad .etb-table td { padding: 8px 9px; border: 0; border-bottom: 1px solid #e2eae4; white-space: nowrap; text-align: left; }
.etb-ad .etb-table thead th { position: sticky; top: 0; z-index: 1; background: #e6eee8; color: #20382b; font-weight: 700; }
.etb-ad .etb-table tfoot th, .etb-ad .etb-table tfoot td { background: #e6eee8; font-weight: 700; }
.etb-ad .etb-bank-table caption { padding-bottom: 7px; text-align: left; font-weight: 750; }
.etb-ad .etb-bank-table :is(th, td):nth-child(2), .etb-ad .etb-bank-table :is(th, td):nth-child(3) { text-align: right; }
.etb-ad .etb-bank-table tbody a { color: #254c3d; }
.etb-ad .etb-bank-comparison > p { margin-top: 8px; }
.etb-ad .etb-table tbody :is(th, td) { background: #fff; }
.etb-ad .etb-table tbody tr:nth-child(even) :is(th, td) { background: #f4f7f5; }
.etb-ad .etb-campaign-table :is(th, td):not(:first-child) { text-align: right; }
.etb-ad .etb-campaign-table :is(th, td):first-child { max-width: 228px; text-overflow: ellipsis; overflow: hidden; }
.etb-ad .etb-table th button { padding: 0; border: 0; background: transparent; color: inherit; font-weight: inherit; text-align: inherit; }
.etb-ad .etb-sort-icon { padding-inline-start: 4px; color: #496656; }
.etb-ad .etb-spark { display: inline-block; width: 30px; height: 5px; margin-inline-end: 5px; overflow: hidden; border-radius: 4px; background: #e0e9e1; vertical-align: middle; }
.etb-ad .etb-spark span { display: block; height: 100%; background: var(--etb-primary); }
.etb-ad .etb-preview { margin-inline: 0; padding: 12px; border: 1px solid var(--etb-line); border-radius: 9px; background: #f4f7f4; }
.etb-ad .etb-preview figcaption { margin-bottom: 7px; color: #435a50; font-size: .82rem; font-weight: 700; }
.etb-ad .etb-preview canvas { display: block; max-width: 100%; max-height: 375px; width: auto; height: auto; margin-inline: auto; border: 1px solid var(--etb-line); background: #fff; object-fit: contain; }
.etb-ad .etb-checks { display: flex; flex-wrap: wrap; gap: 9px 15px; }
.etb-ad .etb-checks label { font-size: .9rem; }
.etb-ad .etb-checks input { accent-color: var(--etb-primary); }
.etb-ad .etb-badge { position: fixed; z-index: 10; bottom: 12px; padding: 7px 12px; border-radius: 18px; background: var(--etb-primary); color: var(--etb-on-primary); font-size: .76rem; font-weight: 700; box-shadow: 0 2px 9px #0002; }
.etb-ad .etb-badge-bottom-right { right: 12px; }
.etb-ad .etb-badge-bottom-left { left: 12px; }
.etb-ad .etb-badge a { color: inherit; }
.etb-ad .etb-export-stage { position: fixed; top: 0; left: -20000px; color: #182a24; pointer-events: none; }
.etb-ad .etb-export-document { display: flex; flex-direction: column; width: 100%; min-height: 1120px; padding: 30px; background: #fff; }
.etb-ad .etb-export-document > * + * { margin-top: 14px; }
.etb-ad .etb-export-header { padding-bottom: 13px; border-bottom: 1px solid var(--etb-line); }
.etb-ad .etb-export-header .etb-brand { padding: 0 0 10px; border: 0; background: transparent; }
.etb-ad .etb-export-header h2 { margin: 0 0 6px; font-size: 32px; }
.etb-ad .etb-export-document .etb-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.etb-ad .etb-export-document .etb-kpi .etb-value { font-size: 26px; }
.etb-ad .etb-export-document .etb-canvas { height: 225px; }
.etb-ad .etb-export-document [data-chart-card="spend"] .etb-canvas { height: 365px; }
.etb-ad .etb-export-document .etb-panel { padding: 15px; }
.etb-ad .etb-export-document .etb-table { table-layout: fixed; margin-top: 9px; font-size: 11px; }
.etb-ad .etb-export-document .etb-table th, .etb-ad .etb-export-document .etb-table td { position: static; padding: 5px; white-space: normal; overflow-wrap: anywhere; }
.etb-ad .etb-export-document .etb-table :is(th, td):first-child { width: 25%; white-space: nowrap; }
.etb-ad .etb-export-document .etb-spark { display: none; }
.etb-ad .etb-export-footer { position: relative; margin-top: auto; padding: 10px 120px 0 0; border-top: 1px solid var(--etb-line); color: #42564d; font-size: 11px; overflow-wrap: anywhere; }
.etb-ad .etb-export-document > :nth-last-child(2) { margin-bottom: 16px; }
.etb-ad .etb-export-footer .etb-export-cta { display: inline-block; font-weight: 750; color: #264d3c; }
.etb-ad .etb-export-png .etb-export-document { min-height: 0; }
.etb-ad .etb-export-png .etb-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.etb-ad .etb-export-png .etb-chart-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.etb-ad .etb-export-png .etb-canvas { height: 325px; }
@container etb-report (max-width: 760px) {
.etb-ad .etb-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container etb-report (max-width: 565px) {
.etb-ad .etb-chart-pair { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1023px) {
.etb-ad .etb-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
.etb-ad .etb-kpis, .etb-ad .etb-chart-pair { grid-template-columns: minmax(0, 1fr); }
.etb-ad .etb-bank-table { min-width: 250px; table-layout: fixed; font-size: .75rem; }
.etb-ad .etb-bank-table :is(th, td) { padding: 6px 4px; white-space: normal; overflow-wrap: anywhere; }
.etb-ad .etb-bank-table thead th:first-child { width: 34%; }
.etb-ad .etb-bank-table thead th:nth-child(2), .etb-ad .etb-bank-table thead th:nth-child(3) { width: 22%; }
.etb-ad .etb-bank-table :is(tbody, tfoot) td:nth-child(2), .etb-ad .etb-bank-table :is(tbody, tfoot) td:nth-child(3) { padding-inline: 2px; white-space: nowrap; }
.etb-ad .etb-drop { padding: 19px 7px; }
.etb-ad .etb-drop-small { padding: 10px 7px; }
.etb-ad .etb-canvas { height: 300px; }
.etb-ad .etb-preview { display: none; }
.etb-ad .etb-campaign-table :is(th, td):first-child { position: sticky; left: 0; z-index: 1; max-width: 130px; }
.etb-ad .etb-campaign-table thead th:first-child { z-index: 2; }
}