/* The "on your website" demo (public/assets/embed-demo.js): a business's own website in a browser
   (or a phone, when there's no room for a desktop), with the quote form added the way embed.js adds it
   and a cursor requesting a quote. The website and the form are laid out at real size - a 1040 x 640
   desktop or a 390 x 780 phone - and scaled down to fit (.ed-screen), so they look like the real thing
   rather than a drawing of it. Self-contained (no page tokens). Ported from the old booking app, so
   some class names still say "booking". */
@font-face { font-family: 'ED Manrope'; font-weight: 400; font-display: swap; src: url('/fonts/manrope-400.woff2') format('woff2'); }
@font-face { font-family: 'ED Manrope'; font-weight: 600; font-display: swap; src: url('/fonts/manrope-600.woff2') format('woff2'); }
@font-face { font-family: 'ED Manrope'; font-weight: 700; font-display: swap; src: url('/fonts/manrope-700.woff2') format('woff2'); }

.ed { --ed-sys: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; position: relative; color: #101828; font-family: var(--ed-sys); text-align: left; user-select: none; -webkit-user-select: none; }
.ed *, .ed *::before, .ed *::after { box-sizing: border-box; }

/* ---------- desktop: a browser window (the same chrome as the homepage's dashboard demo) ---------- */
.ed-frame { position: relative; background: #fff; border: 1px solid #d5d9de; border-radius: 14px; box-shadow: 0 20px 50px -20px rgba(16, 24, 40, 0.25), 0 1px 2px rgba(16, 24, 40, 0.05); overflow: hidden; }
.ed-bar { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: #f7f8fa; border-bottom: 1px solid #eceef1; }
.ed-dots { display: none; }
.ed-dots i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.ed-dots i:nth-child(2) { background: #febc2e; } .ed-dots i:nth-child(3) { background: #28c840; }
.ed-navi { display: flex; gap: 8px; flex: none; color: #5f6368; }
.ed-navi svg { width: 16px; height: 16px; display: block; }
.ed-navi .ed-dim { opacity: 0.4; }
.ed-url { position: relative; flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 5px 14px; background: #e9ecf0; border: 1px solid transparent; border-radius: 999px; font-size: 13px; line-height: 1.4; white-space: nowrap; overflow: hidden; }
.ed-url > svg { width: 12px; height: 12px; flex: none; color: #5f6368; }
.ed-url-text { overflow: hidden; text-overflow: ellipsis; }
.ed-url-path { color: #5f6368; }
.ed-load { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: #1a73e8; opacity: 0; }
.ed-vp { position: relative; overflow: hidden; background: #fff; }
.ed-screen { position: absolute; left: 0; top: 0; transform-origin: 0 0; overflow: hidden; }
.ed-page { position: absolute; left: 0; right: 0; top: 0; bottom: 0; overflow: hidden; }

/* ---------- phone: a black Galaxy S-series (the same handset as the homepage's dashboard demo,
   assets/dashboard-demo.css) - thin black bezels with a slightly deeper chin, a bright metal edge line
   around a dark frame, volume + Bixby buttons on the left, power on the right. Its status bar (with the
   centred punch-hole camera) and Chrome's address bar are drawn inside the screen. ---------- */
.ed-phone .ed-frame { overflow: visible; max-width: 292px; margin: 0 auto; background: #08090b; border: 5px solid #08090b; border-top-width: 6px; border-bottom-width: 8px; border-radius: 30px; box-shadow: 0 0 0 1px #1c1e22, 0 0 0 2px #9ea2a8, 0 0 0 3px #2c2f34, 0 30px 60px -22px rgba(16, 24, 40, 0.55); }
.ed-phone .ed-frame::before, .ed-phone .ed-frame::after { content: ""; position: absolute; width: 3px; background: linear-gradient(90deg, #3a3d42, #6c7076 50%, #2a2d31); }
.ed-phone .ed-frame::before { left: -11px; top: 16%; height: 19%; background: linear-gradient(#4a4d53 0 53%, transparent 53% 65%, #4a4d53 65% 89%, transparent 89%); }
.ed-phone .ed-frame::after { right: -11px; top: 21.5%; height: 7%; border-radius: 0 2px 2px 0; }
.ed-phone .ed-vp { border-radius: 25px 25px 22px 22px; }
.ed-phone .ed-bar { display: none; }
.ed-pchrome { position: absolute; left: 0; right: 0; top: 0; height: 100px; background: #fff; border-bottom: 1px solid #e3e4e7; z-index: 30; }
.ed-pstatus { position: relative; display: flex; justify-content: space-between; align-items: center; height: 46px; padding: 4px 30px 0 32px; font: 600 15px/1 var(--ed-sys); }
.ed-pstatus::before { content: ""; position: absolute; left: 50%; top: 11px; width: 19px; height: 19px; margin-left: -9.5px; border-radius: 50%; background: #08090b; box-shadow: inset 0 0 0 3px #1d2024, 0 0 0 1.5px #e9ebee; }
.ed-pstatus svg { height: 12px; width: auto; margin-left: 6px; }
.ed-paddr { position: relative; margin: 2px 14px 0; height: 42px; padding: 0 16px; border-radius: 999px; background: #eef0f3; display: flex; align-items: center; justify-content: flex-start; gap: 8px; font: 400 15px/1 var(--ed-sys); color: #101828; overflow: hidden; white-space: nowrap; }
.ed-paddr svg { width: 12px; height: 12px; color: #5f6368; flex: none; }
.ed-phone .ed-page { top: 100px; }

/* ---------- the business's website ---------- */
.ed-site { position: absolute; inset: 0; overflow: hidden; background: #fbfaf8; color: #1d2733; font-family: 'ED Manrope', var(--ed-sys); }
.ed-scroll { will-change: transform; }
.ed-util { display: flex; justify-content: space-between; gap: 20px; padding: 7px 44px; font-size: 12.5px; color: rgba(255, 255, 255, 0.78); background: var(--ed-dark); white-space: nowrap; }
.ed-util b { color: #fff; font-weight: 600; }
.ed-nav { display: flex; align-items: center; gap: 28px; padding: 16px 44px; background: #fff; border-bottom: 1px solid #ecebe6; }
.ed-brand { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; color: var(--ed-dark); white-space: nowrap; }
.ed-brand span { overflow: hidden; text-overflow: ellipsis; }
.ed-mark-logo { display: block; flex: none; height: 34px; width: auto; max-width: 180px; object-fit: contain; }
.ed-brand-wordmark > span { display: none; }
.ed-mark { width: 34px; height: 34px; flex: none; border-radius: 9px; display: grid; place-items: center; font-size: 13.5px; font-weight: 700; color: #fff; background: var(--ed-brand); background-size: cover; background-position: center; }
.ed-links { display: flex; gap: 26px; margin-left: auto; font-size: 14.5px; font-weight: 600; color: #3d4a58; white-space: nowrap; }
.ed-call { display: flex; align-items: center; gap: 7px; font-size: 14.5px; font-weight: 700; color: var(--ed-dark); white-space: nowrap; }
.ed-call svg { width: 15px; height: 15px; }
.ed-burger { display: none; margin-left: auto; width: 24px; height: 24px; color: var(--ed-dark); }
.ed-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: center; padding: 52px 44px 56px; }
.ed-stars { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 9px; border: 1px solid #ecebe6; border-radius: 999px; background: #fff; font-size: 13px; font-weight: 600; color: #3d4a58; }
.ed-stars i { font-style: normal; color: #f5a524; letter-spacing: 1px; }
.ed-hero .ed-h1 { margin: 18px 0 14px; font-size: 46px; line-height: 1.07; letter-spacing: -0.035em; font-weight: 700; color: #0f1b2a; }
.ed-hero p:not(.ed-h1) { margin: 0 0 28px; max-width: 450px; font-size: 17px; line-height: 1.6; color: #4b5866; }
.ed-ctas { display: flex; align-items: center; gap: 18px; }
.ed-sbtn { display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px; border-radius: 8px; font-size: 15px; font-weight: 700; color: #fff; background: var(--ed-dark); white-space: nowrap; }
.ed-ghost { padding: 10px 2px; border-bottom: 2px solid #cfd6de; font-size: 15px; font-weight: 600; color: var(--ed-dark); white-space: nowrap; }
.ed-photo { position: relative; height: 390px; border-radius: 20px; background: #e8e6e1 center / cover no-repeat; }
/* No cover photo (the owner hasn't added one, and there's no stock one for their trade): a soft wash of
   the site's brand color instead of a flat grey box. */
.ed-photo[style=""] { background-image: linear-gradient(135deg, var(--ed-tint), color-mix(in srgb, var(--ed-brand) 35%, #fff)); }
.ed-quote { position: absolute; left: 18px; right: 18px; bottom: 18px; max-width: 330px; padding: 13px 15px; border-radius: 12px; background: #fff; box-shadow: 0 10px 30px -8px rgba(15, 27, 42, 0.3); font-size: 13.5px; line-height: 1.45; color: #3d4a58; }
.ed-quote i { display: block; font-style: normal; color: #f5a524; letter-spacing: 1px; font-size: 12px; margin-bottom: 3px; }
.ed-quote b { display: block; margin-top: 5px; font-size: 13px; color: #0f1b2a; }
.ed-sec { padding: 6px 44px 56px; }
.ed-sec h2 { margin: 0 0 6px; font-size: 30px; letter-spacing: -0.03em; color: #0f1b2a; }
.ed-sec > p { margin: 0 0 24px; font-size: 16px; color: #4b5866; }
.ed-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ed-card { overflow: hidden; border: 1px solid #ecebe6; border-radius: 16px; background: #fff; }
.ed-card-ph { height: 150px; background: #e8e6e1 center / cover no-repeat; }
.ed-card-body { padding: 16px 18px 18px; }
.ed-card-num { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 12px; border-radius: 10px; font-weight: 700; color: var(--ed-brand); background: var(--ed-tint); }
.ed-card b { display: block; font-size: 16.5px; color: #0f1b2a; }
.ed-card small { display: block; margin-top: 3px; font-size: 14px; color: #66727f; }
.ed-booksec .ed-inline { overflow: hidden; border: 1px solid #ecebe6; border-radius: 14px; }
.ed-foot { display: flex; justify-content: space-between; gap: 20px; padding: 26px 44px; font-size: 13.5px; color: rgba(255, 255, 255, 0.75); background: var(--ed-dark); }
.ed-foot b { color: #fff; font-size: 15px; }

/* The button embed.js draws (its defaults; Settings restyles it to the owner's choices). */
.ed-embtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 24px; border-radius: 8px; font: 600 16px/1.2 var(--ed-sys); color: #fff; background: #12873d; box-shadow: 0 1px 2px rgba(16, 24, 40, 0.12); white-space: nowrap; transition: filter 0.15s ease, transform 0.1s ease, opacity 0.2s ease; }
.ed-embtn svg { width: 18px; height: 18px; flex: none; }
.ed-float { position: absolute; right: 20px; bottom: 20px; z-index: 5; padding: 0 22px 0 18px; box-shadow: 0 8px 24px rgba(16, 24, 40, 0.22), 0 2px 6px rgba(16, 24, 40, 0.12); }

/* Phone layout of the website. */
.ed-phone .ed-util, .ed-phone .ed-links, .ed-phone .ed-call { display: none; }
.ed-phone .ed-burger { display: block; }
.ed-phone .ed-nav { padding: 14px 20px; }
.ed-phone .ed-brand { font-size: 17px; }
.ed-phone .ed-mark-logo { height: 28px; max-width: 140px; }
.ed-phone .ed-hero { display: block; padding: 28px 20px 34px; }
.ed-phone .ed-hero .ed-h1 { font-size: 34px; margin: 16px 0 12px; }
.ed-phone .ed-hero p:not(.ed-h1) { font-size: 16px; margin-bottom: 22px; }
.ed-phone .ed-photo { height: 230px; margin-top: 28px; border-radius: 16px; }
.ed-phone .ed-quote { display: none; }
.ed-phone .ed-sec { padding: 4px 20px 40px; }
.ed-phone .ed-sec h2 { font-size: 26px; }
.ed-phone .ed-cards { grid-template-columns: 1fr; gap: 14px; }
.ed-phone .ed-card-ph { height: 130px; }
.ed-phone .ed-foot { display: block; padding: 22px 20px; }
.ed-phone .ed-booksec .ed-inline { margin: 0 -20px; border-radius: 0; border-left: 0; border-right: 0; }

/* ---------- embed.js's popup ---------- */
.ed-overlay { position: absolute; inset: 0; z-index: 10; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(16, 24, 40, 0.6); opacity: 0; transition: opacity 0.2s ease; }
.ed-overlay.ed-open { opacity: 1; }
.ed-panel { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 16px; background: #f6f7f9; box-shadow: 0 24px 64px rgba(16, 24, 40, 0.35); transform: translateY(12px); transition: transform 0.2s ease; }
.ed-open .ed-panel { transform: none; }
.ed-x { position: absolute; top: 10px; right: 10px; z-index: 3; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; background: rgba(16, 24, 40, 0.75); box-shadow: 0 0 0 2px #fff, 0 2px 10px rgba(16, 24, 40, 0.35); transition: filter 0.15s ease, transform 0.1s ease; }
.ed-x svg { width: 18px; height: 18px; }
.ed-phone .ed-overlay { padding: 0; }
.ed-phone .ed-panel { border-radius: 0; }
/* The booking page in a new tab (Link button). */
.ed-tab { position: absolute; inset: 0; z-index: 20; opacity: 0; transition: opacity 0.25s ease; }
.ed-tab.ed-open { opacity: 1; }

/* ---------- the booking page, as book.html draws it (default style) ---------- */
.ed-bp { --ed-accent: #12873d; position: absolute; inset: 0; overflow: hidden; background: #f6f7f9; color: #101828; font: 15px/1.45 var(--ed-sys); }
.ed-inline .ed-bp { position: relative; inset: auto; }
.ed-bp-in { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 22px; align-items: start; padding: 26px 30px 30px; }
.ed-bp-side, .ed-bp-main { display: grid; gap: 18px; align-content: start; min-width: 0; }
.ed-bp-main, .ed-bp-in { will-change: transform; }
.ed-c { overflow: hidden; border: 1px solid #e7e8eb; border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05), 0 1px 3px rgba(16, 24, 40, 0.04); }
.ed-cover { height: 140px; background: #e8e6e1 center / cover no-repeat; }
.ed-prof { padding: 20px 22px 22px; }
.ed-logo { width: 52px; height: 52px; margin: -46px 0 12px; border: 3px solid #fff; border-radius: 12px; background: #fff center / contain no-repeat; box-shadow: 0 1px 3px rgba(16, 24, 40, 0.12); }
.ed-prof h3 { margin: 0 0 5px; font-size: 21px; line-height: 1.2; letter-spacing: -0.01em; color: var(--ed-accent); }
.ed-prof p { margin: 0; font-size: 14px; color: #5c6370; }
.ed-greviews { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13.5px; font-weight: 600; }
.ed-greviews svg { width: 14px; height: 14px; flex: none; }
.ed-hours { display: flex; justify-content: space-between; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid #ecedf0; font-size: 13.5px; }
.ed-hours b { font-weight: 600; } .ed-hours span { color: #5c6370; }
.ed-sum { padding: 18px 22px; display: none; }
.ed-sum.ed-on { display: block; }
.ed-sum h4 { margin: 0 0 10px; font-size: 16px; }
.ed-sum-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 600; }
.ed-sum-when { display: none; margin-top: 10px; padding-top: 10px; border-top: 1px solid #ecedf0; font-size: 13.5px; color: #5c6370; }
.ed-sum-when.ed-on { display: block; }
.ed-step { padding: 22px 22px 14px; transition: opacity 0.25s ease; }
.ed-step.ed-wait { opacity: 0.5; }
.ed-step h4 { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font-size: 17px; letter-spacing: -0.01em; }
.ed-num { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 50%; font-size: 13px; font-weight: 700; color: color-mix(in srgb, var(--ed-accent) 58%, #101828); background: color-mix(in srgb, var(--ed-accent) 13%, #fff); }
.ed-num svg { display: none; width: 15px; height: 15px; }
.ed-num.ed-done { color: #fff; background: var(--ed-accent); }
.ed-num.ed-done svg { display: block; } .ed-num.ed-done span { display: none; }
.ed-svc { display: grid; grid-template-columns: minmax(0, 1fr) 76px; gap: 16px; align-items: center; margin: 0 -10px; padding: 13px 12px; border: 1px solid transparent; border-radius: 10px; transition: background 0.15s ease, border-color 0.15s ease; }
.ed-svc + .ed-svc { border-top-color: #ecedf0; }
.ed-svc.ed-noph { grid-template-columns: minmax(0, 1fr); }
.ed-svc.ed-hover { background: #f7f8f9; }
.ed-svc.ed-sel, .ed-svc.ed-sel + .ed-svc { border-top-color: transparent; }
.ed-svc.ed-sel { background: color-mix(in srgb, var(--ed-accent) 8%, #fff); border-color: color-mix(in srgb, var(--ed-accent) 34%, #fff); }
.ed-svc b { display: block; font-size: 15px; font-weight: 600; }
.ed-svc small { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin: 2px 0 6px; font-size: 13.5px; color: #5c6370; }
.ed-svc span { font-size: 13.5px; color: #5c6370; }
.ed-svc span strong { color: #101828; }
.ed-svc-ph { width: 76px; height: 76px; border-radius: 8px; background: #e8e6e1 center / cover no-repeat; }
.ed-q { margin-bottom: 14px; }
.ed-q > b { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.ed-opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border: 1px solid #e3e5e8; border-radius: 10px; font-size: 14px; transition: background 0.15s ease, border-color 0.15s ease; }
.ed-opt + .ed-opt { margin-top: 6px; }
.ed-opt i { width: 18px; height: 18px; flex: none; border: 1.5px solid #b9bec6; border-radius: 50%; background: #fff; transition: border 0.15s ease; }
.ed-opt.ed-multi i { border-radius: 5px; }
.ed-opt.ed-hover { border-color: color-mix(in srgb, var(--ed-accent) 50%, #fff); }
.ed-opt.ed-sel { border-color: color-mix(in srgb, var(--ed-accent) 34%, #fff); background: color-mix(in srgb, var(--ed-accent) 8%, #fff); }
.ed-opt.ed-sel i { border: 5.5px solid var(--ed-accent); }
.ed-cal { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: 26px; padding-bottom: 8px; }
.ed-cal-head { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.ed-cal-head span { color: #8a909b; letter-spacing: 6px; }
.ed-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; font-size: 13px; }
.ed-days i { padding-bottom: 4px; font-style: normal; font-size: 11.5px; font-weight: 600; color: #8a909b; }
.ed-days u { display: grid; place-items: center; height: 32px; border-radius: 8px; text-decoration: none; color: #b6bac2; transition: background 0.15s ease, color 0.15s ease; }
.ed-days u.ed-a { font-weight: 600; color: #101828; background: #f2f3f5; }
.ed-days u.ed-hover { background: color-mix(in srgb, var(--ed-accent) 14%, #fff); }
.ed-days u.ed-sel { color: #fff; background: var(--ed-accent); }
.ed-times h5 { margin: 0 0 8px; font-size: 14px; font-weight: 600; color: #5c6370; }
.ed-slots { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; transition: opacity 0.2s ease; }
.ed-times.ed-empty .ed-slots { opacity: 0; }
.ed-slots u { padding: 9px 0; border: 1px solid #dfe1e5; border-radius: 10px; text-align: center; text-decoration: none; font-size: 13.5px; font-weight: 600; background: #fff; transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease; }
.ed-slots u.ed-hover { border-color: var(--ed-accent); }
.ed-slots u.ed-sel { color: #fff; border-color: var(--ed-accent); background: var(--ed-accent); }
.ed-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-bottom: 8px; }
.ed-field label { display: block; margin-bottom: 5px; font-size: 13px; font-weight: 600; color: #344054; }
.ed-field div { height: 42px; padding: 0 12px; display: flex; align-items: center; border: 1px solid #d5d8de; border-radius: 10px; font-size: 14px; color: #101828; background: #fff; transition: background 0.3s ease, border-color 0.15s ease; overflow: hidden; white-space: nowrap; }
.ed-field.ed-wide { grid-column: 1 / -1; }
.ed-field div.ed-hover { border-color: var(--ed-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ed-accent) 15%, transparent); }
.ed-field div.ed-auto { background: #e8f0fe; }
.ed-submit { display: block; width: 100%; padding: 14px 0; border-radius: 10px; text-align: center; font-size: 16px; font-weight: 600; color: #fff; background: var(--ed-accent); opacity: 0.45; transition: opacity 0.2s ease, filter 0.15s ease, transform 0.1s ease; }
.ed-submit.ed-on { opacity: 1; }
.ed-done-card { display: none; padding: 40px 30px 36px; text-align: center; }
.ed-done-card .ed-check { display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 50%; color: #fff; background: var(--ed-accent); transform: scale(0.6); opacity: 0; transition: transform 0.35s cubic-bezier(0.3, 1.5, 0.6, 1), opacity 0.2s ease; }
.ed-done-card .ed-check svg { width: 30px; height: 30px; }
.ed-done-card h4 { margin: 0 0 6px; font-size: 21px; letter-spacing: -0.01em; }
.ed-done-card p { margin: 0 auto; max-width: 380px; font-size: 14.5px; color: #5c6370; }
.ed-done-card .ed-when { display: inline-block; margin-top: 16px; padding: 10px 16px; border-radius: 10px; font-size: 14px; font-weight: 600; background: #f2f3f5; }
.ed-done-card .ed-when:empty { display: none; }
.ed-bp.ed-sent .ed-step, .ed-bp.ed-sent .ed-submit { display: none; }
.ed-bp.ed-sent .ed-done-card { display: block; }
.ed-bp.ed-sent .ed-done-card .ed-check { transform: none; opacity: 1; }
/* Phone layout of the booking page: one column, the profile above the steps. */
.ed-phone .ed-bp-in { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 14px 14px 24px; }
.ed-phone .ed-bp-side .ed-sum { display: none; }
.ed-phone .ed-cover { height: 110px; }
.ed-phone .ed-prof { padding: 16px 18px 18px; }
.ed-phone .ed-hours { display: none; }
.ed-phone .ed-step { padding: 18px 16px 10px; }
.ed-phone .ed-svc { grid-template-columns: minmax(0, 1fr) 64px; gap: 12px; }
.ed-phone .ed-svc-ph { width: 64px; height: 64px; }
.ed-phone .ed-cal { grid-template-columns: minmax(0, 1fr); gap: 16px; }
.ed-phone .ed-fields { grid-template-columns: minmax(0, 1fr); }

/* Hover and press, while the cursor's on something. */
.ed-is-hover { filter: brightness(0.92); }
.ed-is-press { transform: scale(0.97); }

/* ---------- the cursor (desktop) or a fingertip (phone) ---------- */
.ed-cursor { position: absolute; left: 0; top: 0; z-index: 50; width: 24px; height: 24px; pointer-events: none; will-change: transform; opacity: 0; transition: opacity 0.25s ease; filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, 0.35)); }
.ed-cursor.ed-on { opacity: 1; }
.ed-cursor svg { position: absolute; left: 0; top: 0; width: 24px; height: 24px; transform-origin: 5px 3px; transition: opacity 0.06s ease, transform 0.1s ease; }
.ed-cursor .ed-hand { left: -7px; top: -1px; opacity: 0; transform-origin: 12px 3px; }
.ed-cursor.ed-pointer .ed-arrow { opacity: 0; }
.ed-cursor.ed-pointer .ed-hand { opacity: 1; }
.ed-cursor.ed-down svg { transform: scale(0.86); }
/* A phone's fingertip: the circle is drawn on ::before so its press can shrink it in place. (Scaling the
   cursor itself also scaled its translate(), so each press jerked it toward the screen's top-left.) */
.ed-phone .ed-cursor { width: 0; height: 0; filter: none; transition: opacity 0.18s ease; }
.ed-phone .ed-cursor::before { content: ""; position: absolute; left: -22px; top: -22px; width: 44px; height: 44px; border-radius: 50%; background: rgba(16, 24, 40, 0.22); box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.7); transition: transform 0.12s ease; }
.ed-phone .ed-cursor svg { display: none; }
.ed-phone .ed-cursor.ed-down::before { transform: scale(0.8); }

.ed-fade { position: absolute; inset: 0; z-index: 60; background: #fff; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.ed-fade.ed-on { opacity: 1; }
/* Jumping straight to a state (a still picture, or setting up the next scene) - no transitions. */
.ed-instant, .ed-instant * { transition: none !important; }

/* ---------- quote form (today's quote page): accent band, trust line, cards on a centred column ---------- */
.ed-bpq { background: #f5f8fc; }
.ed-bpq .ed-bp-in { display: block; padding: 0; }
.ed-bpq .ed-bp-main { display: block; padding: 0 0 30px; }
/* The band reaches 2px past the panel's top and sides (its padding grows to match): the whole scene is
   drawn scaled down, so its edge can land on part of a pixel, and the rounded popup's clip then blended
   the light page behind into a pale rim round the blue. Clipped inside blue, there's nothing to blend. */
.ed-qhead { margin: -2px -2px 0; padding: 32px 34px 70px; color: #fff; background: linear-gradient(135deg, var(--ed-accent), color-mix(in srgb, var(--ed-accent) 72%, #000)); }
.ed-qhead h3 { margin: 0 0 6px; font-size: 27px; letter-spacing: -0.02em; }
.ed-qhead p { margin: 0 0 14px; max-width: 560px; font-size: 14.5px; opacity: 0.9; }
.ed-chips { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; font-weight: 700; }
.ed-chips span { display: inline-flex; align-items: center; gap: 5px; }
.ed-chips svg { width: 14px; height: 14px; }
.ed-bpq .ed-step, .ed-bpq .ed-submit, .ed-bpq .ed-done-card { width: calc(100% - 48px); max-width: 600px; margin: 0 auto 16px; box-sizing: border-box; }
.ed-qhead + .ed-step { position: relative; margin-top: -46px; }
.ed-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.ed-pill { margin: 0 !important; padding: 9px 16px; border: 1px solid #d0d5dd; border-radius: 999px; font-size: 14px; }
.ed-pill.ed-sel { border-color: var(--ed-accent); background: color-mix(in srgb, var(--ed-accent) 10%, #fff); color: color-mix(in srgb, var(--ed-accent) 70%, #101828); font-weight: 600; }
.ed-phone .ed-qhead { padding: 24px 18px 56px; }
.ed-phone .ed-qhead h3 { font-size: 21px; }
.ed-phone .ed-qhead p { font-size: 13.5px; }
.ed-phone .ed-chips { flex-direction: column; gap: 5px; }
.ed-phone .ed-bpq .ed-step, .ed-phone .ed-bpq .ed-submit, .ed-phone .ed-bpq .ed-done-card { width: calc(100% - 24px); }
.ed-phone .ed-pill { padding: 8px 13px; font-size: 13.5px; }

/* ---------- clicks and taps ---------- */
.ed-ripple { position: absolute; left: 0; top: 0; z-index: 49; width: 0; height: 0; pointer-events: none; }
.ed-ripple::before { content: ""; position: absolute; left: -18px; top: -18px; width: 36px; height: 36px; border-radius: 50%; border: 2px solid rgba(1, 98, 220, 0.55); background: rgba(1, 98, 220, 0.12); animation: ed-ripple 0.6s ease-out forwards; }
@keyframes ed-ripple { from { transform: scale(0.3); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }
/* Phones: no dot following the finger around - just the tap itself. */
.ed-phone .ed-cursor::before { opacity: 0; }
.ed-phone .ed-cursor.ed-down::before { opacity: 1; transform: scale(0.75); }
.ed-phone .ed-ripple::before { border-color: rgba(16, 24, 40, 0.25); background: rgba(16, 24, 40, 0.12); }
/* The popup's own corners: no light panel colour showing round the edge of its header band. */
.ed-panel:has(.ed-bpq) { background: transparent; }
.ed-phone .ed-cursor::before { transition: transform 0.12s ease, opacity 0.12s ease; }
.ed-bpq.ed-sent .ed-done-card { position: relative; margin-top: -46px; }
