/* Approved compact Home/History. Decorative map never reserves a content column. */
body.customer-theme.customer-vnext main .order-pager{display:grid!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;align-items:center;gap:10px!important;padding:0!important;margin:14px 0!important;border:0!important;background:transparent!important;border-radius:0}
body.customer-theme.customer-vnext main .order-pager>strong{grid-column:auto!important;grid-row:auto!important;padding:0 2px!important;font:700 17px/1.7 system-ui;white-space:nowrap}
body.customer-theme.customer-vnext main .order-pager>a,body.customer-theme.customer-vnext main .order-pager>span{min-height:44px!important;padding:7px 5px!important;box-sizing:border-box;font-size:13px!important;line-height:1.8;white-space:normal;border:1px solid #79608d;border-radius:11px;background:#292032;color:#e3d3ef}
body.customer-theme.customer-vnext main .order-pager>span{opacity:.42}
body.customer-theme.customer-vnext main .app-section-heading{margin-bottom:10px;gap:10px}
body.customer-theme.customer-vnext main .app-section-heading h2{font-size:18px;line-height:1.9}
body.customer-theme.customer-vnext main .app-work-card{position:relative;isolation:isolate;overflow:hidden;min-width:0}
body.customer-theme.customer-vnext main .app-work-card>.cbm-map-art{position:absolute!important;z-index:0!important;pointer-events:none;right:-1%;top:76px;width:76%;max-width:350px;height:min(470px,85%);margin:0;padding:0;animation:none!important;opacity:1}
body.customer-theme.customer-vnext main .app-work-card>.cbm-map-art>.cbm-thailand-map{display:block;width:100%;height:100%;animation:none!important;overflow:visible}
body.customer-theme.customer-vnext main .app-work-card>.cbm-map-art path{opacity:.22;stroke-opacity:.4}
body.customer-theme.customer-vnext main .app-work-card>.cbm-map-art .cbm-area-dot{opacity:.7;fill:#7fffc5;stroke:#caffea;stroke-width:.6}
body.customer-theme.customer-vnext main .app-work-card>.cbm-map-art .cbm-area-halo{opacity:.13}
body.customer-theme.customer-vnext main .app-work-card>.cbm-map-art .cbm-area-leader{opacity:.16}
body.customer-theme.customer-vnext main .app-work-card:not([data-map-active=true])>.cbm-map-art .cbm-area-ring,body.customer-theme.customer-vnext main .app-work-card:not([data-map-active=true])>.cbm-map-art .cbm-country-ring{animation:none!important;opacity:.12}
body.customer-theme.customer-vnext main .app-work-card>.app-work-heading,body.customer-theme.customer-vnext main .app-work-card>.app-work-detail{position:relative;z-index:1;width:100%;box-sizing:border-box}
body.customer-theme.customer-vnext main .app-work-heading .app-work-copy strong{font-size:19px;line-height:1.65;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;display:block!important;-webkit-line-clamp:unset!important;overflow-wrap:anywhere}
body.customer-theme.customer-vnext main .app-work-card[data-service-kind=boost] .app-work-copy>small[data-work-status]{display:none}
body.customer-theme.customer-vnext main .app-work-detail .result-summary-layout{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;width:100%!important;gap:9px!important}
body.customer-theme.customer-vnext main .app-work-detail .result-summary-layout>.result-secondary{grid-column:1/-1!important;width:100%}
body.customer-theme.customer-vnext main .app-work-detail .result-summary-layout>.result-metric,body.customer-theme.customer-vnext main .app-work-detail .result-summary-layout>.result-reach{min-width:0!important;width:auto!important;box-sizing:border-box;padding:12px 9px!important;background:#30263ee8!important;border:1px solid #73538b33!important;border-radius:14px}
body.customer-theme.customer-vnext main .app-work-detail .result-summary-layout strong{white-space:normal!important;overflow-wrap:anywhere;font-size:clamp(19px,5.4vw,27px)!important;line-height:1.5}
body.customer-theme.customer-vnext main .app-work-detail .result-summary-layout span{white-space:normal;overflow-wrap:anywhere;font-size:13px;line-height:1.8}
body.customer-theme.customer-vnext main .app-work-detail .budget-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important;gap:12px!important}
body.customer-theme.customer-vnext main .budget-grid .boost-budget-total strong,body.customer-theme.customer-vnext main .app-history .budget-grid .boost-budget-total strong{color:#f4c879!important;line-height:1.6}
body.customer-theme.customer-vnext main .budget-grid strong{white-space:normal!important;overflow-wrap:anywhere;font-size:clamp(23px,6vw,30px)!important;line-height:1.5}
body.customer-theme.customer-vnext main .budget-grid strong small{font-size:13px;white-space:nowrap}
body.customer-theme.customer-vnext main .app-history .archive-order[data-service-kind=boost]{display:block!important}
body.customer-theme.customer-vnext main .app-history .archive-order[hidden]{display:none!important}
body.customer-theme.customer-vnext main .app-history .archive-boost-body{width:100%;min-width:0;box-sizing:border-box}
body.customer-theme.customer-vnext main .app-history .archive-boost-compact{display:block!important;width:100%;min-width:0}
body.customer-theme.customer-vnext main .app-history .archive-result-inline{display:flex!important;flex-direction:column!important;width:100%;gap:0}
body.customer-theme.customer-vnext main .app-history .archive-inline-metrics,body.customer-theme.customer-vnext main .app-history .archive-extra-content{width:100%;min-width:0}
body.customer-theme.customer-vnext main .app-history .archive-primary-metrics{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important}
body.customer-theme.customer-vnext main .app-history .archive-primary-metrics>span{min-width:0;padding:12px 9px!important;background:#30263e;border-radius:14px}
body.customer-theme.customer-vnext main .app-history .archive-primary-metrics strong{font-size:clamp(18px,5vw,26px)!important;white-space:normal!important;overflow-wrap:anywhere;line-height:1.6}
body.customer-theme.customer-vnext main .app-history .completed-result-source{display:inline-flex!important;align-items:center;gap:6px;margin:5px 0 10px!important;padding:5px 10px!important;background:#3b3544!important;background-image:none!important;color:#e2dce8!important;border:1px solid #71687d!important;border-radius:9px!important;font-size:13px;line-height:1.9;box-shadow:none!important}
body.customer-theme.customer-vnext main .app-history .completed-result-source:before{display:none!important;content:none!important}
body.customer-theme.customer-vnext main .app-history .archive-delivery{width:100%!important;margin-top:12px!important}
body.customer-theme.customer-vnext main .app-history .archive-delivery .delivery-links{display:flex;flex-direction:column;width:100%}
body.customer-theme.customer-vnext main .app-history .archive-delivery a{min-height:44px;width:100%;box-sizing:border-box}
body.customer-theme.customer-vnext main .app-history .archive-result-period.archive-period-matches-order{display:none!important}
body.customer-theme.customer-vnext main .app-history .archive-order strong{white-space:normal;overflow-wrap:anywhere;line-height:1.7}
@media(prefers-reduced-motion:reduce){body.customer-theme.customer-vnext main .app-work-card>.cbm-map-art *{animation:none!important}}
html[data-cbm-motion=off] body.customer-theme.customer-vnext main .app-work-card>.cbm-map-art *{animation:none!important}
@media(max-width:360px){body.customer-theme.customer-vnext main .order-pager{gap:7px!important}body.customer-theme.customer-vnext main .order-pager>a,body.customer-theme.customer-vnext main .order-pager>span{font-size:12px!important}body.customer-theme.customer-vnext main .app-work-detail .result-summary-layout,body.customer-theme.customer-vnext main .app-history .archive-primary-metrics{gap:6px!important}}
/* Match the existing Home selector so the same golden total wins in both views. */
body.customer-theme.customer-vnext main [data-app-view="home"] .budget-grid>div.boost-budget-total:first-child strong{color:#f4c879!important}
body.customer-theme.customer-vnext main .app-work-detail .result-summary-layout>.result-grid{display:contents!important}
body.customer-theme.customer-vnext main .app-work-detail .result-summary-layout .result-grid>.result-metric,body.customer-theme.customer-vnext main .app-work-detail .result-summary-layout .result-grid>.result-reach{min-width:0!important;box-sizing:border-box;padding:12px 9px!important;background:#30263ee8!important;border:1px solid #73538b33!important;border-radius:14px}
body.customer-theme.customer-vnext main .result-summary-layout .result-metric small{display:block!important;max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.7!important;height:auto!important;max-height:none!important}
/* Waiting results keep metrics, disclosure and refresh in separate full-width rows. */
body.customer-theme.customer-vnext main .result-empty .result-summary-layout{display:block!important;width:100%!important;min-width:0}
body.customer-theme.customer-vnext main .result-empty .result-summary-layout>.result-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important;align-items:stretch}
body.customer-theme.customer-vnext main .result-empty .result-secondary{display:block;width:100%!important;box-sizing:border-box;min-width:0;margin-top:12px}
body.customer-theme.customer-vnext main .result-empty .result-secondary-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px;min-width:0}
body.customer-theme.customer-vnext main .result-empty .result-footer{display:block!important;width:100%!important;min-width:0}
body.customer-theme.customer-vnext main .result-empty .boost-refresh{display:flex!important;flex-direction:column;align-items:stretch!important;gap:6px;width:100%!important;box-sizing:border-box}
body.customer-theme.customer-vnext main .result-empty .boost-refresh button{width:100%!important;max-width:none!important;box-sizing:border-box}
body.customer-theme.customer-vnext main .delivery-status{white-space:normal;overflow-wrap:normal}
body.customer-theme.customer-vnext main .result-provenance .delivery-status.neutral{background:transparent!important;color:#cfc2da!important;border:0!important;padding:0!important;line-height:1.8}
body.customer-theme.customer-vnext main .result-provenance .delivery-status.rejected{background:#45232d!important;color:#ffc3cf!important;border-color:#d66c8266!important}
body.customer-theme.customer-vnext main .result-empty .result-metric.primary>small{font-size:11px!important;line-height:1.8!important;word-break:normal!important;overflow-wrap:normal!important}
/* A short, intentional welcome for customers without current work. */
body.customer-theme.customer-vnext main .app-welcome-compact{padding:20px 18px 22px!important;max-width:560px;margin:12px auto 20px;overflow:hidden}
body.customer-theme.customer-vnext main .app-welcome-compact h2{font-size:19px!important;line-height:1.9!important;margin:0 0 4px;word-break:normal;overflow-wrap:normal}
body.customer-theme.customer-vnext main .app-welcome-compact>p{font-size:13px!important;line-height:1.9!important;margin:0}
body.customer-theme.customer-vnext main .app-welcome-compact .app-welcome-actions{display:flex;align-items:stretch;gap:7px;margin-top:18px}
body.customer-theme.customer-vnext main .app-welcome-compact .app-welcome-actions a{display:flex!important;flex-direction:row!important;align-items:center;justify-content:center;gap:8px;width:100%;min-height:46px;padding:8px 10px;font-size:14px!important;line-height:1.9;box-sizing:border-box}
body.customer-theme.customer-vnext main .app-welcome-compact .app-welcome-actions span{white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important}
body.customer-theme.customer-vnext main .empty-service-art{display:block;width:min(100%,280px);height:auto;margin:0 auto 6px;overflow:visible}
.empty-orbit{transform-origin:140px 82px;animation:cbm-empty-orbit 18s linear infinite}
.empty-service-float{animation:cbm-empty-float 6s ease-in-out infinite}
.empty-brand{animation:cbm-empty-glow 4s ease-in-out infinite}
@keyframes cbm-empty-orbit{to{transform:rotate(360deg)}}
@keyframes cbm-empty-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
@keyframes cbm-empty-glow{0%,100%{opacity:.8}50%{opacity:1}}
@media(prefers-reduced-motion:reduce){.empty-service-art *{animation:none!important}}
html[data-cbm-motion=off] .empty-service-art *{animation:none!important}
body.customer-theme.customer-vnext main .customer-app .app-work-detail .result-summary-layout .result-grid>.result-metric.primary>small{font-size:11px!important;line-height:1.8!important;word-break:normal!important;overflow-wrap:normal!important}

/* Square Page artwork fills its existing frame without the legacy flex-basis gap. */
body.customer-theme.customer-vnext main .customer-page-profile{flex:0 0 42px!important;object-fit:cover!important;padding:0!important}
