/* The list occupies the actual workspace height; the editor keeps its original flow. */
#page-old-material-outbound.oo2-list-mode {
  padding: 8px 12px 0;
  background: #edf5f9;
  color: #23465b;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
}
#page-old-material-outbound.oo2-list-mode [data-home] { gap: 7px; }
#page-old-material-outbound.oo2-list-mode > [data-error] { flex: none; margin: 0 0 5px; }
#page-old-material-outbound.oo2-list-mode .oo2-list-controls {
  display: flex;
  flex-direction: column;
  flex: 0 1 auto;
  min-height: 0;
  max-height: 52%;
  gap: 8px;
  overflow: auto;
}
#page-old-material-outbound.oo2-list-mode .oo2-home-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: none;
  gap: 12px;
  padding: 0;
  background: transparent;
  color: #23465b;
}
#page-old-material-outbound.oo2-list-mode .oo2-home-heading h2 { margin: 0; font-size: 23px; line-height: 1.4; }
#page-old-material-outbound.oo2-list-mode .oo2-home-heading nav { margin: 0; gap: 8px; }
#page-old-material-outbound.oo2-list-mode .oo2-home-heading button { min-height: 34px; padding: 6px 12px; font-size: 15px; }
#page-old-material-outbound.oo2-list-mode .oo2-home-heading [data-action=new-exchange] { background: #147e9e; color: #fff; border-color: #147e9e; }
#page-old-material-outbound.oo2-list-mode .oo2-home-stock { flex: none; min-width: 0; padding: 7px 9px; border: 1px solid #c8dde8; border-radius: 6px; background: #fff; }
#page-old-material-outbound.oo2-list-mode .oo2-stock-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; min-width: 0; }
#page-old-material-outbound.oo2-list-mode .oo2-stock-heading strong { flex: none; font-size: 15px; }
#page-old-material-outbound.oo2-list-mode .oo2-stock-heading > span { color: #5b7484; font-size: 12px; }
#page-old-material-outbound.oo2-list-mode .oo2-stock-heading button { margin-left: auto; padding: 1px 5px; min-height: 24px; flex: none; font-size: 12px; background: #fff; }
#page-old-material-outbound.oo2-list-mode .oo2-stock-cards { display: grid; grid-template-columns: repeat(auto-fit,minmax(112px,1fr)); gap: 6px; font-size: 14px; }
#page-old-material-outbound.oo2-list-mode .oo2-stock-card { min-width: 0; padding: 5px 8px; background: #f1f7fa; border-radius: 4px; }
#page-old-material-outbound.oo2-list-mode .oo2-stock-card:first-child { background: #dff0f7; }
#page-old-material-outbound.oo2-list-mode .oo2-stock-card-name { color: #5b7484; font-size: 13px; overflow-wrap: anywhere; }
#page-old-material-outbound.oo2-list-mode .oo2-stock-card-name small { display: block; font-size: 11px; }
#page-old-material-outbound.oo2-list-mode .oo2-stock-card-value { display: flex; align-items: baseline; gap: 4px; min-width: 0; }
#page-old-material-outbound.oo2-list-mode .oo2-stock-card-value strong { font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
#page-old-material-outbound.oo2-list-mode .oo2-stock-card-value small { color: #5b7484; font-size: 12px; }
#page-old-material-outbound.oo2-list-mode .oo2-stock-reserved { color: #5b7484; font-size: 11px; overflow-wrap: anywhere; }
#page-old-material-outbound.oo2-list-mode .oo2-stock-empty { margin: 5px 0; color: #5b7484; }
#page-old-material-outbound.oo2-list-mode [data-stock-error] { margin: 5px 0 0; font-size: 13px; }
#page-old-material-outbound.oo2-list-mode .oo2-home-filters { display: grid; grid-template-columns: minmax(130px,1fr) minmax(130px,1fr) minmax(100px,.8fr) minmax(110px,.8fr) minmax(180px,1.7fr) auto; gap: 8px; align-items: end; flex: none; }
#page-old-material-outbound.oo2-list-mode .oo2-home-filters label { min-width: 0; align-items: stretch; gap: 3px; font-size: 12px; color: #5b7484; }
#page-old-material-outbound.oo2-list-mode .oo2-home-filters input,
#page-old-material-outbound.oo2-list-mode .oo2-home-filters select { min-width: 0; height: 34px; padding: 5px 7px; font-size: 14px; }
#page-old-material-outbound.oo2-list-mode .oo2-home-filters button { height: 34px; min-height: 34px; padding: 5px 13px; font-size: 14px; }
#page-old-material-outbound.oo2-list-mode .oo2-list-pane { min-height: 0; gap: 0; }
#page-old-material-outbound.oo2-list-mode .oo2-list-heading { display: flex; align-items: center; justify-content: space-between; flex: none; gap: 12px; margin-bottom: 5px; min-height: 20px; font-size: 14px; }
#page-old-material-outbound.oo2-list-mode .oo2-list-heading span { font-size: 12px; color: #5b7484; }
#page-old-material-outbound.oo2-list-mode .oo2-table { border-radius: 4px 4px 0 0; }
#page-old-material-outbound.oo2-list-mode .oo2-table table { min-width: max(100%,1170px) !important; width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; }
#page-old-material-outbound.oo2-list-mode .oo2-table th { padding: 9px 8px; background: #dff0f7; border: 0; border-bottom: 1px solid #c8dde8; font-size: 13px; text-align: left; }
#page-old-material-outbound.oo2-list-mode .oo2-table td { padding: 6px 8px; border: 0; border-bottom: 1px solid #d4e3ec; }
#page-old-material-outbound.oo2-list-mode .oo2-table tbody tr:nth-child(even) { background: #f3f8fb; }
#page-old-material-outbound.oo2-list-mode .oo2-table tbody tr:hover { background: #e1f0f7; }
#page-old-material-outbound.oo2-list-mode .oo2-table .oo2-number { text-align: right; font-variant-numeric: tabular-nums; }
#page-old-material-outbound.oo2-list-mode .oo2-document span { display: block; }
#page-old-material-outbound.oo2-list-mode .oo2-document small { display: block; font-size: 11px; color: #5b7484; margin-top: 1px; }
#page-old-material-outbound.oo2-list-mode .oo2-row-status { display: inline-block; padding: 3px 5px; border-radius: 4px; font-size: 12px; background: #eef1f4; color: #5b7484; }
#page-old-material-outbound.oo2-list-mode .oo2-row-status.is-confirmed { background: #e7f4ed; color: #24704f; }
#page-old-material-outbound.oo2-list-mode .oo2-row-link { border: 0; background: none; color: #147e9e; padding: 3px 2px; min-height: 26px; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
#page-old-material-outbound.oo2-list-mode .oo2-list-empty { text-align: center; padding: 32px 10px; color: #5b7484; }
#page-old-material-outbound.oo2-list-mode .oo2-totals { margin: 0 -12px; padding: 7px 12px 8px; border: 0; border-top: 1px solid #aac7d8; background: #dff0f7; }
#page-old-material-outbound.oo2-list-mode .oo2-totals-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; font-size: 13px; font-weight: 400; }
#page-old-material-outbound.oo2-list-mode .oo2-totals-title > span { color: #5b7484; font-size: 12px; }
#page-old-material-outbound.oo2-list-mode .oo2-totals-grid { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 4px 12px; }
#page-old-material-outbound.oo2-list-mode .oo2-totals-grid span { font-size: 12px; color: #5b7484; }
#page-old-material-outbound.oo2-list-mode .oo2-totals-grid strong { font-size: 21px; font-variant-numeric: tabular-nums; }
#page-old-material-outbound.oo2-list-mode .oo2-totals-note { margin-top: 3px; font-size: 11px; }
@media(max-width:1000px) {
  #page-old-material-outbound.oo2-list-mode .oo2-home-filters { grid-template-columns: repeat(4,minmax(0,1fr)); }
  #page-old-material-outbound.oo2-list-mode .oo2-filter-keyword { grid-column: 1/4; }
  #page-old-material-outbound.oo2-list-mode .oo2-stock-heading { flex-wrap: wrap; }
}
@media(max-width:600px) {
  #page-old-material-outbound.oo2-list-mode { padding-left: 8px; padding-right: 8px; }
  #page-old-material-outbound.oo2-list-mode .oo2-list-controls { max-height: 48%; }
  #page-old-material-outbound.oo2-list-mode .oo2-home-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
  #page-old-material-outbound.oo2-list-mode .oo2-home-heading h2 { font-size: 20px; }
  #page-old-material-outbound.oo2-list-mode .oo2-home-heading button { font-size: 13px; padding: 5px 8px; }
  #page-old-material-outbound.oo2-list-mode .oo2-stock-heading > span { order: 3; flex-basis: 100%; }
  #page-old-material-outbound.oo2-list-mode .oo2-stock-heading button { margin-left: auto; }
  #page-old-material-outbound.oo2-list-mode .oo2-stock-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #page-old-material-outbound.oo2-list-mode .oo2-home-filters { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #page-old-material-outbound.oo2-list-mode .oo2-filter-keyword { grid-column: 1/3; }
  #page-old-material-outbound.oo2-list-mode .oo2-home-filters > button { grid-column: 1/3; }
  #page-old-material-outbound.oo2-list-mode .oo2-list-heading { align-items: flex-start; gap: 4px; }
  #page-old-material-outbound.oo2-list-mode .oo2-list-heading span { text-align: right; }
  #page-old-material-outbound.oo2-list-mode .oo2-totals { margin-left: -8px; margin-right: -8px; padding-left: 8px; padding-right: 8px; }
  #page-old-material-outbound.oo2-list-mode .oo2-totals-title { flex-wrap: wrap; gap: 2px; }
  #page-old-material-outbound.oo2-list-mode .oo2-totals-grid { gap: 3px 7px; grid-template-columns: repeat(3,minmax(0,1fr)); }
  #page-old-material-outbound.oo2-list-mode .oo2-totals-grid strong { font-size: 17px; }
}
