/* persona-home.module.css */
/* Mobile-first (§188). One header row on desktop: greeting left, the status
   capsule right (owner, 2026-10-30). Below 1024px the capsule wraps under the
   greeting as one compact capsule, left-aligned. */
.ph-page {
  min-height: calc(100dvh - var(--nexus-chrome-height, 0px));
  background: var(--syn-page-ground, var(--sgh-bg));
  font-family: var(--font-sans);
}
.ph-hero {
  position: relative;
  color: var(--syn-ink);
  padding: 18px 18px 4px;
}
.ph-heroInner {
  max-width: 1624px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
}
.ph-introduction {
  min-width: 0;
  overflow-wrap: anywhere;
}
.ph-greeting {
  margin: 0;
  font-family: var(--font-brand-display);
  font-size: clamp(34px, 3.3vw, 52px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -1px;
}
.ph-greetingLine {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 10px;
}
.ph-greetingAudio {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.ph-audioButton {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid color-mix(in oklch, var(--syn-teal) 54%, var(--syn-line));
  border-radius: 50%;
  background: linear-gradient(
    145deg,
    var(--syn-glass-shine),
    var(--syn-glass-rest)
  );
  box-shadow:
    inset 0 1px 0 var(--syn-glass-shine),
    0 3px 9px var(--syn-glass-shadow);
  color: var(--syn-ink);
  cursor: pointer;
}
.ph-audioButton svg {
  width: 15px;
  height: 15px;
}
.ph-audioButton:hover {
  border-color: var(--syn-teal);
  color: var(--syn-teal);
}
.ph-audioButton[aria-pressed="true"] {
  color: var(--syn-muted);
  background: var(--syn-panel);
}
.ph-audioButton:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.ph-audioButton:focus-visible {
  outline: 2px solid var(--syn-focus);
  outline-offset: 3px;
}
.ph-feedback {
  margin: 0 0 5px;
  color: var(--syn-muted);
  font-size: 11px;
}
.ph-greeting em {
  font-weight: 400;
}
.ph-context {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px 12px;
  width: 100%;
  min-width: 0;
}
.ph-clusterFeedback {
  flex-basis: 100%;
  margin: 0;
  color: var(--syn-muted);
  font-size: 11px;
}
@media (min-width: 651px) {
  .ph-hero {
    padding: 22px 26px 4px;
  }
}
@media (min-width: 1024px) {
  .ph-heroInner {
    flex-wrap: nowrap;
  }
  .ph-context {
    flex-wrap: nowrap;
    justify-content: flex-end;
    width: auto;
    flex-shrink: 0;
  }
  .ph-clusterFeedback {
    position: absolute;
    right: 38px;
    bottom: -14px;
    flex-basis: auto;
  }
}
@media (min-width: 1251px) {
  .ph-hero {
    padding: 26px 38px 4px;
  }
}
@media (prefers-reduced-transparency: reduce) {
  .ph-audioButton {
    background: var(--syn-panel);
    backdrop-filter: none;
  }
}

/* home-status-capsule.module.css */
/* Home status capsule (owner, 2026-10-30). Mobile-first (§188): one compact
   capsule that wraps under the greeting; one row beside it from 1024px.
   One glass treatment from the existing tokens, one typeface (the UI sans)
   with tabular numerals, and reserved widths so nothing shifts on arrival. */
.sc-capsule {
  display: inline-flex;
  align-items: stretch;
  max-width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 0 4px;
  border: 1px solid var(--syn-glass-edge);
  border-radius: 999px;
  background: linear-gradient(145deg, var(--syn-glass-shine), transparent 55%),
    var(--syn-glass-rest);
  box-shadow:
    inset 0 1px 0 var(--syn-glass-shine),
    0 3px 12px var(--syn-glass-shadow);
  backdrop-filter: blur(14px);
  color: var(--syn-muted);
  font-family: var(--font-sans);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.sc-capsule .sc-segment {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  min-height: 44px;
  height: auto;
  margin: 0;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  color: var(--syn-muted);
  font-family: inherit;
  font-size: inherit;
  font-weight: 400;
  letter-spacing: 0;
  white-space: nowrap;
  text-decoration: none;
}
.sc-capsule a.segment:hover,
.sc-capsule button.segment:hover:not(:disabled) {
  background: var(--syn-glass-clear);
  color: var(--syn-ink);
}
.sc-capsule .sc-segment:focus-visible {
  outline: 2px solid var(--syn-focus);
  outline-offset: -2px;
}
.sc-capsule .sc-segment:disabled {
  opacity: 1;
  cursor: default;
}
.sc-time {
  padding-left: 12px;
}
.sc-timeValue {
  /* Reserved: "12:59 PM" in tabular figures never re-flows the capsule. */
  display: inline-block;
  min-width: 6.4ch;
  color: var(--syn-ink);
  font-size: 15px;
  font-weight: 500;
  text-align: left;
}
.sc-zone {
  min-width: 3ch;
  color: var(--syn-muted);
  font-size: 10px;
  letter-spacing: 0.04em;
}
.sc-time[aria-pressed="true"] .sc-zone {
  color: var(--syn-teal);
}
.sc-date {
  min-width: 9.5ch;
}
.sc-weather {
  max-width: 15rem;
}
.sc-weatherIcon {
  font-size: 14px;
  line-height: 1;
}
.sc-weatherPin {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  color: var(--syn-teal);
}
.sc-weatherTemp {
  min-width: 3ch;
  color: var(--syn-ink);
  font-weight: 500;
}
.sc-weatherDesc {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sc-divider {
  align-self: center;
  width: 1px;
  height: 18px;
  flex-shrink: 0;
  background: var(--syn-line);
}
.sc-skeleton {
  display: inline-block;
  width: 100%;
  min-width: 5ch;
  height: 0.9em;
  border-radius: 4px;
  background: var(--syn-line);
  vertical-align: middle;
}
/* Phones: the weather condition text yields first; temperature stays. */
@media (max-width: 420px) {
  .sc-capsule {
    font-size: 11px;
  }
  .sc-capsule .sc-segment {
    padding: 0 7px;
  }
  .sc-timeValue {
    font-size: 14px;
  }
  .sc-weather .sc-weatherDesc {
    max-width: 7ch;
  }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .sc-capsule {
    background: var(--syn-panel);
    backdrop-filter: none;
  }
}

/* HomeCompanion.module.css */
/* EXTEND the published Command spatial composition. Geometry from v18 style.css:
   spatial 580px; category glyph 52px; category label 29px; composer max 760px.
   Existing canonical tokens own all theme paint. Container breakpoints also
   handle the shared Genie dock without remounting the navigation or composer. */
.hc-companion {
  container-type: inline-size;
  max-width: 1700px;
  margin: 0 auto;
  padding: 0 38px 28px;
}
.hc-surface {
  position: relative;
  isolation: isolate;
  container: companion / inline-size;
}
.hc-customize {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--syn-line);
  border-radius: 24px;
  background: var(--syn-glass-clear);
  color: var(--syn-muted);
  font-size: 10px;
  backdrop-filter: blur(15px);
}
.hc-customize svg {
  width: 12px;
  height: 12px;
}
.hc-orbit {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px minmax(0, 1fr);
  grid-template-rows: 1fr 1fr;
  align-items: center;
  min-height: 620px;
  margin: 0 -16px;
  padding: 14px 0;
  background: radial-gradient(
    ellipse at 50% 49%,
    color-mix(in oklch, var(--syn-surface) 25%, transparent),
    transparent 70%
  );
}
.hc-constellation {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  fill: none;
  stroke: var(--syn-teal);
  stroke-width: 0.6;
  opacity: 1;
}
.hc-genie {
  position: relative;
  grid-column: 2;
  grid-row: 1 / span 2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-width: 0;
  gap: 0;
}
.hc-genie::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 5%;
  left: 50%;
  width: 58%;
  aspect-ratio: 1;
  border: 1px solid var(--syn-teal);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) scale(0.25);
}
/* The renderer breathes and deforms the surface inside a fixed box. The box
   itself never scales, so the logo and the click target stay anchored. */
.hc-mainOrb {
  width: 360px;
  height: 360px;
  transform-origin: center;
}
.hc-orbit[data-arrival="waiting"] .hc-mainOrb {
  opacity: 0;
}
/* The orb only ever dissolves in where it sits. With the particle intro the
   renderer drives that dissolve; without it (intro "off") it fades in place.
   It never travels from the rail: the particles already show that path. */
.hc-orbit[data-intro="off"] .hc-mainOrb {
  animation: orb-dissolve-in 700ms ease-out both;
}
.hc-orbit[data-motion="paused"] .hc-mainOrb,
.hc-orbit[data-motion="paused"] .hc-genie::after {
  animation: none;
}
.hc-orbit[data-motion="paused"] .hc-mainOrb {
  opacity: 1;
  transform: none;
  filter: none;
}
.hc-orbit[data-motion="paused"] .hc-genie::after {
  opacity: 0;
}
/* Particle arrival: the canvas is the shared OrbArrivalCanvas (fixed, portaled).
   The orb's opacity while it dissolves in is set inline from the renderer's own
   crossfade progress, so it is exactly the complement of the particles' fade;
   once revealed it breathes from the base .hc-mainOrb rule. */
.hc-orbit[data-intro="particles"] .hc-mainOrb {
  opacity: 0;
  animation: none;
}
.hc-orbit[data-intro="particles"] .hc-genie::after,
.hc-orbit[data-intro="revealed"] .hc-genie::after {
  opacity: 0;
  animation: none;
}
.hc-orbHint {
  position: absolute;
  pointer-events: none;
  top: 49%;
  margin: 15px 0 0;
  font-size: 7px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--syn-muted);
}
.hc-ready {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  min-height: 36px;
  margin: -7px 0 0;
  padding: 8px 14px;
  border: 1px solid color-mix(in oklch, var(--syn-violet) 32%, var(--syn-line));
  border-radius: 24px;
  background: linear-gradient(
    110deg,
    var(--syn-teal-soft),
    var(--syn-glass-rest)
  );
  box-shadow: 0 3px 15px var(--syn-glass-shadow);
  color: var(--syn-teal);
  font-size: 10px;
  letter-spacing: 0.3px;
  text-align: center;
  backdrop-filter: blur(15px);
}
.hc-statusBars {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 11px;
}
.hc-statusBars i {
  display: block;
  width: 2px;
  height: 5px;
  border-radius: 1px;
  background: currentColor;
}
.hc-statusBars i:nth-child(2),
.hc-statusBars i:nth-child(4) {
  height: 8px;
}
.hc-statusBars i:nth-child(3) {
  height: 11px;
}
.hc-textEntry {
  min-height: 44px;
  padding: 7px 12px;
  color: var(--syn-muted);
  font-size: 10px;
  font-weight: 400;
}
.hc-category {
  min-width: 0;
  grid-row: var(--orbit-row);
  text-align: center;
}
.hc-categoryLeft {
  grid-column: 1;
}
.hc-categoryRight {
  grid-column: 3;
}
.hc-categoryButton {
  display: flex;
  width: min(100%, 230px);
  height: auto;
  min-height: 184px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0 auto;
  padding: 5px 8px;
  white-space: normal;
  border: 1px solid transparent;
  border-radius: 20px;
  background: transparent;
}
.hc-categoryButton:hover,
.hc-categoryButton[aria-expanded="true"] {
  background: var(--syn-glass-clear);
  border-color: color-mix(in oklch, var(--segment-tone) 24%, transparent);
}
.hc-categoryIndex {
  margin-bottom: 14px;
  color: var(--syn-quiet);
  font-size: 8px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.hc-categoryGlyph {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid
    color-mix(in oklch, var(--segment-tone) 68%, var(--syn-glass-edge));
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 22%, var(--syn-glass-shine), transparent 49%),
    linear-gradient(
      145deg,
      var(--syn-glass-rest),
      color-mix(in oklch, var(--segment-tone) 15%, var(--syn-surface))
    );
  color: var(--segment-tone);
  box-shadow:
    0 7px 14px color-mix(in oklch, var(--segment-tone) 17%, transparent),
    0 1px 0 var(--syn-glass-shine),
    inset 0 2px 7px var(--syn-glass-shine),
    inset 0 -5px 11px color-mix(in oklch, var(--segment-tone) 13%, transparent);
  transition: transform 0.25s;
}
.hc-categoryGlyph svg {
  width: 22px;
  height: 22px;
}
.hc-categoryButton:hover .hc-categoryGlyph {
  transform: translateY(-3px) scale(1.06);
}
.hc-categoryWave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 62px;
  height: 22px;
  margin-top: 8px;
  border: 1px solid
    color-mix(in oklch, var(--segment-tone) 26%, var(--syn-line));
  border-radius: 99px;
  background: var(--syn-glass-rest);
  color: var(--segment-tone);
  box-shadow:
    0 3px 9px var(--syn-glass-shadow),
    inset 0 1px var(--syn-glass-shine);
}
.hc-categoryWave i {
  width: 3px;
  height: 4px;
  border-radius: 2px;
  background: currentColor;
  animation: category-wave 950ms ease-in-out infinite alternate;
}
.hc-categoryWave i:nth-child(2),
.hc-categoryWave i:nth-child(4) {
  animation-delay: -310ms;
}
.hc-categoryWave i:nth-child(3) {
  animation-delay: -620ms;
}
.hc-orbit[data-motion="paused"] .hc-categoryWave i {
  animation: none;
}
.hc-specialist {
  margin-top: 4px;
  color: var(--segment-tone);
  font-size: 10px;
  letter-spacing: 0.02em;
}
.hc-categoryCopy {
  display: block;
  min-width: 0;
  margin-top: 15px;
}
.hc-categoryName {
  display: block;
  overflow-wrap: anywhere;
  color: var(--syn-ink);
  font-family: var(--font-brand-display);
  font-size: 29px;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.3px;
}
.hc-categoryCount {
  display: block;
  margin-top: 9px;
  color: var(--syn-muted);
  font-size: 10px;
  font-weight: 400;
}
.hc-explore {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  color: var(--segment-tone);
  font-size: 10px;
  font-weight: 400;
}
.hc-categoryTalk {
  display: flex;
  gap: 6px;
  min-height: 44px;
  height: auto;
  margin: 0 auto;
  padding: 6px 14px;
  border-radius: 24px;
  color: var(--segment-tone);
  font-size: 10px;
  font-weight: 400;
}
.hc-categoryTalk svg {
  width: 13px;
  height: 13px;
}
.hc-orbitDialog {
  max-width: 650px;
  max-height: min(85vh, 760px);
  padding: 24px;
  border: 1px solid var(--syn-glass-edge);
  border-radius: 24px;
  background: var(--syn-glass-rest);
  box-shadow:
    0 24px 70px var(--syn-glass-shadow),
    inset 0 1px var(--syn-glass-shine);
  color: var(--syn-ink);
  backdrop-filter: blur(24px);
}
.hc-orbitDialogHeader {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.hc-orbitDialogEyebrow {
  color: var(--syn-teal);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.hc-orbitDialogTitle {
  margin-top: 4px;
  font-family: var(--font-brand-display);
  font-size: 34px;
  line-height: 1.05;
}
.hc-orbitDialogIntro {
  margin: 14px 0 18px;
  color: var(--syn-muted);
  font-size: 13px;
  line-height: 1.5;
}
.hc-orbitSlotList {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.hc-orbitSlot {
  display: grid;
  gap: 7px;
  color: var(--syn-muted);
  font-size: 11px;
  letter-spacing: 0.03em;
}
.hc-orbitDialogActions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
}
.hc-orbitDialogError {
  margin-top: 12px;
  color: var(--error-text);
  font-size: 12px;
}
@media (max-width: 520px) {
  .hc-orbitSlotList {
    grid-template-columns: 1fr;
  }
  .hc-orbitDialog {
    padding: 18px;
  }
  .hc-orbitDialogActions {
    flex-wrap: wrap;
  }
}
@keyframes category-wave {
  from {
    height: 3px;
    opacity: 0.55;
  }
  to {
    height: 14px;
    opacity: 1;
  }
}
@keyframes orb-dissolve-in {
  0% {
    opacity: 0;
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    filter: blur(0);
  }
}
@container (max-width: 850px) {
  .hc-orbit {
    grid-template-columns: minmax(0, 1fr) 290px minmax(0, 1fr);
  }
  .hc-mainOrb {
    width: 290px;
    height: 290px;
  }
  .hc-categoryName {
    font-size: 26px;
  }
}
@container (max-width: 620px) {
  .hc-customize {
    font-size: 9px;
  }
  .hc-orbit {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto 300px auto;
    min-height: 665px;
    gap: 0 8px;
    margin: 10px -8px 0;
    padding: 10px 0;
  }
  .hc-category {
    grid-column: auto;
    grid-row: var(--mobile-row);
  }
  .hc-categoryLeft {
    grid-column: 1;
  }
  .hc-categoryRight {
    grid-column: 2;
  }
  .hc-genie {
    grid-column: 1 / span 2;
    grid-row: 2;
    align-self: center;
  }
  .hc-mainOrb {
    width: 256px;
    height: 256px;
  }
  .hc-ready {
    min-height: 30px;
    padding: 6px 12px;
    font-size: 9px;
  }
  .hc-textEntry {
    min-height: 36px;
  }
  .hc-categoryButton {
    min-height: 168px;
    padding: 5px;
  }
  .hc-categoryIndex {
    font-size: 7px;
    margin-bottom: 10px;
  }
  .hc-categoryGlyph {
    width: 46px;
    height: 46px;
  }
  .hc-categoryGlyph svg {
    width: 19px;
    height: 19px;
  }
  .hc-categoryName {
    font-size: 24px;
  }
  .hc-categoryCount,
  .hc-explore {
    font-size: 9px;
  }
  .hc-categoryCopy {
    margin-top: 12px;
  }
  .hc-orbHint {
    margin-top: 8px;
    font-size: 6px;
  }
  .hc-constellation {
    display: none;
  }
}
@media (max-width: 1250px) {
  .hc-companion {
    padding-right: 26px;
    padding-left: 26px;
  }
}
@media (max-width: 650px) {
  .hc-companion {
    padding-right: 18px;
    padding-left: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hc-categoryGlyph {
    transition: none;
  }
  .hc-mainOrb,
  .hc-orbit[data-intro="off"] .hc-mainOrb,
  .hc-categoryWave i {
    animation: none;
  }
  .hc-orbit[data-arrival="waiting"] .hc-mainOrb {
    opacity: 1;
  }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .hc-ready,
  .hc-customize,
  .hc-sidePanelNotice {
    background: var(--syn-panel);
    backdrop-filter: none;
  }
  .hc-constellation {
    display: none;
  }
}

/* Reference desktop core is 180px; shared renderer paints at 58% of its box.
   This Home-only sizing retains the canonical renderer and asset for all hosts. */
.hc-mainOrb > img {
  width: 128px;
  height: 53px;
}
.hc-navigationOrbits {
  stroke: var(--syn-ink);
  stroke-width: 0.6;
  opacity: 0.065;
}
.hc-starLinks {
  stroke: var(--syn-ink);
  stroke-width: 0.5;
  opacity: 0.54;
}
.hc-star {
  fill: var(--syn-ink);
  stroke: none;
  opacity: 0.2;
  animation: constellation-drift 120s ease-in-out infinite alternate;
}
[data-theme=dark] .hc-navigationOrbits {
  opacity: 0.09;
}
[data-theme=dark] .hc-starLinks {
  opacity: 1;
}
[data-theme=dark] .hc-star {
  opacity: 0.36;
}
.hc-orbit[data-motion="paused"] .hc-star {
  animation-play-state: paused;
}
@keyframes constellation-drift {
  from {
    transform: translate(-6px, -5px);
  }
  to {
    transform: translate(6px, 5px);
  }
}
@container (max-width:850px) {
  .hc-mainOrb > img {
    width: 108px;
    height: 44px;
  }
}
@container (max-width:620px) {
  .hc-mainOrb > img {
    width: 104px;
    height: 42px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hc-star {
    animation: none;
  }
}

/* Home dock row (owner, 2026-10-30): the Genie composer centred under the
   orbit with Customize orbit level with it at the bottom right. Mobile-first:
   stacked, the control right-aligned under the composer (44px target). */
.hc-dock {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  gap: 10px;
  margin-top: 10px;
}
.hc-dockComposer {
  width: min(760px, 100%);
  min-width: 0;
  margin: 0 auto;
}
.hc-dockActions {
  display: flex;
  justify-content: flex-end;
}
.hc-customizeOrbit {
  white-space: nowrap;
}
/* Reserved height while the drawer mounts its composer, so arriving on Home
   does not shift the page when the composer appears. */
.hc-composerHost {
  position: relative;
  min-height: 128px;
}
.hc-composerHost:has(> [data-home-genie-host]:empty),
.hc-composerHost:empty {
  border: 1px solid var(--syn-glass-edge);
  border-radius: 10px;
  background: var(--syn-glass-rest);
}
.hc-sidePanelNotice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 10px 14px;
  border: 1px solid var(--syn-glass-edge);
  border-radius: 12px;
  background: var(--syn-glass-rest);
  color: var(--syn-muted);
  font-size: 13px;
  backdrop-filter: blur(15px);
}
@container companion (min-width: 900px) {
  .hc-dock {
    grid-template-columns: minmax(0, 1fr) minmax(0, 760px) minmax(0, 1fr);
    align-items: center;
  }
  .hc-dockComposer {
    grid-column: 2;
  }
  .hc-dockActions {
    grid-column: 3;
    align-self: end;
    padding-bottom: 6px;
  }
}

/* Customize orbit picker (orbit-picker.tsx): one searchable list per
   position; a bottom sheet below 768px. */
.hc-orbitPickerTrigger {
  display: flex;
  width: 100%;
  min-height: 44px;
  justify-content: flex-start;
  gap: 10px;
  padding: 6px 12px 6px 6px;
  border-radius: 12px;
  background: var(--syn-surface);
  color: var(--syn-ink);
  font-size: 13px;
  font-weight: 400;
}
.hc-orbitPickerIcon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border: 1px solid
    color-mix(in oklch, var(--segment-tone, var(--syn-teal)) 40%, var(--syn-line));
  border-radius: 9px;
  background: color-mix(in oklch, var(--segment-tone, var(--syn-teal)) 10%, var(--syn-surface));
  color: var(--segment-tone, var(--syn-teal));
}
.hc-orbitPickerPanel {
  z-index: 60;
  width: max(100%, 320px);
  max-width: min(420px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid var(--syn-glass-edge) !important;
  border-radius: 14px !important;
  background: var(--syn-surface) !important;
  color: var(--syn-ink);
  box-shadow: 0 18px 48px var(--syn-glass-shadow) !important;
}
.hc-orbitPickerSearch {
  padding: 8px;
  border-bottom: 1px solid var(--syn-line);
}
.hc-orbitPickerSearch input {
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--syn-glass-edge);
  border-radius: 10px;
  background: var(--syn-panel);
  color: var(--syn-ink);
  font-size: 14px;
}
.hc-orbitPickerSearch input:focus-visible {
  outline: 2px solid var(--syn-focus);
  outline-offset: 1px;
}
.hc-orbitPickerList {
  max-height: min(48vh, 380px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 4px 6px 8px;
}
.hc-orbitPickerGroup [cmdk-group-heading] {
  padding: 10px 8px 4px;
  color: var(--syn-muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hc-orbitPickerItem {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 6px 8px;
  border-radius: 10px;
  color: var(--syn-ink);
  font-size: 13px;
  cursor: pointer;
}
.hc-orbitPickerItem[data-selected="true"] {
  background: var(--syn-panel);
  outline: 1px solid var(--syn-focus);
  outline-offset: -1px;
}
.hc-orbitPickerPlaced {
  flex-shrink: 0;
  padding: 2px 8px;
  border: 1px solid var(--syn-line);
  border-radius: 999px;
  color: var(--syn-muted);
  font-size: 10px;
}
.hc-orbitPickerEmpty {
  padding: 18px 10px;
  color: var(--syn-muted);
  font-size: 13px;
  text-align: center;
}
@media (max-width: 767px) {
  .hc-orbitPickerPanel {
    position: fixed !important;
    inset: auto 0 0 0 !important;
    width: 100%;
    max-width: none;
    margin-top: 0 !important;
    transform: none !important;
    border-radius: 18px 18px 0 0 !important;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .hc-orbitPickerList {
    max-height: 60vh;
  }
}

/* Abstract fine-particle portraits use the shared measured-audio renderer. */
.hc-categoryGlyph.particlePortrait { width: 104px; height: 104px; border: 0; background: transparent; box-shadow: none; border-radius: 0; }
.hc-previewControls { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem; color: var(--syn-muted); font-size: .75rem; }
.hc-previewControls p { max-width: 32rem; min-height: 2.5em; margin: 0; }
@media (max-width: 640px) { .hc-categoryGlyph.particlePortrait { width: 80px; height: 80px; } }

/* Preview/text entry remain touch-sized on tablets and mobile web as well as iOS. */
.hc-textEntry, .hc-previewControls button { min-height: 44px; }
