:root { --npa-ink:#182522; --npa-ink-2:#263632; --npa-paper:#f7f6f1; --npa-white:#fffefa; --npa-red:#bf2526; --npa-teal:#187a78; --npa-cyan:#39d6dc; --npa-green:#20c96b; --npa-line:#dfe4df; }
.np-assistant,.np-assistant * { box-sizing:border-box; }
.np-assistant { position:fixed; z-index:99990; right:max(24px,env(safe-area-inset-right)); bottom:max(24px,env(safe-area-inset-bottom)); left:auto; font-family:Poppins,Arial,sans-serif; color:var(--npa-ink); }
.np-assistant button,.np-assistant input { font:inherit; }
.np-assistant .np-assistant-launcher { position:relative; display:grid; place-items:center; width:76px; height:76px; margin:0; padding:0; inset:auto; border:0; border-radius:50%; background:transparent; color:inherit; font:inherit; line-height:normal; box-shadow:0 10px 36px rgba(24,37,34,.24); cursor:pointer; isolation:isolate; transition:transform .22s ease,box-shadow .22s ease; }
.np-assistant-launcher:hover { transform:translateY(-3px); box-shadow:0 14px 40px rgba(24,37,34,.3); }
.np-assistant-launcher:focus-visible,.np-assistant button:focus-visible,.np-assistant input:focus-visible { outline:3px solid #087f8c; outline-offset:3px; }
.np-assistant-launcher-orbit { position:absolute; z-index:0; inset:0; border-radius:50%; background:conic-gradient(from 0deg,transparent 0 68%,rgba(57,214,220,.12) 74%,#39d6dc 82%,#fffefa 86%,#bf2526 89%,transparent 95%); filter:drop-shadow(0 0 5px rgba(57,214,220,.7)); animation:npa-orbit 3.6s linear infinite; }
.np-assistant-launcher-orbit:after { content:""; position:absolute; inset:4px; border-radius:50%; background:var(--npa-white); }
.np-assistant-launcher-logo { position:relative; z-index:1; display:grid; width:66px; height:66px; margin:0; padding:0; place-items:center; place-self:center; overflow:hidden; border:1px solid #e8e5dc; border-radius:50%; background:#fff; }
.np-assistant-launcher-logo > img { position:static; display:block; width:100%; max-width:100%; height:100%; max-height:100%; margin:0; float:none; place-self:center; object-fit:contain; object-position:center; object-view-box:inset(8%); border-radius:50%; transform:none; }
.np-assistant-online-dot { position:absolute; z-index:2; top:6px; right:6px; width:16px; height:16px; border:3px solid #fff; border-radius:50%; background:var(--npa-green); box-shadow:0 1px 5px rgba(0,0,0,.24); }
.np-assistant-panel { position:absolute; right:0; bottom:94px; left:auto; display:flex; width:min(390px,calc(100vw - 32px)); height:min(620px,calc(100dvh - 132px)); min-height:400px; flex-direction:column; overflow:hidden; border:1px solid rgba(24,37,34,.1); border-radius:18px; background:var(--npa-white); box-shadow:0 24px 70px rgba(15,29,25,.24); opacity:0; visibility:hidden; pointer-events:none; transform:translateY(12px) scale(.985); transform-origin:bottom right; transition:opacity .2s ease,transform .2s ease,visibility .2s; }
.np-assistant.is-open .np-assistant-panel { opacity:1; visibility:visible; pointer-events:auto; transform:translateY(0) scale(1); }
.np-assistant-header { display:flex; flex:0 0 auto; align-items:center; justify-content:space-between; gap:12px; padding:17px 18px; color:#fff; background:var(--npa-ink); }
.np-assistant-brand { display:flex; min-width:0; align-items:center; gap:12px; }
.np-assistant-avatar { display:grid; width:44px; height:44px; flex:0 0 44px; place-items:center; overflow:hidden; border-radius:50%; background:#fff; }
.np-assistant-avatar img { width:100%; height:100%; object-fit:contain; }
.np-assistant-status { display:flex; align-items:center; gap:7px; margin:0 0 3px; color:#9ae8ec; font-size:9px; font-weight:600; letter-spacing:.14em; }
.np-assistant-status i { width:7px; height:7px; border-radius:50%; background:var(--npa-green); }
.np-assistant-header h2 { margin:0; color:#fff; font-size:15px; font-weight:500; line-height:1.3; }
.np-assistant .np-assistant-close { appearance:none; display:grid!important; width:44px!important; min-width:44px!important; height:44px!important; min-height:44px!important; flex:0 0 44px; margin:0!important; padding:0!important; place-items:center; border:1px solid rgba(255,255,255,.28)!important; border-radius:50%!important; background:rgba(255,255,255,.08)!important; box-shadow:none!important; color:#fff!important; line-height:1!important; cursor:pointer; }
.np-assistant-close svg { display:block; width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; pointer-events:none; }
.np-assistant-messages { display:flex; flex:1 1 auto; flex-direction:column; gap:12px; overflow:auto; padding:18px 16px 8px; overscroll-behavior:contain; }
.np-assistant-message { max-width:88%; padding:11px 13px; border:1px solid var(--npa-line); border-radius:4px 14px 14px 14px; background:#f2f5f2; color:var(--npa-ink); font-size:13px; line-height:1.55; overflow-wrap:anywhere; }
.np-assistant-message p { margin:0; color:inherit; font-size:inherit; line-height:inherit; }
.np-assistant-message--user { align-self:flex-end; border-color:#d1e9e7; border-radius:14px 4px 14px 14px; background:#e7f5f3; }
.np-assistant-message--bot { align-self:flex-start; }
.np-assistant-message a { color:#086a69; font-weight:600; text-decoration:underline; text-underline-offset:2px; }
.np-assistant-options { display:flex; flex:0 0 auto; flex-wrap:wrap; gap:8px; padding:8px 14px 13px; }
.np-assistant-option { min-height:44px; padding:9px 12px; border:1px solid #b8cdca; border-radius:999px; background:#fff; color:var(--npa-ink); font-size:12px!important; line-height:1.25; cursor:pointer; transition:background .16s ease,border-color .16s ease,color .16s ease; }
.np-assistant-option:hover { border-color:var(--npa-teal); background:#edf7f5; }
.np-assistant .np-assistant-option--primary { min-height:48px; border-color:var(--npa-red); border-radius:8px; background:var(--npa-red); color:#fff; font-weight:600; }
.np-assistant .np-assistant-option--primary:hover { border-color:#a51f20; background:#a51f20; }
.np-assistant-form { display:flex; flex:0 0 auto; gap:8px; padding:11px 14px; border-top:1px solid var(--npa-line); background:#fff; }
.np-assistant-form[hidden] { display:none!important; }
.np-assistant-form input { width:100%; min-width:0; min-height:46px; padding:0 13px; border:1px solid #ccd4d0; border-radius:9px; background:white; color:var(--npa-ink); font-size:16px; }
.np-assistant-form input::placeholder { color:#67746e; opacity:1; }
.np-assistant .np-assistant-form button[type="submit"] { appearance:none; display:grid!important; width:46px!important; min-width:46px!important; height:46px!important; min-height:46px!important; flex:0 0 46px; margin:0!important; padding:0!important; place-items:center; border:0!important; border-radius:9px!important; background:var(--npa-red)!important; box-shadow:none!important; color:#fff!important; cursor:pointer; }
.np-assistant-form button[type="submit"] svg { display:block; width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; pointer-events:none; }
.np-assistant .np-assistant-form button[type="submit"]:hover { background:#a51f20!important; transform:translateY(-1px); }
.np-assistant-footer { display:flex; flex:0 0 auto; align-items:center; justify-content:space-between; gap:8px; padding:7px 14px 10px; color:#5a6761; background:#fff; font-size:9px; line-height:1.35; }
.np-assistant-sound { padding:5px 7px; border:0; border-radius:5px; background:transparent; color:#086a69; font-size:10px!important; font-weight:600; cursor:pointer; white-space:nowrap; }
.np-assistant-cards { display:grid; gap:9px; width:100%; }
.np-assistant-card { padding:12px; border:1px solid #dbe2dd; border-radius:10px; background:#fff; }
.np-assistant-card h3 { margin:0 0 5px; color:var(--npa-ink); font-size:13px; font-weight:600; line-height:1.35; }
.np-assistant-card p { margin:3px 0; color:#4d5b55; font-size:11px; line-height:1.5; }
.np-assistant-card a { display:inline-flex; margin-top:8px; color:#086a69; font-size:11px; font-weight:600; text-decoration:none; }
.np-assistant-card-rate { color:var(--npa-red)!important; font-size:13px!important; font-weight:700; font-variant-numeric:tabular-nums; }
.np-assistant-review { display:grid; gap:0; margin:12px 0; border:1px solid #dbe2dd; border-radius:9px; background:#fff; }
.np-assistant-review-row { display:grid; grid-template-columns:minmax(82px,1fr) minmax(100px,1.4fr) 56px; gap:8px; align-items:center; min-height:52px; padding:7px 10px; border-bottom:1px solid #e8ece8; }
.np-assistant-review-row:last-child { border-bottom:0; }
.np-assistant-review-row dt { color:#58645e; font-size:10px; font-weight:600; line-height:1.35; }
.np-assistant-review-row dd { min-width:0; margin:0; color:var(--npa-ink); font-size:11px; line-height:1.4; overflow-wrap:anywhere; }
.np-assistant .np-assistant-change { min-width:48px; min-height:40px; padding:5px 3px; border:0; border-radius:5px; background:transparent; color:#086a69; font-size:10px; font-weight:700; text-decoration:underline; text-underline-offset:2px; cursor:pointer; }
.np-assistant-review-suggestions { margin:12px 0; padding:11px 12px; border-left:3px solid var(--npa-cyan); border-radius:0 7px 7px 0; background:#f2f7f5; }
.np-assistant-review-suggestions strong { display:block; margin-bottom:5px; color:var(--npa-ink); font-size:11px; }
.np-assistant-review-suggestions p { margin:4px 0; color:#45534e; font-size:11px; line-height:1.4; }
.np-assistant .np-assistant-select-property { display:flex; width:100%; min-height:44px; align-items:center; justify-content:center; margin-top:10px; padding:8px 12px; border:1px solid var(--npa-ink)!important; border-radius:7px!important; background:var(--npa-ink)!important; color:#fff!important; font-size:12px!important; font-weight:600; line-height:1.3; cursor:pointer; }
.np-assistant .np-assistant-select-property:hover { background:var(--npa-teal)!important; border-color:var(--npa-teal)!important; }
.np-assistant-disclaimer { color:#58645e!important; font-size:10px!important; }
@keyframes npa-orbit { to { transform:rotate(1turn); } }
@media (max-width:767px) {
  .np-assistant { right:max(16px,env(safe-area-inset-right)); bottom:max(16px,env(safe-area-inset-bottom)); left:auto; }
  .np-assistant .np-assistant-launcher { width:68px; height:68px; }
  .np-assistant-launcher-logo { width:58px; height:58px; }
  .np-assistant-panel { position:fixed; right:max(12px,env(safe-area-inset-right)); left:auto; bottom:calc(94px + env(safe-area-inset-bottom)); width:min(410px,calc(100vw - 40px)); height:min(690px,calc(100dvh - 112px)); min-height:min(400px,calc(100dvh - 112px)); border-radius:16px; }
  .np-assistant-header { padding:14px; }
  .np-assistant-messages { padding:14px 12px 6px; }
  .np-assistant-options { padding:7px 12px 11px; }
}
@media (max-width:380px) {
  .np-assistant-panel { right:max(8px,env(safe-area-inset-right)); left:max(8px,env(safe-area-inset-left)); bottom:calc(86px + env(safe-area-inset-bottom)); width:auto; height:calc(100dvh - 100px); min-height:min(350px,calc(100dvh - 100px)); }
  .np-assistant-footer { font-size:8px; }
  .np-assistant-review-row { grid-template-columns:minmax(72px,.9fr) minmax(90px,1.4fr) 52px; gap:5px; padding-right:7px; padding-left:7px; }
}
@media (prefers-reduced-motion:reduce) {
  .np-assistant-launcher-orbit { animation:none; background:conic-gradient(from 0deg,transparent 0 68%,#39d6dc 82%,#bf2526 89%,transparent 95%); }
  .np-assistant-launcher,.np-assistant-panel,.np-assistant-option { transition:none; }
}
