/* Store page presentation only; shared statistics and classifications remain untouched. */
.workspace-data-page{background:#f5f7fa;color:#26364a;font-family:system-ui,-apple-system,"Segoe UI","Microsoft YaHei",sans-serif}
.workspace-data-page .data-page-main{max-width:1720px;padding:22px 28px}
.workspace-data-page .store-workspace{padding:18px 22px;border-radius:12px;border-color:#e6eaf0}
.store-dashboard{font-variant-numeric:tabular-nums}
.store-dashboard h3,.store-dashboard h4{margin:0;font-weight:650;color:#26384d;font-size:14px;letter-spacing:.1px}
.store-dashboard button{font-family:inherit;cursor:pointer;transition:background .14s,border-color .14s,color .14s;box-sizing:border-box}
.store-dashboard button:focus-visible,.workspace-data-page .dash-clear:focus-visible{outline:2px solid #3379b9;outline-offset:3px}
.dash-core{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:0;border:1px solid #e8edf2;border-radius:10px;background:#f8fafc;overflow:hidden;margin:14px 0 18px}
.dash-control{position:relative;min-width:0;background:transparent;border:1px solid transparent;border-radius:7px;padding:10px 14px;text-align:left;color:#26364a;display:flex;flex-direction:column;gap:5px}
.dash-control:hover{background:#f0f4f8;border-color:#dde5ed}
.dash-control.active{background:#eaf2fc;border-color:#a9c6e8;color:#155da1}
.dash-label{display:flex;align-items:center;gap:10px;justify-content:space-between;font-size:12px;line-height:18px;color:#54667b;font-weight:500}
.dash-arrow{color:#8193a7;opacity:0;font-size:16px}.dash-control:hover .dash-arrow,.dash-control:focus-visible .dash-arrow{opacity:1;color:#2668a6}
.dash-control strong{font-weight:650;letter-spacing:-.5px;font-size:23px;line-height:29px;color:inherit}
.dash-control small{font-size:12px;color:#66778a;line-height:18px}
.dash-core .dash-core-item{padding:15px 18px;border:0;border-right:1px solid #e8edf2;border-radius:0}
.dash-core .dash-core-item:last-child{border-right:0}
.dash-core-item strong{font-size:30px;line-height:36px;letter-spacing:-1px}
.dash-core-item.attention strong{color:#9b661c}
.dash-section,.dash-progress{padding:14px 0;border-bottom:1px solid #edf0f4}
.dash-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.dash-section-heading>span{font-size:12px;color:#6a7b8e}
.dash-section-heading h3 b,.dash-section-heading h4 b{font-size:15px;margin-left:8px;font-weight:650}
.dash-section-heading h3 small,.dash-section-heading h4 small{font-size:12px;color:#758397;margin-left:4px;font-weight:400}
.dash-segments{height:12px;display:flex;gap:3px;border-radius:4px;overflow:hidden;background:#f0f3f6}
.dash-segment{flex-basis:0;min-width:0;border:0;border-radius:0;padding:0;background:#8198ae;box-shadow:inset 0 0 0 1px #00000003}
.dash-segment:hover{filter:brightness(.91)}.dash-segment.active{box-shadow:inset 0 0 0 2px #365f8b}
.seg-completed,.seg-delivered{background:#8096ac}.seg-unfinished{background:#d0dce8}.seg-awaiting_packaging{background:#d9e1e9}.seg-awaiting_deliver{background:#b7cadd}.seg-delivering{background:#819db8}.seg-unfinished_other{background:#e1e5ea}.seg-refusal{background:#e4bd83}
.dash-segment-empty{font-size:11px;color:#758397;padding-left:8px}
.dash-legend{display:flex;align-items:center;gap:22px;margin-top:9px;font-size:12px;color:#627487;line-height:18px;flex-wrap:wrap}
.dash-legend i{width:7px;height:7px;border-radius:2px;display:inline-block;margin-right:7px;background:#8196ad}.dash-legend .dot-unfinished{background:#d0dce8}.dash-legend .dot-refusal{background:#e4bd83}
.dash-unfinished{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:8px}.dash-unfinished .dash-control{flex-direction:row;align-items:center;gap:10px;padding:10px 12px}.dash-unfinished .dash-label{flex:1}.dash-unfinished .dash-control strong{font-size:19px}.dash-unfinished .dash-control small{min-width:50px;text-align:right}
.dash-result-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.dash-result-grid .dash-control{background:#f7f9fb}.dash-result-grid .attention{background:#fff9ef}.dash-result-grid .danger{background:#fff4f2;color:#a75849}.dash-result-grid .attention strong{color:#966724}.dash-result-grid .dash-control:hover{background:#eef3f8}.dash-result-grid .attention:hover{background:#fff2db}.dash-result-grid .danger:hover{background:#ffeae4}.dash-result-grid .active{border-color:#97b9de;box-shadow:inset 0 0 0 1px #97b9de}
.dash-arrival{margin-top:14px;padding:12px 14px;background:#fafbfd;border-radius:8px}.dash-arrival .dash-section-heading{margin-bottom:9px}.dash-arrival .dash-segments{height:10px}
.dash-compact{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.dash-inline{flex-direction:row;gap:12px;align-items:center;background:#fafbfd;border-color:#edf0f3;padding:8px 12px;max-width:100%}.dash-inline .dash-label{gap:16px}.dash-inline strong{font-size:15px;line-height:20px;letter-spacing:0}.dash-inline .dash-arrow{order:3}.dash-inline small{font-size:12px}
.dash-after{display:flex;align-items:center;gap:28px}.dash-after p{font-size:12px;color:#67798d;margin:7px 0}.dash-after>div>small{font-size:12px;color:#6e7f90}.dash-after-total{flex-direction:row;gap:14px;align-items:center;background:#fff9ef;padding:12px 16px}.dash-after-total strong{font-size:24px;color:#916525}.dash-after-total .dash-label{font-weight:500}.dash-after-states{display:flex;flex-wrap:wrap;gap:6px}
.dash-special{padding:14px 0 6px}.dash-special h3{font-size:12px;color:#6c7d8e}.dash-special .dash-control{color:#67798b;background:transparent;border-color:transparent}.dash-special .dash-control:hover{background:#f2f5f8;border-color:#e6edf4}.dash-special .dash-section-heading{margin-bottom:0}
.workspace-data-page .reconciliation{margin:10px 0 18px;color:#718093}
.workspace-data-page .history-orders-head{padding:14px 0;margin-top:8px;border-top:1px solid #e8edf3;align-items:center;gap:12px;flex-wrap:wrap}
.workspace-data-page .history-orders-head h3{margin:0;font-size:16px;color:#2c4058;font-weight:650}
.workspace-data-page .dash-clear{font-size:12px;color:#326c9e;border:1px solid #d9e3ed;background:#f7fafc;border-radius:6px;padding:5px 9px;cursor:pointer}
.workspace-data-page .history-order{padding:14px 12px;border-bottom:1px solid #edf1f5;border-radius:5px;margin:0;font-size:13px;transition:background .14s}
.workspace-data-page .history-order:hover{background:#f5f8fb}.workspace-data-page .history-order[open]{background:#f8fafc}
.workspace-data-page .history-order summary{cursor:pointer;list-style:none}.workspace-data-page .history-order summary::-webkit-details-marker{display:none}
.workspace-data-page .history-order-line{display:flex;align-items:center;justify-content:flex-start;gap:14px;line-height:22px}
.workspace-data-page .history-order-line strong{color:#263d55;font-size:14px;min-width:170px}.workspace-data-page .history-order-line strong small{font-size:11px;font-weight:500;margin-left:6px;padding:2px 5px;background:#edf1f6;border-radius:4px}
.workspace-data-page .history-order-line time{margin-left:auto;font-size:12px;color:#738499}
.workspace-data-page .order-outcome{display:inline-flex;font-size:11px;line-height:18px;background:#edf2f6;border-radius:4px;padding:2px 7px;color:#4d6780;font-weight:500}
.workspace-data-page .outcome-refusal,.workspace-data-page .outcome-unclaimed{background:#fff5e7;color:#986722}.workspace-data-page .outcome-customs,.workspace-data-page .outcome-delivery_failure,.workspace-data-page .outcome-delivery_loss{background:#fff0eb;color:#a45946}
.workspace-data-page .order-brief{font-size:12px;color:#77889b;margin-top:5px;line-height:18px;overflow-wrap:anywhere}
.workspace-data-page .sku-orders-table th{background:#f7f9fb;color:#687c91}.workspace-data-page .sku-orders-table td{padding-top:13px;padding-bottom:13px}.workspace-data-page .sku-orders-table tbody tr:hover{background:#f5f8fb}
@media(max-width:1200px){.dash-core .dash-core-item{padding:13px 12px}.dash-core-item strong{font-size:26px}.dash-result-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.dash-unfinished{grid-template-columns:repeat(2,minmax(0,1fr))}.dash-after{flex-wrap:wrap;gap:16px}.dash-label{font-size:12px}}
@media(max-width:800px){.workspace-data-page .data-page-main{padding:16px}.workspace-data-page .store-workspace{padding:12px}.dash-core{grid-template-columns:repeat(3,minmax(0,1fr))}.dash-core .dash-core-item{border-bottom:1px solid #e8edf2}.dash-result-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dash-section-heading{align-items:flex-start;flex-wrap:wrap}.dash-unfinished{grid-template-columns:1fr 1fr}.dash-after-total{flex-wrap:wrap}.workspace-data-page .history-order-line{flex-wrap:wrap;gap:6px}.workspace-data-page .history-order-line time{margin-left:0}.dash-unfinished .dash-control{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.store-dashboard button,.workspace-data-page .history-order{transition:none}}

/* Selection follows the active drill-down; base tones communicate outcomes. */
.dash-result-grid .dash-control.active,.dash-result-grid .dash-control.active:hover,.dash-special .dash-control.active{background:#eaf2fc;border-color:#a9c6e8;color:#155da1}
.dash-core-item.active strong,.dash-result-grid .dash-control.active strong{color:#155da1}

/* Compact aftersales hierarchy; existing dashboard layout stays intact. */
.dash-after-summary{min-width:0}.dash-after-summary .dash-after-total{background:transparent;padding:7px 10px;margin-left:-10px;gap:10px}.dash-after-summary .dash-after-total:hover{background:#f0f4f8}.dash-after-summary .dash-after-total.active{background:#eaf2fc}.dash-after-total .dash-label{font-size:14px;font-weight:650;color:#26384d}.dash-after-summary .dash-after-total strong{font-size:21px;line-height:27px}.dash-after-rate{font-size:18px;font-weight:600;color:#916525}.dash-after-summary>small{display:block;margin-top:4px;font-size:12px;color:#6e7f90}

.dash-transport-arrival{margin-left:auto;display:flex;align-items:center;flex-wrap:wrap;gap:7px 14px;padding:6px 10px;border-radius:6px;background:#f1f6f8;color:#356279}.dash-transport-arrival b{font-size:14px;font-weight:650}.dash-transport-arrival small{font-size:12px;color:#687e8e}
