/* ==========================================================================
   Schlag den Star - gemeinsames Design
   Show-Look: dunkles Nachtblau, kräftiges Rot, weiße kursive Versalien.
   Blamieren oder Kassieren: gleicher Look mit goldener Plakette.
   ========================================================================== */

:root {
  --bg: #050a1c;
  --bg-2: #0a1330;
  --panel: #101c42;
  --panel-2: #16244f;
  --line: #24346b;
  --text: #ffffff;
  --muted: #93a0c6;
  --red: #e30613;
  --red-dark: #a00410;
  --gold: #ffc400;
  --green: #1fbf5f;
  --star: #e30613;
  --challenger: #2f7bff;
  --bok-red: #d20a11;
  --bok-red-dark: #9c060c;
  --bok-yellow: #ffd400;
  --radius: 12px;
  --font: "Futura", "Avenir Next Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: var(--font);
  background:
    radial-gradient(1200px 600px at 50% -10%, #16255c 0%, transparent 60%),
    radial-gradient(900px 500px at 85% 110%, #101c44 0%, transparent 55%),
    var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

/* --------------------------------------------------------------------------
   Logo (SVG aus common.js: goldene Plakette mit Lorbeerkranz)
   -------------------------------------------------------------------------- */

.sds-logo {
  display: block;
  height: auto;
  user-select: none;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.55));
}

/* --------------------------------------------------------------------------
   Bausteine
   -------------------------------------------------------------------------- */

h1, h2, h3 { margin: 0; text-transform: uppercase; letter-spacing: 0.04em; }

.btn {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 18px;
  cursor: pointer;
  transition: transform 0.06s ease, filter 0.12s ease;
}
.btn:hover { filter: brightness(1.15); }
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.35; cursor: not-allowed; transform: none; }
.btn.red { background: var(--red); border-color: var(--red); }
.btn.green { background: var(--green); border-color: var(--green); color: #04240f; }
.btn.gold { background: var(--gold); border-color: var(--gold); color: #241a00; }
.btn.ghost { background: transparent; }
.btn.small { font-size: 13px; padding: 8px 12px; border-radius: 9px; }
.btn.big { font-size: 20px; padding: 16px 26px; }

input[type="text"], input[type="number"], textarea, select {
  font-family: var(--font);
  font-size: 16px;
  color: var(--text);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  width: 100%;
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--red); outline-offset: 0; }
textarea { resize: vertical; min-height: 70px; }
label { display: block; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin: 12px 0 5px; }

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  color: var(--muted);
}
.badge.red { background: var(--red); border-color: var(--red); color: var(--text); }
.badge.gold { background: var(--gold); border-color: var(--gold); color: #241a00; }
.badge.green { background: var(--green); border-color: var(--green); color: #04240f; }

.muted { color: var(--muted); }
.hidden { display: none !important; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  background: var(--red);
  color: var(--text);
  font-weight: 800;
  padding: 12px 20px;
  border-radius: 10px;
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.conn-dot {
  position: fixed;
  top: 10px;
  right: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  z-index: 1001;
  transition: background 0.3s;
}
.conn-dot.ok { background: var(--green); }

/* --------------------------------------------------------------------------
   Startseite
   -------------------------------------------------------------------------- */

.landing {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 34px;
  padding: 24px;
}
.landing .sds-logo { width: clamp(240px, 38vw, 400px); }
.landing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  width: 100%;
  max-width: 900px;
}
.landing-card { display: flex; flex-direction: column; gap: 12px; }
.landing-card h2 { font-size: 18px; }
.landing-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.landing-card .spacer { flex: 1; }
.code-input { text-transform: uppercase; text-align: center; font-size: 26px !important; font-weight: 900; letter-spacing: 0.4em; }

/* --------------------------------------------------------------------------
   Scoreboard (Beamer + Host)
   -------------------------------------------------------------------------- */

.scorebar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 14px;
}
.score-side {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 18px;
  min-width: 0;
}
.score-side.right { flex-direction: row-reverse; text-align: right; }
.score-side .name {
  font-size: clamp(16px, 2.6vw, 30px);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  flex: 1;
}
.score-side .pts {
  font-size: clamp(30px, 5vw, 62px);
  font-weight: 900;
  line-height: 1;
  padding: 6px 14px;
  border-radius: 10px;
  min-width: 1.7em;
  text-align: center;
}
.score-side.star .pts { background: var(--star); }
.score-side.challenger .pts { background: var(--challenger); }
.score-side.leader { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset; }
.score-target {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 6px 14px;
}
.score-target .t-label { font-size: 11px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.score-target .t-value { font-size: clamp(20px, 3vw, 36px); font-weight: 900; color: var(--gold); }

/* --------------------------------------------------------------------------
   Beamer
   -------------------------------------------------------------------------- */

.beamer {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: clamp(14px, 2.5vw, 34px);
  gap: clamp(14px, 2.5vw, 30px);
}
.beamer-stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: clamp(12px, 2.6vh, 26px);
  min-height: 0;
}

.game-no {
  display: inline-block;
  background: linear-gradient(180deg, #ffd24a 0%, var(--gold) 55%, #e09a00 100%);
  color: #1a1200;
  font-size: clamp(16px, 2.4vw, 28px);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 8px 26px;
  transform: skewX(-8deg);
}
.game-title { font-size: clamp(34px, 7vw, 96px); font-weight: 900; font-style: italic; line-height: 1.05; max-width: 90vw; }
.game-points { font-size: clamp(18px, 3vw, 34px); font-weight: 900; color: var(--gold); letter-spacing: 0.1em; text-transform: uppercase; }
.game-desc { font-size: clamp(16px, 2.2vw, 26px); color: var(--muted); max-width: 900px; line-height: 1.5; white-space: pre-wrap; }

.question-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(18px, 3vw, 38px);
  max-width: 1100px;
  width: 100%;
}
.question-card .q-label { font-size: 14px; font-weight: 900; letter-spacing: 0.25em; color: var(--gold); text-transform: uppercase; margin-bottom: 14px; }
.question-card .q-text { font-size: clamp(24px, 3.6vw, 46px); font-weight: 900; line-height: 1.2; }
.answer-line { font-size: clamp(20px, 2.8vw, 38px); font-weight: 900; color: var(--gold); }
.answer-line .a-label { display: block; font-size: 14px; letter-spacing: 0.25em; color: var(--muted); margin-bottom: 6px; text-transform: uppercase; }

.estimate-grid { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.estimate-box {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 30px;
  min-width: 230px;
}
.estimate-box .e-name { font-size: 16px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.estimate-box.star .e-name { color: #ff6b74; }
.estimate-box.challenger .e-name { color: #7aa9ff; }
.estimate-box .e-value { font-size: clamp(28px, 4vw, 52px); font-weight: 900; }
.estimate-box .e-wait { color: var(--muted); font-size: 18px; }
.estimate-box.winner { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold) inset; }

.games-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.gs-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
  min-width: 86px;
}
.gs-item .gs-no { font-size: 11px; font-weight: 900; letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase; }
.gs-item .gs-title { font-size: 13px; font-weight: 800; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gs-item.won-star { border-color: var(--star); background: rgba(227, 6, 19, 0.16); }
.gs-item.won-challenger { border-color: var(--challenger); background: rgba(47, 123, 255, 0.16); }
.gs-item.current { border-color: var(--gold); background: rgba(255, 196, 0, 0.1); }
.gs-item.secret .gs-title { color: var(--muted); letter-spacing: 0.2em; }

.winner-name { font-size: clamp(44px, 9vw, 130px); font-weight: 900; font-style: italic; line-height: 1; }
.winner-label { font-size: clamp(18px, 3vw, 32px); font-weight: 900; letter-spacing: 0.3em; color: var(--gold); text-transform: uppercase; }

.buzz-banner {
  font-size: clamp(26px, 4.5vw, 60px);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  background: var(--text);
  color: var(--bg);
  padding: 14px 40px;
  transform: skewX(-8deg);
  animation: pop 0.25s ease;
}
@keyframes pop {
  0% { transform: skewX(-8deg) scale(0.6); opacity: 0; }
  100% { transform: skewX(-8deg) scale(1); opacity: 1; }
}

.join-hint { font-size: clamp(16px, 2vw, 22px); color: var(--muted); }
.join-hint b { color: var(--text); }
.room-code-big { font-size: clamp(50px, 10vw, 120px); font-weight: 900; letter-spacing: 0.3em; color: var(--gold); }

/* --------------------------------------------------------------------------
   Blamieren oder Kassieren (gleicher Show-Look, goldene Plakette)
   -------------------------------------------------------------------------- */

.bok-logo {
  display: inline-block;
  transform: skewX(-8deg) rotate(-2deg);
  background: linear-gradient(180deg, #ffd24a 0%, var(--gold) 55%, #e09a00 100%);
  color: #1a1200;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2em 0.6em;
  border: 3px solid #ffffff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
  line-height: 1.1;
  text-align: center;
}
.bok-pips { display: flex; gap: 10px; }
.bok-pip {
  width: clamp(20px, 3vw, 34px);
  height: clamp(20px, 3vw, 34px);
  border-radius: 50%;
  border: 3px solid var(--gold);
  background: transparent;
}
.bok-pip.filled { background: var(--gold); }
.bok-score-row {
  display: flex;
  gap: clamp(20px, 6vw, 80px);
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.bok-player { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.bok-player .bp-name {
  font-size: clamp(18px, 2.6vw, 32px);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  color: var(--text);
}
.bok-verdict {
  font-size: clamp(24px, 3.8vw, 50px);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  transform: skewX(-8deg);
  padding: 8px 28px;
  animation: pop 0.3s ease;
}
.bok-verdict.kassiert { background: linear-gradient(180deg, #ffd24a 0%, var(--gold) 55%, #e09a00 100%); color: #1a1200; }
.bok-verdict.blamiert { background: var(--red); color: var(--text); }

/* --------------------------------------------------------------------------
   Spieler (Handy)
   -------------------------------------------------------------------------- */

.player-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 16px;
  gap: 14px;
  max-width: 560px;
  margin: 0 auto;
}
.player-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.player-head .p-name { font-size: 22px; font-weight: 900; font-style: italic; text-transform: uppercase; }
.player-head .p-score { font-size: 26px; font-weight: 900; padding: 4px 14px; border-radius: 10px; }
.player-page.star .p-score { background: var(--star); }
.player-page.challenger .p-score { background: var(--challenger); }
.player-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
}
.status-line { font-size: 17px; color: var(--muted); line-height: 1.4; max-width: 420px; }
.status-line b { color: var(--text); }

.buzzer {
  width: min(78vw, 340px);
  height: min(78vw, 340px);
  border-radius: 50%;
  border: none;
  background: radial-gradient(circle at 50% 30%, #ff4a43 0%, var(--bok-red) 55%, var(--bok-red-dark) 100%);
  box-shadow: 0 14px 0 #6e0409, 0 22px 40px rgba(0, 0, 0, 0.5);
  color: var(--text);
  font-family: var(--font);
  font-size: 34px;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: transform 0.05s ease, box-shadow 0.05s ease, filter 0.2s ease;
}
.buzzer:active { transform: translateY(10px); box-shadow: 0 4px 0 #6e0409, 0 10px 20px rgba(0, 0, 0, 0.5); }
.buzzer:disabled { filter: grayscale(0.85) brightness(0.6); cursor: not-allowed; }
.buzzer.mine { filter: none; background: radial-gradient(circle at 50% 30%, #ffe670 0%, var(--gold) 55%, #b88b00 100%); color: #241a00; box-shadow: 0 14px 0 #7a5c00, 0 22px 40px rgba(0, 0, 0, 0.5); }

.estimate-form { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 340px; }
.estimate-form input { font-size: 28px; font-weight: 900; text-align: center; }

.side-pick { display: flex; flex-direction: column; gap: 14px; width: 100%; max-width: 380px; }
.side-btn { font-size: 22px; padding: 22px; }
.side-btn.star { background: var(--star); border-color: var(--star); }
.side-btn.challenger { background: var(--challenger); border-color: var(--challenger); }

/* --------------------------------------------------------------------------
   Host (Steuerung)
   -------------------------------------------------------------------------- */

.host {
  max-width: 1080px;
  margin: 0 auto;
  padding: 18px 16px 60px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.host-top { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.host-top .sds-logo { width: 76px; filter: none; }
.host-top .room-code { font-size: 20px; font-weight: 900; letter-spacing: 0.25em; color: var(--gold); }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tab-btn { flex: 1; min-width: 110px; }
.tab-btn.active { background: var(--gold); border-color: var(--gold); color: #241a00; }

.host-scores { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hs-card { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.hs-card .hs-name { font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 17px; text-align: center; }
.hs-card .hs-pts { font-size: 44px; font-weight: 900; line-height: 1; padding: 4px 18px; border-radius: 10px; }
.hs-card.star .hs-pts { background: var(--star); }
.hs-card.challenger .hs-pts { background: var(--challenger); }
.hs-adjust { display: flex; gap: 6px; }

.game-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.game-row .gr-no { font-weight: 900; color: var(--muted); min-width: 64px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; }
.game-row .gr-title { flex: 1; font-weight: 800; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.game-row.done { opacity: 0.75; }
.game-row.active-game { border-color: var(--gold); }
.gr-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }

.control-box { display: flex; flex-direction: column; gap: 14px; }
.control-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.control-q { background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 14px; }
.control-q .cq-text { font-size: 19px; font-weight: 800; line-height: 1.35; }
.control-q .cq-answer { margin-top: 8px; color: var(--gold); font-weight: 800; }
.qwins { display: flex; gap: 18px; align-items: center; font-weight: 900; font-size: 18px; }
.qwins .star { color: #ff6b74; }
.qwins .challenger { color: #7aa9ff; }

/* Spielsteuerung: klar getrennte Arbeitsschritte */
.ctl-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.ctl-sec {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.ctl-sec-title {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.btn-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.btn.wide { width: 100%; }
.btn .btn-sub { display: block; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; opacity: 0.8; }
.winner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.winner-grid .full { grid-column: 1 / -1; }
.winner-grid .btn { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.qwin-row, .sub-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
}
.qwin-row .qw-name, .sub-row .qw-name {
  flex: 1;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.qwin-row.star .qw-name, .sub-row.star .qw-name { color: #ff6b74; }
.qwin-row.challenger .qw-name, .sub-row.challenger .qw-name { color: #7aa9ff; }
.qwin-row .qw-count { font-size: 24px; font-weight: 900; min-width: 1.4em; text-align: center; }
.qwin-row .qw-btns { display: flex; gap: 6px; }
.sub-row b { color: var(--gold); font-size: 18px; }

.buzz-status {
  text-align: center;
  font-weight: 900;
  font-style: italic;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 1px dashed var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--muted);
  background: var(--bg-2);
}
.buzz-status.armed { border: 1px solid var(--green); color: var(--green); }
.buzz-status.buzzed { border: 1px solid var(--gold); background: var(--gold); color: #241a00; animation: pop 0.25s ease; }

.editor-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 6, 16, 0.82);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 30px 14px;
  overflow-y: auto;
  z-index: 500;
}
.editor {
  width: 100%;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.q-editor-row { display: grid; grid-template-columns: 1fr 200px 36px; gap: 8px; margin-bottom: 8px; align-items: start; }
.q-editor-row.estimate { grid-template-columns: 1fr 120px 110px 36px; }
.q-del { background: transparent; border: 1px solid var(--line); color: var(--muted); border-radius: 8px; cursor: pointer; height: 41px; }
.q-del:hover { color: var(--red); border-color: var(--red); }

.link-box { display: flex; flex-direction: column; gap: 4px; }
.link-box code { background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font-size: 13px; word-break: break-all; color: var(--gold); }

@media (max-width: 640px) {
  /* Beamer-Scorebar untereinander (falls jemand die Anzeige am Handy öffnet) */
  .scorebar { grid-template-columns: 1fr; }
  .score-target { flex-direction: row; gap: 10px; }

  /* Steuerung: kompakter, aber Punktestand bleibt nebeneinander sichtbar */
  .host { padding: 12px 10px 50px; gap: 12px; }
  .host-top { gap: 8px; }
  .host-top .sds-logo { width: 60px; }
  .host-top .room-code { font-size: 17px; }
  .tabs .tab-btn { min-width: 0; font-size: 13px; padding: 10px 6px; }
  .panel { padding: 14px; }
  .hs-card .hs-pts { font-size: 32px; padding: 2px 14px; }
  .hs-card .hs-name { font-size: 14px; }
  .hs-adjust .btn.small { padding: 7px 10px; }
  .control-q .cq-text { font-size: 17px; }
  .btn.big { font-size: 17px; padding: 13px 16px; }

  /* Spielzeilen: Titel in voller Breite, Aktionen darunter */
  .game-row { flex-wrap: wrap; row-gap: 6px; }
  .game-row .gr-title { flex: 1 1 100%; order: -1; white-space: normal; }
  .game-row .gr-no { min-width: 0; }
  .gr-actions { margin-left: auto; }

  /* Editor: Frage in voller Breite, darunter Antwort (+ Einheit) und Löschen */
  .q-editor-row { grid-template-columns: 1fr 44px; }
  .q-editor-row.estimate { grid-template-columns: 1fr 1fr 44px; }
  .q-editor-row [data-f="text"] { grid-column: 1 / -1; }
  .q-editor-row { margin-bottom: 14px; }
  .q-del { height: 41px; }
  .editor-overlay { padding: 12px 8px; }
}
