/* UI preview: scoped overrides keep nested tables intact on narrow screens. */
body.ant-console .shop-management{color:#262626;min-width:0}
body.ant-console .shop-page-head{margin-bottom:18px;align-items:center}
.shop-page-head p{color:#737373;margin:6px 0 0;font-size:14px}
.shop-preview-chip{font-size:12px;color:#0958d9;background:#e6f4ff;border:1px solid #91caff;border-radius:4px;padding:2px 8px}
.shop-preview-note{display:flex;gap:10px;align-items:flex-start;border:1px solid #91caff;border-radius:6px;background:#e6f4ff;color:#0958d9;padding:10px 14px;font-size:13px;line-height:22px}
.shop-preview-note>.bi{flex:none}
.shop-summary{display:flex;gap:28px;padding:20px 0;color:#737373;font-size:13px}
.shop-summary>span+span{border-left:1px solid #d9d9d9;padding-left:28px}
.shop-summary strong{font-size:22px;color:#262626;font-weight:600;padding:0 6px;font-variant-numeric:tabular-nums}
body.ant-console .shop-card{border:1px solid #e5e7eb;border-radius:12px;background:#fff;overflow:hidden;box-shadow:none}
.shop-toolbar{display:flex;align-items:center;gap:10px;padding:20px 20px 18px;margin:0}
body.ant-console .shop-search{display:flex;align-items:center;gap:10px;width:340px;border:1px solid #d9d9d9;border-radius:6px;padding:0 12px;background:#fff;color:#8c8c8c}
body.ant-console .shop-search:focus-within{border-color:#4096ff;box-shadow:0 0 0 2px #1677ff1a}
body.ant-console .shop-search input{border:0!important;outline:none!important;box-shadow:none!important;background:transparent;padding:0;min-width:0;height:34px;width:100%;font-size:14px}
.shop-sort-note{margin-left:auto;color:#737373;font-size:12px;white-space:nowrap;display:flex;gap:6px}
body.ant-console .shop-table-scroll{overflow-x:auto;max-width:100%;scrollbar-width:thin}
body.ant-console .shop-parent-table{width:100%;min-width:1050px;table-layout:fixed;border-collapse:collapse;margin:0}
body.ant-console .shop-parent-table>thead>tr>th{height:48px;padding:10px 16px;font-size:13px;white-space:nowrap;background:#fafafa;text-align:left;border-bottom:1px solid #e5e7eb;font-weight:500}
body.ant-console .shop-parent-table>thead>tr>th:first-child{padding-left:52px}
body.ant-console .shop-parent-row{background:#fafafa;cursor:pointer}
body.ant-console .shop-parent-row>td{height:56px;padding:6px 16px;border-bottom:1px solid #e5e7eb;vertical-align:middle;font-size:13px;text-align:left}
body.ant-console .shop-parent-row:hover>td{background:#f0f7ff}
body.ant-console .shop-parent-row.is-expanded>td{background:#f5faff}
.shop-merchant-cell{display:flex;gap:12px;align-items:center;min-width:0}
body.ant-console .shop-expand{display:inline-flex;width:24px;height:32px;align-items:center;justify-content:center;background:transparent;border:0;border-radius:4px;color:#1677ff;flex:none;padding:0;cursor:pointer}
.shop-expand .bi{transition:transform .15s ease}
.shop-expand[aria-expanded=true] .bi{transform:rotate(90deg)}
.shop-merchant-name{display:flex;flex-direction:column;min-width:0;line-height:20px}
.shop-merchant-name strong{font-size:14px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.shop-merchant-name small{font-size:12px;color:#8c8c8c}
.shop-store-count{font-variant-numeric:tabular-nums;font-weight:500;color:#595959}
.shop-person{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.shop-status{display:inline-flex;align-items:center;padding:0 7px;border:1px solid transparent;border-radius:4px;font-size:12px;line-height:20px;white-space:nowrap}
.shop-status-green{color:#237804;background:#f6ffed;border-color:#b7eb8f}
.shop-status-blue{color:#0958d9;background:#e6f4ff;border-color:#91caff}
.shop-status-orange{color:#ad6800;background:#fffbe6;border-color:#ffe58f}
.shop-status-red{color:#a8071a;background:#fff1f0;border-color:#ffa39e}
.shop-status-gray{color:#595959;background:#fafafa;border-color:#d9d9d9}
body.ant-console .shop-date{font-size:12px;color:#737373;white-space:nowrap;font-variant-numeric:tabular-nums}
body.ant-console .shop-child-row>td{padding:0 16px 16px 48px;background:#fff;border-bottom:1px solid #e5e7eb}
.shop-child-panel{border:1px solid #e5e7eb;border-radius:8px;margin-top:12px;overflow:hidden;background:#fff}
.shop-child-heading{height:40px;padding:0 14px;display:flex;align-items:center;justify-content:space-between;color:#595959;font-size:12px;border-bottom:1px solid #f0f0f0}
.shop-child-caption{margin-left:10px;color:#8c8c8c}
body.ant-console .shop-child-table{table-layout:fixed;margin:0;width:100%;min-width:0;border-collapse:collapse;font-size:13px}
body.ant-console .shop-child-table th{background:#fafafa;padding:8px 14px;height:40px;font-size:12px;font-weight:400;border-bottom:1px solid #f0f0f0;text-align:left}
body.ant-console .shop-child-table td{height:40px;padding:5px 14px;border-bottom:1px solid #f0f0f0;vertical-align:middle;text-align:left;font-size:13px}
body.ant-console .shop-child-table tbody tr:last-child td{border-bottom:0}
body.ant-console .shop-child-table tbody tr:hover td{background:#fafcff}
.shop-store-name{display:flex;align-items:center;gap:10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.shop-store-name>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shop-store-name .bi{color:#8c8c8c;flex:none}
body.ant-console .shop-text-button{background:none;border:0;color:#1677ff;font-size:13px;min-height:28px;padding:0 4px;cursor:pointer;white-space:nowrap}
.shop-text-button:hover{text-decoration:underline}
.shop-pagination{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 20px;font-size:13px;color:#737373}
.shop-pagination strong{color:#262626;font-weight:500}.shop-page-size{margin-left:18px}
.shop-pagination nav{display:flex;gap:8px}
body.ant-console .shop-page-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:1px solid #d9d9d9;border-radius:6px;background:#fff;color:#595959;cursor:pointer}
body.ant-console .shop-page-button.is-current{color:#1677ff;border-color:#1677ff;font-weight:500}
body.ant-console .shop-page-button:disabled{background:#fafafa;color:#bfbfbf;cursor:not-allowed}
.shop-table-hint{color:#8c8c8c;font-size:12px;margin:12px 0;display:flex;align-items:center;gap:6px}
.shop-empty-stores{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:#8c8c8c;padding:28px;min-height:140px;font-size:13px}
.shop-empty-stores>.bi{font-size:24px;color:#bfbfbf}.shop-empty-stores strong{font-size:14px;color:#595959;font-weight:500}
.shop-demo-dialog h3{margin:20px 0 12px}.shop-demo-dialog dl{margin:0}.shop-demo-dialog dl>div{display:grid;grid-template-columns:90px 1fr;gap:16px;padding:12px 0;border-bottom:1px solid #f0f0f0}.shop-demo-dialog dt{color:#737373}.shop-demo-dialog dd{margin:0;overflow-wrap:anywhere}
.shop-management :is(button,input,[tabindex]):focus-visible{outline:2px solid #1677ff;outline-offset:2px}
@media(max-width:760px){
 .shop-toolbar{flex-wrap:wrap;padding:16px;gap:8px}.shop-search{flex:1 1 100%;width:100%!important}.shop-sort-note{font-size:11px}
 .shop-summary{gap:18px;padding:16px 0}.shop-summary>span+span{padding-left:18px}.shop-summary strong{font-size:20px}
 .shop-pagination{padding:14px 16px;gap:8px}.shop-page-size{display:block;margin:2px 0 0;font-size:12px}.shop-pagination nav{gap:6px}
 .shop-table-hint{align-items:flex-start;line-height:20px}.shop-preview-note{font-size:12px}
 body.ant-console .shop-page-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px}
 .shop-page-head .shop-preview-chip{white-space:nowrap;margin-top:4px}.shop-page-head p{font-size:13px;line-height:22px}
}
.shop-child-heading .shop-text-button{margin-left:12px}
@media(prefers-reduced-motion:reduce){.shop-expand .bi{transition:none}}
