#npc-guide{--npc-teal:#005a5a;--npc-cream:#fbf8f1;position:fixed;right:20px;bottom:20px;z-index:110;font-family:'Gotham Pro',sans-serif;color:#193e3a;line-height:1.45}#npc-guide *{box-sizing:border-box}#npc-guide [hidden]{display:none!important}#npc-guide button,#npc-guide textarea{font-family:inherit}#npc-guide button{cursor:pointer}#npc-guide button:focus-visible,#npc-guide textarea:focus-visible{outline:3px solid #ba8b48;outline-offset:3px}.npc-launch{position:relative;display:flex;align-items:center;gap:10px;padding:7px 13px 7px 7px;border:1px solid #d4dcd1;border-radius:30px;background:var(--npc-cream);color:var(--npc-teal);box-shadow:0 4px 18px #173b3324;text-align:left;transition:background .15s,box-shadow .15s}.npc-launch:hover{background:#fffdf6;box-shadow:0 5px 22px #173b3338}.npc-launch strong{display:block;font-size:13px}.npc-launch small{display:block;font-size:10px;color:#60766a}.npc-launch svg{width:18px;height:18px;margin-left:3px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.npc-avatar{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:50%;background:#005a5a;color:#fcf7e8;font-family:'Prosto One',sans-serif;font-size:20px}.npc-unread{position:absolute;right:3px;top:1px;width:10px;height:10px;border:2px solid #fff;border-radius:50%;background:#b77f35}.npc-panel{width:350px;max-width:calc(100vw - 24px);height:470px;max-height:calc(var(--npc-height,100dvh) - 32px);display:flex;flex-direction:column;overflow:hidden;background:var(--npc-cream);border:1px solid #d1d8cc;border-radius:20px;box-shadow:0 16px 60px #123f3938}.npc-header{display:flex;gap:11px;align-items:center;padding:15px 14px;border-bottom:1px solid #e3e6dc}.npc-header .npc-avatar{width:40px;height:40px;font-size:23px}.npc-identity{flex:1}.npc-header h2{display:flex;align-items:center;gap:7px;margin:0;font-size:17px;font-weight:600}.npc-header h2 span{border:1px solid #cbd8ce;border-radius:5px;font:9px 'Gotham Pro',sans-serif;padding:1px 4px;color:#587269}.npc-header small{display:block;font-size:11px;color:#60756a}#npc-guide .npc-close{display:grid;place-items:center;flex:none;width:40px;height:40px;border:0;border-radius:50%;background:transparent;color:#40675c;font-size:25px}.npc-close:hover{background:#e8ede3}.npc-context{padding:8px 16px;background:#eef1e8;color:#537266;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.npc-log{flex:1;min-height:60px;overflow-y:auto;overscroll-behavior:contain;padding:18px 14px 6px;scrollbar-width:thin}.npc-message{margin:0 0 12px;padding:11px 13px;border-radius:14px;background:#eaeedf;color:#29453c;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55}.npc-message[data-role=user]{background:#0a625b;color:white;margin-left:35px;border-bottom-right-radius:4px}.npc-message[data-role=assistant]{margin-right:20px;border-bottom-left-radius:4px}.npc-message[data-pending=true]{color:#697b6d;font-size:12px}.npc-message[data-error=true]{background:#fff0df;color:#744a25}.npc-suggestions{display:flex;flex-wrap:wrap;gap:7px;padding:0 14px 10px}.npc-suggestions button{border:1px solid #d1d9ca;border-radius:16px;background:#fffdf5;padding:8px 10px;color:#3a6659;font-size:11px;min-height:34px}.npc-suggestions button:hover{background:#e7eedd;border-color:#8da794}.npc-state{padding:0 17px 6px;color:#7a8677;font-size:10px;min-height:20px}.npc-compose{display:flex;gap:8px;margin:0 12px;padding:5px 7px 5px 12px;border:1px solid #cfd8c9;border-radius:16px;background:#fffefa;align-items:flex-end}.npc-compose:focus-within{border-color:#6b9581;box-shadow:0 0 0 2px #005a5a0d}.npc-compose textarea{resize:none;border:0;background:transparent;color:#29453c;flex:1;min-width:0;height:40px;max-height:104px;padding:11px 0;font-size:13px;line-height:18px;outline:none!important;scrollbar-width:thin}#npc-guide .npc-send{border:0;border-radius:12px;background:#005a5a;color:white;width:40px;height:40px;flex:none;font-size:22px}#npc-guide .npc-send:disabled{background:#e7ebe0;color:#9aa593;cursor:default}.npc-foot{padding:9px 16px 12px;display:flex;align-items:center;justify-content:space-between;gap:6px;color:#7c8678;font-size:9px}.npc-reset{border:0;background:none;color:#527365;padding:4px 0;text-decoration:underline;text-underline-offset:3px;font-size:10px!important}
@media(max-width:600px){#npc-guide{right:12px;bottom:max(14px,env(safe-area-inset-bottom))}.npc-launch{gap:8px}.npc-launch small{display:none}.npc-launch svg{margin-left:0}.npc-panel{width:350px;height:min(490px,calc(var(--npc-height,100dvh) - 24px));max-height:calc(var(--npc-height,100dvh) - 24px)}#npc-guide.is-open{bottom:calc(12px + var(--npc-keyboard,0px))}.npc-compose textarea{font-size:16px}.npc-send,#npc-guide .npc-close{width:44px;height:44px}.npc-reset{min-height:32px}.npc-suggestions button{min-height:40px}}
@media(prefers-reduced-motion:reduce){.npc-launch{transition:none}}

/* Keep the helper in the toolbar, away from movement and map controls. */
#npc-guide.npc-docked{position:relative;inset:auto;flex:none;z-index:110}.npc-docked .npc-launch{box-shadow:none;padding:4px 10px 4px 4px;min-height:44px;gap:7px}.npc-docked .npc-launch-hint{display:none}.npc-docked .npc-avatar{width:30px;height:30px;font-size:18px}.npc-docked .npc-launch svg{width:16px;height:16px}.npc-docked.is-open .npc-launch{background:#e3ecdf;border-color:#7b9a84}.npc-docked .npc-panel{position:fixed;top:var(--npc-top,90px);right:16px;max-height:calc(var(--npc-height,100dvh) - var(--npc-top,90px) - 16px)}.npc-docked .npc-header .npc-avatar{width:40px;height:40px;font-size:23px}.npc-docked.npc-keyboard-open .npc-panel{top:auto;bottom:calc(12px + var(--npc-keyboard,0px));max-height:calc(var(--npc-height,100dvh) - 24px)}
@media(max-width:760px){.site-header:has(.npc-docked) .header-right>.button{display:none}.site-header:has(.npc-docked) .header-right{gap:8px}.npc-docked .npc-panel{right:12px;width:min(350px,calc(100vw - 24px))}.npc-docked .npc-launch svg{display:none}.npc-docked .npc-launch{padding-right:11px}.npc-docked .npc-launch strong{font-size:12px}}
@media(min-width:761px) and (max-width:1400px){.site-header:has(.npc-docked) .header-phone{display:none}.header:has(.npc-docked) .header-actions{gap:8px}.header:has(.npc-docked) nav{gap:16px}}

.npc-plan-summary{display:flex;flex-direction:column;gap:3px;margin:10px 14px 0;padding:10px 12px;border:1px solid #d5decc;border-radius:12px;background:#fffdf6}.npc-plan-summary strong{font-size:12px;font-weight:600;color:#205c4f}.npc-plan-summary span{font-size:10px;color:#70806d}.has-plan .npc-panel{height:520px}
.npc-plan-summary[data-conflict=true]{border-color:#d8c59d}.npc-plan-summary[data-conflict=true] span{color:#8b6b35}

.npc-shortcuts{display:flex;gap:8px;padding:0 14px 8px;flex:none}.npc-shortcuts a{display:flex;align-items:center;justify-content:center;flex:1;min-height:40px;padding:7px 10px;border-radius:10px;background:#e8eee4;color:#235e50;font-size:11px;text-decoration:none}.npc-shortcuts a:hover{background:#dce8d8}.npc-shortcuts a:focus-visible{outline:3px solid #ba8b48;outline-offset:2px}.npc-panel{height:540px}.has-plan .npc-panel{height:580px}.npc-header,.npc-context,.npc-compose,.npc-foot{flex:none}.npc-message{line-height:1.6}
@media(max-width:600px){.npc-panel,.has-plan .npc-panel{height:min(580px,calc(var(--npc-height,100dvh) - var(--npc-top,90px) - 16px))}.npc-suggestions button{font-size:11px}.npc-shortcuts a{min-height:44px}}
.npc-docked .npc-shortcuts{height:auto;min-height:0}
.npc-docked .npc-log{min-height:0}
