:root {
  --ink: #303033;
  --muted: #85837d;
  --line: #eeece6;
  --surface: #f6f5f2;
  --accent: #403b40;
  --soft: #faf9f7;
  --green: #61735d;
  --error: #9b4e43;
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  color: var(--ink);
  background: var(--surface);
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
  line-height: 1.6;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #9d9992;
  outline-offset: 3px;
}
a {
  color: inherit;
  text-decoration: none;
}
p {
  margin: 0 0 14px;
}
h1,
h2,
h3 {
  margin-top: 0;
}
h1 {
  font-size: 32px;
  font-weight: 550;
  letter-spacing: -1.15px;
  line-height: 1.3;
  margin: 12px 0 10px;
}
h2 {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
}
h3 {
  font-size: 13px;
  font-weight: 550;
  margin: 0 0 7px;
}
.muted {
  color: var(--muted);
  font-size: 12px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 550;
  letter-spacing: 1.5px;
  color: #938b80;
}
aside {
  position: fixed;
  inset: 0 auto 0 0;
  width: 215px;
  padding: 34px 14px 20px;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  margin-bottom: 43px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.9px;
}
.brand svg {
  width: 24px;
  height: 24px;
  color: #686359;
}
.nav {
  width: 100%;
  text-align: left;
  border: 0;
  background: none;
  padding: 10px 12px;
  border-radius: 7px;
  font-size: 13px;
  margin: 3px 0;
}
.nav:hover {
  background: #efede8;
}
.nav.active {
  background: #eae7e0;
  font-weight: 550;
}
.sidebar-bottom {
  margin-top: auto;
}
.sidebar-bottom p {
  padding: 0 12px;
  margin: 0 0 28px;
  color: #9c968d;
  font-size: 12px;
  line-height: 1.8;
}
.sidebar-bottom .nav {
  color: #77736e;
  font-size: 12px;
}
.version {
  display: block;
  font-size: 9px;
  letter-spacing: 1px;
  color: #b2aba0;
  padding: 17px 12px 0;
}
.workspace {
  margin: 16px 16px 16px 215px;
  min-height: calc(100dvh - 32px);
  background: #fff;
  border: 1px solid #ebe8e0;
  border-radius: 25px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
header {
  min-height: 75px;
  padding: 20px 38px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #8b857d;
  font-size: 12px;
}
.header-note {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
}
.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #91a18b;
}
main {
  width: 100%;
  max-width: 1200px;
  padding: 15px 48px 65px;
  margin: 0 auto;
  flex: 1;
}
.view {
  animation: enter 0.2s ease-out;
}
@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.upload-view {
  max-width: 740px;
  margin: 26px auto 0;
}
.page-heading {
  margin: 15px 0 32px;
}
.page-heading p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.8;
}
.upload-view .page-heading {
  text-align: center;
  margin: 0 0 35px;
}
.card {
  border: 1px solid #e9e5de;
  border-radius: 15px;
  background: white;
}
.upload-card {
  padding: 24px 26px 0;
}
.card-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.source-tabs {
  display: flex;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}
.source-tab {
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  padding: 0 0 12px;
  color: #9a9389;
  font-size: 12px;
}
.source-tab.active {
  border-color: #5c565a;
  color: var(--ink);
}
.dropzone {
  width: 100%;
  background: #faf9f6;
  border: 1px dashed #d9d3c9;
  border-radius: 10px;
  min-height: 195px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3px;
  transition:
    border-color 0.15s,
    background 0.15s;
}
.dropzone:hover,
.dropzone.drag {
  background: #f1efe9;
  border-color: #9e9586;
}
.dropzone svg {
  height: 27px;
  width: 27px;
  margin: 0 0 12px;
  color: #8b8173;
}
.dropzone strong {
  font-size: 13px;
  font-weight: 550;
}
.dropzone span {
  font-size: 12px;
  color: #918a80;
}
.dropzone small {
  font-size: 10px;
  color: #aaa295;
  margin-top: 13px;
}
.selected-file {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f4f5f0;
  border: 1px solid #e7eadf;
  border-radius: 9px;
  padding: 11px 13px;
  margin: 16px 0 0;
  min-width: 0;
}
.selected-file strong,
.selected-file span {
  display: block;
  overflow-wrap: anywhere;
}
.selected-file strong {
  font-size: 12px;
  font-weight: 550;
}
.selected-file span {
  font-size: 11px;
  color: var(--muted);
}
.icon-button {
  border: 0;
  background: none;
  font-size: 21px;
  line-height: 1;
  padding: 6px 8px;
  color: #a39a8d;
  border-radius: 5px;
}
.icon-button:hover {
  background: #f0ede7;
  color: #534b40;
}
.form-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 17px;
  margin: 24px 0 22px;
}
label {
  font-size: 12px;
  font-weight: 500;
}
label > input:not([type="checkbox"]),
label > select {
  display: block;
  width: 100%;
  margin-top: 7px;
}
input:not([type="checkbox"]),
select,
textarea {
  background: white;
  border: 1px solid #e4dfd6;
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  min-width: 0;
  max-width: 100%;
}
input::placeholder,
textarea::placeholder {
  color: #b0a99e;
}
select {
  cursor: pointer;
}
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-weight: 400;
  font-size: 11px;
  color: #938b80;
  line-height: 1.85;
}
.checkbox input {
  accent-color: #615b61;
  margin: 4px 0 0;
  flex: none;
  width: 14px;
  height: 14px;
}
.checkbox .text-button {
  font-size: 11px;
  display: inline;
  color: #6f665c;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 0;
  border-top: 1px solid var(--line);
  margin-top: 24px;
}
.primary,
.secondary,
.danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid #e3ded5;
  border-radius: 7px;
  padding: 10px 15px;
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
  background: #fff;
}
.primary {
  background: #403a40;
  color: #fff;
  border-color: #403a40;
}
.primary:hover:not(:disabled) {
  background: #595158;
}
.secondary:hover:not(:disabled) {
  background: #f6f4ef;
  border-color: #ccc5b8;
}
.danger {
  color: white;
  background: #9b5347;
  border-color: #9b5347;
}
.text-button {
  background: none;
  border: 0;
  padding: 0;
  color: #80766a;
  font-size: 12px;
  line-height: 1.6;
  text-align: left;
}
.text-button:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.danger-text {
  color: #a17b6f;
  font-size: 11px;
}
.below-card {
  text-align: center;
  font-size: 10px;
  color: #a69d90;
  margin: 18px 0 0;
}
.notice {
  padding: 15px 17px;
  border: 1px solid #e7e3d9;
  border-radius: 10px;
  background: #f8f7f2;
  margin-bottom: 18px;
  font-size: 12px;
}
.resume {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.resume strong,
.resume span {
  display: block;
}
.resume strong {
  font-weight: 550;
}
.resume span {
  font-size: 11px;
  color: var(--muted);
}
.inline-error {
  font-size: 12px;
  color: var(--error);
  background: #fcf5f2;
  border: 1px solid #f0dfd7;
  border-radius: 8px;
  padding: 11px 13px;
  margin: 16px 0 0;
  overflow-wrap: anywhere;
}
.inline-error a {
  text-decoration: underline;
}
.upload-progress {
  margin-top: 18px;
}
.upload-progress span {
  font-size: 11px;
  color: var(--muted);
}
progress {
  display: block;
  width: 100%;
  height: 4px;
  border: 0;
  background: #eeece6;
  border-radius: 10px;
  overflow: hidden;
  accent-color: #777b68;
}
progress::-webkit-progress-bar {
  background: #eeece6;
  border-radius: 10px;
}
progress::-webkit-progress-value {
  background: #777b68;
  border-radius: 10px;
}
progress::-moz-progress-bar {
  background: #777b68;
}
.record-preview {
  height: 200px;
  background: #f8f7f4;
  border-radius: 9px;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
}
.record-preview video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #252426;
}
.record-glyph {
  font-size: 31px;
  color: #8e8272;
}
.record-preview p {
  font-size: 13px;
  margin: 8px 0 3px;
}
.record-preview small {
  font-size: 11px;
  color: var(--muted);
}
.record-controls {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 14px 0;
}
.record-controls select {
  font-size: 11px;
  padding: 8px;
}
.record-controls button {
  font-size: 11px;
}
.record-controls #recordTimer {
  font-size: 11px;
  color: #a26e5d;
  font-variant-numeric: tabular-nums;
}
.record-controls ~ p {
  margin: 0;
  font-size: 10px;
}
.editor-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 12px 0 28px;
}
.save-indicator {
  font-size: 11px;
  color: #7d8a72;
  white-space: nowrap;
}
.save-indicator.unsaved {
  color: #a58a65;
}
.editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 27px;
  align-items: start;
}
.player-column {
  position: sticky;
  top: 25px;
}
.media-frame {
  position: relative;
  aspect-ratio: 4/3;
  background: #f0eeea;
  border: 1px solid #e8e4db;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.media-frame video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #29272a;
}
.media-frame.audio-only {
  aspect-ratio: auto;
  min-height: 180px;
  align-items: flex-end;
}
.media-frame.audio-only video {
  height: 54px;
  background: transparent;
}
.media-frame.audio-only .caption-overlay {
  bottom: 76px;
  color: var(--ink);
  text-shadow: none;
}
.caption-overlay {
  position: absolute;
  bottom: 21%;
  left: 7%;
  right: 7%;
  text-align: center;
  color: white;
  text-shadow:
    0 2px 6px #000,
    0 1px 2px #000;
  font-size: 19px;
  font-weight: 650;
  pointer-events: none;
  line-height: 1.4;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.transport {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 12px 0 20px;
}
.transport .secondary {
  padding: 6px 10px;
  font-size: 11px;
}
.transport label {
  font-size: 10px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
}
.transport select {
  display: inline;
  margin: 0;
  padding: 4px 6px;
  font-size: 11px;
  width: auto;
}
.timecode {
  margin-left: auto;
  font-size: 11px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.quiet-card {
  padding: 19px 20px;
  background: #faf9f6;
  border: 1px solid #eeebe4;
  border-radius: 11px;
  margin-bottom: 22px;
}
.quiet-card h3 {
  font-size: 12px;
}
.quiet-card p {
  font-size: 12px;
  color: #969084;
  line-height: 1.9;
  margin: 0 0 10px;
}
.quiet-card p:last-child {
  font-size: 11px;
  margin: 0;
}
.caption-card {
  overflow: hidden;
}
.caption-card > .card-title {
  padding: 19px 20px 0;
  margin-bottom: 14px;
}
.caption-toolbar {
  padding: 0 20px 16px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}
.caption-toolbar .secondary {
  padding: 7px 12px;
  font-size: 11px;
}
.caption-toolbar .text-button {
  font-size: 11px;
}
.caption-list {
  max-height: 530px;
  min-height: 280px;
  overflow-y: auto;
  scrollbar-width: thin;
}
.empty-captions {
  padding: 65px 20px;
  text-align: center;
  color: var(--muted);
}
.empty-captions > span {
  display: block;
  font-size: 25px;
  color: #b4aa9b;
  margin: 0 0 12px;
}
.empty-captions h3 {
  font-size: 13px;
  color: #776f64;
}
.empty-captions p {
  font-size: 11px;
  line-height: 1.9;
  margin: 0;
}
.caption-line {
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
  border-left: 2px solid transparent;
}
.caption-line.playing {
  background: #fbfaf7;
  border-left-color: #afa38e;
}
.caption-line.approved {
  background: #fbfcf9;
}
.line-top {
  display: flex;
  align-items: center;
  gap: 8px;
}
.line-number {
  padding: 0;
  background: none;
  border: 0;
  color: #8e8272;
  font-size: 10px;
  min-width: 34px;
  text-align: left;
  font-variant-numeric: tabular-nums;
}
.line-number span {
  padding-left: 3px;
}
.caption-times {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
}
.caption-times label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  color: #a89e90;
}
.caption-times input {
  display: inline;
  width: 77px;
  padding: 4px 5px;
  border-color: #eee9e1;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  margin: 0;
}
.caption-times > span {
  font-size: 9px;
  color: #bbb1a1;
}
.line-top .icon-button {
  font-size: 18px;
  padding: 4px;
}
.caption-line textarea {
  width: 100%;
  resize: vertical;
  min-height: 65px;
  border-color: #ebe6dd;
  line-height: 1.8;
  font-size: 12px;
  margin-top: 10px;
  padding: 9px 10px;
}
.line-bottom {
  display: flex;
  gap: 11px;
  align-items: center;
  margin-top: 6px;
}
.line-bottom .text-button {
  font-size: 9px;
  color: #a09483;
}
.approve {
  border: 1px solid #e0e3d9;
  background: #fff;
  border-radius: 6px;
  font-size: 10px;
  color: #8b8c7d;
  padding: 5px 9px;
  margin-left: auto;
  white-space: nowrap;
}
.approve.is-approved {
  background: #edf1e7;
  border-color: #e2e8d9;
  color: #738368;
}
.approve:hover {
  border-color: #9ba88e;
}
.review-progress {
  padding: 16px 20px 0;
}
.review-progress > div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 10px;
  color: var(--muted);
}
.review-progress .text-button {
  font-size: 10px;
}
.editor-footer {
  padding: 16px 20px;
  margin: 16px 0 0;
}
.editor-footer button {
  font-size: 11px;
}
.caption-card > .inline-error {
  margin: 12px 20px;
}
.done-view {
  max-width: 550px;
  text-align: center;
  margin: 85px auto 50px;
}
.complete-mark {
  border: 1px solid #dfe6d8;
  background: #f3f6ef;
  color: #8d9b7d;
  width: 49px;
  height: 49px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 23px;
  font-size: 22px;
}
.done-view h1 {
  font-size: 30px;
  margin-top: 17px;
}
.done-view > p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.9;
}
.receipt {
  border: 1px solid var(--line);
  background: #fcfbf9;
  border-radius: 12px;
  padding: 22px;
  margin: 28px 0;
  text-align: left;
}
.receipt span {
  font-size: 9px;
  letter-spacing: 1px;
  color: #a19788;
  display: block;
  margin-bottom: 7px;
}
.receipt strong {
  font-size: 13px;
  font-weight: 550;
  display: block;
  overflow-wrap: anywhere;
}
.receipt code {
  font-size: 10px;
  color: #a69b8b;
  overflow-wrap: anywhere;
}
.button-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.done-view .button-row {
  justify-content: center;
}
.login-card {
  padding: 25px;
  max-width: 410px;
  margin-top: 40px;
}
.login-card h2 {
  font-size: 19px;
  letter-spacing: -0.4px;
  margin-bottom: 8px;
}
.login-card p {
  font-size: 12px;
  margin-bottom: 20px;
}
.login-card label {
  display: block;
}
.login-card .primary {
  margin-top: 20px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 13px;
  margin-bottom: 27px;
}
.stats > div {
  padding: 20px 24px;
  border-right: 1px solid var(--line);
}
.stats > div:last-child {
  border: 0;
}
.stats strong {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.7px;
  display: block;
}
.stats span {
  font-size: 10px;
  color: #a09687;
}
.inbox-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 19px;
}
.inbox-controls .search {
  flex: 1;
}
.inbox-controls input {
  margin: 0;
  width: 100%;
  font-size: 12px;
}
.inbox-controls select {
  font-size: 11px;
  padding: 10px;
}
.inbox-controls > .secondary {
  font-size: 11px;
}
.inbox-controls > .text-button {
  font-size: 11px;
  margin-left: 3px;
}
.recording-list {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.recording-row {
  width: 100%;
  display: flex;
  gap: 17px;
  align-items: center;
  padding: 19px 20px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: white;
  text-align: left;
}
.recording-row:last-child {
  border: 0;
}
.recording-row:hover {
  background: #fcfbf8;
}
.recording-icon {
  width: 35px;
  height: 39px;
  border: 1px solid #e9e4da;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #9d907f;
  font-size: 22px;
}
.recording-info {
  flex: 1;
  min-width: 0;
}
.recording-info strong {
  display: block;
  font-size: 13px;
  font-weight: 550;
}
.recording-info small {
  display: block;
  font-size: 11px;
  color: #a09687;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recording-date {
  font-size: 10px;
  color: #a09687;
}
.badge {
  font-size: 9px;
  padding: 4px 8px;
  border: 1px solid #e9e3da;
  background: #f9f7f3;
  color: #a39683;
  border-radius: 5px;
}
.badge.verified {
  border-color: #e1e7da;
  background: #f4f7f0;
  color: #829174;
}
.row-arrow {
  font-size: 15px;
  color: #a49a8b;
}
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
}
.pagination button {
  font-size: 10px;
  padding: 7px 10px;
}
.pagination .muted {
  font-size: 10px;
}
.empty-inbox {
  text-align: center;
  padding: 75px 20px;
}
.empty-inbox h2 {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 8px;
}
.empty-inbox p {
  font-size: 12px;
  color: var(--muted);
}
#detailView > .text-button {
  margin: 10px 0 10px;
}
.admin-player {
  width: 100%;
  max-height: 400px;
  aspect-ratio: 4/3;
  background: #29272a;
  border-radius: 11px;
}
.admin-player.audio-only {
  height: 54px;
  aspect-ratio: auto;
  background: transparent;
}
#detailName,
.page-heading p {
  overflow-wrap: anywhere;
}
.export-buttons {
  margin: 15px 0 20px;
  gap: 7px;
}
.export-buttons a {
  font-size: 10px;
  padding: 8px 11px;
}
#detailView .card > .card-title {
  padding: 19px 21px;
  margin: 0;
  border-bottom: 1px solid var(--line);
}
.detail-captions {
  max-height: 540px;
  overflow: auto;
}
.detail-line {
  padding: 16px 21px;
  border-bottom: 1px solid var(--line);
}
.detail-line .text-button {
  font-size: 10px;
  color: #9f927f;
}
.small-status {
  float: right;
  font-size: 9px;
  color: #98a189;
}
.detail-line p {
  font-size: 13px;
  margin: 8px 0 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.activity {
  padding: 17px 21px;
  color: var(--muted);
  font-size: 11px;
}
.activity summary {
  cursor: pointer;
}
.activity p {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  margin: 15px 0;
  gap: 14px;
}
.activity p span {
  text-transform: capitalize;
}
.activity small {
  font-size: 9px;
  color: #b0a798;
  white-space: nowrap;
}
.empty-copy {
  padding: 24px;
  font-size: 12px;
  color: var(--muted);
}
footer {
  display: flex;
  justify-content: space-between;
  padding: 20px 38px;
  border-top: 1px solid #f4f1eb;
  color: #b0a79a;
  font-size: 10px;
}
footer span:first-child {
  color: #a69b8d;
}
dialog {
  border: 1px solid #e7e2da;
  border-radius: 16px;
  padding: 29px;
  width: min(470px, calc(100% - 32px));
  max-height: 85dvh;
  overflow: auto;
  color: var(--ink);
  box-shadow: 0 20px 100px #33253a20;
}
dialog::backdrop {
  background: #29242e35;
  backdrop-filter: blur(3px);
}
dialog h2 {
  font-size: 20px;
  letter-spacing: -0.5px;
  margin: 0 20px 18px 0;
}
dialog p {
  font-size: 13px;
  color: #8a837a;
  line-height: 1.9;
}
dialog h3 {
  font-size: 13px;
  margin-top: 23px;
}
.dialog-close {
  position: absolute;
  top: 11px;
  right: 14px;
  background: none;
  border: 0;
  color: #a29485;
  font-size: 23px;
}
#dialogActions {
  margin-top: 23px;
  justify-content: flex-end;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #403a40;
  color: white;
  padding: 13px 19px;
  font-size: 12px;
  border-radius: 9px;
  max-width: min(90vw, 550px);
  box-shadow: 0 5px 25px #29242e20;
  z-index: 50;
}
.sr-only {
  position: absolute;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
@media (min-width: 1600px) {
  main {
    max-width: 1320px;
  }
  .upload-view {
    margin-top: 60px;
  }
  .upload-card {
    padding: 29px 32px 0;
  }
  .dropzone {
    min-height: 225px;
  }
}
@media (max-width: 1150px) {
  aside {
    width: 185px;
  }
  .workspace {
    margin-left: 185px;
  }
  main {
    padding: 15px 30px 50px;
  }
  .editor-layout {
    gap: 18px;
  }
  .caption-line {
    padding: 15px 13px;
  }
  .caption-times label {
    font-size: 0;
    gap: 0;
  }
  .caption-times input {
    font-size: 10px;
    width: 70px;
  }
  .editor-heading h1 {
    font-size: 29px;
  }
  .header-note {
    font-size: 10px;
  }
  .editor-footer {
    padding: 15px 13px;
  }
}
@media (max-width: 850px) {
  .editor-layout {
    grid-template-columns: 1fr;
  }
  .player-column {
    position: static;
  }
  .media-frame {
    aspect-ratio: 16/9;
  }
  .quiet-card {
    display: none;
  }
  .player-column > .danger-text {
    margin-bottom: 10px;
  }
  .caption-list {
    max-height: 520px;
  }
  .caption-times label {
    font-size: 9px;
    gap: 5px;
  }
  .caption-times input {
    width: 77px;
  }
  .caption-line {
    padding: 15px 20px;
  }
  .recording-date {
    display: none;
  }
  .inbox-controls {
    flex-wrap: wrap;
  }
  .inbox-controls .search {
    flex-basis: 100%;
  }
  .save-indicator {
    font-size: 10px;
  }
  .editor-heading {
    align-items: flex-start;
  }
  .editor-heading p {
    overflow-wrap: anywhere;
  }
  .editor-heading h1 {
    font-size: 26px;
  }
}
@media (max-width: 600px) {
  aside {
    position: relative;
    width: 100%;
    padding: 19px 19px 10px;
    display: block;
  }
  .brand {
    margin: 0 0 16px;
    padding: 0;
    font-size: 21px;
  }
  .brand svg {
    width: 22px;
  }
  nav {
    display: flex;
    gap: 8px;
  }
  .nav {
    width: auto;
    font-size: 12px;
    padding: 8px 12px;
    margin: 0;
  }
  .sidebar-bottom {
    position: absolute;
    top: 21px;
    right: 18px;
  }
  .sidebar-bottom .nav {
    font-size: 11px;
    padding: 3px;
  }
  .sidebar-bottom p,
  .version {
    display: none;
  }
  .workspace {
    margin: 0 8px 8px;
    border-radius: 19px;
    min-height: calc(100dvh - 116px);
  }
  header {
    padding: 14px 19px;
    min-height: 53px;
    font-size: 10px;
  }
  .header-note {
    font-size: 9px;
  }
  main {
    padding: 15px 19px 40px;
  }
  .upload-view {
    margin: 17px auto 0;
  }
  .page-heading h1 {
    font-size: 26px;
    letter-spacing: -0.8px;
  }
  .upload-view .page-heading {
    margin-bottom: 26px;
  }
  .page-heading p {
    font-size: 12px;
  }
  .eyebrow {
    font-size: 9px;
  }
  .upload-card {
    padding: 20px 17px 0;
  }
  .dropzone {
    min-height: 183px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 21px;
  }
  .form-grid input,
  .form-grid select,
  .login-card input {
    font-size: 16px;
  }
  .consent {
    font-size: 10px;
  }
  .card-footer {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }
  .card-footer > .muted {
    text-align: center;
    font-size: 10px;
  }
  .card-footer > .primary {
    width: 100%;
  }
  .below-card {
    font-size: 9px;
    line-height: 1.8;
    padding: 0 10px;
  }
  .resume {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .editor-heading {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 17px;
  }
  .editor-heading h1 {
    font-size: 25px;
  }
  .editor-heading p {
    font-size: 11px;
  }
  .editor-layout {
    gap: 12px;
  }
  .editor-footer {
    flex-direction: row;
    gap: 10px;
  }
  .editor-footer button {
    font-size: 10px;
    padding: 10px 12px;
  }
  .editor-footer .primary {
    width: auto;
    flex: 1;
  }
  .caption-line {
    padding: 15px 12px;
  }
  .caption-times label {
    font-size: 0;
    gap: 0;
  }
  .caption-times input {
    font-size: 12px;
    width: 80px;
  }
  .caption-line textarea {
    font-size: 16px;
  }
  .caption-list {
    max-height: none;
  }
  .caption-toolbar {
    gap: 17px;
  }
  .caption-card > .card-title,
  .caption-toolbar {
    padding-left: 15px;
    padding-right: 15px;
  }
  .line-bottom .text-button {
    font-size: 10px;
  }
  .approve {
    font-size: 10px;
    padding: 7px 10px;
  }
  .done-view {
    margin: 50px auto 35px;
  }
  .done-view h1 {
    font-size: 26px;
  }
  .done-view .button-row {
    flex-direction: column;
    align-items: stretch;
  }
  .receipt {
    padding: 18px;
  }
  .stats > div {
    padding: 15px 13px;
  }
  .stats strong {
    font-size: 22px;
  }
  .stats span {
    font-size: 9px;
  }
  .inbox-controls {
    gap: 9px;
  }
  .inbox-controls .text-button {
    margin-left: auto;
  }
  .recording-row {
    padding: 15px 12px;
    gap: 10px;
  }
  .recording-icon {
    width: 29px;
    height: 34px;
    flex: none;
  }
  .recording-info strong {
    font-size: 12px;
  }
  .recording-info small {
    font-size: 10px;
    max-width: 150px;
  }
  .recording-row .badge {
    font-size: 8px;
    padding: 3px 5px;
  }
  .row-arrow {
    display: none;
  }
  .pagination .muted {
    font-size: 9px;
  }
  .pagination {
    gap: 7px;
  }
  .pagination button {
    font-size: 9px;
  }
  .login-card {
    padding: 22px;
    margin-top: 25px;
  }
  .caption-overlay {
    font-size: 17px;
  }
  footer {
    padding: 16px 19px;
    font-size: 9px;
  }
  footer span:last-child {
    font-size: 8px;
  }
  .record-controls {
    flex-wrap: wrap;
  }
  .record-preview small {
    font-size: 10px;
  }
  .record-controls #recordTimer {
    margin-left: auto;
  }
  .activity p {
    flex-direction: column;
    gap: 2px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.upload-card > .card-footer {
  justify-content: flex-end;
}
.editor-instruction {
  color: var(--muted);
  font-size: 12px;
  margin: 0 0 20px;
}
.language-field {
  position: relative;
  min-width: 0;
}
.language-field > label {
  display: block;
}
.language-control {
  display: flex;
  margin-top: 7px;
  border: 1px solid #e4dfd6;
  border-radius: 8px;
  background: white;
}
.language-control input {
  width: 100%;
  flex: 1;
  border: 0;
  padding-right: 0;
}
.language-control button {
  flex: none;
  width: 34px;
  border: 0;
  border-radius: 0 8px 8px 0;
  background: none;
  color: #8b8173;
  font-size: 17px;
}
.language-options {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  z-index: 20;
  max-height: 240px;
  overflow-y: auto;
  background: white;
  border: 1px solid #e4dfd6;
  border-radius: 9px;
  padding: 5px;
  box-shadow: 0 8px 25px #33253a15;
  font-size: 12px;
  font-weight: 400;
  overscroll-behavior: contain;
}
.language-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px;
  border-radius: 5px;
  cursor: pointer;
}
.language-option:hover,
.language-option.active {
  background: #f1efe9;
}
.language-option[aria-selected="true"] {
  color: #61735d;
}
.language-option small {
  color: #aaa093;
  font-size: 9px;
}
.language-empty {
  padding: 10px 8px;
  color: var(--muted);
  font-size: 11px;
}
.language-field.opens-up .language-options {
  top: auto;
  bottom: calc(100% - 16px);
}
@media (max-width: 600px) {
  .language-control input {
    font-size: 16px;
  }
}
.access-code-field {
  display: block;
  margin: 0 0 20px;
}
#totpField {
  margin-top: 16px;
}
.selected-file > div {
  flex: 1;
  min-width: 0;
}
.selected-file #localDownload {
  flex: none;
  font-size: 10px;
  margin-left: 12px;
  white-space: nowrap;
}
#dialogBody ol {
  padding-left: 19px;
  color: #8a837a;
  font-size: 13px;
  line-height: 1.9;
}
.language-menu {
  position: absolute;
  top: calc(100% + 5px);
  right: 0;
  width: max(100%, 260px);
  max-width: calc(100vw - 48px);
  z-index: 20;
  border: 1px solid #e4dfd6;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 25px #33253a15;
  overflow: hidden;
}
.language-search-bar {
  padding: 9px;
  border-bottom: 1px solid var(--line);
}
.language-search-bar input {
  width: 100%;
  display: block;
  margin: 0;
  border: 1px solid #e9e4db;
  background: #faf9f6;
  border-radius: 6px;
  font-size: 12px;
  padding: 9px 10px;
}
.language-options {
  position: relative;
  top: auto;
  bottom: auto;
  left: auto;
  right: auto;
  width: 100%;
  height: 240px;
  max-height: 40vh;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  contain: layout paint style;
}
.language-field.opens-up .language-options {
  top: auto;
  bottom: auto;
}
.language-field.opens-up .language-menu {
  top: auto;
  bottom: calc(100% - 16px);
}
.language-spacer {
  width: 1px;
  pointer-events: none;
}
.language-window {
  position: absolute;
  top: 0;
  left: 5px;
  right: 5px;
  will-change: transform;
}
.language-option {
  height: 36px;
  min-height: 36px;
  padding: 7px 9px;
}
.language-option span {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.language-option small {
  flex: none;
}
@media (max-width: 600px) {
  .language-search-bar input {
    font-size: 16px;
  }
}

.commercial-consent {
  margin-top: 12px;
}
