.chat-page { min-height:100vh; min-height:100dvh; display:flow-root; }
.help-nav { display:flex; gap:18px; margin-left:auto; font-size:.9rem; }
.help-layout { width:min(46rem,calc(100% - 2rem)); margin:clamp(16px,4vh,44px) auto; font:1rem/1.5 system-ui,sans-serif; }
.help-workspace { background:white; border:1px solid #bccbc3; border-radius:17px; box-shadow:0 8px 32px #183d2d0d; overflow:hidden; }
.chat-header { display:flex; align-items:center; gap:12px; padding:17px 22px; background:#103f37; color:white; }
.chat-header h1 { margin:0; font:680 1.17rem/1.25 system-ui,sans-serif; letter-spacing:-.02em; color:white; }
.chat-header p { margin:2px 0 0; font-size:.85rem; color:#c9e5da; }
.chat-header .help-link { margin-left:auto; color:white; }
.help-link { color:#155f4f; background:transparent; border:0; font:inherit; font-size:.86rem; cursor:pointer; text-decoration:underline; text-underline-offset:3px; padding:6px 0; }
#conversation { height:clamp(13rem,38vh,25rem); overflow-y:auto; overscroll-behavior:contain; padding:20px 22px; background:#f8faf8; scrollbar-gutter:stable; }
.help-answer, .help-user { width:fit-content; max-width:min(88%,35rem); padding:11px 15px; overflow-wrap:anywhere; }
.help-answer { background:white; border:1px solid #d8e2db; border-radius:14px 14px 14px 3px; margin:0 0 14px; }
.help-answer strong { display:block; color:#256354; font-size:.76rem; margin-bottom:3px; }
.help-answer p { margin:0; }
.help-user, .visitor-message { white-space:pre-wrap; overflow-wrap:anywhere; }
.help-user { border-radius:14px 14px 3px 14px; margin:0 0 10px auto; color:white; background:#205d51; }
.help-answer a, .help-screen { display:block; margin-top:8px; font-size:.92rem; color:#175d50; }
.help-screen summary, #contact summary { cursor:pointer; font-weight:600; }
.help-screen img { max-width:100%; max-height:260px; width:auto; height:auto; margin-top:8px; }
.reply-panel { padding:13px 22px 18px; border-top:1px solid #dbe3de; }
.help-choices { display:flex; flex-wrap:wrap; gap:6px; }
.help-choices button { border:1px solid #b2c8bd; background:#f8fbf9; color:#214f43; border-radius:18px; padding:6px 11px; font:550 .85rem/1.35 system-ui; cursor:pointer; }
.help-choices button:hover, .help-choices button:focus-visible { background:#e4f0e8; }
#human-offer { margin:8px 0 0; font-size:.85rem; color:#435b50; }
#human-offer button { padding:0 2px; }
.question-row { display:flex; align-items:center; gap:6px; margin-top:12px; padding:5px; border:1px solid #9db3a7; border-radius:12px; background:white; }
.question-row:focus-within { outline:2px solid #246b5d; outline-offset:1px; }
.question-row input { flex:1; width:0; min-width:0; border:0; padding:9px; color:#193b31; background:white; font:1rem/1.4 system-ui; }
.question-row input:focus-visible { outline:0; }
.question-row button { min-height:40px; padding:8px 16px; cursor:pointer; border-radius:8px; }
.help-layout .sr-only { position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
#contact { margin-top:14px; padding:12px 17px; background:#fffefa; border:1px solid #c8d4cb; border-radius:11px; }
#contact summary { color:#234f42; font-size:.92rem; }
.help-form, .help-form label { display:grid; gap:6px; }
.help-form { gap:13px; margin-block:14px; }
.help-form input,.help-form select,.help-form textarea { width:100%; padding:10px; border-radius:6px; border:1px solid #81958c; background:white; color:#172d2b; font:1rem/1.4 system-ui; }
.help-form button { justify-self:start; cursor:pointer; }
.help-success, .chat-fallback { padding:12px; }
.staff-help .engineer-work p { margin:12px 0; }
@media (max-width:560px) {
  .help-layout { width:calc(100% - 16px); margin:10px auto 20px; }
  .chat-header, .reply-panel { padding:12px; }
  .chat-header { gap:8px; }
  .chat-header img { width:32px; height:32px; }
  .chat-header p { font-size:.75rem; }
  #conversation { height:clamp(11rem,36dvh,21rem); padding:12px; }
  .help-answer, .help-user { max-width:93%; }
}
