/* Booking widget styles. Extracted from an inline <style> in book-a-demo.html
   so the widget is not dependent on a CSP style hash and never renders
   unstyled if inline styles are blocked. Linked from <head>.
   Version: v2.0.0 - light redesign (final build run Part G): the widget now
   matches the page instead of sitting in a near-black box. Light surface,
   the site's palette (Deep Space Navy text, working teal accents, CTA Gold
   primary action), and the same card language the contact form area uses.
   STYLING ONLY: every class name, id, and the DOM structure are unchanged, so
   the booking logic, token flow, validation, GA4 push, and the SMS consent
   field are untouched. Supersedes the #118 dark-card readability fixes (the
   card is no longer dark). AA contrast on every state. */
@layer base {
          /* scoped booking-widget palette tokens (maintainability) */
          .bkw{--bkw-teal-rgb:0,122,108;--bkw-bg:#FFFFFF;--bkw-card:#F3F8FD;--bkw-surface:#FFFFFF;--bkw-border:#D2E0EF;--bkw-border-hover:#A9C2DC;--bkw-text:#0E1F3D;--bkw-muted:#5C6B82;--bkw-note:#5C6B82;--bkw-err-rgb:192,57,43;--bkw-err-text:#A2312A;--bkw-green:#15803D;
          /* shared site tokens the widget consumes, declared here too so a standalone
             embed without styles.css still renders with color (values match :root). */
          --accent:#007A6C;--cta:#F5A623;--cta-dk:#D4880A;--gold-ink:#3A2600;--white:#FFFFFF;}
          .booking-embed{min-width:0;}
          .bkw{font-family:inherit;background:var(--bkw-bg);border:1px solid var(--bkw-border);border-radius:14px;padding:22px;color:var(--bkw-text);box-shadow:0 8px 30px rgba(14,31,61,0.08);min-width:0;max-width:100%;}
          .bkw *{box-sizing:border-box;}
          .bkw-lbl{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--accent);font-weight:600;margin-bottom:10px;}
          .bkw-card{background:var(--bkw-card);border:1px solid var(--bkw-border);border-radius:12px;padding:16px;margin-bottom:14px;position:relative;}
          .bkw-types{display:grid;grid-template-columns:1fr 1fr;gap:10px;}
          .bkw-opt{background:var(--bkw-surface);border:1.5px solid var(--bkw-border);border-radius:10px;padding:13px;color:var(--bkw-text);font-size:14px;display:flex;align-items:center;justify-content:center;gap:9px;cursor:pointer;transition:.12s;}
          .bkw-opt:hover{border-color:var(--bkw-border-hover);}
          .bkw-opt.sel{border-color:var(--accent);background:rgba(var(--bkw-teal-rgb),.08);color:var(--accent);font-weight:600;}
          .bkw-opt svg{width:18px;height:18px;flex:0 0 auto;}
          .bkw-days{display:flex;flex-wrap:wrap;gap:8px;padding-bottom:6px;}
          .bkw-chip{flex:0 0 auto;background:var(--bkw-surface);border:1.5px solid var(--bkw-border);border-radius:10px;padding:9px 13px;color:var(--bkw-text);font-size:13px;white-space:nowrap;cursor:pointer;transition:.12s;}
          .bkw-chip:hover{border-color:var(--bkw-border-hover);}
          .bkw-chip.sel{border-color:var(--accent);background:rgba(var(--bkw-teal-rgb),.08);color:var(--accent);font-weight:600;}
          .bkw-slots{display:grid;grid-template-columns:repeat(auto-fill,minmax(90px,1fr));gap:9px;margin-top:14px;}
          .bkw-slot{background:var(--bkw-surface);border:1.5px solid var(--bkw-border);border-radius:9px;padding:11px 0;text-align:center;font-size:14px;color:var(--bkw-text);cursor:pointer;transition:.12s;}
          .bkw-slot:hover{border-color:var(--bkw-border-hover);}
          .bkw-slot.sel{border-color:var(--accent);background:var(--accent);color:var(--white);font-weight:600;}
          .bkw-sum{background:rgba(var(--bkw-teal-rgb),.08);border:1px solid rgba(var(--bkw-teal-rgb),.35);border-radius:10px;padding:12px 14px;margin-bottom:14px;font-size:14px;color:var(--accent);font-weight:600;display:flex;align-items:center;gap:8px;}
          .bkw-field{margin-bottom:12px;}
          .bkw-field label{display:block;font-size:13px;font-weight:500;color:var(--bkw-text);margin-bottom:6px;}
          .bkw-field input,.bkw-field textarea{width:100%;background:var(--bkw-surface);border:1.5px solid var(--bkw-border);border-radius:9px;padding:11px 13px;color:var(--bkw-text);font-size:14px;font-family:inherit;}
          .bkw-field input:focus,.bkw-field textarea:focus{outline:none;border-color:var(--accent);}
          .bkw-field textarea{resize:vertical;min-height:62px;}
          .bkw-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden;}
          .bkw-btn{width:100%;background:var(--cta);color:var(--gold-ink);border:none;border-radius:10px;padding:15px;font-size:15px;font-weight:600;cursor:pointer;font-family:inherit;box-shadow:0 4px 14px rgba(245,166,35,.35);transition:.12s;}
          .bkw-btn:focus-visible{outline:2px solid var(--accent);outline-offset:2px;}
          .bkw-btn:hover{background:var(--cta-dk);}
          .bkw-btn:disabled{opacity:.55;cursor:not-allowed;box-shadow:none;}
          .bkw-note{color:var(--bkw-note);font-size:12px;text-align:center;margin-top:12px;line-height:1.5;}
          .bkw-err{background:rgba(var(--bkw-err-rgb),.08);border:1px solid rgba(var(--bkw-err-rgb),.35);color:var(--bkw-err-text);border-radius:9px;padding:11px 13px;font-size:13px;font-weight:500;margin-bottom:14px;}
          .bkw-center{text-align:center;color:var(--bkw-muted);font-size:14px;padding:22px 0;}
          .bkw-spin{display:inline-block;width:16px;height:16px;border:2px solid rgba(14,31,61,.18);border-top-color:currentColor;border-radius:50%;animation:bkwsp .7s linear infinite;vertical-align:middle;}
          @keyframes bkwsp{to{transform:rotate(360deg);}}
          .bkw-ok{text-align:center;padding:12px 0;}
          .bkw-ring{width:56px;height:56px;border-radius:50%;background:rgba(21,128,61,.1);border:2px solid var(--bkw-green);color:var(--bkw-green);display:flex;align-items:center;justify-content:center;margin:4px auto 14px;}
          .bkw-hide{display:none;}
          .bkw-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
          .bkw-a{color:var(--accent);word-break:break-all;}
        }

/* Confirmation ("You are booked") readability on the LIGHT card. These rules stay
   UNLAYERED on purpose so they win over the layered global rules; they use the
   widget's own tokens, so the time, Meet link, and phone read clearly. This
   replaces the old dark-card overrides from #118 (the card is light now). */
#bkw-donemsg{color:var(--bkw-text);font-size:14px;line-height:1.7;}
#bkw-donemsg .bkw-a{color:var(--accent);text-decoration:underline;font-weight:600;}
#bkw-done .bkw-ok>div:last-child{color:var(--bkw-muted);}
