/* Verified against 所有页面: 1553:22759, 1553:24904, 1553:24312 and task panel 2248:11078. */
:root{--cy-query-hover:rgb(255 255 255 / .05);--cy-health-baseline:rgb(255 255 255 / .55)}
html[data-theme=light]{--cy-health-baseline:rgb(0 0 0 / .35)}
/* Shared page rhythm; source-specific rules in the existing stylesheets still define their own layouts. */
.business-pages>.bp-heading h1{line-height:20px;margin-bottom:15px}
.business-pages>.bp-heading p{font-size:16px;line-height:16px}
.business-pages>.bp-heading{margin-bottom:30px}
.business-pages>.bp-panel{margin-bottom:30px}
.business-pages>.bp-panel:last-child{margin-bottom:0}
.app-shell[data-page=audience] .bp-heading{margin-bottom:7px}
.app-shell[data-page=attribution] .bp-heading h1{line-height:24px}
.bp-health-strip{height:44px}
.bp-health-strip>div{display:flex;align-items:center;padding-top:0;padding-bottom:0;font-size:14px;line-height:14px}
/* Source uses solid layers and outlines for floating content. */
:is(.business-dialog,.dash-dialog,.bp-record-popover,.bp-brand-menu,.bp-calendar,.bp-select-menu,.submenu,.tab-context-menu,.language-menu,.chart-tooltip,.bp-chart-tooltip,.bp-catalog-card){box-shadow:none}
/* Shared query/reset controls: 96/80 × 32, R4; pressed movement does not change layout. */
:is(.filter-button,.bp-filter-actions .bp-button){height:36px;line-height:16px;font-size:16px;border-radius:4px}
:is(.filter-button.primary,.bp-filter-actions .bp-button.primary){display:flex;align-items:center;justify-content:center;gap:6px;width:96px;min-width:96px;padding:0 9px;font-weight:500;color:rgb(255 255 255 / .95);background:var(--cy-primary);border:1px solid rgb(255 255 255 / .1);filter:none}
html[data-theme=light] :is(.filter-button.primary,.bp-filter-actions .bp-button.primary){color:rgb(255 255 255 / .95);background:var(--cy-primary);border-color:rgb(255 255 255 / .1)}
:is(.filter-button.primary,.bp-filter-actions .bp-button.primary):is(:hover,:active,[aria-busy=true]){background:linear-gradient(var(--cy-query-hover),var(--cy-query-hover)),var(--cy-primary);box-shadow:none;filter:none}
:is(.filter-button,.bp-filter-actions .bp-button):active:not(:disabled){transform:translateY(2px)}
:is(.filter-button.primary,.bp-filter-actions .bp-button.primary)[aria-busy=true]{opacity:1;cursor:progress;transform:none}
.cy-query-spinner{display:block;flex:none;width:14px;height:14px;animation:cy-query-spin .9s steps(12,end) infinite}
@keyframes cy-query-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.cy-query-spinner{animation:none}}
/* The revised dark health frame 1553:27236 corrects the old black markers. */
.bp-score-ring span{color:var(--cy-white-55)}
.bp-structure-right .bp-track:before,.bp-structure-right .bp-ratio-legend>span:nth-child(2) i{background:var(--cy-health-baseline)}
.bp-diagnosis-toggle.bp-button,html[data-theme=light] .bp-diagnosis-toggle.bp-button{color:#7197ff;background:rgb(61 91 246 / .1);border-color:rgb(61 91 246 / .35);font-size:16px;line-height:16px}
.bp-structure-panel .bp-structure-track:before{border-color:var(--cy-white-55)}
.bp-structure-panel .bp-structure-row>small{color:var(--cy-white-55)}
/* Updated task panel: x260/y164, 1630×488 at the original expanded canvas. */
.app-shell[data-page=tasks] .bp-heading{height:20px;min-height:20px;margin:0 0 30px;align-items:flex-start}
.app-shell[data-page=tasks] .bp-heading h1{font-size:20px;line-height:20px;margin:0}
.bp-tasks-panel.bp-panel{padding:29px 29px 21px;margin:0;min-height:488px;border-radius:12px}
.bp-tasks-summary{height:12px;line-height:14px;margin:0 0 15px;align-items:center}
.bp-task-table{table-layout:fixed;width:100%;min-width:1150px;font-size:16px;line-height:16px}
.bp-task-table th{height:48px;padding:0 12px;background:var(--cy-white-5);font-size:14px;line-height:14px;color:var(--bp-muted)}
.bp-task-table td{height:58px;padding:0 12px;vertical-align:middle;font-size:16px;line-height:16px}
.bp-task-table :is(th,td):first-child{padding-left:12px}
.bp-task-table :is(th,td):last-child{padding-right:12px}
.bp-task-table .bp-task-name{min-width:0}
.bp-task-table .bp-task-name strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16px;line-height:16px;font-weight:600}
.bp-task-table .bp-task-name small{margin-top:4px;font-size:10px;line-height:10px;overflow:hidden;text-overflow:ellipsis}
.bp-task-table .bp-task-progress-copy{display:block;font-size:10px;line-height:10px}
.bp-task-table .bp-progress{width:123px;max-width:100%;height:3px;margin-top:4px}
.bp-task-table .bp-progress i{background:#7197ff}
.bp-task-table .bp-task-placeholder{color:var(--bp-muted)}
.bp-tasks-panel .bp-pagination{height:60px;min-height:60px;margin-top:16px;padding:0 2px;font-size:14px;line-height:14px}
.bp-tasks-panel .bp-page-buttons{gap:12px}
.bp-tasks-panel .bp-page-buttons button[aria-current=page],html[data-theme=light] .bp-tasks-panel .bp-page-buttons button[aria-current=page]{background:var(--cy-white-10);color:var(--cy-white-95)}
.app-shell[data-page=tasks] .business-pages>.bp-demo-note{position:absolute;width:1px;height:1px;padding:0;margin:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}

/* Health: revised cards 1553:28405 and the title/subtitle rhythm from 1553:28136. */
.app-shell[data-page=health] .bp-section-label{font-size:20px;line-height:20px;margin:30px 0 15px}
.app-shell[data-page=health] .bp-section-label+.bp-muted{margin:0;font-size:16px;line-height:16px}
.app-shell[data-page=health] .bp-health-stages{gap:16px;margin:30px 0}
.app-shell[data-page=health] .bp-health-card{position:relative;height:194px;padding:23px;border-radius:8px}
.app-shell[data-page=health] .bp-health-card h3{display:block;font-size:20px;line-height:20px;font-weight:600;margin:0;white-space:nowrap}
.app-shell[data-page=health] .bp-health-card h3>.bp-badge{position:absolute;right:23px;top:21px;height:28px;padding:5px 9px;font-size:14px;line-height:14px;font-weight:400;border-radius:4px}
.app-shell[data-page=health] .bp-stage-share{position:absolute;left:23px;right:23px;top:63px;margin:0;display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.app-shell[data-page=health] .bp-health-card .bp-number{font:700 40px/40px 'D-DIN','Bahnschrift',Inter,sans-serif}
.app-shell[data-page=health] .bp-stage-share small{padding-top:4px;font-size:14px;line-height:14px}
.app-shell[data-page=health] .bp-stage-share small b{font-size:16px;line-height:16px;margin-top:8px;font-weight:600}
.app-shell[data-page=health] .bp-stage-meter{position:absolute;left:23px;right:23px;top:131px;height:8px;margin:0;border-radius:4px}
.app-shell[data-page=health] .bp-stage-meter i{background:#d29a60;border-radius:4px}
.app-shell[data-page=health] .bp-stage-meter:after{width:2px;top:-6px;bottom:-6px;border-radius:1px}
.app-shell[data-page=health] .bp-stage-base{position:absolute;left:23px;right:23px;top:157px;font-size:14px;line-height:14px}
.app-shell[data-page=health] .bp-stage-base>span:last-child{color:var(--cy-white-75)}
.business-pages [data-bp=diagnosis-all],html[data-theme=light] .business-pages [data-bp=diagnosis-all]{width:180px;height:36px;padding:0;color:#7197ff;background:rgb(61 91 246 / .1);border:1px solid rgb(61 91 246 / .35);font-size:16px;line-height:16px;font-weight:600}
@media(min-width:1200px){.app-shell[data-page=health] .bp-health-top{grid-template-columns:300px minmax(0,1fr)}}
@media(min-width:1440px){
 .app-shell[data-page=health] .bp-health-advice .bp-callout{height:139px}
 .app-shell[data-page=health] .bp-health-advice .advice-line p{line-height:14px}
 .app-shell[data-page=health] .bp-health-top>.bp-panel{height:330px}
 .app-shell[data-page=health] .bp-structure-right .bp-track{left:38.336%;width:37.52%}
}

/* Native buttons center their flow content; pin the source card title independently of its absolute chart. */
.app-shell[data-page=health] .bp-health-card h3{position:absolute;left:23px;right:23px;top:23px;height:20px;text-align:left}
.app-shell[data-page=health] .bp-health-card h3>.bp-badge{top:-2px;right:0}
.business-pages .bp-button{font-size:16px;line-height:16px}
.business-pages .bp-button.small{font-size:14px;line-height:14px}
.business-pages .bp-panel h2{line-height:20px}
