.login-panel {
  width: min(17rem, calc(100vw - 2rem));
  min-width: 15rem;
  padding: 0.63rem 0.76rem;
  text-align: left;
  color: var(--text-main);
  font-size: 0.92rem;
  font-weight: var(--fw-regular);
  white-space: normal;
}
.account-profile {
  display: grid;
  grid-template-columns: 2.3rem minmax(0, 1fr);
  align-items: center;
  gap: 0.72rem;
  min-height: 3.14rem;
  padding: 0.18rem 0.1rem 0.16rem;
}

.account-profile-avatar {
  display: block;
  width: 2.3rem;
  height: 2.3rem;
}

.account-profile-avatar--generated {
  overflow: hidden;
  border-radius: 50%;
}

.account-profile-avatar--generated > img,
.account-profile-avatar--generated > .meldinga-avatar {
  display: block;
  width: 100%;
  height: 100%;
}

.account-profile-copy {
  min-width: 0;
}

.account-name {
  color: var(--text-main);
  font-family: var(--ff-body);
  font-size: var(--fs-menu-title);
  font-weight: var(--fw-regular);
  line-height: 1.28;
}

.account-plan-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.38rem 0.5rem;
  margin-top: 0.2rem;
}

.account-plan-label {
  color: var(--text-muted);
  font-family: var(--ff-body);
  font-size: var(--fs-menu-note);
  font-weight: var(--fw-regular);
  line-height: 1.28;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.account-upgrade-button {
  appearance: none;
  border: 0;
  padding: 0.14rem 0;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--ff-body);
  font-size: 0.75rem;
  font-weight: var(--fw-regular);
  line-height: 1.1;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  cursor: pointer;
}

.account-register-copy {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.18rem;
  color: var(--text-muted);
  font-family: var(--ff-body);
  font-size: var(--fs-menu-note);
  font-weight: var(--fw-regular);
  line-height: var(--lh-heading);
}

.account-login-heading,
.account-create-link {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  font-family: var(--ff-body);
  font-weight: var(--fw-regular);
  text-align: left;
  cursor: pointer;
}

.account-login-heading {
  color: var(--text-main);
  font-size: var(--fs-menu-title);
  line-height: 1.28;
}

.account-create-link {
  color: #237aa2;
  font-size: inherit;
  line-height: inherit;
}

.account-login-heading:hover,
.account-login-heading:focus-visible,
.account-create-link:hover,
.account-create-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

body.account-test-prompt-open {
  overflow: hidden;
}

.account-test-prompt-layer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(7, 22, 41, 0.28);
}

.account-test-prompt-layer[hidden] {
  display: none;
}

.account-test-prompt {
  width: min(27rem, calc(100vw - 2rem));
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  padding: 1.35rem;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-panel);
  background: var(--panel-bg);
  box-shadow: 0 10px 28px var(--shadow-panel);
}

.account-test-prompt-title {
  margin: 0;
  color: var(--text-main);
  font-family: var(--ff-body);
  font-size: 1.3rem;
  font-weight: var(--fw-regular);
  line-height: var(--lh-heading);
}

.account-test-prompt-copy {
  margin: 0.72rem 0 0;
  color: var(--text-main);
  font-family: var(--ff-body);
  font-size: var(--fs-control);
  font-weight: var(--fw-regular);
  line-height: 1.45;
}

.account-test-prompt-actions {
  display: flex;
  align-items: center;
  gap: 0.62rem;
  margin-top: 1rem;
}

.account-test-prompt-primary,
.account-test-prompt-secondary {
  appearance: none;
  min-height: 2.55rem;
  padding: 0.52rem 1rem;
  border: 1px solid var(--header-text);
  border-radius: var(--radius-pill);
  font-family: var(--ff-body);
  font-size: var(--fs-menu-title);
  font-weight: var(--fw-regular);
  line-height: var(--lh-heading);
  cursor: pointer;
}

.account-test-prompt-primary {
  background: var(--header-text);
  color: #fff;
}

.account-test-prompt-secondary {
  background: var(--panel-bg);
  color: var(--header-text);
}

.account-test-prompt-primary:hover,
.account-test-prompt-primary:focus-visible,
.account-test-prompt-secondary:hover,
.account-test-prompt-secondary:focus-visible {
  outline: 2px solid rgba(35, 122, 162, 0.35);
  outline-offset: 2px;
}

.account-premium-heading {
  margin: 1rem 0 0.4rem;
  padding: 0 0.1rem 0 0.625rem;
  color: var(--text-muted);
  font-family: var(--ff-body);
  font-size: var(--fs-time-meta);
  font-weight: var(--fw-regular);
  line-height: var(--lh-heading);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.login-panel .menu-link {
  min-height: 2.3rem;
  padding: 0.25rem 0.1rem;
  border-radius: var(--radius-control);
}

.login-panel .menu-option-title {
  font-weight: var(--fw-regular);
}

.login-panel .account-menu-link {
  justify-content: flex-start;
  gap: 0.72rem;
}

.account-menu-icon-slot {
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 1.25rem;
  flex: 0 0 2.3rem;
}

.account-menu-icon {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
}

.login-panel .account-locked-link {
  color: var(--text-main);
  cursor: default;
  opacity: 1;
}

.account-locked-link.account-menu-link .account-lock-icon {
  margin-left: auto;
}

.account-lock-icon {
  display: block;
  width: 1rem;
  height: 1rem;
}

body.account-page-open {
  overflow: hidden;
}

.account-page-layer {
  position: fixed;
  inset: 0;
  z-index: 75;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(7, 22, 41, 0.26);
  backdrop-filter: blur(4px);
}

.account-page-layer[hidden],
.account-page-confirm-layer[hidden] {
  display: none;
}

.account-page-panel {
  position: relative;
  width: min(46rem, calc(100vw - 2rem));
  min-width: 0;
  height: min(calc(100dvh - 2rem), 52rem);
  max-height: min(calc(100dvh - 2rem), 52rem);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-panel);
  background: var(--panel-bg);
  box-shadow: var(--shadow-flyout);
  color: var(--text-main);
  font-family: var(--ff-body);
  font-weight: var(--fw-regular);
}

.account-page-panel .account-page-head {
  position: relative;
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 1rem 1.2rem 0.72rem;
  border-bottom: 1px solid var(--color-border-subtle, var(--border-soft));
}

.account-page-head-inner {
  width: min(100%, 36rem);
  min-width: 0;
  margin: 0 auto;
}

.account-page-section-title,
.account-page-confirm h3 {
  margin: 0;
  font-family: var(--ff-body);
  font-weight: var(--fw-regular);
  line-height: var(--lh-heading);
}

.account-page-panel .account-page-close {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
}

.account-page-close:hover,
.account-page-close:focus-visible {
  color: var(--text-main);
}

.account-page-panel .account-page-body {
  display: block;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1.1rem 1.2rem 1.4rem;
}

.account-page-body > * {
  width: min(100%, 36rem);
  box-sizing: border-box;
  margin-right: auto;
  margin-left: auto;
}

.account-page-loading,
.account-page-error,
.account-page-message,
.account-page-section-copy,
.account-page-field-help,
.account-page-empty {
  font-size: var(--fs-control);
  font-weight: var(--fw-regular);
  line-height: 1.4;
}

.account-page-loading,
.account-page-error,
.account-page-message {
  margin: 0;
}

.account-page-error {
  color: #a1261c;
}

.account-page-message {
  color: #237a42;
}

.account-page-feedback {
  margin-top: 0.8rem;
}

.account-profile-hero {
  display: grid;
  min-width: 0;
  grid-template-columns: 4.75rem minmax(0, 1fr);
  align-items: start;
  gap: 0.95rem;
  min-height: 5rem;
}

.account-profile-avatar-column {
  display: grid;
  justify-items: center;
  gap: 0.34rem;
  min-width: 0;
}

.account-profile-avatar-display {
  appearance: none;
  display: block;
  width: 4.75rem;
  height: 4.75rem;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.account-profile-avatar-display:focus-visible {
  outline: 2px solid var(--text-main);
  outline-offset: 3px;
}

.account-profile-avatar-display:disabled {
  cursor: wait;
}

.account-profile-avatar-image {
  display: block;
  width: 100%;
  height: 100%;
}

.meldinga-avatar,
.meldinga-avatar svg {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.account-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.account-profile-name-row,
.account-profile-email-row {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.4rem;
}

.account-profile-email-row {
  margin-top: 0.34rem;
  color: var(--text-main);
  font-family: var(--ff-body);
  font-size: var(--fs-menu-note);
  font-weight: var(--fw-regular);
  line-height: 1.3;
}

.account-profile-email-row span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.account-profile-edit-button {
  appearance: none;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 1.45rem;
  height: 1.45rem;
  margin: 0;
  padding: 0.15rem;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text-main);
  cursor: pointer;
}

.account-profile-edit-button svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.account-profile-edit-button:hover,
.account-profile-edit-button:focus-visible {
  background: var(--tab-rail-bg, #f4f5f6);
  outline: none;
}

.account-profile-inline-edit {
  display: grid;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  gap: 0.38rem;
}

.account-profile-inline-field,
.account-profile-inline-field input {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.account-profile-inline-field input {
  box-sizing: border-box;
  min-width: 0;
  padding: 0.5rem 0.58rem;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-control);
  background: #fff;
  color: var(--text-main);
  font: inherit;
  font-size: max(1rem, var(--fs-control));
}

.account-profile-inline-field input:focus {
  border-color: var(--text-main);
  outline: none;
}

.account-profile-inline-actions {
  display: flex;
  align-items: center;
  gap: 0.42rem;
}

.account-profile-inline-actions .account-page-primary,
.account-profile-inline-actions .account-page-secondary {
  min-height: 2.35rem;
  padding: 0.48rem 0.72rem;
}

.account-profile-avatar-actions {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 0.18rem;
  width: max-content;
  min-height: 2.45rem;
  max-width: 7rem;
  text-align: center;
}

.account-status-toast {
  position: fixed;
  left: 50%;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  z-index: 140;
  max-width: min(24rem, calc(100vw - 2rem));
  padding: 0.58rem 0.82rem;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  background: var(--text-main);
  color: #fff;
  box-shadow: var(--shadow-flyout);
  font-family: var(--ff-body);
  font-size: var(--fs-menu-note);
  font-weight: var(--fw-regular);
  line-height: var(--lh-ui);
  text-align: center;
  transform: translateX(-50%);
  pointer-events: none;
}

.account-status-toast.is-error {
  border-color: currentColor;
  background: #fff;
  color: #c82d35;
}

.account-profile-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  min-height: 4.75rem;
}

.account-profile-hero-copy h3 {
  margin: 0;
  overflow-wrap: anywhere;
  font-family: var(--ff-body);
  font-size: 1.25rem;
  font-weight: var(--fw-regular);
  line-height: var(--lh-heading);
}

.account-profile-hero-copy p {
  margin: 0.22rem 0 0;
  color: var(--text-muted);
  font-size: var(--fs-menu-note);
  line-height: 1.3;
}

.account-page-inline-link {
  appearance: none;
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #237aa2;
  font-family: var(--ff-body);
  font-size: var(--fs-menu-note);
  font-weight: var(--fw-regular);
  line-height: 1.3;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.account-profile-avatar-actions .account-page-inline-link {
  margin-top: 0;
  text-align: center;
}

.account-page-inline-link:hover,
.account-page-inline-link:focus-visible,
.account-page-account-links a:hover,
.account-page-account-links a:focus-visible,
.account-page-account-links button:hover,
.account-page-account-links button:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.account-page-section + .account-page-section {
  margin-top: 1.1rem;
  padding-top: 1.05rem;
  border-top: 1px solid var(--color-border-subtle, var(--border-soft));
}

.account-profile-hero + .account-page-section,
.account-page-feedback + .account-page-section {
  margin-top: 1.15rem;
  padding-top: 1.05rem;
  border-top: 1px solid var(--color-border-subtle, var(--border-soft));
}

.account-page-section-title {
  color: var(--text-main);
  font-size: 1rem;
}

.account-page-section-copy {
  margin: 0.32rem 0 0;
  color: var(--text-muted);
}

.account-feature-block {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--color-border-subtle, var(--border-soft));
}

.account-feature-block:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.account-page-section > .account-feature-block {
  padding: 0;
  border-bottom: 0;
}

.account-feature-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.account-feature-head--inline {
  justify-content: flex-start;
  gap: 0.38rem;
}

.account-feature-head h3,
.account-feature-head h4 {
  margin: 0;
  font-family: var(--ff-body);
  font-size: var(--fs-control);
  font-weight: var(--fw-regular);
  line-height: 1.3;
}

.account-favorite-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.48rem;
}

.account-favorite-item {
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  padding: 0.22rem 0.58rem;
  border-radius: var(--radius-pill);
  background: var(--tab-rail-bg, #f4f5f6);
  color: var(--text-main);
  font-size: var(--fs-menu-note);
  line-height: 1.2;
}

.account-favorites-edit {
  appearance: none;
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  margin: -0.28rem -0.18rem -0.28rem 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text-main);
  font-family: var(--ff-body);
  font-size: 1rem;
  font-weight: var(--fw-regular);
  line-height: 1;
  cursor: pointer;
}

.account-favorites-edit:hover,
.account-favorites-edit:focus-visible {
  background: var(--tab-rail-bg, #f4f5f6);
  outline: none;
}

.account-favorite-editor {
  margin-top: 0.75rem;
  padding-top: 0.72rem;
  border-top: 1px solid var(--color-border-subtle, var(--border-soft));
}

.account-favorite-editor-heading {
  margin: 0 0 0.3rem;
  color: var(--text-muted);
  font-family: var(--ff-body);
  font-size: var(--fs-menu-note);
  font-weight: var(--fw-regular);
  line-height: 1.3;
}

.account-favorite-editor-separator {
  height: 1px;
  margin: 0.62rem 0;
  background: var(--color-border-subtle, var(--border-soft));
}

.account-favorite-option {
  appearance: none;
  display: grid;
  grid-template-columns: 1.45rem minmax(0, 1fr);
  align-items: center;
  gap: 0.52rem;
  width: 100%;
  min-height: 2.3rem;
  padding: 0.28rem 0.22rem;
  border: 0;
  border-radius: var(--radius-control);
  background: transparent;
  color: var(--text-main);
  font-family: var(--ff-body);
  font-size: var(--fs-control);
  font-weight: var(--fw-regular);
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
}

.account-favorite-option:hover,
.account-favorite-option:focus-visible {
  background: var(--tab-rail-bg, #f4f5f6);
  outline: none;
}

.account-favorite-option:disabled {
  cursor: wait;
}

.account-favorite-star {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: var(--text-muted);
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.account-favorite-star.is-active {
  fill: var(--text-main);
  stroke: var(--text-main);
}

.account-favorite-editor-empty {
  margin: 0.25rem 0 0.38rem 1.97rem;
}

.account-favorite-editor-error {
  margin: 0.65rem 0 0;
}

.account-favorite-editor-done {
  margin-top: 0.8rem;
}

.account-page-empty {
  margin: 0.4rem 0 0;
  color: var(--text-muted);
}

.account-push-status {
  display: flex;
  align-items: center;
  gap: 0.42rem;
  margin-top: 0.48rem;
  color: var(--text-muted);
  font-size: var(--fs-menu-note);
  line-height: 1.3;
}

.account-push-status-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--text-muted);
}

.account-push-status.is-active {
  color: var(--text-main);
}

.account-push-status.is-active .account-push-status-dot {
  background: #168438;
}

.account-push-details {
  display: grid;
  gap: 0.34rem;
  margin: 0.55rem 0 0;
}

.account-push-details > div {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  gap: 0.65rem;
}

.account-push-details dt,
.account-push-details dd {
  margin: 0;
  font-size: var(--fs-menu-note);
  line-height: 1.35;
}

.account-push-details dt {
  color: var(--text-muted);
}

.account-push-schedule-line {
  display: block;
}

.account-push-schedule-note {
  color: var(--text-muted);
}

.account-last-session {
  display: grid;
  gap: 0.3rem;
  margin-top: 0.48rem;
  font-size: var(--fs-menu-note);
  line-height: 1.3;
}

.account-last-session-stars {
  color: var(--text-main);
  font-size: 1.08rem;
  line-height: 1;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.account-feature-link {
  display: inline-block;
  margin-top: 0.55rem;
}

.account-profile-details {
  margin: 0.55rem 0 0;
}

.account-profile-details > div {
  display: grid;
  grid-template-columns: minmax(7.5rem, 0.75fr) minmax(0, 1.25fr);
  gap: 1rem;
  padding: 0.52rem 0;
  border-bottom: 1px solid var(--color-border-subtle, var(--border-soft));
}

.account-profile-details > div:last-child {
  border-bottom: 0;
}

.account-profile-details dt,
.account-profile-details dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: var(--fs-control);
  line-height: 1.35;
}

.account-profile-details dt {
  color: var(--text-muted);
}

.account-subscription-status {
  margin: 0.28rem 0 0;
  color: var(--text-main);
  font-size: var(--fs-control);
  line-height: 1.35;
}

.account-page-account-links {
  display: grid;
  justify-items: start;
  gap: 0.58rem;
}

.account-page-account-links .account-page-section-title {
  margin-bottom: 0.1rem;
}

.account-page-account-links a,
.account-page-account-links button {
  appearance: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text-main);
  font-family: var(--ff-body);
  font-size: var(--fs-control);
  font-weight: var(--fw-regular);
  line-height: 1.35;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.account-page-account-links .account-page-delete-link {
  color: #a1261c;
}

.account-page-edit-form {
  margin-top: 1.1rem;
  padding-top: 1.05rem;
  border-top: 1px solid var(--color-border-subtle, var(--border-soft));
}

.account-page-field {
  display: grid;
  gap: 0.38rem;
  margin-top: 1rem;
  font-size: var(--fs-control);
  line-height: var(--lh-ui, 1.15);
}

.account-page-optional,
.account-page-field-help {
  color: var(--text-muted);
}

.account-page-field input {
  box-sizing: border-box;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.58rem 0.72rem;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-control);
  background: var(--panel-bg);
  color: var(--text-main);
  font-family: var(--ff-body);
  font-size: 1rem;
  font-weight: var(--fw-regular);
  line-height: 1.2;
}

.account-page-field input:focus-visible {
  border-color: #237aa2;
  outline: 2px solid rgba(35, 122, 162, 0.22);
  outline-offset: 1px;
}

.account-page-field-help {
  margin: 0.4rem 0 0;
}

.account-page-actions,
.account-page-confirm-actions {
  display: flex;
  align-items: center;
  gap: 0.62rem;
  margin-top: 1rem;
}

.account-page-primary,
.account-page-secondary,
.account-page-danger {
  appearance: none;
  min-height: 2.55rem;
  padding: 0.52rem 1rem;
  border: 1px solid var(--header-text);
  border-radius: var(--radius-pill);
  font-family: var(--ff-body);
  font-size: var(--fs-menu-title);
  font-weight: var(--fw-regular);
  line-height: var(--lh-heading);
  cursor: pointer;
}

.account-page-primary {
  background: var(--header-text);
  color: #fff;
}

.account-page-secondary {
  background: var(--panel-bg);
  color: var(--header-text);
}

.account-page-danger {
  border-color: #a1261c;
  background: #a1261c;
  color: #fff;
}

.account-page-primary:disabled,
.account-page-secondary:disabled,
.account-page-danger:disabled {
  cursor: wait;
  opacity: 0.65;
}

.account-page-confirm-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(7, 22, 41, 0.28);
}

.account-page-confirm {
  width: min(25rem, 100%);
  padding: 1.25rem;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-panel);
  background: var(--panel-bg);
  box-shadow: 0 10px 28px var(--shadow-panel);
}

.account-page-confirm h3 {
  font-size: 1.1rem;
}

.account-page-confirm p {
  margin: 0.65rem 0 0;
  font-size: var(--fs-control);
  line-height: 1.4;
}

.account-page-confirm-actions--stacked {
  display: grid;
  grid-template-columns: 1fr;
}

.account-page-confirm-actions--stacked > button {
  width: 100%;
}

@media (max-width: 720px) {
  .account-page-layer {
    inset: var(--meldinga-visual-viewport-offset-top, 0px) 0 auto;
    height: var(--meldinga-visual-viewport-height, 100dvh);
    box-sizing: border-box;
    align-items: flex-start;
    padding-top: max(0.75rem, env(safe-area-inset-top));
    padding-right: max(0.75rem, env(safe-area-inset-right));
    padding-bottom: max(0.75rem, calc(env(safe-area-inset-bottom) + 0.35rem));
    padding-left: max(0.75rem, env(safe-area-inset-left));
    background: transparent;
    backdrop-filter: none;
    isolation: isolate;
  }

  .account-page-layer::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: -2rem;
    right: 0;
    bottom: -12rem;
    left: 0;
    background: rgba(7, 22, 41, 0.26);
    backdrop-filter: blur(4px);
    pointer-events: none;
  }

  .account-page-panel {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    max-height: 100%;
    border-radius: 0;
  }

  .account-page-panel .account-page-body {
    padding-right: 1rem;
    padding-left: 1rem;
    padding-bottom: max(1.25rem, env(safe-area-inset-bottom, 0));
  }

  .account-profile-hero {
    grid-template-columns: 4.25rem minmax(0, 1fr);
  }

  .account-profile-avatar-display {
    width: 4.25rem;
    height: 4.25rem;
  }

  .account-profile-hero-copy {
    min-height: 4.25rem;
  }

  .account-last-session {
    align-items: flex-start;
  }
}

@media (max-width: 420px) {
  .account-profile-details > div {
    grid-template-columns: 6.7rem minmax(0, 1fr);
    gap: 0.65rem;
  }

  .account-last-session {
    display: grid;
    gap: 0.2rem;
  }
}
