/* Guía: orientación cercana, sin interrumpir la visita. */
.guide-launcher{position:fixed;right:22px;bottom:max(20px,env(safe-area-inset-bottom));z-index:150;display:flex;align-items:center;gap:12px;border:1px solid #ffffff26;border-radius:22px;padding:10px 18px 10px 10px;background:#102f39;color:#fffaf5;box-shadow:0 8px 28px #091d2626;font-family:inherit;cursor:pointer;text-align:left;min-height:62px;transition:background-color 150ms ease,transform 140ms cubic-bezier(.23,1,.32,1)}
.guide-avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:#f7eee4;flex:none}
.guide-avatar img{width:28px;height:27px;object-fit:contain}
.guide-launcher strong{display:block;font-size:13px;font-weight:600;line-height:1.4}
.guide-launcher small{display:block;font-size:11px;color:#c7d3d6;margin-top:2px}
.guide-launcher .guide-mobile-label{display:none}
.guide-launcher:focus-visible,.guide-dialog :is(button,a,textarea):focus-visible{outline:3px solid #b65413;outline-offset:4px}
body:has(.mnav.open) .guide-launcher,body:has(dialog[open]) .guide-launcher,body:has(.modal) .guide-launcher{visibility:hidden}
body.has-guide .site-footer{padding-bottom:90px}
.guide-dialog{position:fixed;inset:auto 22px 20px auto;margin:0;width:420px;max-width:calc(100vw - 32px);height:min(720px,calc(var(--guide-vh,100dvh) - 40px));max-height:calc(var(--guide-vh,100dvh) - 40px);padding:0;border:1px solid #ded7cd;border-radius:26px;background:#fbf9f5;color:#191b17;box-shadow:0 24px 80px #091d2633;overflow:hidden}
.guide-dialog[open]{display:flex;flex-direction:column}
.guide-dialog::backdrop{background:#091d2633}
.guide-header{display:flex;align-items:center;gap:12px;background:white;padding:19px 18px;border-bottom:1px solid #e8e2d9;flex:none}
.guide-heading{min-width:0;flex:1}
.guide-heading h2{font-size:20px;line-height:1.1;letter-spacing:-.025em}
.guide-heading h2:focus{outline:none}
.guide-heading p{font-size:11px;color:#716356;margin:5px 0 0}
.guide-toolbar{display:flex;gap:2px}
.guide-icon-button{display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:12px;background:none;color:#716356;cursor:pointer;flex:none}
.guide-icon-button svg{width:19px;height:19px}
.guide-icon-button:disabled{opacity:.35;cursor:default}
.guide-context{padding:13px 22px 0;display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none}
.guide-context span{font:500 9px/1.4 'IBM Plex Mono',monospace;letter-spacing:.05em;text-transform:uppercase;color:#716356}
.guide-context button{background:none;border:0;padding:6px 0;font:500 11px/1.4 'Schibsted Grotesk',sans-serif;color:#843b19;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.guide-ai{margin:6px 22px 0;flex:none}
.guide-ai-row{display:flex;align-items:center;justify-content:space-between;gap:10px}
.guide-mode{font-size:11px;font-weight:600;color:#384044}
.guide-ai button,.guide-retry{font:600 11px/1.4 'Schibsted Grotesk',sans-serif;border:1px solid #ddcabb;border-radius:9px;background:white;color:#843b19;padding:8px 10px;min-height:36px;cursor:pointer}
.guide-ai button:disabled{color:#716356;background:transparent;border-color:transparent;cursor:default}
.guide-consent{padding:12px;margin-top:8px;background:#f1e9df;border:1px solid #ddcabb;border-radius:12px;max-height:210px;overflow:auto}
.guide-consent p{font-size:12px;line-height:1.55;margin:0 0 10px;color:#384044}
.guide-consent button{margin:0 5px 5px 0}
.guide-consent .guide-ai-confirm{background:#102f39;color:white;border-color:#102f39}
.guide-status{font-size:12px;line-height:1.5;margin:0 0 8px;color:#384044}
.guide-status:empty{display:none}
.guide-retry{margin-bottom:10px}
.guide-option:disabled{opacity:.55;cursor:wait}
.guide-consent[hidden],.guide-retry[hidden]{display:none}
.guide-dialog:has(.guide-consent:not([hidden])) .guide-log,.guide-dialog:has(.guide-consent:not([hidden])) .guide-bottom{display:none}
.guide-ai:has(.guide-consent:not([hidden])){flex:0 1 auto;min-height:0;overflow-y:auto;margin-bottom:20px}
.guide-consent:not([hidden]){max-height:none;overflow:visible}
.guide-log{min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain;padding:14px 22px 20px;scrollbar-width:thin;scrollbar-color:#d5c7b8 transparent;outline:none}
.guide-message{margin-bottom:20px;max-width:100%;overflow-wrap:anywhere}
.guide-message:last-child{margin-bottom:0}
.guide-message-label{font:500 10px/1.4 'IBM Plex Mono',monospace;color:#716356;margin:0 0 8px;text-transform:uppercase;letter-spacing:.04em}
.guide-message p:not(.guide-message-label){font-size:14px;line-height:1.65;white-space:pre-line;margin:0;color:#384044}
.guide-message--user{max-width:90%;width:fit-content;margin-left:auto;padding:12px 16px;border-radius:18px 18px 5px 18px;background:#f1dfcf}
.guide-message--user .guide-message-label{color:#80573d;font-size:9px;margin-bottom:5px}
.guide-message--user p:not(.guide-message-label){color:#573d2a}
.guide-links{display:grid;gap:8px;margin-top:14px}
.guide-link{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 15px;min-height:47px;background:white;border:1px solid #ddcabb;border-radius:13px;color:#843b19;font-size:13px;font-weight:600;line-height:1.4}
.guide-link svg{height:17px;width:17px;flex:none}
.guide-bottom{padding:0 18px max(16px,env(safe-area-inset-bottom));background:#fbf9f5;flex:none}
.guide-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:0 0 14px;padding-top:14px;border-top:1px solid #e8e2d9;max-height:160px;overflow:auto}
.guide-option{font:500 12px/1.4 'Schibsted Grotesk',sans-serif;text-align:left;min-height:44px;padding:10px 12px;border:1px solid #ded7cd;border-radius:13px;background:#fff;color:#4e453c;cursor:pointer}
.guide-options:empty{display:none}
.guide-composer{display:flex;align-items:flex-end;gap:8px;background:white;border:1px solid #d3c8bc;border-radius:17px;padding:7px 7px 7px 13px}
.guide-composer:focus-within{border-color:#a84b16;box-shadow:0 0 0 2px #a84b1626}
.guide-log:focus-visible{outline:2px solid #b65413;outline-offset:-3px}
.guide-input{display:block;min-width:0;flex:1;resize:none;min-height:36px;max-height:86px;border:0;background:none;padding:8px 0;font:400 16px/1.35 'Schibsted Grotesk',sans-serif;color:#191b17;outline:none!important;box-shadow:none}
.guide-input::placeholder{color:#716356}
.guide-send{border:0;border-radius:12px;background:#102f39;color:white;cursor:pointer;width:38px;height:38px;display:grid;place-items:center;flex:none}
.guide-send svg{width:20px;height:20px}
.guide-send:disabled{background:#ece7df;color:#998c7e;cursor:default}
.guide-privacy{font-size:10px;line-height:1.4;color:#716356;text-align:center;margin:10px 0 0}
.guide-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(hover:hover) and (pointer:fine){.guide-launcher:hover{background:#1a404c}.guide-option:hover,.guide-icon-button:not(:disabled):hover{background:#f2e9de}.guide-link:hover{border-color:#a84b16;background:#fffaf5}}
@media(max-width:560px){.guide-launcher{right:14px;bottom:max(16px,env(safe-area-inset-bottom));border-radius:19px;gap:8px;min-height:54px;padding:7px 14px 7px 7px}.guide-launcher .guide-avatar{width:38px;height:38px;border-radius:12px}.guide-launcher .guide-desktop-label,.guide-launcher small{display:none}.guide-launcher .guide-mobile-label{display:block}.guide-dialog{inset:calc(var(--guide-vtop,0px) + 8px) 8px auto 8px;width:calc(100vw - 16px);max-width:none;height:calc(var(--guide-vh,100dvh) - 16px);max-height:calc(var(--guide-vh,100dvh) - 16px);border-radius:23px}.guide-header{padding:15px 13px;gap:10px}.guide-log{padding-inline:17px}.guide-bottom{padding-inline:13px}.guide-context{padding-inline:17px}.guide-heading h2{font-size:19px}.guide-heading p{font-size:10px}.guide-icon-button{width:40px;height:44px}body[data-page=empezar] .guide-launcher,body[data-page=asistente] .guide-launcher{bottom:100px}}
@media(max-height:600px){.guide-header{padding-block:10px}.guide-context{padding-top:4px}.guide-options{max-height:140px;margin-bottom:8px;padding-top:8px}.guide-bottom{padding-bottom:8px}.guide-privacy{margin-top:6px}}
@media(prefers-reduced-motion:no-preference){html[data-csg-input=pointer] .guide-launcher:active{transform:scale(.98)}}
@media(forced-colors:active){.guide-launcher,.guide-dialog,.guide-link,.guide-option,.guide-composer,.guide-send{border:1px solid CanvasText}}

.guide-message--welcome h3{font-size:25px;line-height:1.18;letter-spacing:-.035em;margin:0 0 15px;color:#102f39;max-width:240px}
.guide-welcome:not(.guide-compact) .guide-log{flex:0 1 auto}
.guide-welcome:not(.guide-compact) .guide-bottom{display:flex;flex-direction:column;flex:1;min-height:0}
.guide-welcome:not(.guide-compact) .guide-options{flex:none;border-top:0;padding-top:0;max-height:none}
.guide-welcome:not(.guide-compact) .guide-composer{margin-top:auto}
.guide-compact .guide-options{display:flex;flex-wrap:nowrap;max-height:none;overflow-x:auto;padding-bottom:3px}
.guide-compact .guide-option{flex:0 0 auto;max-width:160px}
.guide-compact .guide-header{padding-block:8px}
.guide-compact .guide-context{padding-top:0}
.guide-compact .guide-privacy{margin-top:5px}
