:root{
  --ui-bg:#07111f;--ui-surface:#0d1b2c;--ui-surface-2:#11243a;--ui-surface-3:#172d47;
  --ui-primary:#1687ff;--ui-primary-strong:#0875e8;--ui-success:#16c784;--ui-warning:#f59e0b;
  --ui-danger:#f05263;--ui-purple:#8b5cf6;--ui-text:#eef6ff;--ui-muted:#8fa5bd;
  --ui-border:#213a55;--ui-radius-sm:8px;--ui-radius-md:12px;--ui-radius-lg:16px;
  --ui-space-xs:6px;--ui-space-sm:10px;--ui-space-md:16px;--ui-space-lg:24px;
  --ui-shadow:0 14px 38px rgba(0,0,0,.2);--ui-sidebar:224px;
}
*{box-sizing:border-box}.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
*.legacy-nav-contract{display:none!important}
body.has-app-shell{background:var(--ui-bg);color:var(--ui-text)}body.has-app-shell a{color:#8fc7ff}body.has-app-shell .muted{color:var(--ui-muted)}
.app-sidebar{display:none}.topbar.compact-topbar{height:68px;border-bottom:1px solid var(--ui-border);background:rgba(7,17,31,.94);box-shadow:none;color:var(--ui-text);backdrop-filter:blur(16px)}
.topbar.compact-topbar .brand{color:var(--ui-text);font-size:20px}.topbar.compact-topbar .user-chip{border:0;background:transparent;color:var(--ui-text);text-decoration:none}
.global-search{display:flex;flex:1;max-width:620px;margin:0 24px}.global-search input{height:40px;min-width:0;flex:1;border:1px solid var(--ui-border);border-radius:10px 0 0 10px;background:var(--ui-surface);color:var(--ui-text);padding:0 14px}.global-search input::placeholder{color:#6f879f}.global-search button{height:40px;border:1px solid var(--ui-primary);border-radius:0 10px 10px 0;background:var(--ui-primary);color:#fff;padding:0 16px;font-weight:750;cursor:pointer}
body.has-app-shell>.container{max-width:1500px;color:var(--ui-text)}body.has-app-shell .panel,body.has-app-shell .stat-card,body.has-app-shell .product-card,body.has-app-shell .quick{border-color:var(--ui-border);background:var(--ui-surface);box-shadow:none;color:var(--ui-text)}
body.has-app-shell input,body.has-app-shell select,body.has-app-shell textarea{border-color:var(--ui-border);background:#091727;color:var(--ui-text)}body.has-app-shell input::placeholder,body.has-app-shell textarea::placeholder{color:#6f879f}
body.has-app-shell .btn{border-color:#31506d;background:var(--ui-surface-2);color:var(--ui-text);box-shadow:none}body.has-app-shell .btn:hover{border-color:#4c6e90;background:var(--ui-surface-3)}body.has-app-shell .btn.primary{border-color:var(--ui-primary);background:var(--ui-primary);color:#fff}body.has-app-shell .btn.success{border-color:#159669;background:#107a57;color:#fff}body.has-app-shell .btn.danger{border-color:#a93545;background:#7d2734;color:#fff}
.ui-status{display:inline-flex;align-items:center;min-height:25px;padding:3px 9px;border-radius:999px;font-size:12px;font-weight:800}.ui-status-neutral{background:#26384b;color:#c7d5e3}.ui-status-blue{background:#0d4380;color:#72baff}.ui-status-green{background:#0b4939;color:#4ee0a9}.ui-status-orange{background:#5a3a0c;color:#ffc766}.ui-status-red{background:#5f2430;color:#ff8995}
.ui-stat{display:flex;min-width:0;min-height:112px;flex-direction:column;justify-content:center;padding:17px;border:1px solid var(--ui-border);border-radius:var(--ui-radius-md);background:var(--ui-surface);color:var(--ui-text)!important;text-decoration:none}.ui-stat span{color:var(--ui-muted);font-size:13px}.ui-stat strong{margin-top:7px;color:var(--ui-text);font-size:29px;line-height:1}.ui-stat small{margin-top:7px;color:var(--ui-muted)}.ui-stat-blue{box-shadow:inset 3px 0 var(--ui-primary)}.ui-stat-green{box-shadow:inset 3px 0 var(--ui-success)}.ui-stat-orange{box-shadow:inset 3px 0 var(--ui-warning)}.ui-stat-purple{box-shadow:inset 3px 0 var(--ui-purple)}
.ui-empty{display:grid;justify-items:center;gap:8px;padding:40px 20px;border:1px dashed var(--ui-border);border-radius:var(--ui-radius-md);background:rgba(13,27,44,.55);color:var(--ui-muted);text-align:center}.ui-empty b{color:var(--ui-text);font-size:17px}
.copy-text-button{min-height:32px;border:0;background:transparent;color:#70b9ff;cursor:pointer;font:inherit;font-size:12px;font-weight:750}
.flash{border-color:var(--ui-border);box-shadow:none}.pagination a,.pagination span{border-color:var(--ui-border);background:var(--ui-surface);color:var(--ui-text)}
@media(min-width:621px){
  .app-sidebar{position:fixed;inset:0 auto 0 0;z-index:45;display:flex;width:var(--ui-sidebar);flex-direction:column;border-right:1px solid var(--ui-border);background:#091625;padding:20px 14px}.app-brand{display:flex;align-items:center;gap:11px;padding:6px 8px 22px;color:var(--ui-text)!important;text-decoration:none}.app-brand-mark{display:grid;width:36px;height:36px;place-items:center;border-radius:10px;background:linear-gradient(145deg,#278fff,#1055d7);color:#fff;font-weight:900}.app-brand b,.app-brand small{display:block}.app-brand b{font-size:17px}.app-brand small{margin-top:2px;color:var(--ui-muted);font-size:11px;font-weight:500}
  .app-sidebar .desktop-nav{display:flex;flex:1;flex-direction:column;gap:5px;padding:8px 0;overflow:auto}.app-sidebar .desktop-nav a{display:flex;min-height:44px;align-items:center;gap:12px;border:0;border-radius:10px;padding:0 12px;color:#a9bacb;text-decoration:none;font-weight:700}.app-sidebar .desktop-nav a:hover{background:#10243a;color:#fff}.app-sidebar .desktop-nav a.active{background:linear-gradient(90deg,#176fe7,#168cff);color:#fff}.nav-icon{display:grid;width:22px;height:22px;place-items:center;font-size:17px}.sidebar-account{display:flex;align-items:center;gap:10px;border-top:1px solid var(--ui-border);padding:16px 8px 2px;color:var(--ui-text)!important;text-decoration:none}.account-avatar{display:grid;width:36px;height:36px;place-items:center;border-radius:50%;background:#274460;color:#fff;font-weight:900}.sidebar-account b,.sidebar-account small{display:block}.sidebar-account small{margin-top:2px;color:var(--ui-muted);font-size:11px}
  .topbar.compact-topbar{margin-left:var(--ui-sidebar);padding:0 28px}.topbar.compact-topbar .brand{display:none}body.has-app-shell>.container{width:auto;margin-left:var(--ui-sidebar);padding:26px 28px 48px}.mobile-nav{display:none!important}
}
@media(max-width:620px){
  body.has-app-shell{padding-bottom:calc(68px + env(safe-area-inset-bottom));padding-top:env(safe-area-inset-top)}.topbar.compact-topbar{height:58px;padding:0 16px}.topbar.compact-topbar .brand{display:block;font-size:19px}.topbar.compact-topbar .user-chip{max-width:45%;font-size:12px}.global-search{display:none}body.has-app-shell>.container{padding:16px 14px 24px}
  .mobile-nav.compact-primary-nav{z-index:50;grid-template-columns:repeat(4,minmax(0,1fr));min-height:calc(62px + env(safe-area-inset-bottom));border-color:var(--ui-border);background:rgba(9,22,37,.97);padding:4px 7px calc(4px + env(safe-area-inset-bottom));box-shadow:0 -8px 26px rgba(0,0,0,.2)}.mobile-nav.compact-primary-nav a{display:flex;min-height:54px;flex-direction:column;gap:2px;color:#8298ae;font-size:11px}.mobile-nav.compact-primary-nav a.active{color:#39a0ff}.mobile-nav .nav-icon{height:24px;font-size:18px}.mobile-nav.compact-primary-nav .mobile-home-link{font-size:0}.mobile-nav .mobile-home-link::after{content:"首页";font-size:11px}.mobile-nav .mobile-my-link::before{content:"●";display:grid;height:24px;place-items:center;font-size:18px}
  .ui-stat{min-height:100px;padding:14px}.ui-stat strong{font-size:25px}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}
@media print{.app-sidebar,.global-search{display:none!important}.topbar.compact-topbar,body.has-app-shell>.container{margin-left:0!important}}
.download-feedback{position:fixed;left:50%;bottom:28px;z-index:1000;max-width:calc(100vw - 28px);transform:translate(-50%,18px);border:1px solid #2f78bd;border-radius:10px;background:#0c3157;color:#fff;padding:12px 17px;box-shadow:0 12px 32px rgba(0,0,0,.32);font-size:14px;font-weight:750;opacity:0;pointer-events:none;transition:opacity .18s ease,transform .18s ease}.download-feedback.show{opacity:1;transform:translate(-50%,0)}

/* Business overview keeps its existing light financial cards; use dark, high-contrast copy inside them. */
body.has-app-shell .cockpit-money-grid,
body.has-app-shell .cockpit-subpanel,
body.has-app-shell .inventory-flow-row,
body.has-app-shell .age-bucket-grid>a,
body.has-app-shell .health-rates>div,
body.has-app-shell .efficiency-grid>div,
body.has-app-shell .attention-list,
body.has-app-shell .ranking-tab-labels,
body.has-app-shell .ranking-panel{color:#0f172a}
body.has-app-shell a.cockpit-metric,
body.has-app-shell .inventory-flow-row a,
body.has-app-shell .age-bucket-grid a,
body.has-app-shell .attention-list>a{color:#0f172a}
body.has-app-shell .cockpit-metric span,
body.has-app-shell .cockpit-metric small{color:#526279}
body.has-app-shell .period-switch a{color:#334155}
body.has-app-shell .period-switch a.active{color:#fff}
body.has-app-shell .inline-action{color:#075bad}

/* Phase 2: workbench */
.page-eyebrow{display:block;margin-bottom:5px;color:#4aa7ff;font-size:10px;font-weight:900;letter-spacing:.14em}.dashboard-heading{margin-bottom:22px}.dashboard-heading h1{margin:0;font-size:29px}.dashboard-heading p{margin:6px 0 0}.dashboard-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:20px}.dashboard-main-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);gap:14px}.dashboard-card{margin-bottom:16px;padding:18px;border:1px solid var(--ui-border);border-radius:var(--ui-radius-lg);background:var(--ui-surface)}.section-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}.section-title-row h2{margin:0;font-size:18px}.section-title-row>a{font-size:13px;text-decoration:none}.mobile-dashboard-search{display:none}.dashboard-task-list{display:grid;grid-template-columns:1fr 1fr;gap:9px}.dashboard-task-list .workbench-task{display:flex;min-height:72px;align-items:center;justify-content:space-between;border:1px solid var(--ui-border);border-radius:10px;background:#0a192a;padding:12px 14px;color:var(--ui-text);text-decoration:none}.dashboard-task-list .workbench-task:hover{border-color:#345d83;background:#10233a}.dashboard-task-list .workbench-task>span{display:grid;gap:4px;font-weight:800}.dashboard-task-list .workbench-task small{color:var(--ui-muted);font-size:11px;font-weight:500}.dashboard-task-list .workbench-task strong{font-size:23px}.dashboard-task-list .needs-attention{border-color:#743341}.recent-activity-list{display:grid}.recent-activity-list>a{display:grid;grid-template-columns:38px minmax(0,1fr) 16px;align-items:center;gap:10px;min-height:61px;border-bottom:1px solid var(--ui-border);color:var(--ui-text);text-decoration:none}.recent-activity-list>a:last-child{border-bottom:0}.activity-mark{display:grid;width:34px;height:34px;place-items:center;border-radius:10px;background:#153757;color:#66b5ff;font-weight:900}.recent-activity-list b,.recent-activity-list small{display:block}.recent-activity-list small{margin-top:4px;color:var(--ui-muted);font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.recent-activity-list i{color:#668199;font-size:22px}.workbench-quick-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.quick-action{display:grid;grid-template-columns:42px minmax(0,1fr);grid-template-rows:auto auto;gap:2px 10px;align-items:center;min-height:76px;border:1px solid var(--ui-border);border-radius:11px;padding:12px;color:var(--ui-text)!important;text-decoration:none}.quick-action>span{grid-row:1/3;display:grid;width:40px;height:40px;place-items:center;border-radius:10px;color:#fff;font-size:20px;font-weight:900}.quick-action b{align-self:end}.quick-action small{align-self:start;color:var(--ui-muted)}.quick-blue>span{background:#147de3}.quick-green>span{background:#15996c}.quick-purple>span{background:#7452dc}.quick-orange>span{background:#ce7814}.workbench-secondary{margin-top:12px}.workbench-secondary>summary{cursor:pointer;font-weight:800}
@media(max-width:980px) and (min-width:621px){.dashboard-kpi-grid{grid-template-columns:1fr 1fr}.dashboard-main-grid{grid-template-columns:1fr}.workbench-quick-actions{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.dashboard-heading{align-items:center!important;flex-direction:row!important;margin-bottom:12px}.dashboard-heading h1{font-size:24px}.dashboard-heading .page-eyebrow,.dashboard-heading p{display:none}.dashboard-scan{width:auto!important;min-height:40px}.mobile-dashboard-search{display:flex;margin-bottom:18px}.mobile-dashboard-search input{min-width:0;flex:1;height:44px;border-radius:10px 0 0 10px;padding:0 12px}.mobile-dashboard-search button{width:60px;border:0;border-radius:0 10px 10px 0;background:var(--ui-primary);color:#fff;font-weight:800}.dashboard-kpi-grid{grid-template-columns:1fr 1fr;gap:9px;margin-bottom:17px}.dashboard-main-grid{display:block}.dashboard-card{padding:14px;border-radius:13px}.dashboard-task-list{grid-template-columns:1fr;gap:8px}.dashboard-task-list .workbench-task{min-height:62px;padding:10px 12px}.workbench-quick-actions{grid-template-columns:1fr 1fr;gap:8px}.quick-action{min-height:72px;padding:10px}.quick-action>span{width:36px;height:36px}.recent-activity-list>a{min-height:58px}.workbench-secondary{padding:14px}.section-title-row{margin-bottom:10px}}

/* Phase 3: inventory list */
.inventory-page{--quiet-border:var(--ui-border)}.inventory-heading h1{margin:0;font-size:28px}.inventory-heading .inline-more>summary{border-color:var(--ui-border);background:var(--ui-surface-2);color:var(--ui-text)}.inventory-heading .more-links{border-color:var(--ui-border);background:var(--ui-surface)}.inventory-search{padding:14px;border:1px solid var(--ui-border);border-radius:var(--ui-radius-md);background:var(--ui-surface)}.inventory-search-row input{border-radius:9px}.inventory-status-tabs a{gap:6px;color:var(--ui-muted)}.inventory-status-tabs a small{display:grid;min-width:22px;height:22px;place-items:center;border-radius:999px;background:#1a3048;color:#9db4ca;font-size:10px}.inventory-status-tabs .active{background:#0c4e91;color:#fff}.inventory-status-tabs .active small{background:rgba(255,255,255,.16);color:#fff}.inventory-clear,.inventory-advanced>summary,.inventory-bulk>summary{color:#9eb1c5}.inventory-advanced{border-color:var(--ui-border)}.inventory-page .bulk-toolbar{border-color:var(--ui-border);background:var(--ui-surface)}.active-filter{border-color:var(--ui-border);background:#132942;color:var(--ui-text)}
.inventory-table-head{display:grid;grid-template-columns:1fr;align-items:center;margin-top:12px;padding:0 12px;border:1px solid var(--ui-border);border-bottom:0;border-radius:11px 11px 0 0;background:#0a1727;color:var(--ui-muted);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.03em}.inventory-table-head.has-select{grid-template-columns:44px minmax(0,1fr)}.inventory-head-fields{display:grid;grid-template-columns:minmax(210px,1.65fr) minmax(125px,.9fr) minmax(88px,.75fr) minmax(72px,.55fr) minmax(96px,.7fr) minmax(112px,.85fr) minmax(92px,.65fr) 48px;align-items:center;gap:11px;min-height:42px}.inventory-table-body{gap:0}.inventory-item{display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch;border-color:var(--ui-border);border-radius:0;background:var(--ui-surface);overflow:visible}.inventory-item.has-select{grid-template-columns:44px minmax(0,1fr)}.inventory-item:last-child{border-radius:0 0 11px 11px}.inventory-item+.inventory-item{border-top:0}.inventory-item-link{display:grid;grid-template-columns:minmax(210px,1.65fr) minmax(125px,.9fr) minmax(88px,.75fr) minmax(72px,.55fr) minmax(96px,.7fr) minmax(112px,.85fr) minmax(92px,.65fr) 48px;align-items:center;gap:11px;min-width:0;padding:10px 12px;color:var(--ui-text)}.inventory-item-link:hover{background:#11243a}.inventory-product-cell{display:grid;grid-template-columns:50px minmax(0,1fr);align-items:center;gap:10px;min-width:0}.inventory-thumb{width:50px;height:50px;border-radius:8px;background:#15273a}.inventory-item-main h2{margin:0;overflow:hidden;color:var(--ui-text);font-size:14px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.inventory-item-main small{display:block;margin-top:4px;color:var(--ui-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.inventory-cell{display:grid;gap:4px;min-width:0;color:#c5d3e0;font-size:12px}.inventory-cell b{overflow:hidden;color:var(--ui-text);text-overflow:ellipsis;white-space:nowrap}.inventory-cell span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.inventory-identity{color:var(--ui-muted)}.inventory-identity>b{color:#dce9f6}.inventory-item-state{align-items:start}.inventory-evidence{display:grid;gap:4px;color:var(--ui-muted)}.inventory-key-price{color:var(--ui-muted)}.inventory-key-price b{color:#43df9d;font-size:14px}.inventory-view{color:#5eaef8}.inventory-select{border-right:1px solid var(--ui-border)}
@media(max-width:1179px){.inventory-table-head{display:none}.inventory-table-body{gap:10px}.inventory-item,.inventory-item.has-select{display:flex;border:1px solid var(--ui-border);border-radius:11px;overflow:hidden}.inventory-item-link{display:grid;grid-template-columns:72px minmax(0,1fr) auto;align-items:start;gap:12px;padding:14px}.inventory-product-cell{display:contents}.inventory-product-cell .inventory-thumb{grid-row:1/5;width:72px;height:72px}.inventory-product-cell .inventory-item-main{grid-column:2}.inventory-cell{grid-column:2}.inventory-batch,.inventory-condition{display:none}.inventory-item-state{display:flex;grid-column:2;align-items:center}.inventory-evidence{display:flex;grid-column:2}.inventory-key-price{grid-column:2}.inventory-view{grid-column:3;grid-row:1/5;align-self:center}.inventory-identity span{white-space:normal}}
@media(max-width:620px){.inventory-heading .page-eyebrow{display:none}.inventory-heading h1{font-size:23px}.inventory-search{padding:11px}.inventory-filter-row{align-items:flex-start}.inventory-status-tabs{display:grid;grid-template-columns:repeat(3,1fr);width:100%}.inventory-status-tabs a{min-width:0;padding:8px 6px}.inventory-clear{margin-left:auto}.inventory-item-link{grid-template-columns:60px minmax(0,1fr);padding:12px}.inventory-product-cell .inventory-thumb{width:60px;height:60px}.inventory-view{grid-column:2;grid-row:auto;justify-self:end}.inventory-evidence{display:flex;gap:6px 12px}.inventory-evidence span{white-space:normal}.inventory-key-price b{font-size:15px}}

/* Phase 4: product detail */
.product-detail-page{--quiet-border:var(--ui-border)}.product-hero{display:grid;grid-template-columns:220px minmax(0,1fr);gap:22px;margin-bottom:14px;padding:18px;border:1px solid var(--ui-border);border-radius:var(--ui-radius-lg);background:var(--ui-surface)}.product-hero-media{position:relative;min-width:0}.product-hero-media>a,.product-hero-media>span{display:grid;width:100%;aspect-ratio:1/1;place-items:center;overflow:hidden;border:1px solid var(--ui-border);border-radius:12px;background:#14263a;color:#7891a9;font-size:54px;font-weight:900}.product-hero-media img{width:100%;height:100%;object-fit:cover}.product-hero-media>small{position:absolute;right:8px;bottom:8px;border-radius:999px;background:rgba(5,14,25,.82);color:#fff;padding:4px 8px;font-size:10px}.product-hero-main{min-width:0}.product-summary-title h1{margin:0 0 7px;color:var(--ui-text);font-size:28px}.summary-identity-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px 14px;margin:13px 0}.summary-identity-grid p{display:grid;grid-template-columns:72px minmax(0,1fr) auto;align-items:center;gap:5px;margin:0;padding:8px 10px;border:1px solid var(--ui-border);border-radius:8px;background:#091827}.summary-identity-grid p>span{color:var(--ui-muted);font-size:11px}.summary-identity-grid p>b{overflow-wrap:anywhere;color:#dce9f6;font-size:13px}.product-detail-page .summary-state,.product-detail-page .summary-evidence{color:var(--ui-muted)}.product-detail-page .summary-evidence{display:flex;gap:8px 18px}.product-detail-page .summary-price strong{color:#47dfa0}.next-action{border-color:#185898;background:linear-gradient(100deg,#0e3157,#0e2238);box-shadow:none}.next-action h2{color:#fff}.next-action p{color:#a9bfd5}.product-detail-page .product-gallery-section,.product-detail-page .product-video-section,.product-detail-page .panel{border-color:var(--ui-border);background:var(--ui-surface);color:var(--ui-text)}.product-detail-page .detail-section-nav{border:1px solid var(--ui-border);border-radius:10px;background:var(--ui-surface);overflow:hidden}.product-detail-page .detail-section-nav a{border-right:1px solid var(--ui-border);color:#b8cbdd;text-decoration:none}.product-detail-page .detail-section-nav a:last-child{border-right:0}.product-detail-page summary,.gallery-tools>summary,.photo-bulk-tools>summary{color:#b9cadb}.product-detail-page .product-photo-card,.product-detail-page .video-record-card{border-color:var(--ui-border);background:#091827}.product-detail-page .photo-meta,.product-detail-page .video-record-body{color:var(--ui-text)}.product-detail-page #direct-print-panel{background:#091827}.video-on-demand{width:100%;border-bottom:1px solid var(--ui-border);background:#071522}.video-on-demand>summary{display:flex;min-height:118px;align-items:center;justify-content:center;color:#78bfff!important;font-weight:800;list-style:none}.video-on-demand>summary::-webkit-details-marker{display:none}.video-on-demand[open]>summary{min-height:44px;border-bottom:1px solid var(--ui-border)}.video-on-demand video{display:block;width:100%;max-height:420px;background:#02060b}.video-on-demand p{padding:0 12px 10px}.product-detail-page .detail-list>div{border-color:var(--ui-border)}.product-detail-page .detail-list dt,.product-detail-page .detail-list span{color:var(--ui-muted)}
@media(max-width:900px){.product-hero{grid-template-columns:170px minmax(0,1fr)}.summary-identity-grid{grid-template-columns:1fr}.product-summary-title h1{font-size:24px}}
@media(max-width:620px){.product-hero{grid-template-columns:108px minmax(0,1fr);gap:12px;padding:12px}.product-hero-main{display:contents}.product-hero-media>small{right:4px;bottom:4px;padding:3px 6px}.product-hero-main .page-eyebrow{display:none}.product-summary-title{grid-column:2;display:block}.product-summary-title h1{font-size:19px;line-height:1.35}.product-summary-title .status{display:inline-flex;margin:0}.summary-identity-grid{grid-column:1/-1;display:block;margin:9px 0}.summary-identity-grid p{display:flex;min-height:34px;border:0;border-bottom:1px solid var(--ui-border);border-radius:0;background:transparent;padding:5px 0}.summary-identity-grid p>span{width:58px;flex:none}.summary-identity-grid p>b{flex:1}.product-detail-page .summary-state,.product-detail-page .summary-evidence,.product-detail-page .summary-price{grid-column:1/-1}.product-detail-page .summary-evidence{display:grid;gap:4px}.product-detail-page .summary-price{margin-bottom:0}.product-detail-page .summary-price strong{font-size:19px}.next-action{padding:13px}.product-detail-page .detail-section-nav{position:sticky;top:58px;z-index:12;background:rgba(13,27,44,.96);backdrop-filter:blur(12px)}}

/* Phase 5: orders and fulfillment */
.orders-heading h1,.order-detail-heading h1{margin:0;font-size:28px}.orders-heading p,.order-detail-heading p{margin:5px 0 0}.orders-page .order-search{border-color:var(--ui-border);background:var(--ui-surface)}.orders-page .order-advanced>summary,.order-attention>summary{color:#aebfd1}.order-status-tabs{display:flex;gap:5px;overflow-x:auto;margin:0 0 10px;padding-bottom:3px}.order-status-tabs a{display:flex;align-items:center;gap:6px;min-height:40px;border:1px solid var(--ui-border);border-radius:9px;background:var(--ui-surface);color:var(--ui-muted);white-space:nowrap}.order-status-tabs a small{display:grid;min-width:21px;height:21px;place-items:center;border-radius:999px;background:#20364c;color:#bcd0e2;font-size:10px}.order-status-tabs a.active{border-color:#197fe5;background:#0e4f91;color:#fff}.order-status-tabs a.active small{background:rgba(255,255,255,.16);color:#fff}.order-attention{margin-bottom:8px}.order-attention>summary{min-height:40px;cursor:pointer}.order-attention .v2-tabs{margin-top:4px}.orders-result-note{margin:9px 0;color:var(--ui-muted);font-size:12px}.due-orders{border-color:#7a541c!important;background:#211b10!important}.order-table-head,.order-row{display:grid;grid-template-columns:minmax(210px,1.6fr) minmax(150px,1.05fr) minmax(100px,.72fr) minmax(120px,.78fr) minmax(86px,.55fr) minmax(115px,.8fr) minmax(125px,.85fr) 52px;align-items:center;gap:11px}.order-table-head-stock,.order-row-stock{grid-template-columns:minmax(220px,1.7fr) minmax(155px,1.1fr) minmax(100px,.72fr) minmax(125px,.82fr) minmax(120px,.82fr) minmax(130px,.9fr) 52px}.order-table-head{min-height:42px;padding:0 12px;border:1px solid var(--ui-border);border-bottom:0;border-radius:11px 11px 0 0;background:#0a1727;color:var(--ui-muted);font-size:11px;font-weight:800}.order-list{gap:0}.order-row{min-width:0;padding:10px 12px;border:1px solid var(--ui-border);border-bottom:0;background:var(--ui-surface);color:var(--ui-text)!important;text-decoration:none}.order-row:last-child{border-bottom:1px solid var(--ui-border);border-radius:0 0 11px 11px}.order-row:hover{background:#11243a}.order-product-cell{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:9px;min-width:0}.order-product-cell .product-thumb{width:48px;height:48px;border-radius:8px}.order-product-cell b,.order-product-cell small,.order-cell b,.order-cell small,.order-cell span{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.order-product-cell b{font-size:13px}.order-product-cell small,.order-cell small{margin-top:4px;color:var(--ui-muted);font-size:10px}.order-cell{min-width:0;color:#c6d4e1;font-size:12px}.order-cell>b{color:var(--ui-text)}.order-amount b{color:#4be0a3;font-size:14px}.order-task{display:grid;gap:5px;justify-items:start}.order-task>b{font-size:11px}.order-view{color:#63b4ff;font-size:12px;white-space:nowrap}.order-detail-page .v2-summary-band{border:1px solid var(--ui-border);border-radius:12px;background:var(--ui-surface);overflow:hidden}.order-detail-page .v2-summary-band>div{border-color:var(--ui-border);background:transparent}.order-detail-page .v2-summary-band span{color:var(--ui-muted)}.order-detail-page .panel{border-color:var(--ui-border);background:var(--ui-surface);color:var(--ui-text)}.order-detail-page .order-secondary{padding-top:4px;padding-bottom:4px}.order-detail-page .order-secondary[open]{padding-bottom:16px}.order-detail-page .order-secondary>summary{min-height:44px;padding:11px 2px;cursor:pointer;color:#bdcedf;font-weight:800}.order-detail-page .v2-fulfillment-progress{border:1px solid var(--ui-border);border-radius:12px;background:var(--ui-surface)}.order-detail-page .v2-fulfillment-progress li{border-color:var(--ui-border)}.order-detail-page .v2-step-card.current{border-color:#218af2;background:#0d2743}.order-detail-page .v2-step-card.locked{opacity:.72}.order-detail-page .detail-list>div,.order-detail-page .timeline>div{border-color:var(--ui-border)}.order-detail-page .v2-photo-grid img{border:1px solid var(--ui-border);border-radius:8px}.order-detail-page .v2-state.state-pending_shipment{background:#5a3a0c;color:#ffc766}.order-detail-page .v2-state.state-after_sale{background:#5f2430;color:#ff8995}.order-detail-page .v2-state.state-completed{background:#0b4939;color:#4ee0a9}
@media(max-width:1180px){.order-table-head{display:none}.order-list{gap:10px}.order-row,.order-row-stock{grid-template-columns:72px minmax(0,1fr) auto;gap:5px 12px;border:1px solid var(--ui-border);border-radius:11px;padding:13px}.order-row:last-child{border-radius:11px}.order-product-cell{display:contents}.order-product-cell .product-thumb{grid-row:1/6;width:72px;height:72px}.order-product-cell>span{grid-column:2}.order-cell{grid-column:2}.order-cell[data-label="销售人员"],.order-cell[data-label="成交时间"]{display:none}.order-task{grid-column:3;grid-row:1/5;align-self:start}.order-cell[data-label="物流"]{display:block}.order-amount{grid-column:2}.order-view{grid-column:3;grid-row:5;align-self:end}.order-detail-page .v2-summary-band{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.orders-heading{align-items:center!important;flex-direction:row!important}.orders-heading .page-eyebrow,.orders-heading p{display:none}.orders-heading h1{font-size:23px}.orders-heading>.btn{width:auto!important}.order-status-tabs{margin-inline:-14px;padding-inline:14px}.order-attention .v2-tabs{overflow-x:auto;flex-wrap:nowrap}.order-row,.order-row-stock{grid-template-columns:58px minmax(0,1fr) auto;padding:11px;gap:4px 9px}.order-product-cell .product-thumb{width:58px;height:58px}.order-product-cell b{white-space:normal}.order-task{max-width:92px}.order-task .v2-state{font-size:10px}.order-view{font-size:11px}.order-detail-heading .page-eyebrow{display:none}.order-detail-heading{align-items:center!important;flex-direction:row!important}.order-detail-heading h1{font-size:21px}.order-detail-heading>.btn{width:auto!important}.order-detail-page .v2-summary-band{grid-template-columns:1fr 1fr}.order-detail-page .v2-summary-band>div{min-height:76px;padding:12px}.order-detail-page .v2-fulfillment-progress{position:sticky;top:58px;z-index:12;background:rgba(13,27,44,.97);backdrop-filter:blur(12px)}}
