.shelving-metrics {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px;}
.shelving-metrics>.card {padding:20px 22px;display:flex;flex-direction:column;gap:12px;}
.shelving-metrics span,.shelving-metrics small {font-size:12px;color:var(--muted,#738276);}
.shelving-metrics strong {font-size:28px;line-height:1.2;}
.shelving-toolbar {padding:20px 24px;border-bottom:1px solid var(--line,#e2e8df);display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;}
.shelving-toolbar p {margin:0;}.shelving-filters {display:grid;grid-template-columns:minmax(250px,2fr) minmax(160px,1fr) minmax(160px,1fr);gap:12px;align-items:center;}.shelving-filters .search-wrap {min-width:0;}.shelving-filters select {width:100%;}.shelving-date-range {grid-column:1/3;display:flex;align-items:center;gap:10px;font-size:12px;}.shelving-date-range>span {white-space:nowrap;}.shelving-date-range input {width:165px;min-width:0;}.shelving-filter-actions {display:flex;align-items:center;justify-content:flex-end;gap:12px;}
.shelving-table table {width:100%;}.shelving-table td {padding:11px 9px;vertical-align:top;white-space:normal;overflow-wrap:anywhere;}.shelving-table th {padding:10px 9px;font-size:12px;}.shelving-table td:first-child {min-width:145px;}.shelving-table td:nth-child(2) {min-width:110px;}.shelving-table td:nth-child(3) {max-width:240px;min-width:150px;}.shelving-table td:nth-child(4) {min-width:130px;}.shelving-table td:nth-child(9) {min-width:95px;}
.shelving-product+.shelving-product {margin-top:7px;}.shelving-product strong {font-size:12px;font-weight:500;}.shelving-purchase small {display:block;font-size:12px;color:var(--muted,#738276);margin:3px 0 8px;}
.shelving-table td:nth-child(10) {min-width:95px;}.shelving-fee {min-width:110px;}.shelving-fee-amount {font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:600;}.shelving-fee-detail {margin:20px 0;}.shelving-notice-count {display:inline-flex;align-items:center;justify-content:center;min-width:19px;height:19px;margin-left:7px;padding:0 5px;border-radius:6px;background:#d53c36;color:#fff;font-size:11px;font-weight:700;line-height:1;}.shelving-notice-count[hidden] {display:none;}.nav a>.shelving-notice-count {margin-left:auto;flex-shrink:0;}
.shelving-pager {display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;padding:16px 24px;font-size:12px;color:var(--muted,#738276);border-top:1px solid var(--line,#e2e8df);}.shelving-pager>div {display:flex;gap:8px;align-items:center;flex-wrap:wrap;}.shelving-pager label {display:flex;gap:6px;align-items:center;}.shelving-pager input {width:62px;}.shelving-pager .control {min-height:34px;}
.shelving-footnote {font-size:12px;line-height:1.8;padding:0 24px 18px;margin:0;color:var(--muted,#738276);}.shelving-message {padding:12px 24px;background:#fff5e8;color:#8b5d25;font-size:12px;}
dialog:has([data-shelving-detail-panel]) {width:min(1100px,calc(100vw - 32px));}.shelving-detail-meta {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:22px;}.shelving-detail-meta small {display:block;color:var(--muted,#738276);font-size:12px;margin-bottom:6px;}.shelving-detail-meta strong {font-size:13px;overflow-wrap:anywhere;}.shelving-detail-table td {white-space:normal;overflow-wrap:anywhere;}.shelving-remark {white-space:pre-wrap;font-size:13px;line-height:1.7;}
@media(max-width:700px){.shelving-metrics {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}.shelving-metrics>.card {padding:16px;}.shelving-metrics strong {font-size:25px;}.shelving-toolbar {padding:16px;}.shelving-toolbar .feature-tabs {width:100%;}.shelving-toolbar .feature-tab {flex:1;padding:10px 8px;}.shelving-filters {display:flex;flex-wrap:wrap;}.shelving-filters .search-wrap {min-width:100%;}.shelving-filters select {max-width:none;}.shelving-date-range {display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);width:100%;gap:8px;}.shelving-date-range>span:first-child {grid-column:1/-1;}.shelving-date-range input {width:100%;}.shelving-filter-actions {width:100%;justify-content:flex-start;}.shelving-pager {padding:16px;}.shelving-footnote {padding-left:16px;padding-right:16px;}.shelving-detail-meta {grid-template-columns:repeat(2,minmax(0,1fr));}}
