/* 生产端首页：与管理端首页一致的克制卡片体系。 */
#adminPageProductionHome { flex: 1; min-width: 0; min-height: 0; overflow: auto; background: #f2f3ee; }
.admin-content:has(#adminPageProductionHome .pwh-page) { background: #f2f3ee; }
.pwh-page { flex: 1; width: 100%; min-width: 0; min-height: 100%; background: #f2f3ee; color: #353535; }
.pwh-inner { width: min(1160px, calc(100% - 72px)); margin: 0 auto; padding: 46px 0 56px; box-sizing: border-box; }
.pwh-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-bottom: 30px; }
.pwh-stat, .pwh-panel { border: 0; background: #fff; box-shadow: none; }
.pwh-stat { position: relative; min-width: 0; min-height: 148px; padding: 22px 24px; border-radius: 22px; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease; }
.pwh-stat--alert { background: #fcd9fa; }
.pwh-stat:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(50, 54, 48, .08); }
.pwh-stat:focus-visible, .pwh-panel-link:focus-visible, .pwh-attention-row:focus-visible, .pwh-future-row:focus-visible { outline: 2px solid #355944; outline-offset: 3px; }
.pwh-stat.is-locked, .pwh-attention-row.is-locked { opacity: .56; cursor: not-allowed; }
.pwh-stat-label { display: block; color: #353535; font-size: 20px; font-weight: 700; line-height: 1.35; }
.pwh-stat-value { display: block; margin-top: 18px; color: #666; font-size: 40px; font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums; }
.pwh-stat-arrow, .pwh-panel-link { display: inline-flex; align-items: center; justify-content: center; width: 22px; min-width: 22px; height: 22px; min-height: 22px; aspect-ratio: 1; padding: 0; border: 1.5px solid #353535; border-radius: 50%; color: #353535; font-size: 14px; line-height: 1; box-sizing: border-box; }
.pwh-stat-arrow { position: absolute; top: 23px; right: 23px; }
.pwh-middle { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(300px, 1fr); gap: 28px; align-items: stretch; }
.pwh-panel { min-width: 0; min-height: 292px; padding: 24px 22px 20px; border-radius: 22px; box-sizing: border-box; }
.pwh-panel-head { display: flex; align-items: center; justify-content: space-between; min-height: 38px; padding: 0 0 16px; border-bottom: 1px solid #ecece8; }
.pwh-panel h2 { margin: 0; color: #353535; font-size: 20px; font-weight: 700; line-height: 1.3; }
.pwh-panel-link { flex: 0 0 22px; padding: 0; background: transparent; font-family: inherit; cursor: pointer; }
.pwh-panel-link:disabled { opacity: .45; cursor: not-allowed; }
.pwh-future-list { padding-top: 13px; }
.pwh-future-row { display: grid; grid-template-columns: 48px minmax(60px, 1fr) 32px; align-items: center; gap: 10px; width: 100%; min-height: 27px; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.pwh-future-date { color: #868686; font-size: 13px; white-space: nowrap; }
.pwh-future-track { display: block; height: 6px; overflow: hidden; border-radius: 999px; background: #f0f0f0; }
.pwh-future-track span { display: block; height: 100%; border-radius: inherit; background: #ff7e65; transition: width 240ms ease; }
.pwh-future-row b { color: #353535; font-size: 13px; font-weight: 650; text-align: right; font-variant-numeric: tabular-nums; }
.pwh-future-row:hover:not(:disabled) .pwh-future-date { color: #353535; }
.pwh-attention-list { padding-top: 5px; }
.pwh-attention-row { display: grid; grid-template-columns: minmax(0, 1fr) 30px 18px; align-items: center; gap: 10px; width: 100%; min-height: 54px; padding: 0 2px; border: 0; background: transparent; color: #353535; font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.pwh-attention-row b { color: #ff6f58; font-size: 14px; font-weight: 500; text-align: center; font-variant-numeric: tabular-nums; }
.pwh-chevron { color: #353535; font-size: 25px; font-weight: 300; line-height: 1; text-align: right; transition: transform 160ms ease; }
.pwh-attention-row:hover:not(:disabled) .pwh-chevron { transform: translateX(3px); }
@media (max-width: 1120px) {
  .pwh-inner { width: min(100% - 40px, 1160px); padding-top: 32px; }
  .pwh-stats { gap: 18px; }
  .pwh-middle { gap: 18px; }
}
@media (max-width: 900px) {
  .pwh-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pwh-middle { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .pwh-inner { width: 100%; padding: 20px 14px 32px; }
  .pwh-stats { gap: 12px; margin-bottom: 16px; }
  .pwh-stat { min-height: 124px; padding: 18px; border-radius: 18px; }
  .pwh-stat-label { padding-right: 28px; font-size: 16px; }
  .pwh-stat-value { margin-top: 16px; font-size: 34px; }
  .pwh-stat-arrow { top: 18px; right: 18px; }
  .pwh-middle { gap: 16px; }
  .pwh-panel { min-height: 0; padding: 20px 16px 18px; border-radius: 18px; }
  .pwh-panel h2 { font-size: 18px; }
}
