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

.license-badge { white-space: nowrap; flex: 0 0 auto; }
.button-large { min-height: 48px; padding: .78rem 1rem; font-size: 1rem; }
.field-helper { margin: -.1rem 0 .2rem; color: var(--muted, #526779); font-size: .83rem; line-height: 1.4; }
.activation-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .35rem; padding: .3rem; border-radius: 14px; background: #e8f3fb; }
.activation-tab { min-height: 48px; padding: .65rem .75rem; border: 0; border-radius: 11px; color: #355568; background: transparent; font-weight: 800; cursor: pointer; }
.activation-tab.is-active { color: #fff; background: #0b3b66; box-shadow: 0 4px 14px rgb(7 29 49 / 15%); }
.activation-card { display: grid; gap: 1rem; }
.activation-form { padding-top: .25rem; }
.security-check { display: grid; gap: .25rem; padding-top: .8rem; border-top: 1px solid #dce7ed; }
.privacy-details { margin-top: 1rem; }
.privacy-details summary { min-height: 44px; display: flex; align-items: center; color: #0b3b66; font-weight: 800; cursor: pointer; }
.privacy-details .details-content, .privacy-details > ul { color: #526779; }
.privacy-details li + li { margin-top: .45rem; }

.quick-start-card { margin-bottom: 1rem; background: linear-gradient(145deg, #fff, #eaf8f7); }
.quick-start-list { margin: .75rem 0 0; padding-left: 1.4rem; }
.quick-start-list li + li { margin-top: .35rem; }
.quick-start-card .button-row { margin-top: 1rem; }
.setup-progress { margin-bottom: 1rem; }
.setup-progress-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .35rem; margin: 0; padding: 0; list-style: none; }
.setup-progress-list li { display: grid; justify-items: center; align-content: start; gap: .35rem; min-width: 0; padding: .65rem .25rem; color: #526779; text-align: center; font-size: .72rem; font-weight: 750; line-height: 1.2; }
.setup-progress-list li[aria-current="step"] { color: #0b3b66; }
.setup-progress-list li.is-complete { color: #0b6b50; }
.setup-step-number { display: grid; place-items: center; width: 30px; height: 30px; border: 2px solid currentColor; border-radius: 50%; background: #fff; font-size: .78rem; }
.primary-decision { margin-bottom: 1rem; }
.primary-decision h3 { font-size: clamp(1.35rem, 6vw, 1.9rem); }
.primary-decision-form { display: grid; gap: .8rem; }
.primary-decision-actions { display: flex; flex-wrap: wrap; gap: .65rem; align-items: center; }
.empty-state { display: grid; justify-items: start; gap: .7rem; padding: 1rem; border: 1px dashed #9eb3c2; border-radius: 14px; color: #355568; background: #f8fbfd; }
.empty-state p { margin: 0; }
.install-offer { margin: 1rem 0; }
.install-offer h3, .install-offer p { margin-top: 0; }
.install-instructions { margin: .7rem 0 0; color: var(--ink, #10283d); font-weight: 700; }
.install-instructions[hidden] { display: none; }
.install-offer .button[disabled] { color: #15583f; background: #e4f6ee; border-color: #a7dac7; cursor: default; opacity: 1; }
.advanced-controls summary { min-height: 44px; display: flex; align-items: center; font-weight: 750; cursor: pointer; }
.meaning-button { min-height: 44px; padding: .3rem 0; border: 0; color: #0c568b; background: transparent; text-decoration: underline; font-size: .8rem; font-weight: 700; cursor: pointer; }
.help-entry { white-space: nowrap; }
.help-dialog { width: min(680px, calc(100% - 24px)); max-height: min(88vh, 820px); padding: 0; border: 0; border-radius: 20px; color: #10283d; background: #fff; box-shadow: 0 30px 90px rgb(7 29 49 / 35%); }
.help-dialog::backdrop { background: rgb(7 29 49 / 68%); }
.help-dialog-body { display: grid; gap: 1rem; padding: 1rem; overflow-y: auto; }
.help-dialog-header { position: sticky; top: -1rem; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 0 .7rem; background: #fff; border-bottom: 1px solid #dce7ed; }
.help-dialog-header h2 { margin: 0; font-size: clamp(1.35rem, 6vw, 2rem); }
.help-step { padding: .85rem; border: 1px solid #dce7ed; border-radius: 14px; background: #fbfdfe; }
.help-step p { margin: .25rem 0 0; }
.meaning-definition + .meaning-definition { margin-top: .8rem; }
.meaning-definition p { margin: .2rem 0 0; }
.restore-prompt { display: inline-flex; align-items: center; min-height: 44px; gap: .3rem; color: #526779; }
.restore-prompt a { color: #0c568b; font-weight: 800; }

@media (min-width: 720px) {
  .primary-decision-form { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; }
  .primary-decision-actions { grid-column: 1 / -1; }
  .help-dialog-body { padding: 1.5rem; }
}

@media (max-width: 420px) {
  .setup-progress-list li { font-size: .66rem; }
  .primary-decision-actions, .primary-decision-actions .button { width: 100%; }
  .help-entry { padding-inline: .65rem; }
}

@media (prefers-reduced-motion: reduce) {
  .help-dialog { scroll-behavior: auto; }
}
