/* v2/website/src/styles/website/base.css */
:root {
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 22px;
  --website-page-gutter: var(--space-24);
  --website-page-gutter-mobile: var(--space-16);
  --website-card-padding: var(--space-32);
  --website-card-padding-mobile: var(--space-24);
  --app-background-light:
    radial-gradient(
      circle at top,
      rgba(191, 219, 254, 0.45),
      transparent 42%),
    linear-gradient(
      180deg,
      #f7fafc 0%,
      #edf2f7 100%);
  --app-background-dark:
    linear-gradient(
      180deg,
      #0f172a 0%,
      #020617 100%);
  --auth-content-width: 420px;
  --app-surface-light: rgba(255, 255, 255, 0.94);
  --app-surface-dark: rgba(15, 23, 42, 0.82);
  --app-surface-border-light: rgba(214, 220, 228, 0.92);
  --app-surface-border-dark: rgba(226, 232, 240, 0.12);
  --app-text-light: #172133;
  --app-text-dark: #e2e8f0;
  --app-text-muted-light: #556074;
  --app-text-muted-dark: #94a3b8;
  --app-input-background-light: #ffffff;
  --app-input-background-dark: rgba(30, 41, 59, 0.9);
  --app-input-border-light: #d0d5dd;
  --app-input-border-dark: rgba(148, 163, 184, 0.35);
  --app-kicker: #365983;
  --app-background: var(--app-background-light);
  --app-surface: var(--app-surface-light);
  --app-surface-border: var(--app-surface-border-light);
  --app-text: var(--app-text-light);
  --app-text-muted: var(--app-text-muted-light);
  --app-input-background: var(--app-input-background-light);
  --app-input-border: var(--app-input-border-light);
  color-scheme: light;
  font-family:
    "Inter",
    "Avenir Next",
    "PingFang SC",
    sans-serif;
  background: var(--app-background);
  color: var(--app-text);
}
:root[data-theme=dark] {
  --app-background: var(--app-background-dark);
  --app-surface: var(--app-surface-dark);
  --app-surface-border: var(--app-surface-border-dark);
  --app-text: var(--app-text-dark);
  --app-text-muted: var(--app-text-muted-dark);
  --app-input-background: var(--app-input-background-dark);
  --app-input-border: var(--app-input-border-dark);
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html,
body {
  overscroll-behavior: none;
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--app-background);
  color: var(--app-text);
}
button,
input,
select {
  font: inherit;
}
#app {
  min-height: 100vh;
}
body.auth-page {
  height: 100dvh;
  overflow: hidden;
}
body.auth-page #app {
  height: 100%;
  min-height: 100%;
}

/* v2/website/src/styles/website/core.css */
:root {
  --website-pricing-surface:
    radial-gradient(
      120% 90% at 10% -10%,
      rgba(99, 102, 241, 0.18) 0%,
      rgba(99, 102, 241, 0) 58%),
    radial-gradient(
      100% 80% at 90% 0%,
      rgba(56, 189, 248, 0.2) 0%,
      rgba(56, 189, 248, 0) 62%),
    linear-gradient(
      180deg,
      #f9fbff 0%,
      #eef5ff 100%);
  --hsk-level-1-color: #F1826F;
  --hsk-level-2-color: #63BDAB;
  --hsk-level-3-color: #F5C86C;
  --hsk-level-4-color: #3E80AF;
  --hsk-level-5-color: #B18BAC;
  --hsk-level-6-color: #D9BE8F;
  --hsk-level-7-9-color: #FC6B81;
  --hsk-level-non-hsk-color: #94A3B8;
}
.auth-shell {
  align-items: center;
  box-sizing: border-box;
  display: flex;
  height: 100%;
  justify-content: center;
  overflow: hidden;
  padding: var(--website-page-gutter);
}
body.auth-page .auth-wrapper.auth-shell {
  height: 100%;
  justify-content: center;
  min-height: 100%;
  padding: var(--website-page-gutter);
}
.auth-shell,
.dashboard-shell {
  margin: 0 auto;
  max-width: 1080px;
  min-height: 100vh;
  display: grid;
  place-content: start center;
  justify-items: center;
  padding: var(--website-card-padding) var(--website-page-gutter);
  gap: 18px;
}
.dashboard-shell {
  padding: 0;
}
.auth-shell {
  align-content: start;
  gap: 16px;
  padding: 90px var(--website-page-gutter) 56px;
  place-content: start center;
}
.auth-shell [hidden] {
  display: none !important;
}
.auth-wrapper.auth-shell {
  align-items: center;
  align-content: flex-start;
  background: var(--website-pricing-surface);
  display: flex;
  flex-direction: column;
  gap: 0;
  justify-content: flex-start;
  margin: 0;
  max-width: none;
  padding: 100px var(--website-page-gutter) 56px;
  position: relative;
  min-height: 100vh;
  width: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.auth-container {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: min(100%, 360px);
}
.auth-wrapper .auth-card,
.auth-wrapper .auth-panel,
.auth-wrapper .auth-input,
.auth-wrapper .auth-button {
  transition: all 0.2s ease;
}
.auth-wrapper .auth-hero {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  max-width: min(100%, 360px);
  text-align: center;
  width: 100%;
}
.auth-wrapper .auth-logo {
  display: block;
  height: 48px;
  margin: 0 auto 20px;
  max-width: 100%;
  width: auto;
}
.auth-wrapper .auth-hero__copy {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 0px;
  max-width: 360px;
  width: 100%;
}
.auth-wrapper .auth-title {
  color: #0f172a;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Display",
    system-ui,
    sans-serif;
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin: 0;
  max-width: 100%;
  text-align: center;
}
.auth-wrapper .auth-title__line {
  white-space: nowrap;
  display: block;
}
.auth-wrapper .auth-title__wordmark-line {
  align-items: center;
  display: inline-flex;
  gap: 10px;
  justify-content: center;
}
.auth-wrapper .auth-title__wordmark {
  display: inline-flex;
  line-height: 0;
}
.auth-wrapper .auth-title__wordmark img {
  display: block;
  height: 38px;
  opacity: 0.92;
  margin: 4px auto 4px;
  max-width: min(100%, 220px);
  width: auto;
}
.auth-wrapper .auth-title__wordmark-text {
  white-space: nowrap;
}
.auth-wrapper .auth-title__wordmark-brand {
  font-family:
    "SF Pro Display",
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    system-ui,
    sans-serif;
  font-size: 1.05em;
  font-weight: 800;
  letter-spacing: -0.028em;
  line-height: 1;
}
.auth-wrapper .auth-subtitle {
  color: #526c88;
  font-family:
    "SF Pro Text",
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    system-ui,
    sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.48;
  margin: 0 auto;
  max-width: 100%;
  text-align: center;
  text-wrap: balance;
  width: 100%;
}
.auth-wrapper .auth-trust-note {
  color: #6784a0;
  display: grid;
  font-family:
    "SF Pro Text",
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    system-ui,
    sans-serif;
  font-size: 13px;
  font-weight: 500;
  gap: 2px;
  letter-spacing: -0.01em;
  line-height: 1.42;
  margin: 8px auto 0;
  max-width: 248px;
  text-align: center;
  text-wrap: balance;
  width: 100%;
}
.auth-wrapper .auth-trust-note__lead {
  color: #43617f;
  font-weight: 600;
}
.auth-wrapper .auth-trust-note__body {
  color: #6784a0;
}
.auth-wrapper #auth-mode-hint {
  display: grid;
  justify-items: center;
  margin: 0 auto;
  max-width: 360px;
  width: calc(100% - 32px);
}
.auth-wrapper .auth-system {
  display: none;
}
.auth-wrapper .auth-philosophy {
  display: none;
}
.auth-wrapper .auth-feature {
  display: none;
}
.auth-wrapper .auth-card {
  background: transparent;
  border: 0;
  border-radius: 16px;
  backdrop-filter: none;
  box-shadow: none;
  gap: 14px;
  margin: 0;
  max-width: var(--auth-content-width);
  padding: 0;
  width: min(100%, var(--auth-content-width));
}
.auth-wrapper .auth-panel {
  display: grid;
  gap: 0px;
  margin: 0;
  width: 100%;
}
.auth-wrapper .auth-card__header {
  gap: 8px;
}
.auth-wrapper .auth-card__copy {
  gap: 4px;
}
.auth-wrapper .auth-card__copy h2 {
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}
.auth-wrapper .auth-card__copy p {
  font-size: 0.92rem;
}
.user-identity {
  align-items: center;
  display: flex;
  gap: 12px;
  margin: 0 0 18px;
  min-width: 0;
  width: 100%;
}
.user-meta {
  align-items: center;
  display: inline-flex;
  gap: 6px;
  min-width: 0;
}
.user-identity__profile {
  align-items: center;
  display: flex;
  gap: 10px;
  min-width: 0;
}
.user-name {
  color: #1d2e44;
  font-size: 15px;
  font-weight: 500;
  min-width: 0;
  overflow-wrap: anywhere;
  text-align: left;
  letter-spacing: -0.01em;
}
.not-you {
  appearance: none;
  color: #6b7280;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  border: 0;
  padding: 0;
  margin-left: 6px;
  line-height: 1;
}
.not-you:hover {
  text-decoration: underline;
}
.not-you:focus-visible {
  outline: 2px solid rgba(59, 130, 246, 0.45);
  outline-offset: 2px;
}
.user-meta__separator {
  color: #94a3b8;
  display: inline-block;
  font-size: 0.95rem;
  line-height: 1;
}
.auth-wrapper .auth-password-context {
  color: #5b677c;
  font-size: 0.92rem;
  margin: 0 0 8px;
}
.auth-wrapper .auth-form,
.auth-wrapper .auth-field {
  width: 100%;
}
.auth-wrapper .auth-form {
  gap: 12px;
}
.auth-wrapper .auth-input {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: none;
  color: #0f172a;
  font-size: 14px;
  font-weight: 400;
  min-height: 48px;
  height: auto;
  letter-spacing: -0.01em;
  padding: 0 14px;
  width: 100%;
}
.auth-wrapper .auth-input::placeholder {
  color: #94a3b8;
}
.auth-wrapper .auth-input:focus {
  background: #fff;
  border: 1px solid #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
  outline: none;
}
.auth-wrapper .auth-input:-webkit-autofill,
.auth-wrapper .auth-input:-webkit-autofill:hover,
.auth-wrapper .auth-input:-webkit-autofill:focus,
.auth-wrapper .auth-input:-webkit-autofill:active {
  -webkit-text-fill-color: #122033;
  -webkit-box-shadow: 0 0 0 1000px #fff inset;
  box-shadow: 0 0 0 1000px #fff inset;
  transition: background-color 9999s ease-out;
}
.auth-wrapper .auth-button {
  align-items: center;
  background: #3b82f6;
  opacity: 0.95;
  border: 0;
  border-radius: 12px;
  box-shadow: none;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: 14px;
  font-weight: 600;
  height: 48px;
  justify-content: center;
  letter-spacing: -0.01em;
  width: 100%;
  min-height: 48px;
}
.auth-wrapper .auth-button:hover {
  background: #3478e5;
  opacity: 0.95;
}
.auth-wrapper .auth-button:active {
  background: #2563eb;
  opacity: 0.95;
}
.auth-wrapper .auth-button[disabled] {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}
.auth-wrapper #auth-social-actions {
  display: grid;
  justify-items: stretch;
  margin: 0 auto;
  max-width: 360px;
  width: 100%;
}
.auth-wrapper .auth-social-secondary,
.auth-wrapper .auth-social-row,
.auth-wrapper .auth-social-secondary-button {
  width: 100%;
}
.auth-social-block {
  display: grid;
  gap: 10px;
  width: 100%;
}
.auth-social-links {
  align-items: center;
  color: #0f172a;
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 10px;
}
.auth-social-links-wrap {
  margin-top: 0;
  text-align: center;
}
.auth-social-label {
  color: #94a3b8;
  font-size: 12px;
  margin: 24px 0 0;
  opacity: 0.7;
  text-align: center;
}
.auth-social-links a {
  align-items: center;
  display: flex;
  height: 28px;
  justify-content: center;
  width: 28px;
}
.auth-social-link {
  align-items: center;
  border: none;
  color: inherit;
  display: inline-flex;
  justify-content: center;
}
.auth-social-link svg {
  display: block;
  fill: currentColor;
  height: 20px;
  width: 20px;
  opacity: 0.8;
}
.auth-social-links svg {
  fill: #0f172a;
  opacity: 0.8;
  width: 20px;
  height: 20px;
}
.facebook svg,
.youtube svg {
  transform-origin: center;
}
.facebook svg {
  transform: scale(0.92);
}
.youtube svg {
  transform: scale(0.95);
}
.auth-social-divider {
  color: #94a3b8;
  opacity: 0.7;
  display: flex;
  font-size: 12px;
  gap: 12px;
  justify-content: center;
  letter-spacing: 0.12em;
  line-height: 1;
  position: relative;
  text-transform: uppercase;
  margin: 20px 0;
  padding: 0 4px;
}
.auth-social-divider::before,
.auth-social-divider::after {
  background: #e5e7eb;
  opacity: 0.6;
  content: "";
  flex: 1 1 auto;
  height: 1px;
  margin-top: 0;
  max-width: 72px;
}
.auth-social-divider::before {
  margin-right: 12px;
}
.auth-social-divider::after {
  margin-left: 12px;
}
.auth-social-actions {
  display: flex;
  gap: 12px;
  width: 100%;
  flex-wrap: nowrap;
}
.auth-social-buttons {
  gap: 12px;
}
.auth-social-button {
  align-items: center;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-sizing: border-box;
  color: #10263f;
  cursor: pointer;
  display: inline-flex;
  font-size: 14px;
  font-weight: 500;
  gap: 0;
  justify-content: flex-start;
  min-height: 48px;
  padding: 0 12px;
  opacity: 0.95;
  width: 50%;
}
.auth-social-button--apple {
  background: #fff;
  border-color: #e5e7eb;
  color: #111827;
}
.auth-social-button--apple:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
}
.auth-social-button--apple:active {
  background: #f3f4f6;
}
.auth-social-btn {
  border: 1px solid #d1d5db;
}
.auth-social-btn:hover {
  background: #f3f4f6;
}
.auth-social-button__icon {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  height: 18px;
  justify-content: center;
  margin-right: 12px;
  width: 18px;
}
.auth-social-button__icon svg {
  display: block;
  height: 100%;
  width: 100%;
}
.auth-social-button__icon--google svg {
  opacity: 0.9;
  filter: saturate(0.82);
}
.auth-social-button--google svg {
  opacity: 0.9;
}
.auth-social-button--google .auth-social-button__icon svg {
  opacity: 0.9;
  filter: saturate(0.82);
}
.auth-social-button__label {
  flex: 1;
}
.auth-social-button:hover {
  background: #f3f4f6;
  border-color: #cbd5e1;
  transform: translateY(-1px);
}
.auth-social-button:active {
  transform: translateY(1px);
  border-color: #bfc8d5;
}
.auth-social-button[disabled] {
  cursor: wait;
  opacity: 0.72;
}
.auth-social-availability-note {
  color: rgba(15, 23, 42, 0.62);
  font-size: 12px;
  line-height: 1.5;
  margin: 10px 0 0;
}
.auth-wrapper .auth-secondary-actions--start {
  margin-top: 0;
}
.auth-wrapper .auth-inline-meta,
.auth-wrapper .auth-status {
  font-size: 0.85rem;
}
.code-email-summary {
  display: flex;
  gap: 0;
  margin-bottom: 8px;
}
.code-email-line {
  align-items: center;
  color: #374151;
  display: inline-flex;
  flex-wrap: nowrap;
  font-size: 14px;
  gap: 6px;
  margin: 0;
}
.code-email {
  color: #374151;
  font-weight: 500;
}
.change,
.change-email {
  appearance: none;
  background: transparent;
  border: 0;
  color: #6b7280;
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
  margin-left: 6px;
  padding: 0;
}
.change-email:hover {
  text-decoration: underline;
}
.change:hover {
  text-decoration: underline;
}
.auth-hero {
  display: grid;
  gap: 10px;
  justify-items: center;
  margin: 0 auto;
  max-width: 560px;
  text-align: center;
}
.auth-eyebrow,
.dashboard-kicker {
  color: #365983;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.auth-eyebrow--logo {
  display: block;
  height: auto;
  width: min(176px, 36vw);
}
.auth-hero h1,
.dashboard-identity__copy h1,
.dashboard-section-heading h2 {
  margin: 0;
}
.auth-hero__title {
  font-size: clamp(2.1rem, 3.4vw, 3.1rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  max-width: 12ch;
  text-wrap: balance;
}
.auth-hero h1 {
  font-size: inherit;
  line-height: inherit;
  max-width: inherit;
}
.auth-hero p {
  color: #526074;
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
  max-width: 34ch;
}
.auth-card,
.dashboard-card {
  background: #fff;
  border: 1px solid rgba(214, 220, 228, 0.92);
  border-radius: 20px;
  box-shadow: 0 1px 1px rgba(15, 23, 42, 0.04), 0 8px 22px rgba(15, 23, 42, 0.05);
  padding: var(--website-card-padding);
}
.auth-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 14px;
  box-shadow: none;
  display: grid;
  gap: 14px;
  margin: 0 auto;
  max-width: var(--auth-content-width);
  padding: 22px;
  width: min(100%, var(--auth-content-width));
}
.auth-card__header {
  display: grid;
  gap: 10px;
}
.auth-card__copy {
  display: grid;
  gap: 6px;
}
.auth-card__copy h2 {
  font-size: 1.5rem;
  margin: 0;
}
.auth-card__copy p {
  color: #5b677c;
  margin: 0;
}
.auth-email-summary__avatar {
  align-items: center;
  background:
    linear-gradient(
      180deg,
      var(--auth-avatar-start, #365983) 0%,
      var(--auth-avatar-end, #243b5a) 100%);
  border-radius: 50% !important;
  color: #f8fafc;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.78rem;
  font-weight: 700;
  height: 42px;
  justify-content: center;
  width: 42px;
}
.auth-email-summary__avatar-image {
  background: none;
  color: transparent;
  height: 58px;
  object-fit: cover;
  object-position: center;
  border-radius: 50% !important;
  aspect-ratio: 1 / 1;
  display: block;
  width: 58px;
}
.auth-email-summary__avatar--new-user {
  --auth-avatar-start: #8D62D9;
  --auth-avatar-end: #8D62D9;
}
.auth-email-summary__email {
  color: #1d2e44;
  font-size: 0.96rem;
  font-weight: 550;
  min-width: 0;
  overflow-wrap: anywhere;
  text-align: left;
}
.auth-form {
  display: grid;
  gap: 12px;
}
.auth-field {
  display: grid;
  gap: 6px;
}
.auth-field span {
  color: #24364a;
  font-size: 0.95rem;
  font-weight: 600;
}
.auth-field input {
  background: #f9fafb;
  border: 1px solid #d0d5dd;
  border-radius: 12px;
  color: #172133;
  min-height: 48px;
  padding: 12px 14px;
  transition: all 0.2s ease;
}
.auth-field input::placeholder {
  color: #98a2b3;
}
.auth-field input:focus {
  background: #fff;
  border: 1px solid #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
  outline: none;
}
.auth-field input[readonly] {
  background: rgba(247, 250, 252, 0.98);
  color: #44536b;
}
.code-section {
  margin-bottom: 18px;
}
.auth-code-input {
  background: transparent;
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  left: -9999px;
  opacity: 0;
  outline: none;
  padding: 0;
  position: absolute;
  width: 1px;
}
.auth-code-slot-list.code-group,
.code-group {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(6, 1fr);
}
.auth-code-slot,
.code-box {
  align-items: center;
  border: 1px solid #d1d5db;
  background: #ffffff;
  width: 44px;
  height: 52px;
  border-radius: 10px;
  color: #0f172a;
  display: inline-flex;
  font-size: 18px;
  font-weight: 500;
  justify-content: center;
  letter-spacing: 0;
  line-height: 1;
  transition: all 120ms ease;
}
.code-box:not(.active):not(.filled) {
  border-color: #d1d5db;
}
.auth-code-slot.active,
.code-box.active {
  border-color: #3b82f6;
  outline: none;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}
.auth-code-slot.filled,
.code-box.filled {
  border-color: #9ca3af;
  transform: scale(1.05);
}
.dashboard-input {
  background: #fff;
  border: 1px solid #d8e0e8;
  border-radius: 12px;
  min-height: 52px;
  padding: 14px 16px;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}
.dashboard-input:focus {
  border-color: #2f4b73;
  box-shadow: 0 0 0 3px rgba(47, 75, 115, 0.12);
  outline: none;
}
.auth-primary-button,
.dashboard-primary-button,
.dashboard-signout,
.dashboard-delete-account,
.dashboard-list__remove {
  appearance: none;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    opacity 160ms ease;
}
.auth-primary-button {
  align-items: center;
  background: #e9edf3;
  border: 1px solid #d8e0ea;
  border-radius: 12px;
  box-shadow: none;
  box-sizing: border-box;
  color: #2d3a4a;
  display: inline-flex;
  font-weight: 600;
  justify-content: center;
  letter-spacing: 0.2px;
  height: 40px;
  min-height: 40px;
  padding: 0 18px;
  font-size: 13px;
  transition: all 160ms ease;
}
.auth-primary-btn {
  align-items: center;
  background: #e9edf3;
  border: 1px solid #d8e0ea;
  border-radius: 12px;
  box-shadow: none;
  box-sizing: border-box;
  color: #2d3a4a;
  cursor: pointer;
  display: inline-flex;
  font-size: 13px;
  font-weight: 600;
  height: 40px;
  justify-content: center;
  letter-spacing: 0.2px;
  min-height: 40px;
  padding: 0 18px;
  transition: all 160ms ease;
  width: 100%;
}
.auth-primary-button[disabled] {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}
.auth-primary-button__content {
  align-items: center;
  display: inline-flex;
  gap: 10px;
  justify-content: center;
}
.auth-primary-button__spinner {
  animation: auth-spin 900ms linear infinite;
  border: 2px solid rgba(248, 250, 252, 0.28);
  border-top-color: #f8fafc;
  border-radius: 999px;
  height: 16px;
  width: 16px;
}
.auth-primary-button:hover,
.dashboard-signout:hover,
.dashboard-delete-account:hover,
.dashboard-list__remove:hover {
  transform: translateY(0);
}
.auth-primary-button:hover {
  background: #dee4ed;
  border-color: #c9d4e2;
}
.auth-primary-button:active {
  background: #d3dae6;
  border-color: #c9d4e2;
  transform: scale(0.98);
}
.auth-secondary-actions {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: center;
}
.auth-secondary-actions--start {
  justify-content: flex-start;
}
.auth-text-button {
  appearance: none;
  background: transparent;
  border: 0;
  color: #2f4b73;
  cursor: pointer;
  font-weight: 600;
  padding: 0;
}
.auth-text-button:hover {
  text-decoration: underline;
}
.auth-text-button[disabled] {
  cursor: default;
  opacity: 0.72;
}
.auth-text-button[disabled]:hover {
  text-decoration: none;
}
.resend {
  appearance: none;
  background: transparent;
  border: 0;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.2;
  margin: 0;
  padding: 0;
}
.resend.active {
  color: #2563eb;
  cursor: pointer;
  font-weight: 500;
}
.resend.active:hover {
  text-decoration: underline;
}
.resend:not(.active) {
  cursor: default;
}
.auth-inline-meta,
.auth-helper-copy {
  color: #5b677c;
  font-size: 0.95rem;
  margin: 0;
  text-align: center;
}
.auth-mode-hint {
  align-items: center;
  color: #5b677c;
  display: flex;
  font-size: 0.95rem;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin: -2px 0 0;
}
.auth-mode-hint__action {
  font-size: inherit;
}
.auth-loading-state {
  align-items: center;
  display: grid;
  gap: 14px;
  justify-items: center;
  min-height: 120px;
  text-align: center;
}
.auth-callback-shell {
  width: 100%;
}
.auth-loading-state p {
  color: #233247;
  font-size: 0.98rem;
  margin: 0;
  text-align: center;
}
.auth-loading-state__spinner {
  animation: auth-spin 900ms linear infinite;
  border: 3px solid rgba(47, 75, 115, 0.12);
  border-top-color: #2f4b73;
  border-radius: 999px;
  height: 36px;
  width: 36px;
}
@keyframes auth-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.auth-status {
  color: #44536b;
  font-size: 0.95rem;
  margin: 0;
  min-height: 24px;
  text-align: center;
  white-space: pre-line;
}
.auth-status[data-tone=success] {
  color: #166534;
}
.auth-status[data-tone=error] {
  color: #b91c1c;
  font-size: 0.82rem;
  margin-top: 2px;
}
.onboarding-hero h1 {
  max-width: 14ch;
}
.onboarding-card {
  max-width: 720px;
}
.onboarding-card__copy {
  display: grid;
  gap: 8px;
}
.onboarding-card__copy h2 {
  font-size: 1.5rem;
  margin: 0;
}
.onboarding-card__copy p {
  color: #5b677c;
  margin: 0;
}
.onboarding-profile {
  align-items: center;
  background: rgba(247, 250, 252, 0.96);
  border: 1px solid rgba(214, 220, 228, 0.92);
  border-radius: 18px;
  display: flex;
  gap: 20px;
  padding: 18px;
}
.onboarding-profile__avatar {
  border-radius: 50% !important;
  flex: 0 0 auto;
  height: 96px;
  width: 96px;
  object-fit: cover;
}
.onboarding-profile__avatar[src=""] {
}
.onboarding-profile__details {
  display: grid;
  gap: 12px;
  min-width: 0;
}
.onboarding-profile__row {
  display: grid;
  gap: 4px;
}
.onboarding-profile__row span {
  color: #5b677c;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.onboarding-profile__row strong {
  color: #172133;
  font-size: 1rem;
  overflow-wrap: anywhere;
}
.onboarding-actions {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}
.dashboard-shell {
  display: grid;
  gap: 20px;
}
.dashboard-page-shell {
  --home-topbar-content-max-width: 1380px;
  background: transparent;
  min-height: 100vh;
  padding: 0 var(--website-page-gutter) var(--website-page-gutter);
}
.dashboard-page-shell--vocabulary {
  background:
    radial-gradient(
      120% 90% at 10% -10%,
      rgb(99 162 241 / 18%) 0%,
      rgba(99, 102, 241, 0) 58%),
    radial-gradient(
      100% 80% at 90% 0%,
      rgb(52 182 106 / 20%) 0%,
      rgb(65 158 200 / 7%) 62%),
    linear-gradient(
      180deg,
      #f9fbff 0%,
      #eef5ff 100%);
}
:is([data-dashboard-shell=true], [data-lexicon-shell=true]) {
  --dashboard-card-shell-width: 1332px;
  grid-template-columns: minmax(0, 1fr);
  justify-items: stretch;
  max-width: var(--dashboard-card-shell-width);
  padding: 0 var(--website-card-padding) var(--website-card-padding);
  width: min(100%, var(--dashboard-card-shell-width));
}
:is([data-dashboard-shell=true], [data-lexicon-shell=true]) > .dashboard-card {
  justify-self: stretch;
  width: 100%;
}
.dashboard-card--hero {
  align-items: center;
  display: grid;
  gap: 20px;
  justify-self: stretch;
  width: 100%;
}
.dashboard-hero-vocabulary {
  border-top: 1px solid rgba(214, 220, 228, 0.9);
  min-width: 0;
  padding-top: 22px;
}
.dashboard-identity {
  align-items: start;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
}
.dashboard-identity__profile {
  align-items: center;
  display: grid;
  gap: 10px 12px;
  grid-template-columns: auto minmax(0, 1fr);
}
.dashboard-identity__profile-shell {
  display: grid;
  gap: 10px;
  width: min(100%, 420px);
  background: #f8fafc;
  border: 1px solid #dbe4ef;
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}
.dashboard-kicker--hero {
  display: block;
  margin-bottom: 2px;
}
.dashboard-avatar-slot {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  height: 68px;
  justify-content: center;
  width: 68px;
}
.dashboard-avatar-trigger {
  align-items: center;
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  line-height: 0;
  padding: 0;
}
.dashboard-avatar-frame {
  align-items: center;
  background: transparent;
  border: 2px solid #8D62D9;
  border-radius: 999px;
  display: inline-flex;
  justify-content: center;
  padding: 0;
}
.dashboard-avatar-trigger:hover {
  transform: none;
}
.dashboard-avatar-trigger:focus-visible {
  outline: 2px solid rgba(37, 99, 235, 0.28);
  outline-offset: 4px;
}
.dashboard-avatar {
  border-radius: 50% !important;
  height: 58px;
  width: 58px;
  object-fit: cover;
  display: inline-block;
}
@media (max-width: 640px) {
  .dashboard-page-shell {
    padding: 0 var(--website-page-gutter-mobile) var(--website-page-gutter-mobile);
  }
  .dashboard-shell {
    padding: 0;
  }
  .dashboard-shell:is([data-dashboard-shell=true], [data-lexicon-shell=true]) {
    padding: 0 0 32px;
  }
  .auth-shell {
    padding: 88px var(--website-page-gutter-mobile) 40px;
  }
  .auth-shell,
  .dashboard-shell {
    gap: 16px;
  }
  .auth-card,
  .dashboard-card {
    padding: var(--website-card-padding-mobile);
  }
  .auth-card {
    width: min(100%, var(--auth-content-width));
  }
  .auth-eyebrow--logo {
    width: min(164px, 44vw);
  }
  .auth-hero__title {
    font-size: clamp(1.88rem, 8vw, 2.3rem);
  }
  .user-identity {
    width: 100%;
  }
}
@media (min-width: 769px) {
  .auth-wrapper .auth-subtitle-break {
    display: block;
  }
  .auth-form[data-auth-step=EMAIL] .auth-social-secondary,
  .auth-form[data-auth-step=ERROR] .auth-social-secondary {
    display: flex;
    flex-direction: column;
    gap: 20px;
    order: -1;
    width: 100%;
  }
  .auth-form[data-auth-step=EMAIL] .auth-social-row,
  .auth-form[data-auth-step=ERROR] .auth-social-row {
    display: flex;
    align-items: stretch;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 12px;
    width: 100%;
  }
  .auth-form[data-auth-step=EMAIL] .auth-social-secondary-button,
  .auth-form[data-auth-step=ERROR] .auth-social-secondary-button {
    flex: 1 1 0;
    max-width: none;
    width: auto;
  }
  .auth-form[data-auth-step=EMAIL] .auth-social-divider,
  .auth-form[data-auth-step=ERROR] .auth-social-divider {
    font-size: 13px;
    font-weight: 400;
    gap: 12px;
    letter-spacing: 0;
    margin: 0;
    order: 0;
    padding: 0;
    text-transform: none;
  }
  .auth-form[data-auth-step=EMAIL] .auth-social-divider-text,
  .auth-form[data-auth-step=ERROR] .auth-social-divider-text {
    letter-spacing: -0.01em;
    text-transform: none;
  }
}
@media (max-width: 768px) {
  .auth-wrapper.auth-shell {
    min-height: 100vh;
    padding: 24px var(--website-page-gutter-mobile) 32px;
    justify-content: flex-start;
  }
  body.auth-page .auth-wrapper.auth-shell {
    padding: 24px var(--website-page-gutter-mobile) 32px;
    justify-content: flex-start;
  }
  .auth-wrapper .auth-container {
    gap: 32px;
    width: 100%;
  }
  .auth-wrapper .auth-hero {
    gap: 0;
    max-width: 100%;
  }
  .auth-wrapper .auth-logo {
    display: block;
    height: 48px;
    margin: 0 auto 24px;
    object-fit: contain;
    width: 48px;
  }
  .auth-wrapper .auth-hero__copy {
    max-width: 360px;
    width: calc(100% - 32px);
  }
  .auth-wrapper .auth-title {
    color: #0f172a;
    font-family:
      -apple-system,
      BlinkMacSystemFont,
      "SF Pro Display",
      "SF Pro Text",
      Inter,
      system-ui,
      sans-serif;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.08;
    margin: 0;
    max-width: 100%;
    text-align: center;
  }
  .auth-wrapper .auth-subtitle {
    color: #4f6986;
    font-family:
      "SF Pro Text",
      "Inter",
      -apple-system,
      BlinkMacSystemFont,
      system-ui,
      sans-serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.015em;
    line-height: 1.5;
    margin: 12px auto 0;
    max-width: 100%;
    text-align: center;
    width: 100%;
  }
  .auth-wrapper .auth-subtitle-break {
    display: block;
  }
  .auth-wrapper .auth-trust-note {
    font-size: 13px;
    gap: 1px;
    margin-top: 10px;
    max-width: 244px;
  }
  .auth-wrapper .auth-panel {
    align-items: center;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
  }
  .auth-wrapper .auth-form {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
  .auth-wrapper .auth-field,
  .auth-wrapper .auth-status,
  .auth-wrapper .auth-button,
  .auth-wrapper .auth-primary-button,
  .auth-wrapper .auth-social-secondary-button {
    margin-left: auto;
    margin-right: auto;
    max-width: 360px;
    width: calc(100% - 32px);
  }
  .auth-wrapper .auth-button {
    width: calc(100% - 32px);
    max-width: 360px;
  }
  .auth-wrapper #auth-social-actions {
    margin-left: auto;
    margin-right: auto;
    max-width: 360px;
    width: calc(100% - 32px);
  }
  .auth-form[data-auth-step=EMAIL] .auth-field {
    display: block;
    width: calc(100% - 32px);
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }
  .auth-wrapper .auth-input {
    box-sizing: border-box;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    display: block;
    width: 100%;
    border-radius: 14px;
    box-shadow: none;
    font-size: 16px;
    height: 52px;
    min-height: 52px;
    outline: none;
    padding: 0 16px;
  }
  .auth-wrapper .auth-input:focus {
    background: #f8fafc;
    border-color: #cbd5f5;
    box-shadow: none;
    outline: none;
  }
  .auth-wrapper .auth-button,
  .auth-wrapper .auth-primary-button {
    background: #3b82f6;
    border: none;
    border-radius: 12px;
    box-shadow: none;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    height: 56px;
    min-height: 56px;
    transform: none;
  }
  .auth-wrapper .auth-button:hover,
  .auth-wrapper .auth-primary-button:hover {
    background: #3478e5;
    box-shadow: none;
    transform: none;
  }
  .auth-wrapper .auth-button:active,
  .auth-wrapper .auth-primary-button:active {
    background: #2f6fd8;
    box-shadow: none;
    transform: none;
  }
  .auth-wrapper .auth-social-secondary {
    margin-top: 10px;
    width: 100%;
  }
  .auth-form[data-auth-step=EMAIL] .auth-social-secondary {
    display: block;
    margin-top: 24px;
  }
  .auth-wrapper .auth-social-divider {
    color: #94a3b8;
    font-size: 13px;
    font-weight: 400;
    gap: 12px;
    letter-spacing: 0;
    margin: 0;
    padding: 0;
    text-align: center;
    text-transform: none;
    margin-left: auto;
    margin-right: auto;
    max-width: 360px;
    width: calc(100% - 32px);
  }
  .auth-form[data-auth-step=EMAIL] .auth-social-divider {
    display: flex;
  }
  .auth-wrapper .auth-social-divider::before,
  .auth-wrapper .auth-social-divider::after {
    background: #e5e7eb;
    max-width: none;
  }
  .auth-wrapper .auth-social-divider-text {
    letter-spacing: -0.01em;
    text-transform: none;
  }
  .auth-wrapper .auth-social-row {
    align-items: stretch;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
    width: 100%;
  }
  .auth-form[data-auth-step=EMAIL] .auth-social-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .auth-wrapper .auth-social-secondary-button {
    align-items: center;
    background: #ffffff;
    opacity: 0.95;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: none;
    color: #0f172a;
    font-size: 15px;
    font-weight: 500;
    gap: 10px;
    height: 48px;
    justify-content: center;
    max-width: none;
    min-height: 48px;
    padding: 0 16px;
    width: 100%;
  }
  .auth-wrapper .auth-social-secondary-button:hover {
    background: #ffffff;
    border-color: #e5e7eb;
    opacity: 0.95;
    box-shadow: none;
    transform: none;
  }
  .auth-wrapper .auth-social-secondary-button:active {
    background: #f8fafc;
    opacity: 0.95;
    border-color: #e5e7eb;
    box-shadow: none;
    transform: none;
  }
  .auth-wrapper .auth-social-secondary-button .auth-social-button__icon {
    height: 20px;
    width: 20px;
  }
  .auth-wrapper .auth-social-button--apple {
    color: #000000;
  }
  .auth-wrapper .auth-social-secondary-button .auth-social-button__label {
    flex: 0 0 auto;
  }
}
.dashboard-identity__copy {
  align-self: center;
  align-content: start;
  display: grid;
  gap: 2px;
  justify-self: start;
  min-width: 0;
  width: min(100%, 540px);
}
.dashboard-identity__meta {
  display: grid;
  font-family:
    "Avenir Next",
    "Manrope",
    "PingFang SC",
    "Noto Sans SC",
    "Hiragino Sans GB",
    "Microsoft YaHei",
    "Segoe UI",
    sans-serif;
  gap: 2px;
  min-height: 36px;
}
.dashboard-profile-meta__name {
  color: #172133;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}
.dashboard-profile-meta__identity {
  align-items: center;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}
.dashboard-profile-meta__username {
  color: #41516B;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
}
.dashboard-profile-meta__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-top: 4px;
}
.dashboard-profile-meta__stat {
  align-items: baseline;
  color: #64748B;
  display: inline-flex;
  font-size: 11px;
  gap: 3px;
  line-height: 1;
  white-space: nowrap;
}
.dashboard-profile-meta__stat strong {
  color: #0F172A;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
}
.dashboard-topbar-panel {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  justify-content: flex-end;
  min-width: 0;
  padding: 0;
}
.top-progress-wrapper {
  align-items: center;
  backdrop-filter: blur(4px);
  background: rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  display: flex;
  flex-shrink: 1;
  flex-wrap: nowrap;
  gap: 6px;
  min-width: 0;
  padding: 6px 10px;
}
.top-progress {
  display: flex;
  flex-direction: column;
  flex-shrink: 1;
  flex: 1 1 auto;
  gap: 2px;
  min-width: 0;
}
.top-progress__meta {
  align-items: center;
  display: flex;
  gap: 4px;
  line-height: 1;
  min-width: 0;
  white-space: nowrap;
}
.top-progress__level {
  color: #1e40af;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
.top-progress__xp {
  color: #475569;
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}
.top-progress__meta .dashboard-profile-meta__level {
  margin-left: 0;
}
.mission-pill {
  align-items: flex-start;
  background: #e8f0ff;
  border: 1px solid rgba(59, 130, 246, 0.22);
  border-radius: 999px;
  color: #1d4ed8;
  display: inline-flex;
  flex-direction: column;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.05;
  margin-left: 0;
  margin-top: 0;
  box-shadow: 0 1px 2px rgba(59, 130, 246, 0.05);
  opacity: 1;
  padding: 4px 8px;
  width: fit-content;
  max-width: 100%;
  white-space: normal;
}
.mission-pill__line {
  display: block;
  white-space: normal;
}
.mission-pill__line--primary {
  font-weight: 700;
}
.mission-pill__line--secondary {
  font-weight: 600;
}
.top-xp-bar {
  background: rgba(15, 23, 42, 0.06);
  border-radius: 999px;
  display: block;
  flex: 1 1 auto;
  height: 10px;
  margin-top: 2px;
  max-width: none;
  min-width: 0;
  overflow: hidden;
  width: 100%;
}
.top-xp-bar__fill {
  animation: none;
  background: var(--dashboard-progress-fill-color, linear-gradient(90deg, #ffd36a 0%, #8fd8c4 100%));
  border-radius: inherit;
  box-shadow: 0 0 6px rgba(52, 211, 153, 0.25);
  display: block;
  height: 100%;
  transition: width 400ms ease;
  will-change: width, box-shadow;
}
.top-xp-bar__fill--animate {
  transition: width 400ms ease;
}
.top-xp-bar__fill--active {
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.35);
}
.top-xp-bar__fill--update {
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.35);
}
.dashboard-profile-meta__name-skeleton {
  width: min(140px, 40%);
}
.dashboard-identity__copy p {
  color: #5b677c;
  margin: 0;
}
.dashboard-progress-strip {
  --dashboard-progress-accent: #0F152D;
  font-family:
    "Avenir Next",
    "Manrope",
    "Segoe UI",
    sans-serif;
  margin-top: 0;
  padding: 12px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: none;
}
.dashboard-progress-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  font-size: 11px;
  line-height: 1;
  margin-bottom: 8px;
}
.dashboard-progress-label {
  color: #64748b;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.dashboard-progress-label strong {
  color: var(--dashboard-progress-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.dashboard-progress-xp {
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
}
.dashboard-progress-bar {
  height: 6px;
  background: #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
}
.dashboard-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--dashboard-progress-fill-color, linear-gradient(90deg, #ffd36a 0%, #8fd8c4 100%));
  box-shadow: 0 0 12px rgba(244, 197, 66, 0.4);
}
.dashboard-progress-meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  font-family:
    "Avenir Next",
    "Manrope",
    "Segoe UI",
    sans-serif;
  gap: 4px;
  margin-top: 0;
  padding-top: 4px;
  color: rgba(30, 41, 59, 0.74);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
}
.dashboard-progress-meta > span {
  font-family: inherit;
  font-weight: 700;
  letter-spacing: 0;
}
.dashboard-progress-score,
.dashboard-progress-mission {
  color: #64748b;
}
.dashboard-progress-score {
  display: inline-flex;
  gap: 4px;
}
.dashboard-progress-score__label {
  color: inherit;
}
.dashboard-progress-score__value {
  color: var(--dashboard-progress-accent);
}
.dashboard-progress-mission {
  margin-left: auto;
  text-align: right;
}
.dashboard-account-actions {
  display: grid;
  gap: 10px;
  justify-items: end;
}
.dashboard-signout,
.dashboard-list__remove {
  background: rgba(36, 59, 90, 0.08);
  color: #243b5a;
  padding: 10px 16px;
}
.dashboard-delete-account {
  background: rgba(185, 28, 28, 0.1);
  color: #991b1b;
  padding: 10px 16px;
}
.dashboard-delete-account[disabled] {
  cursor: not-allowed;
  opacity: 0.7;
}
.dashboard-modal {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 20px;
  position: fixed;
  z-index: 60;
}
.dashboard-modal.is-hidden {
  display: none;
}
.dashboard-modal__backdrop {
  background: rgba(15, 23, 42, 0.52);
  inset: 0;
  position: absolute;
}
.dashboard-modal__panel {
  background: #ffffff;
  border: 1px solid rgba(214, 220, 228, 0.95);
  border-radius: 18px;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.25);
  display: grid;
  gap: 12px;
  max-width: 460px;
  padding: 22px;
  position: relative;
  width: min(100%, 460px);
}
.dashboard-modal__panel h2 {
  color: #111827;
  font-size: 1.3rem;
  margin: 0;
}
.dashboard-modal__copy {
  color: #4b5563;
  margin: 0;
}
.dashboard-modal__form {
  display: grid;
  gap: 12px;
}
.dashboard-modal__label {
  color: #374151;
  font-size: 0.9rem;
  font-weight: 600;
}
.dashboard-modal__status {
  color: #4b5563;
  margin: 0;
  min-height: 22px;
}
.dashboard-modal__status[data-tone=error] {
  color: #b91c1c;
}
.dashboard-modal__actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.dashboard-section-heading {
  display: grid;
  gap: 4px;
  margin-bottom: 16px;
}
.dashboard-section-heading--split {
  align-items: end;
  gap: 8px 16px;
  grid-template-columns: minmax(0, 1fr) auto;
}
.dashboard-section-heading--split > * {
  min-width: 0;
}
.dashboard-section-heading__copy {
  display: grid;
  gap: 4px;
}
.dashboard-section-heading h2 {
  font-size: 1.4rem;
}
.state-inactive {
  opacity: 0.5;
}
.state-interaction-disabled {
  pointer-events: none;
}
.dashboard-copy,
.dashboard-inline-status {
  color: #5b677c;
  margin: 0 0 16px;
}
.dashboard-inline-status {
  margin: 16px 0 0;
  min-height: 24px;
}
.dashboard-inline-status[data-tone=success] {
  color: #166534;
}
.dashboard-inline-status[data-tone=error] {
  color: #b91c1c;
}
.dashboard-entry {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-bottom: 18px;
}
.dashboard-list {
  display: grid;
  gap: 10px;
}
.dashboard-skeleton {
  animation: dashboard-skeleton-pulse 1.4s ease-in-out infinite;
  background:
    linear-gradient(
      90deg,
      rgba(214, 220, 228, 0.72),
      rgba(232, 236, 242, 0.92),
      rgba(214, 220, 228, 0.72));
  background-size: 200% 100%;
  border-radius: 12px;
  display: block;
}
.dashboard-skeleton--avatar {
  border-radius: 999px;
  flex: 0 0 auto;
  height: 72px;
  width: 72px;
}
.dashboard-skeleton--input {
  min-height: 46px;
  width: 100%;
}
.dashboard-skeleton--button {
  min-height: 42px;
  min-width: 120px;
}
.dashboard-skeleton--button-small {
  min-width: 88px;
}
.dashboard-skeleton--toggle {
  border-radius: 999px;
  height: 30px;
  width: 30px;
}
.dashboard-skeleton--line {
  height: 14px;
}
.dashboard-skeleton--line-short {
  width: 72px;
}
.dashboard-skeleton--line-medium {
  width: 120px;
}
.dashboard-skeleton--line-wide {
  width: min(100%, 220px);
}
.dashboard-list__row--placeholder,
.dashboard-admin-table__row--placeholder {
  pointer-events: none;
}
.dashboard-list__row {
  align-items: center;
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(214, 220, 228, 0.92);
  border-radius: 14px;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 12px 14px;
}
.dashboard-list__text {
  color: #172133;
  font-weight: 500;
}
.dashboard-pagination {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 14px;
}
.dashboard-pagination__label {
  color: #5b677c;
  font-size: 0.86rem;
}
.vocab-row {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(10, minmax(0, 1fr));
}
.dashboard-vocabulary-board {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
  position: relative;
}
.vocab-header {
  align-items: end;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: space-between;
}
.vocab-header h1 {
  color: #172133;
  font-size: 1.58rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
}
.vocab-header__left {
  display: grid;
  gap: 8px;
}
.vocab-header .meta {
  color: #5b677c;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.45;
}
.vocab-meta {
  color: #64748b;
  font-size: 13px;
}
.vocab-header__summary {
  align-items: flex-end;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
.vocab-header__summary-item {
  --summary-ink: #172133;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 10px;
  display: grid;
  gap: 6px;
  justify-items: center;
  min-width: 96px;
  padding: 10px 14px;
  text-align: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.vocab-header__summary-item .label {
  color: var(--summary-ink);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
}
.vocab-header__summary-item .count {
  color: var(--summary-ink);
  font-size: 1.52rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}
.dashboard-vocabulary-board__controls {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
}
.container-filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}
.filters-left {
  align-items: center;
  display: flex;
  flex: 1 1 auto;
  gap: 8px;
  min-width: 0;
  overflow: visible;
}
.filter-chip {
  align-items: center;
  appearance: none;
  background: #f1f5f9;
  border: 0;
  border-radius: 999px;
  color: #334155;
  cursor: pointer;
  display: inline-flex;
  font-size: 13px;
  font-weight: 500;
  gap: 0;
  line-height: 1;
  min-height: 32px;
  padding: 6px 12px;
  transition:
    background-color 150ms ease,
    color 150ms ease,
    box-shadow 150ms ease;
  white-space: nowrap;
}
.filter-chip:hover {
  background: #e2e8f0;
}
.filter-chip:focus-visible {
  outline: 2px solid rgba(59, 130, 246, 0.26);
  outline-offset: 2px;
}
.filter-chip.active {
  background: #ffffff;
  color: #111827;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}
.filter-chip--static {
  cursor: default;
}
.filter-chip--static:hover {
  background: #f1f5f9;
}
.filter-chip.dropdown::after {
  content: "\25be";
  font-size: 10px;
  margin-left: 6px;
  transform: translateY(-0.5px);
}
.filter-chip-group {
  position: relative;
  flex-shrink: 0;
}
.filter-chip-menu {
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.26);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
  display: grid;
  gap: 2px;
  left: 0;
  margin-top: 6px;
  min-width: 148px;
  padding: 6px;
  position: absolute;
  top: 100%;
  z-index: 25;
}
.filter-chip-menu[hidden] {
  display: none;
}
.filters-right .filter-chip-menu {
  left: auto;
  right: 0;
}
.filter-chip-menu__option {
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: #334155;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  min-height: 30px;
  padding: 6px 8px;
  text-align: left;
  transition: background-color 120ms ease, color 120ms ease;
  width: 100%;
}
.filter-chip-menu__option:hover {
  background: #eef2f7;
  color: #0f172a;
}
.filter-chip-menu__option.is-selected {
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 600;
}
.filters-right {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  gap: 16px;
}
.filter-reset {
  appearance: none;
  background: none;
  border: 0;
  color: #64748b;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  padding: 0;
  transition: color 120ms ease, opacity 120ms ease;
}
.filter-reset:hover:not(:disabled) {
  color: #111827;
}
.filter-reset:disabled {
  cursor: default;
  opacity: 0.45;
}
.filter-chip-native {
  display: none !important;
}
.dashboard-vocabulary-board__mission,
.vocab-motivation {
  background: rgba(59, 130, 246, 0.06);
  border: 1px solid rgba(59, 130, 246, 0.14);
  border-radius: 10px;
  box-shadow: none;
  color: #1e40af;
  cursor: default;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.4;
  margin-top: 0;
  padding: 8px 12px;
  transition:
    background-color 140ms ease,
    border-color 140ms ease,
    box-shadow 140ms ease;
}
.dashboard-vocabulary-board__mission:hover,
.vocab-motivation:hover {
  background: rgba(59, 130, 246, 0.09);
  border-color: rgba(59, 130, 246, 0.2);
  box-shadow: none;
}
.dashboard-vocabulary-board__select--compact {
  min-height: 36px;
  min-width: 76px;
  padding: 0 8px;
}
.dashboard-vocabulary-board__bulk-action:hover:not(:disabled) {
  transform: translateY(-1px);
}
.dashboard-vocabulary-board__bulk-action:disabled {
  cursor: default;
  opacity: 0.48;
  transform: none;
}
.dashboard-vocabulary-board__selection-summary {
  color: #73829a;
  font-size: 0.78rem;
  font-weight: 500;
}
.dashboard-vocabulary-board__bulk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  min-width: 0;
}
.dashboard-vocabulary-board__bulk-action {
  appearance: none;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  color: #334155;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  min-height: 34px;
  padding: 0 11px;
  transition:
    transform 140ms ease,
    border-color 140ms ease,
    box-shadow 140ms ease,
    background-color 140ms ease;
}
.dashboard-vocabulary-board__status {
  margin: 0;
}
.lexicon-filter {
  display: grid;
  gap: 6px;
}
.dashboard-vocabulary-board__filter-label,
.lexicon-filter__label {
  color: #728197;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.dashboard-vocabulary-board__select,
.lexicon-select {
  appearance: none;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(214, 220, 228, 0.92);
  border-radius: 10px;
  color: #172133;
  font-size: 0.82rem;
  font-weight: 600;
  min-height: 34px;
  padding: 0 24px 0 10px;
}
.dashboard-vocabulary-board__select:focus,
.lexicon-select:focus {
  border-color: rgba(54, 89, 131, 0.42);
  outline: 2px solid rgba(54, 89, 131, 0.16);
  outline-offset: 1px;
}
@media (max-width: 860px) {
  .vocab-header {
    align-items: stretch;
  }
  .vocab-header__summary {
    justify-content: flex-start;
  }
}
.dashboard-vocabulary-board__grid {
  display: grid;
  column-gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(52px, 52px));
  justify-content: center;
  margin: 0 auto;
  max-width: calc((20 * 52px) + (19 * 8px));
  min-width: 0;
  padding: 10px 0 4px;
  row-gap: 10px;
  touch-action: pan-y;
  width: 100%;
  position: relative;
}
.selection-native-suppressed,
.selection-native-suppressed * {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}
.dashboard-vocabulary-board .selection-box {
  position: absolute;
  border: 1px solid rgba(59, 130, 246, 0.8);
  background: rgba(59, 130, 246, 0.12);
  border-radius: 6px;
  pointer-events: none;
  z-index: 20;
}
.dashboard-vocabulary-board .selection-actions {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
  cursor: grab;
  display: block;
  padding: 8px 32px 8px 8px;
  position: absolute;
  touch-action: none;
  user-select: none;
  z-index: 30;
}
.dashboard-vocabulary-board .selection-actions.is-dragging {
  cursor: grabbing;
}
.dashboard-vocabulary-board .selection-actions .selection-actions__close {
  align-items: center;
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: #475569;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 700;
  height: 20px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  position: absolute;
  right: 6px;
  top: 6px;
  width: 20px;
  z-index: 1;
}
.dashboard-vocabulary-board .selection-actions .selection-actions__close:hover {
  background: rgba(15, 23, 42, 0.08);
}
.dashboard-vocabulary-board__item,
.dashboard-vocabulary-board__tile {
  align-items: center;
  appearance: none;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  color: #111827;
  cursor: pointer;
  display: inline-flex;
  gap: 0;
  height: 52px;
  justify-content: center;
  min-height: 52px;
  outline: none;
  position: relative;
  padding: 0;
  transition:
    transform 80ms ease,
    box-shadow 120ms ease,
    background 120ms ease;
  user-select: none;
  width: 52px;
}
.dashboard-vocabulary-board__item:is(.card--unknown, .card--weak, .card--learned, .card--mastered),
.dashboard-vocabulary-board__tile:is(.card--unknown, .card--weak, .card--learned, .card--mastered),
.dashboard-vocabulary-board__bulk-action:is(.card--unknown, .card--weak, .card--learned, .card--mastered),
.vocab-header__summary-item:is(.state-unknown, .state-weak, .state-learned, .state-mastered),
.dashboard-vocabulary-summary :is(.card--unknown, .card--weak, .card--learned, .card--mastered, .state-unknown, .state-weak, .state-learned, .state-mastered) {
  --summary-ink: var(--vocab-state-color);
  background: var(--vocab-state-bg);
  border-color: var(--vocab-state-border);
  color: var(--vocab-state-color);
}
.dashboard-vocabulary-board__item.card--unknown,
.dashboard-vocabulary-board__tile.card--unknown {
  box-shadow: none;
}
.dashboard-vocabulary-board__item.card--weak,
.dashboard-vocabulary-board__tile.card--weak {
  box-shadow: 0 1px 2px rgba(59, 130, 246, 0.05);
}
.dashboard-vocabulary-board__item.card--learned,
.dashboard-vocabulary-board__tile.card--learned {
  box-shadow: 0 1px 2px rgba(16, 185, 129, 0.06);
}
.dashboard-vocabulary-board__item.card--mastered,
.dashboard-vocabulary-board__tile.card--mastered {
  box-shadow: 0 2px 3px rgba(5, 150, 105, 0.12);
}
.dashboard-vocabulary-board__tile--wide {
  grid-column: span 2;
  width: auto;
}
.dashboard-vocabulary-board__tile--selected {
  outline: 2px solid rgba(32, 50, 77, 0.24);
  outline-offset: 1px;
}
.dashboard-vocabulary-board__tile.is-selected {
  outline: 2px solid #3b82f6;
  outline-offset: -2px;
  transform: scale(0.96);
}
.dashboard-vocabulary-board__tile--pending {
  opacity: 0.72;
}
.card--unknown,
.state-unknown {
  --vocab-state-bg: #ffffff;
  --vocab-state-border: rgba(15, 23, 42, 0.04);
  --vocab-state-color: #475569;
}
.card--weak,
.state-weak {
  --vocab-state-bg: #e8f0ff;
  --vocab-state-border: rgba(59, 130, 246, 0.22);
  --vocab-state-color: #1d4ed8;
}
.card--learned,
.state-learned {
  --vocab-state-bg: #e6f7ef;
  --vocab-state-border: rgba(16, 185, 129, 0.2);
  --vocab-state-color: #065f46;
}
.card--mastered,
.state-mastered {
  --vocab-state-bg: #c7f2db;
  --vocab-state-border: rgba(5, 150, 105, 0.4);
  --vocab-state-color: #022c22;
}
.dashboard-vocabulary-board__item:hover:not(:disabled),
.dashboard-vocabulary-board__tile:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}
.dashboard-vocabulary-board__item:active:not(:disabled),
.dashboard-vocabulary-board__tile:active:not(:disabled) {
  transform: scale(0.98);
}
.dashboard-vocabulary-board__tile:focus,
.dashboard-vocabulary-board__tile:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}
.dashboard-vocabulary-board__tile:disabled {
  cursor: progress;
  opacity: 0.78;
  transform: none;
}
.dashboard-vocabulary-board__tile--placeholder {
  background: rgba(76, 103, 245, 0.38);
  border-color: rgba(71, 96, 231, 0.42);
  box-shadow: none;
  cursor: default;
  pointer-events: none;
}
.dashboard-vocabulary-board__tile--empty {
  background: rgba(248, 250, 252, 0.92);
  border: 1px solid rgba(214, 220, 228, 0.92);
  border-radius: 12px;
  display: flex;
  flex-basis: 100%;
  justify-content: flex-start;
  min-height: 0;
  padding: 14px 16px;
  width: 100%;
}
.dashboard-vocabulary-board__tile--empty .dashboard-copy {
  margin: 0;
}
.dashboard-vocabulary-board__term {
  color: inherit;
  font-family:
    "PingFang SC",
    "Noto Sans SC",
    "Microsoft YaHei",
    -apple-system,
    BlinkMacSystemFont,
    system-ui,
    sans-serif;
  font-size: 16px;
  font-weight: 600;
  -moz-osx-font-smoothing: auto;
  -webkit-font-smoothing: subpixel-antialiased;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  text-rendering: optimizeLegibility;
  white-space: nowrap;
}
.lexicon-card--vocabulary {
  display: grid;
  gap: 18px;
}
.lexicon-card--vocabulary > * {
  min-width: 0;
}
.lexicon-page-header {
  display: grid;
  gap: 12px;
}
.lexicon-page-header__summary {
  justify-content: flex-start;
}
.lexicon-card__heading {
  margin-bottom: 0;
}
.lexicon-filter-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}
.lexicon-count-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 18px;
}
.lexicon-count-card {
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(214, 220, 228, 0.92);
  border-radius: 16px;
  display: grid;
  gap: 6px;
  min-height: 88px;
  padding: 14px 16px;
}
.lexicon-count-card__label {
  color: #5b677c;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.lexicon-count-card__value {
  color: #172133;
  font-size: 1.7rem;
  line-height: 1;
}
.lexicon-list {
  display: grid;
  gap: 10px;
}
.lexicon-row {
  align-items: center;
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(214, 220, 228, 0.92);
  border-left: 4px solid var(--lexicon-level-color, #94A3B8);
  border-radius: 14px;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding: 14px 16px;
}
.lexicon-row--empty {
  border-left-color: rgba(214, 220, 228, 0.92);
  justify-content: flex-start;
}
.lexicon-row__term {
  color: #172133;
  font-size: 1.05rem;
  font-weight: 700;
}
.lexicon-row__meta {
  color: #5b677c;
  font-size: 0.92rem;
  text-align: right;
}
.hsk-level-1 {
  --lexicon-level-color: var(--hsk-level-1-color);
}
.hsk-level-2 {
  --lexicon-level-color: var(--hsk-level-2-color);
}
.hsk-level-3 {
  --lexicon-level-color: var(--hsk-level-3-color);
}
.hsk-level-4 {
  --lexicon-level-color: var(--hsk-level-4-color);
}
.hsk-level-5 {
  --lexicon-level-color: var(--hsk-level-5-color);
}
.hsk-level-6 {
  --lexicon-level-color: var(--hsk-level-6-color);
}
.hsk-level-7-9 {
  --lexicon-level-color: var(--hsk-level-7-9-color);
}
.hsk-level-non-hsk {
  --lexicon-level-color: var(--hsk-level-non-hsk-color);
}

/* v2/website/src/styles/website/home.css */
.home-shell {
  background: var(--website-pricing-surface);
  min-height: 100vh;
  padding: 0 var(--website-page-gutter) var(--website-page-gutter);
  position: relative;
}
.home-shell::before {
  display: none;
}
.home-shell .home-topbar__inner {
  padding: 0 var(--website-page-gutter);
}
.home-topbar,
.home-topbar__inner,
.home-topbar__actions {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
}
.home-topbar {
  backdrop-filter: blur(8px);
  border-radius: 0;
  overflow: visible;
  margin: 0 -24px;
  max-width: none;
  padding: 20px 0;
  position: sticky;
  top: 0;
  width: auto;
  z-index: 20;
}
.home-topbar--authenticated {
  padding: 20px 0;
}
.home-topbar__inner {
  box-sizing: border-box;
  gap: 12px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--home-topbar-content-max-width, 1148px);
  overflow: visible;
  padding: 0 54px;
  scrollbar-width: none;
  width: 100%;
}
.home-topbar--authenticated .home-topbar__inner {
  min-height: 52px;
}
.home-topbar__inner::-webkit-scrollbar {
  display: none;
}
.home-topbar .home-topbar__mobile-primary,
.home-topbar .home-topbar__toggle,
.home-topbar .home-topbar__mobile-panel {
  display: none;
}
.home-topbar__toggle {
  align-items: center;
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: #152845;
  cursor: pointer;
  flex: 0 0 auto;
  height: 46px;
  justify-content: center;
  padding: 0;
  position: relative;
  transition: color 0.18s ease, opacity 0.18s ease;
  width: 46px;
  z-index: 110;
}
.home-topbar__toggle:hover,
.home-topbar__toggle:focus-visible {
  background: transparent;
  box-shadow: none;
  opacity: 0.78;
  outline: none;
}
.home-topbar__toggle-line {
  background: currentColor;
  border-radius: 999px;
  display: block;
  height: 2px;
  left: 50%;
  position: absolute;
  top: 50%;
  transition: transform 0.18s ease, opacity 0.18s ease;
  width: 16px;
}
.home-topbar__toggle-line:nth-child(1) {
  transform: translate(-50%, calc(-50% - 6px));
}
.home-topbar__toggle-line:nth-child(2) {
  transform: translate(-50%, -50%);
}
.home-topbar__toggle-line:nth-child(3) {
  transform: translate(-50%, calc(-50% + 6px));
}
.home-topbar__mobile-panel {
  align-items: center;
  background: #f7fbff;
  box-sizing: border-box;
  flex-direction: column;
  gap: 18px;
  height: 100dvh;
  inset: 0;
  justify-content: flex-start;
  min-height: 100dvh;
  overflow-y: auto;
  padding: 112px 16px 34px;
  position: fixed;
  width: 100vw;
  z-index: 90;
}
.home-topbar__mobile-links {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 18px;
  justify-content: flex-start;
  margin: 0 auto;
  width: min(100%, 320px);
}
.home-topbar__mobile-link {
  align-items: center;
  background: transparent;
  border: 0;
  color: #20395f;
  display: inline-flex;
  font-size: 22px;
  font-weight: 700;
  justify-content: center;
  line-height: 1.2;
  min-height: 0;
  padding: 0;
  text-align: center;
  text-decoration: none;
}
.home-topbar__mobile-link:hover,
.home-topbar__mobile-link:focus-visible {
  color: #15213b;
  outline: none;
}
.home-topbar__mobile-link.is-active {
  color: #152845;
}
.home-topbar__mobile-actions {
  align-self: center;
  display: grid;
  gap: 14px;
  margin-top: auto;
  padding-top: 40px;
  width: min(100%, 360px);
}
.home-topbar__mobile-cta {
  justify-content: center;
  min-height: 56px;
  width: 100%;
}
.home-topbar__mobile-cta.button-primary {
  font-size: 16px;
  font-weight: 500;
  height: 56px;
  min-height: 56px;
  margin: 0 auto;
  padding: 0 18px;
  width: calc(100% - 32px);
}
.home-topbar__mobile-cta--secondary {
  align-items: center;
  background: transparent;
  border: 1px solid rgba(21, 33, 59, 0.16);
  border-radius: 12px;
  color: #20395f;
  display: inline-flex;
  font-size: 14px;
  font-weight: 600;
  justify-content: center;
  justify-self: center;
  min-height: 48px;
  margin: 0 auto;
  padding: 0 28px;
  text-decoration: none;
  transition: all 0.16s ease;
  width: calc(100% - 32px);
}
.home-topbar__mobile-cta--secondary:hover,
.home-topbar__mobile-cta--secondary:focus-visible {
  background: rgba(21, 33, 59, 0.08);
  border-color: rgba(21, 33, 59, 0.16);
  color: #20395f;
  outline: none;
}
.home-topbar__mobile-socials {
  display: flex;
  gap: 18px;
  justify-content: center;
  margin-top: 10px;
}
.home-topbar__mobile-social {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: #244163;
  display: inline-flex;
  flex: 0 0 44px;
  height: 44px;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0;
  text-decoration: none;
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
  width: 44px;
}
.home-topbar__mobile-social svg {
  display: block;
  fill: currentColor;
  flex: 0 0 auto;
  height: 28px;
  width: 28px;
}
.home-topbar__mobile-social--facebook svg {
  height: 25px;
  width: 25px;
}
.home-topbar__mobile-social--xhs svg {
  height: 30px;
  transform: scale(1.34);
  transform-origin: center;
  width: 30px;
}
.home-topbar__mobile-social--youtube svg {
  transform: scale(1.12);
  transform-origin: center;
}
.home-topbar__mobile-social:hover,
.home-topbar__mobile-social:focus-visible {
  background: transparent;
  color: #152845;
  outline: none;
}
.home-topbar.is-open {
  z-index: 120;
}
.home-topbar.is-open .home-topbar__inner {
  display: grid;
  gap: 0;
  grid-template-columns: minmax(46px, 1fr) auto minmax(46px, 1fr);
  position: relative;
  z-index: 110;
}
.home-topbar.is-open .home-topbar__brand {
  grid-column: 2;
  justify-self: center;
}
.home-topbar.is-open .home-topbar__actions,
.home-topbar.is-open .home-topbar__mobile-primary {
  display: none !important;
}
.home-topbar.is-open .home-topbar__auth-nav,
.home-topbar.is-open .home-topbar__auth-side {
  display: none;
}
.home-topbar.is-open .home-topbar__toggle {
  display: inline-flex;
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
}
.home-topbar.is-open .home-topbar__mobile-panel {
  display: flex;
}
.home-topbar.is-open .home-topbar__toggle-line:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}
.home-topbar.is-open .home-topbar__toggle-line:nth-child(2) {
  opacity: 0;
  transform: translate(-50%, -50%);
}
.home-topbar.is-open .home-topbar__toggle-line:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.home-topbar__brand {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 44px;
  text-decoration: none;
}
.home-topbar__brand-mark {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 6px;
  white-space: nowrap;
}
.home-topbar__brand-icon {
  display: block;
  flex: 0 0 auto;
  height: 42px;
  width: 42px;
}
.home-topbar__brand-wordmark {
  color: #152845;
  flex: 0 0 auto;
  font-family:
    "SF Pro Display",
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    system-ui,
    sans-serif;
  font-size: clamp(25px, 2.1vw, 30px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}
.home-topbar__actions {
  flex: 0 0 auto;
  gap: 8px;
  margin-left: auto;
  white-space: nowrap;
}
.home-topbar__auth-nav {
  align-items: center;
  display: flex;
  gap: 8px;
  margin-left: 18px;
  min-width: 0;
  white-space: nowrap;
}
.home-topbar__auth-side {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  gap: 8px;
  flex-wrap: nowrap;
  margin-left: auto;
  min-width: 0;
}
.home-topbar--authenticated .topbar__left {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  flex-wrap: nowrap;
  min-width: 0;
}
.home-topbar--authenticated .topbar__right {
  align-items: center;
  display: flex;
  gap: 8px;
}
.home-topbar__auth-context {
  display: flex;
  align-items: center;
  border-right: 1px solid rgba(21, 33, 59, 0.1);
  flex: 0 0 auto;
  justify-content: flex-end;
  margin-right: 0;
  min-width: 0;
  padding-right: 10px;
}
.home-topbar__auth-context .dashboard-topbar-panel {
  width: auto;
}
.home-topbar__account {
  flex: 0 0 auto;
  margin-left: 4px;
  position: relative;
  z-index: 130;
}
.home-topbar--authenticated .avatar {
  flex-shrink: 0;
  margin-left: 4px;
}
.home-topbar__avatar-trigger {
  align-items: center;
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  line-height: 0;
  padding: 0;
}
.home-topbar__avatar-frame {
  padding: 0;
}
.home-topbar__avatar-image {
  border-radius: 50%;
  display: block;
  height: 40px;
  object-fit: cover;
  width: 40px;
}
.home-topbar__avatar-trigger:focus-visible {
  outline: 2px solid rgba(59, 130, 246, 0.3);
  outline-offset: 4px;
}
.home-topbar__account-menu {
  background: rgba(255, 253, 250, 0.98);
  border: 1px solid rgba(21, 33, 59, 0.1);
  border-radius: 20px;
  box-shadow: 0 22px 46px rgba(18, 32, 58, 0.14);
  display: grid;
  gap: 4px;
  min-width: 212px;
  padding: 8px;
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  z-index: 160;
}
.home-topbar__account-menu[hidden] {
  display: none;
}
.home-topbar__account-item {
  align-items: flex-start;
  background: transparent;
  border: 0;
  border-radius: 14px;
  color: #152845;
  cursor: pointer;
  display: flex;
  font-size: 14px;
  font-weight: 600;
  justify-content: flex-start;
  min-height: 56px;
  padding: 10px 14px;
  text-align: left;
  transition: background 0.18s ease, color 0.18s ease;
  width: 100%;
}
.home-topbar__account-item:hover,
.home-topbar__account-item:focus-visible,
.home-topbar__account.is-open .home-topbar__avatar-trigger .home-topbar__avatar-frame {
  background: rgba(222, 228, 237, 0.76);
}
.home-topbar__account-item:focus-visible {
  outline: none;
}
.home-topbar__account-copy {
  display: grid;
  gap: 4px;
}
.home-topbar__account-title {
  color: #152845;
  line-height: 1.1;
}
.home-topbar__account-description {
  color: #64748b;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
}
.home-topbar__account-item--danger .home-topbar__account-title {
  color: #b42318;
}
.home-topbar__account-item--danger .home-topbar__account-description {
  color: #b54708;
}
.home-topbar__link {
  align-items: center;
  border: none;
  border-radius: 12px;
  color: #244163;
  display: inline-flex;
  font-size: 13px;
  font-weight: 600;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  text-decoration: none;
  transition: all 0.16s ease;
}
.home-topbar__link:hover,
.home-topbar__link:focus-visible {
  background: #dee4ed;
  color: #152845;
}
.home-topbar__cta.button-primary {
  background: #3b82f6;
  border-color: transparent;
  border-radius: 12px;
  box-shadow: none;
  color: #ffffff;
  height: 44px;
  min-height: 44px;
  text-decoration: none;
  white-space: nowrap;
}
.home-topbar__cta.button-primary:hover,
.home-topbar__cta.button-primary:focus-visible {
  background: #3478e5;
  border-color: transparent;
  color: #ffffff;
}
.home-topbar__cta.button-primary:active {
  background: #2f6fd8;
  border-color: transparent;
  color: #ffffff;
}
@media (max-width: 960px) {
  .home-topbar__actions {
    display: none;
  }
  .home-topbar__auth-nav {
    display: none;
  }
  .home-topbar__auth-side {
    display: none;
  }
  .home-topbar__brand-wordmark {
    display: none;
  }
  .home-topbar__inner {
    display: grid;
    gap: 0;
    grid-template-columns: minmax(0, 1fr) auto auto;
  }
  .home-shell .home-topbar__inner,
  .dashboard-page-shell .home-topbar__inner,
  .pricing-shell .home-topbar__inner {
    padding: 0 var(--website-page-gutter);
  }
  .home-topbar .home-topbar__mobile-primary,
  .home-topbar .home-topbar__toggle {
    display: inline-flex;
  }
  .home-topbar__mobile-primary {
    justify-self: end;
  }
  .home-topbar__toggle {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }
  .home-topbar--authenticated .home-topbar__mobile-primary {
    display: none;
  }
  .home-topbar--authenticated .home-topbar__brand {
    grid-column: 1;
    grid-row: 1;
  }
  .home-topbar--authenticated .home-topbar__account {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    margin-left: 0;
  }
  .home-topbar--authenticated .home-topbar__auth-side {
    display: contents;
  }
  .home-topbar--authenticated .home-topbar__auth-context {
    display: block;
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 8px;
  }
  .home-topbar--authenticated .home-topbar__auth-context .dashboard-topbar-panel {
    width: 100%;
  }
  .home-topbar--authenticated .home-topbar__account-menu {
    right: 0;
    top: calc(100% + 10px);
  }
}
@media (max-width: 960px) and (min-width: 769px) {
  .home-topbar--authenticated .home-topbar__inner {
    display: flex;
    gap: 12px;
    grid-template-columns: none;
  }
  .home-topbar--authenticated .home-topbar__toggle,
  .home-topbar--authenticated .home-topbar__mobile-primary {
    display: none;
  }
  .home-topbar--authenticated .home-topbar__auth-side {
    align-items: center;
    display: flex;
    margin-left: auto;
  }
  .home-topbar--authenticated .home-topbar__auth-context {
    border-right: 1px solid rgba(21, 33, 59, 0.1);
    display: flex;
    margin-top: 0;
    padding-right: 10px;
  }
}
.home-hero {
  margin: 0 auto;
  max-width: 1100px;
  padding: clamp(40px, 8vw, 88px) 0 30px;
  position: relative;
  z-index: 1;
}
.home-hero__eyebrow {
  color: #49688c;
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.home-hero__title {
  color: #152845;
  font-size: clamp(40px, 6.2vw, 84px);
  letter-spacing: -0.04em;
  line-height: 0.94;
  margin: 14px 0 0;
  max-width: 11ch;
}
.home-hero__copy {
  color: #3e536f;
  font-size: clamp(16px, 2.2vw, 21px);
  line-height: 1.62;
  margin: 20px 0 0;
  max-width: 760px;
}
.home-hero__actions {
  align-items: center;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 26px;
}
.home-feature-stream {
  border-top: 1px solid rgba(168, 187, 214, 0.68);
  display: grid;
  gap: 0;
  margin: 0 auto;
  max-width: 1100px;
  padding-bottom: 72px;
  position: relative;
  z-index: 1;
}
.home-feature-stream__lane {
  border-bottom: 1px solid rgba(168, 187, 214, 0.64);
  display: grid;
  gap: 12px;
  padding: 24px 0;
  position: relative;
}
.home-feature-stream__lane::before {
  background:
    linear-gradient(
      180deg,
      #3b82f6 0%,
      #38bdf8 100%);
  border-radius: 12px;
  content: "";
  height: calc(100% - 16px);
  left: -16px;
  opacity: 0.48;
  position: absolute;
  top: 8px;
  width: 4px;
}
.home-feature-stream__lane h2 {
  color: #152845;
  font-size: clamp(24px, 3.2vw, 36px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0;
}
.home-feature-stream__lane p {
  color: #445871;
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.7;
  margin: 0;
  max-width: 980px;
}
@media (max-width: 640px) {
  .home-shell {
    padding: 0 var(--website-page-gutter-mobile) var(--website-page-gutter-mobile);
  }
  .home-topbar {
    border-radius: 0;
    margin: 0 calc(var(--website-page-gutter-mobile) * -1);
    padding: 10px 0;
    top: 0;
  }
  .home-topbar__inner {
    gap: 0;
    padding: 0 var(--website-page-gutter-mobile);
  }
  .dashboard-page-shell .home-topbar__inner {
    padding: 0 var(--website-page-gutter-mobile);
  }
  .home-topbar__brand-mark {
    gap: 6px;
  }
  .home-topbar__mobile-panel {
    padding: 106px 16px 30px;
  }
  .home-topbar__link {
    font-size: 12px;
  }
  .home-topbar__link {
    padding: 0 8px;
  }
  .home-topbar__cta,
  .home-hero__cta {
    font-size: 12px;
    padding: 0 12px;
  }
  .home-topbar__mobile-cta {
    padding: 0 18px;
  }
  .home-hero {
    padding-top: 34px;
  }
  .home-hero__title {
    max-width: 14ch;
  }
  .home-feature-stream {
    padding-bottom: 48px;
  }
  .home-feature-stream__lane::before {
    left: -10px;
  }
}

/* v2/website/src/styles/website/pricing.css */
.pricing-shell {
  background: var(--website-pricing-surface);
  min-height: 100vh;
  padding: 0 var(--website-page-gutter) var(--website-page-gutter);
}
.home-topbar__link.is-active {
  background: #dee4ed;
  color: #152845;
}
.pricing-hero,
.pricing-grid {
  margin: 0 auto;
  max-width: 1100px;
}
.pricing-hero {
  padding: clamp(38px, 7vw, 76px) 0 26px;
}
.pricing-hero__eyebrow {
  color: #4b5f7f;
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.pricing-hero__title {
  color: #152845;
  font-size: clamp(40px, 5.4vw, 72px);
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin: 14px 0 0;
  max-width: 13ch;
}
.pricing-hero__copy {
  color: #425873;
  font-size: clamp(16px, 2.1vw, 20px);
  line-height: 1.6;
  margin: 18px 0 0;
  max-width: 760px;
}
.pricing-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-bottom: 68px;
}
.pricing-tier {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(189, 208, 233, 0.72);
  border-radius: 12px;
  display: grid;
  gap: 10px;
  padding: 18px;
}
.pricing-tier--featured {
  background: rgba(219, 234, 254, 0.68);
  border-color: rgba(96, 165, 250, 0.74);
}
.pricing-tier h2 {
  color: #152845;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 0;
}
.pricing-tier__price {
  color: #1d4ed8;
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}
.pricing-tier p {
  color: #425873;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .pricing-shell {
    padding: 0 var(--website-page-gutter-mobile) var(--website-page-gutter-mobile);
  }
}

/* v2/website/src/styles/website/learner-rank-badges.css */
.dashboard-profile-meta__level {
  align-items: center;
  border: 0;
  border-radius: 8px;
  color: #0f172a;
  display: inline-flex;
  font-size: 11px;
  font-weight: 600;
  justify-self: start;
  line-height: 1;
  min-height: 22px;
  padding: 2px 8px;
}
.dashboard-profile-meta__level.is-newbie {
  background: #bfdbfe;
  color: #1e3a8a;
}
.dashboard-profile-meta__level.is-elementary {
  background: #b7f7da;
  color: #065f46;
}
.dashboard-profile-meta__level.is-intermediate {
  background: #9ae6d7;
  color: #115e59;
}
.dashboard-profile-meta__level.is-upper-intermediate {
  background: #fde68a;
  color: #713f12;
}
.dashboard-profile-meta__level.is-advanced {
  background: #fcd34d;
  color: #78350f;
}
.dashboard-profile-meta__level.is-master {
  background: #fbbf24;
  color: #7c2d12;
}
.dashboard-profile-meta__level.is-expert {
  background: #f59e0b;
  color: #7c2d12;
}

/* v2/website/src/styles/website/admin.css */
.dashboard-shell:has(.dashboard-admin-control-card) {
  grid-template-columns: minmax(0, 1fr);
  justify-items: stretch;
  max-width: 1600px;
  width: 100%;
}
.dashboard-admin-card {
  display: grid;
  gap: 12px;
}
.dashboard-admin-control-card {
  --admin-copy-stack-gap: 6px;
  --admin-font-sans:
    "Inter",
    "Avenir Next",
    "PingFang SC",
    sans-serif;
  --admin-font-display:
    "Inter",
    "Avenir Next",
    "PingFang SC",
    sans-serif;
  color: #172133;
  font-family: var(--admin-font-sans);
  gap: 0;
  justify-self: stretch;
  max-width: 1600px;
  padding-bottom: 24px;
  text-rendering: optimizeLegibility;
  width: 100%;
}
.dashboard-admin-control-card__header {
  align-items: start;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) auto;
}
.dashboard-admin-control-card__heading {
  gap: var(--admin-copy-stack-gap);
  margin-bottom: 0;
  padding-block: 4px;
}
.dashboard-admin-control-card__header-actions {
  display: flex;
  justify-content: flex-end;
}
.dashboard-admin-control-card__heading h2 {
  font-family: var(--admin-font-display);
  font-size: clamp(2rem, 2.45vw, 2.45rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.04;
}
.dashboard-admin-control-card .dashboard-kicker {
  color: #365983;
  font-family: var(--admin-font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.dashboard-admin-control-card .dashboard-copy {
  color: #526074;
  font-family: var(--admin-font-sans);
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.45;
}
.dashboard-admin-control-card__heading .dashboard-copy {
  margin: 0;
  max-width: 52ch;
}
.dashboard-admin-control-card__tabs {
  align-items: end;
  border-bottom: 1px solid rgba(214, 220, 228, 0.88);
  display: flex;
  gap: 10px;
  padding: 0;
}
.dashboard-admin-control-tab {
  align-items: center;
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 12px;
  color: #5b677c;
  cursor: pointer;
  display: inline-flex;
  font-family: var(--admin-font-sans);
  font-size: 1.07rem;
  font-weight: 600;
  gap: 10px;
  letter-spacing: -0.01em;
  line-height: 1.12;
  margin-bottom: -1px;
  min-height: 58px;
  padding: 0 18px;
}
.dashboard-admin-control-tab:hover {
  color: #243b5a;
}
.dashboard-admin-control-tab.is-active {
  background: rgba(232, 240, 252, 0.92);
  border-bottom-color: #2563eb;
  color: #172133;
}
.dashboard-admin-control-tab__icon {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  height: 18px;
  justify-content: center;
  width: 18px;
}
.dashboard-admin-control-tab__icon svg {
  display: block;
  height: 100%;
  width: 100%;
}
.dashboard-admin-control-card__content {
  display: grid;
  gap: 18px;
  padding-top: 18px;
  position: relative;
}
.dashboard-admin-control-card__back-button {
  align-items: center;
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 600;
  justify-content: center;
  letter-spacing: -0.01em;
  line-height: 1.1;
  min-height: 42px;
  white-space: nowrap;
}
.dashboard-admin-panel {
  align-content: start;
  display: grid;
  gap: 16px;
}
.dashboard-admin-panel[hidden] {
  display: none !important;
}
.dashboard-admin-panel__intro {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: auto minmax(0, 1fr);
}
.dashboard-admin-panel__icon {
  align-items: center;
  background: rgba(232, 240, 252, 0.9);
  border-radius: 14px;
  color: #4f7cff;
  display: inline-flex;
  flex: 0 0 auto;
  height: 48px;
  justify-content: center;
  width: 48px;
}
.dashboard-admin-panel__icon svg {
  display: block;
  height: 22px;
  width: 22px;
}
.dashboard-admin-panel__intro-copy {
  align-content: center;
  display: grid;
  gap: var(--admin-copy-stack-gap);
}
.dashboard-admin-panel__intro-copy h3 {
  color: #172133;
  font-family: var(--admin-font-display);
  font-size: 1.64rem;
  font-weight: 700;
  letter-spacing: -0.032em;
  line-height: 1.05;
  margin: 0;
}
.dashboard-admin-panel__intro-copy .dashboard-copy {
  font-size: 0.96rem;
  letter-spacing: -0.012em;
  line-height: 1.34;
  margin: 0;
}
.dashboard-admin-panel__meta {
  color: #5b677c;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin: 0;
}
.dashboard-admin-panel__footer {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-top: 0;
}
.dashboard-card--collapsible {
  display: grid;
  gap: 12px;
}
.dashboard-admin-control-card.dashboard-card--collapsible {
  gap: 0;
}
.dashboard-card__header--collapsible {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  min-height: 32px;
  padding-right: 42px;
  position: relative;
}
.dashboard-card__content[hidden] {
  display: none !important;
}
.dashboard-card__collapse-toggle {
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: #526074;
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0;
  font-weight: 700;
  height: 24px;
  justify-content: center;
  line-height: 0;
  padding: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 32px;
}
.dashboard-card__collapse-toggle::before,
.dashboard-card__collapse-toggle::after {
  background: currentColor;
  border-radius: 999px;
  content: "";
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 120ms ease, background-color 120ms ease;
}
.dashboard-card__collapse-toggle::before {
  height: 2px;
  width: 18px;
}
.dashboard-card__collapse-toggle::after {
  height: 18px;
  opacity: 0;
  width: 2px;
}
.dashboard-card__collapse-toggle[aria-expanded=false]::after {
  height: 16px;
  opacity: 1;
}
.dashboard-card__collapse-toggle[aria-expanded=false]::before {
  width: 16px;
}
.dashboard-card__collapse-toggle:hover {
  color: #243b5a;
}
.dashboard-card__collapse-toggle:focus-visible {
  outline: 2px solid rgba(47, 75, 115, 0.35);
  outline-offset: 2px;
}
.dashboard-card--collapsible.is-collapsed {
  gap: 0;
  padding-bottom: 20px;
  padding-top: 20px;
}
.dashboard-card--collapsible.is-collapsed .dashboard-card__header--collapsible {
  min-height: 0;
}
.dashboard-card--collapsible.is-collapsed .dashboard-section-heading {
  gap: 2px;
  margin-bottom: 0;
}
.dashboard-admin-table-wrap {
  border: 1px solid rgba(214, 220, 228, 0.92);
  border-radius: 14px;
  overflow-x: auto;
}
.dashboard-admin-table {
  border-collapse: collapse;
  min-width: 780px;
  width: 100%;
}
.dashboard-admin-table th,
.dashboard-admin-table td {
  border-bottom: 1px solid rgba(214, 220, 228, 0.8);
  text-align: left;
}
.dashboard-admin-table th {
  background: rgba(248, 250, 252, 0.9);
  color: #172133;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.1;
  padding: 12px 20px;
  vertical-align: middle;
  white-space: nowrap;
}
.dashboard-admin-table td {
  color: #172133;
  font-size: 0.97rem;
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.28;
  padding: 18px 20px;
  vertical-align: top;
}
.dashboard-admin-table td.dashboard-admin-table__cell--metric {
  vertical-align: middle;
}
.dashboard-admin-table__cell--days-since {
  white-space: nowrap;
}
.dashboard-admin-days-since {
  color: #172133;
  display: inline-block;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
  white-space: nowrap;
}
.dashboard-admin-table tr:last-child td {
  border-bottom: 0;
}
.dashboard-admin-table__row--placeholder td {
  vertical-align: middle;
}
.dashboard-admin-toolbar {
  align-items: end;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 410px) auto;
  margin-top: 0;
}
.dashboard-admin-panel .dashboard-inline-status:empty {
  display: none;
}
.dashboard-admin-pagination {
  align-items: center;
  display: inline-flex;
  gap: 10px;
  justify-content: flex-end;
}
.dashboard-admin-pagination__button {
  min-height: 38px;
  padding: 8px 16px;
}
.dashboard-admin-pagination__button[disabled] {
  cursor: not-allowed;
  opacity: 0.58;
}
.dashboard-admin-pagination__page {
  align-items: center;
  appearance: none;
  border: 0;
  display: inline-flex;
  font-size: 0.95rem;
  height: 38px;
  justify-content: center;
  min-width: 38px;
  padding: 0 12px;
}
.dashboard-admin-toolbar__field {
  display: grid;
  gap: 6px;
}
.dashboard-admin-toolbar__field > span:first-child {
  color: #172133;
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.dashboard-admin-toolbar__field--compact {
  min-width: 0;
}
.dashboard-admin-toolbar__search {
  display: block;
  position: relative;
}
.dashboard-admin-toolbar__search-icon {
  align-items: center;
  color: #8d98aa;
  display: inline-flex;
  height: 18px;
  justify-content: center;
  left: 14px;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
}
.dashboard-admin-toolbar__search-icon svg {
  display: block;
  height: 100%;
  width: 100%;
}
.dashboard-admin-toolbar__input {
  min-height: 42px;
  padding: 10px 12px;
}
.dashboard-admin-toolbar__search .dashboard-admin-toolbar__input {
  padding-left: 42px;
  width: 100%;
}
.dashboard-admin-control-card .dashboard-input::placeholder {
  color: #8d98aa;
  font-weight: 500;
}
.dashboard-admin-view-menu.dashboard-admin-method-menu {
  position: relative;
  width: 100%;
}
.dashboard-admin-view-menu.dashboard-admin-method-menu summary {
  align-items: center;
  background: #ffffff;
  border: 1px solid #d8e0e8;
  border-radius: 12px;
  color: #172133;
  cursor: pointer;
  display: flex;
  font-size: 0.98rem;
  font-weight: 500;
  justify-content: space-between;
  list-style: none;
  min-height: 42px;
  padding: 0 12px;
  width: 100%;
}
.dashboard-admin-view-menu.dashboard-admin-method-menu summary:hover {
  border-color: rgba(96, 165, 250, 0.42);
}
.dashboard-admin-view-menu.dashboard-admin-method-menu[open] summary {
  border-color: #2f4b73;
  box-shadow: 0 0 0 3px rgba(47, 75, 115, 0.12);
}
.dashboard-admin-method-menu__summary-label {
  font-weight: 400;
  min-width: 0;
}
.dashboard-admin-view-menu.dashboard-admin-method-menu .dashboard-admin-method-menu__panel {
  left: 0;
  right: auto;
  top: calc(100% + 8px);
  width: 100%;
}
.dashboard-admin-method-menu__list {
  gap: 8px;
}
.dashboard-admin-method-menu__option {
  appearance: none;
  background: rgba(248, 250, 252, 0.92);
  border: 1px solid rgba(214, 220, 228, 0.92);
  border-radius: 12px;
  color: #172133;
  cursor: pointer;
  font: inherit;
  padding: 10px 12px;
  text-align: left;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
  width: 100%;
}
.dashboard-admin-method-menu__option:hover {
  border-color: rgba(96, 165, 250, 0.42);
}
.dashboard-admin-method-menu__option.is-selected {
  background: rgba(219, 234, 254, 0.8);
  border-color: rgba(96, 165, 250, 0.54);
  box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.28);
}
.dashboard-admin-view-menu {
  position: relative;
}
.dashboard-admin-view-menu summary {
  align-items: center;
  appearance: none;
  background: rgba(36, 59, 90, 0.08);
  border: 1px solid rgba(36, 59, 90, 0.16);
  border-radius: 12px;
  color: #243b5a;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 600;
  gap: 8px;
  justify-content: center;
  list-style: none;
  min-height: 42px;
  padding: 0 14px;
  white-space: nowrap;
}
.dashboard-admin-view-menu__summary-icon {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  height: 20px;
  justify-content: center;
  width: 20px;
}
.dashboard-admin-view-menu__summary-icon svg {
  display: block;
  height: 100%;
  width: 100%;
}
.dashboard-admin-view-menu summary::-webkit-details-marker {
  display: none;
}
.dashboard-admin-view-menu summary::after {
  border-color: currentColor;
  border-style: solid;
  border-width: 0 1.8px 1.8px 0;
  content: "";
  display: inline-block;
  flex: 0 0 auto;
  height: 7px;
  margin-left: 2px;
  opacity: 0.78;
  transform: translateY(-1px) rotate(45deg);
  width: 7px;
}
.dashboard-admin-view-menu[open] summary::after {
  transform: translateY(1px) rotate(-135deg);
}
.dashboard-admin-view-menu__panel {
  background: #ffffff;
  border: 1px solid rgba(214, 220, 228, 0.96);
  border-radius: 14px;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.14);
  display: grid;
  gap: 12px;
  padding: 14px;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(280px, calc(100vw - 48px));
  z-index: 4;
}
.dashboard-admin-view-menu__list {
  display: grid;
  gap: 8px;
}
.dashboard-admin-view-menu__item {
  align-items: center;
  color: #172133;
  display: flex;
  font-size: 0.92rem;
  gap: 10px;
}
.dashboard-admin-view-menu__item input {
  accent-color: #2563eb;
  margin: 0;
}
.dashboard-admin-view-menu__reset {
  justify-content: center;
  min-height: 38px;
  padding: 8px 12px;
}
.dashboard-admin-table__sort {
  align-items: center;
  appearance: none;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: grab;
  display: inline-flex;
  font: inherit;
  font-weight: inherit;
  gap: 6px;
  justify-content: flex-start;
  min-width: 0;
  padding: 0;
  user-select: none;
  width: 100%;
}
.dashboard-admin-table__sort.is-active-sort {
  color: #243b5a;
}
.dashboard-admin-table__sort:hover {
  color: #243b5a;
}
.dashboard-admin-table__sort:active {
  cursor: grabbing;
}
.dashboard-admin-table__sort:focus-visible {
  border-radius: 8px;
  outline: 2px solid rgba(37, 99, 235, 0.22);
  outline-offset: 4px;
}
.dashboard-admin-table__head-cell {
  display: block;
}
.dashboard-admin-table__sort-label {
  align-items: center;
  display: inline-flex;
  gap: 8px;
  min-width: 0;
}
.dashboard-admin-table__header-icon {
  align-items: center;
  color: #526074;
  display: inline-flex;
  flex: 0 0 auto;
  height: 15px;
  justify-content: center;
  width: 15px;
}
.dashboard-admin-table__header-icon svg {
  display: block;
  height: 100%;
  width: 100%;
}
.dashboard-admin-table th.is-drag-source {
  background: rgba(219, 234, 254, 0.82);
}
.dashboard-admin-table th.is-drag-target {
  background: rgba(239, 246, 255, 0.98);
  box-shadow: inset 0 0 0 2px rgba(96, 165, 250, 0.28);
}
.dashboard-admin-table tr:hover td {
  background: rgba(248, 250, 252, 0.55);
}
.dashboard-admin-user {
  align-items: center;
  display: flex;
  gap: 10px;
  min-width: 0;
}
.dashboard-admin-user__avatar {
  border-radius: 999px;
  flex: 0 0 auto;
  height: 38px;
  overflow: hidden;
  object-fit: cover;
  width: 38px;
}
.dashboard-admin-user__avatar--fallback {
  align-items: center;
  background:
    linear-gradient(
      180deg,
      #365983 0%,
      #243b5a 100%);
  color: #ffffff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.88rem;
  font-weight: 700;
  justify-content: center;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.dashboard-admin-user__identity {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.dashboard-admin-user__name-row {
  align-items: center;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}
.dashboard-admin-user__identity strong {
  color: #172133;
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}
.dashboard-admin-user__identity span {
  color: #5b677c;
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}
.dashboard-admin-user__meta {
  color: #365983 !important;
  font-size: 0.78rem !important;
}
@media (min-width: 769px) {
  .dashboard-admin-control-tab.is-active {
    min-height: 50px;
    padding: 0 60px;
  }
}
.dashboard-admin-user__badge {
  align-items: center;
  background: #eef2f6;
  border: 0;
  border-radius: 10px;
  color: #31465f;
  display: inline-flex;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  min-height: 24px;
  line-height: 1;
  padding: 0 9px;
}
.dashboard-admin-user__trigger {
  align-items: center;
  appearance: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: flex;
  gap: 10px;
  padding: 0;
  text-align: left;
  width: 100%;
}
.dashboard-admin-user__trigger:hover strong {
  color: #243b5a;
}
.dashboard-admin-user__trigger:focus-visible {
  outline: 2px solid rgba(37, 99, 235, 0.28);
  outline-offset: 4px;
  border-radius: 12px;
}
.dashboard-admin-method {
  align-items: center;
  background: #eef2f6;
  border: 0;
  border-radius: 10px;
  color: #243b5a;
  display: inline-flex;
  gap: 8px;
  justify-content: center;
  min-height: 36px;
  min-width: 116px;
  padding: 0 16px;
  text-align: center;
  white-space: nowrap;
}
.dashboard-admin-method .auth-social-button__icon {
  height: 15px;
  margin-right: 0;
  width: 15px;
}
.dashboard-admin-method__label {
  font-size: 0.79rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.012em;
  line-height: 1.1;
}
.dashboard-admin-method--apple {
  color: #243b5a;
}
.dashboard-admin-method--google {
  color: #243b5a;
}
.dashboard-admin-method--website {
  color: #243b5a;
}
.dashboard-admin-method--google .auth-social-button__icon svg {
  filter: none;
  opacity: 1;
}
.dashboard-admin-last-active {
  align-items: center;
  color: #172133;
  display: inline-flex;
  font-size: 0.97rem;
  font-weight: 500;
  gap: 11px;
  letter-spacing: -0.012em;
  line-height: 1.15;
  white-space: nowrap;
}
.dashboard-admin-last-active__dot {
  background: #16a34a;
  border-radius: 999px;
  display: inline-flex;
  flex: 0 0 auto;
  height: 8px;
  width: 8px;
}
.dashboard-admin-last-active__label {
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
}
.dashboard-admin-actions {
  display: grid;
  gap: 10px;
  min-width: 270px;
}
.dashboard-admin-actions__field {
  display: grid;
  gap: 6px;
}
.dashboard-admin-actions__field span {
  color: #374151;
  font-size: 0.8rem;
  font-weight: 600;
}
.dashboard-admin-actions__input {
  min-height: 42px;
  padding: 10px 12px;
}
.dashboard-admin-actions__buttons {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}
.dashboard-admin-actions__save,
.dashboard-admin-actions__delete {
  min-height: 36px;
  padding: 8px 12px;
}
.dashboard-admin-table__empty {
  color: #5b677c;
  text-align: center;
}
.dashboard-modal__panel--admin-user {
  gap: 16px;
  max-width: 560px;
  padding: 24px;
  width: min(100%, 560px);
}
.dashboard-admin-modal__hero {
  align-items: center;
  display: grid;
  gap: 16px;
  grid-template-columns: auto minmax(0, 1fr);
}
.dashboard-admin-modal__avatar-button {
  align-items: center;
  appearance: none;
  background: rgba(248, 250, 252, 0.92);
  border: 1px solid rgba(214, 220, 228, 0.96);
  border-radius: 12px;
  cursor: pointer;
  display: grid;
  gap: 10px;
  justify-items: center;
  min-width: 136px;
  padding: 12px;
}
.dashboard-admin-modal__avatar-button:hover {
  border-color: rgba(96, 165, 250, 0.4);
}
.dashboard-admin-modal__avatar-button:focus-visible {
  outline: 2px solid rgba(37, 99, 235, 0.28);
  outline-offset: 2px;
}
.dashboard-admin-modal__avatar-slot {
  align-items: center;
  display: inline-flex;
  height: 88px;
  justify-content: center;
  width: 88px;
}
.dashboard-admin-modal__avatar-slot .dashboard-admin-user__avatar {
  height: 88px;
  width: 88px;
}
.dashboard-admin-modal__avatar-copy {
  color: #243b5a;
  font-size: 0.82rem;
  font-weight: 700;
}
.dashboard-admin-modal__identity {
  display: grid;
  gap: 6px;
}
.dashboard-admin-modal__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.dashboard-admin-modal__meta-item {
  background: rgba(36, 59, 90, 0.08);
  border-radius: 999px;
  color: #243b5a;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 10px;
}
.dashboard-admin-modal__form {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.dashboard-admin-modal__field {
  display: grid;
  gap: 6px;
}
.dashboard-admin-modal__field span {
  color: #374151;
  font-size: 0.82rem;
  font-weight: 700;
}
.dashboard-admin-modal__actions {
  align-items: center;
  justify-content: space-between;
}
.dashboard-admin-modal__primary-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

/* v2/website/src/styles/website/admin-backups.css */
.dashboard-admin-backups-shell {
  display: grid;
  gap: 16px;
  width: 100%;
}
@media (min-width: 1024px) {
  .dashboard-admin-backups-shell {
    align-items: start;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  }
  .dashboard-admin-backup-stage--create {
    grid-column: 1;
  }
  .dashboard-admin-backup-stage--restore {
    grid-column: 2;
  }
  .dashboard-admin-backup-stage--restore .dashboard-admin-backup-item__controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dashboard-admin-backup-stage--restore .dashboard-admin-backup-item__field:first-child {
    grid-column: 1 / -1;
  }
  .dashboard-admin-backup-stage--restore .dashboard-admin-backup-item__actions {
    grid-template-columns: minmax(0, 1fr);
  }
  .dashboard-admin-backup-stage--restore .dashboard-admin-backup-item__toggles {
    width: 100%;
  }
  .dashboard-admin-backup-stage--restore .dashboard-admin-backup-item__buttons {
    justify-content: flex-start;
  }
}
.dashboard-admin-backup-stage {
  background: rgba(249, 251, 254, 0.88);
  border: 1px solid rgba(223, 229, 238, 0.96);
  border-radius: 22px;
  display: grid;
  gap: 18px;
  padding: 18px;
}
.dashboard-admin-backup-stage__header {
  display: grid;
  gap: 4px;
}
.dashboard-admin-backup-stage__eyebrow {
  color: #4a6388;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.dashboard-admin-backup-stage__header h3 {
  color: #172133;
  font-family: var(--admin-font-sans);
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.22;
  margin: 0;
}
.dashboard-admin-backup-stage__header .dashboard-copy {
  margin: 0;
  max-width: 680px;
}
.dashboard-admin-backup-stage__stack {
  display: grid;
  gap: 18px;
}
.dashboard-admin-backup-label-row {
  align-items: center;
  display: inline-flex;
  gap: 8px;
}
.dashboard-admin-backup-stage .dashboard-inline-status {
  margin: 0;
  min-height: 0;
}
.dashboard-admin-backup-stage .dashboard-inline-status:empty {
  display: none;
}
.dashboard-admin-backup-item__preview.is-hidden {
  display: none;
}
.dashboard-admin-backups-create {
  align-items: start;
  background: rgba(248, 250, 252, 0.62);
  border: 1px solid rgba(223, 229, 238, 0.92);
  border-radius: 18px;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr);
  padding: 16px;
}
.dashboard-admin-backups-list {
  display: grid;
  gap: 18px;
  margin-top: 0;
}
.dashboard-admin-backups-create__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}
.dashboard-admin-backups-create__actions > .dashboard-primary-button {
  justify-self: start;
}
.dashboard-admin-backup-settings,
.dashboard-admin-backup-secrets {
  background: rgba(248, 250, 252, 0.62);
  border: 1px solid rgba(223, 229, 238, 0.92);
  border-radius: 18px;
  display: grid;
  gap: 16px;
  padding: 16px;
}
.dashboard-admin-backup-settings {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  --backup-info-bg: rgba(229, 236, 246, 0.66);
  --backup-info-border: rgba(182, 196, 214, 0.82);
  --backup-info-color: rgba(55, 81, 122, 0.88);
  --backup-tooltip-bg: rgba(247, 250, 255, 0.88);
  --backup-tooltip-border: rgba(203, 213, 225, 0.86);
  --backup-tooltip-color: #243b5a;
}
.dashboard-admin-backup-settings__toggles {
  align-content: start;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  grid-column: 1 / -1;
}
.dashboard-admin-backup-settings > .dashboard-admin-backup-item__preview-button,
.dashboard-admin-backup-secrets > .dashboard-admin-backup-item__preview-button {
  justify-self: start;
  margin-top: 2px;
}
.dashboard-admin-backup-secrets {
  background:
    linear-gradient(
      180deg,
      rgba(255, 249, 235, 0.95) 0%,
      rgba(248, 250, 252, 0.74) 100%);
  border-color: rgba(245, 158, 11, 0.24);
  --backup-info-bg: rgba(255, 244, 214, 0.72);
  --backup-info-border: rgba(245, 158, 11, 0.28);
  --backup-info-color: rgba(146, 64, 14, 0.86);
  --backup-tooltip-bg: rgba(255, 251, 240, 0.9);
  --backup-tooltip-border: rgba(245, 158, 11, 0.24);
  --backup-tooltip-color: #7c4a03;
}
.dashboard-admin-backup-secrets__header {
  align-items: start;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
}
.dashboard-admin-backup-secrets__header h4 {
  align-items: center;
  color: #172133;
  display: inline-flex;
  font-family: var(--admin-font-sans);
  font-size: 1rem;
  font-weight: 600;
  gap: 8px;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 0;
}
.dashboard-admin-backup-secrets__eyebrow {
  color: #92400e;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.dashboard-admin-backup-secrets__header .dashboard-copy {
  margin: 0;
}
.dashboard-admin-backup-item__field--secrets > span {
  color: #7c4a03;
}
.dashboard-admin-backup-info {
  align-items: center;
  background: var(--backup-info-bg, rgba(229, 236, 246, 0.66));
  border: 1px solid var(--backup-info-border, rgba(182, 196, 214, 0.82));
  border-radius: 999px;
  color: var(--backup-info-color, rgba(55, 81, 122, 0.88));
  cursor: help;
  display: inline-flex;
  flex: 0 0 auto;
  height: 15px;
  justify-content: center;
  position: relative;
  width: 15px;
}
.dashboard-admin-backup-info__glyph {
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: 0.66rem;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
  text-transform: none;
}
.dashboard-admin-backup-info::after {
  backdrop-filter: blur(10px);
  background: var(--backup-tooltip-bg, rgba(247, 250, 255, 0.88));
  border: 1px solid var(--backup-tooltip-border, rgba(203, 213, 225, 0.86));
  border-radius: 12px;
  bottom: calc(100% + 10px);
  box-shadow: 0 16px 28px rgba(23, 33, 51, 0.08);
  color: var(--backup-tooltip-color, #243b5a);
  content: attr(data-tooltip);
  font-family:
    "DM Sans",
    system-ui,
    sans-serif;
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 500;
  left: 50%;
  letter-spacing: normal;
  line-height: 1.45;
  max-width: min(220px, calc(100vw - 64px));
  opacity: 0;
  padding: 10px 12px;
  pointer-events: none;
  position: absolute;
  text-align: left;
  text-transform: none;
  transform: translateX(-50%) translateY(4px);
  transition: opacity 140ms ease, transform 140ms ease;
  white-space: normal;
  width: min(220px, calc(100vw - 64px));
  word-break: normal;
  overflow-wrap: anywhere;
  z-index: 20;
}
.dashboard-admin-backup-info::before {
  background: var(--backup-tooltip-bg, rgba(247, 250, 255, 0.88));
  border-bottom: 1px solid var(--backup-tooltip-border, rgba(203, 213, 225, 0.86));
  border-right: 1px solid var(--backup-tooltip-border, rgba(203, 213, 225, 0.86));
  content: "";
  height: 10px;
  left: 50%;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: -12px;
  transform: translateX(-50%) rotate(45deg);
  transition: opacity 140ms ease, transform 140ms ease;
  width: 10px;
  z-index: 19;
}
.dashboard-admin-backup-info:hover::before,
.dashboard-admin-backup-info:focus-visible::before,
.dashboard-admin-backup-info:hover::after,
.dashboard-admin-backup-info:focus-visible::after {
  opacity: 1;
}
.dashboard-admin-backup-info:hover::before,
.dashboard-admin-backup-info:focus-visible::before {
  transform: translateX(-50%) translateY(-2px) rotate(45deg);
}
.dashboard-admin-backup-info:hover::after,
.dashboard-admin-backup-info:focus-visible::after {
  transform: translateX(-50%) translateY(0);
}
.dashboard-admin-backup-item__toggle .dashboard-admin-backup-info::after {
  left: auto;
  right: -6px;
  transform: translateY(4px);
}
.dashboard-admin-backup-item__toggle .dashboard-admin-backup-info::before {
  left: auto;
  right: 10px;
  transform: rotate(45deg);
}
.dashboard-admin-backup-item__toggle .dashboard-admin-backup-info:hover::before,
.dashboard-admin-backup-item__toggle .dashboard-admin-backup-info:focus-visible::before {
  transform: translateY(-2px) rotate(45deg);
}
.dashboard-admin-backup-item__toggle .dashboard-admin-backup-info:hover::after,
.dashboard-admin-backup-item__toggle .dashboard-admin-backup-info:focus-visible::after {
  transform: translateY(0);
}
.dashboard-admin-backup-info:focus-visible {
  outline: 2px solid rgba(37, 99, 235, 0.32);
  outline-offset: 2px;
}
.dashboard-textarea {
  background: #fff;
  border: 1px solid rgba(229, 182, 96, 0.45);
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Monaco,
    Consolas,
    "Liberation Mono",
    "Courier New",
    monospace;
  font-size: 0.92rem;
  line-height: 1.55;
  min-height: 112px;
  padding: 14px 16px;
  resize: vertical;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
  width: 100%;
}
.dashboard-textarea:focus {
  border-color: rgba(180, 83, 9, 0.62);
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.18);
  outline: none;
}
.dashboard-admin-backup-coverage {
  display: grid;
  gap: 16px;
}
.dashboard-admin-backup-coverage--loading {
  min-height: 206px;
}
.dashboard-admin-backup-coverage__grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.dashboard-admin-backup-coverage__card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(223, 229, 238, 0.92);
  border-radius: 16px;
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 16px;
}
.dashboard-admin-backup-coverage__card > span,
.dashboard-admin-backup-coverage__group > span {
  color: #4b5563;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.dashboard-admin-backup-coverage__card > strong {
  color: #172133;
  font-size: 1rem;
}
.dashboard-admin-backup-coverage__card .dashboard-copy,
.dashboard-admin-backup-coverage__group .dashboard-copy,
.dashboard-admin-backup-coverage__details summary > small {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.dashboard-admin-backup-coverage__path {
  color: #5b677c;
  font-size: 0.8rem;
}
.dashboard-admin-backup-coverage__details {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(214, 220, 228, 0.92);
  border-radius: 16px;
  overflow: hidden;
}
.dashboard-admin-backup-coverage__details.is-loading {
  opacity: 0.88;
}
.dashboard-admin-backup-coverage__details summary {
  align-items: start;
  background: rgba(250, 252, 255, 0.92);
  cursor: pointer;
  display: grid;
  gap: 4px;
  list-style: none;
  position: relative;
  padding: 14px 18px;
}
.dashboard-admin-backup-coverage__details summary::-webkit-details-marker {
  display: none;
}
.dashboard-admin-backup-coverage__details summary > span {
  color: #172133;
  font-size: 0.9rem;
  font-weight: 700;
}
.dashboard-admin-backup-coverage__details summary > small {
  color: #5b677c;
  font-size: 0.78rem;
  line-height: 1.5;
  padding-right: 28px;
}
.dashboard-admin-backup-coverage__details summary::after {
  color: #5b677c;
  content: "+";
  font-size: 1.05rem;
  font-weight: 700;
  position: absolute;
  right: 18px;
  top: 14px;
}
.dashboard-admin-backup-coverage__details[open] summary::after {
  content: "\2212";
}
.dashboard-admin-backup-coverage__details-body {
  border-top: 1px solid rgba(223, 229, 238, 0.92);
  display: grid;
  gap: 12px;
  padding: 16px 18px 18px;
}
.dashboard-admin-backup-coverage__group {
  display: grid;
  gap: 6px;
}
.dashboard-admin-backup-coverage__group > span[data-tone=error] {
  color: #991b1b;
}
.dashboard-admin-backup-coverage__group > span[data-tone=success] {
  color: #166534;
}
.dashboard-admin-backup-item {
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(214, 220, 228, 0.92);
  border-radius: 16px;
  display: grid;
  gap: 16px;
  padding: 16px;
}
.dashboard-admin-backup-item--empty {
  justify-items: center;
  padding: 22px 16px;
}
.dashboard-admin-backup-item__summary {
  align-items: start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}
.dashboard-admin-backup-item__identity {
  display: grid;
  gap: 4px;
}
.dashboard-admin-backup-item__summary strong {
  color: #172133;
  display: block;
  font-size: 1rem;
}
.dashboard-admin-backup-item__meta {
  color: #5b677c;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}
.dashboard-admin-backup-item__meta--primary {
  justify-content: flex-end;
  text-align: right;
}
.dashboard-admin-backup-item__meta--secondary {
  gap: 8px;
}
.dashboard-admin-backup-item__meta--secondary span {
  background: rgba(36, 59, 90, 0.03);
  border-radius: 999px;
  color: #6b7280;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 5px 9px;
}
.dashboard-admin-backup-item__meta span,
.dashboard-admin-backup-item__paths span {
  background: rgba(36, 59, 90, 0.06);
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 10px;
}
.dashboard-admin-backup-item__paths {
  color: #5b677c;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}
.dashboard-admin-backup-item__controls {
  align-items: end;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1.2fr) minmax(170px, 0.75fr) minmax(150px, 0.65fr);
}
.dashboard-admin-backup-item__field {
  display: grid;
  gap: 8px;
}
.dashboard-admin-backup-item__field > span {
  color: #374151;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.dashboard-admin-backup-mode-menu {
  position: relative;
  width: 100%;
}
.dashboard-admin-backup-mode-menu summary {
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(214, 220, 228, 0.96);
  border-radius: 16px;
  color: #172133;
  justify-content: space-between;
  min-height: 52px;
  padding: 0 16px;
  width: 100%;
}
.dashboard-admin-backup-mode-menu summary:hover {
  border-color: rgba(96, 165, 250, 0.4);
}
.dashboard-admin-backup-mode-menu[open] summary {
  border-color: rgba(47, 75, 115, 0.42);
  box-shadow: 0 0 0 3px rgba(191, 219, 254, 0.42);
}
.dashboard-admin-backup-mode-menu__summary-label {
  display: inline-flex;
  font-size: 0.98rem;
  font-weight: 600;
  min-width: 0;
}
.dashboard-admin-backup-mode-menu__panel {
  left: 0;
  padding: 12px;
  right: auto;
  top: calc(100% + 10px);
  width: min(360px, calc(100vw - 48px));
}
.dashboard-admin-backup-mode-menu__list {
  gap: 10px;
}
.dashboard-admin-backup-mode-menu__option {
  appearance: none;
  background: rgba(248, 250, 252, 0.94);
  border: 1px solid rgba(214, 220, 228, 0.92);
  border-radius: 14px;
  color: #172133;
  cursor: pointer;
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  text-align: left;
  width: 100%;
}
.dashboard-admin-backup-mode-menu__option strong {
  font-size: 0.95rem;
  font-weight: 700;
}
.dashboard-admin-backup-mode-menu__option span {
  color: #5b677c;
  font-size: 0.82rem;
  line-height: 1.45;
}
.dashboard-admin-backup-mode-menu__option:hover {
  background: rgba(239, 246, 255, 0.96);
  border-color: rgba(96, 165, 250, 0.34);
}
.dashboard-admin-backup-mode-menu__option:focus-visible {
  outline: 2px solid rgba(37, 99, 235, 0.28);
  outline-offset: 2px;
}
.dashboard-admin-backup-mode-menu__option.is-selected {
  background: rgba(219, 234, 254, 0.9);
  border-color: rgba(59, 130, 246, 0.34);
}
.dashboard-admin-backup-item__toggle {
  align-items: center;
  background: rgba(36, 59, 90, 0.06);
  border: 1px solid rgba(182, 196, 214, 0.82);
  border-radius: 999px;
  color: #243b5a;
  display: inline-flex;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  white-space: nowrap;
}
.dashboard-admin-backup-item__toggle--safety {
  justify-content: flex-start;
  width: 100%;
}
.dashboard-admin-backup-item__toggles {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
}
.dashboard-admin-backup-item__toggle input {
  accent-color: #2563eb;
  margin: 0;
}
.dashboard-admin-backup-item__actions {
  align-items: end;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) auto;
}
.dashboard-admin-backup-item__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
.dashboard-admin-backup-item__buttons .dashboard-primary-button,
.dashboard-admin-backup-item__preview-button {
  min-height: 42px;
}
.dashboard-admin-backup-item__preview-button {
  appearance: none;
  background: rgba(229, 236, 246, 0.92);
  border: 1px solid rgba(182, 196, 214, 0.9);
  border-radius: 12px;
  color: #243b5a;
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 700;
  padding: 0 18px;
}
.dashboard-admin-backup-item__preview-button:hover {
  background: rgba(218, 229, 244, 0.98);
}
.dashboard-admin-backup-item__preview-button:focus-visible {
  outline: 2px solid rgba(37, 99, 235, 0.28);
  outline-offset: 2px;
}
.dashboard-admin-backup-item__preview {
  display: grid;
  gap: 10px;
}
.dashboard-admin-backup-item__preview-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(214, 220, 228, 0.92);
  border-radius: 16px;
  display: grid;
  gap: 12px;
  padding: 14px;
}
.dashboard-admin-backup-item__preview-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.dashboard-admin-backup-item__preview-pill {
  background: rgba(36, 59, 90, 0.08);
  border-radius: 999px;
  color: #243b5a;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 10px;
}
.dashboard-admin-backup-item__preview-pill[data-tone=success] {
  background: rgba(220, 252, 231, 0.92);
  color: #166534;
}
.dashboard-admin-backup-item__preview-pill[data-tone=error] {
  background: rgba(254, 226, 226, 0.92);
  color: #991b1b;
}
.dashboard-admin-backup-item__preview-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
.dashboard-admin-backup-item__preview-block {
  background: rgba(248, 250, 252, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 14px;
  display: grid;
  gap: 6px;
  padding: 12px;
}
.dashboard-admin-backup-item__preview-block span {
  color: #4b5563;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.dashboard-admin-backup-item__preview-block strong {
  color: #172133;
  font-size: 0.98rem;
}
.dashboard-admin-backup-item__preview-list {
  color: #365983;
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
}
.dashboard-admin-backup-secret {
  background: rgba(233, 248, 236, 0.72);
  border: 1px solid rgba(34, 197, 94, 0.24);
  border-radius: 16px;
  display: grid;
  gap: 10px;
  padding: 16px;
  --backup-info-bg: rgba(223, 244, 230, 0.78);
  --backup-info-border: rgba(34, 197, 94, 0.2);
  --backup-info-color: rgba(21, 101, 52, 0.82);
  --backup-tooltip-bg: rgba(242, 251, 244, 0.9);
  --backup-tooltip-border: rgba(34, 197, 94, 0.2);
  --backup-tooltip-color: #14532d;
}
.dashboard-admin-backup-secret.is-empty {
  background: rgba(241, 250, 244, 0.78);
}
.dashboard-admin-backup-secret__value {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(187, 247, 208, 0.9);
  border-radius: 14px;
  color: #14532d;
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Monaco,
    Consolas,
    "Liberation Mono",
    "Courier New",
    monospace;
  font-size: 0.9rem;
  margin: 0;
  overflow-x: auto;
  padding: 12px;
  white-space: pre-wrap;
  word-break: break-word;
}
.dashboard-admin-backup-secret.is-empty .dashboard-admin-backup-secret__value {
  border-style: dashed;
  color: #4b5563;
}
.dashboard-admin-backup-check {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(214, 220, 228, 0.92);
  border-radius: 16px;
  display: grid;
  gap: 14px;
  padding: 16px;
}
.dashboard-admin-backup-check--empty {
  background: rgba(250, 252, 255, 0.8);
}
.dashboard-admin-backup-check--ready {
  border-color: rgba(34, 197, 94, 0.22);
}
.dashboard-admin-backup-check--blocked {
  border-color: rgba(239, 68, 68, 0.22);
}
.dashboard-admin-backup-check__summary {
  align-items: start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}
.dashboard-admin-backup-check__summary > div:first-child {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.dashboard-admin-backup-check__summary span,
.dashboard-admin-backup-check__card > span,
.dashboard-admin-backup-check__component > span,
.dashboard-admin-backup-progress__header span {
  color: #4b5563;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.dashboard-admin-backup-check__summary strong,
.dashboard-admin-backup-check__card > strong,
.dashboard-admin-backup-progress__header strong {
  color: #172133;
  font-size: 1rem;
}
.dashboard-admin-backup-check__pill {
  align-items: center;
  align-self: start;
  background: rgba(229, 236, 246, 0.92);
  border-radius: 999px;
  color: #243b5a;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 800;
  min-height: 38px;
  padding: 0 14px;
  white-space: nowrap;
}
.dashboard-admin-backup-check__pill[data-tone=success] {
  background: rgba(220, 252, 231, 0.92);
  color: #166534;
}
.dashboard-admin-backup-check__pill[data-tone=error] {
  background: rgba(254, 226, 226, 0.92);
  color: #991b1b;
}
.dashboard-admin-backup-check__grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}
.dashboard-admin-backup-check__card {
  background: rgba(248, 250, 252, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 14px;
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 12px;
}
.dashboard-admin-backup-check__path,
.dashboard-admin-backup-progress__paths span {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.dashboard-admin-backup-check__components {
  display: grid;
  gap: 8px;
}
.dashboard-admin-backup-check__component {
  align-items: center;
  background: rgba(36, 59, 90, 0.04);
  border-radius: 12px;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 10px 12px;
}
.dashboard-admin-backup-check__component strong {
  color: #243b5a;
  font-size: 0.92rem;
  white-space: nowrap;
}
.dashboard-admin-backup-check__notes {
  display: grid;
  gap: 8px;
}
.dashboard-admin-backup-check__notes .dashboard-copy {
  margin: 0;
}
.dashboard-admin-backup-check__notes .dashboard-copy[data-tone=error] {
  color: #991b1b;
}
.dashboard-admin-backup-check__notes .dashboard-copy[data-tone=warning] {
  color: #92400e;
}
.dashboard-admin-backup-progress-shell {
  align-items: start;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
}
.dashboard-admin-backup-progress {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(214, 220, 228, 0.92);
  border-radius: 16px;
  display: grid;
  gap: 12px;
  padding: 16px;
}
.dashboard-admin-backup-progress[data-tone=success] {
  border-color: rgba(34, 197, 94, 0.22);
}
.dashboard-admin-backup-progress[data-tone=error] {
  border-color: rgba(239, 68, 68, 0.22);
}
.dashboard-admin-backup-progress[data-tone=warning] {
  border-color: rgba(245, 158, 11, 0.25);
}
.dashboard-admin-backup-progress__header {
  align-items: start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}
.dashboard-admin-backup-progress__header > div:first-child {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.dashboard-admin-backup-progress__percent {
  color: #243b5a;
  font-size: 1rem;
  font-weight: 800;
  white-space: nowrap;
}
.dashboard-admin-backup-progress__bar {
  background: rgba(229, 236, 246, 0.86);
  border-radius: 999px;
  height: 10px;
  overflow: hidden;
  width: 100%;
}
.dashboard-admin-backup-progress__bar > span {
  background:
    linear-gradient(
      90deg,
      rgba(59, 130, 246, 0.88) 0%,
      rgba(37, 99, 235, 0.98) 100%);
  border-radius: inherit;
  display: block;
  height: 100%;
  transition: width 180ms ease;
}
.dashboard-admin-backup-progress__meta {
  display: grid;
  gap: 8px;
}
.dashboard-admin-backup-progress__paths {
  color: #5b677c;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}
.dashboard-admin-backup-progress__paths span {
  background: rgba(36, 59, 90, 0.06);
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 10px;
}
@media (max-width: 720px) {
  .dashboard-admin-backup-check__summary,
  .dashboard-admin-backup-progress__header {
    flex-direction: column;
  }
  .dashboard-admin-backup-progress-shell {
    grid-template-columns: minmax(0, 1fr);
  }
  .dashboard-admin-backup-check__component {
    align-items: start;
    flex-direction: column;
  }
}

/* v2/website/src/styles/website/responsive.css */
@media (max-width: 768px) {
  .topbar {
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    justify-content: space-between;
  }
  .home-topbar--authenticated .topbar__left {
    align-items: center;
    display: flex;
    min-width: 0;
  }
  .home-topbar--authenticated .home-topbar__inner {
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    grid-template-columns: none;
    min-width: 0;
  }
  .home-topbar--authenticated .home-topbar__auth-side,
  .home-topbar--authenticated .topbar__right {
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    justify-content: flex-end;
    margin-left: auto;
    min-width: 0;
    flex-shrink: 1;
  }
  .home-topbar--authenticated .home-topbar__auth-context {
    display: flex;
    margin-top: 0;
    min-width: 0;
    padding-right: 6px;
  }
  .home-topbar--authenticated .home-topbar__auth-context .dashboard-topbar-panel {
    width: auto;
  }
  .home-topbar--authenticated .home-topbar__toggle {
    display: none;
  }
  .dashboard-topbar-panel {
    gap: 8px;
  }
  .top-progress-wrapper {
    align-items: center;
    display: flex;
    flex-shrink: 1;
    flex-wrap: nowrap;
    gap: 5px;
    min-width: 0;
    padding: 3px 6px;
  }
  .top-progress {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 0 0 auto;
    gap: 2px;
    min-width: 0;
    width: fit-content;
  }
  .top-progress__meta {
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .top-progress__level {
    font-size: 10px;
    line-height: 1.1;
  }
  .top-progress__xp {
    display: block;
    font-size: 10px;
    color: #475569;
    line-height: 1.1;
  }
  .top-xp-bar {
    flex: 1 1 auto;
    height: 10px;
    max-width: none;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
  }
  .mission-pill {
    display: none;
  }
  .top-progress__meta .dashboard-profile-meta__level,
  .top-progress__meta .level-label {
    font-size: 10px;
    min-height: 18px;
    padding: 2px 5px;
  }
}
@media (max-width: 720px) {
  .auth-shell {
    padding: 28px var(--website-page-gutter-mobile) 40px;
  }
  .dashboard-shell {
    padding: 0;
  }
  .dashboard-shell:is([data-dashboard-shell=true], [data-lexicon-shell=true]) {
    padding: 0 0 32px;
  }
  .auth-card,
  .dashboard-card {
    padding: var(--website-card-padding-mobile);
  }
  .user-identity {
    width: 100%;
  }
  .onboarding-profile,
  .onboarding-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .dashboard-card--hero,
  .dashboard-identity,
  .dashboard-entry {
    align-items: stretch;
    grid-template-columns: 1fr;
  }
  .dashboard-card--hero {
    display: grid;
  }
  .dashboard-identity {
    display: grid;
    justify-items: start;
  }
  .dashboard-identity__copy {
    justify-self: stretch;
    width: 100%;
  }
  .dashboard-profile-meta__stats {
    gap: 6px 10px;
  }
  .dashboard-profile-meta__name {
    font-size: 16px;
  }
  .dashboard-avatar-slot {
    height: 62px;
    width: 62px;
  }
  .dashboard-avatar {
    height: 54px;
    width: 54px;
  }
  .dashboard-profile-meta__stat strong {
    font-size: 11px;
  }
  .dashboard-progress-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
  .dashboard-progress-mission {
    margin-left: 0;
    text-align: left;
  }
  .dashboard-section-heading--split {
    grid-template-columns: 1fr;
  }
  .home-topbar--authenticated .home-topbar__inner {
    min-width: 0;
  }
  .home-topbar--authenticated .topbar__left {
    min-width: 0;
  }
  .home-topbar--authenticated .home-topbar__auth-side,
  .home-topbar--authenticated .topbar__right {
    gap: 6px;
    min-width: 0;
    flex-shrink: 1;
  }
  .home-topbar--authenticated .home-topbar__auth-context {
    min-width: 0;
    padding-right: 6px;
  }
  .dashboard-topbar-panel {
    gap: 6px;
  }
  .top-progress-wrapper {
    align-items: center;
    display: flex;
    flex-shrink: 1;
    flex-wrap: nowrap;
    gap: 5px;
    min-width: 0;
    padding: 3px 6px;
  }
  .top-progress {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 0 0 auto;
    gap: 2px;
    min-width: 0;
    width: fit-content;
  }
  .top-progress__meta {
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .top-progress__level {
    font-size: 10px;
    line-height: 1.1;
  }
  .top-progress__xp {
    display: block;
    font-size: 10px;
    color: #475569;
    line-height: 1.1;
  }
  .mission-pill {
    display: none;
  }
  .top-xp-bar {
    flex: 1 1 auto;
    height: 10px;
    max-width: none;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
  }
  .top-progress__meta .dashboard-profile-meta__level,
  .top-progress__meta .level-label {
    font-size: 10px;
    min-height: 18px;
    padding: 2px 5px;
  }
  .dashboard-vocabulary-board__controls {
    gap: 10px;
    padding: 10px 0;
  }
  .container-filters {
    align-items: center;
    gap: 8px;
  }
  .filters-left {
    gap: 6px;
  }
  .filters-right {
    gap: 10px;
  }
  .filter-chip {
    font-size: 12px;
    min-height: 30px;
    padding: 5px 10px;
  }
  .filter-reset {
    font-size: 12px;
  }
  .dashboard-vocabulary-board__bulk-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dashboard-vocabulary-board__grid {
    gap: 4px;
    grid-template-columns: repeat(auto-fit, minmax(44px, 44px));
    max-width: 100%;
  }
  .dashboard-vocabulary-board__tile {
    height: 44px;
    min-height: 44px;
    width: 44px;
  }
  .dashboard-vocabulary-board__tile--wide {
    width: auto;
  }
  .dashboard-vocabulary-board__term {
    font-size: 14px;
  }
  .dashboard-account-actions {
    justify-items: stretch;
  }
  .dashboard-modal__actions {
    flex-direction: column;
  }
  .dashboard-admin-toolbar {
    grid-template-columns: 1fr;
  }
  .dashboard-admin-control-card__tabs {
    gap: 6px;
    overflow-x: auto;
    padding: 0;
    scrollbar-width: none;
  }
  .dashboard-admin-control-card__header {
    grid-template-columns: 1fr;
  }
  .dashboard-admin-control-card__header-actions {
    justify-content: start;
  }
  .dashboard-admin-control-card__back-button {
    justify-content: center;
    width: 100%;
  }
  .dashboard-admin-control-card__tabs::-webkit-scrollbar {
    display: none;
  }
  .dashboard-admin-control-tab {
    flex: 0 0 auto;
    min-height: 52px;
    padding: 0 14px;
    white-space: nowrap;
  }
  .dashboard-admin-panel__intro {
    grid-template-columns: 1fr;
  }
  .dashboard-admin-panel__footer {
    align-items: stretch;
    flex-direction: column;
  }
  .dashboard-admin-pagination {
    justify-content: flex-start;
    width: 100%;
  }
  .dashboard-admin-view-menu__panel {
    left: 0;
    right: auto;
    width: min(320px, calc(100vw - 48px));
  }
  .dashboard-admin-actions__buttons {
    flex-direction: column;
  }
  .dashboard-admin-backups-create,
  .dashboard-admin-backup-settings,
  .dashboard-admin-backup-item__controls {
    grid-template-columns: 1fr;
  }
  .dashboard-admin-backup-secrets__header {
    grid-template-columns: 1fr;
  }
  .dashboard-admin-backup-stage {
    padding: 16px;
  }
  .dashboard-admin-backups-create > .dashboard-primary-button {
    justify-self: stretch;
  }
  .dashboard-admin-backup-settings__toggles {
    grid-column: auto;
  }
  .dashboard-admin-backup-item__actions {
    align-items: stretch;
    grid-template-columns: 1fr;
  }
  .dashboard-admin-backup-item__buttons {
    flex-direction: column;
  }
  .dashboard-admin-backup-item__buttons .dashboard-primary-button,
  .dashboard-admin-backup-item__preview-button {
    width: 100%;
  }
  .dashboard-admin-backup-item__toggle {
    white-space: normal;
  }
  .dashboard-admin-backup-item__summary,
  .dashboard-admin-backup-item__meta,
  .dashboard-admin-backup-item__meta--secondary {
    display: grid;
    justify-content: start;
    text-align: left;
  }
  .dashboard-admin-modal__hero,
  .dashboard-admin-modal__form {
    grid-template-columns: 1fr;
  }
  .dashboard-admin-modal__avatar-button {
    justify-self: stretch;
    min-width: 0;
  }
  .dashboard-admin-modal__actions,
  .dashboard-admin-modal__primary-actions {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }
  .lexicon-filter-grid,
  .lexicon-count-grid {
    grid-template-columns: 1fr;
  }
  .lexicon-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .lexicon-row__meta {
    text-align: left;
  }
}
@media (max-width: 900px) {
  .container-filters {
    gap: 8px;
  }
  .filters-left {
    gap: 6px;
  }
  .filters-right {
    gap: 10px;
  }
  .filter-chip-menu {
    min-width: 136px;
  }
}
@media (max-width: 420px) {
  .container-filters {
    gap: 6px;
  }
  .filters-left {
    gap: 4px;
  }
  .filters-right {
    gap: 8px;
  }
  .filter-chip {
    font-size: 11px;
    min-height: 28px;
    padding: 4px 8px;
  }
  .filter-reset {
    font-size: 11px;
  }
  .filter-chip-menu {
    min-width: 126px;
    padding: 4px;
  }
  .filter-chip-menu__option {
    font-size: 12px;
    min-height: 28px;
    padding: 5px 7px;
  }
}
@media (max-width: 768px) {
  .vocab-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* v2/website/src/styles/auth.css */
.button-primary,
.dashboard-primary-button,
.dashboard-admin-pagination__page {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e9edf3;
  color: #2d3a4a;
  border: 1px solid #d8e0ea;
  border-radius: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.16s ease;
  box-shadow: none;
}
.button-primary,
.dashboard-primary-button {
  height: 40px;
  min-height: 40px;
  padding: 0 18px;
  font-size: 13px;
}
.button-primary:hover,
.dashboard-primary-button:hover,
.dashboard-admin-pagination__page:hover {
  background: #dee4ed;
  border-color: #c9d4e2;
}
.button-primary:active,
.dashboard-primary-button:active,
.dashboard-admin-pagination__page:active {
  background: #d3dae6;
  border-color: #c9d4e2;
  transform: scale(0.98);
}
.extension-row {
  display: flex;
  gap: 10px;
  align-items: center;
}
