/* ambe traders — Nexus Help Desk
   Unique layout: split hero + radar metrics + bento shortcuts
   + horizontal tab switchboard + card-grid FAQ panels */

.page-help-nexus {
  --nx-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nx-snap: cubic-bezier(0.34, 1.56, 0.64, 1);
  --nx-ink: #0E1F18;
  --nx-forest: #0B3D2E;
  --nx-deep: #041912;
  --nx-mid: #1A5C45;
  --nx-lime: #C8E86C;
  --nx-gold: #E8C547;
  --nx-cream: #F7F9F4;
  --nx-paper: #FFFFFF;
  --nx-muted: #5C6F64;
  --nx-line: rgba(11, 61, 46, 0.1);
  --nx-glass: rgba(255, 255, 255, 0.72);
  background: var(--nx-cream);
}
.page-help-nexus .page-main { padding-top: 0; overflow-x: clip; }
.a51-nexus { padding-bottom: 0; }

/* ——— Split hero ——— */
.a51-nexus-hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.a51-nexus-mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    conic-gradient(from 210deg at 70% 20%, rgba(232, 197, 71, 0.22), transparent 40%),
    conic-gradient(from 30deg at 10% 80%, rgba(200, 232, 108, 0.18), transparent 45%),
    linear-gradient(135deg, var(--nx-deep) 0%, var(--nx-forest) 42%, #134832 100%);
}
.a51-nexus-mesh::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 75%);
}
.a51-nexus-mesh::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--nx-cream);
  clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 65%);
}

.a51-nexus-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.a51-nexus-eyebrow {
  margin: 0 0 1rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(200, 232, 108, 0.9);
}
.a51-nexus-eyebrow--light { color: var(--nx-lime); }

.a51-nexus-hero-copy h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 5.8vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: #fff;
  max-width: 14ch;
}
.a51-nexus-hero-copy h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--nx-lime), var(--nx-gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.a51-nexus-lede {
  margin: 0 0 1.75rem;
  max-width: 42ch;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

/* Command search */
.a51-nexus-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  max-width: 520px;
  padding: 0.65rem 0.75rem 0.65rem 1rem;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--nx-snap);
}
.a51-nexus-search:focus-within {
  border-color: var(--nx-lime);
  box-shadow: 0 0 0 3px rgba(200, 232, 108, 0.28), 0 24px 56px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}
.a51-nexus-search-icon {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.55);
  display: grid;
  place-items: center;
}
.a51-nexus-search input {
  flex: 1;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 1rem;
  outline: none;
  min-width: 0;
}
.a51-nexus-search input::placeholder { color: rgba(255, 255, 255, 0.45); }
.a51-nexus-kbd {
  flex: 0 0 auto;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.72rem;
  font-family: ui-monospace, monospace;
  color: rgba(255, 255, 255, 0.55);
}
.a51-nexus-search-clear {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
}

.a51-nexus-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.a51-nexus-tag {
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s var(--nx-snap);
}
.a51-nexus-tag:hover {
  background: var(--nx-lime);
  border-color: var(--nx-lime);
  color: var(--nx-deep);
  transform: translateY(-1px);
}

/* Radar panel */
.a51-nexus-radar {
  position: relative;
  padding: 1.75rem;
  border-radius: 28px;
  background: var(--nx-glass);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(20px);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.22);
  color: var(--nx-ink);
}
.a51-nexus-radar-ring {
  position: relative;
  width: min(100%, 220px);
  aspect-ratio: 1;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(200, 232, 108, 0.15) 0%, transparent 55%),
    repeating-radial-gradient(circle at center, transparent 0, transparent 18px, rgba(11, 61, 46, 0.08) 18px, rgba(11, 61, 46, 0.08) 19px);
  border: 2px solid rgba(11, 61, 46, 0.12);
  overflow: hidden;
}
.a51-nexus-radar-sweep {
  position: absolute;
  inset: 0;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(200, 232, 108, 0.45) 40deg, transparent 80deg);
  animation: a51NxSweep 4s linear infinite;
  transform-origin: center;
}
@keyframes a51NxSweep { to { transform: rotate(360deg); } }

.a51-nexus-radar-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--nx-forest);
  box-shadow: 0 0 0 4px rgba(200, 232, 108, 0.35);
  animation: a51NxBlink 2.4s ease-in-out infinite;
}
.a51-nexus-radar-dot--1 { top: 22%; left: 58%; animation-delay: 0s; }
.a51-nexus-radar-dot--2 { top: 62%; left: 72%; animation-delay: 0.6s; }
.a51-nexus-radar-dot--3 { top: 68%; left: 28%; animation-delay: 1.2s; }
.a51-nexus-radar-dot--4 { top: 35%; left: 18%; animation-delay: 1.8s; }
@keyframes a51NxBlink {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.35); opacity: 1; }
}

.a51-nexus-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}
.a51-nexus-metric {
  padding: 0.85rem 0.65rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--nx-line);
  text-align: center;
  box-shadow: 0 8px 20px rgba(11, 61, 46, 0.06);
}
.a51-nexus-metric strong {
  display: block;
  font-family: var(--a51-font-display);
  font-size: 1.5rem;
  line-height: 1.1;
  color: var(--nx-forest);
}
.a51-nexus-metric span {
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nx-muted);
}
.a51-nexus-metric--accent {
  background: linear-gradient(145deg, var(--nx-forest), var(--nx-mid));
  border-color: transparent;
}
.a51-nexus-metric--accent strong,
.a51-nexus-metric--accent span { color: #fff; }
.a51-nexus-metric--accent span { opacity: 0.75; }

.a51-nexus-hours {
  margin: 1rem 0 0;
  font-size: 0.82rem;
  text-align: center;
  color: var(--nx-muted);
}

/* ——— Bento shortcuts ——— */
.a51-nexus-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(88px, auto);
  gap: 0.85rem;
  margin-top: -2rem;
  margin-bottom: 2.75rem;
  position: relative;
  z-index: 2;
}
.a51-nexus-bento-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.25rem;
  padding: 1.15rem 1.1rem;
  border-radius: 20px;
  background: var(--nx-paper);
  border: 1px solid var(--nx-line);
  box-shadow: 0 12px 32px rgba(11, 61, 46, 0.07);
  overflow: hidden;
  transition: transform 0.28s var(--nx-snap), box-shadow 0.28s, border-color 0.28s;
  animation: a51NxUp 0.65s var(--nx-ease) both;
  animation-delay: calc(var(--bento-i, 0) * 0.06s);
}
@keyframes a51NxUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
.a51-nexus-bento-cell:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(200, 232, 108, 0.8);
  box-shadow: 0 22px 48px rgba(11, 61, 46, 0.14);
}
.a51-nexus-bento-cell--pos-0 { grid-column: span 4; grid-row: span 2; }
.a51-nexus-bento-cell--pos-1 { grid-column: span 4; }
.a51-nexus-bento-cell--pos-2 { grid-column: span 4; }
.a51-nexus-bento-cell--pos-3 { grid-column: span 3; }
.a51-nexus-bento-cell--pos-4 { grid-column: span 3; }
.a51-nexus-bento-cell--pos-5 { grid-column: span 6; }

.a51-nexus-bento-cell::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 232, 108, 0.35), transparent 68%);
  pointer-events: none;
  transition: transform 0.35s var(--nx-ease);
}
.a51-nexus-bento-cell:hover::before { transform: scale(1.2); }

.a51-nexus-bento-glyph {
  font-size: 1.35rem;
  line-height: 1;
  color: var(--nx-forest);
  opacity: 0.85;
}
.a51-nexus-bento-cell--pos-0 .a51-nexus-bento-glyph { font-size: 2rem; margin-bottom: 0.35rem; }
.a51-nexus-bento-cell strong {
  font-family: var(--a51-font-display);
  font-size: 1rem;
  color: var(--nx-ink);
  position: relative;
  z-index: 1;
}
.a51-nexus-bento-cell--pos-0 strong { font-size: 1.25rem; }
.a51-nexus-bento-cell small {
  font-size: 0.8rem;
  color: var(--nx-muted);
  position: relative;
  z-index: 1;
}
.a51-nexus-bento-go {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--nx-cream);
  color: var(--nx-forest);
  font-weight: 800;
  transition: background 0.2s, color 0.2s, transform 0.25s var(--nx-snap);
}
.a51-nexus-bento-cell:hover .a51-nexus-bento-go {
  background: var(--nx-forest);
  color: var(--nx-lime);
  transform: rotate(-8deg);
}

/* Tone accents */
.a51-nexus-bento-cell--track::before { background: radial-gradient(circle, rgba(26, 92, 69, 0.2), transparent 68%); }
.a51-nexus-bento-cell--pay::before { background: radial-gradient(circle, rgba(232, 197, 71, 0.35), transparent 68%); }

/* ——— Workbench: tabs + panels ——— */
.a51-nexus-workbench {
  padding-bottom: 3.5rem;
}
.a51-nexus-workbench-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.a51-nexus-workbench-label {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--nx-forest);
}
.a51-nexus-match {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--nx-mid);
}
.a51-nexus-match span {
  color: var(--nx-forest);
  font-family: var(--a51-font-display);
  font-size: 1.1rem;
}

.a51-nexus-tabbar-wrap {
  position: sticky;
  top: 72px;
  z-index: 5;
  margin-bottom: 1.25rem;
  padding: 0.35rem 0;
  background: linear-gradient(180deg, var(--nx-cream) 70%, transparent);
}
.a51-nexus-tabbar {
  display: flex;
  gap: 0.5rem;
  padding: 0.45rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--nx-line);
  box-shadow: 0 10px 28px rgba(11, 61, 46, 0.08);
  overflow-x: auto;
  scrollbar-width: none;
}
.a51-nexus-tabbar::-webkit-scrollbar { display: none; }

.a51-nexus-tab {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1.1rem;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--nx-muted);
  font: inherit;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.22s, color 0.22s, transform 0.22s var(--nx-snap);
}
.a51-nexus-tab:hover {
  background: var(--nx-cream);
  color: var(--nx-ink);
}
.a51-nexus-tab.is-active {
  background: var(--nx-forest);
  color: #fff;
  box-shadow: 0 8px 20px rgba(11, 61, 46, 0.25);
}
.a51-nexus-tab-num {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  opacity: 0.65;
}
.a51-nexus-tab.is-active .a51-nexus-tab-num { color: var(--nx-lime); opacity: 1; }

.a51-nexus-empty {
  margin: 0 0 1rem;
  padding: 1.25rem 1.4rem;
  border-radius: 18px;
  background: #fff;
  border: 1px dashed var(--nx-line);
  color: var(--nx-muted);
}
.a51-nexus-empty a { color: var(--nx-forest); font-weight: 700; }

.a51-nexus-panels { position: relative; min-height: 280px; }
.a51-nexus-panel {
  display: none;
  animation: a51NxFade 0.4s var(--nx-ease);
}
.a51-nexus-panel.is-active { display: block; }
@keyframes a51NxFade {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.a51-nexus-panel-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  align-items: start;
  padding: 1.35rem 1.4rem;
  margin-bottom: 1rem;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--nx-line);
  box-shadow: 0 12px 30px rgba(11, 61, 46, 0.06);
}
.a51-nexus-panel-badge {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-family: var(--a51-font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--nx-lime);
  background: linear-gradient(145deg, var(--nx-forest), var(--nx-mid));
  box-shadow: 0 10px 24px rgba(11, 61, 46, 0.22);
}
.a51-nexus-panel-head h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
}
.a51-nexus-panel-head p {
  margin: 0;
  color: var(--nx-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* FAQ card grid */
.a51-nexus-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}
.a51-nexus-card {
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--nx-line);
  overflow: hidden;
  transition: border-color 0.22s, box-shadow 0.22s, transform 0.22s;
}
.a51-nexus-card.is-open {
  border-color: rgba(200, 232, 108, 0.85);
  box-shadow: 0 16px 36px rgba(11, 61, 46, 0.1);
  transform: translateY(-2px);
}
.a51-nexus-card.is-hidden { display: none; }
.a51-nexus-card.is-hit {
  border-color: var(--nx-gold);
  box-shadow: 0 0 0 2px rgba(232, 197, 71, 0.35);
}

.a51-nexus-card-trigger {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: start;
  padding: 1.05rem 1.1rem;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: var(--nx-ink);
}
.a51-nexus-card-num {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--nx-forest);
  background: rgba(200, 232, 108, 0.35);
  padding: 0.28rem 0.5rem;
  border-radius: 999px;
  margin-top: 0.15rem;
}
.a51-nexus-card-q {
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.4;
}
.a51-nexus-card-chevron {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--nx-cream);
  position: relative;
  flex-shrink: 0;
  margin-top: 0.1rem;
  transition: background 0.2s, transform 0.3s var(--nx-snap);
}
.a51-nexus-card-chevron::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--nx-forest);
  border-bottom: 2px solid var(--nx-forest);
  transform: translate(-50%, -65%) rotate(45deg);
  transition: transform 0.3s var(--nx-snap);
}
.a51-nexus-card.is-open .a51-nexus-card-chevron {
  background: var(--nx-forest);
}
.a51-nexus-card.is-open .a51-nexus-card-chevron::before {
  border-color: var(--nx-lime);
  transform: translate(-50%, -35%) rotate(-135deg);
}

.a51-nexus-card-body {
  overflow: hidden;
  transition: height 0.35s var(--nx-ease);
}
.a51-nexus-card-a {
  padding: 0 1.1rem 1.15rem 3.6rem;
  color: var(--nx-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}
.a51-nexus-card-a a {
  color: var(--nx-forest);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ——— Support dock ——— */
.a51-nexus-dock {
  position: relative;
  padding: 3.25rem 0 4rem;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(232, 197, 71, 0.12), transparent 50%),
    linear-gradient(160deg, var(--nx-forest), var(--nx-deep));
  color: #fff;
  overflow: hidden;
}
.a51-nexus-dock-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: start;
}
.a51-nexus-dock-main {
  position: relative;
  padding: 0.5rem 0;
}
.a51-nexus-dock-pulse {
  position: absolute;
  width: 100px;
  height: 100px;
  top: -20px;
  right: 10%;
  border-radius: 50%;
  border: 2px solid rgba(200, 232, 108, 0.4);
  animation: a51NxRing 2.8s ease-out infinite;
}
@keyframes a51NxRing {
  0% { transform: scale(0.5); opacity: 0.9; }
  100% { transform: scale(1.8); opacity: 0; }
}
.a51-nexus-dock-main h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 3.2vw, 2.35rem);
  color: #fff;
}
.a51-nexus-dock-main p {
  margin: 0 0 1.35rem;
  max-width: 38ch;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.55;
}
.a51-nexus-dock-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.a51-nexus-link {
  color: var(--nx-lime);
  font-weight: 700;
}
.a51-nexus-link:hover { color: #fff; }

.a51-nexus-dock-side {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.a51-nexus-dock-card {
  padding: 1.2rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}
.a51-nexus-dock-card h3 {
  margin: 0 0 0.75rem;
  font-family: var(--a51-font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nx-lime);
}
.a51-nexus-dock-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.a51-nexus-dock-card li {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.82);
  padding-left: 0.85rem;
  border-left: 2px solid var(--nx-lime);
}
.a51-nexus-dock-card a {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
}
.a51-nexus-dock-card a:hover { color: var(--nx-lime); }
.a51-nexus-dock-card p {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
}

.a51-nexus-policy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}
.a51-nexus-policy a {
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  color: rgba(255, 255, 255, 0.88);
  transition: background 0.2s, color 0.2s;
}
.a51-nexus-policy a:hover {
  background: var(--nx-lime);
  color: var(--nx-deep);
}

/* ——— Responsive ——— */
@media (max-width: 960px) {
  .a51-nexus-hero-grid { grid-template-columns: 1fr; }
  .a51-nexus-radar { max-width: 420px; }
  .a51-nexus-bento { grid-template-columns: 1fr 1fr; }
  .a51-nexus-bento-cell--pos-0,
  .a51-nexus-bento-cell--pos-1,
  .a51-nexus-bento-cell--pos-2,
  .a51-nexus-bento-cell--pos-3,
  .a51-nexus-bento-cell--pos-4,
  .a51-nexus-bento-cell--pos-5 { grid-column: span 1; grid-row: span 1; }
  .a51-nexus-cards { grid-template-columns: 1fr; }
  .a51-nexus-dock-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .a51-nexus-bento { grid-template-columns: 1fr; }
  .a51-nexus-kbd { display: none; }
  .a51-nexus-card-a { padding-left: 1.1rem; }
  .a51-nexus-tabbar { border-radius: 14px; }
  .a51-nexus-tab { padding: 0.65rem 0.85rem; font-size: 0.82rem; }
  .a51-nexus-tab-label { max-width: 9ch; overflow: hidden; text-overflow: ellipsis; }
}

@media (prefers-reduced-motion: reduce) {
  .a51-nexus-radar-sweep,
  .a51-nexus-radar-dot,
  .a51-nexus-dock-pulse,
  .a51-nexus-bento-cell,
  .a51-nexus-panel { animation: none !important; }
  .a51-nexus-card-body { transition: none; }
}
