:root {
  font-family: "DM Sans", sans-serif;
  color: #172a28;
  background: #eeefea;
  font-synthesis: none;
  --accent: #174b3b;
  --line: #e4e7e1;
  --muted: #73807a;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: 24px;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
button,
select,
input {
  font: inherit;
}
button,
select,
summary {
  cursor: pointer;
}
button:focus-visible,
select:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid #80bba3;
  outline-offset: 3px;
}
.app {
  width: min(1320px, 100%);
  background: #fff;
  border: 1px solid #dde2db;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 24px 70px #20372b0c;
}
.topbar {
  height: 65px;
  display: flex;
  align-items: center;
  padding: 0 30px;
  border-bottom: 1px solid var(--line);
  gap: 30px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--accent);
  text-decoration: none;
  font-family: "Instrument Serif", serif;
  font-size: 31px;
  letter-spacing: -1px;
}
.brand-icon {
  width: 24px;
  height: 25px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
}
.brand-icon i {
  display: block;
  width: 6px;
  background: var(--accent);
  border-radius: 4px 4px 1px 1px;
}
.brand-icon i:nth-child(1) {
  height: 14px;
}
.brand-icon i:nth-child(2) {
  height: 23px;
}
.brand-icon i:nth-child(3) {
  height: 18px;
}
.top-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  border-left: 1px solid #dde2db;
  padding-left: 25px;
}
.top-location::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: 0.65;
}
.profile {
  margin-left: auto;
  border: 1px solid #dde2db;
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  font-size: 12px;
  background: #f6f7f3;
}
.search-heading {
  padding: 23px 30px 21px;
}
.eyebrow {
  color: #71827a;
  letter-spacing: 0.14em;
  font-size: 10px;
  font-weight: 700;
  margin: 0 0 5px;
}
h1 {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: 40px;
  letter-spacing: -1.2px;
  line-height: 1.08;
  margin: 0 0 18px;
}
.filters {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.filter {
  border: 1px solid #dfe5de;
  border-radius: 9px;
  background: #fff;
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 600;
  color: #253c31;
  white-space: nowrap;
  transition:
    background 0.3s,
    border-color 0.3s;
}
.filter > span:first-child:not(.check) {
  color: #7b887f;
  font-weight: 500;
}
.select-filter {
  position: relative;
  gap: 8px;
  padding: 0 10px 0 12px;
}
.select-filter strong {
  font-size: inherit;
  font-weight: 600;
  color: #223b2e;
}
.select-filter svg {
  width: 14px;
  height: 14px;
  margin-left: 2px;
  color: #62786a;
  flex: none;
}
.select-filter select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.select-filter:focus-within {
  outline: 2px solid #5d9d78;
  outline-offset: 2px;
}
.select-filter:hover {
  border-color: #b8cebe;
  background: #f7faf7;
}
.filter[data-active="true"] {
  background: #edf5ef;
  border-color: #c7dfce;
}
.toggle {
  gap: 8px;
}
.check {
  height: 14px;
  width: 14px;
  border: 1px solid #b7c7ba;
  border-radius: 4px;
  display: grid;
  place-items: center;
  font-size: 10px;
}
.toggle[aria-pressed="true"] .check {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}
.toggle[aria-pressed="true"] .check:after {
  content: "✓";
}
.workspace {
  display: grid;
  grid-template-columns: 51% 49%;
  height: 490px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.results {
  min-width: 0;
  overflow: auto;
  padding: 21px 25px 24px 30px;
  scrollbar-width: thin;
  scrollbar-color: #d8e1d9 transparent;
}
.results-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.results-head h2 {
  font-size: 17px;
  letter-spacing: -0.4px;
  margin: 0 0 3px;
}
.results-head p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.results-head > span {
  font-size: 11px;
  color: #69786d;
}
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.card {
  appearance: none;
  text-align: left;
  padding: 0;
  background: #fff;
  border: 1px solid #e1e7df;
  border-radius: 13px;
  overflow: hidden;
  color: inherit;
  cursor: pointer;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
  animation: enter 0.35s ease both;
  min-width: 0;
}
.card:hover,
.card[data-selected="true"] {
  border-color: #8eb69b;
  box-shadow: 0 5px 18px #123d2510;
}
.card:hover {
  transform: translateY(-2px);
}
.photo {
  height: 120px;
  background: #e5e9e2;
  position: relative;
  overflow: hidden;
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card-info {
  padding: 11px 12px 12px;
}
.price {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.8px;
}
.price small {
  font-size: 11px;
  color: #77847b;
  font-weight: 500;
  letter-spacing: 0;
}
.address {
  font-size: 12px;
  font-weight: 600;
  margin: 4px 0 2px;
}
.neighborhood {
  font-size: 11px;
  color: #7b887e;
}
.features {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 10px;
  font-size: 10px;
  color: #617268;
}
.features span + span:before {
  content: "·";
  margin-right: 7px;
  color: #a8b5aa;
}

@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.map {
  background: #e8ede6;
  position: relative;
  overflow: hidden;
  border-left: 1px solid var(--line);
}
.map-layer {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  transition: transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.tile {
  position: absolute;
  width: 256px;
  height: 256px;
  max-width: none;
  pointer-events: none;
}
.pin {
  position: absolute;
  z-index: 2;
  transform: translate(-50%, -50%);
  border-radius: 20px;
  border: 1px solid #d0d7cd;
  background: #fff;
  color: #183f2e;
  box-shadow: 0 3px 10px #17342520;
  font-size: 11px;
  font-weight: 700;
  padding: 7px 10px;
  white-space: nowrap;
  transition:
    background 0.2s,
    color 0.2s,
    opacity 0.3s;
}
.pin:hover,
.pin[data-selected="true"] {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  z-index: 4;
}
.pin[hidden] {
  display: none;
}
.map-credit {
  position: absolute;
  bottom: 0;
  right: 0;
  background: #ffffffc9;
  padding: 3px 6px;
  font-size: 9px;
  color: #6d7c71;
}

.app {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 248px;
}
.search-surface {
  min-width: 0;
}
.workspace {
  border-bottom: 0;
  height: 490px;
}
.voice-panel {
  background: #fff;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 18px;
  min-width: 0;
  min-height: 0;
  max-height: 716px;
}
.chat-head {
  display: flex;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid #e4e9e1;
  padding: 0 0 12px;
  font-size: 13px;
  flex: none;
}
.voice-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: hue-rotate(30deg) saturate(1.15) brightness(0.82);
}
.chat-history {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 17px 0 5px;
  overflow: auto;
  scrollbar-width: thin;
  min-height: 0;
}
.chat-message {
  font-size: 13px;
  line-height: 1.5;
}
.chat-message > span {
  display: block;
  color: #718579;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.chat-message p {
  margin: 0;
  overflow-wrap: anywhere;
}
.chat-message.user {
  padding: 12px;
  background: #eaf1e8;
  border-radius: 10px;
}
.chat-message.assistant {
  padding: 4px 2px;
}

.playback {
  grid-column: 1/-1;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 12px 25px;
  background: white;
}
.play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: white;
  min-width: 84px;
  height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.play:disabled {
  opacity: 0.5;
  cursor: default;
}
#play-icon {
  font-size: 11px;
  line-height: 1;
}
.map-label {
  position: absolute;
  transform: translate(-50%, -50%);
  font-size: 10px;
  letter-spacing: 0.13em;
  font-weight: 700;
  color: #85858a;
  white-space: nowrap;
  pointer-events: none;
  text-shadow: 0 1px 3px white;
}
@media (max-width: 1100px) {
  .app {
    grid-template-columns: minmax(0, 1fr) 210px;
  }
  .voice-panel {
    padding: 16px;
  }
  .results {
    padding: 16px;
  }
  .photo {
    height: 100px;
  }
  .search-heading {
    padding: 22px;
  }
  .topbar {
    padding: 0 22px;
  }
}
@media (max-width: 750px) {
  body {
    padding: 0;
    align-items: flex-start;
  }
  .app {
    display: flex;
    flex-direction: column;
    border: 0;
    border-radius: 0;
  }
  .voice-panel {
    order: -1;
    border-left: 0;
    border-bottom: 1px solid var(--line);
    padding: 12px 18px;
  }
  .voice-icon {
    width: 40px;
    height: 40px;
  }
  .chat-history {
    max-height: 190px;
  }
  .workspace {
    display: flex;
    flex-direction: column-reverse;
    height: auto;
  }
  .map {
    height: 260px;
    flex: none;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }
  .results {
    max-height: 430px;
    padding: 18px;
  }
  .photo {
    height: 115px;
  }
  .topbar {
    height: 55px;
    padding: 0 18px;
  }
  .search-heading {
    padding: 20px 18px;
  }
  h1 {
    font-size: 35px;
  }
  .profile {
    display: none;
  }
  .playback {
    padding: 10px 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body.embedded {
  height: 100vh;
  min-height: 0;
  padding: 0;
  display: block;
  overflow: hidden;
  background: transparent;
}
body.embedded .app {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
body.embedded .search-surface {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
body.embedded .topbar {
  flex: none;
  height: 45px;
  padding: 0 20px;
}
body.embedded .search-heading {
  flex: none;
  padding: 12px 20px 14px;
}
body.embedded h1 {
  font-size: 30px;
  margin-bottom: 10px;
}
body.embedded .eyebrow {
  display: none;
}
body.embedded .workspace {
  flex: 1;
  min-height: 0;
  height: auto;
}
body.embedded .results {
  overflow: hidden;
  padding: 12px 16px;
}
body.embedded .results-head {
  margin-bottom: 8px;
}
body.embedded .results-head h2 {
  font-size: 15px;
}
body.embedded .cards {
  grid-template-columns: 1fr;
  gap: 8px;
}
body.embedded .card {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  min-height: 78px;
}
body.embedded .card[hidden] {
  display: none;
}
body.embedded .photo {
  height: 100%;
  min-height: 78px;
}
body.embedded .card-info {
  min-width: 0;
  padding: 7px 10px;
}
body.embedded .price {
  font-size: 16px;
}
body.embedded .address {
  font-size: 12px;
}
body.embedded .features {
  margin-top: 3px;
}
body.embedded .voice-panel {
  max-height: none;
  overflow: hidden;
  padding: 12px;
}
body.embedded .chat-history {
  overflow: hidden;
}
body.embedded:not(.walkthrough) .app {
  padding-block-end: 44px;
}
body.embedded .playback {
  display: none;
}
@media (max-width: 950px), (max-height: 430px) {
  body.embedded .app {
    grid-template-columns: minmax(0, 1fr);
  }
  body.embedded .voice-panel {
    display: none;
  }
}
@media (max-width: 600px) {
  body.embedded .app {
    display: flex;
    flex-direction: column;
  }
  body.embedded .search-surface {
    flex: 1;
  }
  body.embedded .workspace {
    display: flex;
    flex-direction: column-reverse;
  }
  body.embedded .map {
    flex: 0 0 34%;
    height: auto;
    min-height: 95px;
  }
  body.embedded .results {
    flex: 1;
    min-height: 0;
    max-height: none;
    padding: 10px 12px;
  }
  body.embedded .topbar {
    height: 40px;
    padding: 0 12px;
  }
  body.embedded .search-heading {
    padding: 9px 12px 10px;
  }
  body.embedded h1 {
    font-size: 25px;
    margin-bottom: 8px;
  }
  body.embedded .filter {
    min-height: 30px;
    padding: 0 8px;
    font-size: 11px;
  }
  body.embedded .card {
    grid-template-columns: 74px minmax(0, 1fr);
    min-height: 68px;
  }
  body.embedded .photo {
    min-height: 68px;
  }
}
@media (max-width: 360px) and (max-height: 480px) {
  body.embedded h1 {
    display: none;
  }
  body.embedded .map {
    flex-basis: 72px;
    min-height: 72px;
  }
  body.embedded .results {
    padding: 7px 10px;
  }
  body.embedded .results-head {
    margin-bottom: 5px;
  }
  body.embedded #sort-label {
    display: none;
  }
}
@media (max-height: 360px) {
  body.embedded .topbar {
    height: 36px;
  }
  body.embedded .search-heading {
    padding-top: 6px;
    padding-bottom: 7px;
  }
  body.embedded h1 {
    font-size: 24px;
    margin-bottom: 6px;
  }
  body.embedded .results {
    padding-top: 7px;
    padding-bottom: 7px;
  }
}

body.walkthrough .app {
  grid-template-columns: minmax(0, 1fr);
}
body.walkthrough .voice-panel {
  display: none;
}
body.walkthrough .filter {
  pointer-events: none;
}

/* Compact search and single-speaker captions in the course player. */
body.recording {
  display: block;
  padding: 0;
  height: 100vh;
  overflow: hidden;
  color: #1b342b;
  font-family: "DM Sans", system-ui, sans-serif;
  --gutter: clamp(12px, 2.6vw, 24px);
  --conversation-height: 148px;

  .app {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) var(--conversation-height);
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .search-surface {
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
  }
  .top-location,
  .profile,
  .search-heading > div:first-child,
  .chat-head,
  .playback,
  .map-label {
    display: none;
  }
  .topbar {
    height: 58px;
    justify-content: space-between;
    gap: 8px;
    padding: 0 var(--gutter);
    border: 0;
  }
  .results-head {
    margin: 0;
  }
  .results-head div {
    display: flex;
    align-items: baseline;
    gap: 10px;
  }
  .results-head h2 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
  }
  .results-head p,
  #sort-label {
    font-size: 13px;
    color: #536660;
  }
  .results-head:has(#sort-label:not([hidden])) div {
    display: none;
  }
  .search-heading {
    padding: 0 var(--gutter) 14px;
  }
  .filters {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.12fr;
    gap: 8px;
  }
  .select-filter svg {
    margin-left: auto;
  }
  .toggle {
    justify-content: center;
  }
  .filter {
    min-height: 32px;
    padding: 0 10px;
    border-radius: 9px;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
  }
  .filter[data-active="true"] {
    background: #e4f2e9;
    border-color: #98c5ae;
  }
  .select-filter[data-active="true"] > span {
    display: none;
  }
  .workspace {
    border: 0;
    display: grid;
    grid-template-columns: 49% 51%;
    grid-template-rows: minmax(0, 1fr);
    height: auto;
  }
  .results {
    container-type: size;
    padding: 0 var(--gutter);
    max-height: none;
    scroll-snap-type: y proximity;
    scrollbar-width: none;
  }
  .cards {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .cards:empty::after {
    content: "No apartments match these filters.";
    padding: 16px 8px;
    font-size: 14px;
  }
  .card {
    display: grid;
    grid-template-columns: 41% minmax(0, 1fr);
    align-items: center;
    height: max(98px, 33.333cqh);
    padding: 10px 0;
    scroll-snap-align: start;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transform: none;
  }
  .card:focus-visible {
    outline-offset: -3px;
  }
  .photo {
    height: 100%;
    min-height: 0;
    border-radius: 8px;
  }
  .card-info {
    padding: 0 0 0 13px;
  }
  .price {
    font-size: 18px;
    letter-spacing: -0.5px;
  }
  .price small {
    font-size: 12px;
  }
  .address {
    font-size: 13px;
    line-height: 1.2;
    margin: 3px 0;
  }
  .neighborhood,
  .features {
    font-size: 12px;
    color: #546860;
  }
  .features {
    margin: 0;
  }
  .features span:nth-child(n + 3) {
    display: none;
  }
  .card[data-selected="true"] .address {
    color: var(--accent);
    text-decoration: underline;
  }
  @container (264px <= height < 306px) {
    .card:not(:only-child) {
      height: 33.333cqh;
      padding-block: 6px;
    }
    .card:not(:only-child) .neighborhood {
      display: none;
    }
  }
  @container (height < 264px) {
    .card {
      height: 50cqh;
    }
  }
  @container (height < 206px) {
    .card {
      height: 100cqh;
    }
  }
  @container (height >= 190px) {
    .card:only-child {
      height: 100cqh;
      grid-template-columns: 1fr;
      grid-template-rows: minmax(0, 1fr) auto;
      padding-block: 14px;
    }
    .card:only-child .card-info {
      padding: 10px 0 0;
    }
  }
  .map {
    margin: 0 var(--gutter) 8px 0;
    border: 0;
    border-radius: 12px;
    height: auto;
    background: #ededed;
  }
  .map-layer {
    transition-duration: 0.4s;
  }
  .pin {
    transform: translate(-50%, -50%) scale(var(--pin-scale, 1));
    padding: 5px 9px;
    border-color: #c7c9cd;
    background: white;
    color: #242528;
    box-shadow: 0 2px 6px #1f263526;
    font-size: 12px;
  }
  .pin.compact:not(:hover, :focus-visible) {
    font-size: 0;
    padding: 5px;
    background: #45464a;
    border-color: white;
    z-index: 1;
  }
  .pin:hover,
  .pin:focus-visible,
  .pin[data-selected="true"] {
    color: white;
    background: #242528;
    z-index: 4;
  }
  .map-credit {
    z-index: 5;
    color: #56585c;
  }
  /* Fill the poster with the search until the first spoken words arrive. */
  .app:has(.chat-history:empty) {
    grid-template-rows: minmax(0, 1fr);
  }
  .voice-panel:has(.chat-history:empty) {
    display: none;
  }
  .voice-panel {
    order: 0;
    padding: 16px var(--gutter) 46px;
    border: 0;
    background: #eef2ee;
  }
  .chat-history {
    padding: 0;
    max-height: none;
  }
  .chat-message {
    flex: none;
    padding: 0;
    background: transparent;
    border-radius: 0;
    font-size: 18px;
    line-height: 1.35;
    letter-spacing: -0.01em;
  }
  /* Only the speaker badge changes. Both transcripts start at the same inset. */
  .chat-message > span {
    display: flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    height: 30px;
    padding: 0 12px 0 7px;
    border-radius: 999px;
    margin-bottom: 7px;
    background: white;
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
  }
  .chat-message > span::before {
    content: "";
    width: 24px;
    height: 24px;
  }
  .assistant > span::before {
    background: url("assets/cloud.webp") center / 32px auto no-repeat;
  }
  .user > span {
    color: #504840;
  }
  .user > span::before {
    background:
      radial-gradient(circle at 50% 32%, currentColor 3px, transparent 3.7px),
      radial-gradient(ellipse 7px 6px at bottom, currentColor 92%, transparent)
        center 13px / 100% 6px no-repeat;
  }
}
@media (prefers-reduced-motion: no-preference) {
  body.recording .chat-message {
    animation: haven-turn 230ms ease-out;
  }
  body.recording .chat-message p span {
    animation: haven-word 170ms ease-out;
  }
}
@keyframes haven-turn {
  from {
    opacity: 0;
  }
}
@keyframes haven-word {
  from {
    opacity: 0;
  }
}
@media (max-width: 680px) {
  body.recording {
    .filter {
      padding-inline: 7px;
      font-size: 12px;
    }
    .neighborhood {
      display: none;
    }
    .card-info {
      padding-left: 10px;
    }
    .chat-message {
      font-size: 15px;
    }
  }
}
@media (max-width: 560px) {
  body.recording {
    --conversation-height: 193px;
    .topbar {
      height: 48px;
    }
    .brand {
      font-size: 27px;
    }
    .results-head h2 {
      display: none;
    }
    .search-heading {
      padding-bottom: 10px;
    }
    .filters {
      gap: 6px;
      grid-template-columns: minmax(0, 1fr) auto;
    }
    .filter {
      min-height: 30px;
    }
    .select-filter strong {
      white-space: normal;
      line-height: 1.15;
    }
    .toggle {
      justify-content: start;
    }
    .workspace {
      grid-template-columns: 100%;
      grid-template-rows: minmax(0, 1fr) 92px;
    }
    .map {
      margin: 0 var(--gutter);
      grid-row: 1;
    }
    .results {
      padding: 0;
      scroll-snap-type: x mandatory;
    }
    .cards {
      display: flex;
    }
    .card {
      flex: 0 0 100%;
      padding-inline: var(--gutter);
      border: 0;
    }
    .card-info {
      padding-right: 6px;
    }
    .voice-panel {
      padding-top: 12px;
    }
    .chat-message {
      line-height: 1.32;
    }
  }
}
@media (max-width: 290px) {
  body.recording {
    --gutter: 8px;
    .filter {
      padding-inline: 5px;
      font-size: 11px;
      gap: 4px;
    }
    .card {
      grid-template-columns: 32% minmax(0, 1fr);
    }
    .chat-message {
      font-size: 13px;
    }
  }
}
@media (max-width: 309px) {
  body.recording {
    --conversation-height: 219px;
    .voice-panel {
      padding-bottom: 74px;
    }
    .chat-message {
      font-size: 14px;
    }
  }
}
