:root {
  --ink: #202441;
  --muted: #626579;
  --purple: #7061d8;
  --line: #e8e6f0;
  --surface: #fff;
  --radius: 20px;
  color-scheme: light;
  font-family: Inter,\"Segoe UI\",Arial,sans-serif;
  color: var(--ink);
  background: #f8f8fc;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  background:
    radial-gradient(ellipse 650px 470px at 12% 280px, #ece9fd90, transparent),
    radial-gradient(ellipse 650px 500px at 90% 360px, #ffecdf70, transparent),
    #f8f8fc;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #a99bef;
  outline-offset: 4px;
}
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #ab9eea;
  outline-offset: 1px;
}
input,
textarea,
select {
  color: var(--ink);
  background: white;
  border: 1px solid #dcdce8;
  border-radius: 10px;
  padding: 11px 13px;
  max-width: 100%;
}
input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--purple);
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  padding: 0;
}
input[type="number"] {
  width: 67px;
  padding: 5px 8px;
}
textarea {
  width: 100%;
  resize: vertical;
  min-height: 86px;
}
fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}
legend {
  font-size: 12px;
  color: var(--muted);
  padding: 0;
  margin-bottom: 12px;
  font-weight: 600;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 42px;
  line-height: 1.15;
  letter-spacing: -1.8px;
  font-weight: 650;
}
h2 {
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.5px;
  font-weight: 650;
  margin: 0;
}
h3 {
  font-size: 17px;
  font-weight: 600;
}
p {
  margin-bottom: 16px;
}
small {
  font-size: 12px;
}
strong {
  font-weight: 600;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.topbar {
  height: 88px;
  padding: 0 max(32px, calc((100vw - 1320px) / 2));
  display: flex;
  align-items: center;
  gap: 52px;
  background: #ffffffdf;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 29px;
  font-weight: 750;
  letter-spacing: -1px;
  white-space: nowrap;
}
.brand-mark {
  display: flex;
  align-items: center;
  gap: 3px;
  width: 29px;
  height: 32px;
  transform: rotate(8deg);
}
.brand-mark i {
  width: 4px;
  border-radius: 5px;
  background: var(--purple);
  height: 15px;
}
.brand-mark i:nth-child(2) {
  height: 29px;
  background: #8d78e5;
}
.brand-mark i:nth-child(3) {
  height: 23px;
  background: #b88ed4;
}
.brand-mark i:nth-child(4) {
  height: 12px;
  background: #efa37f;
}
.brand-sub {
  margin-left: 12px;
  padding-left: 22px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0;
  font-weight: 400;
}
.main-nav {
  display: flex;
  gap: 30px;
  align-self: stretch;
  font-size: 13px;
}
.main-nav a {
  display: flex;
  align-items: center;
  color: var(--muted);
  position: relative;
}
.main-nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}
.main-nav a[aria-current="page"]:after {
  content: "";
  height: 3px;
  background: var(--purple);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: 3px 3px 0 0;
}
.account {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 25px;
}
.profile-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
}
.profile-link small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
}
.avatar {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  background: #ebe6fa;
  color: #7d62bd;
}
.text-button {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 6px 0;
  font-size: 12px;
}
.text-button:hover {
  color: var(--purple);
}
main {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  min-height: calc(100vh - 184px);
  padding: 0 0 70px;
}
.hero {
  text-align: center;
  padding: 54px 0 29px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.7px;
  color: #65627a;
  margin-bottom: 13px;
}
.hero .eyebrow {
  letter-spacing: 1.5px;
  margin-bottom: 21px;
}
.spark {
  color: #9b80ce;
  font-size: 15px;
  margin-right: 6px;
}
.hero h1 {
  font-size: 52px;
  letter-spacing: -2.1px;
  line-height: 1.14;
  margin-bottom: 20px;
}
.gradient-text {
  background: linear-gradient(110deg, #8273df 12%, #b380b7 55%, #e5a37d 93%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-description {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0;
}
.composer-shell {
  max-width: 900px;
  margin: 0 auto;
  padding: 1px;
  border-radius: 22px;
  background: linear-gradient(110deg, #baa7e7, #e2cae5 55%, #efc8b0);
  box-shadow: 0 18px 52px #55437312, 0 2px 7px #38304506;
}
.composer {
  background: #fff;
  border-radius: 21px;
  padding: 25px 28px 22px;
}
.composer-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid #ede8f4;
}
.composer-heading h2 {
  font-size: 17px;
  letter-spacing: -0.3px;
}
.composer-heading .section-icon {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  flex-shrink: 0;
  border-radius: 10px;
  background: #f2edfc;
  color: #7657bd;
}
.composer-heading .section-icon svg,
.upload-icon svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.section-icon {
  color: #9a89d5;
  font-size: 22px;
  line-height: 1;
}
.private-label {
  margin-left: auto;
  font-size: 10px;
  color: var(--muted);
}
.file-zone {
  border: 1px dashed #b9a8de;
  border-radius: 16px;
  padding: 25px 22px;
  min-height: 124px;
  display: flex;
  align-items: center;
  gap: 18px;
  position: relative;
  cursor: pointer;
  background: linear-gradient(115deg, #f5f1fe, #fbf9ff 58%, #fff6f0);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.file-zone:hover,
.file-zone.dragging {
  border-color: #8662ce;
  background: linear-gradient(115deg, #eee7fc, #f8f4ff 58%, #fff1e7);
  box-shadow: 0 0 0 3px #8563d50c;
}
.file-zone:focus-within {
  outline: 2px solid #a99bef;
}
.file-zone input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.upload-icon {
  font-size: 27px;
  display: grid;
  place-items: center;
  background: #fff9;
  color: #7655bd;
  width: 52px;
  height: 52px;
  border: 1px solid #e4daf5;
  border-radius: 15px;
  box-shadow: 0 3px 8px #6b4eab09;
  flex-shrink: 0;
}
.file-copy {
  min-width: 0;
}
.file-copy strong {
  display: block;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.file-copy strong span {
  font-weight: 400;
  color: var(--muted);
}
.file-copy small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 5px;
}
.choose-file {
  white-space: nowrap;
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
  color: #6645a6;
  border-radius: 10px;
  border: 1px solid #d9ccec;
  padding: 10px 16px;
  background: #fff;
  box-shadow: 0 2px 4px #60458308;
}
.mode-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin-top: 21px;
}
.mode-card {
  padding: 13px;
  display: flex;
  gap: 11px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  cursor: pointer;
}
.mode-card:has(input:checked) {
  border-color: #b8a9e4;
  background: #f7f4fe;
}
.mode-card strong {
  display: block;
  font-size: 12px;
  margin-bottom: 2px;
}
.mode-card small {
  display: block;
  font-size: 10px;
  color: var(--muted);
}
.mode-symbol {
  margin-left: auto;
  color: #a593d2;
  font-size: 22px;
}
.speaker-fields {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
  font-size: 11px;
  color: var(--muted);
}
.speaker-fields input {
  font-size: 11px;
  background: #fcfcff;
  width: 54px;
}
.prompt-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0 8px;
  font-size: 12px;
  font-weight: 600;
}
.prompt-label span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
}
.composer textarea {
  min-height: 73px;
  border-color: #e9e6ef;
  font-size: 12px;
  padding: 13px;
  line-height: 1.6;
  background: #fff;
}
.composer textarea::placeholder {
  color: var(--muted);
}
.prompt-presets {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 9px;
}
.prompt-presets button {
  padding: 5px 10px;
  border: 1px solid #ece8f3;
  border-radius: 20px;
  font-size: 10px;
  background: #faf9fd;
  color: #665185;
}
.prompt-presets button:hover {
  background: #f0ebfc;
}
.composer-actions {
  margin-top: 22px;
  padding-top: 17px;
  border-top: 1px solid #f1eef5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.result-delivery-options {
  flex: 0 1 320px;
  min-width: 0;
}
.result-delivery-options legend {
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--ink);
}
.result-delivery-channels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.result-delivery-channels .checkbox {
  min-height: 28px;
  font-size: 13px;
}
.checkbox {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
}
.checkbox input {
  width: 15px;
  height: 15px;
}
.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border-radius: 10px;
  padding: 12px 20px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  border: 1px solid transparent;
  text-decoration: none;
}
.primary {
  background: #7462cf;
  color: white;
  box-shadow: 0 4px 9px #6c50a51a;
}
.primary:hover {
  background: #6550c0;
}
.composer-actions .primary {
  min-height: 46px;
  background: linear-gradient(110deg, #694fc2, #7958ca);
  box-shadow: 0 5px 12px #6445b224;
}
.composer-actions .primary:hover {
  background: linear-gradient(110deg, #5e43b8, #6f4ec0);
}
.primary span {
  font-size: 19px;
  line-height: 15px;
}
.secondary {
  background: white;
  border-color: #e2deec;
  color: #66617d;
}
.secondary:hover {
  background: #f3f0fb;
  border-color: #cbc1e5;
}
.compact {
  padding: 8px 13px;
  font-size: 11px;
}
.full {
  width: 100%;
}
.error {
  font-size: 12px;
  color: #b23a59;
}
.error:empty {
  display: none;
}
.composer .error {
  margin: 12px 0 0;
}
progress {
  width: 100%;
  height: 7px;
  accent-color: var(--purple);
  margin-top: 20px;
}
.progress-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}
.progress-caption p {
  margin: 8px 0;
}
.workflow-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  margin: 21px 0 52px;
  font-size: 10px;
  color: var(--muted);
}
.workflow-strip b {
  font-weight: 500;
  color: #b6a3d0;
  margin-right: 6px;
}
.workflow-strip i {
  font-style: normal;
  color: #c4bdcf;
}
.panel.resume-panel {
  margin-bottom: 28px;
  padding: clamp(18px, 3vw, 30px);
  border-color: #b8a5ed;
}
.resume-panel form {
  display: grid;
  gap: 16px;
  max-width: 720px;
}
.resume-panel input[type="file"] {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line, #ded8ee);
  border-radius: 10px;
  background: white;
}
.resume-panel button.primary {
  justify-self: start;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.history-section {
  max-width: 1080px;
  margin: auto;
}
.period-filter {
  padding: 20px 24px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}
.period-filter-heading {
  display: grid;
  gap: 5px;
  margin-bottom: 16px;
}
.period-filter-fields {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 16px;
}
.period-filter-fields label {
  display: grid;
  gap: 7px;
  min-width: 180px;
  font-size: 13px;
}
.period-filter-fields .text-button {
  align-self: center;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.section-heading .eyebrow {
  font-size: 9px;
  margin-bottom: 5px;
}
.section-heading h2 {
  font-size: 25px;
}
.count-chip {
  display: inline-grid;
  place-items: center;
  margin-left: 12px;
  border: 1px solid #e4dfed;
  background: #f1edf8;
  border-radius: 20px;
  height: 24px;
  min-width: 25px;
  font-size: 11px;
  font-weight: 500;
  vertical-align: middle;
  color: #8e7da9;
}
.notice {
  padding: 15px 18px;
  background: #f8f4ec;
  border: 1px solid #eee2ce;
  color: #8a7353;
  border-radius: 12px;
  font-size: 12px;
  margin-bottom: 16px;
}
.integration-notice {
  display: flex;
  align-items: center;
  gap: 13px;
  background: #faf8f3;
  border-color: #eee9dd;
}
.notice-icon {
  border: 1px solid #c8bba6;
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 13px;
  flex-shrink: 0;
}
.integration-notice p {
  margin: 0;
}
.integration-notice strong {
  display: block;
  font-size: 11px;
}
.integration-notice p span {
  font-size: 10px;
  display: block;
  margin-top: 3px;
}
.integration-notice details {
  margin-left: auto;
  min-width: 100px;
  max-width: 330px;
  font-size: 10px;
}
.integration-notice details p {
  margin-top: 10px;
}
.record-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  transition: 0.15s;
}
.record-row:hover {
  background: #faf9fd;
}
.record-row + .record-row {
  border-top: 1px solid var(--line);
}
.record-row:first-child {
  border-radius: 20px 20px 0 0;
}
.record-row:last-child {
  border-radius: 0 0 20px 20px;
}
.record-icon {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  background: #f0ecf9;
  color: #a08cc7;
  border-radius: 12px;
  font-size: 25px;
  flex-shrink: 0;
}
.record-info {
  flex: 1;
  min-width: 0;
}
.record-info strong {
  display: block;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.record-info > span {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}
.badge {
  font-size: 10px;
  font-weight: 500;
  padding: 6px 11px;
  border-radius: 20px;
  background: #f2eff8;
  color: #665185;
  max-width: 250px;
  text-align: center;
}
.badge.waiting,
.badge.retry {
  background: #faf3e4;
  color: #795c27;
}
.badge.done,
.status-pill.active {
  background: #eaf7ef;
  color: #2f7050;
}
.badge.failed {
  background: #fdebf0;
  color: #b2526d;
}
.badge.running {
  background: #edeafb;
  color: #5c4892;
}
.arrow {
  font-size: 19px;
  color: #b2a6c7;
  margin-left: 8px;
}
.empty-state {
  text-align: center;
  padding: 50px 25px;
}
.empty-symbol {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: #f3effa;
  color: #a996ce;
  font-size: 31px;
  margin-bottom: 20px;
}
.empty-state h3 {
  font-size: 16px;
  margin-bottom: 8px;
}
.empty-state p {
  font-size: 12px;
  margin: 0;
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  font-size: 12px;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 12px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: center;
  margin: 45px 0 28px;
}
.page-heading h1 {
  margin-bottom: 10px;
  font-size: 38px;
}
.page-heading p {
  margin-bottom: 0;
}
.page-heading .eyebrow {
  margin-bottom: 12px;
}
.back {
  display: inline-block;
  margin-top: 32px;
  font-size: 12px;
  color: #9282ad;
}
.back + .page-heading {
  margin-top: 20px;
}
.record-title {
  overflow-wrap: anywhere;
}
.record-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 23px;
  align-items: start;
}
.record-sidebar {
  display: grid;
  gap: 20px;
}
.player-panel,
.processing-panel {
  padding: 23px;
}
.section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.section-label h2,
.processing-panel h2,
.result-heading h2 {
  font-size: 17px;
}
video,
audio {
  width: 100%;
  display: block;
}
video {
  background: #161a2b;
  border-radius: 12px;
  aspect-ratio: 16/9;
}
audio {
  height: 44px;
}
.audio-art {
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  background: linear-gradient(120deg, #f3effc, #f9f2ef);
  border-radius: 12px;
  margin-bottom: 16px;
}
.audio-art span {
  width: 5px;
  height: 32px;
  border-radius: 6px;
  background: #aa91d3;
}
.audio-art span:nth-child(3n) {
  height: 60px;
  background: #c49fcc;
}
.audio-art span:nth-child(2n) {
  height: 43px;
}
.audio-art span:nth-child(4n) {
  height: 23px;
  background: #dfa9b8;
}
.source-download {
  display: block;
  color: #9783b5;
  font-size: 11px;
  margin-top: 17px;
}
.local-preview {
  margin-top: 15px;
  padding: 15px;
  background: #faf9fe;
  border-radius: 12px;
}
.local-preview video {
  max-height: 250px;
}
.local-preview p {
  margin-bottom: 10px;
}
.stage-list {
  list-style: none;
  margin: 24px 0;
  padding: 0;
}
.stage-list li {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-top: 23px;
  color: #a5a0af;
  position: relative;
}
.stage-list li + li:before {
  content: "";
  position: absolute;
  left: 14px;
  top: -24px;
  height: 24px;
  border-left: 1px solid #ebe7f1;
}
.stage-list li > span {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border: 1px solid #ebe7f1;
  border-radius: 50%;
  font-size: 11px;
  flex-shrink: 0;
}
.stage-list strong {
  display: block;
  font-size: 12px;
}
.stage-list small {
  display: block;
  font-size: 10px;
  font-weight: 400;
  margin-top: 3px;
}
.stage-list .complete {
  color: #739a85;
}
.stage-list .complete > span {
  background: #e9f4ed;
  border-color: #e9f4ed;
}
.stage-list .current {
  color: #8d76b2;
}
.stage-list .current > span {
  background: #f1ecfb;
  border-color: #e5dcf6;
}
.results-notice {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 30;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  max-width: min(440px, calc(100vw - 48px));
  padding: 18px 22px;
  background: white;
  border: 1px solid #b8a5ed;
  border-radius: 16px;
  box-shadow: 0 8px 30px #51407826;
}
.results-notice[hidden] {
  display: none;
}
.results-notice strong, .results-notice a {
  display: block;
}
.results-notice a {
  margin-top: 6px;
}
.results-notice button {
  border: 0;
  padding: 0 4px;
  background: transparent;
  color: #776b93;
  font-size: 24px;
  line-height: 1;
}
.result-panel {
  padding: 27px;
  min-height: 420px;
}
.result-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 22px;
  border-bottom: 1px solid #eeeaf2;
  margin-bottom: 24px;
}
.download-actions {
  display: flex;
  gap: 7px;
}
.transcript {
  font: 14px/1.95 \"Segoe UI\",Arial,sans-serif;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #68657b;
  margin: 18px 0 0;
}
.transcript-section summary {
  font-size: 14px;
  font-weight: 600;
  color: #8e75b5;
}
.notification-state {
  margin-top: 30px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
#retranscription-controls {
  margin-bottom: 26px;
}
#retranscription-controls button[type="submit"] {
  margin-top: 16px;
}
summary {
  cursor: pointer;
}
footer {
  max-width: 1320px;
  margin: auto;
  padding: 25px 32px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: var(--muted);
}
.footer-brand {
  font-size: 18px;
  font-weight: 700;
  color: #9690a6;
  letter-spacing: -0.5px;
}
.footer-note {
  margin-left: auto;
}
.recording-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}
.recording-tools .secondary { text-align: center; }
.login-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 85px;
  align-items: center;
  max-width: 1050px;
  margin: 95px auto;
}
.login-layout h1 {
  font-size: 47px;
  line-height: 1.17;
}
.login-layout .lead {
  color: var(--muted);
  font-size: 16px;
  max-width: 430px;
}
.login-panel {
  padding: 36px;
}
.login-panel h2 {
  font-size: 28px;
  margin-bottom: 14px;
}
.login-panel form label {
  display: block;
  font-size: 12px;
  margin: 16px 0 7px;
}
.login-panel input:not([type="hidden"]) {
  width: 100%;
}
.login-panel button {
  margin: 23px 0 15px;
}
.login-panel > .small {
  margin-bottom: 0;
}
.steps {
  display: grid;
  gap: 14px;
  margin-top: 40px;
  color: #9c8fb2;
  font-size: 12px;
}
@media (min-width: 1600px) {
  .hero {
    padding-top: 65px;
  }
  .hero h1 {
    font-size: 56px;
  }
  .composer-shell {
    max-width: 940px;
  }
  .composer {
    padding: 28px 32px;
  }
  .workflow-strip {
    margin-bottom: 62px;
  }
}
@media (max-width: 1100px) {
  .topbar {
    gap: 28px;
    padding: 0 28px;
  }
  .brand-sub {
    display: none;
  }
  .record-layout {
    grid-template-columns: 300px minmax(0, 1fr);
  }
  .hero h1 {
    font-size: 47px;
  }
}
@media (max-width: 760px) {
  .topbar {
    height: auto;
    min-height: 78px;
    flex-wrap: wrap;
    padding: 17px 22px 0;
    gap: 16px;
  }
  .brand {
    font-size: 26px;
  }
  .account {
    gap: 13px;
  }
  .avatar {
    display: none;
  }
  .main-nav {
    order: 3;
    flex-basis: 100%;
    height: 38px;
    gap: 28px;
  }
  .profile-link small {
    font-size: 9px;
  }
  .profile-link {
    font-size: 11px;
  }
  main {
    width: calc(100% - 32px);
    padding-bottom: 45px;
  }
  .hero {
    padding: 35px 0 25px;
  }
  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .hero h1 {
    font-size: 34px;
    letter-spacing: -1.5px;
  }
  .hero-description {
    font-size: 12px;
  }
  .hero-description br {
    display: none;
  }
  .composer {
    padding: 20px;
  }
  .composer-heading h2 {
    font-size: 16px;
  }
  .private-label {
    display: none;
  }
  .file-zone {
    padding: 18px 15px;
    min-height: 120px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .file-copy {
    flex: 1;
  }
  .file-copy strong {
    font-size: 13px;
  }
  .file-copy strong span {
    display: block;
  }
  .file-copy small {
    font-size: 11px;
  }
  .choose-file {
    display: none;
  }
  .mode-options {
    grid-template-columns: 1fr;
    gap: 9px;
  }
  .mode-card {
    padding: 12px;
  }
  .mode-card small {
    font-size: 10px;
  }
  .speaker-fields {
    margin-top: 13px;
  }
  .composer-actions {
    flex-wrap: wrap;
  }
  .composer-actions .primary {
    width: 100%;
    font-size: 12px;
  }
  .prompt-presets {
    gap: 5px;
  }
  .prompt-presets button {
    font-size: 9px;
    padding: 5px 8px;
  }
  .workflow-strip {
    gap: 10px;
    align-items: flex-start;
    margin: 20px 0 38px;
    font-size: 9px;
  }
  .workflow-strip b {
    display: block;
    margin: 0 0 3px;
  }
  .workflow-strip i {
    margin-top: 12px;
  }
  .section-heading h2 {
    font-size: 23px;
  }
  .integration-notice {
    flex-wrap: wrap;
    gap: 10px;
  }
  .integration-notice p {
    flex: 1;
  }
  .integration-notice details {
    flex-basis: 100%;
    max-width: none;
    margin-left: 30px;
  }
  .record-row {
    flex-wrap: wrap;
    gap: 12px;
    padding: 17px;
  }
  .record-info {
    flex-basis: calc(100% - 60px);
  }
  .record-info > span {
    font-size: 9px;
  }
  .record-row .badge {
    margin-left: 55px;
  }
  .record-row .arrow {
    margin-left: auto;
  }
  .record-layout {
    grid-template-columns: 1fr;
  }
  .record-sidebar {
    grid-template-columns: 1fr;
  }
  .page-heading {
    margin-top: 30px;
    flex-wrap: wrap;
    gap: 12px;
  }
  .page-heading h1 {
    font-size: 30px;
    letter-spacing: -1px;
  }
  .page-heading .muted {
    font-size: 12px;
  }
  .player-panel,
  .processing-panel,
  .result-panel {
    padding: 21px;
  }
  .result-heading {
    flex-wrap: wrap;
    gap: 15px;
  }
  .transcript {
    font-size: 13px;
  }
  .back {
    margin-top: 25px;
  }
  .login-layout {
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 40px auto;
  }
  .login-layout h1 {
    font-size: 36px;
  }
  .login-panel {
    padding: 26px;
  }
  .steps {
    display: none;
  }
  footer {
    padding: 22px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .footer-note {
    margin-left: 0;
    flex-basis: 100%;
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
