/* ==========================================================================
   Product mock-ups
   1. Subtitle Studio (hero): drawn at a fixed "design size" and scaled to fit,
      so it keeps the proportions of the real product at every screen width.
   2. Translation QC panel (Why NOUN)
   ========================================================================== */

/* ---------- 1. Subtitle Studio ---------- */
.ed-wrap { position: relative; width: 100%; --s: 0.8; height: calc(580px * var(--s)); }
.ed {
  --e-bg: #080c20; --e-panel: #0c1130; --e-panel-2: #10163c; --e-line: rgba(255, 255, 255, 0.075);
  --e-text: #e9ebf9; --e-dim: #8a90b6; --e-acc: #5f63f2; --e-acc-soft: rgba(95, 99, 242, 0.2); --e-time: #7ea4ff;
  position: absolute; left: 0; top: 0; width: 1000px; height: 580px;
  transform: scale(var(--s)); transform-origin: 0 0;
  display: grid; grid-template-columns: 60px 1fr;
  background: var(--e-bg); color: var(--e-text);
  border: 1px solid var(--e-line); border-radius: 8px; overflow: hidden;
  font: 400 13px/1.35 var(--font);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.75);
}
.ed button { color: inherit; font: inherit; background: none; border: 0; padding: 0; }
.ed svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* rail */
.ed-rail { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 0 12px; border-right: 1px solid var(--e-line); background: var(--e-bg); }
.rail-btn { display: grid; justify-items: center; gap: 4px; width: 58px; font-size: 9.5px; font-weight: 500; color: var(--e-dim); cursor: default; }
.rail-ico { position: relative; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; }
.rail-ico svg { width: 18px; height: 18px; }
.rail-btn.is-on .rail-ico, .rail-btn.is-cta .rail-ico { background: var(--e-acc); color: #fff; }
.rail-btn.is-on, .rail-btn.is-cta { color: var(--e-text); }
.rail-badge { position: absolute; right: -6px; top: -5px; min-width: 18px; height: 16px; padding: 0 4px; border-radius: 8px; background: #f5b94a; color: #1a1200; font-size: 9px; font-weight: 700; line-height: 16px; text-align: center; }
.rail-dot { position: absolute; right: 4px; top: 4px; width: 6px; height: 6px; border-radius: 50%; background: var(--e-acc); }
.rail-gap { flex: 1; }
.rail-avatar { width: 28px; height: 28px; border-radius: 50%; background: #1b2260; color: #a7b0ff; display: grid; place-items: center; font-size: 12px; font-weight: 600; border: 1px solid var(--e-acc); }

.ed-main { display: grid; grid-template-rows: 340px 214px 26px; min-width: 0; min-height: 0; }
.ed-top { display: grid; grid-template-columns: 360px minmax(0, 1fr); min-height: 0; border-bottom: 1px solid var(--e-line); }

/* video */
.ed-video { display: flex; flex-direction: column; border-right: 1px solid var(--e-line); min-width: 0; }
.ev-head { height: 28px; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; font: 500 10.5px var(--mono); color: var(--e-dim); letter-spacing: 0.02em; }
.ev-head b { font-weight: 500; color: #c9cdee; margin-right: 12px; }
.ev-toggle { display: inline-flex; align-items: center; gap: 8px; font: 500 10.5px var(--font); color: #c9cdee; }
.ev-toggle i { width: 26px; height: 14px; border-radius: 7px; background: #1c2350; position: relative; }
.ev-toggle i::after { content: ""; position: absolute; left: 2px; top: 2px; width: 10px; height: 10px; border-radius: 50%; background: #fff; }
.ev-screen { position: relative; height: 262px; background: #000; overflow: hidden; }
.ev-screen canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.ev-sub {
  position: absolute; left: 0; right: 0; bottom: 0; height: var(--bar, 48px);
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 0 14px; font-size: 15px; line-height: 1.25; font-weight: 500; color: #fff; letter-spacing: 0.01em;
  transition: opacity 0.22s ease;
}
.ev-sub.is-off { opacity: 0; }
.ev-ctl { flex: 1; padding: 6px 12px 0; display: flex; flex-direction: column; gap: 6px; min-height: 0; }
.ev-bar { position: relative; height: 4px; border-radius: 2px; background: #1b2150; cursor: pointer; margin-top: 3px; }
.ev-bar::before { content: ""; position: absolute; inset: -8px 0; }
.ev-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 2px; background: var(--e-acc); }
.ev-knob { position: absolute; top: 50%; left: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(95, 99, 242, 0.35); }
.ev-btns { display: flex; align-items: center; gap: 12px; color: #d7daf3; }
.ev-btns button { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 5px; cursor: pointer; transition: background 0.2s; }
.ev-btns button:hover { background: rgba(255, 255, 255, 0.08); }
.ev-btns .ev-play svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.ev-play .i-play { display: none; }
.ed:not(.is-playing) .ev-play .i-play { display: block; }
.ed:not(.is-playing) .ev-play .i-pause { display: none; }
.ev-vol { width: 54px; height: 3px; border-radius: 2px; background: #1b2150; position: relative; }
.ev-vol::after { content: ""; position: absolute; left: 70%; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--e-acc); }
.ev-spacer { flex: 1; }
.ev-rate { font: 600 10.5px var(--font); padding: 4px 8px; border-radius: 4px; background: #181e4a; color: #fff; }

/* subtitle list */
.ed-subs { display: flex; flex-direction: column; min-width: 0; min-height: 0; background: var(--e-panel); }
.es-tabs { height: 36px; display: flex; align-items: center; gap: 8px; padding: 0 14px; border-bottom: 1px solid var(--e-line); font-size: 12px; }
.es-lang { display: inline-flex; align-items: center; gap: 6px; color: #aab0ff; margin-right: 4px; }
.es-tab { padding: 4px 10px; border-radius: 6px; border: 1px solid var(--e-line); color: #cfd3f2; }
.es-tab small { color: var(--e-dim); font-size: 10.5px; margin-left: 4px; }
.es-tab.is-on { background: var(--e-acc); border-color: var(--e-acc); color: #fff; font-weight: 600; }
.es-head { height: 40px; display: flex; align-items: center; gap: 10px; padding: 0 14px; }
.es-head h4 { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.es-pill { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 10px; background: rgba(255, 93, 108, 0.14); border: 1px solid rgba(255, 93, 108, 0.45); color: #ff8a95; font-size: 10.5px; font-weight: 600; }
.es-pill svg { width: 11px; height: 11px; }
.es-search { margin-left: auto; display: flex; align-items: center; gap: 6px; width: 190px; height: 26px; padding: 0 8px; border-radius: 6px; border: 1px solid var(--e-line); color: var(--e-dim); font-size: 10.5px; white-space: nowrap; overflow: hidden; }
.es-search svg { width: 12px; height: 12px; }
.es-add { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 9px; border-radius: 6px; border: 1px solid var(--e-line); font-size: 11px; font-weight: 600; }
.es-cols, .es-row { display: grid; grid-template-columns: 30px 24px 92px minmax(0, 1.05fr) minmax(0, 1.15fr) 38px; align-items: center; column-gap: 6px; padding: 0 14px 0 12px; }
.es-cols { height: 26px; font: 500 10.5px var(--font); color: #aab0d6; border-top: 1px solid var(--e-line); border-bottom: 1px solid var(--e-line); background: rgba(255, 255, 255, 0.015); }
.es-cols .jp { color: #8a8fff; font-weight: 600; }
.es-viewport { flex: 1; overflow: hidden; position: relative; min-height: 0; }
.es-rows { transition: transform 0.6s var(--ease); will-change: transform; }
.es-row { position: relative; min-height: 46px; padding-block: 6px; border-bottom: 1px solid var(--e-line); cursor: pointer; transition: background 0.35s; }
.es-row:hover { background: rgba(255, 255, 255, 0.025); }
.es-row.is-active { background: var(--e-acc-soft); box-shadow: inset 3px 0 0 var(--e-acc); }
.es-check { width: 12px; height: 12px; border: 1.4px solid #48508a; border-radius: 3px; }
.es-n { color: var(--e-dim); font-size: 11px; }
.es-row.is-active .es-n { color: #fff; font-weight: 700; }
.es-t { font: 400 10.5px/1.45 var(--mono); color: #cbd0ee; }
.es-t span { display: block; color: #6d739c; }
.es-t span.is-bad { color: #ff6b7a; }
.es-row.is-active .es-t { color: var(--e-time); }
.es-en { color: #dfe2f6; font-size: 12.5px; }
.es-jp { font-size: 12.5px; color: #f1f2fb; }
.es-row.is-active .es-jp { padding: 5px 8px; margin: -3px 0; border: 1px solid #3a42a6; border-radius: 5px; background: rgba(8, 12, 34, 0.7); }
.es-cps { text-align: right; color: var(--e-dim); font: 500 11px var(--mono); }
.es-en i, .es-jp i { display: block; font-style: normal; }

/* timeline */
.ed-tl { display: flex; flex-direction: column; min-height: 0; background: var(--e-bg); border-bottom: 1px solid var(--e-line); }
.et-bar { height: 32px; display: flex; align-items: center; gap: 14px; padding: 0 14px; border-bottom: 1px solid var(--e-line); font-size: 11px; color: #c5c9ea; }
.et-bar span { display: inline-flex; align-items: center; gap: 5px; font-weight: 500; }
.et-bar svg { width: 13px; height: 13px; }
.et-bar .dim { color: #565d8e; }
.et-bar .sep { width: 1px; height: 14px; background: var(--e-line); }
.et-bar .hint { color: var(--e-dim); font-weight: 400; margin-left: 4px; }
.et-bar .zoom { margin-left: auto; font: 500 10.5px var(--mono); }
.et-bar .zoom i { display: inline-block; width: 70px; height: 3px; background: #1b2150; border-radius: 2px; position: relative; }
.et-bar .zoom i::after { content: ""; position: absolute; left: 18%; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--e-acc); }
.et-body { flex: 1; display: grid; grid-template-columns: 56px minmax(0, 1fr); min-height: 0; }
.et-labels { display: grid; grid-template-rows: 22px 36px 34px 56px 30px; border-right: 1px solid var(--e-line); background: var(--e-bg); }
.et-labels > div { display: flex; align-items: center; justify-content: center; gap: 6px; color: #7e85b2; border-bottom: 1px solid var(--e-line); font: 500 10px var(--mono); }
.et-labels svg { width: 12px; height: 12px; }
.et-view { position: relative; overflow: hidden; }
.et-content { position: relative; height: 100%; will-change: transform; }
.ed-tl.is-rewind .et-content, .ed-tl.is-rewind .et-ph { transition: transform 0.7s var(--ease), left 0.7s var(--ease); }
.et-ruler { position: relative; height: 22px; border-bottom: 1px solid var(--e-line); }
.et-ruler i { position: absolute; bottom: 0; width: 1px; height: 5px; background: #3b4278; }
.et-ruler i.big { height: 11px; background: #566099; }
.et-ruler b { position: absolute; top: 3px; padding-left: 5px; font: 500 10px var(--mono); color: #9aa1cf; }
.et-track { position: relative; border-bottom: 1px solid var(--e-line); }
.et-video { height: 36px; background: #05071a url("../assets/img/timeline-thumbs.jpg") repeat-x 0 0 / auto 100%; }
.et-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 12, 32, 0.15), transparent 30%, transparent 70%, rgba(8, 12, 32, 0.15)); }
.et-subs { height: 34px; }
.et-block { position: absolute; top: 4px; bottom: 4px; padding: 0 8px; display: flex; align-items: center; border-radius: 4px; border: 1.5px solid #4a52d8; background: rgba(95, 99, 242, 0.16); color: #dfe2fb; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: background 0.3s, border-color 0.3s, box-shadow 0.3s; cursor: pointer; }
.et-block.is-active { background: #5f63f2; border-color: #aab0ff; color: #fff; box-shadow: 0 0 0 2px rgba(143, 140, 245, 0.35), 0 0 18px rgba(95, 99, 242, 0.6); }
.et-wave { height: 56px; background: #070a1f; }
.et-wave canvas { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.et-glow { position: absolute; top: 0; bottom: 0; width: 120px; margin-left: -60px; background: radial-gradient(closest-side, rgba(180, 186, 255, 0.28), transparent); pointer-events: none; mix-blend-mode: screen; }
.et-spk { height: 30px; }
.et-spkb { position: absolute; top: 4px; bottom: 4px; padding: 0 8px; display: flex; align-items: center; gap: 5px; border-radius: 4px; color: #fff; font-size: 10.5px; font-weight: 600; white-space: nowrap; overflow: hidden; }
.et-spkb svg { width: 11px; height: 11px; }
.et-ph { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: #ff4f5e; pointer-events: none; left: 0; box-shadow: 0 0 10px rgba(255, 79, 94, 0.6); }
.et-ph::before { content: ""; position: absolute; top: 0; left: -6px; width: 14px; height: 12px; background: #ff4f5e; clip-path: polygon(0 0, 100% 0, 100% 55%, 50% 100%, 0 55%); }

/* status */
.ed-status { display: flex; align-items: center; gap: 14px; padding: 0 14px; font: 500 10.5px var(--mono); color: var(--e-dim); white-space: nowrap; overflow: hidden; background: #060919; }
.ed-status b { color: #e4e7fb; font-weight: 600; }
.ed-status .tc { color: var(--e-time); }
.ed-status .sep { width: 1px; height: 12px; background: var(--e-line); }
.ed-status .err::before { content: ""; display: inline-block; width: 8px; height: 8px; background: #ff4f5e; margin-right: 6px; vertical-align: -1px; }
.ed-status .keys { margin-left: auto; }

/* narrow screens: same side-by-side layout, rail dropped, scaled down (it is a product preview, never stacked) */
.ed.is-compact { width: 820px; grid-template-columns: 1fr; }
.ed.is-compact .ed-rail { display: none; }
.ed.is-compact .ed-top { grid-template-columns: 300px minmax(0, 1fr); }
.ed.is-compact .ev-screen { height: 262px; }
.ed.is-compact .es-search, .ed.is-compact .es-add, .ed.is-compact .et-bar .hint, .ed.is-compact .ed-status .keys { display: none; }

/* ---------- 2. Translation QC panel ---------- */
.qp {
  --q-bg: #0a0f2c; --q-card: #0f1538; --q-line: rgba(255, 255, 255, 0.09); --q-text: #eceefb; --q-dim: #9aa0c6; --q-acc: #5f63f2; --q-bad: #ff5d6c; --q-warn: #f5b94a; --q-ok: #4fd1a0;
  background: var(--q-bg); color: var(--q-text); border: 1px solid #1b2257; border-radius: 10px; padding: 16px; display: grid; gap: 14px; position: relative; overflow: hidden;
  font-size: 0.86rem; line-height: 1.4;
}
.qp button { font: inherit; color: inherit; cursor: pointer; }
.qp-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border: 1px solid var(--q-line); border-radius: 8px; background: #070b22; gap: 4px; }
.qp-tab { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; border: 0; border-radius: 6px; background: none; color: var(--q-dim); font-weight: 600; font-size: 0.86rem; transition: background 0.25s, color 0.25s; }
.qp-tab:hover { color: #fff; }
.qp-tab svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.qp-tab[aria-selected="true"] { background: var(--q-acc); color: #fff; }
.qp-pane[hidden] { display: none; }
.qp-pane { display: grid; gap: 14px; }

.qp-check { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 10px; align-items: end; }
.qp-check label { grid-column: 1 / -1; color: var(--q-dim); font-size: 0.74rem; margin-bottom: -4px; }
.qp-select { display: flex; align-items: center; justify-content: space-between; min-height: 42px; padding: 0 14px; border: 1px solid var(--q-line); border-radius: 8px; background: #070b22; font-weight: 500; }
.qp-select svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.qp-run { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border: 0; border-radius: 8px; background: var(--q-acc); color: #fff; font-weight: 600; transition: background 0.2s; }
.qp-run:hover { background: #7478ff; }
.qp-run svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.qp.is-running .qp-run svg { animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.qp-score { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border: 1px solid var(--q-line); border-radius: 10px; background: var(--q-card); }
.qp-num { font: 600 2.5rem/1 var(--font); letter-spacing: -0.04em; color: var(--q-warn); font-variant-numeric: tabular-nums; min-width: 2.7ch; transition: color 0.4s; }
.qp-num.is-clean { color: var(--q-ok); }
.qp-score strong { display: block; font-size: 0.98rem; }
.qp-score span { color: var(--q-dim); font-size: 0.8rem; }

.qp-all { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; width: 100%; border: 0; border-radius: 8px; background: var(--q-acc); color: #fff; font-weight: 600; font-size: 0.95rem; transition: background 0.2s, opacity 0.2s; }
.qp-all:hover { background: #7478ff; }
.qp-all:disabled { background: #1a2158; color: var(--q-dim); cursor: default; }
.qp-all svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.qp-count { color: var(--q-dim); font-weight: 600; font-size: 0.82rem; }

.qp-stack { position: relative; }
.qp-cue { padding: 16px 16px 16px 18px; border: 1px solid var(--q-line); border-left: 3px solid var(--q-bad); border-radius: 10px; background: var(--q-card); }
.qp-cue.is-warn { border-left-color: var(--q-warn); }
.qp-cue.is-out { animation: cue-out 0.35s var(--ease) forwards; }
.qp-cue.is-in { animation: cue-in 0.45s var(--ease); }
@keyframes cue-out { to { opacity: 0; transform: translateX(-14px); } }
@keyframes cue-in { from { opacity: 0; transform: translateX(14px); } }
.qp-meta { display: flex; gap: 10px; color: var(--q-dim); font-size: 0.78rem; margin-bottom: 8px; }
.qp-cue h4 { font-size: 1.02rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 6px; }
.qp-cue p { color: #b5bad9; font-size: 0.84rem; margin-bottom: 12px; }
.qp-k { display: block; color: var(--q-dim); font-size: 0.74rem; margin-bottom: 2px; }
.qp-v { display: block; font-size: 0.9rem; margin-bottom: 10px; }
.qp-v.is-cur { color: var(--q-bad); }
.qp-fix { padding: 10px 12px; border: 1px solid #262e7a; border-radius: 8px; background: #121a4a; margin-bottom: 12px; }
.qp-fix .qp-v { margin: 0; }
.qp-acts { display: flex; align-items: center; gap: 8px; }
.qp-apply { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 0; border-radius: 8px; background: var(--q-acc); color: #fff; font-weight: 600; transition: background 0.2s; }
.qp-apply:hover { background: #7478ff; }
.qp-apply svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.qp-dismiss { min-height: 40px; padding: 0 14px; border: 0; background: none; color: var(--q-dim); font-weight: 600; transition: color 0.2s; }
.qp-dismiss:hover { color: #fff; }
.qp-done { display: none; padding: 26px 18px; border: 1px solid rgba(79, 209, 160, 0.35); border-radius: 10px; background: rgba(79, 209, 160, 0.06); text-align: center; }
.qp-done strong { display: block; font-size: 1.05rem; margin-bottom: 4px; color: var(--q-ok); }
.qp-done span { color: var(--q-dim); font-size: 0.84rem; }
.qp.is-complete .qp-cue, .qp.is-complete .qp-all, .qp.is-complete .qp-count { display: none; }
.qp.is-complete .qp-done { display: block; }

.qp-rows li { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--q-line); border-radius: 10px; background: var(--q-card); margin-bottom: 8px; }
.qp-rows .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--q-ok); }
.qp-rows .is-warn .dot { background: var(--q-warn); }
.qp-rows em { display: block; font-style: normal; color: var(--q-dim); font-size: 0.76rem; }
.qp-rows .st { font: 500 0.64rem/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--q-ok); }
.qp-rows .is-warn .st { color: var(--q-warn); }
.qp-foot { color: var(--q-dim); font-size: 0.74rem; text-align: center; }

/* list rows: speaker colour bar + expanding detail line on the active cue */
.es-row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--spk, transparent); opacity: 0.85; }
.es-row.is-active { box-shadow: none; }
.es-row.is-active::before { width: 4px; opacity: 1; }
.es-extra { display: none; grid-column: 3 / -1; padding-top: 6px; font: 400 10.5px var(--mono); color: #7f86b3; }
.es-row.is-active .es-extra { display: block; }
.ed-wrap .ed { will-change: transform; }
@media (prefers-reduced-motion: reduce) { .es-rows { transition: none; } }

/* compact QC panel (keeps the Why section short) */
.qp { padding: 14px; gap: 10px; }
.qp-pane { gap: 10px; }
.qp-tab { min-height: 36px; }
.qp-check { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.qp-select, .qp-run { min-height: 38px; }
.qp-score { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px 14px; padding: 12px 14px; }
.qp-num { font-size: 2.1rem; }
.qp-score-t span { display: block; }
.qp-all { width: auto; min-height: 40px; padding: 0 14px; font-size: 0.86rem; white-space: nowrap; }
.qp-cue { padding: 12px 14px 12px 16px; }
.qp-meta { margin-bottom: 4px; }
.qp-cue h4 { margin-bottom: 8px; }
.qp-v { margin-bottom: 6px; }
.qp-fix { padding: 8px 10px; margin-bottom: 10px; }
.qp-apply, .qp-dismiss { min-height: 38px; }
.qp-rows li { padding: 9px 12px; margin-bottom: 6px; }
@media (max-width: 640px) { .qp-score { grid-template-columns: auto minmax(0, 1fr); } .qp-all { grid-column: 1 / -1; width: 100%; justify-content: center; } }
