[hidden] {
  display: none !important;
}

.lab-page {
  background: var(--bg);
}

.lab-header .header-inner {
  gap: 16px;
}

.lab-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.lab-mock-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border: 1px solid #fde68a;
  border-radius: 999px;
  background: #fffbeb;
  color: #b45309;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.lab-mock-badge::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #f59e0b;
}

.lab-back {
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.lab-back:hover {
  color: var(--text);
}

.lab-lock {
  padding: 8px 12px;
  border: 1px solid var(--lab-line);
  border-radius: 10px;
  background: #fff;
  color: var(--lab-muted);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.lab-lock:hover {
  border-color: #cbd5e1;
  color: var(--lab-ink);
}

.lab-lock.is-unlocked {
  border-color: rgba(5, 150, 105, 0.25);
  background: rgba(5, 150, 105, 0.08);
  color: var(--lab-accent-strong);
}

.lab-mock-note {
  padding-top: 18px;
}

.lab-mock-banner {
  padding: 10px 14px;
  border: 1px solid #fde68a;
  border-radius: 12px;
  background: #fffbeb;
  color: #92400e;
  font-size: 0.84rem;
  line-height: 1.6;
}

.lab-mock-banner a {
  color: #b45309;
  font-weight: 600;
  word-break: break-all;
}

.lab-hero {
  padding: clamp(56px, 8vw, 96px) 0 clamp(28px, 4vw, 44px);
}

.lab-hero h1 {
  max-width: 760px;
  margin-top: 16px;
  font-size: clamp(2.6rem, 6vw, 4.3rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.lab-hero .lead {
  max-width: 620px;
  margin-top: 20px;
}

.lab-status-section {
  padding-bottom: 26px;
}

.lab-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
  padding: 16px 20px;
  border: 1px solid var(--lab-line);
  border-radius: 18px;
  background: var(--lab-surface);
  box-shadow: var(--lab-shadow);
}

.lab-statusbar-main {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.lab-status-dot {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #94a3b8;
  box-shadow: 0 0 0 4px rgba(148, 163, 184, 0.12);
}

.lab-status-dot.is-running {
  background: var(--lab-ok);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.16);
  animation: lab-pulse 2s ease-in-out infinite;
}

.lab-status-dot.is-starting,
.lab-status-dot.is-stopping {
  background: var(--lab-warn);
  box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.16);
  animation: lab-pulse 1.2s ease-in-out infinite;
}

.lab-status-dot.is-error {
  background: var(--lab-danger);
  box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.16);
}

.lab-status-label {
  color: var(--lab-soft);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.lab-status-title {
  margin-top: 2px;
  color: var(--lab-ink);
  font-size: 1.02rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lab-status-uptime {
  padding: 4px 8px;
  border-radius: 8px;
  background: var(--lab-surface-2);
  color: var(--lab-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.76rem;
  white-space: nowrap;
}

.lab-statusbar-side {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.lab-memory {
  min-width: 148px;
}

.lab-memory-text {
  color: var(--lab-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.74rem;
}

.lab-memory-track {
  display: block;
  height: 5px;
  margin-top: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--lab-surface-2);
}

.lab-memory-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #059669, #34d399);
  transition: width 0.35s ease, background 0.35s ease;
}

.lab-memory-fill.is-high {
  background: linear-gradient(90deg, #d97706, #f59e0b);
}

.lab-statusbar-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.lab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: none;
  color: var(--lab-ink);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.lab-btn:hover {
  transform: translateY(-1px);
}

.lab-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.lab-btn-primary {
  background: var(--lab-accent);
  color: #fff;
  box-shadow: 0 8px 18px -10px rgba(5, 150, 105, 0.55);
}

.lab-btn-primary:hover {
  background: var(--lab-accent-strong);
}

.lab-btn-ghost {
  border-color: var(--lab-line);
  background: #fff;
  color: var(--lab-ink);
}

.lab-btn-ghost:hover {
  border-color: #cbd5e1;
}

.lab-btn-quiet {
  color: var(--lab-soft);
}

.lab-btn-quiet:hover {
  background: var(--lab-surface-2);
  color: var(--lab-ink);
}

.lab-btn-danger {
  border-color: #fecdd3;
  background: #fff1f2;
  color: #be123c;
}

.lab-btn-danger:hover {
  background: #ffe4e6;
}

.lab-grid-section {
  padding: 8px 0 clamp(56px, 8vw, 88px);
}

.lab-grid-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.lab-grid-head h2 {
  margin-top: 10px;
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.lab-grid-note {
  max-width: 300px;
  color: var(--lab-soft);
  font-size: 0.88rem;
  text-align: right;
}

.lab-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.lab-window {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--lab-line);
  border-radius: var(--lab-radius);
  background: var(--lab-surface);
  box-shadow: var(--lab-shadow);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.lab-window:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  box-shadow: var(--lab-shadow-lg);
}

.lab-window.is-running {
  border-color: rgba(5, 150, 105, 0.35);
  box-shadow: 0 18px 50px -26px rgba(5, 150, 105, 0.5);
}

.lab-window.is-starting,
.lab-window.is-stopping {
  border-color: rgba(217, 119, 6, 0.32);
}

.lab-window.is-error {
  border-color: rgba(225, 29, 72, 0.32);
}

.lab-window.is-disabled {
  cursor: default;
  opacity: 0.82;
}

.lab-window.is-disabled:hover {
  transform: none;
  border-color: var(--lab-line);
  box-shadow: var(--lab-shadow);
}

.lab-window-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--lab-line);
  background: #fcfdff;
}

.lab-dots {
  display: inline-flex;
  gap: 5px;
  flex: 0 0 auto;
}

.lab-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e2e8f0;
}

.lab-dots i:nth-child(1) {
  background: #fda4af;
}

.lab-dots i:nth-child(2) {
  background: #fcd34d;
}

.lab-dots i:nth-child(3) {
  background: #6ee7b7;
}

.lab-window-name {
  min-width: 0;
  margin-right: auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: none;
  color: var(--lab-muted);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}

.lab-window-name:hover {
  color: var(--lab-ink);
}

.lab-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--lab-surface-2);
  color: var(--lab-soft);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.lab-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.75;
}

.lab-pill.is-running {
  background: rgba(16, 185, 129, 0.1);
  color: #047857;
}

.lab-pill.is-starting,
.lab-pill.is-stopping {
  background: rgba(217, 119, 6, 0.1);
  color: #b45309;
}

.lab-pill.is-error {
  background: rgba(225, 29, 72, 0.1);
  color: #be123c;
}

.lab-pill.is-pending {
  background: rgba(217, 119, 6, 0.1);
  color: #b45309;
}

.lab-window-preview {
  position: relative;
  display: grid;
  min-height: 190px;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent, #0f766e), #0f172a 96%);
  color: #fff;
}

.lab-window-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 36px 36px;
  -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 20%, transparent 74%);
  mask-image: radial-gradient(circle at 50% 45%, #000 20%, transparent 74%);
  opacity: 0.55;
}

.lab-window-preview::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -30%;
  width: 70%;
  height: 90%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 68%);
  pointer-events: none;
}

.lab-monogram {
  position: relative;
  z-index: 1;
  font-size: clamp(3.8rem, 7vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 1;
  text-shadow: 0 0 60px rgba(255, 255, 255, 0.18);
}

.lab-preview-label {
  position: absolute;
  z-index: 1;
  bottom: 14px;
  left: 18px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lab-window-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 20px 8px;
}

.lab-tagline {
  color: var(--lab-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.lab-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.lab-tags li {
  padding: 3px 8px;
  border-radius: 7px;
  background: var(--lab-surface-2);
  color: var(--lab-soft);
  font-size: 0.72rem;
}

.lab-window-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px 18px;
  margin-top: auto;
}

.lab-uptime {
  color: var(--lab-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.74rem;
  white-space: nowrap;
}

.lab-window-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lab-window-actions .lab-btn {
  padding: 7px 12px;
  font-size: 0.78rem;
}

.lab-footnote {
  margin-top: 22px;
  color: var(--lab-soft);
  font-size: 0.8rem;
  text-align: center;
}

/* Drawer */

.lab-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(2, 6, 23, 0.5);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.lab-drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lab-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  width: min(480px, 100%);
  height: 100%;
  border-left: 1px solid var(--lab-drawer-line);
  background: var(--lab-drawer);
  color: var(--lab-drawer-text);
  box-shadow: -30px 0 80px rgba(0, 0, 0, 0.35);
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.lab-drawer.is-open {
  transform: none;
}

.lab-drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px;
  border-bottom: 1px solid var(--lab-drawer-line);
  background: linear-gradient(180deg, var(--lab-drawer-2), var(--lab-drawer));
}

.lab-drawer-head .eyebrow {
  color: #6ee7b7;
}

.lab-drawer-head h2 {
  margin-top: 6px;
  color: #f8fafc;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.lab-drawer-close {
  display: grid;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--lab-drawer-line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.lab-drawer-close:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}

.lab-drawer-scroll {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
  overflow-y: auto;
}

.lab-drawer-preview {
  position: relative;
  display: grid;
  min-height: 220px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--lab-drawer-line);
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent, #0f766e), #0f172a 96%);
}

.lab-drawer-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 20%, transparent 74%);
  mask-image: radial-gradient(circle at 50% 45%, #000 20%, transparent 74%);
  opacity: 0.5;
}

.lab-drawer-preview .lab-monogram {
  color: #fff;
}

.lab-drawer-tagline {
  color: var(--lab-drawer-text);
  font-size: 0.98rem;
  font-weight: 600;
}

.lab-drawer-desc {
  color: var(--lab-drawer-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.lab-facts {
  display: grid;
  gap: 12px;
  margin: 0;
}

.lab-facts > div {
  padding-top: 12px;
  border-top: 1px solid var(--lab-drawer-line);
}

.lab-facts dt {
  color: #64748b;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lab-facts dd {
  margin: 5px 0 0;
  color: #cbd5e1;
  font-size: 0.86rem;
  line-height: 1.55;
}

.lab-fact-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.lab-fact-tags span {
  padding: 3px 8px;
  border: 1px solid var(--lab-drawer-line);
  border-radius: 6px;
  background: rgba(148, 163, 184, 0.08);
  color: #cbd5e1;
  font-size: 0.72rem;
}

.lab-mono {
  color: #a7f3d0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  word-break: break-all;
}

.lab-drawer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lab-drawer-actions .lab-btn {
  padding: 10px 16px;
}

.lab-drawer-actions .lab-btn-ghost {
  border-color: var(--lab-drawer-line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--lab-drawer-text);
}

.lab-drawer-actions .lab-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
}

.lab-drawer-actions .lab-btn-danger {
  border-color: rgba(225, 29, 72, 0.3);
  background: rgba(225, 29, 72, 0.12);
  color: #fda4af;
}

.lab-drawer-actions .lab-btn-danger:hover {
  background: rgba(225, 29, 72, 0.2);
}

.lab-lock-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(245, 158, 11, 0.22);
  border-radius: 10px;
  background: rgba(245, 158, 11, 0.08);
  color: #fcd34d;
  font-size: 0.8rem;
}

.lab-lock-note button {
  flex: 0 0 auto;
  padding: 6px 10px;
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 8px;
  background: rgba(245, 158, 11, 0.12);
  color: #fde68a;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
}

.lab-demo-account {
  padding: 12px 14px;
  border: 1px solid rgba(16, 185, 129, 0.22);
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.08);
  color: #a7f3d0;
  font-size: 0.82rem;
  line-height: 1.6;
}

.lab-demo-account strong {
  color: #d1fae5;
  font-weight: 600;
}

.lab-drawer-notes h3 {
  margin: 0 0 8px;
  color: #64748b;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lab-drawer-notes ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
  color: var(--lab-drawer-muted);
  font-size: 0.82rem;
  line-height: 1.55;
  list-style: disc;
}

.lab-log {
  max-height: 160px;
  padding: 12px;
  overflow: auto;
  border: 1px solid var(--lab-drawer-line);
  border-radius: 10px;
  background: #020617;
  color: #fca5a5;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.7rem;
  line-height: 1.6;
  white-space: pre-wrap;
}

/* Modal */

.lab-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  padding: 20px;
  place-items: center;
  background: rgba(2, 6, 23, 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.lab-modal {
  width: min(420px, 100%);
  max-height: calc(100vh - 40px);
  padding: 24px;
  overflow-y: auto;
  border-radius: 20px;
  background: #fff;
  color: var(--lab-ink);
  box-shadow: 0 30px 80px -30px rgba(2, 6, 23, 0.5);
}

.lab-modal.is-narrow {
  width: min(380px, 100%);
}

.lab-modal h2 {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.lab-modal-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
  color: var(--lab-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.lab-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

.lab-input {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--lab-line);
  border-radius: 10px;
  background: #fff;
  color: var(--lab-ink);
  font: inherit;
  font-size: 0.94rem;
}

.lab-input:focus {
  outline: 3px solid rgba(5, 150, 105, 0.28);
  outline-offset: 1px;
  border-color: rgba(5, 150, 105, 0.5);
}

.lab-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lab-hint {
  color: var(--lab-soft);
  font-size: 0.76rem;
}

/* Toast */

#lab-toast-root {
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: min(420px, calc(100% - 32px));
  pointer-events: none;
  transform: translateX(-50%);
}

.lab-toast {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 10px;
  background: #0f172a;
  color: #e2e8f0;
  box-shadow: 0 18px 40px -20px rgba(2, 6, 23, 0.6);
  font-size: 0.82rem;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.lab-toast.is-visible {
  opacity: 1;
  transform: none;
}

.lab-toast-dot {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
}

.lab-toast.is-error .lab-toast-dot {
  background: #fb7185;
}

.lab-toast.is-info .lab-toast-dot {
  background: #60a5fa;
}

/* Scroll lock and motion */

.lab-lock-scroll {
  overflow: hidden;
}

@keyframes lab-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.55;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lab-window,
  .lab-drawer,
  .lab-drawer-backdrop,
  .lab-btn,
  .lab-toast,
  .lab-memory-fill,
  .lab-status-dot {
    transition: none !important;
    animation: none !important;
  }
}

/* Responsive */

@media (max-width: 960px) {
  .lab-grid {
    grid-template-columns: 1fr;
  }

  .lab-grid-note {
    text-align: left;
  }
}

@media (max-width: 820px) {
  .lab-statusbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .lab-statusbar-side {
    width: 100%;
    justify-content: space-between;
  }

  .lab-grid-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .lab-drawer {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .lab-header-actions {
    gap: 8px;
  }

  .lab-mock-badge {
    display: none;
  }

  .lab-back {
    font-size: 0.78rem;
  }

  .lab-lock {
    padding: 7px 10px;
    font-size: 0.76rem;
  }

  .lab-hero h1 {
    font-size: clamp(2.3rem, 11vw, 3.2rem);
  }

  .lab-statusbar {
    padding: 14px 16px;
  }

  .lab-statusbar-actions {
    width: 100%;
  }

  .lab-statusbar-actions .lab-btn {
    flex: 1;
  }

  .lab-window-foot {
    align-items: flex-start;
    flex-direction: column;
  }

  .lab-window-actions {
    width: 100%;
  }

  .lab-window-actions .lab-btn {
    flex: 1;
  }

  .lab-drawer-head,
  .lab-drawer-scroll {
    padding: 20px;
  }
}
