/* childcare.css: styles for childcare.js (licensed child care near schools, DCYF). Colors come from the
   tokens in style.css, so dark mode follows automatically. */
.cc-box { margin-top: 12px; font-size: .8rem; line-height: 1.4; min-width: 0; }
.cc-loading { color: var(--muted); font-size: .76rem; padding: 6px 0; }
.cc-err { color: var(--muted); }
.cc-box .acad-title { margin-bottom: 2px; }
.cc-sum { margin: 2px 0 6px; font-size: .74rem; color: var(--muted); }
.cc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.cc-item { padding: 7px 9px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface-2); min-width: 0; overflow-wrap: anywhere; }
.cc-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.cc-name { font-weight: 700; color: var(--ink); min-width: 0; }
.cc-d { flex: none; font-size: .74rem; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cc-meta, .cc-addr { font-size: .72rem; color: var(--muted); margin-top: 1px; }
.cc-phone { color: var(--blue-accent); font-weight: 600; white-space: nowrap; }
.cc-badge { display: inline-block; font-size: .64rem; font-weight: 700; line-height: 1.5; padding: 0 6px; border-radius: 999px; vertical-align: 1px; }
.cc-here { background: var(--good-bg, #E6F4EC); color: var(--good, #17784A); }
.cc-sa { background: var(--info-bg, #EEF4FF); color: var(--info-text, #1F3F7A); }
.cc-more { margin-top: 4px; }
.cc-more > summary { cursor: pointer; font-size: .74rem; font-weight: 600; color: var(--blue-accent); padding: 2px 0; }
.cc-more > .cc-list { margin-top: 4px; }
/* Reserved for a later, clearly labeled "Sponsored" card; always after the official list. */
.cc-sponsor { margin-top: 6px; }
.cc-homes { margin: 8px 0 0; font-size: .72rem; color: var(--text); }
.cc-homes a, .cc-note a { color: var(--blue-accent); font-weight: 600; }
.cc-note { margin: 4px 0 0; font-size: .68rem; color: var(--muted); }

/* After an address search (sidebar) */
.cc-addrbox { margin: 6px 0 4px; border: 1px solid var(--border); border-radius: 10px; padding: 6px 10px; background: var(--surface); }
.cc-addrbox > summary { cursor: pointer; font-weight: 600; color: var(--ink); font-size: .82rem; }
.cc-addrbox.cc-loading { font-weight: 400; }
.cc-hint { margin: 4px 0 6px; font-size: .72rem; color: var(--muted); }
.cc-school { margin-top: 8px; }
.cc-sname { font-weight: 700; font-size: .78rem; color: var(--ink); }
.cc-school .cc-sum { margin: 0 0 4px; }
