.emilly-ux-launcher{position:fixed;right:20px;bottom:max(20px,env(safe-area-inset-bottom));z-index:890;display:flex;align-items:center;gap:10px;min-height:48px;border:1px solid #ffffff8a;border-radius:30px;padding:12px 20px;background:#b8461b;color:white;box-shadow:0 8px 28px #0003;font-size:15px;font-weight:600}.emilly-ux-launcher>span:first-child{font-size:23px}
.emilly-ux-panel{position:fixed;inset:auto 20px 20px auto;margin:0;width:min(440px,calc(100vw - 40px));height:min(760px,calc(100dvh - 40px));max-height:calc(100dvh - 40px);max-width:100%;padding:0;border:1px solid #ddd2;border-radius:24px;background:#f7f2ec;color:#111;overflow:hidden;box-shadow:0 18px 60px #0004}.emilly-ux-panel[open]{display:flex;flex-direction:column}.emilly-ux-panel::backdrop{background:#0006}.emilly-ux-heading{position:static;display:flex;justify-content:space-between;gap:16px;padding:22px 24px;background:#161412;color:white;flex:none}.emilly-ux-heading p{font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:#e9b696;margin:0 0 7px}.emilly-ux-heading h2{font-size:28px;line-height:1.1;letter-spacing:-.03em;margin:0}.emilly-ux-heading span{font-size:13px;color:#ddd}.emilly-ux-panel button{cursor:pointer;font:inherit;min-height:44px;border:1px solid #b9ada2;border-radius:12px;padding:9px 12px;background:#fff;color:#111}.emilly-ux-heading button{width:44px;flex:none;align-self:start;background:#fff1;color:white;border-color:#fff5;font-size:28px;line-height:1}.emilly-ux-body{min-height:0;overflow:auto;overscroll-behavior:contain;padding:22px 24px;flex:1}.emilly-ux-welcome{font-size:16px;line-height:1.6;margin:0 0 18px}.emilly-ux-profiles{display:grid;grid-template-columns:1fr 1fr;gap:8px}.emilly-ux-profiles button{font-size:13px;text-align:left}.emilly-ux-profiles [aria-pressed=true]{background:#111;color:white;border-color:#111}.emilly-ux-profile-note{font-size:12px;color:#555;margin:12px 0 20px}.emilly-ux-log{display:grid;gap:12px}.emilly-ux-message{padding:14px;border-radius:14px;background:#fff;border:1px solid #ded7ce;overflow-wrap:anywhere}.emilly-ux-message.user{background:#ede4d9;margin-left:24px}.emilly-ux-message strong{font-size:12px}.emilly-ux-message p{white-space:pre-wrap;font-size:15px;line-height:1.6;margin:6px 0}.emilly-ux-message a{display:block;color:#943813;text-decoration:underline;padding:8px 0;font-size:14px;min-height:44px}.emilly-ux-compose{background:#f7f2ec;padding:14px 24px 18px;border-top:1px solid #ddd4cb;flex:none}.emilly-ux-privacy{font-size:11px;color:#555;line-height:1.5;margin:0 0 10px}.emilly-ux-compose label{display:block;font-size:12px;font-weight:600;margin-bottom:7px}.emilly-ux-input-row{display:flex;gap:8px;align-items:stretch}.emilly-ux-input-row textarea{min-width:0;flex:1;resize:none;border:1px solid #aaa;border-radius:12px;padding:12px;background:#fff;color:#111;font:inherit;font-size:16px;line-height:1.35}.emilly-ux-input-row button{background:#b8461b;color:#fff;border-color:#b8461b;font-size:13px}.emilly-ux-panel button:disabled{opacity:.6;cursor:wait}.emilly-ux-actions{display:flex;gap:6px;flex-wrap:wrap;align-items:center;margin-top:8px}.emilly-ux-actions button,.emilly-ux-actions a{font-size:12px;min-height:44px;padding:10px 6px;background:transparent;border-color:transparent}.emilly-ux-actions a{text-decoration:underline;color:#111}.emilly-ux-actions [hidden]{display:none}.emilly-ux-status{font-size:12px;line-height:1.4;margin:0;color:#555}.emilly-ux-panel :focus-visible{outline:3px solid #005fcc;outline-offset:3px}.emilly-ux-launcher:hover{transform:translateY(-2px);background:#963813;transition:transform 160ms cubic-bezier(0,0,.2,1),background 160ms ease-out}
@media(max-width:600px){.emilly-ux-launcher{right:12px;bottom:12px;padding:10px 16px}.emilly-ux-panel{inset:0;width:100%;height:100dvh;max-height:100dvh;border-radius:0}.emilly-ux-heading{padding:18px 20px}.emilly-ux-body{padding:18px 20px}.emilly-ux-compose{padding:12px 20px max(12px,env(safe-area-inset-bottom))}.emilly-ux-privacy{font-size:11px}}
@media(prefers-reduced-motion:reduce){.emilly-ux-launcher{transition:none!important;transform:none!important}}
.emilly-ux-suggestions{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.emilly-ux-suggestions button{font-size:12px;text-align:left}
