/* Get immediate help + Quick exit (Phase 3, Stage A). Nothing here is tracked or saved. */
.ih-bar {
  position: fixed; top: 14px; right: 14px; z-index: 9000;
  display: flex; align-items: center; gap: 8px;
}
.ih-open, .ih-exit {
  font-family: var(--body, 'Inter', system-ui, sans-serif);
  font-size: 13px; font-weight: 600; line-height: 1;
  min-height: 36px; padding: 0 14px; border-radius: 999px; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.ih-open {
  background: rgba(252, 250, 246, 0.94); color: #302D2A;
  border: 1px solid rgba(48, 45, 42, 0.18);
  box-shadow: 0 2px 10px rgba(48, 45, 42, 0.08);
}
.ih-open:hover { border-color: #A2615A; color: #8B4F49; }
.ih-exit { background: #A2615A; color: #fff; border: 1px solid #A2615A; }
.ih-exit:hover, .ih-exit-big:hover { background: #8B4F49; border-color: #8B4F49; }
.ih-open:focus-visible, .ih-exit:focus-visible, .ih-panel button:focus-visible, .ih-panel a:focus-visible {
  outline: 3px solid #4A7FA5; outline-offset: 2px;
}
.ih-exit[hidden], .ih-panel[hidden], .ih-overlay[hidden] { display: none !important; }

.ih-overlay { position: fixed; inset: 0; z-index: 10001; background: rgba(48, 45, 42, 0.42); }
.ih-panel {
  position: fixed; z-index: 10002; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(440px, calc(100% - 32px)); max-height: calc(100vh - 32px); overflow-y: auto;
  background: #FCFAF6; color: #302D2A; border-radius: 16px; padding: 22px 22px 18px;
  box-shadow: 0 18px 48px rgba(48, 45, 42, 0.25);
  font-family: var(--body, 'Inter', system-ui, sans-serif); text-align: left;
}
.ih-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.ih-head h2 { font-size: 20px; font-weight: 700; margin: 0; line-height: 1.25; color: #302D2A; }
.ih-close {
  flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(48, 45, 42, 0.15);
  background: #fff; color: #302D2A; font-size: 20px; line-height: 1; cursor: pointer;
}
.ih-lead { font-size: 14px; line-height: 1.5; margin: 10px 0 14px; color: rgba(48, 45, 42, 0.8); }
.ih-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ih-list li { background: #fff; border: 1px solid rgba(48, 45, 42, 0.1); border-radius: 12px; padding: 12px 14px; }
.ih-name { font-size: 14.5px; font-weight: 700; line-height: 1.35; }
.ih-sub { font-size: 13px; line-height: 1.45; color: rgba(48, 45, 42, 0.72); margin-top: 3px; }
.ih-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ih-act {
  display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 999px;
  font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer;
  background: #F7F3EB; color: #302D2A; border: 1px solid rgba(48, 45, 42, 0.16);
  font-family: inherit;
}
.ih-act.primary { background: #A2615A; border-color: #A2615A; color: #fff; }
.ih-act:hover { border-color: #A2615A; }
.ih-act.primary:hover { background: #8B4F49; }
.ih-exit-big {
  display: block; width: 100%; margin-top: 16px; min-height: 46px; border-radius: 999px;
  background: #A2615A; color: #fff; border: 1px solid #A2615A;
  font-family: inherit; font-size: 15px; font-weight: 700; cursor: pointer;
}
.ih-note { font-size: 12.5px; line-height: 1.5; color: rgba(48, 45, 42, 0.68); margin: 10px 0 0; }

@media (max-width: 520px) {
  .ih-bar { top: 10px; right: 10px; gap: 6px; flex-direction: column; align-items: flex-end; }
  .ih-open, .ih-exit { font-size: 12.5px; padding: 0 12px; }
}
@media print { .ih-bar, .ih-panel, .ih-overlay { display: none !important; } }
