/* キューとバッチ。style.css と flow.css の上に重ねる */
/* 薄い文字の色を、このページだけ少し濃くする（#64748b は、背景 #f4f5f9 の上で 4.5:1 に足りないため） */
body { --muted: #5b6b80; }
.fhead p a, .srcl a, .qu-go a, .qu-psrc a, .qu-tnote a, .qu-points a, .qu-note-p a, .foot p a { color: #1d4ed8; text-underline-offset: 2px; }
.hint { display: inline-block; vertical-align: middle; font-size: 10.5px; font-weight: 700; line-height: 1.5; color: #475569; background: #f8fafc; border: 1px dashed #94a3b8; border-radius: 999px; padding: 0 8px; margin-left: 6px; white-space: nowrap; }
.aitag { font-size: 12px; font-weight: 700; color: #6d28d9; background: #ede9fe; border-radius: 6px; padding: 2px 8px; margin-right: 8px; vertical-align: middle; }
.srcl { margin: 8px 0 0; font-size: 12px; color: var(--muted); }
.subh { margin: 22px 0 8px; font-size: 15.5px; display: flex; align-items: baseline; gap: 2px 8px; flex-wrap: wrap; }
.qu-sub { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.qu-note-p { margin: -2px 0 10px; font-size: 13px; color: var(--ink2); max-width: 56em; }
.qu-go { margin: 6px 0 0; font-size: 12.5px; font-weight: 700; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.qu-go a { text-decoration: none; }
.qu-go a:hover { text-decoration: underline; }
.qu-c { font: 600 .92em var(--latin); color: var(--ink); background: var(--line2); border-radius: 5px; padding: 0 4px; overflow-wrap: anywhere; }
.qu-mono { font-family: var(--latin); font-weight: 500; overflow-wrap: anywhere; }
.qu-pre { margin: 6px 0 0; background: #0f172a; color: #e2e8f0; border-radius: 10px; padding: 9px 12px; font: 500 12.5px/1.6 var(--latin); white-space: pre-wrap; overflow-wrap: anywhere; min-width: 0; }
.qu-pre code { font: inherit; }
.qu-pre-s { font-size: 12px; padding: 7px 10px; }
.qu-tnote { margin: 8px 0 0; font-size: 12.5px; color: var(--muted); }
.qu-mt { margin-top: 10px; }
.qu-vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.qu-ask { margin: 0; font-size: 13.5px; font-weight: 700; }
.qu-h3 { margin: 0 0 4px; font-size: 14.5px; }
.qu-h4 { margin: 16px 0 8px; font-size: 14.5px; }
.qu-file { margin: 0; font: 500 12px var(--latin); color: var(--muted); overflow-wrap: anywhere; }
.qu-score { margin: 10px 0 0; font-size: 14px; }
.qu-score:empty { display: none; }
.qu-score b { font-family: var(--latin); font-size: 18px; color: #0f766e; }

/* カード */
.qu-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.qu-grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.qu-card { padding: 12px 15px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.qu-card h3 { margin: 0; font-size: 14.5px; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 4px; }
.qu-card p { margin: 4px 0 0; font-size: 13px; color: var(--ink2); }
.qu-card .srcl, .qu-card .qu-go { margin-top: auto; padding-top: 6px; }
.qu-card .qu-go + .srcl { margin-top: 0; }
.qu-card.ai { background: #faf8ff; border-color: #dccdfb; }

/* 押す物 */
.qu-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 8px; }
.qu-rl { font-size: 12px; font-weight: 700; color: var(--muted); min-width: 10em; }
.qu-pills { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.qu-pill { appearance: none; font: inherit; font-size: 12.5px; font-weight: 700; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; cursor: pointer; text-align: left; overflow-wrap: anywhere; }
.qu-pill:hover { border-color: #94a3b8; }
.qu-pill[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.qu-btn { appearance: none; font: inherit; font-size: 12.5px; font-weight: 700; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px; cursor: pointer; }
.qu-btn:hover { border-color: #94a3b8; }
.qu-btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.qu-chip { appearance: none; font: inherit; font-size: 12.5px; color: var(--ink2); background: var(--line2); border: 1px solid transparent; border-radius: 999px; padding: 3px 11px; cursor: pointer; }
.qu-chip:hover { border-color: #94a3b8; color: var(--ink); }
.qu-presets { display: flex; flex-wrap: wrap; gap: 6px; }
.qu-ch { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.qu-ch button { appearance: none; font: inherit; font-size: 12.5px; font-weight: 700; color: var(--ink); background: var(--paper); border: 1px solid #cbd5e1; border-radius: 999px; padding: 5px 13px; cursor: pointer; max-width: 100%; overflow-wrap: anywhere; text-align: left; }
.qu-ch button:hover { border-color: #64748b; }
.qu-ch button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* 選ぶ練習（どこで動かす？・2 回動いたら） */
.qu-quiz { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 10px; counter-reset: q; }
.qu-quiz > li { counter-increment: q; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; min-width: 0; }
.qu-quiz > li::before { content: 'Q' counter(q); display: block; font: 600 12px var(--latin); color: var(--muted); margin-bottom: 2px; }
.qu-quiz > li.ok { border-color: #86efac; background: #f0fdf4; }
.qu-quiz > li.ng { border-color: #fca5a5; background: #fef2f2; }
.qu-quiz .qu-pre { margin-top: 8px; }
.qu-why { margin-top: 8px; font-size: 13px; color: var(--ink2); }
.qu-why > b { color: var(--ink); }
.qu-why p { margin: 4px 0 0; }
.qu-fix b { display: inline-block; font-size: 11.5px; color: var(--muted); margin-right: 6px; }

/* 流れ */
.qu-flow { list-style: none; margin: 0 0 4px; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.qu-flow3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.qu-flow li { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.qu-flow li p { margin: 0; font-size: 12.5px; color: var(--ink2); }
.qu-flow .qu-fk { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; font-size: 14px; font-weight: 700; color: var(--ink); }
.qu-fk span { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; font: 600 12px/22px var(--latin); text-align: center; }
.qu-fk small { font: 500 11.5px var(--latin); color: var(--muted); }
.qu-flow .srcl { margin-top: auto; padding-top: 2px; }

/* シミュレーター */
.qu-sim, .qu-fail, .qu-over, .qu-servers, .qu-time { padding: 14px 16px; }
.qu-seed { font: 600 12px var(--latin); color: var(--muted); }
.qu-stats { margin-top: 12px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.qu-stats3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.qu-stats > div { background: var(--line2); border-radius: 12px; padding: 8px 12px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; min-width: 0; }
.qu-stats span { width: 100%; font-size: 12px; font-weight: 700; color: var(--muted); }
.qu-stats b { font: 600 24px var(--latin); color: var(--ink); }
.qu-stats small { font-size: 12px; color: var(--ink2); }
.qu-stats .ng { background: #fef2f2; }
.qu-stats .ng b { color: #b91c1c; }
.qu-read { margin: 10px 0 0; font-size: 13.5px; color: var(--ink2); }
.qu-expect { margin: 4px 0 0; font-size: 12.5px; color: var(--muted); }
.qu-tl { margin: 10px 0 0; }
.qu-svgwrap { overflow-x: auto; min-width: 0; }
.qu-svg { display: block; width: 100%; max-width: 880px; min-width: 520px; height: auto; }
.qu-lane { fill: #f1f5f9; }
.qu-b-ok { fill: #4ade80; stroke: #15803d; stroke-width: 1; }
.qu-b-retry { fill: #fcd34d; stroke: #92400e; stroke-width: 1; stroke-dasharray: 3 2; }
.qu-b-fail { fill: #f87171; stroke: #7f1d1d; stroke-width: 2; }
.qu-bl { font: 600 10px var(--latin); fill: #0f172a; pointer-events: none; }
.qu-bl-l { font-size: 10.5px; }
.qu-ax { font: 500 10.5px var(--latin); fill: #475569; }
.qu-tick { stroke: #94a3b8; }
.qu-cursor { stroke: #1d4ed8; stroke-width: 2; }
.qu-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; font-size: 12px; color: var(--ink2); }
.qu-legend span { display: inline-flex; align-items: center; gap: 5px; }
.qu-legend i { display: inline-block; width: 16px; height: 11px; border-radius: 2px; }
.qu-legend i.qu-b-ok { background: #4ade80; border: 1px solid #15803d; }
.qu-legend i.qu-b-retry { background: #fcd34d; border: 1px dashed #92400e; }
.qu-legend i.qu-b-fail { background: #f87171; border: 2px solid #7f1d1d; }
.qu-scrub { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 10px; }
.qu-scrub label { font-size: 12px; font-weight: 700; color: var(--muted); }
.qu-scrub input[type="range"] { flex: 1 1 220px; max-width: 420px; accent-color: #1d4ed8; }
.qu-now { margin: 6px 0 0; font-size: 13px; color: var(--ink2); }
.qu-now b { font-family: var(--latin); color: var(--ink); }

/* Laravel のコード */
.qu-lv { display: grid; gap: 10px; }
.qu-ccard { padding: 12px 15px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.qu-ccard > h3 { margin: 0; font-size: 15px; }
.qu-cc2 { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 14px; }
.qu-points { margin: 6px 0 0; padding-left: 1.2em; display: grid; gap: 6px; font-size: 13px; color: var(--ink2); }
.qu-psrc { font-size: 12px; color: var(--muted); }
.qu-cmds { padding: 8px 16px; }
.qu-cmdlist { list-style: none; margin: 0; padding: 0; display: grid; }
.qu-cmdlist li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 2px 14px; padding: 7px 0; border-bottom: 1px solid var(--line2); }
.qu-cmdlist li:last-child { border-bottom: 0; }
.qu-cmdlist code { font-size: 12.5px; color: var(--ink); }
.qu-cmdlist p { margin: 0; font-size: 13px; color: var(--ink2); }
.qu-cmdlist .qu-psrc { grid-column: 2; }
.qu-cmdlist li.warn code { color: #b91c1c; }
.qu-warn { display: inline-block; margin-left: 6px; font-size: 11px; font-weight: 700; color: #991b1b; background: #fee2e2; border-radius: 999px; padding: 0 8px; }

/* ファイルのタブ */
.qu-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.qu-tabs button { appearance: none; font: inherit; font-size: 12.5px; font-weight: 700; color: var(--ink2); background: var(--paper); border: 1px solid var(--line); border-radius: 10px 10px 0 0; padding: 6px 12px; cursor: pointer; overflow-wrap: anywhere; text-align: left; }
.qu-tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.qu-tabpanel { min-width: 0; }

/* 失敗したら */
.qu-jobs { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.qu-jobs li { display: grid; grid-template-columns: 2em 1.4em minmax(0, 1fr); align-items: baseline; gap: 6px; font-size: 13px; border-radius: 10px; padding: 6px 10px; background: var(--line2); color: var(--ink2); }
.qu-jobs li.ok { background: #f0fdf4; color: #14532d; }
.qu-jobs li.ng { background: #fef2f2; color: #7f1d1d; }
.qu-jobs li.skip { background: #f8fafc; color: var(--muted); border: 1px dashed #cbd5e1; }
.qu-jn { font: 600 14px var(--latin); color: var(--ink); }
.qu-jm { font-weight: 700; }
.qu-cbh { margin: 10px 0 4px; font-size: 12px; font-weight: 700; color: var(--muted); }
.qu-cbs { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.qu-cbs li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; font-size: 13px; color: var(--ink2); }
.qu-cbs li code { min-width: 4.5em; font-size: 12.5px; font-weight: 600; border-radius: 6px; padding: 1px 7px; }
.qu-cbs li.on code { background: #dcfce7; color: #14532d; }
.qu-cbs li.off code { background: #f1f5f9; color: var(--muted); text-decoration: line-through; }

/* 定期処理の重なり・台数 */
.qu-ebar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin-bottom: 8px; }
.qu-ebar .qu-rl { min-width: 0; }
.qu-slot { stroke: #cbd5e1; stroke-dasharray: 2 3; }
.qu-skipt { fill: #b91c1c; font-weight: 700; }
.qu-run { fill: #93c5fd; stroke: #1d4ed8; }
.qu-run2 { fill: #fca5a5; stroke: #b91c1c; }
.qu-srv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.qu-srvbox { border: 1px dashed #cbd5e1; border-radius: 12px; padding: 8px 12px; font-size: 12.5px; color: var(--muted); display: flex; flex-direction: column; gap: 2px; }
.qu-srvbox b { font-size: 13px; color: var(--ink2); }
.qu-srvbox.on { border: 1px solid #93c5fd; background: #eff6ff; color: #1e3a8a; }
.qu-srvbox.on b { color: #1e3a8a; }

/* デプロイの順番 */
.qu-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; counter-reset: st; }
.qu-steps li { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; counter-increment: st; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.qu-steps b { font-size: 14px; display: flex; align-items: center; gap: 8px; overflow-wrap: anywhere; }
.qu-steps b::before { content: counter(st); flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; font: 600 12px/22px var(--latin); text-align: center; }
.qu-steps p { margin: 0; font-size: 13px; color: var(--ink2); }
.qu-steps .srcl { margin-top: auto; padding-top: 4px; }

/* 時間の設定 */
.qu-tin { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.qu-in { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.qu-in > span:first-child { font-size: 12px; font-weight: 700; color: var(--muted); }
.qu-inrow { display: flex; align-items: center; gap: 6px; }
.qu-inrow input { width: 100%; min-width: 0; font: 600 15px var(--latin); color: var(--ink); background: var(--paper); border: 1px solid #94a3b8; border-radius: 10px; padding: 6px 9px; }
.qu-inrow small { font-size: 12px; color: var(--ink2); }
.qu-tsum { margin: 12px 0 0; font-size: 13.5px; font-weight: 700; }
.qu-tsum.ok { color: #15803d; }
.qu-tsum.ng { color: #b91c1c; }
.qu-tres { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 6px; }
.qu-tres li { display: grid; grid-template-columns: 1.6em minmax(0, 1fr); gap: 4px; border-radius: 10px; padding: 8px 10px; font-size: 13px; color: var(--ink2); }
.qu-tres li b { color: var(--ink); }
.qu-tres li p { margin: 2px 0 0; }
.qu-tres li .srcl { margin-top: 4px; }
.qu-tres li.ok { background: #f0fdf4; }
.qu-tres li.ng { background: #fef2f2; }
.qu-tres li.warn { background: #fffbeb; }
.qu-tm { font-weight: 700; font-size: 15px; }
.qu-tres li.ok .qu-tm { color: #15803d; }
.qu-tres li.ng .qu-tm { color: #b91c1c; }
.qu-tres li.warn .qu-tm { color: #b45309; }

/* AI が書いたジョブを読む */
.qu-bar { position: sticky; top: 0; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 9px 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 2px 10px rgba(15, 23, 42, .06); }
.qu-score2 { font-size: 13px; color: var(--ink2); white-space: nowrap; }
.qu-score2 b { font: 600 20px var(--latin); color: var(--ink); }
.qu-score2.all b { color: #15803d; }
.qu-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.qu-hintout { margin: 8px 0 0; font-size: 13px; color: #78350f; background: #fffbeb; border-radius: 10px; padding: 8px 12px; }
.qu-hintout:empty { display: none; }
.qu-files { display: grid; gap: 12px; margin-top: 12px; }
.qu-file2 { background: #0f172a; border-radius: 12px; overflow: hidden; min-width: 0; }
.qu-path { margin: 0; padding: 7px 12px; background: #1e293b; color: #cbd5e1; font: 500 12px var(--latin); overflow-wrap: anywhere; }
.qu-code { padding: 6px 0; font-family: var(--latin); font-size: 12.5px; line-height: 1.6; }
.qu-line { display: grid; grid-template-columns: 2.8em minmax(0, 1fr) auto; align-items: start; width: 100%; padding: 0 10px 0 0; border: 0; background: transparent; color: #e2e8f0; font: inherit; text-align: left; }
button.qu-line { cursor: pointer; }
button.qu-line:hover { background: rgba(148, 163, 184, .18); }
.qu-line.is-found, button.qu-line.is-found:hover { background: rgba(250, 204, 21, .20); }
.qu-line.is-open { box-shadow: inset 0 0 0 2px #facc15; }
.qu-ln { text-align: right; padding-right: 10px; color: #94a3b8; user-select: none; }
.qu-tx { white-space: pre-wrap; overflow-wrap: anywhere; min-width: 0; }
.qu-badge { margin-left: 8px; color: #facc15; font-weight: 700; }
.qu-badge:empty { display: none; }
.qu-note { margin: 4px 12px 8px 3.2em; background: var(--paper); color: var(--ink2); border-radius: 10px; padding: 10px 13px; font-family: var(--sans); font-size: 13px; line-height: 1.65; }
.qu-note p { margin: 4px 0 0; }
.qu-note .qu-nk { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 13.5px; color: var(--ink); }
.qu-note.hit { box-shadow: inset 0 0 0 2px #facc15; }
.qu-note.ok .qu-nk { color: #166534; }
.qu-note.plain { color: var(--muted); }
.qu-found { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.qu-fcard { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 10px 13px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.qu-fcard h4 { margin: 0; font-size: 13.5px; }
.qu-fcard p { margin: 0; font-size: 12.5px; color: var(--ink2); }
.qu-jump { align-self: flex-start; appearance: none; font: inherit; font-size: 12px; font-weight: 700; color: #1d4ed8; background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 999px; padding: 3px 10px; cursor: pointer; margin-top: auto; }
.qu-empty { grid-column: 1 / -1; margin: 0; font-size: 13px; color: var(--muted); border: 1px dashed var(--line); border-radius: 12px; padding: 10px 13px; }
.qu-done { grid-column: 1 / -1; margin: 0; font-size: 13.5px; color: #14532d; background: #f0fdf4; border-radius: 12px; padding: 10px 13px; }
.qu-fixed { margin-top: 12px; padding: 12px 15px; }
.qu-fixed .qu-h4 { margin-top: 0; }
.qu-fixed .qu-file { margin-top: 8px; }

/* チェックリスト */
.cklist { padding: 10px 16px; }
.ckgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px 22px; }
.ckgrid h3 { margin: 4px 0 4px; font-size: 14.5px; }
.mlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.mlist label { display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; cursor: pointer; padding: 5px 0; }
.mlist input { flex: none; width: 17px; height: 17px; margin: 2px 0 0; accent-color: #0d9488; cursor: pointer; }
.mlist input:checked + span { color: var(--muted); text-decoration: line-through; }
.ckfoot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.ckcount { font-family: var(--latin); font-size: 13px; color: var(--muted); }
.ckreset { appearance: none; border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 5px 12px; font: inherit; font-size: 12.5px; font-weight: 700; color: var(--ink2); cursor: pointer; }

.qu-pill:focus-visible, .qu-btn:focus-visible, .qu-chip:focus-visible, .qu-ch button:focus-visible, .qu-tabs button:focus-visible, button.qu-line:focus-visible, .qu-jump:focus-visible, .qu-inrow input:focus-visible, .qu-scrub input:focus-visible, .qu-go a:focus-visible, .srcl a:focus-visible, .qu-psrc a:focus-visible, .fhead p a:focus-visible, .mlist input:focus-visible, .ckreset:focus-visible { outline: 3px solid #2563eb; outline-offset: 2px; }

@media (max-width: 1100px) {
  .qu-grid, .qu-found { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qu-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .qu-cc2 { grid-template-columns: minmax(0, 1fr); }
  .qu-tin { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .qu-grid, .qu-grid2, .qu-found, .qu-quiz, .qu-flow, .qu-flow3, .qu-steps, .qu-srv, .ckgrid { grid-template-columns: minmax(0, 1fr); }
  .qu-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qu-stats3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .qu-stats b { font-size: 20px; }
  .qu-rl { min-width: 0; width: 100%; }
  .qu-pre { font-size: 12px; }
  .qu-cmdlist li { grid-template-columns: minmax(0, 1fr); }
  .qu-cmdlist .qu-psrc { grid-column: 1; }
  .qu-line { grid-template-columns: 2.2em minmax(0, 1fr) auto; padding-right: 6px; }
  .qu-note { margin: 4px 8px 8px 8px; }
  .qu-bar { gap: 6px 10px; padding: 7px 10px; }
  .qu-tin { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
