#company-console .shell{max-width:1000px;min-height:100dvh}#company-console .top{padding:28px 32px}#company-console .brandbar{display:flex;justify-content:space-between;align-items:center;gap:20px}#company-console .brandbar>span{color:var(--muted);font-weight:600}.company-content{padding:32px}.company-content h1{font-size:clamp(1.6rem,4vw,2.2rem);line-height:1.2}.company-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.eyebrow{font-size:.8rem;letter-spacing:.06em;color:var(--muted);margin-bottom:12px}.company-form{display:grid;gap:20px;max-width:460px;margin:28px 0}.company-heading .icon-action,.company-detail-head a{min-width:48px;min-height:48px;display:grid;place-items:center;color:var(--accent)}#company-console svg{width:24px;height:24px}.company-destinations{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,350px),1fr));gap:20px;margin:28px 0 40px}.company-card{display:block;width:100%;border:1px solid #bdcfd7;background:#f6f9fa;border-radius:14px;padding:24px;text-align:left;color:var(--ink);cursor:pointer}.company-card:hover{border-color:var(--accent);background:#edf3f5}.company-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--accent)}.company-card-head>span{display:flex;gap:12px;align-items:center}.company-card-head svg{flex-shrink:0}.company-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:30px 0}.company-stats strong{display:block;font-size:1.8rem}.company-stats span{display:block;font-size:.8rem;color:var(--muted);font-weight:400;line-height:1.4;margin-top:8px}.company-card-foot{display:block;font-size:.84rem;font-weight:400;color:var(--muted)}.company-activity h2{font-size:1.2rem;margin-bottom:18px}.company-row{display:flex;align-items:center;gap:14px;border:1px solid #c6d4da;background:#f6f9fa;border-radius:10px;padding:20px;margin-bottom:10px;color:var(--accent);text-decoration:none;min-height:84px}.company-row>span:nth-child(2){flex:1;min-width:0}.company-row small{display:block;color:var(--muted);margin-top:6px}.company-row-icon{display:grid;place-items:center;width:40px;height:40px;background:#eaf1f6;border-radius:50%}.company-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding-top:20px;color:var(--muted);font-size:.85rem}.company-footer button{min-height:48px;white-space:nowrap;color:var(--accent)}.updated{font-size:.8rem;margin-top:26px}.company-detail-head{display:grid;grid-template-columns:48px 1fr 48px;align-items:center;margin:0 24px;padding:16px 0;border-bottom:1px solid var(--line)}.company-detail-head h1{font-size:1.15rem;text-align:center}.company-events article{padding:20px 0;border-bottom:1px solid var(--line)}.company-events p,.company-events time{font-size:.85rem;color:var(--muted)}.company-events{margin-bottom:24px}.company-scope{max-width:460px;margin-top:20px}#company-console [role=alert]{color:#9a3228}#company-console :focus-visible{outline:3px solid #39809c;outline-offset:3px}@media(max-width:480px){#company-console .top{padding:22px 20px}.company-content{padding:24px 20px}.company-card{padding:20px}.company-stats{gap:8px}.company-destinations{gap:14px}.company-card-head strong{font-size:1rem}.company-detail-head{margin-inline:16px}}@media(prefers-reduced-motion:reduce){#company-console *{animation:none!important;transition:none!important}}

#company-console h1:focus{outline:none}.company-content>.muted{overflow-wrap:anywhere}#company-console main{overflow:clip}

/* Executive overview: performance first, console destinations second. */
#company-console{--accent:#0864ed;--focus:#0864ed}
#company-console .shell{max-width:1380px;background:#f0f4f5}
#company-console .top{background:white;border-bottom:1px solid var(--line);padding:20px 32px}
#company-console .top .brandbar{margin:0}
.company-content--executive{padding:28px 32px}
.executive-company{color:var(--muted);font-size:1.1rem;margin-top:4px}
.company-heading .icon-action{display:flex;gap:8px;font-size:.9rem}
.executive-filters{display:flex;align-items:end;flex-wrap:wrap;gap:16px;margin:24px 0 16px;padding:18px 22px;background:white;border:1px solid var(--line);border-radius:9px}
.executive-filters label{display:grid;gap:6px;font-size:.8rem;font-weight:600;min-width:140px;flex:1}
.executive-filters select,.executive-filters input{height:44px;min-height:44px;min-width:0;width:100%;background:white;border:1px solid #bdcbd4;border-radius:6px;padding:8px 10px;font-size:.9rem}
.executive-filters button{min-height:44px;align-self:end;padding:8px 22px}
.executive-filters>span{font-size:.78rem;color:var(--muted);align-self:center;padding-top:18px;white-space:nowrap}
.executive-filters [role=alert]:empty{display:none}.executive-filters [role=alert]{flex-basis:100%;font-size:.85rem}
.executive-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:white;border:1px solid var(--line);border-radius:9px;padding:20px 0;margin-bottom:16px}
.executive-metric{padding:0 22px;min-width:0}.executive-metric+.executive-metric{border-left:1px solid var(--line)}
.executive-metric h3{font-size:.94rem;line-height:1.35;margin:0;font-weight:650}.executive-metric strong{display:block;font-size:2rem;font-weight:650;line-height:1.3;margin:14px 0 3px;font-variant-numeric:tabular-nums;letter-spacing:-.04em}.executive-metric p{font-size:.8rem;color:var(--muted)}
.executive-growth{display:grid;grid-template-columns:minmax(0,3fr) minmax(215px,1fr);gap:16px}
.executive-chart,.executive-totals,.executive-finance-panel,.executive-consoles{background:white;border:1px solid var(--line);border-radius:9px;padding:22px;min-width:0}
.executive-chart-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.executive-chart-heading h2{font-size:1.15rem}
.executive-chart-view select{max-width:100%;min-height:44px;border:1px solid var(--line);border-radius:6px;background:white;padding:6px 10px;font-size:.8rem}
.executive-chart-tools{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;margin:16px 0 6px}
.executive-interval{display:inline-flex;border:1px solid #cad7df;border-radius:6px;overflow:hidden}.executive-interval button{font-size:.78rem;min-height:44px;border-radius:0;padding:8px 12px}.executive-interval button+button{border-left:1px solid #cad7df}.executive-interval [aria-pressed=true]{background:#e4eeff;color:#0754ca}
.chart-legend{display:flex;flex-wrap:wrap;gap:10px 16px;font-size:.72rem;color:var(--muted)}.chart-legend span{display:flex;align-items:center;gap:5px}.chart-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#0864ed}.chart-dot--1{background:#008e88}
.executive-plot{position:relative;margin-top:12px;min-height:200px}
#company-console .executive-plot svg{width:100%;height:auto;min-height:200px;overflow:visible;fill:none;stroke:none}
.executive-plot text{fill:#526570;font-size:11px;font-family:inherit}.chart-grid{stroke:#dce5e9;stroke-dasharray:3 4}.chart-line{stroke:#0864ed;stroke-width:2.5;fill:none}.chart-line--1{stroke:#008e88}.chart-point{fill:#0864ed}.chart-point--1{fill:#008e88}.chart-empty{position:absolute;inset:0 0 28px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;pointer-events:none;text-align:center}.chart-empty strong{font-size:1rem}.chart-empty span{font-size:.8rem;color:var(--muted)}
.executive-totals .executive-metric{padding:0 0 20px}.executive-totals .executive-metric+.executive-metric{border-left:0;border-top:1px solid var(--line);padding-top:20px}.executive-totals>p{font-size:.78rem;color:var(--muted);border-top:1px solid var(--line);padding-top:16px}
.executive-finance{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:16px 0}.executive-finance-panel .executive-metric{padding:0}.executive-finance-panel .executive-metric h3{font-size:1.1rem}.executive-finance-panel>p{font-size:.8rem;color:var(--muted);margin-top:8px}
.executive-definitions{background:white;border:1px solid var(--line);border-radius:9px;margin:16px 0}.executive-definitions summary,.executive-activity>summary{cursor:pointer;min-height:44px;padding:14px 20px;font-size:.85rem;font-weight:600}.executive-definitions dl{display:grid;grid-template-columns:1fr 1fr;gap:20px 28px;margin:8px 20px 20px}.executive-definitions dt{font-size:.85rem;font-weight:700}.executive-definitions dd{margin:5px 0 0;font-size:.8rem;color:var(--muted)}.executive-definitions>p{padding:0 20px 18px;font-size:.8rem;color:var(--muted)}
.executive-consoles>div{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}.executive-consoles>p{font-size:.78rem;color:var(--muted);margin-top:14px}.executive-console{display:flex;align-items:center;gap:14px;text-align:left;border:1px solid #c6d4dd;border-radius:7px;padding:16px;min-width:0;color:var(--ink);background:#fff}.executive-console>span:nth-child(2){flex:1;min-width:0}.executive-console strong{display:block;font-size:.94rem}.executive-console small,.console-counts{display:block;font-size:.78rem;font-weight:400;color:var(--muted);margin-top:3px}.executive-console>svg{flex:none}.executive-console-icon{display:grid;place-items:center;background:#e4eeff;color:var(--accent);width:42px;height:42px;border-radius:7px;flex:none}
.executive-activity{margin-top:16px}.executive-activity>summary{padding-inline:0}.executive-loading,.executive-load-error{padding:40px 24px;background:white;border:1px solid var(--line);border-radius:9px;margin-bottom:16px}.executive-load-error p{margin:10px 0}
.chart-data{font-size:.8rem;margin-top:10px}.chart-data summary{cursor:pointer;min-height:44px;display:flex;align-items:center}.chart-table{overflow:auto;max-height:260px}.chart-table table{width:100%;border-collapse:collapse}.chart-table th,.chart-table td{padding:8px;border-bottom:1px solid var(--line);text-align:right;font-variant-numeric:tabular-nums}.chart-table th:first-child{text-align:left}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:900px){.executive-growth{grid-template-columns:1fr}.executive-totals{display:grid;grid-template-columns:1fr 1fr;gap:16px}.executive-totals .executive-metric+.executive-metric{border-top:0;border-left:1px solid var(--line);padding:0 0 20px 16px}.executive-totals>p{grid-column:1/-1}.executive-consoles>div{grid-template-columns:1fr}.executive-kpis{grid-template-columns:1fr 1fr;gap:20px 0}.executive-kpis .executive-metric:nth-child(3){border-left:0}.executive-definitions dl{grid-template-columns:1fr}}
@media(max-width:540px){#company-console .top{padding:18px}.company-content--executive{padding:22px 16px}.company-heading{align-items:start}.company-heading h1{font-size:1.65rem}.company-heading .icon-action span{display:none}.executive-company{font-size:1rem}.executive-filters{gap:12px;padding:16px}.executive-filters label:first-child{flex-basis:100%}.executive-filters label{min-width:0;width:calc(50% - 6px);flex:auto}.executive-filters button{flex:1}.executive-filters>span{padding-top:0}.executive-metric{padding-inline:16px}.executive-metric h3{font-size:.83rem}.executive-metric strong{font-size:1.8rem}.executive-metric p{font-size:.75rem}.executive-chart,.executive-totals,.executive-finance-panel,.executive-consoles{padding:16px}.executive-finance{grid-template-columns:1fr}.executive-chart-tools{gap:12px}.executive-chart-heading{align-items:start}.executive-chart-view{width:100%}.executive-chart-view select{width:100%}.chart-legend{font-size:.7rem}.executive-plot{min-height:200px}.chart-empty span{max-width:22ch}.company-footer{align-items:start}.executive-console{gap:10px;padding:14px}}

@media(max-width:540px){.executive-plot text{font-size:24px}.chart-legend{font-size:.75rem}}
.executive-filters .primary{background:#0864ed;color:#fff}.executive-filters .primary:hover{background:#0754ca}

.company-home-links{display:flex;flex-wrap:wrap;gap:12px 28px;margin-top:20px}.company-home-links a{display:inline-flex;align-items:center;min-height:44px;color:var(--accent);font-weight:650}.executive-consoles a.executive-console{text-decoration:none}.executive-consoles a.executive-console:hover{border-color:var(--accent)}

/* Billing shares the company workspace controls and surface tokens. */
.billing-entry{margin-top:16px}.billing-entry>span{flex:1}.billing-balances{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:28px 0;padding:24px;background:white;border:1px solid var(--line);border-radius:9px}.billing-balances dt{font-size:.95rem;color:var(--muted)}.billing-balances dd{font-size:1.8rem;font-weight:650;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin:8px 0 0}.billing-actions{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}.billing-actions button,.billing-invoices a{min-height:48px;padding:12px 18px;font:inherit;border-radius:6px}.billing-actions .primary{background:var(--accent);color:white}.billing-actions button:disabled{opacity:.6;cursor:wait}.billing-review{padding:24px;background:white;border:1px solid var(--line);border-radius:9px;margin:24px 0}.billing-review h2,.billing-invoices h2{font-size:1.2rem;margin:0 0 16px}.billing-review p{margin:10px 0;line-height:1.5}.billing-invoices{margin-top:32px}.billing-invoices ul{list-style:none;margin:0;padding:0}.billing-invoices li{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 0;border-bottom:1px solid var(--line)}.billing-invoices li>div{display:flex;flex-direction:column;gap:6px;min-width:0}.billing-invoices strong{font-size:1.2rem;font-variant-numeric:tabular-nums}.billing-invoices span,.billing-invoices time{color:var(--muted);font-size:.95rem}.billing-invoices a{display:inline-flex;align-items:center;flex-shrink:0;color:var(--accent);font-weight:600}.billing-invoices p{line-height:1.5}[data-billing-error]:empty,[data-billing-status]:empty{display:none}
@media(max-width:600px){.billing-balances{grid-template-columns:1fr;gap:20px;padding:20px}.billing-balances>div{display:flex;justify-content:space-between;align-items:baseline;gap:16px}.billing-balances dd{font-size:1.45rem;margin:0}.billing-review{padding:20px}.billing-invoices li{align-items:start;flex-wrap:wrap}.billing-invoices a{padding-inline:0}}

.billing-history--activity{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:48px}.billing-activity{margin-top:32px}.billing-activity h2{font-size:1.2rem;margin:0 0 16px}.billing-activity ul{list-style:none;margin:0;padding:0}.billing-activity li{display:flex;justify-content:space-between;align-items:start;gap:20px;padding:20px 0;border-bottom:1px solid var(--line)}.billing-activity li>div{display:flex;flex-direction:column;gap:6px;min-width:0}.billing-activity strong{font-weight:600;line-height:1.4}.billing-activity li>div span,.billing-activity time{color:var(--muted);font-size:.9rem;line-height:1.4}.billing-activity-amount{font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums}.billing-credit{color:#087452}@media(max-width:800px){.billing-history--activity{display:block}}

/* App-authorized GTM destinations stay visible before the company results. */
.retailer-presentations{margin-top:24px}.retailer-presentations h2{font-size:1.1rem}.retailer-presentations .company-home-links{margin-top:8px;gap:8px 28px}.retailer-presentations a{overflow-wrap:anywhere}

/* Account actions live in the Company pull-down on every workspace view. */
.company-menu-account{border-top:1px solid var(--line);margin-top:.4rem;padding-top:.4rem}.company-menu-account button{display:flex;width:100%;align-items:center;min-height:48px;padding:.6rem .8rem;border-radius:.5rem;text-align:left;color:var(--accent);font:inherit;font-size:.95rem;font-weight:600;line-height:1.4}.company-menu-account button:hover{background:#f1f5f7}.company-menu-account [role=alert]{display:block;padding:.6rem .8rem;font-size:.85rem}.company-menu-account [role=alert][hidden]{display:none}

/* Executive dashboards share the chart-led navy / blue / teal palette. */
#company-console{--accent:#1867ad;--line:#dbe5ed;--muted:#586b7e;--ink:#16324c}
#company-console .shell{background:#f4f7fb}.company-content--executive{padding-top:2rem}.company-heading h1{letter-spacing:-.035em;font-weight:650}.executive-company{color:#586b7e}
.executive-filters{border-radius:.8rem;padding:1.2rem 1.4rem;box-shadow:none}.executive-kpis{border-radius:1rem;padding:1.4rem 0}.executive-metric{position:relative;overflow:hidden}.executive-metric strong{font-size:2.2rem;color:#153b5c;letter-spacing:-.045em}.executive-metric p{margin-bottom:0}.executive-metric h3{color:#586b7e;font-size:.87rem}
#company-console .executive-mini-trend{display:block;width:100%;height:2.1rem;margin-top:1rem;fill:#aecbe6;stroke:none}.executive-kpis .executive-metric:nth-child(n+3) .executive-mini-trend{fill:#8dc9c3}
.executive-growth{grid-template-columns:minmax(0,3fr) minmax(14rem,1fr);gap:1.25rem}.executive-chart{background:#112c49;border:0;border-radius:1rem;padding:1.5rem 1.7rem;color:#e3efff}.executive-chart-heading h2{color:white;font-size:1.15rem;font-weight:600}.executive-chart-view select{background:#1e3b58;color:#e5f0ff;border-color:#49627b}.executive-chart-tools{margin-top:1.1rem}.executive-chart .chart-legend{color:#c7d9ed;font-size:.78rem}.executive-chart .chart-dot{background:#8fc3ff}.executive-chart .chart-dot--1{background:#68d1c0}.executive-chart .executive-interval{border-color:#49627b}.executive-chart .executive-interval button{color:#c7d9ed;background:transparent}.executive-chart .executive-interval button+button{border-left-color:#49627b}.executive-chart .executive-interval [aria-pressed=true]{background:#e7f1ff;color:#153b60}.executive-chart .executive-plot text{fill:#b5c9df;font-size:11px}.executive-chart .chart-grid{stroke:#37526c;stroke-dasharray:none;opacity:.7}.executive-chart .chart-line{stroke:#8fc3ff;stroke-width:3}.executive-chart .chart-line--1{stroke:#68d1c0}.executive-chart .chart-point{fill:#8fc3ff;stroke:#112c49;stroke-width:1.5}.executive-chart .chart-point--1{fill:#68d1c0}.executive-chart .chart-area{fill:#8fc3ff;opacity:.1;stroke:none}.executive-chart .chart-area--1{fill:#68d1c0;opacity:.05}.executive-chart .chart-empty strong{color:#e7f1ff}.executive-chart .chart-empty span{color:#bfd0e3}.executive-chart .chart-data{color:#c7d9ed}.executive-chart .chart-table th,.executive-chart .chart-table td{border-color:#37526c}
.executive-totals,.executive-finance-panel,.executive-consoles,.executive-definitions{border-radius:1rem}.executive-totals{padding:1.5rem}.executive-totals .executive-metric strong{color:#087b7f}.executive-finance-panel{padding:1.5rem}.executive-finance-panel .executive-metric strong{color:#153b5c}.executive-console{border-radius:.7rem}.company-row{border-radius:.8rem;background:white;border-color:#dbe5ed}.executive-definitions dd{line-height:1.6}
@media(max-width:900px){.executive-growth{grid-template-columns:1fr}}
@media(max-width:540px){.company-content--executive{padding-top:1.5rem}.executive-chart{padding:1.15rem}.executive-metric strong{font-size:1.8rem}.executive-chart-heading{align-items:start}.executive-chart-view{width:100%}.executive-chart-view select{width:100%}.executive-chart .chart-legend{font-size:.75rem}}
#company-console .executive-kpis .executive-metric:nth-child(n+3) .executive-mini-trend{fill:#8dc9c3}
#company-console .executive-plot .executive-svg--compact{display:none}
@media(max-width:540px){#company-console .executive-plot{min-height:0}#company-console .executive-plot svg{min-height:0}#company-console .executive-plot .executive-svg--wide{display:none}#company-console .executive-plot .executive-svg--compact{display:block}#company-console .executive-plot .executive-svg--compact text{font-size:16px}.executive-chart .chart-empty{inset:0 0 28px}}
