/* Cadmus Connect — public pages. Colours live in the two theme blocks; everything else uses the variables. */
:root { color-scheme: light dark; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px; line-height: 1.45; -webkit-font-smoothing: antialiased;
  background: #0b1020; color: #e8ecf4;
}
@media (prefers-color-scheme: light) { body { background: #f3f5f9; color: #131a2a; } }
#app { height: 100%; }
button, input, textarea { font: inherit; color: inherit; }
a { color: var(--accent, #5b7cfa); }

.cc-shell, .cc-home {
  --bg: #f3f5f9; --surface: rgba(255, 255, 255, 0.86); --surface-solid: #ffffff; --raised: #f4f6fb;
  --text: #131a2a; --muted: #5d6880; --line: rgba(19, 26, 42, 0.1); --accent: #3d5bf0; --accent-soft: rgba(61, 91, 240, 0.12);
  --shadow: 0 18px 50px rgba(20, 30, 60, 0.18), 0 2px 6px rgba(20, 30, 60, 0.08);
  --t1: #2f8fff; --t2: #f5a524; --t3: #f0466b; --t0: #8a94a6;
  color: var(--text);
}
.cc-shell[data-theme="dark"] {
  --bg: #0b1020; --surface: rgba(17, 23, 41, 0.82); --surface-solid: #121930; --raised: rgba(255, 255, 255, 0.06);
  --text: #eef1f8; --muted: #98a3bb; --line: rgba(255, 255, 255, 0.1); --accent: #8aa0ff; --accent-soft: rgba(138, 160, 255, 0.16);
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.55), 0 2px 6px rgba(0, 0, 0, 0.4);
}
@media (prefers-color-scheme: dark) {
  .cc-home {
    --bg: #0b1020; --surface-solid: #121930; --raised: rgba(255, 255, 255, 0.06); --text: #eef1f8; --muted: #98a3bb;
    --line: rgba(255, 255, 255, 0.1); --accent: #8aa0ff; --accent-soft: rgba(138, 160, 255, 0.16);
  }
}

/* ---------- loading ---------- */
.cc-boot { height: 100%; display: grid; place-content: center; justify-items: center; gap: 14px; color: #98a3bb; letter-spacing: 0.08em; text-transform: uppercase; font-size: 12px; }
.cc-boot-ring { width: 38px; height: 38px; border-radius: 50%; border: 3px solid rgba(138, 160, 255, 0.25); border-top-color: #8aa0ff; animation: cc-spin 0.9s linear infinite; }
@keyframes cc-spin { to { transform: rotate(360deg); } }
#blazor-error-ui { display: none; position: fixed; inset: auto 0 0 0; padding: 10px 16px; background: #f0466b; color: #fff; z-index: 50; }
#blazor-error-ui a { color: #fff; margin-left: 8px; }

/* ---------- shell ---------- */
.cc-shell { position: relative; height: 100%; min-height: 420px; overflow: hidden; background: var(--bg); }
/* The map libraries set position: relative on their container, so size it explicitly as well. */
.cc-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.cc-overlay { position: absolute; inset: 0; z-index: 6; display: grid; place-items: center; background: color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter: blur(6px); padding: 16px; }
.cc-card { background: var(--surface-solid); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 26px 28px; max-width: 380px; }
.cc-card h2 { margin: 0 0 6px; font-size: 19px; }
.cc-challenge #cc-challenge { margin-top: 16px; min-height: 66px; }
.cc-error { color: var(--t3); margin: 12px 0 0; }
.cc-muted { color: var(--muted); margin: 0; }
.cc-small { font-size: 12.5px; }

/* ---------- panel ---------- */
.cc-panel {
  position: absolute; z-index: 4; top: 16px; left: 16px; bottom: 16px; width: 384px; max-width: calc(100% - 32px);
  display: flex; flex-direction: column;
  background: var(--surface); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow);
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.2s;
}
.cc-panel.is-closed { transform: translateX(calc(-100% - 24px)); opacity: 0; pointer-events: none; }
.cc-panel-head { padding: 20px 22px 14px; border-bottom: 1px solid var(--line); }
.cc-mark { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.cc-panel-head h1 { margin: 4px 0 0; font-size: 20px; line-height: 1.2; letter-spacing: -0.01em; }
.cc-scroll { overflow-y: auto; padding: 16px 22px 20px; display: grid; gap: 20px; align-content: start; scrollbar-width: thin; }
.cc-panel-toggle {
  position: absolute; z-index: 5; top: 16px; right: 16px; padding: 8px 14px; border-radius: 999px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); backdrop-filter: blur(12px); font-weight: 600; font-size: 13px;
}

/* ---------- stats ---------- */
.cc-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cc-tile { background: var(--raised); border: 1px solid var(--line); border-radius: 14px; padding: 12px 12px 10px; display: grid; gap: 2px; min-width: 0; }
.cc-tile-num { font-size: 26px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.cc-tile-label { font-size: 11.5px; color: var(--muted); font-weight: 600; letter-spacing: 0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-tile.is-idle .cc-tile-num { color: var(--muted); }
.cc-tile.is-live { background: var(--accent-soft); border-color: transparent; }
.cc-tile.is-live .cc-tile-num { color: var(--accent); }

.cc-block { display: grid; gap: 10px; }
.cc-block-head { display: flex; justify-content: space-between; align-items: baseline; }
.cc-block h2 { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.cc-link { background: none; border: 0; padding: 0; color: var(--accent); cursor: pointer; font-weight: 600; font-size: 13px; }

.cc-stack { display: flex; gap: 3px; height: 12px; }
.cc-seg { border-radius: 4px; min-width: 6px; transition: opacity 0.2s; }
.cc-seg:first-child { border-radius: 8px 4px 4px 8px; } .cc-seg:last-child { border-radius: 4px 8px 8px 4px; }
.cc-seg.is-dim { opacity: 0.22; }
.t1 { --tier: var(--t1); } .t2 { --tier: var(--t2); } .t3 { --tier: var(--t3); } .t0 { --tier: var(--t0); }
.cc-seg, .cc-dot { background: var(--tier); }

.cc-legend, .cc-list, .cc-bars, .cc-offenses, .cc-agency-list { list-style: none; margin: 0; padding: 0; }
.cc-legend { display: grid; gap: 4px; }
.cc-legend-row {
  width: 100%; display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; text-align: left;
  padding: 8px 10px; border-radius: 12px; border: 1px solid transparent; background: none; cursor: pointer;
}
.cc-legend-row:hover { background: var(--raised); }
.cc-legend-row.is-on { background: var(--accent-soft); border-color: var(--accent); }
.cc-dot { width: 10px; height: 10px; border-radius: 50%; }
.cc-legend-text { display: grid; min-width: 0; }
.cc-legend-text small { color: var(--muted); font-size: 12px; line-height: 1.3; }
.cc-legend-num { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; display: grid; }
.cc-legend-num small { color: var(--muted); font-weight: 500; font-size: 12px; }

.cc-bars { display: grid; gap: 7px; }
.cc-bars li { display: grid; grid-template-columns: 96px 1fr 34px; gap: 10px; align-items: center; font-size: 13px; }
.cc-bar-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-bar-track { height: 8px; border-radius: 6px; background: var(--raised); overflow: hidden; }
.cc-bar-fill { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #b06bff)); }
.cc-bar-num { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); }

/* ---------- find ---------- */
.cc-input { width: 100%; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--raised); outline: none; }
.cc-input:focus-visible, .cc-btn:focus-visible, .cc-row:focus-visible, .cc-legend-row:focus-visible, .cc-link:focus-visible, .cc-close:focus-visible, .cc-panel-toggle:focus-visible, .cc-seg-control button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.cc-near { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.cc-btn {
  display: inline-block; padding: 9px 14px; border-radius: 11px; border: 1px solid transparent; cursor: pointer; text-decoration: none;
  background: var(--accent); color: #fff; font-weight: 600; font-size: 13.5px;
}
.cc-shell[data-theme="dark"] .cc-btn { color: #0b1020; }
.cc-btn.is-quiet, .cc-shell[data-theme="dark"] .cc-btn.is-quiet { background: var(--raised); border-color: var(--line); color: var(--text); }
.cc-btn.is-on { box-shadow: 0 0 0 4px var(--accent-soft); }
.cc-btn:disabled { opacity: 0.4; cursor: default; }
.cc-seg-control { display: inline-flex; background: var(--raised); border: 1px solid var(--line); border-radius: 11px; padding: 3px; flex: 1; }
.cc-seg-control button { flex: 1; border: 0; background: none; padding: 6px 8px; border-radius: 8px; cursor: pointer; font-weight: 600; font-size: 13px; color: var(--muted); }
.cc-seg-control button.is-on { background: var(--surface-solid); color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18); }

/* ---------- list ---------- */
.cc-list { display: grid; gap: 2px; margin: 0 -8px; }
.cc-row { width: 100%; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; text-align: left; padding: 8px; border: 0; border-radius: 12px; background: none; cursor: pointer; }
.cc-row:hover { background: var(--raised); }
.cc-row.is-on { background: var(--accent-soft); }
.cc-avatar, .cc-photo { display: grid; place-items: center; overflow: hidden; background: color-mix(in srgb, var(--tier) 22%, transparent); color: var(--tier); font-weight: 700; }
.cc-avatar { width: 38px; height: 38px; border-radius: 50%; font-size: 13px; box-shadow: 0 0 0 2px var(--tier); }
.cc-avatar img, .cc-photo img { width: 100%; height: 100%; object-fit: cover; }
.cc-row-text { display: grid; min-width: 0; }
.cc-row-text strong, .cc-row-text small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-row-text small { color: var(--muted); font-size: 12.5px; }
.cc-chip { font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: color-mix(in srgb, var(--tier) 18%, transparent); color: color-mix(in srgb, var(--tier) 78%, var(--text)); white-space: nowrap; }
.cc-pager { display: flex; justify-content: space-between; align-items: center; }

.cc-embed summary { cursor: pointer; font-weight: 600; }
.cc-embed textarea { width: 100%; resize: vertical; border-radius: 12px; border: 1px solid var(--line); background: var(--raised); padding: 10px 12px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }
.cc-embed .cc-btn { justify-self: start; }
.cc-foot { border-top: 1px solid var(--line); padding-top: 14px; color: var(--muted); font-size: 12px; display: grid; gap: 6px; }
.cc-foot p { margin: 0; }

/* ---------- detail ---------- */
.cc-detail {
  position: absolute; z-index: 5; right: 16px; bottom: 16px; width: 360px; max-width: calc(100% - 32px); max-height: calc(100% - 90px); overflow-y: auto;
  background: var(--surface); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 20px; display: grid; gap: 14px;
  animation: cc-rise 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes cc-rise { from { transform: translateY(14px); opacity: 0; } }
.cc-close { position: absolute; top: 10px; right: 12px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--raised); cursor: pointer; font-size: 18px; line-height: 1; }
.cc-detail-top { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; padding-right: 30px; }
.cc-photo { width: 76px; height: 92px; border-radius: 14px; font-size: 22px; }
.cc-detail h2 { margin: 0; font-size: 18px; letter-spacing: -0.01em; }
.cc-detail .cc-chip { display: inline-block; margin-top: 6px; }
.cc-facts { display: grid; gap: 8px; }
.cc-facts div { background: var(--raised); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.cc-facts span, .cc-dl dt { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.cc-facts p { margin: 2px 0 0; }
.cc-dl { margin: 0; display: grid; gap: 2px; }
.cc-dl dd { margin: 0 0 10px; }
.cc-offenses { display: grid; gap: 4px; }

/* ---------- map markers ---------- */
.cc-cluster {
  border-radius: 50%; border: 0; cursor: pointer; color: #fff; font-weight: 700; font-size: 13px; font-variant-numeric: tabular-nums;
  background: radial-gradient(circle at 30% 25%, #7b93ff, #3d5bf0 70%);
  box-shadow: 0 0 0 6px rgba(61, 91, 240, 0.22), 0 6px 16px rgba(20, 30, 80, 0.35);
}
.cc-cluster:hover { box-shadow: 0 0 0 9px rgba(61, 91, 240, 0.28), 0 6px 16px rgba(20, 30, 80, 0.35); }
.cc-pin { width: 16px; height: 16px; border-radius: 50%; background: #3d5bf0; border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(61, 91, 240, 0.25); }

/* Zoom buttons sit under the list toggle; the detail card leaves the map credit visible. */
.maplibregl-ctrl-top-right, .mapboxgl-ctrl-top-right { top: 54px !important; right: 6px !important; }
.cc-detail { bottom: 44px; }

/* ---------- embed and small screens ---------- */
.cc-shell.is-embed .cc-panel-head { padding: 14px 18px 12px; }
.cc-shell.is-embed .cc-panel-head h1 { font-size: 17px; }
.cc-shell.is-embed .cc-scroll { padding: 14px 18px 16px; gap: 16px; }
.cc-shell.is-embed .cc-legend-text small { display: none; }
.cc-shell.is-embed .cc-legend-row { padding: 6px 10px; }
.cc-shell.is-embed .cc-btn { padding: 8px 11px; font-size: 13px; }
.cc-shell.is-embed .cc-tile-num { font-size: 22px; }
.cc-shell.is-embed .cc-panel { top: 10px; left: 10px; bottom: 10px; width: 340px; border-radius: 16px; }
.cc-shell.is-embed .cc-panel-toggle { top: 10px; right: 10px; }
@media (max-width: 859px) {
  .cc-panel, .cc-shell.is-embed .cc-panel { top: auto; left: 8px; right: 8px; bottom: 8px; width: auto; max-width: none; height: 52%; border-radius: 18px; }
  .cc-panel.is-closed { transform: translateY(calc(100% + 16px)); }
  .cc-detail { left: 8px; right: 8px; bottom: 8px; width: auto; max-width: none; max-height: 60%; z-index: 7; }
  .cc-panel-toggle, .cc-shell.is-embed .cc-panel-toggle { top: 10px; right: 10px; }
  .cc-panel-head { padding: 14px 18px 12px; } .cc-panel-head h1 { font-size: 17px; }
  .cc-legend-text small { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ---------- home ---------- */
.cc-home { min-height: 100%; background: var(--bg); padding: 56px 20px; display: grid; gap: 28px; align-content: start; justify-items: center; }
.cc-home header { max-width: 640px; text-align: center; }
.cc-home h1 { font-size: 30px; line-height: 1.15; letter-spacing: -0.02em; margin: 8px 0 0; }
.cc-agency-list { width: 100%; max-width: 640px; display: grid; gap: 10px; }
.cc-agency-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--surface-solid); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.cc-agency-list li div { display: grid; }
.cc-shell.is-embed .cc-tile { padding: 10px 9px 8px; }
.cc-shell.is-embed .cc-tile-label { font-size: 10.5px; letter-spacing: 0; }

/* ---------- roster page ---------- */
.cc-page { overflow-y: auto; min-height: 100%; height: 100%; }
.cc-page .cc-overlay { position: fixed; }
.cc-page-inner { max-width: 1180px; margin: 0 auto; padding: 32px 24px 40px; display: grid; gap: 24px; }
.cc-page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.cc-page-head h1 { margin: 4px 0 0; font-size: 28px; letter-spacing: -0.02em; line-height: 1.15; }
.cc-page .cc-tile, .cc-hero-main, .cc-chart, .cc-person { background: var(--surface-solid); border: 1px solid var(--line); }
.cc-hero { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 12px; }
.cc-hero-main {
  border-radius: 18px; padding: 20px 22px; display: grid; gap: 4px; align-content: start;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 16%, var(--surface-solid)), var(--surface-solid) 70%);
}
.cc-hero-num { font-size: 56px; font-weight: 750; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.cc-hero-label { color: var(--muted); font-weight: 600; margin-bottom: 12px; }
.cc-page .cc-tile { border-radius: 18px; padding: 18px; align-content: end; gap: 6px; }
.cc-page .cc-tile-num { font-size: 34px; }
.cc-tile-num small { font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.cc-page .cc-tile-label { white-space: normal; font-size: 12.5px; line-height: 1.3; }
.cc-stack-tall { height: 10px; }
.g0 { --tier: var(--accent); } .g1 { --tier: #f0466b; } .g2 { --tier: var(--t2); } .g3 { --tier: var(--t0); }
.cc-inline-legend { list-style: none; margin: 8px 0 0; padding: 0; display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.cc-inline-legend li { display: flex; align-items: center; gap: 6px; }
.cc-inline-legend strong { color: var(--text); font-variant-numeric: tabular-nums; }

.cc-charts { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 12px; }
.cc-chart { border-radius: 18px; padding: 18px 20px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.cc-chart h2 { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.cc-bars-wide li { grid-template-columns: minmax(0, 1.1fr) 1fr 30px; }
.cc-columns { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; height: 150px; align-items: end; }
.cc-column { display: grid; grid-template-rows: auto 1fr auto; height: 100%; gap: 6px; justify-items: center; }
.cc-column-num { font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.cc-column-bar { width: 100%; max-width: 44px; align-self: end; border-radius: 8px 8px 3px 3px; min-height: 3px; background: linear-gradient(180deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #b06bff)); }
.cc-column-label { font-size: 12px; color: var(--muted); white-space: nowrap; }

.cc-toolbar { display: flex; gap: 12px; align-items: center; position: sticky; top: 0; z-index: 3; padding: 10px 0; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); }
.cc-toolbar .cc-input { background: var(--surface-solid); flex: 1; }
.cc-toolbar .cc-seg-control { flex: 0 0 auto; background: var(--surface-solid); }
.cc-toolbar .cc-seg-control button { padding: 8px 16px; }
.cc-count { margin: 0 0 10px; }
.cc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.cc-person { width: 100%; height: 100%; display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: center; text-align: left; padding: 12px; border-radius: 16px; cursor: pointer; transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s; }
.cc-person:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(20, 30, 60, 0.16); border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.cc-person:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.cc-person-photo { position: relative; width: 76px; height: 92px; border-radius: 12px; overflow: hidden; display: grid; place-items: center; background: var(--raised); color: var(--muted); font-weight: 700; font-size: 20px; }
.cc-person-photo img { width: 100%; height: 100%; object-fit: cover; }
.cc-person-photo em { position: absolute; left: 6px; top: 6px; font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 2px 7px; border-radius: 999px; background: var(--accent); color: #fff; }
.cc-shell[data-theme="dark"] .cc-person-photo em { color: #0b1020; }
.cc-person-body { display: grid; gap: 3px; min-width: 0; }
.cc-person-body strong { font-size: 15px; line-height: 1.25; }
.cc-person-body small { color: var(--muted); font-size: 12.5px; }
.cc-person-charge { font-size: 12.5px; margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cc-more { display: grid; place-items: center; padding: 18px 0 0; }
.cc-page .cc-embed { background: var(--surface-solid); border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; }

.cc-scrim { position: fixed; inset: 0; z-index: 8; background: rgba(8, 12, 24, 0.55); backdrop-filter: blur(3px); }
.cc-detail.cc-detail-centered { position: fixed; z-index: 9; inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: 440px; max-width: calc(100% - 24px); max-height: calc(100% - 40px); background: var(--surface-solid); animation: none; bottom: auto; right: auto; }
.cc-facts-2 { grid-template-columns: 1fr 1fr; }

.cc-shell.cc-page.is-embed .cc-page-inner { padding: 16px 14px 20px; gap: 16px; }
.cc-shell.cc-page.is-embed .cc-page-head h1 { font-size: 21px; }
.cc-shell.cc-page.is-embed .cc-hero-num { font-size: 44px; }
.cc-shell.cc-page.is-embed .cc-tile-num { font-size: 26px; }
@media (max-width: 1000px) {
  .cc-hero { grid-template-columns: repeat(2, 1fr); } .cc-hero-main { grid-column: 1 / -1; }
  .cc-charts { grid-template-columns: 1fr; }
}
@media (max-width: 859px) {
  .cc-detail.cc-detail-centered { left: 50%; right: auto; bottom: auto; width: calc(100% - 24px); max-height: calc(100% - 40px); }
  .cc-page-inner { padding: 20px 14px 28px; }
}
