/* Treatment library (/treatments/). Only what site.css does not already give: .filters, .chips, .chip, .grid and .pc are shared. */

/* The page has no film panel, so the header clears the floating menu itself (as in the mock-up). */
.lib-head{padding-top:150px;padding-bottom:36px}
.lib-body{padding-top:8px}
.lib-showing{margin:0;font-size:15px;color:var(--ink2)}
.lib-showing b,.lib-count b{font-weight:500;color:var(--ink)}

/* Read by screen readers, not shown. */
.lib-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}

/* Filter panel headings: the look of ".filters h5" in the mock-up, on real headings in order. */
.lib-fh{margin:0 0 10px;font-family:var(--fm);font-size:12.5px;letter-spacing:.14em;text-transform:uppercase;font-weight:500;color:var(--ink)}
.lib-fh.sub{font-weight:400;color:var(--ink2)}
.lib-needs{display:grid;gap:14px}
.lib-needs>.lib-fh{margin-bottom:0}
.lib-fhrow{display:flex;flex-wrap:wrap;gap:6px 16px;align-items:baseline;margin-bottom:10px}
.lib-fhrow .lib-fh{margin:0}
.lib-keylink{font-size:14.5px;color:var(--ink2);border-bottom:1px solid currentColor}
.lib-keylink:hover{color:var(--navy)}
.filters>div+div{padding-top:18px;border-top:1px solid var(--line)}
.lib-bar{gap:12px 18px}
.lib-count{margin:0;font-family:var(--fm);font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--ink2);min-width:9ch}
.filters .btn[disabled]{opacity:.4;cursor:default;transform:none}
.lib-noscript{margin:0}

/* Citron focus rings are faint on white; inside this page's white panels the ring is navy. */
.lib-head .chip:focus-visible,.lib-head .btn:focus-visible,.lib-head a:focus-visible,.lib-body a:focus-visible,.lib-body .btn:focus-visible{outline-color:var(--navy)}

/* The line that says the provider decides, above the grid. */
.lib-caution{display:flex;gap:12px;align-items:flex-start;margin:0 0 22px;padding:14px 16px;border-radius:var(--r);background:var(--paper);border:1px solid var(--line);font-size:14.5px;color:var(--ink2);max-width:88ch}
.lib-caution .ico{flex:none;width:22px;height:22px;margin-top:1px}

/* Nothing matches. */
.lib-empty{display:flex;flex-wrap:wrap;gap:14px;align-items:center;margin:0;padding:28px 22px;border-radius:var(--r-lg);border:1px dashed var(--line);background:var(--paper);font-size:17px}

/* Notices under the grid and the label key. */
.lib-notes{display:grid;gap:8px;margin-top:26px;max-width:92ch}
.lib-notes p{margin:0}
.lib-key{margin-top:clamp(32px,5vw,56px);padding-top:clamp(24px,4vw,40px);border-top:1px solid var(--line);display:grid;gap:18px;scroll-margin-top:110px}
.lib-key ul{list-style:none;margin:0;padding:0;display:grid;gap:12px;max-width:92ch}
.lib-key li{display:grid;grid-template-columns:150px 1fr;gap:14px;align-items:start;font-size:15px;color:var(--ink2)}
.lib-key .pill{justify-self:start;color:var(--ink);white-space:nowrap}
.lib-key p{margin:0}
@media (max-width:560px){.lib-key li{grid-template-columns:1fr;gap:6px}}

/* Closing band. */
.lib-cta{text-align:center;display:grid;gap:22px;justify-items:center}
.lib-cta .row{justify-content:center}

@media (max-width:640px){
  .lib-head{padding-top:120px;padding-bottom:24px}
  .lib-bar .link{flex-basis:100%;justify-content:flex-start;border-bottom:0;text-decoration:underline;text-underline-offset:4px}
}
