.store-board{box-sizing:border-box;margin:18px 24px;padding:20px;min-width:0;border:1px solid var(--sy-border,#ebe6e0);border-radius:18px;background:var(--sy-bg-surface,#fff);color:var(--sy-text,#211e1a)}
.store-board *, .store-board *::before,.store-board *::after{box-sizing:border-box}
.store-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 16px}.store-header h2,.store-header h3,.store-section h3{margin:0;font-weight:650}.store-header h2{font-size:19px}
.store-board>.store-header{flex-wrap:wrap;gap:6px 12px}
.store-header-meta{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:4px 12px;margin-inline-start:auto;font-size:13px;color:#736c62}
.store-source-note{font-size:11px}
.store-board{container:store-board / inline-size}
.store-board :is(input,select,button){font:inherit;color:inherit;border:1px solid #e8e2da;border-radius:9px;background:#fff;padding:6px 9px;min-height:34px}
.store-board button{cursor:pointer}
.store-board button:disabled{cursor:default;opacity:.45}
.store-board button:hover:not(:disabled){border-color:#e6ae84;color:#a7501b}
.store-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;width:100%;min-width:0;margin:0 0 14px;padding:8px 10px;border:1px solid #ede8e1;border-radius:12px;background:#faf8f5;font-size:13px}
.store-toolbar :is(.store-filters,.store-time,.store-period,.store-dates,.store-date-actions,.store-actions){display:flex;align-items:center;gap:6px;min-width:0}
.store-toolbar :is(.store-filters,.store-actions,.store-date-actions){flex:none}
.store-toolbar .store-time{flex-wrap:wrap;gap:8px}
.store-toolbar .store-actions{margin-left:auto}
.store-board .store-toolbar :is(input,select,button){height:32px;min-height:32px;margin:0;white-space:nowrap}
.store-toolbar select[name="platform"]{width:105px}
.store-toolbar select[name="material"]{width:138px}
.store-toolbar .store-period{flex:none;gap:2px;padding:2px;background:#efebe6;border-radius:8px}
.store-board .store-toolbar .store-period button{width:29px;height:28px;min-height:28px;padding:0;border:1px solid transparent;border-radius:6px;background:transparent;color:#6b635a}
.store-board .store-toolbar .store-period button[aria-pressed="true"]{border-color:#e8d8c8;background:#fff;color:#a7501b;font-weight:600}
.store-toolbar .store-dates{flex:none;gap:4px}
.store-toolbar .store-date-fields{display:grid;grid-template-columns:126px auto 126px;align-items:center;gap:5px;min-width:0}
.store-toolbar .store-date-fields span{color:#81766b;text-align:center}
.store-board .store-toolbar input[type="date"]{display:block;width:100%;min-width:0;max-width:100%;padding:4px 6px;font-variant-numeric:tabular-nums}
.store-board .store-toolbar :is(.store-arrow,[data-store-refresh]){display:inline-grid;place-items:center;flex:none;width:30px;padding:0;font-size:17px;line-height:1}
.store-board .store-toolbar :is(.store-apply,[data-store-window="all"][aria-pressed="true"]){border-color:#e5c9b2;background:#fff5eb;color:#9b4d1d}
@container store-board (max-width:1060px){
  .store-toolbar .store-time{order:1;flex:1 1 100%;padding-top:8px;border-top:1px solid #ede8e1}
}
@container store-board (max-width:560px){
  .store-toolbar .store-filters{flex:1 1 156px}
  .store-toolbar .store-filters select{flex:1;width:auto;min-width:70px}
  .store-toolbar .store-dates{order:1;flex:1 1 100%}
  .store-toolbar .store-date-fields{flex:1;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}
}
@container store-board (max-width:340px){
  .store-board .store-toolbar .store-arrow{width:24px}
  .store-toolbar .store-date-fields{gap:3px}
  .store-board .store-toolbar input[type="date"]{padding-inline:3px;font-size:12px}
}
.store-card-grid{display:grid;gap:14px;min-width:0}
.store-card{padding:13px 16px 10px;min-width:0;border:1px solid #e9e4dd;border-radius:14px;background:#fff}
.store-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:10px}
.store-card-title{display:flex;align-items:center;flex-wrap:wrap;gap:5px 9px;min-width:0}
.store-card-head h3,.store-card-body h3{margin:0;font-size:14px;font-weight:650}
.store-card-head h3{font-size:16px;overflow-wrap:anywhere}
.store-card-range,.store-quantity small{color:#756d63;font-size:12px}
.store-card-range{font-variant-numeric:tabular-nums}
.store-quantity{display:flex;align-items:baseline;gap:6px;white-space:nowrap}
.store-quantity b{font-size:22px;line-height:1;font-variant-numeric:tabular-nums}
.store-card-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(200px,28%);gap:18px}
@container store-board (min-width:1080px){
  .store-card-body{grid-template-columns:minmax(0,1fr) minmax(410px,28%)}
}
.store-trend,.store-share{min-width:0}
.store-trend{display:flex;flex-direction:column;gap:4px}
.store-chart{
  --store-plot-top:26px;
  --store-plot-bottom:27px;
  --store-scrollbar-space:10px;
  --store-min-plot-height:174px;
  --store-max-plot-height:330px;
  --store-chart-insets:calc(var(--store-plot-top) + var(--store-plot-bottom) + var(--store-scrollbar-space));
  --store-plot-height:calc(100cqh - var(--store-chart-insets));
  container-type:size;
  display:grid;
  grid-template-columns:max-content minmax(0,1fr);
  flex:1;
  min-height:calc(var(--store-min-plot-height) + var(--store-chart-insets));
  max-height:calc(var(--store-max-plot-height) + var(--store-chart-insets));
  margin-block:auto;
}
.store-chart-axis{position:relative;display:grid;justify-items:end;align-content:stretch;height:var(--store-plot-height);margin:var(--store-plot-top) 9px 0 0;color:#756d63;font-size:11px;font-variant-numeric:tabular-nums}
.store-chart-axis span{position:relative;grid-area:1/1;top:var(--y);height:max-content;transform:translateY(-50%)}
.store-time-scroll{min-width:0;overflow:auto hidden;overscroll-behavior-inline:contain;scroll-behavior:auto;scrollbar-color:#d1cbc4 transparent;scrollbar-width:thin;cursor:grab;user-select:none}
.store-time-scroll.store-chart-dragging{cursor:grabbing}
.store-time-scroll:focus-visible{outline:2px solid #e6ae84;outline-offset:-2px;border-radius:4px}
.store-chart-track{position:relative;display:grid;grid-template-columns:repeat(var(--dates), minmax(0,1fr));width:max(100%,var(--track-width));padding:var(--store-plot-top) 0 var(--store-plot-bottom)}
.store-chart-grid,.store-chart-line{position:absolute;inset:var(--store-plot-top) 0 auto;width:100%;height:var(--store-plot-height);pointer-events:none}
.store-chart-grid{border-bottom:1px solid #e8e3dd;background:repeating-linear-gradient(to bottom,#ece8e2 0 1px,transparent 1px 25%)}
.store-chart-line{z-index:2;overflow:visible;fill:none;stroke:#e88745;stroke-width:2}
.store-chart-column{position:relative;height:var(--store-plot-height);text-align:center;font-size:12px;font-variant-numeric:tabular-nums}
.store-chart-column:hover{background:#e887450a}
.store-chart-column time{position:absolute;inset:calc(100% + 7px) 0 auto;color:#756d63}
.store-chart-value,.store-chart-bar,.store-chart-dot{position:absolute;left:50%;transform:translateX(-50%)}
.store-chart-value{z-index:3;bottom:calc(var(--value) + 8px);font-weight:650;white-space:nowrap}
.store-chart-bar{bottom:0;width:clamp(12px,54%,34px);height:var(--value);border-radius:4px 4px 0 0;background:#e8874540}
.store-chart-dot{z-index:3;bottom:var(--value);width:7px;height:7px;border:1.5px solid #e88745;border-radius:50%;background:#fff;transform:translate(-50%,50%)}
.store-share{container:store-material-chart / inline-size;display:grid;justify-items:center;align-content:start;gap:7px;padding-left:18px;border-left:1px dashed #ebe6e0}
.store-share h3{justify-self:start}
.store-board .store-ring,.store-board .store-ring:hover{position:relative;display:grid;place-items:center;width:114px;aspect-ratio:1;margin:2px 0;padding:0;border:0;border-radius:50%;background:transparent}
.store-board .store-ring[aria-expanded="true"]{outline:2px solid #e6ae84;outline-offset:3px}
.store-ring svg{position:absolute;inset:0;width:100%;height:100%;fill:none;pointer-events:none}
.store-ring-track,.store-ring-slice{stroke-width:16}
.store-ring-track{stroke:#f0ede9}
.store-ring-slice{pointer-events:stroke;transition:opacity 160ms ease,stroke-width 160ms ease}
.store-ring strong{position:relative;font-size:20px;font-variant-numeric:tabular-nums;pointer-events:none}
.store-share[data-active-material]:not([data-active-material=""]) .store-ring-slice:not(.is-material-active){opacity:.44}
.store-ring-slice.is-material-active{stroke-width:20}
.store-share-list{display:grid;width:100%;max-width:360px;gap:2px;margin:0;padding:0;list-style:none;font-size:12px}
.store-share-list li{display:grid;align-items:center;grid-template-columns:minmax(0,1fr) max-content 38px;gap:7px;padding:1px 4px;border-radius:5px;font-variant-numeric:tabular-nums;transition:background-color 160ms ease,color 160ms ease}
.store-share-list li.is-material-active{background:#fcf0e5;color:#994c22}
.store-share-list li span:first-child{display:flex;align-items:baseline;gap:6px;overflow-wrap:anywhere}
.store-share-list i{flex:none;width:7px;height:7px;border-radius:50%}
.store-share-list li span:last-child{text-align:right;color:#756d63}
@container store-material-chart (min-width:380px){
  .store-share-list:has(li:nth-child(2)){grid-template-columns:repeat(2,minmax(0,1fr));max-width:520px;column-gap:12px}
}
@media(prefers-reduced-motion:reduce){
  .store-ring-slice,.store-share-list li{transition:none}
}
.store-card-footer{display:flex;justify-content:flex-end;margin-top:6px}
.store-board .store-card-footer button{min-height:28px;padding-block:4px;font-size:12px}
.store-section{margin-top:18px;padding:15px;border:1px solid #ede8e1;border-radius:14px}
.store-section[hidden]{display:none}
@container store-board (max-width:690px){
  .store-card-body{grid-template-columns:minmax(0,1fr);gap:14px}
  .store-share{padding:12px 0 0;border-left:0;border-top:1px dashed #ebe6e0}
}
.store-table{overflow:auto;max-height:480px;margin-top:14px}.store-table table{width:100%;border-collapse:collapse;font-size:13px;white-space:nowrap}.store-table :is(td,th){padding:8px;text-align:left;border-bottom:1px solid #eee9e1}.store-table th{position:sticky;top:0;background:#faf8f5}.store-paging{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin-top:12px;font-size:13px}.store-empty,.store-status{color:#756d63;font-size:13px}.store-status:not(:empty){margin:8px 0}.store-grant-rows{max-height:360px;overflow:auto;display:grid;gap:7px}.store-grant-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.store-grant-row label{display:inline-flex;align-items:center;gap:6px}.store-org-label{color:#756d63;font-weight:500;font-size:12px}
@media(max-width:750px){.store-board{margin:10px;padding:12px}}

.store-detail-body{font-size:13px}
.store-materials{display:grid;gap:8px}
.store-materials>div{display:grid;grid-template-columns:minmax(76px,160px) minmax(18px,1fr) minmax(32px,max-content) 51px;align-items:center;gap:10px}
.store-materials i{height:7px;border-radius:6px;background:#f2efeb;overflow:hidden}
.store-materials i b{display:block;height:100%;border-radius:inherit;background:#e88745}
.store-materials strong,.store-materials span:last-child{text-align:right;font-variant-numeric:tabular-nums}
.store-materials span:last-child{color:#756d63}
.store-admin-board{height:100%;min-height:0}
#app>main:has(>#content.view-shop-data)>header{display:none!important}
.store-admin-switch{display:inline-flex;align-items:center;flex:none;gap:3px;padding:3px;border:1px solid #ece6df;border-radius:10px;background:#f6f3ef}
.store-admin-switch button{min-height:30px;padding:0 12px;border:0;border-radius:7px;background:transparent;color:#675d54;font:inherit;font-size:13px;white-space:nowrap;cursor:pointer}
.store-admin-switch button[aria-pressed="true"]{background:white;color:#ae5a2d;box-shadow:0 1px 4px #58341215;font-weight:600}
.store-admin-switch button:focus-visible{outline:2px solid #bf6e39;outline-offset:-2px}
.store-section>.store-header{flex-wrap:wrap;justify-content:flex-start}
.store-section>.store-header>[data-store-close]{margin-inline-start:auto}
.store-section>.store-header:has(>.store-detail-filters){display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center}
.store-detail-filters,.store-detail-date-range{display:flex;flex-wrap:nowrap;align-items:center;gap:6px;font-size:13px}
.store-detail-filters{min-width:0;overflow-x:auto;padding:2px;margin:-2px}
.store-detail-filters>*{flex:none}
.store-detail-filters :is(input,select,button){height:34px;min-height:34px;margin:0}
.store-detail-filters input[type=date]{width:132px;flex:none}
.store-detail-filters input[type=search]{width:166px}
.store-detail-filters select{width:138px;text-overflow:ellipsis}
.store-detail-filters button{white-space:nowrap}
@container store-board (max-width:1020px){
  .store-section>.store-header:has(>.store-detail-filters){grid-template-columns:minmax(0,1fr) auto}
  .store-detail-filters{grid-column:1/-1;grid-row:2}
}
.store-detail-body>.store-table{height:min(480px,50vh);margin-top:0;scrollbar-gutter:stable}
.store-detail-status{margin-inline-end:auto;color:#756d63}
