/* Estilos exclusivos del diálogo de conversación de Guti. */
.gut-dialog.gut-chat { width: min(420px, calc(100vw - 24px)); height: min(660px, 86dvh); max-height: calc(100dvh - 16px); padding: 0; border: 1px solid #e6dfd1; border-radius: 20px; background: #fff; color: #203c40; overflow: auto; }
.gut-dialog.gut-chat[open] { display: flex; flex-direction: column; }
.gut-chat-header { flex: none; display: flex; align-items: center; gap: 12px; padding: 10px 16px; background: #f5efe2; }
.gut-chat-header img { width: 52px; height: 62px; object-fit: contain; }
.gut-chat-header h2 { margin: 3px 0; color: #203c40; font-family: var(--serif, Georgia, serif); font-size: 1.45rem; font-weight: 400; line-height: 1.05; }
.gut-chat-header p { margin: 0; color: #49615e; font-size: .8rem; }
.gut-chat-header .gut-chat-eyebrow { color: #80611f; font-size: .69rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.gut-chat-close { flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin-left: auto; align-self: flex-start; border: 0; border-radius: 50%; background: transparent; color: #203c40; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.gut-chat-close:hover { background: #e9dfce; }
.gut-chat-note { flex: none; margin: 0; padding: 9px 16px; background: #fff8df; color: #203c40; font-size: .8125rem; line-height: 1.4; }
.gut-messages { flex: 1 1 auto; min-height: 100px; overflow: auto; overscroll-behavior: contain; padding: 13px 16px; background: #f9f8f4; }
.gut-bubble { width: fit-content; max-width: 92%; margin: 0 0 9px; padding: 10px 13px; border-radius: 14px; color: #203c40; font-size: .875rem; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.gut-bubble-guti { border: 1px solid #e5e4dc; border-bottom-left-radius: 4px; background: #fff; }
.gut-bubble-user { margin-left: auto; border-bottom-right-radius: 4px; background: #e4eeea; }
.gut-choices { flex: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 7px 16px 0; }
.gut-choices button { min-height: 44px; padding: 7px 12px; border: 1px solid #aac4bc; border-radius: 999px; background: #fff; color: #244d48; font: inherit; font-size: .8125rem; font-weight: 700; cursor: pointer; }
.gut-choices button:hover { background: #eaf2ee; }
.gut-chat-form { flex: none; padding: 9px 16px; }
.gut-chat-form label { display: block; margin-bottom: 5px; color: #203c40; font-size: .8125rem; font-weight: 700; }
.gut-chat-compose { display: flex; gap: 7px; }
.gut-chat-compose input { flex: 1; min-width: 0; min-height: 44px; padding: 10px 11px; border: 1px solid #9aaea9; border-radius: 11px; background: #fff; color: #203c40; font: inherit; font-size: 1rem; }
.gut-chat-compose button { min-height: 44px; padding: 10px 18px; border: 0; border-radius: 11px; background: #7d2332; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.gut-chat-compose button:hover { background: #5d1926; }
.gut-chat-footer { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 16px; border-top: 1px solid #e7e9e3; font-size: .8125rem; }
.gut-chat-footer button, .gut-chat-footer a { min-height: 44px; display: inline-flex; align-items: center; }
.gut-chat-footer button { padding: 0; border: 0; background: none; color: #395750; font: inherit; text-align: left; text-decoration: underline; cursor: pointer; }
.gut-chat-footer a { justify-content: flex-end; color: #7d2332; font-weight: 700; text-align: right; }
.gut-chat :is(button, input, a):focus-visible { outline: 3px solid #c18b36; outline-offset: 2px; }
@media (max-width: 520px) { .gut-dialog.gut-chat { width: calc(100vw - 24px); height: min(660px, 88dvh); margin: auto 12px 12px; border-radius: 18px; } }
@media (max-height: 520px) { .gut-dialog.gut-chat { height: calc(100dvh - 16px); } .gut-chat-header img { width: 42px; height: 48px; } .gut-chat-header { padding-block: 5px; } }
