/* Dark signature launcher; the conversation retains Nexo's light surface. */
.nexo-chat-launch{position:fixed;z-index:14;right:28px;bottom:calc(var(--dock-height,58px) + 18px);display:flex;align-items:center;gap:13px;min-height:56px;padding:12px 23px 12px 18px;border:1px solid #ffffff18;background:linear-gradient(140deg,#1c202a,#10131a 72%);color:#fff;border-radius:32px;box-shadow:0 6px 20px #10151d1c,0 1px 3px #10151d12;font-size:15px;font-weight:500;line-height:1.4;white-space:nowrap;transition:box-shadow .25s,transform .25s}
.nexo-chat-launch:hover{box-shadow:0 8px 25px #10151d29,0 1px 3px #10151d12;transform:translateY(-2px)}.nexo-chat-launch:active{transform:translateY(0)}.nexo-chat-launch:focus-visible{outline:2px solid var(--blue);outline-offset:4px}.nexo-chat-launch img{width:29px;height:29px;flex-shrink:0}.chat-launch-short{display:none}.nexo-chat-launch[aria-expanded=true]{visibility:hidden}
dialog.nexo-chat{position:fixed;inset:auto 24px 24px auto;margin:0;padding:0;width:464px;max-width:calc(100vw - 32px);height:min(760px,calc(var(--chat-vh,100dvh) - 48px));max-height:calc(var(--chat-vh,100dvh) - 32px);overflow:hidden;border:1px solid var(--line);border-radius:18px;background:var(--paper);color:var(--ink);box-shadow:0 20px 90px #10151d26;overscroll-behavior:contain}
dialog.nexo-chat[open]{display:flex;flex-direction:column}dialog.nexo-chat::backdrop{background:#10151d25;backdrop-filter:blur(3px);animation:chat-backdrop .35s ease-out}
.nexo-chat .chat-head{display:flex;align-items:center;gap:12px;padding:21px 22px 18px;border-bottom:1px solid var(--line);flex-shrink:0}.chat-head>img{width:30px;height:30px}.nexo-chat h2{font-family:Space,Manrope,sans-serif;font-size:21px;letter-spacing:-.035em;line-height:1.3;margin:0;font-weight:500}.chat-head small{font-size:12px;color:var(--muted);display:block;margin-top:3px}.chat-head .chat-close{margin-left:auto;display:grid;place-items:center;min-width:44px;min-height:44px;border:1px solid var(--line);border-radius:50%;padding:0}.chat-close svg{width:20px;height:20px}
.chat-scroll{flex:1;min-height:0;overflow-y:auto;padding:22px;overscroll-behavior:contain;scrollbar-gutter:stable}.chat-intro .chat-kicker{font-size:12px;color:var(--blue);letter-spacing:.08em;text-transform:uppercase;margin:0 0 12px}.nexo-chat .chat-intro h3{font-family:Space,Manrope,sans-serif;font-size:32px;font-weight:400;letter-spacing:-.05em;line-height:1.12;margin:0 0 14px;max-width:300px}.chat-intro>p{font-size:15px;color:var(--muted);line-height:1.65;margin:0 0 18px}.chat-presets{display:grid;border-top:1px solid var(--line);margin:22px 0}.chat-presets>button{text-align:left;border-bottom:1px solid var(--line);min-height:51px;padding:12px 0;display:flex;align-items:center;gap:14px;font-size:15px}.chat-presets>button>span{font:12px Space,sans-serif;color:var(--blue)}.chat-presets>button:hover{color:var(--blue)}
.chat-preview-note{font-size:13px;color:var(--muted);line-height:1.6;margin:18px 0;padding-left:12px;border-left:2px solid #2638f54d}.chat-message{padding:17px 0;border-top:1px solid var(--line);overflow-wrap:anywhere}.chat-message-label{display:block;font-size:12px;letter-spacing:.035em;font-weight:600;color:var(--blue);margin-bottom:7px}.chat-message p{font-size:15px;line-height:1.7;white-space:pre-wrap;margin:0}.chat-message[data-speaker=user]{padding:16px;background:#2638f508;border:0;border-radius:3px;margin:18px 0}.chat-message[data-speaker=user] .chat-message-label{color:var(--muted)}.chat-message[data-speaker=notice] p{font-size:14px;color:var(--muted)}.chat-message[data-speaker=notice]{border:0;padding:14px 0}
.chat-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.chat-actions button{font-size:14px;line-height:1.45;color:var(--blue);border:1px solid #2638f52e;border-radius:5px;padding:10px 12px;min-height:42px;text-align:left}.chat-actions button:hover{background:#2638f508}.chat-sample-label{display:block;text-transform:uppercase;color:var(--muted);font-size:12px;letter-spacing:.08em;margin:28px 0 10px}.chat-compose{max-height:max(120px,calc(var(--chat-vh,100dvh) * .5));overflow-y:auto;border-top:1px solid var(--line);padding:14px 20px 16px;background:var(--paper);flex-shrink:0}.chat-compose label{display:block;font-size:14px;margin-bottom:8px}.chat-field{display:flex;align-items:flex-end;border:1px solid #c3cad9;border-radius:9px;padding:8px;gap:8px;background:#fff}.chat-field:focus-within{border-color:var(--blue)}.nexo-chat textarea{margin:0;border:0;border-radius:0;resize:none;width:100%;min-height:48px;max-height:100px;background:transparent;box-shadow:none;padding:5px 6px;color:var(--ink);font-size:16px;line-height:1.5;outline-offset:1px}.chat-field button{flex-shrink:0;min-height:42px;max-width:112px;padding:9px 13px;background:var(--blue);color:#fff;border-radius:5px;font-size:13px;line-height:1.35}.chat-field button:disabled{opacity:.45}.chat-compose .chat-privacy{font-size:12px;line-height:1.55;color:var(--muted);margin:9px 0 0}.chat-privacy button{font:inherit;text-decoration:underline;text-underline-offset:3px;padding:0;color:var(--blue)}.chat-tools{display:flex;justify-content:space-between;gap:12px;margin-top:10px}.chat-tools button{font-size:12px;padding:5px 0;color:var(--muted)}.chat-tools button:hover{color:var(--blue)}.chat-status{font-size:13px;line-height:1.5;color:var(--muted);margin:10px 0 0}.chat-status:empty{display:none}
body.chat-open{overflow:hidden}body.chat-open .nexo-chat-launch{visibility:hidden}@keyframes chat-backdrop{from{background:#10151d00;backdrop-filter:blur(0)}to{background:#10151d25;backdrop-filter:blur(3px)}}
@media(max-width:600px){.nexo-chat-launch{right:16px;bottom:calc(var(--dock-height,56px) + 12px);min-height:48px;padding:10px 18px 10px 13px;gap:9px;font-size:14px}.nexo-chat-launch img{width:26px;height:26px}.chat-launch-full{display:none}.chat-launch-short{display:inline}dialog.nexo-chat{inset:var(--chat-top,0px) 0 auto 0;margin:0;width:100%;max-width:100%;height:var(--chat-vh,100dvh);max-height:var(--chat-vh,100dvh);border:0;border-radius:0}.nexo-chat .chat-head{padding:calc(12px + env(safe-area-inset-top)) 18px 12px}.chat-scroll{padding:19px}.chat-compose{padding:12px 16px calc(12px + env(safe-area-inset-bottom))}.nexo-chat .chat-intro h3{font-size:30px}.chat-field button{max-width:95px;padding:8px 10px}.nexo-chat .chat-head h2{font-size:20px}}
@media(max-height:500px){.nexo-chat .chat-head{padding:8px 16px}.chat-head small{display:none}.chat-head .chat-close{min-height:38px;min-width:38px}.chat-scroll{padding:14px 18px}.chat-compose{padding-top:8px;padding-bottom:8px}.chat-compose label{margin-bottom:4px}.chat-compose .chat-privacy,.chat-tools{margin-top:4px}.chat-privacy{max-height:40px;overflow:auto}.nexo-chat textarea{min-height:40px}.chat-intro .chat-kicker{margin-bottom:7px}}
@media(prefers-reduced-motion:reduce){dialog.nexo-chat::backdrop,.nexo-chat-launch{animation:none;transition:none}.nexo-chat-launch:hover{transform:none}}.motion-off dialog.nexo-chat::backdrop,.motion-off .nexo-chat-launch{animation:none;transition:none}.motion-off .nexo-chat-launch:hover{transform:none}

@media(min-width:601px) and (max-width:950px) and (max-height:500px){dialog.nexo-chat{inset:var(--chat-top,0px) 0 auto 0;width:100%;max-width:100%;height:var(--chat-vh,100dvh);max-height:var(--chat-vh,100dvh);border:0;border-radius:0}.chat-compose{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(200px,1fr);column-gap:24px}.chat-compose label{grid-column:1;grid-row:1}.chat-compose .chat-field{grid-column:1;grid-row:2}.chat-compose .chat-status{grid-column:1;grid-row:3;margin-top:4px}.chat-compose .chat-privacy{grid-column:2;grid-row:1 / span 2;max-height:none;align-self:center}.chat-compose .chat-tools{grid-column:2;grid-row:3;align-self:end}}

/* Functional chat controls, retained from the approved local widget. */
/* Additive local overlay, preserving the approved chat and reveal animation. */
.nexo-chat [hidden]{display:none!important}
.nexo-chat .chat-head small{display:block!important;font-size:12px;color:#4f596e}
.nexo-chat .chat-close{font-size:27px;line-height:1;min-width:44px!important;min-height:44px!important}
.nexo-chat #chat-send{min-width:44px;min-height:44px}
.nexo-chat .chat-scroll{scroll-behavior:auto}
.nexo-chat .chat-tools button,.nexo-chat .core-text-action,.nexo-chat .core-response-tools button{min-height:44px;padding:10px 0;font-size:13px;line-height:1.45;text-align:left;color:var(--blue)}
.nexo-chat .chat-tools{gap:16px;flex-wrap:wrap;margin-top:2px}
.nexo-chat .core-response-tools{display:flex;gap:18px;flex-wrap:wrap}
.nexo-chat .core-response-tools:has(>button:not([hidden])){margin-top:5px}
.nexo-chat .core-case{border-top:1px solid var(--line);margin-top:24px;padding:22px 0 12px;font-size:15px;line-height:1.65}
.nexo-chat .core-case h3{font:400 29px/1.15 Space,Manrope,sans-serif;letter-spacing:-.04em;margin:0 0 14px}
.nexo-chat .core-case h4{font-size:16px;line-height:1.5;margin:0 0 16px}
.nexo-chat .core-case label{display:block;font-size:14px;margin:18px 0 7px}
.nexo-chat .core-case input,.nexo-chat .core-case textarea{display:block;box-sizing:border-box;width:100%;min-width:0;max-height:none;padding:12px;border:1px solid #c3cad9;border-radius:6px;background:#ffffff85;font:400 16px/1.5 Manrope,sans-serif;color:var(--ink);min-height:46px;resize:vertical}
.nexo-chat .core-case textarea{min-height:110px;max-height:260px}
.nexo-chat .core-case input:focus,.nexo-chat .core-case textarea:focus{outline:2px solid var(--blue);outline-offset:2px}
.nexo-chat .core-primary{min-height:46px;min-width:140px;padding:11px 17px;border:0;border-radius:6px;background:var(--blue);color:white;font-size:14px;line-height:1.5;margin-top:12px}
.nexo-chat .core-primary:disabled{opacity:.5}
.nexo-chat .core-help{font-size:12px;line-height:1.6;color:var(--muted);margin:12px 0}
.nexo-chat .core-case-actions{display:flex;flex-wrap:wrap;gap:12px}
.nexo-chat #core-review-fields{padding:16px 0;border-block:1px solid var(--line);margin:16px 0;overflow-wrap:anywhere}
.nexo-chat #core-review-fields dt{color:var(--muted);font-size:12px;margin-top:10px}
.nexo-chat #core-review-fields dt:first-child{margin-top:0}
.nexo-chat #core-review-fields dd{margin:3px 0 0;white-space:pre-wrap}
.nexo-chat #core-case-status{color:var(--blue);font-size:14px;line-height:1.6}
.nexo-chat #core-data>.core-text-action{display:block;width:100%;border-bottom:1px solid var(--line)}
.nexo-chat #core-partial{font-size:15px;line-height:1.7;white-space:pre-wrap}
.nexo-chat #core-latest{position:sticky;bottom:0;background:var(--paper);width:100%;border-top:1px solid var(--line)}
.nexo-chat .core-stage-active>label,.nexo-chat .core-stage-active>.chat-field,.nexo-chat .core-stage-active>.chat-privacy,.nexo-chat .core-stage-active>.chat-tools,.nexo-chat .core-stage-active>.core-response-tools{display:none}
.nexo-chat .core-stage-active{padding:0 18px 8px;max-height:100px}
.nexo-chat .core-stage-active:has(.chat-status:empty){display:none}
@media(max-height:500px){.nexo-chat .chat-head{padding:6px 14px}.nexo-chat .chat-head h2{font-size:17px}.nexo-chat .chat-head small{font-size:11px;margin-top:1px}.nexo-chat .chat-compose{max-height:48dvh}.nexo-chat .chat-tools button{padding:6px 0;min-height:44px}.nexo-chat .chat-privacy{max-height:none;font-size:11px}.nexo-chat .core-stage-active{max-height:70px}.nexo-chat .core-case{margin-top:12px;padding-top:14px}}
@media(max-width:360px){.nexo-chat .chat-head{gap:8px}.nexo-chat .chat-head h2{font-size:18px}.nexo-chat .chat-tools{gap:6px}.nexo-chat .chat-tools button{font-size:12px}.nexo-chat .chat-scroll{padding:16px}.nexo-chat .chat-compose{padding-inline:12px}}

/* Optional conversational replies: native buttons, same colours and type as the widget. */
.nexo-chat .core-suggested-replies{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.nexo-chat .core-suggested-replies button{font:inherit;font-size:13px;line-height:1.45;color:var(--blue);background:transparent;border:1px solid var(--line);border-radius:22px;min-height:44px;padding:10px 14px;text-align:left;max-width:100%;overflow-wrap:anywhere;cursor:pointer}
.nexo-chat .core-suggested-replies button:hover:not(:disabled){border-color:var(--blue);background:#303cff08}
.nexo-chat .core-suggested-replies button:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.nexo-chat .core-suggested-replies button:disabled{opacity:.5;cursor:default}

/* Conversation first: one welcome, one composer. Utilities stay behind the menu. */
dialog.nexo-chat{height:min(640px,calc(var(--chat-vh,100dvh) - 48px))}
.nexo-chat .chat-head{position:relative;gap:10px;padding:18px 20px}
.nexo-chat .chat-identity{flex:1;min-width:0}
.nexo-chat .chat-head h2{white-space:nowrap}
.nexo-chat .chat-meta{display:flex;align-items:center;flex-wrap:wrap;gap:5px 10px;margin-top:4px}
.nexo-chat .chat-head small{margin:0;font-size:11px}
.nexo-chat .chat-availability{display:inline-flex;align-items:center;gap:5px;font:500 11px/1.4 Manrope,sans-serif;color:var(--muted);white-space:nowrap}
.nexo-chat .chat-availability svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.nexo-chat .chat-availability:not([data-state=online]) path{display:none}
.nexo-chat .chat-availability[data-state=online]{color:#13734b}
.nexo-chat .chat-availability[data-state=simulation]{color:#8d651a}
.nexo-chat #chat-options{display:grid;place-items:center;flex-shrink:0;width:44px;min-height:44px;padding:0;border-radius:50%;font:600 23px/1 Manrope,sans-serif;letter-spacing:1px;color:var(--muted)}
.nexo-chat #chat-options:hover,.nexo-chat #chat-options[aria-expanded=true]{background:#2638f509;color:var(--blue)}
.nexo-chat .chat-head .chat-close{margin-left:0;flex-shrink:0}
.nexo-chat .core-chat-menu{position:absolute;z-index:5;right:20px;top:calc(100% - 8px);display:grid;min-width:204px;padding:7px;background:var(--paper);border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 32px #10151d14}
.nexo-chat .core-chat-menu button{width:100%;min-height:44px;padding:11px 12px;text-align:left;font:400 13px/1.5 Manrope,sans-serif;border-radius:7px}
.nexo-chat .core-chat-menu button:hover{color:var(--blue);background:#2638f509}
.nexo-chat .chat-scroll{padding:20px 22px}
.nexo-chat .chat-message{border-top:0;padding:12px 0;margin:0 0 8px}
.nexo-chat .chat-message[data-speaker=user]{margin:12px 0 12px 18px;padding:14px 16px;border-radius:12px 12px 3px 12px}
.nexo-chat .chat-message[data-welcome]{padding-top:8px}
.nexo-chat .chat-message[data-welcome] p{font-size:17px;line-height:1.65}
.nexo-chat .chat-message-label{font-size:11px;letter-spacing:0;margin-bottom:6px}
.nexo-chat .chat-compose{display:block;padding:14px 18px 8px;max-height:45dvh}
.nexo-chat .core-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap;border:0}
.nexo-chat .chat-field{align-items:flex-end;gap:8px;padding:6px;border-radius:17px}
.nexo-chat .chat-field:focus-within{box-shadow:0 0 0 3px #303cff08}
.nexo-chat #chat-input{min-width:0;min-height:44px;max-height:100px;padding:10px 8px;box-sizing:border-box;font-size:16px;line-height:24px;outline:none}
.nexo-chat #chat-send{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;padding:0;border-radius:50%;min-height:44px}
.nexo-chat #chat-send svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.nexo-chat .chat-compose .chat-privacy{display:flex;align-items:center;justify-content:space-between;gap:10px;max-height:none;margin:2px 2px 0;font-size:11px;line-height:1.5}
.nexo-chat .chat-privacy button{flex-shrink:0;min-height:36px;text-decoration:none;font-size:11px}
.nexo-chat .core-review-action{display:block;margin-top:12px;padding:11px 15px;min-height:44px;border:1px solid var(--line);border-radius:22px;color:var(--blue);font:500 13px/1.4 Manrope,sans-serif}
.nexo-chat .core-review-action:hover{background:#303cff08;border-color:var(--blue)}
.nexo-chat .core-stage-active{padding:0 18px 8px}
.nexo-chat .core-stage-active>.chat-privacy{display:none}
@media(max-width:600px){dialog.nexo-chat{height:var(--chat-vh,100dvh)}.nexo-chat .chat-head{padding:calc(12px + env(safe-area-inset-top)) 14px 12px;gap:8px}.nexo-chat .chat-head>img{width:26px;height:26px}.nexo-chat .chat-compose{padding:12px 14px calc(4px + env(safe-area-inset-bottom))}.nexo-chat .chat-scroll{padding:18px}.nexo-chat .core-chat-menu{right:14px}}
@media(max-width:360px){.nexo-chat .chat-head h2{font-size:17px}.nexo-chat .chat-head>img{width:24px;height:24px}.nexo-chat .chat-meta{gap:3px 6px}.nexo-chat .chat-head small,.nexo-chat .chat-availability{font-size:10px}.nexo-chat .chat-availability svg{width:12px;height:12px}}
@media(max-height:500px){.nexo-chat .chat-head{padding:6px 14px}.nexo-chat .chat-compose{padding-top:8px}.nexo-chat .chat-scroll{padding:12px 18px}.nexo-chat .chat-compose .chat-privacy{margin-top:0}.nexo-chat .chat-message[data-welcome]{padding-top:0}}
@media(min-width:601px) and (max-width:950px) and (max-height:500px){dialog.nexo-chat{height:var(--chat-vh,100dvh)}}

/* Approved Burbuja / Halo Nexo: shadow 150%, label radius 40px. Local only. */
#nexo-chat-launch[data-design=halo-nexo]{display:flex;align-items:center;gap:12px;width:298px;max-width:calc(100vw - 32px);min-height:76px;padding:0;border:0;background:transparent;color:var(--ink);border-radius:40px;box-shadow:none;font:500 17px/1.25 Manrope,sans-serif;text-align:left}
#nexo-chat-launch[data-design=halo-nexo]:hover{box-shadow:none}
#nexo-chat-launch .core-launch-disc{display:flex;align-items:center;justify-content:center;width:70px;height:70px;flex-shrink:0;background:#12151d;border:1px solid #2c303b;border-radius:50%;position:relative;box-shadow:0 8px 20px rgba(13,20,38,.16)}
#nexo-chat-launch .core-launch-disc img{display:block;width:39px;height:39px;object-fit:contain}
#nexo-chat-launch .core-launch-check{position:absolute;right:-2px;top:0;width:21px;height:21px;border:3px solid var(--paper);border-radius:50%;background:#e6e9ef;color:#687386;display:flex;align-items:center;justify-content:center}
#nexo-chat-launch .core-launch-check svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;visibility:hidden}
#nexo-chat-launch .core-launch-label{position:relative;display:flex;flex:1;min-width:0;min-height:76px;flex-direction:column;justify-content:center;align-items:flex-start;gap:7px;padding:13px 20px;border:1px solid #cfd5ff;border-radius:40px;background:#fff;box-shadow:0 10px 27px rgba(38,56,245,.24),0 3px 7px rgba(13,20,38,.06)}
#nexo-chat-launch .core-launch-title{font-size:17px;line-height:1.25;font-weight:500;letter-spacing:-.45px;white-space:nowrap}
#nexo-chat-launch .core-launch-status{display:inline-flex;align-items:center;gap:7px;color:#626b7b;font-size:12px;line-height:1.25;font-weight:500;white-space:nowrap}
#nexo-chat-launch .core-launch-dot{width:7px;height:7px;border-radius:50%;background:#94a0b4;box-shadow:0 0 0 3px rgba(148,160,180,.12);flex-shrink:0}
#nexo-chat-launch .core-launch-arrow{position:absolute;right:16px;bottom:18px;color:var(--blue);width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#nexo-chat-launch[data-state=online] .core-launch-status{color:#0a7445}
#nexo-chat-launch[data-state=online] .core-launch-dot{background:#16c77c;box-shadow:0 0 0 3px rgba(22,199,124,.12)}
#nexo-chat-launch[data-state=online] .core-launch-check{background:#d8f6e4;color:#0a7445}
#nexo-chat-launch[data-state=online] .core-launch-check svg{visibility:visible}
#nexo-chat-launch[data-state=simulation] .core-launch-status{color:#8d651a}
#nexo-chat-launch[data-state=simulation] .core-launch-dot{background:#c69a47;box-shadow:0 0 0 3px rgba(198,154,71,.12)}
@media(max-width:600px){#nexo-chat-launch[data-design=halo-nexo]{right:max(16px,env(safe-area-inset-right));bottom:calc(var(--dock-height,56px) + 12px + env(safe-area-inset-bottom));gap:10px}#nexo-chat-launch .core-launch-label{padding-inline:15px}#nexo-chat-launch .core-launch-title{font-size:16px}#nexo-chat-launch .core-launch-arrow{right:13px}}

/* Pablo's supplied reference, 2026-10-11. Local chat panel only. */
dialog.nexo-chat{width:500px;height:min(542px,calc(var(--chat-vh,100dvh) - 48px));border:1px solid #d4d9e2;border-radius:25px;background:#f7f8fc;box-shadow:0 20px 70px #08101930,0 0 0 1px #ffffff80;}
.nexo-chat .chat-head{margin:0 28px;padding:24px 0 22px;gap:15px;border-bottom:1px solid #e0e4ed;min-height:100px;}
.nexo-chat .chat-head>img{width:42px;height:42px;}
.nexo-chat .chat-head h2{font:500 25px/1.1 Manrope,sans-serif;letter-spacing:.01em;}
.nexo-chat .chat-meta{margin-top:8px;gap:5px;color:#687181;}
.nexo-chat .chat-head small,.nexo-chat .chat-availability{font:400 13px/1.35 Manrope,sans-serif;color:#687181;}
.nexo-chat .chat-meta small:after{content:' ·';}
.nexo-chat .chat-availability svg{width:12px;height:12px;fill:#a4acb8;stroke:none;}
.nexo-chat .chat-availability path{display:none!important;}
.nexo-chat .chat-availability[data-state=online] svg{fill:#63b38d;}
.nexo-chat .chat-availability[data-state=online]{color:#687181;}
.nexo-chat #chat-options,.nexo-chat .chat-head .chat-close{width:34px;min-width:34px!important;height:44px;min-height:44px!important;padding:5px;border:0;background:transparent;color:#0b121c;border-radius:8px;}
.nexo-chat #chat-options svg{width:25px;height:25px;fill:currentColor;}
.nexo-chat .chat-close svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;}
.nexo-chat .chat-scroll{padding:30px 28px 18px;scrollbar-gutter:auto;}
.nexo-chat .chat-message[data-welcome]{padding:8px 0 0;margin:0;}
.nexo-chat .chat-message[data-welcome]>.chat-message-label{display:none;}
.nexo-chat .chat-message[data-welcome]>p{font:400 30px/1.52 Manrope,sans-serif;letter-spacing:-1px;margin:0;white-space:pre-line;}
.nexo-chat .core-welcome-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-top:35px;}
.nexo-chat .core-welcome-shortcut{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0;padding:0 0 4px;color:#151c2a;font:500 14px/1.45 Manrope,sans-serif;text-align:center;border:0;background:transparent;}
.nexo-chat .core-shortcut-icon{display:grid;place-items:center;width:100%;height:60px;border:1px solid #dfe3ed;border-radius:35px;background:linear-gradient(180deg,#fff,#ffffffb3);box-shadow:0 1px 3px #131a3310,inset 0 1px 1px #fff;}
.nexo-chat .core-shortcut-icon svg{width:29px;height:29px;fill:none;stroke:#243887;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round;}
.nexo-chat [data-topic=more] svg{fill:#243887;stroke:none;}
.nexo-chat .core-shortcut-label{min-height:40px;}
.nexo-chat .core-welcome-shortcut:hover .core-shortcut-icon{border-color:#aeb9ef;box-shadow:0 4px 12px #2638f515;}
.nexo-chat .core-welcome-shortcut:focus-visible{outline:2px solid var(--blue);outline-offset:4px;border-radius:12px;}
.nexo-chat .core-welcome-more{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px;}
.nexo-chat .core-welcome-more button{min-height:44px;padding:8px 12px;border:1px solid #dfe3ed;border-radius:22px;font:400 13px/1.4 Manrope,sans-serif;color:var(--blue);}
.nexo-chat .chat-compose{margin:0 28px;padding:24px 0 22px;border-top:1px solid #e0e4ed;background:transparent;max-height:45dvh;}
.nexo-chat .chat-field{border:1px solid #d5dbe7;border-radius:40px;padding:4px;gap:6px;background:transparent;box-shadow:0 1px 2px #111a2a08;}
.nexo-chat #chat-input{padding:13px 14px;min-height:52px;height:52px;line-height:24px;font-size:17px;}
.nexo-chat #chat-input::placeholder{color:#8a93a4;}
.nexo-chat #chat-send{width:54px;height:54px;min-height:54px;border-radius:50%;border:1px solid #ffffffd9;background:#09121b;color:white;box-shadow:0 0 0 1px #cbd1db;}
.nexo-chat #chat-send:disabled{opacity:1;cursor:default;}
.nexo-chat #chat-send svg{width:27px;height:27px;stroke-width:1.8;}
.nexo-chat .core-chat-menu{right:0;top:calc(100% - 6px);background:#f7f8fc;}
.nexo-chat .core-chat-menu .chat-privacy{margin:6px 5px 0;padding:10px 7px 4px;border-top:1px solid #e0e4ed;color:#687181;font:400 11px/1.5 Manrope,sans-serif;}
.nexo-chat .core-chat-menu #chat-privacy{font-size:12px;color:var(--blue);}
.nexo-chat .core-stage-active{padding:0 0 8px;}
@media(max-width:600px){
 dialog.nexo-chat{inset:auto 8px max(8px,env(safe-area-inset-bottom)) 8px;width:calc(100% - 16px);max-width:calc(100% - 16px);height:min(542px,calc(var(--chat-vh,100dvh) - 16px));max-height:calc(var(--chat-vh,100dvh) - 16px);border:1px solid #d4d9e2;border-radius:23px;}
 .nexo-chat .chat-head{margin:0 20px;padding:22px 0 20px;gap:9px;min-height:90px;}
 .nexo-chat .chat-head>img{width:36px;height:36px;}
 .nexo-chat .chat-head h2{font-size:23px;}
 .nexo-chat .chat-meta{gap:4px;}
 .nexo-chat .chat-head small,.nexo-chat .chat-availability{font-size:11px;}
 .nexo-chat .chat-scroll{padding:27px 22px 16px;}
 .nexo-chat .chat-message[data-welcome]>p{font-size:27px;line-height:1.48;letter-spacing:-.9px;}
 .nexo-chat .core-welcome-shortcuts{gap:10px;margin-top:28px;}
 .nexo-chat .core-welcome-shortcut{font-size:12px;}
 .nexo-chat .core-shortcut-icon{height:53px;}
 .nexo-chat .core-shortcut-icon svg{width:26px;height:26px;}
 .nexo-chat .chat-compose{margin:0 22px;padding:20px 0 18px;}
 .nexo-chat #chat-input{font-size:16px;padding-left:12px;}
 .nexo-chat #chat-send{width:50px;height:50px;min-height:50px;}
}
@media(max-width:360px){
 .nexo-chat .chat-head{margin:0 16px;gap:6px;}
 .nexo-chat .chat-head>img{width:31px;height:31px;}
 .nexo-chat .chat-head h2{font-size:21px;}
 .nexo-chat .chat-head small,.nexo-chat .chat-availability{font-size:10px;}
 .nexo-chat .chat-scroll{padding:24px 17px 16px;}
 .nexo-chat .chat-message[data-welcome]>p{font-size:24px;}
 .nexo-chat .core-welcome-shortcuts{gap:8px;}
 .nexo-chat .core-welcome-shortcut{font-size:11px;}
 .nexo-chat .core-shortcut-icon{height:48px;}
 .nexo-chat .chat-compose{margin:0 17px;}
}
@media(max-height:500px){
 dialog.nexo-chat{inset:var(--chat-top,0px) 8px auto auto;height:calc(var(--chat-vh,100dvh) - 8px);max-height:calc(var(--chat-vh,100dvh) - 8px);}
 .nexo-chat .chat-head{min-height:70px;padding:10px 0;}
 .nexo-chat .chat-scroll{padding-top:16px;}
 .nexo-chat .chat-compose{display:block;padding:12px 0;}
 .nexo-chat .chat-message[data-welcome]>p{font-size:24px;}
 .nexo-chat .core-welcome-shortcuts{margin-top:18px;}
}
/* Operational notices need room without covering the four entry points. */
@media(min-height:501px){dialog.nexo-chat:has(#chat-status:not(:empty)){height:min(650px,calc(var(--chat-vh,100dvh) - 32px));}}
@media(pointer:coarse){.nexo-chat #chat-options,.nexo-chat .chat-head .chat-close{width:44px;min-width:44px!important;}}
.nexo-chat .core-shortcut-label{white-space:pre-line;font-size:16px;}
@media(max-width:600px){.nexo-chat .core-shortcut-label{font-size:12px;}}
@media(max-width:360px){.nexo-chat .core-shortcut-label{font-size:11px;}}

/* Local pilot: the approved launcher is the single visible entry to the chat.
   Keep legacy nodes available for existing programmatic contact hooks. */
body.core-single-chat-entry [data-brief]{display:none!important}

/* The projects section already follows the hero and is available in navigation. */
body.core-single-chat-entry .hero-actions{display:none!important}
/* Review stays in the conversation; only corrections reveal editable fields. */
.nexo-chat #chat-log > .core-case{padding:18px 0 8px;margin:18px 0 0;background:transparent;border-radius:0}
.nexo-chat #chat-log > .core-case h3{font-size:21px;margin-bottom:8px}
.nexo-chat #core-review-fields{margin:12px 0;overflow-wrap:anywhere}
.nexo-chat #core-review-fields dt{font-size:12px;color:#566075;margin-top:12px}
.nexo-chat #core-review-fields dd{margin:3px 0 0;white-space:pre-wrap;line-height:1.55}
