/* Seattle's Best Maids: checklist pages and their service-page previews. */
#sbm-checklist-app,
main .sbm-checklist-preview {
  --ink: #182d46;
  --brand-blue: #2168a7;
  --rule: #cfdeeb;
  font-family: Quicksand, "Segoe UI", sans-serif;
  color: var(--ink);
}

#sbm-checklist-app {
  max-width: 1200px;
  padding-inline: clamp(16px, 4vw, 48px);
}

#sbm-checklist-app .sbm-cl-hero {
  background: linear-gradient(110deg, #e4f1fb, #f3f8fc 78%);
  border-left: 5px solid var(--brand-blue);
  border-radius: 0 24px 24px 0;
  padding: clamp(24px, 5vw, 52px);
  margin: 20px 0;
}

#sbm-checklist-app .sbm-cl-hero h1 {
  max-width: 23ch;
  font-size: clamp(2rem, 4.6vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -.035em;
  text-wrap: balance;
}

#sbm-checklist-app .sbm-cl-hero p {
  max-width: 64ch;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.6;
}

#sbm-checklist-app .sbm-cl-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--rule);
  border-radius: 18px;
  background: #eaf1f7;
}

#sbm-checklist-app .sbm-cl-tabs a {
  display: grid;
  place-items: center;
  text-align: center;
  min-height: 46px;
  border: 0;
  border-radius: 13px;
  background: transparent;
}

#sbm-checklist-app .sbm-cl-tabs a:is(:hover,:focus-visible) { background: white; }
#sbm-checklist-app .sbm-cl-tabs a[aria-current] { background: var(--brand-blue); color: white; }

#sbm-checklist-app .sbm-cl-panel {
  border-color: var(--rule);
  box-shadow: 0 7px 24px rgb(28 61 91 / 6%);
}

#sbm-checklist-app .sbm-cl-summary {
  border-top: 4px solid var(--brand-blue);
}

#sbm-checklist-app .sbm-cl-room[open] > summary {
  background: #e8f2fa;
  color: #194d79;
}

#sbm-checklist-app .sbm-cl-task label { min-height: 42px; }
#sbm-checklist-app .sbm-cl-fields input:focus-visible,
#sbm-checklist-app .sbm-cl-fields textarea:focus-visible {
  border-color: var(--brand-blue);
}

main .sbm-checklist-preview {
  background: #edf5fb !important;
  border-left: 5px solid var(--brand-blue) !important;
  padding: clamp(22px, 4vw, 40px) !important;
}

main .sbm-checklist-preview p { max-width: 68ch; line-height: 1.65; }
main .sbm-checklist-preview a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 15px;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: white;
  color: #194d79 !important;
  text-decoration: none !important;
}

main .sbm-checklist-preview a:hover,
main .sbm-checklist-preview a:focus-visible {
  border-color: var(--brand-blue);
  text-decoration: underline !important;
}

@media (max-width: 640px) {
  #sbm-checklist-app .sbm-cl-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #sbm-checklist-app .sbm-cl-fields { grid-template-columns: 1fr; }
  #sbm-checklist-app .sbm-cl-hero { padding: 24px 18px; }
  #sbm-checklist-app .sbm-cl-summary:has([data-priority-list]:empty) ul { margin: 0; }
  main .sbm-checklist-preview nav { gap: 7px !important; }
}
body .wp-site-blocks :is(header,main,footer) :is(h1,h2,h3,h4,h5,h6), #sbm-checklist-app :is(h1,h2,h3,legend,summary) {font-family:"Quicksand","Segoe UI",sans-serif!important;font-style:normal}
#sbm-checklist-app .sbm-quick-form label {display:grid;gap:5px;font-weight:700}
#sbm-checklist-app .sbm-quick-form input {width:100%;border:1px solid #bad0e1;border-radius:10px;padding:12px;font:inherit;font-size:16px}
#sbm-checklist-app .sbm-quick-form {display:grid;gap:14px;max-width:36rem}
#sbm-checklist-app .sbm-quick-form button {min-height:48px}
#sbm-checklist-app #sbm-quick-contact {scroll-margin-top:100px}
#sbm-checklist-app .sbm-cl-task label {min-height:44px}
@media(max-width:760px){#sbm-checklist-app .sbm-cl-hero{padding:20px 16px}#sbm-checklist-app .sbm-quick-form button{width:100%}#sbm-checklist-app .sbm-cl-mobile{bottom:max(8px,env(safe-area-inset-bottom))}}
