:root {
  --ink: #17202e;
  --muted: #768094;
  --line: #e7e9ee;
  --canvas: #f4f6f8;
  --panel: #ffffff;
  --nav: #161b27;
  --blue: #2969d9;
  --blue-soft: #edf4ff;
  --teal: #16867b;
  --green: #2d936c;
  --amber: #d18a23;
  --red: #d75252;
  --purple: #7656b5;
  --radius: 8px;
  --shadow: 0 8px 24px rgba(18, 30, 50, 0.05);
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--canvas); color: var(--ink); font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; font-size: 14px; letter-spacing: 0; }
button, input, select { font: inherit; letter-spacing: 0; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid rgba(41, 105, 217, .18); outline-offset: 1px; }
.hidden { display: none !important; }

.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 20; width: 216px; display: flex; flex-direction: column; background: var(--nav); color: #fff; }
.brand { height: 72px; display: flex; align-items: center; gap: 11px; padding: 0 20px; border-bottom: 1px solid rgba(255,255,255,.08); }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 7px; color: #132036; background: #fff; font-weight: 800; font-size: 16px; }
.brand-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.brand-copy strong { font-size: 15px; }
.brand-copy small { color: #8f98aa; font-size: 11px; }
.main-nav { padding: 18px 12px; display: grid; gap: 4px; }
.nav-item { width: 100%; height: 44px; padding: 0 13px; display: flex; align-items: center; gap: 12px; border: 0; border-radius: 6px; color: #aeb6c5; background: transparent; text-align: left; }
.nav-item svg { width: 18px; height: 18px; }
.nav-item:hover { background: rgba(255,255,255,.05); color: #fff; }
.nav-item.active { color: #fff; background: #2d6cd3; box-shadow: inset 3px 0 #8cb8ff; }
.sidebar-footer { margin-top: auto; padding: 12px; border-top: 1px solid rgba(255,255,255,.08); }
.privacy-note { margin: 0 10px 10px; display: flex; align-items: center; gap: 8px; color: #778195; font-size: 12px; }
.privacy-note svg { width: 15px; }

.app-shell { margin-left: 216px; min-height: 100vh; }
.topbar { position: sticky; top: 0; z-index: 15; height: 72px; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.store-switcher { display: flex; align-items: center; gap: 10px; }
.store-logo { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 6px; background: #ecf3ff; color: var(--blue); font-weight: 800; }
.store-switcher > span:nth-child(2) { display: flex; flex-direction: column; gap: 1px; }
.store-switcher small { color: var(--muted); font-size: 11px; }
.store-switcher strong { font-size: 14px; }
.store-switcher > svg { width: 15px; color: #8d96a5; }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.sync-state { margin-right: 4px; display: inline-flex; align-items: center; gap: 7px; color: #7b8493; font-size: 12px; }
.sync-state > span { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 3px #fff2d9; }
.sync-state.live > span { background: var(--green); box-shadow: 0 0 0 3px #e5f7ef; }
.primary-btn, .secondary-btn, .danger-btn, .text-btn, .icon-btn { border-radius: 6px; border: 1px solid transparent; display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.primary-btn, .secondary-btn { height: 38px; padding: 0 14px; font-weight: 650; }
.primary-btn { color: white; background: var(--blue); border-color: var(--blue); }
.primary-btn:hover { background: #1f58ba; }
.primary-btn:disabled { opacity: .48; cursor: not-allowed; }
.secondary-btn { color: #344057; background: #fff; border-color: #dfe2e8; }
.secondary-btn:hover { background: #f7f8fa; }
.primary-btn svg, .secondary-btn svg { width: 16px; height: 16px; }
.icon-btn { width: 38px; height: 38px; padding: 0; color: #667085; background: #fff; border-color: #dfe2e8; }
.icon-btn:hover { color: var(--blue); background: #f6f9ff; }
.icon-btn svg { width: 17px; height: 17px; }
.mobile-menu { display: none; }

main { max-width: 1680px; margin: 0 auto; padding: 30px 32px 52px; }
.page-heading { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 22px; }
.eyebrow { margin: 0 0 8px; color: var(--blue); font-size: 12px; font-weight: 700; }
h1 { margin: 0; font-size: 26px; line-height: 1.3; }
.subtitle { margin: 7px 0 0; color: var(--muted); }
.updated-time { padding-top: 24px; display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; }
.updated-time svg { width: 14px; }

.filter-bar { min-height: 60px; margin-bottom: 16px; padding: 10px 12px; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 2px 8px rgba(18,30,50,.025); }
.segment-control { display: flex; padding: 3px; background: #f1f3f6; border-radius: 6px; }
.segment-control button { height: 32px; min-width: 62px; padding: 0 12px; border: 0; border-radius: 5px; color: #6f7888; background: transparent; }
.segment-control button.active { color: var(--blue); background: #fff; font-weight: 700; box-shadow: 0 1px 4px rgba(30,40,60,.1); }
.date-range { height: 38px; padding: 0 10px; display: flex; align-items: center; gap: 7px; border: 1px solid #dfe2e8; border-radius: 6px; color: #8a93a2; }
.date-range svg { width: 16px; }
.date-range input { width: 123px; padding: 0; border: 0; color: #3d4758; background: transparent; outline: 0; }
select { height: 38px; min-width: 128px; padding: 0 30px 0 11px; border: 1px solid #dfe2e8; border-radius: 6px; color: #3d4758; background: #fff; }
#refreshBtn { margin-left: auto; }

.metric-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.dropship-section { margin-bottom: 16px; }
.dropship-heading { margin-top: 2px; }
.dropship-chip { color: #23756c; background: #eef9f6; border-color: #d2eee7; }
.dropship-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; }
.dropship-stat { min-height: 104px; padding: 16px; display: flex; align-items: center; gap: 13px; position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.dropship-stat::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--dropship-color); }
.dropship-stat-icon { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 6px; color: var(--dropship-color); background: color-mix(in srgb, var(--dropship-color) 9%, white); }
.dropship-stat-icon svg { width: 19px; height: 19px; }
.dropship-stat > div { min-width: 0; display: grid; grid-template-columns: 1fr auto; align-items: baseline; column-gap: 8px; }
.dropship-stat span:not(.dropship-stat-icon) { color: #687285; }
.dropship-stat strong { font-size: 24px; font-variant-numeric: tabular-nums; }
.dropship-stat small { grid-column: 1 / -1; margin-top: 5px; overflow: hidden; color: #969eaa; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.dropship-count { min-width: auto; color: #2869c7; background: #edf4ff; white-space: nowrap; }
.dropship-table { min-width: 1040px; }
.order-id { color: #315f9f; font-size: 11px; }
.dropship-product { display: block; max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.order-status { display: inline-block; padding: 3px 6px; border-radius: 4px; color: #526175; background: #f0f3f6; white-space: nowrap; }
.label-group { display: flex; flex-wrap: wrap; gap: 4px; min-width: 128px; }
.label-chip { padding: 2px 5px; border-radius: 3px; color: #6a7280; background: #f0f2f5; white-space: nowrap; font-size: 10px; }
.label-chip.primary { color: #256a9a; background: #eaf5fc; }
.label-chip.danger { color: #b54b43; background: #fff0ef; }
.metric-card { min-height: 126px; padding: 18px; position: relative; overflow: hidden; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.metric-card::before { content: ""; position: absolute; inset: 0 auto auto 0; width: 100%; height: 3px; background: var(--metric-color); }
.metric-top { display: flex; align-items: center; justify-content: space-between; color: #687285; }
.metric-icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 6px; color: var(--metric-color); background: color-mix(in srgb, var(--metric-color) 9%, white); }
.metric-icon svg { width: 16px; height: 16px; }
.metric-value { margin-top: 13px; display: block; font-size: 26px; line-height: 1; font-variant-numeric: tabular-nums; }
.metric-bottom { margin-top: 10px; display: flex; align-items: center; gap: 7px; color: #9299a6; font-size: 11px; }
.change { display: inline-flex; align-items: center; gap: 2px; padding: 2px 5px; border-radius: 4px; }
.change.up { color: #16865f; background: #e9f7f1; }
.change.down { color: #c94d4d; background: #fff0f0; }
.change.neutral { color: #727b89; background: #f1f3f5; }

.analytics-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(330px, .8fr); gap: 16px; margin-bottom: 16px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.panel-head { min-height: 67px; padding: 17px 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #edf0f3; }
.panel-head h2 { margin: 0; font-size: 16px; }
.panel-head p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.legend { display: flex; align-items: center; gap: 7px; color: #7b8491; font-size: 11px; }
.legend-dot { width: 8px; height: 8px; margin-left: 8px; border-radius: 50%; }
.legend-dot.sales { background: var(--blue); }
.legend-dot.orders { background: #8fa1bc; }
.chart-wrap { height: 270px; padding: 16px 20px 12px; }
.trend-svg { width: 100%; height: 100%; overflow: visible; }
.grid-line { stroke: #edf0f4; stroke-width: 1; }
.axis-label { fill: #929aa8; font-size: 10px; }
.sales-area { fill: url(#salesGradient); }
.sales-line { fill: none; stroke: var(--blue); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.order-line { fill: none; stroke: #8fa1bc; stroke-width: 1.8; stroke-dasharray: 5 5; stroke-linejoin: round; }
.chart-point { fill: #fff; stroke: var(--blue); stroke-width: 2; }
.chart-hit { fill: transparent; cursor: crosshair; }
.chart-tooltip { position: fixed; z-index: 50; padding: 8px 10px; pointer-events: none; color: #fff; background: #182030; border-radius: 5px; font-size: 11px; line-height: 1.7; box-shadow: 0 6px 18px rgba(16,24,40,.2); }

.donut-layout { min-height: 270px; padding: 20px; display: flex; align-items: center; gap: 23px; }
.donut { width: 148px; height: 148px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(#dfe5ed 0 100%); }
.donut > div { width: 94px; height: 94px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%; background: white; text-align: center; }
.donut strong { max-width: 82px; overflow: hidden; text-overflow: ellipsis; font-size: 16px; }
.donut span { margin-top: 4px; color: var(--muted); font-size: 10px; }
.channel-list { flex: 1; min-width: 0; display: grid; gap: 13px; }
.channel-item { min-width: 0; }
.channel-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; }
.channel-name { display: flex; align-items: center; min-width: 0; gap: 7px; color: #566071; }
.channel-name span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.channel-color { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 2px; }
.channel-value { font-variant-numeric: tabular-nums; font-weight: 700; }
.channel-bar { height: 4px; margin-top: 6px; overflow: hidden; border-radius: 2px; background: #f0f2f5; }
.channel-bar span { display: block; height: 100%; border-radius: 2px; }

.content-grid { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(290px, .75fr); gap: 16px; }
.procurement-section { margin-bottom: 16px; }
.section-heading { min-height: 68px; margin: 0 0 12px; display: flex; align-items: flex-end; justify-content: space-between; }
.section-heading h2 { margin: 0; font-size: 20px; }
.section-heading p:not(.eyebrow) { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.source-chip { margin-bottom: 4px; padding: 7px 9px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid #dce8f8; border-radius: 5px; color: #4970a6; background: #f4f8ff; font-size: 11px; }
.source-chip svg { width: 14px; }
.procurement-metrics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.procurement-metric { min-height: 112px; }
.procurement-metric .metric-value { font-size: 22px; }
.procurement-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, .8fr); gap: 16px; margin-bottom: 16px; }
.cost-line { fill: none; stroke: var(--amber); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.procurement-sales-line { fill: none; stroke: var(--blue); stroke-width: 2; stroke-dasharray: 5 5; stroke-linejoin: round; }
.supplier-list { padding: 8px 18px 12px; }
.supplier-item { padding: 11px 0; border-bottom: 1px solid #eff1f4; }
.supplier-item:last-child { border-bottom: 0; }
.supplier-top { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 7px; }
.supplier-rank { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 4px; color: #697386; background: #f0f2f5; font-size: 11px; font-weight: 700; }
.supplier-top strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.supplier-top b { font-size: 12px; }
.supplier-meta { margin: 5px 0 6px 29px; color: var(--muted); font-size: 11px; }
.supplier-bar { height: 4px; margin-left: 29px; overflow: hidden; border-radius: 3px; background: #f0f2f5; }
.supplier-bar span { display: block; height: 100%; border-radius: 3px; background: var(--amber); }
.procurement-table-panel .panel-head { border-bottom: 1px solid #edf0f3; }
.margin-label { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; }
.table-tools { display: flex; gap: 8px; }
.search-box { width: 220px; height: 36px; padding: 0 10px; display: flex; align-items: center; gap: 7px; border: 1px solid #dfe2e8; border-radius: 6px; }
.search-box:focus-within { border-color: #82a9e9; box-shadow: 0 0 0 3px rgba(41,105,217,.1); }
.search-box svg { width: 15px; color: #929aa6; }
.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 790px; }
th, td { padding: 13px 12px; text-align: left; border-bottom: 1px solid #eff1f4; font-size: 12px; }
th { color: #7e8796; background: #fbfcfd; font-weight: 600; white-space: nowrap; }
th:first-child, td:first-child { padding-left: 20px; }
th:last-child, td:last-child { padding-right: 20px; }
tbody tr:hover { background: #fafcff; }
.sortable { cursor: pointer; }
.sortable.active { color: var(--blue); }
.rank { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; color: #697386; background: #f0f2f5; font-weight: 700; }
.rank.top { color: #fff; background: var(--blue); }
.product-cell { display: flex; align-items: center; gap: 9px; min-width: 220px; }
.product-thumb { width: 36px; height: 36px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 6px; color: #fff; font-size: 11px; font-weight: 800; }
.product-info { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.product-info strong { max-width: 230px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.product-info span { max-width: 230px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #8b93a1; font-size: 11px; }
.platform-tag, .stock-tag { display: inline-block; padding: 3px 6px; border-radius: 4px; background: #edf4ff; color: #4272b8; white-space: nowrap; }
.stock-tag.urgent { color: #bd4040; background: #fff0f0; }
.stock-tag.watch { color: #a36a17; background: #fff7e7; }
.stock-tag.healthy { color: #247b5d; background: #eaf7f2; }
.number-cell { font-variant-numeric: tabular-nums; }
.empty-state { min-height: 260px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #98a0ad; }
.empty-state svg { width: 30px; margin-bottom: 8px; }

.count-badge { min-width: 27px; height: 27px; padding: 0 7px; display: grid; place-items: center; border-radius: 6px; color: #bc4747; background: #fff0f0; font-weight: 700; }
.alert-summary { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid #edf0f3; }
.alert-summary > div { padding: 14px 4px; display: flex; flex-direction: column; align-items: center; border-right: 1px solid #edf0f3; }
.alert-summary > div:last-child { border-right: 0; }
.alert-summary strong { font-size: 18px; }
.alert-summary span { margin-top: 4px; color: var(--muted); font-size: 10px; }
.inventory-list { max-height: 430px; overflow: auto; }
.inventory-item { padding: 14px 18px; display: grid; grid-template-columns: 1fr auto; gap: 7px 12px; border-bottom: 1px solid #eff1f4; }
.inventory-item:last-child { border-bottom: 0; }
.inventory-item strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.inventory-item > span { color: #8a93a1; font-size: 11px; }
.inventory-item .stock-days { grid-row: 1 / span 2; grid-column: 2; align-self: center; text-align: right; }
.stock-days b { display: block; color: var(--red); font-size: 15px; }
.stock-days span { color: #929aa7; font-size: 10px; }
.inventory-empty { padding: 36px 20px; color: var(--muted); text-align: center; }
.local-footnote { margin: 18px 2px 0; display: flex; align-items: center; justify-content: center; gap: 6px; color: #969da8; font-size: 11px; }
.local-footnote svg { width: 14px; }

.modal { width: min(640px, calc(100vw - 28px)); padding: 0; border: 0; border-radius: 8px; color: var(--ink); background: transparent; }
.modal::backdrop { background: rgba(15, 22, 34, .58); backdrop-filter: blur(2px); }
.modal-card { background: #fff; border-radius: 8px; box-shadow: 0 24px 60px rgba(11,19,32,.24); overflow: hidden; }
.modal-head { padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.modal-head > div { display: flex; align-items: center; gap: 11px; }
.modal-head h2 { margin: 0; font-size: 17px; }
.modal-head p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.modal-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 6px; color: var(--blue); background: var(--blue-soft); }
.modal-icon svg { width: 19px; }
.modal-head .icon-btn { border: 0; }
.drop-zone { margin: 20px 20px 12px; min-height: 154px; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px dashed #aab5c5; border-radius: 7px; background: #fafbfd; color: var(--muted); }
.drop-zone.dragging { border-color: var(--blue); background: #f3f7ff; }
.drop-zone input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.drop-zone svg { width: 27px; height: 27px; margin-bottom: 9px; color: var(--blue); }
.drop-zone strong { color: #3e4859; }
.drop-zone span { margin-top: 6px; font-size: 11px; }
.file-list { margin: 0 20px; display: grid; gap: 7px; }
.file-item { padding: 9px 11px; display: flex; align-items: center; gap: 8px; border: 1px solid #e2e5e9; border-radius: 6px; }
.file-item svg { width: 16px; color: var(--green); }
.file-item span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.file-item small { color: var(--muted); }
.mapping-help { margin: 12px 20px 20px; padding: 13px 14px; border-radius: 6px; color: #687386; background: #f4f7fa; }
.help-head { display: flex; align-items: center; gap: 7px; color: #405066; }
.help-head svg { width: 16px; }
.mapping-help p { margin: 7px 0 0; font-size: 11px; line-height: 1.6; }
.import-feedback { margin: -8px 20px 18px; padding: 10px 12px; border-radius: 5px; color: #257157; background: #eaf7f2; font-size: 12px; }
.import-feedback.error { color: #b64343; background: #fff0f0; }
.modal-actions { min-height: 68px; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); background: #fafbfc; }
.modal-actions > div { display: flex; gap: 8px; }
.text-btn { height: 36px; padding: 0; color: var(--blue); background: transparent; }
.text-btn svg { width: 15px; }
.small-modal { width: min(500px, calc(100vw - 28px)); }
.settings-info { margin: 18px 20px 0; padding-bottom: 15px; display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); }
.settings-info span { color: var(--muted); }
.danger-zone { margin: 18px 20px 20px; padding: 13px; display: flex; align-items: center; justify-content: space-between; border: 1px solid #f0cccc; border-radius: 6px; background: #fffafa; }
.danger-zone strong { font-size: 13px; }
.danger-zone p { margin: 4px 0 0; color: #8b6f6f; font-size: 11px; }
.danger-btn { height: 34px; padding: 0 12px; color: #bd4444; background: #fff; border-color: #ebbbbb; }
.toast { position: fixed; z-index: 100; left: 50%; bottom: 24px; max-width: min(420px, calc(100vw - 32px)); padding: 10px 14px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; color: #fff; background: #192231; border-radius: 6px; box-shadow: 0 10px 30px rgba(11,19,32,.25); transition: .2s ease; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* Product opportunity workspace */
.opportunity-section { position: relative; }
.opportunity-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.opportunity-heading h1 { letter-spacing: -.02em; }
.opportunity-actions { display: flex; align-items: center; gap: 8px; padding-top: 18px; }
.opportunity-actions .primary-btn, .opportunity-actions .secondary-btn { white-space: nowrap; }
.demo-label { display: inline-flex; align-items: center; gap: 6px; margin-right: 5px; color: #6e7788; font-size: 12px; }
.demo-label svg { width: 15px; color: var(--purple); }
.opportunity-tabs { display: flex; align-items: flex-end; gap: 22px; min-height: 52px; margin-bottom: 16px; border-bottom: 1px solid #dfe3ea; }
.opportunity-tabs button { height: 45px; padding: 0 3px; position: relative; border: 0; color: #768094; background: transparent; font-weight: 650; }
.opportunity-tabs button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; transform: scaleX(0); background: var(--blue); transition: transform .18s ease; }
.opportunity-tabs button.active { color: var(--blue); }
.opportunity-tabs button.active::after { transform: scaleX(1); }
.opportunity-tabs b { display: inline-flex; min-width: 24px; height: 20px; margin-left: 5px; padding: 0 5px; align-items: center; justify-content: center; border-radius: 4px; color: #7f899b; background: #f0f2f6; font-size: 10px; }
.opportunity-tabs button.active b { color: var(--blue); background: var(--blue-soft); }
.opportunity-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.opportunity-stat { min-height: 88px; padding: 16px 18px; display: flex; align-items: center; gap: 12px; position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.opportunity-stat::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--stat-color); }
.opportunity-stat.blue { --stat-color: var(--blue); }.opportunity-stat.purple { --stat-color: var(--purple); }.opportunity-stat.amber { --stat-color: var(--amber); }.opportunity-stat.green { --stat-color: var(--green); }
.opportunity-stat-icon { width: 36px; height: 36px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 7px; color: var(--stat-color); background: color-mix(in srgb, var(--stat-color) 10%, white); }
.opportunity-stat-icon svg { width: 18px; }
.opportunity-stat > div { display: grid; gap: 3px; }.opportunity-stat > div > span { color: var(--muted); font-size: 12px; }.opportunity-stat strong { font-size: 24px; line-height: 1; }
.opportunity-categories { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.category-chip { height: 31px; padding: 0 10px; display: inline-flex; gap: 6px; align-items: center; border: 1px solid #dfe3e9; border-radius: 5px; color: #657084; background: #fff; font-size: 12px; }
.category-chip:hover, .category-chip.active { color: var(--blue); border-color: #a7c2f3; background: var(--blue-soft); }
.category-chip span { padding: 1px 4px; border-radius: 3px; color: #8a94a3; background: #f2f4f7; font-size: 10px; }.category-chip.active span { color: var(--blue); background: #fff; }
.opportunity-toolbar { min-height: 56px; padding: 9px 12px; display: flex; align-items: center; gap: 9px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius) var(--radius) 0 0; }
.opportunity-toolbar .search-box { width: 300px; }.opportunity-toolbar select { height: 36px; min-width: 154px; }.opportunity-result { margin-left: auto; color: var(--muted); font-size: 12px; }
.opportunity-table-panel { overflow: hidden; border-radius: 0 0 var(--radius) var(--radius); }.opportunity-table { min-width: 1180px; table-layout: auto; }
.opportunity-table th, .opportunity-table td { padding: 11px 10px; vertical-align: middle; }.opportunity-table th:first-child, .opportunity-table td:first-child { padding-left: 18px; }.opportunity-table th:last-child, .opportunity-table td:last-child { padding-right: 18px; }
.opportunity-table tbody tr.selected { background: #f7faff; }.opportunity-table tbody tr:hover { background: #fafcff; }
.opportunity-id { color: #37659e; font-size: 11px; font-variant-numeric: tabular-nums; }.opportunity-name { max-width: 245px; padding: 0; overflow: hidden; display: block; border: 0; color: #25334a; background: transparent; text-align: left; text-overflow: ellipsis; white-space: nowrap; font-weight: 650; }.opportunity-name:hover { color: var(--blue); }
.opportunity-collected { display: block; margin-top: 4px; color: #9aa2af; font-size: 10px; }.category-tag { display: inline-flex; max-width: 115px; padding: 3px 7px; overflow: hidden; border: 1px solid #d9e5f8; border-radius: 4px; color: #4770a8; background: #f3f7fd; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.numeric { font-variant-numeric: tabular-nums; }.priority-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; }.priority-tag i { width: 7px; height: 7px; border-radius: 50%; background: #9ba4b2; }.priority-tag.高 i { background: var(--red); box-shadow: 0 0 0 3px #fff0f0; }.priority-tag.中 i { background: var(--amber); box-shadow: 0 0 0 3px #fff5e5; }.priority-tag.低 i { background: #7d8ca1; box-shadow: 0 0 0 3px #f0f3f6; }
.opportunity-status { display: inline-flex; padding: 4px 7px; border-radius: 4px; white-space: nowrap; font-size: 10px; }.opportunity-status.pending { color: #a36a17; background: #fff7e7; }.opportunity-status.analyzing { color: #5364a6; background: #f0f2ff; }.opportunity-status.project { color: #247b5d; background: #eaf7f2; }
.analysis-link { display: inline-flex; align-items: center; gap: 4px; padding: 0; border: 0; color: #5b65b4; background: transparent; white-space: nowrap; font-size: 11px; }.analysis-link:hover { color: var(--blue); }.analysis-link svg { width: 14px; }.row-actions { display: flex; gap: 4px; }.row-actions button { width: 27px; height: 27px; display: grid; place-items: center; border: 0; border-radius: 4px; color: #8d97a6; background: transparent; }.row-actions button:hover { color: var(--blue); background: var(--blue-soft); }.row-actions button:last-child:hover { color: var(--red); background: #fff0f0; }.row-actions svg { width: 14px; }
.table-note { min-height: 42px; padding: 0 18px; display: flex; align-items: center; gap: 7px; border-top: 1px solid #eff1f4; color: #8a93a1; font-size: 11px; }.table-note svg { width: 14px; color: #9aa5b6; }
.opportunity-backdrop { position: fixed; inset: 0; z-index: 40; background: rgba(20, 28, 41, .3); backdrop-filter: blur(2px); }.opportunity-drawer { width: min(620px, calc(100vw - 16px)); position: fixed; inset: 0 0 0 auto; z-index: 41; display: flex; flex-direction: column; transform: translateX(102%); background: #fff; box-shadow: -18px 0 50px rgba(12,20,34,.18); transition: transform .24s ease; }.opportunity-drawer.open { transform: translateX(0); }#opportunityDetail { height: 100%; min-height: 0; display: flex; flex-direction: column; }.drawer-header { padding: 25px 28px 20px; border-bottom: 1px solid var(--line); }.drawer-header > div { position: relative; }.drawer-header h2 { max-width: 485px; margin: 8px 34px 10px 0; font-size: 22px; line-height: 1.35; }.drawer-kicker, .analysis-kicker { color: var(--blue); font-size: 11px; font-weight: 700; }.drawer-close { position: absolute; top: -5px; right: 0; }.drawer-tags { display: flex; gap: 7px; align-items: center; }.drawer-scroll { min-height: 0; flex: 1; padding: 20px 28px 30px; overflow: auto; }.detail-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 18px; }.detail-metrics > div { padding: 12px; border: 1px solid #e6e9ee; border-radius: 6px; background: #fafbfd; }.detail-metrics span, .detail-info-grid small { display: block; color: var(--muted); font-size: 11px; }.detail-metrics strong { display: block; margin-top: 7px; font-size: 18px; }.detail-info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding-bottom: 17px; border-bottom: 1px solid #edf0f3; }.detail-info-grid strong { display: block; margin-top: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }.source-row { min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid #edf0f3; color: #596579; font-size: 12px; }.source-row a { display: inline-flex; align-items: center; gap: 5px; color: var(--blue); }.source-row a svg { width: 13px; }.detail-muted { color: #9ba3af; font-size: 11px; }
.analysis-title { padding: 23px 0 14px; display: flex; align-items: flex-end; justify-content: space-between; }.analysis-title h3 { margin: 4px 0 0; font-size: 18px; }.analysis-mode { padding: 4px 7px; border-radius: 4px; color: #6b7280; background: #f0f2f5; font-size: 10px; }.analysis-disclaimer { margin-bottom: 14px; padding: 10px 11px; display: flex; align-items: flex-start; gap: 7px; border: 1px solid #f1dfbb; border-radius: 6px; color: #8e6b2a; background: #fffbf1; font-size: 11px; line-height: 1.6; }.analysis-disclaimer svg { width: 15px; flex: 0 0 auto; margin-top: 1px; }.analysis-block { padding: 15px 0; border-top: 1px solid #edf0f3; }.analysis-block h4 { margin: 0 0 8px; display: flex; align-items: center; gap: 8px; font-size: 13px; }.analysis-block h4 span { color: var(--blue); font-size: 11px; font-variant-numeric: tabular-nums; }.analysis-block p, .analysis-block li { margin: 0; color: #697486; font-size: 12px; line-height: 1.7; }.analysis-block ul { margin: 0; padding-left: 18px; }.analysis-placeholder { padding: 35px 20px 45px; display: flex; flex-direction: column; align-items: center; text-align: center; }.analysis-orb { width: 54px; height: 54px; margin-bottom: 13px; display: grid; place-items: center; border-radius: 50%; color: var(--purple); background: #f0edff; }.analysis-orb svg { width: 23px; }.analysis-placeholder strong { font-size: 16px; }.analysis-placeholder p { max-width: 310px; margin: 8px 0 18px; color: var(--muted); font-size: 12px; line-height: 1.6; }.drawer-footer { min-height: 70px; padding: 14px 28px; display: flex; justify-content: flex-end; gap: 8px; border-top: 1px solid var(--line); background: #fbfcfd; }
.opportunity-form-grid { padding: 20px 20px 2px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; }.opportunity-form-grid label { display: grid; gap: 6px; color: #5e687a; font-size: 11px; }.opportunity-form-grid input { height: 37px; padding: 0 10px; border: 1px solid #dfe3e9; border-radius: 5px; color: var(--ink); outline: 0; }.opportunity-form-grid input:focus { border-color: #82a9e9; box-shadow: 0 0 0 3px rgba(41,105,217,.1); }.opportunity-form-grid .form-span { grid-column: 1 / -1; }.form-hint { color: #929aa7; font-size: 11px; }.collector-content { padding: 20px; color: #687386; font-size: 12px; line-height: 1.7; }.collector-content p { margin: 0; }.collector-content ul { margin: 12px 0 0; padding-left: 18px; }.collector-content li { margin: 5px 0; }

@media (max-width: 900px) {
  .opportunity-heading { display: block; }.opportunity-actions { padding-top: 16px; flex-wrap: wrap; }.opportunity-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }.opportunity-toolbar { flex-wrap: wrap; }.opportunity-toolbar .search-box { width: min(100%, 360px); }.opportunity-result { margin-left: 0; }
}
@media (max-width: 560px) {
  .opportunity-tabs { gap: 14px; overflow-x: auto; }.opportunity-tabs button { flex: 0 0 auto; }.opportunity-summary { grid-template-columns: 1fr; }.opportunity-toolbar select { flex: 1; min-width: 0; }.opportunity-form-grid { grid-template-columns: 1fr; }.opportunity-form-grid .form-span { grid-column: auto; }.detail-info-grid { grid-template-columns: repeat(2, 1fr); }.drawer-header, .drawer-scroll, .drawer-footer { padding-left: 18px; padding-right: 18px; }.drawer-footer { justify-content: stretch; }.drawer-footer button { flex: 1; }.demo-label { width: 100%; }
}

@media (max-width: 1250px) {
  .metric-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dropship-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .procurement-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .analytics-grid, .content-grid, .procurement-grid { grid-template-columns: 1fr; }
  .donut-layout { justify-content: center; }
}

@media (max-width: 860px) {
  .sidebar { transform: translateX(-100%); transition: transform .2s ease; box-shadow: 12px 0 30px rgba(13,20,31,.18); }
  .sidebar.open { transform: translateX(0); }
  .app-shell { margin-left: 0; }
  .mobile-menu { display: inline-flex; }
  .store-switcher { display: none; }
  .topbar { height: 64px; padding: 0 18px; }
  main { padding: 24px 18px 40px; }
  .filter-bar { flex-wrap: wrap; }
  #refreshBtn { margin-left: 0; }
  .date-range { order: 2; width: 100%; }
  .date-range input { flex: 1; min-width: 0; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .procurement-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .topbar-actions { position: fixed; top: 13px; right: 18px; z-index: 2; }
  .topbar-actions .secondary-btn, .sync-state { display: none; }
  .topbar-actions .primary-btn { width: 38px; padding: 0; }
  .topbar-actions .primary-btn span { display: none; }
  .primary-btn, .secondary-btn { padding: 0 10px; }
  .page-heading { display: block; }
  .updated-time { padding-top: 10px; }
  .segment-control { width: 100%; overflow-x: auto; }
  .segment-control button { min-width: 25%; padding: 0 6px; }
  #platformFilter { flex: 1; }
  .metric-grid { grid-template-columns: 1fr; }
  .dropship-metrics { grid-template-columns: 1fr; }
  .procurement-metrics { grid-template-columns: 1fr; }
  .metric-card { min-height: 112px; }
  .analytics-grid { gap: 12px; }
  .chart-wrap { height: 235px; padding-left: 8px; }
  .donut-layout { align-items: flex-start; gap: 16px; }
  .donut { width: 112px; height: 112px; }
  .donut > div { width: 72px; height: 72px; }
  .donut strong { max-width: 65px; font-size: 12px; }
  .panel-head { padding: 15px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .table-head { align-items: flex-start; flex-direction: column; gap: 12px; }
  .search-box { width: 100%; }
  .table-tools { width: 100%; }
  .modal-actions { align-items: stretch; flex-direction: column-reverse; gap: 10px; }
  .modal-actions > div { display: grid; grid-template-columns: 1fr 1fr; }
  .modal-actions .text-btn { align-self: flex-start; }
}
/* Product development navigation and views */
.main-nav{overflow-y:auto;display:block;padding:12px 0;flex:1;min-height:0}.main-nav>.nav-item{border-radius:0;padding-left:24px;height:42px}.product-nav-group summary{height:43px;padding:0 23px;display:flex;align-items:center;gap:12px;cursor:pointer;color:#c5d6ed;background:#1c293d;font-size:13px;list-style:none}.product-nav-group summary::-webkit-details-marker{display:none}.product-nav-group summary svg{width:17px;height:17px}.product-nav-group summary svg:last-child{margin-left:auto;width:13px;transition:transform .2s}.product-nav-group[open] summary svg:last-child{transform:rotate(180deg)}.product-nav-child{width:100%;height:40px;padding:0 0 0 54px;text-align:left;border:0;color:#aebcd1;background:transparent;font-size:12px}.product-nav-child:hover{background:#23334b;color:white}.product-nav-child.active,.main-nav .nav-item.active{background:#263c60;color:#cde2ff;box-shadow:inset 3px 0 #74a7ef}.sidebar-footer{padding:13px 10px}.sidebar-footer .privacy-note{margin:0 10px;font-size:10px}.dev-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:24px}.dev-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:22px}.dev-metrics article{padding:22px;border-top:3px solid #3b73cc}.dev-metrics article:nth-child(2){border-top-color:#8171c7}.dev-metrics article:nth-child(3){border-top-color:#d29439}.dev-metrics article:nth-child(4){border-top-color:#419e87}.dev-metrics span{color:var(--muted);font-size:12px}.dev-metrics strong{display:block;font-size:30px;margin-top:10px}.dev-flow{padding:22px;margin-bottom:22px}.dev-flow h2{font-size:16px;margin:0 0 20px}.dev-flow>div{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.dev-flow button{text-align:left;border:1px solid #e1e8f2;border-radius:7px;padding:18px 13px;background:#f9fbfe}.dev-flow button:hover{border-color:#83a9e3;background:#eff5ff}.dev-flow small{color:#4977b6}.dev-flow strong{display:block;margin:10px 0;font-size:14px}.dev-flow span{display:block;color:var(--muted);font-size:11px;line-height:1.6}.dev-home-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.dev-empty{padding:45px 18px;text-align:center;color:#8793a5}.dev-empty svg{width:30px;height:30px}.dev-empty h3{font-size:14px;color:#6b788b}.dev-empty p{font-size:12px}.dev-stage-row{display:flex;align-items:center;gap:15px;padding:15px 22px;font-size:12px}.dev-stage-row>span{width:65px;color:#6b788b}.dev-stage-row>div{height:7px;background:#f0f3f8;flex:1;border-radius:6px;overflow:hidden}.dev-stage-row i{display:block;height:100%;background:#5784ca}.dev-recent{padding:18px 22px;border-top:1px solid #edf0f5;display:flex;justify-content:space-between;gap:12px}.dev-recent strong{font-size:12px}.dev-kanban{display:grid;grid-template-columns:repeat(5,minmax(180px,1fr));gap:14px;overflow-x:auto;padding-bottom:20px}.dev-kanban>article{background:#edf1f6;border-radius:8px;padding:12px;min-height:430px}.dev-kanban h3{font-size:13px;display:flex;justify-content:space-between;margin:4px 0 18px;color:#5e6b80}.dev-kanban h3 b{padding:2px 6px;background:white;border-radius:4px}.dev-project-card{width:100%;background:#fff;border:1px solid #e0e5ec;border-radius:6px;text-align:left;padding:14px;margin-bottom:12px}.dev-project-card small{color:#8d98a8;font-size:9px}.dev-project-card h4{font-size:13px;margin:10px 0}.dev-project-card p{font-size:11px;color:#8a94a4;line-height:1.6}.dev-project-card>span{color:#4c75ac;font-size:11px}.dev-add-stage{width:100%;border:1px dashed #c6d0df;border-radius:5px;padding:10px;color:#8390a3;background:transparent;font-size:12px}.dev-note{display:block;color:#8793a4;font-size:11px;max-width:400px;margin-top:5px;white-space:pre-wrap}.dev-map-row{display:grid;grid-template-columns:150px 1fr;padding:22px;border-bottom:1px solid #edf0f5;align-items:center}.dev-map-row h3{font-size:13px;margin:0}.dev-map-row>div{display:flex;flex-wrap:wrap;gap:9px}.dev-muted{font-size:12px;color:#8c97a7}.dev-calculator{max-width:800px;padding:24px}.dev-calculator h2{font-size:16px;margin:0}.dev-calculator .opportunity-form-grid{padding:20px 0}.dev-cost-result{display:flex;gap:50px;border-top:1px solid #e5eaf0;margin-top:22px;padding-top:22px}.dev-cost-result span{display:block;font-size:12px;color:var(--muted)}.dev-cost-result strong{display:block;font-size:22px;margin-top:9px;color:#2d6dc9}.dev-template-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.dev-template-grid article{padding:25px}.dev-template-grid svg{width:28px;color:#5c80bc}.dev-template-grid h2{font-size:17px}.dev-template-grid p{line-height:1.9;font-size:12px;color:var(--muted);min-height:55px}.dev-settings{padding:25px}.dev-settings h2{font-size:18px}.dev-settings p{color:var(--muted);font-size:12px;line-height:1.8}#devEditor textarea{padding:10px;border:1px solid #dfe3e9;border-radius:5px;font:inherit;resize:vertical}
@media(max-width:1000px){.dev-flow>div{grid-template-columns:repeat(3,1fr)}.dev-template-grid{grid-template-columns:1fr}.dev-home-grid{grid-template-columns:1fr}}@media(max-width:560px){.dev-metrics{grid-template-columns:1fr 1fr;gap:10px}.dev-flow>div{grid-template-columns:1fr}.dev-heading{align-items:flex-start}.dev-heading h1{font-size:23px}.dev-heading .subtitle{font-size:12px}.dev-map-row{grid-template-columns:100px 1fr}.dev-cost-result{display:block}.dev-cost-result>div{margin-bottom:18px}}
.independent-meta{display:flex;flex-wrap:wrap;gap:22px;color:#78869a;font-size:12px;margin-bottom:16px}.independent-meta span{display:flex;align-items:center;gap:6px}.independent-meta svg{width:15px}.independent-notice{background:#edf4fd;color:#5d7597;padding:13px 16px;line-height:1.7;border-radius:6px;font-size:12px;margin-bottom:20px}.independent-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:20px}.independent-toolbar .search-box{background:white;width:330px}.independent-toolbar>span{margin-left:auto;font-size:12px;color:#8a96a6}.independent-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.independent-card{overflow:hidden;border:1px solid #e3e8ef;border-radius:9px;background:#fff;box-shadow:0 4px 15px #152d4b04}.independent-image{display:block;width:100%;aspect-ratio:1;position:relative;background:#f5f6f7;border:0;padding:0;overflow:hidden}.independent-image img{width:100%;height:100%;object-fit:contain}.independent-image>span{position:absolute;bottom:10px;left:10px;border:1px solid #e6eaf0;border-radius:4px;padding:4px 8px;background:#fffffff0;color:#536b8a;font-size:10px}.independent-card-body{padding:15px}.independent-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:40px;margin:10px 0;width:100%;text-align:left;font-weight:600;line-height:1.5;color:#293950;background:transparent;border:0;padding:0;font-size:13px}.independent-price{display:flex;justify-content:space-between;align-items:center}.independent-price strong{font-size:15px}.independent-price small{color:#91a0b2;font-size:10px}.independent-card-body>p{font-size:10px;color:#95a0af;margin:10px 0}.independent-card-footer{border-top:1px solid #edf0f4;display:flex;align-items:center;justify-content:space-between;padding-top:12px;font-size:11px}.independent-card-footer a{color:#4677ba;text-decoration:none}.independent-card-footer button{background:transparent;color:#6b77a4;border:0;padding:0;font-size:11px}.independent-sources{padding:17px 20px;margin-top:24px}.independent-sources summary{cursor:pointer;color:#526580;font-size:13px}.independent-sources article{display:flex;align-items:center;gap:15px;padding:14px 0;border-bottom:1px solid #edf0f4;flex-wrap:wrap}.independent-sources article a{color:#396aa9;font-size:12px}.independent-sources article small{width:100%;color:#8d9aab;font-size:10px}.source-ok{color:#34896a;font-size:11px}.source-error{color:#b5833c;font-size:11px}.independent-detail-dialog{width:min(850px,calc(100vw - 24px));max-height:90vh;overflow:auto}.independent-detail{display:grid;grid-template-columns:1fr 1fr;gap:22px;padding:22px}.independent-detail>img{width:100%;height:320px;object-fit:contain;background:#f8f9fa;border-radius:6px}.independent-detail h2{font-size:19px;line-height:1.5}.independent-detail p{color:#7a899d;font-size:11px;line-height:1.9;overflow-wrap:anywhere}.independent-detail a{color:#3973bd;font-size:12px}.independent-note{grid-column:1/-1;display:grid;gap:10px;color:#667892;font-size:12px}.independent-note textarea{font:inherit;border:1px solid #dce3ec;border-radius:6px;padding:12px;resize:vertical}.independent-toolbar .chosen{background:#edf4ff;color:#3974c3}@media(max-width:1200px){.independent-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:900px){.independent-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.independent-grid{grid-template-columns:1fr}.independent-detail{grid-template-columns:1fr}.independent-toolbar .search-box{width:100%}.independent-detail>img{height:250px}.independent-meta{gap:10px}.dev-heading #refreshIndependent{min-width:115px;font-size:11px}}
.domestic-actions{display:flex;gap:8px;flex-wrap:wrap}.domestic-banner{display:flex;gap:12px;padding:16px 20px;background:#fff8eb;border:1px solid #f0e3c6;border-radius:8px;margin-bottom:22px;color:#8a7045}.domestic-banner>svg{width:19px;flex:0 0 auto}.domestic-banner strong{font-size:13px}.domestic-banner p{font-size:12px;line-height:1.8;margin:6px 0 0}.domestic-metrics{margin-bottom:18px}.domestic-shop-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.domestic-shop{padding:22px;min-width:0}.domestic-shop-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.domestic-platform{background:#fff0f0;color:#bd4650;font-size:11px;border-radius:5px;padding:5px 9px}.domestic-platform.douyin{color:#54647b;background:#eef1f5}.domestic-status{font-size:10px;color:#ac7b37;background:#fff6e6;border:1px solid #f1e2c6;border-radius:4px;padding:4px 7px;white-space:nowrap}.domestic-shop h2{font-size:16px;line-height:1.6;margin:14px 0 9px}.domestic-shop p{font-size:11px;color:#8692a3;line-height:1.8}.domestic-shop-categories{display:flex;flex-wrap:wrap;gap:6px}.domestic-shop-categories .category-tag{max-width:none;font-size:10px}.domestic-shop-count{display:flex;gap:10px;align-items:baseline;margin:22px 0;border-bottom:1px solid #edf0f4;padding-bottom:15px}.domestic-shop-count strong{font-size:25px}.domestic-shop-count span{font-size:11px;color:#95a0af}.domestic-shop .domestic-error{color:#a67d46}.domestic-shop>small{font-size:10px;color:#98a3b2;display:block;margin:15px 0}.domestic-shop a,.domestic-discovery-links a{font-size:12px;color:#4277bd;text-decoration:none}.domestic-discovery-links{display:flex;gap:20px;margin:25px 0 20px}.domestic-discovery-note,.domestic-table-note{font-size:12px;color:#909bac;line-height:1.8;margin:0 0 18px}.domestic-table-note{padding:14px 18px;margin:0}.domestic-no-image{height:200px;display:grid;place-items:center;background:#f1f4f7;color:#96a3b3;font-size:12px}.domestic-form-error{color:#b45850}.domestic-discovery>button{font-size:11px;height:32px}.domestic-discovery>.domestic-status{display:inline-block}@media(max-width:1100px){.domestic-shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.domestic-actions{max-width:330px}}@media(max-width:560px){.domestic-shop-grid{grid-template-columns:1fr}.domestic-actions{max-width:none}.dev-heading:has(.domestic-actions){display:block}.domestic-actions{margin-top:16px}.domestic-actions button{font-size:11px}.domestic-banner{padding:14px}.domestic-banner p{font-size:11px}}
/* New-product departmental lifecycle */
.np-category-list{display:flex;gap:9px;flex-wrap:wrap;margin:0 0 20px}.np-category{display:flex;align-items:center;gap:9px;padding:9px 12px;border:1px solid #e0e6ef;border-radius:6px;background:#fff;color:#7c899d;font-size:11px}.np-category b{font-size:10px;color:#5c77a0;background:#eef3fb;padding:4px 5px;border-radius:4px;min-width:24px}.np-category small{color:#9da7b5}.np-category.active{border-color:#8cb0e7;background:#edf4ff;color:#3769ac}.np-panel{overflow:hidden}.np-toolbar{padding:15px;display:flex;flex-wrap:wrap;align-items:center;gap:10px;border-bottom:1px solid #edf0f4}.np-toolbar .search-box{width:290px}.np-toolbar select{min-width:130px;font-size:12px}.np-view-switch{margin-left:auto;background:#f1f4f8;border-radius:5px;padding:3px;display:flex}.np-view-switch button{border:0;background:transparent;border-radius:4px;padding:7px 10px;color:#8b97a8;font-size:11px}.np-view-switch button.active{background:white;color:#4675b8;box-shadow:0 1px 4px #19385910}.np-code{display:block;font-size:10px;color:#5a80b6;font-variant-numeric:tabular-nums;margin-bottom:5px}.np-name{border:0;background:transparent;padding:0;font-size:12px;text-align:left;font-weight:650;color:#2d405d;max-width:250px;line-height:1.6;display:block}.np-name:hover{color:#2870c6}.np-table{min-width:1200px}.np-table td{padding-top:18px;padding-bottom:18px}.np-phase-name{font-size:11px;white-space:nowrap}.np-status{display:inline-flex;padding:4px 6px;white-space:nowrap;font-size:10px;border-radius:4px;color:#8a96a6;background:#f1f4f7;border:1px solid transparent;font-weight:400}.np-status.doing{color:#4275ba;background:#edf4fe}.np-status.review{color:#8865b3;background:#f3eefb}.np-status.done{color:#358a70;background:#ecf7f2}.np-status.blocked{color:#c5645b;background:#fff0ec}.np-status.paused{color:#a98340;background:#fff7e7}.np-register{border:1px solid #b8cdeb;border-radius:4px;padding:6px 9px;color:#4f7db8;background:#f6faff;white-space:nowrap;font-size:11px}.np-edit-basic{display:block;margin-top:8px;background:transparent;border:0;color:#98a4b3;font-size:10px;padding:0}.np-progress{display:flex;align-items:center;gap:7px}.np-progress>span{width:60px;height:5px;background:#edf1f6;border-radius:5px;overflow:hidden}.np-progress i{display:block;height:100%;background:#4c9c85}.np-progress small{font-size:10px;color:#8998ab;white-space:nowrap}.np-date{font-size:10px;color:#98a4b3;max-width:130px}.np-help{font-size:11px;color:#929fb0;line-height:1.8;margin:15px 0}.np-empty-categories{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:20px}.np-empty-categories span{font-size:10px;color:#8092ac;background:#f3f6fa;border-radius:4px;padding:5px 7px}.np-matrix{min-width:1750px}.np-matrix th:not(:first-child){min-width:140px}.np-matrix th:first-child,.np-matrix td:first-child{position:sticky;left:0;background:#fff;z-index:1;min-width:220px;max-width:260px;border-right:1px solid #e9eef5}.np-matrix th:first-child{background:#fbfcfd}.np-matrix th small{display:block;color:#a2aec0;font-size:10px;margin-bottom:5px}.np-matrix-cell{padding:5px 0;border:0;background:transparent;text-align:left;width:100%}.np-matrix-cell>span:not(.np-status){display:block;font-size:11px;color:#7c8da5;margin:7px 0}.np-matrix-cell>small{font-size:9px;color:#a0afc3}.np-review-hint{color:#b58b4d;font-size:10px;display:block;margin-top:7px}.np-checkbox{display:flex!important;align-items:center;gap:8px!important}.np-checkbox input{width:15px;height:15px}.np-detail-dialog{width:min(1200px,calc(100vw - 28px));height:min(950px,92vh);max-height:92vh;overflow:hidden}.np-detail-card{height:100%;display:flex;flex-direction:column}.np-detail-head{padding:20px 25px;display:flex;align-items:flex-start;justify-content:space-between;gap:15px;border-bottom:1px solid #e8edf4;background:#fff}.np-detail-head small{font-size:11px;color:#6385b8}.np-detail-head h2{font-size:21px;margin:7px 0 10px}.np-detail-head p{display:flex;align-items:center;gap:22px;flex-wrap:wrap;color:#8795a8;font-size:11px;margin:0}.np-detail-head>.icon-btn{flex:0 0 auto}.np-detail-scroll{overflow:auto;min-height:0;flex:1;padding:18px 25px 30px}.np-detail-source{display:flex;align-items:center;gap:20px;font-size:11px;color:#93a0b3}.np-detail-source>a{color:#6087bc;text-decoration:none}.np-detail-source button{margin-left:auto;height:30px;font-size:11px}.np-product-note{font-size:12px;line-height:1.8;color:#8392a6;white-space:pre-wrap;margin:6px 0 16px}.np-stage-rail{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:12px 0 24px}.np-stage-rail>button{padding:11px 12px;display:grid;grid-template-columns:25px 1fr;gap:5px;border:1px solid #e1e7f0;border-radius:6px;text-align:left;background:#fbfcfe;min-width:0}.np-stage-rail>button>small{grid-row:1/3;align-self:start;font-size:10px;color:#a5b0bf}.np-stage-rail strong{font-size:11px;color:#60758f}.np-stage-rail>button>span:not(.np-status){font-size:10px;color:#a1acba;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.np-stage-rail .np-status{grid-column:2;justify-self:start}.np-stage-rail>button.active{border-color:#91b4e8;background:#eff5ff;box-shadow:0 0 0 1px #bad1f32b}.np-stage-rail>button.complete{background:#f5faf7}.np-stage-form-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;border:1px solid #e4eaf2;background:#f9fbfe;border-radius:6px 6px 0 0}.np-stage-form-head h3{font-size:15px;margin:0 0 5px;color:#395e90}.np-stage-form-head p{font-size:11px;color:#8e9db1;margin:0}.np-register-label{color:#8195b0;font-size:10px;white-space:nowrap}#npStageForm{border:1px solid #e4eaf2;border-radius:6px}#npStageForm .np-stage-form-head{border:0;border-bottom:1px solid #e4eaf2}.np-stage-actions{padding:15px 20px;display:flex;align-items:center;justify-content:space-between;gap:20px;background:#fbfcfe;margin-top:18px;border-top:1px solid #edf0f5}.np-stage-actions>span{font-size:11px;color:#93a1b3}.np-stage-actions button{flex:0 0 auto}.np-history{padding-top:20px}.np-history h3{font-size:14px;color:#576d8b}.np-history>div{max-height:270px;overflow:auto}.np-history article{display:grid;grid-template-columns:150px 1fr;gap:6px 15px;padding:13px 0;border-bottom:1px solid #edf0f4}.np-history article small{font-size:10px;color:#9aa8ba}.np-history article strong{font-size:11px;color:#6680a0}.np-history article p{grid-column:2;color:#91a0b4;font-size:10px;margin:0;line-height:1.8}.np-legacy-note{font-size:11px;background:#fff7e8;color:#ad8747;padding:11px;border-radius:5px}
#newProductDialog textarea,#npStageForm textarea{border:1px solid #dfe3e9;border-radius:5px;padding:10px;font:inherit;resize:vertical}@media(max-width:900px){.np-stage-rail{grid-template-columns:repeat(3,minmax(0,1fr))}.np-view-switch{margin-left:0}.np-detail-head h2{font-size:18px}}@media(max-width:560px){.np-toolbar .search-box{width:100%}.np-toolbar select{flex:1;min-width:100px}.np-category{padding:7px;font-size:10px;gap:5px}.np-stage-rail{grid-template-columns:repeat(2,minmax(0,1fr))}.np-detail-scroll{padding:12px}.np-detail-head{padding:15px}.np-stage-actions{flex-direction:column;align-items:stretch}.np-history article{grid-template-columns:1fr}.np-history article p{grid-column:1}.np-detail-head p{gap:10px}.np-detail-source{flex-wrap:wrap;gap:8px}.np-register-label{display:none}.np-metrics{grid-template-columns:1fr 1fr}.np-detail-dialog{height:94vh;max-height:94vh}}
/* Cross-border product testing */
.testing-market{font-size:12px;color:#6883a8;background:#edf3fd;padding:9px 13px;border-radius:5px}.testing-layout{display:grid;grid-template-columns:330px minmax(0,1fr);gap:22px;align-items:start}.testing-form{padding:20px}.testing-form h2,.testing-history h2{font-size:16px;margin:0 0 18px}.testing-form>label,.testing-cost>label{display:grid;gap:7px;color:#6f8099;font-size:12px;margin:13px 0}.testing-form input:not([type=checkbox]):not([type=file]),.testing-cost input{height:38px;padding:0 10px;border:1px solid #dfe5ee;border-radius:5px;min-width:0;width:100%;color:#374c6a}.testing-form select{width:100%;font-size:12px}.testing-form .testing-upload{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:1.5;border:1px dashed #bdcce0;border-radius:7px;background:#f7faff;overflow:hidden;margin:0 0 18px;cursor:pointer}.testing-upload>input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;z-index:2}.testing-upload img{width:100%;height:100%;object-fit:contain;position:absolute;inset:0}.testing-upload>span{display:flex;align-items:center;flex-direction:column;gap:10px;color:#7691b5;font-size:12px}.testing-upload svg{width:27px;height:27px}.testing-upload small{font-size:10px;color:#9aaac0}.testing-upload.dragging{border-color:#5089d7;background:#eef5ff}.testing-hint{font-size:10px;color:#94a1b3;line-height:1.8}.testing-form fieldset{border:1px solid #e4eaf2;border-radius:6px;display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:13px 10px;font-size:11px;color:#647d9d;margin:15px 0}.testing-form legend{font-size:11px;padding:0 5px;color:#8797ad}.testing-check{display:flex;align-items:center;gap:6px;font-size:11px}.testing-check input{width:14px;height:14px}.testing-form>button{width:100%}.testing-cost{margin:14px 0}.testing-cost summary{font-size:11px;color:#7f94b1;cursor:pointer}.testing-error{font-size:11px;color:#bd675d;line-height:1.7}.testing-history{margin-top:18px;padding:20px}.testing-history button{width:100%;display:block;padding:12px 9px;text-align:left;border:0;border-bottom:1px solid #edf1f5;background:transparent;border-radius:4px}.testing-history button.active{background:#eef4ff}.testing-history strong{font-size:12px;color:#57749a;display:block}.testing-history span{display:block;font-size:10px;color:#8d9cb0;margin:5px 0;overflow-wrap:anywhere}.testing-history small{display:block;font-size:9px;color:#a1adbe}.testing-welcome{padding:45px 35px;text-align:center;min-height:620px}.testing-welcome>span{display:inline-grid;place-items:center;width:70px;height:70px;border-radius:17px;background:#eef4ff;color:#658bc4;margin:20px}.testing-welcome>span svg{width:32px;height:32px}.testing-welcome h2{font-size:22px;color:#435e83}.testing-welcome>p{font-size:13px;color:#8b9cb3;line-height:1.9;max-width:490px;margin:20px auto}.testing-welcome>div{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:35px 0}.testing-welcome section{border:1px solid #e7edf5;border-radius:6px;padding:24px 10px}.testing-welcome b{font-size:12px;color:#89a3c7;display:block;margin-bottom:10px}.testing-welcome section strong{font-size:12px;color:#6e87a9}.testing-welcome>small{font-size:11px;line-height:1.9;color:#9ba9bc}.testing-report-head{padding:20px;display:flex;align-items:center;justify-content:space-between;gap:15px}.testing-report-head>div{display:flex;align-items:center;gap:16px}.testing-report-head img{width:74px;height:74px;object-fit:contain;border:1px solid #edf0f5;border-radius:5px}.testing-report-head h2{font-size:19px;margin:0}.testing-report-head p:not(.eyebrow){font-size:11px;color:#8a9ab0;line-height:1.7}.testing-report-head small{font-size:10px;color:#9caabf}.testing-metric-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:15px 0}.testing-metric-grid article{padding:17px}.testing-metric-grid span{display:block;font-size:11px;color:#879bb5}.testing-metric-grid strong{font-size:21px;color:#48668e;display:block;margin-top:10px}.testing-conclusion{padding:22px;margin-bottom:18px}.testing-label{font-size:11px;color:#6183b2}.testing-conclusion h2{font-size:18px;margin:10px 0;color:#526e92;line-height:1.6}.testing-conclusion p{font-size:11px;color:#94a1b4;line-height:1.8}.testing-missing{background:#fff9ef;border:1px solid #f1e4cc;padding:14px 16px;border-radius:6px;margin-top:17px}.testing-missing>strong{font-size:12px;color:#a38857}.testing-missing ul{padding-left:18px;margin:7px 0}.testing-missing li{font-size:11px;line-height:1.9;color:#ac9875}.testing-sources{margin-bottom:18px;overflow:hidden}.testing-sources>.panel-head{flex-wrap:wrap;gap:8px}.testing-sources>div:not(.panel-head){display:grid;grid-template-columns:1fr 1fr}.testing-sources section{padding:18px;border-right:1px solid #edf1f6;border-bottom:1px solid #edf1f6}.testing-sources header{display:flex;align-items:center;gap:8px;justify-content:space-between}.testing-sources header strong{font-size:12px;color:#546f94}.testing-sources section>div{display:flex;gap:20px;margin:16px 0;font-size:11px;color:#8a9bb1}.testing-sources b{font-size:14px;color:#5d7ca4;margin-left:4px}.testing-sources section>p{font-size:10px;line-height:1.8;color:#98a8bc;min-height:36px}.testing-sources a{font-size:10px;color:#638bc1;text-decoration:none}.testing-samples .panel-head{flex-wrap:wrap;gap:10px}.testing-samples small{display:block;font-size:9px;color:#9aaabe;line-height:1.7;max-width:180px}.testing-product-link{display:block;font-size:11px;color:#5c81b4;text-decoration:none;max-width:230px;line-height:1.7}.testing-report-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:18px}.testing-score-parts>div{display:grid;grid-template-columns:1fr auto;gap:6px;padding:13px 0;border-top:1px solid #edf0f4}.testing-score-parts span{font-size:12px;color:#7b92b0}.testing-score-parts strong{font-size:13px;color:#6985ab}.testing-score-parts small{grid-column:1/-1;font-size:10px;line-height:1.8;color:#a0acc0}#testingDialog input{max-width:100%}@media(max-width:1100px){.testing-layout{grid-template-columns:290px minmax(0,1fr)}.testing-sources>div:not(.panel-head){grid-template-columns:1fr}}@media(max-width:850px){.testing-layout{grid-template-columns:1fr}.testing-upload{max-height:240px}.testing-history{max-height:240px;overflow:auto}.testing-welcome{min-height:400px}}@media(max-width:560px){.testing-report-head{align-items:flex-start;flex-direction:column}.testing-welcome{padding:25px 18px}.testing-welcome>div{grid-template-columns:1fr}.testing-metric-grid strong{font-size:18px}.testing-report-head h2{font-size:17px}.testing-market{font-size:10px;white-space:nowrap}.testing-report-actions button{font-size:11px}.testing-sources header{flex-wrap:wrap}}
.testing-layout>aside,.testing-layout>#testingReport{min-width:0}.testing-upload{min-width:0;max-width:100%;width:100%}.testing-form fieldset{min-width:0}.testing-history button{overflow-wrap:anywhere}.testing-report-head section{min-width:0}.testing-report-head p{overflow-wrap:anywhere}@media(max-width:850px){.testing-layout{grid-template-columns:minmax(0,1fr)}}
/* Accounts, roles and access settings */
.account-widget{font-size:11px;max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-setup{max-width:820px;padding:28px}.account-badge{display:inline-block;font-size:11px;color:#9b8049;background:#fff7e5;padding:5px 9px;border-radius:4px}.account-setup h2{font-size:21px;margin:14px 0 10px}.account-setup>p{color:#8899b0;font-size:12px;line-height:1.8}.account-setup .opportunity-form-grid{padding:20px 0}.account-setup form>.primary-btn{margin-top:12px}.account-error{color:#bf655d;font-size:11px;line-height:1.8}.account-profile{padding:22px;display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:22px}.account-profile>div{display:flex;align-items:center;gap:15px}.account-avatar{width:48px;height:48px;display:grid;place-items:center;background:#ecf3ff;color:#6a8dbe;border-radius:12px;font-size:22px}.account-profile h2{font-size:17px;margin:0 0 5px}.account-profile p{font-size:11px;color:#95a5b9;margin:0}.account-members{overflow:hidden}.account-members td small,.account-audit td small{display:block;color:#98a6b9;font-size:10px;margin-top:5px;max-width:420px;line-height:1.6}.account-permission-tags{display:flex;flex-wrap:wrap;gap:4px;min-width:210px;max-width:400px}.account-permission-tags span{font-size:9px;background:#f0f5fc;color:#6d8cb5;padding:3px 5px;border-radius:3px}.account-label{font-size:12px;color:#6f839d;display:block;margin-bottom:12px}.account-permission-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;border:1px solid #e3eaf4;padding:18px;border-radius:6px}.account-permission-grid label{display:flex;align-items:center;gap:7px;font-size:12px;color:#798da8}.account-permission-grid input{width:14px!important;height:14px!important;box-shadow:none!important}.account-role-guide{padding:23px;margin:22px 0}.account-role-guide h2,.account-my-permissions h2{font-size:17px;margin:0 0 20px}.account-role-guide>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.account-role-guide section{padding:15px;background:#f9fbfe;border-radius:6px;border:1px solid #e9eff6}.account-role-guide strong{font-size:12px;color:#718cae}.account-role-guide p{font-size:11px;line-height:1.8;color:#9caabe;margin:7px 0 0}.account-audit{overflow:hidden}.account-audit>.table-scroll{max-height:390px;overflow:auto}.account-my-permissions{padding:24px}.account-my-permissions>div{display:flex;flex-wrap:wrap;gap:10px}.account-my-permissions span{padding:8px 12px;font-size:12px;border-radius:5px;background:#f2f4f8;color:#a6b0bf}.account-my-permissions span.enabled{background:#eaf6f1;color:#588d78}.account-my-permissions p{font-size:12px;color:#92a2b7;margin-top:20px}.account-image-preview,.np-reference-thumb{width:120px;height:100px;object-fit:contain;border:1px solid #e2eaf5;border-radius:6px;background:#fafbfd}.np-reference-thumb{margin:5px 0 10px}button[data-permission-denied=true],input[data-permission-denied=true]{opacity:.45;cursor:not-allowed}@media(max-width:900px){.account-role-guide>div{grid-template-columns:1fr 1fr}}@media(max-width:560px){.account-widget{display:inline-flex!important;max-width:155px;height:34px}.account-profile{align-items:flex-start;flex-direction:column}.account-role-guide>div{grid-template-columns:1fr}.account-permission-grid{grid-template-columns:1fr}.account-setup{padding:18px}.account-metrics{grid-template-columns:1fr 1fr}}
/* Searchable product catalog and specification sheets */
.catalog-search{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;margin-bottom:18px;gap:15px}.catalog-search label{display:flex;align-items:center;gap:10px;flex:1}.catalog-search svg{width:20px;color:#8c9fb9}.catalog-search input{width:100%;height:32px;border:0;background:transparent;outline:0;font-size:14px;color:#435e84}.catalog-search>span{font-size:12px;color:#99a8bd;white-space:nowrap}.catalog-categories{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:22px}.catalog-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.catalog-card{overflow:hidden;min-width:0}.catalog-cover{width:100%;aspect-ratio:1.2;position:relative;display:grid;place-items:center;background:#f6f8fb;border:0;padding:0}.catalog-cover img{width:100%;height:100%;object-fit:contain;position:absolute;inset:0}.catalog-cover>span{font-size:12px;color:#9eacc0;display:flex;align-items:center;flex-direction:column;gap:10px}.catalog-cover svg{width:30px;height:30px}.catalog-cover small{position:absolute;left:10px;bottom:10px;background:#ffffffeb;color:#8198b7;border:1px solid #e6ecf5;border-radius:4px;padding:4px 7px;font-size:10px}.catalog-card>div{padding:16px}.catalog-code{font-size:11px;color:#7396c4;display:block;margin-bottom:6px;font-variant-numeric:tabular-nums}.catalog-name{padding:0;border:0;background:transparent;text-align:left;font-size:14px;font-weight:650;color:#405b81;line-height:1.6;margin:4px 0 12px;display:block}.catalog-card dl{margin:17px 0}.catalog-card dl>div{display:flex;justify-content:space-between;gap:10px;margin:10px 0;font-size:10px}.catalog-card dt{color:#98a8bc}.catalog-card dd{color:#7f93ae;margin:0;text-align:right;overflow-wrap:anywhere}.catalog-card-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #edf1f7;padding-top:12px}.catalog-card-footer span{font-size:10px;color:#9facc0}.catalog-card-footer button{background:transparent;border:0;padding:0;color:#628bbc;font-size:11px}.catalog-detail-dialog{width:min(1130px,calc(100vw - 28px));max-height:92vh;overflow:auto}.catalog-detail-body{padding:24px;display:grid;grid-template-columns:1fr 1fr;gap:28px}.catalog-detail-body>section{min-width:0}.catalog-image-tabs{display:flex;gap:7px;margin-bottom:12px;flex-wrap:wrap}.catalog-image-tabs button{background:#f4f7fb;color:#8d9fb8;border:1px solid #e5edf5;font-size:11px;padding:7px 10px;border-radius:4px}.catalog-image-tabs button.active{color:#527eB7;background:#edf4ff;border-color:#aac5eb}.catalog-image-tabs small{font-size:9px;margin-left:5px}.catalog-main-image{display:grid;place-items:center;width:100%;aspect-ratio:1;background:#f8f9fb;border:1px solid #edf1f6;border-radius:7px;padding:0;overflow:hidden}.catalog-main-image img{width:100%;height:100%;object-fit:contain}.catalog-main-image>span{font-size:12px;color:#a0acc0}.catalog-image-caption{font-size:11px;color:#8c9db4;margin:10px 0;min-height:18px}.catalog-thumbnails{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:17px}.catalog-thumbnails button{width:65px;height:65px;background:#fff;border:1px solid #e5ecf4;border-radius:5px;padding:2px;overflow:hidden}.catalog-thumbnails button.active{border-color:#84aade;box-shadow:0 0 0 1px #bed3ef}.catalog-thumbnails img{width:100%;height:100%;object-fit:contain}.catalog-photo-actions{display:flex;align-items:center;gap:14px}.catalog-photo-actions button{font-size:11px}.catalog-specs>div{display:flex;align-items:center;justify-content:space-between}.catalog-specs h3{font-size:15px;color:#5e7b9e;margin:10px 0 14px}.catalog-specs dl{margin:0 0 25px}.catalog-specs dl>div{display:grid;grid-template-columns:130px 1fr;gap:12px;padding:11px 0;border-bottom:1px solid #edf1f6;font-size:11px;line-height:1.7}.catalog-specs dt{color:#96a8bf}.catalog-specs dd{margin:0;color:#6f89aa;overflow-wrap:anywhere}.catalog-specs>p{font-size:12px;line-height:1.8;color:#91a3b9;white-space:pre-wrap}.catalog-editor-dialog{width:min(820px,calc(100vw - 28px));max-height:92vh;overflow:auto}.catalog-form-body{padding:20px}.catalog-form-body>h3{font-size:14px;color:#6985a8;padding:10px 0;margin:0;border-bottom:1px solid #eaf0f7}.catalog-form-body .opportunity-form-grid{padding:17px 0 22px}.catalog-form-body textarea{padding:10px;border:1px solid #dfe6ef;border-radius:5px;font:inherit;resize:vertical}.catalog-zoom-dialog{width:min(1100px,calc(100vw - 20px));max-height:95vh}.catalog-zoom{padding:20px;text-align:center;position:relative}.catalog-zoom>button{position:absolute;right:12px;top:12px}.catalog-zoom img{max-width:100%;max-height:80vh;object-fit:contain}.catalog-zoom p{font-size:12px;color:#8298b6}@media(max-width:1200px){.catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:900px){.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-detail-body{grid-template-columns:1fr}}@media(max-width:560px){.catalog-grid{grid-template-columns:1fr}.catalog-search{padding:12px}.catalog-search input{font-size:11px}.catalog-detail-body{padding:16px}.catalog-specs dl>div{grid-template-columns:110px 1fr}.catalog-editor-dialog .catalog-form-body{padding:15px}.catalog-search>span{font-size:10px}}
/* Approval-gated eight-stage development */
.phase-rail-eight{grid-template-columns:repeat(4,minmax(0,1fr))}.phase-rail-eight .phase-locked{background:#f2f4f7;opacity:.65}.phase-lock-banner{padding:14px 18px;background:#fff7e9;color:#ac874b;border:1px solid #f1dfbd;border-radius:6px;font-size:12px;line-height:1.8;margin-bottom:15px}.phase-edit-fieldset{min-width:0;border:0;padding:0;margin:0}.phase-section{padding:18px 20px;border-top:1px solid #e9eff7}.phase-section>h3{font-size:15px;color:#6582a7;margin:0 0 17px}.phase-image-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:15px}.phase-image-grid article{border:1px solid #e2eaf4;border-radius:6px;padding:8px;min-width:0}.phase-image-grid img{width:100%;height:130px;object-fit:contain}.phase-image-grid small{display:block;font-size:10px;color:#92a4bc;overflow-wrap:anywhere;margin-top:5px}.phase-image-grid button{height:24px;font-size:10px}.phase-image-upload{display:flex;gap:10px;flex-wrap:wrap;align-items:center;font-size:11px;color:#859ab6;margin:13px 0}.phase-import{display:flex;flex-wrap:wrap;align-items:center;gap:16px;margin:15px 0}.phase-import label{font-size:11px;color:#8299b6}.phase-import input{margin-left:9px;max-width:250px;font-size:11px}.phase-json-label{display:grid;gap:8px;font-size:11px;color:#8ca0ba}.phase-json-label textarea,.phase-review textarea{padding:10px;border:1px solid #dfe7f2;border-radius:5px;font:inherit;resize:vertical}.phase-file-list{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.phase-file-list span{font-size:10px;padding:5px 8px;border-radius:3px;background:#f1f5fb;color:#8199ba}.phase-price-table{min-width:600px}.phase-price-table input,.phase-component-table input{width:100%;min-width:70px;height:34px;padding:0 8px;border:1px solid #e0e7f1;border-radius:4px;color:#546f94;font-size:12px}.phase-component-table input[type=checkbox]{min-width:0;width:16px;height:16px}.phase-component-table{min-width:750px}.phase-component-table+button{margin-top:15px}.phase-currency{display:flex;gap:10px;align-items:center;font-size:12px;color:#8b9fb8;margin-bottom:15px}.phase-currency select{height:33px}.phase-arrived-note{font-size:12px;color:#8ba18f;line-height:1.8;margin:15px 0}.phase-review{border:1px solid #e0e8f3;padding:18px 20px;margin:20px 0;border-radius:7px;background:#fbfcff}.phase-review h3{font-size:15px;color:#6988b2;margin:0 0 13px}.phase-review p,.phase-review small{color:#94a7c0;font-size:11px;line-height:1.8}.phase-review textarea{display:block;width:100%;margin:12px 0}.phase-review button{margin:3px 8px 3px 0;font-size:12px}.phase-next{margin:0 0 14px}.phase-error{padding:0 20px}.np-stage-actions>div{display:flex;gap:8px;flex-wrap:wrap}.phase-erp-source{border:1px solid #e5edf6;background:#f7faff;border-radius:6px;padding:15px;margin:18px 0}.phase-erp-source strong{font-size:12px;color:#7594ba}.phase-erp-source p,#erpMetrics p{font-size:11px;line-height:1.9;color:#90a5c0}.phase-erp-source input[type=file]{max-width:230px;margin-right:10px}.phase-erp-dates{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:15px 0}.phase-erp-dates label{font-size:11px;color:#93a6be;display:flex;gap:6px;align-items:center}.phase-erp-dates input{border:1px solid #dfe7f3;border-radius:4px;padding:7px;color:#7b94b7}.phase-sales-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.phase-sales-metrics>div{padding:16px;border:1px solid #e1eaf5;background:#fbfcff;border-radius:6px}.phase-sales-metrics span{font-size:11px;color:#92a8c3;display:block}.phase-sales-metrics strong{font-size:22px;color:#6286b5;display:block;margin-top:10px}.phase-edit-fieldset:disabled{opacity:.75}.phase-edit-fieldset .opportunity-form-grid{padding-top:15px}@media(max-width:900px){.phase-image-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:560px){.phase-rail-eight{grid-template-columns:repeat(2,minmax(0,1fr))}.phase-image-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.phase-section{padding:15px 12px}.phase-sales-metrics{grid-template-columns:1fr}.np-stage-actions>div{display:grid;grid-template-columns:1fr}.phase-import{align-items:stretch;flex-direction:column}}
/* Administrator review inbox */
.np-review-metric{text-align:left;cursor:pointer;position:relative;background:#fff;border:1px solid #e7e9ee;border-top:3px solid #d29439;border-radius:8px;padding:22px;color:inherit}.np-review-metric>span{display:block;color:var(--muted);font-size:12px}.np-review-metric>strong{display:block;font-size:30px;margin-top:10px}.np-review-metric>small{display:block;font-size:10px;color:#b58c4b;margin-top:8px}.np-review-metric:hover{background:#fffaf0;border-color:#e5c993}.np-review-queue{margin-bottom:22px;overflow:hidden;scroll-margin-top:90px}.np-review-queue h2 span{margin-left:8px;font-size:12px;padding:3px 7px;border-radius:4px;color:#a57935;background:#fff3db}.np-review-list{max-height:340px;overflow:auto}.np-review-list article{padding:15px 20px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid #edf1f6}.np-review-list article>div{min-width:0}.np-review-list small{display:block;font-size:10px;color:#87a0bf;margin-bottom:5px}.np-review-list strong{display:block;color:#597595;font-size:13px}.np-review-list span{display:block;color:#99a9bf;font-size:10px;line-height:1.8;margin-top:5px}.np-review-list button{flex:0 0 auto;font-size:11px}.np-review-empty{padding:21px;color:#9ba9bd;font-size:12px;border-top:1px solid #eef2f7}.np-review-status{border:0;background:transparent;padding:0;cursor:pointer;text-align:left}.np-review-status small{display:block;font-size:9px;color:#9c88ba;margin-top:5px}.np-review-highlight{border-color:#abbedf;background:#f7faff}@media(max-width:560px){.np-review-list article{align-items:flex-start}.np-review-list button{height:32px;padding:0 8px;font-size:10px}}

.dev-metrics .dev-metric-link{text-align:left;font:inherit;color:inherit;cursor:pointer;position:relative;transition:border-color .15s,box-shadow .15s,transform .15s}.dev-metric-link small{display:block;margin-top:10px;font-size:11px;color:#6284b5}.dev-metrics .dev-metric-link:hover{border-color:#8bade0;box-shadow:0 5px 18px #356cbd18;transform:translateY(-2px)}.dev-metric-link:focus-visible{outline:3px solid #467fd4;outline-offset:3px}@media(prefers-reduced-motion:reduce){.dev-metrics .dev-metric-link{transition:none}.dev-metrics .dev-metric-link:hover{transform:none}}
