.cf-section {
  --cf-ink: #203c53; --cf-muted: #485d6d; --cf-accent: #245677;
  --cf-edge: #cbd8e1; --cf-soft: #eef4f8; --cf-icon: #e4edf5;
  box-sizing: border-box; margin: clamp(12px, 2vw, 26px) auto; max-width: 1110px;
  padding: clamp(16px, 2.7vw, 32px); color: var(--cf-ink); background: #f1f7fa;
  border: 1px solid #dce6ed; border-radius: 18px; scroll-margin-top: 98px;
}
.cf-section *, .cf-section *::before, .cf-section *::after { box-sizing: border-box; }
.cf-section [hidden] { display: none !important; }
.cf-section .cf-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin: 0 0 16px; }
#condition-directory.cf-section :is(h1,h2) { font-family: inherit; color: var(--cf-ink); font-weight: 750; font-size: clamp(24px, 2.5vw, 34px) !important; line-height: 1.16; letter-spacing: -.025em; margin: 0; }
.cf-section .cf-intro { color: var(--cf-muted); font-size: 15px; line-height: 1.45; margin: 6px 0 0; }
.cf-section button { font-family: inherit; text-transform: none; letter-spacing: normal; line-height: 1.3; }
.cf-section .cf-search-toggle { padding: 8px; width: 40px; height: 40px; flex: none; border: 0; background: transparent; border-radius: 10px; color: var(--cf-accent); cursor: pointer; }
.cf-search-toggle svg { width: 21px; height: 21px; }
.cf-section .cf-search-toggle:is(:hover,[aria-expanded="true"]) { background: var(--cf-icon); }
.cf-search { max-width: 570px; margin: 0 0 14px; }
.cf-search label { display: block; margin: 0 0 5px; color: var(--cf-ink); font-size: 14px; font-weight: 650; }
.cf-input { display:flex; align-items:center; background: white; border:1px solid #839cad; border-radius:9px; }
.cf-input:focus-within { outline:2px solid var(--cf-accent); outline-offset:2px; }
.cf-input input[type="search"] { color:var(--cf-ink); font:inherit; font-size:16px; background:transparent; border:0; border-radius:9px; width:100%; min-width:0; height:44px; padding:8px 12px; margin:0; box-shadow:none; }
#condition-directory .cf-input input[type="search"]:focus { outline:0; box-shadow:none; }
.cf-input input::-webkit-search-cancel-button { -webkit-appearance:none; }
.cf-input button { background:transparent; border:0; color:var(--cf-accent); font:inherit; font-weight:650; padding:0 12px; min-height:44px; cursor:pointer; }
.cf-section .cf-status, .cf-section .cf-choice-status { color:var(--cf-muted); margin:0 0 10px; font-size:14px; line-height:1.35; }
.cf-section .cf-status:empty, .cf-section .cf-choice-status:empty { margin:0; }
.cf-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-items:start; gap:12px 16px; }
.cf-column { display:grid; min-width:0; gap:10px; }
.cf-card { min-width:0; margin:0; background:white; border:1px solid var(--cf-edge); border-radius:14px; box-shadow:0 1px 3px #1b3e5410; overflow:hidden; }
.cf-card[open] { border-color:#69889e; }
.cf-card summary, .cf-section .cf-direct { display:flex; align-items:center; gap:12px; padding:12px 14px; min-height:66px; margin:0; list-style:none; cursor:pointer; }
.cf-card summary::-webkit-details-marker { display:none; }
.cf-card[open] summary, .cf-card summary:hover, .cf-section .cf-direct:hover { background:var(--cf-soft); }
.cf-section .cf-direct { text-decoration:none; color:inherit; }
.cf-card .cf-photo { display:block; flex:0 0 48px; width:48px; height:48px; object-fit:contain; border-radius:10px; background:var(--cf-soft); }
.cf-heading { display:grid; gap:3px; min-width:0; flex:1; }
.cf-heading strong { color:var(--cf-ink); font-family:inherit; font-size:17px; line-height:1.25; font-weight:700; }
.cf-summary { display:block; color:var(--cf-muted); font-size:13px; line-height:1.35; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.cf-chevron, .cf-next { display:block; flex:none; width:8px; height:8px; border:solid var(--cf-accent); border-width:0 1.8px 1.8px 0; }
.cf-chevron { transform:rotate(45deg); margin:-3px 4px 0 1px; }
.cf-card[open] .cf-chevron { transform:rotate(225deg); margin-top:3px; }
.cf-next { transform:rotate(-45deg); margin-right:3px; }
.cf-body { padding:7px 14px 15px; }
.cf-section .cf-label { margin:0 0 8px; color:var(--cf-muted); font-size:12px; font-weight:700; letter-spacing:.025em; line-height:1.3; text-transform:uppercase; }
.cf-section .cf-guides, .cf-section .cf-symptoms { list-style:none; padding:0; margin:0; }
.cf-section .cf-guides { display:grid; gap:6px; }
.cf-section .cf-guides li, .cf-section .cf-symptoms li { list-style:none; padding:0; margin:0; }
#condition-directory .cf-guides :is(a,button) { display:flex; align-items:center; justify-content:space-between; gap:9px; min-height:48px; border:1px solid #d8e3eb; border-radius:11px; background:var(--cf-soft); padding:9px 12px; text-decoration:none; }
.cf-guides strong, .cf-guides small { display:block; }
#condition-directory .cf-guides strong { color:var(--cf-ink); font-size:15px; font-weight:700; line-height:1.3; }
#condition-directory .cf-guides small { color:var(--cf-muted); font-size:13px; line-height:1.35; margin-top:2px; }
.cf-section .cf-guides :is(a,button):hover { border-color:#819eaf; }
.cf-section .cf-divider { display:flex; align-items:center; justify-content:center; gap:9px; margin:16px 0 12px; text-align:center; }
.cf-divider::before, .cf-divider::after { content:""; flex:1; height:1px; background:#d3dfe8; }
.cf-section .cf-symptoms { display:inline-flex; flex-wrap:wrap; align-items:center; gap:6px; width:100%; }
.cf-section .cf-symptoms button { display:inline-flex; align-items:center; justify-content:center; gap:5px; max-width:100%; min-height:38px; padding:6px 12px; border:1px solid #aebfc9; border-radius:99px; background:white; box-shadow:none; color:var(--cf-ink); font-size:14px; font-weight:550; cursor:pointer; }
.cf-section .cf-symptoms button:disabled { opacity:1; cursor:default; }
.cf-section .cf-symptoms button[aria-pressed="true"] { color:#123e5b; border-color:#286287; background:#e1eff8; box-shadow:inset 0 0 0 1px #286287; }
.cf-symptoms button[aria-pressed="true"]::before { content:""; flex:none; width:6px; height:10px; border:solid currentColor; border-width:0 2px 2px 0; transform:translateY(-1px) rotate(45deg); }
.cf-section .cf-symptoms button.cf-more { border-style:dashed; color:var(--cf-accent); }
.cf-section .cf-choice-status:not(:empty) { margin:10px 0 0; }
.cf-section .cf-continue, #condition-directory .cf-book, #condition-directory .cf-no-result { display:flex; align-items:center; justify-content:center; gap:10px; min-height:46px; width:100%; margin:12px 0 0; padding:9px 12px; border:0; border-radius:10px; background:#195e96; color:white !important; -webkit-text-fill-color:white; text-decoration:none; font-size:15px; line-height:1.35; font-weight:650; cursor:pointer; }
.cf-section .cf-continue:disabled { background:#d4dfe7; color:#425766 !important; -webkit-text-fill-color:#425766; cursor:default; opacity:1; }
.cf-section .cf-continue:not(:disabled):hover, #condition-directory .cf-book:hover { background:#124a78; }
.cf-section :is(a,summary,button):focus-visible { outline:3px solid #176896; outline-offset:-3px; }
.cf-section .cf-continue:focus-visible, #condition-directory .cf-book:focus-visible { outline-color:white; outline-offset:-4px; }
@media (min-width:701px) and (max-width:999px) {
  .cf-grid { display:block; column-count:2; column-gap:14px; }
  .cf-column { display:contents; }
  .cf-card { break-inside:avoid; margin-bottom:10px; }
}
@media (max-width:700px) {
  .cf-section { padding:16px 12px; border-radius:14px; scroll-margin-top:82px; }
  .cf-grid { display:block; }
  .cf-column + .cf-column { margin-top:10px; }
  .cf-card summary, .cf-section .cf-direct { padding:10px 12px; }
  .cf-body { padding:7px 12px 13px; }
  .cf-section .cf-intro { font-size:14px; }
}
@media (pointer:coarse) {
  .cf-section .cf-symptoms button { min-height:40px; }
  .cf-section .cf-search-toggle { width:44px; height:44px; }
}

/* The signed-in booking screen uses the service finder without a marketing page. */
.cf-portal {
  width: min(100%, 1110px);
  margin: 0 auto;
  padding: 0 clamp(8px, 2vw, 24px) 16px;
  box-sizing: border-box;
}
.cf-portal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  color: #25465b;
  font-size: 15px;
}
.cf-portal-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #205b82;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: .17em;
}
.cf-portal form, .cf-portal .cf-section { margin: 0; }
.cf-portal .cf-section { background: var(--cf-soft); }
.cf-portal .cf-section.cf-urgent { --cf-soft: #edf4fa; --cf-accent: #1a5e98; }
.cf-portal .cf-section.cf-primary { --cf-soft: #edf6f5; --cf-accent: #246459; }
.cf-portal .cf-section.cf-mental { --cf-soft: #f7eff5; --cf-accent: #81466d; }
.cf-portal .cf-card .cf-heading strong { color: var(--cf-accent); }
.cf-portal .cf-section button:is(.cf-direct, .cf-book, .cf-no-result),
.cf-portal .cf-guides button { font: inherit; box-shadow: none; text-align: start; cursor: pointer; }
.cf-portal .cf-section button.cf-direct { width: 100%; border-radius: 14px; background: white; }
.cf-portal .cf-guides button { width: 100%; }
.cf-portal-nav a:focus-visible { outline: 2px solid #195e96; outline-offset: 2px; }

/* In the signed-in portal these choices are submit buttons, including the condition links. */
.cf-portal #condition-directory .cf-guides button.cf-guide {
  background: var(--cf-accent) !important;
  border: 1px solid var(--cf-accent) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  text-align: left !important;
  box-shadow: none;
}
.cf-portal #condition-directory .cf-guide > span { min-width: 0; }
.cf-portal #condition-directory .cf-guide strong,
.cf-portal #condition-directory .cf-guide small {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  text-align: left;
  white-space: normal;
}
.cf-portal #condition-directory .cf-guide .cf-next { border-color: #fff; }
.cf-portal #condition-directory .cf-guide:focus-visible { outline: 3px solid white; outline-offset: -5px; }
.cf-portal #condition-directory button.cf-direct {
  background: #fff !important;
  text-align: left !important;
}
.cf-portal #condition-directory button.cf-direct .cf-heading strong {
  color: var(--cf-accent) !important;
  -webkit-text-fill-color: var(--cf-accent) !important;
}
.cf-portal #condition-directory button.cf-direct .cf-summary {
  color: var(--cf-muted) !important;
  -webkit-text-fill-color: var(--cf-muted) !important;
}
.cf-portal { container: portal-picker / inline-size; }
@container portal-picker (max-width: 609px) {
  .cf-grid { display: block; columns: auto; }
  .cf-column { display: grid; }
  .cf-column + .cf-column { margin-top: 10px; }
  .cf-card { margin: 0; }
}
@container portal-picker (min-width: 610px) and (max-width: 940px) {
  .cf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .cf-column { display: contents; }
  .cf-column + .cf-column, .cf-card { margin: 0; }
}
@media (max-width: 700px) {
  .cf-portal { width: 100%; padding-inline: 0; }
  .cf-portal form[data-portal-finder] { padding: 0; border: 0; box-shadow: none; background: transparent; }
  .cf-portal #condition-directory { width: 100%; padding: 12px 0; border: 0; background: transparent; }
  .cf-portal #condition-directory .cf-top { align-items: center; margin-bottom: 12px; }
  .cf-portal #condition-directory .cf-symptoms button { min-height: 44px; }
}
