:root {
  color-scheme: light;
  font-family: "Manrope", sans-serif;
  --page-bg: #f6f2ec;
  --panel-bg: #ffffff;
  --surface: #f1ece4;
  --surface-strong: #e5ded3;
  --line: #e1d8cb;
  --line-strong: #cbc0b1;
  --ink: #242424;
  --muted: #6e675f;
  --muted-soft: #9a9085;
  --accent: #34302b;
  --accent-soft: #5d564e;
  --focus: rgba(196, 69, 62, 0.18);
  --shadow-lg: 0 20px 52px rgba(62, 48, 37, 0.075);
  --shadow-md: 0 12px 30px rgba(62, 48, 37, 0.055);
  --success-bg: #edf5ed;
  --success-text: #376246;
  --error-bg: #fff0ee;
  --error-text: #c4453e;
  --warm: #f1ece4;
  --warm-deep: #d5c8b8;
  --blue: #e5e8eb;
  --mint: #e1ede2;
  --ink-panel: #3c3934;
  --brand-red: #c4453e;
  --brand-blue: #7d858d;
  --brand-slate: #7b746c;
  --brand-tile: #f1ece4;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  background: var(--page-bg);
  color: var(--ink);
}

[hidden] {
  display: none !important;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

.split-auth-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.split-auth {
  width: 100%;
  flex: 1 0 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(520px, 0.98fr);
}

.auth-showcase {
  position: relative;
  overflow: hidden;
  background: #f0f2f5;
  border-right: 1px solid rgba(196, 207, 221, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-showcase__image-shell {
  width: 100%;
  height: 100%;
}

.auth-showcase__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-layer {
  position: relative;
  min-height: calc(100vh - 76px);
}

.showcase-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--accent-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  box-shadow: var(--shadow-md);
}

.showcase-tag__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #54c97d;
}

.showcase-toolbar {
  position: absolute;
  left: 8%;
  top: 19%;
  width: clamp(340px, 58vw, 520px);
  min-height: 76px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: 24px;
  background: var(--ink-panel);
  color: #edf1f5;
  box-shadow: 0 18px 42px rgba(31, 34, 71, 0.14);
}

.showcase-toolbar__pill {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
}

.showcase-toolbar__pill--active {
  background: rgba(255, 255, 255, 0.14);
}

.showcase-canvas {
  position: absolute;
  left: 18%;
  top: 29%;
  width: clamp(380px, 54vw, 560px);
  min-height: 500px;
  padding: 28px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(226, 218, 208, 0.85);
  box-shadow: var(--shadow-lg);
}

.showcase-canvas__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
}

.showcase-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.showcase-status strong {
  color: var(--ink-panel);
  font-size: 20px;
  font-weight: 800;
}

.showcase-status__dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #67d993;
}

.showcase-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 34px 28px 26px;
  background: #fff;
}

.showcase-card h2 {
  margin: 0 0 26px;
  color: var(--ink-panel);
  font-size: clamp(28px, 3vw, 46px);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.showcase-card__actions {
  display: flex;
  gap: 14px;
  margin-bottom: 26px;
}

.showcase-chip {
  flex: 1;
  min-height: 54px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
}

.showcase-chip--primary {
  background: #68cdb7;
  color: #fff;
}

.showcase-chip--secondary {
  border: 2px solid #6cdfc7;
  background: #fff;
  color: #58baaa;
}

.showcase-lines {
  display: grid;
  gap: 16px;
}

.showcase-lines span {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: #eceff3;
}

.showcase-lines span:nth-child(1) {
  width: 84%;
}

.showcase-lines span:nth-child(2) {
  width: 72%;
}

.showcase-lines span:nth-child(3) {
  width: 65%;
}

.showcase-profile {
  position: absolute;
  right: 14%;
  top: 21%;
  width: clamp(180px, 26vw, 260px);
  aspect-ratio: 0.92;
  border-radius: 28px;
  background: #e9edf3;
  box-shadow: var(--shadow-lg);
}

.showcase-recorder {
  position: absolute;
  left: 8%;
  bottom: 7%;
  width: clamp(320px, 43vw, 460px);
  padding: 20px 20px 18px;
  border-radius: 24px;
  background: #2f3848;
  color: #fff;
  box-shadow: 0 18px 44px rgba(27, 29, 68, 0.16);
}

.showcase-recorder__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.showcase-logo {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.showcase-logo span {
  color: #6acbff;
}

.showcase-controls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.showcase-controls__item {
  min-height: 118px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: #d9dcff;
}

.showcase-controls__item--active {
  background: rgba(236, 79, 152, 0.18);
  border-color: rgba(236, 79, 152, 0.34);
}

.showcase-settings {
  display: grid;
  gap: 12px;
}

.showcase-settings__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: #f2f3ff;
  font-size: 15px;
}

.showcase-meter {
  display: inline-flex;
  gap: 4px;
}

.showcase-meter span {
  width: 6px;
  height: 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.20);
}

.showcase-meter span:nth-child(-n+5) {
  background: #8dd66b;
}

.showcase-meter span:nth-child(6),
.showcase-meter span:nth-child(7) {
  background: #cfdb63;
}

.showcase-note {
  position: absolute;
  right: 18%;
  bottom: 26%;
  min-width: 118px;
  padding: 20px 18px;
  border-radius: 24px;
  background: #f5c84d;
  box-shadow: 0 10px 24px rgba(198, 168, 80, 0.14);
  color: #392f14;
  text-align: center;
  font-weight: 800;
  line-height: 1.05;
}

.showcase-note strong {
  display: block;
  margin-bottom: 6px;
  font-size: 28px;
  letter-spacing: -0.04em;
}

.auth-form-side {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
}

.auth-form-side__inner {
  width: 100%;
  max-width: 540px;
  padding: 48px 46px;
}

.auth-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 34px;
}

.auth-toolbar .auth-brand {
  margin-bottom: 0;
}

.locale-switcher {
  position: relative;
  display: inline-block;
}

.locale-switcher__trigger {
  min-width: 72px;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-md);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.locale-switcher__chevron {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 140ms ease;
}

.locale-switcher__trigger[aria-expanded="true"] .locale-switcher__chevron {
  transform: translateY(2px) rotate(225deg);
}

.locale-switcher__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 150px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  z-index: 80;
}

.locale-switcher__button {
  width: 100%;
  min-height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-align: left;
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease;
}

.locale-switcher__button.is-active {
  background: var(--accent);
  color: #fff;
}

.auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 34px;
  text-decoration: none;
  color: var(--ink);
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.08em;
}

.auth-brand span {
  font-weight: 500;
}

.auth-brand--portal {
  gap: 10px;
  font-size: 26px;
  letter-spacing: -0.04em;
}

.auth-brand--portal span {
  font-weight: 700;
}

.auth-panel {
  width: 100%;
}

.auth-panel__inner {
  width: 100%;
}

.auth-eyebrow {
  margin: 0 0 12px;
  color: var(--muted-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.auth-panel h1 {
  margin: 0;
  font-size: clamp(42px, 5vw, 56px);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.auth-panel h1.auth-title--compact {
  font-size: clamp(22px, 2.1vw, 28px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.auth-panel h1.auth-title--compact + .auth-copy {
  margin-top: 24px;
}

.auth-copy {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.auth-copy--top {
  margin-top: 0;
}

.auth-form {
  margin-top: 28px;
}

.field-block {
  margin-bottom: 16px;
}

.field-label {
  display: block;
  margin-bottom: 10px;
  color: var(--accent-soft);
  font-size: 14px;
  font-weight: 700;
}

.auth-input {
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(247, 243, 238, 0.55);
  color: var(--ink);
  outline: 0;
  transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.auth-input::placeholder {
  color: #a59f97;
}

.auth-input:focus {
  background: #fff;
  border-color: #c9beb0;
  box-shadow: 0 0 0 4px var(--focus);
}

.auth-input--locked {
  background: #f3efe8;
  color: #5e5851;
}

.auth-select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #7f786f 50%),
    linear-gradient(135deg, #7f786f 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% - 2px),
    calc(100% - 16px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 42px;
}

.step-note {
  margin: -4px 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.step-note strong {
  color: var(--ink);
}

.field-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.field-note--emphasis {
  color: var(--ink);
  font-weight: 700;
}

.field-error {
  margin: 10px 0 0;
  color: var(--error-text);
  font-size: 13px;
  font-weight: 700;
  white-space: pre-line;
}

.primary-auth-button,
.provider-button,
.subtle-button {
  width: 100%;
  min-height: 56px;
  border-radius: 18px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease, background 140ms ease;
}

.subtle-button--compact {
  margin-top: 12px;
  min-height: 44px;
  border-radius: 14px;
  font-size: 13px;
}

.license-email-verification {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.license-email-verification > .subtle-button {
  width: auto;
  min-width: 120px;
  min-height: 38px;
  padding: 0 16px;
  margin-top: 0;
  border-radius: 12px;
}

.license-email-verification__hint {
  margin-top: 0;
  flex: 1 1 240px;
}

.license-email-verification__code {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  flex: 1 0 100%;
  margin-top: 2px;
}

.license-email-verification__code .subtle-button {
  width: auto;
  min-width: 96px;
  margin-top: 0;
  padding: 0 16px;
}

.license-email-verification__input {
  min-height: 44px;
  border-radius: 14px;
  letter-spacing: 0.18em;
  text-align: center;
}

.license-email-verification__status[data-tone="success"] {
  flex: 1 0 100%;
  color: #2d6d4b;
  font-weight: 700;
}

.license-email-verification__status[data-tone="error"] {
  flex: 1 0 100%;
  color: var(--error-text);
  font-weight: 700;
}

.primary-auth-button {
  margin-top: 10px;
  border: 0;
  background: #3f4d60;
  color: #fff;
  box-shadow: 0 12px 26px rgba(62, 48, 37, 0.09);
}

.primary-auth-button:hover,
.provider-button:hover:not(:disabled),
.subtle-button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.auth-divider {
  margin: 22px 0;
  position: relative;
  text-align: center;
  color: var(--muted-soft);
  font-size: 13px;
  font-weight: 700;
}

.auth-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  border-top: 1px solid var(--line);
}

.auth-divider span {
  position: relative;
  padding: 0 14px;
  background: #fff;
}

.provider-stack {
  display: grid;
  gap: 12px;
}

.provider-button {
  border: 1px solid #747775;
  background: #fff;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 18px;
  font-family: Roboto, "Segoe UI", sans-serif;
  font-weight: 500;
}

.provider-button--google {
  color: #1f1f1f;
}

.provider-button--apple {
  color: #111;
}

.provider-button--microsoft {
  color: #1f1f1f;
}

.provider-button:disabled {
  cursor: not-allowed;
  color: var(--muted-soft);
  background: #f3f6fa;
}

.provider-button__icon {
  width: 24px;
  height: 24px;
  border-radius: 0;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  line-height: 1;
}

.provider-button__mark {
  display: block;
  width: 100%;
  height: 100%;
}

.provider-button__label {
  display: inline;
}

.provider-button__icon--google {
  width: 18px;
  height: 18px;
}

.provider-button__icon--apple {
  color: #111;
  width: 21px;
  height: 25px;
}

.provider-button__icon--microsoft {
  width: 21px;
  height: 21px;
}

.auth-links {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.auth-links p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.auth-links a {
  font-weight: 800;
  text-decoration: underline;
}

.text-link {
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
}

.text-link--small {
  font-size: 13px;
  white-space: nowrap;
}

.subtle-button {
  margin-top: 18px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
}

.status-pill {
  margin-top: 18px;
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  background: #f6f2ec;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.status-pill[data-state="in"] {
  background: var(--success-bg);
  color: var(--success-text);
}

.status-pill[data-state="out"] {
  display: none;
}

.result-box {
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #f6f2ec;
  color: var(--muted);
  white-space: pre-wrap;
  line-height: 1.6;
  font-size: 14px;
}

.result-box[data-tone="success"] {
  background: var(--success-bg);
  color: var(--success-text);
}

.result-box[data-tone="error"] {
  background: var(--error-bg);
  color: var(--error-text);
}

.auth-panel__inner--action {
  max-width: 560px;
}

.action-status-card {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-md);
}

.action-status-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: var(--surface);
  color: var(--muted);
}

.action-status-card__body {
  min-width: 0;
}

.action-status-card__body strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
}

.action-status-card__body p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.action-status-card[data-state="success"] {
  border-color: rgba(36, 90, 54, 0.16);
  background: var(--success-bg);
}

.action-status-card[data-state="success"] .action-status-card__icon {
  background: rgba(36, 90, 54, 0.14);
  color: var(--success-text);
}

.action-status-card[data-state="error"] {
  border-color: rgba(194, 77, 55, 0.16);
  background: var(--error-bg);
}

.action-status-card[data-state="error"] .action-status-card__icon {
  background: rgba(194, 77, 55, 0.12);
  color: var(--error-text);
}

.action-reset-form {
  margin-top: 24px;
}

.action-actions {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.action-link-button {
  width: auto;
  min-width: 0;
  padding: 0 28px;
  box-sizing: border-box;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  white-space: nowrap;
}

.action-secondary-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.action-secondary-link:hover {
  color: var(--ink);
}

.dashboard-page {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--page-bg);
  overflow-x: hidden;
}

.dashboard-page::before {
  display: none;
}

.dashboard-shell {
  position: relative;
  z-index: 1;
  flex: 1 0 auto;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 22px 0 64px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 252, 247, 0.92);
  backdrop-filter: blur(14px);
}

.site-footer__inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0 28px;
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.8fr);
  gap: 42px;
}

.site-footer__brand {
  max-width: 360px;
}

.site-footer__logo {
  display: inline-flex;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.site-footer__brand p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.site-footer__mail {
  display: inline-flex;
  margin-top: 12px;
  color: var(--accent-soft);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.site-footer__download {
  display: table;
  margin-top: 16px;
  min-height: 36px;
  padding: 8px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(62, 48, 37, 0.055);
}

.site-footer__download + .site-footer__download {
  margin-top: 8px;
}

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.site-footer__group h2 {
  margin: 0 0 12px;
  color: var(--muted-soft);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer__group a {
  display: block;
  margin-top: 9px;
  color: var(--accent-soft);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
}

.site-footer__logo:hover,
.site-footer__mail:hover,
.site-footer__download:hover,
.site-footer__group a:hover,
.site-footer__legal a:hover {
  text-decoration: underline;
}

.site-footer__bottom {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 16px 0 22px;
  border-top: 1px solid rgba(225, 216, 203, 0.82);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-footer__meta {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.site-footer__legal {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.site-footer__legal a {
  text-decoration: none;
}

.dashboard-topbar {
  position: sticky;
  top: 14px;
  z-index: 35;
  min-height: 68px;
  padding: 8px 10px 8px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 252, 247, 0.90);
  box-shadow: none;
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.dashboard-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.dashboard-brand::before {
  content: "";
  width: 5px;
  height: 24px;
  border-radius: 999px;
  background: var(--brand-red);
  box-shadow: none;
}

.dashboard-topbar__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.dashboard-navlink {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: none;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}

.dashboard-navlink:hover {
  transform: translateY(-1px);
}

.account-menu {
  position: relative;
}

.account-button {
  min-height: 54px;
  padding: 8px 13px 8px 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.account-button:hover {
  border-color: var(--line-strong);
  background: #fffdf9;
  box-shadow: none;
  transform: translateY(-1px);
}

.account-button__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: inline-grid;
  place-items: center;
  font-size: 14px;
  font-weight: 800;
}

.account-button__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.account-button__meta strong {
  font-size: 14px;
  font-weight: 800;
}

.account-button__meta span {
  max-width: 200px;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-button__caret {
  color: var(--muted-soft);
  font-size: 12px;
}

.account-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 260px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  z-index: 40;
}

.account-dropdown__summary {
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.account-dropdown__summary strong {
  font-size: 14px;
  font-weight: 800;
}

.account-dropdown__summary span {
  color: var(--muted);
  font-size: 13px;
}

.menu-button {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: var(--ink);
  display: flex;
  align-items: center;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.menu-button:hover {
  background: var(--surface);
}

.menu-button--danger {
  color: var(--error-text);
}

.dashboard-hero {
  position: relative;
  margin-top: 30px;
  padding: 24px 0 26px 18px;
  border: 0;
  border-left: 5px solid var(--brand-red);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
}

.dashboard-hero::before {
  display: none;
}

.dashboard-hero::after {
  display: none;
}

.dashboard-eyebrow {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  color: var(--muted-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dashboard-title {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.dashboard-copy {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
  letter-spacing: -0.01em;
}

.dashboard-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: minmax(0, 1.58fr) minmax(320px, 0.68fr);
  gap: 22px;
  align-items: start;
}

.dashboard-card {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.dashboard-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 0;
  background: transparent;
}

.dashboard-card > * {
  position: relative;
  z-index: 1;
}

.dashboard-card--primary {
  min-height: 100%;
}

.dashboard-grid > .dashboard-card {
  position: sticky;
  top: 100px;
}

.dashboard-license-panel {
  display: grid;
  gap: 14px;
  align-content: start;
}

.dashboard-license-panel__status {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.dashboard-refresh-button {
  min-height: 34px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--accent-soft);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: none;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease, box-shadow 140ms ease, opacity 140ms ease;
}

.dashboard-refresh-button:hover:not(:disabled) {
  border-color: var(--line-strong);
  background: #fffdf9;
  box-shadow: none;
  transform: translateY(-1px);
}

.dashboard-refresh-button:disabled {
  cursor: default;
  opacity: 0.52;
}

.dashboard-refresh-button--empty {
  margin-top: 18px;
  min-width: 108px;
}

.dashboard-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.dashboard-card__action {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fffdf9;
  color: var(--accent-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}

.dashboard-card__action:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
}

.dashboard-card__eyebrow {
  margin: 0 0 10px;
  color: var(--muted-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dashboard-card__title {
  margin: 0;
  font-size: 26px;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.dashboard-card__copy {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.dashboard-status-pill {
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 800;
}

.dashboard-status-pill[data-state="ready"] {
  background: var(--success-bg);
  color: var(--success-text);
}

.dashboard-status-pill[data-state="error"] {
  background: var(--error-bg);
  color: var(--error-text);
}

.dashboard-license-empty {
  min-height: 340px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(62, 48, 37, 0.045);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.dashboard-license-empty[data-state="error"] {
  border-color: rgba(167, 46, 46, 0.18);
  background: #fff8f8;
}

.dashboard-license-empty__title {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.dashboard-license-empty[data-state="error"] .dashboard-license-empty__title {
  color: var(--error-text);
}

.dashboard-license-empty__copy {
  margin: 12px 0 0;
  max-width: 420px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.dashboard-license-groups {
  display: grid;
  gap: 18px;
}

.dashboard-section-eyebrow,
.dashboard-license-groups__eyebrow {
  display: inline-flex;
  margin: 0 0 14px;
  min-height: 24px;
  align-items: center;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--brand-red);
  letter-spacing: 0.16em;
}

.dashboard-license-group {
  position: relative;
  padding: 24px 24px 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.dashboard-license-group::before {
  display: none;
}

.dashboard-license-group::after {
  display: none;
}

.dashboard-license-group > * {
  position: relative;
  z-index: 1;
}

.dashboard-license-group__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.dashboard-license-group__tools {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.dashboard-license-group__title {
  margin: 0;
  font-size: 23px;
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.dashboard-license-count {
  min-width: 42px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
}

.dashboard-license-list {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

.dashboard-license-list__empty {
  margin: 0;
  padding: 28px 18px;
  border: 1px dashed var(--line-strong);
  border-radius: 16px;
  background: #faf7f2;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}

.dashboard-license-item {
  position: relative;
  padding: 18px 18px 18px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fbf8f3;
  box-shadow: none;
  overflow: hidden;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.dashboard-license-item::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 16px;
  bottom: 16px;
  width: 4px;
  border-radius: 999px;
  background: var(--brand-red);
  opacity: 0.58;
}

.dashboard-license-item:hover {
  border-color: var(--line-strong);
  background: #fff;
  box-shadow: 0 10px 24px rgba(62, 48, 37, 0.055);
  transform: translateY(-1px);
}

.dashboard-license-item__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.dashboard-license-item__title {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dashboard-license-item__title-text {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.dashboard-license-item__product {
  width: 26px;
  height: 36px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 4px 7px rgba(62, 48, 37, 0.09));
}

.dashboard-license-item__name {
  display: block;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.045em;
}

.dashboard-license-audience-badge {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 8px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fffdf9;
  color: var(--accent-soft);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.07em;
  line-height: 1;
}

.dashboard-license-audience-badge--business {
  border-color: rgba(112, 74, 190, 0.22);
  background: #f4efff;
  color: #704abe;
}

.dashboard-license-market-badge {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 8px;
  border: 1px solid rgba(42, 94, 178, 0.22);
  border-radius: 999px;
  background: #eef5ff;
  color: #2a5eb2;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.07em;
  line-height: 1;
}

.dashboard-license-item__meta {
  margin: 14px 0 0;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  flex-wrap: nowrap;
}

.dashboard-license-item__field {
  min-width: 0;
}

.dashboard-license-item__field dt {
  margin: 0;
  color: var(--muted-soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-license-item__field dd {
  margin: 6px 0 0;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.6;
  word-break: break-word;
}

.dashboard-license-item__field--copyable dd {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dashboard-license-item__field--with-badge dd {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.dashboard-license-item__value {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}

.dashboard-license-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dashboard-license-badge--expired {
  background: var(--error-bg);
  color: var(--error-text);
  border: 1px solid rgba(167, 46, 46, 0.16);
}

.dashboard-license-badge--renew {
  background: rgba(196, 233, 218, 0.72);
  color: #245a36;
  border: 1px solid rgba(36, 90, 54, 0.16);
  white-space: nowrap;
}

.dashboard-license-badge--renew-inactive {
  background: #ececec;
  color: #747474;
  border-color: rgba(91, 91, 91, 0.18);
}

.dashboard-license-auto-renew-button {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease, transform 140ms ease;
}

.dashboard-license-auto-renew-button:hover {
  border-color: var(--line-strong);
  background: #fff;
  color: var(--ink);
  transform: translateY(-1px);
}

.dashboard-license-auto-renew-button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.dashboard-license-auto-renew-button__icon {
  width: 14px;
  height: 14px;
  display: block;
}

.dashboard-license-item__meta > .dashboard-license-item__field:last-child {
  margin-left: auto;
  text-align: right;
  flex: 0 0 auto;
}

.dashboard-license-item__meta > .dashboard-license-item__field:first-child {
  flex: 1 1 0;
}

.dashboard-license-item__meta > .dashboard-license-item__field:nth-child(2) {
  flex: 0 0 320px;
}

.dashboard-license-item__extra {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.dashboard-license-item__extra .dashboard-license-item__field {
  flex: 0 0 auto;
}

.dashboard-license-item__actions {
  margin-left: auto;
  padding-top: 12px;
  display: flex;
  justify-content: flex-end;
  flex: 0 0 auto;
}

.dashboard-license-item__actions--standalone {
  margin-left: 0;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.dashboard-license-upgrade-message {
  flex: 1 1 220px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
  text-align: left;
}

.dashboard-license-renew-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: none;
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.dashboard-license-renew-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(62, 48, 37, 0.12);
}

.dashboard-license-upgrade-button {
  background: var(--brand-red);
}

.dashboard-copy-button {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateX(4px);
  transition: opacity 140ms ease, transform 140ms ease, visibility 140ms ease, color 140ms ease, border-color 140ms ease;
}

.dashboard-copy-button__icon {
  width: 14px;
  height: 14px;
  display: block;
}

.dashboard-license-item__field--copyable:hover .dashboard-copy-button,
.dashboard-license-item__field--copyable:focus-within .dashboard-copy-button {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.dashboard-copy-button[data-state="done"] {
  color: var(--success-text);
  border-color: rgba(36, 90, 54, 0.22);
}

.dashboard-note {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fffdf9;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.copy-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 16px;
  background: rgba(19, 22, 33, 0.94);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
  box-shadow: 0 14px 34px rgba(19, 22, 33, 0.16);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 160ms ease, transform 160ms ease;
  pointer-events: none;
  z-index: 1200;
}

.copy-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.account-license-summary {
  margin: 20px 0 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #faf7f2;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.account-license-summary__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.account-license-summary__header h3 {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.account-license-summary__header span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.account-license-summary__grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.account-license-summary__item {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.account-license-summary__item span {
  display: block;
  color: var(--muted-soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-license-summary__item strong {
  display: block;
  margin-top: 6px;
  color: var(--brand-red);
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.account-details {
  margin: 22px 0 0;
  display: grid;
  gap: 12px;
}

.account-details__item {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fffdf9;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.account-details__separator {
  height: 1px;
  margin: 4px 2px;
  background: var(--line);
}

.account-details__item dt {
  margin: 0 0 6px;
  color: var(--muted-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-details__item dd {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.6;
  word-break: break-word;
}

.profile-modal {
  position: fixed;
  inset: 0;
  padding: 24px;
  background: rgba(62, 48, 37, 0.16);
  display: grid;
  place-items: center;
  z-index: 60;
}

.profile-modal__card {
  width: min(100%, 480px);
  padding: 28px;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.profile-modal__card--wide {
  width: min(100%, 620px);
}

.profile-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.profile-modal__title {
  margin: 0;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.profile-modal__copy {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.profile-modal__separator {
  height: 1px;
  margin: 4px 0 16px;
  background: var(--line);
}

.icon-button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
}

.profile-modal__actions {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.settings-section + .settings-section {
  margin-top: 26px;
}

.settings-section__header {
  margin-bottom: 18px;
}

.settings-section__title {
  margin: 8px 0 0;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.settings-divider {
  margin: 26px 0;
  height: 1px;
  background: var(--line);
}

.settings-note {
  margin-top: 0;
  margin-bottom: 18px;
}

.subtle-button--inline,
.primary-auth-button--inline {
  width: auto;
  min-width: 140px;
  margin-top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.renewal-summary {
  margin: 22px 0 0;
  display: grid;
  gap: 0;
}

.renewal-summary__row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.renewal-summary__row:first-child {
  border-top: 1px solid var(--line);
}

.renewal-summary dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.renewal-summary dd {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  text-align: right;
  word-break: break-word;
}

.renewal-summary__value--expired {
  color: var(--error-text);
}

.renewal-license-list {
  display: grid;
  gap: 10px;
  min-width: min(100%, 320px);
}

.renewal-license-list__item {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(237, 242, 247, 0.78);
  display: grid;
  gap: 4px;
}

.renewal-license-list__title {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.renewal-license-list__item strong {
  font-size: 13px;
  line-height: 1.35;
}

.renewal-license-list__item > span {
  color: var(--accent-soft);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  line-height: 1.45;
  word-break: break-all;
}

.renewal-status {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: #ececec;
  color: #747474;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.renewal-status[data-state="active"] {
  background: rgba(196, 233, 218, 0.72);
  color: #245a36;
}

.renewal-feedback {
  margin-top: 16px;
}

.renewal-modal__toggle {
  padding: 0 18px;
}

.renewal-modal__toggle[data-action="disable"] {
  border-color: rgba(178, 66, 48, 0.3);
  background: #fff8f5;
  color: #8a2f21;
}

.renewal-modal__toggle[data-action="enable"] {
  border-color: rgba(36, 90, 54, 0.28);
  background: #f4fbf6;
  color: #245a36;
}

.renewal-modal__toggle:disabled {
  opacity: 0.62;
  cursor: wait;
}

.renewal-modal__link {
  padding: 0 18px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1100px) {
  .split-auth {
    grid-template-columns: 1fr;
  }

  .auth-showcase {
    display: none;
  }

  .auth-form-side__inner {
    max-width: 620px;
  }
}

@media (max-width: 960px) {
  .site-footer__inner {
    width: min(100%, calc(100% - 28px));
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .site-footer__brand {
    max-width: none;
  }

  .site-footer__bottom {
    width: min(100%, calc(100% - 28px));
  }

  .auth-form-side__inner {
    padding: 32px 22px 40px;
  }

  .dashboard-shell {
    width: min(100%, calc(100% - 28px));
    padding: 14px 0 44px;
  }

  .dashboard-topbar {
    top: 10px;
    padding: 14px;
    flex-direction: column;
    align-items: stretch;
  }

  .dashboard-topbar__actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .dashboard-navlink,
  .account-button {
    width: 100%;
  }

  .account-dropdown {
    left: 0;
    right: 0;
    width: auto;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .dashboard-grid > .dashboard-card {
    position: relative;
    top: auto;
  }

  .dashboard-hero {
    margin-top: 18px;
    padding: 18px 0 18px 14px;
    border-radius: 0;
  }

  .dashboard-hero::after {
    display: none;
  }

  .dashboard-license-panel__status {
    justify-content: flex-start;
  }

  .dashboard-license-empty {
    min-height: 260px;
    padding: 28px 22px;
  }

  .copy-toast {
    right: 14px;
    left: 14px;
    bottom: 14px;
  }

  .dashboard-license-group {
    padding: 20px;
    border-radius: 20px;
  }

  .dashboard-license-group__header {
    align-items: flex-start;
  }

  .dashboard-license-group__title {
    font-size: 22px;
  }

  .dashboard-license-item__header {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .dashboard-license-item__meta {
    flex-wrap: wrap;
    gap: 12px;
  }

  .dashboard-license-item__field--copyable dd {
    flex-wrap: wrap;
  }

  .dashboard-copy-button {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .dashboard-license-item__extra {
    flex-wrap: wrap;
    gap: 12px;
  }

  .dashboard-license-item__meta > .dashboard-license-item__field:last-child {
    margin-left: 0;
    text-align: left;
  }

  .profile-modal__actions {
    flex-direction: column-reverse;
  }

  .renewal-summary__row {
    flex-direction: column;
    gap: 6px;
  }

  .renewal-summary dd {
    text-align: left;
  }

  .auth-toolbar {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 28px;
  }

  .auth-brand {
    margin-bottom: 28px;
    font-size: 32px;
  }

  .auth-toolbar .auth-brand {
    margin-bottom: 0;
  }

  .auth-panel h1 {
    font-size: 40px;
  }

  .auth-links {
    align-items: stretch;
  }
}

@media (max-width: 720px) {
  .site-footer__nav {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
