.site-products-page{width:100%;min-width:0;color:var(--ink,#0A1018)}
.site-products-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}
.site-products-heading h1{margin:0;font-size:22px;line-height:1.25}
.site-products-heading p{margin:5px 0 0;color:var(--muted,#4A5B75);font-size:12px;line-height:1.5}
.site-products-heading .btn{flex:0 0 auto;border-radius:7px}
.site-products-heading .btn:disabled{cursor:not-allowed;opacity:.55}
.site-product-toolbar{padding:15px 0 14px;border-top:1px solid var(--line,#E3E8F0);border-bottom:1px solid var(--line,#E3E8F0);background:#fff}
.site-product-filters{display:grid;grid-template-columns:minmax(150px,1fr) minmax(135px,.75fr) minmax(150px,.85fr) minmax(180px,1.2fr) auto auto;align-items:end;gap:10px;padding:0 16px}
.site-product-filters label{display:flex;flex-direction:column;gap:5px;min-width:0}
.site-product-filters label>span{color:#3E4F69;font-size:11px;font-weight:650}
.site-product-filters input,.site-product-filters select{box-sizing:border-box;width:100%;min-width:0;height:37px;padding:0 10px;border:1px solid #C7D1DF;border-radius:7px;background:#fff;color:#0A1018;font:13px/1.2 inherit;outline:0}
.site-product-filters input:focus,.site-product-filters select:focus{border-color:#2456E6;box-shadow:0 0 0 3px #2456E61a}
.site-product-filters .btn{height:37px;min-height:37px;border-radius:7px;white-space:nowrap}
.site-product-sync-state{min-height:18px;margin:10px 16px 0;color:#4A5B75;font-size:11px;line-height:1.5;overflow-wrap:anywhere}
.site-product-results{margin-top:16px;background:#fff;border:1px solid var(--line,#E3E8F0);border-radius:6px;overflow:hidden}
.site-product-table{width:100%;min-width:960px;table-layout:fixed;border-collapse:collapse}
.site-product-table th,.site-product-table td{padding:12px 13px;border-bottom:1px solid #E9EDF4;text-align:left;vertical-align:middle}
.site-product-table th{background:#F6F8FB;color:#4A5B75;font-size:11px;font-weight:650;white-space:nowrap}
.site-product-table th:nth-child(1){width:94px}
.site-product-table th:nth-child(2){width:27%}
.site-product-table th:nth-child(3){width:16%}
.site-product-table th:nth-child(4),.site-product-table th:nth-child(5){width:90px}
.site-product-table th:nth-child(6){width:100px}
.site-product-table th:nth-child(7){width:145px}
.site-product-table th:nth-child(8){width:230px}
.site-product-table td{font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.site-product-table tbody tr:last-child td{border-bottom:0}
.site-product-table tbody tr:hover td{background:#fcfcfd}
.site-product-table td strong{font-size:12px;font-weight:650;color:#0A1018}
.site-product-price,.site-product-currency{font-variant-numeric:tabular-nums;white-space:nowrap}
.site-product-price{font-weight:650;color:#0A1018}
.site-product-currency{color:#3E4F69}
.site-product-description{margin-top:4px;color:#4A5B75;font-size:11px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.site-product-date{color:#4A5B75;font-size:11px!important}
.site-product-no-action{color:#5A6A85;font-size:11px}
.site-stat-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}
.site-stat-card{background:#fff;border:1px solid var(--line,#E3E8F0);border-radius:8px;padding:12px 14px}
.site-stat-card p{margin:0;color:#4A5B75;font-size:11px;font-weight:650}
.site-stat-card strong{display:block;margin:3px 0 1px;font-size:20px;font-weight:650;color:#0A1018}
.site-stat-card span{color:#5A6A85;font-size:11px}
.site-stat-card.alert{background:#fef6f2;border-color:#fedbd5}
.site-stat-card.alert strong{color:#b42318}
@media(max-width:900px){.site-stat-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
.site-summary-table th:nth-child(1){width:30%}
.site-summary-table th:nth-child(2){width:110px}
.site-summary-table th:nth-child(3){width:150px}
.site-summary-table th:nth-child(4){width:150px}
.site-summary-table th:nth-child(5){width:190px}
.site-card-link{color:#2456E6;text-decoration:none}
.site-card-link:hover{text-decoration:underline}
.site-product-pager{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.site-product-jump{display:flex;align-items:center;gap:6px}
.site-product-jump label{display:flex;align-items:center;gap:5px;color:#4A5B75;font-size:11px}
.site-product-jump input{width:56px;height:31px;padding:0 8px;border:1px solid #C7D1DF;border-radius:6px;font:12px inherit;color:#0A1018}
.site-product-size{display:flex;align-items:center;gap:5px;color:#4A5B75;font-size:11px}
.site-product-size select{height:31px;padding:0 6px;border:1px solid #C7D1DF;border-radius:6px;background:#fff;font:12px inherit;color:#0A1018}
.site-product-cell{display:flex;align-items:flex-start;gap:9px}
.site-product-cell-text{min-width:0}
.site-product-thumb{width:38px;height:38px;flex:0 0 38px;border-radius:6px;object-fit:cover;background:#F2F5F9;border:1px solid var(--line,#E3E8F0)}
.site-product-detail-image{display:block;max-width:100%;max-height:240px;border-radius:6px;border:1px solid var(--line,#E3E8F0);background:#F6F8FB}
.site-product-detail-links{display:flex;gap:8px;flex-wrap:wrap}
.site-product-detail-links .btn{display:inline-flex;align-items:center;min-height:31px;padding:6px 10px;border-radius:6px;font-size:11px;text-decoration:none}
.site-product-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 24px;margin:0}
.site-product-detail-grid div{display:grid;gap:3px}
.site-product-detail-grid dt{color:#4A5B75;font-size:11px}
.site-product-detail-grid dd{margin:0;color:#0A1018;font-size:12px;font-weight:650;overflow-wrap:anywhere}
.site-product-detail-text{max-height:220px;overflow:auto;white-space:pre-wrap;color:#3E4F69;font-size:12px;line-height:1.6;border:1px solid var(--line,#E3E8F0);border-radius:6px;padding:10px;background:#F6F8FB}
.site-product-actions{display:flex;flex-wrap:wrap;gap:6px}
.site-product-actions .btn{min-height:31px;padding:6px 9px;border-radius:6px;font-size:11px;white-space:nowrap}
.site-product-actions .btn.primary{border-color:#2456E6;background:#2456E6;box-shadow:none}
.site-product-actions .btn.danger{border-color:#fecdca;color:#b42318}
.site-product-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 14px;border-top:1px solid var(--line,#E3E8F0);color:#4A5B75;font-size:11px}
.site-product-pagination>div{display:flex;gap:7px}
.site-product-pagination .btn{min-height:31px;padding:6px 10px;border-radius:6px;font-size:11px}
.site-product-review-form{display:grid;gap:15px}
.site-product-review-form textarea{min-height:110px;resize:vertical}
.site-product-review-form dl{display:flex;gap:32px;margin:0;padding:12px 0;border-top:1px solid var(--line,#E3E8F0)}
.site-product-review-form dl div{display:grid;gap:4px}
.site-product-review-form dt{color:#4A5B75;font-size:11px}
.site-product-review-form dd{margin:0;color:#0A1018;font-size:13px;font-weight:650}
@media(max-width:1050px){.site-product-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.site-product-filters .site-product-search{grid-column:span 2}}
@media(max-width:650px){
  .site-products-heading{align-items:flex-start;gap:10px}
  .site-products-heading h1{font-size:20px}
  .site-products-heading .btn{min-height:35px;padding:8px 10px;font-size:11px}
  .site-product-toolbar{padding-top:12px}
  .site-product-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:0 10px}
  .site-product-filters .site-product-search{grid-column:1/-1}
  .site-product-sync-state{margin-left:10px;margin-right:10px}
  .site-product-results{border-left:0;border-right:0;border-radius:0}
  .site-product-table{display:block;min-width:0;table-layout:auto}
  .site-product-table thead{display:none}
  .site-product-table tbody{display:grid;gap:0}
  .site-product-table tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:4px 12px;padding:11px 9px;border-bottom:1px solid var(--line,#E3E8F0)}
  .site-product-table tbody tr:last-child{border-bottom:0}
  .site-product-table td{display:block;min-width:0;padding:6px 3px;border:0;font-size:11px}
  .site-product-table td::before{display:block;margin-bottom:4px;color:#4A5B75;font-size:10px;font-weight:600;content:attr(data-label)}
  .site-product-table td[data-label="商品"],.site-product-table td[data-label="子站"],.site-product-table td[data-label="更新时间"],.site-product-table td[data-label="操作"],.site-product-table td[colspan]{grid-column:1/-1}
  .site-product-table td[data-label="商品"] strong{font-size:13px}
  .site-product-actions .btn{min-height:34px;padding:7px 10px}
  .site-product-pagination{padding:10px}
}
.site-products-heading-actions{display:flex;gap:8px;flex-wrap:wrap}
.site-settings-modal{display:grid;gap:12px}
.site-settings-modal h3{margin:6px 0 0;color:#3E4F69;font-size:12px;font-weight:700;letter-spacing:.02em}
.site-settings-modal .notice{margin:0;padding:9px 11px;border-radius:6px;background:#F6F8FB;border:1px solid var(--line,#E3E8F0);color:#3E4F69;font-size:12px}
.site-settings-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}
.site-settings-form .field{display:grid;gap:4px;min-width:0}
.site-settings-form label{color:#4A5B75;font-size:11px}
.site-settings-form input{min-height:33px;padding:7px 9px;border:1px solid var(--line,#E3E8F0);border-radius:6px;font-size:12px;color:#0A1018;background:#fff}
.site-settings-form small{color:#5A6A85;font-size:10px}
.site-settings-fetched{margin:0;color:#5A6A85;font-size:11px}
@media(max-width:650px){.site-settings-form{grid-template-columns:minmax(0,1fr)}}

/* 待审核商品队列（站点列表页） */
.site-product-review-queue { margin: 18px 0 22px; padding: 16px 18px; border: 1px solid rgba(239,68,68,.35); border-radius: 14px; background: var(--panel, #fff); }
.site-product-review-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.site-product-review-head h2 { margin: 0; font-size: 16px; }
.site-product-review-head p { margin: 2px 0 0; color: var(--muted, #6b7280); font-size: 13px; }
