/* Aira Beacon — account console (polished UI) */
:root {
  --ab-ink: #102c29;
  --ab-deep: #1a4a45;
  --ab-pool: #2a8f88;
  --ab-lumen: #c8f04a;
  --ab-coral: #e85a3c;
  --ab-sand: #eef5ef;
  --ab-paper: #f7fbf7;
  --ab-glass: rgba(247, 251, 247, 0.82);
  --ab-line: rgba(16, 44, 41, 0.12);
  --ab-mute: rgba(16, 44, 41, 0.58);
  --ab-display: "Source Serif 4", Georgia, serif;
  --ab-sans: "Familjen Grotesk", "Segoe UI", sans-serif;
  --ab-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ab-shadow: 0 22px 50px rgba(16, 44, 41, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body.aira-beacon {
  margin: 0;
  min-height: 100%;
  color: var(--ab-ink);
  font-family: var(--ab-sans);
  background: var(--ab-sand);
  -webkit-font-smoothing: antialiased;
}

body.aira-beacon .aira-bare-main {
  padding: 0 !important;
  max-width: none !important;
  width: 100%;
  min-height: 100vh;
  display: block;
}

.ab-room {
  position: relative;
  min-height: 100vh;
  overflow-x: clip;
  display: flex;
  flex-direction: column;
}

.ab-aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(55% 45% at 8% 12%, rgba(200, 240, 74, 0.26), transparent 58%),
    radial-gradient(50% 40% at 92% 8%, rgba(232, 90, 60, 0.14), transparent 55%),
    radial-gradient(60% 50% at 70% 92%, rgba(42, 143, 136, 0.18), transparent 58%),
    linear-gradient(165deg, #e6f0e8 0%, var(--ab-sand) 48%, #e2ece4 100%);
}

.ab-ribbon {
  position: absolute;
  width: 46vmax;
  height: 46vmax;
  border-radius: 42% 58% 52% 48%;
  filter: blur(42px);
  opacity: 0.42;
  animation: ab-drift 18s ease-in-out infinite alternate;
}

.ab-ribbon-a {
  top: -16vmax;
  left: -12vmax;
  background: rgba(200, 240, 74, 0.5);
}

.ab-ribbon-b {
  top: 12vmax;
  right: -18vmax;
  background: rgba(42, 143, 136, 0.38);
  animation-delay: -6s;
}

.ab-ribbon-c {
  bottom: -22vmax;
  left: 28%;
  background: rgba(232, 90, 60, 0.24);
  animation-delay: -11s;
}

.ab-beacon-bar,
.ab-loading,
.ab-in,
.ab-out,
.ab-toast,
.ab-foot {
  position: relative;
  z-index: 1;
}

.ab-beacon-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem clamp(1rem, 4vw, 2.5rem);
}

.ab-home {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ab-ink);
  justify-self: start;
}

.ab-home-mark {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: var(--ab-ink);
  color: var(--ab-lumen);
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.3s var(--ab-ease), background 0.3s ease;
}

.ab-home:hover .ab-home-mark {
  transform: scale(1.06) rotate(-8deg);
  background: var(--ab-deep);
}

.ab-home-name {
  font-family: var(--ab-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.ab-beacon-title {
  margin: 0;
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ab-mute);
  font-weight: 700;
}

.ab-beacon-links {
  justify-self: end;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
}

.ab-beacon-links a {
  color: var(--ab-ink);
  text-decoration: none;
  font-weight: 650;
  font-size: 0.9rem;
  border-bottom: 2px solid transparent;
  padding-bottom: 0.1rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.ab-beacon-links a:hover {
  color: var(--ab-coral);
  border-bottom-color: var(--ab-coral);
}

.ab-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  min-height: 42vh;
  font-weight: 650;
  color: var(--ab-deep);
}

.ab-orbit {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  border: 2px solid rgba(16, 44, 41, 0.14);
  border-top-color: var(--ab-coral);
  animation: ab-spin 0.8s linear infinite;
  display: grid;
  place-items: center;
}

.ab-orbit i {
  width: 0.32rem;
  height: 0.32rem;
  border-radius: 50%;
  background: var(--ab-lumen);
}

/* Logged-in console */
.ab-in {
  padding: 0 clamp(1rem, 4vw, 2.5rem) 2rem;
  flex: 1;
}

.ab-console {
  width: min(960px, 100%);
  margin: 0 auto;
  padding: clamp(1.2rem, 3vw, 1.75rem);
  background: var(--ab-glass);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 1.35rem;
  box-shadow: var(--ab-shadow);
  backdrop-filter: blur(16px);
  animation: ab-rise 0.65s var(--ab-ease) both;
}

.ab-console-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem 1.1rem;
  align-items: center;
  margin-bottom: 1.15rem;
}

.ab-monogram {
  width: 3.35rem;
  height: 3.35rem;
  display: grid;
  place-items: center;
  border-radius: 0.85rem;
  background: linear-gradient(145deg, var(--ab-ink), var(--ab-pool));
  color: var(--ab-lumen);
  font-family: var(--ab-display);
  font-size: 1.4rem;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(200, 240, 74, 0.28);
}

.ab-kicker {
  margin: 0 0 0.2rem;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ab-pool);
  font-weight: 700;
}

.ab-welcome h1 {
  margin: 0;
  font-family: var(--ab-display);
  font-size: clamp(1.4rem, 3vw, 1.95rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.ab-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: end;
}

.ab-chip {
  appearance: none;
  border: 1px solid var(--ab-line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ab-ink);
  text-decoration: none;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 650;
  padding: 0.48rem 0.78rem;
  border-radius: 0.55rem;
  cursor: pointer;
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s var(--ab-ease), color 0.22s ease;
}

.ab-chip:hover {
  background: var(--ab-lumen);
  border-color: transparent;
  transform: translateY(-1px);
}

.ab-chip-exit:hover {
  background: var(--ab-coral);
  color: #fff;
}

#profileVerifyNotice.notice {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid transparent;
}

#profileVerifyNotice.notice.success {
  background: rgba(200, 240, 74, 0.28);
  border-color: rgba(42, 143, 136, 0.25);
  color: var(--ab-deep);
}

#profileVerifyNotice.notice.warning {
  background: rgba(232, 90, 60, 0.12);
  border-color: rgba(232, 90, 60, 0.28);
  color: #7a2414;
}

.ab-tabstrip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.3rem;
  padding: 0.3rem;
  margin-bottom: 1.15rem;
  background: rgba(16, 44, 41, 0.06);
  border-radius: 0.9rem;
}

.ab-tab-glow {
  position: absolute;
  top: 0.3rem;
  left: 0.3rem;
  width: calc(25% - 0.3rem);
  height: calc(100% - 0.6rem);
  border-radius: 0.65rem;
  background: #fff;
  box-shadow: 0 8px 20px rgba(16, 44, 41, 0.1);
  transition: transform 0.4s var(--ab-ease), width 0.4s var(--ab-ease), height 0.4s var(--ab-ease);
  z-index: 0;
  pointer-events: none;
}

.ab-tab {
  position: relative;
  z-index: 1;
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ab-mute);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 650;
  padding: 0.78rem 0.45rem;
  border-radius: 0.65rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: color 0.22s ease;
}

.ab-tab.is-active {
  color: var(--ab-ink);
}

.ab-tab-ix {
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  color: var(--ab-pool);
  font-weight: 700;
}

.ab-tab:hover {
  color: var(--ab-ink);
}

.ab-stage {
  position: relative;
  min-height: 15rem;
}

.ab-panel {
  display: none;
  animation: ab-panel-in 0.35s var(--ab-ease) both;
}

.ab-panel.is-active,
.dash-panel.ab-panel.is-active {
  display: block;
}

.ab-panel[hidden] {
  display: none !important;
}

.ab-panel-bar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.ab-panel-bar h2 {
  margin: 0;
  font-family: var(--ab-display);
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}

.ab-textlink {
  color: var(--ab-pool);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.88rem;
}

.ab-textlink:hover {
  color: var(--ab-coral);
}

.ab-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 650;
  font-size: 0.84rem;
  color: var(--ab-ink);
  cursor: pointer;
  padding: 0;
}

.ab-switch-track {
  width: 2.9rem;
  height: 1.6rem;
  border-radius: 999px;
  background: rgba(16, 44, 41, 0.14);
  position: relative;
  transition: background 0.28s ease;
  box-shadow: inset 0 0 0 1px var(--ab-line);
}

.ab-switch-track i {
  position: absolute;
  top: 0.16rem;
  left: 0.16rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 10px rgba(16, 44, 41, 0.16);
  transition: transform 0.32s var(--ab-ease), background 0.28s ease;
}

.ab-switch[aria-pressed="true"] .ab-switch-track {
  background: linear-gradient(90deg, var(--ab-pool), var(--ab-lumen));
}

.ab-switch[aria-pressed="true"] .ab-switch-track i {
  transform: translateX(1.25rem);
  background: var(--ab-ink);
}

.ab-profile.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  transition: gap 0.28s ease;
}

.ab-profile.is-compact {
  gap: 0.4rem;
}

.ab-profile .profile-item {
  display: grid;
  gap: 0.22rem;
  padding: 0.85rem 0.95rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--ab-line);
  border-radius: 0.85rem;
  transition: transform 0.25s var(--ab-ease), border-color 0.25s ease, box-shadow 0.25s ease;
}

.ab-profile.is-drafting .profile-item {
  border-color: rgba(42, 143, 136, 0.35);
  box-shadow: inset 0 0 0 1px rgba(200, 240, 74, 0.22);
}

.ab-profile .profile-item:hover {
  transform: translateY(-2px);
  border-color: rgba(42, 143, 136, 0.35);
}

.ab-profile .profile-item .k {
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ab-mute);
  font-weight: 700;
}

.ab-profile .profile-item .v {
  font-size: 0.96rem;
  font-weight: 650;
  word-break: break-word;
}

.ab-profile .profile-item .v.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.8rem;
}

.ab-edit-tray {
  margin-top: 1rem;
  padding: 1rem 1.05rem 1.1rem;
  border-radius: 0.95rem;
  background: linear-gradient(160deg, rgba(200, 240, 74, 0.2), rgba(42, 143, 136, 0.1));
  border: 1px solid rgba(42, 143, 136, 0.22);
  animation: ab-tray 0.32s var(--ab-ease) both;
}

.ab-edit-tray[hidden] {
  display: none !important;
}

.ab-edit-tray p {
  margin: 0 0 0.8rem;
  font-size: 0.88rem;
  color: var(--ab-mute);
  line-height: 1.45;
}

.ab-orders .order-row,
.ab-orders .mini-copy {
  font-size: 0.9rem;
}

.ab-orders .order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  margin-bottom: 0.6rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--ab-line);
  border-radius: 0.85rem;
  transition: transform 0.25s var(--ab-ease), border-color 0.25s ease, box-shadow 0.25s ease;
}

.ab-orders.is-pulse .order-row:first-child {
  border-color: rgba(232, 90, 60, 0.45);
  box-shadow: 0 0 0 3px rgba(232, 90, 60, 0.1);
  animation: ab-pulse 1.8s ease-in-out infinite;
}

.ab-orders .order-row:hover {
  transform: translateX(3px);
  border-color: rgba(42, 143, 136, 0.4);
}

.ab-orders .order-row strong {
  font-size: 0.96rem;
}

.ab-orders .mini-copy {
  color: var(--ab-mute);
  margin-top: 0.15rem;
}

.ab-orders .btn,
.ab-orders .btn-soft {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.15rem;
  padding: 0.4rem 0.85rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--ab-ink);
  background: var(--ab-lumen);
  border: 0;
  transition: transform 0.22s var(--ab-ease), background 0.22s ease;
}

.ab-orders .btn:hover,
.ab-orders .btn-soft:hover {
  transform: translateY(-1px);
  background: #d8ff62;
}

.ab-form {
  display: grid;
  gap: 0.85rem;
}

.ab-form-narrow {
  max-width: 26rem;
}

.ab-field {
  display: grid;
  gap: 0.32rem;
}

.ab-field > span {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ab-mute);
}

.ab-field input {
  width: 100%;
  min-height: 2.85rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--ab-line);
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.9);
  font: inherit;
  font-size: 16px;
  color: var(--ab-ink);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s var(--ab-ease);
}

@media (min-width: 480px) {
  .ab-field input {
    font-size: inherit;
  }
}

.ab-field input:focus {
  outline: none;
  border-color: var(--ab-pool);
  box-shadow: 0 0 0 4px rgba(42, 143, 136, 0.14);
  transform: translateY(-1px);
}

.ab-strength {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35rem;
}

.ab-strength i {
  height: 0.32rem;
  border-radius: 999px;
  background: rgba(16, 44, 41, 0.12);
  transition: background 0.22s ease, transform 0.22s var(--ab-ease);
}

.ab-strength[data-level="1"] i:nth-child(-n+1) { background: var(--ab-coral); }
.ab-strength[data-level="2"] i:nth-child(-n+2) { background: #e0a000; }
.ab-strength[data-level="3"] i:nth-child(-n+3) { background: var(--ab-pool); }
.ab-strength[data-level="4"] i:nth-child(-n+4) { background: var(--ab-lumen); transform: scaleY(1.2); }

.ab-go {
  appearance: none;
  border: 0;
  min-height: 2.95rem;
  padding: 0.75rem 1.2rem;
  border-radius: 0.7rem;
  background: linear-gradient(120deg, var(--ab-ink), var(--ab-deep));
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s var(--ab-ease), box-shadow 0.25s ease, filter 0.25s ease;
  box-shadow: 0 12px 26px rgba(16, 44, 41, 0.2);
}

.ab-go:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.ab-go-ghost {
  background: transparent;
  color: var(--ab-ink);
  border: 1px solid var(--ab-line);
  box-shadow: none;
}

.ab-go-ghost:hover {
  background: rgba(200, 240, 74, 0.22);
  border-color: transparent;
}

.ab-toggles {
  display: grid;
  gap: 0.7rem;
}

.ab-toggle {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: center;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--ab-line);
  border-radius: 0.9rem;
  cursor: pointer;
  transition: border-color 0.22s ease, transform 0.22s var(--ab-ease), box-shadow 0.22s ease;
}

.ab-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(42, 143, 136, 0.35);
  box-shadow: 0 10px 22px rgba(16, 44, 41, 0.07);
}

.ab-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ab-toggle-ui {
  width: 3rem;
  height: 1.7rem;
  border-radius: 999px;
  background: rgba(16, 44, 41, 0.14);
  position: relative;
  transition: background 0.28s ease;
}

.ab-toggle-ui i {
  position: absolute;
  top: 0.18rem;
  left: 0.18rem;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 10px rgba(16, 44, 41, 0.16);
  transition: transform 0.32s var(--ab-ease);
}

.ab-toggle input:checked + .ab-toggle-ui {
  background: linear-gradient(90deg, var(--ab-coral), #f07a45);
}

.ab-toggle input:checked + .ab-toggle-ui i {
  transform: translateX(1.25rem);
}

.ab-toggle-copy {
  display: grid;
  gap: 0.12rem;
}

.ab-toggle-copy strong {
  font-size: 0.96rem;
}

.ab-toggle-copy small {
  color: var(--ab-mute);
  font-size: 0.82rem;
  line-height: 1.35;
}

/* Logged-out gate */
.ab-out {
  padding: 0 clamp(1rem, 4vw, 2.5rem) 2rem;
  flex: 1;
}

.ab-out-grid {
  width: min(1000px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1.15rem;
  align-items: stretch;
}

.ab-signal,
.ab-gate {
  border-radius: 1.35rem;
  animation: ab-rise 0.65s var(--ab-ease) both;
}

.ab-signal {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(1.5rem, 3.5vw, 2.15rem);
  background:
    linear-gradient(155deg, rgba(16, 44, 41, 0.92), rgba(26, 74, 69, 0.88)),
    radial-gradient(80% 70% at 100% 0%, rgba(200, 240, 74, 0.28), transparent 55%),
    linear-gradient(160deg, var(--ab-ink), #1d5550 58%, #246b64);
  color: #f4faf4;
  box-shadow: var(--ab-shadow);
  min-height: min(70vh, 34rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.ab-brand-mark {
  margin: 0 0 1.1rem;
  font-family: var(--ab-display);
  font-size: clamp(2.6rem, 8vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.92;
  color: var(--ab-lumen);
  max-width: 8ch;
}

.ab-signal .ab-kicker {
  color: rgba(200, 240, 74, 0.9);
}

.ab-signal h1 {
  margin: 0 0 0.7rem;
  font-family: var(--ab-display);
  font-size: clamp(1.55rem, 3.2vw, 2.1rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-weight: 700;
}

.ab-signal-lede {
  margin: 0 0 1.25rem;
  color: rgba(244, 250, 244, 0.78);
  line-height: 1.5;
  max-width: 34ch;
}

.ab-benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.ab-benefits li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  padding: 0.7rem 0.8rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(200, 240, 74, 0.16);
  opacity: 0;
  transform: translateX(-10px);
  animation: ab-benefit 0.5s var(--ab-ease) forwards;
  animation-delay: calc(0.1s + var(--ab-i, 0) * 0.07s);
  font-size: 0.92rem;
  line-height: 1.35;
}

.ab-benefits li span {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--ab-lumen);
  letter-spacing: 0.08em;
  padding-top: 0.15rem;
}

.ab-gate {
  padding: clamp(1.2rem, 3vw, 1.7rem);
  background: var(--ab-glass);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: var(--ab-shadow);
  backdrop-filter: blur(16px);
  animation-delay: 0.06s;
}

.ab-liquid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem;
  padding: 0.28rem;
  margin-bottom: 1.1rem;
  background: rgba(16, 44, 41, 0.07);
  border-radius: 0.75rem;
}

.ab-liquid-pill {
  position: absolute;
  top: 0.28rem;
  bottom: 0.28rem;
  left: 0.28rem;
  width: calc(50% - 0.28rem);
  border-radius: 0.55rem;
  background: #fff;
  box-shadow: 0 8px 18px rgba(16, 44, 41, 0.1);
  transition: transform 0.35s var(--ab-ease);
  z-index: 0;
}

.ab-gate[data-active="register"] .ab-liquid-pill {
  transform: translateX(100%);
}

.ab-liquid-btn {
  position: relative;
  z-index: 1;
  appearance: none;
  border: 0;
  background: transparent;
  min-height: 2.55rem;
  border-radius: 0.55rem;
  font: inherit;
  font-weight: 700;
  color: var(--ab-mute);
  cursor: pointer;
  transition: color 0.22s ease;
}

.ab-liquid-btn.is-active {
  color: var(--ab-ink);
}

.ab-face h3 {
  margin: 0 0 0.3rem;
  font-family: var(--ab-display);
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}

.ab-face-lede {
  margin: 0 0 1rem;
  color: var(--ab-mute);
  font-size: 0.92rem;
  line-height: 1.45;
}

.ab-face[hidden] {
  display: none !important;
}

.ab-face.is-active {
  display: block;
  animation: ab-panel-in 0.32s var(--ab-ease) both;
}

.ab-forgot {
  margin-top: 1rem;
  border-top: 1px solid var(--ab-line);
  padding-top: 0.85rem;
}

.ab-forgot summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ab-pool);
  list-style: none;
}

.ab-forgot summary::-webkit-details-marker {
  display: none;
}

.ab-forgot[open] summary {
  margin-bottom: 0.75rem;
}

.ab-forgot h4 {
  margin: 0 0 0.65rem;
  font-family: var(--ab-display);
}

.ab-toast.toast {
  position: fixed;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%) translateY(120%);
  z-index: 80;
  min-width: min(90vw, 22rem);
  padding: 0.9rem 1.15rem;
  border-radius: 0.75rem;
  background: var(--ab-ink);
  color: #fff;
  font-weight: 650;
  font-size: 0.9rem;
  text-align: center;
  box-shadow: 0 16px 36px rgba(16, 44, 41, 0.26);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s var(--ab-ease), opacity 0.35s ease;
}

.ab-toast.toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.ab-toast.toast.success {
  background: #1d5550;
}

.ab-toast.toast.error {
  background: #b33a24;
}

.ab-toast.toast.warning,
.ab-toast.toast.info {
  background: #1f4f5c;
}

.ab-foot {
  margin-top: auto;
  padding: 1.25rem clamp(1rem, 4vw, 2.5rem) 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--ab-mute);
}

.ab-foot p {
  margin: 0;
}

.ab-foot a {
  color: var(--ab-ink);
  text-decoration: none;
  font-weight: 650;
  margin-right: 0.85rem;
}

.ab-foot a:last-child {
  margin-right: 0;
}

.ab-foot a:hover {
  color: var(--ab-coral);
}

.ab-room.is-still .ab-ribbon,
.ab-room.is-still .ab-orders.is-pulse .order-row:first-child {
  animation: none !important;
}

@keyframes ab-drift {
  from { transform: translate3d(0, 0, 0) rotate(0deg); }
  to { transform: translate3d(4%, 3%, 0) rotate(8deg); }
}

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

@keyframes ab-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes ab-panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes ab-tray {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes ab-benefit {
  to { opacity: 1; transform: translateX(0); }
}

@keyframes ab-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(232, 90, 60, 0.1); }
  50% { box-shadow: 0 0 0 6px rgba(232, 90, 60, 0.16); }
}

@media (max-width: 860px) {
  .ab-beacon-bar {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 0.7rem;
  }

  .ab-beacon-title {
    text-align: left;
    justify-self: start;
  }

  .ab-beacon-links {
    justify-self: start;
  }

  .ab-console-head {
    grid-template-columns: auto 1fr;
  }

  .ab-quick {
    grid-column: 1 / -1;
    justify-content: start;
  }

  .ab-tabstrip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ab-profile.profile-grid {
    grid-template-columns: 1fr;
  }

  .ab-out-grid {
    grid-template-columns: 1fr;
  }

  .ab-signal {
    min-height: 0;
  }

  .ab-brand-mark {
    max-width: none;
  }
}

@media (max-width: 520px) {
  .ab-console {
    padding: 1rem;
    border-radius: 1.1rem;
  }

  .ab-tab {
    font-size: 0.8rem;
    padding: 0.7rem 0.3rem;
  }

  .ab-orders .order-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ab-ribbon,
  .ab-orbit,
  .ab-console,
  .ab-signal,
  .ab-gate,
  .ab-panel,
  .ab-face,
  .ab-benefits li,
  .ab-orders.is-pulse .order-row:first-child {
    animation: none !important;
  }

  .ab-console,
  .ab-signal,
  .ab-gate,
  .ab-benefits li {
    opacity: 1;
    transform: none;
  }
}
