.member-login-page,
.member-dashboard {
  --member-ink: #10243a;
  --member-muted: #5b7082;
  --member-line: #dce6ed;
  --member-soft: #f4f8fb;
  --member-ice: #0ea5e9;
  --member-ice-dark: #0875bd;
  --member-fire: #f97316;
  --member-fire-dark: #db3b0f;
  --member-green: #14956a;
  --member-nav: #071a2b;
  color: var(--member-ink);
  font-family: "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
}

.member-login-page *,
.member-dashboard * {
  box-sizing: border-box;
}

.member-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.member-brand img {
  width: 205px;
  height: 46px;
  object-fit: contain;
  object-position: left center;
}

.member-brand > div {
  display: grid;
  gap: 1px;
  padding-left: 12px;
  border-left: 1px solid rgba(99, 137, 160, 0.35);
}

.member-brand b {
  font-size: 15px;
  letter-spacing: 0.06em;
}

.member-brand span {
  color: #7390a4;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.member-brand.is-compact img {
  width: min(100%, 285px);
  height: auto;
}

.member-brand.is-emblem img {
  width: clamp(290px, 29vw, 460px);
  height: auto;
  object-position: center;
}

.member-login-page {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(430px, 0.82fr);
  min-height: 100vh;
  overflow: hidden;
  background: var(--member-nav);
}

.member-aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(75px);
  opacity: 0.24;
  pointer-events: none;
}

.member-aurora-ice {
  bottom: -230px;
  left: -170px;
  width: 620px;
  height: 620px;
  background: #009dff;
}

.member-aurora-fire {
  top: -290px;
  right: 23%;
  width: 520px;
  height: 520px;
  background: #ff4d00;
}

.member-login-story {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 52px 7vw;
  color: white;
  text-align: center;
}

.member-public-lockup {
  display: flex;
  flex: 1;
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.member-story-copy {
  max-width: 680px;
  margin-top: 28px;
}

.member-story-copy > span,
.member-login-intro > span,
.member-eyebrow,
.member-ready-copy > span {
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.member-story-copy > span {
  color: #86d7ff;
}

.member-story-copy h1 {
  margin: 12px 0 16px;
  font-size: clamp(40px, 4.7vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.member-story-copy h1::after {
  display: block;
  width: 95px;
  height: 5px;
  margin: 27px auto 0;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--member-ice), var(--member-fire));
  content: "";
}

.member-story-copy p {
  max-width: 590px;
  margin: 0 auto;
  color: #a9bfd0;
  font-size: 16px;
  line-height: 1.7;
}

.member-trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 34px;
  color: #c3d4df;
  font-size: 12px;
  font-weight: 700;
}

.member-trust-row span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.member-trust-row i {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1px solid rgba(88, 199, 248, 0.35);
  border-radius: 50%;
  color: #60c9f6;
  font-style: normal;
}

.member-legal-footer {
  width: calc(100% - 30px);
  color: #7896ab;
}

.member-legal-footer p {
  margin: 2px 0;
  font-size: 11px;
  line-height: 1.45;
}

.member-login-panel {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 48px;
  background: #f8fbfd;
}

.member-login-panel::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 1px;
  background: linear-gradient(transparent, #259fe0, #ed6c27, transparent);
  opacity: 0.5;
  content: "";
}

.member-login-card {
  width: min(440px, 100%);
}

.member-login-logo {
  margin-bottom: 46px;
}

.member-login-intro {
  text-align: center;
}

.member-login-intro > span {
  color: var(--member-fire);
}

.member-login-intro h2 {
  margin: 7px 0 8px;
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.member-login-intro > p {
  margin: 0 0 34px;
  color: var(--member-muted);
  font-size: 16px;
  line-height: 1.6;
}

.member-login-card form {
  display: grid;
  gap: 20px;
}

.member-login-card form > label {
  color: #344d61;
  font-size: 13px;
  font-weight: 800;
}

.member-login-card input {
  width: 100%;
  margin-top: 7px;
  padding: 13px 14px;
  border: 1px solid #cfdce5;
  border-radius: 9px;
  outline: none;
  background: white;
  color: var(--member-ink);
}

.member-login-card input:focus {
  border-color: var(--member-ice);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.11);
}

.member-password-field {
  display: block;
  position: relative;
  margin-top: 7px;
}

.member-password-field input {
  margin-top: 0;
  padding-right: 56px;
}

.member-password-field button {
  position: absolute;
  top: 50%;
  right: 8px;
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--member-ice-dark);
  cursor: pointer;
  transform: translateY(-50%);
}

.member-password-field button:hover {
  background: rgba(14, 165, 233, 0.1);
}

.member-password-eye {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.member-password-eye-hide,
.member-password-field button[aria-pressed="true"] .member-password-eye-show {
  display: none;
}

.member-password-field button[aria-pressed="true"] .member-password-eye-hide {
  display: block;
}

.member-form-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.member-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--member-muted);
  font-size: 11px;
  font-weight: 650;
}

.member-remember input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--member-ice);
}

.member-text-button {
  border: 0;
  background: none;
  color: var(--member-ice-dark);
  font-size: 11px;
  font-weight: 750;
}

.member-primary,
.member-secondary {
  min-height: 44px;
  padding: 11px 16px;
  border-radius: 8px;
  font-weight: 800;
}

.member-primary {
  border: 0;
  background: linear-gradient(135deg, var(--member-ice-dark), var(--member-ice));
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.18);
  color: white;
}

.member-secondary {
  border: 1px solid var(--member-line);
  background: white;
  color: var(--member-ink);
}

.member-login-submit {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  margin-top: 2px;
  padding-inline: 18px;
}

.member-login-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: stretch;
}

.member-login-actions .member-login-submit {
  margin-top: 0;
}

.member-forgot-password-button {
  min-width: 168px;
  border-color: rgba(2, 132, 199, 0.35);
  color: var(--member-ice-dark);
  cursor: pointer;
  font-size: 14px;
  white-space: nowrap;
}

.member-forgot-password-button:hover {
  border-color: var(--member-ice);
  background: rgba(14, 165, 233, 0.08);
}

.member-login-error {
  padding: 10px 12px;
  border: 1px solid #f0b9af;
  border-radius: 8px;
  background: #fff2ef;
  color: #a73222;
  font-size: 12px;
}

.member-login-notice {
  padding: 10px 12px;
  border: 1px solid #bcddeb;
  border-radius: 8px;
  background: #edf9fe;
  color: #23647f;
  font-size: 14px;
}

.member-help-note {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 24px;
  padding: 13px;
  border: 1px solid #d8e6ed;
  border-radius: 9px;
  background: #f2f8fb;
  color: inherit;
  text-decoration: none;
  transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.member-help-note:hover {
  border-color: rgba(14, 165, 233, 0.55);
  background: #eaf7fc;
}

.member-help-note:focus-visible {
  outline: 3px solid rgba(14, 165, 233, 0.3);
  outline-offset: 2px;
}

.member-help-note > span {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #e2f4fc;
  color: var(--member-ice-dark);
  font-weight: 900;
}

.member-help-note p {
  margin: 0;
  color: #5f7484;
  font-size: 11px;
  line-height: 1.5;
}

.member-help-note b {
  display: block;
  color: var(--member-ink);
}

.member-mockup-note {
  margin: 18px 0 0;
  color: #94a4af;
  font-size: 10px;
  text-align: center;
}

.member-dashboard {
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% -10%, rgba(14, 165, 233, 0.1), transparent 25%),
    radial-gradient(circle at 92% 2%, rgba(249, 115, 22, 0.07), transparent 22%),
    #edf3f7;
}

.member-dashboard a {
  color: inherit;
  text-decoration: none;
}

.member-dashboard button,
.member-login-page button {
  cursor: pointer;
  font-family: inherit;
}

.member-license-view,
.member-help-view {
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
  padding: 36px 0 54px;
}

.member-page-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.member-page-heading h1 {
  margin: 8px 0 5px;
  color: #0b2942;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.member-page-heading p,
.member-plan-change-card p {
  margin: 0;
  color: #587087;
  line-height: 1.65;
}

.member-license-management-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(360px, 1.2fr);
  gap: 20px;
  margin-top: 20px;
}

.member-plan-change-card h2 {
  margin: 9px 0 7px;
  color: #0b2942;
}

.member-plan-change-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 14px;
}

.member-plan-change-card > small {
  display: block;
  color: #71879a;
  line-height: 1.55;
}

.member-managed-plan {
  display: grid;
  align-content: start;
  gap: 14px;
}

.member-managed-plan h2,
.member-managed-plan p { margin: 0; }

.member-managed-plan-callout {
  display: grid;
  gap: 5px;
  margin-top: 4px;
  padding: 16px;
  border: 1px solid #cde6f2;
  border-radius: 12px;
  background: linear-gradient(135deg, #f0faff, #f9fdff);
  color: #174b67;
}

.member-managed-plan-callout span {
  color: #607c8e;
  font-size: 0.85rem;
  line-height: 1.55;
}

.member-managed-plan > .member-secondary { justify-self: start; }

.member-license-shortcut {
  display: grid;
  align-content: start;
  gap: 12px;
  border-color: rgba(249, 115, 22, 0.25);
  background: linear-gradient(145deg, #fff, #fff8f3);
}

.member-license-shortcut h2,
.member-license-shortcut p {
  margin: 0;
}

.member-license-shortcut p {
  color: #607587;
  line-height: 1.6;
}

.member-license-shortcut > b {
  color: #0875bd;
}

.member-lower-grid.is-account-only {
  grid-template-columns: 1fr;
}

.member-help-view .member-support-section {
  margin-top: 0;
}

.member-billing-journey-notice {
  display: grid;
  gap: 5px;
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid rgba(13, 142, 177, 0.24);
  border-radius: 12px;
  background: #eef9fc;
  color: #24475f;
  font-size: 0.82rem;
  line-height: 1.45;
}

.member-billing-journey-notice[hidden] { display: none; }
.member-billing-journey-notice b { color: #076d95; }
.member-dashboard[data-member-view="home"] #support-tickets,
.member-dashboard[data-member-view="home"] #activeness,
.member-dashboard[data-member-view="computers"] #support-tickets,
.member-dashboard[data-member-view="computers"] #activeness {
  display: none;
}

.member-dashboard[data-member-view="support"] .member-dashboard-shell > :not(#support-tickets),
.member-dashboard[data-member-view="activeness"] .member-dashboard-shell > :not(#activeness) {
  display: none !important;
}

.member-dashboard[data-member-view="support"] .member-dashboard-shell,
.member-dashboard[data-member-view="activeness"] .member-dashboard-shell {
  padding-top: 26px;
}

.member-dashboard[data-member-view="support"] #support-tickets,
.member-dashboard[data-member-view="activeness"] #activeness {
  margin-top: 0;
}

.member-dashboard-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(245px, 1fr) auto minmax(245px, 1fr);
  align-items: center;
  min-height: 74px;
  padding: 10px max(28px, calc((100vw - 1380px) / 2));
  border-bottom: 1px solid rgba(207, 220, 229, 0.9);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.member-dashboard-header nav {
  display: flex;
  align-self: stretch;
  align-items: center;
  gap: 7px;
}

.member-dashboard-header nav a {
  position: relative;
  padding: 17px 14px;
  color: #657b8b;
  font-size: 12px;
  font-weight: 750;
}

.member-dashboard-header nav a.active {
  color: var(--member-ink);
}

.member-dashboard-header nav a.active::after {
  position: absolute;
  right: 14px;
  bottom: 4px;
  left: 14px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--member-ice), var(--member-fire));
  content: "";
}

.member-profile {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.member-notification {
  position: relative;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--member-line);
  border-radius: 9px;
  background: white;
  color: #617b8e;
}

.member-notification i {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--member-fire);
}

.member-profile-button {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 4px 6px 4px 4px;
  border: 0;
  background: transparent;
  color: var(--member-ink);
  text-align: left;
}

.member-profile-button > span:first-child {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, #0875bd, #20b4ee);
  color: white;
  font-size: 11px;
  font-weight: 900;
}

.member-profile-button > span:nth-child(2) {
  display: grid;
}

.member-profile-button b {
  font-size: 11px;
}

.member-profile-button small {
  color: #80919d;
  font-size: 9px;
}

.member-profile-button > i {
  color: #81929e;
  font-style: normal;
}

.member-dashboard-shell {
  width: min(1380px, calc(100% - 56px));
  margin: 0 auto;
  padding: 42px 0 34px;
}

.member-welcome {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.member-eyebrow {
  color: #718799;
}

.member-welcome h1 {
  margin: 7px 0 3px;
  font-size: clamp(32px, 3vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.member-welcome p {
  margin: 0;
  color: var(--member-muted);
  font-size: 14px;
}

.member-signout {
  padding: 9px 12px;
  border: 1px solid var(--member-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  color: #5d7486 !important;
  font-size: 11px;
  font-weight: 750;
}

.member-ready-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  overflow: hidden;
  margin-bottom: 18px;
  padding: 21px 24px;
  border: 1px solid #b9e1d1;
  border-radius: 13px;
  background: linear-gradient(120deg, #f3fcf8, #eefaf5 65%, #f8fdff);
  box-shadow: 0 7px 24px rgba(23, 97, 75, 0.05);
}

.member-ready-card::after {
  position: absolute;
  top: -40px;
  right: 17%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(14, 165, 233, 0.06);
  content: "";
}

.member-ready-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 12px;
  background: var(--member-green);
  box-shadow: 0 7px 18px rgba(20, 149, 106, 0.2);
  color: white;
  font-size: 21px;
  font-weight: 900;
}

.member-ready-copy {
  position: relative;
  z-index: 1;
}

.member-ready-copy > span {
  color: var(--member-green);
}

.member-ready-copy h2 {
  margin: 4px 0 2px;
  font-size: 24px;
}

.member-ready-copy p {
  margin: 0;
  color: #537368;
  font-size: 12px;
}

.member-ready-meta {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: end;
  gap: 2px;
  padding-left: 24px;
  border-left: 1px solid #cee6dc;
}

.member-ready-meta span {
  color: #769083;
  font-size: 10px;
}

.member-ready-meta b {
  font-size: 13px;
}

.member-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(330px, 0.75fr);
  gap: 18px;
}

.member-main-column,
.member-side-column {
  display: grid;
  align-content: start;
  gap: 18px;
}

.member-card {
  padding: 21px;
  border: 1px solid var(--member-line);
  border-radius: 12px;
  background: white;
  box-shadow: 0 5px 22px rgba(18, 43, 63, 0.035);
}

.member-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.member-card-heading h2 {
  margin: 5px 0 3px;
  font-size: 24px;
  line-height: 1.25;
}

.member-card-heading p {
  margin: 0;
  color: var(--member-muted);
  font-size: 11px;
}

.member-ice-text {
  color: var(--member-ice-dark);
}

.member-fire-text {
  color: var(--member-fire);
}

.member-version,
.member-slot-pill,
.member-status-pill {
  flex: 0 0 auto;
  padding: 5px 9px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 850;
}

.member-version {
  background: #eaf7fd;
  color: var(--member-ice-dark);
}

.member-release {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 15px;
  margin-top: 19px;
  padding: 17px;
  border: 1px solid #e2eaf0;
  border-radius: 10px;
  background: #fbfdfe;
}

.member-app-mark {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(145deg, #07233a, #0b5482);
  box-shadow: inset 0 0 0 1px rgba(79, 196, 244, 0.2);
  color: white;
  font-weight: 900;
}

.member-release h3 {
  margin: 0 0 3px;
  font-size: 18px;
}

.member-release p {
  margin: 0 0 7px;
  color: #718493;
  font-size: 10px;
}

.member-verified {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--member-green);
  font-size: 9px;
  font-weight: 800;
}

.member-verified i {
  display: grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border-radius: 50%;
  background: #e7f7f0;
  font-style: normal;
}

.member-download-button {
  display: flex;
  align-items: center;
  gap: 18px;
}

.member-technical-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  margin-top: 11px;
  padding: 9px 3px 0;
  border: 0;
  background: transparent;
  color: #698093;
  font-size: 10px;
  font-weight: 750;
}

.member-technical-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 11px;
  padding-top: 11px;
  border-top: 1px solid var(--member-line);
}

.member-technical-details span {
  display: grid;
  gap: 2px;
  padding: 9px;
  border-radius: 7px;
  background: var(--member-soft);
}

.member-technical-details small,
.member-account-facts small {
  color: #8495a2;
  font-size: 9px;
}

.member-technical-details b,
.member-account-facts b {
  font-size: 10px;
}

.member-slot-pill {
  background: #fff3e9;
  color: var(--member-fire-dark);
}

.member-device-list {
  display: grid;
  margin-top: 15px;
}

.member-device-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px 2px;
  border-top: 1px solid #e9eef2;
}

.member-device-icon {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border-radius: 9px;
  background: #eaf7fd;
  color: var(--member-ice-dark);
  font-size: 16px;
}

.member-device-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.member-device-title b {
  font-size: 12px;
}

.member-device-title span {
  padding: 3px 6px;
  border-radius: 12px;
  background: #eaf8f2;
  color: var(--member-green);
  font-size: 8px;
  font-weight: 850;
}

.member-device-row p,
.member-device-row small {
  margin: 2px 0 0;
  color: #6e8291;
  font-size: 9px;
}

.member-device-row small {
  color: #94a2ad;
}

.member-device-row > button,
.member-account-card button {
  padding: 7px 9px;
  border: 1px solid var(--member-line);
  border-radius: 7px;
  background: white;
  color: var(--member-ice-dark);
  font-size: 9px;
  font-weight: 800;
}

.member-status-pill {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #eaf8f2;
  color: var(--member-green);
}

.member-status-pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--member-green);
}

.member-plan-name {
  display: grid;
  gap: 2px;
  margin: 17px 0 5px;
  padding: 15px;
  border: 1px solid #d9e9f1;
  border-radius: 9px;
  background: linear-gradient(135deg, #f4fbfe, #fbfdff);
}

.member-plan-name span,
.member-plan-name small {
  color: #8293a0;
  font-size: 9px;
}

.member-plan-name b {
  font-size: 22px;
}

.member-facts {
  margin: 7px 0 0;
}

.member-facts > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 1px;
  border-bottom: 1px solid #edf1f4;
  font-size: 10px;
}

.member-facts > div:last-child {
  border-bottom: 0;
}

.member-facts dt {
  color: #788c9b;
}

.member-facts dd {
  margin: 0;
  color: var(--member-ink);
  font-weight: 750;
  text-align: right;
}

.member-steps {
  display: grid;
  gap: 13px;
  margin: 17px 0;
  padding: 0;
  list-style: none;
}

.member-steps li {
  display: flex;
  gap: 10px;
}

.member-steps li > span {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #eaf7fd;
  color: var(--member-ice-dark);
  font-size: 10px;
  font-weight: 900;
}

.member-steps li > div {
  display: grid;
  gap: 2px;
}

.member-steps b {
  font-size: 11px;
}

.member-steps small {
  color: #7d8e9a;
  font-size: 9px;
  line-height: 1.45;
}

.member-start-card .member-secondary {
  width: 100%;
  font-size: 10px;
}

.member-lower-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(330px, 0.75fr);
  gap: 18px;
  margin-top: 18px;
}

.member-payment-uat {
  margin-top: 24px;
  border-color: rgba(242, 119, 43, 0.24);
}

.member-subscription-view {
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
  padding: 36px 0 54px;
}

.member-subscription-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.member-subscription-heading h1 {
  margin: 8px 0 5px;
  color: #0b2942;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.member-subscription-heading p,
.member-refund-policy-note p { color: #587087; }

.member-subscription-status {
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) minmax(360px, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.member-subscription-status h2,
.member-refund-policy-note h2 { margin: 7px 0; color: #0b2942; }

.member-subscription-status .member-facts { margin: 0; }

.member-subscription-status > button { align-self: end; }

.member-refund-policy-note { margin-top: 20px; }
.member-refund-policy-note .member-secondary { display: inline-flex; margin-top: 8px; }
.member-payment-heading {
  align-items: flex-start;
}

.member-payment-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: end;
  margin-top: 18px;
}

.member-payment-form > label:not(.member-payment-consent) {
  display: grid;
  gap: 7px;
  color: #587087;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.member-payment-form select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #d6e2eb;
  border-radius: 10px;
  background: #fff;
  color: #102b42;
  padding: 0 13px;
  font: inherit;
  font-weight: 700;
}

.member-payment-form input[type="text"] {
  width: 100%;
  min-height: 46px;
  border: 1px solid #d6e2eb;
  border-radius: 10px;
  background: #fff;
  color: #102b42;
  padding: 0 13px;
  font: inherit;
}

.member-payment-price {
  min-height: 46px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 12px;
  align-items: center;
  padding: 7px 13px;
  border-radius: 10px;
  background: #f4f8fb;
}

.member-payment-price span,
.member-payment-price small { color: #698096; }
.member-payment-price span { font-size: 0.76rem; font-weight: 800; text-transform: uppercase; }
.member-payment-price strong { color: #0d2a43; font-size: 1.2rem; }
.member-payment-price small { grid-column: 1 / -1; font-size: 0.74rem; }

.member-payment-price.is-discount { background: #eaf8f2; }
.member-payment-price.is-discount strong { color: #13704a; }

.member-payment-total {
  border: 1px solid rgba(242, 119, 43, 0.28);
  background: #fff8f2;
}
.member-payment-total strong { color: #c64d0d; }

.member-payment-promo {
  grid-column: 1 / -1;
  display: grid;
  gap: 7px;
}

.member-payment-promo > label {
  color: #587087;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.member-payment-promo > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.member-payment-promo small {
  color: #698096;
  font-size: 0.76rem;
}

.member-plan-change-note {
  grid-column: 1 / -1;
  margin: 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f4f8fb;
  color: #587087;
  font-size: 0.8rem;
  line-height: 1.55;
}

.member-payment-consent {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #4f667b;
  font-size: 0.86rem;
}

.member-payment-consent a {
  color: #087fb2;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.member-subscription-heading-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.member-payment-consent input { margin-top: 3px; }
.member-payment-form > .member-primary { justify-self: start; }

.member-payment-status {
  margin-top: 16px;
  border-radius: 10px;
  padding: 13px 15px;
  background: #edf6fb;
  color: #224761;
  font-weight: 700;
}

.member-payment-status.is-success { background: #e5f5ec; color: #145d39; }
.member-payment-status.is-warning { background: #fff3d8; color: #7b5100; }
.member-payment-status.is-error { background: #fde9e9; color: #922f2f; }

@media (max-width: 820px) {
  .member-payment-form { grid-template-columns: 1fr; }
  .member-payment-consent { grid-column: 1; }
  .member-payment-promo,
  .member-plan-change-note { grid-column: 1; }
  .member-payment-promo > div { grid-template-columns: 1fr; }
}

.member-account-card .member-card-heading button {
  align-self: center;
}

.member-account-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 17px;
}

.member-account-facts span {
  display: grid;
  gap: 3px;
  padding: 11px;
  border-radius: 8px;
  background: var(--member-soft);
}

.member-help-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 12px;
  border: 1px solid #cfe4ef;
  background: linear-gradient(135deg, #f5fbfe, white);
}

.member-help-icon {
  display: grid;
  width: 40px;
  height: 40px;
  grid-row: 1 / 3;
  place-items: center;
  border-radius: 10px;
  background: #e5f6fd;
  color: var(--member-ice-dark);
  font-size: 18px;
  font-weight: 900;
}

.member-help-card h2 {
  margin: 5px 0 3px;
  font-size: 21px;
}

.member-help-card p {
  margin: 0;
  color: #667d8e;
  font-size: 10px;
  line-height: 1.55;
}

.member-help-card .member-support-card-button {
  display: flex;
  width: fit-content;
  min-height: 38px;
  grid-column: 2;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 7px;
  padding: 8px 14px;
  border: 1px solid #9dd6eb;
  border-radius: 9px;
  background: #e7f7fd;
  color: #086f9f;
  font-size: 12px;
  font-weight: 850;
}

.member-help-card .member-support-card-button:hover {
  border-color: #0b88bd;
  background: #d9f1fb;
}

.member-dashboard-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(1380px, calc(100% - 56px));
  margin: 0 auto;
  padding: 21px 0 28px;
  border-top: 1px solid #dbe4eb;
  color: #8496a3;
  font-size: 9px;
}

.member-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  max-width: min(360px, calc(100vw - 48px));
  padding: 12px 15px;
  border: 1px solid #cce2ed;
  border-radius: 9px;
  background: #092238;
  box-shadow: 0 12px 35px rgba(5, 28, 44, 0.24);
  color: white;
  font-size: 11px;
  font-weight: 700;
}

.member-login-page :is(button, input, a):focus-visible,
.member-dashboard :is(button, input, a):focus-visible {
  outline: 3px solid rgba(14, 165, 233, 0.3);
  outline-offset: 2px;
}

/* Member-facing information remains readable without exposing a dense admin scale. */
.member-login-card form > label {
  font-size: 16px;
}

.member-remember,
.member-text-button,
.member-help-note p,
.member-mockup-note {
  font-size: 14px;
}

.member-dashboard-header nav a {
  font-size: 15px;
}

.member-profile-button b {
  font-size: 14px;
}

.member-profile-button small,
.member-ready-meta span,
.member-version,
.member-slot-pill,
.member-status-pill {
  font-size: 13px;
}

.member-eyebrow,
.member-ready-copy > span {
  font-size: 13px;
}

.member-welcome p {
  font-size: 17px;
}

.member-ready-copy p,
.member-card-heading p {
  font-size: 15px;
  line-height: 1.55;
}

.member-ready-meta b {
  font-size: 16px;
}

.member-release p,
.member-technical-toggle,
.member-technical-details b,
.member-account-facts b,
.member-facts > div,
.member-help-card p,
.member-help-card button {
  font-size: 14px;
  line-height: 1.5;
}

.member-verified,
.member-device-row p,
.member-device-row small,
.member-plan-name span,
.member-plan-name small,
.member-technical-details small,
.member-account-facts small,
.member-device-row > button,
.member-account-card button,
.member-dashboard-footer {
  font-size: 13px;
  line-height: 1.5;
}

.member-device-title b,
.member-steps b {
  font-size: 15px;
}

.member-steps small,
.member-start-card .member-secondary {
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 1050px) {
  .member-dashboard-header {
    grid-template-columns: 1fr auto;
  }

  .member-dashboard-header nav {
    grid-column: 1 / -1;
    order: 3;
    display: flex;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .member-dashboard-header nav a {
    flex: 0 0 auto;
    padding-block: 11px;
  }

  .member-dashboard-grid,
  .member-lower-grid,
  .member-license-management-grid {
    grid-template-columns: 1fr;
  }

  .member-side-column {
    grid-template-columns: 1fr 1fr;
  }

  .member-subscription-status {
    grid-template-columns: 1fr;
  }

  .member-subscription-status > button {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .member-subscription-view {
    width: min(100% - 30px, 1180px);
    padding-top: 24px;
  }

  .member-subscription-heading {
    display: grid;
  }
  .member-login-page {
    display: block;
    min-height: 100vh;
    background: #f8fbfd;
  }

  .member-login-story,
  .member-aurora {
    display: none;
  }

  .member-login-panel {
    min-height: 100vh;
    padding: 32px 22px;
  }

  .member-login-panel::before {
    display: none;
  }

  .member-login-logo {
    margin-bottom: 34px;
  }

  .member-login-intro h2 {
    font-size: 31px;
  }

  .member-dashboard-header {
    min-height: 65px;
    padding: 8px 16px;
  }

  .member-dashboard-header .member-brand img {
    width: 150px;
    height: 36px;
  }

  .member-dashboard-header .member-brand > div,
  .member-profile-button > span:nth-child(2),
  .member-profile-button > i,
  .member-notification {
    display: none;
  }

  .member-dashboard-shell {
    width: min(100% - 28px, 1380px);
    padding-top: 28px;
  }

  .member-license-view,
  .member-help-view {
    width: min(100% - 28px, 1180px);
    padding-top: 28px;
  }

  .member-page-heading {
    flex-direction: column;
  }

  .member-welcome {
    align-items: flex-start;
  }

  .member-welcome h1 {
    font-size: 31px;
  }

  .member-signout {
    white-space: nowrap;
  }

  .member-ready-card {
    grid-template-columns: auto 1fr;
    padding: 18px;
  }

  .member-ready-meta {
    grid-column: 2;
    justify-items: start;
    padding: 10px 0 0;
    border-top: 1px solid #cee6dc;
    border-left: 0;
  }

  .member-side-column {
    grid-template-columns: 1fr;
  }

  .member-release {
    grid-template-columns: auto 1fr;
  }

  .member-download-button {
    grid-column: 1 / -1;
    justify-content: space-between;
  }

  .member-technical-details,
  .member-account-facts {
    grid-template-columns: 1fr;
  }

  .member-device-row {
    grid-template-columns: auto 1fr;
  }

  .member-device-row > button {
    grid-column: 2;
    justify-self: start;
  }

  .member-computer-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .member-dashboard-footer {
    width: min(100% - 28px, 1380px);
    flex-direction: column;
    gap: 4px;
  }
}

@media (max-width: 420px) {
  .member-login-actions {
    gap: 8px;
  }

  .member-login-actions > button {
    padding-inline: 12px;
    font-size: 13px;
  }

  .member-forgot-password-button {
    min-width: 0;
  }

  .member-welcome {
    flex-direction: column;
    gap: 12px;
  }

  .member-ready-card {
    grid-template-columns: 1fr;
  }

  .member-ready-meta {
    grid-column: 1;
  }

  .member-card {
    padding: 17px;
  }
}

@media (max-width: 350px) {
  .member-login-actions {
    grid-template-columns: 1fr;
  }
}

/* Authenticated Release Info view. */
.member-dashboard[data-member-view="help"] #activeness {
  display: none;
}

.member-release-info-view {
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
  padding: 36px 0 54px;
}

.member-release-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.34fr);
  gap: 26px;
  overflow: hidden;
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid rgba(68, 142, 184, 0.32);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(5, 25, 45, 0.98), rgba(8, 57, 82, 0.96) 58%, rgba(13, 77, 91, 0.94)),
    #071a2b;
  color: #fff;
  box-shadow: 0 22px 58px rgba(11, 43, 64, 0.18);
}

.member-release-hero-glow {
  position: absolute;
  top: -160px;
  right: -100px;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.34), rgba(249, 115, 22, 0.11) 48%, transparent 70%);
  filter: blur(4px);
  pointer-events: none;
}

.member-release-hero-main,
.member-release-facts,
.member-release-technical {
  position: relative;
  z-index: 1;
}

.member-release-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.member-release-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #dcecf6;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.member-release-badge.is-latest {
  border-color: rgba(56, 189, 248, 0.55);
  background: rgba(14, 165, 233, 0.18);
  color: #a9e6ff;
}

.member-release-badge.is-approved {
  border-color: rgba(74, 222, 128, 0.45);
  color: #bbf7d0;
}

.member-release-badge.is-mandatory {
  border-color: rgba(251, 146, 60, 0.6);
  background: rgba(249, 115, 22, 0.17);
  color: #fed7aa;
}

.member-release-version {
  display: block;
  color: #8fdcff;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.member-release-hero h1 {
  max-width: 760px;
  margin: 10px 0 14px;
  color: #fff;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.member-release-hero-main > p {
  max-width: 760px;
  margin: 0;
  color: #c5d8e5;
  font-size: clamp(14px, 1.8vw, 17px);
  line-height: 1.65;
}

.member-release-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 26px;
}

.member-release-download {
  min-height: 46px;
  border: 0;
  background: linear-gradient(135deg, #0ea5e9, #0875bd);
  box-shadow: 0 10px 26px rgba(14, 165, 233, 0.25);
}

.member-release-actions > span {
  color: #a8bdca;
  font-size: 12px;
  font-weight: 700;
}

.member-release-facts {
  align-self: stretch;
  margin: 0;
  padding: 8px 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(10px);
}

.member-release-facts div {
  display: grid;
  gap: 4px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.member-release-facts div:last-child {
  border-bottom: 0;
}

.member-release-facts dt {
  color: #88a8ba;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.member-release-facts dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.member-release-technical {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #bed0dc;
}

.member-release-technical summary {
  width: fit-content;
  padding-top: 18px;
  cursor: pointer;
  color: #d9e8f1;
  font-size: 12px;
  font-weight: 800;
}

.member-release-technical dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0 0;
}

.member-release-technical dl div {
  min-width: 0;
  padding: 13px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.055);
}

.member-release-technical dt {
  margin-bottom: 5px;
  color: #88a8ba;
  font-size: 10px;
  text-transform: uppercase;
}

.member-release-technical dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: #dcebf4;
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 11px;
}

.member-release-highlights,
.member-release-archive {
  margin-top: 34px;
}

.member-release-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 17px;
}

.member-release-section-heading h2 {
  margin: 5px 0 0;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.025em;
}

.member-release-section-heading > p {
  max-width: 470px;
  margin: 0;
  color: var(--member-muted);
  font-size: 13px;
  line-height: 1.55;
  text-align: right;
}

.member-release-highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.member-release-highlight-card {
  position: relative;
  min-width: 0;
  padding: 21px 21px 21px 62px;
  border: 1px solid var(--member-line);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 7px 24px rgba(18, 54, 77, 0.045);
}

.member-release-highlight-card > span {
  position: absolute;
  top: 21px;
  left: 20px;
  color: #0b8dc7;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.member-release-highlight-card h3 {
  margin: 0 0 7px;
  font-size: 15px;
}

.member-release-highlight-card p {
  margin: 0;
  color: var(--member-muted);
  font-size: 13px;
  line-height: 1.55;
}

.member-release-archive-list {
  display: grid;
  gap: 10px;
}

.member-release-archive-item {
  border: 1px solid var(--member-line);
  border-radius: 13px;
  background: #fff;
}

.member-release-archive-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 19px;
  cursor: pointer;
  list-style: none;
}

.member-release-archive-item summary::-webkit-details-marker {
  display: none;
}

.member-release-archive-item summary span {
  display: grid;
  gap: 3px;
}

.member-release-archive-item summary small,
.member-release-archive-item summary time {
  color: var(--member-muted);
  font-size: 12px;
}

.member-release-archive-content {
  padding: 0 19px 19px;
  border-top: 1px solid var(--member-line);
}

.member-release-archive-content > p {
  color: var(--member-muted);
  line-height: 1.6;
}

.member-release-archive-content ul {
  display: grid;
  gap: 9px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.member-release-archive-content li {
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--member-soft);
}

.member-release-archive-content li span {
  color: var(--member-muted);
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 1050px) {
  .member-dashboard-header {
    grid-template-columns: minmax(0, 1fr) auto;
    padding-bottom: 0;
  }

  .member-dashboard-header nav {
    display: flex;
    grid-column: 1 / -1;
    width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

  .member-dashboard-header nav::-webkit-scrollbar {
    display: none;
  }

  .member-dashboard-header nav a {
    flex: 1 0 auto;
    padding: 12px 10px;
    text-align: center;
    white-space: nowrap;
  }

  .member-release-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .member-release-info-view {
    width: min(100% - 28px, 1180px);
    padding: 24px 0 40px;
  }

  .member-release-hero {
    gap: 20px;
    padding: 24px 19px;
    border-radius: 18px;
  }

  .member-release-hero h1 {
    font-size: clamp(30px, 10vw, 42px);
  }

  .member-release-actions,
  .member-release-section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .member-release-download {
    width: 100%;
    justify-content: space-between;
  }

  .member-release-technical dl,
  .member-release-highlights-grid {
    grid-template-columns: 1fr;
  }

  .member-release-section-heading > p {
    text-align: left;
  }

  .member-release-archive-item summary {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .member-dashboard-header nav {
    margin-inline: -8px;
    width: calc(100% + 16px);
  }

  .member-dashboard-header nav a {
    padding-inline: 8px;
    font-size: 10px;
  }

  .member-release-highlight-card {
    padding: 19px 17px 19px 50px;
  }

  .member-release-highlight-card > span {
    top: 19px;
    left: 16px;
  }
}

/* Live portal behaviour layered on the approved mockup source. */
html,
body {
  min-height: 100%;
  margin: 0;
}

[hidden] {
  display: none !important;
}

button,
input {
  font: inherit;
}

button:focus-visible,
input:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(14, 165, 233, 0.45);
  outline-offset: 3px;
}

.member-app-shell {
  min-height: 100vh;
}

.member-form-meta-end {
  justify-content: flex-end;
}

.member-form-note {
  margin: 0 0 18px;
  color: var(--member-muted, #516476);
  font-size: 1rem;
  line-height: 1.65;
}

.member-centred-action {
  display: block;
  margin: 18px auto 0;
}

.member-login-submit:disabled,
.member-download-button:disabled,
.member-dialog button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.member-profile-initials {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  place-items: center;
  border: 1px solid rgba(71, 189, 255, 0.3);
  border-radius: 14px;
  background: linear-gradient(135deg, #0b88c8, #075985);
  color: #fff;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.member-profile-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.member-profile-copy b,
.member-profile-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.member-profile-copy b {
  color: #112b3c;
  font-size: 1rem;
}

.member-profile-copy small {
  color: #637788;
  font-size: 0.86rem;
}

.member-welcome-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.member-ready-card.is-warning {
  border-color: #f2c671;
  background: linear-gradient(135deg, #fff9e9 0%, #fffdf8 58%, #fff3d0 100%);
}

.member-ready-card.is-warning .member-ready-icon {
  background: #f59e0b;
}

.member-ready-card.is-error {
  border-color: #f2a8a8;
  background: linear-gradient(135deg, #fff3f3 0%, #fffafa 58%, #ffe4e4 100%);
}

.member-ready-card.is-error .member-ready-icon {
  background: #dc2626;
}

.member-status-pill.is-neutral {
  border-color: #cbd5e1;
  background: #f8fafc;
  color: #475569;
}

.member-status-pill.is-neutral i {
  background: #94a3b8;
}

.member-status-pill.is-bad {
  border-color: #fecaca;
  background: #fff1f2;
  color: #b91c1c;
}

.member-status-pill.is-bad i {
  background: #dc2626;
}

.member-empty-state,
.member-unavailable-state {
  padding: 22px;
  border: 1px dashed #c9d8e4;
  border-radius: 16px;
  background: #f8fbfd;
  color: #526777;
  font-size: 1rem;
  line-height: 1.6;
}

.member-help-card { border-radius: 18px; overflow: hidden; }
.member-unread-led { display:inline-block; width:8px; height:8px; margin-left:5px; border-radius:50%; background:#ef233c; box-shadow:0 0 0 4px rgba(239,35,60,.15); }
.member-support-section { margin-top:24px; scroll-margin-top:100px; }
.member-ticket-list { display:grid; gap:10px; margin-top:18px; }
.member-ticket-row { width:100%; display:flex; justify-content:space-between; gap:16px; align-items:center; text-align:left; padding:16px 18px; border:1px solid #d5e2ea; border-radius:14px; background:#f8fbfd; color:#142c3c; }
.member-ticket-row span,.member-ticket-row b,.member-ticket-row small { display:block; }
.member-ticket-row small { margin-top:5px; color:#6d8494; }
.member-ticket-row strong { text-transform:capitalize; color:#08789d; white-space:nowrap; }
.member-ticket-row.has-unread { border-color:#ef233c; background:#fff7f8; }
.member-ticket-row.has-unread strong { color:#c3142b; }
.member-support-dialog { width:min(760px,calc(100vw - 28px)); }
.member-support-dialog textarea,.member-support-dialog select,.member-support-dialog input[type="file"] { width:100%; margin-top:7px; padding:12px; border:1px solid #c8d9e4; border-radius:10px; background:#fff; }
.member-support-dialog input[type="file"]::file-selector-button { margin-right:12px; padding:9px 12px; border:0; border-radius:8px; background:#e7f7fd; color:#086f9f; font-weight:800; cursor:pointer; }
.member-support-warning { padding:12px 14px; border:1px solid rgba(220,38,38,.3); border-radius:12px; background:rgba(220,38,38,.08); color:#a31223; font-weight:800; }
.member-ticket-conversation { display:grid; gap:12px; max-height:48vh; overflow:auto; margin:18px 0; }
.member-ticket-message { padding:14px; border-radius:14px; background:#f1f6f9; }
.member-ticket-message.is-admin { background:#e8f8fb; border-left:4px solid #0798ad; }
.member-ticket-message p { white-space:pre-wrap; margin:8px 0; }
.member-attachment-link { border:0; padding:0; background:transparent; color:#08789d; text-decoration:underline; font-weight:750; }

.member-support-detail-dialog > .member-dialog-heading {
  padding: 26px 28px 0;
}

.member-support-detail-dialog > .member-ticket-conversation {
  margin: 20px 28px;
  padding-right: 4px;
}

.member-support-detail-dialog > #supportReplyForm {
  gap: 15px;
  padding: 22px 28px 28px;
  border-top: 1px solid #e1eaf0;
  background: #f8fbfd;
}

.member-support-detail-dialog .member-dialog-actions {
  margin-top: 2px;
}

@media (max-width: 560px) {
  .member-support-detail-dialog > .member-dialog-heading { padding: 22px 20px 0; }
  .member-support-detail-dialog > .member-ticket-conversation { margin: 18px 20px; }
  .member-support-detail-dialog > #supportReplyForm { padding: 20px; }
}

/* Own-account Activeness snapshot. Data scope is enforced by the authenticated API. */
.member-activeness-section {
  display: grid;
  gap: 16px;
  margin-top: 26px;
  scroll-margin-top: 92px;
}

.member-activeness-titlebar,
.member-activeness-panel-heading,
.member-activeness-calendar-heading,
.member-activeness-table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.member-activeness-titlebar {
  padding: 19px 21px;
  border: 1px solid var(--member-line);
  border-radius: 14px;
  background: linear-gradient(110deg, #fff 0%, #f4fbfe 100%);
  box-shadow: 0 6px 20px rgba(21, 58, 82, 0.05);
}

.member-activeness-titlebar h2,
.member-activeness-titlebar p,
.member-activeness-panel-heading h3,
.member-activeness-panel-heading p,
.member-activeness-calendar-heading h3,
.member-activeness-calendar-panel > p {
  margin: 0;
}

.member-activeness-titlebar h2 { margin-top: 5px; font-size: 25px; }
.member-activeness-titlebar p,
.member-activeness-panel-heading p,
.member-activeness-calendar-panel > p { margin-top: 4px; color: var(--member-muted); font-size: 14px; line-height: 1.5; }

.member-activeness-month-picker {
  display: grid;
  min-width: 230px;
  gap: 5px;
  color: var(--member-muted);
  font-size: 13px;
  font-weight: 800;
}

.member-activeness-month-picker select,
.member-activeness-supporter-heading input {
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid #c9dbe6;
  border-radius: 9px;
  background: #fff;
  color: var(--member-ink);
  outline: none;
}

.member-activeness-month-picker select:focus,
.member-activeness-supporter-heading input:focus {
  border-color: var(--member-ice);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.13);
}

.member-activeness-error {
  padding: 12px 15px;
  border: 1px solid #f3b5b5;
  border-radius: 10px;
  background: #fff3f3;
  color: #a32c2c;
  font-size: 14px;
  font-weight: 700;
}

.member-activeness-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}

.member-activeness-summary article {
  padding: 17px;
  border: 1px solid var(--member-line);
  border-top: 3px solid var(--member-ice);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(21, 58, 82, 0.04);
}

.member-activeness-summary article.gift { border-top-color: #d88813; }
.member-activeness-summary article.engagement { border-top-color: #7a4bc0; }
.member-activeness-summary span,
.member-activeness-summary small { display: block; color: var(--member-muted); font-size: 13px; }
.member-activeness-summary strong { display: block; margin: 6px 0 3px; font-size: 27px; font-variant-numeric: tabular-nums; }

.member-activeness-panel {
  overflow: hidden;
  border: 1px solid var(--member-line);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(21, 58, 82, 0.04);
}

.member-activeness-panel-heading { padding: 15px 17px; border-bottom: 1px solid var(--member-line); }
.member-activeness-panel-heading h3,
.member-activeness-calendar-heading h3 { font-size: 18px; }
.member-activeness-panel-heading > span {
  padding: 6px 10px;
  border-radius: 999px;
  background: #e1f2ff;
  color: #0879ae;
  font-size: 12px;
  font-weight: 850;
}

.member-activeness-table-scroll { width: 100%; overflow-x: auto; }
.member-activeness-section table { width: 100%; border-collapse: collapse; }
.member-activeness-section th,
.member-activeness-section td { border-bottom: 1px solid #e1eaf0; }
.member-activeness-months-table { min-width: 760px; }
.member-activeness-months-table th {
  padding: 11px 12px;
  background: #f3f8fb;
  color: #526b7c;
  text-align: left;
  font-size: 12px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.member-activeness-months-table th:nth-child(n+3),
.member-activeness-months-table td:nth-child(n+3) { text-align: right; }
.member-activeness-months-table td { padding: 12px; font-size: 14px; font-variant-numeric: tabular-nums; }
.member-activeness-months-table tbody tr { cursor: pointer; }
.member-activeness-months-table tbody tr:hover td { background: #f4fbfe; }
.member-activeness-months-table tbody tr.selected td { background: #ebf8fe; }
.member-activeness-months-table tbody tr.selected td:first-child { box-shadow: inset 3px 0 0 var(--member-ice); }
.member-activeness-months-table td strong,
.member-activeness-months-table td small { display: block; }
.member-activeness-months-table td small { margin-top: 4px; color: var(--member-muted); font-size: 12px; }
.member-activeness-source-pill {
  display: inline-block;
  padding: 5px 8px;
  border-radius: 999px;
  background: #e6f8ef;
  color: #16845b;
  font-size: 11px;
  font-weight: 850;
}

.member-activeness-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
  gap: 16px;
}
.member-activeness-supporter-heading input { width: min(285px, 100%); }
.member-activeness-tabs {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--member-line);
  background: #fbfdfe;
}
.member-activeness-tabs button {
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--member-muted);
  font-size: 13px;
}
.member-activeness-tabs button:hover { background: #ecf7fc; color: #0679ac; }
.member-activeness-tabs button.active { background: #dff3fb; color: #0675a8; font-weight: 850; }
.member-activeness-tab-options { display: flex; gap: 5px; }
.member-activeness-tabs .member-activeness-export {
  margin-left: auto;
  border: 1px solid #9bcfe3;
  background: #fff;
  color: #0675a8;
  font-weight: 850;
}
.member-activeness-tabs .member-activeness-export:hover:not(:disabled) { border-color: #1688b7; background: #eef9fd; }
.member-activeness-tabs .member-activeness-export:disabled { cursor: wait; opacity: 0.55; }
.member-activeness-tabs > span { margin-left: auto; color: var(--member-muted); font-size: 12px; white-space: nowrap; }
.member-activeness-tabs .member-activeness-export + span { margin-left: 8px; }

.member-activeness-supporter-table { min-width: 940px; }
.member-activeness-supporter-table thead th { padding: 0; background: #eef5f9; color: #476275; white-space: nowrap; }
.member-activeness-supporter-table thead th:first-child { padding: 0 10px; }
.member-activeness-supporter-table th button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 44px;
  padding: 9px 10px;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}
.member-activeness-supporter-table th button[data-numeric="true"] { justify-content: flex-end; gap: 8px; }
.member-activeness-supporter-table th button:hover,
.member-activeness-supporter-table th[aria-sort="ascending"] button,
.member-activeness-supporter-table th[aria-sort="descending"] button { background: #e2f1f7; color: #006f9e; }
.member-activeness-supporter-table th button i { color: #86a0b1; font-style: normal; }
.member-activeness-supporter-table tbody tr:nth-child(even) td { background: #f8fbfd; }
.member-activeness-supporter-table tbody tr:hover td { background: #edf8fc; }
.member-activeness-supporter-table td {
  height: 61px;
  padding: 9px 10px;
  text-align: right;
  color: #2e4656;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.member-activeness-supporter-table td:nth-child(2) { text-align: left; }
.member-activeness-row-number { width: 42px; color: #7890a0 !important; text-align: center !important; }
.member-activeness-supporter {
  display: flex;
  align-items: center;
  min-width: 230px;
  gap: 10px;
}
.member-activeness-supporter > img,
.member-activeness-supporter > span {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border: 2px solid #dbe9f0;
  border-radius: 50%;
  background: #e8f0f5;
  object-fit: cover;
  color: #446174;
  font-size: 11px;
}
.member-activeness-supporter strong,
.member-activeness-supporter small { display: block; }
.member-activeness-supporter strong { color: #142c3c; font-size: 14px; }
.member-activeness-supporter small { margin-top: 3px; color: var(--member-muted); font-size: 12px; }
.member-activeness-supporter-table .gift-value { color: #9b620f; font-weight: 800; }
.member-activeness-supporter-table .engagement-value { color: #604091; font-weight: 850; }
.member-activeness-empty { height: 110px !important; padding: 30px !important; color: var(--member-muted) !important; text-align: center !important; }

.member-activeness-table-footer {
  padding: 12px 14px;
  border-top: 1px solid #dce7ed;
  background: #f8fbfd;
}
.member-activeness-table-footer > span { color: var(--member-muted); font-size: 12px; white-space: nowrap; }
.member-activeness-pagination { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 4px; }
.member-activeness-pagination button {
  min-width: 34px;
  height: 34px;
  padding: 0 9px;
  border: 1px solid #cbdbe6;
  border-radius: 7px;
  background: #fff;
  color: #3b586b;
  font-size: 12px;
  font-weight: 750;
}
.member-activeness-pagination button:hover:not(:disabled) { border-color: #2298c8; color: #0675a8; }
.member-activeness-pagination button.active { border-color: #087cac; background: #087cac; color: #fff; }
.member-activeness-pagination button:disabled { cursor: not-allowed; opacity: 0.42; }
.member-activeness-pagination .ellipsis { padding: 0 3px; color: #8299a8; }
.member-activeness-note {
  margin: 0;
  padding: 11px 14px;
  border-top: 1px solid var(--member-line);
  background: #f7fafc;
  color: var(--member-muted);
  font-size: 12px;
  line-height: 1.5;
}

.member-activeness-calendar-panel { position: sticky; top: 92px; padding: 16px; overflow: visible; }
.member-activeness-calendar-heading > div > span { color: #1682ae; font-size: 11px; font-weight: 850; letter-spacing: 0.1em; }
.member-activeness-calendar-heading > button {
  padding: 8px 10px;
  border: 1px solid #a9c8d8;
  border-radius: 8px;
  background: #fff;
  color: #34708d;
  font-size: 12px;
  font-weight: 850;
}
.member-activeness-calendar-heading > button.active { border-color: #1688b7; background: #1688b7; color: #fff; }
.member-activeness-calendar-caption { margin-bottom: 10px; }
.member-activeness-date-view {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  margin: 10px 0 2px;
  padding: 4px;
  border-radius: 9px;
  background: #eef3f6;
}
.member-activeness-date-view button {
  min-height: 34px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #536b7b;
  font-size: 12px;
  font-weight: 850;
}
.member-activeness-date-view button.active { background: #fff; color: #067fac; box-shadow: 0 2px 7px rgba(31, 69, 91, 0.12); }
.member-activeness-calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; margin-top: 14px; }
.member-activeness-calendar-grid .day-label { padding: 2px 0 5px; color: #7d93a1; text-align: center; font-size: 11px; font-weight: 850; }
.member-activeness-calendar-grid .blank { min-height: 35px; }
.member-activeness-calendar-grid button {
  position: relative;
  display: grid;
  min-width: 0;
  height: 36px;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #f4f7f9;
  color: #3f596a;
  font-size: 12px;
}
.member-activeness-calendar-grid button:hover:not(:disabled) { border-color: #69b8d7; background: #eaf7fc; }
.member-activeness-calendar-grid button.today { border-color: #8ba8b8; }
.member-activeness-calendar-grid button.has-update { background: #e5f7ef; color: #14704d; font-weight: 850; }
.member-activeness-calendar-grid button.selected { border-color: #067fac; background: #067fac; color: #fff; box-shadow: 0 3px 8px rgba(6, 127, 172, 0.24); }
.member-activeness-calendar-grid button:disabled { cursor: not-allowed; opacity: 0.3; }
.member-activeness-calendar-grid button i { position: absolute; right: 4px; bottom: 4px; width: 5px; height: 5px; border-radius: 50%; background: #22a56f; }
.member-activeness-calendar-grid button.selected i { background: #fff; }
.member-activeness-calendar-legend { display: flex; gap: 14px; margin-top: 12px; color: var(--member-muted); font-size: 11px; }
.member-activeness-calendar-legend span { display: flex; align-items: center; gap: 5px; }
.member-activeness-calendar-legend i { width: 7px; height: 7px; border-radius: 50%; background: #cbd7de; }
.member-activeness-calendar-legend i.updated { background: #22a56f; }
.member-activeness-date-status { margin-top: 12px; padding: 10px; border: 1px solid #d8e5ec; border-radius: 8px; background: #f7fafc; color: #536b7b; font-size: 12px; line-height: 1.45; }
.member-activeness-date-status.updated { border-color: #b9e5d1; background: #effaf5; color: #176b4d; }
.member-activeness-calendar-meta { margin: 13px 0 0; }
.member-activeness-calendar-meta div { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid #e7eef3; }
.member-activeness-calendar-meta div:last-child { border-bottom: 0; }
.member-activeness-calendar-meta dt { color: var(--member-muted); font-size: 12px; }
.member-activeness-calendar-meta dd { max-width: 180px; margin: 0; overflow-wrap: anywhere; text-align: right; font-size: 12px; font-weight: 850; }

@media (max-width: 1120px) {
  .member-activeness-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .member-activeness-detail { grid-template-columns: 1fr; }
  .member-activeness-calendar-panel { position: static; }
}

@media (max-width: 760px) {
  .member-activeness-titlebar,
  .member-activeness-panel-heading,
  .member-activeness-table-footer { align-items: stretch; flex-direction: column; }
  .member-activeness-month-picker { min-width: 0; }
  .member-activeness-summary { grid-template-columns: 1fr; }
  .member-activeness-supporter-heading input { width: 100%; }
  .member-activeness-tabs { overflow-x: auto; }
  .member-activeness-pagination { justify-content: flex-start; }
}

.member-unavailable-state {
  border-color: #f3c1c1;
  background: #fff8f8;
  color: #9b3a3a;
}

.member-device-build {
  display: inline-flex;
  margin-top: 6px;
  color: #4f6576;
  font-size: 0.9rem;
  font-weight: 750;
}

.member-help-contact {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  color: #fff;
  font-weight: 850;
  text-align: center;
}

.member-dialog {
  --member-ink: #10243a;
  --member-muted: #5b7082;
  --member-line: #dce6ed;
  --member-ice: #0ea5e9;
  --member-ice-dark: #0875bd;
  width: min(560px, calc(100% - 28px));
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(2, 19, 32, 0.32);
  color: #172b3a;
  font-family: "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
}

.member-dialog *,
.member-dialog button,
.member-dialog input,
.member-dialog select,
.member-dialog textarea {
  box-sizing: border-box;
  font-family: inherit;
}

.member-dialog::backdrop {
  background: rgba(3, 19, 32, 0.7);
  backdrop-filter: blur(6px);
}

.member-dialog form {
  display: grid;
  gap: 17px;
  padding: 28px;
}

.member-dialog-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.member-dialog-heading h2,
.member-dialog-heading p {
  margin: 5px 0 0;
}

.member-dialog-heading p {
  color: #637788;
  line-height: 1.55;
}

.member-dialog-heading > button {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid #d7e1e8;
  border-radius: 12px;
  background: #f8fafc;
  color: #415669;
  font-size: 1.7rem;
  cursor: pointer;
}

.member-dialog label {
  display: grid;
  gap: 8px;
  color: #223b4c;
  font-weight: 800;
}

.member-dialog input {
  width: 100%;
  min-height: 52px;
  box-sizing: border-box;
  padding: 0 14px;
  border: 1px solid #cbd8e1;
  border-radius: 12px;
  background: #fff;
  color: #102b3c;
  font-size: 1rem;
}

.member-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 4px;
}

.member-dialog .member-support-submit {
  min-width: 148px;
  border: 0;
  background: linear-gradient(135deg, var(--member-ice-dark), var(--member-ice));
  color: #fff;
}

#computers,
#help {
  scroll-margin-top: 110px;
}

.member-studio-card {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}

.member-studio-heading {
  align-items: center;
}

.member-studio-activation,
.member-studio-slot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border: 1px solid #d9e6ed;
  border-radius: 16px;
  background: #f8fbfd;
}

.member-studio-activation > div,
.member-studio-slot-copy {
  display: grid;
  gap: 5px;
}

.member-studio-activation span,
.member-studio-slot-copy span,
.member-studio-feedback {
  color: #607687;
  line-height: 1.5;
}

.member-studio-slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.member-studio-slot {
  align-items: stretch;
  flex-direction: column;
}

.member-studio-slot-number {
  color: #0a7891;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.member-studio-slot h3,
.member-studio-slot p {
  margin: 0;
}

.member-studio-slot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.member-studio-action {
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid #bed2dc;
  border-radius: 10px;
  background: #fff;
  color: #17394b;
  font-weight: 850;
  cursor: pointer;
}

.member-studio-action.is-primary {
  border-color: #0b8aa4;
  background: #0b8aa4;
  color: #fff;
}

.member-studio-action.is-danger {
  border-color: #e3b9b9;
  color: #9a3131;
}

.member-studio-feedback {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #edf8fb;
}

@media (max-width: 760px) {
  .member-welcome-actions,
  .member-dialog-actions {
    width: 100%;
    flex-direction: column;
  }

  .member-welcome-actions button,
  .member-dialog-actions button {
    width: 100%;
  }

  .member-profile {
    min-width: 0;
  }

  .member-profile-copy {
    display: none;
  }

  .member-studio-slots {
    grid-template-columns: 1fr;
  }

  .member-studio-activation {
    align-items: stretch;
    flex-direction: column;
  }
}

/* Milestone: Client and Admin Portal Branding */
.member-brand.is-login-mark { justify-content: center; }
.member-brand.is-login-mark img { width: min(100%, 380px); height: auto; object-fit: contain; object-position: center; filter: drop-shadow(0 14px 28px rgba(7,26,43,.16)); }
.member-dashboard-header .member-brand > img { width: 205px; height: 58px; object-fit: contain; object-position: left center; }

@media (max-width: 760px) {
  .member-brand.is-login-mark img { width: min(100%, 286px); height: auto; }
}
