.bp-workspace{color:var(--text,#24332e);max-width:100%;font-size:13px}.bp-section{background:var(--bg,#fff);border:1px solid var(--border,#dce3de);border-radius:12px;padding:22px;margin:18px 0}.bp-section h2{font-size:19px;margin:0 0 12px}.bp-section h3{font-size:14px;margin:16px 0 10px}.bp-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}.bp-note,.bp-callout{background:var(--bg2,#f1f5f2);border-left:3px solid #708777;padding:14px 16px;line-height:1.65}.bp-warning{border-color:#bc8a3d}.bp-muted{color:var(--text2,#65736c);line-height:1.65}.bp-controls{display:flex;flex-wrap:wrap;gap:14px;align-items:flex-end;margin:16px 0}.bp-controls label{display:grid;gap:6px;font-size:12px;color:var(--text2,#65736c)}.bp-controls input,.bp-controls select,.bp-table input:is([type=number],[data-bp-number]){font:inherit;padding:8px 10px;border:1px solid var(--border,#cbd6ce);border-radius:6px;background:var(--bg,#fff);color:var(--text,#24332e);max-width:100%}.bp-controls input{width:145px}.bp-controls select{min-width:165px;max-width:340px}.bp-workspace button{font:inherit;border:1px solid var(--border,#cbd6ce);border-radius:6px;background:var(--bg2,#f1f5f2);color:var(--text,#24332e);padding:8px 12px;cursor:pointer}.bp-workspace button:disabled{opacity:.5;cursor:default}.bp-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin:14px 0}.bp-card{border:1px solid var(--border,#dce3de);border-radius:9px;padding:16px;background:var(--bg2,#f6f8f5);display:flex;flex-direction:column;gap:10px;min-width:0}.bp-card>span{font-size:11px;color:var(--text2,#65736c)}.bp-card>strong{font-size:20px;font-weight:600;overflow-wrap:anywhere}.bp-loss{border-color:#ecd1c6;background:#fff7f2}.bp-loss>strong{color:#9f442e}.bp-periods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.bp-period{min-width:0}.bp-period .bp-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.bp-table{overflow:auto;max-width:100%;border:1px solid var(--border,#dce3de);border-radius:8px;margin:14px 0}.bp-table table{border-collapse:collapse;min-width:1200px;width:100%;font-size:12px}.bp-table th{background:var(--bg2,#f1f5f2);font-weight:500;white-space:normal;min-width:85px}.bp-table td,.bp-table th{padding:10px 12px;text-align:right;border-bottom:1px solid var(--border,#e4eae5);vertical-align:middle}.bp-table td:first-child,.bp-table th:first-child{text-align:left}.bp-table tr:nth-child(even){background:var(--bg2,#f7f9f6)}.bp-table tfoot{font-weight:600;background:var(--bg2,#f1f5f2)}.bp-table input:is([type=number],[data-bp-number]){width:82px}.bp-product{display:flex;align-items:center;gap:10px;text-align:left;min-width:220px}.bp-product img,.bp-placeholder{width:36px;height:48px;object-fit:cover;border-radius:4px;flex:none;background:var(--bg2,#edf1ec)}.bp-category-split{display:flex;flex-wrap:wrap;gap:12px}.bp-category-split>div{display:grid;gap:6px;padding:14px;border:1px solid var(--border,#dce3de);border-radius:8px;min-width:140px}@media(max-width:800px){.bp-periods{grid-template-columns:1fr}.bp-section{padding:15px}.bp-period .bp-cards{grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}.bp-card>strong{font-size:17px}}@media print{.bp-controls,.bp-workspace button{display:none}.bp-section{break-inside:avoid}.bp-table{overflow:visible}.bp-table table{min-width:0;font-size:8px}.bp-product{min-width:90px}}
.bp-scenarios table{min-width:650px}.bp-category-split meter{width:100%;height:10px}
/* Keep the planner dense like the established trading report. */
.bp-section{border-radius:4px;padding:18px;margin:16px 0;background:transparent;border-color:transparent}
.bp-section h2{font-size:17px;font-weight:600}
.bp-card{border:0;border-radius:4px;padding:14px 16px;gap:8px;background:#f7f9fc}
.bp-card>strong{font-size:19px}.bp-muted{font-size:12px;color:#65758b}
.bp-card.bp-negative>strong{color:#b91c1c}
.bp-card.bp-positive>strong{color:#15803d}
.bp-card.bp-has-footnote{position:relative;padding-bottom:30px}
.bp-card>.bp-card-footnote{position:absolute;right:12px;bottom:8px;color:#65758b;font-size:10px;font-weight:400;line-height:1.2}
.bp-table th,.bp-table td{padding:7px 9px;line-height:1.4}
.bp-table .bp-selection{width:42px;min-width:42px;max-width:42px;text-align:center}
.bp-table input[type=checkbox]{width:14px;height:14px;padding:0;margin:0;vertical-align:middle;accent-color:#2563eb}
.bp-table input:is([type=number],[data-bp-number]){width:70px;min-height:30px;padding:5px 7px;margin:0}
.bp-table .bp-evidence{min-width:240px;width:260px;text-align:left;font-size:11px;color:#627084}
.bp-product{min-width:200px;gap:9px}.bp-product img,.bp-placeholder{width:30px;height:40px}
.bp-category-chart{border:1px solid #d3deec;background:#fff;border-radius:4px;padding:16px;margin-top:18px}
.bp-category-chart h3{font-size:11px;color:#64748b;font-weight:500;text-transform:uppercase;letter-spacing:.04em;margin:0 0 12px}
.bp-category-bar-row{display:grid;grid-template-columns:140px minmax(0,1fr) 56px;gap:10px;align-items:center;margin:7px 0;font-size:12px}
.bp-category-bar-label{text-align:right;overflow-wrap:anywhere}.bp-category-track{position:relative;background:#f1f4f9;height:22px;border-radius:3px;overflow:hidden}
.bp-category-fill{height:100%;border-radius:3px;overflow:hidden;white-space:nowrap;padding:3px 6px;color:#fff;font-size:11px;font-weight:600;min-width:0}
.bp-category-share{text-align:right;font-size:11px;color:#64748b}.bp-category-bar-row:nth-of-type(8n+1) .bp-category-fill{background:#4d7af0}.bp-category-bar-row:nth-of-type(8n+2) .bp-category-fill{background:#8060a7}.bp-category-bar-row:nth-of-type(8n+3) .bp-category-fill{background:#3aa77b}.bp-category-bar-row:nth-of-type(8n+4) .bp-category-fill{background:#e7782b}.bp-category-bar-row:nth-of-type(8n+5) .bp-category-fill{background:#dc4853}.bp-category-bar-row:nth-of-type(8n+6) .bp-category-fill{background:#2fa6ae}.bp-category-bar-row:nth-of-type(8n+7) .bp-category-fill{background:#9aa835}.bp-category-bar-row:nth-of-type(8n+8) .bp-category-fill{background:#a87147}
/* Keep bar lengths proportional on hover; the tooltip contains the full values. */
.bp-stock-categories{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:16px 0}
.bp-stock-category{padding:13px;background:#f7f9fc;border-radius:4px;display:flex;flex-direction:column;gap:5px;min-width:0;font-size:12px}.bp-stock-category strong{font-size:15px}.bp-stock-category small{font-size:10px;color:#65758b}.bp-stock-category-more{display:flex;align-items:center;justify-content:center}
.bp-stock-summary{grid-template-columns:repeat(5,minmax(0,1fr))}.bp-actual-summary{grid-template-columns:repeat(8,minmax(0,1fr))}
@media(max-width:1100px){.bp-actual-summary{grid-template-columns:repeat(4,minmax(0,1fr))}.bp-stock-categories{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.bp-stock-summary,.bp-actual-summary,.bp-stock-categories{grid-template-columns:repeat(2,minmax(0,1fr))}.bp-category-bar-row{grid-template-columns:85px minmax(0,1fr) 38px;gap:5px;font-size:10px}.bp-category-chart{padding:10px}.bp-category-fill{font-size:10px}}
.bp-category-fill.bp-category-unknown{width:100%!important;background:transparent!important;color:#64748b}
.bp-stock-categories{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}.bp-stock-category strong{font-size:12px;font-weight:600}.bp-stock-category b{font-size:15px}.bp-stock-category>span{font-size:10px;color:#65758b}.bp-stock-category-more{min-height:75px}
.bp-category-track>.bp-category-unknown{position:absolute;inset:0;padding:3px 6px;font-size:11px;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.bp-table:has(.bp-selection) th:first-child,.bp-table:has(.bp-selection) td:first-child{min-width:42px;width:42px;max-width:42px;text-align:center}

/* Scope compact report sizing above the shared page typography. */
body[data-page-key="commercial-bestsellers.html"] .bp-section h2{font-size:17px;margin:0 0 8px}
.bp-category-fill{box-sizing:border-box}
.bp-category-chart .bp-category-bar-row{margin:6px 0}
.bp-stock-category{padding:11px 12px;gap:4px}
.bp-stock-categories{grid-template-columns:repeat(6,minmax(0,1fr))}
.bp-stock-category-more{min-height:70px}
.bp-table table{table-layout:auto}
.bp-table tbody td{padding:6px 9px;height:auto;line-height:1.35}
.bp-table .bp-product{min-width:185px;max-width:235px}
.bp-table .bp-product strong{font-weight:600;overflow-wrap:anywhere}
.bp-table .bp-evidence{min-width:210px;width:230px}
.bp-table input[type=checkbox]{min-height:0;box-sizing:border-box}
@media(max-width:1100px){.bp-stock-categories{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.bp-stock-categories{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Match the reference report density without inheriting onboarding form spacing. */
.bp-workspace .bp-section p{margin:6px 0 12px}
.bp-workspace .bp-controls input,.bp-workspace .bp-controls select{margin:0}
.bp-workspace .bp-stock-categories{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}
.bp-workspace .bp-table th:nth-child(2):has(+th),.bp-workspace .bp-table td:has(>.bp-product){text-align:left}
@media(max-width:650px){.bp-workspace .bp-stock-categories{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Forecast review: keep the planning decisions compact and the evidence secondary. */
.bp-forecast-workspace{--text:#172033;--text2:#5f6f86;--bg:#fff;--bg2:#f7f9fc;--border:#d6dee9}
.bp-forecast-workspace .bp-section{margin:20px 0;padding:0;border:0;min-width:0}
.bp-forecast-workspace .bp-setup,.bp-forecast-workspace .bp-outcome,.bp-forecast-workspace .bp-buy-plan{padding:16px;background:#fff;border:1px solid #d6dee9;border-radius:6px}
.bp-forecast-workspace .bp-heading{gap:10px;margin-bottom:10px}
.bp-forecast-workspace .bp-controls{gap:10px;margin:10px 0;align-items:end}
.bp-forecast-workspace .bp-controls label{min-width:0;margin:0;font-size:11px;gap:4px}
.bp-forecast-workspace .bp-controls input,.bp-forecast-workspace .bp-controls select{box-sizing:border-box;max-width:100%;min-height:34px;padding:7px 9px;font-size:12px;border-radius:4px}
.bp-forecast-workspace .bp-controls input{width:138px}
.bp-forecast-workspace .bp-controls select{min-width:130px}
.bp-forecast-workspace button{padding:7px 10px;border-radius:4px;font-size:12px;background:#fff;color:#263e60}
.bp-forecast-workspace button:focus-visible,.bp-forecast-workspace summary:focus-visible,.bp-forecast-workspace input:focus-visible,.bp-forecast-workspace select:focus-visible{outline:2px solid #2563eb;outline-offset:2px}
.bp-forecast-workspace .bp-disclosure{margin:12px 0;padding:0;border:1px solid #d6dee9;border-radius:5px;background:#fff;min-width:0}
.bp-forecast-workspace .bp-disclosure>summary{padding:10px 12px;font-size:12px;color:#263e60;font-weight:600}
.bp-forecast-workspace .bp-disclosure[open]{padding:0 12px 12px}
.bp-forecast-workspace .bp-disclosure[open]>summary{margin:0 -12px 10px;border-bottom:1px solid #e2e7ee}
.bp-forecast-workspace .bp-disclosure .bp-section{margin:12px 0 0}
.bp-forecast-workspace .bp-disclosure .bp-category-chart{margin-top:8px;border:0;padding:0}
.bp-forecast-workspace .bp-cards{gap:10px;margin:12px 0}
.bp-forecast-workspace .bp-card{padding:12px;gap:6px}
.bp-forecast-workspace .bp-card>strong{font-size:19px;line-height:1.25;font-variant-numeric:tabular-nums}
.bp-forecast-workspace .bp-card.bp-has-footnote{padding-bottom:28px}
.bp-forecast-workspace .bp-periods{gap:14px}
.bp-forecast-workspace .bp-period h3{font-size:13px;margin:2px 0 8px}
.bp-forecast-workspace .bp-muted{font-size:11px;line-height:1.5}
.bp-forecast-workspace .bp-plan-summary{position:sticky;top:8px;z-index:3;padding:10px;border:1px solid #c5d5ef;border-radius:5px;background:#f5f8ff;box-shadow:0 2px 5px #1720330a}
.bp-forecast-workspace .bp-plan-summary .bp-cards{margin:0}
.bp-forecast-workspace .bp-plan-summary{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 18px;font-size:12px}
.bp-forecast-workspace .bp-plan-summary>strong{font-size:16px;color:#172033;font-variant-numeric:tabular-nums}
.bp-forecast-workspace .bp-buy-table .bp-row-details .bp-controls{display:grid;grid-template-columns:repeat(2,minmax(95px,1fr));gap:8px}
.bp-forecast-workspace .bp-buy-table .bp-row-details .bp-controls input{width:100%;max-width:145px}
.bp-forecast-workspace .bp-check{display:flex!important;align-items:center;gap:6px!important;min-height:34px}
.bp-forecast-workspace .bp-check input[type=checkbox]{width:14px;min-height:14px;margin:0}
.bp-forecast-workspace .bp-plan-summary .bp-card{background:transparent;padding:6px 8px}
.bp-forecast-workspace .bp-buy-table{border-radius:4px;margin:12px 0}
.bp-forecast-workspace .bp-buy-table table{min-width:940px;width:100%;table-layout:auto}
.bp-forecast-workspace .bp-buy-table th,.bp-forecast-workspace .bp-buy-table td{padding:7px 8px;font-size:11px;min-width:58px}
.bp-forecast-workspace .bp-buy-table th{white-space:nowrap;background:#f1f5fa}
.bp-forecast-workspace .bp-buy-table th:first-child,.bp-forecast-workspace .bp-buy-table td:first-child{min-width:30px;width:30px;max-width:30px;text-align:center}
.bp-forecast-workspace .bp-buy-table .bp-product{min-width:180px;max-width:240px;gap:8px}
.bp-forecast-workspace .bp-product-copy{display:flex;flex-direction:column;gap:3px;min-width:0;text-align:left}
.bp-forecast-workspace .bp-product-meta{font-size:10px;color:#65758b;font-weight:400}
.bp-forecast-workspace .bp-row-details{text-align:left;white-space:normal;max-width:100%;margin:4px 0;font-size:11px}
.bp-forecast-workspace .bp-row-details summary{font-size:10px;color:#526989}
.bp-forecast-workspace .bp-buy-table input:is([type=number],[data-bp-number]){width:70px;min-height:30px;padding:5px 6px}
.bp-forecast-workspace .bp-scenarios table{min-width:650px}
.bp-forecast-workspace .bp-scenarios td,.bp-forecast-workspace .bp-scenarios th{font-size:11px;min-width:0;padding:8px}
.forecast-scenario-dialog{box-sizing:border-box;width:min(650px,calc(100vw - 32px));max-height:85vh;overflow:auto;border:1px solid #bdc9d9;border-radius:8px;padding:20px;color:#172033;background:#fff}
.forecast-scenario-dialog::backdrop{background:#17203366}
.forecast-scenario-dialog h2{font-size:18px;margin:0 0 12px}
.forecast-scenario-dialog label{display:grid;gap:5px;margin:10px 0;font-size:12px}
.forecast-scenario-dialog input{box-sizing:border-box;width:100%;padding:9px;border:1px solid #aebccc;border-radius:4px;font:inherit}
.forecast-scenario-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;margin-top:12px}
.forecast-scenario-list{display:grid;gap:8px;padding:0;list-style:none}
.forecast-scenario-list>li,.forecast-scenario-list>article{padding:12px;border:1px solid #d6dee9;border-radius:5px;overflow-wrap:anywhere}
.forecast-scenario-list small{display:block;color:#65758b;margin-top:4px}
@media(max-width:800px){.bp-forecast-workspace .bp-plan-summary{position:static}.bp-forecast-workspace .bp-buy-plan,.bp-forecast-workspace .bp-setup,.bp-forecast-workspace .bp-outcome{padding:12px}}
@media(max-width:650px){.bp-forecast-workspace .bp-controls label{flex:1 1 125px}.bp-forecast-workspace .bp-controls input,.bp-forecast-workspace .bp-controls select{width:100%;min-width:0}.bp-forecast-workspace .bp-plan-summary .bp-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.bp-forecast-workspace .bp-card>strong{font-size:17px}.bp-forecast-workspace .bp-disclosure[open]{padding:0 10px 10px}.bp-forecast-workspace .bp-disclosure[open]>summary{margin:0 -10px 8px}.forecast-scenario-dialog{padding:14px}}
@media print{.bp-forecast-workspace .bp-plan-summary{position:static;box-shadow:none}.bp-forecast-workspace .bp-buy-table table{min-width:0}.bp-forecast-workspace .bp-buy-table .bp-product{min-width:80px}}
