.spot-launcher{position:fixed;z-index:40;right:22px;bottom:22px;display:flex;align-items:center;gap:10px;background:#fffaf2;color:#17204d;border:2px solid #f77a45;border-radius:40px;padding:7px 17px 7px 7px;box-shadow:0 0 0 3px #ffffffcc,0 6px 26px #10162b38;font:700 14px Manrope,Arial,sans-serif;cursor:pointer}.spot-face{position:relative;display:inline-block;flex:0 0 48px;width:48px;height:48px;border-radius:50%;background:#f77a45}.spot-eye{position:absolute;top:16px;width:5px;height:5px;background:white;border-radius:50%}.spot-eye.left{left:14px}.spot-eye.right{right:14px}.spot-smile{position:absolute;left:17px;top:25px;width:14px;height:8px;border:2.5px solid white;border-top:0;border-radius:0 0 12px 12px}.spot-face[data-state=thinking]{animation:spot-think 1.1s ease-in-out infinite}.spot-face[data-state=thinking] .spot-smile{height:0;border-radius:4px;top:29px}.spot-face[data-state=happy]{animation:spot-happy .45s ease-out}.spot-face[data-state=satisfied] .spot-eye{height:3px;border-radius:4px}.spot-face[data-state=satisfied]{animation:spot-nod .5s ease-out}.spot-dialog{width:min(430px,calc(100% - 24px));max-height:85dvh;padding:0;border:1px solid #dce0eb;border-radius:18px;color:#17204d;background:#fff;font:14px/1.65 Manrope,Arial,sans-serif;overflow:hidden;box-shadow:0 20px 80px #10163640}.spot-dialog[open]{display:flex;flex-direction:column}.spot-dialog::backdrop{background:#17204d66}.spot-header{padding:14px 18px;display:flex;justify-content:space-between;align-items:center;flex-shrink:0;border-bottom:1px solid #e4e6ef}.spot-identity{display:flex;align-items:center;gap:12px;font-size:19px}.spot-dialog button{font:inherit;cursor:pointer;min-height:44px}.spot-close{border:0;background:#f0f2f8;border-radius:25px;padding:8px 14px;color:#17204d}.spot-body{padding:20px;overflow:auto;min-height:0}.spot-body h2{font-size:25px;line-height:1.25;margin:0 0 12px}.spot-actions{display:grid;gap:8px}.spot-actions button,.spot-answer button{border:1px solid #d9deed;border-radius:8px;color:#17204d;background:#f6f7fc;padding:10px 14px;text-align:left}.spot-answer{margin-top:20px}.spot-answer a{display:block;color:#304dcc;margin:15px 0}.spot-answer h3{font-size:18px}.spot-caption{font-size:11px;color:#58627a;line-height:1.6}.spot-answer textarea{display:block;width:100%;box-sizing:border-box;border:1px solid #cdd3e2;border-radius:8px;resize:vertical;padding:10px;font:inherit;margin:10px 0}.spot-answer label{font-weight:700}.spot-launcher:focus-visible,.spot-dialog button:focus-visible{outline:3px solid #304dcc;outline-offset:3px}@keyframes spot-think{50%{transform:rotate(7deg)}}@keyframes spot-happy{50%{transform:translateY(-4px)}}@keyframes spot-nod{50%{transform:translateY(3px)}}@media(prefers-reduced-motion:reduce){.spot-face{animation:none!important}}@media(max-width:480px){.spot-launcher{right:12px;bottom:12px}.spot-body{padding:18px}}

.dotty-feature[hidden]{display:none!important}.dotty-feature{background:#fffaf2;color:#17204d;border:1px solid #ffc1a4;border-radius:14px;padding:22px;margin:26px 0}.dotty-feature-heading{display:flex;gap:14px;align-items:center}.dotty-feature .eyebrow{color:var(--brand-ink,#19204e)!important;margin:0 0 5px!important;font-size:11px}.dotty-feature h3{font:700 21px/1.3 Manrope,Arial,sans-serif;margin:0}.dotty-feature p{color:#354265!important;font-size:13px}.dotty-feature button{display:inline-flex;gap:24px;align-items:center;padding:12px 18px;border:0;border-radius:9px;background:#ff8057;color:white;font:700 14px Manrope,Arial,sans-serif;cursor:pointer;min-height:44px}.dotty-feature .dotty-feature-status{font-size:11px;margin-bottom:0;line-height:1.6}.dotty-feature button:focus-visible{outline:3px solid #3452e1;outline-offset:3px}

.spot-answer p:not(.spot-caption){white-space:pre-line}

/* Non-modal messenger: keep the page usable while Dotty is open. */
.spot-dialog{position:fixed;inset:auto 22px 94px auto;margin:0;width:410px;max-width:calc(100vw - 28px);height:650px;max-height:calc(100dvh - 120px);z-index:60;display:flex;flex-direction:column;box-sizing:border-box;font-size:14px;line-height:1.55;box-shadow:0 12px 50px #10163630;animation:spot-arrive .2s ease-out}
.spot-dialog[hidden]{display:none!important}.spot-dialog .spot-header{padding:14px 16px;background:#fffaf5}.spot-identity{font-size:17px;min-width:0}.spot-identity small{display:block;font-size:10px;font-weight:400;color:#58627a}.spot-close{font-size:25px!important;min-width:44px;line-height:1}.spot-body{flex:1;position:relative;padding:16px;overscroll-behavior:contain;background:#f8f8fc;scrollbar-gutter:stable}.spot-message{padding:12px 14px;background:#fff;border:1px solid #e5e6ef;border-radius:14px 14px 14px 4px;margin:0 20px 14px 0;overflow-wrap:anywhere}.spot-message p{margin:0 0 9px}.spot-message p:last-child{margin:0}.spot-message ul{padding-left:19px;margin:0}.spot-message li+li{margin-top:6px}.spot-speaker{font-size:10px;display:block;letter-spacing:.04em;font-weight:800;margin-bottom:5px;color:#6a7085}.spot-user{margin-left:28px;margin-right:0;border-color:#ffd2bd;border-radius:14px 14px 4px 14px;background:#fff0e7}.spot-thinking{color:#626b83}.spot-message a{display:block;color:#293dc4;margin-top:10px;text-decoration:underline;text-underline-offset:3px}.spot-message .spot-result{padding:11px;margin-top:10px;border:1px solid #dfe3ed;border-radius:10px;text-decoration:none;color:#17204d;background:#fcfcfe;transition:border-color .18s,transform .18s}.spot-result:hover{border-color:#f77a45;transform:translateY(-1px)}.spot-result strong,.spot-result small,.spot-result span{display:block}.spot-result strong{font-size:13px;line-height:1.4}.spot-result small{font-size:10px;margin-top:4px}.spot-result-status{color:var(--brand-ink,#19204e);font-size:10px;font-weight:800;margin:7px 0 4px}.spot-actions{display:flex;flex-wrap:wrap;gap:6px;padding:10px 14px;border-top:1px solid #e4e6ef}.spot-actions button{font-size:11px;min-height:34px;border-radius:20px;padding:5px 10px;background:white}.spot-compose{padding:12px 14px 10px;border-top:1px solid #e4e6ef;background:white;flex-shrink:0}.spot-input-label{display:block;font-size:11px;font-weight:700;margin-bottom:6px}.spot-input-row{display:flex;align-items:flex-end;gap:8px}.spot-compose textarea,.spot-message textarea{box-sizing:border-box;width:100%;display:block;resize:vertical;max-height:120px;min-height:54px;border:1px solid #ccd2e2;border-radius:9px;padding:10px;font:inherit;color:#17204d;background:#fff}.spot-compose .spot-send{background:#ff8057;border:0;color:white;border-radius:9px;padding:10px;white-space:nowrap;font-weight:750}.spot-dialog button:disabled{opacity:.5;cursor:wait}.spot-confirm{display:flex;align-items:flex-start;gap:6px;font-size:10px;line-height:1.4;font-weight:400;margin-top:10px;color:#58627a}.spot-confirm[hidden]{display:none}.spot-confirm input{margin:2px 0 0;flex:0 0 auto}.spot-about{font-size:10px;color:#58627a;margin-top:7px;max-height:130px;overflow:auto}.spot-about summary{cursor:pointer;min-height:24px}.spot-about p{margin:6px 0}.spot-about a{color:#293dc4}.spot-about button,.spot-message button{border:1px solid #ccd2e2;border-radius:7px;background:#fff;color:#17204d;padding:7px 10px;font-size:11px;margin:8px 0 0;display:block}.spot-dialog a:focus-visible,.spot-dialog textarea:focus-visible,.spot-dialog input:focus-visible,.spot-dialog summary:focus-visible{outline:3px solid #304dcc;outline-offset:2px}@keyframes spot-arrive{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}@media(max-width:480px){.spot-dialog{right:8px;bottom:84px;width:calc(100vw - 16px);max-width:none;max-height:calc(100dvh - 100px);height:620px}.spot-dialog .spot-header{padding:10px 12px}.spot-body{padding:12px}.spot-message{margin-right:10px}.spot-user{margin-left:22px;margin-right:0}.spot-compose textarea{font-size:16px}.spot-compose{padding:10px 12px}.spot-actions{padding:8px 12px}}@media(prefers-reduced-motion:reduce){.spot-dialog{animation:none}.spot-result{transition:none!important;transform:none!important}}
.spot-dialog .spot-input-label{margin:0 0 6px}.spot-dialog .spot-confirm{width:100%;max-width:100%;margin:9px 0 0;display:flex;align-items:flex-start}.spot-dialog .spot-confirm[hidden]{display:none}.spot-dialog .spot-confirm input[type=checkbox]{width:16px;height:16px;min-width:16px;max-width:16px;min-height:16px;max-height:16px;flex:0 0 16px;padding:0;margin:1px 0 0;accent-color:#b9441d}.spot-dialog .spot-confirm span{display:block;flex:1;min-width:0}.spot-dialog .spot-compose{margin:0}.spot-dialog .spot-input-row textarea{min-width:0}

/* Expressions stay inside the face so the messenger header never shifts. */
.spot-face{background:#ff8057}
.spot-eye,.spot-smile{box-sizing:border-box;transition:transform .3s ease,height .2s ease,width .2s ease,left .2s ease,border-radius .2s ease}
.spot-launcher:is(:hover,:focus-visible) .spot-face:not([data-state=thinking]) .spot-smile,.spot-identity:hover .spot-face:not([data-state=thinking]) .spot-smile{left:14px;top:24px;width:20px;height:11px;border-radius:0 0 16px 16px}
.spot-face[data-state=happy] .spot-eye{height:4px;top:15px}
.spot-face[data-state=happy] .spot-smile{left:16px;top:24px;width:16px;height:11px;background:white;border-radius:2px 2px 12px 12px}
.spot-face[data-state=thinking]{animation:dotty-consider 1.8s ease-in-out infinite}
.spot-face[data-state=thinking] .spot-eye{transform:translate(2px,-2px)}
.spot-face[data-state=thinking] .spot-eye.right{height:3px}
.spot-face[data-state=thinking] .spot-smile{left:23px;top:29px;width:10px;height:0;border-bottom-width:3px;transform:rotate(-12deg)}
.spot-face[data-gaze=left] .spot-eye{transform:translate(-3px,0)}
.spot-face[data-gaze=right] .spot-eye{transform:translate(3px,0)}
.spot-face[data-gaze=up] .spot-eye{transform:translate(1px,-3px)}
.spot-face[data-gaze=left] .spot-smile{transform:translate(-2px,0)}
.spot-face[data-gaze=right] .spot-smile{transform:translate(2px,0)}
.spot-face[data-gaze=up] .spot-smile{transform:translate(1px,-1px)}
@keyframes dotty-consider{50%{transform:rotate(-4deg)}}
@media(prefers-reduced-motion:reduce){.spot-eye,.spot-smile{transition:none!important}.spot-face[data-gaze] .spot-eye,.spot-face[data-gaze] .spot-smile{transform:none!important}}

.spot-compose .spot-send:not(:disabled):hover{background:#ff8057;box-shadow:0 4px 12px #ff805745}

/* Brand orange stays consistent on every Dotty feature action. */
.dotty-feature button:not(:disabled):hover{background:#ff8057;box-shadow:0 4px 12px #ff805745}

/* Only one messenger entry point is visible while the conversation is open. */
.spot-launcher[hidden]{display:none!important}
.spot-dialog{bottom:22px;max-height:calc(100dvh - 44px)}
@media(max-width:480px){.spot-dialog{bottom:12px;max-height:calc(100dvh - 24px)}}
