/* CGH Floating Help v1.5.1 — standalone, no changes to existing styles.css */
.floating-help{position:fixed;right:max(20px,env(safe-area-inset-right));bottom:max(22px,env(safe-area-inset-bottom));z-index:50;display:flex;flex-direction:column;align-items:flex-end;gap:12px;font-family:inherit}
.floating-help [hidden]{display:none!important}
.floating-help-toggle{display:flex;align-items:center;gap:9px;min-height:52px;padding:12px 18px;border:1px solid rgba(103,240,180,.45);border-radius:999px;background:linear-gradient(120deg,#079365,#086d50);color:#fff;font-weight:700;font-size:14px;box-shadow:0 12px 28px rgba(0,39,26,.32);transition:transform .2s ease,box-shadow .2s ease}
.floating-help-toggle:hover{transform:translateY(-2px);box-shadow:0 16px 34px rgba(0,39,26,.38)}
.floating-help-toggle svg{width:21px;height:21px;flex-shrink:0}
.floating-help-panel{width:min(340px,calc(100vw - 32px));max-height:min(480px,calc(100dvh - 110px));overflow-y:auto;border:1px solid #3b624c;border-radius:22px;background:#172a21;color:#eef8f1;box-shadow:0 18px 55px rgba(0,0,0,.35);padding:18px;animation:cghHelpAppear .2s ease-out}
.floating-help-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:15px}
.floating-help-heading strong{font-size:16px}.floating-help-heading p{font-size:12px;color:#adccbc;margin:5px 0 0;line-height:1.6}
.floating-help-close{border:0;background:#294437;color:#d9f9e8;width:32px;height:32px;border-radius:10px;font-size:24px;line-height:1}
.floating-help-links{display:grid;gap:9px}
.floating-help-action{display:flex;align-items:center;text-align:left;width:100%;gap:12px;border:1px solid #365544;border-radius:13px;background:#203b2d;color:#effaf2;padding:12px;cursor:pointer;min-width:0}
.floating-help-action:hover{background:#2a4b39;border-color:#51c38b}
.floating-help-action-icon{width:37px;height:37px;display:grid;place-items:center;border-radius:11px;background:#135d42;color:#7bf2bb;font-size:23px;flex:0 0 37px}
.floating-help-action strong{display:block;font-size:13px;font-weight:700}.floating-help-action small{display:block;font-size:11px;line-height:1.5;margin-top:4px;color:#b3d2be}
.floating-help-hours{text-align:center;margin-top:14px;font-size:11px;color:#a9c4b5}
html[data-theme="light"] .floating-help-panel{background:#fff;color:#234638;border-color:#cae3d4;box-shadow:0 18px 55px rgba(13,82,52,.17)}
html[data-theme="light"] .floating-help-heading p,html[data-theme="light"] .floating-help-hours{color:#668371}
html[data-theme="light"] .floating-help-close{background:#eaf6ee;color:#22583d}
html[data-theme="light"] .floating-help-action{background:#f4fbf6;color:#234638;border-color:#d4e9da}
html[data-theme="light"] .floating-help-action:hover{background:#e6f6ea;border-color:#71cba2}
html[data-theme="light"] .floating-help-action-icon{background:#dff7e9;color:#087a53}
html[data-theme="light"] .floating-help-action small{color:#668371}
@keyframes cghHelpAppear{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:760px){.floating-help{right:14px;bottom:max(14px,env(safe-area-inset-bottom))}.floating-help-toggle{min-height:48px;padding:10px 14px;font-size:13px}.floating-help-panel{width:min(330px,calc(100vw - 28px));padding:15px}}
@media(prefers-reduced-motion:reduce){.floating-help-panel{animation:none}.floating-help-toggle{transition:none}}
/* ปุ่ม LINE Official Account */
.floating-help-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border-radius: 12px;
  background: #254638;
  color: #ffffff;
  text-decoration: none;
  transition: background 0.2s ease;
}

.floating-help-link:hover {
  background: #087f5b;
}

.floating-help-link span:first-child {
  font-size: 24px;
}

.floating-help-link strong,
.floating-help-link small {
  display: block;
}

.floating-help-link small {
  margin-top: 4px;
  opacity: 0.8;
  font-size: 12px;
}