.transcriber-page {
  margin: 0;
  min-height: 100vh;
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  color: #1a2e33;
  background:
    radial-gradient(circle at top right, rgba(245, 200, 103, 0.35), transparent 28%),
    linear-gradient(180deg, #f7f3eb 0%, #fffcef 100%);
}

.transcriber-page h1,
.transcriber-page h2 {
  font-family: Outfit, "Segoe UI", sans-serif;
}

.tr-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 760px;
  margin: 0 auto;
  padding: 22px 20px 0;
}

.tr-back,
.tr-note a {
  color: #0d4d5b;
  font-weight: 700;
}

.tr-brand {
  margin: 0;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #0d4d5b;
}

.tr-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 20px 64px;
}

.tr-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
}

.tr-kicker {
  margin: 16px 0 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #3c6e77;
}

.tr-main h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.05;
}

.tr-lead,
.tr-note,
.tr-points {
  font-size: 1.05rem;
  line-height: 1.55;
}

.tr-points {
  padding-left: 1.2rem;
}

.tr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  background: #0d4d5b;
  color: #fffcef;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
}

.tr-btn--ghost {
  background: transparent;
  color: #0d4d5b;
  border: 1px solid rgba(13, 77, 91, 0.25);
}

.tr-note {
  max-width: 38rem;
}

.tr-dialog {
  padding: 0;
  border: 0;
  width: min(480px, calc(100vw - 28px));
  background: transparent;
}

.tr-dialog:not([open]) {
  display: none;
}

.tr-dialog::backdrop {
  background: rgba(13, 30, 36, 0.62);
}

.tr-panel {
  position: relative;
  padding: 24px 22px 20px;
  border-radius: 20px;
  background: #fffcef;
  color: #1a2e33;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.tr-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: rgba(13, 77, 91, 0.08);
  font-size: 1.4rem;
  cursor: pointer;
}

.tr-panel h2 {
  margin: 0 28px 10px 0;
}

.tr-panel label {
  display: block;
  margin-bottom: 6px;
  font-weight: 800;
}

.tr-panel input {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(13, 77, 91, 0.25);
  border-radius: 12px;
  font: inherit;
}

.tr-error {
  margin: 0 0 10px;
  color: #b91c1c;
  font-weight: 700;
}

.tr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.tr-file {
  font-weight: 800;
  color: #0d4d5b;
}

.tr-panel ol {
  padding-left: 1.2rem;
  line-height: 1.5;
}

.tr-section {
  margin-top: 28px;
}

.tr-section h2 {
  margin: 0 0 8px;
  font-size: 1.45rem;
}

.tr-faq details {
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.tr-faq summary {
  font-weight: 800;
  cursor: pointer;
}

.tr-faq p {
  margin: 8px 0 0;
}
