:root {
  --primary: #d61620;
  --primary-hover: #b81019;
  --brand: #ed1c24;
  --ink: #0d1215;
  --text: #20272c;
  --muted: #5b666d;
  --line: #dce1e2;
  --paper: #f5f6f4;
  --white: #fff;
  --success: #286047;
  --danger: #ae222e;
  --radius: 6px;
  --focus: #355f91;
  --font: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 15px/1.55 var(--font);
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
a {
  color: inherit;
}
button,
input,
select,
textarea {
  border-radius: var(--radius);
}
button {
  transition:
    background-color 0.15s,
    color 0.15s,
    border-color 0.15s;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[contenteditable]:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
.icon-definitions {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
h1,
h2,
p {
  margin: 0;
}
h1 {
  font-size: 30px;
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
}
h2 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}
p {
  max-width: 72ch;
}
input,
select,
textarea {
  border: 1px solid #c6cdcf;
  background: var(--white);
  color: var(--text);
  padding: 10px 12px;
  min-height: 44px;
  width: 100%;
}
input::placeholder,
textarea::placeholder {
  color: var(--muted);
}
textarea {
  resize: vertical;
}
label {
  font-size: 14px;
  font-weight: 550;
  display: block;
}
label > input,
label > select {
  margin-top: 7px;
}
select {
  cursor: pointer;
  padding-right: 28px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}
.primary {
  color: white;
  background: var(--primary);
}
.primary:hover {
  background: var(--primary-hover);
}
.primary:active {
  background: #990d16;
}
.secondary {
  background: white;
  border-color: #cbd2d4;
  color: var(--text);
}
.secondary:hover {
  background: #edf0ef;
  border-color: #aab4b8;
}
.text-button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  padding: 10px 4px;
  min-height: 40px;
  text-decoration: none;
}
.text-button:hover {
  color: var(--text);
  text-decoration: underline;
}
.danger {
  color: var(--danger);
}
.small-button {
  min-height: 40px;
  padding: 8px 12px;
  font-size: 13px;
}
.full {
  width: 100%;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 0;
  color: inherit;
}
.icon-button:hover {
  background: #ffffff12;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 13px;
}
.section-label {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 12px;
}
.error {
  color: var(--danger);
  background: #fff0f1;
  padding: 12px 16px;
  font-size: 14px;
  border-radius: var(--radius);
  margin-top: 14px;
}
.error-panel {
  padding: 20px;
  background: #fff0f1;
  color: var(--danger);
  margin: 24px 0;
  border-radius: var(--radius);
}
.error-panel .button {
  margin-top: 12px;
}
.mobile-only {
  display: none;
}
.auth-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 42% 58%;
}
.auth-brand {
  background: var(--ink);
  color: white;
  padding: 48px 52px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
}
.auth-brand > img {
  width: 180px;
  height: auto;
}
.auth-category {
  font-size: 13px;
  color: #adb6ba;
  display: block;
  margin-bottom: 24px;
}
.auth-intro h1 {
  font-size: 44px;
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 600;
}
.auth-intro p {
  color: #bfc7cb;
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.8;
}
.brand-foot {
  font-size: 12px;
  color: #a7b0b5;
}
.auth-content {
  display: grid;
  place-items: center;
  padding: 48px 32px;
  background: #fff;
}
.auth-form {
  width: 100%;
  max-width: 360px;
}
.auth-form h2 {
  font-size: 28px;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}
.auth-form > .muted {
  margin-bottom: 32px;
}
.auth-form > label {
  margin: 20px 0 8px;
}
.password-field {
  position: relative;
}
.password-field input {
  padding-right: 86px;
}
.password-field button {
  position: absolute;
  right: 8px;
  top: 4px;
  height: 38px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  padding: 6px;
}
.auth-form .primary {
  margin-top: 28px;
  justify-content: space-between;
}
.auth-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  margin-top: 24px;
}
.auth-note .icon {
  width: 15px;
  height: 15px;
}
.connection-screen {
  max-width: 520px;
  margin: 15vh auto;
  padding: 32px;
}
.connection-screen h1 {
  margin: 40px 0 16px;
}
.connection-screen p {
  margin-bottom: 24px;
}
.app-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  background: var(--ink);
  color: #e5e9eb;
  display: flex;
  flex-direction: column;
  padding: 30px 20px 0;
}
.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  text-decoration: none;
  margin: 0 12px 30px;
}
.brand img {
  width: 140px;
  height: auto;
}
.brand span {
  font-size: 12px;
  color: #b1bbc0;
}
.sidebar-new {
  background: #f5f6f4;
  color: var(--ink);
  width: 100%;
  padding: 11px 10px;
  font-size: 13px;
  gap: 8px;
}
.sidebar-new:hover {
  background: white;
}
.history-heading {
  margin: 30px 12px 12px;
  font-size: 12px;
  color: #acb6bc;
  display: flex;
  justify-content: space-between;
}
.history {
  flex: 1;
  overflow-y: auto;
  min-height: 120px;
  margin: 0 -8px;
  padding: 0 8px 16px;
}
.history-empty {
  font-size: 13px;
  line-height: 1.8;
  color: #a2adb3;
  padding: 10px 12px;
}
.history-item {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  color: #e4e9eb;
  background: transparent;
  padding: 12px;
  margin-bottom: 4px;
  border-radius: 4px;
}
.history-item:hover {
  background: #ffffff0c;
}
.history-item.active {
  background: #ffffff13;
}
.history-item strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.history-item small {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #aab5bb;
  margin-top: 4px;
}
.history-indicator {
  width: 5px;
  height: 5px;
  background: #aab5bb;
  border-radius: 50%;
}
.history-indicator.running,
.history-indicator.queued {
  background: #f0b56e;
}
.history-indicator.error {
  padding: 0;
  margin: 0;
  background: #f18b91;
}
.history-indicator.done {
  background: #91b5a2;
}
.sidebar-bottom {
  margin-top: auto;
}
.privacy {
  display: flex;
  gap: 10px;
  padding: 20px 10px;
  border-top: 1px solid #ffffff16;
  font-size: 12px;
  align-items: center;
  color: #c0c9ce;
}
.privacy .icon {
  width: 17px;
  height: 17px;
  color: #aab5bb;
}
.privacy small {
  font-size: 11px;
  color: #9faab0;
}
.account {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #ffffff16;
  padding: 12px 0;
}
.account > span {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  font-size: 13px;
}
.avatar {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  background: #30383d;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}
#account-name {
  overflow: hidden;
  text-overflow: ellipsis;
}
.workspace {
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.topbar {
  height: 76px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 44px;
  gap: 20px;
  font-size: 13px;
  background: var(--white);
  color: var(--muted);
}
.topbar > div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.engine-state {
  font-size: 12px;
}
.status-dot {
  height: 6px;
  width: 6px;
  background: #708079;
  border-radius: 50%;
  flex-shrink: 0;
}
.engine-state.verified .status-dot {
  background: var(--success);
}
main {
  padding: 48px 44px 64px;
  width: 100%;
  max-width: 1128px;
  margin: 0 auto;
  flex: 1;
}
.workspace-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
  padding: 20px 44px;
}
.page-heading > p {
  color: var(--muted);
  margin-top: 14px;
  font-size: 14px;
}
.dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 330px;
  margin-top: 36px;
  padding: 40px 24px;
  border: 1px dashed #aab5b9;
  background: var(--white);
  border-radius: 8px;
  text-align: center;
  transition:
    background-color 0.15s,
    border-color 0.15s;
}
.dropzone.dragover {
  background: #fff4f4;
  border-color: var(--primary);
}
.upload-symbol {
  color: var(--text);
  margin-bottom: 18px;
}
.upload-symbol .icon {
  width: 32px;
  height: 32px;
  stroke-width: 1.4;
}
.dropzone h2 {
  font-size: 20px;
}
.dropzone > p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}
.dropzone .button {
  margin-top: 24px;
}
.format-hint {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 22px;
}
.upload-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 24px 2px;
  font-size: 13px;
}
.upload-note > .icon {
  margin-top: 2px;
  color: var(--muted);
  width: 18px;
  height: 18px;
}
.upload-note strong {
  font-weight: 550;
}
.language-note {
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 22px;
  font-size: 13px;
  color: var(--muted);
}
.upload-progress {
  padding: 20px 0 0;
}
.upload-progress > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
}
progress {
  display: block;
  width: 100%;
  height: 5px;
  border: 0;
  border-radius: 5px;
  overflow: hidden;
  accent-color: var(--primary);
  background: #e2e6e7;
}
progress::-webkit-progress-bar {
  background: #e2e6e7;
}
progress::-webkit-progress-value {
  background: var(--primary);
}
progress::-moz-progress-bar {
  background: var(--primary);
}
.back-button {
  margin: -12px 0 18px;
}
.file-heading {
  display: flex;
  gap: 16px;
  align-items: center;
}
.file-symbol {
  display: grid;
  place-items: center;
  width: 44px;
  height: 52px;
  background: #e9eceb;
  border-radius: 4px;
  flex-shrink: 0;
}
.file-heading h1 {
  font-size: 22px;
  line-height: 1.35;
}
.file-heading p {
  font-size: 13px;
  margin-top: 4px;
}
.player-area {
  margin: 28px 0 32px;
}
audio {
  width: 100%;
  height: 42px;
  display: block;
}
.player-area p {
  margin-top: 10px;
}
.range-section {
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.range-section > .muted {
  margin-top: 6px;
}
.timeline {
  height: 44px;
  position: relative;
  margin-top: 22px;
}
.timeline-rail {
  position: absolute;
  top: 17px;
  left: 8px;
  right: 8px;
  height: 10px;
  background: #dfe4e3;
  border-radius: 3px;
  overflow: hidden;
}
.selected-range {
  position: absolute;
  height: 100%;
  background: var(--primary);
  left: 0;
  right: 0;
}
.timeline input {
  position: absolute;
  inset: 0;
  min-height: 44px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  appearance: none;
  -webkit-appearance: none;
  pointer-events: none;
  width: 100%;
  border-radius: 0;
}
.timeline input::-webkit-slider-runnable-track {
  height: 44px;
  background: transparent;
}
.timeline input::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  pointer-events: auto;
  height: 30px;
  width: 14px;
  border-radius: 3px;
  background: white;
  border: 2px solid var(--primary);
  margin-top: 7px;
  cursor: ew-resize;
}
.timeline input::-moz-range-track {
  height: 10px;
  background: transparent;
}
.timeline input::-moz-range-thumb {
  pointer-events: auto;
  height: 26px;
  width: 10px;
  border-radius: 3px;
  background: white;
  border: 2px solid var(--primary);
  cursor: ew-resize;
}
.timeline input:focus-visible {
  outline: none;
}
.timeline input:focus-visible::-webkit-slider-thumb {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.timeline-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.range-controls {
  display: flex;
  align-items: end;
  gap: 16px;
  margin-top: 24px;
}
.range-controls label {
  width: 148px;
  color: var(--muted);
  font-size: 12px;
}
.range-controls input {
  font-variant-numeric: tabular-nums;
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
}
.range-divider {
  padding-bottom: 10px;
  color: var(--muted);
}
.range-summary {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-left: auto;
  padding-bottom: 8px;
  text-align: right;
}
.range-summary strong {
  font-size: 17px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.range-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 22px;
  align-items: center;
}
.preview-player {
  margin-top: 16px;
}
.options-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 28px;
}
.option-help {
  margin-top: 10px;
}
.extra-options {
  margin-top: 24px;
}
.extra-options summary {
  cursor: pointer;
  font-size: 13px;
  color: var(--muted);
  padding: 8px 0;
}
.extra-options label {
  margin: 8px 0;
}
.extra-options textarea {
  font-size: 14px;
}
.start-row {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-top: 28px;
}
.start-row > .button {
  min-width: 200px;
}
.start-row p {
  font-size: 12px;
}
.result-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.result-heading h1 {
  font-size: 24px;
  line-height: 1.35;
}
.result-heading p {
  font-size: 12px;
  margin-top: 10px;
}
.result-heading .button {
  flex-shrink: 0;
  font-size: 12px;
}
.result-heading .section-label {
  margin-bottom: 8px;
}
.job-progress {
  padding: 22px 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 28px;
}
.progress-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  gap: 16px;
  margin-bottom: 15px;
}
.progress-heading > span:last-child {
  font-variant-numeric: tabular-nums;
}
.progress-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}
.result-toolbar {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 24px 0 20px;
}
.toolbar-group {
  display: flex;
  gap: 10px;
  align-items: center;
}
.toolbar-group select {
  font-size: 12px;
  min-height: 40px;
  padding: 8px;
  max-width: 190px;
}
.transcript {
  margin-top: 28px;
  max-width: 900px;
  min-height: 100px;
}
.transcript-row {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  align-items: start;
  gap: 20px;
  padding: 10px 0;
}
.timecode {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  line-height: 2;
  font-variant-numeric: tabular-nums;
  padding: 5px 4px;
  text-align: left;
  white-space: nowrap;
}
.timecode:hover {
  color: var(--primary);
  background: #fbe7e8;
}
.segment-text {
  font-size: 17px;
  line-height: 1.85;
  font-weight: 400;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  unicode-bidi: plaintext;
  min-height: 38px;
  padding: 2px 6px;
  border-radius: 4px;
}
.segment-text[contenteditable="true"] {
  background: white;
  outline: 1px solid #c9d1d3;
}
.transcript-empty {
  padding: 30px 0;
  color: var(--muted);
  font-size: 14px;
}
.result-footer {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  margin-top: 32px;
  padding-top: 18px;
}
.result-footer p {
  padding-top: 10px;
  font-size: 12px;
}
.result-footer .text-button {
  white-space: nowrap;
  font-size: 12px;
}
#more-segments {
  margin-top: 20px;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  background: #20272c;
  color: white;
  padding: 12px 22px;
  border-radius: 6px;
  box-shadow: 0 6px 18px #0d121530;
  font-size: 13px;
  max-width: 90vw;
  text-align: center;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 8px;
  max-width: 440px;
  padding: 28px;
  color: var(--text);
}
dialog::backdrop {
  background: #0d12155c;
}
dialog p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 12px;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}
@media (min-width: 1450px) {
  main {
    padding-top: 64px;
  }
  .dropzone {
    min-height: 360px;
  }
}
@media (max-width: 1100px) {
  .app-layout {
    grid-template-columns: 220px minmax(0, 1fr);
  }
  .sidebar {
    padding-left: 14px;
    padding-right: 14px;
  }
  .topbar {
    padding: 0 28px;
  }
  main {
    padding: 36px 28px 48px;
  }
  .workspace-footer {
    padding: 18px 28px;
  }
  .range-actions {
    gap: 4px 12px;
  }
  .result-heading {
    flex-direction: column;
    gap: 14px;
  }
  .auth-brand {
    padding: 36px;
  }
  .auth-intro h1 {
    font-size: 36px;
  }
  .options-row {
    gap: 16px;
  }
}
@media (max-width: 760px) {
  .app-layout {
    display: block;
  }
  .sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 260px;
    z-index: 30;
    transform: translateX(-100%);
    visibility: hidden;
  }
  .sidebar.open {
    transform: translateX(0);
    visibility: visible;
  }
  .sidebar-scrim {
    position: fixed;
    inset: 0;
    background: #0d121560;
    border: 0;
    border-radius: 0;
    z-index: 20;
    width: 100%;
    height: 100%;
  }
  .mobile-only {
    display: inline-flex;
  }
  .topbar {
    height: 64px;
    padding: 0 16px;
    gap: 8px;
  }
  .topbar .icon-button:hover {
    background: #e7eae8;
  }
  .topbar > div:first-child {
    gap: 8px;
    font-size: 12px;
  }
  .engine-state {
    font-size: 11px;
    max-width: 42%;
  }
  .engine-state > span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  main {
    padding: 30px 20px 40px;
  }
  h1 {
    font-size: 26px;
  }
  .dropzone {
    min-height: 290px;
    margin-top: 28px;
    padding: 28px 16px;
  }
  .dropzone h2 {
    font-size: 18px;
  }
  .page-heading > p {
    font-size: 13px;
  }
  .workspace-footer {
    padding: 18px 20px;
    font-size: 10px;
    align-items: flex-start;
  }
  .workspace-footer span:last-child {
    text-align: right;
    max-width: 160px;
  }
  .range-controls {
    gap: 10px;
    flex-wrap: wrap;
  }
  .range-controls label {
    width: calc(50% - 16px);
  }
  .range-summary {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    margin: 8px 0 0;
    padding-bottom: 0;
  }
  .range-summary strong {
    font-size: 15px;
  }
  .section-top h2 {
    font-size: 16px;
  }
  .section-top .text-button {
    white-space: nowrap;
  }
  .range-actions > .text-button {
    font-size: 12px;
  }
  .options-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .start-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .start-row p {
    font-size: 12px;
  }
  .file-heading h1 {
    font-size: 19px;
  }
  .file-symbol {
    width: 36px;
    height: 44px;
  }
  .result-heading h1 {
    font-size: 22px;
  }
  .progress-footer {
    align-items: flex-start;
  }
  .progress-footer span {
    font-size: 11px;
    padding-top: 10px;
  }
  .progress-footer button {
    white-space: nowrap;
  }
  .job-progress {
    padding: 18px;
  }
  .transcript-row {
    grid-template-columns: 65px minmax(0, 1fr);
    gap: 10px;
  }
  .segment-text {
    font-size: 16px;
    padding-left: 0;
    padding-right: 0;
  }
  .timecode {
    font-size: 11px;
  }
  .result-footer {
    flex-direction: column;
    gap: 4px;
  }
  .result-toolbar {
    gap: 16px;
  }
  .toolbar-group {
    flex-wrap: wrap;
  }
  .auth-layout {
    display: flex;
    flex-direction: column;
  }
  .auth-brand {
    min-height: auto;
    padding: 24px;
  }
  .auth-brand > img {
    width: 120px;
  }
  .auth-intro,
  .brand-foot {
    display: none;
  }
  .auth-content {
    flex: 1;
    padding: 44px 28px;
    align-items: start;
  }
  .auth-form h2 {
    font-size: 26px;
  }
  .language-note {
    gap: 10px 18px;
  }
  .format-hint {
    font-size: 10px;
  }
  .upload-note {
    font-size: 12px;
    gap: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.account-settings {
  border: 0;
  background: transparent;
  color: inherit;
  padding: 6px 0;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}
.account-settings:hover {
  text-decoration: underline;
}
#password-form > label,
#user-form > label {
  margin: 18px 0 7px;
}
#password-form h2,
#user-form h2 {
  margin-bottom: 8px;
}
