:root {
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #292833;
  background: #f6f5f1;
  font-synthesis: none;
  --ink: #292833;
  --muted: #706e79;
  --purple: #5944b8;
  --line: #e6e4e9;
  --soft: #f6f5f9;
  --green: #e7edc6;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
a,
summary {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.4;
}
a {
  color: inherit;
}
button {
  border: 0;
  background: none;
}
h1,
h2,
p {
  margin: 0;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #8461de;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  top: -80px;
  padding: 12px;
  background: white;
  z-index: 20;
}
.skip:focus {
  top: 0;
}
.site-header,
main,
footer {
  max-width: 1440px;
  margin: auto;
}
.site-header {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  border-bottom: 1px solid #e0dfd8;
}
.brand {
  display: flex;
  align-items: center;
  font-size: 28px;
  font-weight: 750;
  letter-spacing: -1.4px;
  text-decoration: none;
}
.brand img {
  margin-right: 11px;
}
.brand-dot {
  color: var(--purple);
}
nav {
  display: flex;
  align-items: center;
  gap: 27px;
  font-size: 12px;
  font-weight: 550;
}
nav a {
  text-decoration: none;
  padding: 12px 0;
}
nav a:hover {
  text-decoration: underline;
}
main {
  padding: 0 48px;
}
.intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 34px 0 31px;
  gap: 20px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.6px;
  font-weight: 700;
  color: var(--muted);
}
h1 {
  font-size: 42px;
  letter-spacing: -1.7px;
  line-height: 1.2;
  font-weight: 600;
  margin: 8px 0;
}
h1 span {
  font-family: Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: var(--purple);
}
.intro > div > p:last-child {
  color: var(--muted);
  font-size: 13px;
}
.local-note {
  display: flex;
  align-items: center;
  gap: 12px;
}
.local-note strong,
.local-note span:not(.privacy-icon) {
  display: block;
  font-size: 12px;
}
.local-note span:not(.privacy-icon) {
  color: var(--muted);
  margin-top: 3px;
}
.privacy-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 38px;
  border: 1px solid #b8bea1;
  border-radius: 12px 12px 17px 17px;
  color: #4c6136;
  font-size: 18px;
}
.editor {
  border: 1px solid #dcdae3;
  border-radius: 12px;
  background: white;
  box-shadow: 0 12px 35px #25203907;
  overflow: hidden;
  scroll-margin-top: 12px;
}
.project-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 22px;
  border-bottom: 1px solid var(--line);
  gap: 12px;
}
.project-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.project-heading > div {
  min-width: 0;
}
.project-symbol {
  color: var(--purple);
  background: #f0edf9;
  border-radius: 7px;
  width: 38px;
  height: 40px;
  display: grid;
  place-items: center;
  font-size: 22px;
}
#project-name {
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  font-size: 14px;
  font-weight: 650;
  padding: 2px 3px;
  width: 260px;
  max-width: 100%;
}
#project-name:hover {
  border-color: var(--line);
}
#project-kind {
  font-size: 8px;
  letter-spacing: 1.1px;
  color: var(--muted);
  margin: 3px;
}
#project-kind span {
  padding: 0 5px;
}
.project-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.primary {
  background: var(--purple);
  color: white;
  border-radius: 6px;
  padding: 10px 20px;
  font-size: 12px;
  font-weight: 600;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.primary:hover {
  background: #49369f;
}
.quiet {
  font-size: 11px;
  min-height: 36px;
  border-radius: 5px;
  padding: 7px 10px;
  font-weight: 550;
}
.quiet:hover {
  background: #eeecf4;
}
.workspace {
  display: grid;
  grid-template-columns: 200px minmax(300px, 1.05fr) minmax(300px, 1fr);
  grid-template-areas: "library transcript preview" "library timeline timeline";
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 16px;
}
.section-heading h2 {
  font-size: 11px;
  font-weight: 650;
}
.count {
  font-size: 9px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 6px;
}
.small-label {
  font-size: 8px;
  letter-spacing: 0.9px;
  color: var(--muted);
}
.library {
  grid-area: library;
  border-right: 1px solid var(--line);
  padding: 24px 17px 18px;
  background: #fcfbfd;
  display: flex;
  flex-direction: column;
}
.import-button {
  border: 1px solid #d9d6e1;
  background: white;
  border-radius: 5px;
  padding: 10px 6px;
  font-size: 11px;
  font-weight: 600;
  min-height: 42px;
  white-space: nowrap;
}
.import-button:hover {
  background: #eeecf4;
}
.import-button span {
  font-size: 16px;
  margin-right: 5px;
}
.file-limit {
  color: var(--muted);
  font-size: 10px;
  margin: 9px 0 22px;
  line-height: 1.8;
}
.media-card {
  border: 1px solid #d9d3eb;
  padding: 7px;
  border-radius: 6px;
  background: #f5f2fc;
}
.media-art {
  height: 84px;
  border-radius: 3px;
  background: #e3ddf1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.media-art i {
  display: block;
  width: 4px;
  border-radius: 3px;
  height: 20px;
  background: #8d7cc4;
}
.media-art i:nth-child(3n) {
  height: 44px;
}
.media-art i:nth-child(2n) {
  height: 31px;
}
.media-art i:nth-child(4n) {
  height: 52px;
}
.media-card strong {
  font-size: 10px;
  display: block;
  margin: 8px 2px 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.media-card > span {
  display: block;
  font-size: 9px;
  color: #67616f;
  margin: 0 2px 3px;
}
.text-button {
  font-size: 10px;
  color: var(--purple);
  text-align: left;
  padding: 10px 0;
  min-height: 40px;
}
.text-button:hover {
  text-decoration: underline;
}
.library-bottom {
  margin-top: auto;
  padding-top: 42px;
}
.library-bottom .eyebrow {
  font-size: 7px;
  letter-spacing: 1px;
}
.library-bottom .quiet {
  padding: 7px 0;
  font-size: 10px;
}
.library-bottom p:last-child {
  font-size: 10px;
  line-height: 1.7;
  color: var(--muted);
}
.transcript {
  grid-area: transcript;
  padding: 24px 0 0;
  min-width: 0;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.transcript > .section-heading {
  padding: 0 22px;
  margin-bottom: 11px;
}
.transcript-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
}
.transcript-tools .quiet {
  font-size: 10px;
}
.transcript-hint {
  font-size: 10px;
  color: var(--muted);
  padding: 5px 22px 12px;
}
.segments {
  height: 322px;
  overflow: auto;
  padding: 0 11px 14px;
  scrollbar-width: thin;
  scrollbar-color: #d3cedf transparent;
}
.segment {
  display: grid;
  grid-template-columns: 43px 1fr;
  gap: 11px;
  border-radius: 5px;
  position: relative;
  margin: 3px 0;
  border: 1px solid transparent;
}
.segment-time {
  font-family: ui-monospace, monospace;
  font-size: 9px;
  color: var(--muted);
  padding-top: 12px;
  padding-left: 8px;
  pointer-events: none;
}
.segment button {
  width: 100%;
  padding: 9px 10px 9px 0;
  font-size: 13px;
  line-height: 1.8;
  text-align: left;
}
.segment:hover {
  background: #f7f6fa;
}
.segment.selected {
  background: #eeebf9;
  border-color: #d8ceef;
}
.segment.active .segment-time {
  color: #5136a7;
}
.segment.active {
  box-shadow: inset 3px 0 #8162cf;
}
.segment.cut button {
  text-decoration: line-through;
  color: #706a78;
}
.segment.cut {
  background: #f6f5f6;
}
.segment.gap button {
  font-size: 10px;
  color: #625b6d;
  font-style: italic;
}
.segment.cut.selected {
  border-color: #bcabc9;
}
.selection-bar {
  margin-top: auto;
  padding: 11px 16px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  min-height: 58px;
}
.selection-bar > span {
  font-size: 9px;
  color: var(--muted);
}
.selection-bar > div {
  display: flex;
  gap: 3px;
}
.selection-bar button {
  font-size: 10px;
}
.cut-button {
  border: 1px solid #d6cce7;
  background: #f6f1fa;
  color: #583578;
  border-radius: 5px;
  padding: 7px 10px;
  min-height: 36px;
  font-weight: 600;
}
.cut-button:hover {
  background: #eae1f4;
}
.preview {
  grid-area: preview;
  padding: 24px 22px 15px;
  background: #fcfcfd;
  min-width: 0;
}
.canvas-wrap {
  background: #e9e6ef;
  padding: 14px;
  border-radius: 5px;
  min-height: 196px;
  display: flex;
  align-items: center;
  justify-content: center;
}
canvas {
  display: block;
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 3px 8px #2b254025;
}
.preview-playback {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0 15px;
  border-bottom: 1px solid var(--line);
}
.play-button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-size: 11px;
}
.play-button:hover {
  background: var(--purple);
}
.timecode {
  font:
    10px ui-monospace,
    monospace;
  color: var(--muted);
}
#current-time {
  color: var(--ink);
}
.time-divider {
  margin: 0 5px;
  color: #9b95a2;
}
.preview-badge {
  margin-left: auto;
  font-size: 7px;
  letter-spacing: 0.8px;
  color: var(--muted);
}
.preview-settings {
  display: grid;
  grid-template-columns: 65px 1fr;
  align-items: center;
  gap: 11px;
  margin-top: 17px;
}
.preview-settings label {
  font-size: 10px;
  color: #5f5b69;
}
.preview-settings select {
  min-width: 0;
  width: 100%;
  padding: 8px 26px 8px 10px;
  background: white;
  border: 1px solid #dfdce5;
  border-radius: 4px;
  font-size: 10px;
  min-height: 34px;
}
.trim-settings {
  margin-top: 12px;
  font-size: 10px;
}
.trim-settings summary {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  min-height: 34px;
  color: #625c6b;
  list-style: none;
}
.trim-fields {
  display: flex;
  align-items: end;
  gap: 7px;
  margin-top: 5px;
}
.trim-fields label {
  font-size: 9px;
  min-width: 0;
  flex: 1;
}
.trim-fields input {
  width: 100%;
  border: 1px solid #d8d3e1;
  border-radius: 4px;
  padding: 5px;
  margin-top: 4px;
  min-height: 34px;
}
.trim-settings p {
  color: var(--muted);
  font-size: 9px;
  margin-top: 6px;
}
.timeline {
  grid-area: timeline;
  border-top: 1px solid var(--line);
  padding: 10px 22px 12px;
  min-width: 0;
  background: #fff;
}
.timeline-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3px;
}
.timeline-toolbar > div {
  display: flex;
  align-items: center;
  gap: 3px;
}
.icon-button {
  min-width: 34px;
  min-height: 34px;
  font-size: 20px;
  border-radius: 5px;
  line-height: 1;
}
.icon-button:hover {
  background: #efedf5;
}
.toolbar-divider {
  height: 15px;
  border-left: 1px solid var(--line);
  margin: 0 9px;
}
#edit-summary {
  font-size: 10px;
  color: var(--muted);
}
.timeline-label {
  font-size: 7px;
  letter-spacing: 1px;
  color: var(--muted);
}
.scrubber {
  display: block;
  width: 100%;
  height: 20px;
  accent-color: var(--purple);
  cursor: pointer;
  margin: 0;
}
.ruler {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font:
    8px ui-monospace,
    monospace;
  margin: 0 1px 7px;
}
.timeline-clips {
  display: flex;
  gap: 3px;
  height: 57px;
  overflow: hidden;
  border-radius: 5px;
  background: #f5f4f7;
}
.clip {
  flex-basis: 0;
  min-width: 2px;
  padding: 0;
  background: #e3ddef;
  border: 1px solid #cfc4e5;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.clip.selected {
  border: 2px solid #8466bf;
  background: #d9ceeb;
}
.clip:hover {
  background: #d3c7e8;
}
.clip span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 8px;
  text-align: left;
  padding: 4px 7px;
  color: #504063;
  position: relative;
  z-index: 1;
}
.clip svg {
  position: absolute;
  bottom: 3px;
  left: 0;
  width: 100%;
  height: 24px;
}
.timeline-foot {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 8px;
  color: var(--muted);
  margin-top: 11px;
}
.status-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #587145;
  margin-right: 4px;
}
kbd {
  font-size: 9px;
  border: 1px solid var(--line);
  padding: 0 3px;
  border-radius: 2px;
  margin-left: 8px;
}
.under-editor {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 15px;
  margin: 12px 0 0;
  min-height: 30px;
  font-size: 10px;
  color: var(--muted);
}
#status {
  color: #57505f;
  flex: 1;
}
.session-note {
  font-size: 9px;
}
.workflow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  border-bottom: 1px solid #e0ded7;
  padding: 25px 0 30px;
}
.workflow > div {
  display: flex;
  gap: 13px;
  align-items: start;
}
.workflow > div > span {
  font:
    italic 22px Georgia,
    serif;
  color: #756780;
  line-height: 1.2;
}
.workflow p {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
}
.workflow strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  font-size: 12px;
}
.help {
  margin: 0 0 4px;
}
.help > summary {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  cursor: pointer;
  list-style: none;
}
.help > summary span {
  font-size: 18px;
  color: var(--purple);
}
.help-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 45px;
  padding: 10px 0 30px;
}
.help h2 {
  font-size: 13px;
  margin-bottom: 8px;
}
.help p {
  font-size: 12px;
  line-height: 1.85;
  color: #69636e;
  margin-bottom: 9px;
}
.help a {
  color: var(--purple);
}
footer {
  border-top: 1px solid #e0dfd8;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 48px 30px;
  gap: 16px;
  color: var(--muted);
  font-size: 10px;
}
footer a {
  text-decoration: none;
}
.footer-brand {
  font-size: 11px;
  color: var(--ink);
}
footer a:hover {
  text-decoration: underline;
}
dialog {
  border: 1px solid #dcd7e5;
  box-shadow: 0 20px 100px #20142b33;
  border-radius: 14px;
  padding: 28px;
  width: min(530px, calc(100% - 30px));
  max-height: 90dvh;
  overflow: auto;
  color: var(--ink);
}
dialog::backdrop {
  background: #211b3c65;
  backdrop-filter: blur(3px);
}
.dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 15px;
}
.dialog-heading h2 {
  font-size: 23px;
  line-height: 1.3;
  letter-spacing: -0.5px;
}
.dialog-heading .eyebrow {
  margin-bottom: 8px;
}
dialog p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  margin: 10px 0;
}
dialog label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin: 16px 0 7px;
}
dialog textarea {
  display: block;
  width: 100%;
  resize: vertical;
  border: 1px solid #cec6dc;
  border-radius: 6px;
  padding: 12px;
  line-height: 1.6;
}
.dialog-actions {
  display: flex;
  justify-content: end;
  gap: 10px;
  margin-top: 22px;
}
.export-options {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}
.export-options button {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  border: 1px solid #e2ddea;
  border-radius: 7px;
  padding: 13px;
  background: #fff;
}
.export-options button:hover {
  background: #f6f3fb;
  border-color: #c6b8df;
}
.export-options button > span:last-child {
  margin-left: auto;
  color: var(--purple);
  font-size: 19px;
}
.export-options strong {
  display: block;
  font-size: 12px;
}
.export-options small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 3px;
}
.export-icon {
  font-size: 17px;
  font-weight: 650;
  background: #eee8f8;
  color: var(--purple);
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 6px;
}
.export-options button[data-export="srt"] .export-icon,
.export-options button[data-export="vtt"] .export-icon {
  font-size: 12px;
}
progress {
  width: 100%;
  accent-color: var(--purple);
}
.notice {
  border: 1px solid #cebb80;
  background: #fff9df;
  padding: 16px;
  margin-bottom: 15px;
}
.dragging .editor {
  outline: 3px dashed var(--purple);
  outline-offset: 5px;
}
.muted {
  color: var(--muted);
}
@media (min-width: 1500px) {
  .intro {
    padding-top: 45px;
    padding-bottom: 40px;
  }
  .segments {
    height: 355px;
  }
}
@media (max-width: 1150px) {
  main {
    padding: 0 28px;
  }
  .site-header,
  footer {
    padding-left: 28px;
    padding-right: 28px;
  }
  .workspace {
    grid-template-columns: 160px minmax(265px, 1fr) minmax(270px, 1fr);
  }
  .library {
    padding-left: 12px;
    padding-right: 12px;
  }
  .preview {
    padding-left: 15px;
    padding-right: 15px;
  }
  .preview-badge {
    display: none;
  }
  .selection-bar {
    padding-left: 12px;
    padding-right: 12px;
  }
  .selection-bar > span {
    font-size: 8px;
  }
  .canvas-wrap {
    min-height: 170px;
    padding: 10px;
  }
  .transcript > .section-heading {
    padding: 0 17px;
  }
  .segment {
    grid-template-columns: 35px 1fr;
    gap: 8px;
  }
  .segment button {
    font-size: 12px;
  }
  .session-note {
    max-width: 215px;
    text-align: right;
  }
}
@media (max-width: 900px) {
  .workspace {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "library library" "transcript preview" "timeline timeline";
  }
  .library {
    flex-direction: row;
    align-items: center;
    gap: 15px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 12px 18px;
    flex-wrap: wrap;
  }
  .library .section-heading,
  .media-art,
  .library-bottom p,
  .file-limit {
    display: none;
  }
  .library-bottom {
    padding: 0;
    margin: 0 0 0 auto;
  }
  .library-bottom .quiet {
    font-size: 10px;
  }
  .media-card {
    border: 0;
    background: transparent;
    padding: 0;
    max-width: 160px;
  }
  .media-card strong {
    margin-top: 0;
  }
  .media-card > span {
    margin-bottom: 0;
  }
  .text-button {
    font-size: 9px;
  }
  .import-button {
    padding: 8px 13px;
  }
  .segments {
    height: 317px;
  }
  .intro {
    padding: 26px 0;
  }
  h1 {
    font-size: 38px;
  }
  .local-note {
    gap: 8px;
  }
  .local-note strong,
  .local-note span:not(.privacy-icon) {
    font-size: 10px;
  }
  .workflow {
    gap: 20px;
  }
  .timeline {
    padding-top: 8px;
  }
  .under-editor {
    font-size: 9px;
  }
  footer {
    font-size: 9px;
  }
  .timeline-foot {
    font-size: 9px;
  }
}
@media (max-width: 620px) {
  body {
    font-size: 14px;
  }
  .site-header {
    height: 71px;
    padding: 0 18px;
  }
  .brand {
    font-size: 25px;
  }
  .brand img {
    width: 29px;
    height: 29px;
    margin-right: 8px;
  }
  nav {
    gap: 15px;
    font-size: 10px;
  }
  nav [data-save-page] {
    display: none;
  }
  main {
    padding: 0 14px;
  }
  .intro {
    padding: 26px 3px 23px;
    align-items: start;
  }
  .intro .eyebrow {
    font-size: 8px;
    letter-spacing: 1.2px;
  }
  h1 {
    font-size: 36px;
    letter-spacing: -1.4px;
  }
  .intro > div > p:last-child {
    font-size: 11px;
    max-width: 240px;
  }
  .local-note {
    display: none;
  }
  .project-bar {
    padding: 14px 12px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .project-heading {
    gap: 8px;
    flex: 1;
    min-width: 170px;
  }
  .project-symbol {
    width: 31px;
    height: 34px;
    font-size: 19px;
    flex-shrink: 0;
  }
  #project-name {
    font-size: 12px;
    width: 215px;
  }
  #project-kind {
    font-size: 6px;
    letter-spacing: 0.7px;
  }
  .project-actions {
    gap: 4px;
    margin-left: auto;
  }
  .project-actions .quiet {
    font-size: 10px;
    padding: 7px;
  }
  .project-actions .primary {
    padding: 9px 12px;
    font-size: 10px;
    gap: 7px;
    min-height: 40px;
  }
  .workspace {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "library" "preview" "transcript" "timeline";
  }
  .library {
    gap: 6px 12px;
    padding: 10px 12px;
  }
  .media-card {
    flex: 1;
    min-width: 100px;
    max-width: 180px;
  }
  .media-card strong {
    font-size: 9px;
    max-width: 130px;
  }
  .media-card > span {
    font-size: 8px;
  }
  .library-bottom {
    margin-left: 0;
  }
  .library-bottom .quiet {
    font-size: 9px;
    min-height: 44px;
  }
  .text-button {
    min-height: 44px;
    padding: 8px 0;
    margin-left: auto;
  }
  .import-button {
    font-size: 10px;
    min-height: 44px;
    padding: 8px 10px;
  }
  .preview {
    padding: 16px 14px 10px;
    border-bottom: 1px solid var(--line);
  }
  .preview > .section-heading {
    margin-bottom: 10px;
  }
  .section-heading h2 {
    font-size: 12px;
  }
  .small-label {
    font-size: 8px;
  }
  .canvas-wrap {
    padding: 8px;
    min-height: 0;
  }
  canvas {
    max-height: 225px;
  }
  .preview-playback {
    padding: 9px 0;
  }
  .play-button {
    width: 44px;
    height: 44px;
  }
  .timecode {
    font-size: 11px;
  }
  .preview-badge {
    display: block;
    font-size: 7px;
  }
  .preview-settings {
    grid-template-columns: 51px 1fr;
    gap: 8px;
    margin-top: 12px;
  }
  .preview-settings select {
    font-size: 11px;
    min-height: 44px;
  }
  .preview-settings label {
    font-size: 11px;
  }
  .trim-settings summary {
    min-height: 44px;
    font-size: 11px;
  }
  .trim-fields input,
  .trim-fields .quiet {
    min-height: 44px;
  }
  .transcript {
    padding-top: 17px;
    border-right: 0;
  }
  .transcript > .section-heading {
    padding: 0 16px;
  }
  .transcript-tools {
    padding: 0 7px;
  }
  .transcript-tools .quiet {
    font-size: 11px;
    min-height: 44px;
  }
  .transcript-hint {
    padding: 2px 16px 12px;
    font-size: 10px;
  }
  .segments {
    height: 330px;
    padding: 0 8px 10px;
  }
  .segment button {
    font-size: 14px;
    min-height: 44px;
    padding-top: 8px;
  }
  .segment-time {
    font-size: 9px;
  }
  .segment.gap button {
    font-size: 11px;
  }
  .segment {
    grid-template-columns: 40px 1fr;
    gap: 8px;
  }
  .selection-bar {
    padding: 9px 12px;
  }
  .selection-bar > span {
    font-size: 9px;
  }
  .selection-bar button {
    min-height: 44px;
    font-size: 11px;
  }
  .timeline {
    padding: 7px 12px 12px;
  }
  .icon-button {
    min-width: 44px;
    min-height: 44px;
  }
  #edit-summary {
    font-size: 9px;
  }
  .timeline-label {
    display: none;
  }
  .scrubber {
    height: 35px;
  }
  .ruler {
    font-size: 9px;
  }
  .timeline-clips {
    height: 62px;
  }
  .clip span {
    font-size: 8px;
  }
  .timeline-foot > span:last-child {
    display: none;
  }
  .under-editor {
    display: block;
    margin: 10px 3px 0;
    min-height: 52px;
    line-height: 1.8;
  }
  .session-note {
    display: block;
    font-size: 9px;
    text-align: left;
    max-width: none;
  }
  .workflow {
    grid-template-columns: 1fr;
    gap: 17px;
    padding: 20px 4px 24px;
  }
  .workflow > div {
    gap: 14px;
  }
  .workflow p {
    font-size: 11px;
  }
  .workflow strong {
    display: inline;
    font-size: 11px;
    margin-right: 3px;
  }
  .workflow > div > span {
    font-size: 20px;
  }
  .help > summary {
    font-size: 11px;
    gap: 10px;
    line-height: 1.7;
    min-height: 75px;
    padding: 8px 4px;
  }
  .help-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 10px 4px 25px;
  }
  .help p {
    font-size: 12px;
  }
  footer {
    padding: 22px 18px;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 9px;
  }
  footer > span {
    margin-left: auto;
  }
  footer > a:last-child {
    width: 100%;
  }
  dialog {
    padding: 22px;
  }
  .dialog-heading h2 {
    font-size: 21px;
  }
  .export-options button {
    min-height: 70px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}

/* Recording and word editing. */
.record-open {
  width: 100%;
  margin-bottom: 8px;
  justify-content: center;
}
.record-open span {
  font-size: 10px;
}
.transcript-tools {
  flex-wrap: wrap;
  gap: 2px;
}
.word-paragraph {
  padding: 8px 8px 8px 0;
  font-size: 13px;
  line-height: 2.2;
}
.word {
  display: inline;
  border-radius: 3px;
  padding: 3px 1px;
  cursor: text;
  user-select: none;
  -webkit-user-select: none;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.word:hover {
  background: #f0ecf7;
}
.word.selected-word {
  background: #d9cdef;
  color: #34254a;
}
.word.cut {
  text-decoration: line-through;
  color: #746c7e;
}
.word.active {
  box-shadow: inset 0 -2px #5944b8;
}
.word-row.selected {
  background: transparent;
  border-color: transparent;
}
.word-row.active {
  box-shadow: inset 3px 0 #8162cf;
}
.selection-bar > div {
  flex-shrink: 1;
  flex-wrap: wrap;
  justify-content: flex-end;
  min-width: 0;
}
.selection-bar > span {
  font-size: 8px;
}
#range-select[aria-pressed="true"] {
  background: #e6def5;
  color: #463380;
}
.record-dialog {
  width: min(740px, calc(100% - 24px));
}
.record-transcribe {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 500;
  min-height: 34px;
}
.record-dialog input[type="checkbox"],
.record-dialog input[type="radio"] {
  accent-color: #5944b8;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.record-monitor {
  position: relative;
  background: #24212b;
  border-radius: 8px;
  overflow: hidden;
  min-height: 190px;
  margin: 15px 0;
}
.record-monitor video {
  display: block;
  width: 100%;
  height: 330px;
  object-fit: contain;
  touch-action: none;
}
.record-monitor #audio-preview {
  min-height: 190px;
  display: grid;
  align-content: center;
  justify-items: center;
  color: white;
}
.record-monitor #audio-preview span {
  font-size: 40px;
  color: #c4b0ed;
}
.record-monitor #audio-preview p {
  color: #d5cede;
  font-size: 12px;
}
#record-indicator {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 9px;
  background: #24212be8;
  color: #f9f6ff;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.8px;
}
#record-indicator.recording {
  background: #9a273b;
}
.record-actions {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}
#record-clock {
  margin-right: auto;
  font:
    20px ui-monospace,
    monospace;
}
.stop-button {
  border-radius: 6px;
  background: #a53145;
  color: white;
  padding: 11px 18px;
  min-height: 44px;
  font-size: 12px;
  font-weight: 600;
}
.stop-button:hover {
  background: #842638;
}
.record-dialog .record-privacy {
  font-size: 11px;
  line-height: 1.7;
}
.overlay-options {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr;
  gap: 10px;
  align-items: center;
}
.overlay-options label {
  margin: 0;
  font-size: 11px;
}
.overlay-options select {
  padding: 9px;
  border: 1px solid #d9d2e6;
  border-radius: 5px;
  font-size: 12px;
  background: white;
  min-height: 40px;
  min-width: 0;
}
.overlay-options input {
  width: 100%;
  accent-color: var(--purple);
}
.overlay-options p {
  grid-column: 1/-1;
  margin: 0;
  font-size: 10px;
}
.record-recovery {
  display: block;
  margin: 12px 0;
  color: var(--purple);
  font-size: 12px;
}
#transcribe-progress {
  margin-top: 20px;
}
#capture-origin-note {
  font-size: 12px;
}
@media (max-width: 900px) {
  .record-open {
    width: auto;
    margin: 0;
    min-width: 90px;
  }
  .library #download-original {
    margin: 0;
    font-size: 9px;
  }
  .selection-bar {
    flex-wrap: wrap;
  }
  .selection-bar > span {
    font-size: 9px;
  }
  .selection-bar > div {
    margin-left: auto;
  }
}
@media (max-width: 620px) {
  .word-paragraph {
    font-size: 14px;
    line-height: 2.3;
  }
  .word {
    padding: 5px 1px;
  }
  .record-open {
    min-height: 44px;
  }
  .record-modes {
    gap: 5px;
  }
  .record-modes label {
    padding: 9px 7px;
    font-size: 11px;
  }
  .record-sources {
    gap: 0 12px;
  }
  .record-sources label {
    font-size: 11px;
    min-height: 44px;
  }
  .record-monitor video {
    height: 230px;
  }
  .overlay-options {
    grid-template-columns: 1fr 1.5fr;
  }
  .overlay-options select,
  .overlay-options input {
    min-height: 44px;
  }
  .record-actions .primary,
  .record-actions .quiet {
    min-height: 44px;
  }
  .record-dialog {
    padding: 19px;
  }
  .selection-bar > div {
    gap: 2px;
  }
  .selection-bar .quiet {
    padding: 7px 8px;
  }
  .transcript-tools .quiet {
    font-size: 10px;
  }
}

.record-actions {
  position: sticky;
  bottom: -28px;
  padding: 14px 0;
  background: white;
  border-top: 1px solid #eee9f4;
  z-index: 2;
}
@media (max-width: 620px) {
  .record-actions {
    bottom: -19px;
  }
}

/* Begin with the user's recording; no bundled example is loaded. */
.start-screen {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 34px;
  margin: 22px 0 0;
}
.start-heading {
  text-align: center;
  margin-bottom: 26px;
}
.start-heading h2 {
  font-size: 26px;
  letter-spacing: -0.8px;
  margin: 8px 0;
}
.start-heading > p:last-child {
  font-size: 13px;
  color: var(--muted);
}
.start-modes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.start-modes > button {
  text-align: left;
  padding: 24px;
  border: 1px solid #ded6ed;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  background: #faf9fd;
  min-height: 228px;
}
.start-modes > button:hover {
  border-color: #9477ca;
  background: #f3eefb;
}
.start-modes strong {
  font-size: 18px;
}
.start-modes span:not(.start-icon) {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}
.start-modes b {
  font-size: 12px;
  color: var(--purple);
  margin-top: auto;
}
.start-icon {
  font-size: 30px;
  line-height: 1;
  color: var(--purple);
}
.start-files {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 25px;
}
.start-files > span {
  margin-left: auto;
  font-size: 10px;
  color: var(--muted);
}
.start-support {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
  margin: 18px 0 0;
}
.start-files button {
  min-height: 44px;
}
.layers-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 18px 0 7px;
}
.layers-heading h3,
.layer-inspector h3 {
  font-size: 12px;
}
.layers-heading .quiet {
  font-size: 11px;
  min-height: 40px;
}
.layer-empty {
  border: 1px dashed #ddd5e9;
  border-radius: 5px;
  padding: 14px;
  font-size: 11px;
  color: var(--muted);
}
.layer-track {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 8px;
  margin: 6px 0;
  min-width: 0;
}
.layer-track-label {
  font-size: 10px;
  text-align: left;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  min-height: 38px;
  padding: 8px;
  border-radius: 4px;
  background: #f5f1fb;
}
.layer-track-label[aria-pressed="true"] {
  background: #e5d9f7;
}
.layer-lane {
  height: 38px;
  position: relative;
  background: #f7f5fa;
  border-radius: 4px;
  min-width: 0;
}
.layer-clip {
  position: absolute;
  top: 0;
  bottom: 0;
  background: #e4edf5;
  border: 1px solid #a9bed0;
  border-radius: 4px;
  font-size: 10px;
  text-align: left;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  padding: 0 12px;
  min-width: 10px;
  cursor: grab;
  touch-action: none;
}
.layer-clip.selected {
  background: #d9cbee;
  border-color: #8062b6;
}
.layer-clip.muted-layer {
  opacity: 0.5;
}
.layer-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 8px;
  background: #8062b655;
  cursor: ew-resize;
}
.layer-handle.start {
  left: 0;
}
.layer-handle.end {
  right: 0;
}
.layer-outside {
  font-size: 10px;
  color: var(--muted);
  padding: 10px;
  display: block;
}
.layer-inspector {
  border: 1px solid #dbd1e9;
  border-radius: 7px;
  margin-top: 12px;
  padding: 14px;
  background: #fbf9ff;
}
.layer-inspector-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.layer-inspector fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.layer-inspector label {
  font-size: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.layer-inspector input:not([type="checkbox"]),
.layer-inspector textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #dcd3e8;
  border-radius: 4px;
  padding: 8px;
  font: inherit;
  font-size: 12px;
  background: white;
  min-height: 38px;
}
.layer-inspector textarea {
  font-size: 13px;
  resize: vertical;
}
.layer-fields {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin-top: 10px;
}
.layer-text-style {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr;
  gap: 10px;
  margin: 8px 0;
}
.layer-inspector .layer-checkbox {
  flex-direction: row;
  align-items: center;
  gap: 7px;
}
.layer-checkbox input {
  accent-color: var(--purple);
}
.layer-name-field {
  margin-bottom: 10px;
}
.layer-actions {
  display: flex;
  justify-content: end;
  flex-wrap: wrap;
  gap: 5px;
}
.layer-actions button {
  min-height: 40px;
  font-size: 10px;
}
.layer-actions .primary {
  margin-left: auto;
}
.layer-inspector .muted {
  font-size: 10px;
  line-height: 1.7;
  margin: 12px 0;
}
#preview {
  touch-action: none;
}
.legacy-project {
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 15px;
  font-size: 12px;
}
.legacy-project p {
  font-size: 11px;
}
.legacy-project summary {
  cursor: pointer;
  min-height: 35px;
}
#project-dialog p {
  line-height: 1.8;
  font-size: 12px;
}
@media (max-width: 900px) {
  .start-screen {
    padding: 24px;
  }
  .start-modes {
    gap: 10px;
  }
  .start-modes > button {
    padding: 19px;
  }
  .start-modes strong {
    font-size: 16px;
  }
  .layer-track {
    grid-template-columns: 86px minmax(0, 1fr);
  }
}
@media (max-width: 620px) {
  .start-screen {
    padding: 20px 16px;
  }
  .start-heading {
    text-align: left;
  }
  .start-heading h2 {
    font-size: 24px;
  }
  .start-modes {
    grid-template-columns: 1fr;
  }
  .start-modes > button {
    min-height: 0;
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 9px 12px;
  }
  .start-icon {
    grid-row: 1/4;
    align-self: center;
  }
  .start-modes span:not(.start-icon),
  .start-modes b {
    grid-column: 2;
  }
  .start-files {
    gap: 4px;
  }
  .start-files > span {
    width: 100%;
    margin: 10px 0 0;
  }
  .layer-track {
    grid-template-columns: 78px minmax(0, 1fr);
  }
  .layer-track-label,
  .layer-lane {
    min-height: 44px;
    height: 44px;
  }
  .layer-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .layer-text-style {
    grid-template-columns: 1fr 1fr;
  }
  .layer-text-style > .layer-checkbox {
    grid-column: 1/-1;
  }
  .layer-actions button {
    min-height: 44px;
  }
  .layer-inspector input:not([type="checkbox"]) {
    min-height: 44px;
  }
}
.word.cut.selected-word {
  color: #4f425f;
}
.layer-clip.muted-layer {
  opacity: 1;
  color: #5e526c;
  background: repeating-linear-gradient(
    135deg,
    #f4f0f8 0 6px,
    #e9e2f1 6px 12px
  );
  text-decoration: line-through;
}

.timeline {
  --track-label: 112px;
}
.recording-track,
.layer-track {
  display: grid;
  grid-template-columns: var(--track-label) minmax(0, 1fr);
  gap: 8px;
}
.recording-track-label {
  font-size: 10px;
  align-self: center;
  padding: 8px;
  color: var(--muted);
}
.timeline > .scrubber {
  margin-left: calc(var(--track-label) + 8px);
  width: calc(100% - var(--track-label) - 8px);
}
.timeline > .ruler {
  margin-left: calc(var(--track-label) + 8px);
}
@media (max-width: 900px) {
  .timeline {
    --track-label: 86px;
  }
}
@media (max-width: 620px) {
  .timeline {
    --track-label: 78px;
  }
}

.quality-field {
  display: grid;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
}
.quality-field select {
  width: 100%;
  min-width: 0;
}
#record-quality-field {
  margin-top: 16px;
}
#record-quality {
  min-height: 44px;
  padding: 9px 10px;
  border: 1px solid #dcd5e7;
  border-radius: 6px;
  font: inherit;
  color: #403354;
  background: white;
}
.video-settings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 20px 0 12px;
}
@media (max-width: 540px) {
  .video-settings {
    grid-template-columns: 1fr;
  }
}

/* Meeting-style setup: sources are independent; recording is a separate action. */
.start-modes.meeting-start {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 32px;
  background: #f9f7fe;
  border: 1px solid #e0d8f2;
  border-radius: 12px;
}
.meeting-start .setup-note {
  display: grid;
  gap: 12px;
  max-width: 620px;
}
.meeting-start .setup-symbols {
  color: #5944b8;
  font-size: 28px;
}
.meeting-start .setup-note strong {
  font-size: 20px;
}
.meeting-start .setup-note p {
  margin: 0;
  color: #625c70;
  font-size: 14px;
  line-height: 1.7;
}
.start-modes.meeting-start > button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 48px;
  padding: 16px 24px;
  flex-shrink: 0;
  color: white;
  background: #5944b8;
  border-radius: 8px;
}
.start-modes.meeting-start > button:hover {
  background: #493795;
  border-color: #493795;
}
.start-modes.meeting-start > button span {
  display: inline;
  color: inherit;
  font-size: 17px;
  margin: 0;
}
.record-dialog {
  width: min(940px, calc(100% - 24px));
}
.record-monitor {
  margin: 18px 0 14px;
  border-radius: 12px;
}
.record-monitor video {
  height: min(36vh, 360px);
  min-height: 220px;
}
.record-empty {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 28px;
  color: #f7f4fd;
  text-align: center;
  background: #24212b;
}
.record-empty > span {
  font-size: 38px;
  color: #c6b3eb;
  margin-bottom: 14px;
}
.record-empty strong {
  font-size: 18px;
}
.record-empty p {
  color: #d4cedf;
  font-size: 12px;
  max-width: 330px;
  line-height: 1.7;
}
.device-toolbar {
  display: flex;
  justify-content: center;
  gap: 12px;
}
.device-toggle {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 9px;
  min-width: 144px;
  min-height: 76px;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid #dcd5e7;
  color: #51485e;
  background: #faf8fd;
  font-size: 12px;
  font-weight: 600;
}
.device-toggle:hover {
  border-color: #9179c4;
  background: #f1ecfa;
}
.device-toggle[aria-pressed="true"] {
  color: white;
  background: #5944b8;
  border-color: #5944b8;
}
.device-toggle[aria-busy="true"] {
  border-style: dashed;
}
.device-toggle svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.device-toggle[aria-pressed="true"] .device-off-mark {
  display: none;
}
.record-health {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 16px 0 20px;
  color: #625b6e;
  font-size: 11px;
}
.record-health label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: inherit;
  font-weight: normal;
}
#record-level {
  width: 70px;
  height: 10px;
  accent-color: #5944b8;
}
.record-details {
  border-top: 1px solid #e6e0ec;
  padding: 12px 0;
}
.record-details summary {
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  min-height: 24px;
}
.record-details[open] summary {
  margin-bottom: 12px;
}
.record-details .settings-hint {
  font-size: 11px;
  color: #625b6e;
  line-height: 1.6;
  margin: 8px 0 14px;
}
.record-actions {
  position: sticky;
  bottom: -28px;
  margin: 10px -4px -4px;
  padding: 16px 4px 8px;
  background: white;
  border-top: 1px solid #e6e0ec;
  z-index: 1;
}
#record-status {
  font-size: 12px;
  line-height: 1.6;
}
@media (max-width: 620px) {
  .start-modes.meeting-start {
    flex-direction: column;
    align-items: stretch;
    padding: 22px;
    gap: 20px;
  }
  .start-modes.meeting-start > button {
    min-height: 48px;
  }
  .device-toolbar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  .device-toggle {
    min-width: 0;
    padding: 10px 4px;
    font-size: 10px;
    min-height: 72px;
  }
  .record-monitor video {
    min-height: 200px;
    height: min(27vh, 220px);
  }
  .record-empty {
    padding: 20px 14px;
  }
  .record-empty strong {
    font-size: 15px;
  }
  .record-empty p {
    font-size: 11px;
  }
  .record-health {
    font-size: 10px;
    gap: 8px;
  }
  .record-dialog .dialog-heading .eyebrow {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .record-actions {
    bottom: -20px;
  }
}

.start-modes.meeting-start > button {
  flex-direction: row;
}
.record-health {
  margin-top: 8px;
}
#record-status {
  margin: 12px 0 8px;
  color: #51485e;
}
.record-budget {
  margin: 8px 0 16px;
  color: #625b6e;
  font-size: 11px;
  line-height: 1.6;
}
.record-limits {
  background: #f1edf9;
  border: 1px solid #ded5ef;
  border-radius: 8px;
  padding: 12px 14px;
  color: #403354;
  font-size: 12px;
  line-height: 1.6;
}
.record-limits p {
  margin: 4px 0 0;
  font-size: 11px;
  color: #51405e;
}
.record-timing {
  display: grid;
  gap: 3px;
  margin-right: auto;
}
.record-timing small {
  color: #625b6e;
  font-size: 10px;
}
.record-dialog > .settings-hint {
  color: #625b6e;
  font-size: 11px;
  line-height: 1.6;
  margin: 6px 0 16px;
}
.record-budget.near-limit,
.recording-notice {
  color: #713709;
  background: #fff3db;
  border: 1px solid #e7c79b;
  border-radius: 8px;
  padding: 12px;
}
.recording-notice {
  font-size: 13px;
  line-height: 1.6;
}
#sound-wave {
  display: block;
  width: 100%;
  height: 120px;
  border-radius: 8px;
  touch-action: none;
  cursor: crosshair;
}
#sound-window {
  font-size: 12px;
}
.sound-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.sound-fields label:last-child {
  grid-column: 1 / -1;
}
.sound-fields input {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border: 1px solid #dcd5e7;
  border-radius: 6px;
  padding: 10px;
  min-height: 44px;
  font: inherit;
  color: #322b40;
  background: white;
}
#sound-form > p {
  font-size: 12px;
  line-height: 1.6;
}
@media (max-width: 480px) {
  #sound-form .dialog-actions {
    flex-wrap: wrap;
  }
}
