/* Portable component styles. All selectors are scoped to .bca. */
@font-face {
  font-family: Kit Hanken;
  src: url('./assets/fonts/hanken-400.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Kit Hanken;
  src: url('./assets/fonts/hanken-700.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Kit Bricolage;
  src: url('./assets/fonts/bricolage-600.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}
.bca {
  --bca-brand: #284d43;
  --bca-accent: #c58857;
  --bca-surface: #fffdf8;
  --bca-canvas: #f2f0e9;
  --bca-ink: #252f2b;
  --bca-muted: #646e66;
  --bca-on-brand: #fffdf8;
  --bca-line: color-mix(in srgb, var(--bca-ink) 16%, var(--bca-surface));
  --bca-tint: color-mix(in srgb, var(--bca-brand) 7%, var(--bca-surface));
  --bca-radius: 24px;
  --bca-width: 408px;
  --bca-space: 22px;
  --bca-font: 'Kit Hanken', sans-serif;
  --bca-display: 'Kit Bricolage', sans-serif;
  --bca-ease: cubic-bezier(0.22, 1, 0.36, 1);
  font: 400 14px/1.5 var(--bca-font);
  color: var(--bca-ink);
  text-align: left;
  color-scheme: light;
  isolation: isolate;
}
.bca * {
  box-sizing: border-box;
}
.bca [hidden] {
  display: none !important;
}
.bca button,
.bca input,
.bca textarea,
.bca select {
  font: inherit;
}
.bca button,
.bca a {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.bca button {
  cursor: pointer;
}
.bca button:disabled {
  cursor: wait;
  opacity: 0.55;
}
.bca button,
.bca input,
.bca textarea {
  transition:
    background 0.18s,
    border-color 0.18s,
    transform 0.18s var(--bca-ease);
}
.bca :focus-visible {
  outline: 2px solid var(--bca-brand);
  outline-offset: 3px;
}
.bca .bca-primary:focus-visible,
.bca .bca-launcher:focus-visible {
  outline-color: var(--bca-on-brand);
  outline-offset: -5px;
}
.bca h2,
.bca h3,
.bca p {
  margin: 0;
}
.bca h2,
.bca h3 {
  font-family: var(--bca-display);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.15;
}
.bca h2 {
  font-size: 28px;
}
.bca h3 {
  font-size: 18px;
}
.bca svg {
  width: 22px;
  height: 22px;
  flex: none;
  display: block;
}
.bca .bca-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.bca .bca-muted {
  color: var(--bca-muted);
}
.bca-panel {
  display: flex;
  flex-direction: column;
  width: var(--bca-width);
  max-width: 100%;
  height: 710px;
  max-height: calc(100dvh - 56px);
  background: var(--bca-surface);
  border: 1px solid var(--bca-line);
  border-radius: var(--bca-radius);
  overflow: hidden;
  box-shadow: 0 24px 65px -30px color-mix(in srgb, var(--bca-ink) 32%, transparent);
  container-type: inline-size;
}
.bca-head {
  padding: 18px var(--bca-space);
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--bca-line);
  flex: none;
}
.bca-avatar {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bca-brand);
  color: var(--bca-on-brand);
  position: relative;
}
.bca-avatar svg {
  width: 27px;
  height: 27px;
}
.bca-identity {
  flex: 1;
  min-width: 0;
}
.bca-identity strong {
  font: 600 19px/1.2 var(--bca-display);
  display: block;
  overflow-wrap: anywhere;
}
.bca-identity small {
  color: var(--bca-muted);
  font-size: 11px;
  display: block;
  margin-top: 3px;
}
.bca-icon-button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: none;
  background: transparent;
  color: var(--bca-muted);
  border: 0;
  border-radius: 50%;
}
.bca-icon-button:hover {
  background: var(--bca-tint);
  color: var(--bca-ink);
}
.bca-call {
  padding: 9px var(--bca-space);
  display: flex;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid var(--bca-line);
  color: var(--bca-brand);
  font-size: 12px;
  text-decoration: none;
}
.bca-call svg {
  width: 16px;
  height: 16px;
}
.bca-call span {
  margin-left: auto;
  color: var(--bca-muted);
  font-size: 11px;
}
.bca-call:hover {
  text-decoration: underline;
}
.bca-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  padding: var(--bca-space);
}
.bca-kicker {
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--bca-muted);
  font-weight: 700;
}
.bca-lead {
  font-size: 14px;
  color: var(--bca-muted);
  margin-top: 10px !important;
  max-width: 38ch;
}
.bca-heading {
  margin-bottom: 22px;
}
.bca-heading .bca-kicker {
  margin-bottom: 9px;
}
.bca-primary,
.bca-secondary {
  border: 1px solid transparent;
  border-radius: calc(var(--bca-radius) * 0.5);
  padding: 12px 17px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  text-decoration: none;
}
.bca-primary {
  background: var(--bca-brand);
  color: var(--bca-on-brand);
}
.bca-primary:hover {
  filter: brightness(0.94);
}
.bca-primary:active,
.bca-secondary:active {
  transform: translateY(1px);
}
.bca-secondary {
  background: var(--bca-surface);
  border-color: var(--bca-line);
  color: var(--bca-ink);
}
.bca-secondary:hover {
  background: var(--bca-tint);
}
.bca-wide {
  width: 100%;
}
.bca-footer {
  padding: 13px var(--bca-space);
  border-top: 1px solid var(--bca-line);
  color: var(--bca-muted);
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex: none;
}
.bca-footer svg {
  width: 13px;
  height: 13px;
}
.bca-footer > span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.bca-text-button {
  background: transparent;
  border: 0;
  color: var(--bca-brand);
  padding: 9px 0;
  min-height: 36px;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 12px;
}
.bca-stages {
  display: flex;
  padding: 14px var(--bca-space) 0;
  gap: 8px;
  list-style: none;
  margin: 0;
  flex: none;
}
.bca-stages li {
  flex: 1;
  font-size: 10px;
  color: var(--bca-muted);
  padding-top: 9px;
  position: relative;
}
.bca-stages li::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 2px;
  background: var(--bca-line);
}
.bca-stages li[aria-current='step'] {
  color: var(--bca-brand);
  font-weight: 700;
}
.bca-stages li[aria-current='step']::before,
.bca-stages li.bca-done::before {
  background: var(--bca-brand);
}
.bca-form {
  display: grid;
  gap: 16px;
}
.bca-label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
}
.bca-label small {
  font-weight: 400;
  color: var(--bca-muted);
}
.bca-input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  border: 1px solid var(--bca-line);
  background: var(--bca-surface);
  border-radius: calc(var(--bca-radius) * 0.45);
  padding: 11px 12px;
  color: var(--bca-ink);
  font-size: 16px !important;
  line-height: 1.4;
}
.bca-input::placeholder {
  color: var(--bca-muted);
  opacity: 0.85;
}
.bca-input:focus {
  outline: none;
  border-color: var(--bca-brand);
  box-shadow: inset 0 0 0 1px var(--bca-brand);
}
.bca-input[aria-invalid='true'] {
  border-color: #aa4033;
}
.bca textarea.bca-input {
  resize: vertical;
  min-height: 95px;
  max-height: 170px;
}
.bca-phone {
  display: flex;
  align-items: center;
  border: 1px solid var(--bca-line);
  border-radius: calc(var(--bca-radius) * 0.45);
  overflow: hidden;
}
.bca-phone:focus-within {
  box-shadow: inset 0 0 0 1px var(--bca-brand);
  border-color: var(--bca-brand);
}
.bca-phone .bca-input {
  border: 0;
  box-shadow: none;
  background: transparent;
}
.bca-phone > span {
  padding: 0 12px;
  font-size: 13px;
  border-right: 1px solid var(--bca-line);
  white-space: nowrap;
}
.bca-error {
  font-size: 12px;
  color: #a4392b;
  background: #fff1e9;
  padding: 10px 12px;
  border: 1px solid #e8b9a7;
  border-radius: 10px;
  margin: 12px 0 !important;
}
.bca-note {
  font-size: 11px;
  color: var(--bca-muted);
  line-height: 1.5;
}
.bca-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.bca-actions .bca-primary {
  flex: 1;
}
.bca-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.bca-choice {
  border: 1px solid var(--bca-line);
  border-radius: calc(var(--bca-radius) * 0.6);
  background: var(--bca-surface);
  color: var(--bca-ink);
  text-align: left;
  padding: 16px 13px;
  min-height: 114px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  position: relative;
}
.bca-choice > svg {
  width: 29px;
  height: 29px;
  color: var(--bca-brand);
  stroke-width: 1.35;
}
.bca-choice strong {
  font-size: 13px;
  line-height: 1.3;
}
.bca-choice small {
  font-size: 11px;
  color: var(--bca-muted);
  line-height: 1.4;
}
.bca-choice:hover {
  transform: translateY(-2px);
  border-color: var(--bca-brand);
  background: var(--bca-tint);
}
.bca-choice[aria-pressed='true'] {
  border-color: var(--bca-brand);
  background: var(--bca-tint);
  box-shadow: inset 0 0 0 1px var(--bca-brand);
}
.bca-choice[aria-pressed='true']::after {
  content: '✓';
  position: absolute;
  top: 10px;
  right: 11px;
  color: var(--bca-brand);
  font-weight: 700;
}
.bca-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.bca-pill {
  background: var(--bca-surface);
  color: var(--bca-ink);
  border: 1px solid var(--bca-line);
  border-radius: 999px;
  min-height: 44px;
  padding: 9px 14px;
  font-size: 12px;
}
.bca-pill:hover,
.bca-pill[aria-pressed='true'] {
  background: var(--bca-tint);
  border-color: var(--bca-brand);
  color: var(--bca-brand);
}
.bca-feed {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.bca-message {
  align-self: flex-start;
  max-width: 94%;
  min-width: 0;
}
.bca-message.bca-user {
  align-self: flex-end;
  max-width: 86%;
}
.bca-bubble {
  border-radius: 16px 16px 16px 4px;
  background: var(--bca-tint);
  padding: 12px 14px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.65;
}
.bca-user .bca-bubble {
  border-radius: 16px 16px 4px 16px;
  background: var(--bca-brand);
  color: var(--bca-on-brand);
}
.bca-message small.bca-author {
  display: block;
  color: var(--bca-muted);
  font-size: 10px;
  margin-bottom: 5px;
}
.bca-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 15px 16px;
  background: var(--bca-tint);
  border-radius: 16px;
  width: max-content;
}
.bca-typing i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--bca-brand);
  animation: bca-type 1.2s infinite;
}
.bca-typing i:nth-child(2) {
  animation-delay: 0.15s;
}
.bca-typing i:nth-child(3) {
  animation-delay: 0.3s;
}
.bca-composer {
  border-top: 1px solid var(--bca-line);
  padding: 12px var(--bca-space);
  display: grid;
  gap: 8px;
  flex: none;
}
.bca-entry {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
.bca-entry textarea {
  resize: none;
  min-height: 48px;
  max-height: 100px;
  height: 48px;
}
.bca-entry .bca-primary {
  padding: 12px;
  width: 48px;
  flex: none;
}
.bca-composer-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.bca-composer-tools .bca-text-button {
  min-height: 30px;
  padding: 2px 0;
}
.bca-composer-tools > span {
  font-size: 10px;
  color: var(--bca-muted);
}
.bca-visual {
  border: 1px solid var(--bca-line);
  border-radius: calc(var(--bca-radius) * 0.6);
  overflow: hidden;
  background: var(--bca-surface);
  margin-top: 12px;
}
.bca-visual img {
  width: 100%;
  height: 165px;
  object-fit: cover;
  display: block;
}
.bca-visual-content {
  padding: 15px;
}
.bca-visual-content p {
  font-size: 12px;
  color: var(--bca-muted);
  margin-top: 6px;
}
.bca-visual-meta {
  display: flex;
  gap: 7px;
  margin-top: 13px;
  flex-wrap: wrap;
}
.bca-tag {
  font-size: 10px;
  color: var(--bca-brand);
  background: var(--bca-tint);
  padding: 4px 8px;
  border-radius: 5px;
}
.bca-visual .bca-text-button {
  display: flex;
  align-items: center;
  gap: 7px;
}
.bca-timeline {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.bca-timeline li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--bca-line);
}
.bca-timeline li:last-child {
  border: 0;
}
.bca-timeline .bca-number {
  width: 26px;
  height: 26px;
  background: var(--bca-tint);
  color: var(--bca-brand);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  flex: none;
}
.bca-timeline strong {
  font-size: 13px;
  display: block;
}
.bca-timeline small {
  font-size: 11px;
  color: var(--bca-muted);
}
.bca-source {
  margin-top: 12px;
  font-size: 11px;
  color: var(--bca-brand);
  display: flex;
  align-items: center;
  gap: 7px;
}
.bca-source svg {
  width: 14px;
  height: 14px;
}
.bca-review {
  margin: 0;
}
.bca-review > div {
  display: flex;
  gap: 15px;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--bca-line);
  font-size: 13px;
}
.bca-review dt {
  color: var(--bca-muted);
  flex: none;
}
.bca-review dd {
  margin: 0;
  text-align: right;
  overflow-wrap: anywhere;
}
.bca-success {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 17px;
  padding: 35px 0;
}
.bca-seal {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--bca-tint);
  color: var(--bca-brand);
  display: grid;
  place-items: center;
  animation: bca-arrive 0.5s var(--bca-ease);
}
.bca-seal svg {
  width: 34px;
  height: 34px;
}
.bca-upload {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.bca-upload img {
  width: 65px;
  height: 65px;
  object-fit: cover;
  border-radius: 9px;
}
.bca-upload button {
  margin-left: auto;
}
.bca-retry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.bca-dock {
  position: fixed;
  bottom: max(20px, env(safe-area-inset-bottom));
  right: 20px;
  z-index: 1000;
  max-width: calc(100vw - 32px);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.bca-dock .bca-panel {
  max-height: calc(100dvh - 110px);
}
.bca-launcher {
  border: 0;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bca-brand);
  color: var(--bca-on-brand);
  padding: 8px 20px 8px 8px;
  min-height: 58px;
  font-weight: 700;
  box-shadow: 0 8px 28px #243c3020;
  max-width: 100%;
}
.bca-launcher .bca-avatar {
  background: color-mix(in srgb, var(--bca-on-brand) 12%, var(--bca-brand));
  width: 40px;
  height: 40px;
}
.bca-launcher:hover {
  transform: translateY(-2px);
}
.bca-peek {
  width: 290px;
  max-width: 100%;
  padding: 22px;
  border: 1px solid var(--bca-line);
  background: var(--bca-surface);
  border-radius: var(--bca-radius) var(--bca-radius) 5px var(--bca-radius);
  box-shadow: 0 14px 36px #243c301a;
  position: relative;
  animation: bca-arrive 0.5s var(--bca-ease) both;
}
.bca-peek .bca-icon-button {
  position: absolute;
  right: 6px;
  top: 6px;
}
.bca-peek .bca-kicker {
  margin: 15px 0 8px;
}
.bca-peek h2 {
  font-size: 24px;
  max-width: 15ch;
}
.bca-peek .bca-text-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border-top: 1px solid var(--bca-line);
  margin-top: 16px;
  padding-top: 14px;
  text-decoration: none;
  font-weight: 700;
}
.bca-enter {
  animation: bca-arrive 0.32s var(--bca-ease) both;
}
.bca[data-density='compact'] {
  --bca-space: 16px;
}
.bca[data-type='humanist'] {
  --bca-display: 'Kit Hanken', sans-serif;
}
.bca[data-motion='false'] * {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
@keyframes bca-type {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  30% {
    transform: translateY(-4px);
    opacity: 1;
  }
}
@keyframes bca-arrive {
  from {
    opacity: 0;
    transform: translateY(9px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@container (max-width:340px) {
  .bca-head {
    gap: 8px;
  }
  .bca-identity strong {
    font-size: 17px;
  }
  .bca-choice {
    padding: 13px 10px;
  }
  .bca h2 {
    font-size: 25px;
  }
}
@media (max-width: 480px) {
  .bca-dock {
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
  }
  .bca-dock .bca-panel {
    width: calc(100vw - 24px);
  }
  .bca-panel {
    max-height: calc(100dvh - 24px);
  }
  .bca {
    --bca-space: 18px;
  }
  .bca-peek {
    width: 280px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .bca * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Compound controls keep their own dimensions and focus treatment. */
.bca .bca-entry textarea.bca-input {
  height: 48px;
  min-height: 48px;
  max-height: 100px;
  resize: none;
}
.bca h2:focus {
  outline: none;
}
.bca-stages li.bca-done::before {
  background: var(--bca-accent);
}
.bca-peek .bca-avatar::after {
  content: '';
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  right: -1px;
  bottom: 1px;
  background: var(--bca-accent);
  border: 2px solid var(--bca-surface);
}

.bca-composer-tools > span {
  font-size: 11px;
}
.bca-message {
  max-width: 100%;
}
.bca-avatar {
  background: var(--bca-tint);
  color: var(--bca-brand);
}
.bca-launcher .bca-avatar {
  color: var(--bca-on-brand);
}

/* Visual exploration, contextual details, and considerate navigation. */
.bca-gallery {
  width: 100%;
  max-width: 100%;
  margin-top: 14px;
}
.bca-gallery-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.bca-gallery-heading .bca-kicker {
  font-size: 9px;
  letter-spacing: 0.08em;
}
.bca-gallery-controls {
  display: flex;
  gap: 0;
  align-items: center;
  flex: none;
}
.bca-gallery-controls .bca-icon-button {
  width: 38px;
  height: 44px;
  border-radius: 9px;
}
.bca-gallery-controls .bca-icon-button:disabled {
  cursor: default;
  opacity: 0.3;
}
.bca-gallery-count {
  font-size: 10px;
  color: var(--bca-muted);
  white-space: nowrap;
  min-width: 28px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.bca-gallery-rail {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  position: relative;
  padding: 3px 0 7px;
}
.bca-gallery-rail::-webkit-scrollbar {
  display: none;
}
.bca-gallery-slide {
  flex: 0 0 calc(100% - 24px);
  min-width: 0;
  scroll-snap-align: start;
}
.bca-gallery-slide:last-child {
  margin-right: 24px;
}
.bca-gallery-slide .bca-visual {
  margin: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.bca-gallery-slide .bca-visual-content {
  display: flex;
  flex: 1;
  flex-direction: column;
}
.bca-gallery-slide .bca-text-button {
  margin-top: auto;
  padding-top: 14px;
}
.bca-gallery-slide .bca-visual img {
  height: 155px;
}
.bca-image-fallback {
  height: 165px;
  background: var(--bca-tint);
  color: var(--bca-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 12px;
}
.bca-detail-card {
  margin-top: 12px;
  border: 1px solid var(--bca-line);
  border-radius: calc(var(--bca-radius) * 0.6);
  background: var(--bca-surface);
  overflow: hidden;
}
.bca-detail-card summary {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 16px;
  cursor: pointer;
  list-style: none;
  min-height: 68px;
}
.bca-detail-card summary::-webkit-details-marker {
  display: none;
}
.bca-detail-card summary > svg {
  color: var(--bca-brand);
  width: 24px;
  height: 24px;
}
.bca-detail-card summary > span:not(.bca-disclosure) {
  min-width: 0;
  flex: 1;
}
.bca-detail-card strong {
  display: block;
  font-size: 14px;
  font-family: var(--bca-display);
  font-weight: 600;
}
.bca-detail-card small {
  display: block;
  font-size: 11px;
  color: var(--bca-muted);
  margin-top: 3px;
}
.bca-disclosure {
  font-size: 20px;
  color: var(--bca-muted);
  font-weight: 400;
  transition: transform 0.2s var(--bca-ease);
}
.bca-detail-card[open] .bca-disclosure {
  transform: rotate(45deg);
}
.bca-detail-card dl {
  margin: 0;
  padding: 0 16px;
}
.bca-detail-card dl > div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--bca-line);
  font-size: 12px;
}
.bca-detail-card dt {
  color: var(--bca-muted);
}
.bca-detail-card dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.bca-detail-card > .bca-note {
  margin: 8px 16px 16px;
  padding-top: 9px;
  border-top: 1px solid var(--bca-line);
  font-size: 10px;
}
.bca-detail-card summary:hover {
  background: var(--bca-tint);
}
.bca-detail-card summary:focus-visible {
  outline-offset: -4px;
}
.bca-latest {
  align-self: center;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  min-height: 38px;
  border: 1px solid var(--bca-line);
  border-radius: 999px;
  background: var(--bca-surface);
  color: var(--bca-brand);
  font-size: 11px;
  margin: 0 0 8px;
  flex: none;
  box-shadow: 0 3px 8px #302c2708;
}
.bca-latest svg {
  width: 14px;
  height: 14px;
  transform: rotate(90deg);
}
.bca-latest:hover {
  background: var(--bca-tint);
}
.bca-restart-notice {
  flex: none;
  padding: 16px var(--bca-space);
  background: var(--bca-tint);
  border-bottom: 1px solid var(--bca-line);
  animation: bca-arrive 0.2s var(--bca-ease);
}
.bca-restart-notice > strong {
  font-size: 13px;
}
.bca-restart-notice > p {
  font-size: 12px;
  color: var(--bca-muted);
  margin-top: 4px;
}
.bca-restart-actions {
  display: flex;
  gap: 9px;
  margin-top: 12px;
}
.bca-restart-actions button {
  flex: 1;
  min-height: 42px;
  font-size: 12px;
  padding: 9px;
}
.bca .bca-review > div {
  align-items: center;
  padding: 10px 0;
}
.bca .bca-review dd {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
}
.bca-review dd > span {
  overflow-wrap: anywhere;
  min-width: 0;
}
.bca-review-edit {
  display: grid;
  place-items: center;
  min-width: 38px;
  width: 38px;
  height: 44px;
  border: 0;
  background: transparent;
  border-radius: 8px;
  flex: none;
  color: var(--bca-muted);
}
.bca-review-edit svg {
  width: 16px;
  height: 16px;
}
.bca-review-edit:hover {
  background: var(--bca-tint);
  color: var(--bca-brand);
}
.bca-review-edit:disabled {
  cursor: default;
  opacity: 0.35;
}
.bca-body:not(.bca-feed) > :not(.bca-heading) {
  animation: bca-arrive 0.26s var(--bca-ease) both;
}
.bca-choice-grid .bca-choice:nth-child(2) {
  animation-delay: 35ms;
}
.bca-choice-grid .bca-choice:nth-child(3) {
  animation-delay: 60ms;
}
.bca-choice-grid .bca-choice:nth-child(4) {
  animation-delay: 85ms;
}
.bca-choice-grid .bca-choice {
  animation: bca-arrive 0.28s var(--bca-ease) both;
}
.bca[data-motion='false'] * {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
@media (prefers-reduced-motion: reduce) {
  .bca * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
