[data-page="settings"] {
  display: block;
  min-height: 100vh;
}

.native-settings-loading {
  min-height: 16rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.native-settings-page {
  width: min(100%, 32rem);
  min-height: 100vh;
  margin: 0 auto;
  padding: 1rem;
  color: var(--ps-text-primary);
  background: var(--ps-bg-base);
  animation: native-settings-enter 300ms ease forwards;
}

.native-settings-page button,
.native-settings-modal button {
  font-family: inherit;
}

.native-settings-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
}

.native-settings-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.5rem;
}

.native-settings-header h1 {
  margin: 0;
  color: var(--ps-text-primary);
  font-family: Poppins, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 2rem;
}

.native-settings-back {
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: .5rem;
  color: var(--ps-text-secondary);
  background: transparent;
  transition: color 150ms ease, background-color 150ms ease;
}

.native-settings-back:hover {
  color: var(--ps-text-primary);
  background: var(--ps-bg-hover);
}

.native-settings-card {
  margin: 0 0 1rem;
  padding: 1rem;
  border: 1px solid var(--ps-border);
  border-radius: 1rem;
  background: var(--ps-bg-surface);
}

.native-settings-card--flush {
  padding: 0;
  overflow: hidden;
}

.native-settings-card--centered {
  margin-top: 10vh;
  padding: 2rem;
  text-align: center;
}

.native-settings-card--centered h1 {
  margin-bottom: .5rem;
}

.native-settings-card--centered p {
  margin-bottom: 1.25rem;
  color: var(--ps-text-secondary);
  font-size: .875rem;
}

.native-settings-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: .625rem 1rem;
  border: 0;
  border-radius: .625rem;
  color: #fff;
  background: var(--ps-primary);
  font-size: .875rem;
  font-weight: 700;
}

.native-settings-profile-card {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.native-settings-avatar {
  width: 4rem;
  height: 4rem;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 3px solid var(--avatar-color, var(--ps-primary));
  border-radius: 50%;
  color: var(--avatar-color, var(--ps-primary));
  background: #1a1a1a;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .4);
  font-size: 1.5rem;
  font-weight: 700;
}

.native-settings-avatar--large {
  width: 5rem;
  height: 5rem;
  font-size: 1.875rem;
}

.native-settings-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.native-settings-profile-copy {
  min-width: 0;
  flex: 1;
}

.native-settings-profile-copy h2,
.native-settings-profile-copy p {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.native-settings-profile-copy h2 {
  color: var(--ps-text-primary);
  font-family: Poppins, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.75rem;
}

.native-settings-profile-copy p {
  color: var(--ps-text-secondary);
  font-size: .875rem;
  line-height: 1.25rem;
}

.native-settings-provider {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  margin-top: .25rem;
  color: var(--ps-info);
  font-size: .75rem;
}

.native-settings-google {
  width: .75rem;
  height: .75rem;
}

.native-settings-reminder {
  width: 100%;
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 0 0 1rem;
  padding: 1rem;
  border: 1px solid rgba(245, 158, 11, .3);
  border-radius: 1rem;
  color: #fbbf24;
  background: linear-gradient(90deg, rgba(245, 158, 11, .2), rgba(249, 115, 22, .2));
  text-align: left;
  transition: border-color 150ms ease;
}

.native-settings-reminder:hover {
  border-color: rgba(245, 158, 11, .5);
}

.native-settings-reminder__icon {
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(245, 158, 11, .2);
  color: #f59e0b;
}

.native-settings-reminder__copy {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.native-settings-reminder__copy strong {
  color: #fbbf24;
  font-size: .875rem;
  font-weight: 600;
}

.native-settings-reminder__copy span {
  color: rgba(252, 211, 77, .7);
  font-size: .75rem;
  line-height: 1.25rem;
}

.native-settings-row {
  width: 100%;
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: 1rem;
  border: 0;
  color: var(--ps-text-primary);
  background: transparent;
  text-align: left;
  transition: background-color 150ms ease;
}

.native-settings-row:hover {
  background: var(--ps-bg-hover);
}

.native-settings-row__main {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: .75rem;
}

.native-settings-row__icon {
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: .5rem;
}

.native-settings-row__icon .native-settings-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.native-settings-row__icon--primary {
  color: var(--ps-primary);
  background: color-mix(in srgb, var(--ps-primary) 20%, transparent);
}

.native-settings-row__icon--purple {
  color: #a855f7;
  background: rgba(168, 85, 247, .2);
}

.native-settings-row__icon--info {
  color: var(--ps-info);
  background: color-mix(in srgb, var(--ps-info) 20%, transparent);
}

.native-settings-row__icon--success {
  color: var(--ps-success);
  background: color-mix(in srgb, var(--ps-success) 20%, transparent);
}

.native-settings-row__icon--warning {
  color: var(--ps-warning);
  background: color-mix(in srgb, var(--ps-warning) 20%, transparent);
}

.native-settings-row__icon--help {
  color: #10b981;
  background: rgba(16, 185, 129, .2);
}

.native-settings-row__copy,
.native-settings-section-title > span:last-child {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.native-settings-row__copy strong,
.native-settings-section-title strong {
  color: var(--ps-text-primary);
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.5rem;
}

.native-settings-row__copy span,
.native-settings-section-title span span {
  overflow: hidden;
  color: var(--ps-text-secondary);
  font-size: .8125rem;
  line-height: 1.25rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.native-settings-row__action {
  flex: 0 0 auto;
  color: var(--ps-text-muted);
  font-size: .875rem;
}

.native-settings-chevron {
  color: var(--ps-text-muted);
  transition: transform 200ms ease;
}

.native-settings-chevron.is-open {
  transform: rotate(180deg);
}

.native-settings-panel {
  padding: .5rem 1rem 1rem;
  border-top: 1px solid var(--ps-border);
}

.native-settings-profile-editor {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1rem;
}

.native-settings-photo-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.native-settings-photo-control {
  position: relative;
  flex: 0 0 auto;
}

.native-settings-photo-button {
  position: absolute;
  right: -.25rem;
  bottom: -.25rem;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--ps-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .3);
  transition: background-color 150ms ease;
}

.native-settings-photo-button:hover:not(:disabled) {
  background: var(--ps-primary-hover);
}

.native-settings-photo-button .native-settings-icon,
.native-settings-photo-button .native-settings-spinner {
  width: 1rem;
  height: 1rem;
}

.native-settings-photo-row > div:last-child {
  display: flex;
  flex-direction: column;
}

.native-settings-photo-row strong {
  color: var(--ps-text-primary);
  font-size: .875rem;
  font-weight: 500;
}

.native-settings-photo-row span {
  color: var(--ps-text-muted);
  font-size: .75rem;
}

.native-settings-form-field {
  display: flex;
  flex-direction: column;
  gap: .375rem;
  margin-bottom: 1rem;
}

.native-settings-profile-editor .native-settings-form-field {
  margin-bottom: 0;
}

.native-settings-form-field > span:first-child {
  display: flex;
  align-items: center;
  color: var(--ps-text-primary);
  font-size: .8125rem;
  font-weight: 500;
}

.native-settings-form-field > span:first-child .native-settings-icon {
  width: 1rem;
  height: 1rem;
  margin-right: .25rem;
  color: var(--ps-primary);
}

.native-settings-form-field em {
  margin-left: .25rem;
  color: var(--ps-primary);
  font-style: normal;
}

.native-settings-form-field input,
.native-settings-phone-entry select,
.native-settings-phone-number {
  width: 100%;
  min-height: 2.5rem;
  border: 1px solid var(--ps-border);
  border-radius: .5rem;
  color: var(--ps-text-primary);
  background: var(--ps-bg-elevated);
  font-size: .875rem;
}

.native-settings-form-field input {
  padding: .5rem .75rem;
}

.native-settings-form-field input::placeholder,
.native-settings-phone-number input::placeholder {
  color: var(--ps-text-muted);
}

.native-settings-form-field input:focus,
.native-settings-phone-entry select:focus,
.native-settings-phone-number:focus-within,
.native-settings-otp input:focus {
  outline: none;
  border-color: var(--ps-primary);
  box-shadow: 0 0 0 3px var(--ps-primary-light);
}

.native-settings-button {
  width: 100%;
  min-height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .5rem 1rem;
  border: 1px solid transparent;
  border-radius: .5rem;
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.25rem;
  transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease, transform 100ms ease;
}

.native-settings-button:active:not(:disabled) {
  transform: scale(.99);
}

.native-settings-button:disabled {
  opacity: .55;
}

.native-settings-button .native-settings-icon,
.native-settings-button .native-settings-spinner {
  width: 1rem;
  height: 1rem;
}

.native-settings-button--primary {
  color: #fff;
  background: var(--ps-primary);
}

.native-settings-button--primary:hover:not(:disabled) {
  background: var(--ps-primary-hover);
}

.native-settings-button--outline {
  border-color: var(--ps-border);
  color: var(--ps-text-secondary);
  background: transparent;
}

.native-settings-button--outline:hover:not(:disabled) {
  border-color: var(--ps-border-light);
  color: var(--ps-text-primary);
  background: var(--ps-bg-hover);
}

.native-settings-button--compact {
  width: auto;
  min-height: 2rem;
  padding: .375rem .75rem;
  font-size: .75rem;
}

.native-settings-button--help {
  color: #fff;
  background: #059669;
}

.native-settings-spinner {
  width: 1.25rem;
  height: 1.25rem;
  display: inline-block;
  flex: 0 0 auto;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: native-settings-spin 700ms linear infinite;
}

.native-settings-section-title {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem;
  border-bottom: 1px solid var(--ps-border);
}

.native-settings-option-block {
  padding: 1rem;
  border-bottom: 1px solid var(--ps-border);
}

.native-settings-option-block:last-child {
  border-bottom: 0;
}

.native-settings-option-label {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .75rem;
  color: var(--ps-text-muted);
}

.native-settings-option-label .native-settings-icon {
  width: 1rem;
  height: 1rem;
}

.native-settings-option-label .native-settings-icon.is-filled {
  fill: currentColor;
}

.native-settings-option-label strong {
  color: var(--ps-text-primary);
  font-size: .8125rem;
  font-weight: 500;
}

.native-settings-theme-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}

.native-settings-theme,
.native-settings-font,
.native-settings-color {
  position: relative;
  border: 2px solid var(--ps-border);
  color: var(--ps-text-secondary);
  background: transparent;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.native-settings-theme:hover,
.native-settings-font:hover,
.native-settings-color:hover {
  border-color: var(--ps-border-light);
}

.native-settings-theme.is-active,
.native-settings-font.is-active,
.native-settings-color.is-active {
  border-color: var(--ps-primary);
  color: var(--ps-primary);
  background: var(--ps-primary-light);
}

.native-settings-theme {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  border-radius: .75rem;
}

.native-settings-theme__preview {
  width: 100%;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .5rem;
  border: 1px solid;
  border-radius: .5rem;
}

.native-settings-theme__preview--dark {
  border-color: #262626;
  color: #fff;
  background: #0a0a0a;
}

.native-settings-theme__preview--light {
  border-color: #e5e5e0;
  color: #1a1a1a;
  background: #f5f5f0;
}

.native-settings-theme__preview .native-settings-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.native-settings-theme > strong,
.native-settings-font > strong {
  font-size: .8125rem;
  font-weight: 500;
}

.native-settings-theme > .native-settings-icon {
  width: 1rem;
  height: 1rem;
  margin-top: .25rem;
}

.native-settings-choice-placeholder {
  height: 1rem;
  margin-top: .25rem;
}

.native-settings-font-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .5rem;
}

.native-settings-font {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: .75rem;
  border-radius: .75rem;
}

.native-settings-font > span:first-child {
  margin-bottom: .25rem;
  color: var(--ps-text-secondary);
  line-height: 1.25rem;
}

.native-settings-font--small > span:first-child { font-size: .75rem; }
.native-settings-font--medium > span:first-child { font-size: .875rem; }
.native-settings-font--large > span:first-child { font-size: 1rem; }

.native-settings-font > .native-settings-icon {
  width: .75rem;
  height: .75rem;
  margin-top: .25rem;
}

.native-settings-current {
  margin: .75rem 0 0;
  color: var(--ps-text-muted);
  font-size: .75rem;
  text-align: center;
}

.native-settings-help {
  margin: -.125rem 0 .75rem;
  color: var(--ps-text-muted);
  font-size: .75rem;
}

.native-settings-color-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .5rem;
}

.native-settings-color {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
  padding: .5rem .25rem;
  border-radius: .75rem;
}

.native-settings-color__swatch {
  width: 2rem;
  height: 2rem;
  display: block;
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: var(--swatch-glow);
}

.native-settings-color > span:nth-child(2) {
  max-width: 100%;
  overflow: hidden;
  font-size: .625rem;
  font-weight: 500;
  text-overflow: ellipsis;
}

.native-settings-color > .native-settings-icon {
  position: absolute;
  top: .25rem;
  right: .25rem;
  width: .75rem;
  height: .75rem;
}

.native-settings-ronro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-top: 1px solid var(--ps-border);
}

.native-settings-panel form {
  padding-top: .5rem;
}

.native-settings-panel-copy {
  margin: .5rem 0 .75rem;
  color: var(--ps-text-secondary);
  font-size: .875rem;
}

.native-settings-verified-box {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: .5rem 0 .75rem;
  padding: .75rem;
  border-radius: .5rem;
  color: var(--ps-success);
  background: color-mix(in srgb, var(--ps-success) 10%, transparent);
}

.native-settings-verified-box > span {
  display: flex;
  flex-direction: column;
}

.native-settings-verified-box strong {
  color: var(--ps-text-primary);
  font-size: .8125rem;
  font-weight: 500;
}

.native-settings-verified-box small {
  color: var(--ps-text-secondary);
  font-size: .75rem;
}

.native-settings-device-list {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin: .5rem 0 1rem;
}

.native-settings-device {
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .75rem;
  border-radius: .5rem;
  background: var(--ps-bg-elevated);
}

.native-settings-device > span {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.native-settings-device strong {
  overflow: hidden;
  color: var(--ps-text-primary);
  font-size: .8125rem;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.native-settings-device > button {
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: .375rem;
  color: var(--ps-error);
  background: transparent;
}

.native-settings-device > button:hover {
  background: color-mix(in srgb, var(--ps-error) 10%, transparent);
}

.native-settings-device .native-settings-icon {
  width: 1rem;
  height: 1rem;
}

.native-settings-message {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: .5rem 0 .75rem;
  padding: .75rem;
  border-radius: .5rem;
  font-size: .8125rem;
}

.native-settings-message--error {
  color: var(--ps-error);
  background: color-mix(in srgb, var(--ps-error) 10%, transparent);
}

.native-settings-message--success {
  color: var(--ps-success);
  background: color-mix(in srgb, var(--ps-success) 10%, transparent);
}

.native-settings-message .native-settings-icon {
  width: 1rem;
  height: 1rem;
}

.native-settings-password-input {
  position: relative;
  display: block !important;
}

.native-settings-password-input input {
  padding-right: 2.75rem;
}

.native-settings-password-input button {
  position: absolute;
  top: 50%;
  right: .5rem;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: .375rem;
  color: var(--ps-text-muted);
  background: transparent;
  transform: translateY(-50%);
}

.native-settings-password-input button:hover {
  color: var(--ps-text-secondary);
  background: var(--ps-bg-hover);
}

.native-settings-password-input .native-settings-icon {
  width: 1rem;
  height: 1rem;
}

.native-settings-forgot {
  margin: .25rem 0 1rem;
  text-align: center;
}

.native-settings-forgot a {
  color: var(--ps-info);
  font-size: .875rem;
}

.native-settings-forgot a:hover {
  color: var(--ps-primary);
}

.settings-account-actions .native-settings-icon {
  width: 1rem;
  height: 1rem;
}

.settings-account-actions .native-settings-spinner.settings-logout-button__spinner {
  border: 2px solid currentColor;
  border-top-color: transparent;
}

.native-settings-modal-backdrop {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, .7);
  backdrop-filter: blur(4px);
  animation: native-settings-modal-in 150ms ease;
}

.native-settings-modal {
  width: min(100%, 32rem);
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  padding: 1.5rem;
  border: 1px solid var(--ps-border-light);
  border-radius: .75rem;
  color: var(--ps-text-primary);
  background: color-mix(in srgb, var(--ps-bg-surface) 96%, transparent);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
}

.native-settings-modal > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.native-settings-modal > header h2 {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: 0;
  color: var(--ps-text-primary);
  font-family: Poppins, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
}

.native-settings-modal > header h2 .native-settings-icon {
  color: var(--ps-primary);
}

.native-settings-modal > header > button {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: .375rem;
  color: var(--ps-text-muted);
  background: transparent;
}

.native-settings-modal > header > button:hover {
  color: var(--ps-text-primary);
  background: var(--ps-bg-hover);
}

.native-settings-crop-stage {
  position: relative;
  width: 100%;
  height: min(350px, calc(100vw - 5rem));
  overflow: hidden;
  border-radius: .75rem;
  background: var(--ps-bg-base);
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.native-settings-crop-stage:active {
  cursor: grabbing;
}

.native-settings-crop-stage img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  pointer-events: none;
  transform-origin: center;
  will-change: transform;
}

.native-settings-crop-mask {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  aspect-ratio: 1;
  border: 3px solid var(--ps-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 999px rgba(0, 0, 0, .55);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.native-settings-crop-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.native-settings-crop-controls label {
  width: 100%;
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--ps-text-muted);
}

.native-settings-crop-controls label .native-settings-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.native-settings-crop-controls input {
  min-width: 0;
  flex: 1;
  accent-color: var(--ps-primary);
}

.native-settings-crop-modal footer {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-top: 1rem;
}

.native-settings-crop-modal footer > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .5rem;
}

.native-settings-skip,
.native-settings-phone-back {
  align-self: center;
  padding: .25rem;
  border: 0;
  color: var(--ps-text-muted);
  background: transparent;
  font-size: .8125rem;
  text-decoration: underline;
}

.native-settings-skip:hover,
.native-settings-phone-back:hover {
  color: var(--ps-text-secondary);
}

.native-settings-phone-modal > p {
  margin: 0 0 1rem;
  color: var(--ps-text-secondary);
  font-size: .875rem;
}

.native-settings-phone-notice {
  margin-bottom: 1rem;
  padding: .75rem;
  border: 1px solid rgba(180, 83, 9, .5);
  border-radius: .5rem;
  color: #fde68a;
  background: rgba(120, 53, 15, .3);
  font-size: .75rem;
}

.native-settings-phone-entry {
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr);
  gap: .75rem;
  margin-bottom: 1rem;
}

.native-settings-phone-entry label {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .375rem;
}

.native-settings-phone-entry label > span:first-child {
  color: var(--ps-text-primary);
  font-size: .8125rem;
  font-weight: 500;
}

.native-settings-phone-entry select {
  padding: .5rem;
}

.native-settings-phone-number {
  display: flex;
  align-items: center;
  overflow: hidden;
}

.native-settings-phone-number b {
  padding: 0 .625rem;
  border-right: 1px solid var(--ps-border);
  color: var(--ps-text-secondary);
  font-size: .8125rem;
  font-weight: 500;
}

.native-settings-phone-number input {
  min-width: 0;
  flex: 1;
  height: 2.375rem;
  padding: .5rem .625rem;
  border: 0;
  outline: 0;
  color: var(--ps-text-primary);
  background: transparent;
  font-size: .875rem;
}

.native-settings-consent {
  display: flex;
  align-items: flex-start;
  gap: .625rem;
  margin-bottom: 1rem;
  color: var(--ps-text-secondary);
  font-size: .75rem;
  line-height: 1.25rem;
}

.native-settings-consent input {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  margin-top: .125rem;
  accent-color: var(--ps-primary);
}

.native-settings-otp {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .5rem;
  margin: 1.25rem 0;
}

.native-settings-otp input {
  width: 100%;
  aspect-ratio: 1;
  padding: 0;
  border: 1px solid var(--ps-border-light);
  border-radius: .5rem;
  color: var(--ps-text-primary);
  background: var(--ps-bg-elevated);
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
}

.native-settings-phone-resend {
  margin-top: 1rem;
  color: var(--ps-text-muted);
  font-size: .8125rem;
  text-align: center;
}

.native-settings-phone-resend button {
  padding: 0;
  border: 0;
  color: var(--ps-info);
  background: transparent;
}

.native-settings-phone-resend button:disabled {
  color: var(--ps-text-muted);
}

.native-settings-phone-back {
  width: 100%;
  margin-top: .5rem;
}

.native-settings-page button:focus-visible,
.native-settings-page a:focus-visible,
.native-settings-modal button:focus-visible,
.native-settings-modal input:focus-visible,
.native-settings-modal select:focus-visible {
  outline: 2px solid var(--ps-primary);
  outline-offset: 2px;
}

@keyframes native-settings-enter {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes native-settings-modal-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes native-settings-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 420px) {
  .native-settings-page {
    padding: .875rem;
  }

  .native-settings-header {
    margin-bottom: 1.25rem;
  }

  .native-settings-reminder__copy span {
    white-space: normal;
  }

  .native-settings-color-grid {
    gap: .375rem;
  }

  .native-settings-color__swatch {
    width: 1.75rem;
    height: 1.75rem;
  }

  .native-settings-phone-entry {
    grid-template-columns: 1fr;
  }

  .native-settings-modal {
    padding: 1rem;
  }

  .native-settings-otp {
    gap: .375rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .native-settings-page,
  .native-settings-modal-backdrop {
    animation: none;
  }
}
