/* Homepage is the single shared geometry reference for application chrome. */
:root{--cy-content-density:100%;--cy-shared-header-height:52px;--cy-shared-control-height:30px;--cy-shared-header-font:12px;--cy-shared-header-pad:11px;--cy-shared-panel-width:420px;--cy-sidepanel-width:420px}
.app-shell #workspace-panel{scrollbar-gutter:stable}
html body:has(>.app-shell)>.app-shell[data-page] #workspace>.workspace-header:not([hidden]):has(>.filter-bar){box-sizing:border-box;display:flex!important;flex-direction:column;position:relative;height:var(--cy-shared-header-height)!important;min-height:var(--cy-shared-header-height)!important;max-height:var(--cy-shared-header-height)!important;flex:0 0 var(--cy-shared-header-height)!important;margin:0!important;padding:0!important;border:0!important;outline:0!important;box-shadow:none!important;background:linear-gradient(var(--cy-white-5),var(--cy-white-5)),var(--cy-base)!important;overflow:visible!important}
html body:has(>.app-shell)>.app-shell[data-page] #workspace>.workspace-header:not([hidden]):has(>.filter-bar):has(>.filter-bar[hidden])::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:var(--cy-white-10);pointer-events:none}
html body:has(>.app-shell)>.app-shell[data-page] #workspace>.workspace-header:not([hidden]):has(>.filter-bar)>.filter-bar{height:var(--cy-shared-header-height)!important;min-height:var(--cy-shared-header-height)!important;flex:none}
html body:has(>.app-shell)>.app-shell[data-page] #workspace>.workspace-header:not([hidden]):has(>.filter-bar) :is(.filter-form,.bp-filter){box-sizing:border-box;height:var(--cy-shared-header-height)!important;min-height:var(--cy-shared-header-height)!important;max-height:var(--cy-shared-header-height)!important;padding:var(--cy-shared-header-pad) 170px var(--cy-shared-header-pad) 30px!important;display:flex;flex-wrap:nowrap!important;align-items:center;column-gap:16px!important;row-gap:0!important;overflow-x:auto;scrollbar-width:none}
html body:has(>.app-shell)>.app-shell[data-page] #workspace>.workspace-header:not([hidden]):has(>.filter-bar) :is(.filter-form,.bp-filter)::-webkit-scrollbar{display:none}
html body:has(>.app-shell)>.app-shell[data-page] #workspace>.workspace-header:not([hidden]):has(>.filter-bar) :is(button,input,select,label,.filter-label,.filter-input,.bp-input,.date-placeholder,.bp-select-trigger>span,.bp-filter-date>span,.bp-brand-trigger>span,.tab-title,.tab-label,.tab-button){font-size:var(--cy-shared-header-font)!important;line-height:var(--cy-shared-header-font)!important;letter-spacing:0px!important;white-space:nowrap}
html body:has(>.app-shell)>.app-shell[data-page] #workspace>.workspace-header:not([hidden]):has(>.filter-bar) :is(.filter-input,.filter-button,.bp-input,.bp-filter-date,.bp-brand-trigger,.bp-date-trigger,.bp-filter .bp-button,.bp-filter .bp-select-trigger){box-sizing:border-box;height:var(--cy-shared-control-height)!important;min-height:var(--cy-shared-control-height)!important}
html body:has(>.app-shell)>.app-shell[data-page] #workspace>.workspace-header:not([hidden]):has(>.filter-bar)>#cy-top-audience-tags{position:absolute!important;top:var(--cy-shared-header-pad)!important;right:calc(30px + var(--app-header-scrollbar,var(--app-content-scrollbar,0px)))!important;height:var(--cy-shared-control-height)!important;min-height:var(--cy-shared-control-height)!important;margin:0!important;padding:0 12px!important;font-size:var(--cy-shared-header-font)!important;line-height:var(--cy-shared-header-font)!important;letter-spacing:0px!important}
html body:has(>.app-shell)>.app-shell[data-page] #workspace>.workspace-header:not([hidden]):has(>.filter-bar)>#cy-top-audience-tags>.cy-top-audience-label{font-size:var(--cy-shared-header-font)!important;line-height:var(--cy-shared-header-font)!important;letter-spacing:0px!important}
html body:has(>.app-shell)>.app-shell[data-page] #workspace>.workspace-header:not([hidden]):has(>.filter-bar)>#cy-top-audience-tags>.oneid-record-count{min-width:16px!important;width:max-content!important;height:16px!important;min-height:16px!important;padding:0 3px!important;font-size:10px!important;line-height:10px!important;letter-spacing:0px!important;border-radius:999px!important;inset:-6px -6px auto auto!important}
html body:has(>.app-shell)>.app-shell[data-page] #workspace>.workspace-header:not([hidden]):has(>.filter-bar) .tab-strip{box-sizing:border-box;height:var(--cy-shared-header-height)!important;min-height:var(--cy-shared-header-height)!important;padding:9px 0!important;align-items:center}
html body:has(>.app-shell)>.app-shell[data-page] #workspace>.workspace-header:not([hidden]):has(>.filter-bar) .tab-scroll{box-sizing:border-box;height:34px!important;min-height:34px!important;padding:2px 30px!important}
html body:has(>.app-shell)>.app-shell[data-page] #workspace>.workspace-header:not([hidden]):has(>.filter-bar) .page-tabs{height:30px!important;align-items:center!important;gap:12px!important}
html body:has(>.app-shell)>.app-shell[data-page] #workspace>.workspace-header:not([hidden]):has(>.filter-bar) .page-tab{box-sizing:border-box;height:30px!important;min-height:30px!important;margin-top:0!important}
html body:has(>.app-shell)>.app-shell[data-page] #workspace>.workspace-header:not([hidden]):has(>.filter-bar) .tab-button{box-sizing:border-box;height:30px!important;align-items:center!important;padding:0 37px 0 12px!important}
html body:has(>.app-shell)>.app-shell[data-page] #workspace>.workspace-header:not([hidden]):has(>.filter-bar) .tab-close{top:8px!important}
html body .app-shell[data-page="audience"] #workspace .cy-audience-switcher{height:var(--cy-shared-header-height)!important;min-height:var(--cy-shared-header-height)!important;padding:var(--cy-shared-header-pad) 30px!important;gap:12px!important;align-items:center!important}
html body .app-shell[data-page="audience"] #workspace .cy-audience-switcher :is(button,.cy-audience-tab-label,.cy-audience-tab-count){font-size:var(--cy-shared-header-font)!important;line-height:var(--cy-shared-header-font)!important;letter-spacing:0px!important}
html body .app-shell[data-page="audience"] #workspace .cy-audience-switcher :is(.cy-audience-return,.cy-audience-tab-nav>button,.cy-audience-tab,.cy-audience-tab-switch,.cy-audience-tab-close){box-sizing:border-box;height:var(--cy-shared-control-height)!important;min-height:var(--cy-shared-control-height)!important}
html body .app-shell[data-page="audience"] #workspace .cy-audience-switcher .cy-audience-tabs{box-sizing:border-box;height:34px!important;min-height:34px!important;padding:2px 4px!important;align-items:center!important}
html body :is(#bp-activity-drawer,#drillPanel,.cy-channel-drawer,.cy-audience-export-history){box-sizing:border-box;width:var(--cy-shared-panel-width)!important;min-width:0!important;max-width:calc(100vw / var(--app-ui-scale,1))!important}
html body :is(#bp-activity-drawer,#drillPanel){padding:30px!important}
html body .cy-audience-export-history>header{padding:30px!important}
html body .cy-audience-export-records{padding-right:30px!important;padding-left:30px!important}
html body .app-shell #workspace .bp-heading-actions>.bp-button,
html body .app-shell #workspace :is([data-bp="audience-export"],[data-bp="audience-export-history"]){box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;height:var(--cy-shared-control-height)!important;min-height:var(--cy-shared-control-height)!important;padding:0 12px!important;font-size:14px!important;line-height:14px!important;letter-spacing:0px!important;white-space:nowrap}
html body .app-shell #workspace :is([data-bp="audience-export"],[data-bp="audience-export-history"])>span{font-size:14px!important;line-height:14px!important;letter-spacing:0px!important}
/* Keep the existing standalone profile chrome on the same authored dimensions when present. */
html body .detail-shared-shell .topbar{height:52px!important;min-height:52px!important;padding:0 30px!important}
html body .detail-shared-shell .topbar :is(button,.breadcrumb,.breadcrumb a,.breadcrumb span){font-size:12px!important;line-height:12px!important;letter-spacing:0px!important}

/* Compact sidepanels: shared width; 30px outer/module gaps; 14px body copy. */
html body :is(#bp-activity-drawer,#drillPanel,.cy-channel-drawer,.cy-audience-export-history){font-size:14px;line-height:14px;letter-spacing:0px}
html body :is(#bp-activity-drawer,#drillPanel,.cy-channel-drawer,.cy-audience-export-history) h2{font-size:20px!important;line-height:20px!important}
html body #bp-activity-drawer :is(h3,h4,.bp-activity-stat-label,.bp-activity-unit,.bp-activity-overview-note,.bp-activity-comparison-label,.bp-activity-comparison-note,.bp-activity-comparison-definition,.bp-activity-flow-description,.bp-activity-flow-meta,.bp-activity-flow-heading h4,.bp-activity-state-label,.bp-activity-state-metrics,.bp-activity-state-value,.bp-activity-state-rate,.bp-activity-guidance,.bp-activity-footnote,.bp-activity-explanation){font-size:14px!important;letter-spacing:0px}
html body #bp-activity-drawer :is(h3,h4,.bp-activity-stat-label,.bp-activity-unit,.bp-activity-comparison-label,.bp-activity-state-label,.bp-activity-state-value,.bp-activity-state-rate){line-height:14px!important}
html body #bp-activity-drawer :is(.bp-activity-overview-note,.bp-activity-comparison-note,.bp-activity-comparison-definition,.bp-activity-flow-description,.bp-activity-flow-meta,.bp-activity-guidance,.bp-activity-footnote,.bp-activity-explanation){line-height:21px;white-space:normal;overflow-wrap:break-word}
html body #bp-activity-drawer :is(.bp-activity-primary strong,.bp-activity-stat-value){font-size:24px!important;line-height:24px!important}
html body #bp-activity-drawer .bp-activity-section-heading{margin-bottom:15px!important}
html body #bp-activity-drawer .bp-activity-section-heading+.bp-activity-metric-card{margin-top:0!important}
html body #bp-activity-drawer .bp-activity-overview-grid{gap:16px!important}
html body #bp-activity-drawer .bp-activity-primary{margin-top:8px!important}
html body #bp-activity-drawer .bp-activity-stat p{margin-top:4px!important}
html body #bp-activity-drawer .bp-activity-comparison-rows{row-gap:16px!important}
html body #bp-activity-drawer :is(.bp-activity-comparison-row,.bp-activity-comparison-scale){grid-template-columns:84px minmax(0,1fr) 76px!important;column-gap:8px!important}
html body #bp-activity-drawer .bp-activity-comparison-difference{margin-top:15px!important;gap:8px!important}
html body #bp-activity-drawer .bp-activity-explanation{padding:16px!important;margin-top:30px!important}
html body #bp-activity-drawer .bp-activity-distribution-layout{grid-template-columns:80px minmax(0,1fr)!important;gap:12px!important;margin-top:15px!important}
html body #bp-activity-drawer .bp-activity-ring{width:80px!important;height:80px!important}
html body #bp-activity-drawer .bp-activity-states{grid-template-columns:8px max-content max-content 64px!important;column-gap:8px!important;grid-auto-rows:minmax(36px,auto)!important}
html body #bp-activity-drawer .bp-activity-state-metrics{gap:4px!important}
html body #bp-activity-drawer .bp-activity-module-rule{margin:30px 0!important}
html body #bp-activity-drawer .bp-activity-flow-rule{margin:16px 0!important}
html body :is(#drillPanel,.cy-channel-drawer) :is(.drill-mod-header,.drill-attr-label,.drill-attr-value,.drill-metric-label,.drill-metric-note,.drill-metric-sub-label,.drill-quality-label,.drill-quality-desc,.drill-predict-note,.drill-predict-guide,.drill-strategy-text,.drill-action){font-size:14px!important;letter-spacing:0px}
html body :is(#drillPanel,.cy-channel-drawer) :is(.drill-metric-value,.drill-quality-score){font-size:24px!important;line-height:24px!important}
html body :is(#drillPanel,.cy-channel-drawer) .drill-quality-score{width:56px!important;height:56px!important;flex-basis:56px!important}
html body :is(#drillPanel,.cy-channel-drawer) :is(.drill-predict-note,.drill-predict-guide,.drill-strategy-text){line-height:21px;white-space:normal;overflow-wrap:break-word}
html body .cy-audience-export-history :is(.cy-audience-export-job>p,.cy-audience-export-job-footer,.cy-audience-export-job-footer button){font-size:14px!important}
html body .cy-audience-export-history .cy-audience-export-job>p{line-height:21px!important;white-space:normal}
/* Original explanatory prose keeps its wrapping within the asset card. */
html body .app-shell[data-page="overview"] #workspace #asset-dashboard #dash-cards.asset-grid>.asset-card.total .total-reference-note{display:block;width:auto!important;max-width:100%!important;min-width:0!important;white-space:normal!important;overflow-wrap:break-word!important;font-size:14px!important;line-height:21px!important}
html body .app-shell[data-page="overview"] #workspace #asset-dashboard #dash-cards.asset-grid>.asset-card.total .total-reference-note span{display:inline;white-space:normal!important;overflow-wrap:break-word!important;font-size:14px!important;line-height:21px!important}

/* Audience entry uses the same icon box on dashboard and audience-list headers. */
html body:has(>.app-shell)>.app-shell[data-page] #workspace>.workspace-header:not([hidden]):has(>.filter-bar)>#cy-top-audience-tags>img{display:block;width:16px!important;height:16px!important;min-width:16px!important;flex:0 0 16px!important;object-fit:contain;transform:none!important}

/* Field labels stay12; selected/placeholder values, action buttons and audience entry use14. */
html body:has(>.app-shell)>.app-shell[data-page] #workspace>.workspace-header:not([hidden]):has(>.filter-bar)>.filter-bar :is(.filter-input,.filter-button,.bp-input,.bp-filter-date,.bp-brand-trigger,.bp-date-trigger,.bp-select-trigger,.date-placeholder),
html body:has(>.app-shell)>.app-shell[data-page] #workspace>.workspace-header:not([hidden]):has(>.filter-bar)>.filter-bar :is(.filter-input,.bp-input,.bp-brand-trigger,.bp-date-trigger,.bp-filter-date,.bp-select-trigger)>span{font-size:14px!important;line-height:14px!important;letter-spacing:0px!important}
html body:has(>.app-shell)>.app-shell[data-page] #workspace>.workspace-header:not([hidden]):has(>.filter-bar)>#cy-top-audience-tags,
html body:has(>.app-shell)>.app-shell[data-page] #workspace>.workspace-header:not([hidden]):has(>.filter-bar)>#cy-top-audience-tags>.cy-top-audience-label{font-size:14px!important;line-height:14px!important;letter-spacing:0px!important}

/* Audience-page navigation and tabs follow the 14px header content scale. */
html body .app-shell[data-page="audience"] #workspace .cy-audience-switcher :is(.cy-audience-return,.cy-audience-tab,.cy-audience-tab-switch,.cy-audience-tab-label,.cy-audience-tab-count){font-size:14px!important;line-height:14px!important;letter-spacing:0px!important}
html body .app-shell[data-page="audience"] #workspace .cy-audience-switcher .cy-audience-return>img{transform:rotate(180deg) scaleY(-1)!important}

/* Empty chrome takes no layout space; the audience entry keeps its original anchor. */
html body:has(>.app-shell)>.app-shell[data-page]:not([data-page="audience"]) #workspace>.workspace-header:not([hidden]):has(>.filter-bar[hidden]){height:0!important;min-height:0!important;max-height:0!important;flex:0 0 0px!important;margin:0!important;padding:0!important;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;overflow:visible!important}
html body:has(>.app-shell)>.app-shell[data-page]:not([data-page="audience"]) #workspace>.workspace-header:not([hidden]):has(>.filter-bar[hidden])::after{display:none!important}

/* 2026-11-30: task-center filters follow the homepage control geometry and type. */
html body:has(>.app-shell)>.app-shell[data-page="tasks"] #workspace>.workspace-header:not([hidden]):has(>.filter-bar)>.filter-bar>.bp-filter{column-gap:16px!important}
html body:has(>.app-shell)>.app-shell[data-page="tasks"] #workspace>.workspace-header:not([hidden]):has(>.filter-bar)>.filter-bar>.bp-filter label,html body:has(>.app-shell)>.app-shell[data-page="tasks"] #workspace>.workspace-header:not([hidden]):has(>.filter-bar)>.filter-bar>.bp-filter label>span:not(.bp-filter-control){font-family:'PingFang SC',sans-serif!important;font-size:12px!important;line-height:12px!important;color:var(--cy-white-55)!important;gap:8px!important}
html body:has(>.app-shell)>.app-shell[data-page="tasks"] #workspace>.workspace-header:not([hidden]):has(>.filter-bar)>.filter-bar>.bp-filter :is(.bp-input,.bp-filter-date,.bp-select-trigger){box-sizing:border-box;height:30px!important;min-height:30px!important;border:0!important;outline:1px solid var(--tasks-control-stroke,var(--cy-white-10))!important;outline-offset:0!important;border-radius:4px!important;background:var(--tasks-control-bg,transparent)!important;font-family:'PingFang SC',sans-serif!important;font-size:14px!important;line-height:14px!important;font-weight:400;letter-spacing:0!important;padding:0 10px!important;color:var(--tasks-control-text,var(--cy-white-55))!important}
html body:has(>.app-shell)>.app-shell[data-page="tasks"] #workspace>.workspace-header:not([hidden]):has(>.filter-bar)>.filter-bar>.bp-filter :is(.bp-input,.bp-filter-date,.bp-select-trigger)>span{font-size:14px!important;line-height:14px!important;font-family:'PingFang SC',sans-serif!important}
html body:has(>.app-shell)>.app-shell[data-page="tasks"] #workspace>.workspace-header:not([hidden]):has(>.filter-bar)>.filter-bar>.bp-filter input.bp-input{color:var(--cy-white-75)!important}
html body:has(>.app-shell)>.app-shell[data-page="tasks"] #workspace>.workspace-header:not([hidden]):has(>.filter-bar)>.filter-bar>.bp-filter input.bp-input::placeholder{color:var(--tasks-control-text,var(--cy-white-55))!important;opacity:1;font-family:inherit!important;font-size:14px!important;line-height:14px!important;font-weight:400!important;letter-spacing:0!important}
html body:has(>.app-shell)>.app-shell[data-page="tasks"] #workspace>.workspace-header:not([hidden]):has(>.filter-bar)>.filter-bar>.bp-filter :is(.bp-select-trigger,.bp-filter-date){position:relative;padding-right:28px!important}
html body:has(>.app-shell)>.app-shell[data-page="tasks"] #workspace>.workspace-header:not([hidden]):has(>.filter-bar)>.filter-bar>.bp-filter :is(.bp-select-trigger,.bp-filter-date)>img,html body:has(>.app-shell)>.app-shell[data-page="tasks"] #workspace>.workspace-header:not([hidden]):has(>.filter-bar)>.filter-bar>.bp-filter .bp-filter-control>img{display:none!important}
html body:has(>.app-shell)>.app-shell[data-page="tasks"] #workspace>.workspace-header:not([hidden]):has(>.filter-bar)>.filter-bar>.bp-filter :is(.bp-select-trigger,.bp-filter-date)::after{content:'';position:absolute;right:10px;top:50%;transform:translateY(-50%);width:10px;height:6px;background:var(--tasks-chevron-color,#fff);mask:url('assets/topbar-chevron.svg') center/10px 6px no-repeat;-webkit-mask:url('assets/topbar-chevron.svg') center/10px 6px no-repeat;pointer-events:none}
html body:has(>.app-shell)>.app-shell[data-page="tasks"] #workspace>.workspace-header:not([hidden]):has(>.filter-bar)>.filter-bar>.bp-filter .bp-filter-actions>.bp-button{height:30px!important;min-height:30px!important;font-family:'PingFang SC',sans-serif!important;font-size:14px!important;line-height:14px!important;padding:0!important}
html body:has(>.app-shell)>.app-shell[data-page="tasks"] #workspace>.workspace-header:not([hidden]):has(>.filter-bar)>.filter-bar>.bp-filter :is(.bp-input,.bp-filter-date,.bp-select-trigger):focus-visible{outline:2px solid var(--cy-primary)!important}
html body:has(>.app-shell)>.app-shell[data-page="tasks"] #workspace>.workspace-header:not([hidden]):has(>.filter-bar)>.filter-bar>.bp-filter .bp-select-trigger{position:absolute!important;inset:0;width:100%!important}

/* 2026-11-30: weak-list controls match the measured homepage, not the old 36/16 variant. */
html body .app-shell[data-page="weak-pool"] #workspace .np-page[data-oneid-page="weak-pool"] .np-inline-filters{column-gap:16px;row-gap:16px;align-items:center;padding-left:30px;padding-right:30px}
html body .app-shell[data-page="weak-pool"] #workspace .np-page[data-oneid-page="weak-pool"] .np-inline-filters .np-select-label{font-family:'PingFang SC',sans-serif!important;font-size:12px!important;line-height:12px!important;font-weight:400!important;color:var(--cy-white-55)!important;gap:8px;flex-wrap:nowrap}
html body .app-shell[data-page="weak-pool"] #workspace .np-page[data-oneid-page="weak-pool"] .np-inline-filters .bp-select-wrap{height:30px!important;min-height:30px!important}
html body .app-shell[data-page="weak-pool"] #workspace .np-page[data-oneid-page="weak-pool"] .np-inline-filters :is(.bp-input,.bp-select-trigger){box-sizing:border-box;height:30px!important;min-height:30px!important;max-height:30px!important;border:0!important;outline:1px solid var(--weak-filter-stroke,var(--cy-white-10))!important;outline-offset:0!important;border-radius:4px;background-color:var(--weak-filter-bg,transparent)!important;font-family:'PingFang SC',sans-serif!important;font-size:14px!important;line-height:14px!important;font-weight:400!important;letter-spacing:0!important;color:var(--weak-filter-content,var(--cy-white-55))!important;padding:0 10px!important}
html body .app-shell[data-page="weak-pool"] #workspace .np-page[data-oneid-page="weak-pool"] .np-inline-filters .bp-input.bp-search{padding-left:30px!important;background-size:14px 14px!important;background-position:10px center!important;background-repeat:no-repeat;color:var(--cy-white-75)!important}
html body .app-shell[data-page="weak-pool"] #workspace .np-page[data-oneid-page="weak-pool"] .np-inline-filters .bp-search::placeholder{color:var(--weak-filter-content,var(--cy-white-55))!important;opacity:1;font-size:14px!important;line-height:14px!important}
html body .app-shell[data-page="weak-pool"] #workspace .np-page[data-oneid-page="weak-pool"] .np-inline-filters .bp-select-trigger{position:absolute!important;inset:0;width:100%!important;padding-right:28px!important}
html body .app-shell[data-page="weak-pool"] #workspace .np-page[data-oneid-page="weak-pool"] .np-inline-filters .bp-select-trigger>span{font-size:14px!important;line-height:14px!important;font-weight:400!important;color:inherit!important}
html body .app-shell[data-page="weak-pool"] #workspace .np-page[data-oneid-page="weak-pool"] .np-inline-filters .bp-select-trigger.has-value{color:var(--weak-filter-content,var(--cy-white-75))!important}
html body .app-shell[data-page="weak-pool"] #workspace .np-page[data-oneid-page="weak-pool"] .np-inline-filters .bp-select-trigger>img{display:none!important}
html body .app-shell[data-page="weak-pool"] #workspace .np-page[data-oneid-page="weak-pool"] .np-inline-filters .bp-select-trigger::after{content:'';position:absolute;right:10px;top:50%;transform:translateY(-50%);width:10px;height:6px;background:var(--weak-filter-chevron,#fff);mask:url('assets/topbar-chevron.svg') center/10px 6px no-repeat;-webkit-mask:url('assets/topbar-chevron.svg') center/10px 6px no-repeat;pointer-events:none}
html body .app-shell[data-page="weak-pool"] #workspace .np-page[data-oneid-page="weak-pool"] .np-inline-filters :is(input,.bp-select-trigger):focus-visible{outline:2px solid var(--cy-primary)!important}
/* Task title/identifier spacing requested locally; keep all 58px rows. */
html body .app-shell[data-page="tasks"] #workspace .bp-task-table .bp-task-name>small{margin-top:8px!important}
