html[data-theme=light] .channel-list-collapse img{filter:brightness(0);opacity:.55}
html[data-theme=light] .sidebar{background:#fff}
html[data-theme=light] .sidebar .nav-icon img,html[data-theme=light] .settings-button img,html[data-theme=light] .collapse-button img,html[data-theme=light] .header-tools img,html[data-theme=light] .search-box>img,html[data-theme=light] .bp-task-shortcut img{filter:brightness(0);opacity:.65}
html[data-theme=light] .sidebar .is-selected .nav-icon img{filter:none;opacity:1}
html[data-theme=light] .sidebar.is-collapsed .is-selected .nav-icon img{filter:brightness(0)}
html[data-theme=light] .nav-item.is-selected{color:#fff}
html[data-theme=light] .sidebar.is-collapsed .nav-item.is-selected{color:var(--bp-text)}
html[data-theme=light] .filter-input,html[data-theme=light] .bp-filter input[type=date]{color-scheme:light}
html[data-theme=light] .filter-chevron{filter:brightness(0);opacity:.5}
html[data-theme=light] .language-menu button[aria-checked=true],html[data-theme=light] .language-menu button:hover{color:var(--bp-text)}
html[data-theme=light] .distribution-panel,html[data-theme=light] .is-sidebar-collapsed .distribution-panel{background:#f6f6f8}
html[data-theme=light] .chart-svg .grid-line{stroke:#00000018}
html[data-theme=light] .chart-svg .crosshair{stroke:#00000055}
html[data-theme=light] .bar-hover-band,html[data-theme=light] .channel-hover-band{fill:black}
html[data-theme=light] .chart-tooltip,html[data-theme=light] .chart-tooltip.bar-tooltip,html[data-theme=light] .chart-tooltip.channel-tooltip{background:#fff;border-color:#00000025}
html[data-theme=light] .dash-dialog,html[data-theme=light] .dash-dialog.channel-list-dialog,html[data-theme=light] .channel-list-table th{background:#fff}
html[data-theme=light] .channel-list-table td,html[data-theme=light] .channel-list-table th{border-color:#00000018}
html[data-theme=light] .card-divider{background:#00000018}
html[data-theme=light] .deep-link{background:#3d5bf610}
html[data-theme=light] .tip-category{border-color:#00000008}
html[data-theme=light] .bp-chart-tooltip{background:#fff}
html[data-theme=light] .bp-filter,html[data-theme=light] .tab-strip{background:#f7f7f9}
html[data-theme=light] .bp-mono-icon{filter:brightness(0);opacity:.75}
html[data-theme=light] .distribution-grid .chart-legend>span{color:var(--cy-white-75)!important}
html[data-theme=light] .distribution-grid svg path[stroke="#ffffff55"]{stroke:var(--cy-black-35)}
html[data-theme=light] .distribution-grid svg circle[fill="#ffffff55"]{fill:var(--cy-black-35)}
html[data-theme=light] .bp-record-popover{background:#fff;border-color:rgb(0 0 0 / .2)}
html[data-theme=light] .bp-record-body input{background-color:#f2f2f6}
html[data-theme=light] .bp-record-row{background:var(--cy-black-3);border-color:var(--cy-black-10)}
html[data-theme=light] .bp-record-close img,html[data-theme=light] .bp-record-remove img{filter:brightness(0);opacity:.55}
html[data-theme=light] .bp-record-open b{color:#8b62b6}
html[data-theme=light] .bp-calendar-nav img,html[data-theme=light] .bp-calendar-month-label img{filter:brightness(0);opacity:.55}
html[data-theme=light] #dash-insights .c5a-explanation-trigger>img{filter:brightness(0)}
html[data-theme=light] .bp-filter-control>img,html[data-theme=light] .bp-filter-date>img,html[data-theme=light] .bp-task-download>img{filter:brightness(0)}
html[data-theme=light] .c5a-stage-art img,html[data-theme=light] .c5a-clock img{filter:brightness(.5)}
/* Exact palette from 所有页面 white frames 1184:30082 / 31393 / 32376 / 33106 / 21088 / 22972. */
html[data-theme=light]{
 --cy-base:#fafbfe;--cy-surface:#fff;
 --cy-white-95:var(--cy-black-95);--cy-white-75:var(--cy-black-75);--cy-white-55:var(--cy-black-55);--cy-white-35:var(--cy-black-35);--cy-white-10:var(--cy-black-5);--cy-white-5:var(--cy-black-5);
 --cy-tab-accent:#7197ff;--bp-card:#fff;--bp-soft:var(--cy-black-1);--bp-border:var(--cy-black-5);--bp-muted:var(--cy-black-55);--bp-text:var(--cy-black-95);
 --bp-green:#42cf8a;--bp-red:#e15454;--bp-orange:#ea9d4d;--bp-purple:#ac8dd0;
 --theme-control:var(--cy-black-1);--theme-link:#3d5bf6;--theme-on-primary:rgb(255 255 255 / .95);color-scheme:light;
}
html[data-theme=light] .dashboard{--dash-card:#fff;--dash-green:#42cf8a;--dash-red:#e15454;--dash-orange:#ea9d4d}
html[data-theme=light] :is(.sidebar,.tab-strip,.filter-bar,.bp-filter,.bp-panel,.asset-card,.dash-panel,.distribution-panel,.is-sidebar-collapsed .distribution-panel,.business-dialog,.dash-dialog,.bp-record-popover,.bp-brand-menu,.bp-calendar){background:#fff}
html[data-theme=light] :is(.tab-strip,.filter-bar,.bp-filter,.sidebar){border-color:var(--cy-black-5)}
html[data-theme=light] :is(.filter-input,.bp-brand-trigger,.bp-filter .bp-input,.bp-input,.search-box,.filter-button,.bp-filter-actions .bp-button){background:var(--cy-black-1);border-color:var(--cy-black-5);color:var(--cy-black-95)}
html[data-theme=light] :is(.filter-label,.bp-filter label){color:var(--cy-black-75)}
html[data-theme=light] .date-placeholder{color:var(--cy-black-95)}
html[data-theme=light] .date-control:not(.has-value) .filter-input{color:transparent}
html[data-theme=light] :is(.filter-button.primary,.bp-button.primary,.dialog-primary){background:#3d5bf6;color:var(--theme-on-primary);border-color:var(--cy-black-5)}
html[data-theme=light] :is(.segmented button,.period-tabs button){color:var(--cy-black-95)}
html[data-theme=light] :is(.segmented button[aria-pressed=true],.period-tabs button[aria-pressed=true],.bp-page-buttons button[aria-current=page],.bp-brand-option.is-active,.bp-calendar-grid button[aria-pressed=true],.bp-calendar-grid button.is-highlighted,.bp-calendar-months button[aria-pressed=true]){background:#3d5bf6;color:var(--theme-on-primary)}
html[data-theme=light] .segmented{background:var(--cy-black-1);border-color:var(--cy-black-5)}
html[data-theme=light] .channel-filters .segmented,html[data-theme=light] .a3-controls .segmented{background:transparent;border-color:var(--cy-black-35)}
html[data-theme=light] :is(.ops-strip,.insights,.bp-callout,.a3-focus,.bp-health-strip){background:#fff5eb;border-color:rgb(234 157 77 / .35)}
html[data-theme=light] :is(.ops-item+.ops-item:before,.card-divider,.asset-card .card-divider){background:var(--cy-black-5)}
html[data-theme=light] :is(.bp-text-button,.detail-link,.deep-link,.dashboard-footer button,.c5a-explanation-trigger,.bp-score>button){color:#3d5bf6}
html[data-theme=light] .deep-link{background:rgb(61 91 246 / .1);border-color:rgb(61 91 246 / .35)}
html[data-theme=light] .deep-link:hover{background:rgb(61 91 246 / .15)}
html[data-theme=light] .a3-analysis-toggle{color:#7197ff}
html[data-theme=light] .c5a-explanation-trigger{background:transparent;border-color:transparent}
html[data-theme=light] .page-tab.is-active .tab-button{color:#7197ff}
html[data-theme=light] .activity-pill{color:#42cf8a;background:rgb(66 207 138 / .1);border-color:rgb(66 207 138 / .35)}
html[data-theme=light] .warning-title .danger-pill{color:#e15454;background:rgb(225 84 84 / .1);border-color:rgb(225 84 84 / .35)}
html[data-theme=light] :is(.sidebar .nav-icon img,.settings-button img,.collapse-button img,.header-tools img,.search-box>img,.bp-task-shortcut img){filter:brightness(0);opacity:1}
html[data-theme=light] .sidebar:not(.is-collapsed) .is-selected .nav-icon img{filter:none;opacity:1}
html[data-theme=light] .sidebar.is-collapsed .is-selected .nav-icon img{filter:brightness(0);opacity:1}
html[data-theme=light] .sidebar:not(.is-collapsed) .nav-item.is-selected{color:var(--theme-on-primary)}
html[data-theme=light] :is(.bp-record-trigger,.record-trigger){background:var(--cy-black-1);border-color:var(--cy-black-5);color:var(--cy-black-75)}
html[data-theme=light] :is(.bp-record-trigger>img,.record-trigger>img){content:url('assets/dashboard-record-light.svg');filter:none;opacity:1}
html[data-theme=light] :is(.filter-chevron,.bp-filter-control>img,.bp-filter-date>img,.bp-task-download>img){filter:brightness(0);opacity:1}
html[data-theme=light] .insight-head h2>img{content:url('assets/dashboard-insight-light.svg')}
html[data-theme=light] .chart-svg .grid-line{stroke:var(--cy-black-5)}
html[data-theme=light] .chart-svg .crosshair{stroke:rgb(48 50 65 / .35)}
html[data-theme=light] :is(.chart-tooltip,.chart-tooltip.bar-tooltip,.chart-tooltip.channel-tooltip,.distribution-grid .chart-tooltip,.bp-chart-tooltip){background:#fff;color:var(--cy-black-95);border-color:var(--cy-black-5);box-shadow:none}
html[data-theme=light] :is(.dash-dialog.channel-list-dialog,.channel-list-table th){background:#fff;border-color:var(--cy-black-5)}
html[data-theme=light] :is(.channel-list-table th,.channel-list-table td,.bp-table th,.bp-table td){border-color:var(--cy-black-5)}
html[data-theme=light] .bp-record-body input{background:var(--cy-black-1)}
html[data-theme=light] .bp-record-row{background:var(--cy-black-1);border-color:var(--cy-black-5)}
html[data-theme=light] .bp-record-open b{color:#bea6da}
html[data-theme=light] .a3-trend .segmented{background:#fafbfe}
html[data-theme=light] .a3-loss-metrics article{background:rgb(234 157 77 / .1)}
html[data-theme=light] .a3-loss-metrics article+article{background:var(--cy-black-1)}

/* Neutral artwork uses the same exported vectors with white/black paints switched; brand hues are preserved. */
html[data-theme=light] .bp-search{background-image:url('assets/search-light.svg')}
html[data-theme=light] .c5a-stage-art img,html[data-theme=light] .c5a-clock img{filter:none}
html[data-theme=light] img[src$="/c5a-stage-1.svg"]{content:url('assets/c5a-stage-1-light.svg')}
html[data-theme=light] img[src$="/c5a-stage-2.svg"]{content:url('assets/c5a-stage-2-light.svg')}
html[data-theme=light] img[src$="/c5a-stage-3.svg"]{content:url('assets/c5a-stage-3-light.svg')}
html[data-theme=light] img[src$="/c5a-stage-4.svg"]{content:url('assets/c5a-stage-4-light.svg')}
html[data-theme=light] img[src$="/c5a-stage-5.svg"]{content:url('assets/c5a-stage-5-light.svg')}
html[data-theme=light] img[src$="/c5a-clock-base.svg"]{content:url('assets/c5a-clock-base-light.svg')}
html[data-theme=light] img[src$="/c5a-clock-hands.svg"]{content:url('assets/c5a-clock-hands-light.svg')}
html[data-theme=light] img[src$="/a3-funnel-1.svg"]{content:url('assets/a3-funnel-1-light.svg')}
html[data-theme=light] img[src$="/a3-funnel-2.svg"]{content:url('assets/a3-funnel-2-light.svg')}
html[data-theme=light] img[src$="/a3-funnel-3.svg"]{content:url('assets/a3-funnel-3-light.svg')}

html[data-theme=light] img[src$="/dashboard-core.svg"]{content:url('assets/dashboard-core-light.svg')}
html[data-theme=light] img[src$="/dashboard-idea.svg"]{content:url('assets/dashboard-idea-light.svg')}
html[data-theme=light] .bp-audience-toolbar .bp-search{background-image:url('assets/search-light.svg')}
html[data-theme=light] .bp-attr-legend>span:first-child i{background:#ea9d4d}

html[data-theme=light] .bp-attribution-kpis .bp-kpi:nth-child(3) .bp-badge{color:#fb6b54}

html[data-theme=light] .expand-channels>img{content:url('assets/filter-chevron-14.svg');filter:brightness(0);opacity:1}

/* 白版主菜单选中过程 / 2135:8946. Inside stroke keeps each menu row 254px wide. */
html[data-theme=light] .submenu{border:1px solid var(--cy-black-5);padding:3px;background:#fff;border-radius:8px;box-shadow:none}
html[data-theme=light] .submenu-link:not([aria-current=page]){font-weight:400;color:var(--cy-black-75)}
html[data-theme=light] .submenu-link:not([aria-current=page]):is(:hover,:focus-visible,.is-preview-hover){background:var(--cy-black-10);font-weight:400;color:var(--cy-black-75)}
html[data-theme=light] .sidebar::after{left:auto;right:0;width:1px;background:var(--cy-black-5)}
html[data-theme=light] .sidebar .footer-rule{background:var(--cy-black-5)}
html[data-theme=light] .chart-controls .segmented{background:var(--cy-black-1);box-shadow:inset 0 0 0 1px var(--cy-black-5)}

/* All light segmented containers share the same neutral source surface and OUTSIDE stroke. */
html[data-theme=light] .segmented{border:0;outline:1px solid var(--cy-black-5);outline-offset:0;background:var(--cy-black-1);box-shadow:none}
html[data-theme=light] .chart-controls .segmented{border:0;outline:1px solid var(--cy-black-5);background:var(--cy-black-1);box-shadow:none}
html[data-theme=light] :is(.channel-filters,.a3-controls) .segmented{width:258px;height:34px;padding:5px;gap:8px;border:0;border-radius:8px;outline:1px solid var(--cy-black-5);outline-offset:0;background:var(--cy-black-1);box-shadow:none;box-sizing:border-box}
html[data-theme=light] :is(.channel-filters,.a3-controls) .segmented button{width:120px;min-width:120px;height:28px;padding:0;font-size:14px;line-height:14px;font-weight:600}
html[data-theme=light] .a3-trend .segmented{background:var(--cy-black-1);outline:1px solid var(--cy-black-5);outline-offset:0;box-shadow:none}
html[data-theme=light] .segmented button[aria-pressed=true]{background:#3d5bf6;color:rgb(255 255 255 / .95);outline:1px solid rgb(255 255 255 / .35);outline-offset:0;box-shadow:none}

html[data-theme=light] .period-tabs button[aria-pressed=true]{background:#3d5bf6;color:rgb(255 255 255 / .95);outline:1px solid rgb(255 255 255 / .35);outline-offset:0;box-shadow:none}

/* Restoring a search image after a background shorthand must also restore its non-repeating placement. */
html[data-theme=light] .bp-search{background-repeat:no-repeat;background-size:14px 14px;background-position:9px center}

html[data-theme=light] input.bp-input.bp-search{background-repeat:no-repeat;background-size:14px 14px}

/* Light audience-record entry: Cy白底100% / opaque white. */
html[data-theme=light] :is(.record-trigger,.bp-record-trigger,.global-audience-records,[data-cy-records]){background:#fff!important}
/* Light business sidepanels: Cy黑5%, 1px OUTSIDE stroke. */
html[data-theme=light] :is(.bp-activity-drawer,.cy-channel-drawer,.cy-audience-export-history){border:0!important;outline:1px solid var(--cy-black-5)!important;outline-offset:0!important;box-shadow:none!important}
/* White popup surfaces: Cy白底100%, Cy黑5% / 1px OUTSIDE. */
html[data-theme=light] :is(dialog,[popover],[role="dialog"],[role="tooltip"],[role="menu"],[role="listbox"],.submenu,.language-menu,.tab-context-menu,.detail-menu-popup,.bp-calendar,.bp-brand-menu,.bp-record-popover,.chart-tooltip,.bp-chart-tooltip,.cy-audience-layer,.cy-audience-export-history){background:#fff!important;border-color:var(--cy-black-5)!important;outline:1px solid var(--cy-black-5)!important;outline-offset:0!important;box-shadow:none!important}
/* Standard neutral content blocks: Cy黑1% fill, Cy黑5% / 1px OUTSIDE. */
html[data-theme=light] :is(.cy-channel-drawer .drill-quality-card,.cy-channel-drawer .drill-attr,.cy-channel-drawer .drill-metric-item,.cy-channel-drawer .drill-strategy,.bp-activity-drawer .bp-activity-overview,.bp-activity-drawer .bp-activity-metric-card,.bp-activity-drawer .bp-activity-period-card,.bp-activity-drawer .bp-activity-flow-card,.cy-audience-records .cy-audience-record-row,.bp-record-popover .bp-record-row,.business-dialog .bp-profile-grid>div,.dash-dialog .dialog-stats>div,.c5a-dialog .c5a-history-box){background:var(--cy-black-1)!important;border-color:var(--cy-black-5)!important;outline:1px solid var(--cy-black-5)!important;outline-offset:0!important;box-shadow:none!important}
/* Reserve paint space for OUTSIDE row outlines without moving the record rows. */
html[data-theme=light] .cy-audience-records [data-record-body]{padding:1px;margin:-1px}
/* White-theme record remove/close assets keep their native 55% alpha, mapped to black. */
html[data-theme=light] .cy-audience-records :is(.cy-audience-remove,[data-record-action="close"])>img{filter:brightness(0);opacity:1}
/* Keep neutral popup text and close assets legible on the white outer surface. */
html[data-theme=light] :is(dialog,[popover],[role="dialog"],[role="tooltip"],[role="listbox"],[role="menu"],.submenu,.language-menu,.tab-context-menu,.bp-calendar,.bp-brand-menu,.bp-record-popover,.detail-menu-popup,.chart-tooltip,.bp-chart-tooltip,.cy-audience-layer,.cy-audience-export-history){color:var(--cy-white-95)!important}
html[data-theme=light] :is(.cy-audience-export-close,.bp-dialog-close,[data-toast="close"])>img{filter:brightness(0);opacity:1}
html[data-theme=light] .cy-audience-clear-confirm [data-confirm="yes"]{color:rgb(255 255 255 / .95)}
/* Light-only refinements: consistent menu surface and a visible native-alpha record icon. */
html[data-theme="light"]{--cy-divider-soft:var(--cy-black-4)}
html[data-theme="light"] body .sidebar>.sidebar-footer{background:#fff!important;background-image:none!important}
html[data-theme="light"] body :is(#cy-top-audience-tags,.global-audience-records)>img{filter:brightness(0)!important;opacity:1!important}
/* Content separators use4% black; control/card outlines and data strokes are untouched. */
html[data-theme="light"] :is(.card-divider,.footer-rule,.sidebar-utility-divider,.a3-kpi-divider,.insight-divider){background-color:var(--cy-divider-soft)!important}
html[data-theme="light"] .sidebar::after,
html[data-theme="light"] .filter-bar::after,
html[data-theme="light"] .workspace-header::after,
html[data-theme="light"] .filter-bar::before,
html[data-theme="light"] .ops-item+.ops-item::before,
html[data-theme="light"] .bp-stage-diagnosis:not(.bp-all-diagnosis) .bp-diagnosis-columns::before,
html[data-theme="light"] .bp-callout>div::before,
html[data-theme="light"] .bp-attribution-notice::before{background-color:var(--cy-divider-soft)!important}
html[data-theme="light"] :is(hr,table th,table td,.a3-recovery-row,.a3-kpi p,.a3-stage-detail,.c5a-stage-grid,.bp-source-history article,.dialog-head,.definition-row,.asset-card .extra-metrics,.more-metric-group+.more-metric-group,.bp-diagnosis-table-head,.bp-diagnosis-table-row,.bp-structure-row,.bp-stage-diagnosis .bp-panel-head,.bp-kpi footer,.bp-history-footer,.bp-calendar footer,.oneid-entry-results li,.np-advice,.np-risk-alert,.np-status-tabs,.np-review-facts>div,.cy-channel-drawer .drill-mod-header,.cy-channel-drawer .drill-module+.drill-module,.cy-audience-export-job,.cy-audience-records>footer,.bp-record-popover .bp-record-footer,.detail-shared-shell .topbar){border-top-color:var(--cy-divider-soft)!important;border-bottom-color:var(--cy-divider-soft)!important}
/* Only attribution contribution-table header fill is eased from5% to3%. */
html[data-theme="light"] body .app-shell[data-page="attribution"] #workspace #business-pages #attribution-table .bp-attribution-table thead,
html[data-theme="light"] body .app-shell[data-page="attribution"] #workspace #business-pages #attribution-table .bp-attribution-table thead>tr{background:transparent!important}
html[data-theme="light"] body .app-shell[data-page="attribution"] #workspace #business-pages #attribution-table .bp-attribution-table thead>tr>th{background:var(--cy-black-3)!important}

/* White table headers reference Cy黑 styles, never a sampled opaque gray. */
html[data-theme="light"]{--cy-table-header-fill:var(--cy-black-3);--cy-table-header-text:var(--cy-black-55);--cy-divider-soft:var(--cy-black-4)}
html[data-theme="light"] table :is(thead,thead>tr,tr:has(>th:not([scope="row"]))){background:transparent!important}
html[data-theme="light"] :is(table th:not([scope="row"]),[role="columnheader"]){background:var(--cy-table-header-fill)!important;color:var(--cy-table-header-text)}
html[data-theme="light"] .bp-diagnosis-table-head{background:var(--cy-table-header-fill)!important}
html[data-theme="light"] .bp-diagnosis-table-head>[role="columnheader"]{background:transparent!important}

/* Light audience counts use Cy red opacity directly, never a mix with black text. */
html[data-theme="light"] body #cy-audience-records .cy-audience-record-open>b.cy-audience-number{color:color-mix(in srgb,var(--cy-red,#E15454) 75%,transparent)!important}

/* 2026-11-30: requested outline on the homepage channel-range control only. */
html[data-theme="light"] body .app-shell[data-page="overview"] #workspace #asset-dashboard #dash-channels .segmented[aria-label="渠道统计范围"]{border:0!important;outline:1px solid var(--cy-black-5)!important;outline-offset:0!important;box-shadow:none!important}
html[data-theme="light"] body .app-shell[data-page="weak-pool"] #workspace .np-return-quality{--weak-return-bg:var(--cy-black-1);--weak-return-border:var(--cy-black-5);--weak-return-color:var(--cy-black-75)}
html[data-theme="light"] .app-shell[data-page="tasks"] .workspace-header>.filter-bar>.bp-filter{--tasks-control-bg:var(--cy-black-1);--tasks-control-stroke:var(--cy-black-5);--tasks-chevron-color:var(--cy-black-100)}

/* 2026-11-30: white filters, explicit label55/content75 regular-weight roles. */
html[data-theme="light"] body .app-shell #workspace :is(.filter-form .filter-label,.bp-filter label,.np-inline-filters .np-select-label){color:var(--cy-black-55)!important;font-weight:400!important}
html[data-theme="light"] body .app-shell #workspace :is(.filter-form,.bp-filter,.np-inline-filters) :is(.filter-input,.bp-input,.bp-select-trigger,.bp-brand-trigger,.bp-date-trigger,.bp-filter-date){color:var(--cy-black-75)!important;font-weight:400!important}
html[data-theme="light"] body .app-shell #workspace :is(.filter-form,.bp-filter,.np-inline-filters) :is(.filter-input,.bp-input,.bp-select-trigger,.bp-brand-trigger,.bp-date-trigger,.bp-filter-date)>span{color:var(--cy-black-75)!important;font-weight:400!important}
html[data-theme="light"] body .app-shell #workspace :is(.filter-form,.bp-filter,.np-inline-filters) input::placeholder{color:var(--cy-black-75)!important;font-weight:400!important;opacity:1}
html[data-theme="light"] .app-shell[data-page="weak-pool"] .np-inline-filters{--weak-filter-bg:var(--cy-black-1);--weak-filter-stroke:var(--cy-black-5);--weak-filter-content:var(--cy-black-75);--weak-filter-chevron:var(--cy-black-100)}
html[data-theme="light"] .app-shell[data-page="tasks"] .workspace-header>.filter-bar>.bp-filter{--tasks-control-text:var(--cy-black-75)}
