/* ============================================================================
   cartellino-community.css — «L'ho preso: com'è andata?» (spec community 2026-11-09)
   Discussione in fondo alla scheda dell'offerta: riepilogo, stati, composer, messaggi.
   Solo token del tema «Cartellino»: chiaro e scuro arrivano da cartellino-tokens.css.
   Tocchi di almeno 44 px; testi lunghi (soprannomi, parole senza spazi) vanno a capo:
   a 412 px niente scorrimento orizzontale. Caricato da Web (App.razor) e MAUI (index.html)
   dopo cartellino-sections.css.
   ========================================================================== */

/* ── Sezione ── */
.ct-cm {
  margin: 24px 0 0; padding: 16px;
  background: var(--surface); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 12px; box-shadow: var(--shadow-hard-sm);
  min-width: 0; max-width: 100%; box-sizing: border-box;
  overflow-wrap: anywhere; word-break: normal;
  scroll-margin-top: 80px;
}
.ct-cm *, .ct-cm *::before, .ct-cm *::after { box-sizing: border-box; }
.ct-cm__title {
  display: flex; align-items: center; gap: 8px; margin: 0 0 8px;
  font-size: 1.125rem; font-weight: 800; line-height: 1.25; color: var(--ink);
}
.ct-cm__summary {
  margin: 0 0 12px; padding: 8px 10px;
  background: var(--tag); color: var(--tag-ink);
  border: 2px solid var(--ink); border-radius: 8px;
  font-weight: 700; font-size: 14px; line-height: 1.4;
}
.ct-cm__notice { margin: 8px 0; font-size: 14px; color: var(--ink-soft); }
.ct-cm__empty { margin: 12px 0 0; color: var(--ink-muted); font-size: 14px; }
.ct-cm__login-write { margin: 12px 0 0; font-size: 14px; }
.ct-cm__login-write a, .ct-cm__failed a {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--brand-text); font-weight: 700; text-decoration: underline;
}
.ct-cm__failed p { margin: 0 0 8px; color: var(--ink-soft); }
.ct-cm__retry, .ct-cm__more, .ct-cm__follow-btn, .ct-cm__tell { min-height: 44px; }
.ct-cm__more { width: 100%; margin-top: 12px; }
.ct-cm__follow { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; align-items: center; margin: 8px 0 0; }
/* «✋ Racconta com'è andata»: apre il riquadro di «L'ho preso» (Danny 17-11), il modulo non si ripete in fondo */
.ct-cm__tell { font-weight: 600; }

/* Scheletro: tre barre ferme (niente animazione con prefers-reduced-motion) */
.ct-cm__skeleton { display: grid; gap: 10px; }
.ct-cm__bone { display: block; border-radius: 8px; background: var(--surface-sunk); }
.ct-cm__bone--line { height: 34px; }
.ct-cm__bone--row { height: 44px; }
.ct-cm__bone--block { height: 88px; }
@media (prefers-reduced-motion: no-preference) {
  .ct-cm__bone { animation: ct-cm-pulse 1.2s ease-in-out infinite alternate; }
}
@keyframes ct-cm-pulse { from { opacity: 1; } to { opacity: 0.5; } }

/* ── Stati ── */
.ct-cm-states { margin: 0 0 4px; }
.ct-cm-states__legend { margin: 0 0 6px; font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.ct-cm-states__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.ct-cm-state {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 52px; min-width: 0; padding: 6px 4px;
  background: var(--surface); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 9px;
  font: inherit; font-size: 12px; font-weight: 700; line-height: 1.15; text-align: center;
  cursor: pointer;
}
.ct-cm-state .bi { font-size: 18px; }
.ct-cm-state span { overflow-wrap: anywhere; }
.ct-cm-state.is-on { background: var(--ink); color: var(--tag); box-shadow: var(--shadow-hard-sm); }
/* Col tema scuro --ink è chiaro: giallo su chiaro non si legge, si inverte come .ct-select.is-on */
html[data-theme="dark"] .ct-cm-state.is-on { background: var(--tag); color: var(--tag-ink); border-color: var(--tag); }
.ct-cm-state:disabled { cursor: default; opacity: 0.55; }
.ct-cm-state.is-on:disabled { opacity: 1; }
.ct-cm-login { width: 100%; margin-top: 8px; min-height: 44px; }

/* ── Composer ── */
.ct-cm-composer {
  display: grid; gap: 8px; margin: 12px 0 0; padding: 12px;
  background: var(--surface-sunk); border: 1px dashed var(--rule); border-radius: 10px;
}
.ct-cm-composer--reply { margin: 8px 0 0; background: var(--surface); }
.ct-cm-composer__label { font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.ct-cm-composer__text, .ct-cm-nickname__input {
  width: 100%; min-height: 44px; padding: 10px 12px;
  background: var(--surface); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 8px;
  font: inherit; font-size: 16px; line-height: 1.4; /* 16 px: niente zoom automatico su iOS */
}
.ct-cm-composer__text { resize: vertical; }
.ct-cm-composer__text:focus-visible, .ct-cm-nickname__input:focus-visible { outline: 3px solid var(--brand); outline-offset: 1px; }
.ct-cm-composer__count { margin: -4px 0 0; font-family: var(--font-mono); font-size: 12px; color: var(--ink-muted); text-align: right; }
.ct-cm-composer__error { margin: 0; font-size: 14px; font-weight: 700; color: var(--danger); }
.ct-cm-composer__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.ct-cm-composer__send, .ct-cm-composer__cancel { min-height: 44px; }

/* Foto: avviso sempre sopra il selettore */
.ct-cm-photos { display: grid; gap: 6px; }
.ct-cm-photos__privacy {
  display: flex; gap: 6px; align-items: flex-start; margin: 0; padding: 8px 10px;
  background: var(--surface); color: var(--ink);
  border-left: 4px solid var(--brand); border-radius: 6px;
  font-size: 13px; font-weight: 600; line-height: 1.4;
}
.ct-cm-photos__pick { position: relative; justify-self: start; min-height: 44px; max-width: 100%; overflow: hidden; }
.ct-cm-photos__pick.is-disabled { opacity: 0.55; }
.ct-cm-photos__pick:focus-within { outline: 3px solid var(--brand); outline-offset: 2px; }
/* Il campo vero copre l'etichetta: tocco e tastiera arrivano a lui */
.ct-cm-photos__input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.ct-cm-photos__input:disabled { cursor: default; }
.ct-cm-photos__list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.ct-cm-photos__item {
  display: flex; align-items: center; gap: 8px; min-width: 0; padding: 4px 4px 4px 6px;
  background: var(--surface); border: 1px solid var(--rule); border-radius: 8px;
}
.ct-cm-photos__thumb {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 6px; object-fit: cover;
  display: inline-flex; align-items: center; justify-content: center; font-size: 20px; color: var(--ink-muted);
}
.ct-cm-photos__name { flex: 1 1 auto; min-width: 0; font-size: 13px; color: var(--ink-soft); overflow-wrap: anywhere; }

.ct-cm-nickname { display: grid; gap: 4px; }
.ct-cm-nickname__hint { margin: 0; font-size: 12px; color: var(--ink-muted); }

/* ── Messaggi ── */
.ct-cm__list { display: grid; gap: 12px; margin: 16px 0 0; }
.ct-cm-post {
  min-width: 0; padding: 12px;
  background: var(--surface); border: 1px solid var(--rule); border-radius: 10px;
}
.ct-cm-post.is-hidden { border-style: dashed; }
.ct-cm-post--reply { padding: 10px 0 0 12px; border: 0; border-left: 3px solid var(--rule); border-radius: 0; }
.ct-cm__replies { display: grid; gap: 10px; margin: 10px 0 0; }
.ct-cm-post__head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-width: 0; }
.ct-cm-post__author { min-width: 0; font-weight: 800; font-size: 14px; color: var(--ink); overflow-wrap: anywhere; }
.ct-cm-post__author.is-deleted { font-weight: 600; font-style: italic; color: var(--ink-muted); }
.ct-cm-post__time { margin-left: auto; font-family: var(--font-mono); font-size: 12px; color: var(--ink-muted); white-space: nowrap; }
.ct-cm-badge {
  display: inline-flex; align-items: center; padding: 1px 7px; border-radius: 999px;
  border: 1px solid var(--ink); font-size: 11px; font-weight: 800; text-transform: lowercase;
  background: var(--surface-sunk); color: var(--ink);
}
.ct-cm-badge--admin { background: var(--brand); color: var(--on-brand); text-transform: none; }
.ct-cm-badge--confirmed, .ct-cm-badge--received { background: var(--save); color: var(--on-save); border-color: var(--save); }
.ct-cm-badge--cancelled { background: var(--danger); color: var(--on-danger); border-color: var(--danger); }
.ct-cm-post__text { margin: 6px 0 0; font-size: 15px; line-height: 1.45; color: var(--ink); white-space: pre-line; overflow-wrap: anywhere; }
.ct-cm-post__placeholder { margin: 6px 0 0; font-size: 14px; font-style: italic; color: var(--ink-muted); }
.ct-cm-post__hidden-note { margin: 6px 0 0; font-size: 12px; font-weight: 700; color: var(--danger); }
.ct-cm-post__photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 8px 0 0; max-width: 420px; }
.ct-cm-post__photo { display: block; aspect-ratio: 1 / 1; border-radius: 8px; overflow: hidden; border: 1px solid var(--rule); background: var(--surface-sunk); }
.ct-cm-post__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ct-cm-post__photo:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }

.ct-cm-post__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0 4px; margin: 4px 0 0; }
.ct-cm-link-btn {
  display: inline-flex; align-items: center; gap: 4px; min-height: 44px; min-width: 44px; padding: 0 8px;
  background: none; border: 0; border-radius: 6px; cursor: pointer;
  font: inherit; font-size: 13px; font-weight: 700; color: var(--ink-soft);
}
.ct-cm-link-btn:hover { color: var(--ink); text-decoration: underline; }
.ct-cm-link-btn:focus-visible { outline: 3px solid var(--brand); outline-offset: 1px; }
.ct-cm-link-btn:disabled { cursor: default; opacity: 0.55; }
.ct-cm-link-btn--danger { color: var(--danger); }
.ct-cm-post__reported { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; font-size: 13px; color: var(--ink-muted); }
.ct-cm-post__confirm { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0 4px; font-size: 13px; color: var(--ink); }

.ct-cm-icon-btn {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  min-width: 44px; min-height: 44px; padding: 0;
  background: none; border: 0; border-radius: 6px; cursor: pointer; color: var(--ink-soft);
}
.ct-cm-icon-btn:focus-visible { outline: 3px solid var(--brand); outline-offset: 1px; }

/* ── Ingresso dalla scheda e dall'archivio ── */
.ct-cm-jump {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin: 8px 0 0; padding: 0 4px;
  background: none; border: 0; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 700; color: var(--brand-text); text-decoration: underline;
  text-align: left; overflow-wrap: anywhere;
}
.ct-cm-jump:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
/* Sopra il link che copre la card dell'archivio (z-index 2), come il nome del negozio */
.ct-cm-archive-link {
  position: relative; z-index: 3;
  display: inline-flex; align-items: center; gap: 4px; min-height: 44px; margin-top: 2px;
  font-size: 13px; font-weight: 700; color: var(--brand-text); text-decoration: underline;
}
.ct-cm-archive-link:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }

/* Telefono stretto: stati in due righe da due, sezione a filo */
@media (max-width: 420px) {
  .ct-cm { padding: 12px; }
  .ct-cm-states__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct-cm-state { flex-direction: row; gap: 6px; min-height: 44px; font-size: 13px; }
}

/* ── Moderazione (/community/moderazione) e soprannome nel Profilo ── */
.ct-cm-mod-tabs { display: flex; gap: 8px; margin: 12px 0; }
.ct-cm-mod-tab {
  flex: 1 1 0; min-width: 0; min-height: 44px; padding: 8px 12px;
  background: var(--surface); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 9px;
  font: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
}
.ct-cm-mod-tab:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.ct-cm-mod-tab.is-on { background: var(--ink); color: var(--tag); box-shadow: var(--shadow-hard-sm); }
/* Col tema scuro --ink è chiaro: giallo su chiaro non si legge, si inverte come .ct-cm-state */
html[data-theme="dark"] .ct-cm-mod-tab.is-on { background: var(--tag); color: var(--tag-ink); border-color: var(--tag); }

.ct-cm-mod-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ct-cm-mod-row {
  display: grid; gap: 8px; min-width: 0; padding: 12px;
  background: var(--surface); border: 2px solid var(--ink); border-radius: 10px;
}
.ct-cm-mod-row.is-hidden { background: var(--surface-sunk); border-style: dashed; }
.ct-cm-mod-row__deal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; min-width: 0; }
.ct-cm-mod-row__deal-link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; min-width: 0;
  font-size: 14px; font-weight: 700; color: var(--brand-text); text-decoration: underline; overflow-wrap: anywhere;
}
.ct-cm-mod-row__deal-link:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.ct-cm-mod-row__when { font-size: 12px; color: var(--ink-muted); }
.ct-cm-mod-row__body { min-width: 0; }
.ct-cm-mod-row__author { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; margin: 0 0 4px; font-size: 14px; color: var(--ink); overflow-wrap: anywhere; }
.ct-cm-mod-row__reports { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--danger); }
.ct-cm-mod-row__text { margin: 0; font-size: 14px; color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; }
.ct-cm-mod-row__photos { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ct-cm-mod-row__photo { width: 88px; height: 88px; border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; background: var(--surface-sunk); }
.ct-cm-mod-row__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ct-cm-mod-row__photo-off {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 100%; height: 100%;
  padding: 4px; font-size: 11px; line-height: 1.2; text-align: center; color: var(--ink-muted); overflow-wrap: anywhere;
}
.ct-cm-mod-row__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0 4px; min-width: 0; }

/* Schermo largo: la riga diventa una riga di tabella (offerta e autore | testo | azioni) */
@media (min-width: 721px) {
  .ct-cm-mod-row { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) auto; align-items: start; gap: 12px; }
  .ct-cm-mod-row__deal { flex-direction: column; align-items: flex-start; justify-content: flex-start; }
  .ct-cm-mod-row__actions { flex-direction: column; align-items: flex-start; }
}
/* Telefono: carta impilata, nessuno scorrimento orizzontale */
@media (max-width: 720px) {
  .ct-cm-mod-row__actions { border-top: 1px dashed var(--rule); padding-top: 4px; }
}

.ct-cm-profile__form { display: grid; gap: 8px; max-width: 420px; }
.ct-cm-profile__input {
  width: 100%; box-sizing: border-box; min-height: 44px; padding: 8px 10px;
  background: var(--surface); color: var(--ink); border: 2px solid var(--ink); border-radius: 9px; font: inherit; font-size: 16px;
}
.ct-cm-profile__input:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.ct-cm-profile__save, .ct-cm-profile__moderation { min-height: 44px; justify-self: start; }
.ct-cm-profile__moderation { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; }
.ct-cm-blocks { margin-top: 20px; display: grid; gap: 8px; }
.ct-cm-blocks__title { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 1rem; }
.ct-cm-blocks__note { margin: 0; max-width: 60ch; font-size: 14px; color: var(--ink-soft); }
.ct-cm-blocks__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; max-width: 420px; }
.ct-cm-blocks__item { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; }
.ct-cm-blocks__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ct-cm-blocks__unblock { min-height: 44px; flex: none; }




/* ── «🛒 L'ho preso» accanto a «Vai all'offerta» e il suo riquadro (app 1.0.0, Danny 17-11) ──
   Bottone nella barra delle azioni della scheda; sul telefono, dove la barra è fissa in basso accanto a cuore,
   carrello e condividi, resta l'icona col contatore e la scritta va ai lettori di schermo (come «Aggiungi al
   carrello»: con la scritta «Vai all'offerta» si schiacciava, Danny 08-11). Il riquadro è un <dialog> aperto con
   showModal(): livello superiore, quindi niente z-index; foglio dal basso sotto i 640 px, finestra centrata sopra.
   Senza <dialog> (iOS prima della 15.4, o modulo JS non caricato) la classe is-fallback lo tiene fisso in basso. */
.ct-cm-taken-btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 52px; padding: 0 14px;
  font-weight: 800; white-space: nowrap;
}
.ct-cm-taken-btn__gauge {
  display: inline-grid; place-items: center;
  min-width: 26px; height: 26px; padding: 0 7px; border-radius: 13px;
  background: var(--tag); color: var(--tag-ink); border: 1.5px solid var(--ink);
  font: 700 12px var(--font-mono);
}
.ct-cm-taken-btn:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }

.ct-cm-taken {
  /* Velo nero in tutti e due i temi: con --ink il velo del tema scuro era chiaro. Foglio dal basso: il <dialog> modale è centrato dal browser, qui lo si appoggia al fondo */
  position: fixed; inset: auto 0 0 0; margin: 0;
  width: 100%; max-width: 100%; max-height: 92vh;
  overflow-y: auto; overscroll-behavior: contain;
  padding: 10px 16px calc(var(--safe-area-bottom, var(--safe-bottom, 0px)) + 16px);
  background: var(--surface); color: var(--ink);
  border: 0; border-top: 2px solid var(--ink); border-radius: 18px 18px 0 0;
  overflow-wrap: anywhere; box-sizing: border-box;
}
.ct-cm-taken[open] { display: flex; flex-direction: column; gap: 14px; }
.ct-cm-taken::backdrop { background: color-mix(in srgb, black 50%, transparent); }
.ct-cm-taken.is-fallback { z-index: 606; box-shadow: 0 -12px 0 100vh color-mix(in srgb, black 50%, transparent); }
.ct-cm-taken *, .ct-cm-taken *::before, .ct-cm-taken *::after { box-sizing: border-box; }
/* Sentinelle del fuoco: passano il fuoco altrove, non si vedono */
.ct-cm-taken [data-edp-trap] { outline: none; height: 0; }
.ct-cm-taken__grab { width: 44px; height: 5px; border-radius: 3px; background: var(--rule); margin: 0 auto; }
.ct-cm-taken__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ct-cm-taken__title { margin: 0; font-weight: 900; font-size: 18px; line-height: 1.25; }
.ct-cm-taken__close { min-width: 44px; min-height: 44px; flex: none; }

.ct-cm-taken__meter { display: grid; gap: 6px; }
.ct-cm-taken__none { margin: 0; font-size: 14px; color: var(--ink-soft); }
.ct-cm-taken__bar {
  display: flex; height: 12px; overflow: hidden;
  border-radius: 6px; background: var(--surface-sunk); border: 1.5px solid var(--ink);
}
.ct-cm-taken__seg { display: block; height: 100%; }
.ct-cm-taken__seg--received, .ct-cm-taken__dot--received { background: var(--save); }
.ct-cm-taken__seg--confirmed, .ct-cm-taken__dot--confirmed { background: var(--brand); }
.ct-cm-taken__seg--cancelled, .ct-cm-taken__dot--cancelled { background: var(--danger); }
.ct-cm-taken__legend { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0; font-size: 13px; color: var(--ink-soft); }
.ct-cm-taken__legend span { display: inline-flex; align-items: center; gap: 5px; }
.ct-cm-taken__dot { display: inline-block; width: 10px; height: 10px; border-radius: 2px; }
.ct-cm-taken__notice { margin: 0; font-size: 14px; color: var(--ink-soft); }
.ct-cm-taken__notice:empty { display: none; }
/* I quattro stati su due colonne: a 412 px quattro in fila spezzavano «Annullato» */
.ct-cm-taken .ct-cm-states__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ct-cm-taken .ct-cm-composer { margin: 0; }

@media (max-width: 639.98px) {
  /* Largo quanto cuore e condividi (44 px), col contatore come pallino sull'angolo: con la scritta, o anche solo il
     contatore accanto, a 412 px le icone andavano nella riga sotto (prova del 17-11) */
  .ct-cm-taken-btn { position: relative; width: 44px; min-height: 44px; height: 44px; padding: 0; justify-content: center; font-size: 1.15rem; }
  .ct-cm-taken-btn__gauge {
    position: absolute; top: -9px; right: -9px;
    min-width: 22px; height: 22px; padding: 0 5px; border-radius: 11px; font-size: 11px;
  }
  .ct-cm-taken-btn__text {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
}
@media (min-width: 640px) {
  .ct-cm-taken:not(.is-fallback) {
    inset: 0; margin: auto; width: min(520px, calc(100vw - 32px)); height: fit-content; max-height: 88vh;
    padding: 16px 18px 18px; border: 2px solid var(--ink); border-radius: 18px; box-shadow: var(--shadow-hard);
  }
  .ct-cm-taken:not(.is-fallback) .ct-cm-taken__grab { display: none; }
  .ct-cm-taken .ct-cm-states__row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: no-preference) {
  .ct-cm-taken[open] { animation: ct-cm-taken-in 0.18s ease-out; }
}
@keyframes ct-cm-taken-in { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }
