/* Shared customer theme. Admin and printed conversations keep their own styles. */
body.hm-customer { --hm-ink:#263c36; --hm-accent:#365f51; color:var(--hm-ink); background-color:#f7f4ed; background-image:linear-gradient(rgba(248,246,240,.4),rgba(248,246,240,.4)),url('/customer-background/app'); background-size:cover; background-position:center; background-attachment:fixed; font-family:'Instrument Sans',ui-sans-serif,system-ui,sans-serif; }
body.hm-auth { background-image:linear-gradient(rgba(248,246,240,.35),rgba(248,246,240,.35)),url('/customer-background/auth'); padding:32px 20px; }
.hm-customer .hm-header { background:rgba(255,255,255,.96); border-bottom:1px solid #dfE7df; box-shadow:0 3px 18px #263c3608; }
.hm-brand { display:inline-flex; flex-direction:column; gap:2px; text-decoration:none; color:#263c36; font-size:26px; font-weight:750; letter-spacing:-.8px; }
.hm-brand small { font-size:12px; font-weight:500; letter-spacing:.3px; color:#53675e; }
.hm-customer .hm-main { max-width:1080px; }
.hm-customer .card { width:min(480px,100%); padding:clamp(24px,5vw,42px); border:1px solid #e0e5da; border-radius:26px; background:#fffefb; box-shadow:0 16px 60px #273d3614; }
.hm-auth .hm-brand { margin-bottom:25px; }
.hm-auth h1 { font-size:28px; color:#263c36; line-height:1.25; }
.hm-auth .intro { color:#52665e; line-height:1.65; }
.hm-customer h1,.hm-customer h2 { letter-spacing:-.035em; }
.hm-customer :is(section,article).bg-white { background:#fffefb; border-color:#e1e7dc; box-shadow:0 5px 22px #263c3609; }
.hm-customer .rounded-2xl { border-radius:22px; }
.hm-customer .text-sky-700 { color:#365f51; }
.hm-customer .bg-sky-700 { background-color:#365f51; }
.hm-customer .bg-slate-900 { background-color:#2e5145; }
.hm-customer :is(button,a).bg-sky-700:hover,.hm-customer :is(button,a).bg-slate-900:hover { background-color:#244738; }
.hm-customer .text-slate-600,.hm-customer .text-slate-500 { color:#53675e; }
.hm-customer :is(button,a):focus-visible,.hm-customer :is(input,textarea,select):focus-visible { outline:3px solid #557d6b; outline-offset:3px; }
.hm-auth input:not([type=checkbox]):not([type=hidden]),.hm-customer textarea { border:1px solid #bccdc1; border-radius:12px; background:#fff; padding:13px 15px; color:#263c36; }
.hm-auth button[type=submit],.hm-auth .button { background:#365f51; color:#fff; border-color:#365f51; border-radius:12px; min-height:46px; }
.hm-auth button[type=submit]:hover,.hm-auth .button:hover { background:#244738; }
.hm-auth a:not(.button) { color:#365f51; }
.hm-auth .button-secondary { background:#f0f4ed; color:#365f51; }
.hm-customer .hm-message { padding:24px; max-width: min(760px,92%); overflow-wrap:anywhere; }
.hm-customer .hm-message-user { background:#365f51; border-radius:22px 22px 6px 22px; color:#fff; }
.hm-customer .hm-message-user .text-sky-100 { color:#edf4ed; }
.hm-customer .hm-message-assistant { background:#fffefb; border-radius:22px 22px 22px 6px; border-color:#dbe5d9; }
.hm-customer [data-message-content] { font-size:16px; line-height:1.85; }
.hm-customer .hm-message-user [data-message-content] { color:#fff; }
.hm-customer .hm-message-assistant [data-message-content] { color:#293d35; }
.hm-customer .hm-message :is(time,[data-read-aloud]) { font-size:12px; }
.hm-customer button:disabled { cursor:not-allowed; opacity:.6; }
.hm-skip { position:absolute; left:16px; top:-100px; z-index:50; background:#fff; color:#263c36; padding:12px 18px; border-radius:10px; }
.hm-skip:focus { top:12px; }
.hm-legal-footer { color:#52665e; font-size:14px; line-height:1.5; }
.hm-legal-footer a { color:#365f51; text-underline-offset:4px; }
.hm-legal-footer a:focus-visible { outline:3px solid #557d6b; outline-offset:3px; }
body.hm-auth { grid-template-columns:minmax(0,1fr); align-content:center; }
body.hm-auth > .hm-legal-footer { width:min(1080px,100%); margin:24px auto 0; }
@media(max-width:640px) { body.hm-customer { background-attachment:scroll; } .hm-customer .hm-message { max-width:96%; padding:18px; } .hm-customer .hm-header>div { gap:16px; flex-wrap:wrap; } .hm-customer .hm-header nav { gap:14px; } .hm-customer [data-message-content] { font-size:16px;line-height:1.75; } }
@media(prefers-reduced-motion:reduce) { .hm-customer * { scroll-behavior:auto; } }
