/* Compositor común de los chats (contenido, proyectos y brief de marketing). Toma los colores del
   estudio (--e-*) cuando existen y, si no, los de la portada; funciona en claro y oscuro. */
.c-comp { --c-bg: var(--e-panel, #fff); --c-ink: var(--e-text, var(--ink, #20201f)); --c-dim: var(--e-dim, var(--muted, #66645f)); --c-line: var(--e-line, var(--line, #dedbd4)); --c-soft: var(--e-soft, var(--soft, #efede7)); --c-accent: var(--e-accent, #bc3b32);
  display: grid; gap: 6px; min-width: 0; margin: 0; text-align: left; }
.c-caja { background: var(--c-bg); color: var(--c-ink); border: 1px solid var(--c-line); border-radius: 24px; padding: 12px 14px 10px 18px; box-shadow: 0 4px 20px rgba(0,0,0,.04); transition: border-color .15s ease; }
.c-caja:focus-within { border-color: var(--c-ink); }
.c-comp textarea.c-texto { display: block; width: 100%; min-height: 76px; max-height: 40vh; margin: 0; padding: 4px 2px; border: 0; border-radius: 0; background: transparent; color: var(--c-ink); font: inherit; font-size: 16px; line-height: 1.5; resize: vertical; box-shadow: none; }
.c-comp textarea.c-texto:focus { outline: none; }
.c-comp textarea.c-texto::placeholder { color: var(--c-dim); }
.c-herr { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.c-der { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.c-ico { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 42px; height: 42px; min-width: 42px; padding: 0; border: 0; border-radius: 50%; background: var(--c-soft); color: var(--c-ink); cursor: pointer; }
.c-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.c-ico.is-enviar { background: var(--c-ink); color: var(--c-bg); }
.c-ico.is-grabando { background: var(--c-accent); color: #fff; }
.c-ico.is-grabando svg { fill: currentColor; stroke: none; }
.c-ico:disabled { opacity: .45; cursor: not-allowed; }
.c-ico:hover:not(:disabled) { filter: brightness(.94); }
.c-comp :focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; }
.c-tiempo { font-size: 13px; font-variant-numeric: tabular-nums; color: var(--c-accent); }
.c-cancelar { border: 0; background: transparent; color: var(--c-dim); font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; padding: 6px 4px; }
.c-adjuntos { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 6px; }
.c-adjunto { display: flex; align-items: center; gap: 6px; max-width: 220px; padding: 4px 4px 4px 4px; border: 1px solid var(--c-line); border-radius: 10px; font-size: 12px; }
.c-adjunto img { width: 40px; height: 40px; object-fit: cover; border-radius: 6px; display: block; }
.c-adjunto span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-adjunto button { border: 0; background: transparent; color: var(--c-dim); font-size: 18px; line-height: 1; padding: 4px 6px; cursor: pointer; }
.c-nota { margin: 0; font-size: 13px; line-height: 1.5; color: var(--c-dim); }
.c-nota:empty { display: none; }
.c-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
