:root {
  --bg: #f6f6f9;
  --surface: #ffffff;
  --surface-2: #f0f0f5;
  --border: #e3e3ea;
  --text: #1c1c24;
  --muted: #6b6b7b;
  --accent: #5b5bd6;
  --accent-hover: #4b4bc4;
  --accent-soft: #ececfd;
  --danger: #d6455b;
  --ok: #2f9e6b;
  --shadow: 0 1px 2px rgba(20, 20, 40, .05), 0 4px 16px rgba(20, 20, 40, .05);
  --radius: 12px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111116;
    --surface: #1a1a21;
    --surface-2: #23232c;
    --border: #2e2e39;
    --text: #ececf1;
    --muted: #9a9aab;
    --accent: #7b7bf0;
    --accent-hover: #8e8ef5;
    --accent-soft: #26264a;
    --danger: #f06a7e;
    --ok: #4cc28d;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 4px 16px rgba(0, 0, 0, .25);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
h2 { font-size: 18px; margin: 0; font-weight: 650; }
h3 { font-size: 15px; margin: 0; font-weight: 650; }
button, input, select, textarea { font: inherit; color: inherit; }

/* ---------- Кнопки и поля ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  border: 1px solid var(--border); background: var(--surface); color: var(--text);
  padding: 8px 14px; border-radius: 10px; cursor: pointer; font-weight: 550; text-decoration: none;
  transition: background .15s, border-color .15s, transform .05s;
}
.btn:hover { background: var(--surface-2); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover:not(:disabled) { background: var(--accent-hover); }
.btn.danger { color: var(--danger); }
.btn.small { padding: 5px 10px; font-size: 13px; }
.btn.big { padding: 11px 22px; font-size: 15px; }
.icon-btn { border: 0; background: none; cursor: pointer; color: var(--muted); font-size: 16px; padding: 4px 8px; border-radius: 8px; }
.icon-btn:hover { background: var(--surface-2); color: var(--text); }
.link { border: 0; background: none; color: var(--accent); cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 2px; font-size: 13px; }

input, select, textarea {
  width: 100%; border: 1px solid var(--border); background: var(--surface); border-radius: 10px;
  padding: 8px 11px; outline: none; transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
textarea { resize: vertical; }
input[type="range"] { padding: 0; border: 0; box-shadow: none; accent-color: var(--accent); }
input[type="checkbox"] { width: auto; accent-color: var(--accent); }
.field { display: flex; flex-direction: column; gap: 5px; }
.field > span { font-size: 13px; color: var(--muted); font-weight: 550; }
.field em { font-style: normal; opacity: .8; font-weight: 400; }
.hint { color: var(--muted); font-size: 13px; }
.error { color: var(--danger); font-size: 14px; margin: 0; }
.lead { color: var(--muted); max-width: 780px; margin: 6px 0 20px; }
.status { color: var(--muted); font-size: 14px; display: inline-flex; align-items: center; gap: 8px; }
.status.err { color: var(--danger); }
.spinner { width: 16px; height: 16px; border: 2px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.tag { background: var(--surface-2); border-radius: 6px; padding: 1px 7px; font-size: 12px; color: var(--muted); font-weight: 550; }
.empty { color: var(--muted); font-size: 14px; padding: 14px; text-align: center; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.inline-select { width: auto; }

/* ---------- Вход ---------- */
.login { min-height: 100vh; display: grid; place-items: center; padding: 16px; }
.login-card {
  width: min(360px, 100%); background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  padding: 28px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow);
}
.login-card .logo { justify-content: center; font-size: 20px; margin-bottom: 6px; }

/* ---------- Шапка ---------- */
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; white-space: nowrap; }
.logo svg { width: 28px; height: 28px; }
.logo svg rect { fill: var(--accent); }
.logo svg path { stroke: #fff; stroke-width: 2.4; stroke-linecap: round; fill: none; }
.top {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 24px;
  padding: 10px 20px; background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--border);
}
.tabs { display: flex; gap: 2px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.tab { border: 0; background: none; padding: 7px 13px; border-radius: 9px; cursor: pointer; color: var(--muted); font-weight: 550; white-space: nowrap; }
.tab:hover { color: var(--text); background: var(--surface-2); }
.tab.active { color: var(--accent); background: var(--accent-soft); }
.meters { display: flex; gap: 14px; align-items: center; }
.meter { display: grid; grid-template-columns: auto 54px auto; gap: 6px; align-items: center; font-size: 12px; white-space: nowrap; }
.mt-label { color: var(--muted); font-weight: 650; }
.mt-bar { height: 6px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--border); overflow: hidden; }
.mt-bar i { display: block; height: 100%; width: 0; background: var(--ok); transition: width .4s, background .4s; }
.mt-bar i.warn { background: #d99a20; }
.mt-bar i.hot { background: var(--danger); }
.mt-val { font-variant-numeric: tabular-nums; min-width: 64px; }
.meters.busy .mt-label { color: var(--accent); }
@keyframes pulse { 50% { opacity: .3; } }

/* ---------- Раскладка студии ---------- */
.view { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 0; min-height: calc(100vh - 57px); }
.view.page { display: block; max-width: 1180px; margin: 0 auto; padding: 24px; min-height: 0; }
.models-nav {
  width: 270px; border-right: 1px solid var(--border); padding: 16px 12px; position: sticky; top: 57px;
  height: calc(100vh - 57px); overflow-y: auto; display: flex; flex-direction: column; gap: 14px;
}
.models-select { display: none; }
.nav-group { display: flex; flex-direction: column; gap: 2px; }
.nav-group-title { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 650; padding: 0 10px 4px; }
.nav-item {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; border: 1px solid transparent;
  background: none; padding: 8px 10px; border-radius: 10px; cursor: pointer;
}
.nav-item:hover { background: var(--surface-2); }
.nav-item.active { background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 35%, transparent); }
.nav-power {
  flex: none; width: 26px; height: 26px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface);
  display: grid; place-items: center; cursor: pointer; font-size: 11px; color: var(--muted); padding: 0;
}
.nav-power:hover { border-color: var(--accent); color: var(--accent); }
.nav-power.on { color: var(--danger); }
.nav-power.on:hover { border-color: var(--danger); }
.nav-power:disabled { opacity: .6; cursor: wait; }
.nav-item .nav-name { flex: 1; min-width: 0; font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--border); flex: none; }
.dot.on { background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 22%, transparent); }
.dot.busy { background: var(--accent); animation: pulse 1s infinite; }

.workspace { padding: 20px 24px 40px; min-width: 0; max-width: 1240px; }
.model-head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; margin-bottom: 16px; }
.model-title { font-size: 20px; font-weight: 700; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.model-desc { margin: 4px 0 2px; color: var(--muted); max-width: 680px; }
.model-repo { font-size: 12px; color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.model-power { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 4px; }

.work-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
.work-main { min-width: 0; }
.inputs { display: flex; flex-direction: column; gap: 14px; }
.inputs textarea.main-text { min-height: 180px; font-size: 16px; line-height: 1.6; }
.row { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.row > .field { flex: 1; min-width: 160px; }
.counter { color: var(--muted); font-size: 12px; text-align: right; margin-top: -8px; }

.voice-field { display: flex; gap: 8px; align-items: center; }
.voice-field select { flex: 1; }
.voice-info { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.voice-info audio { height: 32px; flex: 1; min-width: 200px; }

.params { position: sticky; top: 73px; max-height: calc(100vh - 90px); overflow-y: auto; }
.param { padding: 10px 0; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 6px; }
.param:first-child { border-top: 0; padding-top: 0; }
.param-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.param-head input[type="number"] { width: 92px; padding: 4px 8px; font-size: 13px; text-align: right; }
.param-head input[type="number"].changed, .param select.changed { border-color: var(--accent); }
.param .hint { font-size: 12px; line-height: 1.4; }
.param label.toggle { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; cursor: pointer; }

.run-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 16px 0; position: sticky; bottom: 0; z-index: 5; padding: 10px 0; background: linear-gradient(to top, var(--bg) 70%, transparent); }
.run-bar .btn.big { min-width: 170px; }

.result {
  border: 1px solid var(--border); background: var(--surface); border-radius: var(--radius); padding: 14px;
  display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow);
}
.result audio, .item audio { width: 100%; height: 40px; }
.downloads { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.live-meter { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.live-bars { display: flex; gap: 3px; align-items: flex-end; height: 22px; }
.live-bars i { width: 4px; background: var(--accent); border-radius: 2px; animation: eq 0.9s ease-in-out infinite; }
.live-bars i:nth-child(2) { animation-delay: .15s; } .live-bars i:nth-child(3) { animation-delay: .3s; }
.live-bars i:nth-child(4) { animation-delay: .45s; } .live-bars i:nth-child(5) { animation-delay: .6s; }
@keyframes eq { 0%, 100% { height: 5px; } 50% { height: 22px; } }
.live-bars.idle i { animation: none; height: 5px; opacity: .4; }

.history-head { margin-top: 28px; }
.history { display: flex; flex-direction: column; gap: 10px; }
.item {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px;
  display: grid; grid-template-columns: 1fr minmax(260px, 360px); gap: 8px 16px; align-items: center;
}
.item-text { white-space: pre-wrap; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.item-meta { font-size: 12px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 4px; }
.item-side { display: flex; flex-direction: column; gap: 6px; }

/* ---------- Голоса ---------- */
.voices { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; }
.voice-card { display: flex; flex-direction: column; gap: 10px; }
.voice-card-head { display: flex; align-items: center; gap: 10px; }
.voice-card-head input { font-weight: 650; border-color: transparent; padding: 4px 6px; }
.voice-card-head input:hover { border-color: var(--border); }
.voice-card audio { width: 100%; height: 36px; }
.voice-card textarea { font-size: 14px; min-height: 64px; }
.voice-card-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.voice-card-actions .spacer { flex: 1; }
.avatar {
  flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 700; font-size: 13px; color: #fff; background: var(--accent);
}

/* ---------- Дизайн ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--border); background: var(--surface); border-radius: 999px; padding: 4px 11px; font-size: 13px; cursor: pointer; }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.save-row { display: flex; gap: 8px; }
.save-row input { flex: 1; }

/* ---------- Расшифровка ---------- */
.stt-item { border-top: 1px solid var(--border); padding-top: 10px; }
.stt-item:first-child { border-top: 0; padding-top: 0; }
.stt-item .hint { margin-bottom: 4px; }
.stt-text { white-space: pre-wrap; }

/* ---------- Чат ---------- */
.chat-system summary { cursor: pointer; margin-bottom: 6px; }
.chat-log { display: flex; flex-direction: column; gap: 10px; max-height: 56vh; min-height: 160px; overflow-y: auto; padding: 4px; }
.msg { max-width: 85%; padding: 10px 14px; border-radius: 14px; white-space: pre-wrap; line-height: 1.55; }
.msg.user { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.msg.assistant { align-self: flex-start; background: var(--surface-2); border-bottom-left-radius: 4px; }
.msg-actions { display: flex; gap: 12px; align-items: center; margin-top: 6px; white-space: normal; }
.cursor { animation: pulse 1s infinite; color: var(--accent); }

/* ---------- Laya ---------- */
.q-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; display: flex; flex-direction: column; gap: 8px; background: var(--surface-2); }
.q-top { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.q-top input.q-key { width: 140px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; }
.q-top select { width: auto; }
.q-top .spacer { flex: 1; }
.q-opts { font-size: 14px; }
.a-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); }
.a-head { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.a-q { font-size: 13px; color: var(--muted); }
.a-main { font-size: 20px; font-weight: 700; margin: 2px 0 10px; }
.a-main small { font-size: 14px; color: var(--muted); font-weight: 500; }
.bars { display: flex; flex-direction: column; gap: 6px; }
.bar-row { display: grid; grid-template-columns: minmax(80px, 180px) 1fr 48px; gap: 10px; align-items: center; font-size: 13px; }
.bar-row .lbl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar { height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.bar > i { display: block; height: 100%; background: color-mix(in srgb, var(--accent) 45%, transparent); border-radius: 99px; }
.bar-row.win .bar > i { background: var(--accent); }
.bar-row.win { font-weight: 650; }
.bar-row .pct { text-align: right; font-variant-numeric: tabular-nums; }
.conf { font-size: 12px; padding: 2px 8px; border-radius: 99px; background: var(--surface-2); color: var(--muted); white-space: nowrap; }
.conf.hi { color: var(--ok); }
.conf.lo { color: var(--danger); }
.answers { display: flex; flex-direction: column; gap: 10px; }
pre.raw { background: var(--surface-2); border-radius: 10px; padding: 12px; font-size: 12px; overflow: auto; max-height: 360px; margin: 0; }

/* ---------- Диалог ---------- */
dialog {
  border: 1px solid var(--border); border-radius: 16px; padding: 0; background: var(--surface); color: var(--text);
  width: min(540px, calc(100vw - 32px)); box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
}
dialog::backdrop { background: rgba(10, 10, 20, .45); backdrop-filter: blur(2px); }
.dialog { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.dialog-head { display: flex; justify-content: space-between; align-items: center; }
.dialog-actions { display: flex; justify-content: flex-end; align-items: center; gap: 12px; }
.dialog-actions .status { margin-right: auto; }
dialog.wide { width: min(880px, calc(100vw - 32px)); }
.steps { display: flex; gap: 6px; margin-top: 6px; }
.step { font-size: 12px; padding: 2px 10px; border-radius: 99px; background: var(--surface-2); color: var(--muted); font-weight: 600; }
.step.active { background: var(--accent-soft); color: var(--accent); }
.step.done { color: var(--ok); }
#add-step1, #add-step2 { display: flex; flex-direction: column; gap: 14px; }
.review-block { display: flex; flex-direction: column; gap: 8px; }
.review-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.review-head h4 { margin: 0; font-size: 14px; }
.review-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.rv-window-text { font-size: 13px; font-variant-numeric: tabular-nums; }

.wave { position: relative; height: 96px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border);
  overflow: hidden; user-select: none; touch-action: none; cursor: pointer; }
.wave canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.wave-recs { position: absolute; inset: 0; pointer-events: none; }
.wave-rec { position: absolute; top: 0; bottom: 0; border-left: 1px dashed color-mix(in srgb, var(--muted) 60%, transparent); }
.wave-rec span { position: absolute; top: 3px; left: 5px; font-size: 10px; color: var(--muted); white-space: nowrap;
  max-width: calc(100% - 8px); overflow: hidden; text-overflow: ellipsis; }
.wave-window { position: absolute; top: 0; bottom: 0; background: color-mix(in srgb, var(--accent) 22%, transparent);
  border: 2px solid var(--accent); border-radius: 6px; cursor: grab; }
.wave-handle { position: absolute; top: 0; bottom: 0; width: 14px; cursor: ew-resize; }
.wave-handle::after { content: ""; position: absolute; top: 30%; bottom: 30%; left: 5px; width: 4px; border-radius: 2px; background: var(--accent); }
.wave-handle.left { left: -8px; } .wave-handle.right { right: -8px; }
.wave-cursor { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--danger); display: none; pointer-events: none; }
.wave-legend { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; flex-wrap: wrap; }
.wave-legend i.lg-window { display: inline-block; width: 12px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px;
  background: color-mix(in srgb, var(--accent) 22%, transparent); border: 2px solid var(--accent); }

.rv-list { display: flex; flex-direction: column; gap: 8px; max-height: 260px; overflow-y: auto; }
.rv-rec { border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; }
.rv-rec.in { border-color: color-mix(in srgb, var(--accent) 45%, transparent); background: color-mix(in srgb, var(--accent) 5%, transparent); }
.rv-rec-head { display: flex; gap: 8px; align-items: center; font-size: 13px; }
.rv-rec-head b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.badge { font-size: 11px; padding: 1px 8px; border-radius: 99px; background: var(--surface-2); color: var(--muted); font-weight: 600; white-space: nowrap; }
.badge.full { background: var(--accent); color: #fff; }
.badge.part { background: var(--accent-soft); color: var(--accent); }
.badge.old { background: transparent; border: 1px solid var(--border); }
.rv-rec-text { font-size: 14px; line-height: 1.5; }

.voice-recs summary { cursor: pointer; font-size: 13px; color: var(--accent); }
.voice-recs .rv-rec { margin-top: 6px; }

.drop {
  border: 2px dashed var(--border); border-radius: var(--radius); padding: 20px; text-align: center;
  display: flex; flex-direction: column; gap: 4px; transition: border-color .15s, background .15s;
}
.drop span { color: var(--muted); font-size: 14px; }
.drop.over { border-color: var(--accent); background: var(--accent-soft); }
.file-list { display: flex; flex-direction: column; gap: 6px; }
.file-row { display: flex; align-items: center; gap: 10px; font-size: 13px; background: var(--surface-2); border-radius: 10px; padding: 6px 10px; }
.file-row .fname { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 550; }
.file-row audio { height: 28px; width: 180px; }
.script summary { cursor: pointer; }
.script-text { white-space: pre-line; background: var(--surface-2); border-radius: 10px; padding: 10px 12px; margin: 8px 0; line-height: 1.7; }
.rec { display: flex; align-items: center; gap: 12px; justify-content: center; }
.rec-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--danger); }
.rec.on .rec-dot { animation: pulse 1s infinite; }
.rec-time { font-variant-numeric: tabular-nums; color: var(--muted); }

.toast {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 100;
  background: var(--text); color: var(--bg); padding: 10px 18px; border-radius: 10px; box-shadow: var(--shadow); max-width: calc(100vw - 32px);
}

/* ---------- Узкие экраны ---------- */
@media (max-width: 1100px) {
  .work-grid { grid-template-columns: 1fr; }
  .params { position: static; max-height: none; }
}
@media (max-width: 820px) {
  .top { flex-wrap: wrap; gap: 10px; padding: 10px 16px; }
  .tabs { order: 3; flex-basis: 100%; }
  .meters { order: 4; flex-basis: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 14px; }
  .meter { grid-template-columns: 38px 1fr auto; }
  .mt-val { min-width: 0; }
  .view { display: block; }
  .models-nav { display: none; }
  .models-select { display: block; margin: 12px 16px 0; width: calc(100% - 32px); }
  .workspace { padding: 14px 16px 32px; }
  .view.page { padding: 16px; }
  .model-head { flex-direction: column; gap: 8px; }
  .item { grid-template-columns: 1fr; }
  .voices { grid-template-columns: 1fr; }
  .file-row audio { width: 120px; }
  .run-bar { position: static; background: none; padding: 0; }
  .run-bar .btn.big { flex: 1 1 100%; min-width: 0; white-space: nowrap; }
  #run-hint { display: none; }
}
