.ui-help { overflow: visible; }
.ui-help-trigger { display: flex; align-items: center; gap: .6rem; width: 100%; min-height: 44px; padding: .65rem .9rem; border: 0; border-radius: .75rem; color: #6d5535; background: transparent; font: inherit; text-align: start; cursor: pointer; touch-action: manipulation; }
.ui-help-trigger > span { min-width: 0; flex: 1; }
.ui-help-trigger > .icon { flex-shrink: 0; width: 1.1rem; height: 1.1rem; }
.ui-help-trigger:hover, .ui-help-trigger[aria-expanded="true"] { background: #f7edda; }
.ui-help-trigger:focus-visible { outline-offset: -3px; }
.ui-help.ui-help-compact { display: inline-flex; flex-shrink: 0; margin: 0; border: 0; background: transparent; }
.ui-help-compact > .ui-help-trigger { justify-content: center; flex-shrink: 0; width: 44px; height: 44px; min-width: 44px; padding: 0; border: 1px solid var(--sb-line); background: #fffdf9; }
.ui-help-popup { display: none; position: fixed; inset: 0; z-index: 1100; box-sizing: border-box; width: min(34rem, calc(100vw - 2rem)); max-width: calc(100vw - 2rem); height: fit-content; max-height: calc(100vh - 3rem); max-height: calc(100dvh - 3rem); margin: auto; padding: 0; overflow: auto; overscroll-behavior: contain; border: 1px solid var(--sb-line, #e4dbcd); border-radius: 1rem; color: var(--sb-ink, #493921); background: #fffdf9; box-shadow: 0 14px 60px rgb(49 35 16 / 22%); font-size: .95rem; line-height: 1.8; overflow-wrap: anywhere; }
.ui-help-popup:popover-open { display: block; }
.ui-help-popup.is-open { display: block; }
.ui-help-popup::backdrop { background: rgb(36 28 15 / 12%); }
.ui-help-popup-header { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .65rem .75rem .65rem 1.1rem; border-bottom: 1px solid var(--sb-line, #e4dbcd); background: #fffdf9; }
.ui-help-popup-header > h2 { display: flex; align-items: center; gap: .6rem; min-width: 0; margin: 0; font-size: 1rem; font-weight: 600; line-height: 1.6; }
.ui-help-popup-header > h2 > .icon { flex-shrink: 0; }
.ui-help-close { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; padding: 0; border: 1px solid var(--sb-line, #e4dbcd); border-radius: .75rem; color: #6d5535; background: #fffdf9; cursor: pointer; }
.ui-help-close:hover { background: #f7edda; }
.ui-help-popup > .ui-help-body { padding: 1rem 1.1rem 1.2rem; }
.guest-line-message-expand { display: flex; align-items: flex-start; gap: .75rem; }
.guest-line-message-expand > .guest-line-message-preview { min-width: 0; flex: 1; }
@media print {
    .ui-help-popup, .ui-help-popup:popover-open, .ui-help-popup.is-open { display: none; }
}
