/* vendor copy of s3-aesthetics-scheduler@bb74114 host/s3-book.css; synced by build.sh, do not edit */
/* SOURCE: s3-aesthetics-scheduler/host/. The Finder and Hub carry copies in vendor/, synced by their build.sh. Edit here.
   The frame S3Book opens: the scheduler's panel on the right, a dim backdrop behind it, full width on phones. */
html.s3b-open { overflow: hidden; }
.s3b-backdrop { position: fixed; inset: 0; background: rgba(35, 38, 43, .45); z-index: 2000; }
.s3b-frame { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); z-index: 2001; background: #f6f2ed; box-shadow: -12px 0 40px rgba(0, 0, 0, .25); }
.s3b-frame iframe { display: block; width: 100%; height: 100%; border: 0; background: transparent; }
:root[data-theme="dark"] .s3b-frame { background: #1b1d21; }
/* Shown when the panel doesn't load: a way out on phones, where the frame covers the screen */
.s3b-fail { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 32px; text-align: center; background: inherit; font: 15px/1.45 system-ui, sans-serif; color: #2b2e33; }
.s3b-fail p { margin: 0; max-width: 300px; }
.s3b-fail button { font: 600 15px system-ui, sans-serif; padding: 11px 26px; border-radius: 999px; border: 0; background: #2b2e33; color: #fff; cursor: pointer; }
.s3b-fail a { color: inherit; font-size: 14px; }
:root[data-theme="dark"] .s3b-fail { color: #ece8e2; }
:root[data-theme="dark"] .s3b-fail button { background: #ece8e2; color: #1b1d21; }
@media (max-width: 640px) { .s3b-frame { width: 100vw; box-shadow: none; } }
