/*!
 * Huvoca — modern casting directory
 * Soft stone · deep ink · mint signal · photo-led
 */

:root {
  --ink: #14161c;
  --ink-2: #3a3f4b;
  --mute: #6e7482;
  --line: #e2e4ea;
  --paper: #f4f2ee;
  --paper-2: #fffcf8;
  --signal: #0f9d8a;
  --signal-deep: #0a6f62;
  --same: #0f9d8a;
  --overnight: #b7791f;
  --hours: #4a5568;
  --none: #c53030;
  --max: 1280px;
  --display: "Bricolage Grotesque", "Avenir Next", sans-serif;
  --body: "Sora", "Helvetica Neue", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
  background: var(--paper);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.hidden {
  display: none !important;
}

/* —— Nav —— */
.nav {
  position: absolute;
  inset: 0 0 auto;
  z-index: 30;
  padding: 1.25rem 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: #fff;
}

.logo--hero {
  margin: 0;
  font-size: clamp(3.2rem, 12vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
  color: #fff;
  animation: fade-up 900ms var(--ease) both;
}

.logo--foot {
  font-size: 1rem;
  color: var(--ink);
}

.nav__link {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 160ms ease;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav__link:hover {
  color: #fff;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.nav__cta:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.nav__cta[hidden],
.on-air[hidden] {
  display: none !important;
}

/* Traditional studio On Air light (talent nav control) */
.on-air {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.7rem 0.35rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--display, "Bricolage Grotesque", sans-serif);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.on-air__lamp {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: #3a3a3a;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.on-air:hover:not(:disabled) {
  border-color: rgba(255, 255, 255, 0.4);
  color: rgba(255, 255, 255, 0.8);
}

.on-air.is-on {
  color: #fff;
  border-color: rgba(220, 40, 40, 0.85);
  background: linear-gradient(180deg, #5a1212 0%, #2a0808 100%);
  box-shadow: 0 0 0 1px rgba(255, 60, 60, 0.25), 0 0 18px rgba(220, 40, 40, 0.45);
}

.on-air.is-on .on-air__lamp {
  background: #ff2a2a;
  box-shadow:
    0 0 6px 2px rgba(255, 50, 50, 0.85),
    0 0 14px 4px rgba(255, 40, 40, 0.45);
  animation: onAirPulse 1.4s ease-in-out infinite;
}

.on-air:disabled {
  opacity: 0.65;
  cursor: wait;
}

@keyframes onAirPulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.72;
  }
}

.account-page .on-air,
.admin-page .on-air,
.cast-page .on-air {
  border-color: rgba(255, 255, 255, 0.28);
}

.nav__admin-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  flex-shrink: 0;
  transition: background 160ms ease, transform 160ms ease;
}

.nav__admin-dot:hover,
.nav__admin-dot:focus-visible {
  background: rgba(255, 255, 255, 0.55);
  outline: none;
  transform: scale(1.15);
}

/* —— Suite home —— */
.suite-page {
  min-height: 100svh;
  background: #12151c;
}

.suite-page .site {
  min-height: 100svh;
}

.suite {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, #12151c 0%, #1c222c 52%, #163038 100%);
}

.suite__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(720px 380px at 12% 88%, rgba(15, 157, 138, 0.32), transparent 58%),
    radial-gradient(560px 320px at 92% 18%, rgba(255, 255, 255, 0.07), transparent 55%);
}

.suite__stage {
  position: relative;
  z-index: 2;
  padding: 7.5rem 0 4rem;
  display: grid;
  gap: 1.25rem;
  justify-items: center;
  text-align: center;
}

.suite__label {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  animation: fade-up 900ms 100ms var(--ease) both;
}

.suite__products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem 2rem;
  width: min(100%, 52rem);
  margin-top: 1.25rem;
  animation: fade-up 900ms 200ms var(--ease) both;
}

.suite__product {
  display: grid;
  gap: 0.45rem;
  justify-items: center;
  align-content: start;
  color: #fff;
  text-decoration: none;
  text-align: center;
  transition: opacity 160ms ease, transform 160ms ease;
}

.suite__product:hover {
  opacity: 0.92;
  transform: translateY(-2px);
}

.suite__product:hover .suite__name {
  border-bottom-color: rgba(255, 255, 255, 0.55);
}

.suite__name {
  display: inline-block;
  width: fit-content;
  font-family: var(--display);
  font-size: clamp(1.45rem, 3.5vw, 2.05rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  border-bottom: 1px solid transparent;
  transition: border-color 160ms ease;
}

.suite__tag {
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(0.88rem, 1.6vw, 1rem);
  font-weight: 300;
  line-height: 1.4;
  max-width: 14rem;
}

.suite__products--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 36rem);
}

@media (max-width: 720px) {
  .suite__products,
  .suite__products--two {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

  .suite__tag {
    max-width: none;
  }
}

/* —— Studio hub —— */
.studio-hub__panel,
.studio-hub__tools {
  width: min(100%, 24rem);
  margin-top: 0.75rem;
  animation: fade-up 900ms 200ms var(--ease) both;
}

.studio-hub__tools {
  width: min(100%, 36rem);
  display: grid;
  gap: 1.5rem;
  justify-items: center;
}

.studio-hub__title {
  margin: 0 0 0.5rem;
  color: #fff;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.studio-hub__lede {
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.45;
}

.studio-hub__form {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  text-align: left;
}

.studio-hub__field {
  display: grid;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 500;
}

.studio-hub__field input {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0;
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
}

.studio-hub__field input:focus {
  outline: 1px solid rgba(255, 255, 255, 0.45);
  border-color: rgba(255, 255, 255, 0.45);
}

.studio-hub__submit {
  margin-top: 0.25rem;
  padding: 0.75rem 1rem;
  border: 0;
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
  transition: background 160ms ease;
}

.studio-hub__submit:hover {
  background: rgba(255, 255, 255, 0.9);
}

.studio-hub__status {
  margin: 0;
  color: #f6adad;
  font-size: 0.85rem;
}

.studio-hub__signout {
  padding: 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.7);
  font: inherit;
  font-size: 0.88rem;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}

.studio-hub__signout:hover {
  color: #fff;
}

.suite__note {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 1rem;
  font-weight: 300;
  animation: fade-up 900ms 180ms var(--ease) both;
}

.suite__back {
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  animation: fade-up 900ms 240ms var(--ease) both;
}

.suite__back:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.7);
}

/* —— Platform landing —— */
.plat-page {
  background: var(--paper);
}

.plat-page .nav {
  position: absolute;
}

.plat-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #12151c;
}

.plat-hero__media {
  position: absolute;
  inset: 0;
}

.plat-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  animation: plat- ken 18s var(--ease) both;
}

.plat-hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 14, 18, 0.55) 0%, rgba(12, 14, 18, 0.35) 42%, rgba(12, 14, 18, 0.82) 100%),
    radial-gradient(720px 380px at 12% 88%, rgba(15, 157, 138, 0.28), transparent 58%);
}

.plat-hero__stage {
  position: relative;
  z-index: 2;
  padding: 7.5rem 0 4rem;
  display: grid;
  gap: 1.1rem;
  justify-items: start;
  max-width: 48rem;
}

.plat-hero__title {
  margin: 0;
  max-width: 18ch;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(1.85rem, 4.8vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.08;
  animation: fade-up 900ms 120ms var(--ease) both;
}

.plat-hero__lede {
  margin: 0;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.98rem, 2vw, 1.15rem);
  font-weight: 300;
  line-height: 1.45;
  animation: fade-up 900ms 180ms var(--ease) both;
}

.plat-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.35rem;
  margin-top: 0.5rem;
  animation: fade-up 900ms 240ms var(--ease) both;
}

.plat-hero__link {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.plat-hero__link:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.7);
}

.plat-band {
  padding: clamp(4rem, 10vw, 7rem) 0;
  background: var(--paper);
}

.plat-band--ink {
  background: linear-gradient(145deg, #12151c 0%, #1c222c 55%, #163038 100%);
  color: #fff;
}

.plat-band--ink .plat-band__label {
  color: rgba(255, 255, 255, 0.55);
}

.plat-band--ink .plat-band__title {
  color: #fff;
}

.plat-band--ink .plat-band__copy {
  color: rgba(255, 255, 255, 0.72);
}

.plat-band--split {
  border-top: 1px solid var(--line);
}

.plat-band__inner {
  max-width: 40rem;
}

.plat-band__label {
  margin: 0 0 0.85rem;
  color: var(--mute);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.plat-band__title {
  margin: 0 0 1rem;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.6vw, 2.55rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.plat-band__copy {
  margin: 0;
  color: var(--ink-2);
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  font-weight: 300;
  line-height: 1.55;
}

.plat-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2rem 3rem;
  align-items: end;
}

.plat-band__copy--aside {
  max-width: 34rem;
}

.plat-enquire {
  padding: clamp(4.5rem, 11vw, 7.5rem) 0;
  background: linear-gradient(160deg, #163038 0%, #12151c 55%, #1c222c 100%);
  color: #fff;
}

.plat-enquire__inner {
  display: grid;
  gap: 1rem;
  justify-items: start;
  max-width: 36rem;
}

.plat-enquire__title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.6vw, 2.45rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.plat-enquire__copy {
  margin: 0 0 0.75rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.5;
}

.plat-enquire .primary-btn {
  background: #fff;
  color: var(--ink);
}

.plat-enquire .primary-btn:hover {
  background: rgba(255, 255, 255, 0.9);
}

.plat-footer {
  background: var(--paper-2);
}

@keyframes plat-ken {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1.02);
  }
}

@media (max-width: 800px) {
  .plat-split {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .plat-hero__stage {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .plat-hero__img {
    animation: none;
    transform: none;
  }
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: min(72svh, 640px);
  display: grid;
  align-items: stretch;
  overflow: hidden;
  background: linear-gradient(145deg, #12151c 0%, #1c222c 52%, #163038 100%);
}

.hero__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(720px 380px at 12% 88%, rgba(15, 157, 138, 0.32), transparent 58%),
    radial-gradient(560px 320px at 92% 18%, rgba(255, 255, 255, 0.07), transparent 55%);
}

.hero__stage {
  position: relative;
  z-index: 2;
  padding: 7.5rem 0 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2rem;
  align-items: end;
  min-height: inherit;
}

.hero__stage--solo {
  grid-template-columns: 1fr;
}

.hero__intro {
  display: grid;
  gap: 1.15rem;
  justify-items: start;
  padding-bottom: 3.5rem;
  align-self: end;
}

.hero__lines {
  display: grid;
  gap: 0.2rem;
  animation: fade-up 900ms 120ms var(--ease) both;
}

.hero__line {
  margin: 0;
  max-width: none;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.92rem, 2vw, 1.2rem);
  font-weight: 300;
  line-height: 1.35;
  white-space: nowrap;
}

.hero__featured {
  justify-self: end;
  align-self: end;
  width: min(100%, 26rem);
  margin-top: 1.5rem;
  padding-bottom: 2rem;
  animation: fade-up 900ms 200ms var(--ease) both;
}

.featured {
  display: grid;
  gap: 0.85rem;
  color: #fff;
}

.featured__media {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.55rem;
  align-items: center;
}

.featured__frame {
  position: relative;
  width: min(100%, calc(min(52svh, 460px) * 4 / 5));
  aspect-ratio: 4 / 5;
  margin-inline: auto;
  background: transparent;
  overflow: hidden;
  transition: opacity 220ms ease;
}

.featured__badges {
  position: absolute;
  left: 0.55rem;
  right: auto;
  bottom: 0.55rem;
  top: auto;
  z-index: 2;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.featured__live {
  position: absolute;
  right: 0.55rem;
  top: 0.55rem;
  z-index: 2;
  pointer-events: none;
}

.featured__badges .voice__avail,
.featured__live .voice__avail {
  backdrop-filter: blur(4px);
}

.featured__frame.is-fading {
  opacity: 0;
}

.featured__frame button {
  appearance: none;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.featured__frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.featured__arrow {
  appearance: none;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 160ms ease, border-color 160ms ease;
}

.featured__arrow:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.7);
}

.featured__arrow:disabled {
  opacity: 0.25;
  cursor: default;
}

.featured__arrow svg {
  width: 0.85rem;
  height: 0.85rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.featured__text {
  display: grid;
  gap: 0.15rem;
  padding-inline: 2.95rem;
}

.featured__text strong {
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-weight: 650;
  letter-spacing: -0.03em;
}

.featured__text span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
  font-weight: 300;
}

.featured__schedule {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.78);
}

.featured__dots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding-inline: 2.95rem;
}

.featured__dot {
  appearance: none;
  width: 0.45rem;
  height: 0.45rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
}

.featured__dot.is-active {
  background: #fff;
}

.featured__dot:hover {
  background: rgba(255, 255, 255, 0.55);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border: 0;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 180ms var(--ease), background 180ms ease, color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--light {
  background: #fff;
  color: var(--ink);
  animation: fade-up 900ms 220ms var(--ease) both;
}

.btn--light:hover {
  background: var(--signal);
  color: #fff;
}

.btn--ink {
  background: var(--ink);
  color: #fff;
}

.btn--ink:hover {
  background: var(--signal);
}

/* —— Cast section —— */
.cast {
  padding: 4rem 0 5rem;
  background:
    radial-gradient(900px 380px at 100% 0%, rgba(15, 157, 138, 0.08), transparent 55%),
    linear-gradient(180deg, #ebe8e2 0%, var(--paper) 18%, var(--paper) 100%);
}

.cast__head {
  margin-bottom: 1.75rem;
}

.cast__title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.cast__sub {
  margin: 0.55rem 0 0;
  color: var(--mute);
  font-size: 0.9rem;
  font-weight: 400;
}

/* —— Filters —— */
.filters {
  margin-bottom: 2rem;
}

.filters__row {
  display: grid;
  grid-template-columns: 1.4fr repeat(6, minmax(0, 1fr));
  gap: 0.5rem;
}

.filters__search,
.filters select,
.filter-multi__btn {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper-2);
  padding: 0.8rem 0.9rem;
  border-radius: 0;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.filters__search:focus,
.filters select:focus,
.filter-multi__btn:focus-visible,
.filter-multi__btn[aria-expanded="true"] {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(15, 157, 138, 0.18);
}

.filter-multi {
  position: relative;
  min-width: 0;
}

.filter-multi__btn {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.filter-multi__btn::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.55;
  flex-shrink: 0;
  margin-top: -0.2rem;
}

.filter-multi__menu {
  position: absolute;
  z-index: 40;
  top: calc(100% + 0.25rem);
  left: 0;
  right: 0;
  min-width: 12rem;
  max-height: 16rem;
  overflow: auto;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 10px 28px rgba(18, 21, 28, 0.12);
  padding: 0.35rem 0;
}

.filter-multi__option {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.85rem;
  font-size: 0.88rem;
  cursor: pointer;
  user-select: none;
}

.filter-multi__option:hover {
  background: rgba(15, 157, 138, 0.06);
}

.filter-multi__option input {
  width: auto;
  accent-color: var(--signal);
  flex-shrink: 0;
}

.filters__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 0.75rem;
  color: var(--mute);
  font-size: 0.85rem;
}

.filters__meta strong {
  color: var(--ink);
  font-weight: 600;
}

.text-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--mute);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-btn:hover {
  color: var(--ink);
}

/* —— Voice grid —— */
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem 1rem;
}

.voice {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-width: 0;
  animation: fade-up 700ms var(--ease) both;
}

.voice__shot {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #d9d6cf;
  color: inherit;
  text-decoration: none;
}

.voice__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 500ms var(--ease);
}

.voice:hover .voice__shot img {
  transform: scale(1.04);
}

.voice__avail {
  position: absolute;
  left: 0.7rem;
  bottom: 0.7rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.55rem;
  background: rgba(255, 252, 248, 0.94);
  color: var(--ink);
  backdrop-filter: blur(6px);
}

.voice__badges {
  position: absolute;
  left: 0.7rem;
  bottom: 0.7rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  z-index: 1;
}

.voice__badges .voice__avail,
.voice__live .voice__avail {
  position: static;
}

.voice__live {
  position: absolute;
  right: 0.7rem;
  top: 0.7rem;
  z-index: 1;
}

.voice__avail[data-status="same_day"] { color: var(--same); }
.voice__avail[data-status="overnight"] { color: var(--overnight); }
.voice__avail[data-status="hours_48"] { color: var(--hours); }
.voice__avail[data-status="not_available"] { color: var(--none); }

.voice__avail--studio {
  color: var(--ink);
  opacity: 0.92;
}

.voice__body {
  display: grid;
  gap: 0.4rem;
}

.voice__name {
  margin: 0;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.voice__meta {
  margin: 0;
  font-size: 0.7rem;
  color: var(--mute);
}

.voice__bio {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.voice__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.voice__tags li {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--mute);
  letter-spacing: 0.02em;
}

.voice__tags li.is-accent {
  color: var(--signal-deep);
}

.voice__tags li:not(:last-child)::after {
  content: "·";
  margin-left: 0.3rem;
  color: var(--line);
}

.voice__tools {
  display: grid;
  gap: 0.4rem;
  margin-top: 0.1rem;
}

.voice__tools audio,
.voice__audio audio {
  width: 100%;
  height: 30px;
}

.voice__actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.4rem;
  align-items: stretch;
}

.voice .btn {
  padding: 0.65rem 0.75rem;
  font-size: 0.72rem;
}

.voice__share {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-width: 2.6rem;
  padding: 0.65rem 0.7rem;
  border: 1px solid var(--line);
  background: var(--paper-2);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 600;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.voice__share svg {
  width: 0.95rem;
  height: 0.95rem;
  flex-shrink: 0;
}

.voice__share:hover:not(:disabled) {
  border-color: var(--ink);
}

.voice__share:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.voice__share.is-copied {
  background: var(--signal);
  border-color: var(--signal);
  color: #fff;
}

.voice__share.is-failed {
  background: #8b3a3a;
  border-color: #8b3a3a;
  color: #fff;
}

@media (max-width: 420px) {
  .voice__share-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }
}

/* —— Empty / pager / footer —— */
.empty {
  grid-column: 1 / -1;
  padding: 3.5rem 1rem;
  text-align: center;
  color: var(--mute);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.pager button {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--paper-2);
  padding: 0.65rem 1rem;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 500;
}

.pager button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.pager span {
  color: var(--mute);
  font-size: 0.85rem;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
  background: #ebe8e2;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  flex-wrap: wrap;
}

.footer p {
  margin: 0;
  color: var(--mute);
  font-size: 0.82rem;
  max-width: 28rem;
}

.footer a {
  color: inherit;
}

/* —— Identify / voice-match prototype —— */
.identify {
  padding: 3.5rem 0 3rem;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse 60% 50% at 90% 10%, rgba(15, 157, 138, 0.08), transparent 55%),
    #f0eeea;
}

.identify__inner {
  max-width: 44rem;
}

.identify__head {
  margin-bottom: 1.35rem;
}

.identify__title {
  margin: 0 0 0.45rem;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2rem);
  letter-spacing: -0.04em;
  font-weight: 650;
}

.identify__sub {
  margin: 0;
  color: var(--mute);
  font-size: 0.95rem;
  line-height: 1.45;
}

.identify__panel {
  display: grid;
  gap: 0.85rem;
}

.identify__steps {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: end;
}

.identify__file input {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.65rem 0.75rem;
  font: inherit;
}

.identify__tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  align-items: center;
}

.identify__hint {
  margin: 0;
  color: var(--mute);
  font-size: 0.85rem;
  line-height: 1.4;
}

.identify__progress {
  width: 100%;
  height: 0.55rem;
}

.identify__status {
  margin: 0;
  font-size: 0.88rem;
  color: var(--mute);
}

.identify__status.is-ok {
  color: var(--same);
}

.identify__status.is-err {
  color: var(--none);
}

.identify__list {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.identify__hit {
  display: grid;
  grid-template-columns: auto 48px minmax(0, 1fr) 5.5rem auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--line);
  background: #fff;
}

.identify__rank {
  font-family: var(--display);
  font-weight: 650;
  color: var(--mute);
  width: 1.2rem;
  text-align: center;
}

.identify__hit img {
  width: 48px;
  height: 60px;
  object-fit: cover;
  object-position: center top;
  background: var(--line);
}

.identify__hit strong {
  display: block;
  font-size: 0.95rem;
}

.identify__hit small {
  display: block;
  margin-top: 0.15rem;
  color: var(--mute);
  font-size: 0.75rem;
}

.identify__score span {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: right;
}

.identify__bar {
  margin-top: 0.25rem;
  height: 0.35rem;
  background: #e5e2dc;
  overflow: hidden;
}

.identify__bar i {
  display: block;
  height: 100%;
  background: var(--signal);
}

.identify__caveat,
.identify__empty {
  margin: 0.75rem 0 0;
  color: var(--mute);
  font-size: 0.82rem;
}

@media (max-width: 720px) {
  .identify__steps {
    grid-template-columns: 1fr;
  }

  .identify__hit {
    grid-template-columns: auto 40px minmax(0, 1fr);
    grid-template-areas:
      "rank photo body"
      "rank photo score"
      "rank photo jump";
  }

  .identify__rank { grid-area: rank; }
  .identify__hit img { grid-area: photo; }
  .identify__hit div:nth-of-type(1) { grid-area: body; }
  .identify__score { grid-area: score; }
  .identify__hit .text-btn { grid-area: jump; justify-self: start; }
}
.contact {
  padding: 3.5rem 0 3rem;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse 70% 60% at 10% 0%, rgba(45, 90, 70, 0.06), transparent 55%),
    #f4f2ed;
}

.contact__inner {
  max-width: 40rem;
}

.contact__head {
  margin-bottom: 1.5rem;
}

.contact__title {
  margin: 0 0 0.45rem;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2rem);
  letter-spacing: -0.04em;
  font-weight: 650;
}

.contact__sub {
  margin: 0;
  color: var(--mute);
  font-size: 0.95rem;
  line-height: 1.45;
  max-width: 32rem;
}

.contact-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 1rem;
}

.contact-form .field {
  display: block;
  min-width: 0;
}

.contact-form .field--full {
  grid-column: 1 / -1;
}

.contact-form .field input,
.contact-form .field select,
.contact-form .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.7rem 0.8rem;
  font: inherit;
  color: inherit;
}

.contact-form .field textarea {
  resize: vertical;
  min-height: 6rem;
}

.contact-form .field em {
  font-style: normal;
  font-weight: 400;
  opacity: 0.7;
}

.contact-form__hint {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: var(--mute);
}

.contact-form__captcha {
  min-height: 65px;
}

.contact-form__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.15rem;
  flex-wrap: wrap;
}

.contact-form__status {
  margin: 0;
  font-size: 0.88rem;
  color: var(--mute);
}

.contact-form__status.is-ok {
  color: var(--same);
}

.contact-form__status.is-err {
  color: var(--none);
}

.inbox-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.inbox-bar p {
  margin: 0;
}

.inbox-list {
  display: grid;
  gap: 0.85rem;
}

.inbox-item {
  border: 1px solid var(--line);
  background: #fff;
  padding: 1rem 1.1rem;
}

.inbox-item.is-unread {
  border-left: 3px solid var(--signal);
}

.inbox-item__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.45rem;
}

.inbox-item__head strong {
  margin-right: 0.5rem;
}

.inbox-item__head span {
  color: var(--mute);
  font-size: 0.8rem;
}

.inbox-item__from,
.inbox-item__voice {
  margin: 0 0 0.35rem;
  font-size: 0.88rem;
}

.inbox-item__msg {
  margin: 0.55rem 0 0;
  white-space: pre-wrap;
  line-height: 1.45;
  font-size: 0.92rem;
}

.featured-order-bar {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.featured-order-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.featured-order-empty {
  padding: 1.25rem;
  border: 1px dashed var(--line);
  color: var(--mute);
  font-size: 0.9rem;
}

.featured-order-item {
  display: grid;
  grid-template-columns: auto 44px minmax(0, 1fr) auto auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--line);
  background: #fff;
  cursor: grab;
}

.featured-order-item.is-dragging {
  opacity: 0.55;
}

.featured-order-item.is-drop-target {
  border-color: var(--signal);
  background: rgba(15, 157, 138, 0.06);
}

.featured-order-item__handle {
  color: var(--mute);
  font-size: 0.85rem;
  letter-spacing: -0.08em;
  user-select: none;
}

.featured-order-item img {
  width: 44px;
  height: 54px;
  object-fit: cover;
  object-position: center top;
  background: var(--line);
}

.featured-order-item__body strong {
  display: block;
  font-size: 0.92rem;
}

.featured-order-item__body small {
  display: block;
  margin-top: 0.15rem;
  color: var(--mute);
  font-size: 0.75rem;
}

.featured-order-item__pos {
  font-family: var(--display);
  font-weight: 650;
  font-size: 1.1rem;
  color: var(--mute);
  min-width: 1.5rem;
  text-align: center;
}

.featured-order-item__moves {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.featured-order-item__moves .text-btn {
  padding: 0.1rem 0.35rem;
  min-width: 1.75rem;
}

/* —— Admin —— */
.admin-page .nav {
  position: relative;
  background: var(--ink);
}

.admin-page .nav__link {
  color: rgba(255, 255, 255, 0.8);
}

.admin-shell {
  max-width: 720px;
  margin: 2.5rem auto 3rem;
  padding: 0 1.25rem;
}

.admin-shell--wide {
  max-width: min(1280px, calc(100vw - 2.5rem));
  width: 100%;
}

.admin-shell h1 {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.admin-shell > p,
.admin-toolbar p {
  margin: 0 0 1.5rem;
  color: var(--mute);
}

.admin-tabs {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.admin-tab {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0.7rem 0.95rem;
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--mute);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.admin-tab:hover {
  color: var(--ink);
}

.admin-tab.is-active {
  color: var(--ink);
  border-bottom-color: var(--signal);
}

.admin-toolbar--sub {
  margin-bottom: 1rem;
}

.admin-toolbar--sub input[type='search'] {
  border: 1px solid var(--line);
  background: var(--paper-2);
  padding: 0.65rem 0.8rem;
  min-width: 14rem;
  width: min(100%, 22rem);
}

.insights-bar {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.insights-period {
  min-width: 10rem;
}

.insights-period select {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.65rem 0.75rem;
  font: inherit;
}

.insights-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1.25rem;
  margin-top: 1rem;
}

.insights-grid--wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.insights-kpis {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.insights-kpi {
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.75rem 0.85rem;
}

.insights-kpi strong {
  display: block;
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.insights-kpi span {
  display: block;
  margin-top: 0.25rem;
  color: var(--mute);
  font-size: 0.72rem;
  font-weight: 500;
}

.insights-panel h2 {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.insights-table-wrap {
  border: 1px solid var(--line);
  background: var(--paper-2);
  overflow: auto;
}

.insights-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.insights-table th,
.insights-table td {
  padding: 0.65rem 0.8rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.insights-table th {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--mute);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.insights-table tbody tr:last-child td {
  border-bottom: 0;
}

.insights-table td:first-child,
.insights-table th:first-child {
  width: 2.5rem;
  color: var(--mute);
}

.insights-table td:last-child,
.insights-table th:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.insights-empty {
  text-align: center !important;
  color: var(--mute);
  padding: 1.5rem 0.8rem !important;
}

@media (max-width: 960px) {
  .insights-grid,
  .insights-grid--wide {
    grid-template-columns: 1fr;
  }

  .insights-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.admin-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.admin-toolbar h1 {
  margin-bottom: 0.25rem;
}

.admin-toolbar p {
  margin: 0;
}

.admin-toolbar__actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.admin-toolbar__actions .studio-link {
  color: var(--signal-deep);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  white-space: nowrap;
}

.admin-toolbar__actions .studio-link:hover {
  text-decoration: underline;
}

.admin-profile-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  align-items: center;
  font-size: 0.88rem;
}

.admin-profile-switch__label {
  color: var(--mute);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-profile-switch a {
  color: var(--signal-deep);
  text-decoration: none;
  font-weight: 500;
}

.admin-profile-switch a:hover {
  text-decoration: underline;
}

.admin-desk {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 960px) {
  .admin-desk--2 {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.admin-fold {
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
}

.admin-fold > summary {
  cursor: pointer;
  padding: 0.9rem 1rem;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.admin-fold > summary::-webkit-details-marker {
  display: none;
}

.admin-fold > summary::after {
  content: '+';
  font-family: var(--body);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--mute);
  flex-shrink: 0;
}

.admin-fold[open] > summary::after {
  content: '–';
}

.admin-fold[open] > summary {
  border-bottom: 1px solid var(--line);
}

.admin-fold__body {
  padding: 1rem;
  display: grid;
  gap: 0.85rem;
}

.admin-fold__hint {
  margin: 0;
}

.admin-toolbar__actions input[type='search'] {
  border: 1px solid var(--line);
  background: var(--paper-2);
  padding: 0.65rem 0.8rem;
  min-width: 14rem;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  min-height: 60vh;
}

.admin-picker {
  border: 1px solid var(--line);
  background: var(--paper-2);
  max-height: 70vh;
  overflow: auto;
}

.admin-list {
  display: flex;
  flex-direction: column;
}

.admin-pick {
  appearance: none;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0.7rem;
  align-items: center;
  width: 100%;
  text-align: left;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 0.65rem 0.75rem;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.admin-pick:hover {
  background: rgba(15, 157, 138, 0.06);
}

.admin-pick.is-active {
  background: rgba(15, 157, 138, 0.12);
  box-shadow: inset 3px 0 0 var(--signal);
}

.admin-pick img {
  width: 44px;
  height: 54px;
  object-fit: cover;
  object-position: center top;
  background: var(--line);
}

.admin-pick strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.admin-pick small {
  display: block;
  margin-top: 0.15rem;
  color: var(--mute);
  font-size: 0.72rem;
}

.admin-editor {
  border: 1px solid var(--line);
  background: var(--paper-2);
  padding: 1.25rem;
}

.voice-form__hero {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.voice-form__hero img {
  width: 96px;
  height: 120px;
  object-fit: cover;
  object-position: center top;
  background: var(--line);
}

.voice-form__hero h2 {
  margin: 0 0 0.25rem;
  font-family: var(--display);
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.admin-muted {
  color: var(--mute);
  font-size: 0.82rem;
}

.voice-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1rem;
}

.voice-form__grid .field--full {
  grid-column: 1 / -1;
}

.voice-form .field input,
.voice-form .field select,
.voice-form .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.7rem 0.8rem;
  font: inherit;
  color: inherit;
}

.voice-form .field textarea {
  resize: vertical;
  min-height: 5rem;
}

.voice-form .field em {
  font-style: normal;
  font-weight: 400;
  opacity: 0.75;
}

.voice-form .field .admin-muted {
  margin: 0.4rem 0 0;
  font-size: 0.78rem;
}

.featured-fields {
  border: 1px solid var(--line);
  padding: 0.9rem 1rem 1rem;
  margin: 0;
}

.featured-fields legend {
  padding: 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--mute);
}

.featured-fields__dates {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.85rem 1rem;
  margin-top: 0.75rem;
}

.check-field {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
}

.check-field span {
  display: inline;
  margin-bottom: 0;
  font-size: inherit;
  color: inherit;
  font-weight: inherit;
}

.check-field input {
  width: auto;
  accent-color: var(--signal);
}

.voice-form__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.login-form {
  display: grid;
  gap: 0.75rem;
  max-width: 320px;
}

.login-form--wide {
  max-width: none;
  width: 100%;
}

.login-form--profile {
  max-width: none;
  width: 100%;
}

@media (min-width: 720px) {
  .login-form--wide {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem 1.25rem;
  }

  .login-form--wide .field--full,
  .login-form--wide .check-field,
  .login-form--wide .primary-btn {
    grid-column: 1 / -1;
  }
}

.login-form input,
.login-form select,
.login-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper-2);
  padding: 0.8rem 0.9rem;
}

.primary-btn {
  appearance: none;
  border: 0;
  background: var(--signal);
  color: #fff;
  font-weight: 600;
  padding: 0.8rem 1rem;
  cursor: pointer;
}

.primary-btn:hover {
  background: var(--signal-deep);
}

.notice {
  padding: 0.7rem 0.85rem;
  margin-bottom: 1rem;
  background: rgba(15, 157, 138, 0.1);
  border-left: 3px solid var(--signal);
  font-size: 0.9rem;
}

.notice--ok {
  background: rgba(15, 157, 138, 0.12);
}

.field span {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--mute);
  margin-bottom: 0.35rem;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .filters__row {
    grid-template-columns: 1fr 1fr;
  }

  .filters__search {
    grid-column: 1 / -1;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem 0.85rem;
  }

  .hero__stage {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-top: 6.5rem;
  }

  .hero__intro {
    padding-bottom: 0;
  }

  .hero__featured {
    width: min(100%, 22rem);
    justify-self: start;
    margin-top: 0;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
  }

  .featured__text,
  .featured__dots {
    padding-inline: 0;
  }
}

@media (max-width: 620px) {
  .wrap {
    width: min(100% - 1.5rem, var(--max));
  }

  .filters__row {
    grid-template-columns: 1fr;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .hero__stage {
    width: min(100% - 1.5rem, var(--max));
  }

  .hero__line {
    font-size: 0.84rem;
  }

  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-picker {
    max-height: 40vh;
  }

  .voice-form__grid {
    grid-template-columns: 1fr;
  }

  .featured-fields__dates {
    grid-template-columns: 1fr;
  }

  .contact-form__grid {
    grid-template-columns: 1fr;
  }

  .admin-toolbar__actions input[type='search'] {
    min-width: 0;
    width: 100%;
  }
}

.voice__avail--studio {
  color: var(--ink);
  opacity: 0.92;
}

.voice__avail--now {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #0b7a4b;
}

.voice__avail--blocked {
  color: var(--none, #b42318);
}

.btn--ghost {
  background: transparent;
  border: 1px solid rgba(18, 21, 28, 0.18);
  color: var(--ink, #12151c);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 0.75rem;
  cursor: pointer;
}

.btn--ghost:hover {
  border-color: rgba(18, 21, 28, 0.4);
}

.btn--ghost.is-shortlisted {
  border-color: #0b7a4b;
  color: #0b7a4b;
}

.account-inline-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.account-list__row--stack {
  flex-direction: column;
  align-items: stretch;
}

.account-roster-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  align-items: end;
}

.field--compact {
  margin: 0;
  min-width: 11rem;
}

.field--compact span {
  font-size: 0.8rem;
}

.voice__now-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #12a866;
  box-shadow: 0 0 0 0 rgba(18, 168, 102, 0.55);
  animation: nowPulse 1.6s ease-out infinite;
}

@keyframes nowPulse {
  0% { box-shadow: 0 0 0 0 rgba(18, 168, 102, 0.45); }
  70% { box-shadow: 0 0 0 0.45rem rgba(18, 168, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(18, 168, 102, 0); }
}

/* —— Account —— */
.account-page .nav,
.cast-page .nav,
.playlist-page .nav {
  position: relative;
  background: #12151c;
}

.account-shell--wide {
  max-width: min(1280px, calc(100vw - 2.5rem));
}

.account-page .admin-shell.account-shell {
  max-width: min(1280px, calc(100vw - 2.5rem));
  margin: 1.5rem auto 3rem;
  width: 100%;
}

.account-page .account-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  align-items: flex-start;
}

.account-desk {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .account-desk--2 {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .account-desk--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }

  .account-desk__span {
    grid-column: 1 / -1;
  }

  .login-form--profile {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem 1.25rem;
    max-width: none;
    width: 100%;
  }

  .login-form--profile .field--full,
  .login-form--profile .check-field,
  .login-form--profile .primary-btn,
  .login-form--profile .role-pick,
  .login-form--profile .account-hint,
  .login-form--profile [id^='profile'][id$='Extra'] {
    grid-column: 1 / -1;
  }

  .account-list--dense {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-roster-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
}

@media (min-width: 1100px) {
  .account-list--dense {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .account-roster-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.account-toolbar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.workspace-menu {
  position: relative;
}

.workspace-menu__btn {
  font: inherit;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: #fff;
  cursor: pointer;
  min-width: 10rem;
  text-align: left;
}

.workspace-menu__btn::after {
  content: " ▾";
  opacity: 0.55;
}

.workspace-menu__list {
  position: absolute;
  right: 0;
  top: calc(100% + 0.25rem);
  min-width: 14rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  z-index: 40;
  padding: 0.35rem 0;
}

.workspace-menu__list button,
.workspace-menu__list a.workspace-menu__link {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  font: inherit;
  padding: 0.55rem 0.9rem;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
  box-sizing: border-box;
}

.workspace-menu__list button:hover,
.workspace-menu__list button.is-active,
.workspace-menu__list a.workspace-menu__link:hover {
  background: #f3f1ec;
}

.workspace-tabs a.workspace-menu__link {
  font: inherit;
  font-size: 0.9rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid transparent;
  background: #12151c;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.workspace-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1.25rem;
}

.workspace-tabs button {
  font: inherit;
  font-size: 0.9rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid transparent;
  background: transparent;
  color: var(--mute, #666);
  cursor: pointer;
}

.workspace-tabs button.is-active {
  border-color: rgba(0, 0, 0, 0.14);
  background: #fff;
  color: inherit;
  font-weight: 600;
}

.account-subhead {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-family: "Bricolage Grotesque", sans-serif;
}

.admin-page .primary-btn#adminDeskLink,
.account-page #adminDeskLink.primary-btn,
.account-page #studioLink.primary-btn {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.cast-main {
  padding: 1.5rem 0 6rem;
}

.cast-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1rem 0;
}

.cast-filters input[type="search"],
.cast-filters select {
  font: inherit;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(0,0,0,0.15);
  min-width: 10rem;
}

.cast-stack {
  display: grid;
  gap: 1rem;
}

.cast-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 0.85rem;
  padding: 0.85rem;
  border: 1px solid rgba(0,0,0,0.08);
  background: #fff;
}

.cast-card img {
  width: 96px;
  height: 120px;
  object-fit: cover;
  background: #eee;
}

.cast-card audio {
  width: 100%;
  margin-top: 0.5rem;
}

.cast-card__top {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: start;
}

.cast-card h2 {
  margin: 0;
  font-size: 1.1rem;
}

.cast-star {
  border: 0;
  background: transparent;
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  color: #999;
}

.cast-star.is-on {
  color: #c58b14;
}

.cast-dock {
  position: sticky;
  bottom: 0;
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 0.85rem 0;
  background: linear-gradient(transparent, #f7f5f1 30%);
}

.reply-form {
  margin-top: 0.75rem;
}

@media (max-width: 640px) {
  .cast-card {
    grid-template-columns: 72px 1fr;
  }
  .cast-card img {
    width: 72px;
    height: 90px;
  }
}


.account-lead {
  color: var(--muted, #5c6570);
  margin: 0.35rem 0 1.25rem;
  line-height: 1.5;
}

.account-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.account-tab {
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: transparent;
  padding: 0.45rem 0.85rem;
  font: inherit;
  cursor: pointer;
}

.account-tab.is-active {
  background: var(--ink, #12151c);
  color: #fff;
  border-color: transparent;
}

.role-pick {
  border: 0;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  gap: 0.65rem;
}

.role-pick legend {
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.role-pick__option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.role-pick__option strong {
  display: block;
}

.role-pick__option em {
  display: block;
  font-style: normal;
  color: var(--muted, #5c6570);
  font-size: 0.9rem;
  margin-top: 0.15rem;
}

.signup-extra {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.account-hint {
  font-size: 0.88rem;
  color: var(--muted, #5c6570);
  margin: 0.5rem 0 0;
}

.account-banner {
  padding: 0.9rem 1rem;
  background: #fff7e8;
  border: 1px solid #f0d9a8;
  margin-bottom: 1.25rem;
}

.account-section {
  margin-bottom: 2rem;
}

.account-section h2 {
  margin: 0 0 0.35rem;
  font-family: "Bricolage Grotesque", sans-serif;
}

.account-card {
  padding: 1.25rem 1.35rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  height: 100%;
}

.account-card--compact {
  height: auto;
  padding: 1rem 1.15rem;
}

.script-composer-list {
  display: grid;
  gap: 1.25rem;
}

.script-draft {
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: var(--paper-2, #fffcf8);
  padding: 1.1rem 1.2rem;
  display: grid;
  gap: 0.85rem;
}

.script-draft__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
}

.script-draft__head strong {
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.script-draft__grid {
  display: grid;
  gap: 0.75rem 1.15rem;
}

@media (min-width: 800px) {
  .script-draft__grid {
    grid-template-columns: 1fr 1fr;
  }

  .script-draft__grid .field--full,
  .script-draft__grid .script-check-group,
  .script-draft__grid .script-editor,
  .script-draft__grid .script-assign,
  .script-draft__grid .script-draft__actions {
    grid-column: 1 / -1;
  }
}

.script-check-group {
  display: grid;
  gap: 0.45rem;
}

.script-check-group > span {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--mute);
}

.script-check-group__opts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
}

.script-editor {
  display: grid;
  gap: 0.4rem;
}

.script-editor__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.script-editor__toolbar button {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.35rem 0.55rem;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--ink);
}

.script-editor__toolbar button:hover {
  border-color: rgba(18, 21, 28, 0.35);
}

.script-editor__surface {
  min-height: 10rem;
  max-height: 22rem;
  overflow: auto;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.85rem 0.95rem;
  font: inherit;
  line-height: 1.55;
  white-space: pre-wrap;
  tab-size: 4;
}

.script-editor__surface:focus {
  outline: 2px solid rgba(15, 157, 138, 0.35);
  outline-offset: 1px;
}

.script-editor__surface:empty::before {
  content: attr(data-placeholder);
  color: var(--mute);
  pointer-events: none;
}

.script-body-view {
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.85rem 0.95rem;
  margin: 0.5rem 0;
  max-height: 16rem;
  overflow: auto;
  white-space: pre-wrap;
  line-height: 1.5;
}

.script-assign__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.45rem;
}

.script-assign__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.25rem 0.5rem;
  font-size: 0.85rem;
}

.script-assign__chip button {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--mute);
  font: inherit;
  line-height: 1;
  padding: 0;
}

.copy-format-panel {
  display: grid;
  gap: 1.25rem;
}

.copy-format-bulk .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper-2);
  padding: 0.8rem 0.9rem;
  font: inherit;
  line-height: 1.5;
  resize: vertical;
  min-height: 8rem;
}

.copy-format-results {
  display: grid;
  gap: 1.15rem;
}

.copy-format-card {
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: var(--paper-2, #fffcf8);
  padding: 1rem 1.1rem;
  display: grid;
  gap: 0.75rem;
}

.copy-format-card__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem 1rem;
}

.copy-format-card__head strong {
  font-family: var(--display);
  letter-spacing: -0.02em;
}

.copy-format-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  align-items: center;
}

.copy-format-timing-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
}

.copy-format-timing {
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  color: var(--mute, #5c6570);
  padding: 0.2rem 0.45rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(0, 0, 0, 0.02);
}

.copy-format-timing--ok {
  color: #0b6b5c;
  border-color: rgba(15, 157, 138, 0.28);
  background: rgba(15, 157, 138, 0.08);
}

.copy-format-timing--short {
  color: #6b5a0b;
  border-color: rgba(196, 154, 30, 0.3);
  background: rgba(196, 154, 30, 0.1);
}

.copy-format-timing--long {
  color: #7a2e2e;
  border-color: rgba(180, 60, 60, 0.28);
  background: rgba(180, 60, 60, 0.08);
}

.copy-format-timing--empty {
  opacity: 0.75;
}

.copy-format-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  align-items: stretch;
}

@media (max-width: 820px) {
  .copy-format-compare {
    grid-template-columns: 1fr;
  }
}

.copy-format-pane {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.copy-format-pane__label {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute, #5c6570);
}

.copy-format-src,
.copy-format-out {
  min-height: 7rem;
  max-height: 22rem;
  overflow: auto;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.85rem 0.95rem;
  font: inherit;
  line-height: 1.55;
  white-space: pre-wrap;
}

.copy-format-src {
  background: rgba(0, 0, 0, 0.02);
  color: var(--ink, #12151c);
}

.copy-format-out:focus {
  outline: 2px solid rgba(15, 157, 138, 0.35);
  outline-offset: 1px;
}

.copy-format-out em {
  font-style: italic;
}

.copy-format-out u {
  text-decoration: underline;
}

.copy-format-out b,
.copy-format-out strong {
  font-weight: 700;
}

/* Visual-only diff marks — stripped on every copy path */
.copy-format-out .copy-format-chg {
  background: rgba(15, 157, 138, 0.12);
  border-radius: 2px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.copy-format-stopwatch {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 40;
  display: grid;
  gap: 0.55rem;
  min-width: 8.5rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 252, 248, 0.94);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 28px rgba(18, 21, 28, 0.12);
}

.copy-format-stopwatch[hidden] {
  display: none !important;
}

.copy-format-stopwatch__time {
  font-family: var(--display, Georgia, serif);
  font-size: 1.65rem;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--ink, #12151c);
}

.copy-format-stopwatch__actions {
  display: flex;
  gap: 0.45rem;
  align-items: center;
}

.copy-format-stopwatch__actions .primary-btn,
.copy-format-stopwatch__actions .text-btn {
  padding: 0.35rem 0.65rem;
  font-size: 0.82rem;
}

@media (max-width: 640px) {
  .copy-format-stopwatch {
    right: 0.75rem;
    bottom: 0.75rem;
    min-width: 7.5rem;
  }
}

.voice__schedule {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: var(--mute, #5c6570);
  line-height: 1.35;
}

.voice__schedule strong {
  color: var(--ink, #12151c);
  font-weight: 600;
}

.switch-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  cursor: pointer;
}

.switch-row--compact {
  align-items: center;
}

.switch-row strong {
  display: block;
}

.switch-row em {
  display: block;
  font-style: normal;
  color: var(--muted, #5c6570);
  font-size: 0.9rem;
}

.account-list {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}

.account-list__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
}

.account-stars {
  color: #c58b14;
  letter-spacing: 0.05em;
  margin-left: 0.35rem;
}

.users-list {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

@media (min-width: 900px) {
  .users-list--2 {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.user-card {
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  padding: 1rem;
}

.user-card--fold {
  padding: 0;
}

.user-card--fold > summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem;
}

.user-card--fold > summary::-webkit-details-marker {
  display: none;
}

.user-card--fold[open] > summary {
  border-bottom: 1px solid var(--line);
}

.user-card__head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.user-card--fold > summary.user-card__head,
.user-card--fold > summary .user-card__head {
  margin-bottom: 0;
}

.user-card__head-main {
  min-width: 0;
  flex: 1;
}

.user-card__head-main strong {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.user-card__chevron {
  color: var(--mute);
  font-weight: 500;
  font-size: 0.85rem;
}

.user-card--fold[open] .user-card__chevron::before {
  content: '–';
}

.user-card--fold:not([open]) .user-card__chevron::before {
  content: '+';
}

.user-card__actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.user-card__body {
  display: grid;
  gap: 0.65rem;
}

.user-card--fold > .user-card__body {
  padding: 1rem;
}

.user-card__body input,
.user-card__body select,
.user-card__body textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper-2);
  padding: 0.7rem 0.85rem;
}

.user-card__profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
}

@media (min-width: 720px) {
  .user-card__body--grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1.25rem;
  }

  .user-card__body--grid .field--full,
  .user-card__body--grid .check-field,
  .user-card__body--grid .admin-muted,
  .user-card__body--grid .user-save,
  .user-card__body--grid .user-card__actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .account-list__row,
  .user-card__head {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .voice__now-dot {
    animation: none;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
