:root {
  --ink: #0b1220;
  --text: #152033;
  --muted: #5b6b82;
  --panel: rgba(255, 255, 255, 0.72);
  --panel-solid: #ffffff;
  --border: rgba(15, 35, 60, 0.08);
  --border-strong: rgba(15, 35, 60, 0.14);
  --cyan: #22d3ee;
  --green: #22c55e;
  --teal: #14b8a6;
  --grad: linear-gradient(120deg, #22d3ee 0%, #14b8a6 48%, #22c55e 100%);
  --grad-soft: linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(34, 197, 94, 0.14));
  --danger: #e11d48;
  --danger-bg: #fff1f2;
  --highlight: #a5f3fc;
  --highlight-active: #22d3ee;
  --shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 18px 50px rgba(15, 40, 70, 0.08);
  --shadow-sm: 0 8px 24px rgba(15, 40, 70, 0.06);
  --radius: 22px;
  --radius-sm: 14px;
  --font: "Manrope", system-ui, sans-serif;
  --display: "Syne", "Manrope", system-ui, sans-serif;
  --mono: "JetBrains Mono", "SF Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: #f3f7fb;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }
button, input { font: inherit; }
::selection { background: rgba(34, 211, 238, 0.35); color: #0b1220; }
.hidden { display: none !important; }
.inline { display: inline; margin: 0; }
.muted { color: var(--muted); font-size: 14px; line-height: 1.45; }

/* Atmosphere */
.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(1200px 700px at 10% -10%, rgba(34, 211, 238, 0.22), transparent 55%),
    radial-gradient(900px 600px at 95% 5%, rgba(34, 197, 94, 0.18), transparent 50%),
    radial-gradient(800px 500px at 70% 100%, rgba(20, 184, 166, 0.12), transparent 55%),
    linear-gradient(180deg, #eef7ff 0%, #f5faf7 45%, #f7f8fb 100%);
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
  animation: float 14s ease-in-out infinite;
}
.orb-a {
  width: 420px; height: 420px;
  left: -80px; top: -60px;
  background: radial-gradient(circle, rgba(34,211,238,.55), transparent 70%);
}
.orb-b {
  width: 380px; height: 380px;
  right: -60px; top: 20%;
  background: radial-gradient(circle, rgba(34,197,94,.45), transparent 70%);
  animation-delay: -4s;
}
.orb-c {
  width: 500px; height: 500px;
  left: 30%; bottom: -180px;
  background: radial-gradient(circle, rgba(20,184,166,.28), transparent 70%);
  animation-delay: -7s;
}
.grid-fade {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 40, 70, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 40, 70, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  opacity: 0.5;
}
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(24px) scale(1.05); }
}

.app-shell,
.auth-layout {
  position: relative;
  z-index: 1;
}

/* Brand */
.brand, .auth-brand {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.04em;
}
.brand { font-size: 22px; line-height: 1; }
.brand-block { display: grid; gap: 2px; }
.brand-sub {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow:
    0 0 0 2px rgba(255,255,255,.9),
    0 0 0 4px rgba(34, 211, 238, 0.35),
    0 10px 28px rgba(20, 184, 166, 0.4);
}
.panel-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0f766e;
  margin-bottom: 8px;
}
.h1 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 800;
}
.h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.h2.display { font-size: 26px; }
.h3 {
  margin: 0 0 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-weight: 700;
}
.lead {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  max-width: 36ch;
}
.hint-inline {
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: #94a3b8;
  margin-left: 6px;
}

/* Buttons */
.btn {
  border: 1px solid var(--border-strong);
  background: rgba(255,255,255,.7);
  color: var(--text);
  border-radius: 999px;
  padding: 9px 16px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .15s, border-color .15s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
}
.btn:hover { transform: translateY(-1px); background: #fff; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-primary {
  background: var(--grad);
  color: #041018;
  border: none;
  box-shadow: 0 12px 30px rgba(20, 184, 166, 0.35);
  font-weight: 700;
}
.btn-primary:hover {
  filter: brightness(1.04);
  box-shadow: 0 16px 36px rgba(20, 184, 166, 0.42);
}
.btn-soft {
  background: rgba(255,255,255,.85);
  border-color: transparent;
  box-shadow: var(--shadow-sm);
}
.btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--muted);
}
.btn-ghost:hover { background: rgba(15,40,70,.05); color: var(--text); }
.btn-block { width: 100%; }
.btn-cancel {
  border-color: #fecdd3;
  background: var(--danger-bg);
  color: var(--danger);
  padding: 6px 12px;
  font-size: 13px;
}
.btn-yandex-on {
  border-color: transparent;
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  color: #c2410c;
}
.btn-yandex-login {
  border: 1px solid rgba(252, 63, 29, 0.2);
  background: linear-gradient(180deg, #fff8f5, #ffece7);
  color: #c2410c;
  font-weight: 700;
}

/* Shell */
.app-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 20px 28px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 4px 18px;
  flex-shrink: 0;
}
.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.user-chip {
  font-size: 13px;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.7);
  border: 1px solid var(--border);
  font-weight: 600;
}

.main-grid {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 18px;
}
.panel {
  background: var(--panel);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.reveal {
  animation: rise .7s cubic-bezier(.2,.8,.2,1) both;
}
.reveal.delay { animation-delay: .08s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* Dropzone */
.dropzone {
  flex: 1;
  min-height: 260px;
  border-radius: 22px;
  border: 1.5px dashed rgba(20, 184, 166, 0.4);
  background:
    radial-gradient(circle at 50% 18%, rgba(34,211,238,.16), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,.7), rgba(255,255,255,.28)),
    var(--grad-soft);
  display: grid;
  place-items: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.dropzone::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(34,197,94,.12), transparent 65%);
  pointer-events: none;
}
.dropzone:hover, .dropzone.dragover {
  border-color: #14b8a6;
  border-style: solid;
  transform: translateY(-2px);
  box-shadow: 0 24px 48px rgba(20, 184, 166, 0.18);
}
.dropzone-inner {
  text-align: center;
  display: grid;
  gap: 12px;
  justify-items: center;
  padding: 28px;
  position: relative;
  z-index: 1;
}
.dropzone-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.03em;
}
.wave, .empty-wave, .auth-wave {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  height: 42px;
}
.wave {
  position: absolute;
  left: 50%;
  top: 18%;
  transform: translateX(-50%);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}
.wave span, .empty-wave span, .auth-wave span {
  width: 7px;
  border-radius: 99px;
  background: var(--grad);
  animation: bars 1.2s ease-in-out infinite;
}
.wave span:nth-child(1), .empty-wave span:nth-child(1), .auth-wave span:nth-child(1) { height: 14px; animation-delay: 0s; }
.wave span:nth-child(2), .empty-wave span:nth-child(2), .auth-wave span:nth-child(2) { height: 26px; animation-delay: .1s; }
.wave span:nth-child(3), .empty-wave span:nth-child(3), .auth-wave span:nth-child(3) { height: 38px; animation-delay: .2s; }
.wave span:nth-child(4), .empty-wave span:nth-child(4), .auth-wave span:nth-child(4) { height: 22px; animation-delay: .3s; }
.wave span:nth-child(5), .empty-wave span:nth-child(5), .auth-wave span:nth-child(5) { height: 16px; animation-delay: .4s; }
.auth-wave span:nth-child(6) { height: 28px; animation-delay: .5s; width: 7px; border-radius: 99px; background: var(--grad); animation: bars 1.2s ease-in-out infinite; }
.auth-wave span:nth-child(7) { height: 12px; animation-delay: .6s; width: 7px; border-radius: 99px; background: var(--grad); animation: bars 1.2s ease-in-out infinite; }
@keyframes bars {
  0%, 100% { transform: scaleY(.55); opacity: .65; }
  50% { transform: scaleY(1); opacity: 1; }
}

.size-hint {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.65);
  border: 1px solid var(--border);
  font-size: 13px;
}
.queue-list { display: grid; gap: 8px; margin-top: 12px; }
.queue-item {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.7);
  border: 1px solid var(--border);
}

.progress-card {
  margin-top: 14px;
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(255,255,255,.78);
  border: 1px solid var(--border);
  display: grid;
  gap: 10px;
}
.progress-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: baseline;
}
.progress-pct {
  font-family: var(--display);
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.progress-bar {
  height: 8px;
  background: rgba(15,40,70,.06);
  border-radius: 99px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  width: 0%;
  background: var(--grad);
  border-radius: 99px;
  transition: width .25s ease;
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.55);
}
.progress-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* History */
.history-panel { overflow: hidden; }
.history-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
  flex-shrink: 0;
}
.history-filters {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
  flex-shrink: 0;
}
.history-filters input[type="search"],
.search-bar input,
.auth-form input,
.pass-form input {
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 11px 13px;
  background: rgba(255,255,255,.85);
  color: var(--text);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.history-filters input[type="search"] { flex: 1; min-width: 0; }
.history-filters input:focus,
.search-bar input:focus,
.auth-form input:focus,
.pass-form input:focus {
  border-color: #14b8a6;
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.15);
}
.check-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  font-weight: 600;
}
.history-grid {
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-right: 2px;
}
.empty {
  padding: 40px 16px;
  text-align: center;
  display: grid;
  gap: 8px;
  justify-items: center;
  color: var(--muted);
}
.empty-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  letter-spacing: -0.03em;
}
.empty-wave { opacity: .45; margin-bottom: 6px; }

.card {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 16px 14px 18px;
  background: rgba(255,255,255,.82);
  cursor: pointer;
  text-align: left;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--grad);
  opacity: 0.85;
}
.card:hover {
  transform: translateY(-2px);
  border-color: rgba(20, 184, 166, 0.28);
  box-shadow: 0 16px 40px rgba(15, 40, 70, 0.1);
}
.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.card-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.03em;
  line-height: 1.3;
  min-width: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-meta {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-weight: 600;
}
.card-summary {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: #3b4a63;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: pre-wrap;
}
.card-summary.is-empty {
  color: var(--muted);
  font-style: italic;
}
.card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: flex-end;
}
.card-actions .btn {
  padding: 5px 10px;
  font-size: 12px;
}
.badge {
  display: inline-block;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  width: fit-content;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.badge-done {
  color: #166534;
  background: #ecfdf3;
  border-color: #bbf7d0;
}
.badge-error {
  color: var(--danger);
  background: var(--danger-bg);
  border-color: #fecdd3;
}
.badge-run {
  color: #0e7490;
  background: #ecfeff;
  border-color: #a5f3fc;
}
.badge-disk {
  color: #9a3412;
  background: #fff7ed;
  border-color: #fed7aa;
}

/* Toast */
.toast-host {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: grid;
  gap: 8px;
  max-width: min(360px, calc(100vw - 32px));
}
.toast {
  background: rgba(11, 18, 32, 0.92);
  color: #f8fafc;
  padding: 13px 15px;
  border-radius: 14px;
  font-size: 14px;
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px rgba(0,0,0,.22);
  animation: toast-in .25s ease;
}
.toast-ok { background: linear-gradient(135deg, #0f766e, #166534); }
.toast-err { background: linear-gradient(135deg, #9f1239, #be123c); }
@keyframes toast-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 16px;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 16, 32, .45);
  backdrop-filter: blur(6px);
}
.modal-sheet {
  position: relative;
  width: min(860px, 100%);
  max-height: min(88vh, 920px);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: 0 30px 80px rgba(8, 20, 40, .28);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: rise .35s ease;
}
.modal-sheet-sm { width: min(420px, 100%); max-height: none; }
.modal-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  padding: 18px 20px 12px;
  border-bottom: 1px solid var(--border);
}
.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}
.search-bar {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  background: rgba(243, 247, 251, 0.7);
}
.search-bar input { flex: 1; }
.modal-body {
  overflow: auto;
  padding: 18px 20px 26px;
  display: grid;
  gap: 22px;
}
.prose {
  white-space: pre-wrap;
  line-height: 1.6;
  font-size: 15px;
}
.transcript {
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.7;
}
.prose mark {
  background: var(--highlight);
  color: inherit;
  border-radius: 3px;
  padding: 0 2px;
}
.prose mark.active { background: var(--highlight-active); color: #042f2e; }
.ts-link {
  color: #0e7490;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}
.transcript-line { scroll-margin-top: 80px; }
.transcript-line.flash {
  background: rgba(34, 211, 238, 0.2);
  border-radius: 6px;
}
.pass-form {
  display: grid;
  gap: 12px;
  padding: 16px 20px 22px;
}
.pass-form label,
.auth-form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

/* Auth */
.auth-page {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 28px 18px;
}
.auth-layout {
  width: min(980px, 100%);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: stretch;
}
.auth-hero {
  border-radius: 28px;
  padding: 42px 36px;
  background:
    radial-gradient(circle at 70% 20%, rgba(34,211,238,.22), transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(34,197,94,.18), transparent 45%),
    linear-gradient(160deg, #07111f 0%, #0b1a2e 55%, #0a2420 100%);
  color: #ecfeff;
  box-shadow: 0 30px 80px rgba(11, 30, 50, 0.32);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 520px;
}
.auth-hero::after {
  content: "";
  position: absolute;
  inset: auto -20% -30% auto;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,211,238,.35), transparent 70%);
}
.auth-logo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  box-shadow:
    0 0 0 3px rgba(255,255,255,.12),
    0 0 40px rgba(34, 211, 238, 0.35),
    0 18px 40px rgba(0,0,0,.4);
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.auth-brand {
  font-size: clamp(48px, 7vw, 72px);
  line-height: 0.95;
  margin: 0 0 14px;
  position: relative;
  z-index: 1;
}
.auth-tagline {
  margin: 0 0 28px;
  font-size: 18px;
  line-height: 1.45;
  color: rgba(236, 254, 255, 0.82);
  max-width: 18ch;
  position: relative;
  z-index: 1;
}
.auth-wave {
  position: relative;
  z-index: 1;
  opacity: .7;
  justify-content: flex-start;
  height: 48px;
}
.auth-card {
  border-radius: 28px;
  padding: 32px 28px;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.85);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.auth-card-title {
  margin: 0 0 18px;
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: -0.04em;
  font-weight: 800;
}
.auth-form {
  display: grid;
  gap: 14px;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border-strong);
}
.auth-note {
  margin: 16px 0 0;
  text-align: center;
  font-size: 13px;
}
.auth-note a {
  color: #0f766e;
  font-weight: 700;
  text-decoration: none;
}
.auth-note a:hover { text-decoration: underline; }
.alert {
  margin-bottom: 14px;
  padding: 11px 12px;
  border-radius: 12px;
  background: var(--danger-bg);
  color: var(--danger);
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 900px) {
  .app-shell { height: auto; min-height: 100%; }
  .main-grid, .auth-layout {
    display: flex;
    flex-direction: column;
  }
  .auth-hero { min-height: 280px; padding: 28px 24px; }
  .auth-brand { font-size: 48px; }
  .dropzone { min-height: 200px; }
  .history-panel { min-height: 320px; }
  .hide-mobile { display: none; }
  .topbar { flex-wrap: wrap; }
  .h1 br { display: none; }
}
