/*
 * Kaame front office - Home page (page 1)
 * Source: design/Kaame_USA_Updated_Site_Builder/design-accurate.css and Home Page.pdf (1440px artboard).
 * Everything is scoped to .km-home so Universal Theme and other pages are unaffected.
 * Montserrat is a provisional match until the Figma typography is confirmed: change --km-font only.
 */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Oswald:wght@500;700&family=Playfair+Display:wght@500;700&family=Poppins:wght@400;500;700&display=swap');

.km-home {
  --km-navy: #0B1A4F;
  --km-cobalt: #1A5CEE;
  --km-mint: #2DEFC6;
  --km-ice: #F0F7FE;
  --km-line: #DBE8F7;
  --km-muted: #5E6B89;
  --km-container: 1296px;
  --km-font: Montserrat, 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  font-family: var(--km-font);
  color: var(--km-navy);
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
.km-header.km-home { overflow: visible; }
/* APEX wraps each region in a header-tall column, so sticky cannot work: fix the header and offset the hero */
.km-header.km-home { position: fixed; top: 0; left: 0; right: 0; }
.km-hero { margin-top: 84px; }
.km-steps-section { scroll-margin-top: 96px; }
.km-home *, .km-home *::before, .km-home *::after { box-sizing: border-box; }
.km-home img { display: block; max-width: 100%; }
.km-home a { color: inherit; text-decoration: none; }
.km-home h1, .km-home h2, .km-home h3, .km-home h4 { font-family: var(--km-font); color: var(--km-navy); letter-spacing: -.04em; margin: 0; }
.km-home h2 { font-size: 30px; line-height: 1.23; font-weight: 700; }
.km-home .km-categories-section h2, .km-home .km-providers-section h2 { font-weight: 800; }
.km-home .km-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; }
.km-home .km-container { width: min(var(--km-container), calc(100% - 100px)); margin-inline: auto; }
/* Mouse/touch clicks must not leave a ring (the Universal Theme and browser draw one on :focus); keyboard focus keeps it via :focus-visible */
.km-home a:focus:not(:focus-visible), .km-home button:focus:not(:focus-visible), .km-home summary:focus:not(:focus-visible),
.km-home [role="button"]:focus:not(:focus-visible), .km-home [tabindex]:focus:not(:focus-visible) { outline: 0; box-shadow: none; }
.km-home summary { -webkit-tap-highlight-color: transparent; }
.km-home a, .km-home button { -webkit-tap-highlight-color: transparent; }
.km-home :focus-visible { outline: 3px solid var(--km-cobalt); outline-offset: 2px; }
.km-home .km-icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* APEX template chrome: this page draws its own header, footer and full-width sections */
body:has(.km-home) .t-Header,
body:has(.km-home) .t-Footer { display: none; }
body:has(.km-home) .t-Body-main,
body:has(.km-home) .t-Body-content,
body:has(.km-home) .t-Body-mainContent,
body:has(.km-home) .t-Body-contentInner { padding: 0; margin: 0; max-width: none; background: #fff; border: 0; box-shadow: none; }

/* Buttons */
.km-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; min-width: 102px; padding: 11px 22px; border: 1.5px solid var(--km-cobalt); border-radius: 11px; background: var(--km-cobalt); color: #fff; font: 600 13px/1 var(--km-font); cursor: pointer; transition: background .15s, box-shadow .15s; }
.km-home a.km-btn { color: #fff; }
.km-btn:hover { background: #104ed6; box-shadow: 0 6px 20px rgba(26,92,238,.15); }
.km-home a.km-btn-outline, .km-btn-outline { background: #fff; color: var(--km-navy); border-color: #9baac7; }
.km-btn-outline:hover { background: var(--km-ice); color: var(--km-cobalt); border-color: var(--km-cobalt); box-shadow: none; }
.km-home [aria-disabled="true"] { cursor: not-allowed; pointer-events: none; }
.km-home a.km-btn[aria-disabled="true"], .km-home a.km-card-btn[aria-disabled="true"] { background: #e3ebf8; border-color: #e3ebf8; color: #4a5878; box-shadow: none; }
.km-home a.km-btn-outline[aria-disabled="true"] { background: #fff; border-color: #c3cfe6; color: #4a5878; }
.km-home .km-nav a[aria-disabled="true"], .km-home .km-menu-panel a[aria-disabled="true"], .km-home .km-footer ul a[aria-disabled="true"], .km-home a.km-link[aria-disabled="true"] { color: #5b6784; }

/* Header */
.km-header { position: sticky; top: 0; z-index: 45; background: #fff; border-bottom: 1px solid #eef2f7; }
.km-header-inner { width: min(var(--km-container), calc(100% - 96px)); min-height: 83px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; }
.km-nav { display: flex; align-items: center; gap: 35px; }
.km-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 500; color: #121a32; white-space: nowrap; }
.km-nav a:hover { color: var(--km-cobalt); }
.km-logo { display: flex; align-items: center; min-height: 44px; width: 145px; line-height: 1; }
.km-logo img { width: 100%; height: auto; }
.km-auth { display: flex; justify-content: flex-end; gap: 12px; }
.km-menu { display: none; justify-content: flex-end; position: relative; }
.km-menu summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--km-line); border-radius: 10px; background: #fff; color: var(--km-navy); cursor: pointer; }
.km-menu summary::-webkit-details-marker { display: none; }
.km-menu .km-i-close { display: none; }
.km-menu[open] .km-i-menu { display: none; }
.km-menu[open] .km-i-close { display: block; }
/* Mobile/tablet menu: fixed full-width panel overlaying the page under the fixed header (logo and close button stay on top); the page keeps scrolling behind it */
.km-menu { position: static; }
.km-menu:not([open]) .km-menu-panel { visibility: hidden; }
.km-menu-panel { z-index: 100; position: fixed; top: 72px; left: 0; right: 0; display: grid; align-content: start; gap: 0; max-height: calc(100vh - 72px); max-height: calc(100dvh - 72px); padding: 0 19px 12px; background: #fff; border-top: 1px solid var(--km-line); box-shadow: 0 18px 34px rgba(11,26,79,.14); overflow-y: auto; overscroll-behavior: auto; }
.km-menu-panel a { display: flex; align-items: center; min-height: 52px; padding: 0 4px; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.km-menu-panel a:hover { color: var(--km-cobalt); }

/* Section chrome */
.km-eyebrow { display: block; color: var(--km-cobalt); font-size: 12px; letter-spacing: .075em; font-weight: 800; line-height: 1.35; margin-bottom: 8px; text-transform: uppercase; }
.km-section-top { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 24px; }
.km-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--km-cobalt); font-size: 16px; font-weight: 700; white-space: nowrap; }
.km-link .km-icon { width: 22px; height: 22px; padding: 5px; border-radius: 50%; background: #e3edfd; }
/* Home links to listings: bright blue text and arrow (overrides the disabled grey); underline on hover as in the reference */
.km-home .km-categories-section a.km-link, .km-home .km-providers-section a.km-link,
.km-home .km-categories-section a.km-link[aria-disabled="true"], .km-home .km-providers-section a.km-link[aria-disabled="true"] { color: #0B4AFF; }
.km-home .km-categories-section a.km-link:hover, .km-home .km-providers-section a.km-link:hover { text-decoration: underline; }

/* Hero */
.km-hero { height: 779px; position: relative; background: linear-gradient(to bottom, #fff 0%, #fff 51%, #f4faff 82%, #eef6ff 100%); isolation: isolate; }
.km-hero-wash { position: absolute; inset: 370px 0 0; background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(240,247,254,.25) 12%, #edf6ff 100%); z-index: 0; pointer-events: none; }
.km-hero-center { text-align: center; position: relative; z-index: 5; padding-top: 86px; max-width: 720px; margin: auto; }
.km-hero-tag { display: inline-flex; border: 1px solid #0bcaa3; background: #e2fcf3; border-radius: 30px; padding: 7px 16px; color: var(--km-navy); font-size: 12px; font-weight: 800; letter-spacing: .035em; line-height: 1.2; }
.km-hero-center h1 { font-size: 59px; font-weight: 800; line-height: 1.075; margin: 16px 0 13px; }
.km-hero-center > p { font-size: 16px; font-weight: 500; line-height: 1.48; color: #546280; margin: 0 auto 29px; max-width: 480px; }
.km-search { margin-block: 0; display: flex; align-items: stretch; gap: 10px; width: 575px; max-width: calc(100% - 36px); height: 57px; margin: auto; }
.km-search-fields { flex: 1; display: flex; align-items: center; padding: 8px 15px 8px 18px; gap: 9px; background: #eaf4fc; border-radius: 12px; min-width: 0; }
.km-search-fields .km-icon { color: var(--km-navy); width: 19px; height: 19px; }
.km-field { display: flex; align-items: center; gap: 9px; flex: 1; min-width: 0; height: 100%; }
.km-search-label { min-width: 0; flex: 1; display: flex; align-items: center; height: 100%; }
.km-search-label input { height: auto; min-height: 0; padding: 0; margin: 0; border: 0; box-shadow: none; line-height: 1.3; font: 500 14px var(--km-font); color: #3d4b6b; min-width: 0; width: 100%; background: transparent; border: 0; outline: 0; }
.km-search-label input::placeholder { color: #5f6f90; opacity: 1; }
.km-search-label input:disabled { cursor: not-allowed; }
.km-search-divider { height: 31px; width: 1px; background: var(--km-cobalt); margin: 0 22px; }
.km-search-loc { flex: .69; }
.km-search-button { display: flex; align-items: center; justify-content: center; gap: 15px; border: 0; border-radius: 12px; min-width: 137px; padding: 0 16px; background: var(--km-cobalt); color: #fff; font: 500 15px var(--km-font); }
.km-search-button { align-self: stretch; min-height: 57px; }
.km-search-button:disabled { background: var(--km-cobalt); color: #fff; cursor: not-allowed; opacity: 1; }
.km-search-button:disabled .km-search-arrow { color: var(--km-cobalt); }
/* hover as the design's primary button (.btn:hover); the button is disabled for now but still shows the effect */
.km-search-button { transition: background .18s, box-shadow .18s; }
.km-search-button:hover, .km-search-button:disabled:hover { background: #104ed6; box-shadow: 0 6px 20px rgba(26, 92, 238, .15); }
.km-search-button:hover .km-search-arrow, .km-search-button:disabled:hover .km-search-arrow { color: #104ed6; }
.km-search-arrow { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: var(--km-cobalt); background: #fff; }
.km-search-arrow .km-icon { width: 17px; height: 17px; }
.km-collage { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.km-tile { position: absolute; object-fit: cover; border-radius: 10px; }
.km-t1 { left: calc(50% - 653px); top: 308px; width: 130px; height: 180px; }
.km-t2 { left: calc(50% - 653px); top: 495px; width: 130px; height: 170px; }
.km-t3 { left: calc(50% - 506px); top: 344px; width: 130px; height: 180px; }
.km-t4 { left: calc(50% - 506px); top: 541px; width: 130px; height: 164px; }
.km-t5 { left: calc(50% - 359px); top: 472px; width: 130px; height: 176px; }
.km-t6 { left: calc(50% - 212px); top: 566px; width: 130px; height: 170px; }
.km-t7 { left: calc(50% - 65px); top: 515px; width: 130px; height: 175px; }
.km-t8 { left: calc(50% + 82px); top: 566px; width: 130px; height: 170px; }
.km-t9 { left: calc(50% + 229px); top: 472px; width: 130px; height: 176px; }
.km-t10 { left: calc(50% + 376px); top: 344px; width: 130px; height: 180px; }
.km-t11 { left: calc(50% + 376px); top: 541px; width: 130px; height: 164px; }
.km-t12 { left: calc(50% + 523px); top: 308px; width: 130px; height: 180px; }
.km-t13 { left: calc(50% + 523px); top: 495px; width: 130px; height: 170px; }

/* Categories */
.km-categories-section { background: linear-gradient(180deg, #eef6ff 0%, #eaf4fe 100%); min-height: 429px; padding: 64px 0 61px; }
.km-categories { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 33px; list-style: none; padding: 0; margin: 0; }
.km-category { display: flex; flex-direction: column; min-width: 0; opacity: .9; }
.km-category-photo { height: 165px; display: grid; place-items: center; background: #fff; border-radius: 10px; overflow: hidden; }
.km-category-photo img { max-width: 88%; max-height: 132px; object-fit: contain; width: auto; height: auto; }
.km-category-title { font-size: 16px; line-height: 1.3; font-weight: 700; color: #1450d0; padding: 13px 6px 0; }
.km-category-count { font-size: 12px; line-height: 1.4; color: #546280; padding: 1px 6px 0; }
.km-category { transition: transform .15s ease; }
.km-category:hover { transform: translateY(-3px); }

/* Top rated businesses */
.km-providers-section { background: #fff; min-height: 648px; padding: 73px 0 58px; }
.km-providers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 29px; }
.km-provider { min-width: 0; display: flex; flex-direction: column; }
.km-provider-photo { width: 100%; aspect-ratio: 1.02 / 1; border-radius: 13px; overflow: hidden; }
.km-provider-photo img { width: 100%; height: 100%; object-fit: cover; }
.km-provider-photo img { transition: transform .3s ease; }
.km-provider:hover .km-provider-photo img { transform: scale(1.035); }
.km-provider-line { display: flex; gap: 6px; align-items: center; justify-content: space-between; margin: 14px 4px 2px; }
.km-provider-line h3 { display: flex; align-items: center; gap: 5px; font-size: 15px; font-weight: 700; min-width: 0; }
.km-verified { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 15px; height: 15px; background: #0db48c; color: #fff; font-size: 9px; font-weight: 800; line-height: 1; clip-path: polygon(50% 0,61% 9%,75% 4%,84% 18%,98% 25%,93% 40%,100% 50%,93% 61%,98% 75%,83% 84%,75% 98%,60% 93%,50% 100%,39% 91%,25% 98%,17% 84%,3% 75%,9% 61%,0 50%,9% 39%,4% 25%,18% 16%,25% 4%,40% 9%); }
.km-verified[data-km-verified="false"] { display: none; }
.km-rating { font-size: 13px; font-weight: 700; flex-shrink: 0; color: var(--km-navy); }
.km-rating b { color: #FFC107; }
.km-provider-where { margin: 3px 4px 14px; color: #546280; font-size: 13px; line-height: 1.3; }
.km-provider-price { display: flex; align-items: center; justify-content: space-between; gap: 7px; margin: 0 4px 12px; }
.km-provider-price strong { color: var(--km-navy); font-size: 15px; font-weight: 800; }
.km-provider-price .km-link { font-size: 13px; font-weight: 600; }
.km-provider-price .km-link .km-icon { width: 20px; height: 20px; padding: 3px; }
.km-card-btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; border: 0; border-radius: 6px; background: var(--km-cobalt); color: #fff; font: 500 13px var(--km-font); }

/* How it works */
.km-steps-section { background: #fff; min-height: 445px; padding: 26px 0 60px; }
.km-steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding: 100px 52px 0; list-style: none; margin: 0; }
.km-steps::before { content: ''; height: 4px; position: absolute; left: 92px; right: calc(25% - 38px); top: 138px; background: var(--km-cobalt); }
.km-step { position: relative; min-width: 0; }
.km-step-icon { height: 80px; width: 80px; border-radius: 50%; display: grid; place-items: center; background: #e4efff; color: #070f2d; margin-bottom: 27px; }
.km-step-icon .km-icon { width: 36px; height: 36px; stroke-width: 1.9; }
.km-step h3 { font-size: 15px; font-weight: 800; margin: 0 0 9px; }
.km-step p { color: #546280; max-width: 245px; font-size: 14px; line-height: 1.55; margin: 0; }

/* Testimonials */
.km-reviews-section { background: #fff; min-height: 852px; padding: 38px 0 75px; }
.km-reviews-section h2 { margin: 0 0 47px; }
.km-reviews-layout { display: grid; grid-template-columns: 1.03fr .91fr .91fr; gap: 20px; align-items: start; }
.km-reviews-photo { height: 630px; position: relative; overflow: hidden; border-radius: 12px; background: #e9f3fc; }
.km-reviews-photo img { height: 100%; width: 100%; object-fit: cover; }
.km-review-column { display: grid; gap: 16px; min-width: 0; }
.km-review { border: 2px solid var(--km-line); border-radius: 11px; padding: 17px 18px 18px; min-height: 176px; background: #fff; display: flex; flex-direction: column; margin: 0; }
.km-review-head { display: flex; justify-content: space-between; gap: 8px; align-items: center; margin-bottom: 12px; }
.km-review-person { display: flex; align-items: center; gap: 10px; }
.km-review-person img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.km-review-person strong { font-size: 13px; font-weight: 700; white-space: nowrap; }
.km-review-stars { color: #FFC107; font-size: 16px; letter-spacing: 1.5px; white-space: nowrap; }
.km-review p { font-size: 11px; color: #4f5c78; line-height: 1.58; margin: 0 0 17px; }
.km-review-foot { display: flex; justify-content: space-between; gap: 10px; margin-top: auto; font-size: 12px; color: #546280; }
.km-review.km-review-active { border-color: var(--km-cobalt); }
.km-review-nav { display: flex; gap: 11px; justify-content: flex-end; padding: 0 14px; }
.km-review-nav button { width: 44px; height: 44px; border: 0; border-radius: 50%; display: grid; place-items: center; background: #f0f5fc; color: var(--km-cobalt); }
.km-review-nav button:disabled { background: #e3ebf8; color: #4a5878; cursor: not-allowed; }

/* Business CTA */
.km-growth-section { background: #fff; padding: 18px 0 70px; }
.km-growth-banner { min-height: 291px; display: flex; align-items: center; background: #e8f2fd url('../img/cta-business.jpg') center center / cover no-repeat; border-radius: 12px; overflow: hidden; }
.km-growth-copy { max-width: 570px; padding: 30px 0 30px 53px; }
.km-growth-copy h2 { font-size: 27px; font-weight: 800; margin: 5px 0 14px; }
.km-growth-copy p { font-size: 14px; line-height: 1.55; color: #4f5c78; margin: 0 0 22px; max-width: 510px; }
.km-growth-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.km-growth-actions .km-btn { min-height: 44px; border-radius: 9px; font-size: 13px; padding: 10px 24px; }

/* Footer */
.km-footer { background: #fff; color: var(--km-navy); padding: 10px 0 26px; border-top: 1px solid #eef2f7; }
.km-footer-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr .9fr; gap: 28px; padding: 30px 0 85px; }
.km-footer-logo { display: flex; align-items: center; min-height: 44px; width: 157px; margin: 0 0 12px; }
.km-footer-brand p { color: #546280; font-size: 14px; margin: 0; max-width: 350px; }
.km-footer h4 { font-size: 15px; font-weight: 700; margin: 0 0 15px; }
.km-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.km-footer ul a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: #4f5c78; font-weight: 500; line-height: 1.5; }
.km-footer ul a:hover { color: var(--km-cobalt); }
.km-footer ul.km-socials { display: flex; gap: 10px; }
.km-socials { display: flex; gap: 10px; align-items: center; margin: 0; padding: 0; list-style: none; }
.km-socials span { display: grid; place-items: center; color: #fff; background: #0c0c0c; border-radius: 50%; font: 800 13px Arial, sans-serif; height: 28px; width: 28px; user-select: none; }
.km-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 26px 0 18px; color: #546280; font-size: 13px; }
.km-footer-bottom div { display: flex; gap: 24px; flex-wrap: wrap; }

/* About Us page */
.km-nav a[aria-current="page"], .km-menu-panel a[aria-current="page"] { color: var(--km-cobalt); font-weight: 700; }
.km-footer ul a[aria-current="page"] { color: var(--km-cobalt); font-weight: 600; }
.km-page-top { margin-top: 84px; }
.km-about-hero { background: linear-gradient(180deg, #eef6ff 0%, #eaf4fe 100%); padding: 96px 0 88px; text-align: center; }
.km-about-hero-inner { max-width: 850px; }
.km-about-hero h1 { font-size: clamp(2.7rem, 4vw, 4rem); font-weight: 700; line-height: 1.1; margin: 15px 0; }
.km-about-hero h1 span { display: inline-block; }
.km-about-hero h1 span:first-child { display: block; }
.km-about-hero p { font-size: 15px; line-height: 2; color: #3d4b6b; margin: 0; }
.km-about-section { background: #fff; padding: 72px 0 80px; }
.km-about-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.km-about-card { display: flex; flex-direction: column; align-items: flex-start; border: 1px solid #e7edf6; border-radius: 14px; padding: 27px 31px; background: #fff; box-shadow: 0 15px 38px rgba(9, 31, 79, .055); }
.km-about-card h2 { font-size: 19px; margin: 0 0 14px; }
.km-about-card p { font-size: 14px; line-height: 1.65; color: #4f5c78; margin: 0 0 22px; }
.km-about-card .km-btn { margin-top: auto; }
.km-about-cards .km-step-icon { color: #1A5CEE; }
.km-home .km-about-cards a.km-btn, .km-home .km-about-cards a.km-btn[aria-disabled="true"] { background: #1A5CEE; border-color: #1A5CEE; color: #fff; font-weight: 700; box-shadow: none; }
.km-home .km-about-cards a.km-btn[aria-disabled="true"]::after { background: rgba(11,26,79,.38); color: #fff; }
/* For Business page */
.km-fb-hero { background: var(--km-ice); padding: 48px 0 56px; }
.km-fb-banner { position: relative; overflow: hidden; border-radius: 24px; background: var(--km-navy); padding: 70px 58px; color: #fff; }
.km-fb-banner::after { content: ''; position: absolute; right: -70px; top: -70px; width: 310px; height: 310px; border-radius: 50%; background: radial-gradient(circle, rgba(36,219,175,.33), transparent 70%); pointer-events: none; }
.km-fb-banner .km-eyebrow { color: #64e8c9; }
.km-fb-banner h1 { color: #fff; font-size: clamp(2.5rem, 4.3vw, 4.2rem); line-height: 1.08; max-width: 670px; margin: 14px 0 20px; text-wrap: balance; }
.km-fb-banner h1 span { display: inline-block; }
.km-fb-banner p { color: #d9e8ff; font-size: 16px; line-height: 1.7; max-width: 560px; margin: 0; }
.km-fb-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; position: relative; z-index: 1; }
.km-fb-actions .km-btn { min-height: 52px; padding: 15px 23px; font-size: 14px; line-height: 1.25; flex-wrap: nowrap; justify-content: space-between; text-align: left; }
.km-fb-section { background: #fff; padding: 82px 0; }
.km-fb-tint { background: var(--km-ice); }
.km-fb-section h2 { margin: 0 0 32px; }
.km-fb-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.km-fb-cards .km-about-card h3 { font-size: 19px; font-weight: 700; margin: 0 0 14px; }
.km-fb-cards .km-about-card p { margin: 0; }
.km-fb-cards .km-step-icon { width: 64px; height: 64px; margin-bottom: 24px; background: #e7f0ff; color: #1A5CEE; }
.km-fb-cards .km-step-icon .km-icon { width: 31px; height: 31px; stroke-width: 1.8; }
.km-fb-credits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.km-credit-card { border: 1px solid #e7edf6; border-radius: 14px; padding: 27px; background: #fff; box-shadow: 0 15px 38px rgba(9, 31, 79, .055); }
.km-credit-card h3 { font-size: 16px; font-weight: 700; margin: 4px 0 9px; }
.km-credit-value { font-size: 36px; font-weight: 700; letter-spacing: -.04em; line-height: 1.1; color: var(--km-navy); margin-bottom: 12px; }
.km-credit-card p { font-size: 12px; line-height: 1.65; color: #4f5c78; margin: 0; }
.km-fb-cta { text-align: center; }
.km-fb-cta h2 { margin-bottom: 14px; }
.km-fb-cta p { font-size: 16px; line-height: 1.65; color: #4f5c78; max-width: 40em; margin: 0 auto 28px; }

/* How It Works page */
.km-how-hero { background: linear-gradient(180deg, #eef6ff 0%, #eaf4fe 100%); padding: 80px 0 64px; text-align: center; }
.km-how-hero h1 { font-size: clamp(2.2rem, 4vw, 2.9rem); font-weight: 700; line-height: 1.12; margin: 15px 0; }
.km-how-hero p { font-size: 16px; line-height: 1.8; color: #3d4b6b; max-width: 630px; margin: 0 auto; }
.km-how-section { background: #fff; padding: 72px 0 72px; }
.km-how-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; list-style: none; margin: 0; padding: 0; }
.km-how-step { position: relative; min-width: 0; }
.km-how-step .km-step-icon { width: 64px; height: 64px; margin-bottom: 20px; }
.km-how-step .km-step-icon { color: #1A5CEE; }
.km-how-num { color: #1A5CEE; }
.km-how-num { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 800; letter-spacing: .1em; line-height: 1; color: var(--km-cobalt); }
.km-how-step h2 { font-size: 20px; line-height: 1.25; margin: 0 0 10px; text-wrap: balance; }
.km-how-step p { font-size: 15px; line-height: 1.65; color: #4f5c78; margin: 0; max-width: 260px; }

/* Primary actions: bright Kaame blue with bold white text (Sign Up, Book Now, Join Kaame Free) */
.km-home .km-auth a.km-btn:not(.km-btn-outline),
.km-home .km-auth a.km-btn:not(.km-btn-outline)[aria-disabled="true"],
.km-home .km-providers a.km-card-btn,
.km-home .km-providers a.km-card-btn[aria-disabled="true"],
.km-home .km-growth-actions a.km-btn:not(.km-btn-outline),
.km-home .km-growth-actions a.km-btn:not(.km-btn-outline)[aria-disabled="true"],
.km-home .km-fb-cta a.km-btn,
.km-home .km-fb-cta a.km-btn[aria-disabled="true"] { background: #1A5CEE; border-color: #1A5CEE; color: #fff; font-weight: 700; box-shadow: none; }
.km-home .km-fb-cta a.km-btn[aria-disabled="true"]::after { background: rgba(11,26,79,.38); color: #fff; }
/* Header Log In / Sign Up hover (design: .btn and .btn-outline hover). The rules above out-rank the base hover, so repeat it here; Sign Up has no link yet but still shows the hover */
.km-home .km-auth a.km-btn-outline:hover { background: var(--km-ice); color: var(--km-cobalt); border-color: var(--km-cobalt); box-shadow: none; }
.km-home .km-auth a.km-btn:not(.km-btn-outline):hover,
.km-home .km-auth a.km-btn:not(.km-btn-outline)[aria-disabled="true"]:hover { background: #104ed6; border-color: #104ed6; box-shadow: 0 6px 20px rgba(26, 92, 238, .15); }
.km-home .km-auth a.km-btn[aria-disabled="true"] { pointer-events: auto; cursor: default; }
.km-home .km-growth-actions a.km-btn:not(.km-btn-outline):hover { background: #104ed6; border-color: #104ed6; box-shadow: 0 6px 20px rgba(26, 92, 238, .15); }
.km-home .km-fb-cta a.km-btn:hover { background: #104ed6; border-color: #104ed6; box-shadow: 0 6px 20px rgba(26, 92, 238, .15); }
/* white button on the navy banner (design: .btn-white) */
.km-home a.km-btn.km-btn-white { background: #fff; border-color: #fff; color: var(--km-navy); font-weight: 700; box-shadow: none; }
.km-home a.km-btn.km-btn-white:hover { background: var(--km-ice); border-color: var(--km-ice); color: var(--km-navy); }

/* Contact modal (footer "Contact Us") - the "Contact Demo Business" dialog from the design reference */
.km-home .km-modal-overlay { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 25px; background: rgba(4, 13, 42, .58); backdrop-filter: blur(3px); }
.km-home .km-modal-overlay[hidden] { display: none; }
.km-home .km-modal { width: min(550px, 100%); max-height: min(760px, 90vh); overflow-y: auto; padding: 28px; background: #fff; border-radius: 18px; box-shadow: 0 20px 65px rgba(9, 31, 79, .12); text-align: left; }
.km-home .km-modal-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.km-home .km-modal-head h2 { font-size: 21px; line-height: 1.25; margin: 0; letter-spacing: -.02em; }
.km-home .km-modal-close { position: relative; flex: none; display: inline-grid; place-items: center; width: 33px; height: 33px; padding: 0; border: 1px solid #DFE7F2; border-radius: 10px; background: #fff; color: var(--km-navy); cursor: pointer; transition: border-color .15s, color .15s, background .15s; }
.km-home .km-modal-close::before { content: ''; position: absolute; inset: -6px; }
.km-home .km-modal-close:hover { border-color: var(--km-cobalt); color: var(--km-cobalt); background: var(--km-ice); }
.km-home .km-modal-close:active { background: #e3edfd; }
.km-home .km-modal-close .km-icon { width: 16px; height: 16px; }
.km-home .km-modal-card { padding: 12px 20px; background: #fff; border: 1px solid #e7edf6; border-radius: 18px; box-shadow: 0 15px 38px rgba(9, 31, 79, .055); }
.km-home .km-kv + .km-kv { border-top: 1px solid #eff3f8; }
.km-home .km-kv { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 10px 0; font-size: 12px; }
.km-home .km-kv > span:first-child { color: #546280; }
.km-home .km-kv > span:last-child { color: var(--km-navy); font-weight: 700; text-align: right; }
.km-home .km-modal-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 24px; }
.km-home .km-modal-actions .km-btn { gap: 8px; }
.km-home .km-modal-actions .km-icon { width: 16px; height: 16px; }
@media (max-width: 650px) {
  .km-home .km-modal { padding: 22px 18px; }
  .km-home .km-modal-actions { align-items: stretch; flex-direction: column; }
  .km-home .km-modal-actions .km-btn { width: 100%; }
}

@media (max-width: 1199.98px) {
  .km-hero { height: auto; display: flex; flex-direction: column; }
  .km-hero-center { padding-bottom: 44px; width: 100%; }
  .km-collage { order: 2; position: relative; z-index: 1; inset: auto; height: auto; display: flex; gap: 12px; justify-content: center; align-items: flex-end; padding: 0 24px; overflow: hidden; }
  .km-tile { position: static; flex: 0 0 clamp(96px, 11vw, 130px); width: clamp(96px, 11vw, 130px); height: 170px; margin: 0; }
  .km-t1, .km-t3, .km-t5, .km-t7 { height: 190px; }
  .km-home .km-t8, .km-home .km-t9, .km-home .km-t10, .km-home .km-t11, .km-home .km-t12, .km-home .km-t13 { display: none; }
}
@media (max-width: 1150px) {
  .km-categories { gap: 18px; }
  .km-category-photo { height: 138px; }
  .km-category-title { font-size: 14px; }
  .km-provider-line { align-items: flex-start; }
  .km-provider-line h3 { font-size: 13px; }
  .km-steps { padding-inline: 22px; }
  .km-steps::before { left: 62px; right: calc(25% - 53px); }
  .km-nav { gap: 22px; }
}
@media (max-width: 900px) {
  .km-header-inner { min-height: 71px; width: calc(100% - 38px); grid-template-columns: auto 1fr; }
  .km-hero { margin-top: 72px; }
  .km-steps-section { scroll-margin-top: 84px; }
  .km-nav, .km-auth { display: none; }
  .km-menu { display: flex; }
  .km-home .km-container { width: calc(100% - 48px); }
  .km-hero-center { padding-top: 73px; max-width: 620px; }
  .km-hero-center h1 { font-size: 50px; }
  .km-categories { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .km-categories-section, .km-providers-section, .km-steps-section, .km-reviews-section { min-height: auto; }
  .km-providers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .km-steps { gap: 18px; }
  .km-step-icon { height: 65px; width: 65px; } .km-steps::before { left: 54.5px; right: calc(25% - 35px); top: 130px; }
  .km-reviews-layout { grid-template-columns: 1fr 1fr; }
  .km-reviews-photo { grid-column: 1 / -1; height: 300px; }
  .km-growth-banner { background-position: 58% center; }
  .km-growth-copy { max-width: 59%; padding-left: 26px; }
  .km-footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 25px; }
  .km-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 650px) {
  .km-home .km-container { width: calc(100% - 34px); }
  .km-home h2 { font-size: 24px; }
  .km-link { font-size: 14px; white-space: normal; }
  .km-section-top { flex-wrap: wrap; align-items: flex-start; }
  .km-hero-center { padding: 44px 18px 32px; }
  .km-hero-center h1 { font-size: clamp(36px, 10vw, 50px); margin: 13px 0 14px; }
  .km-hero-center > p { font-size: 14px; line-height: 1.6; margin-bottom: 23px; }
  .km-hero-tag { font-size: 12px; padding: 7px 11px; letter-spacing: .02em; }
  .km-br { display: none; }
  .km-search { flex-direction: column; height: auto; gap: 10px; width: 100%; max-width: 575px; }
  .km-search-fields { flex: none; height: 57px; padding: 8px 15px 8px 18px; gap: 9px; }
  .km-search-divider { margin: 0 12px; }
  .km-search-button { width: 100%; min-height: 46px; min-width: 0; padding: 0 16px; gap: 12px; font-size: 14px; }
  .km-search-arrow { width: 24px; height: 24px; }
  .km-search-arrow .km-icon { width: 15px; height: 15px; }
  .km-collage { gap: 8px; padding: 0 12px; }
  .km-tile { flex: 0 0 89px; width: 89px; height: 145px; border-radius: 9px; }
  .km-t1, .km-t3, .km-t5 { height: 164px; }
  .km-t2, .km-t4 { height: 142px; }
  .km-home .km-t6, .km-home .km-t7 { display: none; }
  .km-categories-section { padding: 42px 0 38px; }
  .km-section-top { margin-bottom: 19px; }
  .km-categories { column-gap: 13px; row-gap: 23px; }
  .km-category-photo { height: 104px; border-radius: 8px; }
  .km-category-photo img { max-height: 80px; }
  .km-category-title { font-size: 12px; padding: 8px 1px 0; }
  .km-category-count { padding: 2px 1px 0; }
  .km-providers-section { padding: 52px 0 42px; }
  .km-providers { gap: 19px 12px; }
  .km-provider-photo { aspect-ratio: 1 / 1; }
  .km-provider-line { display: block; margin: 9px 0 4px; }
  .km-provider-line h3 { font-size: 13px; min-height: 34px; }
  .km-provider-where { font-size: 12px; margin: 0 0 9px; }
  .km-provider-price { margin: 0 0 8px; }
  .km-provider-price .km-link { font-size: 12px; }
  .km-steps-section { padding: 20px 0 40px; }
  .km-steps { grid-template-columns: 1fr 1fr; gap: 25px 17px; padding: 40px 0 0; }
  .km-steps::before { display: none; }
  .km-step-icon { height: 57px; width: 57px; margin-bottom: 14px; }
  .km-step-icon .km-icon { height: 27px; width: 27px; }
  .km-step h3 { font-size: 13px; }
  .km-step p { font-size: 13px; }
  .km-reviews-section { padding: 27px 0 45px; }
  .km-reviews-section h2 { margin-bottom: 23px; }
  .km-reviews-layout { grid-template-columns: 1fr; gap: 14px; }
  .km-reviews-photo { grid-column: auto; height: 340px; }
  .km-review-column { gap: 14px; }
  .km-review { min-height: 135px; }
  .km-growth-section { padding: 0 0 50px; }
  .km-growth-banner { min-height: 415px; align-items: flex-start; background-image: linear-gradient(to bottom, rgba(240,247,254,.95) 0%, rgba(240,247,254,.92) 47%, rgba(240,247,254,.06) 100%), url('../img/cta-business.jpg'); background-position: 70% center; }
  .km-growth-copy { max-width: 100%; padding: 26px 19px; }
  .km-growth-copy h2 { font-size: 23px; }
  .km-growth-copy p { font-size: 13px; max-width: 360px; }
  .km-growth-actions .km-btn { padding: 10px 14px; }
  .km-footer-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; padding: 16px 0 38px; }
  .km-footer h4 { font-size: 14px; }
  .km-footer-bottom { flex-direction: column; align-items: flex-start; gap: 11px; }
  .km-footer-bottom div { gap: 12px; }
}
@media (max-width: 480px) {
  .km-search-divider { margin: 0 8px; }
}
@media (max-width: 380px) {
  .km-hero-center h1 { font-size: 34px; }
  .km-review-stars { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .km-home * { transition: none !important; }
}

@media (max-width: 900px) {
  .km-page-top { margin-top: 72px; }
  }
@media (max-width: 650px) {
  .km-about-hero { padding: 56px 0 56px; }
  .km-about-section { padding: 48px 0 56px; }
  .km-about-cards { grid-template-columns: 1fr; gap: 20px; }
  .km-about-card { padding: 24px 22px; }
  }

@media (max-width: 900px) {
  .km-fb-hero { padding: 24px 0 40px; }
  .km-fb-banner { padding: 48px 32px; border-radius: 20px; }
  .km-fb-section { padding: 56px 0; }
  .km-fb-cards { gap: 16px; }
  .km-fb-cards .km-about-card { padding: 22px 20px; }
  .km-fb-section h2 { margin-bottom: 24px; }
}
@media (max-width: 650px) {
  .km-fb-banner { padding: 36px 22px; }
  .km-fb-banner h1 { font-size: clamp(1.7rem, 8.5vw, 2.5rem); }
  .km-fb-cards { grid-template-columns: 1fr; }
  .km-fb-banner p { font-size: 15px; }
  .km-fb-actions .km-btn { width: 100%; }
  .km-fb-credits { grid-template-columns: 1fr; gap: 16px; }
  .km-credit-card { padding: 22px 20px; }
  .km-fb-cta .km-btn { width: 100%; }
}

@media (max-width: 380px) {
  .km-fb-banner { padding: 30px 18px; }
}

@media (min-width: 900.02px) and (max-width: 1180px) {
  .km-fb-cards .km-about-card { padding: 24px 22px; }
}

@media (max-width: 900px) {
  .km-how-hero { padding: 56px 0 48px; }
  .km-how-section { padding: 48px 0 64px; }
  .km-how-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
}
@media (max-width: 560px) {
  .km-how-steps { grid-template-columns: 1fr; gap: 32px; }
  .km-how-step p { max-width: none; }
}

@media (min-width: 900.02px) and (max-width: 1180px) {
  .km-how-step h2 { font-size: 18px; min-height: 2.5em; }
}

/* Hero photo strip on tablet/phone: whole photos only, centred, extra photos wrap into a clipped second row */
@media (max-width: 900px) {
  .km-collage { flex-wrap: wrap; align-content: flex-start; justify-content: center; gap: 12px; height: 190px; padding: 0 24px; }
  .km-tile { flex: 0 0 130px; width: 130px; }
  .km-home .km-t6, .km-home .km-t7, .km-home .km-t8, .km-home .km-t9, .km-home .km-t10, .km-home .km-t11, .km-home .km-t12, .km-home .km-t13 { display: block; }
}
@media (max-width: 650px) {
  .km-collage { gap: 8px; height: 164px; padding: 0 12px; }
  .km-tile { flex: 0 0 84px; width: 84px; height: 145px; }
  .km-t1, .km-t3, .km-t5 { height: 164px; }
  .km-t2, .km-t4 { height: 142px; }
}

@media (min-width: 900.02px) and (max-width: 1024px) {
  .km-how-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
}

/* About Us headline scales down smoothly on phones; tighter cards on narrow screens */
@media (max-width: 650px) {
  .km-about-hero h1 { font-size: clamp(2rem, 9vw, 2.7rem); text-wrap: balance; }
  .km-provider-price { flex-wrap: wrap; row-gap: 2px; }
  .km-provider-price .km-link { white-space: nowrap; }
}
@media (max-width: 480px) {
  .km-about-card { padding: 22px 18px; }
}

@media (max-width: 360px) {
  .km-how-hero h1 { font-size: 2rem; }
}

/* Hero collage on laptops and desktops (>=1200px): the staggered 13-photo collage from the design, scaled by --km-w (the photo width: 130px at 1440px).
   From 1200px the headline and search keep their design size and only the photos scale; the photo block is anchored to the 430px bottom of the text block.
   >=1440px overrides --km-b and the height below so the text scales with the photos as well. Below 1200px the tablet/phone strip applies. */
@media (min-width: 1200px) {
  .km-hero { --km-w: clamp(91px, min(9.028vw, calc((100vh - 256px) * 0.21417)), 234px); --km-p: min(max(calc(var(--km-w) * 1.1308), calc(11.3367vw - var(--km-w) * 0.125)), calc(var(--km-w) * 1.25)); --km-b: 430px; height: calc(473px + var(--km-w) * 2.354); }
  .km-t1 { left: calc(50% + var(--km-p) * -4 - var(--km-w) * 0.5); top: calc(var(--km-b) - var(--km-w) * 0.9385); width: var(--km-w); height: calc(var(--km-w) * 1.3846); }
  .km-t2 { left: calc(50% + var(--km-p) * -4 - var(--km-w) * 0.5); top: calc(var(--km-b) + var(--km-w) * 0.5); width: var(--km-w); height: calc(var(--km-w) * 1.3077); }
  .km-t3 { left: calc(50% + var(--km-p) * -3 - var(--km-w) * 0.5); top: calc(var(--km-b) - var(--km-w) * 0.6615); width: var(--km-w); height: calc(var(--km-w) * 1.3846); }
  .km-t4 { left: calc(50% + var(--km-p) * -3 - var(--km-w) * 0.5); top: calc(var(--km-b) + var(--km-w) * 0.8538); width: var(--km-w); height: calc(var(--km-w) * 1.2615); }
  .km-t5 { left: calc(50% + var(--km-p) * -2 - var(--km-w) * 0.5); top: calc(var(--km-b) + var(--km-w) * 0.3231); width: var(--km-w); height: calc(var(--km-w) * 1.3538); }
  .km-t6 { left: calc(50% + var(--km-p) * -1 - var(--km-w) * 0.5); top: calc(var(--km-b) + var(--km-w) * 1.0462); width: var(--km-w); height: calc(var(--km-w) * 1.3077); }
  .km-t7 { left: calc(50% - var(--km-w) * 0.5); top: calc(var(--km-b) + var(--km-w) * 0.6538); width: var(--km-w); height: calc(var(--km-w) * 1.3462); }
  .km-t8 { left: calc(50% + var(--km-p) * 1 - var(--km-w) * 0.5); top: calc(var(--km-b) + var(--km-w) * 1.0462); width: var(--km-w); height: calc(var(--km-w) * 1.3077); }
  .km-t9 { left: calc(50% + var(--km-p) * 2 - var(--km-w) * 0.5); top: calc(var(--km-b) + var(--km-w) * 0.3231); width: var(--km-w); height: calc(var(--km-w) * 1.3538); }
  .km-t10 { left: calc(50% + var(--km-p) * 3 - var(--km-w) * 0.5); top: calc(var(--km-b) - var(--km-w) * 0.6615); width: var(--km-w); height: calc(var(--km-w) * 1.3846); }
  .km-t11 { left: calc(50% + var(--km-p) * 3 - var(--km-w) * 0.5); top: calc(var(--km-b) + var(--km-w) * 0.8538); width: var(--km-w); height: calc(var(--km-w) * 1.2615); }
  .km-t12 { left: calc(50% + var(--km-p) * 4 - var(--km-w) * 0.5); top: calc(var(--km-b) - var(--km-w) * 0.9385); width: var(--km-w); height: calc(var(--km-w) * 1.3846); }
  .km-t13 { left: calc(50% + var(--km-p) * 4 - var(--km-w) * 0.5); top: calc(var(--km-b) + var(--km-w) * 0.5); width: var(--km-w); height: calc(var(--km-w) * 1.3077); }
}
/* Hero on large screens (>=1440px): ONE scale drives the photos, headline, search and spacing.
   --km-w is the photo width: 130px at 1440px, growing with the viewport width up to 1.8x, fitted to the viewport height
   and never below 0.7x on short screens. The photos follow it fully, the text block follows 60% of it, and the photo block
   is anchored to the bottom of the text block, so no gap opens between the search and the photos.
   --km-p is the column pitch: never tighter than the 1440px design, widening so the outer photos keep a constant margin to the screen edge,
   but never wider than 1.25x the photo width: on short or small desktop windows the photos are height-limited and an uncapped pitch opened gaps of 40px+. */
@media (min-width: 1440px) {
  .km-hero { --km-w: clamp(91px, min(9.028vw, calc((100vh - 256px) * 0.21417)), 234px); --km-b: calc(172px + var(--km-w) * 1.9846); --km-p: min(max(calc(var(--km-w) * 1.1308), calc(11.3367vw - var(--km-w) * 0.125)), calc(var(--km-w) * 1.25)); height: calc(172px + var(--km-w) * 4.6692); }
  .km-hero-center { padding-top: calc(34.4px + var(--km-w) * 0.3969); max-width: calc(288px + var(--km-w) * 3.3231); }
  .km-hero-tag { font-size: calc(4.8px + var(--km-w) * 0.0554); }
  .km-hero-center h1 { font-size: calc(23.6px + var(--km-w) * 0.2723); margin: calc(6.4px + var(--km-w) * 0.0738) 0 calc(5.2px + var(--km-w) * 0.06); }
  .km-hero-center > p { font-size: calc(6.4px + var(--km-w) * 0.0738); max-width: calc(192px + var(--km-w) * 2.2154); margin-bottom: calc(11.6px + var(--km-w) * 0.1338); }
  .km-search { width: calc(230px + var(--km-w) * 2.6538); height: calc(22.8px + var(--km-w) * 0.2631); }
  .km-search-label input { font-size: calc(5.6px + var(--km-w) * 0.0646); }
  .km-search-button { font-size: calc(6px + var(--km-w) * 0.0692); min-width: calc(54.8px + var(--km-w) * 0.6323); min-height: calc(22.8px + var(--km-w) * 0.2631); }
}

/* About Us from tablet up: padding, gaps and card spacing follow one fluid scale (same value as the desktop design at 1440px) */
@media (min-width: 650.02px) {
  .km-about-hero { padding: clamp(56px, 6.67vw, 132px) 0 clamp(56px, 6.11vw, 120px); }
  .km-about-section { padding: clamp(48px, 5vw, 112px) 0 clamp(56px, 5.56vw, 128px); }
  .km-about-cards { gap: clamp(20px, 2.22vw, 32px); }
  .km-about-card { padding: clamp(24px, 1.875vw, 44px) clamp(24px, 2.15vw, 48px); }
  .km-about-card p { margin-bottom: clamp(20px, 1.53vw, 30px); }
}

/* Log In page (page 5): split layout from the design reference auth screen. Frontend-only: no form, no submission, no navigation from the content controls */
.km-login { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 84px); }
.km-login-visual { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 65px; background: var(--km-navy); color: #fff; }
.km-login-visual::after { content: ''; position: absolute; right: -230px; bottom: -230px; width: 640px; height: 640px; border: 120px solid rgba(36, 219, 175, .15); border-radius: 50%; pointer-events: none; }
.km-login-visual .km-eyebrow { color: var(--km-mint); }
.km-login-visual h1 { max-width: 580px; margin: 14px 0 22px; color: #fff; font-size: clamp(2.4rem, 4.3vw, 4.4rem); font-weight: 800; line-height: 1.1; letter-spacing: -.035em; text-align: left; }
.km-login-visual h1 span { display: block; }
.km-login-visual p { max-width: 440px; margin: 0; color: #c9d9f7; font-size: 14px; line-height: 1.65; }
.km-login-assure { display: flex; align-items: center; gap: 8px; margin-top: 30px; color: #c8e0f8; font-size: 12px; }
.km-login-assure .km-icon { width: 18px; height: 18px; }
.km-login-formwrap { display: grid; place-items: center; padding: 50px 30px; background: #f9fbff; }
.km-login-card { width: min(425px, 100%); margin-inline: auto; }
.km-login-card h2 { margin: 0 0 8px; font-size: 31px; font-weight: 800; line-height: 1.17; }
.km-login-sub { margin: 0; color: #47557a; font-size: 13px; line-height: 1.65; }
.km-login-fields { display: grid; gap: 18px; margin-top: 26px; }
.km-req { color: var(--km-navy); }
.km-input-wrap { position: relative; }
.km-input-wrap .km-input { padding-right: 46px; }
.km-pw-toggle { position: absolute; top: 0; right: 0; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 0 9px 9px 0; background: transparent; color: #546280; cursor: pointer; transition: color .15s; }
.km-pw-toggle:hover { color: var(--km-navy); }
.km-pw-toggle .km-eye-off, .km-pw-toggle.km-on .km-eye { display: none; }
.km-pw-toggle.km-on .km-eye-off { display: block; }
.km-field-error { margin: 0; color: #c0392b; font-size: 12px; font-weight: 600; line-height: 1.4; }
.km-input[aria-invalid="true"] { border-color: #c0392b; }
.km-input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(192, 57, 43, .22); }
.km-field-group { display: grid; gap: 8px; }
.km-field-group label { color: var(--km-navy); font-size: 12px; font-weight: 700; }
.km-input { display: block; width: 100%; min-height: 44px; padding: 12px 14px; border: 1px solid #9aaac4; border-radius: 9px; background: #fff; color: var(--km-navy); font: 500 13px var(--km-font); transition: border-color .15s, box-shadow .15s; }
.km-input::placeholder { color: #66738f; opacity: 1; }
.km-input:focus { border-color: var(--km-cobalt); box-shadow: 0 0 0 3px rgba(26, 92, 238, .30); outline: 0; }
.km-login-submit { width: 100%; min-height: 51px; padding: 15px 23px; font-size: 13px; }
.km-login-switch { margin: 20px 0 0; text-align: center; color: #546280; font-size: 12px; }
.km-login-textbtn { min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--km-cobalt); font: 800 12px var(--km-font); cursor: pointer; }
.km-login-textbtn:hover { text-decoration: underline; }
a.km-login-textbtn { display: inline-flex; align-items: center; }
/* APEX page items that carry the sign-in values to APEX_AUTHENTICATION.LOGIN: the visible fields above stay the only UI */
.km-home .t-Form-fieldContainer:has(.km-apex-bridge) { display: none; }
@media (max-width: 900px) {
  .km-login { grid-template-columns: 1fr; min-height: 0; }
  .km-login-visual { min-height: 0; padding: 32px 22px; }
  .km-login-visual::after { width: 340px; height: 340px; border-width: 72px; right: -150px; bottom: -150px; }
  .km-login-visual h1 { font-size: 30px; }
  .km-login-formwrap { padding: 42px 20px; }
}
@media (max-width: 380px) {
  .km-login-card h2 { font-size: 26px; }
}

/* About Us on ultra-wide screens: the shared container grows from 1296px (up to 62vw, max 1800px) so the page, header and footer keep one alignment */
.km-home.km-about, .km-about .km-home { --km-container: clamp(1296px, 62vw, 1800px); }

/* About Us: one fluid side gutter from tablet up (34px at 650px, 100px at 1440px) shared by header, sections and footer - no step at 900/901 */
@media (min-width: 650.02px) {
  .km-about .km-container { width: min(var(--km-container), calc(100% - clamp(34px, calc(8.35vw - 20.3px), 100px))); }
  .km-about .km-header-inner { width: min(var(--km-container), calc(100% - clamp(34px, calc(8.35vw - 20.3px), 100px))); }
}

/* ==========================================================================
   Business onboarding wizard (pages 11-20) and the three storefront templates.
   Design source: builder.css / design-accurate.css of the prototype. Native APEX items, buttons and regions are restyled here;
   the selectors target Universal Theme markup (.t-Form-*, .t-Button) and need a visual check after the first import.
   ========================================================================== */
.km-home .km-wiz-header .km-auth { display: flex; }
.km-wiz-head { padding: 48px 0 8px; background: var(--km-ice); }
.km-wiz-container { width: min(1000px, calc(100% - 48px)); margin-inline: auto; }
.km-wiz-head h1 { margin: 10px 0 8px; font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 800; line-height: 1.12; }
.km-wiz-head p { margin: 0; color: #546280; font-size: 14px; line-height: 1.6; }
.km-wiz-progress { display: flex; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.km-wiz-progress li { flex: 1; }
.km-wiz-progress a, .km-wiz-progress span { display: block; height: 8px; border-radius: 8px; background: #d5e2f5; }
.km-wiz-progress a.done, .km-wiz-progress span.done { background: var(--km-cobalt); }
.km-wiz-progress a { transition: background .15s; }
.km-wiz-progress a:hover { background: #104ed6; }
.km-wiz-progress span.current { box-shadow: 0 0 0 3px rgba(26, 92, 238, .22); }

.km-home.km-wiz-card, .km-home.km-wiz-preview, .km-home.km-wiz-modal { width: min(1000px, calc(100% - 48px)); margin: 24px auto 0; }
.km-home.km-wiz-card { padding: 28px 31px; background: #fff; border: 1px solid #e7edf6; border-radius: 14px; box-shadow: 0 15px 38px rgba(9, 31, 79, .055); }
.km-home.km-wiz-card-flush { margin-top: 16px; }
.km-home.km-wiz-card + .km-home.km-wiz-card-flush { margin-top: 16px; }
.km-wiz-card-head h2 { margin: 0 0 8px; font-size: 24px; font-weight: 800; letter-spacing: -.03em; }
.km-wiz-card-head p { margin: 0 0 20px; color: #546280; font-size: 13px; line-height: 1.65; }
.km-wiz-note { margin: 16px 0 0; color: #546280; font-size: 12px; line-height: 1.6; }

/* native APEX fields in the design's look */
.km-wiz-card .t-Form-fieldContainer, .km-wiz-modal .t-Form-fieldContainer { margin: 0 0 18px; padding: 0; }
.km-wiz-card .t-Form-labelContainer, .km-wiz-modal .t-Form-labelContainer { padding: 0 0 8px; text-align: left; }
.km-wiz-card .t-Form-label, .km-wiz-modal .t-Form-label { color: var(--km-navy); font: 700 12px/1.3 var(--km-font); }
.km-wiz-card .t-Form-inputContainer, .km-wiz-modal .t-Form-inputContainer { padding: 0; }
.km-wiz-card .t-Form-inputContainer input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.km-wiz-card .t-Form-inputContainer select, .km-wiz-card .t-Form-inputContainer textarea,
.km-wiz-modal .t-Form-inputContainer input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.km-wiz-modal .t-Form-inputContainer select, .km-wiz-modal .t-Form-inputContainer textarea {
  width: 100%; min-height: 44px; padding: 12px 14px; border: 1px solid #9aaac4; border-radius: 9px; background: #fff; color: var(--km-navy);
  font: 500 13px var(--km-font); box-shadow: none; transition: border-color .15s, box-shadow .15s; }
.km-wiz-card .t-Form-inputContainer textarea, .km-wiz-modal .t-Form-inputContainer textarea { min-height: 110px; resize: vertical; }
.km-wiz-card .t-Form-inputContainer input:focus, .km-wiz-card .t-Form-inputContainer select:focus, .km-wiz-card .t-Form-inputContainer textarea:focus,
.km-wiz-modal .t-Form-inputContainer input:focus, .km-wiz-modal .t-Form-inputContainer select:focus, .km-wiz-modal .t-Form-inputContainer textarea:focus {
  border-color: var(--km-cobalt); box-shadow: 0 0 0 3px rgba(26, 92, 238, .30); outline: 0; }
.km-wiz-card .is-error input, .km-wiz-card .is-error select, .km-wiz-card .is-error textarea { border-color: #c0392b; }
.km-wiz-card .t-Form-error, .km-wiz-modal .t-Form-error { color: #c0392b; font-size: 12px; font-weight: 600; }
.km-wiz-card .t-Form-label .u-VisuallyHidden + *, .km-wiz-card .t-Form-required { color: var(--km-navy); }

/* buttons: Back / Save draft = outline, Continue / Publish / Save = primary (design .btn and .btn-outline) */
.km-wiz-card .t-Button, .km-wiz-modal .t-Button { min-height: 46px; margin: 8px 10px 0 0; padding: 11px 22px; border: 1.5px solid #9baac7; border-radius: 11px;
  background: #fff; color: var(--km-navy); font: 600 13px/1 var(--km-font); box-shadow: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s, box-shadow .15s; }
.km-wiz-card .t-Button:hover, .km-wiz-modal .t-Button:hover { background: var(--km-ice); border-color: var(--km-cobalt); color: var(--km-cobalt); }
.km-wiz-card .t-Button--hot, .km-wiz-modal .t-Button--hot { background: var(--km-cobalt); border-color: var(--km-cobalt); color: #fff; }
.km-wiz-card .t-Button--hot:hover, .km-wiz-modal .t-Button--hot:hover { background: #104ed6; border-color: #104ed6; color: #fff; box-shadow: 0 6px 20px rgba(26, 92, 238, .15); }

/* service and section lists */
.km-wiz-services, .km-wiz-sections { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.km-wiz-service, .km-wiz-section { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; border: 1px solid #e7edf6; border-radius: 12px; background: #fff; }
.km-wiz-service strong, .km-wiz-section-name strong { display: block; color: var(--km-navy); font-size: 14px; }
.km-wiz-service small, .km-wiz-section-name small { display: block; margin-top: 3px; color: #546280; font-size: 12px; }
.km-wiz-service-actions, .km-wiz-section-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.km-wiz-section-hidden { background: #f6f8fc; }
.km-wiz-section-hidden .km-wiz-section-name strong { color: #546280; }
.km-btn.km-btn-sm { min-height: 36px; min-width: 0; padding: 8px 14px; border-radius: 8px; font-size: 12px; }
.km-btn.km-btn-outline.km-on { border-color: var(--km-cobalt); color: var(--km-cobalt); background: var(--km-ice); }
.km-wiz-summary { padding: 16px 18px; border-radius: 12px; background: #eaf4fc; }
.km-wiz-summary strong { color: var(--km-navy); }
.km-wiz-summary p { margin: 6px 0 0; color: #3d4b6b; font-size: 13px; }
.km-wiz-preview-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; color: var(--km-navy); font-weight: 700; font-size: 13px; }
.km-wiz-preview-toolbar span:last-child { display: flex; gap: 8px; }
.km-preview-empty { padding: 24px; border: 1px dashed #9aaac4; border-radius: 12px; color: #546280; text-align: center; }

/* template cards (step 3): each card is a link carrying the request T_<code> */
.km-tpl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 20px 0 16px; }
.km-tpl-card { display: flex; flex-direction: column; gap: 7px; align-items: stretch; min-width: 0; padding: 10px 10px 15px; border: 2px solid #e5edf7; border-radius: 15px; background: #fff; color: var(--km-navy); text-decoration: none; text-align: left;
  transition: box-shadow .18s, border-color .18s, transform .18s; }
.km-tpl-card:hover { border-color: #96b8f5; transform: translateY(-1px); }
.km-tpl-card.km-tpl-chosen { border-color: var(--km-cobalt); box-shadow: 0 0 0 3px rgba(26, 92, 238, .1); background: #fff; }
.km-tpl-photo { display: flex; align-items: flex-end; height: 130px; padding: 14px; border-radius: 9px; background-size: cover; background-position: center; color: #fff; }
.km-tpl-photo > span { font-size: 15px; font-weight: 800; color: #fff; text-shadow: 0 1px 3px #3339; }
.km-tpl-clean .km-tpl-photo { background-image: linear-gradient(0deg, #0B1A4F9c, transparent), url('../img/hero-worker.jpg'); }
.km-tpl-modern .km-tpl-photo { background-image: linear-gradient(0deg, #123F3E9c, transparent), url('../img/cleaning-wide.jpg'); }
.km-tpl-bold .km-tpl-photo { background-image: linear-gradient(0deg, #1724409c, transparent), url('../img/handyman.jpg'); background-position: center 37%; }
.km-tpl-name { padding: 2px 3px; font-size: 13px; font-weight: 800; color: var(--km-navy); }
.km-tpl-tag, .km-tpl-fonts { padding: 0 3px; font-size: 10px; font-weight: 400; color: #667387; }
.km-tpl-swatches { display: flex; gap: 7px; padding: 3px; }
.km-tpl-swatches i { width: 19px; height: 19px; border: 1px solid #e5ebf0; border-radius: 50%; }
/* Page 13 button row: Back left; Save draft and Continue together on the right (button ids are lower case: back, save, next) */
.km-wiz-p13 { justify-content: flex-end !important; }
@media (max-width: 700px) {
  .km-tpl-grid { grid-template-columns: 1fr; gap: 10px; }
  .km-tpl-photo { height: 170px; }
}

/* storefront preview: the three templates (colours and fonts come from validated custom properties set by the package) */
.km-site { --s-primary: #1A5CEE; --s-secondary: #0B1A4F; --s-accent: #2DEFC6; --s-background: #F3F8FF; --s-heading: 'Montserrat'; --s-body: 'Montserrat';
  overflow: hidden; border: 1px solid #e7edf6; border-radius: 14px; background: var(--s-background); color: var(--s-secondary); font-family: var(--s-body), system-ui, sans-serif; }
.km-site-mobile { max-width: 390px; margin-inline: auto; }
/* the preview shells (pages 17 and 18) are centring flex rows: without this the site shrink-wraps to its content, so a single service card made it narrow */
.km-preview-shell > .km-site { flex: 1 1 100%; min-width: 0; }
.km-site-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 22px; background: #fff; border-bottom: 1px solid #e7edf6; }
.km-site-brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--s-heading), sans-serif; font-weight: 800; font-size: 16px; }
.km-site-logo { max-height: 40px; max-width: 180px; object-fit: contain; width: auto; border-radius: 6px; }
.km-site-nav { color: #546280; font-size: 12px; }
.km-site-section { padding: 30px 22px; }
.km-site-section h3 { margin: 0 0 8px; font-family: var(--s-heading), sans-serif; font-size: 22px; font-weight: 800; line-height: 1.2; color: var(--s-secondary); }
.km-site-section p { margin: 0 0 10px; font-size: 14px; line-height: 1.65; }
.km-site-section .km-site-sub { color: #546280; }
.km-site-photo { display: block; width: 100%; max-height: 220px; margin: 12px 0; border-radius: 12px; object-fit: cover; }
.km-site-btn { display: inline-block; margin-top: 6px; padding: 10px 20px; border-radius: 10px; background: var(--s-primary); color: #fff; font-size: 13px; font-weight: 700; }
.km-site[data-button="pill"] .km-site-btn { border-radius: 999px; }
.km-site[data-button="square"] .km-site-btn { border-radius: 2px; }
.km-site-hero { padding: 48px 22px; background: linear-gradient(135deg, var(--s-secondary), var(--s-primary)); }
.km-site-hero h3, .km-site-hero p, .km-site-hero .km-site-sub { color: #fff; }
.km-site-hero h3 { font-size: 30px; }
.km-site-hero .km-site-btn { background: var(--s-accent); color: var(--s-secondary); }
/* service cards (reference: .site-service-card of the site builder): image on top at 1.55:1, then name, description, price + action. The grid follows the
   preview's own width, so the mobile preview is one column and the desktop preview adds columns when there is room. */
/* the cards sit in .km-site-svc-grid, NOT .km-site-services: that is the class of the whole Services section (km-site- + the section key), so a grid on it
   turned the heading, subtitle and description into grid cells with gaps. 17px + the paragraph's 10px = the reference's 27px under the section header. */
/* ".km-site-services > .km-site-services" is the same grid for a package body compiled before the rename (its card container reused the section's class and sat inside
   the section element); only that old nested container matches it, so the section itself is never turned into a grid. */
.km-site-svc-grid, .km-site-services > .km-site-services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 17px 0 0; padding: 0; }
/* the mobile preview and very narrow screens stack the cards; the desktop preview is always two columns, whatever the width of the editor's preview panel */
.km-site-mobile .km-site-svc-grid, .km-site-mobile .km-site-services > .km-site-services { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 480px) { .km-site-svc-grid, .km-site-services > .km-site-services { grid-template-columns: minmax(0, 1fr); } }
.km-site-service { display: flex; flex-direction: column; overflow: hidden; border-radius: 12px; background: #fff; box-shadow: 0 8px 20px rgba(11, 26, 79, .05); }
.km-site-service > .km-site-svc-img { display: block; width: 100%; margin: 0; aspect-ratio: 1.55; object-fit: cover; border-radius: 0; }
.km-site-service > .km-site-svc-none { background: #e6edf5; }
.km-site-service > div { display: flex; flex-direction: column; flex: 1; padding: 16px; }
.km-site-service h4 { margin: 0 0 8px; font-family: var(--s-heading), sans-serif; font-size: 17px; font-weight: 800; line-height: 1.25; color: var(--s-secondary); }
.km-site-section .km-site-service p { margin: 0 0 14px; font-size: 12px; line-height: 1.55; color: #58697a; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.km-site-svc-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.km-site-svc-bottom strong { font-size: 16px; color: var(--s-secondary); }
.km-site-svc-bottom .km-site-btn { margin: 0; padding: 9px 12px; font-size: 11px; white-space: nowrap; }
.km-site-contact { font-weight: 700; }
.km-site-gallery, .km-site-testimonials, .km-site-faq { background: #fff; }
/* Classic Blue: left-aligned hero, round cards (the defaults above) */
/* Modern Green: centred hero, open white space, organic rounding */
.km-site-modern .km-site-hero { background: linear-gradient(180deg, var(--s-background), #fff); text-align: center; }
.km-site-modern .km-site-hero h3, .km-site-modern .km-site-hero p, .km-site-modern .km-site-hero .km-site-sub { color: var(--s-secondary); }
.km-site-modern .km-site-hero .km-site-btn { background: var(--s-primary); color: #fff; }
.km-site-modern .km-site-section { padding: 38px 26px; }
.km-site-modern .km-site-photo { border-radius: 22px; }
.km-site-modern .km-site-service { border-radius: 22px; }
/* Bold Orange: dark header, uppercase editorial headings */
.km-site-bold .km-site-header { background: var(--s-secondary); color: #fff; border-bottom: 0; }
.km-site-bold .km-site-nav { color: #c8d3ea; }
.km-site-bold .km-site-section h3 { text-transform: uppercase; letter-spacing: .02em; }
.km-site-bold .km-site-hero { background: var(--s-secondary); border-bottom: 6px solid var(--s-primary); }
.km-site-bold .km-site-hero h3 { font-size: 36px; }
.km-site-bold .km-site-photo { border-radius: 4px; }
.km-site-bold .km-site-service { border-radius: 3px; border-bottom: 4px solid var(--s-accent); }

@media (max-width: 900px) {
  .km-home .km-wiz-header .km-header-inner { grid-template-columns: auto 1fr; }
  .km-wiz-header .km-header-inner > span { display: none; }
  .km-home .km-wiz-header .km-auth { justify-content: flex-end; }
  .km-home.km-wiz-card { padding: 22px 20px; }
  .km-wiz-service, .km-wiz-section { flex-direction: column; align-items: stretch; }
  .km-wiz-service-actions, .km-wiz-section-actions { justify-content: flex-start; }
}
@media (max-width: 480px) {
  .km-wiz-head { padding: 28px 0 4px; }
  .km-home.km-wiz-card, .km-home.km-wiz-preview, .km-home.km-wiz-modal { width: calc(100% - 32px); }
  .km-wiz-container { width: calc(100% - 32px); }
  .km-wiz-card .t-Button { width: 100%; margin-right: 0; }
}

/* ==========================================================================
   Onboarding step 1 (page 11) - matches the prototype #/onboarding step 1 (builder.css .site-onboarding*, styles.css .field/.input/.btn).
   Scoped with .km-wiz-m / .km-wiz-m-head so the other wizard pages are unchanged. Item and button ids are the Universal Theme ids.
   ========================================================================== */
body:has(.km-wiz-m-head) { background: linear-gradient(#fbfdff 0%, #f0f7ff 100%) no-repeat; background-attachment: fixed; }
.km-home:has(> .km-wiz-m-head) { background: transparent; }
.km-wiz-head.km-wiz-m-head { padding: 35px 0 0; background: transparent; text-align: center; }
.km-home .km-wiz-m-wrap { width: min(1200px, calc(100% - 64px)); }
.km-wiz-m-head .km-eyebrow { display: inline-block; line-height: 1.65; font-size: 10px; font-weight: 800; letter-spacing: .145em; text-transform: uppercase; color: var(--km-cobalt); }
.km-wiz-m-head h1 { margin: 8px 0; font-size: clamp(26px, 3vw, 38px); font-weight: 800; line-height: 1.25; letter-spacing: -.036em; color: var(--km-navy); }
.km-wiz-m-head p { margin: 0; font-size: 13px; line-height: 1.7; color: #66728D; }
.km-wiz-m-head .km-wiz-progress { max-width: 740px; margin: 22px auto 0; gap: 7px; }
.km-wiz-m-head .km-wiz-progress a, .km-wiz-m-head .km-wiz-progress span { background: #dae5f6; }
.km-wiz-m-head .km-wiz-progress a.done, .km-wiz-m-head .km-wiz-progress span.done { background: var(--km-cobalt); }
.km-wiz-m-head .km-wiz-progress span.current { background: #2de6c0; box-shadow: 0 0 0 3px rgba(45, 230, 192, .2); }
.km-wiz-m-step { display: block; margin-top: 10px; font-size: 11.67px; font-weight: 700; line-height: 1.65; color: var(--km-navy); }

.km-home.km-wiz-card.km-wiz-m { width: min(1200px, calc(100% - 64px)); margin: 25px auto 86px; padding: 30px 38px; border-radius: 14px; box-sizing: border-box;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; row-gap: 18px; align-content: start; }
.km-wiz-m > * { min-width: 0; }
.km-wiz-m .km-wiz-card-head { grid-column: 1 / -1; grid-row: 1; }
/* required marker after the label, navy (prototype: "Business name *"); hide the Universal Theme marker in front */
.km-wiz-mj .t-Form-required, .km-wiz-mj .t-Form-label .t-Form-required { display: none; }
.km-wiz-mj .is-required .t-Form-label::before { content: none; }
.km-wiz-mj .is-required .t-Form-label::after { content: " *"; color: var(--km-navy); }
.km-wiz-m .km-wiz-card-head h2 { margin: 4px 0 9px; font-size: 24px; font-weight: 800; letter-spacing: -.036em; line-height: 1.17; }
.km-wiz-m .km-wiz-card-head p { margin: 0 0 4px; font-size: 12px; line-height: 1.65; color: #66728D; }
#P11_DESCRIPTION_CONTAINER, #P11_LINE1_CONTAINER { grid-column: 1 / -1; }
.km-wiz-m .t-Form-fieldContainer { margin: 0; }
.km-wiz-m .t-Form-labelContainer { padding: 0 0 8px; }
.km-wiz-m .t-Form-label { display: block; font: 750 14px/1.3 var(--km-font); color: var(--km-navy); }
.km-wiz-m .t-Form-inputContainer input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.km-wiz-m .t-Form-inputContainer select, .km-wiz-m .t-Form-inputContainer textarea {
  min-height: 44px; padding: 12px 14px; border: 1px solid #ccd8e9; border-radius: 9px; font: 400 14px/1.65 var(--km-font); color: var(--km-navy); }
.km-wiz-m .t-Form-inputContainer select { width: 100%; min-height: 49px; line-height: normal; -webkit-appearance: none; appearance: none; padding-right: 38px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1A4F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 13px center / 14px 14px; }
.km-wiz-m .t-Form-itemWrapper, .km-wiz-m .t-Form-itemWrapper > * { max-width: 100%; }
.km-wiz-m .t-Form-itemWrapper:has(select) { display: block; }
.km-wiz-m .t-Form-inputContainer textarea { min-height: 110px; }
.km-wiz-m .t-Form-inputContainer input::placeholder, .km-wiz-m .t-Form-inputContainer textarea::placeholder { color: #9aa5b9; }
.km-wiz-m .t-Form-inputContainer input:focus, .km-wiz-m .t-Form-inputContainer select:focus, .km-wiz-m .t-Form-inputContainer textarea:focus {
  border-color: var(--km-cobalt); box-shadow: 0 0 0 3px rgba(26, 92, 238, .10); }
.km-wiz-m .is-error input, .km-wiz-m .is-error select, .km-wiz-m .is-error textarea { border-color: #c0392b; }
.km-wiz-m .t-Button { min-height: 44px; margin: 0; padding: 11px 20px; border: 1.5px solid #9baac7; border-radius: 10px; font: 750 12px/1.65 var(--km-font); letter-spacing: -.005em; }
.km-wiz-m .t-Button--hot { border-color: var(--km-cobalt); }
.km-wiz-m .t-Button--hot:hover { border-color: #104ed6; }
/* Back on the left, Continue on the right (as in the prototype) */
/* grid rows: head 1, name+category 2, description 3, address 4, city+state 5, ZIP 6, buttons 7 (mobile: one column, ZIP row 8, buttons 9-10) */
/* APEX may wrap each button; the rules cover both the button and its wrapper as the direct grid child */
.km-wiz-m > #BACK, .km-wiz-m > :has(> #BACK), .km-wiz-m > :has(#BACK):not(.km-wiz-card-head),
.km-wiz-m > #NEXT, .km-wiz-m > :has(#NEXT):not(.km-wiz-card-head) { grid-row: 7; align-self: start; margin-top: 6px; }
.km-wiz-m > #BACK, .km-wiz-m > :has(#BACK) { grid-column: 1; justify-self: start; }
.km-wiz-m > #NEXT, .km-wiz-m > :has(#NEXT) { grid-column: 2; justify-self: end; }
.km-wiz-m #NEXT { min-width: 134px; }
@media (max-width: 1040px) { .km-home .km-wiz-m-wrap, .km-home.km-wiz-card.km-wiz-m { width: min(1200px, calc(100% - 48px)); } }
@media (max-width: 700px) {
  .km-wiz-head.km-wiz-m-head { padding-top: 25px; }
  .km-home .km-wiz-m-wrap, .km-home.km-wiz-card.km-wiz-m { width: calc(100% - 26px); }
  .km-wiz-m-head h1 { font-size: 25px; }
  .km-wiz-m-head p { font-size: 11px; }
  .km-home.km-wiz-card.km-wiz-m { padding: 23px 18px; margin-bottom: 65px; }
  .km-wiz-m .t-Form-fieldContainer { grid-column: 1 / -1; }
  .km-wiz-m > #BACK, .km-wiz-m > :has(#BACK):not(.km-wiz-card-head), .km-wiz-m > #NEXT, .km-wiz-m > :has(#NEXT):not(.km-wiz-card-head) { grid-row: 9; justify-self: stretch; margin-top: 0; }
  .km-wiz-m #BACK, .km-wiz-m #NEXT { width: 100%; }
}

/* ==========================================================================
   Onboarding steps 2-8 (pages 12-18): one card made of joined regions - .km-wiz-mj (fields), .km-wiz-mc (content, preview, notice) and
   .km-wiz-mc-last (Back / Save draft / Continue). Same measurements as the prototype's .site-onboarding-card and .site-wizard-actions.
   ========================================================================== */
.km-home.km-wiz-card.km-wiz-mj { margin-bottom: 0; padding-bottom: 6px; border-bottom: 0; border-radius: 14px 14px 0 0; box-shadow: none; }
.km-home.km-wiz-card.km-wiz-mc, .km-home.km-wiz-preview.km-wiz-mc { width: min(1200px, calc(100% - 64px)); margin: 0 auto; padding: 0 38px 18px; box-sizing: border-box;
  background: #fff; border: 1px solid #e7edf6; border-top: 0; border-radius: 0; box-shadow: none; }
.km-home.km-wiz-mc.km-wiz-mc.km-wiz-mc { margin-top: 0; }
.km-home.km-wiz-card.km-wiz-mc.km-wiz-mc-last { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding-top: 6px; padding-bottom: 30px; margin-bottom: 86px;
  border-radius: 0 0 14px 14px; box-shadow: 0 15px 38px rgba(9, 31, 79, .055); }
.km-wiz-mc-last::before { content: ""; order: -1; flex: 0 0 100%; height: 1px; margin-bottom: 10px; background: #e3eaf2; }
.km-wiz-mc-plain::before { display: none; }
.km-wiz-anchor { display: none; }
.km-wiz-mc-last > #BACK, .km-wiz-mc-last > :has(#BACK) { margin-right: auto; }
.km-wiz-mc-last .t-Button { min-height: 44px; margin: 0; padding: 11px 20px; border: 1.5px solid #9baac7; border-radius: 10px; font: 750 12px/1.65 var(--km-font); letter-spacing: -.005em; }
.km-wiz-mc-last .t-Button--hot { border-color: var(--km-cobalt); }
.km-wiz-mc-last .t-Button--hot:hover { border-color: #104ed6; }
.km-wiz-notice { margin: 0; padding: 13px 15px; background: #f0f9f6; color: #146151; border: 1px solid #c9ece0; border-radius: 10px; font-size: 11px; line-height: 1.6; }
#P14_BUTTON_STYLE_CONTAINER, #P18_DAYS_CONTAINER { grid-column: 1 / -1; }
@media (max-width: 1040px) { .km-home.km-wiz-card.km-wiz-mc, .km-home.km-wiz-preview.km-wiz-mc { width: min(1200px, calc(100% - 48px)); } }
@media (max-width: 700px) {
  .km-home.km-wiz-card.km-wiz-mc, .km-home.km-wiz-preview.km-wiz-mc { width: calc(100% - 26px); padding: 0 18px 16px; }
  .km-home.km-wiz-card.km-wiz-mc.km-wiz-mc-last { padding-bottom: 23px; margin-bottom: 65px; }
  .km-wiz-mc-last > * { flex: 1 1 140px; }
  .km-wiz-mc-last > #BACK, .km-wiz-mc-last > :has(#BACK) { margin-right: 0; }
  .km-wiz-mc-last .t-Button { width: 100%; }
}
/* Business setup wizard - description field sizing */
/* Fix business description width on onboarding Step 1 */
#P11_DESCRIPTION_CONTAINER .t-Form-inputContainer,
#P11_DESCRIPTION_CONTAINER .t-Form-itemWrapper,
#P11_DESCRIPTION_CONTAINER .apex-item-group,
#P11_DESCRIPTION_CONTAINER textarea#P11_DESCRIPTION {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

#P11_DESCRIPTION_CONTAINER textarea#P11_DESCRIPTION {
    height: 105px !important;
    min-height: 105px !important;
    resize: vertical;
}

/*----------------------------------------------------------*/
/* Keep wizard navigation buttons on the same row */
.km-wiz-m .km-wiz-card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Back button: left column, natural width */
.km-wiz-m .km-wiz-card > #back {
    grid-column: 1;
    width: fit-content !important;
    justify-self: start;
}

/* Continue button: right column, natural width */
.km-wiz-m .km-wiz-card > #next {
    grid-column: 2;
    width: fit-content !important;
    justify-self: end;
}

/* Fix Back and Continue button alignment on the business wizard */
#P11_ZIP_CONTAINER {
  grid-column: 1;
}

#B11892096722074948 {
  grid-column: 1;
  grid-row: auto;
  justify-self: start;
  width: auto;
  min-width: 90px;
}

#B11892215664074500 {
  grid-column: 2;
  justify-self: end;
  width: auto;
  min-width: 116px;
}


/*--------exp-------*/

/* Page 12 — Service Coverage dropdown */

/* Service Coverage — P12_RADIUS */


/* Service Coverage dropdown — Page 12 */
#P12_RADIUS {
    width: 100% !important;
    min-width: 0 !important;
}

#P12_RADIUS .apex-item-comboselect {
    display: flex !important;
    width: 100% !important;
    min-width: 100% !important;
    height: 46px !important;
    box-sizing: border-box !important;
    border: 1px solid #cbd8ef !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    box-shadow: none !important;
    overflow: hidden !important;
}

#P12_RADIUS .apex-item-comboselect input {
    flex: 1 1 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 44px !important;
    padding: 0 16px !important;
    border: none !important;
    background: transparent !important;
    color: #10265c !important;
    box-shadow: none !important;
}

#P12_RADIUS .a-Chip-clear,
#P12_RADIUS .a-Chip-clearButton {
    display: none !important;
}

#P12_RADIUS .a-Button--comboSelect {
    display: flex !important;
    flex: 0 0 44px !important;
    width: 44px !important;
    height: 44px !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Focus styling */
#P12_RADIUS .apex-item-comboselect:focus-within {
    border-color: #245cff !important;
    box-shadow: 0 0 0 3px rgba(36, 92, 255, 0.12) !important;
}

/* Page 12 only (its actions region is the one with .km-wiz-mc-plain): Back bottom-left, Continue bottom-right on one row.
   The buttons carry the static ids "back" and "next" (lower case). */
@media (max-width: 700px) {
  .km-wiz-mc-plain .t-Button { width: 100% !important; }
  .km-wiz-mc-plain > * { flex: 1 1 140px !important; }
}

/* Page 11 only: the label already ends with "*"; hide the theme required marker that renders before the label text */
.km-wiz-m:not(.km-wiz-mj) .t-Form-label::before, .km-wiz-m:not(.km-wiz-mj) .t-Form-label::after,
.km-wiz-m:not(.km-wiz-mj) .t-Form-labelContainer::before, .km-wiz-m:not(.km-wiz-mj) .t-Form-labelContainer::after { content: none !important; display: none !important; }
.km-wiz-m:not(.km-wiz-mj) .t-Form-required, .km-wiz-m:not(.km-wiz-mj) .t-Form-label .t-Form-required,
.km-wiz-m:not(.km-wiz-mj) .t-Form-label > span[aria-hidden="true"], .km-wiz-m:not(.km-wiz-mj) .t-Form-label > .a-Icon { display: none !important; }

/* Page 14 only (brand): colour fields as in the prototype's .site-color-field - a swatch (live colour preview) beside the hex code - plus
   full-width Reset button, no required markers. Page 13 and 14 share the button row rule .km-wiz-p13 (Back left, Save draft + Continue right). */
.km-wiz-p14 .t-Form-label::before, .km-wiz-p14 .t-Form-label::after, .km-wiz-p14 .t-Form-labelContainer::before, .km-wiz-p14 .t-Form-labelContainer::after { content: none !important; display: none !important; }
.km-wiz-p14 .t-Form-required { display: none !important; }
.km-wiz-p14 .t-Form-itemWrapper:has(.km-swatch) { display: flex !important; align-items: center !important; gap: 12px !important; box-sizing: border-box !important; border: 1px solid #dae3ef !important; border-radius: 10px !important; padding: 9px !important; background: #fff !important; }
.km-wiz-p14 .km-swatch { -webkit-appearance: none !important; appearance: none !important; flex: 0 0 43px !important; width: 43px !important; height: 39px !important; padding: 0 !important; border: 0 !important; background: none !important; cursor: pointer !important; }
.km-wiz-p14 .km-swatch::-webkit-color-swatch-wrapper { padding: 0; }
.km-wiz-p14 .km-swatch::-webkit-color-swatch { border: 1px solid #cdd7e6; border-radius: 7px; }
.km-wiz-p14 .km-swatch::-moz-color-swatch { border: 1px solid #cdd7e6; border-radius: 7px; }
.km-wiz-p14 .t-Form-itemWrapper:has(.km-swatch) input[type="text"] { flex: 1 1 auto !important; min-width: 0 !important; width: auto !important; height: auto !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; box-shadow: none !important; background: transparent !important; font: 600 12px/1.65 var(--km-font) !important; color: #52637b !important; text-transform: uppercase !important; }

/* ==========================================================================
   Wizard button rows, positioned from the real markup (measured on the live page): every button is a direct child of its region
   (<button class="t-Button ...">) with a generated id (B<number>), so the rules use structure and classes, never ids.
   Back is the first button; Continue is .t-Button--hot; Save draft (where it exists) sits between them.
   ========================================================================== */
/* Pages 12 (.km-wiz-mc-plain), 13 and 14 (.km-wiz-p13): flex region - Back left, the rest pushed right, one row. Pages 16-18 are not touched. */
.km-wiz-mc-plain, .km-wiz-p13 { justify-content: flex-end !important; }
.km-wiz-mc-plain > .t-Button:first-of-type, .km-wiz-p13 > .t-Button:first-of-type { margin-right: auto !important; }
@media (max-width: 700px) {
  .km-wiz-mc-plain > .t-Button, .km-wiz-p13 > .t-Button { flex: 1 1 140px !important; width: auto !important; margin-right: 0 !important; }
  .km-wiz-mc-plain > .t-Button:first-of-type, .km-wiz-p13 > .t-Button:first-of-type { margin-right: 0 !important; }
}
/* Page 11: the buttons are direct children of the card grid (row 7 = below the ZIP row; row 10 on one-column phones) */
.km-wiz-m:not(.km-wiz-mj) > .t-Button { grid-row: 7 !important; align-self: start !important; margin: 6px 0 0 !important; width: auto !important; }
/* Back = first button, Continue = last button (not the hot class: Back is also marked hot on page 11) */
.km-wiz-m:not(.km-wiz-mj) > .t-Button:first-of-type { grid-column: 1 !important; justify-self: start !important; }
.km-wiz-m:not(.km-wiz-mj) > .t-Button:last-of-type { grid-column: 2 !important; justify-self: end !important; min-width: 134px !important; }
@media (max-width: 700px) {
  .km-wiz-m:not(.km-wiz-mj) > .t-Button { grid-row: 10 !important; margin-top: 0 !important; width: 100% !important; justify-self: stretch !important; }
}
/* Page 14: Reset to template defaults - the only button inside the card, full width */
.km-wiz-p14 > .t-Button { grid-column: 1 / -1 !important; display: block !important; width: 100% !important; min-height: 36px !important; padding: 8px 14px !important; border-radius: 8px !important; font-size: 11px !important; }

/* Page 16 (Services & pricing): "+ Add a service" on its own row, then Back (left) and Continue (right) on the row below.
   The buttons are direct children of the flex region, in order: add service, Back, Continue. */
.km-wiz-p16 { justify-content: flex-start !important; }
.km-wiz-p16 > .t-Button:first-of-type { margin-right: 100% !important; }
.km-wiz-p16 > .t-Button:nth-of-type(2) { margin-right: auto !important; }
@media (max-width: 700px) {
  .km-wiz-p16 > .t-Button:first-of-type { margin-right: 0 !important; flex: 1 1 100% !important; width: 100% !important; }
  .km-wiz-p16 > .t-Button:nth-of-type(2), .km-wiz-p16 > .t-Button:nth-of-type(3), .km-wiz-p16 > .t-Button:nth-of-type(4) { margin-right: 0 !important; flex: 1 1 140px !important; width: auto !important; }
}

/* Book Now hover (Top rated businesses): same hover as the primary buttons (.km-btn:hover). The buttons are aria-disabled, and the global
   rule .km-home [aria-disabled="true"] sets pointer-events: none, so :hover never fired - it is re-enabled for these buttons only (no href: a click still does nothing). */
.km-home .km-providers a.km-card-btn, .km-home .km-providers a.km-card-btn[aria-disabled="true"] { pointer-events: auto; cursor: pointer; transition: background .18s, border-color .18s, box-shadow .18s, transform .18s; }
.km-home .km-providers a.km-card-btn:hover, .km-home .km-providers a.km-card-btn[aria-disabled="true"]:hover { background: #104ed6; border-color: #104ed6; box-shadow: 0 6px 20px rgba(26, 92, 238, .15); transform: translateY(-1px); }
.km-home .km-providers a.km-card-btn:active, .km-home .km-providers a.km-card-btn[aria-disabled="true"]:active { transform: translateY(0); box-shadow: none; }
@media (prefers-reduced-motion: reduce) { .km-home .km-providers a.km-card-btn { transition: none; transform: none !important; } }

/* Hero photo strip on small desktops and landscape tablets (901px-1199px): the seven photos grow with the viewport so the strip fills the width
   (side margins about 40px) instead of leaving a fixed 130px strip with wide empty margins; heights keep the design ratios (130x170 / 130x190). */
@media (min-width: 900.02px) and (max-width: 1199.98px) {
  .km-collage { --km-sw: clamp(96px, calc((100vw - 160px) / 7), 150px); }
  .km-tile { flex: 0 0 var(--km-sw); width: var(--km-sw); height: calc(var(--km-sw) * 1.3077); }
  .km-t1, .km-t3, .km-t5, .km-t7 { height: calc(var(--km-sw) * 1.4615); }
}

/* Growth banner buttons (Join Kaame Free, Learn more): the design's .btn / .btn-outline hover plus a subtle lift. Join keeps its colour change;
   Learn more turns to the blue border and blue text of .btn-outline:hover (the generic .km-home a.km-btn-outline rule out-ranked that hover here). */
.km-home .km-growth-actions a.km-btn { transition: background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease; }
.km-home .km-growth-actions a.km-btn:not(.km-btn-outline):hover { transform: translateY(-2px); }
.km-home .km-growth-actions a.km-btn-outline:hover { background: var(--km-ice); color: var(--km-cobalt); border-color: var(--km-cobalt); box-shadow: 0 6px 20px rgba(26, 92, 238, .12); transform: translateY(-2px); }
.km-home .km-growth-actions a.km-btn:active { transform: translateY(0); box-shadow: none; }
.km-home .km-growth-actions a.km-btn:focus-visible { outline: 3px solid rgba(26, 92, 238, .35); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .km-home .km-growth-actions a.km-btn { transition: none; transform: none !important; } }

/* Add a service dialog (page 19) - layout and fields as the prototype's service editor: name; category | service type; fixed price | duration;
   description; service photo; then the extra fields; Cancel left, Save service right. Scoped to .km-wiz-svc. */
.km-home.km-wiz-svc { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; column-gap: 18px !important; align-content: start !important; width: auto !important; margin: 0 !important; padding: 0 8px 0 0 !important;
  max-height: calc(100vh - 92px) !important; overflow-y: auto !important; overflow-x: hidden !important; }
.km-wiz-svc > .t-Form-fieldContainer { margin: 0 0 18px !important; min-width: 0 !important; }
.km-wiz-svc > #P19_NAME_CONTAINER, .km-wiz-svc > #P19_SHORT_CONTAINER, .km-wiz-svc > #P19_IMAGE_CONTAINER, .km-wiz-svc > #P19_INCLUDED_CONTAINER,
.km-wiz-svc > #P19_EXCLUDED_CONTAINER, .km-wiz-svc > #P19_LOGO_CONTAINER { grid-column: 1 / -1 !important; }
.km-wiz-svc .t-Form-label::before, .km-wiz-svc .t-Form-label::after, .km-wiz-svc .t-Form-labelContainer::before, .km-wiz-svc .t-Form-labelContainer::after { content: none !important; display: none !important; }
.km-wiz-svc .t-Form-required { display: none !important; }
.km-wiz-svc .t-Form-labelContainer { padding: 0 0 8px !important; }
.km-wiz-svc .t-Form-label { font: 750 14px/1.3 var(--km-font) !important; color: var(--km-navy) !important; }
.km-wiz-svc .t-Form-inputContainer, .km-wiz-svc .t-Form-itemWrapper { width: 100% !important; max-width: 100% !important; }
/* the textarea sits in .apex-item-group inside a flex wrapper and would shrink to ~190px */
.km-wiz-svc .apex-item-group { width: 100% !important; flex: 1 1 100% !important; max-width: 100% !important; }
.km-wiz-svc a-file-upload, .km-wiz-svc .a-FileDrop--dropzone { display: block !important; width: 100% !important; max-width: 100% !important; box-sizing: border-box !important; }
.km-wiz-svc .a-FileDrop--dropzone { min-height: 110px !important; border-radius: 9px !important; border: 1px dashed #ccd8e9 !important; background: #fff !important; }
.km-wiz-svc .a-FileDrop-heading { font-size: 14px !important; font-weight: 750 !important; color: var(--km-navy) !important; }
.km-wiz-svc .t-Form-inputContainer input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), .km-wiz-svc .t-Form-inputContainer select, .km-wiz-svc .t-Form-inputContainer textarea {
  width: 100% !important; box-sizing: border-box !important; min-height: 44px !important; padding: 12px 14px !important; border: 1px solid #ccd8e9 !important; border-radius: 9px !important;
  font: 400 14px/1.65 var(--km-font) !important; color: var(--km-navy) !important; background-color: #fff !important; box-shadow: none !important; }
.km-wiz-svc .t-Form-inputContainer input:not([type="checkbox"]):not([type="radio"]):not([type="file"]) { height: 49px !important; }
.km-wiz-svc .t-Form-inputContainer select { height: 49px !important; line-height: normal !important; -webkit-appearance: none !important; appearance: none !important; padding-right: 38px !important;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1A4F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 13px center / 14px 14px !important; }
.km-wiz-svc .t-Form-inputContainer textarea { height: 110px !important; min-height: 110px !important; resize: vertical !important; }
.km-wiz-svc .t-Form-inputContainer input::placeholder, .km-wiz-svc .t-Form-inputContainer textarea::placeholder { color: #9aa5b9 !important; }
.km-wiz-svc .t-Form-inputContainer input:focus, .km-wiz-svc .t-Form-inputContainer select:focus, .km-wiz-svc .t-Form-inputContainer textarea:focus { border-color: var(--km-cobalt) !important; box-shadow: 0 0 0 3px rgba(26, 92, 238, .10) !important; outline: 0 !important; }
@media (max-width: 560px) {
  .km-home.km-wiz-svc { grid-template-columns: 1fr !important; }
  .km-wiz-svc > .t-Form-fieldContainer { grid-column: 1 / -1 !important; }
}

/* Add a service dialog: fixed frame (700px wide like the design's wide modal, height set on the page), the fields scroll inside it and the Cancel / Save service footer stays visible */
body:has(.km-wiz-svc) .t-Dialog-body { padding: 4px 28px 0 !important; }
body:has(.km-wiz-svc) .t-Dialog-bodyWrapperIn, body:has(.km-wiz-svc) .t-Dialog-bodyWrapperOut { overflow: hidden !important; }
.km-home.km-svc-actions { display: flex !important; justify-content: space-between !important; align-items: center !important; gap: 14px !important; width: auto !important; margin: 0 !important; padding: 14px 0 20px !important; border-top: 1px solid #e3eaf2 !important; background: #fff !important; }
.km-svc-actions > .t-Button { min-height: 44px !important; margin: 0 !important; padding: 11px 20px !important; border-radius: 10px !important; font: 750 12px/1.65 var(--km-font) !important; width: auto !important; }
.km-svc-actions > .t-Button:last-of-type { min-width: 134px !important; }
@media (max-width: 560px) { .km-svc-actions > .t-Button { flex: 1 1 0 !important; min-width: 0 !important; } }
/* business logo uploader (design: .site-uploader / .site-logo-sample): framed box, sample preview left, upload button and note right */
.km-wiz-svc #P19_LOGO_CONTAINER .t-Form-inputContainer { box-sizing: border-box !important; border: 1px solid #e5ecf4 !important; border-radius: 13px !important; background: #fafdff !important; padding: 14px 15px !important; }
.km-wiz-svc .km-logo-row { display: flex !important; flex-wrap: wrap !important; align-items: center !important; gap: 14px !important; }
.km-wiz-svc .km-logo-sample { display: flex; align-items: center; justify-content: center; box-sizing: border-box; min-width: 120px; width: 120px; height: 76px; padding: 10px; color: #52637b; background: #fff; border: 1px dashed #c5d3e4; border-radius: 10px; font-size: 10px; text-align: center; }
.km-wiz-svc .km-logo-sample img { max-width: 100%; max-height: 100%; object-fit: contain; }
.km-wiz-svc .km-logo-note { flex: 1 1 200px; max-width: 260px; font-size: 10px; line-height: 1.65; color: #69778f; }
.km-wiz-svc .km-logo-row .apex-item-file, .km-wiz-svc .km-logo-row input[type="file"] { width: auto !important; max-width: 100% !important; border: 0 !important; padding: 0 !important; min-height: 0 !important; height: auto !important; font-size: 12px !important; }
@media (max-width: 400px) { .km-wiz-svc .km-logo-sample { min-width: 85px; width: 85px; } }

/* Add a service dialog chrome (page 19 sets the dialog class km-svc-dialog; this file is also loaded by the parent page 16 that hosts the dialog):
   24px rounded frame, bold heading without the divider, dimmed and blurred page behind. */
.ui-dialog.km-svc-dialog { border: 0 !important; border-radius: 24px !important; overflow: hidden !important; box-shadow: 0 24px 60px rgba(4, 13, 42, .35) !important; }
.km-svc-dialog .ui-dialog-titlebar { position: relative !important; display: flex !important; align-items: center !important; min-height: 0 !important; padding: 20px 72px 20px 28px !important; border: 0 !important; border-bottom: 0 !important; border-radius: 24px 24px 0 0 !important; background: #fff !important; }
.km-svc-dialog .ui-dialog-title { float: none !important; margin: 0 !important; font-size: 24px !important; font-weight: 800 !important; line-height: 1.2 !important; letter-spacing: -.02em !important; color: #0B1A4F !important; }
.km-svc-dialog .ui-dialog-titlebar-close { position: absolute !important; top: 50% !important; right: 20px !important; margin: 0 !important; transform: translateY(-50%) !important; }
.km-svc-dialog .ui-dialog-content { border-radius: 0 0 24px 24px !important; overflow: hidden !important; }
body:has(.km-svc-dialog) .ui-widget-overlay { background: rgba(4, 13, 42, .58) !important; opacity: 1 !important; -webkit-backdrop-filter: blur(6px) !important; backdrop-filter: blur(6px) !important; }
/* dialog buttons: Cancel white / navy / light blue border, Save service Kaame blue / white - in every state */
.km-svc-actions > .t-Button, .km-svc-actions > .t-Button:focus, .km-svc-actions > .t-Button:active { background-color: #FFFFFF !important; color: #0B1A4F !important; border: 1.5px solid #9BAAC7 !important; box-shadow: none !important; }
.km-svc-actions > .t-Button--hot, .km-svc-actions > .t-Button--hot:focus, .km-svc-actions > .t-Button--hot:active { background-color: #1A5CEE !important; color: #FFFFFF !important; border-color: #1A5CEE !important; }
.km-svc-actions > .t-Button:hover { background-color: #F3F8FE !important; color: #1A5CEE !important; border-color: #1A5CEE !important; }
.km-svc-actions > .t-Button--hot:hover { background-color: #104ed6 !important; color: #FFFFFF !important; border-color: #104ed6 !important; box-shadow: 0 6px 20px rgba(26, 92, 238, .15) !important; }
.km-svc-actions > .t-Button { transition: background-color .18s, border-color .18s, color .18s, box-shadow .18s !important; }

/* Home header Log In / Sign Up lift: the same subtle jump as the growth-banner buttons, on the Home page only (the page that contains the hero). */
body:has(.km-hero) .km-home .km-auth a.km-btn { transition: background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease; }
body:has(.km-hero) .km-home .km-auth a.km-btn:hover { transform: translateY(-2px); }
body:has(.km-hero) .km-home .km-auth a.km-btn-outline:hover { box-shadow: 0 6px 20px rgba(26, 92, 238, .12); }
body:has(.km-hero) .km-home .km-auth a.km-btn:active { transform: translateY(0); box-shadow: none; }
@media (prefers-reduced-motion: reduce) { body:has(.km-hero) .km-home .km-auth a.km-btn { transition: none; transform: none !important; } }

/* Wizard buttons (pages 11-20, the service/section dialogs and the wizard header): a subtle lift on hover with a matching colour change.
   :hover only (no lift on keyboard focus), pointer devices only (no sticky hover or movement on touch), transform does not move the layout. */
.km-wiz-card .t-Button, .km-wiz-preview .t-Button, .km-wiz-modal .t-Button, .km-svc-actions > .t-Button,
.km-wiz-card .km-btn, .km-wiz-preview .km-btn, .km-wiz-header .km-btn { transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease; }
@media (hover: hover) and (pointer: fine) {
  .km-wiz-card .t-Button:hover, .km-wiz-preview .t-Button:hover, .km-wiz-modal .t-Button:hover, .km-svc-actions > .t-Button:hover,
  .km-wiz-card .km-btn:hover, .km-wiz-preview .km-btn:hover, .km-wiz-header .km-btn:hover { transform: translateY(-2px) !important; }
  /* outlined buttons: light blue background, blue border and text (same treatment as the design's .btn-outline:hover) */
  .km-wiz-card .t-Button:not(.t-Button--hot):hover, .km-wiz-preview .t-Button:not(.t-Button--hot):hover, .km-wiz-modal .t-Button:not(.t-Button--hot):hover,
  .km-wiz-card .km-btn-outline:hover, .km-wiz-preview .km-btn-outline:hover, .km-wiz-header .km-btn-outline:hover { background-color: #F3F8FE !important; color: #1A5CEE !important; border-color: #1A5CEE !important; box-shadow: 0 6px 20px rgba(26, 92, 238, .12) !important; }
  /* primary buttons: darker blue with a soft shadow */
  .km-wiz-card .t-Button--hot:hover, .km-wiz-preview .t-Button--hot:hover, .km-wiz-modal .t-Button--hot:hover,
  .km-wiz-card .km-btn:not(.km-btn-outline):hover, .km-wiz-preview .km-btn:not(.km-btn-outline):hover { background-color: #104ed6 !important; border-color: #104ed6 !important; color: #FFFFFF !important; box-shadow: 0 6px 20px rgba(26, 92, 238, .15) !important; }
}
.km-wiz-card .t-Button:active, .km-wiz-preview .t-Button:active, .km-wiz-modal .t-Button:active, .km-svc-actions > .t-Button:active { transform: translateY(0) !important; }
@media (prefers-reduced-motion: reduce) { .km-wiz-card .t-Button, .km-wiz-preview .t-Button, .km-wiz-modal .t-Button, .km-svc-actions > .t-Button, .km-wiz-card .km-btn, .km-wiz-preview .km-btn, .km-wiz-header .km-btn { transition: none !important; transform: none !important; } }

/* Page 11 Back button (id back-black, also marked hot): hover = bright blue border and text on a very light blue background with the same soft shadow as the other outlined wizard buttons.
   The id selector out-ranks the page's inline #back-black rule and the generic wizard hover rules above. */
.km-wiz-m #back-black.t-Button:hover, .km-wiz-m #back-black.t-Button:focus:hover { background-color: #F3F8FE !important; color: #215DF5 !important; border-color: #215DF5 !important; box-shadow: 0 6px 20px rgba(26, 92, 238, .12) !important; }

/* Page 17 (Arrange website) - the prototype's website editor board: section controls card (left, 380px) beside the live preview card (right).
   Rows, switch and arrows follow .site-section-row / .site-toggle / .site-reorder-buttons; scoped to .km-p17. */
.km-home.km-p17 { padding-bottom: 24px !important; }
/* the left card (sections / templates / brand / images / settings) is wider: 440px at least, up to 520px, the preview takes the rest (about 5 : 7) */
.km-p17 .km-board { display: grid; grid-template-columns: minmax(440px, 520px) minmax(0, 1fr); gap: 20px; align-items: start; margin-top: 4px; }
.km-p17 .km-board-controls, .km-p17 .km-board-preview { min-width: 0; background: #fff; border: 1px solid #e2eaf3; border-radius: 15px; overflow: hidden; }
.km-p17 .km-board-preview { background: #eff3f8; }
.km-p17 .km-board-tabs { display: flex; border-bottom: 1px solid #e4eaf1; background: #fff; }
.km-p17 .km-board-tabs > * { flex: 1 1 0; padding: 16px 10px 13px; text-align: center; font: 700 11px/1.4 var(--km-font); color: #66728D; border-bottom: 3px solid transparent; text-decoration: none; }
.km-p17 .km-board-tabs > a:hover { color: var(--km-cobalt); }
.km-p17 .km-board-tabs > .km-on { color: var(--km-cobalt); border-bottom-color: var(--km-cobalt); }
.km-p17 .km-board-panel { padding: 18px; max-height: 900px; overflow-y: auto; }
.km-p17 .km-sec-list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.km-p17 .km-sec-row { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 9px; border: 1px solid #dfe7f2; border-radius: 11px; background: #fff; }
.km-p17 .km-sec-handle { flex: 0 0 auto; padding: 0 3px; color: #7b8aa5; font-size: 17px; line-height: 1; }
.km-p17 .km-sec-main { flex: 1 1 auto; min-width: 0; display: grid; gap: 2px; text-decoration: none; text-align: left; }
.km-p17 .km-sec-main strong { font-size: 12px; font-weight: 800; color: var(--km-navy); }
.km-p17 .km-sec-main small { font-size: 10px; line-height: 1.4; color: #74859a; }
.km-p17 .km-sec-hidden .km-sec-main strong { color: #66728D; }
.km-p17 .km-switch { position: relative; flex: 0 0 35px; width: 35px; height: 21px; border-radius: 20px; background: #b7c3d5; transition: background .2s; text-decoration: none; }
.km-p17 .km-switch > span { position: absolute; top: 3px; left: 3px; width: 15px; height: 15px; border-radius: 50%; background: #fff; transition: transform .2s; }
.km-p17 .km-switch.km-on { background: var(--km-cobalt); }
.km-p17 .km-switch.km-on > span { transform: translateX(14px); }
.km-p17 .km-switch:focus-visible, .km-p17 .km-mv:focus-visible, .km-p17 .km-sec-main:focus-visible { outline: 2px solid var(--km-navy); outline-offset: 3px; }
.km-p17 .km-sec-move { display: grid; gap: 3px; flex: 0 0 auto; }
.km-p17 .km-mv { display: grid; place-items: center; width: 24px; height: 18px; border: 1px solid #dfe7f2; border-radius: 6px; background: #f6f9fd; color: var(--km-navy); font-size: 11px; line-height: 1; text-decoration: none; transition: background .15s, border-color .15s; }
.km-p17 a.km-mv:hover { background: #fff; border-color: var(--km-cobalt); color: var(--km-cobalt); }
.km-p17 .km-mv-off { opacity: .35; }
.km-p17 .km-wiz-preview-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0; padding: 13px 15px; background: #fff; border-bottom: 1px solid #e4eaf1; }
.km-p17 .km-wiz-preview-toolbar strong, .km-p17 .km-wiz-preview-toolbar small { display: block; }
.km-p17 .km-wiz-preview-toolbar strong { font-size: 12px; color: var(--km-navy); }
.km-p17 .km-wiz-preview-toolbar small { margin-top: 3px; font-size: 10px; color: #8090a0; }
.km-p17 .km-devices { display: inline-flex; gap: 0; border: 1px solid #dfe7f2; border-radius: 8px; overflow: hidden; }
.km-p17 .km-devices .km-btn { min-height: 28px; min-width: 0; padding: 5px 12px; border: 0; border-radius: 0; font-size: 10px; font-weight: 700; box-shadow: none; transform: none !important; }
.km-p17 .km-devices .km-btn.km-on { background: #e7efff; color: var(--km-cobalt); }
.km-p17 .km-preview-shell { padding: 15px; max-height: 810px; overflow: auto; display: flex; align-items: start; justify-content: center; }
@media (max-width: 1040px) {
  .km-p17 .km-board { grid-template-columns: minmax(0, 1fr); }
  .km-p17 .km-board-panel { max-height: none; }
  .km-p17 .km-preview-shell { max-height: 670px; }
}
@media (max-width: 480px) { .km-p17 .km-board-panel { padding: 12px; } .km-p17 .km-wiz-preview-toolbar { flex-wrap: wrap; } }

/* Page 17 tabs and panels: five tabs in one row, panels switch in place (km-site-board.js). The rows, switch and arrows are buttons. */
.km-p17 .km-board-tabs > button { flex: 1 1 0; min-width: 0; margin: 0; padding: 16px 4px 13px; border: 0; border-bottom: 3px solid transparent; border-radius: 0; background: #fff; cursor: pointer; font: 700 11px/1.4 var(--km-font); color: #66728D; transition: color .15s, border-color .15s; }
.km-p17 .km-board-tabs > button:hover { color: var(--km-cobalt); }
.km-p17 .km-board-tabs > button.km-on { color: var(--km-cobalt); border-bottom-color: var(--km-cobalt); }
.km-p17 .km-board-tabs > button:focus-visible { outline: 2px solid var(--km-navy); outline-offset: -3px; }
.km-p17 .km-tab-panel[hidden] { display: none; }
.km-p17 .km-tab-panel > h3 { margin: 0 0 9px; font-size: 15px; font-weight: 800; color: var(--km-navy); }
.km-p17 .km-note { margin: 12px 0 0; font-size: 11px; line-height: 1.6; color: #66728D; }
.km-p17 button.km-sec-main { margin: 0; padding: 0; border: 0; background: transparent; cursor: pointer; font-family: var(--km-font); }
.km-p17 button.km-switch { margin: 0; padding: 0; border: 0; cursor: pointer; }
.km-p17 button.km-mv { margin: 0; padding: 0; cursor: pointer; font-family: var(--km-font); }
.km-p17 button.km-mv:hover:not(:disabled) { background: #fff; border-color: var(--km-cobalt); color: var(--km-cobalt); }
.km-p17 button.km-mv:disabled { opacity: .35; cursor: default; }
.km-p17 .km-sec-row.km-sel { background: #f5f9ff; border-color: #4d8af3; }
.km-p17 .km-sec-edit { margin-top: 18px; padding-top: 17px; border-top: 1px solid #e4eaf1; display: grid; gap: 7px; }
.km-p17 .km-sec-edit[hidden] { display: none; }
.km-p17 .km-sec-edit h3 { margin: 0 0 4px; font-size: 15px; font-weight: 800; color: var(--km-navy); }
.km-p17 .km-sec-edit label, .km-p17 .km-bf label { font: 750 14px/1.3 var(--km-font); color: var(--km-navy); }
.km-p17 .km-sec-edit input, .km-p17 .km-sec-edit textarea, .km-p17 .km-bf select, .km-p17 .km-bf-color { width: 100%; box-sizing: border-box; min-height: 44px; padding: 10px 12px; border: 1px solid #ccd8e9; border-radius: 9px; background: #fff; font: 400 13px/1.5 var(--km-font); color: var(--km-navy); }
.km-p17 .km-sec-edit textarea { min-height: 96px; resize: vertical; }
.km-p17 .km-sec-edit input:focus, .km-p17 .km-sec-edit textarea:focus, .km-p17 .km-bf select:focus, .km-p17 .km-bf-color:focus-within { border-color: var(--km-cobalt); box-shadow: 0 0 0 3px rgba(26, 92, 238, .10); outline: 0; }
.km-p17 .km-edit-actions { margin: 6px 0 0; }
.km-p17 .km-tpl-grid { grid-template-columns: 1fr; gap: 10px; margin: 12px 0 0; }
.km-p17 .km-tpl-card { padding: 8px 8px 12px; font-family: var(--km-font); cursor: pointer; }
.km-p17 .km-tpl-photo { height: 84px; }
.km-p17 .km-bgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; margin: 0 0 13px; }
.km-p17 .km-bf { display: grid; gap: 7px; align-content: start; min-width: 0; margin-bottom: 13px; }
/* Brand tab: fields never wider than their grid cell (no overlap, no sideways scroll); the swatch box shrinks, its hex text truncates, long labels wrap */
/* overflow is clipped at the panel's padding edge: the 4px of padding (cancelled by the negative margin, so nothing moves) leaves room for the 3px focus ring of every field on all four sides */
.km-p17 .km-tab-panel { min-width: 0; overflow-x: clip; padding: 4px; margin: -4px; }
.km-p17 .km-bgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; align-items: start; }
/* labels top-aligned and as tall as two lines in every cell, so a wrapped label ("Headings / dark surfaces") never pushes its control out of line with its neighbour */
.km-p17 .km-bgrid .km-bf { grid-template-rows: 2.6em 44px; gap: 6px; }
.km-p17 .km-bgrid .km-bf label { align-self: start; line-height: 1.3; margin: 0; }
.km-p17 .km-bgrid .km-bf-color, .km-p17 .km-bgrid .km-bf select { align-self: stretch; width: 100%; height: 44px; min-height: 44px; margin: 0; }
.km-p17 .km-bgrid .km-bf-color { padding-top: 0; padding-bottom: 0; }
.km-p17 .km-bgrid > .km-bf, .km-p17 .km-bf > * { min-width: 0; max-width: 100%; box-sizing: border-box; }
.km-p17 .km-bf label { overflow-wrap: anywhere; }
.km-p17 .km-bf-color { overflow: hidden; }
.km-p17 .km-bf-color input[type="text"] { flex: 1 1 0; width: 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.km-p17 .km-bf select { min-width: 0; text-overflow: ellipsis; }
.km-p17 .km-bgrid .km-bf { margin-bottom: 0; }
.km-p17 .km-bf select { height: 44px; -webkit-appearance: none; appearance: none; padding-right: 34px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1A4F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 13px 13px; }
.km-p17 .km-bf-color { display: flex; align-items: center; gap: 10px; padding: 7px 9px; border-color: #dae3ef; border-radius: 10px; }
.km-p17 .km-bf-color input[type="color"] { -webkit-appearance: none; appearance: none; flex: 0 0 38px; width: 38px; height: 34px; padding: 0; border: 0; background: none; cursor: pointer; }
.km-p17 .km-bf-color input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
.km-p17 .km-bf-color input[type="color"]::-webkit-color-swatch { border: 1px solid #cdd7e6; border-radius: 7px; }
.km-p17 .km-bf-color input[type="text"] { flex: 1 1 auto; min-width: 0; width: auto; min-height: 0; height: auto; padding: 0; border: 0; background: transparent; font: 600 12px/1.6 var(--km-font); color: #52637b; text-transform: uppercase; }
.km-p17 .km-bf-color input[type="text"]:focus { outline: 0; box-shadow: none; }
.km-p17 .km-reset { display: block; width: 100%; margin-top: 4px; }
.km-p17 .km-img-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; margin-bottom: 9px; border: 1px solid #dfe7f2; border-radius: 11px; background: #fff; }
.km-p17 .km-img-row strong, .km-p17 .km-img-row small { display: block; }
.km-p17 .km-img-row strong { font-size: 12px; color: var(--km-navy); }
.km-p17 .km-img-row small { margin-top: 2px; font-size: 10px; color: #74859a; }
.km-p17 .km-sum { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 0; font-size: 12px; }
.km-p17 .km-sum dt { font-weight: 700; color: var(--km-navy); }
.km-p17 .km-sum dd { margin: 0; color: #52637b; }
.km-p17 .km-status { min-height: 18px; margin: 14px 0 0; font-size: 11px; font-weight: 600; color: #146151; }
.km-p17 .km-status.km-bad { color: #c0392b; }
.km-p17 .km-preview-shell.km-loading { opacity: .6; transition: opacity .15s; }
@media (max-width: 480px) { .km-p17 .km-bgrid { grid-template-columns: 1fr; } .km-p17 .km-board-tabs > button { font-size: 10px; padding-left: 2px; padding-right: 2px; } }

/* Page 18 (Preview & publish): the prototype's "Review and launch your website" step - settings heading, framed launch checklist and preview card,
   Back left / Save draft + Publish right (km-wiz-p13). Scoped to .km-wiz-p18 and .km-p18. */
.km-wiz-card-head .km-wiz-h3 { margin: 18px 0 0; font-size: 16px; font-weight: 750; letter-spacing: -.02em; color: var(--km-navy); }
.km-wiz-p18 .t-Form-label::before, .km-wiz-p18 .t-Form-label::after, .km-wiz-p18 .t-Form-labelContainer::before, .km-wiz-p18 .t-Form-labelContainer::after { content: none !important; display: none !important; }
.km-wiz-p18 .t-Form-required { display: none !important; }
.km-wiz-p18 .t-Form-label { font: 750 14px/1.3 var(--km-font) !important; color: var(--km-navy) !important; }
.km-wiz-p18 .t-Form-inputContainer select { width: 100% !important; height: 49px !important; box-sizing: border-box !important; -webkit-appearance: none !important; appearance: none !important; padding: 12px 38px 12px 14px !important; border: 1px solid #ccd8e9 !important; border-radius: 9px !important; font: 400 14px/1.65 var(--km-font) !important; color: var(--km-navy) !important;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1A4F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 13px center / 14px 14px !important; }
/* open days: one row of day checkboxes instead of a tall list */
.km-wiz-p18 #P18_DAYS_CONTAINER .apex-item-group, .km-wiz-p18 #P18_DAYS_CONTAINER fieldset { display: flex !important; flex-wrap: wrap !important; gap: 8px 18px !important; width: 100% !important; margin: 0 !important; padding: 0 !important; border: 0 !important; }
.km-wiz-p18 #P18_DAYS_CONTAINER .apex-item-option { display: inline-flex !important; flex: 0 0 auto !important; width: auto !important; align-items: center !important; gap: 8px !important; margin: 0 !important; font: 600 12px/1.4 var(--km-font) !important; color: var(--km-navy) !important; }
.km-p18 .km-wiz-summary { margin: 18px 0; padding: 16px; border: 1px solid #d9e7f8; border-radius: 12px; background: #f0f6ff; }
.km-p18 .km-wiz-summary strong { font-size: 13px; font-weight: 700; color: var(--km-navy); }
.km-p18 .km-wiz-summary p { margin: 5px 0 0; font-size: 11px; color: #66728D; }
.km-p18 .km-board-preview { min-width: 0; margin-top: 0; background: #eff3f8; border: 1px solid #e2eaf3; border-radius: 15px; overflow: hidden; }
.km-p18 .km-wiz-preview-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0; padding: 13px 15px; background: #fff; border-bottom: 1px solid #e4eaf1; }
.km-p18 .km-wiz-preview-toolbar strong, .km-p18 .km-wiz-preview-toolbar small { display: block; }
.km-p18 .km-wiz-preview-toolbar strong { font-size: 12px; color: var(--km-navy); }
.km-p18 .km-wiz-preview-toolbar small { margin-top: 3px; font-size: 10px; color: #8090a0; }
.km-p18 .km-devices { display: inline-flex; border: 1px solid #dfe7f2; border-radius: 8px; overflow: hidden; }
.km-p18 .km-devices .km-btn { min-height: 28px; min-width: 0; padding: 5px 12px; border: 0; border-radius: 0; font-size: 10px; font-weight: 700; box-shadow: none; transform: none !important; }
.km-p18 .km-devices .km-btn.km-on { background: #e7efff; color: var(--km-cobalt); }
.km-p18 .km-preview-shell { padding: 15px; max-height: 810px; overflow: auto; display: flex; align-items: start; justify-content: center; }
.km-p18 .km-preview-shell.km-loading { opacity: .6; transition: opacity .15s; }
@media (max-width: 1040px) { .km-p18 .km-preview-shell { max-height: 670px; } }
@media (max-width: 480px) { .km-p18 .km-wiz-preview-toolbar { flex-wrap: wrap; } }

/* Page 18 joins: the stacked regions form one card, so the in-between regions get no gap and no bottom border (they showed as divider lines),
   and the heading card flows straight into the checklist. */
.km-home.km-wiz-card.km-p18.km-p18 { margin-top: 0 !important; border-bottom: 0 !important; }
.km-home.km-wiz-card.km-wiz-p18.km-wiz-mj { margin-bottom: 0 !important; }
/* the checklist box's own margin collapsed through its region and showed up as a gap above the card: spacing is region padding instead */
.km-p18 .km-wiz-summary { margin: 0 !important; }
.km-home.km-wiz-card.km-wiz-card-flush.km-p18 { padding-top: 14px !important; padding-bottom: 18px !important; }

/* Page 18 hours form: Opening days + Opening hours on the first row, Available booking hours below, contact checkbox, availability note, footer
   Back left / Save draft centre / Publish right. Scoped to .km-wiz-p18, .km-wiz-p18-note and .km-wiz-p18-actions. */
.km-home.km-wiz-card.km-wiz-p18 { display: flex !important; flex-wrap: wrap !important; align-items: flex-start !important; column-gap: 16px !important; row-gap: 14px !important; }
.km-wiz-p18 > .km-wiz-card-head { flex: 0 0 100% !important; }
.km-wiz-p18 > #P18_DAYS_TXT_CONTAINER, .km-wiz-p18 > #P18_HOURS_TXT_CONTAINER { flex: 1 1 calc(50% - 8px) !important; min-width: 0 !important; margin: 0 !important; }
.km-wiz-p18 > #P18_BOOK_TXT_CONTAINER { flex: 0 1 calc(50% - 8px) !important; min-width: 0 !important; margin: 0 !important; }
.km-wiz-p18 > #P18_CONTACT_CONTAINER { flex: 0 0 100% !important; margin: 0 !important; }
.km-wiz-p18 > #P18_CONTACT_CONTAINER .t-Form-labelContainer { display: none !important; }
.km-wiz-p18 > #P18_CONTACT_CONTAINER .apex-item-option { display: inline-flex !important; align-items: center !important; gap: 8px !important; font: 600 12px/1.4 var(--km-font) !important; color: var(--km-navy) !important; }
.km-wiz-p18 .t-Form-inputContainer input[type="text"] { width: 100% !important; height: 49px !important; box-sizing: border-box !important; padding: 12px 14px !important; border: 1px solid #ccd8e9 !important; border-radius: 9px !important; font: 400 14px/1.65 var(--km-font) !important; color: var(--km-navy) !important; background: #fff !important; }
.km-wiz-p18 .t-Form-inputContainer input[type="text"]:focus { border-color: var(--km-cobalt) !important; outline: 0 !important; box-shadow: 0 0 0 3px rgba(26, 92, 238, .12) !important; }
.km-home.km-wiz-card.km-wiz-p18-note { margin-top: 0 !important; margin-bottom: 0 !important; padding-top: 14px !important; padding-bottom: 6px !important; border-bottom: 0 !important; }
.km-wiz-p18-note .km-wiz-note { margin: 0; font-size: 11px; line-height: 1.55; color: #66728D; }
.km-home.km-wiz-card.km-wiz-p18.km-wiz-mj { padding-bottom: 0 !important; }
.km-home.km-wiz-card.km-wiz-p18-actions { display: flex !important; flex-wrap: wrap !important; align-items: center !important; justify-content: space-between !important; gap: 10px !important; }
.km-wiz-p18-actions > .t-Button { margin: 0 !important; }
.km-wiz-p18-actions > .t-Button:first-of-type { margin-right: 0 !important; order: 1; }
.km-wiz-p18-actions > .t-Button:nth-of-type(2) { order: 2; margin-left: auto !important; margin-right: auto !important; }
.km-wiz-p18-actions > .t-Button:last-of-type { order: 3; }
@media (max-width: 680px) {
  .km-wiz-p18 > #P18_DAYS_TXT_CONTAINER, .km-wiz-p18 > #P18_HOURS_TXT_CONTAINER, .km-wiz-p18 > #P18_BOOK_TXT_CONTAINER { flex: 0 0 100% !important; }
  .km-home.km-wiz-card.km-wiz-p18-actions { justify-content: center !important; }
  .km-wiz-p18-actions > .t-Button { flex: 1 1 100%; }
  .km-wiz-p18-actions > .t-Button:nth-of-type(n) { margin-left: 0 !important; margin-right: 0 !important; }
}

/* Page 19 logo uploader (final layout): 93x67 grey placeholder left, outlined Upload image button + helper text right; native file input stays in the DOM, visually hidden */
.km-wiz-svc #P19_LOGO_CONTAINER .t-Form-inputContainer { min-height: 100px !important; display: flex !important; align-items: center !important; background: #fff !important; border: 1px solid #dbe8f7 !important; border-radius: 13px !important; padding: 16px 14px !important; }
.km-wiz-svc #P19_LOGO_CONTAINER .t-Form-itemWrapper { width: 100% !important; }
.km-wiz-svc .km-logo-row { display: flex !important; flex-wrap: nowrap !important; align-items: flex-start !important; gap: 16px !important; }
.km-wiz-svc .km-logo-row .km-logo-sample { flex: 0 0 93px; min-width: 0; width: 93px; height: 67px; padding: 0; border: 0; border-radius: 8px; background: #d9d9d9; overflow: hidden; }
.km-wiz-svc .km-logo-row .km-logo-sample img { width: 100%; height: 100%; object-fit: cover; }
.km-wiz-svc .km-logo-side { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-width: 0; flex: 1 1 auto; }
.km-wiz-svc .km-logo-btn { min-height: 36px; padding: 0 20px; border: 1px solid var(--km-navy); border-radius: 9px; background: #fff; color: var(--km-navy); font: 700 12px/1 var(--km-font); cursor: pointer; transition: transform .15s, border-color .15s; }
.km-wiz-svc .km-logo-btn:hover { transform: translateY(-1px); border-color: var(--km-cobalt); color: var(--km-cobalt); }
.km-wiz-svc .km-logo-row .km-logo-note { flex: 0 0 auto; max-width: none; margin: 0; font-size: 10px; line-height: 1.5; color: #66728D; }
.km-wiz-svc .km-logo-native { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; }
@media (max-width: 400px) { .km-wiz-svc .km-logo-row { gap: 12px !important; } .km-wiz-svc .km-logo-row .km-logo-sample { flex-basis: 72px; width: 72px; height: 52px; } }

/* Page 19 dialog: fixed size; the title bar and the footer buttons stay put, the form with the six image uploaders scrolls inside */
body:has(.km-wiz-svc) .t-Dialog-bodyWrapperIn { display: flex !important; flex-direction: column !important; height: 100% !important; overflow: hidden !important; }
body:has(.km-wiz-svc) .t-Dialog-body { display: flex !important; flex-direction: column !important; flex: 1 1 auto !important; min-height: 0 !important; overflow: hidden !important; padding: 4px 0 0 28px !important; }
body:has(.km-wiz-svc) .t-Dialog-body > .container, body:has(.km-wiz-svc) .t-Dialog-body .t-Body-contentInner { display: flex !important; flex-direction: column !important; flex: 1 1 auto !important; min-height: 0 !important; }
.km-home.km-wiz-svc.km-wiz-svc { flex: 1 1 auto !important; min-height: 0 !important; overflow-y: auto !important; overflow-x: hidden !important; padding-right: 22px !important; scrollbar-gutter: stable; scrollbar-width: thin; scrollbar-color: #c5d3e4 transparent; }
.km-home.km-svc-actions { flex: 0 0 auto !important; margin-right: 28px !important; }
.km-wiz-svc > #P19_HERO_CONTAINER, .km-wiz-svc > #P19_ABOUT_CONTAINER, .km-wiz-svc > #P19_GAL1_CONTAINER, .km-wiz-svc > #P19_GAL2_CONTAINER, .km-wiz-svc > #P19_GAL3_CONTAINER { grid-column: 1 / -1 !important; }
.km-wiz-svc #P19_HERO_CONTAINER .t-Form-inputContainer, .km-wiz-svc #P19_ABOUT_CONTAINER .t-Form-inputContainer, .km-wiz-svc #P19_GAL1_CONTAINER .t-Form-inputContainer, .km-wiz-svc #P19_GAL2_CONTAINER .t-Form-inputContainer, .km-wiz-svc #P19_GAL3_CONTAINER .t-Form-inputContainer { box-sizing: border-box !important; min-height: 100px !important; display: flex !important; align-items: center !important; background: #fff !important; border: 1px solid #dbe8f7 !important; border-radius: 13px !important; padding: 16px 14px !important; }

/* Page 16 service rows: the service photo (62x54, like the design) left of the name; services without a photo get a neutral block */
.km-wiz-service > .km-wiz-service-img { flex: 0 0 62px; width: 62px; height: 54px; object-fit: cover; border-radius: 7px; background: #e6edf5; display: block; }
.km-wiz-service > div { flex: 1 1 auto; min-width: 0; }
@media (max-width: 560px) { .km-wiz-service > .km-wiz-service-img { flex-basis: auto; width: 100%; height: 120px; } }
.km-wiz-card-head .km-wiz-h3 + .km-wiz-note { margin: 6px 0 0; }

/* Page 17: image uploaders (Images tab and section editor) and the Settings tab, as in the design (.site-uploader, .site-settings-editor) */
.km-p17 .km-uploader { border: 1px solid #e5ecf4; border-radius: 13px; background: #fafdff; padding: 14px 15px; margin: 12px 0; }
.km-p17 .km-up-label { display: block; margin: 0 0 12px; font-size: 12px; font-weight: 700; color: var(--km-navy); }
.km-p17 .km-up-layout { display: flex; align-items: center; gap: 14px; }
.km-p17 .km-up-thumb { flex: 0 0 120px; width: 120px; aspect-ratio: 16 / 10; border-radius: 9px; background: #eaf0fb; overflow: hidden; display: block; }
.km-p17 .km-up-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* remove (x): top-right corner of every upload card (Page 17 Images tab) and of the Service photo block (Page 19); dimmed and inert while no picture is set */
.km-p17 .km-uploader, .km-wiz-svc #P19_IMAGE_CONTAINER { position: relative; }
.km-p17 .km-up-x, .km-wiz-svc .km-logo-x { position: absolute; top: 10px; right: 10px; z-index: 2; width: 26px; height: 26px; margin: 0; padding: 0; border: 1px solid #ccd8e9; border-radius: 50%; background: #fff; color: #0b1a4f; font: 700 12px/24px var(--km-font); text-align: center; cursor: pointer; opacity: .35; pointer-events: none; }
.km-p17 .km-uploader:has(.km-up-thumb img) .km-up-x, .km-wiz-svc #P19_IMAGE_CONTAINER:has(.km-logo-sample img) .km-logo-x { opacity: 1; pointer-events: auto; }
.km-p17 .km-up-x:hover, .km-wiz-svc .km-logo-x:hover { background: #c0392b; border-color: #c0392b; color: #fff; }
.km-p17 .km-up-x:focus-visible, .km-wiz-svc .km-logo-x:focus-visible { outline: 0; box-shadow: 0 0 0 3px rgba(26, 92, 238, .35); }
.km-p17 .km-up-label { padding-right: 36px; }
.km-p17 .km-up-sub { margin: 22px 0 0; font-size: 15px; font-weight: 800; color: var(--km-navy); }
.km-p17 .km-up-layout > div { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; min-width: 0; }
.km-p17 .km-up-layout small { max-width: 260px; font-size: 10px; line-height: 1.65; color: #69778f; }
.km-p17 .km-edit-uploads .km-uploader:first-child { margin-top: 4px; }
.km-p17 .km-settings { display: grid; gap: 18px; margin-top: 10px; }
.km-p17 .km-settings h3 { margin: 0; font-size: 16px; font-weight: 800; color: var(--km-navy); }
.km-p17 .km-settings .km-note { margin: 0; }
.km-p17 .km-set-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 4px 0; }
.km-p17 .km-set-grid .km-bf { margin-bottom: 0; }
.km-p17 .km-set-grid input { width: 100%; box-sizing: border-box; min-height: 44px; padding: 10px 12px; border: 1px solid #ccd8e9; border-radius: 9px; background: #fff; font: 400 14px/1.65 var(--km-font); color: var(--km-navy); }
/* one focus look for every Settings field (same as the other board fields): a full 3px ring, drawn inside the panel's padding so no edge is cut */
.km-p17 .km-set-grid input:focus, .km-p17 .km-set-grid input:focus-visible { border-color: var(--km-cobalt); box-shadow: 0 0 0 3px rgba(26, 92, 238, .10); outline: 0; }
.km-p17 .km-set-grid input[aria-invalid="true"]:focus { border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192, 57, 43, .12); }
.km-p17 .km-check { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--km-navy); }
.km-p17 .km-check input { width: 15px; height: 15px; accent-color: var(--km-cobalt); }
@media (max-width: 480px) { .km-p17 .km-set-grid { grid-template-columns: 1fr; } .km-p17 .km-up-thumb { flex-basis: 85px; width: 85px; } }
/* Page 17 section editor header: title with the Visible / Hidden status pill (design: .site-edit-panel .flex-between .pill) */
/* FAQ section editor: question + answer pairs under the section's own fields */
.km-p17 .km-faqs { display: grid; gap: 10px; margin-top: 8px; padding-top: 14px; border-top: 1px dashed #ccd8e9; }
.km-p17 .km-faqs-title { margin: 0; font: 800 14px/1.3 var(--km-font); color: var(--km-navy); }
.km-p17 .km-faq-list { display: grid; gap: 12px; }
.km-p17 .km-faq-item { display: grid; gap: 7px; padding: 14px; border: 1px solid #e4eaf1; border-radius: 12px; background: #f9fcff; }
.km-p17 .km-faq-remove { justify-self: end; min-height: 38px; padding: 6px 14px; border: 1.5px solid #e2a3a3; border-radius: 9px; background: #fff; color: #b42318; font: 700 13px/1 var(--km-font); cursor: pointer; transition: background .15s, border-color .15s; }
.km-p17 .km-faq-remove:hover { background: #fdecec; border-color: #b42318; }
.km-p17 .km-faq-add { justify-self: start; min-height: 44px; padding: 10px 18px; border: 1.5px solid var(--km-cobalt); border-radius: 10px; background: #fff; color: var(--km-cobalt); font: 700 14px/1 var(--km-font); cursor: pointer; transition: background .15s; }
.km-p17 .km-faq-add:hover:not(:disabled) { background: #eff5ff; }
.km-p17 .km-faq-add:disabled { opacity: .5; cursor: not-allowed; }
.km-p17 .km-faq-remove:focus-visible, .km-p17 .km-faq-add:focus-visible { outline: 3px solid var(--km-cobalt); outline-offset: 2px; }

/* FAQ on the website (builder preview, publish preview, storefront preview): one accordion card per question, same card look as the service cards */
.km-site-faqs { display: grid; gap: 10px; margin: 14px 0 0; }
.km-site-faq { border-radius: 12px; background: #fff; box-shadow: 0 8px 20px rgba(11, 26, 79, .05); overflow: hidden; }
.km-site-faq > summary { position: relative; display: block; padding: 14px 44px 14px 16px; cursor: pointer; list-style: none; font-family: var(--s-heading), sans-serif; font-size: 14px; font-weight: 800; line-height: 1.4; color: var(--s-secondary); overflow-wrap: anywhere; }
.km-site-faq > summary::-webkit-details-marker { display: none; }
.km-site-faq > summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 20px; font-weight: 700; line-height: 1; color: var(--s-primary); }
.km-site-faq[open] > summary::after { content: "\2212"; }
.km-site-faq > summary:focus-visible { outline: 3px solid var(--s-primary); outline-offset: -3px; }
.km-site-section .km-site-faq > p { margin: 0; padding: 0 16px 16px; font-size: 13px; line-height: 1.65; color: #58697a; overflow-wrap: anywhere; white-space: pre-line; }
.km-site-bold .km-site-faq { border-radius: 3px; border-bottom: 4px solid var(--s-accent); }
@media (min-width: 900px) { .km-fp-stage .km-site-faq > summary { font-size: 15px; padding: 16px 48px 16px 20px; } .km-fp-stage .km-site-section .km-site-faq > p { font-size: 14px; padding: 0 20px 18px; } }
.km-p17 .km-edit-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.km-p17 .km-edit-head h3 { margin: 0; }
.km-p17 .km-pill { padding: 4px 10px; border-radius: 99px; background: #eef2f7; color: #66728D; font-size: 10px; font-weight: 700; }
.km-p17 .km-pill.km-pill-on { background: #dff8f1; color: #0a7a63; }
/* Page 17 desktop: the two panels were up to 900px / 810px tall regardless of the window, so on a normal screen the section editor opened below the visible area.
   They now fit the window height (and scroll inside themselves), so the editor is reachable without scrolling the whole page. */
@media (min-width: 1041px) {
  .km-p17 .km-board-panel { max-height: min(900px, calc(100vh - 150px)); min-height: 420px; }
  .km-p17 .km-preview-shell { max-height: min(810px, calc(100vh - 215px)); min-height: 420px; }
}
/* Page 19 Cancel (footer): the same hover shadow as the other outlined wizard buttons; the Save service button already has its own */
.km-svc-actions > .t-Button:not(.t-Button--hot):hover { box-shadow: 0 6px 20px rgba(26, 92, 238, .12) !important; }

/* Business Details ZIP and Contact & Coverage phone: the validation popup is the only message; APEX's own inline text under these two fields is not shown */
#P11_ZIP_error_placeholder, #P12_PHONE_error_placeholder { display: none !important; }

/* Continue buttons of the setup steps: the arrow is drawn here so it can be a little larger than the label text */
.km-btn-continue::after { content: "\2192"; margin-left: .4em; font-size: 1.3em; line-height: 1; }

/* Preview & publish is preview-only: the hours fields and the contact checkbox are shown but cannot be edited or clicked (they are edited on the Settings tab of the previous step).
   Only these four item containers are affected; the live preview and its Desktop / Mobile buttons stay interactive and the preview keeps scrolling. */
.km-wiz-p18 > #P18_DAYS_TXT_CONTAINER, .km-wiz-p18 > #P18_HOURS_TXT_CONTAINER, .km-wiz-p18 > #P18_BOOK_TXT_CONTAINER, .km-wiz-p18 > #P18_CONTACT_CONTAINER { pointer-events: none; user-select: none; }
.km-wiz-p18 > #P18_DAYS_TXT_CONTAINER input, .km-wiz-p18 > #P18_HOURS_TXT_CONTAINER input, .km-wiz-p18 > #P18_BOOK_TXT_CONTAINER input { background: #f4f7fb; color: #55627c; cursor: default; }
/* Page 17 Settings: a field the server rejected */
.km-p17 .km-set-grid input[aria-invalid="true"] { border-color: #c0392b; }

/* ---------- "Request a service category" (onboarding step 1) ---------- */
.km-cr-linkwrap { margin: 8px 0 0; }
.km-cr-link { font: 650 13px/1.4 var(--km-font); color: var(--km-cobalt); text-decoration: none; cursor: pointer; }
.km-cr-link:hover, .km-cr-link:focus-visible { text-decoration: underline; }
.km-cr-overlay { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; overflow-y: auto; padding: 24px 16px; background: rgba(4, 13, 42, .52); }
.km-cr-overlay[hidden] { display: none; }
body.km-cr-open { overflow: hidden; }
.km-cr { position: relative; box-sizing: border-box; width: min(560px, 100%); max-height: calc(100vh - 48px); overflow-y: auto; padding: 32px 32px 28px; background: #fff; border: 1px solid #e4eaf1; border-radius: 14px; box-shadow: 0 24px 60px rgba(4, 13, 42, .3); outline: 0; font-family: var(--km-font); color: var(--km-navy); }
.km-cr h2 { margin: 0 0 8px; padding-right: 32px; font-size: 24px; font-weight: 800; letter-spacing: -.036em; line-height: 1.17; }
.km-cr-sub { margin: 0 0 18px; font-size: 12px; line-height: 1.65; color: #66728D; }
.km-cr-close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: transparent; font: 400 24px/34px var(--km-font); color: var(--km-navy); cursor: pointer; transition: background .15s, color .15s; }
.km-cr-close:hover, .km-cr-close:focus-visible { background: #eff7ff; color: var(--km-cobalt); outline: 0; }
.km-cr-field { margin: 0 0 14px; }
.km-cr-field label { display: block; margin: 0 0 8px; font: 750 14px/1.3 var(--km-font); color: var(--km-navy); }
.km-cr-field input, .km-cr-field textarea { width: 100%; box-sizing: border-box; min-height: 44px; padding: 12px 14px; border: 1px solid #ccd8e9; border-radius: 9px; background: #fff; font: 400 14px/1.65 var(--km-font); color: var(--km-navy); }
.km-cr-field textarea { min-height: 84px; resize: vertical; }
.km-cr-field input::placeholder, .km-cr-field textarea::placeholder { color: #9aa5b9; }
.km-cr-field input:focus, .km-cr-field textarea:focus { border-color: var(--km-cobalt); box-shadow: 0 0 0 3px rgba(26, 92, 238, .10); outline: 0; }
.km-cr-field [aria-invalid="true"] { border-color: #c0392b; }
.km-cr-error { margin: 0 0 14px; padding: 10px 12px; border-radius: 9px; background: #fdeeee; font-size: 13px; line-height: 1.5; color: #a52a1d; }
.km-cr-error[hidden] { display: none; }
.km-cr-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 6px; }
.km-cr-actions .km-btn { min-height: 44px; font-weight: 750; }
.km-cr-actions .km-btn:disabled { opacity: .55; cursor: default; }
@media (max-width: 520px) { .km-cr { padding: 24px 18px 22px; } .km-cr-actions { flex-direction: column-reverse; } .km-cr-actions .km-btn { width: 100%; } }

/* Add a service: the business category chosen on step 1, shown as a visible, pre-filled, non-editable field */
.km-wiz-svc #P19_CATEGORY_CONTAINER .t-Form-itemWrapper { display: block; }
.km-wiz-svc #P19_CATEGORY_DISPLAY, .km-wiz-svc #P19_CATEGORY_CONTAINER .display_only {
  display: block; box-sizing: border-box; width: 100%; min-height: 44px; padding: 12px 14px; border: 1px solid #ccd8e9; border-radius: 9px;
  background: #f3f6fb; font: 400 14px/1.65 var(--km-font); color: var(--km-navy); cursor: not-allowed; user-select: text; }

/* ---------- e-mail check (onboarding page 15) ---------- */
.km-otp { max-width: 440px; }
.km-otp-field label { display: block; margin: 0 0 8px; font: 750 14px/1.3 var(--km-font); color: var(--km-navy); }
.km-otp-field input { width: 100%; box-sizing: border-box; min-height: 52px; padding: 12px 14px; border: 1px solid #ccd8e9; border-radius: 9px; background: #fff; font: 700 24px/1.3 var(--km-font); letter-spacing: .5em; text-align: center; color: var(--km-navy); }
.km-otp-field input::placeholder { font: 400 14px/1.65 var(--km-font); letter-spacing: normal; color: #9aa5b9; }
.km-otp-field input:focus { border-color: var(--km-cobalt); box-shadow: 0 0 0 3px rgba(26, 92, 238, .10); outline: 0; }
.km-otp-field input:disabled { background: #f3f6fb; }
.km-otp-error { margin: 12px 0 0; padding: 10px 12px; border-radius: 9px; background: #fdeeee; font-size: 13px; line-height: 1.5; color: #a52a1d; }
.km-otp-error[hidden] { display: none; }
.km-otp-timer { margin: 14px 0 10px; font-size: 13px; line-height: 1.6; color: #66728D; }
.km-otp-timer [data-otp-timer] { font-weight: 650; color: var(--km-navy); }
.km-otp-resend { min-height: 40px; }
.km-otp-resend:disabled, .km-otp-actions .km-btn:disabled { opacity: .5; cursor: not-allowed; }
.km-otp-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; }
@media (max-width: 520px) { .km-otp-actions { flex-direction: column-reverse; } .km-otp-actions .km-btn { width: 100%; } }

/* Business e-mail after verification (page 12): visible, but read only */
.km-wiz-m #P12_EMAIL[readonly] { background: #f3f6fb; color: #52637b; cursor: not-allowed; }
.km-email-verified-note { display: block; margin: 6px 0 0; font: 600 12px/1.5 var(--km-font); color: #177c70; }

/* Page 16: a service is switched Active / Inactive, never deleted */
.km-wiz-service.is-inactive { background: #f7f9fc; }
.km-wiz-service.is-inactive > div strong { color: #66728D; }
.km-wiz-service.is-inactive > .km-wiz-service-img { filter: grayscale(1); opacity: .6; }
.km-svc-state { font-weight: 650; color: #177c70; }
.km-wiz-service.is-inactive .km-svc-state { color: #a15c00; }
.km-svc-toggle:disabled { opacity: .6; cursor: progress; }

/* page 11: the State code is shown in capitals as it is typed (the script also changes the value; the server stores it in capitals too) */
#P11_STATE { text-transform: uppercase; }

/* Page 17, Settings: "Opening days" is a field that opens a small pop-over with the seven days as checkboxes (full names, one per line, box on the left).
   The field shows the chosen days folded ("Mon-Fri"). No focus rectangle is drawn around a checkbox: the row behind the day is tinted instead. */
.km-p17 .km-days-title { font: 750 14px/1.3 var(--km-font); color: var(--km-navy); }
.km-p17 .km-set-grid > .km-days-field { grid-column: 1 / -1; position: relative; }
.km-p17 .km-days-btn { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; box-sizing: border-box; min-height: 44px; padding: 10px 12px; border: 1px solid #ccd8e9; border-radius: 9px; background: #fff; font: 400 14px/1.65 var(--km-font); color: var(--km-navy); text-align: left; cursor: pointer; }
.km-p17 .km-days-btn:hover { border-color: #93B4F5; }
.km-p17 .km-days-btn:focus-visible, .km-p17 .km-days-btn[aria-expanded="true"] { border-color: var(--km-cobalt); box-shadow: 0 0 0 3px rgba(26, 92, 238, .10); outline: 0; }
.km-p17 .km-days-btn[aria-invalid="true"] { border-color: #c0392b; }
.km-p17 .km-days-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.km-p17 .km-days-chev { flex: 0 0 14px; width: 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1A4F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat center / 14px 14px; transition: transform .15s; }
.km-p17 .km-days-btn[aria-expanded="true"] .km-days-chev { transform: rotate(180deg); }
/* the pop-over is anchored to its own field: the field is the positioning box (position: relative), the menu starts right under it (top: 100%), at its left edge and
   exactly as wide (width: 100%); it is as tall as its seven days need (no inner scroll bar), floats over the settings below without moving them, and the open field
   is lifted above the fields next to it */
.km-p17 .km-days-field { position: relative; }
.km-p17 .km-days-field:has(.km-days-btn[aria-expanded="true"]) { z-index: 9998; }
.km-p17 .km-days-pop { position: absolute; z-index: 9999; top: 100%; left: 0; width: 100%; margin-top: 4px; box-sizing: border-box; min-width: 0; max-width: none; height: auto; max-height: none; overflow: visible; padding: 6px; border: 1px solid #ccd8e9; border-radius: 10px; background: #fff; box-shadow: 0 12px 28px rgba(11, 26, 79, .14); }
.km-p17 .km-days-pop[hidden] { display: none; }
.km-p17 .km-days { display: flex; flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 0; padding: 0; }
.km-p17 .km-day { display: flex; align-items: center; gap: 10px; width: auto; margin: 0; padding: 8px 10px; border-radius: 7px; font: 500 14px/1.3 var(--km-font); color: var(--km-navy); cursor: pointer; user-select: none; }
.km-p17 .km-day:hover, .km-p17 .km-day:has(input:focus-visible) { background: #eef4ff; }
.km-p17 .km-day input { position: static; width: 16px; height: 16px; margin: 0; padding: 0; opacity: 1; accent-color: var(--km-cobalt); cursor: pointer; flex: 0 0 auto; background: none; box-shadow: none; }
.km-p17 .km-day input:focus, .km-p17 .km-day input:focus-visible, .km-p17 .km-day input:hover { outline: none; box-shadow: none; background-color: transparent; }

/* Opening hours / Available booking hours: the two labels and the two boxes line up on the same lines even when one label wraps (the rows are shared) */
.km-p17 .km-set-grid { align-items: start; }
.km-p17 .km-set-grid > .km-bf:not(.km-days-field) { grid-row: span 2; display: grid; grid-template-rows: subgrid; row-gap: 7px; align-content: start; }
.km-p17 .km-set-grid > .km-bf:not(.km-days-field) > label { align-self: end; }
@supports not (grid-template-rows: subgrid) {
  .km-p17 .km-set-grid > .km-bf:not(.km-days-field) { grid-row: auto; grid-template-rows: auto; }
  .km-p17 .km-set-grid > .km-bf:not(.km-days-field) > label { min-height: 2.6em; align-self: start; }
}

/* Settings tab: the card around it does not clip, so the days menu floats over the fields below it instead of scrolling inside the panel. Only while the Settings tab
   is the open one: the other tabs keep their own scrolling panel. (The tab strip keeps the card's rounded top corners itself.) */
.km-p17 .km-board-controls:has([data-panel="settings"]:not([hidden])) { overflow: visible; }
.km-p17 .km-board-controls:has([data-panel="settings"]:not([hidden])) .km-board-tabs { border-radius: 15px 15px 0 0; }
.km-p17 .km-board-panel:has([data-panel="settings"]:not([hidden])) { overflow: visible; max-height: none; min-height: 0; }
.km-p17 .km-board-panel:has([data-panel="settings"]:not([hidden])) .km-tab-panel { overflow: visible; }

/* Page 17: "Reset sections to default" at the bottom of the Sections panel: an outline pill button across the full width */
.km-p17 .km-reset-foot { margin: 22px 0 0; padding-top: 16px; border-top: 1px solid #e4eaf1; }
.km-p17 .km-btn.km-reset-sections { display: flex; width: 100%; box-sizing: border-box; min-height: 46px; border: 1px solid #CBD5E1; border-radius: 12px; background: #FFFFFF; color: #0F172A; font-weight: 700; transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.km-p17 .km-btn.km-reset-sections:hover:not(:disabled) { background: #F8FAFC; border-color: #94A3B8; box-shadow: 0 4px 12px rgba(15, 23, 42, .08); transform: translateY(-1px); }
.km-p17 .km-btn.km-reset-sections:active:not(:disabled) { transform: translateY(0); box-shadow: none; }
.km-p17 .km-btn.km-reset-sections:focus-visible { outline: 0; border-color: var(--km-cobalt); box-shadow: 0 0 0 3px rgba(26, 92, 238, .18); }
.km-p17 .km-btn.km-reset-sections:disabled { opacity: .6; cursor: progress; }
@media (prefers-reduced-motion: reduce) { .km-p17 .km-btn.km-reset-sections { transition: none; } .km-p17 .km-btn.km-reset-sections:hover:not(:disabled) { transform: none; } }

/* Storefront preview page (49): a top bar with "Back to website builder" on the left and the status text on the right, then the full-width storefront */
.km-fp-bar { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; box-sizing: border-box; width: 100%; padding: 12px 28px; background: #fff; border-bottom: 1px solid #e2eaf3; box-shadow: 0 2px 10px rgba(11, 26, 79, .06); }
.km-fp-left { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; min-width: 0; }
.km-fp-back { min-height: 44px; padding: 10px 20px; font-weight: 700; text-decoration: none; }
.km-fp-back.is-disabled { background: #f3f6fb; border-color: #ccd8e9; color: #8a97b0; cursor: not-allowed; }
.km-fp-note { font-size: 12px; color: #66728D; }
.km-fp-status { font: 600 13px/1.4 var(--km-font); color: #66728D; }
.km-fp-stage { width: 100%; box-sizing: border-box; padding: 0; }
.km-fp-stage .km-site { max-width: none; width: 100%; border: 0; border-radius: 0; }
@media (max-width: 600px) { .km-fp-bar { padding: 10px 14px; } .km-fp-status { width: 100%; } }
.km-p17 .km-fullprev { margin-left: auto; }

/* Page 17 header action cluster: two outline pills and one solid primary pill */
.km-wb-actions { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.km-wb-pill { min-height: 44px; padding: 10px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.km-wb-primary { background: var(--km-cobalt, #1A5CEE); border: 1.5px solid var(--km-cobalt, #1A5CEE); color: #fff; }
.km-wb-primary:hover { box-shadow: 0 4px 12px rgba(26, 92, 238, .3); }
.km-wb-head { padding-bottom: 8px; }
.km-wb-head-wrap { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.km-wb-head-text h1 { margin: 4px 0 6px; }
.km-wb-head-text p { margin: 0; }
.km-wb-head .km-wb-actions { margin-top: 0; justify-content: flex-end; }

/* Dashboard mode of page 17 (only when the dashboard sidebar region is rendered; the sign-up wizard has none).
   Same shell as the dashboard pages: 1380px wide, a 322px sidebar card, a 28px gap, then the content column; both columns start at y = 112px. */
body:has(.km-wb-sidewrap) { background: #F4F7FE; }
.km-wb-sidewrap { margin: 0; padding: 0; background: none; min-height: 0; }
.km-wb-sidewrap .km-bd-side { min-height: 0; border-radius: 16px; box-shadow: 0 2px 10px rgba(11, 26, 79, .08); }
.km-wb-sidewrap .km-bd-nav { white-space: nowrap; }
.km-wb-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; box-sizing: border-box; background: #fff; border: 1px solid #e2eaf3; border-radius: 14px; padding: 16px 20px; margin: 0 0 18px; }
.km-wb-bar-text { display: grid; gap: 2px; min-width: 0; }
.km-wb-bar-text strong { font-size: 18px; color: var(--km-navy); }
.km-wb-bar-text small { font-size: 13px; color: #66728D; overflow-wrap: anywhere; }
.km-wb-bar .km-wb-actions { margin-top: 0; justify-content: flex-end; }
@media (min-width: 1100px) {
  body:has(.km-wb-sidewrap) { --wbl: max(20px, calc((100vw - 1380px) / 2)); }
  .km-wb-sidewrap { position: fixed; top: 112px; left: var(--wbl); width: 322px; height: auto; overflow: visible; z-index: 40; }
  .km-wb-sidewrap .km-bd-side-wrap { width: 100%; }
  body:has(.km-wb-sidewrap) .km-wb-shift { box-sizing: border-box; width: auto; max-width: none; min-width: 0; margin-left: calc(var(--wbl) + 350px) !important; margin-right: var(--wbl) !important; }
  body:has(.km-wb-sidewrap) .km-wb-head { padding: 0 !important; margin-top: 112px !important; background: none; }
  body:has(.km-wb-sidewrap) .km-wb-head .km-container { width: auto; max-width: none; padding: 0; margin: 0 0 18px; }
  body:has(.km-wb-sidewrap) .km-p17 .km-board { grid-template-columns: minmax(320px, 400px) minmax(0, 1fr); }
}
@media (min-width: 1100px) and (max-width: 1360px) {
  body:has(.km-wb-sidewrap) .km-p17 .km-board { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1099px) {
  .km-wb-sidewrap { position: static; margin: 96px 16px 0; }
  body:has(.km-wb-sidewrap) .km-wb-shift { margin-left: 16px !important; margin-right: 16px !important; width: auto; max-width: none; box-sizing: border-box; }
  body:has(.km-wb-sidewrap) .km-wb-head { padding: 0 !important; margin-top: 18px !important; }
}
body:has(.km-wb-sidewrap) .km-p17 { border-radius: 14px; margin-top: 0; }
body:has(.km-wb-sidewrap) .km-p17 .km-wiz-preview-toolbar { flex-wrap: wrap; }

/* Page 17 dashboard mode, background and sidebar offset: the sidebar region also carries .km-bd, whose own box (gradient, padding, 84px top margin) is loaded
   after this file and was winning; the doubled selector wins regardless of load order, so the card floats on the page background with no box behind it */
.km-bd.km-wb-sidewrap { margin: 0; padding: 0; background: none; min-height: 0; box-shadow: none; border: 0; }
@media (min-width: 1100px) {
  .km-bd.km-wb-sidewrap { position: fixed; top: 112px; left: var(--wbl); width: 322px; }
}
@media (max-width: 1099px) {
  .km-bd.km-wb-sidewrap { position: static; margin: 96px 16px 0; }
}
html:has(.km-wb-sidewrap), body:has(.km-wb-sidewrap),
body:has(.km-wb-sidewrap) .t-Body, body:has(.km-wb-sidewrap) .t-Body-main, body:has(.km-wb-sidewrap) .t-Body-content,
body:has(.km-wb-sidewrap) .t-Body-contentInner, body:has(.km-wb-sidewrap) .t-Body-wrap, body:has(.km-wb-sidewrap) #t_PageBody { background: #F4F7FE !important; }

/* Page 17 dashboard mode: title on the page background, action card, then two separate white cards (tabs, preview) with sky-blue gaps */
body:has(.km-wb-sidewrap) .km-wb-head, body:has(.km-wb-sidewrap) .km-wb-head .km-container, body:has(.km-wb-sidewrap) .km-wb-head .km-wb-head-text { background: none !important; box-shadow: none !important; border: 0 !important; text-align: left; }
body:has(.km-wb-sidewrap) .km-wb-head .km-container { padding: 0 !important; margin: 0 0 18px !important; }
body:has(.km-wb-sidewrap) .km-wb-bar { margin-bottom: 24px; }
body:has(.km-wb-sidewrap) .km-p17.km-wiz-card { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; border-radius: 0 !important; margin-top: 0 !important; }
body:has(.km-wb-sidewrap) .km-p17 .km-board { gap: 24px; margin-top: 0; }
body:has(.km-wb-sidewrap) .km-p17 .km-board-controls, body:has(.km-wb-sidewrap) .km-p17 .km-board-preview { background: #fff; border: 1px solid #e2eaf3; border-radius: 14px; }
body:has(.km-wb-sidewrap) .km-p17 .km-board-preview .km-preview-shell { background: #eff3f8; }

/* Page 17 dashboard mode: the header region itself (.km-home paints it white) is transparent so the title sits on the sky-blue page */
body:has(.km-wb-sidewrap) .km-home.km-wb-shift:has(.km-wb-head) { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; }
body:has(.km-wb-sidewrap) .km-wb-head h1 { font-weight: 800; color: var(--km-navy); }

/* Page 17 dashboard mode: fit the viewport with no horizontal scroll. Percentages (not 100vw, which includes the scrollbar) size the shell,
   every column can shrink (min-width: 0), and the page never scrolls sideways. */
body:has(.km-wb-sidewrap) { --wbl: max(20px, calc((100% - 1380px) / 2)); }
body:has(.km-wb-sidewrap) .km-wb-shift, body:has(.km-wb-sidewrap) .km-wb-shift * { box-sizing: border-box; }
body:has(.km-wb-sidewrap) .km-wb-shift { min-width: 0; max-width: 100%; }
body:has(.km-wb-sidewrap) .km-wb-bar { width: 100%; }
body:has(.km-wb-sidewrap) .km-p17 .km-board { width: 100%; grid-template-columns: minmax(300px, 400px) minmax(0, 1fr); }
body:has(.km-wb-sidewrap) .km-p17 .km-board > * { min-width: 0; max-width: 100%; }
body:has(.km-wb-sidewrap) .km-p17 .km-board-preview { overflow: hidden; }
body:has(.km-wb-sidewrap) .km-p17 .km-board-preview .km-preview-shell { max-width: 100%; overflow: auto; }
@media (min-width: 1100px) and (max-width: 1279px) {
  body:has(.km-wb-sidewrap) .km-p17 .km-board { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 1280px) {
  body:has(.km-wb-sidewrap) .km-p17 .km-board { grid-template-columns: minmax(300px, 400px) minmax(0, 1fr); }
}

/* The wizard regions carry their own width rules (min(1200px, 100% - 48px), 3-class selectors) that beat the rules above, so the shifted content was
   wider than the space beside the sidebar and ran past the right edge. These win and let the column take exactly the remaining width. */
body:has(.km-wb-sidewrap) .km-home.km-wb-shift { width: auto !important; max-width: none !important; min-width: 0 !important; box-sizing: border-box; }
@media (min-width: 1100px) {
  body:has(.km-wb-sidewrap) .km-home.km-wb-shift { margin-left: calc(var(--wbl) + 350px) !important; margin-right: var(--wbl) !important; }
}
body:has(.km-wb-sidewrap) .km-p17 .km-preview-shell > .km-site, body:has(.km-wb-sidewrap) .km-p17 .km-site { width: 100%; max-width: 100%; min-width: 0; }
body:has(.km-wb-sidewrap) .km-p17 .km-site-header { flex-wrap: wrap; }

/* Page 17 action buttons (Save draft, Open full preview, Update published demo): softly rounded rectangles with a smooth hover */
.km-wb-pill { border-radius: 11px; transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease; }
.km-wb-pill.km-btn-outline:hover { background: #eff5ff; border-color: var(--km-cobalt); color: var(--km-cobalt); box-shadow: 0 4px 12px rgba(26, 92, 238, .14); transform: translateY(-1px); }
.km-wb-primary:hover { background: #104ed6; border-color: #104ed6; box-shadow: 0 6px 16px rgba(26, 92, 238, .32); transform: translateY(-1px); }
.km-wb-pill:active { transform: translateY(0); box-shadow: none; }
.km-wb-pill:focus-visible { outline: 2px solid var(--km-cobalt); outline-offset: 2px; }

/* Button hover audit: shared buttons get a smooth transition, and the controls that had no hover state now have one */
.km-btn { transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease; }
.km-btn:hover:not(:disabled):not([aria-disabled="true"]) { transform: translateY(-1px); }
.km-btn:active:not(:disabled) { transform: translateY(0); }
.km-ap-close, .km-cr-close, .km-cu-close, .km-qm-close, .km-om-close { transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.km-ap-close:hover, .km-cr-close:hover, .km-cu-close:hover, .km-qm-close:hover, .km-om-close:hover { background: #eef3fb; box-shadow: 0 2px 8px rgba(11, 26, 79, .12); transform: scale(1.06); }
.km-cu-addnote { transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.km-cu-addnote:hover:not(:disabled) { background: #eff5ff; border-color: var(--km-cobalt); box-shadow: 0 4px 12px rgba(26, 92, 238, .14); transform: translateY(-1px); }
.km-cr-buy, .km-cr-choose { transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.km-cr-buy:hover:not(:disabled), .km-cr-choose:hover:not(:disabled) { background: #104ed6; box-shadow: 0 6px 16px rgba(26, 92, 238, .3); transform: translateY(-1px); }
.km-switch { transition: background-color .18s ease, box-shadow .18s ease; }
.km-switch:hover:not(:disabled) { box-shadow: 0 0 0 3px rgba(26, 92, 238, .16); }
@media (prefers-reduced-motion: reduce) {
  .km-btn, .km-wb-pill, .km-ap-close, .km-cr-close, .km-cu-close, .km-qm-close, .km-om-close, .km-cu-addnote, .km-cr-buy, .km-cr-choose { transition: none; }
  .km-btn:hover, .km-wb-pill:hover, .km-ap-close:hover, .km-cr-close:hover, .km-cu-close:hover, .km-qm-close:hover, .km-om-close:hover, .km-cu-addnote:hover, .km-cr-buy:hover, .km-cr-choose:hover { transform: none; }
}

/* Hero banner image: full-bleed background over the whole hero, dark left-to-right scrim, text and button on top (all templates) */
.km-site-hero:has(.km-site-hero-bg) { position: relative; overflow: hidden; min-height: 320px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; text-align: left; background: var(--s-secondary); }
.km-site-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; margin: 0; border-radius: 0; object-fit: cover; object-position: center; z-index: 0; }
.km-site-hero-scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(8, 16, 46, .78) 0%, rgba(8, 16, 46, .55) 45%, rgba(8, 16, 46, .12) 100%); }
.km-site-hero:has(.km-site-hero-bg) > :not(.km-site-hero-bg):not(.km-site-hero-scrim) { position: relative; z-index: 2; max-width: min(560px, 100%); }
.km-site-hero:has(.km-site-hero-bg) h3, .km-site-hero:has(.km-site-hero-bg) p, .km-site-hero:has(.km-site-hero-bg) .km-site-sub { color: #fff !important; }
.km-site-hero:has(.km-site-hero-bg) .km-site-btn { background: var(--s-accent); color: var(--s-secondary); }
.km-site-mobile .km-site-hero:has(.km-site-hero-bg) { min-height: 260px; }
.km-site-mobile .km-site-hero-scrim { background: linear-gradient(180deg, rgba(8, 16, 46, .7), rgba(8, 16, 46, .5)); }

/* Storefront pieces shared by the builder preview (page 17) and the full storefront (page 49): hours badge in the header, footer */
.km-site-navside { display: inline-flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: flex-end; }
.km-site-hours { padding: 6px 12px; border-radius: 8px; background: var(--s-background); color: var(--s-primary); font-size: 12px; font-weight: 700; white-space: nowrap; }
.km-site-bold .km-site-hours { background: var(--s-accent); color: var(--s-secondary); }
.km-site-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 22px; background: #fff; border-top: 1px solid #e7edf6; }
.km-site-footer span { font-weight: 800; font-size: 14px; color: var(--s-secondary); }
.km-site-footer small { font-size: 11px; color: #79869b; }

/* Page 49 (full storefront): the same storefront at page width, laid out like the reference prototype (#/storefront/hometown):
   a 1140px content column, generous section spacing, large headings, three-column cards, alternating section backgrounds, a dark contact band. */
.km-fp-stage .km-site { --fp-gutter: max(24px, calc((100% - 1140px) / 2 + 40px)); }
.km-fp-stage .km-site-header { padding: 0 var(--fp-gutter); min-height: 78px; }
.km-fp-stage .km-site-brand { font-size: 23px; letter-spacing: -.02em; }
.km-fp-stage .km-site-logo { max-height: 55px; max-width: 245px; }
.km-fp-stage .km-site-nav { font-size: 12px; font-weight: 600; color: var(--s-secondary); }
.km-fp-stage .km-site-bold .km-site-nav, .km-fp-stage .km-site-bold .km-site-brand { color: #fff; }
.km-fp-stage .km-site-section { padding: 76px var(--fp-gutter); }
.km-fp-stage .km-site-section h3 { font-size: clamp(26px, 3.1vw, 38px); line-height: 1.18; letter-spacing: -.025em; margin: 0 0 14px; }
.km-fp-stage .km-site-section p { font-size: 15px; line-height: 1.8; }
.km-fp-stage .km-site-section .km-site-sub { max-width: 690px; color: #556579; }
.km-fp-stage .km-site-btn { padding: 13px 22px; font-size: 12px; border-radius: 9px; }
.km-fp-stage .km-site[data-button="pill"] .km-site-btn { border-radius: 999px; }
.km-fp-stage .km-site[data-button="square"] .km-site-btn { border-radius: 1px; }
.km-fp-stage .km-site-hero { min-height: 430px; padding-top: 55px; padding-bottom: 55px; }
.km-fp-stage .km-site-hero h3 { font-size: clamp(30px, 4vw, 57px); line-height: 1.08; max-width: 620px; margin-bottom: 20px; }
.km-fp-stage .km-site-hero p { font-size: clamp(14px, 1.3vw, 17px); line-height: 1.65; max-width: 530px; margin-bottom: 24px; }
.km-fp-stage .km-site-hero .km-site-btn { box-shadow: 0 7px 16px rgba(0, 0, 0, .13); }
.km-fp-stage .km-site-bold .km-site-hero h3 { font-size: clamp(32px, 4.6vw, 68px); }
.km-fp-stage .km-site-svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 19px; margin-top: 27px; }
.km-fp-stage .km-site-service > div { padding: 17px; }
.km-fp-stage .km-site-service h4 { font-size: 18px; }
.km-fp-stage .km-site-svc-bottom strong { font-size: 17px; }
.km-fp-stage .km-site-svc-bottom .km-site-btn { padding: 10px 11px; font-size: 10px; }
.km-fp-stage .km-site-services, .km-fp-stage .km-site-gallery, .km-fp-stage .km-site-faq { background: var(--s-background); }
.km-fp-stage .km-site-about, .km-fp-stage .km-site-testimonials { background: #fff; }
.km-fp-stage .km-site-about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 55px; align-items: center; }
.km-fp-stage .km-site-about > :not(.km-site-photo) { grid-column: 1; }
.km-fp-stage .km-site-about > .km-site-photo { grid-column: 2; grid-row: 1 / span 6; width: 100%; height: 310px; max-height: none; margin: 0; border-radius: 14px; }
.km-fp-stage .km-site-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.km-fp-stage .km-site-gallery > :not(.km-site-photo) { grid-column: 1 / -1; margin-bottom: 0; }
.km-fp-stage .km-site-gallery > .km-site-photo { width: 100%; max-height: none; aspect-ratio: 1.1; margin: 13px 0 0; border-radius: 11px; }
.km-fp-stage .km-site-faq p:not(.km-site-sub) { background: #fff; border-radius: 13px; padding: 23px; font-size: 13px; line-height: 2; }
.km-fp-stage .km-site-contact { background: var(--s-secondary); color: #fff; }
.km-fp-stage .km-site-contact h3, .km-fp-stage .km-site-contact p, .km-fp-stage .km-site-contact .km-site-sub { color: #fff; }
.km-fp-stage .km-site-contact p.km-site-contact { font-size: 13px; font-weight: 600; }
.km-fp-stage .km-site-contact .km-site-btn { background: var(--s-primary); color: #fff; }
.km-fp-stage .km-site-footer { padding: 23px var(--fp-gutter); }
@media (max-width: 900px) {
  .km-fp-stage .km-site-svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .km-fp-stage .km-site-about { grid-template-columns: minmax(0, 1fr); }
  .km-fp-stage .km-site-about > .km-site-photo { grid-column: 1; grid-row: auto; height: 240px; margin-top: 20px; }
  .km-fp-stage .km-site-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .km-fp-stage .km-site-section { padding: 48px 20px; }
  .km-fp-stage .km-site-header { padding: 10px 20px; }
  .km-fp-stage .km-site-svc-grid, .km-fp-stage .km-site-gallery { grid-template-columns: minmax(0, 1fr); }
  .km-fp-stage .km-site-hours { display: none; }
}

/* Page 49: the About section is a grid, which stretches a button across its column; buttons size to their text instead */
.km-fp-stage .km-site-about > .km-site-btn, .km-fp-stage .km-site-gallery > .km-site-btn { justify-self: start; align-self: start; width: fit-content; }

/* Page 49 service slider (more than three services): one row, three cards at a time, arrows and dots */
.km-fp-slider { position: relative; margin-top: 27px; --km-gap: 19px; }
.km-fp-slider-viewport { overflow: hidden; }
.km-fp-stage .km-site-svc-grid.km-fp-slider-track { display: flex; gap: var(--km-gap); margin: 0; grid-template-columns: none; flex-wrap: nowrap; transition: transform .35s ease; will-change: transform; }
.km-fp-slider-track > .km-site-service { flex: 0 0 calc((100% - (var(--km-per, 3) - 1) * var(--km-gap)) / var(--km-per, 3)); min-width: 0; }
.km-fp-slider-arrow { position: absolute; top: 40%; z-index: 3; width: 42px; height: 42px; border: 1px solid #dbe6f5; border-radius: 50%; background: #fff; color: var(--s-secondary, #0B1A4F); font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 0 4px 12px rgba(11, 26, 79, .14); transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.km-fp-slider-arrow:hover:not(:disabled) { background: #eff5ff; box-shadow: 0 6px 16px rgba(26, 92, 238, .22); transform: translateY(-1px); }
.km-fp-slider-arrow:disabled { opacity: .35; cursor: default; }
.km-fp-slider-arrow:focus-visible, .km-fp-slider-dot:focus-visible { outline: 2px solid var(--s-primary, #1A5CEE); outline-offset: 2px; }
.km-fp-slider-prev { left: -20px; }
.km-fp-slider-next { right: -20px; }
.km-fp-slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.km-fp-slider-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: #c5d1e4; cursor: pointer; transition: background-color .18s ease, transform .18s ease; }
.km-fp-slider-dot:hover { background: #8fa6cc; }
.km-fp-slider-dot.is-active { background: var(--s-primary, #1A5CEE); transform: scale(1.25); }
@media (max-width: 560px) { .km-fp-slider-prev { left: -8px; } .km-fp-slider-next { right: -8px; } }
@media (prefers-reduced-motion: reduce) { .km-fp-stage .km-site-svc-grid.km-fp-slider-track, .km-fp-slider-arrow, .km-fp-slider-dot { transition: none; } }
/* the slider also runs in the builder previews (pages 17 and 18): same track rules outside .km-fp-stage, arrows kept inside the preview's padding */
.km-site-svc-grid.km-fp-slider-track { display: flex; flex-wrap: nowrap; gap: var(--km-gap); margin: 0; grid-template-columns: none; transition: transform .35s ease; will-change: transform; }
.km-site .km-fp-slider { margin-top: 17px; }
.km-site .km-fp-slider-prev { left: -12px; }
.km-site .km-fp-slider-next { right: -12px; }
.km-site .km-fp-slider-arrow { width: 36px; height: 36px; font-size: 22px; }
.km-fp-stage .km-site .km-fp-slider-prev { left: -20px; }
.km-fp-stage .km-site .km-fp-slider-next { right: -20px; }
.km-fp-stage .km-site .km-fp-slider-arrow { width: 42px; height: 42px; font-size: 26px; }

/* builder previews: the slider is only a picture of the layout, so it is not clickable and has no hover or pointer feedback */
/* Mobile (the builder's Mobile preview and phone-width pages): one full-width service card; the arrows move out of the card into the row of dots below it,
   so they never cover the picture or the title, and the price + "Book now" row wraps instead of being clipped. Desktop rules above are not touched. */
.km-site-mobile .km-fp-slider, .km-site-mobile .km-fp-slider-viewport { min-width: 0; }
.km-site-mobile .km-fp-slider { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "view view view" "prev dots next"; align-items: center; column-gap: 12px; }
.km-site-mobile .km-fp-slider .km-fp-slider-viewport { grid-area: view; }
.km-site-mobile .km-fp-slider .km-fp-slider-prev { grid-area: prev; }
.km-site-mobile .km-fp-slider .km-fp-slider-next { grid-area: next; }
.km-site-mobile .km-fp-slider .km-fp-slider-dots { grid-area: dots; margin-top: 0; flex-wrap: wrap; }
.km-site-mobile .km-fp-slider .km-fp-slider-arrow { position: static; top: auto; left: auto; right: auto; margin-top: 16px; }
.km-site-mobile .km-fp-slider .km-fp-slider-dots { margin-top: 16px; }
.km-site-mobile .km-site-service > div { padding: 18px; }
.km-site-mobile .km-site-svc-bottom { flex-wrap: wrap; row-gap: 10px; }
.km-site-mobile .km-site-svc-bottom .km-site-btn { padding: 10px 16px; font-size: 12px; }
@media (max-width: 479.98px) {
  .km-fp-slider { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "view view view" "prev dots next"; align-items: center; column-gap: 12px; min-width: 0; }
  .km-fp-slider .km-fp-slider-viewport { grid-area: view; min-width: 0; }
  .km-fp-slider .km-fp-slider-prev { grid-area: prev; }
  .km-fp-slider .km-fp-slider-next { grid-area: next; }
  .km-fp-slider .km-fp-slider-dots { grid-area: dots; margin-top: 16px; flex-wrap: wrap; }
  .km-fp-stage .km-site .km-fp-slider .km-fp-slider-arrow, .km-site .km-fp-slider .km-fp-slider-arrow { position: static; top: auto; left: auto; right: auto; margin-top: 16px; }
  .km-site-service > div { padding: 18px; }
  .km-site-svc-bottom { flex-wrap: wrap; row-gap: 10px; }
  .km-site-svc-bottom .km-site-btn { padding: 10px 16px; font-size: 12px; }
}
.km-fp-slider.is-static .km-fp-slider-arrow, .km-fp-slider.is-static .km-fp-slider-dot { pointer-events: none; cursor: default; }
.km-fp-slider.is-static .km-fp-slider-arrow:hover { background: #fff; box-shadow: 0 4px 12px rgba(11, 26, 79, .14); transform: none; }
.km-fp-slider.is-static .km-fp-slider-dot:hover { background: #c5d1e4; }
.km-fp-slider.is-static .km-fp-slider-dot.is-active:hover { background: var(--s-primary, #1A5CEE); }

/* header links: the builder previews keep the compact "Services · About · Contact" text; the full storefront (page 49) shows clean spaced links */
/* Services / About / Contact: spaced apart, no middle dots, in every website preview (page 17 builder, page 18 publish, page 49 storefront preview) */
.km-site-nav { display: inline-flex; align-items: center; gap: 28px; }
.km-site-nav > span + span::before { content: none; }
.km-fp-stage .km-site-nav { display: inline-flex; gap: 28px; }
.km-fp-stage .km-site-nav > span + span::before { content: none; }

/* "Explore services" style hero buttons carry an arrow (builder previews and the full storefront); only page 49 makes it clickable */
.km-site-hero .km-site-btn::after { content: " \2192"; margin-left: 4px; }
.km-fp-stage .km-site-hero .km-site-btn[data-km-link] { cursor: pointer; transition: filter .18s ease, transform .18s ease, box-shadow .18s ease; }
.km-fp-stage .km-site-hero .km-site-btn[data-km-link]:hover { filter: brightness(.94); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0, 0, 0, .18); }

/* Business storefront profile (page 51) */
body:has(.km-bp-page) { background: linear-gradient(180deg, #f4f8ff 0%, #fbfdff 60%, #fff 100%) fixed; }
.km-bp-header .km-auth { gap: 10px; align-items: center; }
.km-bp-demo { font-size: 11px; font-weight: 800; letter-spacing: .1em; color: var(--km-cobalt); margin-right: 4px; }
.km-bp-page { background: transparent !important; margin-top: 84px; }
.km-bp { width: min(1200px, calc(100% - 48px)); margin: 0 auto; padding: 36px 0 70px; color: var(--km-navy); font-family: var(--km-font); }
.km-bp-crumb { display: flex; align-items: center; gap: 10px; font-size: 12px; color: #66728D; margin-bottom: 18px; }
/* Book now as a link (pages 49/51): keep the button look of the former label; no link colour, underline or visited/focus colour change */
.km-home a.km-site-btn, .km-home a.km-site-btn:link, .km-home a.km-site-btn:visited, .km-home a.km-site-btn:hover, .km-home a.km-site-btn:focus, .km-home a.km-site-btn:active { color: #fff; text-decoration: none; cursor: pointer; }
.km-home a.km-site-btn:hover, .km-home a.km-site-btn:focus-visible { filter: brightness(.94); }
.km-home a.km-bp-btn-primary, .km-home a.km-bp-btn-primary:link, .km-home a.km-bp-btn-primary:visited, .km-home a.km-bp-btn-primary:hover, .km-home a.km-bp-btn-primary:focus, .km-home a.km-bp-btn-primary:active { background-color: #1D4ED8; border-color: #1D4ED8; color: #fff; font-weight: 700; text-decoration: none; }
.km-home a.km-bp-btn-primary:hover, .km-home a.km-bp-btn-primary:focus-visible { background-color: #1254E6; border-color: #1254E6; }
.km-bp-price-box { margin: 0 0 14px; }
.km-bp-price-box span { display: block; font-size: 12px; color: #66728D; }
.km-bp-price-box .km-bp-price { font-size: 28px; }
.km-bp-btn:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.km-bp-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.km-bp-checks li { display: flex; align-items: flex-start; gap: 10px; color: #4A5672; line-height: 1.5; }
.km-bp-yes, .km-bp-no { flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.km-bp-yes { background: #E3F6EC; color: #138A4B; }
.km-bp-no { background: #FDE8E8; color: #C0392B; }
.km-bp-rate-sum { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.km-bp-rate-sum strong { font-size: 44px; line-height: 1; }
.km-bp-rate-sum span { font-size: 13px; color: #66728D; }
.km-bp-box .km-bp-reviews { grid-template-columns: minmax(0, 1fr); margin-top: 0; }
.km-bp-twocol { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.km-bp-box { background: #fff; border: 1px solid #E3E8F2; border-radius: 12px; padding: 24px; }
.km-bp-box h2 { margin: 0 0 12px; font-size: 18px; }
.km-bp-box p { margin: 0 0 14px; color: #4A5672; line-height: 1.6; }
.km-bp-info-rows { margin: 0; }
.km-bp-info-rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid #EEF1F7; }
.km-bp-info-rows > div:last-child { border-bottom: 0; }
.km-bp-info-rows dt { color: #66728D; }
.km-bp-info-rows dd { margin: 0; font-weight: 600; text-align: right; }
.km-bp-pin { display: inline-flex; align-items: center; gap: 6px; background: #E8F1FF; color: #1D4ED8; border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; }
@media (max-width: 720px) { .km-bp-twocol { grid-template-columns: 1fr; } }
.km-bp-crumb a { color: inherit; text-decoration: none; }
.km-bp-crumb a:hover, .km-bp-crumb a:focus-visible { text-decoration: underline; }
.km-bp-hero { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.km-bp-hero-img { border-radius: 18px; overflow: hidden; background: #dfe8f5; min-height: 340px; box-shadow: 0 10px 30px rgba(11, 26, 79, .08); }
.km-bp-hero-photo, .km-bp-hero-none { display: block; width: 100%; height: 100%; min-height: 340px; object-fit: cover; }
.km-bp-info { background: #fff; border: 1px solid #e7edf6; border-radius: 18px; padding: 28px 30px; box-shadow: 0 10px 30px rgba(11, 26, 79, .06); display: flex; flex-direction: column; min-width: 0; }
.km-bp-info-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.km-bp-badge { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 999px; background: #e1fff8; color: #0a7a63; font-size: 11px; font-weight: 800; letter-spacing: .06em; }
.km-bp-heart { width: 40px; height: 40px; border: 1px solid #e7edf6; border-radius: 10px; background: #fff; color: #e5484d; font-size: 20px; line-height: 1; cursor: pointer; transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.km-bp-heart:hover { background: #fff3f3; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(229, 72, 77, .18); }
.km-bp-info h1 { margin: 16px 0 10px; font-size: clamp(26px, 3vw, 36px); line-height: 1.15; letter-spacing: -.025em; font-weight: 800; }
.km-bp-verified { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #1cb98a; color: #fff; font-size: 13px; vertical-align: middle; }
.km-bp-rating { margin: 0 0 6px; font-size: 13px; color: #66728D; }
.km-bp-rating strong { color: var(--km-navy); }
.km-bp-star { color: #f7b62d; }
.km-bp-sub { margin: 0 0 14px; font-size: 13px; color: #66728D; }
.km-bp-facts { margin: 0 0 22px; }
.km-bp-facts div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid #eef2f7; font-size: 13px; }
.km-bp-facts div:last-child { border-bottom: 0; }
.km-bp-facts dt { color: #66728D; }
.km-bp-facts dd { margin: 0; font-weight: 700; text-align: right; }
.km-bp-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: auto; }
.km-bp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 18px; border-radius: 10px; font: 700 14px/1.2 var(--km-font); text-decoration: none; cursor: pointer; border: 1.5px solid var(--km-cobalt); box-sizing: border-box; transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease; }
.km-bp-btn-primary { background: var(--km-cobalt); color: #fff; }
.km-bp-btn-primary:hover { background: #104ed6; border-color: #104ed6; box-shadow: 0 6px 16px rgba(26, 92, 238, .3); transform: translateY(-1px); }
.km-bp-btn-outline { background: #fff; color: var(--km-navy); border-color: #9baac7; }
.km-bp-btn-outline:hover:not(:disabled) { background: #eff5ff; border-color: var(--km-cobalt); color: var(--km-cobalt); transform: translateY(-1px); }
.km-bp-btn-sm { min-height: 36px; padding: 8px 16px; font-size: 12px; }
.km-bp-tabs { display: flex; gap: 28px; margin-top: 34px; border-bottom: 1px solid #e2eaf3; }
.km-bp-tabs button { border: 0; background: none; padding: 12px 2px; font: 700 14px/1.2 var(--km-font); color: #66728D; cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1px; transition: color .18s ease; }
.km-bp-tabs button:hover { color: var(--km-cobalt); }
.km-bp-tabs button.km-on { color: var(--km-navy); border-bottom-color: var(--km-cobalt); }
.km-bp-panel { padding-top: 26px; }
.km-bp-panel[hidden] { display: none; }
.km-bp-panel h2 { margin: 0 0 10px; font-size: 22px; letter-spacing: -.02em; }
.km-bp-panel p { margin: 0 0 10px; font-size: 14px; line-height: 1.75; color: #4a5875; max-width: 760px; }
.km-bp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.km-bp-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 16px; background: #fff; border: 1px solid #eef2f7; box-shadow: 0 8px 22px rgba(11, 26, 79, .06); transition: box-shadow .18s ease, transform .18s ease; }
.km-bp-card:hover { box-shadow: 0 12px 28px rgba(11, 26, 79, .1); transform: translateY(-2px); }
.km-bp-card-img { display: block; width: 100%; aspect-ratio: 2.1; object-fit: cover; background: #e6edf5; }
.km-bp-card-body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 20px; }
.km-bp-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.km-bp-card-head h3 { margin: 0; font-size: 15px; font-weight: 800; letter-spacing: -.01em; }
.km-bp-card-rate { font-size: 12px; white-space: nowrap; }
.km-bp-card-body p { margin: 8px 0 16px; font-size: 12px; line-height: 1.6; color: #66728D; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.km-bp-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.km-bp-price { font-size: 22px; letter-spacing: -.02em; }
.km-bp-reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 14px 0 12px; }
.km-bp-review { background: #fff; border: 1px solid #eef2f7; border-radius: 14px; padding: 18px; box-shadow: 0 6px 16px rgba(11, 26, 79, .05); }
.km-bp-review p { margin: 8px 0 12px; font-size: 13px; }
.km-bp-stars { color: #f7b62d; letter-spacing: .12em; }
.km-bp-note, .km-bp-empty { font-size: 12px; color: #8090a0; }
@media (max-width: 960px) {
  .km-bp-hero { grid-template-columns: minmax(0, 1fr); }
  .km-bp-grid, .km-bp-reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .km-bp { width: calc(100% - 32px); padding-top: 24px; }
  .km-bp-grid, .km-bp-reviews, .km-bp-actions { grid-template-columns: minmax(0, 1fr); }
  .km-bp-tabs { gap: 18px; overflow-x: auto; }
  .km-bp-demo { display: none; }
}
@media (prefers-reduced-motion: reduce) { .km-bp-btn, .km-bp-card, .km-bp-heart { transition: none; } .km-bp-btn:hover, .km-bp-card:hover { transform: none; } }
.km-bp-logo-img { display: block; max-height: 55px; max-width: 245px; width: auto; object-fit: contain; }

/* Website Builder (page 17 in dashboard mode only): the preview header links are spaced links without the middle dots, like the full storefront.
   The sign-up wizard (Arrange website, Preview and publish) keeps the dotted text. */
body:has(.km-wb-sidewrap) .km-p17 .km-site-nav { display: inline-flex; gap: 28px; }
body:has(.km-wb-sidewrap) .km-p17 .km-site-nav > span + span::before { content: none; }

/* Add customer dialog (page 54): the buttons use the shared dialog action bar (.km-svc-actions), which stacks on narrow screens */
.km-cu-dialog .km-cu-form { margin-top: 18px; }

/* Create order dialog (page 70). The form is ONE scrolling region (the same dialog mechanics as page 19: title bar and footer buttons stay put, the form scrolls inside).
   km-oc-rowsvc (service | amount) and km-oc-row3 (city | state | ZIP) are built by km-order-create.js; the service row stacks to one column on a phone. */
.km-home.km-wiz-svc.km-oc-form { display: block !important; }   /* the shared .km-wiz-svc grid is page 19's; this form lays out its own rows */
.km-oc-form .km-oc-row { display: grid; gap: 0 18px; align-items: start; margin: 0; }
.km-oc-form .km-oc-rowsvc { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }   /* Service ~2/3, Amount ~1/3 of the form width */
/* the customer dropdown takes the whole width of the form, flush with the inputs below it */
.km-oc-form .km-oc-col { display: block; width: 100%; max-width: none; }
.km-oc-form .km-oc-col > .t-Form-fieldContainer, .km-oc-form .km-oc-col .t-Form-inputContainer, .km-oc-form .km-cb { display: block; width: 100%; max-width: none; box-sizing: border-box; }
.km-oc-form .km-oc-row3 { grid-template-columns: minmax(0, 1fr) 96px minmax(0, 120px); }
.km-oc-form .km-oc-col, .km-oc-form .km-oc-row > * { min-width: 0; }
.km-oc-form a.km-oc-add, .km-oc-form a.km-oc-add:link, .km-oc-form a.km-oc-add:visited { display: inline-block; margin: 5px 0 18px; font: 600 13px/1.4 var(--km-font); color: #1456F1; text-decoration: none; cursor: pointer; }
/* the list has no space under it inside its own column, so "Add a Customer" sits snugly right below the box (5px) */
.km-oc-form .km-oc-col > #P70_CUSTOMER_CONTAINER, .km-oc-form .km-oc-col > #P71_CUSTOMER_CONTAINER { margin-bottom: 0 !important; padding-bottom: 0 !important; }
.km-oc-form a.km-oc-add:hover, .km-oc-form a.km-oc-add:focus-visible { color: #1456F1; text-decoration: underline; }
.km-oc-form a.km-oc-add:focus-visible { outline: 3px solid rgba(26, 92, 238, .35); outline-offset: 2px; }
/* Dropdowns of the Create order dialog (page 70) built over the native selects: a closed box that reads "Select a customer" / "Select a service", and an
   opened card with an optional search box inside it. The native select stays hidden in the page and is what is submitted. */
.km-cb { position: relative; display: block; }
.km-cb-btn { position: relative; display: block; width: 100%; min-height: 49px; box-sizing: border-box; padding: 12px 40px 12px 14px; border: 1px solid #c6d3e6; border-radius: 9px; background: #fff; color: var(--km-navy); font: 500 13px/1.4 var(--km-font); text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.km-cb-btn::after { content: ""; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px; margin-top: -6px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .18s ease, margin .18s ease; }
.km-cb.is-open > .km-cb-btn::after { transform: rotate(-135deg); margin-top: -1px; }
.km-cb-btn.is-placeholder .km-cb-text { color: #8a97ad; }
.km-cb-btn:hover { border-color: #9aaac4; }
.km-cb-btn:focus-visible, .km-cb.is-open > .km-cb-btn { border-color: var(--km-cobalt); box-shadow: 0 0 0 3px rgba(26, 92, 238, .20); outline: 0; }
.km-cb-text { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.km-cb-panel { position: absolute; z-index: 40; top: calc(100% + 6px); left: 0; right: 0; box-sizing: border-box; padding: 8px; background: #fff; border: 1px solid #e4eaf1; border-radius: 12px; box-shadow: 0 0 4px #e1ecfa, 0 12px 28px rgba(11, 26, 79, .14); }
.km-cb-panel[hidden] { display: none; }
.km-cb-search { display: block; width: 100%; box-sizing: border-box; min-height: 40px; margin: 0 0 8px; padding: 8px 12px; border: 1px solid #ccd8e9; border-radius: 9px; background: #fff; font: 500 13px/1.4 var(--km-font); color: var(--km-navy); }
.km-cb-search:focus { border-color: var(--km-cobalt); box-shadow: 0 0 0 3px rgba(26, 92, 238, .12); outline: 0; }
.km-cb-list { max-height: 240px; margin: 0; padding: 0; overflow-y: auto; list-style: none; overscroll-behavior: contain; }
.km-cb-opt { padding: 10px 12px; border-radius: 9px; font: 600 13px/1.35 var(--km-font); color: var(--km-navy); cursor: pointer; overflow-wrap: anywhere; }
.km-cb-opt[hidden] { display: none; }
.km-cb-opt.is-active { background: #f3f8fe; color: #1456F1; }
.km-cb-opt[aria-selected="true"] { background: #eff7ff; color: #1456F1; font-weight: 700; }
.km-cb-none { padding: 10px 12px; font-size: 12px; color: #66728D; }
@media (prefers-reduced-motion: reduce) { .km-cb-btn, .km-cb-btn::after { transition: none; } }

/* "Service address" is a section title, clearly above and apart from the "Street address" field label under it */
.km-oc-form .km-oc-h { margin: 8px 0 18px; padding-top: 20px; border-top: 1px solid #dbe5f2; font: 800 18px/1.3 var(--km-font); letter-spacing: -.02em; color: var(--km-navy); }
@media (max-width: 560px) {
  .km-oc-form .km-oc-rowsvc { grid-template-columns: minmax(0, 1fr); }
  .km-oc-form .km-oc-row3 { grid-template-columns: minmax(0, 1fr) 80px minmax(0, 100px); gap: 0 10px; }
}

/* Storefront contact pop-up (opened by the About / Contact buttons of the live storefront) */
.km-site-btn-act { border: 0; cursor: pointer; font-family: inherit; text-decoration: none; }
.km-site-modal[hidden] { display: none; }
.km-site-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(9, 20, 45, .55); }
.km-site-modal-box { position: relative; width: min(420px, 100%); max-height: 90vh; overflow: auto; box-sizing: border-box; padding: 26px 24px 22px; background: #fff; color: #172440; border-radius: 14px; box-shadow: 0 20px 60px rgba(9, 20, 45, .35); }
.km-site-modal-box h3 { margin: 0 32px 16px 0; font-size: 18px; }
.km-site-modal-x { position: absolute; top: 10px; right: 12px; width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; font-size: 24px; line-height: 1; cursor: pointer; color: #44506b; }
.km-site-modal-x:hover, .km-site-modal-x:focus-visible { background: #eef2fa; }
.km-site-contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.km-site-contact-list li { display: grid; gap: 2px; }
.km-site-contact-list li span { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #79869b; }
.km-site-contact-list a, .km-site-contact-list strong { font-size: 16px; font-weight: 700; color: var(--s-primary, #1a5cee); word-break: break-word; }
.km-site-nav a { color: inherit; text-decoration: none; }
.km-site-nav a:hover, .km-site-nav a:focus-visible { text-decoration: underline; }
html { scroll-behavior: smooth; }
.km-site-section { scroll-margin-top: 16px; }

/* Public storefront pages (62-67): a slim bar under the Kaame header that keeps the business's logo and name in view */
.km-brandbar { background: #f6f9ff; border-bottom: 1px solid #e3eaf6; }
.km-brandbar-inner { max-width: 1180px; margin: 0 auto; padding: 10px 24px; display: flex; align-items: center; gap: 12px; }
.km-brandbar-link { display: inline-flex; align-items: center; gap: 12px; color: #0b1a4f; font-weight: 800; font-size: 15px; text-decoration: none; }
.km-brandbar-link:hover, .km-brandbar-link:focus-visible { text-decoration: underline; }
.km-brandbar-logo { max-height: 38px; max-width: 160px; width: auto; height: auto; object-fit: contain; }
.km-brandbar-tag { font-size: 11px; font-weight: 600; color: #66728d; letter-spacing: .02em; }
@media (max-width: 640px) { .km-brandbar-inner { padding: 8px 16px; } }

/* Business storefront header / footer on the public internal pages (the same markup and theme as the storefront home page) */
.km-site-brandlink { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.km-site-brandlink:hover .km-site-brandname, .km-site-brandlink:focus-visible .km-site-brandname { text-decoration: underline; }
.km-site-brandlink .km-site-logo { max-height: 44px; max-width: 200px; width: auto; }
.km-site-nav a[data-km-contact] { cursor: pointer; }
.km-site-footer-rich { display: grid; grid-template-columns: 1.3fr 1fr 1.4fr; gap: 26px; align-items: start; }
.km-site-footer-rich small { grid-column: 1 / -1; padding-top: 14px; border-top: 1px solid #e7edf6; }
.km-site-foot-brand p { margin: 8px 0 0; font-size: 12px; color: #66728d; }
.km-site-foot-links, .km-site-foot-contact { display: grid; gap: 9px; font-size: 13px; }
.km-site-footer-rich a { color: var(--s-secondary); text-decoration: none; font-weight: 600; }
.km-site-footer-rich .km-site-foot-links a:hover, .km-site-footer-rich .km-site-foot-contact a:hover, .km-site-footer-rich a:focus-visible { text-decoration: underline; }
.km-site-footer-rich .km-site-brandname { font-weight: 800; font-size: 15px; }
@media (max-width: 760px) { .km-site-footer-rich { grid-template-columns: 1fr; gap: 18px; } }
