/* 只作用于秒杀费用预估，不改变现有页面主题和财务表格。 */
.flash-settings .flash-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px; margin: 16px 0 10px; }
.flash-settings .flash-form label { display: flex; flex: 1 1 170px; min-width: 0; flex-direction: column; gap: 7px; }
.flash-settings .flash-form label > span { color: #36556c; }
.flash-settings .flash-form .flash-product { flex-basis: 280px; }
.flash-settings .flash-form input, .flash-settings .flash-form select { box-sizing: border-box; width: 100%; min-width: 0; height: 40px; padding: 8px 10px; border: 1px solid #cbdbe7; border-radius: 6px; color: #183e55; background: #fff; }
.flash-settings .flash-form input::placeholder { color: #596f80; }
.flash-settings :is(input, select, button, summary):focus-visible { outline: 2px solid #008a83; outline-offset: 2px; }
.flash-settings .flash-form button { margin: 0; min-height: 40px; }
.flash-help, .flash-total small { color: #4b667a; font-size: 13px; line-height: 1.7; margin: 10px 0; }
.flash-error { color: #a32828; line-height: 1.7; }
.flash-settings details { margin-top: 12px; }
.flash-settings summary { color: #006d68; cursor: pointer; padding: 6px 0; }
.flash-table-wrap { max-width: 100%; overflow-x: auto; margin-top: 16px; }
.flash-rule-table { min-width: 660px; font-variant-numeric: tabular-nums; }
.flash-rule-table small { display: block; color: #4b667a; margin-top: 4px; }
.flash-rule-table .flash-empty { padding: 22px 14px; text-align: left; color: #4b667a; white-space: normal; }
.flash-total { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-top: 12px; padding: 14px; border: 1px solid #c7e3e1; border-radius: 6px; background: #f1faf9; color: #1e5557; font-size: 13px; line-height: 1.6; }
.flash-total strong { font-size: 15px; font-variant-numeric: tabular-nums; }
.flash-total small { flex-basis: 100%; margin: 0; }
.flash-settings button:disabled { cursor: wait; opacity: .65; }
.flash-table-help { display: none; }
.profit-summary-grid.batch-profit-summary-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.batch-profit-summary-grid .profit-card { min-width: 0; }
.batch-profit-summary-grid .profit-card strong { overflow-wrap: anywhere; }
.flash-estimate-card span, .flash-estimate-card small { color: #4b667a; }
@media (min-width: 769px) and (max-width: 1200px) {
  .profit-summary-grid.batch-profit-summary-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .profit-summary-grid.batch-profit-summary-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .flash-settings .flash-form { gap: 12px; }
  .flash-settings .flash-form label, .flash-settings .flash-form .flash-product { flex-basis: calc(50% - 12px); }
  .flash-settings .flash-rule-form .flash-product { flex-basis: 100%; }
  .flash-settings .flash-form button { flex-basis: 100%; }
  .flash-total { gap: 6px; }
  .flash-total > * { flex-basis: 100%; }
  .flash-settings .flash-form select { font-size: 14px; }
  .flash-table-help { display: block; color: #4b667a; font-size: 13px; line-height: 1.6; margin-top: 10px; }
}
