.tc-public-surface {
  min-height: calc(100vh - 72px);
  background:
    linear-gradient(rgba(15, 118, 110, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 118, 110, 0.05) 1px, transparent 1px),
    radial-gradient(circle at top left, rgba(20, 184, 166, 0.14), transparent 30%),
    radial-gradient(circle at bottom right, rgba(245, 158, 11, 0.10), transparent 28%),
    #f7fbfa;
  background-size: 32px 32px, 32px 32px, auto, auto, auto;
  color: #0f172a;
}

.tc-public-container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.tc-auth-shell {
  padding: 24px 0 48px;
}

.tc-auth-grid {
  display: grid;
  gap: 20px;
  align-items: center;
}

.tc-auth-form-panel,
.tc-auth-visual-panel,
.tc-legal-document {
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 52px rgba(15, 23, 42, 0.10);
}

.tc-auth-form-panel {
  order: 1;
  border-radius: 24px;
  padding: 20px;
}

.tc-auth-visual-panel {
  order: 2;
  border-radius: 24px;
  padding: 18px;
}

.tc-auth-kicker,
.tc-legal-kicker {
  margin: 0 0 8px;
  color: #0f766e;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tc-auth-title,
.tc-legal-title {
  margin: 0;
  color: #0f172a;
  font-size: clamp(1.7rem, 9vw, 2.45rem);
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 900;
}

.tc-auth-copy,
.tc-legal-subtitle {
  margin: 10px 0 0;
  color: #475569;
  font-size: 16px;
  line-height: 1.65;
}

.tc-auth-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.tc-auth-field {
  display: grid;
  gap: 6px;
}

.tc-auth-label {
  color: #1e293b;
  font-size: 14px;
  font-weight: 800;
}

.tc-auth-label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.tc-auth-hint {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.45;
}

.tc-auth-input-wrap {
  position: relative;
}

.tc-auth-input {
  width: 100%;
  height: 48px;
  min-height: 48px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  border-radius: 14px;
  background: #ffffff;
  color: #0f172a;
  box-sizing: border-box;
  font-size: 16px;
  line-height: 1.3;
  padding: 11px 12px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.tc-auth-input-with-action {
  padding-right: 84px;
}

.tc-auth-input::placeholder {
  color: #94a3b8;
}

.tc-auth-input:focus {
  border-color: #0f766e;
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.16);
}

.tc-auth-row-2 {
  display: grid;
  gap: 14px;
  align-items: start;
}

.tc-auth-check {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  color: #475569;
  font-size: 14px;
  line-height: 1.5;
}

.tc-auth-check input {
  width: 22px;
  height: 22px;
  margin-top: 0;
  accent-color: #0f766e;
  flex: 0 0 auto;
}

.tc-auth-between {
  display: grid;
  gap: 10px;
}

.tc-auth-link,
.tc-legal-link,
.tc-auth-footer a,
.auth-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #0f766e;
  font-weight: 900;
  text-decoration: none;
}

.tc-auth-link:hover,
.tc-legal-link:hover,
.tc-auth-footer a:hover {
  text-decoration: underline;
}

.tc-auth-alert {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  border-radius: 16px;
  border: 1px solid rgba(220, 38, 38, 0.26);
  background: #fff1f2;
  color: #991b1b;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.5;
}

.tc-auth-alert strong {
  color: #7f1d1d;
}

.tc-auth-alert-success {
  border-color: rgba(15, 118, 110, 0.24);
  background: #ecfdf5;
  color: #065f46;
}

.tc-auth-alert-success strong {
  color: #064e3b;
}

.tc-auth-inline-error {
  display: none;
  color: #b91c1c;
  font-size: 14px;
  line-height: 1.45;
}

.tc-auth-button {
  width: 100%;
  justify-content: center;
  min-height: 48px;
  border-radius: 14px;
  font-size: 15px;
}

.tc-auth-footer {
  margin-top: 16px;
  color: #475569;
  font-size: 14px;
  text-align: center;
}

.tc-password-tools {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
}

.tc-password-button {
  min-height: 44px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 999px;
  background: #f8fafc;
  color: #0f172a;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  padding: 6px 12px;
}

.tc-caps-warning {
  display: none;
  border-radius: 14px;
  border: 1px solid rgba(245, 158, 11, 0.34);
  background: #fffbeb;
  color: #92400e;
  font-size: 14px;
  line-height: 1.45;
  padding: 10px 12px;
}

.tc-mini-agenda {
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 20px;
  background:
    linear-gradient(rgba(15, 23, 42, 0.055) 1px, transparent 1px),
    #ffffff;
  background-size: 100% 48px;
}

.tc-mini-agenda-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid rgba(15, 23, 42, 0.10);
  padding: 14px;
}

.tc-mini-agenda-head strong {
  color: #0f172a;
  font-size: 15px;
}

.tc-mini-agenda-head span {
  color: #0f766e;
  font-size: 13px;
  font-weight: 900;
}

.tc-mini-agenda-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  padding: 10px 14px;
}

.tc-mini-agenda-time {
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
  padding-top: 8px;
}

.tc-mini-agenda-card {
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 14px;
  background: #f8fafc;
  padding: 10px 12px;
}

.tc-mini-agenda-card strong,
.tc-benefit-item strong {
  display: block;
  color: #0f172a;
  font-size: 14px;
}

.tc-mini-agenda-card small {
  display: block;
  margin-top: 2px;
  color: #64748b;
  font-size: 13px;
}

.tc-mini-agenda-card.confirmed {
  border-color: rgba(15, 118, 110, 0.24);
  background: #ecfdf5;
}

.tc-mini-agenda-card.new {
  border-color: rgba(245, 158, 11, 0.34);
  background: #fffbeb;
}

.tc-mini-agenda-card.open {
  border-style: dashed;
  border-color: rgba(15, 118, 110, 0.36);
  color: #0f766e;
}

.tc-benefit-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.tc-benefit-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 16px;
  background: #ffffff;
  padding: 12px;
}

.tc-benefit-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #ccfbf1;
  color: #0f766e;
  font-weight: 900;
  flex: 0 0 auto;
}

.tc-benefit-item p {
  margin: 2px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.45;
}

.tc-trial-card {
  margin-top: 14px;
  border: 1px solid rgba(245, 158, 11, 0.26);
  border-radius: 18px;
  background: #fffbeb;
  color: #92400e;
  padding: 14px;
  font-size: 14px;
  line-height: 1.55;
}

.tc-trial-card strong {
  display: block;
  color: #78350f;
  margin-bottom: 4px;
}

.tc-legal-page {
  padding: 28px 0 56px;
}

.tc-legal-document {
  border-radius: 24px;
  padding: 22px;
}

.tc-legal-meta {
  margin: 12px 0 0;
  color: #64748b;
  font-size: 14px;
}

.tc-legal-body {
  display: grid;
  gap: 18px;
  margin-top: 24px;
  color: #334155;
  font-size: 16px;
  line-height: 1.72;
}

.tc-legal-body p {
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.tc-legal-body strong {
  color: #0f172a;
}

.tc-legal-back {
  margin-top: 24px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid #facc15;
  outline-offset: 3px;
}

@media (min-width: 760px) {
  .tc-auth-shell {
    padding: 42px 0 72px;
  }

  .tc-auth-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1fr);
    gap: 28px;
  }

  .tc-auth-grid-register {
    grid-template-columns: minmax(390px, 1fr) minmax(0, 0.9fr);
  }

  .tc-auth-visual-panel {
    order: 1;
    padding: 22px;
  }

  .tc-auth-form-panel {
    order: 2;
    padding: 26px;
  }

  .tc-auth-grid-register .tc-auth-form-panel {
    order: 1;
  }

  .tc-auth-grid-register .tc-auth-visual-panel {
    order: 2;
  }

  .tc-auth-row-2 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .tc-auth-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .tc-legal-document {
    padding: 34px;
  }
}

@media (min-width: 1100px) {
  .tc-auth-grid {
    gap: 42px;
  }
}

@media (max-width: 420px) {
  .tc-public-container {
    width: min(100% - 32px, 1120px);
  }

  .tc-auth-form-panel,
  .tc-auth-visual-panel,
  .tc-legal-document {
    border-radius: 20px;
  }

  .tc-auth-form-panel {
    padding: 18px 16px;
  }

  .tc-auth-visual-panel {
    padding: 16px;
  }

  .tc-mini-agenda-row {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 8px;
    padding-inline: 12px;
  }
}

@media print {
  .nav,
  .footer,
  .tc-legal-back {
    display: none !important;
  }

  .tc-public-surface {
    background: #ffffff !important;
    color: #000000;
  }

  .tc-public-container {
    width: 100%;
  }

  .tc-legal-document {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .tc-legal-body {
    color: #000000;
    font-size: 11pt;
    line-height: 1.5;
  }
}
