.w52-report{min-width:0;padding:12px 14px}
.w52-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.w52-filter-panel{display:flex;align-items:flex-start;margin:0 0 8px;border:1px solid var(--line);border-radius:7px;background:var(--bg);min-width:0}
.w52-filter-scroll{flex:1;min-width:0;overflow-x:auto;scrollbar-width:thin;overscroll-behavior-inline:contain;padding:7px 9px}
.w52-filter-row{display:flex;align-items:center;flex-wrap:nowrap;gap:8px;width:max-content;min-width:100%;white-space:nowrap}
.w52-filter,.w52-week-jump{display:flex;align-items:center;flex:none;gap:5px;white-space:nowrap;color:var(--muted);font-size:11px}
.w52-filter-row input,.w52-filter-row select,.w52-week-jump select{box-sizing:border-box;width:80px;height:30px;padding:5px 7px;border-radius:5px;font-size:11px}
.w52-filter-row [name=launch_year]{width:82px}
.w52-date-range input[type=date]{width:112px}
.w52-filter-row [name=goods_no]{width:96px}
.w52-filter-row [name=category_group]{width:96px}
.w52-filter-row [name=metric]{width:106px}
.w52-filter-row [name=page_size]{width:65px}
.w52-channel-toggle{display:flex;align-items:center;justify-content:space-between;flex:none;gap:6px;box-sizing:border-box;width:112px;height:30px;padding:5px 7px;border:1px solid var(--line);border-radius:5px;background:var(--card);color:var(--text);font:inherit;cursor:pointer}
.w52-channel-toggle>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.w52-channel-toggle[aria-expanded=true],.w52-channel-toggle:focus-visible{border-color:var(--accent);outline:1px solid var(--accent)}
.w52-channel-menu{box-sizing:border-box;position:fixed;inset:auto;margin:0;max-width:calc(100vw - 16px);padding:10px;border:1px solid var(--line);border-radius:8px;background:var(--card);color:var(--text);font-size:12px;box-shadow:0 6px 22px #24476d26;overflow:hidden}
.w52-channel-menu:popover-open{display:flex;flex-direction:column;gap:8px}
.w52-channel-heading{display:flex;align-items:center;justify-content:space-between;flex:none;gap:8px;font-size:12px}
.w52-channel-heading>span{color:var(--muted);font-size:11px}
.w52-channel-options{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.w52-channel-choice{display:flex;align-items:center;gap:8px;margin:0;padding:6px 5px;border-radius:4px;cursor:pointer;font-size:12px}
.w52-channel-choice:hover,.w52-channel-choice:focus-within{background:var(--soft)}
.w52-channel-choice input[type=checkbox]{flex:none;box-sizing:border-box;width:14px;height:14px;margin:0;padding:0;accent-color:var(--accent)}
.w52-channel-choice>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.w52-channel-help,.w52-channel-empty{flex:none;margin:0;color:var(--muted);font-size:11px;line-height:1.5}
.w52-channel-actions{display:flex;align-items:center;justify-content:space-between;flex:none;gap:8px;padding-top:8px;border-top:1px solid var(--line)}
.w52-channel-actions .btn{min-height:28px;padding:4px 9px;font-size:11px}
.w52-filter-actions{display:flex;flex:none;align-self:stretch;align-items:flex-start;gap:8px;padding:7px 9px;border-left:1px solid var(--line)}
.w52-filter-actions .btn{flex:none;white-space:nowrap;min-height:30px;padding:5px 9px;font-size:11px}
.w52-filter-actions .w52-export{min-width:100px;color:var(--accent)}
.w52-week-jump select{width:auto;height:29px}
.w52-filter-status{color:var(--accent);font-size:10px;overflow:hidden;text-overflow:ellipsis}
.w52-result-meta{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px;min-width:0}
.w52-applied{display:flex;align-items:baseline;flex:1;gap:8px;min-width:0;white-space:nowrap}
.w52-applied b{flex:none;font-size:12px;color:var(--text);font-weight:600}
.w52-applied-text{font-size:11px;color:var(--muted);overflow:hidden;text-overflow:ellipsis}

.w52-grid-shell{container-type:inline-size;min-width:0}
.w52-grid-scroll{max-height:68dvh;max-width:100%;overflow:auto;border:1px solid var(--line);border-radius:7px;background:var(--card);overscroll-behavior:contain;scroll-padding-top:34px;scroll-padding-left:var(--w52-frozen-width,0px)}
.w52-grid-scroll:focus-visible,.w52-filter-scroll:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
.w52-grid{width:var(--w52-table-width);max-width:none;table-layout:fixed;border-collapse:separate;border-spacing:0;font-size:11px;line-height:1.35;font-variant-numeric:tabular-nums}
.w52-grid th,.w52-grid td{box-sizing:border-box;height:34px;padding:6px 9px;vertical-align:middle;white-space:nowrap;text-align:center;border-right:1px solid var(--line);border-bottom:1px solid var(--line);overflow:hidden;text-overflow:ellipsis}
.w52-grid tr>:last-child{border-right:0}
.w52-grid tbody tr:last-child>*{border-bottom:0}
.w52-grid thead th{position:sticky;top:0;z-index:3;font-size:11px;font-weight:600;background:#f8cb7f;color:#533a1e;border-color:#d6ad70}
.w52-grid thead .w52-week{padding:0;background:#a5c7ff;color:#203a61;border-color:#8fadde}
.w52-grid .w52-meta{width:var(--w52-width);min-width:var(--w52-width);max-width:var(--w52-width)}
.w52-grid .w52-week{width:74px;min-width:74px;max-width:74px}
.w52-week-label{display:block;width:100%;height:34px;border:0;background:none;color:inherit;font:inherit;padding:0 5px;cursor:help}
.w52-week-label:hover,.w52-week-label:focus-visible{background:#ffffff40;outline:2px solid currentColor;outline-offset:-3px}
.w52-grid tbody tr{--w52-cell-bg:var(--card)}
.w52-grid tbody tr:nth-child(even){--w52-cell-bg:var(--bg)}
.w52-grid tbody tr:hover{--w52-cell-bg:var(--soft)}
.w52-grid tbody :is(th,td){background:var(--w52-cell-bg);color:var(--text);font-size:11px}
.w52-grid tbody .w52-number{text-align:right}
.w52-grid tbody .w52-negative{color:#b54444}
.w52-grid tbody .w52-identity{font-weight:600}
.w52-grid .w52-pinned{position:sticky;left:var(--w52-left);z-index:2}
.w52-grid thead .w52-pinned{z-index:4}
.w52-grid .w52-last-pinned{box-shadow:1px 0 0 var(--line)}
.w52-grid .w52-picture{padding:5px 8px}
.w52-picture .dy-thumb{width:52px;height:50px;cursor:zoom-in}
.w52-picture .dy-image-link{line-height:1.3}
.w52-week-tooltip{position:fixed;z-index:70;pointer-events:none;max-width:calc(100vw - 16px);padding:8px 11px;border:1px solid var(--line);border-radius:6px;background:var(--card);box-shadow:0 3px 15px #23362f2b;color:var(--text);white-space:nowrap;font-size:11px;font-variant-numeric:tabular-nums}
.w52-pagination{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-top:8px;color:var(--muted);font-size:11px}
.w52-pagination b{font-weight:600;color:var(--text)}
.w52-pagination>div{display:flex;gap:6px}
.w52-pagination .btn{white-space:nowrap;padding:5px 9px;min-height:28px}
.w52-report .btn:disabled{cursor:default}
.w52-loading,.w52-empty{min-height:160px;display:flex;align-items:center;justify-content:center;gap:10px;padding:20px;text-align:center;color:var(--muted);font-size:12px;border:1px solid var(--line);border-radius:7px}
.w52-loading>span{width:16px;height:16px;border:2px solid var(--line);border-top-color:var(--accent);border-radius:50%;animation:w52-spin .8s linear infinite}
.w52-empty{flex-direction:column;line-height:1.6}
.w52-empty strong{color:var(--text)}
.w52-empty p{margin:0}
.dark .w52-grid thead th{background:#674a25;color:#ffebc9;border-color:#8d6a3e}
.dark .w52-grid thead .w52-week{background:#355276;color:#e2ecff;border-color:#4a6891}
.dark .w52-grid tbody .w52-negative{color:#f28d8d}
@keyframes w52-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.w52-loading>span{animation:none}}
@media(min-width:781px){
  .reports-active .report-workspace:has(.w52-report){display:flex;flex-direction:column;overflow:hidden;scrollbar-gutter:auto}
  .report-workspace:has(.w52-report)>.panel-head{flex:none}
  .report-workspace:has(.w52-report)>#report-body,.w52-report,.w52-report [data-w52-results],.w52-grid-shell{display:flex;flex:1 1 0;flex-direction:column;min-height:0;min-width:0}
  .w52-filter-panel,.w52-result-meta,.w52-pagination{flex:none}
  .w52-grid-scroll{flex:1 1 0;min-height:0;max-height:none}
  .w52-report :is(.w52-loading,.w52-empty){flex:1;min-height:0}
}
@media(max-width:780px){.w52-report{padding:10px}.w52-filter-scroll,.w52-filter-actions{padding:7px}.w52-filter-actions{gap:4px}.w52-filter-actions .btn{padding-inline:5px}.w52-filter-actions .w52-export{min-width:0}}
