.production-daily-root{
  font-family: "Microsoft YaHei", sans-serif;
  background: #f5f5f5;
  padding: 12px;
  margin: 0;
}.production-daily-root .top{
  background: #fff;
  padding: 10px 12px;
  border-radius: 4px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}.production-daily-root .title{
  font-size: 20px;
  font-weight: bold;
}.production-daily-root .top label{
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}.production-daily-root .top input[type="date"],.production-daily-root .top select{
  padding: 4px 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 13px;
}.production-daily-root .top button{
  padding: 5px 16px;
  background: #1890ff;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
}.production-daily-root .top button:hover{
  background: #40a9ff;
}.production-daily-root .top button.btn-refresh{
  background: #fff;
  color: #fa8c16;
  border: 1px solid #ffd591;
}.production-daily-root .top button.btn-refresh:hover{
  background: #fff7e6;
}.production-daily-root .top button:disabled{
  opacity: 0.55;
  cursor: not-allowed;
}.production-daily-root .top a{
  color: #1890ff;
  text-decoration: none;
  font-size: 13px;
}.production-daily-root .stat-bar{
  background: #fff;
  padding: 8px 12px;
  border-radius: 4px;
  margin-bottom: 10px;
  font-size: 12px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}.production-daily-root .stat-bar b{
  color: #1890ff;
}.production-daily-root .sched-info{
  color: #888;
}.production-daily-root .note{
  background: #fff7e6;
  border-left: 4px solid #faad14;
  padding: 8px 12px;
  margin-bottom: 10px;
  font-size: 12px;
}.production-daily-root .note:empty{
  display: none;
}.production-daily-root .sheet{
  background: #fff;
  padding: 10px 12px;
  border-radius: 4px;
  margin-bottom: 10px;
}.production-daily-root .sh{
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 2px solid #1890ff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}.production-daily-root .sh-tools{
  display: flex;
  gap: 8px;
}.production-daily-root .mini-btn{
  padding: 3px 10px;
  font-size: 12px;
  font-weight: normal;
  background: #fff;
  color: #1890ff;
  border: 1px solid #91d5ff;
  border-radius: 3px;
  cursor: pointer;
}.production-daily-root .mini-btn:hover{
  background: #e6f7ff;
}.production-daily-root .mini-btn.btn-export{
  margin-left: 6px;
  padding-left: 12px;
  border-radius: 0 3px 3px 0;
  background: #52c41a;
  border-color: #52c41a;
  
  border-left: 1px solid #d9d9d9;
  color: #fff;
  font-weight: bold;
}.production-daily-root .mini-btn.btn-export:hover{
  background: #73d13d;
  border-color: #73d13d;
}.production-daily-root .mini-btn.btn-export:disabled{
  background: #b7eb8f;
  border-color: #b7eb8f;
  color: #fff;
  cursor: wait;
}.production-daily-root .sheet-head{
  background: #fafafa;
  padding: 6px 10px;
  margin-bottom: 8px;
  border: 1px solid #e8e8e8;
  font-size: 12px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}.production-daily-root .sheet-head span{
  white-space: nowrap;
}.production-daily-root table{
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}.production-daily-root table.compact{
  table-layout: fixed;
}.production-daily-root thead{
  background: #fafafa;
}.production-daily-root th,.production-daily-root td{
  border: 1px solid #e8e8e8;
  padding: 3px 4px;
  text-align: center;
  word-break: break-all;
  overflow-wrap: anywhere;
}.production-daily-root th{
  font-weight: bold;
  background: #f5f5f5;
  font-size: 11px;
  line-height: 1.3;
}.production-daily-root th.grp-base{ background: #f0f0f0; }.production-daily-root th.grp-prod{ background: #e6f7ff; color: #0958a8; }.production-daily-root th.grp-quality{ background: #fff7e6; color: #a8600a; }.production-daily-root td{
  background: #fff;
  line-height: 1.35;
}.production-daily-root tfoot td{
  background: #fafafa;
  font-weight: bold;
}.production-daily-root .footnote{
  font-size: 11px;
  color: #999;
  padding: 8px 10px;
  background: #fff;
  border-radius: 4px;
  line-height: 1.6;
}.production-daily-root td.link{
  color: #1890ff;
  cursor: pointer;
  text-decoration: underline;
}.production-daily-root td.link:hover{
  background: #e6f7ff;
}.production-daily-root td.link.zero{
  color: #bfbfbf;
  text-decoration: none;
  cursor: default;
}.production-daily-root td.link.zero:hover{
  background: #fff;
}.production-daily-root td.link.dash{
  color: #d48806;
  text-decoration: underline dashed;
  cursor: help;
}.production-daily-root td.link.dash:hover{
  background: #fffbe6;
}.production-daily-root td.src-mes{
  background: #fff7e6;
}.production-daily-root td.src-nondate{
  background: #fff1f0;
  color: #a8071a;
  font-weight: 600;
}.production-daily-root td.src-nearest{
  background: #e6f4ff;
}.production-daily-root .nearest-mark{
  margin-left: 2px;
  color: #1890ff;
  font-weight: 700;
  cursor: help;
}.production-daily-root td.src-capped{
  background: #fffbe6;
}.production-daily-root .cap-mark{
  margin-left: 3px;
  color: #7cb305;
  font-weight: 700;
  cursor: help;
}.production-daily-root .chg-mark{
  margin-left: 3px;
  color: #d46b08;
  font-weight: 700;
  cursor: pointer;
}.production-daily-root .chg-mark:hover{
  color: #ad4e00;
  text-decoration: underline;
}.production-daily-root .modal-chg-box{
  width: 96vw;
  max-width: 1080px;
}.production-daily-root .chg-note{
  font-size: 13px;
  line-height: 1.7;
  padding: 6px 2px 10px;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 8px;
}.production-daily-root .chg-note .chg-latest{
  color: #cf1322;
}.production-daily-root .chg-src{
  font-size: 11px;
  color: #8c8c8c;
  margin-top: 4px;
}.production-daily-root tr.chg-row-latest td{
  background: #f6ffed;
  font-weight: 600;
}.production-daily-root tr.chg-row-latest td:first-child{
  border-left: 3px solid #52c41a;
}.production-daily-root .chg-tag{
  display: inline-block;
  margin-left: 5px;
  padding: 0 5px;
  font-size: 10px;
  font-weight: normal;
  line-height: 1.5;
  color: #fff;
  background: #52c41a;
  border-radius: 2px;
  vertical-align: middle;
}.production-daily-root tr.chg-qty-diff .chg-qty{
  color: #cf1322;
}.production-daily-root .chg-qty{
  text-align: right;
  font-variant-numeric: tabular-nums;
}.production-daily-root tr.plan-only td{
  background: #fafafa;
  color: #999;
}.production-daily-root tr.plan-only td.info-cell{
  background: #fafafa;
}.production-daily-root tr.plan-only td.link{
  color: #bfbfbf;
  text-decoration: none;
  cursor: default;
}.production-daily-root tr.plan-only td.link[data-link="histbad"]{
  color: #1890ff;
  text-decoration: underline;
  cursor: pointer;
}.production-daily-root tr.plan-only td.link[data-link="histbad"].dash{
  color: #d48806;
  text-decoration: underline dashed;
  cursor: help;
}.production-daily-root tr.plan-only td.link[data-link="receipts"],.production-daily-root td.link[data-link="receipts"]{
  color: #1677c8;
  text-decoration: underline;
  cursor: pointer;
}.production-daily-root td.link[data-link="receipts"]:focus-visible{
  outline: 2px solid #1890ff;
  outline-offset: -3px;
}.production-daily-root .po-badge{
  display: inline-block;
  background: #fa8c16;
  color: #fff;
  font-size: 10px;
  line-height: 1.4;
  padding: 0 4px;
  border-radius: 2px;
  margin-right: 4px;
  vertical-align: middle;
  flex: 0 0 auto;
}.production-daily-root .status-done{ background:#52c41a; }.production-daily-root .status-running{ background:#1890ff; animation: productionStatusPulse 1.2s ease-in-out infinite; }.production-daily-root .status-planned{ background:#fa8c16; }.production-daily-root .po-badge.status-stopped{ background:#cf1322; border:1px solid #a8071a; font:inherit; font-size:10px; line-height:1.4; cursor:pointer; }.production-daily-root .po-badge.status-stopped:hover{ background:#a8071a; }.production-daily-root .po-badge.status-stopped:focus-visible{ outline:2px solid #cf1322; outline-offset:2px; }@keyframes productionStatusPulse{ 0%,100% { opacity:1; } 50% { opacity:.35; } }.production-daily-root .top label.chk{
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #555;
  cursor: pointer;
}.production-daily-root .top label.chk input{
  cursor: pointer;
}.production-daily-root td.info-cell{
  text-align: left;
  padding: 2px 5px;
  vertical-align: middle;
  line-height: 1.25;
  cursor: pointer;
}.production-daily-root td.info-cell:active{
  background: #e6f7ff;
}.production-daily-root .modal-info-box{
  width: 92vw;
  max-width: 620px;
}.production-daily-root table.info-detail{
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  table-layout: fixed;
}.production-daily-root table.info-detail th{
  width: 34%;
  text-align: left;
  background: #fafafa;
  font-weight: bold;
  padding: 8px 10px;
  border: 1px solid #e8e8e8;
  vertical-align: top;
  color: #555;
}.production-daily-root table.info-detail td{
  text-align: left;
  padding: 8px 10px;
  border: 1px solid #e8e8e8;
  background: #fff;
  
  word-break: break-all;
  white-space: normal;
  overflow-wrap: anywhere;
}.production-daily-root table.info-detail .workorder-remark-detail td{ white-space:pre-wrap; color:#a8071a; background:#fff1f0; }.production-daily-root .info-line{
  display: block;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}.production-daily-root .info-line1{
  display: flex;
  gap: 3px;
  align-items: baseline;
  white-space: normal;
  overflow: visible;
}.production-daily-root .info-line1 .info-wo{
  font-weight: bold;
  color: #1a1a1a;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  flex: 1 1 auto;
  min-width: 0;
}.production-daily-root .info-mat{
  color: #555;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}.production-daily-root .info-name{
  color: #333;
  font-size: 11px;
}.production-daily-root .info-spec{
  color: #777;
  font-size: 11px;
}.production-daily-root .analysis .kpi-cards{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}.production-daily-root .kpi-card{
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  padding: 8px 10px;
  background: #fafafa;
}.production-daily-root .kpi-card .k-label{
  font-size: 11px;
  color: #888;
  margin-bottom: 4px;
}.production-daily-root .kpi-card .k-value{
  font-size: 20px;
  font-weight: bold;
  color: #1a1a1a;
  line-height: 1.2;
}.production-daily-root .kpi-card .k-sub{
  font-size: 11px;
  color: #999;
  margin-top: 2px;
}.production-daily-root .kpi-card.warn .k-value{ color: #d4380d; }.production-daily-root .kpi-card.good .k-value{ color: #237804; }.production-daily-root .top3-strip{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 8px 10px;
  margin-bottom: 12px;
  background: #fff1f0;
  border: 1px solid #ffa39e;
  border-left: 4px solid #d4380d;
  border-radius: 4px;
  font-size: 12px;
}.production-daily-root .top3-strip .t3-title{
  font-weight: bold;
  color: #a8071a;
  margin-right: 4px;
}.production-daily-root .top3-strip .t3-item{
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fff;
  border: 1px solid #ffa39e;
  border-radius: 12px;
  padding: 2px 10px 2px 3px;
}.production-daily-root .top3-strip .t3-rank{
  background: #d4380d;
  color: #fff;
  border-radius: 10px;
  padding: 1px 7px;
  font-size: 11px;
  line-height: 1.5;
}.production-daily-root .top3-strip .t3-name{
  color: #333;
  max-width: 150px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}.production-daily-root .top3-strip .t3-qty{
  font-weight: bold;
  color: #a8071a;
  font-size: 14px;
}.production-daily-root .top3-strip .t3-pct{
  color: #888;
  font-size: 11px;
}.production-daily-root .analysis-scope{
  font-size: 12px;
  font-weight: normal;
  color: #888;
}.production-daily-root .chart-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}.production-daily-root .chart-panel{
  min-width: 0;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  padding: 6px;
  background: #fff;
}.production-daily-root .chart-box{
  width: 100%;
  height: 320px;
}.production-daily-root .chart-grid.has-exception #panelException{ grid-column: 1 / -1; }@media (min-width: 1600px){.production-daily-root .chart-grid.has-exception{ grid-template-columns: repeat(3, minmax(0, 1fr)); }.production-daily-root .chart-grid.has-exception #panelException{ grid-column: auto; }
}@media (max-width: 1000px){.production-daily-root .chart-grid{ grid-template-columns: minmax(0, 1fr); } }.production-daily-root .quality-trend-tools{ display: flex; align-items: flex-start; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }.production-daily-root .quality-trend-heading > div:first-child{ min-width: 0; }.production-daily-root .quality-project-picker{ position: relative; max-width: 100%; }.production-daily-root #dailyQualityProjectToggle{ max-width: 290px; display: flex; align-items: center; gap: 7px; }.production-daily-root #dailyQualityProjectLabel{ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.production-daily-root .quality-project-menu{ position: absolute; top: calc(100% + 7px); right: 0; z-index: 12; width: 365px; max-width: calc(100vw - 54px); border: 1px solid #cbdcee; border-radius: 6px; background: #fff; box-shadow: 0 6px 22px #23496d24; color: #335775; padding: 13px; box-sizing: border-box; }.production-daily-root .quality-project-menu[hidden]{ display: none; }.production-daily-root .quality-project-menu.is-above{ top: auto; bottom: calc(100% + 7px); }.production-daily-root .quality-project-menu-heading{ display: flex; justify-content: space-between; gap: 8px; margin-bottom: 10px; font-size: 12px; }.production-daily-root .quality-project-menu-heading > span{ font-size: 11px; color: #8192a6; }.production-daily-root .quality-project-bulk{ display: flex; gap: 7px; align-items: center; padding-bottom: 10px; border-bottom: 1px solid #e6edf5; }.production-daily-root .quality-project-bulk > span{ font-size: 11px; color: #8192a6; }.production-daily-root .quality-project-bulk button{ padding: 4px 9px; }.production-daily-root .quality-project-choices{ max-height: 270px; overflow: auto; padding: 6px 0; overscroll-behavior: contain; }.production-daily-root .quality-project-choices label{ display: flex; align-items: flex-start; gap: 8px; padding: 9px 4px; font-size: 12px; line-height: 1.6; cursor: pointer; border-bottom: 1px solid #f2f5f8; }.production-daily-root .quality-project-choices label:hover{ background: #f5f9ff; }.production-daily-root .quality-project-choices input{ margin: 3px 0 0; flex: 0 0 auto; accent-color: #4c80b9; }.production-daily-root .quality-project-name{ flex: 1 1 auto; overflow-wrap: anywhere; }.production-daily-root .quality-project-count{ flex: 0 0 auto; font-variant-numeric: tabular-nums; color: #4776a6; padding-left: 6px; }.production-daily-root .quality-project-actions{ display: flex; justify-content: flex-end; gap: 8px; padding-top: 10px; border-top: 1px solid #e6edf5; }.production-daily-root .quality-trend-heading .quality-project-apply{ background: #417ebc; color: #fff; border-color: #417ebc; }@media (max-width: 650px){.production-daily-root .quality-trend-tools{ width: 100%; justify-content: flex-start; position: relative; }.production-daily-root .quality-project-picker{ position: static; }.production-daily-root .quality-project-menu{ top: calc(100% + 7px); right: 0; left: auto; max-width: 100%; } }.production-daily-root .quality-trend-panel{grid-column:1/-1;padding:16px;min-width:0}.production-daily-root .quality-trend-heading{display:flex;align-items:start;justify-content:space-between;gap:16px}.production-daily-root .quality-trend-heading h3{margin:0 0 7px;font-size:16px;color:#28527a}.production-daily-root .quality-trend-heading p{font-size:12px;color:#798fa8;line-height:1.8;margin:0}.production-daily-root .quality-trend-heading button{border:1px solid #cbdcee;border-radius:4px;background:#f1f7ff;color:#4776a6;font-size:12px;padding:7px 12px;white-space:nowrap;cursor:pointer}.production-daily-root .quality-trend-heading button:disabled{opacity:.55;cursor:not-allowed}.production-daily-root .quality-trend-notice{font-size:11px;color:#8294a9;line-height:1.9;background:#f5f8fc;border-radius:4px;padding:10px 12px;margin:13px 0 9px}.production-daily-root .quality-trend-status{font-size:12px;color:#6b829f;line-height:1.9;margin:8px 0}.production-daily-root .quality-trend-summary{font-size:12px;color:#607d9e;line-height:1.9;margin:9px 0 14px}.production-daily-root .quality-trend-summary:empty{display:none}.production-daily-root .quality-trend-chart{height:340px}.production-daily-root .quality-trend-details{border-top:1px solid #e5edf5;margin-top:12px;font-size:12px;color:#7890af}.production-daily-root .quality-trend-details>summary{padding:12px 0;cursor:pointer}.production-daily-root .quality-trend-table-wrap{overflow:auto;max-height:380px}.production-daily-root .quality-trend-table{table-layout:auto;width:100%;min-width:730px;border-collapse:collapse;font-size:11px}.production-daily-root .quality-trend-table caption{text-align:left;color:#8a9db5;font-size:10px;padding-bottom:9px}.production-daily-root .quality-trend-table th{position:sticky;top:0;z-index:1;background:#f0f6fd;color:#6e8cad;white-space:nowrap}.production-daily-root .quality-trend-table th,.production-daily-root .quality-trend-table td{padding:9px 11px;text-align:left;line-height:1.8;border:1px solid #e2eaf4;overflow-wrap:anywhere}.production-daily-root .quality-trend-table td{color:#748ba6}.production-daily-root .quality-trend-heading button:focus-visible,.production-daily-root .quality-trend-details>summary:focus-visible,.production-daily-root .quality-trend-table-wrap:focus-visible{outline:2px solid #6da5dc;outline-offset:3px}@media(max-width:650px){.production-daily-root .quality-trend-panel{padding:12px}.production-daily-root .quality-trend-heading{flex-wrap:wrap;gap:10px}.production-daily-root .quality-trend-heading h3{font-size:15px}.production-daily-root .quality-trend-chart{height:320px}.production-daily-root .quality-trend-heading p{font-size:11px}.production-daily-root .chart-grid{grid-template-columns:minmax(0,1fr)}}.production-daily-root .chart-empty{
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 13px;
}.production-daily-root .modal-mask{
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}.production-daily-root .modal-mask.open{
  display: flex;
}.production-daily-root .modal-box{
  background: #fff;
  border-radius: 6px;
  width: 92vw;
  max-width: 1400px;
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}.production-daily-root .modal-head{
  padding: 10px 14px;
  border-bottom: 2px solid #1890ff;
  font-size: 15px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}.production-daily-root .modal-close{
  background: none;
  border: none;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: #999;
  padding: 0 4px;
}.production-daily-root .modal-close:hover{
  color: #333;
}.production-daily-root #modal-bad .modal-head{ gap: 12px; flex-wrap: wrap; }.production-daily-root #modal-bad-title{ flex: 1; overflow-wrap: anywhere; }.production-daily-root .bad-stage-switch{ display: flex; gap: 4px; flex-wrap: wrap; }.production-daily-root .bad-stage-button{
  padding: 6px 12px;
  border: 1px solid #c7d5e4;
  border-radius: 4px;
  background: #fff;
  color: #41556b;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}.production-daily-root .bad-stage-button:hover{ background: #f0f7ff; }.production-daily-root .bad-stage-button.active{ border-color: #1890ff; background: #e6f4ff; color: #1265a8; }.production-daily-root .bad-stage-button:focus-visible{ outline: 2px solid #1890ff; outline-offset: 2px; }.production-daily-root .modal-body{
  padding: 10px 14px;
  overflow: auto;
  flex: 1;
  min-height: 0;
  overscroll-behavior: contain;
}.production-daily-root .modal-body table{
  table-layout: auto;
}.production-daily-root .modal-sub{
  margin-top: 14px;
}.production-daily-root .bad-group-head th{ background:#e6f4ff; color:#0958a8; font-weight:700; text-align:center; }.production-daily-root #t3 .bad-row.has-qms-analysis td.bad-analysis{ background:#fff7e6; color:#874d00; }.production-daily-root #t3 .bad-row.mes-only td.bad-analysis{ background:#fafafa; color:#999; }.production-daily-root #t3 .bad-row td.bad-mes{ background:#f6fbff; }.production-daily-root .bad-analysis{ margin-top:16px; padding-top:12px; border-top:1px solid #d9e3ef; }.production-daily-root .bad-analysis-title{ font-weight:700; color:#17365d; margin-bottom:10px; }.production-daily-root .bad-analysis-grid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }.production-daily-root .bad-analysis-card{ border:1px solid #d9e3ef; border-radius:6px; padding:10px; background:#fff; }.production-daily-root .bad-analysis-card h4{ margin:0 0 9px; color:#38516d; font-size:14px; }.production-daily-root .analysis-bar{ display:grid; grid-template-columns:1.2fr 2fr 35px; align-items:center; gap:6px; margin:7px 0; font-size:12px; }.production-daily-root .analysis-bar span{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.production-daily-root .analysis-bar i{ height:9px; background:#edf2f7; border-radius:5px; overflow:hidden; }.production-daily-root .analysis-bar b{ display:block; height:100%; border-radius:5px; }.production-daily-root .bar-phenomenon{ background:#409eff; }.production-daily-root .bar-reason{ background:#fa8c16; }.production-daily-root .bar-dept{ background:#722ed1; }.production-daily-root .analysis-bar em{ font-style:normal; text-align:right; color:#555; }@media(max-width:900px){.production-daily-root .bad-analysis-grid{grid-template-columns:1fr}.production-daily-root .bad-analysis-card{min-height:80px}}.production-daily-root .sub-title{
  font-size: 13px;
  font-weight: bold;
  margin-bottom: 6px;
  padding-left: 6px;
  border-left: 3px solid #1890ff;
}.production-daily-root .modal-empty{
  padding: 24px;
  text-align: center;
  color: #999;
  font-size: 13px;
}.production-daily-root .modal-receipts-box{ max-width: 1000px; }.production-daily-root .receipt-static{ padding: 12px; border: 1px solid #d9e3ef; border-radius: 6px; background: #f6f9fc; }.production-daily-root .receipt-static-values{ display: flex; flex-wrap: wrap; gap: 10px 28px; color: #263e56; }.production-daily-root .receipt-static-values strong{ color: #17365d; }.production-daily-root .receipt-static p{ margin: 7px 0 0; color: #60758a; font-size: 12px; }.production-daily-root .receipt-latest-summary{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 14px 0; }.production-daily-root .receipt-latest-summary:empty{ display: none; }.production-daily-root .receipt-latest-summary > div{ padding: 13px; border: 1px solid #b9dcf7; border-radius: 6px; background: #f0f8ff; }.production-daily-root .receipt-latest-summary span{ display: block; color: #526a82; font-size: 13px; margin-bottom: 7px; }.production-daily-root .receipt-latest-summary strong{ display: block; color: #1265a8; font-size: 24px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }.production-daily-root .receipt-latest-summary strong.receipt-date{ font-size: 18px; padding-top: 4px; }.production-daily-root .receipt-latest-summary small{ font-weight: normal; font-size: 12px; }.production-daily-root .receipt-status{ margin: 12px 0; color: #60758a; font-size: 13px; }.production-daily-root .receipt-status.receipt-error{ color: #bf351f; }.production-daily-root .receipt-retry{ margin-bottom: 12px; }.production-daily-root .receipt-retry[hidden]{ display: none; }.production-daily-root .receipt-detail th,.production-daily-root .receipt-detail td{ padding: 9px 12px; }.production-daily-root .receipt-detail td:last-child{ text-align: right; font-variant-numeric: tabular-nums; }@media (max-width: 680px){.production-daily-root .receipt-latest-summary{ grid-template-columns: 1fr; gap: 8px; }.production-daily-root .modal-receipts-box .modal-head{ flex-wrap: wrap; gap: 8px; }.production-daily-root #modal-receipts-title{ overflow-wrap: anywhere; }
}.production-daily-root .receipt-detail-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;}
.production-daily-root .receipt-detail{min-width:680px;width:100%;}
.production-daily-root .receipt-detail th,.production-daily-root .receipt-detail td{white-space:nowrap;}
.production-daily-root .receipt-entry-time{font-variant-numeric:tabular-nums;}
.production-daily-root td.rate-miss{
  color: #cf1322;
  background: #fff1f0;
  font-weight: 600;
}.production-daily-root td.rate-miss:hover{
  background: #ffccc7;
}.production-daily-root td.link.bad-red{
  color: #cf1322;
  font-weight: 600;
}.production-daily-root td.link.bad-red:hover{
  background: #fff1f0;
}.production-daily-root tr.plan-only td.link.bad-red,.production-daily-root tr.plan-only td.link[data-link="histbad"].bad-red{
  color: #cf1322;
}.production-daily-root .mini-link{
  font-size: 12px;
  padding: 2px 9px;
  border: 1px solid #1890ff;
  border-radius: 4px;
  background: #fff;
  color: #1890ff;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1.5;
}.production-daily-root .mini-link:hover{
  background: #1890ff;
  color: #fff;
}.production-daily-root .modal-head .mh-spacer{
  flex: 1;
}.production-daily-root .modal-head .modal-op{
  font-size: 13px;
  font-weight: normal;
  padding: 4px 12px;
  margin-right: 10px;
  border: 1px solid #52c41a;
  border-radius: 5px;
  background: #52c41a;
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
}.production-daily-root .modal-head .modal-op:hover{
  background: #73d13d;
  border-color: #73d13d;
}.production-daily-root .modal-head .modal-op:disabled{
  background: #f5f5f5;
  border-color: #d9d9d9;
  color: #bfbfbf;
  cursor: not-allowed;
}.production-daily-root .bad-qms-link{display:block;width:100%;border:0;background:transparent;padding:0;color:inherit;text-align:left;font:inherit;line-height:1.65;cursor:pointer;text-decoration:underline;text-decoration-style:dotted;text-underline-offset:3px;white-space:normal;word-break:break-word}.production-daily-root .bad-qms-link:hover{color:#1265a8;background:#eff7ff}.production-daily-root .bad-qms-link:focus-visible{outline:2px solid #1890ff;outline-offset:3px;border-radius:2px}.production-daily-root .qms-open-mark{display:inline-block;margin-left:5px;color:#6f98c1;font-size:10px;text-decoration:none}.production-daily-root .qms-missing-analysis{color:#7c98b5;font-size:11px}.production-daily-root #modal-qms-repair{z-index:2500}.production-daily-root .modal-qms-repair-box{max-width:1360px}.production-daily-root .modal-qms-repair-box .modal-head{gap:10px;flex-wrap:wrap}.production-daily-root #modal-qms-repair-title{overflow-wrap:anywhere}.production-daily-root .qms-repair-notice{padding:11px 14px;border:1px solid #e8d3a1;background:#fff9ea;border-radius:5px;color:#8b672e;font-size:12px;line-height:1.9;margin-bottom:15px}.production-daily-root .qms-repair-snapshot{padding:15px 17px;border:1px solid #d9e3ef;border-radius:6px;background:#f7f9fc}.production-daily-root .qms-snapshot-caption{font-weight:700;color:#506d8c;font-size:13px;display:flex;gap:12px;align-items:center}.production-daily-root .qms-snapshot-caption>span{font-weight:400;color:#8c9cb1;font-size:11px}.production-daily-root .qms-project-scope{display:flex;flex-wrap:wrap;gap:10px 24px;margin:12px 0 14px;color:#6e839a;font-size:12px}.production-daily-root .qms-project-scope strong{font-weight:600;color:#416287}.production-daily-root .qms-snapshot-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0}.production-daily-root .qms-snapshot-fields dt{font-size:10px;color:#91a2b7;margin-bottom:5px}.production-daily-root .qms-snapshot-fields dd{margin:0;font-size:12px;color:#68809a;line-height:1.9;word-break:break-word}.production-daily-root .qms-snapshot-time{font-size:10px;color:#9aabbe;margin:12px 0 0}.production-daily-root .qms-latest-heading{font-size:14px;color:#46688d;margin:23px 0 8px}.production-daily-root .qms-repair-status{font-size:12px;color:#7b90a9;line-height:1.9;margin:10px 0}.production-daily-root .qms-repair-status.qms-repair-error{color:#c14d3f}.production-daily-root .qms-repair-retry{margin:0 0 12px}.production-daily-root .qms-repair-retry[hidden]{display:none}.production-daily-root .qms-repair-table-wrap{overflow:auto}.production-daily-root .qms-repair-table{min-width:1030px;table-layout:auto}.production-daily-root .qms-repair-table th,.production-daily-root .qms-repair-table td{padding:10px 11px;text-align:left;font-size:12px;line-height:1.8;vertical-align:top}.production-daily-root .qms-repair-table th{white-space:nowrap;background:#edf5ff;color:#4e77a2;font-size:11px}.production-daily-root .qms-repair-table td{color:#647d99;white-space:normal;word-break:break-word}.production-daily-root .qms-repair-table td small{display:block;color:#9aaabd;font-size:10px;margin-top:4px}.production-daily-root .qms-repair-table .qms-repair-cause{min-width:155px;color:#4c6d94}.production-daily-root .qms-repair-table .qms-repair-quantity{text-align:right;white-space:nowrap;color:#4f6d8b;font-variant-numeric:tabular-nums}.production-daily-root .qms-latest-footnote{font-size:11px;color:#9aaabd;line-height:1.9;margin:13px 0 0}@media(max-width:800px){.production-daily-root .qms-snapshot-fields{grid-template-columns:1fr}.production-daily-root .qms-repair-snapshot{padding:13px}.production-daily-root .modal-qms-repair-box .modal-head{align-items:center}.production-daily-root .modal-qms-repair-box .modal-head .modal-op{margin-left:0}.production-daily-root .qms-repair-table{min-width:1000px}.production-daily-root .qms-project-scope{gap:8px}}.production-daily-root .line-picker{display:flex;align-items:center;gap:6px;font-size:13px}.production-daily-root .line-picker-control{position:relative}.production-daily-root .top .line-picker-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:130px;max-width:275px;padding:5px 9px;color:#384d66;background:#fff;border:1px solid #ddd;border-radius:4px;text-align:left}.production-daily-root .top .line-picker-toggle:hover{background:#f5f9ff;border-color:#8bb5e9}.production-daily-root #lineFilterLabel{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.production-daily-root .line-picker-menu{position:absolute;left:0;top:calc(100% + 7px);z-index:2100;width:295px;max-width:calc(100vw - 40px);border:1px solid #dce5f1;border-radius:8px;background:#fff;box-shadow:0 10px 32px #193d6522;padding:13px}.production-daily-root .line-picker-menu[hidden]{display:none}.production-daily-root .line-picker-actions{display:flex;align-items:center;gap:10px;padding-bottom:10px;border-bottom:1px solid #edf1f7}.production-daily-root .line-picker-actions strong{font-size:12px;color:#607b9b;margin-right:auto}.production-daily-root .top .line-picker-actions button{padding:3px 5px;background:none;color:#4f83c3;font-size:11px}.production-daily-root .top .line-picker-actions button:hover{background:#eef5ff}.production-daily-root .line-picker-choices{display:grid;grid-template-columns:1fr 1fr;gap:7px;max-height:245px;overflow:auto;padding:12px 0}.production-daily-root .top .line-picker-choices label{display:flex;align-items:center;gap:7px;padding:7px 6px;border-radius:5px;color:#617c9c;font-size:12px;line-height:1.6;cursor:pointer;background:#f6f9fd}.production-daily-root .line-picker-choices input{width:14px;height:14px;margin:0;accent-color:#2980d8;flex-shrink:0}.production-daily-root .line-picker-choices label:has(input:checked){background:#eaf3ff;color:#306eb7}.production-daily-root .line-picker-menu>p{font-size:10px;color:#98a7b9;line-height:1.8;margin:3px 0 12px}.production-daily-root .line-picker-footer{display:flex;justify-content:flex-end;gap:9px;border-top:1px solid #edf1f7;padding-top:11px}.production-daily-root .top .line-picker-footer button{font-size:12px;padding:5px 13px}.production-daily-root .top .line-picker-footer button.line-picker-cancel{background:#f3f6fa;color:#8397b1}.production-daily-root .line-picker-toggle:focus-visible,.production-daily-root .line-picker-choices input:focus-visible{outline:2px solid #7db4ed;outline-offset:2px}.production-daily-root .bad-action-source{display:block;width:max-content;color:#287b60;background:#eef8f2;border-radius:3px;padding:2px 6px;font-size:10px;line-height:1.6;margin-bottom:5px}.production-daily-root .bad-closure-analysis{text-align:left;white-space:normal;line-height:1.7}.production-daily-root .bad-closure-action{overflow-wrap:anywhere;white-space:normal}.production-daily-root .bad-closure-action+ .bad-closure-action{border-top:1px solid #e3ede8;margin-top:5px;padding-top:5px}.production-daily-root .bad-closure-action>strong{font-weight:600;color:#356c59}.production-daily-root .bad-action-execution{display:flex;flex-wrap:wrap;gap:3px 16px;margin-top:5px;padding-top:4px;color:#536d64;font-size:11px}.production-daily-root .bad-action-execution>span{overflow-wrap:anywhere}.production-daily-root .bad-qms-refreshed{display:block;width:max-content;max-width:100%;font-size:10px;line-height:1.6;margin-bottom:3px;padding:1px 5px;color:#426b96;background:#edf4fc;border-radius:3px}.production-daily-root .historical-uph-target{display:block;margin-top:3px;font-size:11px;color:#547aa4;white-space:nowrap}.production-daily-root .status-reported{background:#e9f0f8;color:#426281;animation:none}.production-daily-root .uph-insufficient{color:#a07941;font-size:12px}.production-daily-root .historical-uph-target{white-space:normal;line-height:1.45}.production-daily-root .uph-history-button{display:inline-block;margin:0;padding:0;border:0;background:transparent;color:#497bb3;font:inherit;line-height:inherit;white-space:nowrap;cursor:pointer}.production-daily-root .uph-history-button.uph-insufficient{color:#a07941}.production-daily-root .uph-history-button:hover{text-decoration:underline}.production-daily-root .uph-history-button:focus-visible{outline:2px solid #4787c7;outline-offset:3px}.production-daily-root .modal-uph-history-box{width:1100px;max-width:calc(100vw - 32px)}.production-daily-root .uph-history-summary{line-height:1.8;font-size:13px;color:#45617e}.production-daily-root .uph-history-warning{color:#9b6d2e}.production-daily-root .uph-history-table-wrap{overflow:auto}.production-daily-root .uph-history-table{min-width:950px}.production-daily-root .uph-history-table th,.production-daily-root .uph-history-table td{white-space:nowrap;padding:8px 10px}
.production-history-root *{ box-sizing: border-box; }.production-history-root,.production-history-root{
  margin: 0;
  padding: 0;
  background: #f0f2f5;
  color: #1a1a1a;
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
  
  font-size: 22px;
  line-height: 1.6;
}.production-history-root .top{
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 16px 26px;
  background: #001529;
  color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
}.production-history-root .top .title{
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 1px;
}.production-history-root .top .wo{
  font-size: 24px;
  padding: 4px 14px;
  background: #1890ff;
  border-radius: 6px;
  font-family: Consolas, "Courier New", monospace;
  word-break: break-all;
}.production-history-root .top .spacer{ flex: 1; }.production-history-root .top button,.production-history-root .top a{
  font-size: 20px;
  padding: 8px 20px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 6px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.4;
}.production-history-root .top button:hover,.production-history-root .top a:hover{ background: rgba(255, 255, 255, .18); }.production-history-root .facts{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 18px 26px;
  background: #fff;
  border-bottom: 3px solid #e8e8e8;
}.production-history-root .facts .f{
  padding: 8px 18px;
  background: #f5f7fa;
  border-left: 6px solid #1890ff;
  border-radius: 4px;
  font-size: 22px;
}.production-history-root .facts .f b{
  display: inline-block;
  margin-left: 6px;
  font-size: 24px;
  color: #0050b3;
  font-family: Consolas, "Courier New", monospace;
}.production-history-root .note{
  margin: 18px 26px;
  padding: 18px 24px;
  border-radius: 8px;
  font-size: 23px;
  line-height: 1.7;
}.production-history-root .note.err{
  background: #fff1f0;
  border: 2px solid #ffa39e;
  color: #a8071a;
}.production-history-root .note.warn{
  background: #fffbe6;
  border: 2px solid #ffe58f;
  color: #874d00;
}.production-history-root .note.ok{
  background: #f6ffed;
  border: 2px solid #b7eb8f;
  color: #135200;
}.production-history-root .tabs{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 18px 26px 0;
}.production-history-root .tabs button{
  font-size: 23px;
  padding: 12px 28px;
  border: 2px solid #d9d9d9;
  border-radius: 30px;
  background: #fff;
  color: #595959;
  cursor: pointer;
  line-height: 1.4;
}.production-history-root .tabs button.on{
  background: #1890ff;
  border-color: #1890ff;
  color: #fff;
  font-weight: 700;
}.production-history-root .tabs button .n{
  display: inline-block;
  margin-left: 8px;
  padding: 0 10px;
  border-radius: 20px;
  background: rgba(0, 0, 0, .08);
  font-size: 20px;
}.production-history-root .tabs button.on .n{ background: rgba(255, 255, 255, .28); }.production-history-root .cards{ padding: 20px 26px 30px; }.production-history-root .card{
  margin-bottom: 22px;
  background: #fff;
  border-radius: 10px;
  border-left: 10px solid #1890ff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
  overflow: hidden;
}.production-history-root .card.t-ks{ border-left-color: #fa541c; }.production-history-root .card.t-qa{ border-left-color: #722ed1; }.production-history-root .card.t-sc{ border-left-color: #1890ff; }.production-history-root .card .hd{
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px 22px;
  background: #fafafa;
  border-bottom: 1px solid #f0f0f0;
}.production-history-root .card .hd .idx{
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  background: #1890ff;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}.production-history-root .card.t-ks .hd .idx{ background: #fa541c; }.production-history-root .card.t-qa .hd .idx{ background: #722ed1; }.production-history-root .card .hd .tag{
  font-size: 21px;
  padding: 3px 14px;
  border-radius: 4px;
  background: #e6f7ff;
  color: #0050b3;
  font-weight: 700;
}.production-history-root .card.t-ks .hd .tag{ background: #fff2e8; color: #ad2102; }.production-history-root .card.t-qa .hd .tag{ background: #f9f0ff; color: #391085; }.production-history-root .card .hd .meta{
  font-size: 20px;
  color: #8c8c8c;
  font-family: Consolas, "Courier New", monospace;
}.production-history-root .card .bd{ padding: 18px 22px 22px; }.production-history-root .row{ margin-bottom: 14px; }.production-history-root .row .k{
  display: inline-block;
  min-width: 130px;
  font-size: 21px;
  color: #8c8c8c;
  vertical-align: top;
}.production-history-root .row .v{
  display: inline-block;
  max-width: calc(100% - 150px);
  font-size: 24px;
  color: #1a1a1a;
  
  white-space: pre-wrap;
  word-break: break-word;
  vertical-align: top;
}.production-history-root .row.problem .v{
  font-size: 27px;
  font-weight: 700;
  color: #a8071a;
}.production-history-root .row.cause .v{ color: #874d00; font-size: 24px; }.production-history-root .row.temp{
  margin-top: 18px;
  padding: 16px 20px;
  background: #fff7e6;
  border: 2px solid #ffd591;
  border-radius: 8px;
}.production-history-root .row.temp .k{
  color: #874d00;
  font-weight: 700;
  font-size: 22px;
}.production-history-root .row.temp .v{
  font-size: 25px;
  font-weight: 700;
  color: #874d00;
  max-width: 100%;
}.production-history-root .row.action{
  margin-top: 18px;
  padding: 16px 20px;
  background: #f6ffed;
  border: 2px solid #95de64;
  border-radius: 8px;
}.production-history-root .row.action .k{
  color: #135200;
  font-weight: 700;
  font-size: 22px;
}.production-history-root .row.action .v{
  font-size: 26px;
  font-weight: 700;
  color: #135200;
  max-width: 100%;
}.production-history-root .row.minor .v{ font-size: 22px; color: #595959; }.production-history-root .none{
  color: #bfbfbf;
  font-weight: 400;
}.production-history-root .empty{
  padding: 70px 30px;
  text-align: center;
  background: #fff;
  border-radius: 10px;
  font-size: 27px;
  color: #52c41a;
  font-weight: 700;
}.production-history-root .empty .sub{
  margin-top: 14px;
  font-size: 21px;
  color: #8c8c8c;
  font-weight: 400;
}.production-history-root .foot{
  padding: 0 26px 40px;
  font-size: 19px;
  color: #8c8c8c;
  line-height: 1.8;
}.production-history-root .loading{
  padding: 80px 30px;
  text-align: center;
  font-size: 26px;
  color: #1890ff;
}@media print{.production-history-root,.production-history-root{ background: #fff; font-size: 13px; }.production-history-root .top{ position: static; background: #fff; color: #000; box-shadow: none; border-bottom: 2px solid #000; }.production-history-root .top button,.production-history-root .top a{ display: none; }.production-history-root .top .title{ color: #000; }.production-history-root .top .wo{ background: #eee; color: #000; }.production-history-root .tabs{ display: none; }.production-history-root .card{ box-shadow: none; border: 1px solid #999; border-left-width: 8px; page-break-inside: avoid; }.production-history-root .card .hd{ background: #f2f2f2; }.production-history-root .note{ border-width: 1px; }
}

.production-daily-root{min-width:0;max-width:100%;padding:0;color:#20344d;background:#f5f7fa;font-family:"Microsoft YaHei","Segoe UI",sans-serif;line-height:1.55}.production-daily-root *{box-sizing:border-box}.production-daily-root .production-report-scroll{overflow:auto;max-width:100%}.production-daily-root .top a{color:#176b63}.production-daily-root .top .title{letter-spacing:0}.production-history-overlay{position:fixed;inset:24px;z-index:1250;background:#f5f7fa;overflow:auto;box-shadow:0 0 0 100vmax #102b4580;border:1px solid #cfdbe3;border-radius:8px}.production-history-root{padding:18px;min-height:100%;font-family:"Microsoft YaHei","Segoe UI",sans-serif}.production-history-root .top{position:sticky;top:0;z-index:2}.production-daily-root .production-gate{padding:28px;background:#fff;border:1px solid #dce5eb;border-radius:8px}.production-daily-root .production-gate h2{font-size:20px;margin:0 0 12px}.production-daily-root .production-gate p{line-height:1.8;color:#667085}.production-daily-root .modal-mask{z-index:1150}.production-daily-root #modal-historical-uph{z-index:1180}.production-daily-root .chart-box{max-width:100%}@media(max-width:800px){.production-daily-root #t1{min-width:1200px}.production-daily-root .top{gap:10px}.production-daily-root .top .title{width:100%;font-size:20px}.production-daily-root .top input[type=date]{max-width:155px}.production-daily-root .top select{max-width:185px}.production-daily-root .sheet-head{gap:10px}.production-daily-root .chart-grid{grid-template-columns:minmax(0,1fr)}.production-history-overlay{inset:10px}.production-history-root{padding:12px}.production-daily-root .modal-box{max-width:calc(100vw - 20px)}.production-daily-root .stat-bar{gap:10px}}

.production-daily-root .chart-panel,.production-daily-root .chart-box{min-width:0;max-width:100%;overflow:hidden}

/* QMS corrections retain source quantities and keep withdrawn rows available for audit. */
.production-daily-root .bad-correction-notice{margin:0 0 13px;padding:10px 13px;border:1px solid #d6e1e7;border-radius:5px;background:#f4f8fa;color:#526c7e;font-size:12px;line-height:1.8}
.production-daily-root #t3 .bad-quantity{font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}
.production-daily-root #t3 .bad-withdrawn-qty{color:#466f64;background:#f0f7f4}
.production-daily-root #t3 .quality-withdrawn td{color:#677e78;background:#f5f8f7}
.production-daily-root #t3 .bad-withdrawn-analysis{color:#58736a;background:#f5f8f7;white-space:normal;line-height:1.7}
.production-daily-root .daily-person-analysis{margin:0 0 14px;padding:13px 15px;border:1px solid #d9e3ef;border-radius:6px;background:#f9fbfe}
.production-daily-root .daily-person-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.production-daily-root .daily-person-heading h3{margin:0;font-size:14px;color:#17365d}.production-daily-root .daily-person-heading>span{font-size:11px;color:#7890a9}
.production-daily-root .daily-person-analysis-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:start;gap:12px}
.production-daily-root .daily-period-dimensions{display:contents}
.production-daily-root .daily-person-ranking{min-width:0;padding:12px;border:1px solid #d9e3ef;border-radius:6px;background:#fff}
.production-daily-root .daily-person-ranking h4{margin:0 0 10px;color:#38516d;font-size:14px;font-weight:600}
.production-daily-root .daily-person-ranking .responsibility-distribution{display:block}
.production-daily-root .daily-person-ranking .responsibility-person-list li{grid-template-columns:23px minmax(52px,76px) minmax(25px,1fr) max-content;gap:6px}
.production-daily-root .daily-person-ranking .responsibility-joint-title{margin-top:10px}
@media(max-width:1400px){.production-daily-root .daily-person-analysis-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.production-daily-root .daily-person-analysis-grid{grid-template-columns:minmax(0,1fr)}}
.production-daily-root .responsibility-period-controls{margin:0 0 12px;display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px}
.production-daily-root .responsibility-period-modes{display:flex;flex-wrap:wrap;gap:5px;padding:3px;border:1px solid #dce5ef;border-radius:6px;background:#f1f5fa}
.production-daily-root .responsibility-period-modes button{min-height:34px;border:1px solid transparent;border-radius:4px;background:transparent;color:#57718b;padding:6px 12px;font:inherit;font-size:12px;cursor:pointer}
.production-daily-root .responsibility-period-modes button[aria-pressed="true"]{border-color:#c8dbed;background:#fff;color:#1c5687;font-weight:600}
.production-daily-root .responsibility-period-fields{display:flex;align-items:flex-end;flex-wrap:wrap;gap:8px 10px;min-width:0}
.production-daily-root .responsibility-period-field{display:flex;flex-direction:column;gap:4px;min-width:0;color:#627d96;font-size:11px}
.production-daily-root .responsibility-period-field input{min-width:135px;max-width:100%;min-height:35px;padding:5px 8px;border:1px solid #cbd9e7;border-radius:4px;color:#294967;background:#fff;font:inherit;font-size:12px;line-height:1.5}
.production-daily-root .responsibility-period-separator{align-self:flex-end;line-height:35px;color:#7890a7;font-size:12px}
.production-daily-root .responsibility-period-query{min-height:35px;padding:6px 14px;border:1px solid #2d659b;border-radius:4px;background:#2d659b;color:#fff;font:inherit;font-size:12px;cursor:pointer}
.production-daily-root .responsibility-period-controls button:disabled,.production-daily-root .responsibility-period-controls input:disabled{opacity:.6;cursor:default}
.production-daily-root .responsibility-period-controls button:focus-visible,.production-daily-root .responsibility-period-controls input:focus-visible{outline:2px solid #408ac6;outline-offset:2px}
.production-daily-root .responsibility-period-help{flex-basis:100%;margin:0;font-size:11px;line-height:1.65;color:#7890a7}
.production-daily-root .responsibility-period-applied,.production-daily-root .responsibility-period-warning,.production-daily-root .responsibility-period-error,.production-daily-root .responsibility-period-loading,.production-daily-root .responsibility-period-empty{margin:5px 0 9px;font-size:11px;line-height:1.75;overflow-wrap:anywhere;color:#627d96}
.production-daily-root .responsibility-period-applied b{font-weight:600;color:#385c7e}.production-daily-root .responsibility-period-warning{color:#87642f}.production-daily-root .responsibility-period-error{padding:7px 10px;border-left:2px solid #c35d4d;background:#fff3f0;color:#a24538}.production-daily-root .responsibility-period-loading{color:#2d659b}
@media(max-width:540px){.production-daily-root .responsibility-period-controls{align-items:stretch;gap:10px}.production-daily-root .responsibility-period-modes{width:100%}.production-daily-root .responsibility-period-modes button{flex:1;padding:6px 5px}.production-daily-root .responsibility-period-fields{width:100%;gap:8px}.production-daily-root .responsibility-period-field{flex:1;min-width:120px}.production-daily-root .responsibility-period-field input{width:100%;min-width:0;font-size:14px}.production-daily-root .responsibility-period-query{flex-basis:100%}.production-daily-root .responsibility-period-separator{flex:none}}
.production-daily-root .responsibility-distribution{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:10px 24px}
.production-daily-root .responsibility-person-list{margin:0;padding:0;list-style:none;max-height:195px;overflow:auto;scrollbar-width:thin}
.production-daily-root .responsibility-person-list li{display:grid;grid-template-columns:26px minmax(58px,90px) minmax(42px,1fr) max-content;gap:8px;align-items:center;padding:8px 0;font-size:12px;color:#294967}
.production-daily-root .responsibility-person-name{min-width:0;overflow-wrap:anywhere;line-height:1.5}.production-daily-root .responsibility-person-list strong{font-weight:600;white-space:nowrap;color:#174d7a;font-variant-numeric:tabular-nums}
.production-daily-root .responsibility-bar-track{display:block;min-width:0;height:9px;border-radius:5px;background:#edf2f7;overflow:hidden}
.production-daily-root .responsibility-bar-fill{display:block;height:100%;border-radius:inherit;background:#396fbd}
.production-daily-root .responsibility-bar-fill-joint{background:#8b6a40}
.production-daily-root .responsibility-position{font-size:11px;color:#8597ab;font-variant-numeric:tabular-nums;white-space:nowrap}.production-daily-root .responsibility-joint-title{margin:0 0 4px;color:#627d96;font-size:11px}
.production-daily-root .responsibility-coverage{margin:10px 0 0;font-size:12px;line-height:1.8;color:#4e6a83}.production-daily-root .responsibility-coverage b{font-weight:600;color:#245677}
.production-daily-root .responsibility-basis,.production-daily-root .responsibility-status{margin:7px 0 0;font-size:11px;line-height:1.8;color:#7890a7}.production-daily-root .bad-person-analysis-card{min-width:0}
.production-daily-root .bad-person-analysis-card .responsibility-distribution{display:block}.production-daily-root .bad-person-analysis-card .responsibility-joint-title{margin-top:10px}
.production-daily-root .bad-analysis-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:1200px){.production-daily-root .bad-analysis-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.production-daily-root .bad-analysis-grid{grid-template-columns:1fr}.production-daily-root .daily-person-heading{display:block}.production-daily-root .daily-person-heading>span{display:block;margin-top:5px}.production-daily-root .responsibility-distribution{grid-template-columns:minmax(0,1fr)}}
@media(max-width:480px){.production-daily-root .responsibility-person-list li{grid-template-columns:26px minmax(56px,74px) minmax(30px,1fr) max-content;gap:6px}.production-daily-root .responsibility-person-list strong{font-size:11px}}
.production-daily-root .bad-analysis-grid{align-items:start}
.production-daily-root .quality-analysis-scope{margin:0 0 12px;color:#627d96;font-size:12px;line-height:1.8;overflow-wrap:anywhere}
.production-daily-root .quality-analysis-card{min-width:0;padding:12px;background:#fff}
.production-daily-root .quality-analysis-card-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:7px}
.production-daily-root .quality-analysis-card-heading h4{margin:0}
.production-daily-root .quality-analysis-card-heading>span,.production-daily-root .quality-analysis-subheading>span{color:#7890a7;font-size:11px;white-space:nowrap}
.production-daily-root .quality-analysis-card .analysis-bar{grid-template-columns:minmax(0,1.2fr) minmax(50px,1.7fr) max-content;gap:8px;margin:8px 0;line-height:1.5}
.production-daily-root .quality-analysis-card .analysis-bar>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.production-daily-root .quality-analysis-card .analysis-bar>em{font-variant-numeric:tabular-nums;min-width:23px}
.production-daily-root .quality-analysis-supplement{margin-top:14px;padding-top:12px;border-top:1px solid #e5ecf3}
.production-daily-root .quality-analysis-stat{display:flex;align-items:baseline;flex-wrap:wrap;gap:7px 12px;margin:0 0 13px;color:#526d88;font-size:12px}
.production-daily-root .quality-analysis-stat strong{margin-left:auto;font-size:21px;line-height:1.2;color:#254f7b;font-weight:600;font-variant-numeric:tabular-nums}
.production-daily-root .quality-analysis-stat small{flex-basis:100%;color:#7890a7;font-size:11px}
.production-daily-root .quality-analysis-subheading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 10px}
.production-daily-root .quality-analysis-subheading h5{margin:0;color:#38516d;font-size:12px;font-weight:600}
.production-daily-root .quality-analysis-subheading strong{font-size:21px;line-height:1.2;color:#254f7b;font-weight:600;font-variant-numeric:tabular-nums}
.production-daily-root .quality-analysis-segments{display:flex;width:100%;height:12px;overflow:hidden;border-radius:4px;background:#edf2f7;margin:0 0 10px}
.production-daily-root .quality-analysis-segment{display:block;flex:none;height:100%}
.production-daily-root .quality-segment-production{background:#409eff}.production-daily-root .quality-segment-testing{background:#557b9d}.production-daily-root .quality-segment-reason{background:#fa8c16}.production-daily-root .quality-segment-department{background:#722ed1}.production-daily-root .quality-segment-pending{background:#d4dde8}.production-daily-root .quality-segment-observed{background:#81a99b}
.production-daily-root .quality-analysis-legend{list-style:none;padding:0;margin:0;display:grid;gap:6px}
.production-daily-root .quality-analysis-legend li{display:flex;align-items:baseline;justify-content:space-between;gap:8px;color:#526d88;font-size:11px;line-height:1.6}
.production-daily-root .quality-analysis-legend li>span{display:flex;align-items:center;gap:6px;min-width:0}
.production-daily-root .quality-analysis-legend i{display:inline-block;flex:none;width:8px;height:8px;border-radius:2px}
.production-daily-root .quality-analysis-legend b{flex:none;font-weight:600;color:#38516d;white-space:nowrap;font-variant-numeric:tabular-nums}
.production-daily-root .quality-analysis-note,.production-daily-root .quality-analysis-tail,.production-daily-root .quality-analysis-status{margin:9px 0 0;font-size:11px;line-height:1.75;color:#7890a7;overflow-wrap:anywhere}
.production-daily-root .quality-analysis-tail{margin:7px 0 0;color:#526d88}
.production-daily-root .quality-analysis-status{color:#87642f;background:#fff8e9;border-left:2px solid #e9c778;padding:5px 8px}
.production-daily-root .quality-analysis-empty{font-size:12px;line-height:1.75;color:#7890a7;margin:10px 0}
/* Keep the report's analysis slot compact; the popup retains its full charts. */
.production-daily-root .daily-person-analysis{padding-top:10px;padding-bottom:10px}
.production-daily-root .daily-person-heading{margin-bottom:5px}
.production-daily-root .daily-person-analysis .responsibility-period-controls{margin:0 0 4px;gap:7px 12px}
.production-daily-root .daily-person-analysis .responsibility-period-modes{gap:3px;padding:2px}
.production-daily-root .daily-person-analysis .responsibility-period-modes button{min-height:28px;padding:4px 9px;font-size:11px}
.production-daily-root .daily-person-analysis .responsibility-period-fields{align-items:center;gap:6px 8px}
.production-daily-root .daily-person-analysis .responsibility-period-field{flex-direction:row;align-items:center;gap:6px;white-space:nowrap}
.production-daily-root .daily-person-analysis .responsibility-period-field input{min-height:29px;padding:3px 6px;min-width:125px;font-size:11px}
.production-daily-root .daily-person-analysis .responsibility-period-separator{align-self:center;line-height:29px}
.production-daily-root .daily-person-analysis .responsibility-period-query{min-height:29px;padding:3px 11px;font-size:11px}
.production-daily-root .daily-person-analysis .responsibility-period-help{flex-basis:auto;margin-left:auto;font-size:11px;line-height:1.5}
.production-daily-root .responsibility-period-summary{display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 10px;margin:0 0 5px;font-size:11px;line-height:1.5;overflow-wrap:anywhere}
.production-daily-root .responsibility-period-summary>span{margin:0;padding:0;font-size:inherit;line-height:inherit}
.production-daily-root .responsibility-period-summary .responsibility-period-error{border:0;background:transparent;color:#a24538}
.production-daily-root .daily-person-analysis-grid{gap:10px}
.production-daily-root .daily-person-analysis-grid>.daily-person-ranking,.production-daily-root .daily-person-analysis .quality-analysis-compact{padding:10px}
.production-daily-root .daily-person-ranking h4{margin-bottom:7px;font-size:13px}
.production-daily-root .daily-person-ranking .responsibility-distribution{max-height:140px;overflow:auto;scrollbar-gutter:stable}
.production-daily-root .daily-person-ranking .responsibility-person-list li{margin:0 0 7px;min-height:20px}
.production-daily-root .daily-person-ranking .responsibility-person-name{font-size:11px;line-height:1.35}
.production-daily-root .daily-person-ranking .responsibility-person-line{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin-top:2px;max-width:100%;color:#7890a7;font-size:10px;font-weight:400;line-height:1.25;overflow-wrap:anywhere}
.production-daily-root .daily-person-ranking .responsibility-coverage{margin-top:6px;font-size:11px;line-height:1.55}
.production-daily-root .daily-person-ranking .responsibility-basis{margin-top:5px;font-size:10px;line-height:1.5}
.production-daily-root .quality-analysis-compact .quality-analysis-card-heading{margin-bottom:5px}
.production-daily-root .quality-analysis-compact .quality-analysis-card-heading h4{font-size:13px}
.production-daily-root .quality-analysis-compact .analysis-bar{margin:5px 0;line-height:1.5;font-size:11px;gap:6px}
.production-daily-root .quality-analysis-compact .quality-analysis-tail{margin:4px 0 0;line-height:1.45;font-size:10px}
.production-daily-root .quality-analysis-compact .quality-analysis-empty{margin:7px 0;font-size:11px;line-height:1.5}
.production-daily-root .quality-analysis-compact-footer{margin-top:8px;padding-top:7px;border-top:1px solid #e5ecf3}
.production-daily-root .quality-analysis-compact .quality-analysis-subheading{margin-bottom:6px}
.production-daily-root .quality-analysis-compact .quality-analysis-subheading h5{font-size:11px}
.production-daily-root .quality-analysis-compact .quality-analysis-subheading strong{font-size:17px}
.production-daily-root .quality-analysis-compact .quality-analysis-segments{height:8px;margin-bottom:6px;border-radius:3px}
.production-daily-root .quality-analysis-compact .quality-analysis-legend{display:flex;flex-wrap:wrap;justify-content:space-between;gap:3px 10px}
.production-daily-root .quality-analysis-compact .quality-analysis-legend li{gap:6px;font-size:10px;line-height:1.5}
.production-daily-root .quality-analysis-compact .quality-analysis-legend i{height:6px;width:6px}
.production-daily-root .quality-analysis-compact-note,.production-daily-root .quality-analysis-compact-status{margin:5px 0 0;color:#7890a7;font-size:10px;line-height:1.45;overflow-wrap:anywhere}
.production-daily-root .quality-analysis-compact-status{color:#87642f}
@media(min-width:1401px){.production-daily-root .daily-person-analysis .responsibility-period-summary{max-height:38px;overflow:auto}}
@media(max-width:700px){.production-daily-root .daily-person-analysis .responsibility-period-controls{gap:7px}.production-daily-root .daily-person-analysis .responsibility-period-field{flex:1;min-width:0;flex-direction:column;align-items:stretch;gap:2px}.production-daily-root .daily-person-analysis .responsibility-period-field input{width:100%;min-width:0;font-size:13px}.production-daily-root .daily-person-analysis .responsibility-period-modes{width:100%}.production-daily-root .daily-person-analysis .responsibility-period-modes button{flex:1;min-height:30px}.production-daily-root .daily-person-analysis .responsibility-period-query{flex-basis:auto;align-self:flex-end;min-height:32px}.production-daily-root .daily-person-analysis .responsibility-period-help{flex-basis:100%;margin-left:0}.production-daily-root .daily-person-analysis .quality-analysis-compact .analysis-bar>span{display:block;white-space:nowrap}.production-daily-root .daily-person-ranking .responsibility-distribution{max-height:185px}}
@media(max-width:700px){.production-daily-root .quality-analysis-card{padding:12px}.production-daily-root .quality-analysis-card .analysis-bar{grid-template-columns:minmax(0,1.25fr) minmax(55px,1.5fr) max-content}.production-daily-root .quality-analysis-card .analysis-bar>span{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:normal;overflow-wrap:anywhere}.production-daily-root .quality-analysis-stat strong,.production-daily-root .quality-analysis-subheading strong{font-size:20px}}
.production-daily-root .bad-correction-badge{display:block;margin-top:4px;font-size:10px;font-weight:400;color:#527469;white-space:nowrap}
.production-daily-root .bad-table-wrap{max-width:100%;overflow:auto;overscroll-behavior-x:contain;overscroll-behavior-y:auto}
.production-daily-root .bad-table-wrap:focus-visible{outline:2px solid #4787c7;outline-offset:3px}
@media(max-width:1100px){.production-daily-root #t3{min-width:1080px}.production-daily-root #t3 th{white-space:nowrap}}

/* Use the available screen width and keep identifiers and quantities intact. */
.production-daily-root #modal-bad>.modal-box{width:calc(100vw - 40px);max-width:2000px}
.production-daily-root #modal-bad #t3{width:100%;min-width:1822px;table-layout:fixed}
.production-daily-root #modal-bad #t3 thead th{white-space:nowrap;word-break:normal;overflow-wrap:normal}
.production-daily-root #modal-bad #t3 tbody td:is(:nth-child(1),:nth-child(2),:nth-child(3),:nth-child(5),:nth-child(6),:nth-child(8),:nth-child(9),:nth-child(10)),
.production-daily-root #modal-bad #t3 tfoot td{white-space:nowrap;word-break:normal;overflow-wrap:normal}
.production-daily-root #modal-bad #t3 col.bad-col-sequence{width:34px}
.production-daily-root #modal-bad #t3 col.bad-col-date{width:90px}
.production-daily-root #modal-bad #t3 col.bad-col-workorder{width:210px}
.production-daily-root #modal-bad #t3 col.bad-col-product{width:150px}
.production-daily-root #modal-bad #t3 col.bad-col-order-qty{width:62px}
.production-daily-root #modal-bad #t3 col.bad-col-production-qty{width:68px}
.production-daily-root #modal-bad #t3 col.bad-col-phenomenon{width:200px}
.production-daily-root #modal-bad #t3 col.bad-col-original{width:62px}
.production-daily-root #modal-bad #t3 col.bad-col-withdrawn{width:84px}
.production-daily-root #modal-bad #t3 col.bad-col-effective{width:70px}
.production-daily-root #modal-bad #t3 col.bad-col-reason{width:210px}
.production-daily-root #modal-bad #t3 col.bad-col-action{width:auto}
.production-daily-root #modal-bad #t3 col.bad-col-unit{width:108px}
.production-daily-root #modal-bad #t3 col.bad-col-person{width:112px}
.production-daily-root .bad-person-withdrawn{display:block;margin-top:4px;color:#6a837a;font-size:10px}
.production-daily-root #modal-qms-repair .qms-snapshot-fields{grid-template-columns:repeat(4,minmax(0,1fr))}
.production-daily-root #modal-qms-repair .qms-repair-table{min-width:1150px}
@media(max-width:800px){.production-daily-root #modal-qms-repair .qms-snapshot-fields{grid-template-columns:1fr}}
@media(max-width:800px){.production-daily-root #modal-bad>.modal-box{width:calc(100vw - 20px)}}

.production-daily-root .bad-correction-action{display:block;margin:5px 0 0 auto;padding:3px 5px;border:1px solid #aac3cf;border-radius:4px;background:#fff;color:#1c5b75;font:inherit;font-size:11px;line-height:1.5;cursor:pointer;white-space:nowrap}
.production-daily-root .bad-correction-action:hover,.production-daily-root .bad-correction-action:focus-visible{border-color:#176b86;background:#edf6fa;outline:2px solid transparent}
.production-daily-root #modal-quality-correction{z-index:1200}
.production-daily-root .manual-correction-box{width:540px;max-width:calc(100vw - 32px)}
.production-daily-root .manual-correction-box>form{display:flex;flex-direction:column;min-height:0;max-height:inherit}
.production-daily-root .manual-correction-box .modal-body{padding:18px 22px 22px}
.production-daily-root .manual-correction-intro{margin:0 0 16px;color:#526c7e;font-size:13px;line-height:1.8}
.production-daily-root .manual-correction-facts{display:grid;grid-template-columns:1fr 1fr;gap:10px 18px;margin:0 0 20px;padding:14px;background:#f4f7f9;border:1px solid #dfe7ed;border-radius:5px}
.production-daily-root .manual-correction-facts div{min-width:0}.production-daily-root .manual-correction-facts dt{font-size:11px;color:#607080}.production-daily-root .manual-correction-facts dd{margin:3px 0 0;font-size:13px;color:#20344d;overflow-wrap:anywhere}
.production-daily-root .manual-correction-field{display:flex;flex-direction:column;gap:7px;margin:0;font-size:13px;font-weight:600;color:#294158}
.production-daily-root .manual-correction-field input,.production-daily-root .manual-correction-field textarea{width:100%;padding:10px 11px;border:1px solid #bdcdd8;border-radius:5px;background:#fff;font:inherit;font-weight:400;color:#20344d}
.production-daily-root .manual-correction-field input:focus,.production-daily-root .manual-correction-field textarea:focus{outline:2px solid #8cbccc;outline-offset:1px}
.production-daily-root .manual-correction-preview{margin:8px 0 18px;color:#1e6d55;font-size:13px;font-weight:600}
.production-daily-root .manual-correction-error{min-height:20px;margin:10px 0;color:#a3312c;font-size:12px;line-height:1.7}
.production-daily-root .manual-correction-actions{display:flex;justify-content:flex-end;gap:10px}
.production-daily-root .manual-correction-submit{padding:8px 17px;border:1px solid #17606f;border-radius:5px;background:#17606f;color:#fff;font:inherit;font-size:13px;cursor:pointer}
.production-daily-root .manual-correction-box button:disabled{cursor:wait;opacity:.65}
@media(max-width:560px){.production-daily-root .manual-correction-box .modal-body{padding:14px 16px}.production-daily-root .manual-correction-facts{gap:9px 12px}}
.production-history-root .history-loading-help{margin-top:14px;font-size:16px;line-height:1.8;color:#60758a}
.production-history-root .history-source{min-width:0;margin-bottom:28px}
.production-history-root .history-source-heading{margin:0 0 14px;font-size:23px;color:#244760}
.production-history-root .history-repair-scope{margin-bottom:18px;padding:16px 20px;border:1px solid #bcd9d4;border-radius:7px;background:#eef7f5;color:#315e56;font-size:19px;line-height:1.75;overflow-wrap:anywhere}
.production-history-root .history-repair-scope b{font-size:21px}
.production-history-root .history-source-warning{margin-bottom:16px;padding:12px 18px;background:#fffbe6;color:#874d00;font-size:20px}
.production-history-root .card.t-repair{border-left-color:#277c70}
.production-history-root .card.t-repair .hd .idx{background:#277c70}
.production-history-root .card.t-repair .hd .tag{background:#e8f5f1;color:#256357}
.production-history-root .repair-case-summary{font-size:20px;color:#546e75;margin-bottom:16px}
.production-history-root .repair-case{padding:18px 0 4px;border-top:1px solid #d9e4e5;min-width:0}
.production-history-root .repair-case-heading{display:flex;flex-wrap:wrap;gap:8px 20px;margin-bottom:18px;font-size:18px;color:#5a7079;overflow-wrap:anywhere}
.production-history-root .repair-case-heading b{color:#256357}
.production-history-root .history-source-warning button{margin-left:16px;padding:5px 16px;border:1px solid #b7a565;border-radius:5px;background:#fff;color:#756124;font:inherit;cursor:pointer}
.production-history-root .history-source-warning button:disabled{cursor:wait}
.production-history-root .history-unavailable{color:#5c7388}
.production-history-root .history-unavailable button{margin-top:20px;padding:10px 24px;border:1px solid #8faec4;border-radius:5px;background:#edf5fa;color:#245a7b;font:inherit;font-size:18px;cursor:pointer}
.production-history-root button:disabled{opacity:.55;cursor:wait}
@media(max-width:600px){
 .production-history-root{padding:0}
 .production-history-root .top{position:static;padding:16px 12px;gap:10px}
 .production-history-root .top .title{width:100%;font-size:23px}
 .production-history-root .top .wo{font-size:17px;max-width:100%;padding:5px 8px}
 .production-history-root .top .spacer{display:none}
 .production-history-root .top button{font-size:16px;padding:7px 12px}
 .production-history-root .facts{padding:12px;gap:8px}
 .production-history-root .facts .f{max-width:100%;padding:7px 10px;font-size:15px;overflow-wrap:anywhere}
 .production-history-root .facts .f b{font-size:17px}
 .production-history-root .note{margin:12px;padding:12px;font-size:17px;overflow-wrap:anywhere}
 .production-history-root .tabs{padding:12px 12px 0;gap:8px}
 .production-history-root .tabs button{font-size:16px;padding:8px 12px}
 .production-history-root .tabs button .n{font-size:14px;padding:0 6px}
 .production-history-root .cards{padding:16px 12px}
 .production-history-root .history-source-heading{font-size:20px}
 .production-history-root .history-repair-scope{padding:12px;font-size:15px}
 .production-history-root .history-repair-scope b{font-size:17px}
 .production-history-root .card .hd{padding:12px;gap:10px}
 .production-history-root .card .hd .idx{font-size:20px;width:34px;height:34px}
 .production-history-root .card .hd .tag,.production-history-root .card .hd .meta{font-size:16px}
 .production-history-root .card .bd{padding:14px 12px}
 .production-history-root .row .k,.production-history-root .row .v{display:block;min-width:0;max-width:100%;font-size:18px}
 .production-history-root .row .k{margin-bottom:5px;font-size:16px}
 .production-history-root .row.problem .v{font-size:22px}
 .production-history-root .row.cause .v,.production-history-root .row.minor .v{font-size:18px}
 .production-history-root .row.action,.production-history-root .row.temp{padding:12px}
 .production-history-root .row.action .k,.production-history-root .row.temp .k{font-size:16px}
 .production-history-root .row.action .v,.production-history-root .row.temp .v{font-size:20px}
 .production-history-root .repair-case-summary,.production-history-root .repair-case-heading{font-size:16px}
 .production-history-root .empty,.production-history-root .loading{padding:30px 14px;font-size:21px;overflow-wrap:anywhere}
 .production-history-root .empty .sub{font-size:17px}
 .production-history-root .foot{padding:0 12px 25px;font-size:14px;overflow-wrap:anywhere}
}
@media print{
 .production-daily-root:has(>.production-history-overlay)>:not(.production-history-overlay){display:none!important}
 .production-history-overlay{position:static;overflow:visible;box-shadow:none;border:0;border-radius:0}
 .production-history-root .top{position:static}
 .production-history-root [data-production-history-reload]{display:none}
 .production-history-root .card.t-repair{break-inside:auto;page-break-inside:auto}
 .production-history-root .repair-case{break-inside:avoid;page-break-inside:avoid}
}


/* Two numeric rankings share the existing analysis area without inner scrolling. */
.production-daily-root .daily-person-analysis-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.production-daily-root .daily-unit-ranking{min-width:0;padding:10px;border:1px solid #d9e3ef;border-radius:6px;background:#fff}
.production-daily-root .daily-unit-ranking h4{margin:0 0 7px;color:#38516d;font-size:13px;font-weight:600}
.production-daily-root .daily-person-analysis .responsibility-period-summary{max-height:none;overflow:visible}
.production-daily-root .daily-person-analysis .daily-person-ranking .responsibility-distribution,.production-daily-root .daily-person-analysis .responsibility-person-list{max-height:none;overflow:visible;scrollbar-gutter:auto}
.production-daily-root .responsibility-ranking-panel{min-width:0;max-width:100%;overflow:visible}
.production-daily-root .responsibility-ranking-panel:focus{outline:none}
.production-daily-root .responsibility-ranking-panel:focus-visible{outline:2px solid #9bbbd7;outline-offset:4px}
.production-daily-root .responsibility-ranking-table{width:100%;table-layout:fixed;border-collapse:collapse;border:0;background:transparent;color:#294967;font-size:12px}
.production-daily-root .responsibility-ranking-caption{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.production-daily-root .responsibility-ranking-table .rr-position-col{width:42px}
.production-daily-root .responsibility-ranking-table .rr-person-col{width:26%}
.production-daily-root .responsibility-ranking-table .rr-line-col{width:auto}
.production-daily-root .responsibility-ranking-table .rr-quantity-col{width:72px}
.production-daily-root .responsibility-ranking-table .rr-share-col{width:78px}
.production-daily-root .responsibility-ranking-table th{padding:3px 7px 4px;border:0;border-bottom:1px solid #e1e9f2;background:transparent;color:#7890a7;font-size:11px;line-height:1.3;font-weight:400;text-align:left;white-space:nowrap}
.production-daily-root .responsibility-ranking-table td{padding:3px 7px;border:0;border-bottom:1px solid #edf1f6;background:transparent;text-align:left;line-height:1.3;vertical-align:middle}
.production-daily-root .responsibility-ranking-table tbody tr:last-child td{border-bottom:0}
.production-daily-root .responsibility-ranking-table .responsibility-ranking-position{color:#7890a7;font-size:11px;font-variant-numeric:tabular-nums}
.production-daily-root .responsibility-ranking-table .responsibility-ranking-name,.production-daily-root .responsibility-ranking-table .responsibility-ranking-line{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.production-daily-root .responsibility-ranking-table .responsibility-ranking-line{color:#627d96;font-size:11px}
.production-daily-root .responsibility-ranking-table .responsibility-ranking-quantity,.production-daily-root .responsibility-ranking-table .responsibility-ranking-share{white-space:nowrap;text-align:right;font-variant-numeric:tabular-nums}
.production-daily-root .responsibility-ranking-table .responsibility-ranking-quantity{color:#174d7a;font-weight:600}
.production-daily-root .responsibility-ranking-table th:nth-last-child(-n+2){text-align:right}
.production-daily-root .responsibility-ranking-table .responsibility-ranking-share{color:#627d96;font-size:11px}
.production-daily-root .responsibility-ranking-table .responsibility-ranking-empty{height:80px;padding:10px 7px;color:#7890a7;font-size:12px;text-align:left;white-space:normal}
.production-daily-root .responsibility-ranking-summary,.production-daily-root .responsibility-ranking-note{margin:7px 0 0;color:#627d96;font-size:11px;line-height:1.5;overflow-wrap:anywhere}
.production-daily-root .responsibility-ranking-summary b{color:#245677;font-weight:600}
.production-daily-root .responsibility-ranking-note{color:#87642f}
.production-daily-root .responsibility-ranking-pagination{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:5px 10px;margin-top:7px;padding-top:6px;border-top:1px solid #edf1f6;color:#7890a7;font-size:11px;line-height:1.5}
.production-daily-root .responsibility-ranking-count{margin-right:auto}
.production-daily-root .responsibility-ranking-pagination button{min-height:25px;padding:2px 8px;border:1px solid #d1deeb;border-radius:4px;background:#fff;color:#385e82;font:inherit;cursor:pointer;line-height:1.5}
.production-daily-root .responsibility-ranking-pagination button:disabled{color:#a7b3bf;cursor:default;background:#fafbfd}
.production-daily-root .responsibility-ranking-pagination button:focus-visible{outline:2px solid #408ac3;outline-offset:2px}
@media(max-width:700px){.production-daily-root .daily-person-analysis-grid{grid-template-columns:minmax(0,1fr)}.production-daily-root .responsibility-ranking-table .rr-position-col{width:32px}.production-daily-root .responsibility-ranking-table .rr-person-col{width:24%}.production-daily-root .responsibility-ranking-table .rr-quantity-col{width:53px}.production-daily-root .responsibility-ranking-table .rr-share-col{width:57px}.production-daily-root .responsibility-ranking-table th,.production-daily-root .responsibility-ranking-table td{padding-left:4px;padding-right:4px}.production-daily-root .responsibility-ranking-table{font-size:11px}.production-daily-root .responsibility-ranking-table .responsibility-ranking-line,.production-daily-root .responsibility-ranking-table .responsibility-ranking-share{font-size:10px}.production-daily-root .responsibility-ranking-table .responsibility-ranking-line{white-space:normal}.production-daily-root .responsibility-ranking-line-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}}
