.synorb-guides-host { position: fixed; inset: auto 1rem 1rem auto; z-index: 1200; pointer-events: none; font-family: var(--font-sans, "IBM Plex Sans", sans-serif); color: var(--text, #172033); }
.synorb-guides-host .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.synorb-guides-panel { width: min(21rem, calc(100vw - 2rem)); max-height: min(34rem, calc(100vh - 2rem)); overflow: auto; pointer-events: auto; background: color-mix(in srgb, var(--surface, #fff) 96%, transparent); border: 1px solid color-mix(in srgb, var(--line, #d7dbe2) 82%, transparent); border-radius: 1rem; box-shadow: 0 1rem 2.75rem rgba(20, 30, 48, .14), 0 2px 8px rgba(20, 30, 48, .06); padding: 1.1rem 1.15rem 1rem; backdrop-filter: blur(14px); }
.synorb-guides-panel[hidden] { display: none; }
.synorb-guides-kicker, .synorb-guides-status { color: var(--text-tertiary, #5d6878); font: 600 .68rem/1.35 var(--font-mono, monospace); letter-spacing: .08em; text-transform: uppercase; }
.synorb-guides-header { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; padding-bottom: .8rem; border-bottom: 1px solid color-mix(in srgb, var(--line, #d7dbe2) 70%, transparent); }
.synorb-guides-header h2 { margin: .25rem 0 0; color: inherit; font-size: 1.22rem; line-height: 1.18; letter-spacing: -.02em; }
.synorb-guides-close { flex: none; }
.synorb-guides-body { padding-top: .9rem; line-height: 1.48; }
.synorb-guides-body h3 { margin: 0 0 .45rem; font-size: 1rem; line-height: 1.25; letter-spacing: -.01em; }
.synorb-guides-body p { margin: 0; color: var(--text-secondary, #465265); font-size: .92rem; }
.synorb-guides-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin-top: 1rem; padding-top: .85rem; border-top: 1px solid color-mix(in srgb, var(--line, #d7dbe2) 70%, transparent); }
.synorb-guides-actions button, .synorb-guides-panel button { border: 1px solid var(--line, #b8c0cd); border-radius: .55rem; background: transparent; color: inherit; cursor: pointer; font: 500 .8rem/1.2 var(--font-sans, "IBM Plex Sans", sans-serif); padding: .5rem .65rem; transition: background-color .16s ease, border-color .16s ease, transform .16s ease; }
.synorb-guides-actions button:hover, .synorb-guides-panel button:hover { background: var(--surface-hover, #f1f4f8); border-color: var(--line-strong, #aeb7c5); }
.synorb-guides-actions button.primary { margin-left: auto; background: var(--text, #172033); border-color: var(--text, #172033); color: var(--surface, #fff); padding-inline: .85rem; }
.synorb-guides-actions button.primary:hover { background: #2a3342; border-color: #2a3342; }
.synorb-guides-body > [data-guide-control="navigate"] { display: flex; width: 100%; justify-content: space-between; margin-top: .9rem; background: var(--bg-subtle, #f5f7f4); border-color: var(--line-strong, #b8c0cd); font-weight: 600; text-align: left; }
.synorb-guides-body > [data-guide-control="navigate"]::after { content: "→"; font-size: 1rem; }
.synorb-guides-panel button:focus-visible, .synorb-guides-panel a:focus-visible { outline: 2px solid var(--focus, #3a73ff); outline-offset: 2px; }
.synorb-guides-list { display: grid; gap: .45rem; margin: .9rem 0 0; padding: 0; list-style: none; }
.synorb-guides-list button { display: block; width: 100%; text-align: left; padding: .7rem .75rem; }
.synorb-guides-list strong, .synorb-guides-list span { display: block; }
.synorb-guides-list strong { font-size: .9rem; }
.synorb-guides-list span { color: var(--text-secondary, #465265); font-size: .82rem; margin-top: .2rem; line-height: 1.35; }
.synorb-guides-note { margin: .7rem 0 0 !important; color: var(--text-tertiary, #5d6878) !important; font-size: .78rem !important; }
.synorb-guides-persistence { margin: .75rem 0 0; padding: .55rem .65rem; border-left: 2px solid var(--warning, #a96600); background: rgba(169, 102, 0, .07); font-size: .76rem; line-height: 1.4; }
.synorb-guide-ack { display: flex; align-items: flex-start; gap: .45rem; margin-top: .8rem; font-size: .8rem; }
.synorb-guide-ack input { margin-top: .2rem; }
/* Deliberately compact: this floats outside document flow over whatever the
   active panel currently shows, so a tall card risks covering a primary
   button on short viewports (e.g. the Connect step's copy action). Keep it
   closer to the size of the Guides launcher pill than a full guide panel. */
.synorb-guides-welcome { position: fixed; right: 1rem; bottom: 1rem; z-index: 1199; width: min(19rem, calc(100vw - 2rem)); background: var(--surface, #fff); border: 1px solid var(--line, #d7dbe2); border-radius: 1rem; box-shadow: 0 .8rem 2.5rem rgba(20, 30, 48, .12); padding: .6rem .8rem; }
.synorb-guides-welcome[hidden] { display: none; }
.synorb-guides-welcome h2 { font-size: .88rem; margin: 0 0 .2rem; line-height: 1.2; }
.synorb-guides-welcome p { margin: 0; color: var(--text-secondary, #465265); font-size: .75rem; line-height: 1.25; }
.synorb-guides-welcome .synorb-guides-actions { margin-top: .45rem; padding-top: 0; border-top: none; gap: .35rem; }
.synorb-guides-welcome .synorb-guides-actions button { padding: .36rem .55rem; font-size: .74rem; }
@media (max-width: 640px) {
  .synorb-guides-host { inset: auto 0 0 0; display: grid; align-items: end; }
  .synorb-guides-panel { width: 100%; max-height: min(72vh, 36rem); box-sizing: border-box; border-radius: 1rem 1rem 0 0; }
  .synorb-guides-welcome { right: 1rem; bottom: max(1rem, env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .synorb-guides-panel button { transition: none; } }
