.nuber-chat-page{min-height:100vh;background:#faf6f1;color:#263d4b;padding-bottom:env(safe-area-inset-bottom)}
.nuber-chat-header{position:sticky;top:0;z-index:5;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;padding:10px max(16px,env(safe-area-inset-left));background:#fffdfb;border-bottom:1px solid #e9ded6}
.nuber-chat-back,.nuber-chat-account{display:inline-flex;align-items:center;gap:7px;min-height:44px;color:#263d4b;text-decoration:none;font-size:.88rem}
.nuber-chat-account{justify-self:end;padding:0 12px;border:1px solid #e2d6ce;border-radius:999px}
.nuber-chat-brand{display:flex;align-items:center;justify-content:center}.nuber-chat-brand img{display:block;width:110px;height:auto;max-height:40px;object-fit:contain}
.nuber-chat-main{width:min(760px,100%);margin:0 auto;padding:clamp(22px,5vw,52px) 16px 36px}
.nuber-chat-intro{margin-bottom:18px}.nuber-chat-intro .eyebrow{margin:0 0 8px;color:#8d5363;font-size:.72rem;font-weight:700;letter-spacing:.18em}
.nuber-chat-intro h1{margin:0;color:#233b49;font:clamp(2rem,7vw,3.1rem)/1.08 Georgia,serif;letter-spacing:-.025em}.nuber-chat-intro>p:not(.eyebrow){margin:10px 0 0;color:#6a6662;line-height:1.55}
.nuber-chat-identity{font-size:.85rem!important;color:#506b5d!important}
.nuber-chat-card{overflow:hidden;border:1px solid #e4d7d0;border-radius:16px;background:#fff;box-shadow:0 12px 36px #283a4810}
.nuber-chat-messages{display:flex;flex-direction:column;gap:12px;min-height:220px;max-height:min(52vh,560px);overflow:auto;padding:18px;background:linear-gradient(180deg,#fffdfb,#fff 40%);overscroll-behavior:contain;scrollbar-gutter:stable}
.nuber-chat-empty{margin:auto;color:#736d69;text-align:center;line-height:1.55}
.nuber-chat-bubble{max-width:min(88%,560px);padding:11px 13px;border:1px solid #e8ded8;border-radius:14px 14px 14px 4px;background:#f8f3ef;overflow-wrap:anywhere}
.nuber-chat-bubble[data-sender="buyer"]{align-self:flex-end;border-color:#d5e2e4;border-radius:14px 14px 4px 14px;background:#eff5f5}
.nuber-chat-bubble header{display:flex;justify-content:space-between;gap:14px;margin-bottom:5px;color:#687078;font-size:.72rem}
.nuber-chat-bubble p{margin:0;white-space:pre-wrap;line-height:1.55;font-size:.94rem}
.nuber-chat-product-link{display:inline-flex;align-items:center;gap:6px;min-height:38px;margin-top:8px;color:#7c4051;font-size:.82rem;font-weight:650;text-decoration:underline;text-underline-offset:3px}
.nuber-chat-older{align-self:center;min-height:42px;border:1px solid #e5d9d2;border-radius:999px;padding:0 14px;background:#fff;color:#324b58;font:inherit;font-size:.82rem}
.nuber-chat-form{display:grid;gap:10px;padding:16px;border-top:1px solid #eee4dd}
.nuber-chat-name,.nuber-chat-product-picker,.nuber-chat-message-label{display:grid;gap:6px;color:#4b555a;font-size:.82rem;font-weight:650}
.nuber-chat-page input,.nuber-chat-page textarea{width:100%;min-width:0;border:1px solid #d9d0ca;border-radius:10px;background:#fff;padding:11px 12px;color:#263d4b;font:inherit;font-size:16px;line-height:1.45}
.nuber-chat-page textarea{resize:vertical;min-height:88px;max-height:220px}
.nuber-chat-page input:focus-visible,.nuber-chat-page textarea:focus-visible,.nuber-chat-page button:focus-visible,.nuber-chat-page a:focus-visible{outline:3px solid #a45467;outline-offset:2px}
.nuber-chat-product-results{display:grid;gap:4px;max-height:190px;overflow:auto;padding:5px;border:1px solid #e5d9d2;border-radius:10px;background:#fff}
.nuber-chat-product-results button{min-height:44px;padding:9px 10px;border:0;border-radius:7px;background:#fff;color:#263d4b;text-align:left;font:inherit;font-size:.88rem}
.nuber-chat-product-results button:hover{background:#f7f0ec}
.nuber-chat-selected-product{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 10px;border:1px solid #d6e3df;border-radius:10px;background:#f2f7f3;font-size:.85rem;line-height:1.4}
.nuber-chat-selected-product button{flex:none;min-height:38px;padding:6px 10px;border:1px solid #ddd0ca;border-radius:8px;background:#fff;color:#5e5150;font:inherit;font-size:.8rem}
.nuber-chat-send-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:2px}
.nuber-chat-send-row small{color:#77716d;font-size:.75rem;line-height:1.4}
.nuber-chat-send-row .button{min-height:46px;padding:10px 20px;border:0;border-radius:10px;background:#233b49;color:#fff;font:inherit;font-weight:700;white-space:nowrap;cursor:pointer}
.nuber-chat-send-row .button:disabled{opacity:.55;cursor:wait}
.nuber-chat-login-hint{margin:16px 3px 0;color:#6e6864;font-size:.84rem;line-height:1.6}.nuber-chat-login-hint a{color:#7c4051;font-weight:700}
@media(max-width:520px){.nuber-chat-header{grid-template-columns:1fr auto 1fr;padding:8px 12px}.nuber-chat-back{font-size:0}.nuber-chat-back span{font-size:.78rem}.nuber-chat-brand img{width:94px}.nuber-chat-account{padding:0 10px;font-size:.78rem}.nuber-chat-main{padding:22px 12px 28px}.nuber-chat-messages{min-height:240px;max-height:48vh;padding:13px}.nuber-chat-form{padding:13px}.nuber-chat-bubble{max-width:94%}.nuber-chat-send-row{align-items:stretch;flex-direction:column}.nuber-chat-send-row .button{width:100%}}
@media(prefers-reduced-motion:reduce){.nuber-chat-page *{scroll-behavior:auto!important;transition:none!important}}
.nuber-chat-hours {
  margin-block: 1rem;
  padding: .75rem 1rem;
  border-left: 3px solid #8b4b59;
  border-radius: 0 8px 8px 0;
  background: #f1e9e1;
  color: #293e4b;
  font-size: .9rem;
}
.nuber-chat-hours p { margin: .25rem 0 0; }
