.content:has(.owner-studio) { max-width:1530px; padding:26px clamp(18px,2.6vw,44px) 40px; }
.main:has(.owner-studio) { background:#f5f5f4; }
.rankrow.sku-rank-row { display:flex; align-items:center; gap:12px; padding:12px 0; }
.sku-rank-row .rank-position { flex:0 0 auto; min-width:4.5em; white-space:nowrap; color:#79592e; font-size:12px; }
.sku-rank-row img.thumb { flex:none; width:42px; height:42px; object-fit:cover; border-radius:8px; }
.sku-rank-row .rank-identity { flex:1; min-width:0; overflow-wrap:anywhere; }
.rank-code { display:block; overflow-wrap:anywhere; font-variant-numeric:tabular-nums; }
.sku-rank-row strong { white-space:nowrap; font-variant-numeric:tabular-nums; }
.ranklead button:has(>span.photo) { display:block; padding:12px; }
.ranklead button>span.photo,.sku-rank-row>span.thumb { display:none; }
.owner-studio { --plum:#4a3046; --green:#1b6955; --faint:var(--soft); --rule:#e3e2e3; color:var(--ink); font-variant-numeric:tabular-nums; }
.studio-head,.studio-tools,.board-tools,.sku-board-head,.detail-chart-head,.sku-identity { display:flex; align-items:center; justify-content:space-between; gap:14px; }
.studio-head { margin:0 0 19px; align-items:flex-end; }
.studio-head p i,.feature-copy i { font-style:normal; opacity:.6; margin:0 4px; }
.studio-tools { gap:8px; justify-content:flex-start; flex-wrap:wrap; }
.studio-tools label,.sku-sort { display:inline-flex; align-items:center; gap:4px; background:white; border:1px solid var(--rule); border-radius:8px; padding:0 7px 0 10px; font-size:11px; color:var(--faint); }
.studio-tools select,.sku-sort select { background:none; color:#302b32; border:0; border-radius:5px; min-height:34px; padding:4px 3px; font-size:12px; }
.studio-tools .btn { background:#fff; min-height:36px; border-color:var(--rule); }
.studio-figures,.detail-figures { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); }
.studio-figures { background:#fff; border:1px solid var(--rule); border-radius:13px; padding:15px 0; }
.studio-figures>div,.detail-figures>div { display:grid; align-content:start; gap:2px; padding:0 clamp(12px,1.6vw,26px); }
.studio-figures>div+div,.detail-figures>div+div { border-left:1px solid #e7e4e6; }
.studio-highlights { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:12px 0 20px; }
.sku-highlight { --accent:#773d56; display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; min-width:0; position:relative; gap:clamp(9px,1vw,18px); border:1px solid #e4d9dd; border-radius:12px; padding:14px clamp(14px,1.4vw,24px) 14px 14px; text-align:left; color:#332a2e; background:linear-gradient(110deg,#fff 46%,#f8f0f2); }
.sku-highlight.best-gain { --accent:#276853; background:linear-gradient(110deg,#fff 46%,#edf5f0); border-color:#d4e2d8; }
.sku-highlight .feature-photo { width:clamp(54px,5vw,82px); aspect-ratio:1; object-fit:cover; border-radius:9px; background:#eee8e1; display:grid; place-items:center; }
.sku-highlight .feature-copy { min-width:0; }
.feature-copy small,.muted-highlight small { display:block; font-size:11px; color:var(--accent); font-weight:var(--ui-medium); letter-spacing:.025em; }
.feature-copy strong,.muted-highlight strong { display:block; margin:3px 0; overflow-wrap:anywhere; }
.feature-copy>span,.muted-highlight>span { display:block; font-size:11px; color:#6b6264; }
.feature-figure { align-self:center; color:var(--accent); font:normal clamp(23px,2.25vw,37px)/1.18 var(--num); letter-spacing:-.045em; font-variant-numeric:tabular-nums; white-space:nowrap; }
.sku-highlight>.ic { position:absolute; right:9px; top:6px; width:12px; height:12px; color:var(--accent); opacity:.75; }
.sku-highlight:hover:is(button) { border-color:var(--accent); box-shadow:0 3px 12px #55404c0e; }
.muted-highlight { display:block; background:#eceaea; padding:12px 18px; color:#5a565d; }
.sku-board,.owner-studio .panel { background:white; border:1px solid var(--rule); border-radius:13px; }
.sku-board { overflow:hidden; margin:0 0 18px; scroll-margin-top:15px; }
.sku-board-head { padding:17px 20px 14px; }
.sku-board-head p { color:var(--faint); font-size:11px; margin:4px 0 0; }
.board-tools { justify-content:flex-end; gap:7px; }
.sku-search { display:flex; align-items:center; gap:6px; min-width:0; padding:0 9px; border:1px solid var(--rule); border-radius:8px; background:#fbfbfa; }
.sku-search .ic { width:15px; color:#7b737a; }
.sku-search input { border:0; min-width:0; width:clamp(125px,12vw,195px); min-height:34px; font-size:12px; background:none; }
#sku-results { display:flex; flex-direction:column; }
.sort-note { padding:5px 18px 9px; color:#795d34; font-size:12px; }
#sku-results>.pager { justify-content:space-between; margin:0; padding:10px 16px; border-top:1px solid var(--rule); }
.owner-balance :is(th,td):not(:first-child) { text-align:right; font-variant-numeric:tabular-nums; }
.sku-table-wrap { width:100%; }
.sku-table { border-collapse:collapse; width:100%; min-width:0; }
.sku-table th,.sku-table td { white-space:nowrap; text-align:right; padding:8px clamp(6px,1.1vw,19px); border-bottom:1px solid #eeeded; }
.sku-table th { background:#f5f4f5; }
.sku-table th:first-child,.sku-table td:first-child { text-align:left; padding-left:20px; }
.sku-table th:last-child,.sku-table td:last-child { padding-right:20px; }
.sku-table tbody tr:last-child td { border-bottom:none; }
.sku-table tbody tr { cursor:pointer; }
.sku-table tbody tr:hover,.sku-table tbody tr:focus-within { background:#f7f5f8; }
.sku-name { display:flex; align-items:center; text-align:left; gap:11px; padding:0; color:inherit; }
.sku-name .thumb,.sku-identity .thumb { width:38px; height:38px; border-radius:7px; object-fit:cover; display:grid; place-items:center; background:#eeeae6; flex:none; }
.sku-name strong,.sku-name small,.sku-identity small { display:block; }
.sku-name strong { white-space:normal; font-weight:var(--ui-medium); }
.sku-name small,.sku-identity small { margin-top:2px; color:var(--soft); }
.sku-units,.sku-stock { font-weight:var(--ui-medium); }
.gain { color:#17684f; }.loss { color:#a04854; }.neutral { color:#746e78; }
.spark-strip,.spark-dates { width:116px; max-width:100%; margin-inline:auto; }
.spark-strip { display:inline-grid; vertical-align:middle; gap:2px; }
.sku-spark { display:block; width:100%; height:auto; }
.spark-values,.spark-dates { display:grid; grid-auto-flow:column; grid-auto-columns:minmax(0,1fr); text-align:center; font-variant-numeric:tabular-nums; }
.spark-values { padding-inline:3.45%; font:550 10px/1.25 var(--sans); color:#40574e; }
.spark-dates { margin-top:3px; padding-inline:4px; font-size:10px; font-weight:400; color:#726c72; letter-spacing:0; }
.trend-empty { color:#716971; font-size:11px; }
.sku-table th:nth-child(2),.sku-table .trend-cell { text-align:center; }
.owner-grid { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(0,1fr); gap:14px; margin-bottom:14px; align-items:start; }
.owner-studio .panel { min-width:0; padding:18px; }
.owner-grid .chart { height:204px; }
.owner-balance .tablewrap,.sku-evidence .tablewrap { max-width:100%; overflow:auto; }
@media (width > 820px) {
 .owner-grid > .owner-balance { align-self:stretch; contain:size; display:flex; flex-direction:column; }
 .owner-balance > .tablewrap { min-height:0; }
 .owner-balance th { position:sticky; top:0; z-index:1; }
}
.owner-balance td,.owner-balance th,.sku-evidence td,.sku-evidence th { padding:7px; white-space:nowrap; }
.owner-dates { margin:8px 0; font-size:12px; color:var(--soft); }
.owner-dates summary { width:fit-content; cursor:pointer; }
.owner-requests { margin:12px 0; }
.trend-periods { display:flex; flex-wrap:wrap; gap:9px 22px; padding:1px 0 6px; font-variant-numeric:tabular-nums; }
.trend-period { min-width:0; }
.trend-period+.trend-period { padding-left:22px; border-left:1px solid #e7e1e3; }
.trend-period>span { display:flex; align-items:center; gap:6px; font-size:12px; font-weight:550; }
.trend-period i { width:10px; height:10px; border-radius:3px; background:#86475f; }
.trend-period+.trend-period i { background:#cbb99b; }
.trend-period small { color:#736970; font-size:11px; font-weight:400; white-space:nowrap; }
.trend-period strong { display:block; margin-top:3px; font:normal clamp(22px,2vw,30px)/1.18 var(--num); letter-spacing:-.045em; }
.trend-period:first-child strong { color:#67334a; }
.trend-dates { margin:4px 0 0; padding-top:8px; border-top:1px solid #ede7e9; }
.trend-dates summary { padding:3px 0; }
.trend-dates[open] summary { margin-bottom:6px; }
.sku-evidence .trend-periods { margin-top:9px; }
#owner-measure,#sku-measure { width:auto; background:white; border:1px solid #dad5d9; border-radius:7px; padding:5px 8px; font-size:12px; }
#modal:has(.sku-evidence) { width:min(680px,calc(100% - 22px)); }
.sku-identity { justify-content:flex-start; }.sku-identity .thumb { width:58px; height:58px; }
.sku-identity>span:last-child { margin-left:auto; font-size:12px; text-align:right; color:#655a64; }.sku-identity>span>b { display:block; font:normal 20px/1.18 var(--num); color:#3b2d3a; }
.detail-figures { grid-template-columns:repeat(3,minmax(0,1fr)); padding:12px 0; background:#f6f4f7; border-radius:9px; margin:14px 0; }
.detail-figures b { font-size:21px; }
.detail-chart-head { margin:10px 0 0; }.sku-evidence .chart { height:150px; }.sku-evidence h3 { font-size:15px; }.sku-evidence .foot-actions { justify-content:flex-end; }
@media(max-width:1150px) {
 .sku-table td,.sku-table th { padding:7px; }.sku-table td:first-child,.sku-table th:first-child { padding-left:12px; }
 .spark-strip,.spark-dates { width:100px; }.sku-name { gap:7px; }.sku-board-head { flex-wrap:wrap; }
}
@media(max-width:820px) {
 .studio-head { flex-wrap:wrap; }.studio-tools { gap:5px; }.owner-grid { grid-template-columns:minmax(0,1fr); }
 .sku-highlight { gap:8px; padding:11px; }.sku-highlight .feature-photo {width:50px;}.studio-highlights { gap:8px; }
}
@media(max-width:620px) {
 .main:has(.owner-studio,#channel-chart) .top {gap:4px; padding:0 10px;}
 .main:has(.owner-studio,#channel-chart) :is(.crumb,.rolebtn,.demo) {white-space:nowrap;}
 .main:has(.owner-studio,#channel-chart) .crumb {gap:5px;}.main:has(.owner-studio,#channel-chart) .crumb>:is(span,.ic) {display:none;}
 .studio-tools label {padding-left:6px;padding-right:3px;}.studio-tools select {padding:4px 0;}.studio-tools .btn {padding:6px;}
 .studio-tools .btn .ic {display:none;}
 .content:has(.owner-studio) { padding:17px 10px 28px; }.studio-head { gap:10px; margin-bottom:12px; }
 .studio-figures { grid-template-columns:1fr 1fr; padding:3px 0; }.studio-figures>div { padding:8px 14px; }.studio-figures>div:nth-child(3) { border-left:0; }
 .studio-figures>div:nth-child(n+3) { border-top:1px solid #efedee; }
 .studio-highlights { grid-template-columns:1fr; gap:6px; margin:9px 0 12px; }
 .sku-highlight { padding:10px 17px 10px 10px; }.sku-highlight .feature-photo {width:52px;}
 .feature-copy strong { margin:1px 0; }.feature-figure {font-size:26px;}
 .sku-board-head { padding:13px 12px; gap:10px; }.board-tools { width:100%; }.sku-search { flex:1; }.sku-search input { width:100%; }
 .sku-table thead { position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%); }
 .sku-table,.sku-table tbody { display:block; }.sku-table tbody tr { display:grid;grid-template-columns:repeat(5,minmax(0,1fr)); gap:7px 0; padding:10px 12px; border-top:1px solid #e9e6e9; }
 .sku-table td,.sku-table td:first-child,.sku-table td:last-child { display:block; padding:0; border:0; text-align:left; }
 .sku-table td:first-child { grid-column:1 / 4; }.sku-table .trend-cell { grid-column:span 2; align-self:center; text-align:right; }
 .sku-table [data-label]::before { content:attr(data-label); display:block; font-size:10px; color:#746c78; font-weight:400; }
 .sku-table .thumb {height:33px;width:33px;}.sku-table-wrap {overflow:hidden;}.spark-strip {width:92px;}
 .sku-table[data-order-by="cover"] .trend-cell {grid-column:3;}
 .trend-periods { gap:8px 12px; }.trend-period+.trend-period { padding-left:12px; }
 .trend-period>span { flex-wrap:wrap; gap:4px; }.trend-period strong { font-size:23px; }
 .detail-figures>div {padding:0 8px;}.detail-figures b {font-size:18px;}
 .sku-table[data-order-by="cover"] tbody tr {grid-template-columns:repeat(3,minmax(0,1fr));}
 .sku-table[data-order-by="cover"] td:first-child {grid-column:1 / 3;}
}
.sku-table th[aria-sort] {color:var(--wine);background:#f4e9ec;box-shadow:inset 0 -2px #ae7888;}
.sku-table th[aria-sort]::after {margin-left:3px;}
.sku-table th[aria-sort="ascending"]::after {content:"↑";}
.sku-table th[aria-sort="descending"]::after {content:"↓";}
.sku-table [data-order] {font-weight:var(--ui-medium);}

.rank-matrix { table-layout:fixed; --plot-width:350px; }
.rank-matrix[data-period="1"] { --plot-width:68px; }
.rank-matrix[data-period="3"] { --plot-width:190px; }
.rank-matrix th:first-child { width:25%; }
.rank-matrix th:nth-child(2) { width:11%; text-align:right; }
.rank-matrix th:nth-child(3) { width:29%; text-align:center; }
.rank-matrix[data-compare="false"] th:first-child { width:24%; }
.rank-matrix[data-compare="false"] th:nth-child(2) { width:10%; }
.rank-matrix[data-compare="false"] th:nth-child(3) { width:50%; }
.rank-matrix[data-compare="false"]:is([data-period="7"],[data-period="30"]) { --plot-width:560px; }
.rank-matrix .sku-name { width:100%; min-width:0; }
.rank-matrix .sku-name>span:last-child { min-width:0; }
.rank-matrix .sku-name strong { font-size:14px; line-height:1.4; overflow-wrap:anywhere; }
.rank-matrix .sku-name small { font-size:11px; overflow:hidden; text-overflow:ellipsis; }
.rank-matrix .sku-name .thumb { width:40px; height:40px; border-radius:8px; }
.rank-matrix .sku-units>span { font:normal clamp(18px,1.35vw,23px)/1.15 var(--num); color:var(--ink); font-variant-numeric:lining-nums tabular-nums; }
.rank-matrix .sku-units small { margin-inline-start:4px; color:var(--soft); font-size:11px; }
.rank-matrix :is(.spark-dates,.spark-strip) { width:min(100%,var(--plot-width)); padding:0; margin-inline:auto; }
.rank-matrix .spark-dates { font:400 11px/1.4 var(--sans); color:#69646b; margin-top:4px; }
.rank-matrix .spark-range { display:flex; justify-content:space-between; }
.rank-matrix .spark-strip { position:relative; display:grid; gap:3px; padding-block:3px; }
.rank-matrix .spark-plot { display:block; position:relative; }
.rank-matrix .sku-spark { width:100%; height:30px; }
.spark-targets { display:grid; position:absolute; inset:0; grid-auto-flow:column; grid-auto-columns:minmax(0,1fr); }
.spark-targets .positive,.spark-targets .negative { margin-inline:2px; border-radius:5px; }
.spark-targets .positive { background:rgb(49 115 87 / 6%); }
.spark-targets .negative { background:rgb(160 73 97 / 7%); }
.rank-matrix .spark-values { padding:0; font:500 12px/1.35 var(--sans); font-variant-numeric:tabular-nums; }
.rank-matrix .spark-values .quiet { color:#77757a; font-weight:400; }
.spark-caption { text-align:left; color:var(--soft); font-size:11px; line-height:1.4; }
.spark-mobile-axis { display:none; }
@media(min-width:781px) and (max-width:1150px) {
 .rank-matrix :is(th,td) { padding-inline:6px; }
 .rank-matrix th:first-child { width:23%; }
 .rank-matrix th:nth-child(3) { width:27%; }
 .rank-matrix .spark-dates { font-size:10px; }
}
@media(max-width:780px) {
 .sku-table.rank-matrix,.sku-table.rank-matrix tbody { display:block; }
 .sku-table.rank-matrix thead { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
 .sku-table.rank-matrix tbody tr { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); padding:13px 14px; gap:10px 8px; border-top:1px solid var(--line); }
 .sku-table.rank-matrix tbody td { display:block; min-width:0; padding:0; border:0; text-align:left; }
 .sku-table.rank-matrix [data-label]::before { content:attr(data-label); display:block; color:var(--soft); font:400 11px/1.4 var(--sans); }
 .sku-table.rank-matrix td:first-child { grid-column:1/4; grid-row:1; align-self:center; }
 .sku-table.rank-matrix td.sku-units { grid-column:4; grid-row:1; align-self:center; text-align:right; }
 .sku-table.rank-matrix td.trend-cell { grid-column:1/-1; grid-row:2; padding:7px 10px; border-radius:6px; background:#f6f7f6; }
 .spark-mobile-axis { display:block; }
 .rank-matrix .spark-mobile-axis .spark-dates { margin-top:0; }
 .rank-matrix .spark-plot .sku-spark { height:24px; }
 .rank-matrix .trend-empty { display:block; text-align:center; }
 .rank-matrix .sku-units small { display:none; }
 .rank-matrix td[data-label="可售天数"] { grid-column:span 2; }
 .rank-matrix[data-compare="false"] .sku-stock { grid-column:span 2; }
 .rank-matrix[data-compare="false"] .sku-stock::before { display:inline; margin-right:6px; }
}
@media(max-width:620px) {
 .sku-table td[data-order]::before {color:var(--wine);font-weight:var(--ui-medium);}
 .sku-table td[data-order="ascending"]::before {content:attr(data-label) " ↑";}
 .sku-table td[data-order="descending"]::before {content:attr(data-label) " ↓";}
}
.finance-view .finance-tabs,.finance-period{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.finance-view .finance-tabs {
  display:inline-flex; max-width:100%; gap:2px; margin-bottom:14px; padding:3px;
  border-radius:9px; background:var(--chrome);
}
.finance-tabs .btn[data-finance-section] {
  min-height:30px; padding:4px 11px; border:1px solid transparent; border-radius:6px;
  font:400 13px/1.4 var(--sans); color:var(--soft); background:transparent; box-shadow:none;
}
.finance-tabs .btn[aria-pressed=true] {
  color:var(--ink); background:white; border-color:var(--line); box-shadow:0 1px 2px #191b2514; font-weight:var(--ui-medium);
}
.finance-tabs .btn:focus-visible { outline:2px solid var(--wine); outline-offset:-1px; }
.finance-period{margin-bottom:16px}
.finance-period label{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--soft)}
.finance-period input,.finance-period select{border:1px solid var(--line);background:#fff;border-radius:7px;padding:7px 9px;color:var(--ink);font:inherit}
.finance-view form.finance-period {
  gap:8px 12px; padding:12px 16px; background:#fafafb; border:1px solid var(--line); border-radius:10px;
}
.finance-view form.finance-period :is(input,select,.btn) { box-sizing:border-box; min-height:36px; border-color:var(--control-edge); border-radius:8px; }
.finance-view .tablewrap td b { font-weight:var(--ui-medium); }
.finance-view :is(td,th) { font-variant-numeric:tabular-nums; }
@media (min-width:621px) {
 .margin-lines :is(td,th):nth-child(n+2):nth-child(-n+6),.cash-lines :is(td,th):nth-child(n+2),
 .statement-lines :is(td,th):last-child,.register-lines :is(td,th):nth-child(n+3) { text-align:right; }
}
.finance-view form .linkbtn { min-height:32px; }
@media (hover:hover) {
 .finance-tabs .btn[aria-pressed=false]:hover { color:var(--ink); background:#e9e8eb; }
}
@media (pointer:coarse) {
 .finance-tabs .btn[data-finance-section] { min-height:36px; }
}
.finance-view .panel+.panel{margin-top:16px}
.finance-view .finance-links{margin:16px 0 0}
.finance-view .metrics:has(>.metric:nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}
.finance-view .tablewrap{overflow-x:auto}
.finance-view .panelhead .btn+.btn{margin-left:6px}
@media(max-width:620px){
 .finance-view .metrics:has(>.metric:nth-child(3):last-child){grid-template-columns:1fr}
 .finance-view .metrics:has(>.metric:nth-child(3):last-child)>.metric { padding:12px 0; border-left:0; }
 .finance-view .metrics:has(>.metric:nth-child(3):last-child)>.metric+.metric { border-top:1px solid var(--line); }
 .finance-view .panelhead,.finance-period label{flex-wrap:wrap}
 .finance-view .tablewrap table,.finance-view .tablewrap tbody { display:block; width:100%; min-width:0; }
 .finance-view .tablewrap thead { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
 .finance-view .tablewrap tbody tr {
   display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-items:start; gap:10px;
   padding:12px 0; border-top:1px solid var(--line);
 }
 .finance-view :is(.register-lines,.statement-lines) tbody tr { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .finance-view .tablewrap tbody td { min-width:0; border:0; padding:0; white-space:normal; overflow-wrap:anywhere; text-align:left; }
 .finance-view .tablewrap tbody td:first-child { grid-column:1/-1; font-weight:var(--ui-medium); }
 .finance-view .tablewrap tbody td:first-child .mono { font-weight:400; }
 .finance-view .tablewrap tbody td:not(:first-child)::before {
   content:attr(data-label); display:block; margin-bottom:2px; color:var(--soft); font:400 11px/1.45 var(--sans);
 }
}

/* Keep the trend panel anchored while the first five SKU rows are loading. */
#sku-results[aria-busy="true"] [data-rank-pending] { border-color:var(--wine); color:var(--wine); cursor:progress; }
.sku-rank-loading .pager {visibility:hidden;}
.rank-placeholder-mark {display:inline-block; width:min(65%,4em); background:linear-gradient(#eeeae8,#eeeae8) center / 100% 7px no-repeat;}
.sku-rank-loading .spark-plot {background:linear-gradient(#eeeae8,#eeeae8) center / 75% 7px no-repeat;}
.sku-highlight span.feature-photo { width:30px; height:30px; }
.sku-name span.thumb { width:26px; height:26px; }
.sku-table tbody tr { height:62px; }
@media(max-width:780px) {
  .sku-table tbody tr {height:auto;}
}

/* Splide core 4.1.4, MIT. License bundled in splide-4.1.4.min.js. */
@keyframes splide-loading{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.splide__track--draggable{-webkit-touch-callout:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.splide__track--fade>.splide__list>.splide__slide{margin:0!important;opacity:0;z-index:0}.splide__track--fade>.splide__list>.splide__slide.is-active{opacity:1;z-index:1}.splide--rtl{direction:rtl}.splide__track--ttb>.splide__list{display:block}.splide__container{box-sizing:border-box;position:relative}.splide__list{backface-visibility:hidden;display:-ms-flexbox;display:flex;height:100%;margin:0!important;padding:0!important}.splide.is-initialized:not(.is-active) .splide__list{display:block}.splide__pagination{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:center;justify-content:center;margin:0;pointer-events:none}.splide__pagination li{display:inline-block;line-height:1;list-style-type:none;margin:0;pointer-events:auto}.splide:not(.is-overflow) .splide__pagination{display:none}.splide__progress__bar{width:0}.splide{position:relative;visibility:hidden}.splide.is-initialized,.splide.is-rendered{visibility:visible}.splide__slide{backface-visibility:hidden;box-sizing:border-box;-ms-flex-negative:0;flex-shrink:0;list-style-type:none!important;margin:0;position:relative}.splide__slide img{vertical-align:bottom}.splide__spinner{animation:splide-loading 1s linear infinite;border:2px solid #999;border-left-color:transparent;border-radius:50%;bottom:0;contain:strict;display:inline-block;height:20px;left:0;margin:auto;position:absolute;right:0;top:0;width:20px}.splide__sr{clip:rect(0 0 0 0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.splide__toggle.is-active .splide__toggle__play,.splide__toggle__pause{display:none}.splide__toggle.is-active .splide__toggle__pause{display:inline}.splide__track{overflow:hidden;position:relative;z-index:0}
.overview-pair{align-items:stretch}
.overview-pair .panel{min-width:0}
.trend-filters{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.trend-filters select{font:inherit;font-size:12px;color:var(--ink);border:1px solid var(--control-edge);border-radius:7px;background:white;padding:3px 7px;min-height:32px}
.hot-panel{display:flex;flex-direction:column}
#hot-showcase{margin-top:auto;min-width:0;visibility:visible}
#hot-showcase:not(.is-initialized) .splide__list{display:block}
#hot-showcase:not(.is-initialized) .splide__slide:not(:first-child){display:none}
#hot-showcase:not(.is-initialized) .hot-controls{visibility:hidden}
.hot-product{display:flex;flex-direction:column;justify-content:space-between;gap:22px;width:100%;min-height:184px;padding:19px;border:1px solid #e3d0d5;border-radius:10px;background:#faf4f4;text-align:left;color:#3d2731}
.hot-identity{display:flex;gap:14px;align-items:center;min-width:0}
.hot-identity>span:last-child{min-width:0}
.hot-identity strong,.hot-identity .mono,.hot-identity small{display:block}
.hot-identity strong{line-height:1.3;font-size:clamp(16px,1.35vw,22px);margin:4px 0;overflow-wrap:anywhere}
.hot-identity small{font-size:12px;color:#7c3e53;font-weight:var(--ui-medium)}
.hot-identity .mono{font-size:12px;color:#6c5d63;overflow-wrap:anywhere}
.hot-photo{width:66px;height:66px;object-fit:cover;border-radius:7px;flex:none}
.hot-figures{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;width:100%}
.hot-figures>span{font-size:12px;color:#65575e}
.hot-figures b{display:block;font-size:clamp(17px,1.5vw,25px);color:#34252d;font-variant-numeric:tabular-nums;line-height:1.4}
.hot-figures b small{font-size:12px;font-weight:500}
.hot-controls{display:flex;align-items:center}
.hot-controls .splide__pagination{display:flex;gap:3px;margin:0;padding:0}
.hot-controls .splide__pagination__page{padding:8px 2px;border:0;background:transparent;cursor:pointer}
.hot-controls .splide__pagination__page::before{content:"";display:block;height:4px;width:12px;border-radius:3px;background:#d9cbd0}
.hot-controls .splide__pagination__page.is-active::before{width:21px;background:var(--wine)}
.hot-product:focus-visible{outline-offset:-3px}
@media(max-width:620px){.hot-product{min-height:150px}}


.hot-figures .hot-no-period{font-size:14px;font-weight:500;line-height:2;color:#766a6f}
.channel-panel{container-type:inline-size}
.channel-panel .panelhead{margin-bottom:22px;flex-wrap:wrap}
.channel-measures{display:inline-flex;align-items:stretch;box-sizing:border-box;min-height:32px;background:#f3f1ef;border-radius:7px;padding:3px}
.channel-measures label{position:relative;cursor:pointer}
.channel-measures input{position:absolute;opacity:0;width:1px;height:1px}
.channel-measures span{display:flex;align-items:center;min-height:26px;padding:0 9px;border-radius:5px;font-size:12px;color:#655e63}
.channel-measures input:checked+span{background:white;color:#61263d;box-shadow:0 1px 2px #32252a20;font-weight:var(--ui-medium)}
.channel-measures input:focus-visible+span{outline:2px solid #94556c;outline-offset:1px}
.channel-layout{display:grid;grid-template-columns:minmax(0,1fr) clamp(148px,24%,220px);gap:18px}
.channel-plot{min-width:0;align-self:center}
.channel-caption,.channel-lines span,.channel-detail header{display:flex;align-items:center}
.channel-caption{gap:6px;font-size:12px;color:#594d52}
.channel-caption::before,.channel-lines i{content:"";width:7px;height:7px;border-radius:2px;background:#77344e;flex:none}
.channel-layout #channel-chart{height:172px;width:100%;margin-top:4px}
.channel-days{display:grid;padding:0 6px 0 40px}
.channel-days button{min-width:0;display:grid;gap:3px;justify-items:center;padding:4px 0 5px;border-radius:6px;color:#786e71;font-size:11px;font-variant-numeric:tabular-nums}
.channel-days b{font-size:11px;font-weight:var(--ui-medium);color:#483b41;overflow-wrap:anywhere}
.channel-days button[aria-pressed=true]{background:#f7edf0}
.channel-days button[aria-pressed=true] b{color:#722d48}
.channel-detail{min-width:0;border:1px solid #ece6e1;border-radius:10px;background:#f8f6f3;padding:14px}
.channel-detail header{justify-content:space-between;gap:4px;flex-wrap:wrap}
.channel-detail h3{font-size:14px;line-height:1.4;font-weight:var(--ui-medium)}
.channel-detail select,.channel-weekday,.channel-share{font-size:11px;color:var(--soft)}
.channel-detail select{padding:2px 4px}
.channel-number{display:block;font:normal clamp(26px,2.3vw,39px)/1.25 var(--num);letter-spacing:-.025em;color:#542b3d;margin:6px 0 1px;overflow-wrap:anywhere}
.channel-breakdown{border-top:1px solid #e2dcd6;margin-top:12px;padding-top:7px}
.channel-lines>div{display:flex;justify-content:space-between;align-items:center;gap:4px;padding:3px 0;font-size:12px}
.channel-lines span{gap:5px;color:#73666b}.channel-lines b{font-weight:var(--ui-medium)}
.channel-meter{display:flex;height:4px;margin:8px 0 0;border-radius:4px;overflow:hidden}
.channel-days[hidden],.channel-meter[hidden],.channel-detail select[hidden]{display:none}
@container (max-width:560px){
 .channel-layout{grid-template-columns:minmax(0,1fr);gap:12px}
 .channel-detail{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:16px}
 .channel-detail header,.channel-number,.channel-share{grid-column:1}
 .channel-breakdown{grid-column:2;grid-row:1 / span 3;border:0;border-left:1px solid #e2dcd6;margin:0;padding:0 0 0 14px}
 .channel-layout #channel-chart{height:150px}
}


#hot-showcase{margin-block:auto 0}
.hot-product{gap:14px;padding:14px 16px 13px}
.hot-identity{gap:16px}
.hot-identity .hot-photo{width:clamp(92px,8vw,135px);height:clamp(92px,8vw,135px);border-radius:7px}
.hot-figures{padding-top:10px;border-top:1px solid #e7d9dd}
.hot-figures b:not(.hot-no-period){font-family:var(--num);font-weight:400;font-variant-numeric:lining-nums tabular-nums}
#hot-showcase .hot-playback { position:absolute; top:10px; right:12px; z-index:1; }
#hot-showcase .hot-playback:not(:focus-visible) { width:1px; height:1px; overflow:hidden; clip-path:inset(50%); padding:0; border:0; }
#hot-showcase .hot-playback:focus-visible { padding:6px 10px; border:1px solid var(--line); border-radius:6px; background:white; color:var(--wine); outline:2px solid currentColor; }
@media(max-width:620px){.hot-identity .hot-photo{width:84px;height:84px}.hot-product{padding:12px}.hot-identity{gap:12px}}

/* Keep the artwork and the figures in focus across both owner reports. */
.main:has(.owner-studio) { background:var(--paper); }
.owner-studio { --rule:var(--line); }
.studio-figures { border:0; border-bottom:1px solid var(--line); border-radius:0; padding:6px 0 18px; }
.studio-figures>div:first-child { padding-left:0; }
.studio-figures>div:first-child b { color:var(--wine); }
.sku-highlight,.sku-highlight.best-gain { background:#fafafb; border-color:var(--line); }
.owner-studio .panel { border-radius:11px; }
.channel-measures { background:var(--chrome); }
.channel-measures input:checked+span { color:var(--ink); }
.channel-layout .channel-detail {
  border:0; border-left:1px solid var(--line); border-radius:0;
  background:transparent; padding:3px 0 3px 16px;
}
.channel-breakdown { border-color:var(--line); }
.channel-days button[aria-pressed=true] { background:var(--chrome); }
#hot-showcase { margin-block:auto; }
.hot-product { padding:8px 1px; border:0; background:transparent; color:var(--ink); }
.hot-identity .hot-photo { border-radius:9px; }
.hot-figures { padding-top:14px; border-color:var(--line); }
@container (max-width:560px) {
  .channel-layout .channel-detail { padding:12px 0 0; border-left:0; border-top:1px solid var(--line); }
}
@media (max-width:620px) {
  .studio-figures { padding:0 0 5px; }
  .studio-figures>div:nth-child(odd) { padding-left:0; }
}

/* The overview pairs a trading statement with a real SKU photograph. */
.overview-layout {
  display:grid; grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);
  grid-template-areas:"figures feature" "trend feature";
  gap:clamp(14px,1.3vw,24px); align-items:stretch; margin-bottom:18px;
}
.overview-summary { grid-area:figures; min-width:0; }
.overview-summary>details { margin-top:12px; }
.overview-layout>.channel-panel { grid-area:trend; }
.overview-layout>.hot-panel { grid-area:feature; }
.overview-layout .panel,.overview-recent.panel {
  border-color:#dedbd7; border-radius:16px; background:#fff;
  box-shadow:0 2px 7px rgb(42 33 39 / 4%);
}
.overview-figures {
  min-width:0; border:1px solid #ddd7d6; border-radius:16px; overflow:hidden;
  background:#fff; box-shadow:0 2px 7px rgb(42 33 39 / 5%);
}
.overview-period-sales {
  display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);
  color:#fff8f3; background:#542e40;
  background-image:linear-gradient(112deg,#4b293a 6%,#61374b 68%,#745263);
}
.overview-revenue,.overview-volume {
  min-width:0; display:grid; align-content:space-between; gap:10px;
  padding:clamp(16px,1.5vw,25px);
}
.overview-figures a { color:inherit; text-decoration:none; }
.overview-period-sales .overview-volume { border-left:1px solid #ffffff33; }
.overview-period-sales header { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:2px 8px; }
.overview-figures h2,.overview-stock-row b { margin:0; font:var(--ui-medium) 14px/1.45 var(--sans); }
.overview-revenue header span,.overview-figures p,.overview-stock-row>span>small { font:400 12px/1.5 var(--sans); }
.overview-period-sales header span,.overview-period-sales p,.overview-volume header .ic { color:#f0dfe6; }
.overview-figures p { margin:0; }
.overview-number {
  display:block; min-width:0; font:400 clamp(34px,3vw,50px)/1.08 var(--num);
  letter-spacing:-.035em; font-variant-numeric:lining-nums tabular-nums; overflow-wrap:anywhere;
}
.overview-number small { margin-left:4px; font:500 12px/1.3 var(--sans); letter-spacing:0; }
.overview-volume p { display:flex; flex-wrap:wrap; gap:2px 12px; }
.overview-volume p b { font-weight:var(--ui-medium); color:#fff; }
.overview-volume header .ic,.overview-stock-row>.ic:last-child { width:15px; height:15px; }
.overview-stock { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
.overview-stock-row {
  display:grid; grid-template-columns:auto minmax(0,1fr) auto auto; gap:8px; align-items:center;
  min-width:0; padding:12px clamp(10px,1.15vw,22px);
}
.overview-stock-row+.overview-stock-row { border-left:1px solid var(--line); }
.overview-stock-row>.ic:first-child {
  box-sizing:content-box; width:16px; height:16px; padding:7px;
  color:#70495a; background:#f3ecef; border-radius:9px;
}
.overview-stock-row:last-child>.ic:first-child { color:#78582e; background:#f5efe3; }
.overview-stock-row>span>small { display:block; color:var(--soft); }
.overview-stock-row .overview-number { text-align:right; font-size:clamp(21px,1.65vw,29px); }
.overview-stock-row .overview-number small { display:inline; }
.overview-stock-row>.ic:last-child { color:var(--soft); }
.overview-figures a:focus-visible { outline:2px solid var(--wine); outline-offset:-4px; }
.overview-figures .overview-volume:focus-visible { outline-color:#ffe0ad; }
.overview-layout .channel-panel { background:white; }
.overview-layout .channel-panel .panelhead { margin-bottom:16px; }
.overview-layout .channel-detail { background:#f8f5f3; border:0; border-radius:9px; padding:12px; }
.overview-layout .channel-days button[aria-pressed=true] { background:#f2e8ed; }
.overview-layout .hot-panel {
  min-width:0; padding:0; overflow:hidden;
  background:#fff;
}
.overview-layout .hot-panel>.panelhead { padding:16px 20px 12px; margin:0; }
.overview-layout #hot-showcase { margin:0; flex:1; display:flex; flex-direction:column; }
.overview-layout .hot-product { padding:0; gap:0; background:#fff; }
.overview-layout .hot-identity { display:grid; gap:0; width:100%; }
.overview-layout .hot-portrait {
  display:grid; width:100%; height:clamp(184px,15vw,240px); isolation:isolate;
  overflow:hidden; place-items:center; background:#e6e3de;
}
.hot-photo-wash { position:absolute; inset:-20px; z-index:-1; pointer-events:none; opacity:.62; filter:blur(18px); }
.overview-layout .hot-photo-wash .hot-photo { display:block; width:100%; height:100%; border-radius:0; object-fit:cover; }
.overview-layout .hot-portrait>.hot-photo {
  position:relative; width:auto; max-width:88%; height:88%; max-height:218px; border-radius:5px; object-fit:contain;
  box-shadow:0 6px 24px rgb(35 30 39 / 18%);
}
.overview-layout .hot-portrait .hot-rank {
  top:12px; left:16px; bottom:auto; padding:4px 9px; border-radius:20px; line-height:1.3;
}
.overview-layout .hot-identity>span:last-child { padding:13px 20px 10px; }
.overview-layout .hot-identity strong {
  font-size:clamp(18px,1.45vw,24px); font-weight:var(--ui-medium); letter-spacing:-.014em; line-height:1.35;
}
.overview-layout .hot-figures { margin:0 20px; padding:10px 0 0; width:calc(100% - 40px); text-align:left; }
.overview-layout .hot-identity:not(:has(.hot-portrait)) { min-height:140px; align-content:center; background:#f7f4f1; }
.overview-layout .hot-controls { margin-top:auto; padding:10px 20px 16px; }
.overview-layout .hot-controls .splide__pagination {
  width:100%; display:flex; gap:2px; padding:3px; border-radius:10px; background:#f3f2f2;
}
.overview-layout .hot-controls li { flex:1; min-width:0; }
.overview-layout .hot-controls button {
  width:100%; min-height:40px; padding:4px 6px; border:1px solid transparent; border-radius:7px;
  background:transparent; color:#514b50;
}
.overview-layout .hot-controls button::before { display:none; }
.overview-layout .hot-controls button.is-active {
  border-color:#cdbbc3; background:white; color:var(--wine); box-shadow:0 1px 2px #37263313;
}
.overview-layout .hot-controls button:focus-visible { outline:2px solid var(--wine); outline-offset:-2px; }
.hot-preview { display:flex; align-items:center; gap:8px; font:var(--ui-medium) 12px/1.3 var(--sans); font-variant-numeric:tabular-nums; }
.hot-preview-photo { display:grid; place-items:center; flex:none; width:28px; height:28px; object-fit:cover; border-radius:4px; }
.overview-layout .hot-product:focus-visible { outline-offset:-4px; }
.overview-layout .hot-panel>.empty { margin:auto; padding:30px; text-align:center; }
.overview-layout:has(.hot-panel>.empty) { align-items:start; }
.overview-recent .panelhead h2,.overview-layout .panelhead h2 { letter-spacing:-.014em; }
.overview-recent th { background:#f5f4f2; }
@media (hover:hover) {
  .overview-volume:hover { background:rgb(255 255 255 / 8%); }
  .overview-layout .hot-controls button:not(.is-active):hover { background:#ebe8e9; }
  .overview-stock-row:hover { background:#faf6f4; }
  .overview-stock-row:hover :is(b,.overview-number) { color:var(--wine); }
  .overview-layout .hot-product:hover .hot-identity strong { color:var(--wine); }
}
.overview-figures a:active { box-shadow:inset 0 0 0 2px #b792a1; }
@media (max-width:1130px) {
  .overview-layout { grid-template-columns:minmax(0,1fr); grid-template-areas:"figures" "feature" "trend"; }
  .overview-layout .hot-panel { max-width:100%; }
}
@media (min-width:721px) and (max-width:1130px) {
  .overview-layout .hot-product:has(.hot-portrait) {
    display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:center;
  }
  .overview-layout .hot-product:has(.hot-portrait) .hot-identity { display:contents; }
  .overview-layout .hot-product:has(.hot-portrait) .hot-portrait { grid-row:1/span 2; height:178px; }
  .overview-layout .hot-product:has(.hot-portrait) .hot-identity>span:last-child { align-self:end; }
  .overview-layout .hot-product:has(.hot-portrait) .hot-figures { align-self:start; }
}
@media (max-width:560px) {
  .overview-layout { gap:12px; }
  .overview-number { font-size:clamp(25px,7vw,35px); }
  .overview-revenue,.overview-volume { padding:14px; }
  .overview-revenue header span { width:100%; }
  @supports (grid-template-rows:subgrid) {
    .overview-period-sales { row-gap:8px; }
    .overview-revenue,.overview-volume { grid-row:span 3; grid-template-rows:subgrid; align-content:normal; }
    .overview-volume header { align-self:start; }
    .overview-period-sales p { align-self:end; }
  }
  .overview-stock { grid-template-columns:minmax(0,1fr); }
  .overview-stock-row { padding:8px 14px; }
  .overview-stock-row+.overview-stock-row { border-left:0; border-top:1px solid var(--line); }
  .overview-stock-row .overview-number { font-size:24px; }
  .overview-layout .hot-panel>.panelhead,.overview-layout .hot-controls { padding-inline:14px; }
  .overview-layout .hot-portrait { height:156px; }
  .overview-layout .hot-identity>span:last-child { padding:10px 14px 7px; }
  .overview-layout .hot-figures { margin:0 14px; width:calc(100% - 28px); }
  .overview-layout .hot-controls button { min-height:36px; }
  .hot-preview { gap:4px; }
  .hot-preview-photo { width:25px; height:25px; }
}
@media (prefers-reduced-transparency:reduce),(forced-colors:active) {
  .overview-period-sales { background-image:none; }
  .hot-photo-wash { display:none; }
}
@media (forced-colors:active) {
  .overview-period-sales,.overview-figures .overview-volume,.overview-stock-row { border:1px solid ButtonText; }
}

.rank-matrix .spark-values { min-height:1.35em; }
@media (max-width:780px) {
  .sku-board-head .board-tools { display:flex; flex-wrap:wrap; justify-content:flex-start; }
  .board-tools .sku-search { flex:1 0 100%; min-width:0; }
}

.rank-jump { display:inline-flex; align-items:center; gap:5px; padding:3px 0; color:var(--wine); font:inherit; background:none; border:0; cursor:pointer; }
.rank-jump .ic { width:12px; height:12px; }
.rank-jump:hover { text-decoration:underline; }
