.bs-panel{min-width:0;color:var(--wb-text,#20314a)}
.bs-panel[hidden],.bs-panel [hidden]{display:none!important}
.bs-panel .bs-card{min-width:0;padding:22px;margin-bottom:16px;background:var(--wb-surface,#fff);border:1px solid var(--wb-line,#dfe6ef);border-radius:14px}
.bs-panel .bs-table-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.bs-panel .bs-table-heading h3{margin:0 0 3px}.bs-panel .bs-table-heading span{font-size:12px;color:var(--wb-muted)}
.bs-panel .bs-report-table summary{min-height:38px;cursor:pointer;color:var(--wb-blue);font-size:13px;padding:8px 0}
.bs-panel .bs-report-table summary span{float:right;color:var(--wb-muted);font-size:12px}
.bs-panel .bs-report-table .bs-table-wrap{max-height:480px}
.bs-panel .bs-report-table th{position:sticky;top:0;z-index:1}
.bs-panel .bs-export-image{display:block;width:64px;height:64px;object-fit:contain;max-width:none}
.bs-panel .bs-report-table td{min-width:90px;max-width:360px}
.bs-panel .bs-table-pager{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;padding-top:12px;font-size:12px;color:var(--wb-muted)}
.bs-panel .bs-table-pager>div{display:flex;gap:8px}
.bs-panel .bs-report-coverage{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}
.bs-panel .bs-report-coverage>span{padding:12px 14px;border:1px solid var(--wb-line);border-radius:9px;font-size:12px;color:var(--wb-muted)}
.bs-panel .bs-report-coverage b,.bs-panel .bs-report-coverage small{display:block;margin-top:5px}.bs-panel .bs-report-coverage b{font-size:18px;color:var(--wb-text);font-variant-numeric:tabular-nums}
.bs-panel .bs-report-ai-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:24px;padding:6px 0 20px;border-bottom:1px solid var(--wb-line);margin-bottom:18px}
.bs-panel .bs-report-ai-hero h3{font-size:21px;line-height:1.55;margin-top:8px;overflow-wrap:anywhere}
.bs-panel .bs-report-ai-hero aside{display:flex;flex-direction:column;align-items:center;gap:6px;max-width:180px;padding:18px;background:var(--wb-canvas);border:1px solid var(--wb-line);border-radius:12px}
.bs-panel .bs-report-ai-hero aside strong{font-size:34px;color:var(--wb-blue)}.bs-panel .bs-report-ai-hero aside :is(span,small){font-size:12px;text-align:center;color:var(--wb-muted)}
@media(max-width:600px){.bs-panel .bs-report-coverage{grid-template-columns:1fr}.bs-panel .bs-report-ai-hero{grid-template-columns:1fr}.bs-panel .bs-report-ai-hero aside{max-width:none}.bs-panel .bs-report-table .bs-table-heading button{min-height:44px}}
@media print{.bs-panel .bs-report-table :is(summary,button,.bs-table-pager){display:none!important}.bs-panel .bs-report-table .bs-table-wrap{max-height:none;overflow:visible}.bs-panel .bs-report-ai-hero{break-inside:avoid}}
.bs-panel h2,.bs-panel h3,.bs-panel h4{margin:0 0 10px;font-weight:650;line-height:1.45}
.bs-panel h2{font-size:23px}.bs-panel h3{font-size:17px}.bs-panel h4{font-size:14px}
.bs-panel p{margin:8px 0;color:var(--wb-muted,#66758b);line-height:1.65;overflow-wrap:anywhere}
.bs-panel .bs-eyebrow{color:var(--wb-blue,#2563eb);font-size:12px;font-weight:650;letter-spacing:.04em}
.bs-panel .bs-head,.bs-panel .bs-toolbar,.bs-panel .bs-status,.bs-panel .bs-tabs,.bs-panel .bs-filters,.bs-panel .bs-footer{display:flex;align-items:center;flex-wrap:wrap;gap:10px;min-width:0}
.bs-panel .bs-head{justify-content:space-between;align-items:flex-start;gap:20px}.bs-panel .bs-head>div:first-child{flex:1;min-width:210px}
.bs-panel .bs-toolbar label{display:flex;gap:7px;flex-direction:column;color:var(--wb-muted,#66758b);font-size:12px}
.bs-panel .bs-controls .bs-toolbar{align-items:flex-end}
.bs-panel .bs-controls :is(input,select):not(:disabled){color:var(--wb-text,#20314a);-webkit-text-fill-color:var(--wb-text,#20314a);opacity:1}
.bs-panel .bs-controls :is(input,select):disabled{color:var(--wb-muted,#66758b);-webkit-text-fill-color:var(--wb-muted,#66758b);cursor:not-allowed}
.bs-panel :is(button,input,select){font:inherit;max-width:100%;min-width:0;border:1px solid var(--wb-line,#dfe6ef);border-radius:8px;background:var(--wb-surface,#fff);color:inherit}
.bs-panel :is(input,select){height:38px;padding:7px 10px}.bs-panel button{min-height:38px;padding:9px 13px;cursor:pointer;line-height:1.35;white-space:nowrap}
.bs-panel button.primary,.bs-panel button[aria-pressed=true]{background:var(--wb-blue,#2563eb);border-color:var(--wb-blue,#2563eb);color:#fff}
.bs-panel button:disabled{opacity:.5;cursor:not-allowed}.bs-panel :is(button,input,select,a):focus-visible{outline:3px solid #93baf5;outline-offset:2px}
.bs-panel .bs-period-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.bs-panel .bs-period-cards button{padding:18px;text-align:left}.bs-panel .bs-period-cards strong{display:block;font-size:17px}.bs-panel .bs-period-cards small{display:block;margin-top:6px;font-size:12px;opacity:.8}
.bs-panel .bs-status{padding:13px 16px;background:var(--wb-surface,#fff);border:1px solid var(--wb-line,#dfe6ef);border-radius:10px;margin-bottom:12px;font-size:13px}.bs-panel progress{width:140px;height:6px;accent-color:var(--wb-blue,#2563eb)}
.bs-panel .bs-error{padding:12px 15px;color:#ab3023;background:#fff5f3;border:1px solid #f4d3ce;border-radius:8px}
.bs-panel .bs-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:12px;margin:16px 0}.bs-panel .bs-metric{min-width:0;padding:16px;border:1px solid var(--wb-line,#dfe6ef);border-radius:12px;background:var(--wb-surface,#fff)}.bs-panel .bs-metric :is(span,strong,small){display:block;overflow-wrap:anywhere}.bs-panel .bs-metric span{font-size:12px;color:var(--wb-muted,#66758b)}.bs-panel .bs-metric strong{font-size:25px;margin:8px 0}.bs-panel .bs-metric small{font-size:11px;color:var(--wb-muted,#66758b);line-height:1.8}
.bs-panel .bs-filters{margin:12px 0}.bs-panel .bs-filters input{flex:1;min-width:180px}.bs-panel .bs-chips{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.bs-panel .bs-chips button{font-size:12px;padding:7px 11px}
.bs-panel .bs-table-wrap{position:relative;max-width:100%;overflow:auto;border:1px solid var(--wb-line,#dfe6ef);border-radius:10px}.bs-panel table{width:100%;border-collapse:collapse;min-width:650px;font-size:12px}.bs-panel th{padding:12px;text-align:left;color:var(--wb-muted,#66758b);background:var(--wb-canvas,#f5f8fc);white-space:nowrap}.bs-panel td{padding:13px 12px;border-top:1px solid var(--wb-line,#e8edf4);vertical-align:top;text-align:left;max-width:300px;overflow-wrap:anywhere}.bs-panel th:first-child,.bs-panel td:first-child{width:auto;text-align:left}.bs-panel th:last-child,.bs-panel td:last-child{width:auto;text-align:left}.bs-panel td small{display:block;color:var(--wb-muted,#66758b);line-height:1.65;margin-top:5px}.bs-panel .bs-product-table{min-width:1120px;table-layout:fixed}.bs-panel .bs-product-table th:first-child{width:290px}.bs-panel .bs-product-table th:nth-child(2){width:160px}.bs-panel .bs-product-table th:nth-child(3){width:230px}.bs-panel .bs-product-table th:nth-child(4){width:280px}.bs-panel .bs-product-table th:last-child{width:130px}.bs-panel .bs-product-table td:last-child button{display:block;margin-bottom:8px}
.bs-panel .bs-product{display:flex;align-items:flex-start;gap:10px;min-width:0}.bs-panel .bs-product :is(img,.bs-placeholder){width:54px;height:54px;object-fit:contain;flex:0 0 54px;border:1px solid var(--wb-line,#e5ebf2);border-radius:8px}.bs-panel .bs-placeholder{display:grid;place-items:center;color:#8091a8;background:var(--wb-canvas,#f5f8fc);font-size:11px}.bs-panel .bs-product>div{min-width:0}.bs-panel .bs-product a{color:var(--wb-blue,#2563eb);text-decoration:none;line-height:1.5;overflow-wrap:anywhere}.bs-panel .bs-row-metrics{display:grid;grid-template-columns:repeat(3,minmax(48px,1fr));gap:8px}.bs-panel .bs-row-metrics span{font-size:11px;color:var(--wb-muted,#66758b)}.bs-panel .bs-row-metrics b{display:block;color:var(--wb-text,#20314a);margin-top:3px}.bs-panel .bs-tag{display:inline-block;padding:4px 8px;border-radius:6px;background:var(--wb-active,#edf4ff);color:var(--wb-blue,#255fc7);white-space:nowrap}
.bs-panel .bs-footer{justify-content:space-between;margin-top:14px;font-size:12px;color:var(--wb-muted,#66758b)}.bs-panel .bs-two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.bs-panel .bs-empty{padding:45px 20px;text-align:center;color:var(--wb-muted,#66758b)}
.bs-panel dialog{box-sizing:border-box;width:min(1060px,calc(100vw - 28px));max-height:88vh;padding:0;border:1px solid var(--wb-line,#dfe6ef);border-radius:16px;background:var(--wb-surface,#fff);color:inherit;overflow:auto}.bs-panel dialog::backdrop{background:#13253e75}.bs-panel .bs-dialog-head{display:flex;justify-content:space-between;align-items:center;gap:12px;position:sticky;top:0;padding:16px 22px;background:var(--wb-surface,#fff);border-bottom:1px solid var(--wb-line,#dfe6ef);z-index:1}.bs-panel .bs-dialog-head h2{font-size:18px;margin:0}.bs-panel .bs-dialog-body{padding:22px;min-width:0}.bs-panel .bs-confirm{max-width:460px}
.bs-panel .bs-ai-section{border-left:2px solid var(--wb-line,#d7e6ff);padding-left:14px;margin:14px 0}.bs-panel .bs-ai-item{border-bottom:1px solid var(--wb-line,#e8edf4);padding:6px 0}.bs-panel .bs-ai-section p{color:inherit;margin:5px 0;font-size:13px}.bs-panel .bs-ai-list{display:grid;gap:8px}.bs-panel .bs-ai-hero{background:linear-gradient(110deg,var(--wb-active,#edf4ff),var(--wb-surface,#fff));border-color:var(--wb-line,#cee0fb)}
.bs-panel .bs-detail-content{min-width:0}.bs-panel .bs-detail-content .ly-kpis{display:flex;flex-wrap:wrap;gap:12px}.bs-panel .bs-detail-content .ly-kpi{min-width:100px;padding:12px;border:1px solid var(--wb-line,#dfe6ef);border-radius:8px}.bs-panel .bs-detail-content .ly-kpi :is(span,strong){display:block}.bs-panel .bs-detail-content .ly-table-wrap{max-width:100%;overflow:auto;margin:10px 0}.bs-panel .bs-detail-content .ly-stages{display:flex;flex-wrap:wrap;gap:8px}.bs-panel .bs-detail-content section{margin:18px 0}.bs-panel .bs-detail-content img{width:48px;height:48px;object-fit:contain}.bs-panel .bs-detail-content svg{width:20px;height:20px;fill:none;stroke:currentColor;flex:none}
@media(max-width:900px){.bs-panel .bs-two-col{grid-template-columns:1fr}.bs-panel .bs-period-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.bs-panel .bs-card{padding:15px}.bs-panel h2{font-size:20px}.bs-panel .bs-toolbar label{width:100%}.bs-panel .bs-toolbar :is(input,select){width:100%}.bs-panel .bs-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.bs-panel .bs-metric{padding:12px}.bs-panel .bs-metric strong{font-size:21px}.bs-panel .bs-head>div:first-child{min-width:0}.bs-panel .bs-dialog-body{padding:14px}}
@media print{body[data-workbench-tool=report] :is(.sidebar,.workbench-header,#groupNav,#featureTabs,.bs-controls,.bs-status,.bs-no-print,#workbenchAccessGate,#message,.access-gate,.wb-busy-track){display:none!important}body[data-workbench-tool=report] .bs-panel .bs-card{break-inside:avoid;border-color:#ddd;box-shadow:none}body[data-workbench-tool=report] .bs-panel .bs-table-wrap{overflow:visible}body[data-workbench-tool=report] .bs-panel table{min-width:0;font-size:10px}body[data-workbench-tool=report] .bs-two-col{display:block}body[data-workbench-tool=report] .bs-panel .bs-kpis{grid-template-columns:repeat(4,1fr)}}

.bs-panel .bs-toolbar+.bs-toolbar{margin-top:14px}.bs-panel :is(.bs-tabs,.bs-chips) button:not([aria-pressed=true]):not(:disabled):hover{background:var(--wb-hover)}
:is(.bs-panel,.oa-panel,.vq-calendar) .bs-date-control{position:relative;display:flex;flex-direction:column;gap:7px;min-width:240px;max-width:100%;color:var(--wb-muted);font-size:12px}
:is(.bs-panel,.oa-panel,.vq-calendar) .bs-date-control>button{text-align:left;color:var(--wb-text);min-height:38px}
:is(.bs-panel,.oa-panel,.vq-calendar) .bs-date-popup{position:absolute;top:calc(100% + 8px);left:0;z-index:25;box-sizing:border-box;width:min(330px,calc(100vw - 76px));max-width:none;padding:14px;background:var(--wb-surface);color:var(--wb-text);border:1px solid var(--wb-line);border-radius:12px;box-shadow:0 12px 35px #13253e24}
:is(.bs-panel,.oa-panel,.vq-calendar) .bs-picker-heading,:is(.bs-panel,.oa-panel,.vq-calendar) .bs-picker-nav{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:10px}
:is(.bs-panel,.oa-panel,.vq-calendar) .bs-picker-heading>button{padding:4px 8px;min-height:30px;font-size:20px}
:is(.bs-panel,.oa-panel,.vq-calendar) .bs-picker-nav>span{display:flex;gap:3px}:is(.bs-panel,.oa-panel,.vq-calendar) .bs-picker-nav button{min-height:30px;min-width:28px;padding:3px 6px}:is(.bs-panel,.oa-panel,.vq-calendar) .bs-picker-nav strong{font-size:13px;white-space:nowrap}
:is(.bs-panel,.oa-panel,.vq-calendar) .bs-picker-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
:is(.bs-panel,.oa-panel,.vq-calendar) .bs-picker-calendar,:is(.bs-panel,.oa-panel,.vq-calendar) .bs-picker-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px}
:is(.bs-panel,.oa-panel,.vq-calendar) .bs-picker-weekdays{margin-bottom:6px;text-align:center;color:var(--wb-muted);line-height:28px}
:is(.bs-panel,.oa-panel,.vq-calendar) .bs-picker-grid button{min-width:0;min-height:38px;padding:7px 2px;font-size:12px;text-align:center;white-space:normal}
:is(.bs-panel,.oa-panel,.vq-calendar) .bs-picker-grid button:not([aria-pressed=true]):not(:disabled):hover{background:var(--wb-hover)}
:is(.bs-panel,.oa-panel,.vq-calendar) .bs-picker-grid .is-outside:not([aria-pressed=true]){color:var(--wb-muted)}
:is(.bs-panel,.oa-panel,.vq-calendar) .bs-picker-calendar button[aria-pressed=true]:not(.is-start):not(.is-end){border-radius:4px}
:is(.bs-panel,.oa-panel,.vq-calendar) .bs-picker-hint{font-size:11px;margin:12px 0 0;line-height:1.6}
@media(max-width:600px){:is(.bs-panel,.oa-panel,.vq-calendar) .bs-date-control{width:100%;min-width:0}:is(.bs-panel,.oa-panel,.vq-calendar) .bs-picker-grid button{min-height:40px}:is(.bs-panel,.oa-panel,.vq-calendar) .bs-picker-nav button{min-height:32px}}
.bs-panel .bs-period-cards button:not([aria-pressed=true]):hover{background:var(--wb-hover)}
.bs-panel .bs-detail-content .ly-table{min-width:650px;table-layout:auto}.bs-panel .bs-detail-content :is(th:first-child,td:first-child,th:last-child,td:last-child){width:auto;text-align:left}
.bs-panel .bs-detail-content .ly-hero{display:flex;align-items:flex-start;gap:14px;min-width:0}.bs-panel .bs-detail-content .ly-hero>div{min-width:0}.bs-panel .bs-detail-content .ly-hero img{width:64px;height:64px;flex:0 0 64px}.bs-panel .bs-detail-content .ly-hero h3{overflow-wrap:anywhere}
.bs-panel .bs-detail-content .ly-muted{color:var(--wb-muted);font-size:12px;line-height:1.7}.bs-panel .bs-detail-content .ly-kpi{background:var(--wb-surface)}.bs-panel .bs-detail-content .ly-kpi strong{margin-top:6px}
.bs-panel .bs-detail-content .ly-issue{padding:10px;border:1px solid var(--wb-line);border-radius:8px;color:var(--wb-muted)}
[data-theme=dark] .bs-panel .bs-error{background:#43282d;border-color:#74424b;color:#ffc0b6}
@media(max-width:600px){.bs-panel .bs-toolbar button:not(:where(.bs-date-popup button)){min-height:44px}.bs-panel .bs-period-cards button{min-height:76px}}
@media print{body[data-workbench-tool=report]{background:#fff!important;color:#111!important}body[data-workbench-tool=report] .workbench-main{max-width:none;margin:0;padding:0}body[data-workbench-tool=report] #reportPanel{color:#111}body[data-workbench-tool=report] .bs-panel .bs-card{background:#fff;color:#111}body[data-workbench-tool=report] .bs-panel :is(th,td){color:#111;overflow-wrap:anywhere}body[data-workbench-tool=report] .bs-panel .bs-metric{background:#fff;color:#111}}

/* Product advisor follows the plugin's three-view operations layout. */
#product-advisorPanel{font-size:13px}
#product-advisorPanel>.bs-card{padding:16px;margin-bottom:12px}
#product-advisorPanel h2{font-size:20px}
#product-advisorPanel .bs-controls .bs-toolbar{gap:12px}
#product-advisorPanel .bs-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;padding:3px;background:var(--wb-canvas);border-radius:8px;margin-bottom:14px}
#product-advisorPanel .bs-tabs button{border:0;background:transparent;font-size:13px;min-height:38px}
#product-advisorPanel .bs-tabs button[aria-pressed=true]{background:var(--wb-surface);color:var(--wb-text);box-shadow:0 1px 4px #14263b16}
#product-advisorPanel #product-advisor-Task{display:grid;gap:12px}
#product-advisorPanel .bs-pa-task{padding:16px;border:1px solid var(--wb-line);border-radius:8px;background:var(--wb-surface)}
#product-advisorPanel .bs-pa-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
#product-advisorPanel .bs-pa-heading h3{font-size:18px;margin:3px 0 8px}
#product-advisorPanel .bs-pa-heading small{font-size:11px;color:var(--wb-muted)}
#product-advisorPanel .bs-pa-pulse{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-block:1px solid var(--wb-line);margin:14px 0}
#product-advisorPanel .bs-pa-pulse>div{padding:12px 14px;border-right:1px solid var(--wb-line);min-width:0}
#product-advisorPanel .bs-pa-pulse>div:last-child{border-right:0}
#product-advisorPanel .bs-pa-pulse span{display:block;font-size:11px;color:var(--wb-muted)}
#product-advisorPanel .bs-pa-pulse b{display:block;font-size:20px;font-variant-numeric:tabular-nums;margin-top:5px}
#product-advisorPanel .bs-pa-board{display:grid;grid-template-columns:1.15fr .85fr;gap:12px}
#product-advisorPanel .bs-pa-board>section,#product-advisorPanel .bs-pa-more{min-width:0;border:1px solid var(--wb-line);border-radius:8px;overflow:hidden;background:var(--wb-surface)}
#product-advisorPanel .bs-pa-board header{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:12px;border-bottom:1px solid var(--wb-line)}
#product-advisorPanel .bs-pa-board small{font-size:11px;color:var(--wb-muted)}
#product-advisorPanel .bs-pa-action{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;min-height:74px;padding:10px 12px;border:0;border-bottom:1px solid var(--wb-line);border-radius:0;text-align:left;white-space:normal}
#product-advisorPanel .bs-pa-action:last-child{border-bottom:0}
#product-advisorPanel .bs-pa-action:hover{background:var(--wb-hover)}
#product-advisorPanel .bs-pa-action small{display:block;margin-top:5px;line-height:1.5}
#product-advisorPanel .bs-pa-action b{font-size:12px;white-space:nowrap}
#product-advisorPanel .bs-pa-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:8px;background:var(--wb-active);color:var(--wb-blue);font-size:18px}
#product-advisorPanel .bs-pa-icon.risk{color:#cf4141;background:#cf414112}
#product-advisorPanel .bs-pa-product{padding:10px 12px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 10px;align-items:center;border-bottom:1px solid var(--wb-line)}
#product-advisorPanel .bs-pa-product:last-child{border-bottom:0}
#product-advisorPanel .bs-pa-product>.bs-product{grid-row:span 2;align-items:center}
#product-advisorPanel .bs-pa-product>.bs-product a{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:var(--wb-text);font-size:12px}
#product-advisorPanel .bs-pa-product>span{font-size:11px;color:var(--wb-muted);text-align:right}
#product-advisorPanel .bs-pa-product button{font-size:11px;padding:5px 8px;min-height:30px}
#product-advisorPanel .bs-pa-more summary{cursor:pointer;padding:14px;font-weight:600}
#product-advisorPanel .bs-pa-more .bs-pa-pulse{margin:0 12px 12px;grid-template-columns:repeat(3,minmax(0,1fr))}
#product-advisorPanel .bs-chips button{min-height:32px;font-size:12px}
#product-advisorPanel .bs-product-table{min-width:1120px}
#product-advisorPanel .bs-product-table td{padding:12px;line-height:1.6}
#product-advisorPanel .bs-product-table .bs-row-metrics{gap:7px 10px}
@media(max-width:1050px){#product-advisorPanel .bs-pa-board{grid-template-columns:1fr}}
@media(max-width:600px){#product-advisorPanel>.bs-card{padding:12px}#product-advisorPanel .bs-pa-pulse{grid-template-columns:repeat(2,minmax(0,1fr))}#product-advisorPanel .bs-pa-pulse>div:nth-child(2n){border-right:0}#product-advisorPanel .bs-pa-heading{flex-wrap:wrap}#product-advisorPanel .bs-tabs{gap:2px}#product-advisorPanel .bs-tabs button{padding:8px 3px;font-size:12px}#product-advisorPanel .bs-pa-product button{min-height:38px}}

#product-advisorPanel .bs-controls{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin-top:16px;padding-top:14px;border-top:1px solid var(--wb-line)}
#product-advisorPanel .bs-controls>.bs-toolbar{display:contents}
#product-advisorPanel .bs-controls :is(select,input){font-size:12px}
#product-advisorPanel .bs-pa-records{position:relative;font-size:12px}
#product-advisorPanel .bs-pa-records summary{cursor:pointer;line-height:38px;color:var(--wb-blue)}
#product-advisorPanel .bs-pa-records>.bs-toolbar{position:absolute;right:0;top:100%;z-index:20;padding:12px;min-width:230px;background:var(--wb-surface);border:1px solid var(--wb-line);border-radius:8px;box-shadow:0 10px 28px #13253e24}
@media(max-width:600px){#product-advisorPanel .bs-controls>.bs-toolbar{display:flex;width:100%}#product-advisorPanel .bs-controls .bs-toolbar+.bs-toolbar{margin:0}#product-advisorPanel .bs-pa-records{width:100%}#product-advisorPanel .bs-pa-records>.bs-toolbar{left:0;right:auto;max-width:calc(100vw - 76px);min-width:0}}
/* Compact 360 entry and independent detail views. */
#product-advisorPanel [data-bs-detail],#layersPanel [data-ly-detail]{display:inline-flex;align-items:center;gap:7px;border-radius:9px;color:var(--wb-blue);font-weight:650}
#product-advisorPanel [data-bs-detail] svg,#layersPanel [data-ly-detail] svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.5;flex:none}
#product-advisorPanel #product-advisor-DetailTitle{font-size:16px;line-height:1.5}
.bs-panel .bs-detail-content .ly-360 .ly-hero h3{font-size:16px;line-height:1.5;margin:5px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ly-360 .ly-orbit{width:64px;height:64px;display:grid;place-items:center;border:1px solid var(--wb-line);border-radius:16px;color:var(--wb-blue);background:var(--wb-canvas);flex:none}
.bs-panel .bs-detail-content .ly-360 .ly-orbit svg{width:38px;height:38px;stroke-width:1.3}
.ly-360 .ly-360-tabs{display:flex;gap:6px;overflow-x:auto;padding:14px 0;border-bottom:1px solid var(--wb-line);margin-bottom:18px}
.ly-360 .ly-360-tabs button{flex:none;min-height:38px;border:1px solid transparent;background:transparent;color:var(--wb-muted);border-radius:8px;font-size:12px;padding:8px 12px}
.ly-360 .ly-360-tabs button[aria-pressed=true]{color:var(--wb-blue);border-color:var(--wb-line);background:var(--wb-canvas);font-weight:650}
.bs-panel .bs-detail-content .ly-360 .ly-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.bs-panel .bs-detail-content .ly-360 .ly-kpi{min-width:0;padding:13px 14px;font-size:12px;background:var(--wb-canvas)}
.bs-panel .bs-detail-content .ly-360 .ly-kpi strong{font-size:22px;font-variant-numeric:tabular-nums}
.ly-360 .ly-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:18px}
.ly-360 :is(h4,p){margin:8px 0}.ly-360 h4 small{font-size:12px;color:var(--wb-muted);font-weight:400}
.bs-panel .bs-detail-content .ly-360 :is(th,td){font-size:12px;padding:10px 12px;white-space:normal;overflow-wrap:anywhere}
.bs-panel .bs-detail-content .ly-360 .ly-table-wrap{border:1px solid var(--wb-line);border-radius:10px}
.ly-360 [data-360-pane=related] table,.ly-360 [data-360-pane=channels] table{min-width:750px}
.ly-360 .ly-360-coverage{font-size:12px;color:var(--wb-muted);margin:15px 0}
@media(max-width:600px){.bs-panel .bs-detail-content .ly-360 .ly-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.ly-360 .ly-detail-grid{grid-template-columns:1fr}.ly-360 .ly-360-tabs button{min-height:44px}.ly-360 .ly-hero{flex-direction:column}}

.bs-panel .bs-report-dimension{padding:12px 16px;border:1px solid var(--wb-line);border-radius:10px;margin:10px 0;background:var(--wb-surface)}
.bs-panel .bs-report-dimension summary{cursor:pointer;padding:6px 0;font-size:13px;color:var(--wb-text)}
.bs-panel .bs-report-dimension summary span{display:inline-block;margin-left:12px;color:var(--wb-muted);font-size:12px}
.bs-panel .bs-report-dimension .bs-table-wrap{margin:12px 0}
.bs-panel .bs-report-dimension h4{margin-top:12px}

/* Report follows the plugin: one generation, industry context, then an action board. */
#reportPanel .bs-head{align-items:flex-start}
#reportPanel .bs-head>div:first-child{flex:1}
#reportPanel .bs-report-hero{display:grid;grid-template-columns:minmax(0,1fr) 106px;gap:24px;align-items:center}
#reportPanel .bs-report-hero h2{font-size:23px;line-height:1.5;margin:6px 0 10px}
#reportPanel .bs-report-hero p{max-width:78ch;line-height:1.85;margin:0;color:var(--wb-muted);font-size:13px}
#reportPanel .bs-score-ring{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;box-sizing:border-box;width:106px;height:106px;border-radius:50%;background:radial-gradient(closest-side,var(--wb-surface) 86%,transparent 88%),conic-gradient(var(--wb-blue) var(--report-score),var(--wb-line) 0);flex:none;color:var(--wb-blue)}
#reportPanel .bs-score-ring strong{font-size:30px;font-variant-numeric:tabular-nums}
#reportPanel .bs-score-ring span{font-size:11px;max-width:76px;text-align:center;color:var(--wb-muted)}
#reportPanel .bs-empty{padding:22px;text-align:left}
#reportPanel .bs-report-guide h3{font-size:19px;margin:8px 0}
#reportPanel .bs-report-guide p{font-size:13px;line-height:1.8}
#reportPanel .bs-guide-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:20px}
#reportPanel .bs-guide-grid>div{padding:14px;border:1px solid var(--wb-line);border-radius:10px;background:var(--wb-canvas);min-width:0}
#reportPanel .bs-guide-grid small,#reportPanel .bs-guide-grid strong{display:block;line-height:1.7;font-size:12px;overflow-wrap:anywhere}
#reportPanel .bs-guide-grid strong{color:var(--wb-text);margin-top:7px;font-weight:550}
#reportPanel .bs-report-sources{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}
#reportPanel .bs-report-sources>span{display:inline-flex;gap:8px;align-items:center;padding:6px 10px;border-radius:7px;background:var(--wb-surface);border:1px solid var(--wb-line);font-size:12px}
#reportPanel .bs-report-sources small{font-size:10px;color:var(--wb-muted)}
#reportPanel .bs-section-title{margin-bottom:16px}
#reportPanel .bs-section-title h3{font-size:16px;margin:0 0 7px}
#reportPanel .bs-section-title p{font-size:12px;line-height:1.7;margin:0;color:var(--wb-muted)}
#reportPanel .bs-report-summary{font-size:14px;line-height:1.9;margin:0}
#reportPanel .bs-report-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
#reportPanel .bs-report-metric{min-width:0;border:1px solid var(--wb-line);border-radius:10px;padding:15px;background:var(--wb-canvas)}
#reportPanel .bs-report-metric>span{display:block;color:var(--wb-muted);font-size:12px;min-height:32px;line-height:1.5}
#reportPanel .bs-report-metric>strong{display:block;font-size:24px;line-height:1.5;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
#reportPanel .bs-report-metric>div{font-size:11px;color:var(--wb-muted);display:flex;justify-content:space-between;gap:7px;flex-wrap:wrap;margin:6px 0 12px}
#reportPanel .bs-report-metric>div b{font-weight:500;color:var(--wb-text)}
#reportPanel .bs-report-metric footer{display:grid;gap:7px;padding-top:10px;border-top:1px solid var(--wb-line)}
#reportPanel .bs-report-metric footer span{display:flex;justify-content:space-between;gap:8px;color:var(--wb-muted);font-size:11px}
#reportPanel .bs-report-metric footer b{color:var(--wb-text);font-variant-numeric:tabular-nums}
#reportPanel .bs-report-metric>small{display:block;margin-top:10px;font-size:10px;color:var(--wb-muted);line-height:1.7}
#reportPanel .bs-report-funnel{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
#reportPanel .bs-report-funnel article{padding:14px;border-left:3px solid var(--wb-blue);border-radius:7px;background:var(--wb-canvas);min-width:0}
#reportPanel .bs-report-funnel :is(span,strong,small){display:block;overflow-wrap:anywhere}
#reportPanel .bs-report-funnel span{font-size:12px;color:var(--wb-muted);min-height:32px}
#reportPanel .bs-report-funnel strong{font-size:24px;margin:8px 0;font-variant-numeric:tabular-nums}
#reportPanel .bs-report-funnel small{font-size:11px;color:var(--wb-muted);line-height:1.6}
#reportPanel .bs-report-section .bs-table-wrap{max-height:440px;overflow:auto}
#reportPanel .bs-report-section :is(th,td){white-space:normal;overflow-wrap:anywhere;font-size:12px;padding:12px}
#reportPanel .bs-report-section th{position:sticky;top:0;background:var(--wb-canvas);z-index:1}
#reportPanel .bs-two-col>.bs-card{margin-bottom:16px}
#reportPanel .bs-report-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:14px}
#reportPanel .bs-report-actions>section{background:var(--wb-canvas);border:1px solid var(--wb-line);border-radius:10px;min-width:0;padding:12px}
#reportPanel .bs-report-actions header{padding:3px 2px 12px;border-bottom:1px solid var(--wb-line)}
#reportPanel .bs-report-actions header strong{font-size:13px}
#reportPanel .bs-report-actions header small{display:block;font-size:11px;margin-top:6px;color:var(--wb-muted)}
#reportPanel .bs-report-actions article{padding:13px;margin-top:10px;border:1px solid var(--wb-line);border-radius:8px;background:var(--wb-surface);overflow-wrap:anywhere}
#reportPanel .bs-report-actions article small{font-size:10px;color:var(--wb-blue)}
#reportPanel .bs-report-actions h4{font-size:13px;line-height:1.6;margin:7px 0}
#reportPanel .bs-report-actions p{font-size:12px;line-height:1.8;margin:6px 0}
#reportPanel .bs-report-actions footer{font-size:11px;color:var(--wb-muted);line-height:1.8;margin-top:6px}
#reportPanel .bs-report-evidence{margin:6px 0 20px;padding:16px;border:1px solid var(--wb-line);border-radius:12px}
#reportPanel .bs-report-evidence>summary{cursor:pointer;line-height:1.8;font-size:13px;padding:2px}
#reportPanel .bs-report-evidence>summary>span{font-size:11px;color:var(--wb-muted);margin-left:16px}
#reportPanel .bs-report-evidence>.bs-card{margin-top:14px;margin-bottom:0}
#exportPanel .bs-period-cards button{min-height:84px}
#exportPanel #export-Results{display:none!important}
@media(max-width:1100px){#reportPanel .bs-report-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}#reportPanel .bs-report-funnel{grid-template-columns:repeat(3,minmax(0,1fr))}#reportPanel .bs-guide-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){#reportPanel .bs-report-hero{grid-template-columns:minmax(0,1fr) 76px;gap:12px}#reportPanel .bs-report-hero h2{font-size:19px}#reportPanel .bs-score-ring{width:76px;height:76px}#reportPanel .bs-score-ring strong{font-size:23px}#reportPanel .bs-report-metric{padding:12px}#reportPanel .bs-report-metric>strong{font-size:20px}#reportPanel .bs-report-funnel{grid-template-columns:repeat(2,minmax(0,1fr))}#reportPanel .bs-report-actions{grid-template-columns:1fr}#reportPanel .bs-report-evidence>summary>span{display:block;margin:5px 0}#reportPanel .bs-guide-grid{grid-template-columns:1fr}#reportPanel .bs-empty{padding:15px}}
@media print{#reportPanel .bs-report-section{break-inside:auto}#reportPanel .bs-report-metric,#reportPanel .bs-report-actions article,#reportPanel .bs-report-funnel article{break-inside:avoid}#reportPanel .bs-report-section .bs-table-wrap{max-height:none;overflow:visible}#reportPanel .bs-report-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}#reportPanel .bs-report-funnel{grid-template-columns:repeat(5,minmax(0,1fr))}#reportPanel .bs-report-actions{grid-template-columns:repeat(3,minmax(0,1fr))}#reportPanel .bs-report-section th{position:static}}
#reportPanel .bs-report-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#reportPanel .bs-report-products article{display:grid;grid-template-columns:54px minmax(0,1fr) auto;gap:12px;align-items:center;padding:13px;border:1px solid var(--wb-line);border-radius:10px;min-width:0}
#reportPanel .bs-report-products img,#reportPanel .bs-report-products .bs-placeholder{width:54px;height:54px;object-fit:contain;border-radius:7px;display:grid;place-items:center;background:var(--wb-canvas);color:var(--wb-muted);font-size:11px}
#reportPanel .bs-report-products a{color:var(--wb-text);font-size:13px;line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#reportPanel .bs-report-products small{display:block;margin:5px 0;font-size:11px;color:var(--wb-muted)}
#reportPanel .bs-report-products p{font-size:11px;line-height:1.7;margin:0;color:var(--wb-muted)}
#reportPanel .bs-report-products article>b{font-size:11px;color:var(--wb-blue);max-width:100px;overflow-wrap:anywhere;line-height:1.7}
@media(max-width:1100px){#reportPanel .bs-report-products{grid-template-columns:1fr}}
@media(max-width:600px){#reportPanel .bs-report-products article{grid-template-columns:44px minmax(0,1fr);gap:10px}#reportPanel .bs-report-products img,#reportPanel .bs-report-products .bs-placeholder{width:44px;height:44px}#reportPanel .bs-report-products article>b{grid-column:2;max-width:none}}

/* Keep ID copy and history next to the product, matching the plugin row. */
.bs-product-links{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:8px 0}.bs-product-links button,.bs-product-links .bs-history-link{display:inline-flex;align-items:center;min-height:32px;padding:5px 9px;border:1px solid var(--line,#dce5f1);border-radius:7px;background:#f5f8fd;color:var(--blue,#2563eb);font-size:12px;line-height:1.4;text-decoration:none}.bs-product-links .bs-history-link:hover{background:#eaf1ff}.bs-product-links :focus-visible{outline:2px solid var(--blue,#2563eb);outline-offset:2px}

/* One complete dialog component for product-advisor and product layers. */
:is(#product-advisorPanel,#layersPanel) .wb-product-360-dialog{box-sizing:border-box;width:min(1100px,calc(100vw - 28px));max-width:calc(100vw - 28px);max-height:88vh;padding:0;border:1px solid var(--wb-line);border-radius:16px;background:var(--wb-surface);color:var(--wb-text);overflow:hidden;font-size:13px}
:is(#product-advisorPanel,#layersPanel) .wb-product-360-dialog[open]{display:flex;flex-direction:column}
:is(#product-advisorPanel,#layersPanel) .wb-product-360-dialog::backdrop{background:#13253e75}
:is(#product-advisorPanel,#layersPanel) .wb-product-360-dialog .wb360-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none;position:relative;padding:16px 22px;border-bottom:1px solid var(--wb-line);background:var(--wb-surface)}
:is(#product-advisorPanel,#layersPanel) .wb-product-360-dialog .wb360-head h2{margin:0;font-size:16px;line-height:1.5;font-weight:650}
:is(#product-advisorPanel,#layersPanel) .wb-product-360-dialog button{font:inherit;font-size:12px;line-height:1.35;min-height:38px;padding:9px 13px;border:1px solid var(--wb-line);border-radius:8px;background:var(--wb-surface);color:var(--wb-text);cursor:pointer}
:is(#product-advisorPanel,#layersPanel) .wb-product-360-dialog button:disabled{opacity:.5;cursor:not-allowed}
:is(#product-advisorPanel,#layersPanel) .wb-product-360-dialog :is(button,a,summary):focus-visible{outline:3px solid #93baf5;outline-offset:2px}
:is(#product-advisorPanel,#layersPanel) .wb-product-360-dialog .wb360-body{min-width:0;min-height:0;max-height:none;padding:22px;overflow:auto;overscroll-behavior:contain}
:is(#product-advisorPanel,#layersPanel) .wb-product-360-dialog .wb360-content{min-width:0}
:is(#product-advisorPanel,#layersPanel) .wb-product-360-dialog .wb360-actions{flex:none;display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:14px 22px;margin:0;border-top:1px solid var(--wb-line);background:var(--wb-surface)}
:is(#product-advisorPanel,#layersPanel) .wb-product-360-dialog .wb360-status{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:0 0 14px;color:var(--wb-muted);font-size:12px;line-height:1.7}
:is(#product-advisorPanel,#layersPanel) .wb-product-360-dialog progress{width:140px;height:5px;margin:0;accent-color:var(--wb-blue)}
:is(#product-advisorPanel,#layersPanel) .wb-product-360-dialog :is(#lyDetailError,#product-advisor-DetailError){padding:12px 15px;margin:0 0 14px;color:#ab3023;background:#fff5f3;border:1px solid #f4d3ce;border-radius:8px;font-size:12px;line-height:1.7}
:is(#product-advisorPanel,#layersPanel) .wb-product-360-dialog .ly-hero{display:flex;align-items:flex-start;gap:14px;min-width:0}
:is(#product-advisorPanel,#layersPanel) .wb-product-360-dialog .ly-hero>div{min-width:0}
:is(#product-advisorPanel,#layersPanel) .wb-product-360-dialog .ly-hero>img{width:64px;height:64px;object-fit:contain;border-radius:10px;flex:0 0 64px}
:is(#product-advisorPanel,#layersPanel) .wb-product-360-dialog .ly-hero h3{font-size:16px;line-height:1.5;font-weight:650;margin:5px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
:is(#product-advisorPanel,#layersPanel) .wb-product-360-dialog .ly-orbit{width:64px;height:64px;display:grid;place-items:center;flex:none;border:1px solid var(--wb-line);border-radius:16px;background:var(--wb-canvas);color:var(--wb-blue)}
:is(#product-advisorPanel,#layersPanel) .wb-product-360-dialog .ly-orbit svg{width:38px;height:38px;fill:none;stroke:currentColor;stroke-width:1.3}
:is(#product-advisorPanel,#layersPanel) .wb-product-360-dialog .ly-muted{margin:8px 0;color:var(--wb-muted);font-size:12px;line-height:1.7}
:is(#product-advisorPanel,#layersPanel) .wb-product-360-dialog a{color:var(--wb-blue);text-decoration:none}
:is(#product-advisorPanel,#layersPanel) .wb-product-360-dialog .ly-360-tabs{display:flex;gap:6px;overflow-x:auto;padding:14px 0;margin:0 0 18px;border-bottom:1px solid var(--wb-line)}
:is(#product-advisorPanel,#layersPanel) .wb-product-360-dialog .ly-360-tabs button{flex:none;padding:8px 12px;border-color:transparent;background:transparent;color:var(--wb-muted);font-weight:400}
:is(#product-advisorPanel,#layersPanel) .wb-product-360-dialog .ly-360-tabs button[aria-pressed=true]{border-color:var(--wb-line);background:var(--wb-canvas);color:var(--wb-blue);font-weight:650}
:is(#product-advisorPanel,#layersPanel) .wb-product-360-dialog section{margin:18px 0}
:is(#product-advisorPanel,#layersPanel) .wb-product-360-dialog .ly-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0}
:is(#product-advisorPanel,#layersPanel) .wb-product-360-dialog .ly-kpi{min-width:0;padding:13px 14px;border:1px solid var(--wb-line);border-radius:8px;background:var(--wb-canvas);font-size:12px}
:is(#product-advisorPanel,#layersPanel) .wb-product-360-dialog .ly-kpi span{display:block;font-size:12px;line-height:1.7;color:var(--wb-muted)}
:is(#product-advisorPanel,#layersPanel) .wb-product-360-dialog .ly-kpi strong{display:block;margin-top:6px;color:var(--wb-text);font-size:22px;line-height:1.5;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
:is(#product-advisorPanel,#layersPanel) .wb-product-360-dialog .ly-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px}
:is(#product-advisorPanel,#layersPanel) .wb-product-360-dialog .ly-detail-grid>article{min-width:0}
:is(#product-advisorPanel,#layersPanel) .wb-product-360-dialog h4{margin:8px 0;color:var(--wb-text);font-size:14px;line-height:1.5}
:is(#product-advisorPanel,#layersPanel) .wb-product-360-dialog h4 small{font-size:12px;color:var(--wb-muted);font-weight:400}
:is(#product-advisorPanel,#layersPanel) .wb-product-360-dialog .ly-table-wrap{box-sizing:border-box;width:100%;max-width:100%;overflow:auto;margin:10px 0;border:1px solid var(--wb-line);border-radius:10px}
:is(#product-advisorPanel,#layersPanel) .wb-product-360-dialog table{width:100%;min-width:0;table-layout:auto;border-collapse:collapse;font-size:12px}
:is(#product-advisorPanel,#layersPanel) .wb-product-360-dialog :is(th,td){width:auto;max-width:none;padding:10px 12px;border:0;border-bottom:1px solid var(--wb-line);text-align:left;vertical-align:top;white-space:normal;overflow-wrap:anywhere;font-size:12px;line-height:1.7}
:is(#product-advisorPanel,#layersPanel) .wb-product-360-dialog :is(th,td):is(:first-child,:last-child){width:auto;text-align:left}
:is(#product-advisorPanel,#layersPanel) .wb-product-360-dialog th{background:var(--wb-canvas);color:var(--wb-muted);font-weight:600}
:is(#product-advisorPanel,#layersPanel) .wb-product-360-dialog tr:last-child td{border-bottom:0}
:is(#product-advisorPanel,#layersPanel) .wb-product-360-dialog :is([data-360-pane=related],[data-360-pane=channels]) table{min-width:750px}
:is(#product-advisorPanel,#layersPanel) .wb-product-360-dialog .ly-360-coverage{margin:15px 0;color:var(--wb-muted);font-size:12px}
:is(#product-advisorPanel,#layersPanel) .wb-product-360-dialog summary{margin:10px 0;color:var(--wb-muted);font-size:12px;font-weight:500;cursor:pointer}
:is(#product-advisorPanel,#layersPanel) .wb-product-360-dialog .ly-stages{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
:is(#product-advisorPanel,#layersPanel) .wb-product-360-dialog .ly-stages span{padding:6px 9px;border-radius:6px;background:var(--wb-canvas);font-size:12px}
:is(#product-advisorPanel,#layersPanel) .wb-product-360-dialog [hidden]{display:none!important}
.wb360-skeleton-title,.wb360-skeleton-grid>span{border-radius:8px;background:var(--wb-canvas);animation:wb-detail-pulse 1.4s ease-in-out infinite}
.wb360-skeleton-title{width:65%;height:52px;margin-bottom:24px}.wb360-skeleton-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.wb360-skeleton-grid>span{height:90px}
@media(max-width:600px){
 :is(#product-advisorPanel,#layersPanel) .wb-product-360-dialog .wb360-head{padding:14px}
 :is(#product-advisorPanel,#layersPanel) .wb-product-360-dialog .wb360-body{padding:14px}
 :is(#product-advisorPanel,#layersPanel) .wb-product-360-dialog .wb360-actions{padding:14px}
 :is(#product-advisorPanel,#layersPanel) .wb-product-360-dialog button{min-height:44px}
 :is(#product-advisorPanel,#layersPanel) .wb-product-360-dialog .ly-hero{flex-direction:column}
 :is(#product-advisorPanel,#layersPanel) .wb-product-360-dialog .ly-detail-grid{grid-template-columns:1fr}
 :is(#product-advisorPanel,#layersPanel) .wb-product-360-dialog .ly-kpis,.wb360-skeleton-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(prefers-reduced-motion:reduce){.wb-product-360-dialog *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Shared by product adviser and product layers; related goods keep their own images. */
.wb-product-360-dialog .ly-related-product{display:flex;align-items:flex-start;gap:10px;min-width:250px;max-width:360px}
.wb-product-360-dialog .ly-related-product>div{min-width:0;flex:1}
.wb-product-360-dialog .ly-related-product :is(img,.ly-related-placeholder){width:54px;height:54px;flex:0 0 54px;object-fit:contain;border:1px solid var(--wb-line);border-radius:8px;background:var(--wb-canvas)}
.wb-product-360-dialog .ly-related-placeholder{display:grid;place-items:center;color:var(--wb-muted);font-size:10px}
.wb-product-360-dialog .ly-related-product a{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;font-size:12px;line-height:1.6}
.wb-product-360-dialog .ly-related-product small{display:block;font-size:11px;color:var(--wb-muted);margin-top:5px}
.wb-product-360-dialog .ly-related-table th:first-child{min-width:280px}

/* Evidence-led operating report: shared brand tokens, compact reading and full print. */
#reportPanel .bs-decision-hero h2{font-size:23px;line-height:1.55;max-width:40em;margin:10px 0}
#reportPanel .bs-decision-hero>p{font-size:14px;line-height:1.85;color:var(--wb-text);max-width:90ch}
#reportPanel .bs-decision-hero footer{display:flex;flex-wrap:wrap;gap:14px;color:var(--wb-muted);font-size:11px;margin-top:14px}
#reportPanel .bs-decision-strengths{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 16px}
#reportPanel .bs-decision-strengths>details{border:1px solid var(--wb-line);border-radius:12px;background:var(--wb-surface);padding:14px;min-width:0}
#reportPanel .bs-decision-strengths>details>summary{cursor:pointer;font-size:13px;line-height:1.7;list-style:none}
#reportPanel .bs-decision-strengths>details>summary>span{display:block;color:var(--wb-blue);font-size:11px;margin-bottom:5px}
#reportPanel .bs-decision-strengths p{font-size:12px}
#reportPanel .bs-decision-sources{display:flex;gap:12px;align-items:baseline;flex-wrap:wrap;padding:4px 0 16px;font-size:12px;color:var(--wb-muted)}
#reportPanel .bs-decision-sources>strong{color:var(--wb-text)}
#reportPanel .bs-decision-sources>details{flex:1;min-width:200px}
#reportPanel .bs-decision-sources summary{cursor:pointer}
#reportPanel .bs-decision-more{margin-top:16px;font-size:12px;line-height:1.8}
#reportPanel .bs-decision-more>summary{color:var(--wb-blue);padding:8px 0;cursor:pointer;min-height:26px}
#reportPanel .bs-decision-more[open]>summary{margin-bottom:12px}
#reportPanel .bs-decision-diagnosis>.bs-section-title{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;align-items:center}
#reportPanel .bs-decision-diagnosis>.bs-section-title>span{font-size:11px;color:var(--wb-muted)}
#reportPanel .bs-decision-layout{display:grid;grid-template-columns:190px minmax(0,1fr);gap:24px}
#reportPanel .bs-decision-tabs{display:flex;flex-direction:column;gap:6px;align-self:start}
#reportPanel .bs-decision-tabs button{display:grid;grid-template-columns:22px minmax(0,1fr) 10px;gap:10px;align-items:center;text-align:left;width:100%;min-height:64px;padding:11px 12px;background:transparent;border:1px solid transparent;border-radius:10px;color:var(--wb-text);cursor:pointer;font:inherit}
#reportPanel .bs-decision-tabs button[aria-selected=true]{background:var(--wb-active,var(--wb-canvas));border-color:var(--wb-line);color:var(--wb-blue)}
#reportPanel .bs-decision-tabs button:hover{background:var(--wb-canvas)}
#reportPanel .bs-decision-tabs svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
#reportPanel .bs-decision-tabs strong{font-size:13px;font-weight:600;display:block}
#reportPanel .bs-decision-tabs small{font-size:11px;display:block;color:var(--wb-muted);margin-top:4px}
#reportPanel .bs-decision-tabs b{font-size:18px;font-weight:400}
#reportPanel .bs-decision-content{min-width:0;border-left:1px solid var(--wb-line);padding-left:24px}
#reportPanel .bs-decision-topic{outline-offset:4px;min-width:0}
#reportPanel .bs-decision-topic>header{display:flex;align-items:center;gap:10px;margin-bottom:16px}
#reportPanel .bs-decision-topic>header h3{font-size:13px;color:var(--wb-muted);margin:0}
#reportPanel .bs-decision-topic>h4{font-size:19px;line-height:1.65;margin-bottom:18px}
#reportPanel [data-state=attention]{color:var(--wb-text);font-weight:650}
#reportPanel .bs-decision-reason,#reportPanel .bs-decision-next{padding:12px 14px;border-radius:9px;background:var(--wb-canvas);font-size:13px;line-height:1.8;margin:12px 0}
#reportPanel .bs-decision-reason>span,#reportPanel .bs-decision-next>span{font-size:11px;color:var(--wb-muted);font-weight:650}
#reportPanel .bs-decision-next{border-left:3px solid var(--wb-blue)}
#reportPanel .bs-decision-next p{color:var(--wb-text)}
#reportPanel .bs-decision-proof{margin-top:18px;font-size:12px}
#reportPanel .bs-evidence-item{border-top:1px solid var(--wb-line);padding:10px 0;margin-top:8px;font-size:12px;min-width:0}
#reportPanel .bs-evidence-item>summary{display:flex;gap:8px;flex-wrap:wrap;align-items:baseline;cursor:pointer;line-height:1.6;min-height:24px;list-style:none}
#reportPanel .bs-evidence-item>summary>strong{color:var(--wb-text);font-weight:600}
#reportPanel .bs-evidence-item>summary>span{font-size:11px;color:var(--wb-muted);flex:1}
#reportPanel .bs-evidence-item>summary>i{font-style:normal;font-size:11px;color:var(--wb-blue)}
#reportPanel .bs-report-facts{margin:12px 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#reportPanel .bs-report-facts>div{min-width:0;background:var(--wb-canvas);border-radius:6px;padding:9px 11px}
#reportPanel .bs-report-facts dt{font-size:11px;color:var(--wb-muted);margin-bottom:4px}
#reportPanel .bs-report-facts dd{margin:0;font-size:12px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;color:var(--wb-text)}
#reportPanel .bs-report-facts .bs-report-facts{grid-template-columns:1fr;gap:3px;margin:5px 0}
#reportPanel .bs-report-facts .bs-report-facts>div{padding:3px 0}
#reportPanel .bs-decision-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0}
#reportPanel .bs-decision-products article{display:flex;gap:12px;min-width:0;border:1px solid var(--wb-line);border-radius:10px;padding:12px}
#reportPanel .bs-decision-products article>div{min-width:0}
#reportPanel .bs-decision-products img,#reportPanel .bs-decision-products .bs-placeholder{width:52px;height:52px;object-fit:contain;border-radius:7px;flex:0 0 52px;background:var(--wb-canvas)}
#reportPanel .bs-decision-products a{display:block;color:var(--wb-text);font-size:12px;font-weight:600;line-height:1.6;overflow-wrap:anywhere}
#reportPanel .bs-decision-products small,#reportPanel .bs-decision-products p{display:block;font-size:11px;line-height:1.6;color:var(--wb-muted);margin:4px 0}
#reportPanel .bs-decision-actions{display:grid;grid-template-columns:1fr;gap:0;margin-bottom:16px}
#reportPanel .bs-decision-actions>article{display:grid;grid-template-columns:34px minmax(0,1fr);gap:14px;padding:18px 0;border-bottom:1px solid var(--wb-line)}
#reportPanel .bs-decision-actions>article:first-child{padding-top:4px}
#reportPanel .bs-decision-order{font-size:20px;color:var(--wb-blue);font-weight:650;font-variant-numeric:tabular-nums}
#reportPanel .bs-decision-actions header{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:9px}
#reportPanel .bs-decision-actions header small{font-size:11px;color:var(--wb-muted)}
#reportPanel .bs-decision-actions h4{font-size:15px;margin:5px 0}
#reportPanel .bs-decision-actions p{font-size:13px;color:var(--wb-text);line-height:1.85}
#reportPanel .bs-decision-actions details>summary{cursor:pointer;color:var(--wb-blue);font-size:12px;padding:8px 0}
#reportPanel .bs-decision-report :is(button,summary,a):focus-visible,#reportPanel .bs-decision-strengths summary:focus-visible{outline:2px solid var(--wb-blue);outline-offset:3px}
@media(max-width:1000px){#reportPanel .bs-decision-products{grid-template-columns:1fr}#reportPanel .bs-decision-layout{grid-template-columns:160px minmax(0,1fr);gap:16px}#reportPanel .bs-decision-content{padding-left:16px}}
@media(max-width:700px){#reportPanel .bs-decision-layout{grid-template-columns:1fr;gap:16px}#reportPanel .bs-decision-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}#reportPanel .bs-decision-tabs button{grid-template-columns:1fr;gap:4px;min-height:70px;padding:9px;text-align:center}#reportPanel .bs-decision-tabs :is(svg,b){display:none}#reportPanel .bs-decision-tabs strong{font-size:12px}#reportPanel .bs-decision-content{border-left:0;border-top:1px solid var(--wb-line);padding:18px 0 0}#reportPanel .bs-decision-strengths{grid-template-columns:1fr}#reportPanel .bs-decision-topic>h4{font-size:17px}#reportPanel .bs-decision-hero h2{font-size:20px}#reportPanel .bs-decision-hero>p{font-size:13px}}
@media print{#reportPanel .bs-decision-layout{display:block}#reportPanel .bs-decision-content{border:0;padding:0}#reportPanel .bs-decision-topic[hidden]{display:block!important}#reportPanel .bs-decision-topic{margin-bottom:24px;break-inside:auto}#reportPanel .bs-decision-topic>h4{break-after:avoid}#reportPanel .bs-decision-products article{break-inside:avoid}#reportPanel .bs-decision-actions>article{break-inside:auto}#reportPanel .bs-decision-strengths{display:block}#reportPanel .bs-decision-strengths>details{margin-bottom:10px}#reportPanel .bs-evidence-item>summary>i{display:none}#reportPanel .bs-decision-hero{break-inside:avoid}}

/* PDF presentation: keep the decision layer readable and leave raw workbooks to Excel. */
@page report {
  size: A4 portrait;
  margin: 14mm 12mm 16mm;
}

body[data-workbench-tool=report]{page:report}

@media print {
  body[data-workbench-tool=report]{
    background:#fff!important;
    color:#172033!important;
    font-size:10.5pt;
    line-height:1.55;
  }

  body[data-workbench-tool=report] .workbench-main{
    width:100%;
    max-width:none;
    margin:0;
    padding:0;
  }

  body[data-workbench-tool=report] :is(.sidebar,.workbench-header,#groupNav,#featureTabs,.bs-controls,.bs-status,.bs-no-print,#workbenchAccessGate,#message,.access-gate,.wb-busy-track),
  #reportPanel .bs-report-evidence,
  body[data-workbench-tool=report] #reportPanel button{
    display:none!important;
  }

  body[data-workbench-tool=report] #reportPanel{
    display:block!important;
    width:100%;
    max-width:none;
    color:#172033!important;
  }

  /* The first card is the printed report masthead; the toolbar is hidden above. */
  body[data-workbench-tool=report] #reportPanel>.bs-card:first-child{
    display:block!important;
    margin:0 0 8mm;
    padding:0 0 5mm;
    border:0;
    border-bottom:2px solid #1d5fa7;
    border-radius:0;
    background:#fff!important;
    box-shadow:none;
    break-after:avoid;
  }
  body[data-workbench-tool=report] #reportPanel>.bs-card:first-child .bs-head{display:block}
  body[data-workbench-tool=report] #reportPanel>.bs-card:first-child h2{font-size:20pt;line-height:1.25;margin:0 0 3mm;color:#102b4d}
  body[data-workbench-tool=report] #reportPanel>.bs-card:first-child p{font-size:10pt;line-height:1.6;margin:1.5mm 0;color:#46566b}
  body[data-workbench-tool=report] #reportPanel>.bs-card:first-child #report-Scope{display:block!important;color:#63748a;font-size:9pt}

  body[data-workbench-tool=report] #reportPanel>#report-Results{
    display:block!important;
    width:100%;
  }
  body[data-workbench-tool=report] #reportPanel>#report-Results>#report-Coverage{display:none!important}
  body[data-workbench-tool=report] #reportPanel .bs-card{
    min-width:0;
    margin:0 0 7mm;
    padding:0;
    border:0;
    border-radius:0;
    background:#fff!important;
    color:#172033!important;
    box-shadow:none;
    break-inside:auto;
  }

  body[data-workbench-tool=report] #reportPanel .bs-report-section{
    break-inside:auto;
    page-break-inside:auto;
  }
  body[data-workbench-tool=report] #reportPanel .bs-section-title{
    margin:0 0 4mm;
    padding:0 0 2mm;
    border-bottom:1px solid #cfd9e5;
    break-after:avoid;
  }
  body[data-workbench-tool=report] #reportPanel .bs-section-title h3{font-size:13pt;line-height:1.3;color:#173f6d}
  body[data-workbench-tool=report] #reportPanel .bs-section-title p{font-size:9pt;line-height:1.5;margin:1mm 0 0;color:#5c6b7e}
  body[data-workbench-tool=report] #reportPanel :is(.bs-decision-hero,.bs-report-ai-hero){break-inside:avoid;page-break-inside:avoid}
  body[data-workbench-tool=report] #reportPanel .bs-decision-hero h2{font-size:17pt;line-height:1.35;margin:0 0 3mm;color:#102b4d}
  body[data-workbench-tool=report] #reportPanel .bs-decision-hero>p{font-size:10pt;line-height:1.7;margin:0;color:#24364c}
  body[data-workbench-tool=report] #reportPanel .bs-decision-hero footer{font-size:8.5pt;color:#687a8e;margin-top:3mm}

  /* Use wider readable cards in paper than in the dense screen dashboard. */
  body[data-workbench-tool=report] #reportPanel .bs-report-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:4mm}
  body[data-workbench-tool=report] #reportPanel .bs-report-metric,
  body[data-workbench-tool=report] #reportPanel .bs-report-funnel article,
  body[data-workbench-tool=report] #reportPanel .bs-report-products article,
  body[data-workbench-tool=report] #reportPanel .bs-decision-products article,
  body[data-workbench-tool=report] #reportPanel .bs-decision-strengths>details{
    break-inside:avoid;
    page-break-inside:avoid;
    background:#fff!important;
    border:1px solid #d5dee9;
    border-radius:5px;
  }
  body[data-workbench-tool=report] #reportPanel .bs-report-metric{padding:4mm}
  body[data-workbench-tool=report] #reportPanel .bs-report-metric>strong{font-size:17pt}
  body[data-workbench-tool=report] #reportPanel .bs-report-funnel{grid-template-columns:repeat(3,minmax(0,1fr));gap:3mm}
  body[data-workbench-tool=report] #reportPanel .bs-report-funnel article{padding:3mm;border-left:3px solid #1d5fa7}
  body[data-workbench-tool=report] #reportPanel .bs-report-funnel strong{font-size:16pt}
  body[data-workbench-tool=report] #reportPanel .bs-report-products,
  body[data-workbench-tool=report] #reportPanel .bs-decision-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:3mm}
  body[data-workbench-tool=report] #reportPanel .bs-report-products article,
  body[data-workbench-tool=report] #reportPanel .bs-decision-products article{padding:3mm}

  body[data-workbench-tool=report] #reportPanel .bs-decision-layout{display:block}
  body[data-workbench-tool=report] #reportPanel .bs-decision-content{border:0;padding:0}
  body[data-workbench-tool=report] #reportPanel .bs-decision-topic[hidden]{display:block!important}
  body[data-workbench-tool=report] #reportPanel .bs-decision-topic{margin:0 0 7mm;break-inside:auto;page-break-inside:auto}
  body[data-workbench-tool=report] #reportPanel .bs-decision-topic:first-child{break-before:page;page-break-before:always}
  body[data-workbench-tool=report] #reportPanel .bs-decision-topic>h4{font-size:14pt;line-height:1.45;margin:0 0 3mm;break-after:avoid}
  body[data-workbench-tool=report] #reportPanel .bs-decision-reason,
  body[data-workbench-tool=report] #reportPanel .bs-decision-next{padding:3mm 4mm;margin:3mm 0;background:#f5f8fb;color:#172033;break-inside:avoid}
  body[data-workbench-tool=report] #reportPanel .bs-decision-actions{display:block;margin:0}
  body[data-workbench-tool=report] #reportPanel .bs-decision-actions>article{break-inside:avoid;page-break-inside:avoid;padding:4mm 0;border-bottom:1px solid #d5dee9}
  body[data-workbench-tool=report] #reportPanel .bs-decision-actions details{break-inside:avoid;page-break-inside:avoid}
  body[data-workbench-tool=report] #reportPanel .bs-decision-actions details>summary,
  body[data-workbench-tool=report] #reportPanel .bs-decision-strengths>details>summary,
  body[data-workbench-tool=report] #reportPanel .bs-report-dimension>summary,
  body[data-workbench-tool=report] #reportPanel .bs-decision-more>summary,
  body[data-workbench-tool=report] #reportPanel .bs-decision-sources details>summary{color:#172033;cursor:default}
  body[data-workbench-tool=report] #reportPanel .bs-evidence-item>summary>i{display:none}
  body[data-workbench-tool=report] #reportPanel .bs-report-facts>div{background:#f5f8fb}

  body[data-workbench-tool=report] #reportPanel .bs-report-section .bs-table-wrap{max-height:none;overflow:visible;border:0;border-radius:0}
  body[data-workbench-tool=report] #reportPanel table{width:100%;min-width:0!important;table-layout:fixed;border-collapse:collapse;font-size:8.5pt}
  body[data-workbench-tool=report] #reportPanel thead{display:table-header-group}
  body[data-workbench-tool=report] #reportPanel tfoot{display:table-footer-group}
  body[data-workbench-tool=report] #reportPanel tr{break-inside:avoid;page-break-inside:avoid}
  body[data-workbench-tool=report] #reportPanel th{position:static;background:#eef3f8;color:#173f6d;font-weight:650;border-bottom:1px solid #bfcddd;padding:2.2mm 2mm;white-space:normal}
  body[data-workbench-tool=report] #reportPanel td{color:#172033;border-top:1px solid #dfe6ee;padding:2.2mm 2mm;vertical-align:top;overflow-wrap:anywhere}
  body[data-workbench-tool=report] #reportPanel :is(p,dd,dt,small,span,a){overflow-wrap:anywhere}
  body[data-workbench-tool=report] #reportPanel a{color:#173f6d;text-decoration:none}
  body[data-workbench-tool=report] #reportPanel img{break-inside:avoid;page-break-inside:avoid}
}
