.brand{font-weight:800;font-size:22px;text-decoration:none}#report-form,.report-tools{display:flex;gap:20px;align-items:end;flex-wrap:wrap}#report-form label,.report-tools label{display:grid;gap:8px}#report-form button,.report-tools button{width:auto}.report-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:28px 0}.report-cards article{padding:24px;background:white;border:1px solid #e2e7ee;border-radius:14px}.report-cards strong{display:block;font-size:28px;margin-top:12px}.report-table{overflow-x:auto;margin:20px 0;background:white;border:1px solid #e2e7ee;border-radius:12px}table{width:100%;border-collapse:collapse;min-width:760px}th,td{padding:14px;text-align:right;border-bottom:1px solid #e8edf4;font-variant-numeric:tabular-nums}th:first-child,td:first-child{text-align:left}th{font-size:12px;color:#536075;background:#f1f5fa}tfoot{font-weight:700;background:#f1f5fa}details{margin:24px 0}summary{cursor:pointer;font-weight:700}#report-warning{line-height:1.65}@media(max-width:650px){.report-cards{grid-template-columns:1fr}.report-cards article{padding:16px}.report-cards strong{font-size:24px}header{gap:12px;flex-wrap:wrap}}

.header-actions a{font-size:14px;color:var(--blue);text-decoration:none}#report-form input,.report-tools input{margin-bottom:0}.topbar{min-height:88px;height:auto;padding-top:16px;padding-bottom:16px}@media(max-width:650px){.topbar{gap:12px}.header-actions{flex-wrap:wrap}}

#csv-text{display:block;width:100%;margin-top:12px;padding:12px;border:1px solid var(--line);border-radius:8px;font-size:12px}#csv-fallback label{font-size:13px;color:var(--muted)}

.range-shortcuts{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:20px}.range-shortcuts button{font-size:13px}.saved-reports{margin:20px 0;padding:18px;background:#eef3fb;border-radius:12px}.saved-reports label{display:block;font-size:14px;font-weight:600;margin-bottom:10px}.saved-reports select{max-width:100%;width:100%;padding:10px;border:1px solid var(--line);border-radius:8px;font:inherit;background:white}.saved-reports .fine{margin-bottom:0}

/* One compact date toolbar; the calendar and optional comparison stay in its dialog. */
#report-controls{margin:10px 0 14px}#report-form.date-toolbar{display:flex;align-items:end;flex-wrap:wrap;gap:8px;padding:10px;background:#fff;border:1px solid #d6dee9;border-radius:6px}#report-form.date-toolbar label{display:grid;margin:0;gap:3px;font-size:11px;color:#536075}#report-form.date-toolbar select{height:35px;border:1px solid #aebccc;border-radius:4px;background:#fff;max-width:220px;min-width:145px;padding:5px 8px;font:inherit}#report-form.date-toolbar #saved-ranges{min-width:210px;max-width:290px}#date-range-trigger{min-width:210px;height:35px;text-align:left;white-space:nowrap;background:#f3f7ff;border-color:#94b4ec;color:#173f82}#report-form.date-toolbar button{height:35px;padding:6px 11px}#report-form.date-toolbar #run-report{background:#2563eb;color:#fff}#report-controls>#saved-range-note[hidden]{display:none}#report-controls>#saved-range-note:not([hidden]){margin:5px 2px 0}
#date-range-dialog,#group-scheme-dialog{border:1px solid #c9d5e6;border-radius:10px;box-shadow:0 22px 65px #17203345;background:#fff;color:#172033;max-width:min(780px,calc(100vw - 24px));max-height:calc(100vh - 32px);overflow:auto;padding:18px 20px}#date-range-dialog::backdrop,#group-scheme-dialog::backdrop{background:#13213d83}.date-dialog-head{display:flex;justify-content:space-between;align-items:start;gap:12px}.date-dialog-head h2{margin:0}.date-dialog-head .fine{margin:5px 0 0}.date-dialog-head>button{font-size:21px;line-height:1;padding:4px 9px}.calendar-toolbar{display:flex;align-items:center;justify-content:space-between;margin:16px 0 7px}.calendar-toolbar strong{font-size:13px}.calendar-months{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.calendar-month{border:1px solid #dce4ee;border-radius:7px;padding:10px}.calendar-month h3{margin:0 0 8px;font-size:13px}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}.calendar-weekday{font-size:10px;font-weight:700;color:#64748b;padding:4px 0}.calendar-grid button{min-width:0;padding:5px 0;border:0;background:transparent;color:#172033;font-size:11px}.calendar-grid button:hover:not(:disabled),.calendar-grid button:focus-visible{background:#dceafd;outline:2px solid #3977d4}.calendar-grid button.range-between{background:#e3efff;border-radius:0}.calendar-grid button.range-edge{background:#2563eb;color:#fff;border-radius:4px}.calendar-grid button:disabled{color:#acb8c9;cursor:not-allowed}.comparison-choice{display:grid;gap:4px;margin:13px 0 7px;font-size:12px;font-weight:600}.comparison-choice select{max-width:220px;padding:7px;border:1px solid #aebccc;border-radius:4px;background:#fff}.calendar-target{border:0;padding:0;margin:7px 0;display:flex;gap:16px;font-size:12px}.calendar-target[hidden]{display:none}.calendar-target legend{font-size:11px;color:#64748b}.calendar-target label{display:flex;align-items:center;gap:5px}.date-dialog-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px}.date-dialog-fields label{display:grid;gap:4px;font-size:12px}.date-dialog-fields input{width:100%;padding:7px;border:1px solid #aebccc;border-radius:4px;font:inherit}.date-dialog-fields [hidden]{display:none}.date-dialog-actions{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:13px}.date-dialog-actions button{padding:7px 9px}.date-dialog-actions .primary{background:#2563eb;color:#fff}.group-categories-tab{margin-left:auto!important;border:1px solid #aebccc!important;border-radius:4px!important;background:#fff!important;align-self:center;padding:8px 11px!important}.group-categories-tab[hidden]{display:none}#group-scheme-dialog{width:min(960px,calc(100vw - 24px));max-width:960px}#group-scheme-dialog .group-scheme-editor{display:block}#group-scheme-dialog .group-scheme-editor>summary{display:none}#group-scheme-dialog #group-scheme-workspace{max-width:100%;overflow:auto}#group-scheme-note:not([hidden]){margin:5px 0;color:#536075}
@media(max-width:660px){.calendar-months{grid-template-columns:1fr}#date-range-dialog,#group-scheme-dialog{padding:13px}.date-dialog-fields{grid-template-columns:1fr}#report-form.date-toolbar #saved-ranges{max-width:190px;min-width:145px}#date-range-trigger{min-width:190px}}

/* The existing internal report's compact, wide trading workspace. */
body{background:#eef2f6;color:#172033;font-family:Inter,Segoe UI,Arial,sans-serif}main{max-width:1600px;padding:22px 24px 48px}.topbar{min-height:66px}h1{font-size:26px;letter-spacing:-.4px;margin-bottom:8px}h2{font-size:18px;margin:14px 0 8px}.metric-heading{font-size:14px}.notice,.fine{font-size:12px}.report-tabs{display:flex;gap:3px;flex-wrap:wrap;border-bottom:1px solid #d6dee9;margin:20px 0}.report-tabs button{border:0;border-radius:4px 4px 0 0;background:transparent;font-size:13px;padding:12px 16px}.report-tabs button[aria-pressed=true]{background:#fff;border-bottom:3px solid #2563eb;color:#1d4ed8}.report-cards{margin:12px 0 20px;gap:12px}.report-cards article{border-radius:4px;padding:16px}.report-cards strong{font-size:26px}.report-tools{gap:10px;background:#fff;border:1px solid #d6dee9;padding:14px;border-radius:4px}.report-tools label{font-size:12px;gap:5px}.report-tools input,.report-tools select{font:inherit;min-height:35px;padding:8px;border:1px solid #aebccc;border-radius:4px;max-width:190px}.view-note{font-size:12px;line-height:1.6;color:#5f6f86;margin-bottom:14px}.report-table{border-radius:4px}th,td{padding:10px 12px;font-size:12px}th{white-space:nowrap}th:first-child,td:first-child{min-width:185px}button{border-radius:4px;font-size:12px}.saved-reports{border-radius:4px;padding:12px}.range-shortcuts{margin-bottom:12px}#report-form{gap:12px}#report-form label{font-size:12px}.report-cards small{font-size:12px}#report-source{margin:0 0 8px}#report-warning{margin-bottom:16px}#report-content>details{font-size:12px}

.selection-tools{display:flex;flex-wrap:wrap;align-items:center;gap:16px;margin:16px 0 8px;font-size:12px}.selection-tools label{display:flex;align-items:center;gap:6px}.selection-tools input,.selection-cell input{width:16px;height:16px;margin:0;accent-color:#2563eb}.selection-cell{min-width:48px!important;width:48px;text-align:center!important}.selection-tools button{padding:8px 10px}

.selection-cell+th,.selection-cell+td{min-width:185px;text-align:left}

.selection-tools input,.selection-cell input{padding:0}

.product-link{border:0;background:none;padding:0;color:#1d4ed8;font-weight:650;text-align:left;text-decoration:underline;text-underline-offset:3px}.report-table img{width:42px;height:54px;object-fit:cover;vertical-align:middle;margin-right:10px;border-radius:4px}dialog{border:1px solid #cbd5e1;border-radius:12px;padding:24px;max-width:640px;width:90%;max-height:85vh;overflow:auto}dialog::backdrop{background:#17203388}dialog dl{display:grid;grid-template-columns:1fr 1.5fr;gap:12px;font-size:13px}dialog dt{color:#64748b}dialog dd{margin:0;overflow-wrap:anywhere}dialog p{font-size:12px;line-height:1.6}#close-product{float:right}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #93c5fd;outline-offset:3px}.report-table thead{position:sticky;top:0}.table-pages{display:flex;gap:10px}

body[data-page-key="commercial-weekly-actions.html"] #saved{margin:24px 0 32px}
#action-form{display:grid;gap:14px;margin:18px 0}#action-form label{display:grid;gap:6px;font-size:13px}#action-form select,#action-form textarea,#action-form input{font:inherit;padding:10px;border:1px solid #aebccc;border-radius:4px;box-sizing:border-box;width:100%}#action-form textarea{resize:vertical;min-height:100px}#action-form button{justify-self:start}#close-action{float:right}#action-history p{padding:12px;background:#f4f7fb;border-left:3px solid #cbd5e1;border-radius:4px;overflow-wrap:anywhere}

body[data-page-key="commercial-merchandising.html"] .filters{display:flex;flex-wrap:wrap;gap:18px;align-items:end}
body[data-page-key="commercial-merchandising.html"] .filters label{display:grid;gap:8px;flex:1;min-width:170px}
body[data-page-key="commercial-merchandising.html"] .filters input{margin:0}
body[data-page-key="commercial-merchandising.html"] select{padding:12px;border:1px solid var(--line);border-radius:8px;background:white;min-height:44px;font:inherit}
body[data-page-key="commercial-merchandising.html"] .panel{margin:20px 0}
body[data-page-key="commercial-merchandising.html"] .table-wrap{overflow-x:auto}
body[data-page-key="commercial-merchandising.html"] table{min-width:1000px}
body[data-page-key="commercial-merchandising.html"] caption{text-align:left;padding:14px 0;font-weight:700}
body[data-page-key="commercial-merchandising.html"] td:last-child{text-align:left;min-width:180px}

.inspect-product{display:block;margin-top:8px;font-size:12px;padding:6px 10px}
#product-dialog{max-width:720px;width:calc(100% - 48px);max-height:85vh;overflow:auto;border:1px solid #d7deea;border-radius:16px;padding:28px;color:#192638}
#product-dialog::backdrop{background:rgb(20 35 55 / 45%)}
#product-dialog form{text-align:right}#product-dialog dl{display:grid;grid-template-columns:minmax(120px,1fr) 2fr;gap:12px 20px}#product-dialog dt{font-weight:700}#product-dialog dd{margin:0;overflow-wrap:anywhere}

/* Shared review layout for the New In and preview-only Collection Planner tiles. */
body[data-tile] main{max-width:1440px;margin:0 auto;min-width:0}body[data-tile] .hero{padding:20px 0 8px}body[data-tile] .panel{min-width:0;padding:24px;margin:20px 0;border:1px solid var(--line);border-radius:16px;background:white}body[data-tile] .filters{display:flex;align-items:end;flex-wrap:wrap;gap:16px;margin:16px 0}body[data-tile] .filters label{display:grid;gap:7px;font-size:13px;font-weight:600;min-width:150px;flex:1 1 170px}body[data-tile] .filters input,body[data-tile] .filters select{width:100%;max-width:100%;margin:0;border:1px solid var(--line);border-radius:8px;padding:10px 12px;background:white;color:var(--ink);font:inherit;min-height:42px}body[data-tile] button{border:1px solid var(--line);border-radius:8px;padding:11px 15px;background:white;color:var(--blue);font-weight:600;cursor:pointer}body[data-tile] button:disabled{opacity:.5;cursor:default}body[data-tile] .filters p{flex-basis:100%;font-size:13px;color:var(--muted);line-height:1.6}body[data-tile] .table-wrap{max-width:100%;overflow-x:auto;border:1px solid var(--line);border-radius:10px;margin:20px 0}body[data-tile] table{min-width:1120px}body[data-tile] caption{text-align:left;padding:14px;color:var(--muted);font-size:13px}body[data-tile] td{vertical-align:top;font-size:13px}body[data-tile] td button{display:block;font-size:12px;margin-top:8px;padding:6px 9px}body[data-tile] #source,body[data-tile] #coverage,body[data-tile] #count{font-size:13px;color:var(--muted);line-height:1.65}body[data-tile] #details{max-width:760px;width:calc(100% - 40px);max-height:85vh;overflow:auto;border:1px solid var(--line);border-radius:16px;padding:26px;color:var(--ink)}body[data-tile] #details::backdrop{background:rgb(20 35 55 / 45%)}body[data-tile] #details form{text-align:right}body[data-tile] #details dl{display:grid;grid-template-columns:minmax(130px,1fr) 2fr;gap:14px 24px;font-size:14px}body[data-tile] #details dt{font-weight:600}body[data-tile] #details dd{margin:0;overflow-wrap:anywhere}body[data-tile] [hidden]{display:none!important}body[data-tile] .header-actions{flex-wrap:wrap;gap:14px}body[data-tile] .topbar{gap:18px;flex-wrap:wrap}body[data-tile] #range-form button{background:var(--blue);color:white}@media(max-width:650px){body[data-tile] .panel{padding:16px}body[data-tile] .filters label{min-width:0;flex-basis:100%}body[data-tile] #details dl{grid-template-columns:1fr;gap:6px}body[data-tile] #details dd{margin-bottom:12px}body[data-tile] .topbar{padding:16px 20px}body[data-tile] .header-actions{gap:12px;font-size:12px}}

body[data-page-key="commercial-weekly-actions.html"] #bulk-tools label:has(input[type="checkbox"]){display:flex;align-items:center;gap:6px;align-self:center}
body[data-page-key="commercial-weekly-actions.html"] #bulk-tools input[type="checkbox"]{width:16px;height:16px;min-height:0;padding:0;margin:0}
body[data-page-key="commercial-bestsellers.html"] .group-summary-chip{flex-basis:198px;min-width:185px;padding:8px 10px;line-height:1.25}
body[data-page-key="commercial-bestsellers.html"] .group-summary-chip span{line-height:1.3;margin-top:3px}


/* Whole-range trading cards follow the compact internal six-card summary. */
.overall-metrics-head{display:flex;align-items:baseline;gap:12px;margin-top:14px}.overall-metrics-head .metric-heading{margin:0;font-size:13px;font-weight:650}.overall-metrics-head span{font-size:11px;color:#64748b}.report-cards.overall-cards{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:8px 0 14px}.report-cards.overall-cards article{min-width:0;min-height:86px;padding:12px 14px;border-radius:4px}.report-cards.overall-cards small{display:block;color:#536075;font-size:11px;line-height:1.25}.report-cards.overall-cards strong{font-size:18px;font-weight:500;line-height:1.25;margin-top:4px;white-space:nowrap;font-variant-numeric:tabular-nums}.report-cards.overall-cards article>span{display:block;margin-top:4px;color:#64748b;font-size:10px;line-height:1.3}.overall-reconciliation{margin:0 0 12px;font-size:11px}.overall-reconciliation summary{color:#536075;font-weight:600}.overall-reconciliation .report-cards{margin:9px 0;gap:8px}.overall-reconciliation .report-cards article{padding:10px 12px}.overall-reconciliation .report-cards strong{font-size:17px;margin-top:4px}
@media(max-width:1150px){.report-cards.overall-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:650px){.report-cards.overall-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.overall-metrics-head{display:block}.report-cards.overall-cards strong{font-size:16px}}

/* Product workspace controls are revealed on demand; active state stays in the toolbar. */
body[data-page-key="commercial-bestsellers.html"] .report-workspace-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:7px;background:#fff;border:1px solid #d6dee9;border-radius:5px;padding:8px 10px;margin:10px 0 0}
body[data-page-key="commercial-bestsellers.html"] .report-workspace-toolbar button{width:auto;margin:0;padding:6px 10px;min-height:30px;border:1px solid #bdc9d9;border-radius:4px;background:#fff;color:#263e60}
body[data-page-key="commercial-bestsellers.html"] .report-workspace-toolbar button[aria-expanded="true"]{background:#e7eeff;border-color:#8aa9e6;color:#1d4ed8}
body[data-page-key="commercial-bestsellers.html"] .report-workspace-toolbar button[hidden],body[data-page-key="commercial-bestsellers.html"] .report-control-panel[hidden],body[data-page-key="commercial-bestsellers.html"] .report-context-details[hidden]{display:none!important}
body[data-page-key="commercial-bestsellers.html"] .report-workspace-spacer{flex:1 1 18px}
body[data-page-key="commercial-bestsellers.html"] .report-control-panel{display:flex;gap:10px;align-items:end;flex-wrap:wrap;padding:10px 12px;margin:0 0 8px;background:#fff;border:1px solid #d6dee9;border-top:0;border-radius:0 0 5px 5px}
body[data-page-key="commercial-bestsellers.html"] .report-control-panel label{display:grid;margin:0;gap:4px;font-size:11px}
body[data-page-key="commercial-bestsellers.html"] #search-panel input{width:min(390px,calc(100vw - 90px));max-width:100%;min-height:35px;padding:7px 9px;border:1px solid #aebccc;border-radius:4px}
body[data-page-key="commercial-bestsellers.html"] #view-panel #view-display-tools,body[data-page-key="commercial-bestsellers.html"] #selection-panel #product-selection-tools{margin:0;padding:0;border:0;background:none}
body[data-page-key="commercial-bestsellers.html"] .report-context-details{margin:5px 0 8px;font-size:11px;color:#536075}
body[data-page-key="commercial-bestsellers.html"] .report-context-details summary{font-weight:600}
body[data-page-key="commercial-bestsellers.html"] .report-context-details .view-note,body[data-page-key="commercial-bestsellers.html"] .report-context-details .fine{margin:7px 0;line-height:1.45}
body[data-page-key="commercial-bestsellers.html"] #product-table{max-width:100%;overflow-x:auto;margin:8px 0 12px}
body[data-page-key="commercial-bestsellers.html"] #product-table > table{table-layout:auto;width:max-content;min-width:100%}
body[data-page-key="commercial-bestsellers.html"] #product-table > table > thead th,body[data-page-key="commercial-bestsellers.html"] #product-table > table > tbody td,body[data-page-key="commercial-bestsellers.html"] #product-table > table > tfoot td{padding:6px 8px;font-size:11px;min-width:0;vertical-align:middle}
body[data-page-key="commercial-bestsellers.html"] #product-table > table > thead th.bs-select,body[data-page-key="commercial-bestsellers.html"] #product-table > table > tbody td.bs-select{width:28px;min-width:28px;max-width:28px;padding:4px 5px;text-align:center}
body[data-page-key="commercial-bestsellers.html"] #product-table > table > thead th.bs-rank,body[data-page-key="commercial-bestsellers.html"] #product-table > table > tbody td.bs-rank{width:30px;min-width:30px;max-width:30px;padding:4px;text-align:center}
body[data-page-key="commercial-bestsellers.html"] #product-table > table > thead th.bs-image,body[data-page-key="commercial-bestsellers.html"] #product-table > table > tbody td.bs-image{width:48px;min-width:48px;max-width:48px;padding:3px 4px;text-align:center}
body[data-page-key="commercial-bestsellers.html"] #product-table > table > thead th.bs-col-title,body[data-page-key="commercial-bestsellers.html"] #product-table > table > tbody td.bs-col-title{min-width:180px;width:210px;max-width:240px;text-align:left}
body[data-page-key="commercial-bestsellers.html"] #product-table > table > tbody .table-product-image,body[data-page-key="commercial-bestsellers.html"] #product-table > table > tbody .table-product-image img{width:36px;height:48px}
body[data-page-key="commercial-bestsellers.html"] #product-table > table > tbody .product-link{min-width:0;max-width:210px;font-size:11px;line-height:1.25;padding:0}
body[data-page-key="commercial-bestsellers.html"] #product-table > table > tbody .product-rank-badges{display:inline-flex;vertical-align:middle;margin:0 0 0 5px}
body[data-page-key="commercial-bestsellers.html"] #product-table > table > tbody .expand-product{display:inline-block;margin:2px 0 0;padding:1px 3px;font-size:9px;color:#526989}
body[data-page-key="commercial-bestsellers.html"] #product-table > table > thead th.bs-col-period,body[data-page-key="commercial-bestsellers.html"] #product-table > table > tbody td.weekly-spark-cell{min-width:45px}
@media(max-width:650px){body[data-page-key="commercial-bestsellers.html"] .report-workspace-spacer{flex-basis:100%}body[data-page-key="commercial-bestsellers.html"] #product-table > table > thead th.bs-col-title,body[data-page-key="commercial-bestsellers.html"] #product-table > table > tbody td.bs-col-title{min-width:165px;width:180px}}

body[data-page-key="commercial-bestsellers.html"] #product-table > table > tbody .product-category-caption{display:inline;margin-right:5px;font-size:9px}

body[data-page-key="commercial-bestsellers.html"] .data-checks{margin:20px 0;background:#fff;border:1px solid #d6dee9;border-radius:5px}
body[data-page-key="commercial-bestsellers.html"] .data-checks>summary{padding:12px 14px;font-size:12px;color:#263e60}
body[data-page-key="commercial-bestsellers.html"] .data-checks-purpose{margin-left:12px;font-size:11px;font-weight:400;color:#5f6f86}
body[data-page-key="commercial-bestsellers.html"] .data-checks-content{padding:0 14px 12px}
body[data-page-key="commercial-bestsellers.html"] .data-checks-content>.fine{margin:0 0 14px;line-height:1.5}
body[data-page-key="commercial-bestsellers.html"] .data-checks section+section{border-top:1px solid #e2e7ee;padding-top:14px;margin-top:16px}
body[data-page-key="commercial-bestsellers.html"] .data-checks h3{margin:0 0 5px;font-size:12px}
body[data-page-key="commercial-bestsellers.html"] .data-checks section>.fine{margin:0 0 8px;font-size:11px;line-height:1.5;color:#5f6f86}
body[data-page-key="commercial-bestsellers.html"] .data-checks .report-table{margin:8px 0;max-width:100%}
body[data-page-key="commercial-bestsellers.html"] .data-checks table{min-width:440px}
body[data-page-key="commercial-bestsellers.html"] .data-checks th,body[data-page-key="commercial-bestsellers.html"] .data-checks td{padding:7px 9px;font-size:11px}
@media(max-width:650px){body[data-page-key="commercial-bestsellers.html"] .data-checks-purpose{display:block;margin:4px 0 0 14px}}
