.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; }

.sphere-crm-form-wrapper { position: relative; }
.sphere-crm-form-status, .sphere-book-mount-status { display: flex; align-items: center; gap: 10px; padding: 18px 0; font-size: 14px; color: var(--ink-3); }
.sphere-crm-form-spinner, .sphere-book-mount-spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--accent); animation: pf-spin .8s linear infinite; }
@keyframes pf-spin { to { transform: rotate(360deg); } }

.sphere-form.sphereinc { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: 100%; font-family: var(--font-body); }
.sphere-form.sphereinc.sphere-wizard { grid-template-columns: 1fr; }
.sphere-form .sphere-step-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sphere-form .sphere-step-panel[hidden] { display: none; }
.sphere-form-row { display: flex; flex-direction: column; min-width: 0; }
.sphere-form .sphere-row-full, .sphere-form .sphere-consent, .sphere-form .sphere-step-nav,
.sphere-form .sphere-error, .sphere-form .sphere-success, .sphere-form > button[type="submit"] { grid-column: 1 / -1; }
.sphere-form-row > label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sphere-form input:not([type="hidden"]), .sphere-select-trigger, .sphere-book-input, .sphere-book-select, .sphere-book-textarea {
  width: 100%; height: 48px; padding: 0 14px; border: 0; border-radius: 10px; background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--line-2); font: 400 16px var(--font-body); color: var(--ink);
}
.sphere-form input::placeholder, .sphere-book-input::placeholder, .sphere-book-textarea::placeholder { color: var(--ink-3); }
.sphere-form input:focus, .sphere-select-trigger:focus, .sphere-book-input:focus, .sphere-book-select:focus, .sphere-book-textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--accent); }

.sphere-rail, .sphere-book-rail { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.sphere-pill, .sphere-book-pill { flex: none; padding: 6px 12px; border-radius: var(--r-pill); background: var(--panel); font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.sphere-pill-active, .sphere-book-pill-on { background: var(--ink); color: #fff; }
.sphere-pill-done, .sphere-book-pill-done { background: var(--accent-50); color: var(--accent-ink); }
.sphere-rail-line, .sphere-book-rail-line { flex: 1; height: 1.5px; min-width: 12px; background: var(--line-2); }

.sphere-select { position: relative; }
.sphere-select-trigger { display: flex; align-items: center; justify-content: space-between; gap: 8px; text-align: left; cursor: pointer; }
.sphere-select-label[data-placeholder="1"] { color: var(--ink-3); }
.sphere-select-chev { color: var(--ink-3); font-size: 12px; }
.sphere-select-menu { display: none; position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: #fff; border-radius: 10px; box-shadow: var(--e3); max-height: 240px; overflow: auto; }
.sphere-select[data-open="1"] .sphere-select-menu { display: block; }
.sphere-select-opt { padding: 10px 12px; border-radius: 8px; font-size: 15px; cursor: pointer; }
.sphere-select-opt:hover { background: var(--panel); }
.sphere-select-opt-hidden { display: none; }

.sphere-consent { margin: 2px 0 0; font-size: 13px; line-height: 1.45; color: var(--ink-3); }
.sphere-consent a { color: inherit; }
.sphere-step-nav, .sphere-book-nav { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: flex-end; margin-top: 4px; }
.sphere-form button[type="submit"], .sphere-step-next, .sphere-book-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 24px; border: 0;
  border-radius: var(--r-pill); background: var(--accent); color: var(--on-accent); font: 600 16px/1 var(--font-body); cursor: pointer;
  transition: background .1s var(--ease-out);
}
.sphere-form button[type="submit"]::after { content: "\2192"; }
.sphere-form button[type="submit"]:hover, .sphere-step-next:hover, .sphere-book-btn:hover { background: var(--accent-hover); }
.sphere-form > button[type="submit"] { width: 100%; }
.sphere-step-back, .sphere-book-link { height: 50px; padding: 0 20px; border: 0; border-radius: var(--r-pill); background: var(--ground); box-shadow: inset 0 0 0 1.5px var(--line-2); font: 600 16px/1 var(--font-body); color: var(--ink); cursor: pointer; }
.sphere-error, .sphere-book-error { padding: 10px 14px; border-radius: 10px; background: var(--critical-50); color: var(--critical); font-size: 14px; }
.sphere-error[hidden], .sphere-success[hidden] { display: none; }
.sphere-success { padding: 10px 14px; border-radius: 10px; background: var(--ok-50); color: var(--ok-ink); font-size: 14px; }

.ew { display: grid; justify-items: center; gap: 12px; margin-top: 6px; padding-top: 22px; border-top: 1px solid var(--line); text-align: center; }
.ew-or { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.ew-toggle { border: 0; background: none; padding: 0; font: 600 14.5px var(--font-body); color: var(--accent-ink); cursor: pointer; }
.ew-toggle:hover { text-decoration: underline; }
.ew-toggle[hidden] { display: none; }
.ew-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; width: 100%; }
.ew-form[hidden] { display: none; }
.ew-form .field { flex: 1 1 240px; text-align: left; }
.ew-error { margin: 0; font-size: 13px; color: var(--critical); }
.ew-error[hidden] { display: none; }

.sphere-book-mount { position: relative; }
.sphere-book-form { display: grid; gap: 16px; font-family: var(--font-body); }
.sphere-book-panel { display: grid; gap: 14px; }
.sphere-book-panel[hidden] { display: none; }
.sphere-book-grid { display: grid; grid-template-columns: 200px 1fr; gap: 20px; }
.sphere-book-dates { display: grid; gap: 8px; align-content: start; }
.sphere-book-date { height: 44px; padding: 0 14px; border: 0; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2); font: 600 14.5px var(--font-body); color: var(--ink-2); text-align: left; cursor: pointer; }
.sphere-book-date[aria-selected="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.sphere-book-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; align-content: start; }
.sphere-book-slots[hidden] { display: none; }
.sphere-book-slot { height: 42px; border: 0; border-radius: var(--r-pill); background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2); font: 600 14px var(--font-body); color: var(--ink-2); cursor: pointer; }
.sphere-book-slot:hover { box-shadow: inset 0 0 0 1.5px var(--accent); }
.sphere-book-slot[aria-pressed="true"] { background: var(--accent-50); box-shadow: inset 0 0 0 2px var(--accent); color: var(--accent-ink); }
.sphere-book-field { display: grid; gap: 6px; }
.sphere-book-label { font-size: 14px; font-weight: 600; color: var(--ink); }
.sphere-book-textarea { height: 96px; padding: 12px 14px; resize: vertical; }
.sphere-book-msg:empty { display: none; }
.sphere-book-turnstile:empty { display: none; }
.sphere-book-muted { color: var(--ink-3); font-size: 14px; }

@media (max-width: 720px) {
  .sphere-form.sphereinc, .sphere-form .sphere-step-panel { grid-template-columns: 1fr; }
  .sphere-book-grid { grid-template-columns: 1fr; }
  .sphere-book-dates { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; padding-bottom: 4px; }
}
