body[data-site-style="cinematic"] {
  --account-bg: #060a12;
  --account-surface: rgba(16, 22, 40, 0.68);
  --account-solid: #0f1525;
  --account-line: rgba(100, 160, 255, 0.14);
  --account-ink: #e8ecf4;
  --account-muted: #7a8498;
  --account-accent: #00d4ff;
  --account-success: #00e676;
  --account-danger: #ffb4b4;
}

.account-hero {
  width: min(900px, calc(100% - 48px));
  margin: 0 auto;
  padding: 100px 0 42px;
  text-align: center;
}

.account-copy {
  max-width: 760px;
  margin: 0 auto;
}

.account-copy h1 {
  margin: 0;
  color: var(--account-ink);
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.08;
}

.account-copy p:not(.eyebrow) {
  max-width: 590px;
  margin: 18px auto 0;
  color: var(--account-muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.65;
}

.account-section {
  padding: 38px 0 82px;
}

.account-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 4vw, 42px);
  width: min(720px, calc(100% - 28px));
  margin: 0 auto;
  align-items: start;
}

.account-panel {
  border: 1px solid var(--account-line);
  border-radius: 24px;
  background: var(--account-surface);
  color: var(--account-ink);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
}

.account-panel {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 4vw, 30px);
}

.account-panel__heading {
  display: grid;
  gap: 8px;
}

.account-panel__heading h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.login-choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.choice-card {
  position: relative;
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--account-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.choice-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.choice-card:has(input:checked) {
  border-color: rgba(0, 212, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.choice-dot {
  width: 24px;
  height: 24px;
  border: 1px solid var(--account-line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.choice-card:has(input:checked) .choice-dot {
  border-color: var(--account-accent);
  background: radial-gradient(circle, var(--account-accent) 0 42%, transparent 45%), rgba(0, 212, 255, 0.08);
}

.choice-card strong {
  font-size: 1.05rem;
}

.verification-box,
.otp-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.verification-box[hidden],
.otp-box[hidden] {
  display: none;
}

.otp-destination,
.otp-timer,
.account-link-button {
  grid-column: 1 / -1;
}

.otp-destination {
  margin: 0;
  color: var(--account-muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.account-link-button {
  justify-self: start;
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--account-accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.account-panel label {
  display: grid;
  gap: 7px;
  color: var(--account-ink);
  font-weight: 800;
}

.account-panel input,
.account-panel select {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid var(--account-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--account-ink);
  font: inherit;
}

.account-panel select {
  appearance: none;
}

.account-panel input[data-state="error"] {
  border-color: #ff8a8a;
  box-shadow: 0 0 0 3px rgba(255, 82, 82, 0.15);
}

.account-secondary-button {
  min-height: 48px;
  padding-inline: 16px;
  border: 1px solid rgba(0, 212, 255, 0.25);
  background: rgba(0, 212, 255, 0.08);
  color: var(--account-ink);
}

.otp-timer {
  grid-column: 1 / -1;
  min-height: 18px;
  margin: 0;
  color: var(--account-muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.account-status {
  min-height: 20px;
  margin: 0;
  color: var(--account-muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.account-status[data-state="error"],
.field-error {
  color: var(--account-danger);
}

.account-status[data-state="success"] {
  color: #98f5bf;
}

.field-error {
  font-size: 0.84rem;
  line-height: 1.35;
}

.account-create-button {
  width: 100%;
}

.account-create-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.nav-action {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.dashboard-hero {
  padding-bottom: 24px;
}

.dashboard-shell {
  display: grid;
  gap: 14px;
  width: min(980px, calc(100% - 28px));
  margin: 0 auto;
}

.dashboard-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.dashboard-tab {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--account-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--account-muted);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.dashboard-tab.is-active {
  border-color: rgba(0, 212, 255, 0.42);
  background: rgba(0, 212, 255, 0.1);
  color: var(--account-ink);
}

.dashboard-panel {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 4vw, 30px);
  border: 1px solid var(--account-line);
  border-radius: 24px;
  background: var(--account-surface);
  color: var(--account-ink);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
}

.dashboard-panel[hidden] {
  display: none;
}

.dashboard-list {
  display: grid;
  gap: 10px;
}

.dashboard-item {
  display: grid;
  grid-template-columns: 28px minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: 12px;
  align-items: center;
  min-height: 58px;
  padding: 13px 15px;
  border: 1px solid var(--account-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--account-ink);
  text-decoration: none;
}

.dashboard-check {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--account-line);
  border-radius: 50%;
  color: transparent;
  font-size: 0.92rem;
  font-weight: 900;
}

.dashboard-item.is-complete .dashboard-check {
  border-color: rgba(0, 230, 118, 0.4);
  background: rgba(0, 230, 118, 0.13);
  color: var(--account-success);
}

.dashboard-item span {
  color: var(--account-muted);
  font-weight: 750;
}

.dashboard-item strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

a.dashboard-item:hover {
  border-color: rgba(0, 212, 255, 0.45);
  background: rgba(0, 212, 255, 0.08);
}

.dashboard-alert,
.dashboard-forwarding {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(255, 232, 138, 0.38);
  border-radius: 14px;
  background: rgba(255, 232, 138, 0.08);
}

.dashboard-alert[hidden],
.dashboard-forwarding[hidden] {
  display: none;
}

.dashboard-alert strong,
.dashboard-forwarding strong {
  color: var(--account-ink);
}

.dashboard-alert p,
.dashboard-forwarding p {
  margin: 0;
  color: var(--account-muted);
  line-height: 1.5;
}

.dashboard-forwarding {
  border-color: rgba(0, 212, 255, 0.28);
  background: rgba(0, 212, 255, 0.07);
}

.dashboard-forwarding ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: var(--account-muted);
}

.dashboard-forwarding code {
  display: inline-block;
  padding: 2px 6px;
  border: 1px solid var(--account-line);
  border-radius: 8px;
  color: var(--account-ink);
  background: rgba(255, 255, 255, 0.06);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.dashboard-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.dashboard-actions:empty {
  display: none;
}

.call-history-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.call-history-stats > div {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--account-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.call-history-stats strong {
  color: var(--account-ink);
  font-size: 1.35rem;
  line-height: 1;
}

.call-history-stats span {
  color: var(--account-muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.call-history-filters {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(150px, 0.32fr) minmax(150px, 0.32fr);
  gap: 10px;
  align-items: end;
}

.call-history-filters label {
  display: grid;
  gap: 7px;
  color: var(--account-muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.call-history-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.05fr);
  gap: 14px;
  align-items: start;
}

.call-history-list {
  display: grid;
  gap: 8px;
}

.call-history-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 12px;
  width: 100%;
  min-height: 72px;
  padding: 13px 14px;
  border: 1px solid var(--account-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--account-ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.call-history-row.is-selected,
.call-history-row:hover {
  border-color: rgba(0, 212, 255, 0.45);
  background: rgba(0, 212, 255, 0.08);
}

.call-history-row span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.call-history-row span:first-child {
  font-weight: 850;
}

.call-history-row span:nth-child(2) {
  grid-column: 1 / -1;
  color: var(--account-muted);
  font-size: 0.86rem;
  font-weight: 750;
}

.call-history-row strong {
  align-self: start;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(0, 230, 118, 0.1);
  color: #98f5bf;
  font-size: 0.76rem;
  line-height: 1.2;
}

.call-history-detail,
.call-history-empty {
  border: 1px solid var(--account-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.call-history-detail {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 16px;
}

.call-history-detail h3,
.call-history-detail p {
  margin: 0;
}

.call-history-detail h3 {
  font-size: 1.2rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.call-history-detail strong {
  color: var(--account-ink);
}

.call-history-detail p {
  color: var(--account-muted);
  line-height: 1.5;
}

.call-detail-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.call-detail-meta span {
  padding: 5px 8px;
  border: 1px solid var(--account-line);
  border-radius: 999px;
  color: var(--account-muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.call-history-detail audio {
  width: 100%;
}

.call-history-detail pre {
  max-height: 320px;
  margin: 0;
  padding: 12px;
  overflow: auto;
  white-space: pre-wrap;
  border: 1px solid var(--account-line);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.18);
  color: var(--account-ink);
  font: 0.88rem/1.55 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.call-history-empty {
  padding: 18px;
  color: var(--account-muted);
  font-weight: 750;
}

.session-warning {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.58);
}

.session-warning[hidden] {
  display: none;
}

.session-warning__panel {
  display: grid;
  gap: 14px;
  width: min(480px, 100%);
  padding: clamp(20px, 4vw, 28px);
  border: 1px solid var(--account-line);
  border-radius: 22px;
  background: #0f1525;
  color: var(--account-ink);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.48);
}

.session-warning__panel h2,
.session-warning__panel p {
  margin: 0;
}

.session-warning__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.logout-panel {
  width: min(720px, calc(100% - 28px));
  margin: 0 auto;
  padding: clamp(22px, 5vw, 34px);
  text-align: center;
}

@media (max-width: 820px) {
  .account-hero {
    width: min(100% - 28px, 900px);
    padding-top: 104px;
  }

  .account-copy h1 {
    font-size: 2.45rem;
  }

  .account-layout,
  .login-choice,
  .verification-box,
  .otp-box,
  .dashboard-item,
  .call-history-stats,
  .call-history-filters,
  .call-history-layout {
    grid-template-columns: 1fr;
  }
}
