/* 品質記録のデモだけの見た目（測定を入れる行・推移のグラフ・不具合報告） */
.hq-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 8px 0 10px; border-bottom: 1px solid #EFEAE6; }
.hq-row:first-child { padding-top: 0; }
.hq-row-h { display: grid; gap: 2px; justify-items: start; font-size: 15px; line-height: 1.35; }
.hq-row-h small { font-size: 11.5px; color: var(--text-sub); }
.hq-row .ka-stepper { gap: 6px; }
.hq-row .ka-stepper button { width: 44px; height: 44px; }
.hq-row .ka-stepper output { min-width: 112px; font-size: 23px; }
.hq-row .ka-stepper output small { font-size: 12px; }
.ka-table td.hq-ng { color: #B3261E; font-weight: 700; }
.ka-table td.hq-warn { color: #8A5A00; font-weight: 700; }
.hq-chart-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.hq-chart { display: block; width: 100%; height: auto; }
.hq-chart text { font-size: 11px; fill: #5C6168; font-family: "Inter", "Noto Sans JP", sans-serif; }
.hq-chart .hq-t-lim { fill: #B3261E; font-weight: 700; }
.hq-zone { fill: #EAF5EC; }
.hq-lim { stroke: #C8402E; stroke-width: 1.5; stroke-dasharray: 6 4; }
.hq-nom { stroke: #C9C2BC; stroke-width: 1; }
.hq-line { fill: none; stroke: #5C514B; stroke-width: 2; }
.hq-d-ok { fill: #2F8A4E; } .hq-d-warn { fill: #E2A72E; } .hq-d-ng { fill: #C8402E; }
.hq-chart circle { stroke: #fff; stroke-width: 2; }
.hq-chart circle.is-new { stroke: #2A1A14; }
.hq-report { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 8px 14px; margin: 12px 0 0; font-size: 14px; line-height: 1.7; }
.hq-report dt { font-size: 12.5px; font-weight: 700; color: var(--primary); padding-top: 2px; }
.hq-report dd { margin: 0; }
.hq-report select { font: inherit; font-size: 15px; width: 100%; max-width: 420px; min-height: 44px; border: 1.5px solid #D9D2CC; border-radius: 10px; padding: 8px 10px; background: #fff; color: var(--ink); }
@media (max-width: 760px) {
  .hq-report { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .hq-report dd { margin-bottom: 8px; }
}
