.tc-app {
  min-height: 100vh;
  background:
    radial-gradient(circle at 85% -10%, rgba(88, 213, 217, 0.055), transparent 32rem),
    var(--tc-bg);
}

.tc-shell {
  min-height: 100vh;
}

.tc-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--tc-header-height);
  border-bottom: 1px solid var(--tc-line);
  background: rgba(17, 21, 28, 0.92);
  backdrop-filter: blur(14px);
}

.tc-header__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  width: min(calc(100% - 40px), var(--tc-content-max));
  height: 100%;
  margin-inline: auto;
  gap: var(--tc-space-8);
}

.tc-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.025em;
}

.tc-brand__mark {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(88, 213, 217, 0.26);
  border-radius: 9px;
  background: var(--tc-accent-subtle);
  color: var(--tc-accent);
}

.tc-desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--tc-space-1);
}

.tc-desktop-nav a {
  min-height: 36px;
  padding: 8px 12px;
  border-radius: var(--tc-radius-md);
  color: var(--tc-text-muted);
  font-size: 14px;
  font-weight: 520;
  transition:
    color var(--tc-transition-fast),
    background var(--tc-transition-fast);
}

.tc-desktop-nav a:hover,
.tc-desktop-nav a[aria-current="page"] {
  background: var(--tc-surface-subtle);
  color: var(--tc-text);
}

.tc-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--tc-space-2);
  min-width: max-content;
}

.tc-content {
  width: min(calc(100% - 40px), var(--tc-content-max));
  margin-inline: auto;
  padding-block: 42px 72px;
}

.tc-page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--tc-space-8);
  margin-bottom: var(--tc-space-10);
}

.tc-page-header__copy {
  min-width: 0;
  max-width: 760px;
}

.tc-page-header__eyebrow {
  margin-bottom: var(--tc-space-2);
  color: var(--tc-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.tc-page-header h1 {
  margin-bottom: var(--tc-space-3);
  font-size: clamp(36px, 3vw, 46px);
  font-weight: 690;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.tc-page-header p {
  margin-bottom: 0;
  color: var(--tc-text-muted);
  font-size: 15px;
}

.tc-page-header__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: var(--tc-space-3);
}

.tc-grid {
  display: grid;
  gap: var(--tc-space-6);
}

.tc-grid--transcription {
  grid-template-columns: minmax(0, 1.75fr) minmax(300px, 0.9fr);
  align-items: start;
}

.tc-grid--detail {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  align-items: start;
}

.tc-stack {
  display: flex;
  flex-direction: column;
  gap: var(--tc-space-6);
}

.tc-section {
  min-width: 0;
}

.tc-section + .tc-section {
  margin-top: var(--tc-space-12);
}

.tc-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--tc-space-5);
  margin-bottom: var(--tc-space-5);
}

.tc-section__header h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 640;
  letter-spacing: -0.02em;
}

.tc-mobile-nav {
  display: none;
}

.tc-auth-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: var(--tc-space-8);
}

.tc-auth {
  width: min(100%, 440px);
}

.tc-auth__brand {
  display: flex;
  justify-content: center;
  margin-bottom: var(--tc-space-8);
}

.tc-auth__panel {
  padding: 28px;
  border: 1px solid var(--tc-line);
  border-radius: var(--tc-radius-xl);
  background: var(--tc-surface);
  box-shadow: var(--tc-shadow-raised);
}

.tc-auth__panel h1 {
  margin-bottom: var(--tc-space-2);
  font-size: 28px;
  letter-spacing: -0.03em;
}

.tc-auth__intro {
  margin-bottom: var(--tc-space-6);
  color: var(--tc-text-muted);
}
