/* Final layout layer: intentionally loaded after component styles. */
.app .top{height:44px;min-height:44px;margin-bottom:14px}.main .head{margin:0 0 12px}.lc-dashboard{gap:12px}.lc-dashboard>.lg-head{margin:0;min-height:40px}.lc-dashboard .lg-head label{display:flex;align-items:center;gap:8px;font-size:12px}.lc-dashboard .lg-head select{padding:7px 12px}.lc-dashboard .lg-cost-filters>button{min-height:38px;padding:2px 14px;min-width:108px}.lc-dashboard .lg-cost-filters>button[aria-pressed=true]{padding:1px 13px}.lc-dashboard .lg-cost-filters img{height:30px}.lc-compact-head{line-height:16px;margin:0}.lc-compact-cards{gap:10px}.lc-dashboard .lc-kpi.card{padding:12px 16px;gap:7px;min-height:0;border-radius:18px}.lc-dashboard .lc-kpi>span{min-height:18px;line-height:18px;font-size:12px}.lc-dashboard .lc-kpi>strong{font-size:27px;line-height:32px;margin:0}.lc-dashboard .lc-kpi>small{font-size:11px;line-height:15px}.lc-dashboard .lc-chart{padding:18px 20px;border-radius:20px}.lc-dashboard .lc-header{align-items:center;gap:12px}.lc-dashboard .lc-header h2{margin:0!important;font-size:16px}.lc-dashboard .lc-plot{margin-top:8px}.lc-dashboard .lc-plot>svg{height:280px!important;max-height:280px}.lc-dashboard>.source-details{padding:12px 16px;border-radius:16px;font-size:12px}.lc-dashboard>.source-details p{line-height:1.5}.lc-dashboard .lc-chart-legend{font-size:11px}.lc-dashboard .lc-plot svg text{font-size:12px}footer{padding-top:12px;padding-bottom:12px}
@media(min-width:1800px){.lc-compact-cards{grid-template-columns:repeat(8,minmax(0,1fr))}.lc-dashboard .lc-kpi>span{min-height:36px;align-items:flex-start}.lc-dashboard .lc-plot>svg{height:320px!important;max-height:320px}}
@media(max-width:900px){.lc-compact-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.lc-dashboard .lc-header{align-items:flex-start}.lc-dashboard .lc-chart{padding:16px}}

/* Ads: bounded chart heights and readable creative cards on wide screens. */
.ads-page .meta-kpis{gap:12px;margin-bottom:16px;grid-template-columns:repeat(5,minmax(0,1fr))}
.ads-page .meta-kpi{padding:16px 18px;min-height:132px;gap:8px;border-radius:20px}
.ads-page .meta-kpi>strong{line-height:34px;margin:0}
.ads-page .meta-kpi>svg{display:block;margin-top:6px;max-width:240px;align-self:start}
.ads-page .meta-evolution{padding:18px 20px;margin-bottom:16px}
.ads-page .meta-evolution .card__head{margin-bottom:8px}
.ads-page .meta-legend{margin:8px 0;gap:16px}
.ads-page .meta-evolution>.footnote{display:none}
.ads-page #meta-line>svg{height:290px!important;max-height:290px}
.ads-page .source-details{margin-top:10px}
.ads-decisions-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,560px),1fr));gap:16px;align-items:start;margin-bottom:16px}
.ads-decisions-grid>.ads-trial{padding:18px 20px;margin:0;min-width:0;border-radius:20px}
.ads-decisions-grid .card__head{min-height:62px;align-content:start;gap:8px;margin-bottom:8px}
.ads-decisions-grid .ads-trial label{gap:8px;font-size:12px}
.ads-decisions-grid .ads-trial input{padding:6px 10px;width:110px}
.ads-decisions-grid .trial-plot,.ads-decisions-grid .trial-quadrant{overflow-x:auto}
.ads-decisions-grid .trial-plot>svg,.ads-decisions-grid .trial-quadrant>svg{display:block;width:100%;height:340px!important;max-height:340px;min-width:540px}
.ads-decisions-grid .footnote{font-size:11px;line-height:1.5;margin:10px 0 0}
.ads-decisions-grid .trial-quadrant-legend{gap:8px 14px;font-size:11px;margin:10px 0}
.ads-page .meta-campaigns{margin-bottom:16px}
#meta-ad-results .content-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px}
#meta-ad-results .content-tile{padding:12px;gap:10px}
#meta-ad-results .content-tile img,#meta-ad-results .image-pending{aspect-ratio:1/1;object-fit:contain;width:100%;height:auto;max-height:260px}
#meta-ad-results .content-tile b{font-size:13px;line-height:19px;min-height:38px}
#meta-ad-results .tile-metrics{font-size:12px;gap:7px}
@media(min-width:1800px){#meta-ad-results .content-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:1100px){.ads-page .meta-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.ads-page .meta-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}#meta-ad-results .content-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Shared visual rhythm across country pages and platform modules. */
:root{--ena-card-gap:16px;--ena-card-padding:20px;--ena-chart-height:300px}
#board .card{border-radius:20px;min-width:0}
#board .card__title,#board .composition-heading h2,#board .gp h2{font-size:16px!important;line-height:22px}
#board .workspace-grid,#board .shop-layout,#board .gp-grid{gap:var(--ena-card-gap)}
#board .workspace-grid>.card,#board .summary-composition,#board .gp-panel,#board .settings-team{padding:var(--ena-card-padding)}
#board .metric-grid{padding:16px 0;gap:16px}
#board .metric-grid .stat__val,#board .summary-kpi>button>strong,#board .gp-kpi strong,#board .gp-market{font-size:27px!important;line-height:34px}
#board .meta-kpis{gap:12px;margin-bottom:16px}
#board .shop-kpis .meta-kpi{min-height:148px;padding:16px 18px;gap:8px}
#board .shop-layout>.card{padding:20px}
#board .shop-chart-top{margin:12px 0}
#board .shop-attribution{padding:16px 0;gap:12px}
#board .shop-traffic{padding:16px 0}
#board .shop-cohorts{margin-top:16px}
#board .summary-sources{margin-bottom:16px}
#board .composition-heading{margin-top:16px}
#board .summary-kpi{padding:14px 16px}
#board .summary-kpi>button{gap:6px}
#board .summary-breakdown{margin-top:10px}
#board .workspace-plot{margin:12px 0 16px}
#board .lg-plot>svg,#board #shop-line>svg,#board .workspace-plot>svg{height:var(--ena-chart-height)!important;max-height:var(--ena-chart-height)}
#board .nubi-chart{padding:20px}
#board .nubi-plot{overflow-x:auto}
#board .nubi-plot>svg{height:420px!important;min-height:0;max-height:420px;min-width:680px}
#board .nubi-controls,#board .nubi-months{margin-bottom:16px}
#board .ig-gallery-tools{gap:16px;margin:16px 0}
#board .ig-filters{gap:12px 20px;margin-bottom:16px}
#ig-results .content-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px;margin-top:16px}
#ig-results .content-tile img,#ig-results .image-pending{aspect-ratio:1/1;object-fit:contain;width:100%;height:auto;max-height:260px}
#board .gp-panel{margin-bottom:16px}
#board .gp-kpis{gap:12px;margin:16px 0}
#board .gp-kpi{padding:16px;gap:8px}
#board .gp-tabs{margin-bottom:16px}
#board .table{font-size:12px}
#board .table th{font-size:12px}
#board .source-details{font-size:12px;line-height:1.5}
@media(min-width:1400px){#board .summary-kpis{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(min-width:1800px){#ig-results .content-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:760px){#ig-results .content-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#board .shop-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}

.ig-insights{min-width:0}.ig-insight-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:16px}.ig-insight-kpi{display:flex;flex-direction:column;gap:10px;text-align:left;padding:16px 18px;border:1px solid var(--line);color:var(--text)}.ig-insight-kpi[aria-pressed=true]{border-color:var(--metric-color);background:var(--well)}.ig-insight-kpi>span{font-size:12px}.ig-insight-kpi>strong{font-size:27px;line-height:34px}.ig-insight-kpi>small{font-size:11px;line-height:16px;color:var(--muted)}.ig-insight-chart{padding:20px}.ig-insight-plot{overflow:auto}.ig-insight-plot>svg{display:block;width:100%;height:320px;min-width:680px}.ig-insight-plot circle{cursor:pointer}.ig-insight-legend{display:flex;gap:16px;flex-wrap:wrap;font-size:12px;margin:12px 0}.ig-insight-legend small{color:var(--muted)}.ig-insight-detail{padding:16px;background:var(--well);border-radius:12px;font-size:13px;line-height:1.5}.ig-insight-detail p{margin:8px 0}#board .workspace-grid>.ig-filters{margin-bottom:0}.ig-insight-chart .seg{gap:6px}.ig-insight-chart .card__head{gap:12px}@media(max-width:900px){.ig-insight-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}

.ig-filters .ig-feed-filter[hidden]{display:none}.ig-filters .ig-surface{margin-right:16px}

.ig-hover-summary{display:flex;gap:16px;align-items:center;margin-bottom:12px}.ig-hover-contents{display:flex;gap:12px;overflow-x:auto;padding-bottom:8px}.ig-hover-piece{display:flex;flex-direction:column;gap:5px;flex:0 0 140px;color:inherit;text-decoration:none}.ig-hover-piece img,.ig-hover-placeholder{width:140px;height:120px;object-fit:contain;border-radius:10px;background:var(--well)}.ig-hover-placeholder{display:grid;place-items:center;font-size:11px}.ig-hover-piece>span:not(.ig-hover-placeholder){font-size:12px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.ig-hover-piece small{font-size:11px;color:var(--muted)}.ig-insight-kpi[aria-disabled=true]{cursor:default}

.amazon-campaigns .meta-table th:not(:first-child),.amazon-campaigns .meta-table td:not(:first-child){text-align:center;font-variant-numeric:tabular-nums}.amazon-campaigns .meta-table th:not(:first-child) .ig-sort{width:100%;text-align:center;justify-content:center}.amazon-campaigns .meta-table th:first-child,.amazon-campaigns .meta-table td:first-child{text-align:left}

.lg-op-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.lg-op-kpi{padding:16px;display:flex;flex-direction:column;gap:8px}.lg-op-kpi strong{font-size:27px}.lg-op-kpi span{font-size:12px}.lg-op-kpi small{font-size:11px;color:var(--muted)}.lg-op-warning{border:1px solid #cc594e66}.lg-op-warning strong{color:#bd5146}.lg-overdue{background:#cc594e0c}.lg-attention{padding:20px}.lg-attention td small{font-size:10px;color:var(--muted)}@media(max-width:1400px){.lg-op-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}

.lg-journey{padding:20px}.lg-journey-stages{display:grid;grid-template-columns:1fr .8fr 1fr .8fr 1fr;gap:16px;align-items:center;margin:20px 0}.lg-journey-stages>div{display:flex;flex-direction:column;gap:8px}.lg-journey-stages strong{font-size:27px}.lg-journey-stages small{font-size:11px;color:var(--muted)}.lg-journey-time{color:#277fa9;text-align:center}.lg-journey-time b{font-size:20px}.lg-attention>summary{cursor:pointer;font-weight:600}.lg-attention[open]>.lg-head{margin-top:20px}@media(max-width:900px){.lg-journey-stages{grid-template-columns:1fr}.lg-journey-time{text-align:left}}

.lc-dashboard .lc-compact-cards{grid-template-columns:repeat(5,minmax(0,1fr))}.lc-dashboard .lg-head{flex-wrap:wrap;gap:12px}.lc-dashboard .source-details td,.lc-dashboard .source-details th{padding:10px;text-align:right;white-space:nowrap}.lc-dashboard .source-details td:first-child,.lc-dashboard .source-details th:first-child{text-align:left}@media(max-width:1100px){.lc-dashboard .lc-compact-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){.lc-dashboard .lc-compact-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
.lc-dashboard .lc-platforms{display:flex;flex-wrap:wrap;gap:8px}.lc-dashboard .lc-platforms button{display:inline-flex;align-items:center;justify-content:center}.lc-dashboard .lc-tip{max-height:300px;overflow:auto;min-width:300px}.lc-dashboard .lc-tip section{margin-top:10px}.lc-dashboard .lc-tip section>b{display:block;margin-bottom:6px}.lc-dashboard .lc-tip section div{display:flex;gap:8px;align-items:center;justify-content:space-between}
.lc-dashboard .lc-compact-cards{grid-template-columns:repeat(4,minmax(0,1fr))}.lc-invoice{padding:20px}.lc-invoice .lc-header{display:flex;justify-content:space-between;flex-wrap:wrap;margin-bottom:14px}.lc-invoice h2{font-size:16px;margin:0}.lc-invoice table{width:100%;border-collapse:collapse;font-size:12px}.lc-invoice td,.lc-invoice th{padding:12px;text-align:right;white-space:nowrap;border-bottom:1px solid #7895a322}.lc-invoice th:first-child{text-align:left}.lc-invoice td small{display:block;margin-top:5px;opacity:.65;font-size:11px}.lc-invoice-total{background:#277ea40a}@media(max-width:900px){.lc-dashboard .lc-compact-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Country-aware navigation: only the active section opens. */
body{--sidebar-width:244px}body.nav-collapsed{--sidebar-width:72px}
#sections .sidebar-heading{height:48px;min-height:48px;margin-bottom:20px;gap:4px}
#sections .sidebar-heading .brand-logo{width:180px;height:44px;min-width:0}
#sections #nav-toggle{flex:none;width:24px;padding:4px;font-size:24px;border-radius:8px}
#sections .nav-favicon{display:none}
#sections .tab{gap:10px;min-height:42px;box-sizing:border-box}
#sections .nav-icon{display:block;width:20px;height:20px;min-width:20px;flex:none}
#sections .nav-chevron{margin-left:auto;font-size:16px}
#sections .nav-branch{margin:3px 0 8px 23px;padding-left:9px;border-left:1px solid var(--line-2)}
#sections .nav-branch .tab{min-height:38px;padding:8px 10px;white-space:normal}
#sections .is-active>.nav-parent{background:var(--well);font-weight:600}
#sections .nav-level-one{margin-bottom:3px}
body.nav-collapsed #sections{padding:18px 8px}
body.nav-collapsed #sections .nav-label,body.nav-collapsed #sections .nav-chevron,body.nav-collapsed #sections .nav-branch{display:none!important}
body.nav-collapsed #sections .sidebar-heading{height:76px;min-height:76px;flex-direction:column;gap:0}
body.nav-collapsed #sections .brand-logo{width:40px;height:40px;justify-content:center}
body.nav-collapsed #sections .laboratorio-mark{display:none}
body.nav-collapsed #sections .nav-favicon{display:block;width:36px;height:36px;object-fit:contain}
body.nav-collapsed #sections .tab{padding:11px;justify-content:center}
#sections a:focus-visible,#nav-toggle:focus-visible{outline:2px solid #438ca5;outline-offset:2px}
@media(max-width:700px){body{--sidebar-width:220px}body.nav-collapsed{--sidebar-width:64px}}
