.report-workspace{overflow:hidden auto}.report-import-card{border:1px solid var(--border-color);background:var(--bg-card);border-radius:12px;flex-shrink:0}.report-import-toggle{width:100%;color:var(--text-primary);cursor:pointer;text-align:left;font:inherit;background:0 0;border:0;align-items:center;gap:10px;padding:14px;display:flex}.report-import-toggle>svg{color:var(--accent-blue);flex-shrink:0}.report-import-title{font-weight:700}.report-import-count{color:var(--text-secondary);margin-right:auto;font-size:.82rem}.report-import-panel{border-top:1px solid var(--border-color);max-height:55vh;padding:8px;overflow-y:auto}.report-toolbar{flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;min-width:0;display:flex}.report-toolbar-main{flex:1;align-items:center;gap:12px;min-width:0;display:flex}.report-view-heading{white-space:nowrap;flex:none;align-items:center;gap:10px;padding:4px 2px;display:flex}.report-view-heading>span{color:var(--text-secondary);font-size:.8rem}.report-mode-tabs{flex-wrap:nowrap;flex:auto;gap:6px;min-width:0;margin-left:0;padding-bottom:2px;display:flex;overflow-x:auto}.report-mode-tabs button{border:1px solid var(--border-color);background:var(--bg-card);min-height:40px;color:var(--text-primary);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;gap:6px;padding:6px 12px;display:inline-flex}.report-mode-tabs button[aria-pressed=true]{background:var(--accent-blue);color:#fff;border-color:var(--accent-blue)}.report-import-chip{border:1px solid var(--border-color);background:var(--bg-card);min-height:40px;color:var(--text-primary);cursor:pointer;white-space:nowrap;border-radius:10px;flex-shrink:0;align-items:center;gap:8px;padding:6px 12px;display:inline-flex}.report-import-chip svg{color:var(--accent-blue);flex-shrink:0}.report-import-chip span{font-weight:700}.report-import-chip small{color:var(--text-secondary);font-size:.78rem}.report-import-modal{z-index:500;background:#0f172a73;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.report-import-dialog{border:1px solid var(--border-color);background:var(--bg-card);width:min(980px,100%);max-height:min(760px,100dvh - 48px);color:var(--text-primary);border-radius:16px;flex-direction:column;display:flex;overflow:hidden;box-shadow:0 24px 80px #0f172a47}.report-import-dialog>header{border-bottom:1px solid var(--border-color);justify-content:space-between;align-items:center;gap:16px;padding:14px 16px;display:flex}.report-import-dialog h2{margin:0;font-size:1rem}.report-import-dialog header span{color:var(--text-secondary);font-size:.82rem}.report-import-dialog header button{border:1px solid var(--border-color);background:var(--bg-secondary);width:36px;height:36px;color:var(--text-primary);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;display:inline-flex}.report-import-dialog>section,.report-import-dialog>div{overflow-y:auto}.report-search-box{max-width:620px}.table-toolbar-end{z-index:3;background:var(--bg-secondary);border-left:1px solid var(--border-color);justify-content:flex-end;align-self:stretch;align-items:center;display:flex;position:sticky;right:0;box-shadow:-10px 0 14px -14px #0f172a59}.report-font-controls{white-space:nowrap;max-width:100%;overflow:hidden;box-shadow:0 0 0 1px #94a3b814}.report-font-controls button{min-width:32px}.report-upload-icon{transition:transform .18s,background-color .18s,box-shadow .18s,color .18s;transform:scale(1)}.report-desktop-only:hover .report-upload-icon,.report-desktop-only:focus-within .report-upload-icon{transform:scale(1.07);color:#0284c7!important;background:#0284c729!important;box-shadow:0 10px 30px #0284c738,0 0 0 8px #0284c70d!important}.report-loading{color:var(--text-secondary);flex:1;justify-content:center;align-items:center;gap:12px;display:flex}@media (width<=600px){.report-import-toggle{flex-wrap:wrap;gap:8px;padding:12px}.report-import-title{flex:1;font-size:.9rem}.report-import-count{order:1;width:100%;margin-left:28px}.report-view-heading>span{display:none}.report-mode-tabs button{padding:6px 9px}.report-import-panel{padding:0}}.report-cart-add{min-width:36px;min-height:36px;color:var(--accent-blue);cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;display:inline-flex}.report-cart-add:disabled{color:var(--accent-green,#059669);cursor:default}.report-sort-header{color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;padding:0;font-weight:700;display:inline-flex}.report-number-cell{text-align:right;font-variant-numeric:tabular-nums;display:block}.report-in-transit-active{color:#fff;font-variant-numeric:tabular-nums;background:#ec4899;justify-content:center;align-items:center;width:calc(100% + 16px);min-height:38px;margin:-5px -8px;font-weight:800;display:flex}[data-theme=dark] .report-in-transit-active{color:#fce7f3;background:#831843}.report-stock-cell,.report-stock-negative{text-align:left;white-space:nowrap;justify-content:flex-start;align-items:center;gap:6px;font-weight:650;display:flex}.report-stock-negative{color:#b91c1c}.report-audit-add{width:28px;height:28px;color:var(--accent-blue);cursor:pointer;background:0 0;border:0;border-radius:5px;justify-content:center;align-items:center;padding:0;display:inline-flex}.report-audit-add.is-added,.report-audit-add:disabled{color:#fff;cursor:pointer;opacity:1;background:#dc2626}.report-audit-add:disabled{cursor:default}.report-column-tab,.report-column-picker-trigger{border:1px solid var(--border-color);color:var(--text-secondary);white-space:nowrap;cursor:pointer;background:0 0;border-radius:6px;align-items:center;gap:5px;padding:4px 10px;font-size:.78rem;font-weight:650;display:inline-flex}.report-column-tab.active,.report-column-picker-trigger.active{border-color:var(--accent-blue);color:var(--accent-blue);background:#0284c71f}.report-column-picker-wrap{margin-left:4px;position:relative}.report-column-picker{z-index:1000;border:1px solid var(--border-color);background:var(--bg-card);border-radius:8px;width:310px;max-height:min(480px,100dvh - 24px);padding:12px;position:fixed;overflow:auto;box-shadow:0 14px 30px #0f172a2e}.report-column-picker header{border-bottom:1px solid var(--border-color);justify-content:space-between;align-items:center;margin-bottom:6px;padding-bottom:9px;display:flex}.report-column-picker header button{color:var(--accent-blue);cursor:pointer;background:0 0;border:0;font-weight:650}.report-column-picker label{cursor:pointer;align-items:center;gap:9px;min-height:34px;padding:4px 6px;display:flex}.report-list-panel{background:var(--bg-card);border:1px solid var(--border-color);border-radius:12px;flex-direction:column;flex:1;gap:12px;min-height:320px;padding:16px;display:flex}.report-list-panel h3{margin:0;font-size:1rem}.report-list-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.report-shelf-print{color:#fff;min-height:34px;font:inherit;cursor:pointer;background:#0284c7;border:0;border-radius:6px;align-items:center;gap:6px;padding:6px 10px;font-size:.82rem;font-weight:700;display:inline-flex}.report-shelf-print:disabled{cursor:not-allowed;background:#94a3b8}.report-list-empty{text-align:center;color:var(--text-secondary);padding:40px 12px;line-height:1.8}.report-list-row{border-bottom:1px solid var(--border-color);align-items:center;gap:12px;padding:12px 0;display:flex}.report-list-row>div{overflow-wrap:anywhere;flex:1;min-width:0}.report-list-row small{color:var(--text-secondary);margin-top:4px;display:block}.report-list-row>span{white-space:nowrap}.report-list-row button{border:1px solid var(--border-color);background:var(--bg-card);min-width:40px;min-height:40px;color:var(--text-secondary);cursor:pointer;border-radius:8px}.shelf-audit-print{display:none}@media print{@page{size:A4 portrait;margin:10mm 8mm}body{-webkit-print-color-adjust:exact;print-color-adjust:exact}.shelf-audit-print{color:#111827;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans TC,sans-serif;box-sizing:border-box!important;width:100%!important;max-width:100%!important;display:block!important}.shelf-audit-print h1{margin:0 0 4px;font-size:16pt;font-weight:800}.shelf-audit-print p{color:#4b5563;margin:0 0 10px;font-size:9pt}.shelf-audit-print table{border-collapse:collapse;font-size:8.5pt;table-layout:fixed!important;box-sizing:border-box!important;width:100%!important;max-width:100%!important}.shelf-audit-print th,.shelf-audit-print td{text-align:left;vertical-align:middle;box-sizing:border-box;overflow-wrap:break-word;word-break:break-word;border:1px solid #94a3b8;padding:5px 6px}.shelf-audit-print th{white-space:nowrap;font-size:8.5pt;font-weight:700;background:#e2e8f0!important}.shelf-audit-print col.col-code,.shelf-audit-print th:first-child,.shelf-audit-print td:first-child{white-space:nowrap;width:15%;font-family:monospace;font-weight:600}.shelf-audit-print col.col-name,.shelf-audit-print th:nth-child(2),.shelf-audit-print td:nth-child(2){width:41%;line-height:1.25}.shelf-audit-print col.col-report-stock,.shelf-audit-print th:nth-child(3),.shelf-audit-print td:nth-child(3){width:16%;font-size:8pt}.shelf-audit-print col.col-master-stock,.shelf-audit-print th:nth-child(4),.shelf-audit-print td:nth-child(4){text-align:center;width:14%}.shelf-audit-print col.col-actual-stock,.shelf-audit-print th:nth-child(5),.shelf-audit-print td:nth-child(5){width:14%;height:24px}}@media (width<=900px){.report-toolbar{align-items:flex-start}.report-toolbar-main{flex-direction:column;align-items:stretch;gap:8px}.report-mode-tabs button{flex:none;min-width:max-content;min-height:44px}}@media (width<=767px){.report-toolbar-main{gap:6px}.report-import-modal{align-items:stretch;padding:0}.report-import-dialog{border:0;border-radius:0;width:100%;min-height:100dvh;max-height:100dvh}.report-search-box{max-width:none;min-width:100%!important}.table-toolbar-end{padding:4px!important}.report-font-controls{border-radius:8px!important;gap:0!important;padding:1px!important}.report-font-controls button{min-width:28px;padding:3px 6px!important}.report-font-icon{display:none}}.report-mobile-empty{display:none}@media (width<=767px){.report-desktop-only{display:none!important}.report-mobile-empty{text-align:center;min-height:180px;color:var(--text-secondary);flex-direction:column;flex:1;justify-content:center;align-items:center;gap:12px;padding:24px 16px;line-height:1.6;display:flex}.report-mobile-empty svg{color:var(--accent-blue)}}
