:root {
  color-scheme: light;
  --paper: oklch(93% 0.003 160);
  --page: oklch(98.5% 0.003 160);
  --panel: oklch(99% 0.003 160);
  --panel-muted: oklch(96% 0.005 160);
  --panel-soft: oklch(98% 0.004 160);
  --panel-strong: oklch(90% 0.008 160);
  --ink: oklch(22% 0.012 170);
  --ink-muted: oklch(48% 0.014 170);
  --line: oklch(82% 0.008 160);
  --line-soft: oklch(89% 0.006 160);
  --line-strong: oklch(66% 0.01 160);
  --rule-dash: oklch(45% 0.018 170 / 0.18);
  --rule-dash-soft: oklch(45% 0.018 170 / 0.12);
  --primary: oklch(45% 0.075 195);
  --primary-hover: oklch(34% 0.065 195);
  --primary-quiet: oklch(93% 0.025 195);
  --focus: oklch(48% 0.105 235);
  --success: oklch(45% 0.095 145);
  --success-quiet: oklch(92% 0.035 145);
  --warning: oklch(62% 0.105 75);
  --warning-quiet: oklch(95% 0.025 75);
  --danger: oklch(50% 0.13 28);
  --danger-quiet: oklch(94% 0.03 28);
  --button-border: oklch(18% 0.012 170);
  --button-hover: oklch(18% 0.012 170);
  --button-shadow: 2px 2px 0 oklch(82% 0.006 160);
  --radius-sm: 2px;
  --radius-md: 2px;
  --radius-lg: 3px;
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-lg: 16px;
  --space-xl: 24px;
  --space-xxl: 32px;
  --ease-state: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background:
    radial-gradient(oklch(62% 0.006 160 / 0.12) 0.6px, transparent 0.6px)
      0 0 / 12px 12px,
    var(--paper);
  color: var(--ink);
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  padding: var(--space-xxl) var(--space-lg);
}

.skip-link {
  background: var(--ink);
  color: var(--panel);
  font-weight: 750;
  left: var(--space-lg);
  padding: var(--space-sm) var(--space-md);
  position: absolute;
  top: var(--space-lg);
  transform: translateY(-150%);
  z-index: 2;
}

.skip-link:focus {
  transform: translateY(0);
}

a {
  color: var(--ink);
  text-decoration-color: oklch(55% 0.025 195 / 0.55);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--primary-hover);
}

button,
input,
textarea,
select {
  font: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.sr-only {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

[hidden] {
  display: none !important;
}

.topbar {
  align-items: center;
  background: var(--page);
  border: 1px solid var(--line);
  border-bottom: 0;
  display: flex;
  margin: 0 auto;
  max-width: 1280px;
  min-height: 56px;
  justify-content: space-between;
  gap: var(--space-lg);
  padding: 0 14px 0 20px;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: var(--space-sm);
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: 0;
  text-decoration: none;
}

.brand-group {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs) var(--space-md);
  min-width: 0;
}

.brand-credit {
  border-left: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 0.8125rem;
  font-weight: 650;
  line-height: 1.2;
  padding-left: var(--space-md);
}

.brand-credit span {
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia,
    serif;
  font-size: 0.95rem;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.account-actions {
  align-items: center;
  display: flex;
  gap: var(--space-sm);
}

.account-link {
  background: var(--panel-soft);
  border: 1px solid var(--button-border);
  border-radius: 0;
  box-shadow: none;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0;
  min-height: 32px;
  padding: 4px 9px;
  text-decoration: none;
}

.account-link:hover {
  background: var(--button-hover);
  border-color: var(--button-border);
  color: var(--panel);
}

.app-shell {
  align-content: stretch;
  align-items: stretch;
  background: var(--page);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  margin: 0 auto;
  max-width: 1280px;
  min-height: calc(100dvh - 124px);
}

.app-shell.no-sidebar {
  grid-template-columns: minmax(0, 1fr);
}

.sidebar {
  background: transparent;
  border-right: 1px solid var(--line);
  min-width: 0;
  padding: 20px;
}

.sidebar-section {
  padding-top: 0;
}

.sidebar-section:first-child {
  padding-top: 0;
}

.sidebar-section + .sidebar-section {
  margin-top: var(--space-lg);
}

.sidebar-section + .sidebar-section::before {
  background-image: repeating-linear-gradient(
    to right,
    var(--rule-dash) 0 18px,
    transparent 18px 28px
  );
  content: "";
  display: block;
  height: 1px;
  margin-bottom: var(--space-md);
}

.sidebar-heading {
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 var(--space-sm);
  text-transform: none;
}

.transcription-list {
  display: grid;
  gap: var(--space-sm);
  list-style: none;
  margin: 0;
  padding: 0;
}

.transcription-link,
.new-button {
  border: 1px solid var(--line-soft);
  border-radius: 0;
  color: var(--ink);
  display: grid;
  gap: 2px;
  min-height: 44px;
  padding: 9px 10px;
  text-decoration: none;
}

.new-button {
  align-content: center;
  background: var(--primary);
  border: 1px solid var(--button-border);
  box-shadow: var(--button-shadow);
  color: var(--panel);
  font-weight: 750;
  min-height: 34px;
  padding: 5px 9px;
}

.new-button:hover {
  background: var(--button-hover);
  border-color: var(--button-border);
  color: var(--panel);
}

.transcription-link:hover,
.transcription-link:focus-visible,
.transcription-link[aria-current="page"] {
  background: var(--primary-quiet);
  border-color: oklch(77% 0.03 195);
  color: var(--ink);
}

.transcription-title {
  font-size: 0.875rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1.25;
}

.transcription-meta {
  color: var(--ink-muted);
  font-size: 0.8125rem;
  line-height: 1.25;
}

.sidebar-search {
  display: block;
  margin-bottom: var(--space-sm);
}

.sidebar-search input {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  font-size: 0.875rem;
  min-height: 38px;
  padding: 8px 10px;
  width: 100%;
}

.local-history-empty {
  background: transparent;
  border: 1px dashed var(--line);
  border-radius: 0;
  color: var(--ink-muted);
  font-size: 0.875rem;
  line-height: 1.35;
  margin: var(--space-xs) 0 0;
  padding: var(--space-md);
}

.local-history-row {
  align-items: stretch;
  background: transparent;
  border: 1px solid var(--line-soft);
  border-radius: 0;
  display: flex;
  min-width: 0;
  overflow: hidden;
  transition:
    background-color 160ms var(--ease-state),
    border-color 160ms var(--ease-state);
}

.local-history-row:hover,
.local-history-row:focus-within {
  background: var(--panel-soft);
  border-color: var(--line);
}

.local-history-row:focus-within {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.local-history-open,
.local-history-delete {
  background: transparent;
  border: 1px solid transparent;
  color: var(--ink);
  cursor: pointer;
}

.local-history-open {
  border-radius: 0;
  display: grid;
  flex: 1 1 auto;
  gap: var(--space-xs);
  min-height: 58px;
  min-width: 0;
  padding: 10px 12px;
  text-align: left;
}

.local-history-open:hover,
.local-history-open:focus-visible,
.local-history-open[aria-current="page"] {
  background: var(--primary-quiet);
  border-color: transparent;
}

.local-history-delete {
  border-left: 1px solid var(--line);
  border-radius: 0;
  color: var(--danger);
  font-size: 0.8125rem;
  font-weight: 700;
  min-height: 100%;
  padding: 0 9px;
}

.local-history-delete:hover,
.local-history-delete:focus-visible {
  background: var(--danger-quiet);
  border-color: transparent;
  border-left-color: oklch(75% 0.06 28);
}

.local-history-file {
  color: var(--ink);
  display: block;
  font-size: 0.875rem;
  font-weight: 750;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.local-history-detail {
  color: var(--ink-muted);
  display: block;
  font-size: 0.78125rem;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.local-history-open {
  text-decoration: none;
}

.content {
  min-width: 0;
  padding: 28px 32px 34px;
}

.workspace {
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(280px, 1.08fr) minmax(280px, 0.92fr);
  align-items: start;
  background: transparent;
}

.workspace.single {
  background: transparent;
  grid-template-columns: minmax(0, 780px);
  justify-content: center;
}

.pane {
  background: transparent;
  border: 0;
  border-radius: 0;
  min-width: 0;
  padding: 0;
}

.pane + .pane {
  margin-top: 0;
}

.pane-header {
  align-items: start;
  display: flex;
  justify-content: space-between;
  gap: var(--space-lg);
  margin-bottom: 24px;
  padding-bottom: var(--space-md);
  position: relative;
}

.pane-header::after {
  background-image: repeating-linear-gradient(
    to right,
    var(--rule-dash) 0 18px,
    transparent 18px 28px
  );
  bottom: 0;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  right: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: 1.45rem;
  font-weight: 720;
  line-height: 1.16;
  letter-spacing: 0;
  margin-bottom: var(--space-sm);
  text-wrap: balance;
}

h2 {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: var(--space-sm);
}

h3 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: var(--space-xs);
}

.muted,
.pane p {
  color: var(--ink-muted);
}

.pane p:last-child,
.work-block p:last-child,
.notice p:last-child,
.status-row p:last-child {
  margin-bottom: 0;
}

.work-block,
.response-box {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.local-viewer {
  margin-bottom: var(--space-xl);
}

.local-viewer[hidden] {
  display: none;
}

[hidden] {
  display: none !important;
}

.audio-methods {
  align-items: start;
  display: grid;
  gap: var(--space-md);
  grid-template-columns: minmax(0, 1fr);
}

.audio-method {
  min-width: 0;
}

.audio-divider {
  align-items: center;
  color: var(--ink-muted);
  display: flex;
  font-size: 0.875rem;
  font-weight: 650;
  gap: var(--space-md);
  line-height: 1;
}

.audio-divider::before,
.audio-divider::after {
  background-image: repeating-linear-gradient(
    to right,
    var(--rule-dash-soft) 0 14px,
    transparent 14px 23px
  );
  content: "";
  flex: 1;
  height: 1px;
}

.audio-method h2 {
  margin-bottom: var(--space-xs);
}

[data-upload-method] h2 {
  margin-bottom: var(--space-md);
}

.audio-method > p {
  color: var(--ink-muted);
  margin: 0;
}

.recorder-panel {
  background: var(--panel-soft);
  border: 1px solid var(--line);
  display: grid;
  gap: var(--space-sm);
  margin-top: var(--space-md);
  padding: var(--space-sm);
}

.recorder-visual {
  align-items: center;
  background: transparent;
  border: 0;
  display: grid;
  gap: var(--space-sm);
  grid-template-columns: minmax(160px, 1fr) auto;
}

.recorder-waveform {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  display: block;
  height: 34px;
  width: 100%;
}

.recorder-status {
  align-items: center;
  align-self: center;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--ink-muted);
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 700;
  gap: var(--space-sm);
  line-height: 1.35;
  margin: 0;
  min-height: 34px;
  padding: 5px 10px;
  white-space: nowrap;
}

.recorder-status::before {
  background: var(--line-strong);
  content: "";
  display: inline-block;
  height: 8px;
  width: 8px;
}

[data-recorder-state="recording"] .recorder-status {
  background: var(--primary-quiet);
  border-color: oklch(74% 0.03 195);
  color: var(--ink);
}

[data-recorder-state="recording"] .recorder-status::before {
  background: var(--primary);
}

[data-recorder-state="review"] .recorder-status::before {
  background: var(--success);
}

.recording-playback {
  display: block;
  margin: 0;
  width: 100%;
}

.drop-zone {
  align-items: center;
  background: transparent;
  border: 1px dashed var(--line-strong);
  border-radius: 0;
  cursor: pointer;
  display: grid;
  isolation: isolate;
  min-height: 168px;
  overflow: hidden;
  padding: 20px;
  place-items: center;
  position: relative;
  text-align: center;
  transition:
    background-color 160ms var(--ease-state),
    border-color 160ms var(--ease-state);
}

.drop-zone::before {
  background: oklch(45% 0.018 170 / 0.16);
  content: "";
  inset: 16px;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cg fill='none' stroke='black' stroke-linecap='square' stroke-width='1'%3E%3Cpath d='M14 6v4M14 18v4M6 14h4M18 14h4'/%3E%3C/g%3E%3C/svg%3E");
  mask-repeat: repeat;
  mask-size: 28px 28px;
  pointer-events: none;
  position: absolute;
  transition:
    background-color 160ms var(--ease-state),
    opacity 160ms var(--ease-state);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cg fill='none' stroke='black' stroke-linecap='square' stroke-width='1'%3E%3Cpath d='M14 6v4M14 18v4M6 14h4M18 14h4'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-repeat: repeat;
  -webkit-mask-size: 28px 28px;
  z-index: 0;
}

.drop-zone > span {
  position: relative;
  z-index: 1;
}

.drop-zone:hover,
.drop-zone.is-dragging {
  background: var(--primary-quiet);
  border-color: oklch(74% 0.03 195);
}

.drop-zone:hover::before,
.drop-zone.is-dragging::before {
  background: oklch(45% 0.075 195 / 0.24);
}

.drop-zone.is-dragging {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.drop-zone:focus-within {
  border-color: var(--focus);
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.drop-zone strong {
  color: var(--ink);
  display: block;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: var(--space-sm);
}

.drop-zone input {
  inline-size: min(100%, 340px);
  margin-top: var(--space-lg);
}

.form-actions,
.actions-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin: var(--space-lg) 0 0;
}

.button,
button.primary,
button.secondary,
button.danger {
  align-items: center;
  border: 1px solid var(--button-border);
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 700;
  justify-content: center;
  letter-spacing: 0;
  min-height: 34px;
  padding: 5px 9px;
  text-decoration: none;
}

.button:hover,
button.primary:hover,
button.secondary:hover,
button.danger:hover {
  background: var(--button-hover);
  border-color: var(--button-border);
  color: var(--panel);
}

.button:active,
button.primary:active,
button.secondary:active,
button.danger:active,
.account-link:active,
.new-button:active {
  box-shadow: var(--button-shadow);
}

.button.primary,
button.primary {
  background: var(--primary);
  border-color: var(--button-border);
  box-shadow: var(--button-shadow);
  color: var(--panel);
}

.button.primary:hover,
button.primary:hover {
  background: var(--button-hover);
  border-color: var(--button-border);
  color: var(--panel);
}

.button.secondary,
button.secondary {
  background: transparent;
  border-color: var(--button-border);
  color: var(--ink);
}

.button.secondary:hover,
button.secondary:hover {
  background: var(--button-hover);
  border-color: var(--button-border);
  color: var(--panel);
}

.button.danger,
button.danger {
  background: transparent;
  border-color: var(--button-border);
  color: var(--danger);
}

.button.danger:hover,
button.danger:hover {
  background: var(--button-hover);
  color: var(--panel);
}

button:disabled,
.button[aria-disabled="true"] {
  background: var(--panel-strong);
  border-color: var(--line-strong);
  box-shadow: none;
  color: var(--ink-muted);
  cursor: not-allowed;
  transform: none;
}

form p {
  display: grid;
  gap: var(--space-sm);
  margin: 0 0 var(--space-lg);
}

label {
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.25;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="file"],
textarea,
select {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  min-height: 42px;
  padding: 10px 12px;
  width: 100%;
}

input[type="checkbox"] {
  accent-color: var(--primary);
  inline-size: 1.1rem;
  block-size: 1.1rem;
}

.helptext {
  color: var(--ink-muted);
  font-size: 0.875rem;
  line-height: 1.35;
}

.errorlist {
  color: var(--danger);
  display: grid;
  gap: var(--space-xs);
  list-style: none;
  margin: 0 0 var(--space-sm);
  padding: 0;
}

.transcription-text {
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 70ch;
  resize: vertical;
}

.status-list,
.data-list {
  display: grid;
  list-style: none;
  margin: 0;
  padding: 0;
}

.status-row,
.data-row,
.status-list li {
  align-items: start;
  background: transparent;
  border: 0;
  border-radius: 0;
  display: grid;
  gap: var(--space-sm);
  grid-template-columns: 14px minmax(0, 1fr);
  padding: var(--space-md) 0;
}

.status-row:first-child,
.data-row:first-child,
.status-list li:first-child,
.data-list li:first-child {
  padding-top: 0;
}

.status-row:last-child,
.data-row:last-child,
.status-list li:last-child,
.data-list li:last-child {
  padding-bottom: 0;
}

.data-row {
  grid-template-columns: minmax(0, 1fr) auto;
}

.data-row > .chip {
  justify-self: end;
}

.data-row > .actions-row {
  grid-column: 1 / -1;
  margin-top: var(--space-sm);
}

.status-row:not(:first-child)::before,
.data-row:not(:first-child)::before,
.status-list li:not(:first-child)::before,
.data-list li:not(:first-child)::before {
  background-image: repeating-linear-gradient(
    to right,
    var(--rule-dash-soft) 0 14px,
    transparent 14px 23px
  );
  content: "";
  grid-column: 1 / -1;
  height: 1px;
}

.status-row strong,
.data-row strong {
  color: var(--ink);
  display: block;
  font-size: 0.875rem;
  font-weight: 650;
  line-height: 1.25;
}

.status-row p,
.data-row p {
  color: var(--ink-muted);
  margin: var(--space-xs) 0 0;
}

.status-list .muted {
  display: block;
  margin-top: 2px;
}

.chip {
  align-self: start;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  display: inline-flex;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.25;
  padding: 5px 8px;
}

.chip.success {
  background: var(--success-quiet);
  border-color: var(--success);
}

.chip.warning {
  background: var(--warning-quiet);
  border-color: var(--warning);
}

.chip.danger {
  background: var(--danger-quiet);
  border-color: var(--danger);
  color: var(--danger);
}

.dot {
  border-radius: 50%;
  height: 12px;
  margin-top: 0.18rem;
  width: 12px;
}

.dot.complete {
  background: var(--success);
}

.dot.current {
  background: var(--primary);
}

.dot.waiting {
  background: var(--warning);
}

.dot.failed {
  background: var(--danger);
}

.dot.pending {
  background: var(--panel-strong);
  border: 1px solid var(--line-soft);
}

.notice {
  background: transparent;
  border: 1px solid var(--line);
  border-left: 3px solid var(--warning);
  border-radius: 0;
  color: var(--ink);
  margin-top: var(--space-lg);
  padding: var(--space-md);
}

.notice.privacy,
.notice.info {
  background: transparent;
  border-color: var(--line);
  border-left-color: var(--primary);
}

.notice.danger,
.notice.error {
  background: transparent;
  border-color: var(--line);
  border-left-color: var(--danger);
}

.notice.success {
  background: transparent;
  border-color: var(--line);
  border-left-color: var(--success);
}

.notice + .form-actions {
  margin-top: var(--space-md);
}

.stack {
  display: grid;
  gap: var(--space-md);
}

.compact-stack {
  display: grid;
  gap: var(--space-sm);
}

.site-footer {
  color: var(--ink-muted);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.3;
  margin: var(--space-md) auto 0;
  max-width: 1280px;
  text-align: right;
}

.site-footer .brand-name {
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia,
    serif;
  font-size: 0.95rem;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.recording-controls {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

@media (max-width: 900px) {
  body {
    padding: 0;
  }

  .topbar {
    border-left: 0;
    border-right: 0;
    border-top: 0;
    padding: 0 16px 0 var(--space-lg);
  }

  .brand-group {
    display: grid;
    gap: 2px;
  }

  .brand-credit {
    border-left: 0;
    font-size: 0.75rem;
    padding-left: 36px;
  }

  .app-shell {
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    grid-template-columns: 1fr;
    min-height: calc(100dvh - 60px);
  }

  .site-footer {
    padding: 0 var(--space-lg) var(--space-lg);
    text-align: left;
  }

  .sidebar {
    border-right: 0;
    padding: var(--space-lg);
    position: relative;
  }

  .sidebar::after {
    background-image: repeating-linear-gradient(
      to right,
      var(--rule-dash) 0 18px,
      transparent 18px 28px
    );
    bottom: 0;
    content: "";
    height: 1px;
    left: var(--space-lg);
    position: absolute;
    right: var(--space-lg);
  }

  .content {
    padding: var(--space-lg);
  }

  .workspace,
  .workspace.single {
    grid-template-columns: 1fr;
  }

  .audio-methods {
    grid-template-columns: 1fr;
  }

  .recorder-visual {
    grid-template-columns: 1fr;
  }

  .recording-controls {
    align-items: stretch;
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .pane-header {
    display: grid;
  }
}
